1/*! For license information please see default.js.LICENSE.txt */ 2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@arc-fusion/prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,,],t):"object"==typeof exports?exports.Fusion=t(require("@arc-fusion/prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.PropTypes,e.PropTypes,e.React,e.ReactDOM,e.Fusion.Content,e.Fusion.Context,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.Static,e.Fusion.environment,e.Fusion.getProperties,e.Fusion.unpack))}(this,function(e,t,r,n,i,o,a,s,l,c,u,d){return function(){var f={15574:function(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:function(){return n}})},77850:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},39474:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},70609:function(e,t,r){var n=r(77466).default;function i(t,r){if("function"==typeof WeakMap)var o=new WeakMap,a=new WeakMap;return(e.exports=i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return s;if(r=t?a:o){if(r.has(e))return r.get(e);r.set(e,s)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(i.get||i.set)?r(s,l,i):s[l]=e[l]);return s},e.exports.__esModule=!0,e.exports.default=e.exports)(t,r)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},77466:function(e){function t(r){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(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},15301:function(e,t,r){var n=r(72067);e.exports=function(){"use strict";var e,t,r;function i(n,i){if(e)if(t){var o="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+e+")(sharedChunk); ("+t+")(sharedChunk); self.onerror = null;",a={};e(a),r=i(a),"undefined"!=typeof window&&window&&window.URL&&window.URL.createObjectURL&&(r.workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"})))}else t=i;else e=i}return i(["exports"],function(e){var t="undefined"!=typeof self?self:{},r="2.15.0";let i;const o={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(null==i){const e=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{i=null!=n.env.API_URL_REGEX?new RegExp(n.env.API_URL_REGEX):e}catch(t){i=e}}return i},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!o.API_URL)return null;try{const e=new URL(o.API_URL);return"api.mapbox.cn"===e.hostname?"https://events.mapbox.cn/events/v2":"api.mapbox.com"===e.hostname?"https://events.mapbox.com/events/v2":null}catch(e){return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},a={supported:!1,testSupport:function(e){!c&&l&&(u?d(e):s=e)}};let s,l,c=!1,u=!1;function d(e){const t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t);try{if(e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,l),e.isContextLost())return;a.supported=!0}
2catch(e){}e.deleteTexture(t),c=!0}t.document&&(l=t.document.createElement("img"),l.onload=function(){s&&d(s),s=null,u=!0},l.onerror=function(){c=!0,s=null},l.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const f="01";function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var h=m;function m(e,t,r,n){this.cx=3*e,this.bx=3*(r-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(n-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=r,this.p2y=n}m.prototype={sampleCurveX:function(e){return((this.ax*e+this.bx)*e+this.cx)*e},sampleCurveY:function(e){return((this.ay*e+this.by)*e+this.cy)*e},sampleCurveDerivativeX:function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},solveCurveX:function(e,t){if(void 0===t&&(t=1e-6),e<0)return 0;if(e>1)return 1;for(var r=e,n=0;n<8;n++){var i=this.sampleCurveX(r)-e;if(Math.abs(i)<t)return r;var o=this.sampleCurveDerivativeX(r);if(Math.abs(o)<1e-6)break;r-=i/o}var a=0,s=1;for(r=e,n=0;n<20&&(i=this.sampleCurveX(r),!(Math.abs(i-e)<t));n++)e>i?a=r:s=r,r=.5*(s-a)+a;return r},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}};var y=p(h),g=v;function v(e,t){this.x=e,this.y=t}v.prototype={clone:function(){return new v(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,r=e.y-this.y;return t*t+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[2]*this.x+e[3]*this.y;return this.x=e[0]*this.x+e[1]*this.y,this.y=t,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),r=Math.sin(e),n=r*this.x+t*this.y;return this.x=t*this.x-r*this.y,this.y=n,this},_rotateAround:function(e,t){var r=Math.cos(e),n=Math.sin(e),i=t.y+n*(this.x-t.x)+r*(this.y-t.y);return this.x=t.x+r*(this.x-t.x)-n*(this.y-t.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},v.convert=function(e){return e instanceof v?e:Array.isArray(e)?new v(e[0],e[1]):e};var b=p(g);const _=Math.PI/180,x=180/Math.PI;function w(e){return e*_}function O(e){return e*x}const j=[[0,0],[1,0],[1,1],[0,1]];function S(e){if(e<=0)return 0;if(e>=1)return 1;const t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function M(e,t,r,n){const i=new y(e,t,r,n);return function(e){return i.solve(e)}}const k=M(.25,.1,.25,1);function P(e,t,r){return Math.min(r,Math.max(t,e))}function T(e,t,r){return(r=P((r-e)/(t-e),0,1))*r*(3-2*r)}function E(e,t,r){const n=r-t,i=((e-t)%n+n)%n+t;return i===t?r:i}function C(e,t,r){if(!e.length)return r(null,[]);let n=e.length;const i=new Array(e.length);let o=null;e.forEach((e,a)=>{t(e,(e,t)=>{e&&(o=e),i[a]=t,0==--n&&r(o,i)})})}function L(e){const t=[];for(const r in e)t.push(e[r]);return t}function A(e,...t){for(const r of t)for(const t in r)e[t]=r[t];return e}let D=1;function I(){return D++}function N(){return function e(t){return t?(t^Math.random()*(16>>t/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}function R(e){return e<=1?1:Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))}function z(e){return!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}
2function F(e,t){e.forEach(e=>{t[e]&&(t[e]=t[e].bind(t))})}function B(e,t){return-1!==e.indexOf(t,e.length-t.length)}function Y(e,t,r){const n={};for(const i in e)n[i]=t.call(r||this,e[i],i,e);return n}function U(e,t,r){const n={};for(const i in e)t.call(r||this,e[i],i,e)&&(n[i]=e[i]);return n}function H(e){return Array.isArray(e)?e.map(H):"object"==typeof e&&e?Y(e,H):e}const $={};function W(e){$[e]||("undefined"!=typeof console&&console.warn(e),$[e]=!0)}function V(e,t,r){return(r.y-e.y)*(t.x-e.x)>(t.y-e.y)*(r.x-e.x)}function q(e){let t=0;for(let r,n,i=0,o=e.length,a=o-1;i<o;a=i++)r=e[i],n=e[a],t+=(n.x-r.x)*(r.y+n.y);return t}function G(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function Z(e){const t={};if(e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(e,r,n,i)=>{const o=n||i;return t[r]=!o||o.toLowerCase(),""}),t["max-age"]){const e=parseInt(t["max-age"],10);isNaN(e)?delete t["max-age"]:t["max-age"]=e}return t}let X=null;function J(e){if(null==X){const t=e.navigator?e.navigator.userAgent:null;X=!!e.safari||!(!t||!(/\b(iPad|iPhone|iPod)\b/.test(t)||t.match("Safari")&&!t.match("Chrome")))}return X}function K(e){try{const r=t[e];return r.setItem("_mapbox_test_",1),r.removeItem("_mapbox_test_"),!0}catch(e){return!1}}function Q(e,t){return[e[4*t],e[4*t+1],e[4*t+2],e[4*t+3]]}const ee="mapbox-tiles";let te,re,ne=500,ie=50;function oe(){try{return t.caches}catch(e){}}function ae(){oe()&&!te&&(te=t.caches.open(ee))}function se(e){const t=e.indexOf("?");if(t<0)return e;const r=function(e){const t=e.indexOf("?");return t>0?e.slice(t+1).split("&"):[]}(e),n=r.filter(e=>{const t=e.split("=");return"language"===t[0]||"worldview"===t[0]});return n.length?`${e.slice(0,t)}?${n.join("&")}`:e.slice(0,t)}let le=1/0;const ce={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(ce);class ue extends Error{constructor(e,t,r){401===t&&xe(r)&&(e+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(e),this.status=t,this.url=r}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const de=G()?()=>self.worker&&self.worker.referrer:()=>("blob:"===t.location.protocol?t.parent:t).location.href,fe=function(e,r){if(!(/^file:/.test(n=e.url)||/^file:/.test(de())&&!/^\w+:/.test(n))){if(t.fetch&&t.Request&&t.AbortController&&t.Request.prototype.hasOwnProperty("signal"))return function(e,r){const n=new t.AbortController,i=new t.Request(e.url,{method:e.method||"GET",body:e.body,credentials:e.credentials,headers:e.headers,referrer:de(),referrerPolicy:e.referrerPolicy,signal:n.signal});let o=!1,a=!1;const s=(l=i.url).indexOf("sku=")>0&&xe(l);var l;"json"===e.type&&i.headers.set("Accept","application/json");const c=(n,o,l)=>{if(a)return;if(n&&"SecurityError"!==n.message&&W(n.toString()),o&&l)return u(o);const c=Date.now();t.fetch(i).then(t=>{if(t.ok){const e=s?t.clone():null;return u(t,e,c)}return r(new ue(t.statusText,t.status,e.url))}).catch(t=>{"AbortError"!==t.name&&r(new Error(`${t.message} ${e.url}`))})},u=(n,s,l)=>{("arrayBuffer"===e.type?n.arrayBuffer():"json"===e.type?n.json():n.text()).then(e=>{a||(s&&l&&function(e,r,n){if(ae(),!te)return;const i={status:r.status,statusText:r.statusText,headers:new t.Headers};r.headers.forEach((e,t)=>i.headers.set(t,e));const o=Z(r.headers.get("Cache-Control")||"");if(o["no-store"])return;o["max-age"]&&i.headers.set("Expires",new Date(n+1e3*o["max-age"]).toUTCString());const a=i.headers.get("Expires");a&&(new Date(a).getTime()-n<42e4||function(e,t){if(void 0===re)try{new Response(new ReadableStream),re=!0}catch(e){re=!1}re?t(e.body):e.blob().then(t)}(r,r=>{const n=new t.Response(r,i);ae(),te&&te.then(t=>t.put(se(e.url),n)).catch(e=>W(e.message))}))}(i,s,l),o=!0,r(null,e,n.headers.get("Cache-Control"),n.headers.get("Expires")))}).catch(e=>{a||r(new Error(e.message))})};return s?function(e,t){if(ae(),!te)return t(null);const r=se(e.url);te.then(e=>{e.match(r).then(n=>{const i=function(e){if(!e)return!1;const t=new Date(e.headers.get("Expires")||0),r=Z(e.headers.get("Cache-Control")||"");return t>
2Date.now()&&!r["no-cache"]}(n);e.delete(r),i&&e.put(r,n.clone()),t(null,n,i)}).catch(t)}).catch(t)}(i,c):c(null,null),{cancel:()=>{a=!0,o||n.abort()}}}(e,r);if(G()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",e,r,void 0,!0)}var n;return function(e,r){const n=new t.XMLHttpRequest;n.open(e.method||"GET",e.url,!0),"arrayBuffer"===e.type&&(n.responseType="arraybuffer");for(const t in e.headers)n.setRequestHeader(t,e.headers[t]);return"json"===e.type&&(n.responseType="text",n.setRequestHeader("Accept","application/json")),n.withCredentials="include"===e.credentials,n.onerror=()=>{r(new Error(n.statusText))},n.onload=()=>{if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){let t=n.response;if("json"===e.type)try{t=JSON.parse(n.response)}catch(e){return r(e)}r(null,t,n.getResponseHeader("Cache-Control"),n.getResponseHeader("Expires"))}else r(new ue(n.statusText,n.status,e.url))},n.send(e.body),{cancel:()=>n.abort()}}(e,r)},pe=function(e,t){return fe(A(e,{type:"arrayBuffer"}),t)};function he(e){const r=t.document.createElement("a");return r.href=e,r.protocol===t.document.location.protocol&&r.host===t.document.location.host}const me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let ye,ge;ye=[],ge=0;const ve=function(e,r){if(a.supported&&(e.headers||(e.headers={}),e.headers.accept="image/webp,*/*"),ge>=o.MAX_PARALLEL_IMAGE_REQUESTS){const t={requestParameters:e,callback:r,cancelled:!1,cancel(){this.cancelled=!0}};return ye.push(t),t}ge++;let n=!1;const i=()=>{if(!n)for(n=!0,ge--;ye.length&&ge<o.MAX_PARALLEL_IMAGE_REQUESTS;){const e=ye.shift(),{requestParameters:t,callback:r,cancelled:n}=e;n||(e.cancel=ve(t,r).cancel)}},s=pe(e,(e,n,o,a)=>{i(),e?r(e):n&&(t.createImageBitmap?function(e,r){const n=new t.Blob([new Uint8Array(e)],{type:"image/png"});t.createImageBitmap(n).then(e=>{r(null,e)}).catch(e=>{r(new Error(`Could not load image because of ${e.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(n,(e,t)=>r(e,t,o,a)):function(e,r){const n=new t.Image,i=t.URL;n.onload=()=>{r(null,n),i.revokeObjectURL(n.src),n.onload=null,t.requestAnimationFrame(()=>{n.src=me})},n.onerror=()=>r(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const o=new t.Blob([new Uint8Array(e)],{type:"image/png"});n.src=e.byteLength?i.createObjectURL(o):me}(n,(e,t)=>r(e,t,o,a)))});return{cancel:()=>{s.cancel(),i()}}},be="NO_ACCESS_TOKEN";function _e(e){return 0===e.indexOf("mapbox:")}function xe(e){return o.API_URL_REGEX.test(e)}function we(e){return o.API_CDN_URL_REGEX.test(e)}function Oe(e){return o.API_STYLE_REGEX.test(e)&&!je(e)}function je(e){return o.API_SPRITE_REGEX.test(e)}const Se=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function Me(e){const t=e.match(Se);if(!t)throw new Error("Unable to parse URL object");return{protocol:t[1],authority:t[2],path:t[3]||"/",params:t[4]?t[4].split("&"):[]}}function ke(e){const t=e.params.length?`?${e.params.join("&")}`:"";return`${e.protocol}://${e.authority}${e.path}${t}`}const Pe="mapbox.eventData";function Te(e){if(!e)return null;const r=e.split(".");if(!r||3!==r.length)return null;try{return JSON.parse(decodeURIComponent(t.atob(r[1]).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join("")))}catch(e){return null}}class Ee{constructor(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(e){const r=Te(o.ACCESS_TOKEN);let n="";return n=r&&r.u?t.btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(e,t)=>String.fromCharCode(Number("0x"+t)))):o.ACCESS_TOKEN||"",e?`${Pe}.${e}:${n}`:`${Pe}:${n}`}fetchEventData(){const e=K("localStorage"),r=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{const e=t.localStorage.getItem(r);e&&(this.eventData=JSON.parse(e));const i=t.localStorage.getItem(n);i&&(this.anonId=i)}catch(e){W("Unable to read from LocalStorage")}}saveEventData(){const e=K("localStorage"),r=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{t.localStorage.setItem(n,this.anonId),Object.keys(this.eventData).length>=1&&t.localStorage.setItem(r,JSON.stringify(this.eventData))}catch(e){W("Unable to write to LocalStorage")}}processRequests(e){}postEvent(e,t,r,n){if(!o.EVENTS_URL)return;const i=Me(o.EVENTS_URL);i.params.push(`access_token=${n||o.ACCESS_TOKEN||""}`);const a={event:this.type,created:new Date(e).toISOString()},s=t?A(a,t):a,l={url:ke(i),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=function(e,t){return fe(A(e,{method:"POST"}),t)}(l,e=>{this.pendingRequest=null,r(e),this.saveEventData(),this.processRequests(n)})}queueRequest(e,t){this.queue.push(e),this.processRequests(t)}}
2const Ce=new class extends Ee{constructor(e){super("appUserTurnstile"),this._customAccessToken=e}postTurnstileEvent(e,t){o.EVENTS_URL&&o.ACCESS_TOKEN&&Array.isArray(e)&&e.some(e=>_e(e)||xe(e))&&this.queueRequest(Date.now(),t)}processRequests(e){if(this.pendingRequest||0===this.queue.length)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const t=Te(o.ACCESS_TOKEN),n=t?t.u:o.ACCESS_TOKEN;let i=n!==this.eventData.tokenU;z(this.anonId)||(this.anonId=N(),i=!0);const a=this.queue.shift();if(this.eventData.lastSuccess){const e=new Date(this.eventData.lastSuccess),t=new Date(a),r=(a-this.eventData.lastSuccess)/864e5;i=i||r>=1||r<-1||e.getDate()!==t.getDate()}else i=!0;i?this.postEvent(a,{sdkIdentifier:"mapbox-gl-js",sdkVersion:r,skuId:f,"enabled.telemetry":!1,userId:this.anonId},e=>{e||(this.eventData.lastSuccess=a,this.eventData.tokenU=n)},e):this.processRequests()}},Le=Ce.postTurnstileEvent.bind(Ce),Ae=new class extends Ee{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(e,t,r,n){this.skuToken=t,this.errorCb=n,o.EVENTS_URL&&(r||o.ACCESS_TOKEN?this.queueRequest({id:e,timestamp:Date.now()},r):this.errorCb(new Error(be)))}processRequests(e){if(this.pendingRequest||0===this.queue.length)return;const{id:t,timestamp:n}=this.queue.shift();t&&this.success[t]||(this.anonId||this.fetchEventData(),z(this.anonId)||(this.anonId=N()),this.postEvent(n,{sdkIdentifier:"mapbox-gl-js",sdkVersion:r,skuId:f,skuToken:this.skuToken,userId:this.anonId},e=>{e?this.errorCb(e):t&&(this.success[t]=!0)},e))}},De=Ae.postMapLoadEvent.bind(Ae),Ie=new class extends Ee{constructor(){super("gljs.performance")}postPerformanceEvent(e,t){o.EVENTS_URL&&(e||o.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:t},e)}processRequests(e){if(this.pendingRequest||0===this.queue.length)return;const{timestamp:n,performanceData:i}=this.queue.shift(),o=function(e){const n=t.performance.getEntriesByType("resource"),i=t.performance.getEntriesByType("mark"),o=function(e){const t={};if(e)for(const r in e)if("other"!==r)for(const n of e[r]){const e=`${r}ResolveRangeMin`,i=`${r}ResolveRangeMax`,o=`${r}RequestCount`,a=`${r}RequestCachedCount`;t[e]=Math.min(t[e]||1/0,n.startTime),t[i]=Math.max(t[i]||-1/0,n.responseEnd);const s=e=>{void 0===t[e]&&(t[e]=0),++t[e]};void 0!==n.transferSize&&0===n.transferSize&&s(a),s(o)}return t}(function(e,t){const r={};if(e)for(const n of e){const e=t(n);void 0===r[e]&&(r[e]=[]),r[e].push(n)}return r}(n,Ue)),a=t.devicePixelRatio,s=t.navigator.connection||t.navigator.mozConnection||t.navigator.webkitConnection,l={counters:[],metadata:[],attributes:[]},c=(e,t,r)=>{null!=r&&e.push({name:t,value:r.toString()})};for(const e in o)c(l.counters,e,o[e]);if(e.interactionRange[0]!==1/0&&e.interactionRange[1]!==-1/0&&(c(l.counters,"interactionRangeMin",e.interactionRange[0]),c(l.counters,"interactionRangeMax",e.interactionRange[1])),i)for(const e of Object.keys(Be)){const t=Be[e],r=i.find(e=>e.name===t);r&&c(l.counters,t,r.startTime)}return c(l.counters,"visibilityHidden",e.visibilityHidden),c(l.attributes,"style",function(e){if(e)for(const t of e){const e=t.name.split("?")[0];if(Oe(e)){const t=e.split("/").slice(-2);if(2===t.length)return`mapbox://styles/${t[0]}/${t[1]}`}}}(n)),c(l.attributes,"terrainEnabled",e.terrainEnabled?"true":"false"),c(l.attributes,"fogEnabled",e.fogEnabled?"true":"false"),c(l.attributes,"projection",e.projection),c(l.attributes,"zoom",e.zoom),c(l.metadata,"devicePixelRatio",a),c(l.metadata,"connectionEffectiveType",s?s.effectiveType:void 0),c(l.metadata,"navigatorUserAgent",t.navigator.userAgent),c(l.metadata,"screenWidth",t.screen.width),c(l.metadata,"screenHeight",t.screen.height),c(l.metadata,"windowWidth",t.innerWidth),c(l.metadata,"windowHeight",t.innerHeight),c(l.metadata,"mapWidth",e.width/a),c(l.metadata,"mapHeight",e.height/a),c(l.metadata,"webglRenderer",e.renderer),c(l.metadata,"webglVendor",e.vendor),c(l.metadata,"sdkVersion",r),c(l.metadata,"sdkIdentifier","mapbox-gl-js"),l}(i);for(const e of o.metadata);for(const e of o.counters);for(const e of o.attributes);this.postEvent(n,o,()=>{},e)}}
2,Ne=Ie.postPerformanceEvent.bind(Ie),Re=new class extends Ee{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(e,t,r,n){if(!o.API_URL||!o.SESSION_PATH)return;const i=Me(o.API_URL+o.SESSION_PATH);i.params.push(`sku=${t||""}`),i.params.push(`access_token=${n||o.ACCESS_TOKEN||""}`);const a={url:ke(i),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(e,t){return fe(A(e,{method:"GET"}),t)}(a,e=>{this.pendingRequest=null,r(e),this.saveEventData(),this.processRequests(n)})}getSessionAPI(e,t,r,n){this.skuToken=t,this.errorCb=n,o.SESSION_PATH&&o.API_URL&&(r||o.ACCESS_TOKEN?this.queueRequest({id:e,timestamp:Date.now()},r):this.errorCb(new Error(be)))}processRequests(e){if(this.pendingRequest||0===this.queue.length)return;const{id:t,timestamp:r}=this.queue.shift();t&&this.success[t]||this.getSession(r,this.skuToken,e=>{e?this.errorCb(e):t&&(this.success[t]=!0)},e)}},ze=Re.getSessionAPI.bind(Re),Fe=new Set,Be={create:"create",load:"load",fullLoad:"fullLoad"},Ye={mark(e){t.performance.mark(e)},measure(e,r,n){t.performance.measure(e,r,n)}};function Ue(e){const t=e.name.split("?")[0];return we(t)&&t.includes("mapbox-gl.js")?"javascript":we(t)&&t.includes("mapbox-gl.css")?"css":function(e){return o.API_FONTS_REGEX.test(e)}(t)?"fontRange":je(t)?"sprite":Oe(t)?"style":function(e){return o.API_TILEJSON_REGEX.test(e)}(t)?"tilejson":"other"}const He=t.performance;function $e(e){const t=e?e.url.toString():void 0;return He.getEntriesByName(t)}let We,Ve,qe,Ge;const Ze={now:()=>void 0!==qe?qe:t.performance.now(),setNow(e){qe=e},restoreNow(){qe=void 0},frame(e){const r=t.requestAnimationFrame(e);return{cancel:()=>t.cancelAnimationFrame(r)}},getImageData(e,r=0){const{width:n,height:i}=e;Ge||(Ge=t.document.createElement("canvas"));const o=Ge.getContext("2d",{willReadFrequently:!0});if(!o)throw new Error("failed to create canvas 2d context");return(n>Ge.width||i>Ge.height)&&(Ge.width=n,Ge.height=i),o.clearRect(-r,-r,n+2*r,i+2*r),o.drawImage(e,0,0,n,i),o.getImageData(-r,-r,n+2*r,i+2*r)},resolveURL:e=>(We||(We=t.document.createElement("a")),We.href=e,We.href),get devicePixelRatio(){return t.devicePixelRatio},get prefersReducedMotion(){return!!t.matchMedia&&(null==Ve&&(Ve=t.matchMedia("(prefers-reduced-motion: reduce)")),Ve.matches)}};function Xe(e,t,r){r[e]&&-1!==r[e].indexOf(t)||(r[e]=r[e]||[],r[e].push(t))}function Je(e,t,r){if(r&&r[e]){const n=r[e].indexOf(t);-1!==n&&r[e].splice(n,1)}}class Ke{constructor(e,t={}){A(this,t),this.type=e}}class Qe extends Ke{constructor(e,t={}){super("error",A({error:e},t))}}class et{on(e,t){return this._listeners=this._listeners||{},Xe(e,t,this._listeners),this}off(e,t){return Je(e,t,this._listeners),Je(e,t,this._oneTimeListeners),this}once(e,t){return t?(this._oneTimeListeners=this._oneTimeListeners||{},Xe(e,t,this._oneTimeListeners),this):new Promise(t=>this.once(e,t))}fire(e,t){"string"==typeof e&&(e=new Ke(e,t||{}));const r=e.type;if(this.listens(r)){e.target=this;const t=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];for(const r of t)r.call(this,e);const n=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];for(const t of n)Je(r,t,this._oneTimeListeners),t.call(this,e);const i=this._eventedParent;i&&(A(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),i.fire(e))}else e instanceof Qe&&console.error(e.error);return this}listens(e){return!!(this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e))}setEventedParent(e,t){return this._eventedParent=e,this._eventedParentData=t,this}}var tt=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360,"units":"degrees"},"pitch":{"type":"number","default":0,"units":"degrees"},"light":{"type":"light"},"terrain":{"type":"terrain"},"fog":{"type":"fog"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"scheme":{"type":"enum","values":{"xyz":{},"tms":{}},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"scheme":{"type":"enum","values":{"xyz":{},"tms":{}},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":{}}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":{},"mapbox":{}},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":{}}},"data":{"type":"*"},"maxzoom":{"type":"number","default":18},"attribution":{"type":"string"},"buffer":{"type":"number","default":128,"maximum":512,"minimum":0},"filter":{"type":"*"},"tolerance":{"type":"number","default":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0}
2,"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":{}}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":{}}},"url":{"required":true,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"hillshade":{},"background":{},"sky":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":24},"maxzoom":{"type":"number","minimum":0,"maximum":24},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],"layout_background":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1
vendor: 16,128 bytes, line 2
2,"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":{},"round":{},"square":{}},"default":"butt","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":{},"round":{},"miter":{}},"default":"miter","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"requires":[{"line-join":"miter"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"requires":[{"line-join":"round"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":{},"line":{},"line-center":{}},"default":"point","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"units":"pixels","requires":[{"symbol-placement":"line"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":{},"viewport-y":{},"source":{}},"default":"auto","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"requires":["icon-image","text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"units":"factor of the original icon size","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":{},"width":{},"height":{},"both":{}},"default":"none","requires":["icon-image","text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"units":"pixels","requires":["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"units":"degrees","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"requires":["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"default":"center","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":{},"viewport":{},"auto":{}},"default":"auto","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"units":"ems","requires":["text-field",{"symbol-placement":["point"]}],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"units":"ems","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"units":"ems","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":{},"left":{},"center":{},"right":{}},"default":"center","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","units":"ems","default":0,"requires":["text-field"],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"requires":["text-field",{"symbol-placement":["point"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":{},"left":{},"right":{},"top":{},"bottom":{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},"default":"center","requires":["text-field",{"!":"text-variable-anchor"}],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"units":"degrees","requires":["text-field",{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":{},"vertical":{}},"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"units":"degrees","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"requires":["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":{},"uppercase":{},"lowercase":{}},"default":"none","requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","units":"ems","length":2,"default":[0,0],"requires":["text-field",{"!":"text-radial-offset"}],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"requires":["text-field"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"requires":["text-field","icon-image"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":{},"none":{}},"default":"visible","property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"transition":false,"property-type":"data-driven","expression":{"interpolated":false,"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},"in":{},"!in":{},"all":{},"any":{},"none":{},"has":{},"!has":{},"within":{}}},"geometry_type":{"type":"enum","values":{"Point":{},"LineString":{},"Polygon":{}}},"function":{"expression":{"type":"expression"},"stops":{"type":"array","value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":{"identity":{},"exponential":{},"interval":{},"categorical":{}},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":{},"lab":{},"hcl":{}},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":{},"viewport":{}},"property-type":"data-constant","transition":false,"expression":{"interpolated":false,"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":{},"equalEarth":{},"equirectangular":{},"lambertConformalConic":{},"mercator":{},"naturalEarth":{},"winkelTripel":{},"globe":{}},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90],"transition":false,"requires":[{"name":["albers","lambertConformalConic"]}]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90],"transition":false,"requires":[{"name":["albers","lambertConformalConic"]}]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true,"requires":["source"]}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"fill-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"requires":[{"!":"fill-pattern"},{"fill-antialias":true}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["fill-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","transition":
vendor: 3,928 bytes, line 2
2false,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"fill-extrusion-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["fill-extrusion-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","transition":false,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"units":"meters","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"units":"meters","transition":true,"requires":["fill-extrusion-height"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true,"requires":["fill-extrusion-edge-radius"]},"fill-extrusion-rounded-roof":{"type":"boolean","default":true,"requires":["fill-extrusion-edge-radius"],"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"line-pattern"}],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["line-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}
2,"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"transition":false,"units":"line widths","requires":[{"!":"line-pattern"}],"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","transition":false,"expression":{"interpolated":false,"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","transition":false,"requires":[{"!":"line-pattern"},{"source":"geojson","has":{"lineMetrics":true}}],"expression":{"interpolated":true,"parameters":["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{"type":"array","value":"number","length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"transition":false,"requires":[{"source":"geojson","has":{"lineMetrics":true}}],"property-type":"constant"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["circle-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":{},"viewport":{}},"default":"viewport","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"units":"pixels","expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"transition":false,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"transition":false,"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","requires":["icon-image"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["icon-image","icon-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"units":"pixels","requires":["text-field"],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"map","requires":["text-field","text-translate"],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"units":"degrees","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":{},"nearest":{}},"default":"linear","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"transition":false,"units":"milliseconds","expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"transition":false,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":{},"viewport":{}},"default":"viewport","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"requires":[{"!":"background-pattern"}],"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":{},"atmosphere":{}},"default":"atmosphere","expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"units":"degrees","minimum":[0,0],"maximum":[360,180],"transition":false,"requires":[{"sky-type":"atmosphere"}],"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","requires":[{"sky-type":"atmosphere"}],"default":10,"minimum":0,"maximum":100,"transition":false,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","requires":[{"sky-type":"gradient"}],"value":"number","default":[0,0],"length":2,"units":"degrees","minimum":[0,0],"maximum":[360,180],"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","requires":[{"sky-type":"gradient"}],"default":90,"minimum":0,"maximum":180,"transition":false,"expression":{"interpolated":false,"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"transition":false,"requires":[{"sky-type":"gradient"}],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","transition":false,"requires":[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","transition":false,"requires":[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0,"units":"milliseconds"},"delay":{"type":"number","default":0,"minimum":0,"units":"milliseconds"}},"property-type":{"data-driven":{"type":"property-type"},"color-ramp":{"type":"property-type"},"data-constant":{"type":"property-type"},"constant":{"type":"property-type"}},"promoteId":{"*":{"type":"string"}}}');function rt(e,...t){for(const r of t)for(const t in r)e[t]=r[t];return e}function nt(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function it(e){if(Array.isArray(e))return e.map(it);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){const t={};for(const r in e)t[r]=it(e[r]);return t}return nt(e)}
vendor: 27,999 bytes, line 2
2class ot extends Error{constructor(e,t){super(t),this.message=t,this.key=e}}var at=ot;class st{constructor(e,t=[]){this.parent=e,this.bindings={};for(const[e,r]of t)this.bindings[e]=r}concat(e){return new st(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var lt=st;const ct={kind:"null"},ut={kind:"number"},dt={kind:"string"},ft={kind:"boolean"},pt={kind:"color"},ht={kind:"object"},mt={kind:"value"},yt={kind:"collator"},gt={kind:"formatted"},vt={kind:"resolvedImage"};function bt(e,t){return{kind:"array",itemType:e,N:t}}function _t(e){if("array"===e.kind){const t=_t(e.itemType);return"number"==typeof e.N?`array<${t}, ${e.N}>`:"value"===e.itemType.kind?"array":`array<${t}>`}return e.kind}const xt=[ct,ut,dt,ft,pt,gt,ht,bt(mt),vt];function wt(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!wt(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(const e of xt)if(!wt(e,t))return null}return`Expected ${_t(e)} but found ${_t(t)} instead.`}function Ot(e,t){return t.some(t=>t.kind===e.kind)}function jt(e,t){return t.some(t=>"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e)}var St,Mt={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function kt(e){return(e=Math.round(e))<0?0:e>255?255:e}function Pt(e){return kt("%"===e[e.length-1]?parseFloat(e)/100*255:parseInt(e))}function Tt(e){return(t="%"===e[e.length-1]?parseFloat(e)/100:parseFloat(e))<0?0:t>1?1:t;var t}function Et(e,t,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?e+(t-e)*r*6:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}try{St={}.parseCSSColor=function(e){var t,r=e.replace(/ /g,"").toLowerCase();if(r in Mt)return Mt[r].slice();if("#"===r[0])return 4===r.length?(t=parseInt(r.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===r.length&&(t=parseInt(r.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var n=r.indexOf("("),i=r.indexOf(")");if(-1!==n&&i+1===r.length){var o=r.substr(0,n),a=r.substr(n+1,i-(n+1)).split(","),s=1;switch(o){case"rgba":if(4!==a.length)return null;s=Tt(a.pop());case"rgb":return 3!==a.length?null:[Pt(a[0]),Pt(a[1]),Pt(a[2]),s];case"hsla":if(4!==a.length)return null;s=Tt(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,c=Tt(a[1]),u=Tt(a[2]),d=u<=.5?u*(c+1):u+c-u*c,f=2*u-d;return[kt(255*Et(f,d,l+1/3)),kt(255*Et(f,d,l)),kt(255*Et(f,d,l-1/3)),s];default:return null}}return null}}catch(e){}class Ct{constructor(e,t,r,n=1){this.r=e,this.g=t,this.b=r,this.a=n}static parse(e){if(!e)return;if(e instanceof Ct)return e;if("string"!=typeof e)return;const t=St(e);return t?new Ct(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3]):void 0}toString(){const[e,t,r,n]=this.toArray();return`rgba(${Math.round(e)},${Math.round(t)},${Math.round(r)},${n})`}toArray(){const{r:e,g:t,b:r,a:n}=this;return 0===n?[0,0,0,0]:[255*e/n,255*t/n,255*r/n,n]}toArray01(){const{r:e,g:t,b:r,a:n}=this;return 0===n?[0,0,0,0]:[e/n,t/n,r/n,n]}toArray01PremultipliedAlpha(){const{r:e,g:t,b:r,a:n}=this;return[e,t,r,n]}}Ct.black=new Ct(0,0,0,1),Ct.white=new Ct(1,1,1,1),Ct.transparent=new Ct(0,0,0,0),Ct.red=new Ct(1,0,0,1),Ct.blue=new Ct(0,0,1,1);var Lt=Ct;class At{constructor(e,t,r){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,t){return this.collator.compare(e,t)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Dt{constructor(e,t,r,n,i){this.text=e.normalize?e.normalize():e,this.image=t,this.scale=r,this.fontStack=n,this.textColor=i}}class It{constructor(e){this.sections=e}static fromString(e){return new It([new Dt(e,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some(e=>0!==e.text.length||e.image&&0!==e.image.name.length)}static factory(e){return e instanceof It?e:It.fromString(e)}toString(){return 0===this.sections.length?"":this.sections.map(e=>e.text).join("")}serialize(){const e=["format"];for(const t of this.sections){if(t.image){e.push(["image",t.image.name]);continue}e.push(t.text);const r={};t.fontStack&&(r["text-font"]=["literal",t.fontStack.split(",")]),t.scale&&(r["font-scale"]=t.scale),t.textColor&&(r["text-color"]=["rgba"].concat(t.textColor.toArray())),e.push(r)}return e}}class Nt{constructor(e){this.name=e.name,this.available=e.available}toString(){return this.name}static fromString(e){return e?new Nt({name:e,available:!1}):null}serialize(){return["image",this.name]}}function Rt(e,t,r,n){return"number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===n||"number"==typeof n&&n>=0&&n<=1?null:`Invalid rgba value [${[e,t,r,n].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${("number"==typeof n?[e,t,r,n]:[e,t,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function zt(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Lt)return!0;if(e instanceof At)return!0;if(e instanceof It)return!0;if(e instanceof Nt)return!0;if(Array.isArray(e)){for(const t of e)if(!zt(t))return!1;return!0}if("object"==typeof e){for(const t in e)if(!zt(e[t]))return!1;return!0}return!1}function Ft(e){if(null===e)return ct;if("string"==typeof e)return dt;if("boolean"==typeof e)return ft;if("number"==typeof e)return ut;if(e instanceof Lt)return pt;if(e instanceof At)return yt;if(e instanceof It)return gt;if(e instanceof Nt)return vt;if(Array.isArray(e)){const t=e.length;let r;for(const t of e){const e=Ft(t);if(r){if(r===e)continue;r=mt;break}r=e}return bt(r||mt,t)}return ht}function Bt(e){const t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof Lt||e instanceof It||e instanceof Nt?e.toString():JSON.stringify(e)}class Yt{constructor(e,t){this.type=e,this.value=t}static parse(e,t){if(2!==e.length)return t.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!zt(e[1]))return t.error("invalid value");const r=e[1];let n=Ft(r);const i=t.expectedType;return"array"!==n.kind||0!==n.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(n=i),new Yt(n,r)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Lt?["rgba"].concat(this.value.toArray()):this.value instanceof It?this.value.serialize():this.value}}var Ut=Yt,Ht=class{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}};const $t={string:dt,number:ut,boolean:ft,object:ht};class Wt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");let r,n=1;const i=e[0];if("array"===i){let i,o;if(e.length>2){const r=e[1];if("string"!=typeof r||!(r in $t)||"object"===r)return t.error('The item type argument of "array" must be one of string, number, boolean',1);i=$t[r],n++}else i=mt;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);o=e[2],n++}r=bt(i,o)}else r=$t[i];const o=[];for(;n<e.length;n++){const r=t.parse(e[n],n,mt);if(!r)return null;o.push(r)}return new Wt(r,o)}evaluate(e){for(let t=0;t<this.args.length;t++){const r=this.args[t].evaluate(e);if(!wt(this.type,Ft(r)))return r;if(t===this.args.length-1)throw new Ht(`Expected value to be of type ${_t(this.type)}, but found ${_t(Ft(r))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=this.type,t=[e.kind];if("array"===e.kind){const r=e.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){t.push(r.kind);const n=e.N;("number"==typeof n||this.args.length>1)&&t.push(n)}}return t.concat(this.args.map(e=>e.serialize()))}}var Vt=Wt;class qt{constructor(e){this.type=gt,this.sections=e}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const r=e[1];if(!Array.isArray(r)&&"object"==typeof r)return t.error("First argument must be an image or text section.");const n=[];let i=!1;for(let r=1;r<=e.length-1;++r){const o=e[r];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;let e=null;if(o["font-scale"]&&(e=t.parse(o["font-scale"],1,ut),!e))return null;let r=null;if(o["text-font"]&&(r=t.parse(o["text-font"],1,bt(dt)),!r))return null;let a=null;if(o["text-color"]&&(a=t.parse(o["text-color"],1,pt),!a))return null;const s=n[n.length-1];s.scale=e,s.font=r,s.textColor=a}else{const o=t.parse(e[r],1,mt);if(!o)return null;const a=o.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,n.push({content:o,scale:null,font:null,textColor:null})}}return new qt(n)}evaluate(e){return new It(this.sections.map(t=>{const r=t.content.evaluate(e);return Ft(r)===vt?new Dt("",r,null,null,null):new Dt(Bt(r),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)}))}eachChild(e){for(const t of this.sections)e(t.content),t.scale&&e(t.scale),t.font&&e(t.font),t.textColor&&e(t.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const t of this.sections){e.push(t.content.serialize());const r={};t.scale&&(r["font-scale"]=t.scale.serialize()),t.font&&(r["text-font"]=t.font.serialize()),t.textColor&&(r["text-color"]=t.textColor.serialize()),e.push(r)}return e}}class Gt{constructor(e){this.type=vt,this.input=e}static parse(e,t){if(2!==e.length)return t.error("Expected two arguments.");const r=t.parse(e[1],1,dt);return r?new Gt(r):t.error("No image name provided.")}evaluate(e){const t=this.input.evaluate(e),r=Nt.fromString(t);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(t)>-1),r}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const Zt={"to-boolean":ft,"to-color":pt,"to-number":ut,"to-string":dt};class Xt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const r=e[0];if(("to-boolean"===r||"to-string"===r)&&2!==e.length)return t.error("Expected one argument.");const n=Zt[r],i=[];for(let r=1;r<e.length;r++){const n=t.parse(e[r],r,mt);if(!n)return null;i.push(n)}return new Xt(n,i)}evaluate(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){let t,r;for(const n of this.args){if(t=n.evaluate(e),r=null,t instanceof Lt)return t;if("string"==typeof t){const r=e.parseColor(t);if(r)return r}else if(Array.isArray(t)&&(r=t.length<3||t.length>4?`Invalid rbga value ${JSON.stringify(t)}: expected an array containing either three or four numeric values.`:Rt(t[0],t[1],t[2],t[3]),!r))return new Lt(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new Ht(r||`Could not parse color from value '${"string"==typeof t?t:String(JSON.stringify(t))}'`)}if("number"===this.type.kind){let t=null;for(const r of this.args){if(t=r.evaluate(e),null===t)return 0;const n=Number(t);if(!isNaN(n))return n}throw new Ht(`Could not convert ${JSON.stringify(t)} to number.`)}return"formatted"===this.type.kind?It.fromString(Bt(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?Nt.fromString(Bt(this.args[0].evaluate(e))):Bt(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){if("formatted"===this.type.kind)return new qt([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Gt(this.args[0]).serialize();const e=[`to-${this.type.kind}`];return this.eachChild(t=>{e.push(t.serialize())}),e}}var Jt=Xt;const Kt=["Unknown","Point","LineString","Polygon"];var Qt=class{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null}id(){return this.feature&&void 0!==this.feature.id?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Kt[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const e=this.featureDistanceData.center,t=this.featureDistanceData.scale,{x:r,y:n}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(r*t-e[0])+this.featureDistanceData.bearing[1]*(n*t-e[1])}return 0}parseColor(e){let t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=Lt.parse(e)),t}};class er{constructor(e,t,r,n){this.name=e,this.type=t,this._evaluate=r,this.args=n}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map(e=>e.serialize()))}static parse(e,t){const r=e[0],n=er.definitions[r];if(!n)return t.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(n)?n[0]:n.type,o=Array.isArray(n)?[[n[1],n[2]]]:n.overloads,a=o.filter(([t])=>!Array.isArray(t)||t.length===e.length-1);let s=null;for(const[n,o]of a){s=new kr(t.registry,t.path,null,t.scope);const a=[];let l=!1;for(let t=1;t<e.length;t++){const r=e[t],i=Array.isArray(n)?n[t-1]:n.type,o=s.parse(r,1+a.length,i);if(!o){l=!0;break}a.push(o)}if(!l)if(Array.isArray(n)&&n.length!==a.length)s.error(`Expected ${n.length} arguments, but found ${a.length} instead.`);else{for(let e=0;e<a.length;e++){const t=Array.isArray(n)?n[e]:n.type,r=a[e];s.concat(e+1).checkSubtype(t,r.type)}if(0===s.errors.length)return new er(r,i,o,a)}}if(1===a.length)t.errors.push(...s.errors);else{const r=(a.length?a:o).map(([e])=>{return t=e,Array.isArray(t)?`(${t.map(_t).join(", ")})`:`(${_t(t.type)}...)`;var t}).join(" | "),n=[];for(let r=1;r<e.length;r++){const i=t.parse(e[r],1+n.length);if(!i)return null;n.push(_t(i.type))}t.error(`Expected arguments of type ${r}, but found (${n.join(", ")}) instead.`)}return null}static register(e,t){er.definitions=t;for(const r in t)e[r]=er}}var tr=er;class rr{constructor(e,t,r){this.type=yt,this.locale=r,this.caseSensitive=e,this.diacriticSensitive=t}static parse(e,t){if(2!==e.length)return t.error("Expected one argument.");const r=e[1];if("object"!=typeof r||Array.isArray(r))return t.error("Collator options argument must be an object.");const n=t.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,ft);if(!n)return null;const i=t.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,ft);if(!i)return null;let o=null;return r.locale&&(o=t.parse(r.locale,1,dt),!o)?null:new rr(n,i,o)}evaluate(e){return new At(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}const nr=8192;function ir(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function or(e,t){return!(e[0]<=t[0]||e[2]>=t[2]||e[1]<=t[1]||e[3]>=t[3])}function ar(e,t){const r=(180+e[0])/360,n=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e[1]*Math.PI/360)))/360,i=Math.pow(2,t.z);return[Math.round(r*i*nr),Math.round(n*i*nr)]}function sr(e,t,r){const n=e[0]-t[0],i=e[1]-t[1],o=e[0]-r[0],a=e[1]-r[1];return n*a-o*i==0&&n*o<=0&&i*a<=0}function lr(e,t){let r=!1;for(let a=0,s=t.length;a<s;a++){const s=t[a];for(let t=0,a=s.length;t<a-1;t++){if(sr(e,s[t],s[t+1]))return!1;(i=s[t])[1]>(n=e)[1]!=(o=s[t+1])[1]>n[1]&&n[0]<(o[0]-i[0])*(n[1]-i[1])/(o[1]-i[1])+i[0]&&(r=!r)}}var n,i,o;return r}function cr(e,t){for(let r=0;r<t.length;r++)if(lr(e,t[r]))return!0;return!1}function ur(e,t,r,n){const i=n[0]-r[0],o=n[1]-r[1],a=(e[0]-r[0])*o-i*(e[1]-r[1]),s=(t[0]-r[0])*o-i*(t[1]-r[1]);return a>0&&s<0||a<0&&s>0}function dr(e,t,r){for(const c of r)for(let r=0;r<c.length-1;++r)if(0!=(s=[(a=c[r+1])[0]-(o=c[r])[0],a[1]-o[1]])[0]*(l=[(i=t)[0]-(n=e)[0],i[1]-n[1]])[1]-s[1]*l[0]&&ur(n,i,o,a)&&ur(o,a,n,i))return!0;var n,i,o,a,s,l;return!1}function fr(e,t){for(let r=0;r<e.length;++r)if(!lr(e[r],t))return!1;for(let r=0;r<e.length-1;++r)if(dr(e[r],e[r+1],t))return!1;return!0}function pr(e,t){for(let r=0;r<t.length;r++)if(fr(e,t[r]))return!0;return!1}function hr(e,t,r){const n=[];for(let i=0;i<e.length;i++){const o=[];for(let n=0;n<e[i].length;n++){const a=ar(e[i][n],r);ir(t,a),o.push(a)}n.push(o)}return n}function mr(e,t,r){const n=[];for(let i=0;i<e.length;i++){const o=hr(e[i],t,r);n.push(o)}return n}function yr(e,t,r,n){if(e[0]<r[0]||e[0]>r[2]){const t=.5*n;let i=e[0]-r[0]>t?-n:r[0]-e[0]>t?n:0;0===i&&(i=e[0]-r[2]>t?-n:r[2]-e[0]>t?n:0),e[0]+=i}ir(t,e)}function gr(e,t,r,n){const i=Math.pow(2,n.z)*nr,o=[n.x*nr,n.y*nr],a=[];if(!e)return a;for(const n of e)for(const e of n){const n=[e.x+o[0],e.y+o[1]];yr(n,t,r,i),a.push(n)}return a}function vr(e,t,r,n){const i=Math.pow(2,n.z)*nr,o=[n.x*nr,n.y*nr],a=[];if(!e)return a;for(const r of e){const e=[];for(const n of r){const r=[n.x+o[0],n.y+o[1]];ir(t,r),e.push(r)}a.push(e)}if(t[2]-t[0]<=i/2){(s=t)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const e of a)for(const n of e)yr(n,t,r,i)}var s;return a}class br{constructor(e,t){this.type=ft,this.geojson=e,this.geometries=t}static parse(e,t){if(2!==e.length)return t.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(zt(e[1])){const t=e[1];if("FeatureCollection"===t.type)for(let e=0;e<t.features.length;++e){const r=t.features[e].geometry.type;if("Polygon"===r||"MultiPolygon"===r)return new br(t,t.features[e].geometry)}else if("Feature"===t.type){const e=t.geometry.type;if("Polygon"===e||"MultiPolygon"===e)return new br(t,t.geometry)}else if("Polygon"===t.type||"MultiPolygon"===t.type)return new br(t,t)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){const r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if(!i)return!1;if("Polygon"===t.type){const o=hr(t.coordinates,n,i),a=gr(e.geometry(),r,n,i);if(!or(r,n))return!1;for(const e of a)if(!lr(e,o))return!1}if("MultiPolygon"===t.type){const o=mr(t.coordinates,n,i),a=gr(e.geometry(),r,n,i);if(!or(r,n))return!1;for(const e of a)if(!cr(e,o))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){const r=[1/0,1/0,-1/0,-1/0],n=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if(!i)return!1;if("Polygon"===t.type){const o=hr(t.coordinates,n,i),a=vr(e.geometry(),r,n,i);if(!or(r,n))return!1;for(const e of a)if(!fr(e,o))return!1}if("MultiPolygon"===t.type){const o=mr(t.coordinates,n,i),a=vr(e.geometry(),r,n,i);if(!or(r,n))return!1;for(const e of a)if(!pr(e,o))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var _r=br;function xr(e){if(e instanceof tr){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof _r)return!1;let t=!0;return e.eachChild(e=>{t&&!xr(e)&&(t=!1)}),t}function wr(e){if(e instanceof tr&&"feature-state"===e.name)return!1;let t=!0;return e.eachChild(e=>{t&&!wr(e)&&(t=!1)}),t}function Or(e,t){if(e instanceof tr&&t.indexOf(e.name)>=0)return!1;let r=!0;return e.eachChild(e=>{r&&!Or(e,t)&&(r=!1)}),r}class jr{constructor(e,t){this.type=t.type,this.name=e,this.boundExpression=t}static parse(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");const r=e[1];return t.scope.has(r)?new jr(r,t.scope.get(r)):t.error(`Unknown variable "${r}". Make sure "${r}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var Sr=jr;class Mr{constructor(e,t=[],r,n=new lt,i=[]){this.registry=e,this.path=t,this.key=t.map(e=>`[${e}]`).join(""),this.scope=n,this.errors=i,this.expectedType=r}parse(e,t,r,n,i={}){return t?this.concat(t,r,n)._parse(e,i):this._parse(e,i)}_parse(e,t){function r(e,t,r){return"assert"===r?new Vt(t,[e]):"coerce"===r?new Jt(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const n=e[0];if("string"!=typeof n)return this.error(`Expression name must be a string, but found ${typeof n} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[n];if(i){let n=i.parse(e,this);if(!n)return null;if(this.expectedType){const e=this.expectedType,i=n.type;if("string"!==e.kind&&"number"!==e.kind&&"boolean"!==e.kind&&"object"!==e.kind&&"array"!==e.kind||"value"!==i.kind)if("color"!==e.kind&&"formatted"!==e.kind&&"resolvedImage"!==e.kind||"value"!==i.kind&&"string"!==i.kind){if(this.checkSubtype(e,i))return null}else n=r(n,e,t.typeAnnotation||"coerce");else n=r(n,e,t.typeAnnotation||"assert")}if(!(n instanceof Ut)&&"resolvedImage"!==n.type.kind&&Pr(n)){const t=new Qt;try{n=new Ut(n.type,n.evaluate(t))}catch(e){return this.error(e.message),null}}return n}return this.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(void 0===e?"'undefined' value invalid. Use null instead.":"object"==typeof e?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,t,r){const n="number"==typeof e?this.path.concat(e):this.path,i=r?this.scope.concat(r):this.scope;return new Mr(this.registry,n,t||null,i,this.errors)}error(e,...t){const r=`${this.key}${t.map(e=>`[${e}]`).join("")}`;this.errors.push(new at(r,e))}checkSubtype(e,t){const r=wt(e,t);return r&&this.error(r),r}}var kr=Mr;function Pr(e){if(e instanceof Sr)return Pr(e.boundExpression);if(e instanceof tr&&"error"===e.name)return!1;if(e instanceof rr)return!1;if(e instanceof _r)return!1;const t=e instanceof Jt||e instanceof Vt;let r=!0;return e.eachChild(e=>{r=t?r&&Pr(e):r&&e instanceof Ut}),!!r&&xr(e)&&Or(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center"])}function Tr(e,t){const r=e.length-1;let n,i,o=0,a=r,s=0;for(;o<=a;)if(s=Math.floor((o+a)/2),n=e[s],i=e[s+1],n<=t){if(s===r||t<i)return s;o=s+1}else{if(!(n>t))throw new Ht("Input is not a number.");a=s-1}return 0}class Er{constructor(e,t,r){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(const[e,t]of r)this.labels.push(e),this.outputs.push(t)}static parse(e,t){if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");const r=t.parse(e[1],1,ut);if(!r)return null;const n=[];let i=null;t.expectedType&&"value"!==t.expectedType.kind&&(i=t.expectedType);for(let r=1;r<e.length;r+=2){const o=1===r?-1/0:e[r],a=e[r+1],s=r,l=r+1;if("number"!=typeof o)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not c
2omputed expressions) for the input values.',s);if(n.length&&n[n.length-1][0]>=o)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=t.parse(a,l,i);if(!c)return null;i=i||c.type,n.push([o,c])}return new Er(i,r,n)}evaluate(e){const t=this.labels,r=this.outputs;if(1===t.length)return r[0].evaluate(e);const n=this.input.evaluate(e);if(n<=t[0])return r[0].evaluate(e);const i=t.length;return n>=t[i-1]?r[i-1].evaluate(e):r[Tr(t,n)].evaluate(e)}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){const e=["step",this.input.serialize()];for(let t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}var Cr=Er;function Lr(e,t,r){return e*(1-r)+t*r}var Ar=Object.freeze({__proto__:null,array:function(e,t,r){return e.map((e,n)=>Lr(e,t[n],r))},color:function(e,t,r){return new Lt(Lr(e.r,t.r,r),Lr(e.g,t.g,r),Lr(e.b,t.b,r),Lr(e.a,t.a,r))},number:Lr});const Dr=.95047,Ir=1.08883,Nr=4/29,Rr=6/29,zr=3*Rr*Rr,Fr=Rr*Rr*Rr,Br=Math.PI/180,Yr=180/Math.PI;function Ur(e){return e>Fr?Math.pow(e,1/3):e/zr+Nr}function Hr(e){return e>Rr?e*e*e:zr*(e-Nr)}function $r(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Wr(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Vr(e){const t=Wr(e.r),r=Wr(e.g),n=Wr(e.b),i=Ur((.4124564*t+.3575761*r+.1804375*n)/Dr),o=Ur((.2126729*t+.7151522*r+.072175*n)/1);return{l:116*o-16,a:500*(i-o),b:200*(o-Ur((.0193339*t+.119192*r+.9503041*n)/Ir)),alpha:e.a}}function qr(e){let t=(e.l+16)/116,r=isNaN(e.a)?t:t+e.a/500,n=isNaN(e.b)?t:t-e.b/200;return t=1*Hr(t),r=Dr*Hr(r),n=Ir*Hr(n),new Lt($r(3.2404542*r-1.5371385*t-.4985314*n),$r(-.969266*r+1.8760108*t+.041556*n),$r(.0556434*r-.2040259*t+1.0572252*n),e.alpha)}function Gr(e,t,r){const n=t-e;return e+r*(n>180||n<-180?n-360*Math.round(n/360):n)}const Zr={forward:Vr,reverse:qr,interpolate:function(e,t,r){return{l:Lr(e.l,t.l,r),a:Lr(e.a,t.a,r),b:Lr(e.b,t.b,r),alpha:Lr(e.alpha,t.alpha,r)}}},Xr={forward:function(e){const{l:t,a:r,b:n}=Vr(e),i=Math.atan2(n,r)*Yr;return{h:i<0?i+360:i,c:Math.sqrt(r*r+n*n),l:t,alpha:e.a}},reverse:function(e){const t=e.h*Br,r=e.c;return qr({l:e.l,a:Math.cos(t)*r,b:Math.sin(t)*r,alpha:e.alpha})},interpolate:function(e,t,r){return{h:Gr(e.h,t.h,r),c:Lr(e.c,t.c,r),l:Lr(e.l,t.l,r),alpha:Lr(e.alpha,t.alpha,r)}}};var Jr=Object.freeze({__proto__:null,hcl:Xr,lab:Zr});class Kr{constructor(e,t,r,n,i){this.type=e,this.operator=t,this.interpolation=r,this.input=n,this.labels=[],this.outputs=[];for(const[e,t]of i)this.labels.push(e),this.outputs.push(t)}static interpolationFactor(e,t,r,n){let i=0;if("exponential"===e.name)i=Qr(t,e.base,r,n);else if("linear"===e.name)i=Qr(t,1,r,n);else if("cubic-bezier"===e.name){const o=e.controlPoints;i=new y(o[0],o[1],o[2],o[3]).solve(Qr(t,1,r,n))}return i}static parse(e,t){let[r,n,i,...o]=e;if(!Array.isArray(n)||0===n.length)return t.error("Expected an interpolation type expression.",1);if("linear"===n[0])n={name:"linear"};else if("exponential"===n[0]){const e=n[1];if("number"!=typeof e)return t.error("Exponential interpolation requires a numeric base.",1,1);n={name:"exponential",base:e}}else{if("cubic-bezier"!==n[0])return t.error(`Unknown interpolation type ${String(n[0])}`,1,0);{const e=n.slice(1);if(4!==e.length||e.some(e=>"number"!=typeof e||e<0||e>1))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);n={name:"cubic-bezier",controlPoints:e}}}if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(i=t.parse(i,2,ut),!i)return null;const a=[];let s=null;"interpolate-hcl"===r||"interpolate-lab"===r?s=pt:t.expectedType&&"value"!==t.expectedType.kind&&(s=t.expectedType);for(let e=0;e<o.length;e+=2){const r=o[e],n=o[e+1],i=e+3,l=e+4;if("number"!=typeof r)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not c
2omputed expressions) for the input values.',i);if(a.length&&a[a.length-1][0]>=r)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const c=t.parse(n,l,s);if(!c)return null;s=s||c.type,a.push([r,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"==typeof s.N?new Kr(s,r,n,i,a):t.error(`Type ${_t(s)} is not interpolatable.`)}evaluate(e){const t=this.labels,r=this.outputs;if(1===t.length)return r[0].evaluate(e);const n=this.input.evaluate(e);if(n<=t[0])return r[0].evaluate(e);const i=t.length;if(n>=t[i-1])return r[i-1].evaluate(e);const o=Tr(t,n),a=Kr.interpolationFactor(this.interpolation,n,t[o],t[o+1]),s=r[o].evaluate(e),l=r[o+1].evaluate(e);return"interpolate"===this.operator?Ar[this.type.kind.toLowerCase()](s,l,a):"interpolate-hcl"===this.operator?Xr.reverse(Xr.interpolate(Xr.forward(s),Xr.forward(l),a)):Zr.reverse(Zr.interpolate(Zr.forward(s),Zr.forward(l),a))}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){let e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const t=[this.operator,e,this.input.serialize()];for(let e=0;e<this.labels.length;e++)t.push(this.labels[e],this.outputs[e].serialize());return t}}function Qr(e,t,r,n){const i=n-r,o=e-r;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}var en=Kr;class tn{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expectected at least one argument.");let r=null;const n=t.expectedType;n&&"value"!==n.kind&&(r=n);const i=[];for(const n of e.slice(1)){const e=t.parse(n,1+i.length,r,void 0,{typeAnnotation:"omit"});if(!e)return null;r=r||e.type,i.push(e)}const o=n&&i.some(e=>wt(n,e.type));return new tn(o?mt:r,i)}evaluate(e){let t,r=null,n=0;for(const i of this.args){if(n++,r=i.evaluate(e),r&&r instanceof Nt&&!r.available&&(t||(t=r),r=null,n===this.args.length))return t;if(null!==r)break}return r}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=["coalesce"];return this.eachChild(t=>{e.push(t.serialize())}),e}}var rn=tn;class nn{constructor(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const t of this.bindings)e(t[1]);e(this.result)}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const r=[];for(let n=1;n<e.length-1;n+=2){const i=e[n];if("string"!=typeof i)return t.error(`Expected string, but found ${typeof i} instead.`,n);if(/[^a-zA-Z0-9_]/.test(i))return t.error("Variable names must contain only alphanumeric characters or '_'.",n);const o=t.parse(e[n+1],n+1);if(!o)return null;r.push([i,o])}const n=t.parse(e[e.length-1],e.length-1,t.expectedType,r);return n?new nn(r,n):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[t,r]of this.bindings)e.push(t,r.serialize());return e.push(this.result.serialize()),e}}var on=nn;class an{constructor(e,t,r){this.type=e,this.index=t,this.input=r}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const r=t.parse(e[1],1,ut),n=t.parse(e[2],2,bt(t.expectedType||mt));return r&&n?new an(n.type.itemType,r,n):null}evaluate(e){const t=this.index.evaluate(e),r=this.input.evaluate(e);if(t<0)throw new Ht(`Array index out of bounds: ${t} < 0.`);if(t>=r.length)throw new Ht(`Array index out of bounds: ${t} > ${r.length-1}.`);if(t!==Math.floor(t))throw new Ht(`Array index must be an integer, but found ${t} instead.`);return r[t]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var sn=an;class ln{constructor(e,t){this.type=ft,this.needle=e,this.haystack=t}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const r=t.parse(e[1],1,mt),n=t.parse(e[2],2,mt);return r&&n?Ot(r.type,[ft,dt,ut,ct,mt])?new ln(r,n):t.error(`Expected first argument to be of type boolean, string, number or null, but found ${_t(r.type)} instead`):null}evaluate(e){const t=this.needle.evaluate(e),r=this.haystack.evaluate(e);if(null==r)return!1;if(!jt(t,["boolean","string","number","null"]))throw new Ht(`Expected first argument to be of type boolean, string, number or null, but found ${_t(Ft(t))} instead.`);if(!jt(r,["string","array"]))throw new Ht(`Expected second argument to be of type array or string, but found ${_t(Ft(r))} instead.`);return r.indexOf(t)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var cn=ln;class un{constructor(e,t,r){this.type=ut,this.needle=e,this.haystack=t,this.fromIndex=r}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const r=t.parse(e[1],1,mt),n=t.parse(e[2],2,mt);if(!r||!n)return null;if(!Ot(r.type,[ft,dt,ut,ct,mt]))return t.error(`Expected first argument to be of type boolean, string, number or null, but found ${_t(r.type)} instead`);if(4===e.length){const i=t.parse(e[3],3,ut);return i?new un(r,n,i):null}return new un(r,n)}evaluate(e){const t=this.needle.evaluate(e),r=this.haystack.evaluate(e);if(!jt(t,["boolean","string","number","null"]))throw new Ht(`Expected first argument to be of type boolean, string, number or null, but found ${_t(Ft(t))} instead.`);if(!jt(r,["string","array"]))throw new Ht(`Expected second argument to be of type array or string, but found ${_t(Ft(r))} instead.`);if(this.fromIndex){const n=this.fromIndex.evaluate(e);return r.indexOf(t,n)}return r.indexOf(t)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var dn=un;class fn{constructor(e,t,r,n,i,o){this.inputType=e,this.type=t,this.input=r,this.cases=n,this.outputs=i,this.otherwise=o}static parse(e,t){if(e.length<5)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return t.error("Expected an even number of arguments.");let r,n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);const i={},o=[];for(let a=2;a<e.length-1;a+=2){let s=e[a];const l=e[a+1];Array.isArray(s)||(s=[s]);const c=t.concat(a);if(0===s.length)return c.error("Expected at least one branch label.");for(const e of s){if("number"!=typeof e&&"string"!=typeof e)return c.error("Branch labels must be numbers or strings.");if("number"==typeof e&&Math.abs(e)>Number.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof e&&Math.floor(e)!==e)return c.error("Numeric branch labels must be integer values.");if(r){if(c.checkSubtype(r,Ft(e)))return null}else r=Ft(e);
vendor: 5,228 bytes, line 2
2if(void 0!==i[String(e)])return c.error("Branch labels must be unique.");i[String(e)]=o.length}const u=t.parse(l,a,n);if(!u)return null;n=n||u.type,o.push(u)}const a=t.parse(e[1],1,mt);if(!a)return null;const s=t.parse(e[e.length-1],e.length-1,n);return s?"value"!==a.type.kind&&t.concat(1).checkSubtype(r,a.type)?null:new fn(r,n,a,i,o,s):null}evaluate(e){const t=this.input.evaluate(e);return(Ft(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every(e=>e.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],t=Object.keys(this.cases).sort(),r=[],n={};for(const e of t){const t=n[this.cases[e]];void 0===t?(n[this.cases[e]]=r.length,r.push([this.cases[e],[e]])):r[t][1].push(e)}const i=e=>"number"===this.inputType.kind?Number(e):e;for(const[t,n]of r)e.push(1===n.length?i(n[0]):n.map(i)),e.push(this.outputs[t].serialize());return e.push(this.otherwise.serialize()),e}}var pn=fn;class hn{constructor(e,t,r){this.type=e,this.branches=t,this.otherwise=r}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return t.error("Expected an odd number of arguments.");let r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);const n=[];for(let i=1;i<e.length-1;i+=2){const o=t.parse(e[i],i,ft);if(!o)return null;const a=t.parse(e[i+1],i+1,r);if(!a)return null;n.push([o,a]),r=r||a.type}const i=t.parse(e[e.length-1],e.length-1,r);return i?new hn(r,n,i):null}evaluate(e){for(const[t,r]of this.branches)if(t.evaluate(e))return r.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[t,r]of this.branches)e(t),e(r);e(this.otherwise)}outputDefined(){return this.branches.every(([e,t])=>t.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild(t=>{e.push(t.serialize())}),e}}var mn=hn;class yn{constructor(e,t,r,n){this.type=e,this.input=t,this.beginIndex=r,this.endIndex=n}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const r=t.parse(e[1],1,mt),n=t.parse(e[2],2,ut);if(!r||!n)return null;if(!Ot(r.type,[bt(mt),dt,mt]))return t.error(`Expected first argument to be of type array or string, but found ${_t(r.type)} instead`);if(4===e.length){const i=t.parse(e[3],3,ut);return i?new yn(r.type,r,n,i):null}return new yn(r.type,r,n)}evaluate(e){const t=this.input.evaluate(e),r=this.beginIndex.evaluate(e);if(!jt(t,["string","array"]))throw new Ht(`Expected first argument to be of type array or string, but found ${_t(Ft(t))} instead.`);if(this.endIndex){const n=this.endIndex.evaluate(e);return t.slice(r,n)}return t.slice(r)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var gn=yn;function vn(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function bn(e,t,r,n){return 0===n.compare(t,r)}function _n(e,t,r){const n="=="!==e&&"!="!==e;return class i{constructor(e,t,r){this.type=ft,this.lhs=e,this.rhs=t,this.collator=r,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}static parse(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");const r=e[0];let o=t.parse(e[1],1,mt);if(!o)return null;if(!vn(r,o.type))return t.concat(1).error(`"${r}" comparisons are not supported for type '${_t(o.type)}'.`);let a=t.parse(e[2],2,mt);if(!a)return null;if(!vn(r,a.type))return t.concat(2).error(`"${r}" comparisons are not supported for type '${_t(a.type)}'.`);if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error(`Cannot compare types '${_t(o.type)}' and '${_t(a.type)}'.`);n&&("value"===o.type.kind&&"value"!==a.type.kind?o=new Vt(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new Vt(o.type,[a])));let s=null;if(4===e.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(s=t.parse(e[3],3,yt),!s)return null}return new i(o,a,s)}evaluate(i){const o=this.lhs.evaluate(i),a=this.rhs.evaluate(i);if(n&&this.hasUntypedArgument){const t=Ft(o),r=Ft(a);if(t.kind!==r.kind||"string"!==t.kind&&"number"!==t.kind)throw new Ht(`Expected arguments for "${e}" to be (string, string) or (number, number), but found (${t.kind}, ${r.kind}) instead.`)}if(this.collator&&!n&&this.hasUntypedArgument){const e=Ft(o),r=Ft(a);if("string"!==e.kind||"string"!==r.kind)return t(i,o,a)}return this.collator?r(i,o,a,this.collator.evaluate(i)):t(i,o,a)}eachChild(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}outputDefined(){return!0}serialize(){const t=[e];return this.eachChild(e=>{t.push(e.serialize())}),t}}}
vendor: 10,159 bytes, line 2
2const xn=_n("==",function(e,t,r){return t===r},bn),wn=_n("!=",function(e,t,r){return t!==r},function(e,t,r,n){return!bn(0,t,r,n)}),On=_n("<",function(e,t,r){return t<r},function(e,t,r,n){return n.compare(t,r)<0}),jn=_n(">",function(e,t,r){return t>r},function(e,t,r,n){return n.compare(t,r)>0}),Sn=_n("<=",function(e,t,r){return t<=r},function(e,t,r,n){return n.compare(t,r)<=0}),Mn=_n(">=",function(e,t,r){return t>=r},function(e,t,r,n){return n.compare(t,r)>=0});class kn{constructor(e,t,r,n,i,o){this.type=dt,this.number=e,this.locale=t,this.currency=r,this.unit=n,this.minFractionDigits=i,this.maxFractionDigits=o}static parse(e,t){if(3!==e.length)return t.error("Expected two arguments.");const r=t.parse(e[1],1,ut);if(!r)return null;const n=e[2];if("object"!=typeof n||Array.isArray(n))return t.error("NumberFormat options argument must be an object.");let i=null;if(n.locale&&(i=t.parse(n.locale,1,dt),!i))return null;let o=null;if(n.currency&&(o=t.parse(n.currency,1,dt),!o))return null;let a=null;if(n.unit&&(a=t.parse(n.unit,1,dt),!a))return null;let s=null;if(n["min-fraction-digits"]&&(s=t.parse(n["min-fraction-digits"],1,ut),!s))return null;let l=null;return n["max-fraction-digits"]&&(l=t.parse(n["max-fraction-digits"],1,ut),!l)?null:new kn(r,i,o,a,s,l)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class Pn{constructor(e){this.type=ut,this.input=e}static parse(e,t){if(2!==e.length)return t.error(`Expected 1 argument, but found ${e.length-1} instead.`);const r=t.parse(e[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?t.error(`Expected argument of type string or array, but found ${_t(r.type)} instead.`):new Pn(r):null}evaluate(e){const t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new Ht(`Expected value to be of type string or array, but found ${_t(Ft(t))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild(t=>{e.push(t.serialize())}),e}}const Tn={"==":xn,"!=":wn,">":jn,"<":On,">=":Mn,"<=":Sn,array:Vt,at:sn,boolean:Vt,case:mn,coalesce:rn,collator:rr,format:qt,image:Gt,in:cn,"index-of":dn,interpolate:en,"interpolate-hcl":en,"interpolate-lab":en,length:Pn,let:on,literal:Ut,match:pn,number:Vt,"number-format":kn,object:Vt,slice:gn,step:Cr,string:Vt,"to-boolean":Jt,"to-color":Jt,"to-number":Jt,"to-string":Jt,var:Sr,within:_r};function En(e,[t,r,n,i]){t=t.evaluate(e),r=r.evaluate(e),n=n.evaluate(e);const o=i?i.evaluate(e):1,a=Rt(t,r,n,o);if(a)throw new Ht(a);return new Lt(t/255*o,r/255*o,n/255*o,o)}function Cn(e,t){return e in t}function Ln(e,t){const r=t[e];return void 0===r?null:r}function An(e){return{type:e}}tr.register(Tn,{error:[{kind:"error"},[dt],(e,[t])=>{throw new Ht(t.evaluate(e))}],typeof:[dt,[mt],(e,[t])=>_t(Ft(t.evaluate(e)))],"to-rgba":[bt(ut,4),[pt],(e,[t])=>t.evaluate(e).toArray()],rgb:[pt,[ut,ut,ut],En],rgba:[pt,[ut,ut,ut,ut],En],has:{type:ft,overloads:[[[dt],(e,[t])=>Cn(t.evaluate(e),e.properties())],[[dt,ht],(e,[t,r])=>Cn(t.evaluate(e),r.evaluate(e))]]},get:{type:mt,overloads:[[[dt],(e,[t])=>Ln(t.evaluate(e),e.properties())],[[dt,ht],(e,[t,r])=>Ln(t.evaluate(e),r.evaluate(e))]]},"feature-state":[mt,[dt],(e,[t])=>Ln(t.evaluate(e),e.featureState||{})],properties:[ht,[],e=>e.properties()],"geometry-type":[dt,[],e=>e.geometryType()],id:[mt,[],e=>e.id()],zoom:[ut,[],e=>e.globals.zoom],pitch:[ut,[],e=>e.globals.pitch||0],"distance-from-center":[ut,[],e=>e.distanceFromCenter()],"heatmap-density":[ut,[],e=>e.globals.heatmapDensity||0],"line-progress":[ut,[],e=>e.globals.lineProgress||0],"sky-radial-progress":[ut,[],e=>e.globals.skyRadialProgress||0],accumulated:[mt,[],e=>void 0===e.globals.accumulated?null:e.globals.accumulated],"+":[ut,An(ut),(e,t)=>{let r=0;for(const n of t)r+=n.evaluate(e);return r}],"*":[ut,An(ut),(e,t)=>{let r=1;for(const n of t)r*=n.evaluate(e);return r}],"-":{type:ut,overloads:[[[ut,ut],(e,[t,r])=>t.evaluate(e)-r.evaluate(e)],[[ut],(e,[t])=>-t.evaluate(e)]]},"/":[ut,[ut,ut],(e,[t,r])=>t.evaluate(e)/r.evaluate(e)],"%":[ut,[ut,ut],(e,[t,r])=>t.evaluate(e)%r.evaluate(e)],ln2:[ut,[],()=>Math.LN2],pi:[ut,[],()=>Math.PI],e:[ut,[],()=>Math.E],"^":[ut,[ut,ut],(e,[t,r])=>Math.pow(t.evaluate(e),r.evaluate(e))],sqrt:[ut,[ut],(e,[t])=>Math.sqrt(t.evaluate(e))],log10:[ut,[ut],(e,[t])=>Math.log(t.evaluate(e))/Math.LN10],ln:[ut,[ut],(e,[t])=>Math.log(t.evaluate(e))],log2:[ut,[ut],(e,[t])=>Math.log(t.evaluate(e))/Math.LN2],sin:[ut,[ut],(e,[t])=>Math.sin(t.evaluate(e))],cos:[ut,[ut],(e,[t])=>Math.cos(t.evaluate(e))],tan:[ut,[ut],(e,[t])=>Math.tan(t.evaluate(e))],asin:[ut,[ut],(e,[t])=>Math.asin(t.evaluate(e))],acos:[ut,[ut],(e,[t])=>Math.acos(t.evaluate(e))],atan:[ut,[ut],(e,[t])=>Math.atan(t.evaluate(e))],min:[ut,An(ut),(e,t)=>Math.min(...t.map(t=>t.evaluate(e)))],max:[ut,An(ut),(e,t)=>Math.max(...t.map(t=>t.evaluate(e)))],abs:[ut,[ut],(e,[t])=>Math.abs(t.evaluate(e))],round:[ut,[ut],(e,[t])=>{const r=t.evaluate(e);return r<0?-Math.round(-r):Math.round(r)}],floor:[ut,[ut],(e,[t])=>Math.floor(t.evaluate(e))],ceil:[ut,[ut],(e,[t])=>Math.ceil(t.evaluate(e))],"filter-==":[ft,[dt,mt],(e,[t,r])=>e.properties()[t.value]===r.value],"filter-id-==":[ft,[mt],(e,[t])=>e.id()===t.value],"filter-type-==":[ft,[dt],(e,[t])=>e.geometryType()===t.value],"filter-<":[ft,[dt,mt],(e,[t,r])=>{const n=e.properties()[t.value],i=r.value;return typeof n==typeof i&&n<i}],"filter-id-<":[ft,[mt],(e,[t])=>{const r=e.id(),n=t.value;return typeof r==typeof n&&r<n}],"filter->":[ft,[dt,mt],(e,[t,r])=>{const n=e.properties()[t.value],i=r.value;return typeof n==typeof i&&n>i}],"filter-id->":[ft,[mt],(e,[t])=>{const r=e.id(),n=t.value;return typeof r==typeof n&&r>n}],"filter-<=":[ft,[dt,mt],(e,[t,r])=>{const n=e.properties()[t.value],i=r.value;return typeof n==typeof i&&n<=i}],"filter-id-<=":[ft,[mt],(e,[t])=>{const r=e.id(),n=t.value;return typeof r==typeof n&&r<=n}],"filter->=":[ft,[dt,mt],(e,[t,r])=>{const n=e.properties()[t.value],i=r.value;return typeof n==typeof i&&n>=i}],"filter-id->=":[ft,[mt],(e,[t])=>{const r=e.id(),n=t.value;return typeof r==typeof n&&r>=n}],"filter-has":[ft,[mt],(e,[t])=>t.value in e.properties()],"filter-has-id":[ft,[],e=>null!==e.id()&&void 0!==e.id()],"filter-type-in":[ft,[bt(dt)],(e,[t])=>t.value.indexOf(e.geometryType())>=0],"filter-id-in":[ft,[bt(mt)],(e,[t])=>t.value.indexOf(e.id())>=0],"filter-in-small":[ft,[dt,bt(mt)],(e,[t,r])=>r.value.indexOf(e.properties()[t.value])>=0],"filter-in-large":[ft,[dt,bt(mt)],(e,[t,r])=>function(e,t,r,n){for(;r<=n;){const i=r+n>>1;if(t[i]===e)return!0;t[i]>e?n=i-1:r=i+1}return!1}(e.properties()[t.value],r.value,0,r.value.length-1)],all:{type:ft,overloads:[[[ft,ft],(e,[t,r])=>t.evaluate(e)&&r.evaluate(e)],[An(ft),(e,t)=>{for(const r of t)if(!r.evaluate(e))return!1;return!0}]]},any:{type:ft,overloads:[[[ft,ft],(e,[t,r])=>t.evaluate(e)||r.evaluate(e)],[An(ft),(e,t)=>{for(const r of t)if(r.evaluate(e))return!0;return!1}]]},"!":[ft,[ft],(e,[t])=>!t.evaluate(e)],"is-supported-script":[ft,[dt],(e,[t])=>{const r=e.globals&&e.globals.isSupportedScript;return!r||r(t.evaluate(e))}],upcase:[dt,[dt],(e,[t])=>t.evaluate(e).toUpperCase()],downcase:[dt,[dt],(e,[t])=>t.evaluate(e).toLowerCase()],concat:[dt,An(mt),(e,t)=>t.map(t=>Bt(t.evaluate(e))).join("")],"resolved-locale":[dt,[yt],(e,[t])=>t.evaluate(e).resolvedLocale()]});var Dn=Tn;function In(e){return{result:"success",value:e}}function Nn(e){return{result:"error",value:e}}function Rn(e){return"data-driven"===e["property-type"]}function zn(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function Fn(e){return!!e.expression&&e.expression.interpolated}function Bn(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":typeof e}function Yn(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Un(e){return e}function Hn(e,t){const r="color"===t.type,n=e.stops&&"object"==typeof e.stops[0][0],i=n||!(n||void 0!==e.property),o=e.type||(Fn(t)?"exponential":"interval");if(r&&((e=rt({},e)).stops&&(e.stops=e.stops.map(e=>[e[0],Lt.parse(e[1])])),e.default=Lt.parse(e.default?e.default:t.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Jr[e.colorSpace])throw new Error(`Unknown color space: ${e.colorSpace}`);let a,s,l;if("exponential"===o)a=qn;else if("interval"===o)a=Vn;else if("categorical"===o){a=Wn,s=Object.create(null);for(const t of e.stops)s[t[0]]=t[1];l=typeof e.stops[0][0]}else{if("identity"!==o)throw new Error(`Unknown function type "${o}"`);a=Gn}if(n){const r={},n=[];for(let t=0;t<e.stops.length;t++){const i=e.stops[t],o=i[0].zoom;void 0===r[o]&&(r[o]={zoom:o,type:e.type,property:e.property,default:e.default,stops:[]},n.push(o)),r[o].stops.push([i[0].value,i[1]])}const i=[];for(const e of n)i.push([r[e].zoom,Hn(r[e],t)]);const o={name:"linear"};return{kind:"composite",interpolationType:o,interpolationFactor:en.interpolationFactor.bind(void 0,o),zoomStops:i.map(e=>e[0]),evaluate:({zoom:r},n)=>qn({stops:i,base:e.base},t,r).evaluate(r,n)}}if(i){const r="exponential"===o?{name:"exponential",base:void 0!==e.base?e.base
vendor: 6,268 bytes, line 2
2:1}:null;return{kind:"camera",interpolationType:r,interpolationFactor:en.interpolationFactor.bind(void 0,r),zoomStops:e.stops.map(e=>e[0]),evaluate:({zoom:r})=>a(e,t,r,s,l)}}return{kind:"source",evaluate(r,n){const i=n&&n.properties?n.properties[e.property]:void 0;return void 0===i?$n(e.default,t.default):a(e,t,i,s,l)}}}function $n(e,t,r){return void 0!==e?e:void 0!==t?t:void 0!==r?r:void 0}function Wn(e,t,r,n,i){return $n(typeof r===i?n[r]:void 0,e.default,t.default)}function Vn(e,t,r){if("number"!==Bn(r))return $n(e.default,t.default);const n=e.stops.length;if(1===n)return e.stops[0][1];if(r<=e.stops[0][0])return e.stops[0][1];if(r>=e.stops[n-1][0])return e.stops[n-1][1];const i=Tr(e.stops.map(e=>e[0]),r);return e.stops[i][1]}function qn(e,t,r){const n=void 0!==e.base?e.base:1;if("number"!==Bn(r))return $n(e.default,t.default);const i=e.stops.length;if(1===i)return e.stops[0][1];if(r<=e.stops[0][0])return e.stops[0][1];if(r>=e.stops[i-1][0])return e.stops[i-1][1];const o=Tr(e.stops.map(e=>e[0]),r),a=function(e,t,r,n){const i=n-r,o=e-r;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}(r,n,e.stops[o][0],e.stops[o+1][0]),s=e.stops[o][1],l=e.stops[o+1][1];let c=Ar[t.type]||Un;if(e.colorSpace&&"rgb"!==e.colorSpace){const t=Jr[e.colorSpace];c=(e,r)=>t.reverse(t.interpolate(t.forward(e),t.forward(r),a))}return"function"==typeof s.evaluate?{evaluate(...e){const t=s.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==t&&void 0!==r)return c(t,r,a)}}:c(s,l,a)}function Gn(e,t,r){return"color"===t.type?r=Lt.parse(r):"formatted"===t.type?r=It.fromString(r.toString()):"resolvedImage"===t.type?r=Nt.fromString(r.toString()):Bn(r)===t.type||"enum"===t.type&&t.values[r]||(r=void 0),$n(r,e.default,t.default)}class Zn{constructor(e,t){this.expression=e,this._warningHistory={},this._evaluator=new Qt,this._defaultValue=t?function(e){return"color"===e.type&&(Yn(e.default)||Array.isArray(e.default))?new Lt(0,0,0,0):"color"===e.type?Lt.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null}evaluateWithoutErrorHandling(e,t,r,n,i,o,a,s){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=r,this._evaluator.canonical=n||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null,this.expression.evaluate(this._evaluator)}evaluate(e,t,r,n,i,o,a,s){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=r||null,this._evaluator.canonical=n||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null;try{const e=this.expression.evaluate(this._evaluator);if(null==e||"number"==typeof e&&e!=e)return this._defaultValue;if(this._enumValues&&!(e in this._enumValues))throw new Ht(`Expected value to be one of ${Object.keys(this._enumValues).map(e=>JSON.stringify(e)).join(", ")}, but found ${JSON.stringify(e)} instead.`);return e}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}}}function Xn(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in Dn}function Jn(e,t){const r=new kr(Dn,[],t?function(e){const t={color:pt,string:dt,number:ut,enum:dt,boolean:ft,formatted:gt,resolvedImage:vt};return"array"===e.type?bt(t[e.value]||mt,e.length):t[e.type]}(t):void 0),n=r.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return n?In(new Zn(n,t)):Nn(r.errors)}class Kn{constructor(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!wr(t.expression)}evaluateWithoutErrorHandling(e,t,r,n,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,r,n,i,o)}evaluate(e,t,r,n,i,o){return this._styleExpression.evaluate(e,t,r,n,i,o)}}class Qn{constructor(e,t,r,n){this.kind=e,this.zoomStops=r,this._styleExpression=t,this.isStateDependent="camera"!==e&&!wr(t.expression),this.interpolationType=n}evaluateWithoutErrorHandling(e,t,r,n,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,r,n,i,o)}evaluate(e,t,r,n,i,o){return this._styleExpression.evaluate(e,t,r,n,i,o)}interpolationFactor(e,t,r){return this.interpolationType?en.interpolationFactor(this.interpolationType,e,t,r):0}}function ei(e,t){if("error"===(e=Jn(e,t)).result)return e;const r=e.value.expression,n=xr(r);if(!n&&!Rn(t))return Nn([new at("","data expressions not supported")]);const i=Or(r,["zoom","pitch","distance-from-center"]);if(!i&&!zn(t))return Nn([new at("","zoom expressions not supported")]);const o=ri(r);return o||i?o instanceof at?Nn([o]):o instanceof en&&!Fn(t)?Nn([new at("",'"interpolate" expressions cannot be used with this property')]):In(o?new Qn(n?"camera":"composite",e.value,o.labels,o instanceof en?o.interpolation:void 0):new Kn(n?"constant":"source",e.value)):Nn([new at("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class ti{constructor(e,t){this._parameters=e,this._specification=t,rt(this,Hn(this._parameters,this._specification))}static deserialize(e){return new ti(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function ri(e){let t=null;if(e instanceof on)t=ri(e.result);else if(e instanceof rn){for(const r of e.args)if(t=ri(r),t)break}else(e instanceof Cr||e instanceof en)&&e.input instanceof tr&&"zoom"===e.input.name&&(t=e);return t instanceof at||e.eachChild(e=>{const r=ri(e);r instanceof at?t=r:!t&&r?t=new at("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):t&&r&&t!==r&&(t=new at("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),t}class ni{constructor(e,t,r,n){this.message=(e?`${e}: `:"")+r,n&&(this.identifier=n),null!=t&&t.__line__&&(this.line=t.__line__)}}function ii(e){const t=e.key,r=e.value,n=e.valueSpec||{},i=e.objectElementValidators||{},o=e.style,a=e.styleSpec;let s=[];const l=Bn(r);if("object"!==l)return[new ni(t,r,`object expected, ${l}
2 found`)];for(const e in r){const l=e.split(".")[0];let c;i[l]?c=i[l]:n[l]?c=zi:i["*"]?c=i["*"]:n["*"]&&(c=zi),c?s=s.concat(c({key:(t?`${t}.`:t)+e,value:r[e],valueSpec:n[l]||n["*"],style:o,styleSpec:a,object:r,objectKey:e},r)):s.push(new ni(t,r[e],`unknown property "${e}"`))}for(const e in n)i[e]||n[e].required&&void 0===n[e].default&&void 0===r[e]&&s.push(new ni(t,r,`missing required property "${e}"`));return s}function oi(e){const t=e.value,r=e.valueSpec,n=e.style,i=e.styleSpec,o=e.key,a=e.arrayElementValidator||zi;if("array"!==Bn(t))return[new ni(o,t,`array expected, ${Bn(t)} found`)];if(r.length&&t.length!==r.length)return[new ni(o,t,`array length ${r.length} expected, length ${t.length} found`)];if(r["min-length"]&&t.length<r["min-length"])return[new ni(o,t,`array length at least ${r["min-length"]} expected, length ${t.length} found`)];let s={type:r.value,values:r.values,minimum:r.minimum,maximum:r.maximum,function:void 0};i.$version<7&&(s.function=r.function),"object"===Bn(r.value)&&(s=r.value);let l=[];for(let e=0;e<t.length;e++)l=l.concat(a({array:t,arrayIndex:e,value:t[e],valueSpec:s,style:n,styleSpec:i,key:`${o}[${e}]`}));return l}function ai(e){const t=e.key,r=e.value,n=e.valueSpec;let i=Bn(r);if("number"===i&&r!=r&&(i="NaN"),"number"!==i)return[new ni(t,r,`number expected, ${i} found`)];if("minimum"in n){let i=n.minimum;if("array"===Bn(n.minimum)&&(i=n.minimum[e.arrayIndex]),r<i)return[new ni(t,r,`${r} is less than the minimum value ${i}`)]}if("maximum"in n){let i=n.maximum;if("array"===Bn(n.maximum)&&(i=n.maximum[e.arrayIndex]),r>i)return[new ni(t,r,`${r} is greater than the maximum value ${i}`)]}return[]}function si(e){const t=e.valueSpec,r=nt(e.value.type);let n,i,o,a={};const s="categorical"!==r&&void 0===e.value.property,l=!s,c="array"===Bn(e.value.stops)&&"array"===Bn(e.value.stops[0])&&"object"===Bn(e.value.stops[0][0]),u=ii({key:e.key,value:e.value,valueSpec:e.styleSpec.function,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{stops:function(e){if("identity"===r)return[new ni(e.key,e.value,'identity function may not have a "stops" property')];let t=[];const n=e.value;return t=t.concat(oi({key:e.key,value:n,valueSpec:e.valueSpec,style:e.style,styleSpec:e.styleSpec,arrayElementValidator:d})),"array"===Bn(n)&&0===n.length&&t.push(new ni(e.key,n,"array must have at least one stop")),t},default:function(e){return zi({key:e.key,value:e.value,valueSpec:t,style:e.style,styleSpec:e.styleSpec})}}});return"identity"===r&&s&&u.push(new ni(e.key,e.value,'missing required property "property"')),"identity"===r||e.value.stops||u.push(new ni(e.key,e.value,'missing required property "stops"')),"exponential"===r&&e.valueSpec.expression&&!Fn(e.valueSpec)&&u.push(new ni(e.key,e.value,"exponential functions not supported")),e.styleSpec.$version>=8&&(l&&!Rn(e.valueSpec)?u.push(new ni(e.key,e.value,"property functions not supported")):s&&!zn(e.valueSpec)&&u.push(new ni(e.key,e.value,"zoom functions not supported"))),"categorical"!==r&&!c||void 0!==e.value.property||u.push(new ni(e.key,e.value,'"property" property is required')),u;function d(e){let r=[];const n=e.value,s=e.key;if("array"!==Bn(n))return[new ni(s,n,`array expected, ${Bn(n)} found`)];if(2!==n.length)return[new ni(s,n,`array length 2 expected, length ${n.length} found`)];if(c){if("object"!==Bn(n[0]))return[new ni(s,n,`object expected, ${Bn(n[0])} found`)];if(void 0===n[0].zoom)return[new ni(s,n,"object stop key must have zoom")];if(void 0===n[0].value)return[new ni(s,n,"object stop key must have value")];const t=nt(n[0].zoom);if("number"!=typeof t)return[new ni(s,n[0].zoom,"stop zoom values must be numbers")];if(o&&o>t)return[new ni(s,n[0].zoom,"stop zoom values must appear in ascending order")];t!==o&&(o=t,i=void 0,a={}),r=r.concat(ii({key:`${s}[0]`,value:n[0],valueSpec:{zoom:{}},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{zoom:ai,value:f}}))}else r=r.concat(f({key:`${s}[0]`,value:n[0],valueSpec:{},style:e.style,styleSpec:e.styleSpec},n));return Xn(it(n[1]))?r.concat([new ni(`${s}[1]`,n[1],"expressions are not allowed in function stops.")]):r.concat(zi({key:`${s}[1]`,value:n[1],valueSpec:t,style:e.style,styleSpec:e.styleSpec}))}function f(e,o){const s=Bn(e.value),l=nt(e.value),c=null!==e.value?e.value:o;if(n){if(s!==n)return[new ni(e.key,c,`${s} stop domain type must match previous stop domain type ${n}`)]}else n=s;if("number"!==s&&"string"!==s&&"boolean"!==s&&"number"!=typeof l&&"string"!=typeof l&&"boolean"!=typeof l)return[new ni(e.key,c,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==r){let n=`number expected, ${s} found`;return Rn(t)&&void 0===r&&(n+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ni(e.key,c,n)]}return"categorical"!==r||"number"!==s||"number"==typeof l&&isFinite(l)&&Math.floor(l)===l?"categorical"!==r&&"number"===s&&"number"==typeof l&&"number"==typeof i&&void 0!==i&&l<i?[new ni(e.key,c,"stop domain values must appear in ascending order")]:(i=l,"categorical"===r&&l in a?[new ni(e.key,c,"stop domain values must be unique")]:(a[l]=!0,[])):[new ni(e.key,c,`integer expected, found ${String(l)}
2`)]}}function li(e){const t=("property"===e.expressionContext?ei:Jn)(it(e.value),e.valueSpec);if("error"===t.result)return t.value.map(t=>new ni(`${e.key}${t.key}`,e.value,t.message));const r=t.value.expression||t.value._styleExpression.expression;if("property"===e.expressionContext&&"text-font"===e.propertyKey&&!r.outputDefined())return[new ni(e.key,e.value,`Invalid data expression for "${e.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===e.expressionContext&&"layout"===e.propertyType&&!wr(r))return[new ni(e.key,e.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===e.expressionContext)return ci(r,e);if(e.expressionContext&&0===e.expressionContext.indexOf("cluster")){if(!Or(r,["zoom","feature-state"]))return[new ni(e.key,e.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===e.expressionContext&&!xr(r))return[new ni(e.key,e.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function ci(e,t){const r=new Set(["zoom","feature-state","pitch","distance-from-center"]);if(t.valueSpec&&t.valueSpec.expression)for(const e of t.valueSpec.expression.parameters)r.delete(e);if(0===r.size)return[];const n=[];return e instanceof tr&&r.has(e.name)?[new ni(t.key,t.value,`["${e.name}"] expression is not supported in a filter for a ${t.object.type} layer with id: ${t.object.id}`)]:(e.eachChild(e=>{n.push(...ci(e,t))}),n)}function ui(e){const t=e.key,r=e.value,n=e.valueSpec,i=[];return Array.isArray(n.values)?-1===n.values.indexOf(nt(r))&&i.push(new ni(t,r,`expected one of [${n.values.join(", ")}], ${JSON.stringify(r)} found`)):-1===Object.keys(n.values).indexOf(nt(r))&&i.push(new ni(t,r,`expected one of [${Object.keys(n.values).join(", ")}], ${JSON.stringify(r)} found`)),i}function di(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(const t of e.slice(1))if(!di(t)&&"boolean"!=typeof t)return!1;return!0;default:return!0}}function fi(e,t="fill"){if(null==e)return{filter:()=>!0,needGeometry:!1,needFeature:!1};di(e)||(e=bi(e));const r=e;let n=!0;try{n=function(e){if(!mi(e))return e;let t=it(e);return hi(t),t=pi(t),t}(r)}catch(e){console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.\nThis is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md\nand paste the contents of this message in the report.\nThank you!\nFilter Expression:\n${JSON.stringify(r,null,2)}\n `)}const i=tt[`filter_${t}`],o=Jn(n,i);let a=null;if("error"===o.result)throw new Error(o.value.map(e=>`${e.key}: ${e.message}`).join(", "));a=(e,t,r)=>o.value.evaluate(e,t,{},r);let s=null,l=null;if(n!==r){const e=Jn(r,i);if("error"===e.result)throw new Error(e.value.map(e=>`${e.key}: ${e.message}`).join(", "));s=(t,r,n,i,o)=>e.value.evaluate(t,r,{},n,void 0,void 0,i,o),l=!xr(e.value.expression)}return{filter:a,dynamicFilter:s||void 0,needGeometry:vi(n),needFeature:!!l}}function pi(e){if(!Array.isArray(e))return e;const t=function(e){if(yi.has(e[0]))for(let t=1;t<e.length;t++)if(mi(e[t]))return!0;return e}(e);return!0===t?t:t.map(e=>pi(e))}function hi(e){let t=!1;const r=[];if("case"===e[0]){for(let n=1;n<e.length-1;n+=2)t=t||mi(e[n]),r.push(e[n+1]);r.push(e[e.length-1])}else if("match"===e[0]){t=t||mi(e[1]);for(let t=2;t<e.length-1;t+=2)r.push(e[t+1]);r.push(e[e.length-1])}else if("step"===e[0]){t=t||mi(e[1]);for(let t=1;t<e.length-1;t+=2)r.push(e[t+1])}t&&(e.length=0,e.push("any",...r));for(let t=1;t<e.length;t++)hi(e[t])}function mi(e){if(!Array.isArray(e))return!1;if("pitch"===(t=e[0])||"distance-from-center"===t)return!0;var t;for(let t=1;t<e.length;t++)if(mi(e[t]))return!0;return!1}const yi=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function gi(e,t){return e<t?-1:e>t?1:0}function vi(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let t=1;t<e.length;t++)if(vi(e[t]))return!0;return!1}function bi(e){if(!e)return!0;const t=e[0];return e.length<=1?"any"!==t:"=="===t?_i(e[1],e[2],"=="):"!="===t?Oi(_i(e[1],e[2],"==")):"<"===t||">"===t||"<="===t||">="===t?_i(e[1],e[2],t):"any"===t?(r=e.slice(1),["any"].concat(r.map(bi))):"all"===t?["all"].concat(e.slice(1).map(bi)):"none"===t?["all"].concat(e.slice(1).map(bi).map(Oi)):"in"===t?xi(e[1],e.slice(2)):"!in"===t?Oi(xi(e[1],e.slice(2))):"has"===t?wi(e[1]):"!has"===t?Oi(wi(e[1])):"within"!==t||e;var r}function _i(e,t,r){switch(e){case"$type":return[`filter-type-${r}`,t];case"$id":return[`filter-id-${r}`,t];default:return[`filter-${r}`,e,t]}}function xi(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some(e=>typeof e!=typeof t[0])?["filter-in-large",e,["literal",t.sort(gi)]]:["filter-in-small",e,["literal",t]]}}function wi(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Oi(e){return["!",e]}function ji(e){return di(it(e.value))?li(rt({},e,{expressionContext:"filter",valueSpec:e.styleSpec[`filter_${e.layerType||"fill"}`]})):Si(e)}function Si(e){const t=e.value,r=e.key;if("array"!==Bn(t))return[new ni(r,t,`array expected, ${Bn(t)} found`)];const n=e.styleSpec;let i,o=[];if(t.length<1)return[new ni(r,t,"filter array must have at least 1 element")];switch(o=o.concat(ui({key:`${r}[0]`,value:t[0],valueSpec:n.filter_operator,style:e.style,styleSpec:e.styleSpec})),nt(t[0])){case"<":case"<=":case">":case">=":t.length>=2&&"$type"===nt(t[1])&&o.push(new ni(r,t,`"$type" cannot be use with operator "${t[0]}"`));case"==":case"!=":3!==t.length&&o.push(new ni(r,t,`filter array for operator "${t[0]}" must have 3 elements`));case"in":case"!in":t.length>=2&&(i=Bn(t[1]),"string"!==i&&o.push(new ni(`${r}[1]`,t[1],`string expected, ${i} found`)));for(let a=2;a<t.length;a++)i=Bn(t[a]),"$type"===nt(t[1])?o=o.concat(ui({key:`${r}[${a}]`,value:t[a],valueSpec:n.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&o.push(new ni(`${r}[${a}
2]`,t[a],`string, number, or boolean expected, ${i} found`));break;case"any":case"all":case"none":for(let n=1;n<t.length;n++)o=o.concat(Si({key:`${r}[${n}]`,value:t[n],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":i=Bn(t[1]),2!==t.length?o.push(new ni(r,t,`filter array for "${t[0]}" operator must have 2 elements`)):"string"!==i&&o.push(new ni(`${r}[1]`,t[1],`string expected, ${i} found`));break;case"within":i=Bn(t[1]),2!==t.length?o.push(new ni(r,t,`filter array for "${t[0]}" operator must have 2 elements`)):"object"!==i&&o.push(new ni(`${r}[1]`,t[1],`object expected, ${i} found`))}return o}function Mi(e,t){const r=e.key,n=e.style,i=e.styleSpec,o=e.value,a=e.objectKey,s=i[`${t}_${e.layerType}`];if(!s)return[];const l=a.match(/^(.*)-transition$/);if("paint"===t&&l&&s[l[1]]&&s[l[1]].transition)return zi({key:r,value:o,valueSpec:i.transition,style:n,styleSpec:i});const c=e.valueSpec||s[a];if(!c)return[new ni(r,o,`unknown property "${a}"`)];let u;if("string"===Bn(o)&&Rn(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o))){const e=`\`{ "type": "identity", "property": ${u?JSON.stringify(u[1]):'"_"'} }\``;return[new ni(r,o,`"${a}" does not support interpolation syntax\nUse an identity property function instead: ${e}.`)]}const d=[];return"symbol"===e.layerType&&("text-field"===a&&n&&!n.glyphs&&d.push(new ni(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&Yn(it(o))&&"identity"===nt(o.type)&&d.push(new ni(r,o,'"text-font" does not support identity functions'))),d.concat(zi({key:e.key,value:o,valueSpec:c,style:n,styleSpec:i,expressionContext:"property",propertyType:t,propertyKey:a}))}function ki(e){return Mi(e,"paint")}function Pi(e){return Mi(e,"layout")}function Ti(e){let t=[];const r=e.value,n=e.key,i=e.style,o=e.styleSpec;r.type||r.ref||t.push(new ni(n,r,'either "type" or "ref" is required'));let a=nt(r.type);const s=nt(r.ref);if(r.id){const o=nt(r.id);for(let a=0;a<e.arrayIndex;a++){const e=i.layers[a];nt(e.id)===o&&t.push(new ni(n,r.id,`duplicate layer id "${r.id}", previously used at line ${e.id.__line__}`))}}if("ref"in r){let e;["type","source","source-layer","filter","layout"].forEach(e=>{e in r&&t.push(new ni(n,r[e],`"${e}" is prohibited for ref layers`))}),i.layers.forEach(t=>{nt(t.id)===s&&(e=t)}),e?e.ref?t.push(new ni(n,r.ref,"ref cannot reference another ref layer")):a=nt(e.type):"string"==typeof s&&t.push(new ni(n,r.ref,`ref layer "${s}" not found`))}else if("background"!==a&&"sky"!==a)if(r.source){const e=i.sources&&i.sources[r.source],o=e&&nt(e.type);e?"vector"===o&&"raster"===a?t.push(new ni(n,r.source,`layer "${r.id}" requires a raster source`)):"raster"===o&&"raster"!==a?t.push(new ni(n,r.source,`layer "${r.id}" requires a vector source`)):"vector"!==o||r["source-layer"]?"raster-dem"===o&&"hillshade"!==a?t.push(new ni(n,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==a||!r.paint||!r.paint["line-gradient"]&&!r.paint["line-trim-offset"]||"geojson"===o&&e.lineMetrics||t.push(new ni(n,r,`layer "${r.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):t.push(new ni(n,r,`layer "${r.id}" must specify a "source-layer"`)):t.push(new ni(n,r.source,`source "${r.source}" not found`))}else t.push(new ni(n,r,'missing required property "source"'));return t=t.concat(ii({key:n,value:r,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":()=>[],type:()=>zi({key:`${n}.type`,value:r.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,object:r,objectKey:"type"}),filter:e=>ji(rt({layerType:a},e)),layout:e=>ii({layer:r,key:e.key,value:e.value,valueSpec:{},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":e=>Pi(rt({layerType:a},e))}}),paint:e=>ii({layer:r,key:e.key,value:e.value,valueSpec:{},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":e=>ki(rt({layerType:a},e))}})}})),t}function Ei(e){const t=e.value,r=e.key,n=Bn(t);return"string"!==n?[new ni(r,t,`string expected, ${n} found`)]:[]}const Ci={promoteId:function({key:e,value:t}){if("string"===Bn(t))return Ei({key:e,value:t});{const r=[];for(const n in t)r.push(...Ei({key:`${e}.${n}`,value:t[n]}));return r}}};function Li(e){const t=e.value,r=e.key,n=e.styleSpec,i=e.style;if(!t.type)return[new ni(r,t,'"type" is required')];const o=nt(t.type);let a;switch(o){case"vector":case"raster":case"raster-dem":return a=ii({key:r,value:t,valueSpec:n[`source_${o.replace("-","_")}`],style:e.style,styleSpec:n,objectElementValidators:Ci}),a;case"geojson":if(a=ii({key:r,value:t,valueSpec:n.source_geojson,style:i,styleSpec:n,objectElementValidators:Ci}),t.cluster)for(const e in t.clusterProperties){const[n,i]=t.clusterProperties[e],o="string"==typeof n?[n,["accumulated"],["get",e]]:n;a.push(...li({key:`${r}.${e}.map`,value:i,expressionContext:"cluster-map"})),a.push(...li({key:`${r}.${e}.reduce`,value:o,expressionContext:"cluster-reduce"}))}return a;case"video":return ii({key:r,value:t,valueSpec:n.source_video,style:i,styleSpec:n});case"image":return ii({key:r,value:t,valueSpec:n.source_image,style:i,styleSpec:n});case"canvas":return[new ni(r,null,"Please use runtime APIs to add canvas sources, rather than
2including them in stylesheets.","source.canvas")];default:return ui({key:`${r}.type`,value:t.type,valueSpec:{values:Ai(n)},style:i,styleSpec:n})}}function Ai(e){return e.source.reduce((t,r)=>{const n=e[r];return"enum"===n.type.type&&(t=t.concat(Object.keys(n.type.values))),t},[])}function Di(e){const t=e.value,r=e.styleSpec,n=r.light,i=e.style;let o=[];const a=Bn(t);if(void 0===t)return o;if("object"!==a)return o=o.concat([new ni("light",t,`object expected, ${a} found`)]),o;for(const e in t){const a=e.match(/^(.*)-transition$/);o=o.concat(a&&n[a[1]]&&n[a[1]].transition?zi({key:e,value:t[e],valueSpec:r.transition,style:i,styleSpec:r}):n[e]?zi({key:e,value:t[e],valueSpec:n[e],style:i,styleSpec:r}):[new ni(e,t[e],`unknown property "${e}"`)])}return o}function Ii(e){const t=e.value,r=e.key,n=e.style,i=e.styleSpec,o=i.terrain;let a=[];const s=Bn(t);if(void 0===t)return a;if("object"!==s)return a=a.concat([new ni("terrain",t,`object expected, ${s} found`)]),a;for(const e in t){const r=e.match(/^(.*)-transition$/);a=a.concat(r&&o[r[1]]&&o[r[1]].transition?zi({key:e,value:t[e],valueSpec:i.transition,style:n,styleSpec:i}):o[e]?zi({key:e,value:t[e],valueSpec:o[e],style:n,styleSpec:i}):[new ni(e,t[e],`unknown property "${e}"`)])}if(t.source){const e=n.sources&&n.sources[t.source],i=e&&nt(e.type);e?"raster-dem"!==i&&a.push(new ni(r,t.source,`terrain cannot be used with a source of type ${String(i)}, it only be used with a "raster-dem" source type`)):a.push(new ni(r,t.source,`source "${t.source}" not found`))}else a.push(new ni(r,t,'terrain is missing required property "source"'));return a}function Ni(e){const t=e.value,r=e.style,n=e.styleSpec,i=n.fog;let o=[];const a=Bn(t);if(void 0===t)return o;if("object"!==a)return o=o.concat([new ni("fog",t,`object expected, ${a} found`)]),o;for(const e in t){const a=e.match(/^(.*)-transition$/);o=o.concat(a&&i[a[1]]&&i[a[1]].transition?zi({key:e,value:t[e],valueSpec:n.transition,style:r,styleSpec:n}):i[e]?zi({key:e,value:t[e],valueSpec:i[e],style:r,styleSpec:n}):[new ni(e,t[e],`unknown property "${e}"`)])}return o}const Ri={"*":()=>[],array:oi,boolean:function(e){const t=e.value,r=e.key,n=Bn(t);return"boolean"!==n?[new ni(r,t,`boolean expected, ${n} found`)]:[]},number:ai,color:function(e){const t=e.key,r=e.value,n=Bn(r);return"string"!==n?[new ni(t,r,`color expected, ${n} found`)]:null===St(r)?[new ni(t,r,`color expected, "${r}" found`)]:[]},enum:ui,filter:ji,function:si,layer:Ti,object:ii,source:Li,light:Di,terrain:Ii,fog:Ni,string:Ei,formatted:function(e){return 0===Ei(e).length?[]:li(e)},resolvedImage:function(e){return 0===Ei(e).length?[]:li(e)},projection:function(e){const t=e.value,r=e.styleSpec,n=r.projection,i=e.style;let o=[];const a=Bn(t);if("object"===a)for(const e in t)o=o.concat(zi({key:e,value:t[e],valueSpec:n[e],style:i,styleSpec:r}));else"string"!==a&&(o=o.concat([new ni("projection",t,`object or string expected, ${a} found`)]));return o}};function zi(e){const t=e.value,r=e.valueSpec,n=e.styleSpec;return r.expression&&Yn(nt(t))?si(e):r.expression&&Xn(it(t))?li(e):r.type&&Ri[r.type]?Ri[r.type](e):ii(rt({},e,{valueSpec:r.type?n[r.type]:r}))}function Fi(e){const t=e.value,r=e.key,n=Ei(e);return n.length||(-1===t.indexOf("{fontstack}")&&n.push(new ni(r,t,'"glyphs" url must include a "{fontstack}" token')),-1===t.indexOf("{range}")&&n.push(new ni(r,t,'"glyphs" url must include a "{range}" token'))),n}function Bi(e,t=tt){return Hi(zi({key:"",value:e,valueSpec:t.$root,styleSpec:t,style:e,objectElementValidators:{glyphs:Fi,"*":()=>[]}}))}const Yi=e=>Hi(ki(e)),Ui=e=>Hi(Pi(e));function Hi(e){return e.slice().sort((e,t)=>e.line&&t.line?e.line-t.line:0)}function $i(e,t){let r=!1;if(t&&t.length)for(const n of t)e.fire(new Qe(new Error(n.message))),r=!0;return r}var Wi=qi,Vi=3;function qi(e,t,r){var n=this.cells=[];if(e instanceof ArrayBuffer){this.arrayBuffer=e;var i=new Int32Array(this.arrayBuffer);e=i[0],this.d=(t=i[1])+2*(r=i[2]);for(var o=0;o<this.d*this.d;o++){var a=i[Vi+o],s=i[Vi+o+1];n.push(a===s?null:i.subarray(a,s))}var l=i[Vi+n.length+1];this.keys=i.subarray(i[Vi+n.length],l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly}else{this.d=t+2*r;for(var c=0;c<this.d*this.d;c++)n.push([]);this.keys=[],this.bboxes=[]}this.n=t,this.extent=e,this.padding=r,this.scale=t/e,this.uid=0;var u=r/t*e;this.min=-u,this.max=e+u}
vendor: 4,652 bytes, line 2
2qi.prototype.insert=function(e,t,r,n,i){this._forEachCell(t,r,n,i,this._insertCell,this.uid++),this.keys.push(e),this.bboxes.push(t),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)},qi.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},qi.prototype._insertCell=function(e,t,r,n,i,o){this.cells[i].push(o)},qi.prototype.query=function(e,t,r,n,i){var o=this.min,a=this.max;if(e<=o&&t<=o&&a<=r&&a<=n&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(e,t,r,n,this._queryCell,s,{},i),s},qi.prototype._queryCell=function(e,t,r,n,i,o,a,s){var l=this.cells[i];if(null!==l)for(var c=this.keys,u=this.bboxes,d=0;d<l.length;d++){var f=l[d];if(void 0===a[f]){var p=4*f;(s?s(u[p+0],u[p+1],u[p+2],u[p+3]):e<=u[p+2]&&t<=u[p+3]&&r>=u[p+0]&&n>=u[p+1])?(a[f]=!0,o.push(c[f])):a[f]=!1}}},qi.prototype._forEachCell=function(e,t,r,n,i,o,a,s){for(var l=this._convertToCellCoord(e),c=this._convertToCellCoord(t),u=this._convertToCellCoord(r),d=this._convertToCellCoord(n),f=l;f<=u;f++)for(var p=c;p<=d;p++){var h=this.d*p+f;if((!s||s(this._convertFromCellCoord(f),this._convertFromCellCoord(p),this._convertFromCellCoord(f+1),this._convertFromCellCoord(p+1)))&&i.call(this,e,t,r,n,h,o,a,s))return}},qi.prototype._convertFromCellCoord=function(e){return(e-this.padding)/this.scale},qi.prototype._convertToCellCoord=function(e){return Math.max(0,Math.min(this.d-1,Math.floor(e*this.scale)+this.padding))},qi.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var e=this.cells,t=Vi+this.cells.length+1+1,r=0,n=0;n<this.cells.length;n++)r+=this.cells[n].length;var i=new Int32Array(t+r+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var o=t,a=0;a<e.length;a++){var s=e[a];i[Vi+a]=o,i.set(s,o),o+=s.length}return i[Vi+e.length]=o,i.set(this.keys,o),i[Vi+e.length+1]=o+=this.keys.length,i.set(this.bboxes,o),o+=this.bboxes.length,i.buffer};var Gi=p(Wi);const Zi={};function Xi(e,t,r={}){Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),Zi[t]={klass:e,omit:r.omit||[]}}Xi(Object,"Object"),Gi.serialize=function(e,t){const r=e.toArrayBuffer();return t&&t.push(r),{buffer:r}},Gi.deserialize=function(e){return new Gi(e.buffer)},Object.defineProperty(Gi,"name",{value:"Grid"}),Xi(Gi,"Grid"),Xi(Lt,"Color"),Xi(Error,"Error"),Xi(ue,"AJAXError"),Xi(Nt,"ResolvedImage"),Xi(ti,"StylePropertyFunction"),Xi(Zn,"StyleExpression",{omit:["_evaluator"]}),Xi(Qn,"ZoomDependentExpression"),Xi(Kn,"ZoomConstantExpression"),Xi(tr,"CompoundExpression",{omit:["_evaluate"]});for(const e in Dn)Zi[Dn[e]._classRegistryKey]||Xi(Dn[e],`Expression${e}`);function Ji(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function Ki(e){return t.ImageBitmap&&e instanceof t.ImageBitmap}function Qi(e,r){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp)return e;if(Ji(e)||Ki(e))return r&&r.push(e),e;if(ArrayBuffer.isView(e)){const t=e;return r&&r.push(t.buffer),t}if(e instanceof t.ImageData)return r&&r.push(e.data.buffer),e;if(Array.isArray(e)){const t=[];for(const n of e)t.push(Qi(n,r));return t}if("object"==typeof e){const t=e.constructor,n=t._classRegistryKey;if(!n)throw new Error(`can't serialize object of unregistered class ${n}`);const i=t.serialize?t.serialize(e,r):{};if(!t.serialize){for(const t in e)e.hasOwnProperty(t)&&(Zi[n].omit.indexOf(t)>=0||(i[t]=Qi(e[t],r)));e instanceof Error&&(i.message=e.message)}if(i.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==n&&(i.$name=n),i}throw new Error("can't serialize object of type "+typeof e)}function eo(e){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp||Ji(e)||Ki(e)||ArrayBuffer.isView(e)||e instanceof t.ImageData)return e;if(Array.isArray(e))return e.map(eo);if("object"==typeof e){const t=e.$name||"Object",{klass:r}=Zi[t];if(!r)throw new Error(`can't deserialize unregistered class ${t}`);if(r.deserialize)return r.deserialize(e);const n=Object.create(r.prototype);for(const t of Object.keys(e))"$name"!==t&&(n[t]=eo(e[t]));return n}throw new Error("can't deserialize object of type "+typeof e)}const to={"Latin-1 Supplement":e=>e>=128&&e<=255,Arabic:e=>e>=1536&&e<=1791,"Arabic Supplement":e=>e>=1872&&e<=1919,"Arabic Extended-A":e=>e>=2208&&e<=2303,"Hangul Jamo":e=>e>
2=4352&&e<=4607,"Unified Canadian Aboriginal Syllabics":e=>e>=5120&&e<=5759,Khmer:e=>e>=6016&&e<=6143,"Unified Canadian Aboriginal Syllabics Extended":e=>e>=6320&&e<=6399,"General Punctuation":e=>e>=8192&&e<=8303,"Letterlike Symbols":e=>e>=8448&&e<=8527,"Number Forms":e=>e>=8528&&e<=8591,"Miscellaneous Technical":e=>e>=8960&&e<=9215,"Control Pictures":e=>e>=9216&&e<=9279,"Optical Character Recognition":e=>e>=9280&&e<=9311,"Enclosed Alphanumerics":e=>e>=9312&&e<=9471,"Geometric Shapes":e=>e>=9632&&e<=9727,"Miscellaneous Symbols":e=>e>=9728&&e<=9983,"Miscellaneous Symbols and Arrows":e=>e>=11008&&e<=11263,"CJK Radicals Supplement":e=>e>=11904&&e<=12031,"Kangxi Radicals":e=>e>=12032&&e<=12255,"Ideographic Description Characters":e=>e>=12272&&e<=12287,"CJK Symbols and Punctuation":e=>e>=12288&&e<=12351,Hiragana:e=>e>=12352&&e<=12447,Katakana:e=>e>=12448&&e<=12543,Bopomofo:e=>e>=12544&&e<=12591,"Hangul Compatibility Jamo":e=>e>=12592&&e<=12687,Kanbun:e=>e>=12688&&e<=12703,"Bopomofo Extended":e=>e>=12704&&e<=12735,"CJK Strokes":e=>e>=12736&&e<=12783,"Katakana Phonetic Extensions":e=>e>=12784&&e<=12799,"Enclosed CJK Letters and Months":e=>e>=12800&&e<=13055,"CJK Compatibility":e=>e>=13056&&e<=13311,"CJK Unified Ideographs Extension A":e=>e>=13312&&e<=19903,"Yijing Hexagram Symbols":e=>e>=19904&&e<=19967,"CJK Unified Ideographs":e=>e>=19968&&e<=40959,"Yi Syllables":e=>e>=40960&&e<=42127,"Yi Radicals":e=>e>=42128&&e<=42191,"Hangul Jamo Extended-A":e=>e>=43360&&e<=43391,"Hangul Syllables":e=>e>=44032&&e<=55215,"Hangul Jamo Extended-B":e=>e>=55216&&e<=55295,"Private Use Area":e=>e>=57344&&e<=63743,"CJK Compatibility Ideographs":e=>e>=63744&&e<=64255,"Arabic Presentation Forms-A":e=>e>=64336&&e<=65023,"Vertical Forms":e=>e>=65040&&e<=65055,"CJK Compatibility Forms":e=>e>=65072&&e<=65103,"Small Form Variants":e=>e>=65104&&e<=65135,"Arabic Presentation Forms-B":e=>e>=65136&&e<=65279,"Halfwidth and Fullwidth Forms":e=>e>=65280&&e<=65519};function ro(e){for(const t of e)if(oo(t.charCodeAt(0)))return!0;return!1}function no(e){for(const t of e)if(!io(t.charCodeAt(0)))return!1;return!0}function io(e){return!(to.Arabic(e)||to["Arabic Supplement"](e)||to["Arabic Extended-A"](e)||to["Arabic Presentation Forms-A"](e)||to["Arabic Presentation Forms-B"](e))}function oo(e){return!(746!==e&&747!==e&&(e<4352||!(to["Bopomofo Extended"](e)||to.Bopomofo(e)||to["CJK Compatibility Forms"](e)&&!(e>=65097&&e<=65103)||to["CJK Compatibility Ideographs"](e)||to["CJK Compatibility"](e)||to["CJK Radicals Supplement"](e)||to["CJK Strokes"](e)||!(!to["CJK Symbols and Punctuation"](e)||e>=12296&&e<=12305||e>=12308&&e<=12319||12336===e)||to["CJK Unified Ideographs Extension A"](e)||to["CJK Unified Ideographs"](e)||to["Enclosed CJK Letters and Months"](e)||to["Hangul Compatibility Jamo"](e)||to["Hangul Jamo Extended-A"](e)||to["Hangul Jamo Extended-B"](e)||to["Hangul Jamo"](e)||to["Hangul Syllables"](e)||to.Hiragana(e)||to["Ideographic Description Characters"](e)||to.Kanbun(e)||to["Kangxi Radicals"](e)||to["Katakana Phonetic Extensions"](e)||to.Katakana(e)&&12540!==e||!(!to["Halfwidth and Fullwidth Forms"](e)||65288===e||65289===e||65293===e||e>=65306&&e<=65310||65339===e||65341===e||65343===e||e>=65371&&e<=65503||65507===e||e>=65512&&e<=65519)||!(!to["Small Form Variants"](e)||e>=65112&&e<=65118||e>=65123&&e<=65126)||to["Unified Canadian Aboriginal Syllabics"](e)||to["Unified Canadian Aboriginal Syllabics Extended"](e)||to["Vertical Forms"](e)||to["Yijing Hexagram Symbols"](e)||to["Yi Syllables"](e)||to["Yi Radicals"](e))))}function ao(e){return!(oo(e)||function(e){return!!(to["Latin-1 Supplement"](e)&&(167===e||169===e||174===e||177===e||188===e||189===e||190===e||215===e||247===e)||to["General Punctuation"](e)&&(8214===e||8224===e||8225===e||8240===e||8241===e||8251===e||8252===e||8258===e||8263===e||8264===e||8265===e||8273===e)||to["Letterlike Symbols"](e)||to["Number Forms"](e)||to["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||9003===e||e>=9085&&e<=9114||e>=9150&&e<=9165||9167===e||e>=9169&&e<=9179||e>=9186&&e<=9215)||to["Control Pictures"](e)&&9251!==e||to["Optical Character Recognition"](e)||to["Enclosed Alphanumerics"](e)||to["Geometric Shapes"](e)||to["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||to["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>
vendor: 23,989 bytes, line 2
2=11192&&e<=11243)||to["CJK Symbols and Punctuation"](e)||to.Katakana(e)||to["Private Use Area"](e)||to["CJK Compatibility Forms"](e)||to["Small Form Variants"](e)||to["Halfwidth and Fullwidth Forms"](e)||8734===e||8756===e||8757===e||e>=9984&&e<=10087||e>=10102&&e<=10131||65532===e||65533===e)}(e))}function so(e){return e>=1424&&e<=2303||to["Arabic Presentation Forms-A"](e)||to["Arabic Presentation Forms-B"](e)}function lo(e,t){return!(!t&&so(e)||e>=2304&&e<=3583||e>=3840&&e<=4255||to.Khmer(e))}function co(e){for(const t of e)if(so(t.charCodeAt(0)))return!0;return!1}const uo="deferred",fo="loading",po="loaded";let ho=null,mo="unavailable",yo=null;const go=function(e){e&&"string"==typeof e&&e.indexOf("NetworkError")>-1&&(mo="error"),ho&&ho(e)};function vo(){bo.fire(new Ke("pluginStateChange",{pluginStatus:mo,pluginURL:yo}))}const bo=new et,_o=function(){return mo},xo=function(){if(mo!==uo||!yo)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");mo=fo,vo(),yo&&pe({url:yo},e=>{e?go(e):(mo=po,vo())})},wo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>mo===po||null!=wo.applyArabicShaping,isLoading:()=>mo===fo,setState(e){mo=e.pluginStatus,yo=e.pluginURL},isParsed:()=>null!=wo.applyArabicShaping&&null!=wo.processBidirectionalText&&null!=wo.processStyledBidirectionalText,getPluginURL:()=>yo};class Oo{constructor(e,t){this.zoom=e,t?(this.now=t.now,this.fadeDuration=t.fadeDuration,this.transition=t.transition,this.pitch=t.pitch):(this.now=0,this.fadeDuration=0,this.transition={},this.pitch=0)}isSupportedScript(e){return function(e,t){for(const r of e)if(!lo(r.charCodeAt(0),t))return!1;return!0}(e,wo.isLoaded())}}class jo{constructor(e,t){this.property=e,this.value=t,this.expression=function(e,t){if(Yn(e))return new ti(e,t);if(Xn(e)){const r=ei(e,t);if("error"===r.result)throw new Error(r.value.map(e=>`${e.key}: ${e.message}`).join(", "));return r.value}{let r=e;return"string"==typeof e&&"color"===t.type&&(r=Lt.parse(e)),{kind:"constant",evaluate:()=>r}}}(void 0===t?e.specification.default:t,e.specification)}isDataDriven(){return"source"===this.expression.kind||"composite"===this.expression.kind}possiblyEvaluate(e,t,r){return this.property.possiblyEvaluate(this,e,t,r)}}class So{constructor(e){this.property=e,this.value=new jo(e,void 0)}transitioned(e,t){return new ko(this.property,this.value,t,A({},e.transition,this.transition),e.now)}untransitioned(){return new ko(this.property,this.value,null,{},0)}}class Mo{constructor(e){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues)}getValue(e){return H(this._values[e].value.value)}setValue(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new So(this._values[e].property)),this._values[e].value=new jo(this._values[e].property,null===t?void 0:H(t))}getTransition(e){return H(this._values[e].transition)}setTransition(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new So(this._values[e].property)),this._values[e].transition=H(t)||void 0}serialize(){const e={};for(const t of Object.keys(this._values)){const r=this.getValue(t);void 0!==r&&(e[t]=r);const n=this.getTransition(t);void 0!==n&&(e[`${t}-transition`]=n)}return e}transitioned(e,t){const r=new Po(this._properties);for(const n of Object.keys(this._values))r._values[n]=this._values[n].transitioned(e,t._values[n]);return r}untransitioned(){const e=new Po(this._properties);for(const t of Object.keys(this._values))e._values[t]=this._values[t].untransitioned();return e}}class ko{constructor(e,t,r,n,i){const o=n.delay||0,a=n.duration||0;i=i||0,this.property=e,this.value=t,this.begin=i+o,this.end=this.begin+a,e.specification.transition&&(n.delay||n.duration)&&(this.prior=r)}possiblyEvaluate(e,t,r){const n=e.now||0,i=this.value.possiblyEvaluate(e,t,r),o=this.prior;if(o){if(n>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(n<this.begin)return o.possiblyEvaluate(e,t,r);{const a=(n-this.begin)/(this.end-this.begin);return this.property.interpolate(o.possiblyEvaluate(e,t,r),i,S(a))}}return i}}class Po{constructor(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)}possiblyEvaluate(e,t,r){const n=new Co(this._properties);for(const i of Object.keys(this._values))n._values[i]=this._values[i].possiblyEvaluate(e,t,r);return n}hasTransition(){for(const e of Object.keys(this._values))if(this._values[e].prior)return!0;return!1}}class To{constructor(e){this._properties=e,this._values=Object.create(e.defaultPropertyValues)}getValue(e){return H(this._values[e].value)}setValue(e,t){this._values[e]=new jo(this._values[e].property,null===t?void 0:H(t))}serialize(){const e={};for(const t of Object.keys(this._values)){const r=this.getValue(t);void 0!==r&&(e[t]=r)}return e}possiblyEvaluate(e,t,r){const n=new Co(this._properties);for(const i of Object.keys(this._values))n._values[i]=this._values[i].possiblyEvaluate(e,t,r);return n}}class Eo{constructor(e,t,r){this.property=e,this.value=t,this.parameters=r}isConstant(){return"constant"===this.value.kind}constantOr(e){return"constant"===this.value.kind?this.value.value:e}evaluate(e,t,r,n){return this.property.evaluate(this.value,this.parameters,e,t,r,n)}}class Co{constructor(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)}get(e){return this._values[e]}}class Lo{constructor(e){this.specification=e}possiblyEvaluate(e,t){return e.expression.evaluate(t)}interpolate(e,t,r){const n=Ar[this.specification.type];return n?n(e,t,r):e}}class Ao{constructor(e,t){this.specification=e,this.overrides=t}possiblyEvaluate(e,t,r,n){return new Eo(this,"constant"===e.expression.kind||"camera"===e.expression.kind?{kind:"constant",value:e.expression.evaluate(t,null,{},r,n)}:e.expression,t)}interpolate(e,t,r){if("constant"!==e.value.kind||"constant"!==t.value.kind)return e;if(void 0===e.value.value||void 0===t.value.value)return new Eo(this,{kind:"constant",value:void 0},e.parameters);const n=Ar[this.specification.type];return n?new Eo(this,{kind:"constant",value:n(e.value.value,t.value.value,r)},e.parameters):e}evaluate(e,t,r,n,i,o){return"constant"===e.kind?e.value:e.evaluate(t,r,n,i,o)}}class Do{constructor(e){this.specification=e}possiblyEvaluate(e,t,r,n){return!!e.expression.evaluate(t,null,{},r,n)}interpolate(){return!1}}class Io{constructor(e){this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];const t=new Oo(0,{});for(const r in e){const n=e[r];n.specification.overridable&&this.overridableProperties.push(r);const i=this.defaultPropertyValues[r]=new jo(n,void 0),o=this.defaultTransitionablePropertyValues[r]=new So(n);this.defaultTransitioningPropertyValues[r]=o.untransitioned(),this.defaultPossiblyEvaluatedValues[r]=i.possiblyEvaluate(t)}}}function No(e,t){return 256*(e=P(Math.floor(e),0,255))+P(Math.floor(t),0,255)}Xi(Ao,"DataDrivenProperty"),Xi(Lo,"DataConstantProperty"),Xi(Do,"ColorRampProperty");const Ro={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class zo{constructor(e,t){this._structArray=e,this._pos1=t*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class Fo{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(e,t){return e._trim(),t&&(e.isTransferred=!0,t.push(e.arrayBuffer)),{length:e.length,arrayBuffer:e.arrayBuffer}}static deserialize(e){const t=Object.create(this.prototype);return t.arrayBuffer=e.arrayBuffer,t.length=e.length,t.capacity=e.arrayBuffer.byteLength/t.bytesPerElement,t._refreshViews(),t}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(e){this.reserve(e),this.length=e}reserve(e){if(e>this.capacity){this.capacity=Math.max(e,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const t=this.uint8;this._refreshViews(),t&&this.uint8.set(t)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}destroy(){this.int8=this.uint8=this.int16=this.uint16=this.int32=this.uint32=this.float32=null,this.arrayBuffer=null}}function Bo(e,t=1){let r=0,n=0;return{members:e.map(e=>{const i=Ro[e.type].BYTES_PER_ELEMENT,o=r=Yo(r,Math.max(t,i)),a=e.components||1;return n=Math.max(n,i),r+=i*a,{name:e.name,type:e.type,components:a,offset:o}}),size:Yo(r,Math.max(n,t)),alignment:t}}function Yo(e,t){return Math.ceil(e/t)*t}class Uo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t){const r=this.length;return this.resize(r+1),this.emplace(r,e,t)}emplace(e,t,r){const n=2*e;return this.int16[n+0]=t,this.int16[n+1]=r,e}}Uo.prototype.bytesPerElement=4,Xi(Uo,"StructArrayLayout2i4");class Ho extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t,r){const n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)}emplace(e,t,r,n){const i=3*e;return this.int16[i+0]=t,this.int16[i+1]=r,this.int16[i+2]=n,e}}Ho.prototype.bytesPerElement=6,Xi(Ho,"StructArrayLayout3i6");class $o extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)}emplace(e,t,r,n,i){const o=4*e;return this.int16[o+0]=t,this.int16[o+1]=r,this.int16[o+2]=n,this.int16[o+3]=i,e}}$o.prototype.bytesPerElement=8,Xi($o,"StructArrayLayout4i8");class Wo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a){const s=this.length;return this.resize(s+1),this.emplace(s,e,t,r,n,i,o,a)}emplace(e,t,r,n,i,o,a,s){const l=6*e,c=12*e,u=3*e;return this.int16[l+0]=t,this.int16[l+1]=r,this.uint8[c+4]=n,this.uint8[c+5]=i,this.uint8[c+6]=o,this.uint8[c+7]=a,this.float32[u+2]=s,e}}Wo.prototype.bytesPerElement=12,Xi(Wo,"StructArrayLayout2i4ub1f12");class Vo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)}emplace(e,t,r,n,i){const o=4*e;return this.float32[o+0]=t,this.float32[o+1]=r,this.float32[o+2]=n,this.float32[o+3]=i,e}}Vo.prototype.bytesPerElement=16,Xi(Vo,"StructArrayLayout4f16");class qo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i){const o=this.length;return this.resize(o+1),this.emplace(o,e,t,r,n,i)}emplace(e,t,r,n,i,o){const a=6*e,s=3*e;return this.uint16[a+0]=t,this.uint16[a+1]=r,this.uint16[a+2]=n,this.uint16[a+3]=i,this.float32[s+2]=o,e}}qo.prototype.bytesPerElement=12,Xi(qo,"StructArrayLayout4ui1f12");class Go extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)}emplace(e,t,r,n,i){const o=4*e;return this.uint16[o+0]=t,this.uint16[o+1]=r,this.uint16[o+2]=n,this.uint16[o+3]=i,e}}Go.prototype.bytesPerElement=8,Xi(Go,"StructArrayLayout4ui8");class Zo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o){const a=this.length;return this.resize(a+1),this.emplace(a,e,t,r,n,i,o)}emplace(e,t,r,n,i,o,a){const s=6*e;return this.int16[s+0]=t,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,e}}Zo.prototype.bytesPerElement=12,Xi(Zo,"StructArrayLayout6i12");class Xo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a,s,l,c,u,d){const f=this.length;return this.resize(f+1),this.emplace(f,e,t,r,n,i,o,a,s,l,c,u,d)}emplace(e,t,r,n,i,o,a,s,l,c,u,d,f){const p=12*e;return this.int16[p+0]=t,this.int16[p+1]=r,this.int16[p+2]=n,this.int16[p+3]=i,this.uint16[p+4]=o,this.uint16[p+5]=a,this.uint16[p+6]=s,this.uint16[p+7]=l,this.int16[p+8]=c,this.int16[p+9]=u,this.int16[p+10]=d,this.int16[p+11]=f,e}}Xo.prototype.bytesPerElement=24,Xi(Xo,"StructArrayLayout4i4ui4i24");class Jo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o){const a=this.length;return this.resize(a+1),this.emplace(a,e,t,r,n,i,o)}emplace(e,t,r,n,i,o,a){const s=10*e,l=5*e;return this.int16[s+0]=t,this.int16[s+1]=r,this.int16[s+2]=n,this.float32[l+2]=i,this.float32[l+3]=o,this.float32[l+4]=a,e}}Jo.prototype.bytesPerElement=20,Xi(Jo,"StructArrayLayout3i3f20");class Ko extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(e){const t=this.length;return this.resize(t+1),this.emplace(t,e)}emplace(e,t){return this.uint32[1*e+0]=t,e}}Ko.prototype.bytesPerElement=4,Xi(Ko,"StructArrayLayout1ul4");class Qo extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a,s,l,c,u,d,f){const p=this.length;return this.resize(p+1),this.emplace(p,e,t,r,n,i,o,a,s,l,c,u,d,f)}emplace(e,t,r,n,i,o,a,s,l,c,u,d,f,p){const h=20*e,m=10*e;return this.int16[h+0]=t,this.int16[h+1]=r,this.int16[h+2]=n,this.int16[h+3]=i,this.int16[h+4]=o,this.float32[m+3]=a,this.float32[m+4]=s,this.float32[m+5]=l,this.float32[m+6]=c,this.int16[h+14]=u,this.uint32[m+8]=d,this.uint16[h+18]=f,this.uint16[h+19]=p,e}}Qo.prototype.bytesPerElement=40,Xi(Qo,"StructArrayLayout5i4f1i1ul2ui40");class ea extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a){const s=this.length;return this.resize(s+1),this.emplace(s,e,t,r,n,i,o,a)}emplace(e,t,r,n,i,o,a,s){const l=8*e;return this.int16[l+0]=t,this.int16[l+1]=r,this.int16[l+2]=n,this.int16[l+4]=i,this.int16[l+5]=o,this.int16[l+6]=a,this.int16[l+7]=s,e}}ea.prototype.bytesPerElement=16,Xi(ea,"StructArrayLayout3i2i2i16");class ta extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i){const o=this.length;return this.resize(o+1),this.emplace(o,e,t,r,n,i)}emplace(e,t,r,n,i,o){const a=4*e,s=8*e;return this.float32[a+0]=t,this.float32[a+1]=r,this.float32[a+2]=n,this.int16[s+6]=i,this.int16[s+7]=o,e}}ta.prototype.bytesPerElement=16,Xi(ta,"StructArrayLayout2f1f2i16");class ra extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)}emplace(e,t,r,n,i){const o=12*e,a=3*e;return this.uint8[o+0]=t,this.uint8[o+1]=r,this.float32[a+1]=n,this.float32[a+2]=i,e}}ra.prototype.bytesPerElement=12,Xi(ra,"StructArrayLayout2ub2f12");class na extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r){const n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)}emplace(e,t,r,n){const i=3*e;return this.float32[i+0]=t,this.float32[i+1]=r,this.float32[i+2]=n,e}}na.prototype.bytesPerElement=12,Xi(na,"StructArrayLayout3f12");class ia extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t,r){const n=this.length;return this.resize(n+1),this.emplace(n,e,t,r)}emplace(e,t,r,n){const i=3*e;return this.uint16[i+0]=t,this.uint16[i+1]=r,this.uint16[i+2]=n,e}}ia.prototype.bytesPerElement=6,Xi(ia,"StructArrayLayout3ui6");class oa extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_){const x=this.length;return this.resize(x+1),this.emplace(x,e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_)}emplace(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_,x){const w=30*e,O=15*e,j=60*e;return this.int16[w+0]=t,this.int16[w+1]=r,this.int16[w+2]=n,this.float32[O+2]=i,this.float32[O+3]=o,this.uint16[w+8]=a,this.uint16[w+9]=s,this.uint32[O+5]=l,this.uint32[O+6]=c,this.uint32[O+7]=u,this.uint16[w+16]=d,this.uint16[w+17]=f,this.uint16[w+18]=p,this.float32[O+10]=h,this.float32[O+11]=m,this.uint8[j+48]=y,this.uint8[j+49]=g,this.uint8[j+50]=v,this.uint32[O+13]=b,this.int16[w+28]=_,this.uint8[j+58]=x,e}}oa.prototype.bytesPerElement=60,Xi(oa,"StructArrayLayout3i2f2ui3ul3ui2f3ub1ul1i1ub60");class aa extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_,x,w,O,j,S,M,k,P,T){const E=this.length;return this.resize(E+1),this.emplace(E,e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_,x,w,O,j,S,M,k,P,T)}emplace(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_,x,w,O,j,S,M,k,P,T,E){const C=38*e,L=19*e;return this.int16[C+0]=t,this.int16[C+1]=r,this.int16[C+2]=n,this.float32[L+2]=i,this.float32[L+3]=o,this.int16[C+8]=a,this.int16[C+9]=s,this.int16[C+10]=l,this.int16[C+11]=c,this.int16[C+12]=u,this.int16[C+13]=d,this.uint16[C+14]=f,this.uint16[C+15]=p,this.uint16[C+16]=h,this.uint16[C+17]=m,this.uint16[C+18]=y,this.uint16[C+19]=g,this.uint16[C+20]=v,this.uint16[C+21]=b,this.uint16[C+22]=_,this.uint16[C+23]=x,this.uint16[C+24]=w,this.uint16[C+25]=O,this.uint16[C+26]=j,this.uint16[C+27]=S,this.uint16[C+28]=M,this.uint32[L+15]=k,this.float32[L+16]=P,this.float32[L+17]=T,this.float32[L+18]=E,e}}aa.prototype.bytesPerElement=76,Xi(aa,"StructArrayLayout3i2f6i15ui1ul3f76");class sa extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e){const t=this.length;return this.resize(t+1),this.emplace(t,e)}emplace(e,t){return this.float32[1*e+0]=t,e}}sa.prototype.bytesPerElement=4,Xi(sa,"StructArrayLayout1f4");class la extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t,r,n,i){const o=this.length;return this.resize(o+1),this.emplace(o,e,t,r,n,i)}emplace(e,t,r,n,i,o){const a=5*e;return this.float32[a+0]=t,this.float32[a+1]=r,this.float32[a+2]=n,this.float32[a+3]=i,this.float32[a+4]=o,e}}la.prototype.bytesPerElement=20,Xi(la,"StructArrayLayout5f20");class ca extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t,r,n){const i=this.length;return this.resize(i+1),this.emplace(i,e,t,r,n)}emplace(e,t,r,n,i){const o=6*e;return this.uint32[3*e+0]=t,this.uint16[o+2]=r,this.uint16[o+3]=n,this.uint16[o+4]=i,e}}ca.prototype.bytesPerElement=12,Xi(ca,"StructArrayLayout1ul3ui12");class ua extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e,t){const r=this.length;return this.resize(r+1),this.emplace(r,e,t)}emplace(e,t,r){const n=2*e;return this.uint16[n+0]=t,this.uint16[n+1]=r,e}}ua.prototype.bytesPerElement=4,Xi(ua,"StructArrayLayout2ui4");class da extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(e){const t=this.length;return this.resize(t+1),this.emplace(t,e)}emplace(e,t){return this.uint16[1*e+0]=t,e}}da.prototype.bytesPerElement=2,Xi(da,"StructArrayLayout1ui2");class fa extends Fo{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(e,t){const r=this.length;return this.resize(r+1),this.emplace(r,e,t)}emplace(e,t,r){const n=2*e;return this.float32[n+0]=t,this.float32[n+1]=r,e}}fa.prototype.bytesPerElement=8,Xi(fa,"StructArrayLayout2f8");class pa extends zo{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.int16[this._pos2+3]}get tileAnchorY(){return this._structArray.int16[this._pos2+4]}get x1(){return this._structArray.float32[this._pos4+3]}get y1(){return this._structArray.float32[this._pos4+4]}get x2(){return this._structArray.float32[this._pos4+5]}get y2(){return this._structArray.float32[this._pos4+6]}get padding(){return this._structArray.int16[this._pos2+14]}get featureIndex(){return this._structArray.uint32[this._pos4+8]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+18]}get bucketIndex(){return this._structArray.uint16[this._pos2+19]}}pa.prototype.size=40;class ha extends Qo{get(e){return new pa(this,e)}}Xi(ha,"CollisionBoxArray");class ma extends zo{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.float32[this._pos4+2]}get tileAnchorY(){return this._structArray.float32[this._pos4+3]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+8]}get numGlyphs(){return this._structArray.uint16[this._pos2+9]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+5]}get lineStartIndex(){return this._structArray.uint32[this._pos4+6]}get lineLength(){return this._structArray.uint32[this._pos4+7]}get segment(){return this._structArray.uint16[this._pos2+16]}get lowerSize(){return this._structArray.uint16[this._pos2+17]}get upperSize(){return this._structArray.uint16[this._pos2+18]}get lineOffsetX(){return this._structArray.float32[this._pos4+10]}get lineOffsetY(){return this._structArray.float32[this._pos4+11]}get writingMode(){return this._structArray.uint8[this._pos1+48]}get placedOrientation(){return this._structArray.uint8[this._pos1+49]}set placedOrientation(e){this._structArray.uint8[this._pos1+49]=e}get hidden(){return this._structArray.uint8[this._pos1+50]}set hidden(e){this._structArray.uint8[this._pos1+50]=e}get crossTileID(){return this._structArray.uint32[this._pos4+13]}set crossTileID(e){this._structArray.uint32[this._pos4+13]=e}get associatedIconIndex(){return this._structArray.int16[this._pos2+28]}get flipState(){return this._structArray.uint8[this._pos1+58]}set flipState(e){this._structArray.uint8[this._pos1+58]=e}}ma.prototype.size=60;class ya extends oa{get(e){return new ma(this,e)}}Xi(ya,"PlacedSymbolArray");class ga extends zo{get projectedAnchorX(){return this._structArray.int16[this._pos2+0]}get projectedAnchorY(){return this._structArray.int16[this._pos2+1]}get projectedAnchorZ(){return this._structArray.int16[this._pos2+2]}get tileAnchorX(){return this._structArray.float32[this._pos4+2]}get tileAnchorY(){return this._structArray.float32[this._pos4+3]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+8]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+9]}
2get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+10]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+11]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+12]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+13]}get key(){return this._structArray.uint16[this._pos2+14]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+17]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+18]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+19]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+20]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+21]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+22]}get featureIndex(){return this._structArray.uint16[this._pos2+23]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+24]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+25]}get numIconVertices(){return this._structArray.uint16[this._pos2+26]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+27]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+28]}get crossTileID(){return this._structArray.uint32[this._pos4+15]}set crossTileID(e){this._structArray.uint32[this._pos4+15]=e}get textOffset0(){return this._structArray.float32[this._pos4+16]}get textOffset1(){return this._structArray.float32[this._pos4+17]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+18]}}ga.prototype.size=76;class va extends aa{get(e){return new ga(this,e)}}Xi(va,"SymbolInstanceArray");class ba extends sa{getoffsetX(e){return this.float32[1*e+0]}}Xi(ba,"GlyphOffsetArray");class _a extends Uo{getx(e){return this.int16[2*e+0]}gety(e){return this.int16[2*e+1]}}Xi(_a,"SymbolLineVertexArray");class xa extends zo{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}get layoutVertexArrayOffset(){return this._structArray.uint16[this._pos2+4]}}xa.prototype.size=12;class wa extends ca{get(e){return new xa(this,e)}}Xi(wa,"FeatureIndexArray");class Oa extends ua{geta_centroid_pos0(e){return this.uint16[2*e+0]}geta_centroid_pos1(e){return this.uint16[2*e+1]}}Xi(Oa,"FillExtrusionCentroidArray");const ja=Bo([{name:"a_pattern",components:4,type:"Uint16"},{name:"a_pixel_ratio",components:1,type:"Float32"}]),Sa=Bo([{name:"a_dash",components:4,type:"Uint16"}]);var Ma={exports:{}},ka={exports:{}};ka.exports=function(e,t){var r,n,i,o,a,s,l,c;for(n=e.length-(r=3&e.length),i=t,a=3432918353,s=461845907,c=0;c<n;)l=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,i=27492+(65535&(o=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&e.charCodeAt(c+2))<<16;case 2:l^=(255&e.charCodeAt(c+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(c)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0};var Pa=ka.exports,Ta={exports:{}};Ta.exports=function(e,t){for(var r,n=e.length,i=t^n,o=0;n>=4;)r=1540483477*(65535&(r=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:i^=(255&e.charCodeAt(o+2))<<16;case 2:i^=(255&e.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0};var Ea=Pa,Ca=Ta.exports;Ma.exports=Ea,Ma.exports.murmur3=Ea,Ma.exports.murmur2=Ca;
2var La=p(Ma.exports);class Aa{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(e,t,r,n){this.ids.push(Da(e)),this.positions.push(t,r,n)}getPositions(e){const t=Da(e);let r=0,n=this.ids.length-1;for(;r<n;){const e=r+n>>1;this.ids[e]>=t?n=e:r=e+1}const i=[];for(;this.ids[r]===t;)i.push({index:this.positions[3*r],start:this.positions[3*r+1],end:this.positions[3*r+2]}),r++;return i}static serialize(e,t){const r=new Float64Array(e.ids),n=new Uint32Array(e.positions);return Ia(r,n,0,r.length-1),t&&t.push(r.buffer,n.buffer),{ids:r,positions:n}}static deserialize(e){const t=new Aa;return t.ids=e.ids,t.positions=e.positions,t.indexed=!0,t}}function Da(e){const t=+e;return!isNaN(t)&&Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER?t:La(String(e))}function Ia(e,t,r,n){for(;r<n;){const i=e[r+n>>1];let o=r-1,a=n+1;for(;;){do{o++}while(e[o]<i);do{a--}while(e[a]>i);if(o>=a)break;Na(e,o,a),Na(t,3*o,3*a),Na(t,3*o+1,3*a+1),Na(t,3*o+2,3*a+2)}a-r<n-a?(Ia(e,t,r,a),r=a+1):(Ia(e,t,a+1,n),n=a)}}function Na(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}Xi(Aa,"FeaturePositionMap");class Ra{constructor(e){this.gl=e.gl,this.initialized=!1}fetchUniformLocation(e,t){return this.location||this.initialized||(this.location=this.gl.getUniformLocation(e,t),this.initialized=!0),!!this.location}}class za extends Ra{constructor(e){super(e),this.current=0}set(e,t,r){this.fetchUniformLocation(e,t)&&this.current!==r&&(this.current=r,this.gl.uniform1f(this.location,r))}}class Fa extends Ra{constructor(e){super(e),this.current=[0,0,0,0]}set(e,t,r){this.fetchUniformLocation(e,t)&&(r[0]===this.current[0]&&r[1]===this.current[1]&&r[2]===this.current[2]&&r[3]===this.current[3]||(this.current=r,this.gl.uniform4f(this.location,r[0],r[1],r[2],r[3])))}}class Ba extends Ra{constructor(e){super(e),this.current=Lt.transparent}set(e,t,r){this.fetchUniformLocation(e,t)&&(r.r===this.current.r&&r.g===this.current.g&&r.b===this.current.b&&r.a===this.current.a||(this.current=r,this.gl.uniform4f(this.location,r.r,r.g,r.b,r.a)))}}const Ya=new Float32Array(16),Ua=new Float32Array(9),Ha=new Float32Array(4);function $a(e){return[No(255*e.r,255*e.g),No(255*e.b,255*e.a)]}class Wa{constructor(e,t,r){this.value=e,this.uniformNames=t.map(e=>`u_${e}`),this.type=r}setUniform(e,t,r,n,i){t.set(e,i,n.constantOr(this.value))}getBinding(e,t){return"color"===this.type?new Ba(e):new za(e)}}class Va{constructor(e,t){this.uniformNames=t.map(e=>`u_${e}`),this.pattern=null,this.pixelRatio=1}setConstantPatternPositions(e){this.pixelRatio=e.pixelRatio||1,this.pattern=e.tl.concat(e.br)}setUniform(e,t,r,n,i){const o="u_pattern"===i||"u_dash"===i?this.pattern:"u_pixel_ratio"===i?this.pixelRatio:null;o&&t.set(e,i,o)}getBinding(e,t){return"u_pattern"===t||"u_dash"===t?new Fa(e):new za(e)}}class qa{constructor(e,t,r,n){this.expression=e,this.type=r,this.maxValue=0,this.paintVertexAttributes=t.map(e=>({name:`a_${e}`,type:"Float32",components:"color"===r?2:1,offset:0})),this.paintVertexArray=new n}populatePaintArray(e,t,r,n,i,o){const a=this.paintVertexArray.length,s=this.expression.evaluate(new Oo(0),t,{},i,n,o);this.paintVertexArray.resize(e),this._setPaintValue(a,e,s)}updatePaintArray(e,t,r,n,i){const o=this.expression.evaluate({zoom:0},r,n,void 0,i);this._setPaintValue(e,t,o)}_setPaintValue(e,t,r){if("color"===this.type){const n=$a(r);for(let r=e;r<t;r++)this.paintVertexArray.emplace(r,n[0],n[1])}else{for(let n=e;n<t;n++)this.paintVertexArray.emplace(n,r);this.maxValue=Math.max(this.maxValue,Math.abs(r))}}upload(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}}class Ga{constructor(e,t,r,n,i,o){this.expression=e,this.uniformNames=t.map(e=>`u_${e}_t`),this.type=r,this.useIntegerZoom=n,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=t.map(e=>({name:`a_${e}`,type:"Float32",components:"color"===r?4:2,offset:0})),this.paintVertexArray=new o}populatePaintArray(e,t,r,n,i,o){const a=this.expression.evaluate(new Oo(this.zoom),t,{},i,n,o),s=this.expression.evaluate(new Oo(this.zoom+1),t,{},i,n,o),l=this.paintVertexArray.length;this.paintVertexArray.resize(e),this._setPaintValue(l,e,a,s)}updatePaintArray(e,t,r,n,i){const o=this.expression.evaluate({zoom:this.zoom},r,n,void 0,i),a=this.expression.evaluate({zoom:this.zoom+1},r,n,void 0,i);this._setPaintValue(e,t,o,a)}_setPaintValue(e,t,r,n){if("color"===this.type){const i=$a(r),o=$a(n);for(let r=e;r<t;r++)this.paintVertexArray.emplace(r,i[0],i[1],o[0],o[1])}else{for(let i=e;i<t;i++)this.paintVertexArray.emplace(i,r,n);this.maxValue=Math.max(this.maxValue,Math.abs(r),Math.abs(n))}}upload(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}setUniform(e,t,r,n,i){const o=this.useIntegerZoom?Math.floor(r.zoom):r.zoom,a=P(this.expression.interpolationFactor(o,this.zoom,this.zoom+1),0,1);t.set(e,i,a)}getBinding(e,t){return new za(e)}}class Za{constructor(e,t,r,n,i){this.expression=e,this.layerId=i,this.paintVertexAttributes=("array"===r?Sa:ja).members;for(let e=0;e<t.length;++e);this.paintVertexArray=new n}populatePaintArray(e,t,r){const n=this.paintVertexArray.length;this.paintVertexArray.resize(e),this._setPaintValues(n,e,t.patterns&&t.patterns[this.layerId],r)}updatePaintArray(e,t,r,n,i,o){this._setPaintValues(e,t,r.patterns&&r.patterns[this.layerId],o)}_setPaintValues(e,t,r,n){if(!n||!r)return;const i=n[r];if(!i)return;const{tl:o,br:a,pixelRatio:s}=i;for(let r=e;r<t;r++)this.paintVertexArray.emplace(r,o[0],o[1],a[0],a[1],s)}upload(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))}destroy(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()}}class Xa{constructor(e,t,r=()=>!0){this.binders={},this._buffers=[];const n=[];for(const i in e.paint._values){if(!r(i))continue;const o=e.paint.get(i);if(!(o instanceof Eo&&Rn(o.property.specification)))continue;const a=Qa(i,e.type),s=o.value,l=o.property.specification.type,c=!!o.property.useIntegerZoom,u="line-dasharray"===i||i.endsWith("pattern"),d="line-dasharray"===i&&"constant"!==e.layout.get("line-cap").value.kind;if("constant"!==s.kind||d)if("source"===s.kind||d||u){const t=rs(i,l,"source");this.binders[i]=u?new Za(s,a,l,t,e.id):new qa(s,a,l,t),n.push(`/a_${i}`)}else{const e=rs(i,l,"composite");this.binders[i]=new Ga(s,a,l,c,t,e),n.push(`/z_${i}`)}else this.binders[i]=u?new Va(s.value,a):new Wa(s.value,a,l),n.push(`/u_${i}`)}this.cacheKey=n.sort().join("")}getMaxValue(e){const t=this.binders[e];return t instanceof qa||t instanceof Ga?t.maxValue:0}populatePaintArrays(e,t,r,n,i,o){for(const a in this.binders){const s=this.binders[a];(s instanceof qa||s instanceof Ga||s instanceof Za)&&s.populatePaintArray(e,t,r,n,i,o)}}setConstantPatternPositions(e){for(const t in this.binders){const r=this.binders[t];r instanceof Va&&r.setConstantPatternPositions(e)}}updatePaintArrays(e,t,r,n,i,o){let a=!1;for(const s in e){const l=t.getPositions(s);for(const t of l){const l=r.feature(t.index);for(const r in this.binders){const c=this.binders[r];if((c instanceof qa||c instanceof Ga||c instanceof Za)&&!0===c.expression.isStateDependent){const u=n.paint.get(r);c.expression=u.value,c.updatePaintArray(t.start,t.end,l,e[s],i,o),a=!0}}}}return a}defines(){const e=[];for(const t in this.binders){const r=this.binders[t];(r instanceof Wa||r instanceof Va)&&e.push(...r.uniformNames.map(e=>`#define HAS_UNIFORM_${e}`))}return e}getBinderAttributes(){const e=[];for(const t in this.binders){const r=this.binders[t];if(r instanceof qa||r instanceof Ga||r instanceof Za)for(let t=0;t<r.paintVertexAttributes.length;t++)e.push(r.paintVertexAttributes[t].name)}return e}getBinderUniforms(){const e=[];for(const t in this.binders){const r=this.binders[t];if(r instanceof Wa||r instanceof Va||r instanceof Ga)for(const t of r.uniformNames)e.push(t)}return e}getPaintVertexBuffers(){return this._buffers}getUniforms(e){const t=[];for(const r in this.binders){const n=this.binders[r];if(n instanceof Wa||n instanceof Va||n instanceof Ga)for(const i of n.uniformNames)t.push({name:i,property:r,binding:n.getBinding(e,i)})}return t}setUniforms(e,t,r,n,i){for(const{name:t,property:o,binding:a}of r)this.binders[o].setUniform(e,a,i,n.get(o),t)}updatePaintBuffers(){this._buffers=[];for(const e in this.binders){const t=this.binders[e];(t instanceof qa||t instanceof Ga||t instanceof Za)&&t.paintVertexBuffer&&this._buffers.push(t.paintVertexBuffer)}}upload(e){for(const t in this.binders){const r=this.binders[t];(r instanceof qa||r instanceof Ga||r instanceof Za)&&r.upload(e)}this.updatePaintBuffers()}destroy(){for(const e in this.binders){const t=this.binders[e];(t instanceof qa||t instanceof Ga||t instanceof Za)&&t.destroy()}}}class Ja{constructor(e,t,r=()=>!0){this.programConfigurations={};for(const n of e)this.programConfigurations[n.id]=new Xa(n,t,r);this.needsUpload=!1,this._featureMap=new Aa,this._bufferOffset=0}populatePaintArrays(e,t,r,n,i,o,a){for(const r in this.programConfigurations)this.programConfigurations[r].populatePaintArrays(e,t,n,i,o,a);void 0!==t.id&&this._featureMap.add(t.id,r,this._bufferOffset,e),this._bufferOffset=e,this.needsUpload=!0}updatePaintArrays(e,t,r,n,i){for(const o of r)this.needsUpload=this.programConfigurations[o.id].updatePaintArrays(e,this._featureMap,t,o,n,i)||this.needsUpload}get(e){return this.programConfigurations[e]}upload(e){if(this.needsUpload){for(const t in this.programConfigurations)this.programConfigurations[t].upload(e);this.needsUpload=!1}}destroy(){for(const e in this.programConfigurations)this.programConfigurations[e].destroy()}}const Ka={"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["ga
2pwidth"],"line-pattern":["pattern","pixel_ratio"],"fill-pattern":["pattern","pixel_ratio"],"fill-extrusion-pattern":["pattern","pixel_ratio"],"line-dasharray":["dash"]};function Qa(e,t){return Ka[e]||[e.replace(`${t}-`,"").replace(/-/g,"_")]}const es={"line-pattern":{source:qo,composite:qo},"fill-pattern":{source:qo,composite:qo},"fill-extrusion-pattern":{source:qo,composite:qo},"line-dasharray":{source:Go,composite:Go}},ts={color:{source:fa,composite:Vo},number:{source:sa,composite:fa}};function rs(e,t,r){const n=es[e];return n&&n[r]||ts[t][r]}Xi(Wa,"ConstantBinder"),Xi(Va,"PatternConstantBinder"),Xi(qa,"SourceExpressionBinder"),Xi(Za,"PatternCompositeBinder"),Xi(Ga,"CompositeExpressionBinder"),Xi(Xa,"ProgramConfiguration",{omit:["_buffers"]}),Xi(Ja,"ProgramConfigurationSet");const ns="-transition";class is extends et{constructor(e,t){if(super(),this.id=e.id,this.type=e.type,this._featureFilter={filter:()=>!0,needGeometry:!1,needFeature:!1},this._filterCompiled=!1,"custom"!==e.type&&(this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&"sky"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),t.layout&&(this._unevaluatedLayout=new To(t.layout)),t.paint)){this._transitionablePaint=new Mo(t.paint);for(const t in e.paint)this.setPaintProperty(t,e.paint[t],{validate:!1});for(const t in e.layout)this.setLayoutProperty(t,e.layout[t],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Co(t.paint)}}getLayoutProperty(e){return"visibility"===e?this.visibility:this._unevaluatedLayout.getValue(e)}setLayoutProperty(e,t,r={}){null!=t&&this._validate(Ui,`layers.${this.id}.layout.${e}`,e,t,r)||("visibility"!==e?this._unevaluatedLayout.setValue(e,t):this.visibility=t)}getPaintProperty(e){return B(e,ns)?this._transitionablePaint.getTransition(e.slice(0,-11)):this._transitionablePaint.getValue(e)}setPaintProperty(e,t,r={}){if(null!=t&&this._validate(Yi,`layers.${this.id}.paint.${e}`,e,t,r))return!1;if(B(e,ns))return this._transitionablePaint.setTransition(e.slice(0,-11),t||void 0),!1;{const r=this._transitionablePaint._values[e],n=r.value.isDataDriven(),i=r.value;this._transitionablePaint.setValue(e,t),this._handleSpecialPaintPropertyUpdate(e);const o=this._transitionablePaint._values[e].value,a=o.isDataDriven(),s=B(e,"pattern")||"line-dasharray"===e;return a||n||s||this._handleOverridablePaintPropertyUpdate(e,i,o)}}_handleSpecialPaintPropertyUpdate(e){}getProgramIds(){return null}getProgramConfiguration(e){return null}_handleOverridablePaintPropertyUpdate(e,t,r){return!1}isHidden(e){return!!(this.minzoom&&e<this.minzoom)||!!(this.maxzoom&&e>=this.maxzoom)||"none"===this.visibility}updateTransitions(e){this._transitioningPaint=this._transitionablePaint.transitioned(e,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(e,t){this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(e,void 0,t)),this.paint=this._transitioningPaint.possiblyEvaluate(e,void 0,t)}
vendor: 9,238 bytes, line 2
2serialize(){const e={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(e.layout=e.layout||{},e.layout.visibility=this.visibility),U(e,(e,t)=>!(void 0===e||"layout"===t&&!Object.keys(e).length||"paint"===t&&!Object.keys(e).length))}_validate(e,t,r,n,i={}){return(!i||!1!==i.validate)&&$i(this,e.call(Bi,{key:t,layerType:this.type,objectKey:r,value:n,styleSpec:tt,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isSky(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(const e in this.paint._values){const t=this.paint.get(e);if(t instanceof Eo&&Rn(t.property.specification)&&("source"===t.value.kind||"composite"===t.value.kind)&&t.value.isStateDependent)return!0}return!1}compileFilter(){this._filterCompiled||(this._featureFilter=fi(this.filter),this._filterCompiled=!0)}invalidateCompiledFilter(){this._filterCompiled=!1}dynamicFilter(){return this._featureFilter.dynamicFilter}dynamicFilterNeedsFeature(){return this._featureFilter.needFeature}}const os=Bo([{name:"a_pos",components:2,type:"Int16"}],4),as=Bo([{name:"a_pos_3",components:3,type:"Int16"},{name:"a_pos_normal_3",components:3,type:"Int16"}]);class ss{constructor(e=[]){this.segments=e}prepareSegment(e,t,r,n){let i=this.segments[this.segments.length-1];return e>ss.MAX_VERTEX_ARRAY_LENGTH&&W(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}`),(!i||i.vertexLength+e>ss.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==n)&&(i={vertexOffset:t.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==n&&(i.sortKey=n),this.segments.push(i)),i}get(){return this.segments}destroy(){for(const e of this.segments)for(const t in e.vaos)e.vaos[t].destroy()}static simpleSegment(e,t,r,n){return new ss([{vertexOffset:e,primitiveOffset:t,vertexLength:r,primitiveLength:n,vaos:{},sortKey:0}])}}ss.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Xi(ss,"SegmentVector");var ls=8192;class cs{constructor(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1]))}setNorthEast(e){return this._ne=e instanceof Hl?new Hl(e.lng,e.lat):Hl.convert(e),this}setSouthWest(e){return this._sw=e instanceof Hl?new Hl(e.lng,e.lat):Hl.convert(e),this}extend(e){const t=this._sw,r=this._ne;let n,i;if(e instanceof Hl)n=e,i=e;else{if(!(e instanceof cs))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(cs.convert(e)):this.extend(Hl.convert(e)):"object"==typeof e&&null!==e&&e.hasOwnProperty("lat")&&(e.hasOwnProperty("lon")||e.hasOwnProperty("lng"))?this.extend(Hl.convert(e)):this;if(n=e._sw,i=e._ne,!n||!i)return this}return t||r?(t.lng=Math.min(n.lng,t.lng),t.lat=Math.min(n.lat,t.lat),r.lng=Math.max(i.lng,r.lng),r.lat=Math.max(i.lat,r.lat)):(this._sw=new Hl(n.lng,n.lat),this._ne=new Hl(i.lng,i.lat)),this}getCenter(){return new Hl((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new Hl(this.getWest(),this.getNorth())}getSouthEast(){return new Hl(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(e){const{lng:t,lat:r}=Hl.convert(e);let n=this._sw.lng<=t&&t<=this._ne.lng;return this._sw.lng>this._ne.lng&&(n=this._sw.lng>=t&&t>=this._ne.lng),this._sw.lat<=r&&r<=this._ne.lat&&n}static convert(e){return!e||e instanceof cs?e:new cs(e)}}var us=1e-6,ds="undefined"!=typeof Float32Array?Float32Array:Array;function fs(){var e=new ds(9);return ds!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function ps(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],f=r[0],p=r[1],h=r[2],m=r[3],y=r[4],g=r[5],v=r[6],b=r[7],_=r[8];return e[0]=f*n+p*a+h*c,e[1]=f*i+p*s+h*u,e[2]=f*o+p*l+h*d,e[3]=m*n+y*a+g*c,e[4]=m*i+y*s+g*u,e[5]=m*o+y*l+g*d,e[6]=v*n+b*a+_*c,e[7]=v*i+b*s+_*u,e[8]=v*o+b*l+_*d,e}function hs(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function ms(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],f=t[10],p=t[11],h=t[12],m=t[13],y=t[14],g=t[15],v=r*s-n*a,b=r*l-i*a,_=r*c-o*a,x=n*l-i*s,w=n*c-o*s,O=i*c-o*l,j=u*m-d*h,S=u*y-f*h,M=u*g-p*h,k=d*y-f*m,P=d*g-p*m,T=f*g-p*y,E=v*T-b*P+_*k+x*M-w*S+O*j;return E?(e[0]=(s*T-l*P+c*k)*(E=1/E),e[1]=(i*P-n*T-o*k)*E,e[2]=(m*O-y*w+g*x)*E,e[3]=(f*w-d*O-p*x)*E,e[4]=(l*M-a*T-c*S)*E,e[5]=(r*T-i*M+o*S)*E,e[6]=(y*_-h*O-g*b)*E,e[7]=(u*O-f*_+p*b)*E,e[8]=(a*P-s*M+c*j)*E,e[9]=(n*M-r*P-o*j)*E,e[10]=(h*w-m*_+g*v)*E,e[11]=(d*_-u*w-p*v)*E,e[12]=(s*S-a*k-l*j)*E,e[13]=(r*k-n*S+i*j)*E,e[14]=(m*b-h*x-y*v)*E,e[15]=(u*x-d*b+f*v)*E,e):null}function ys(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],f=t[9],p=t[10],h=t[11],m=t[12],y=t[13],g=t[14],v=t[15],b=r[0],_=r[1],x=r[2],w=r[3];return e[0]=b*n+_*s+x*d+w*m,e[1]=b*i+_*l+x*f+w*y,e[2]=b*o+_*c+x*p+w*g,e[3]=b*a+_*u+x*h+w*v,e[4]=(b=r[4])*n+(_=r[5])*s+(x=r[6])*d+(w=r[7])*m,e[5]=b*i+_*l+x*f+w*y,e[6]=b*o+_*c+x*p+w*g,e[7]=b*a+_*u+x*h+w*v,e[8]=(b=r[8])*n+(_=r[9])*s+(x=r[10])*d+(w=r[11])*m,e[9]=b*i+_*l+x*f+w*y,e[10]=b*o+_*c+x*p+w*g,e[11]=b*a+_*u+x*h+w*v,e[12]=(b=r[12])*n+(_=r[13])*s+(x=r[14])*d+(w=r[15])*m,e[13]=b*i+_*l+x*f+w*y,e[14]=b*o+_*c+x*p+w*g,e[15]=b*a+_*u+x*h+w*v,e}function gs(e,t,r){var n,i,o,a,s,l,c,u,d,f,p,h,m=r[0],y=r[1],g=r[2];return t===e?(e[12]=t[0]*m+t[4]*y+t[8]*g+t[12],e[13]=t[1]*m+t[5]*y+t[9]*g+t[13],e[14]=t[2]*m+t[6]*y+t[10]*g+t[14],e[15]=t[3]*m+t[7]*y+t[11]*g+t[15]):(i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],f=t[9],p=t[10],h=t[11],e[0]=n=t[0],e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=c,e[7]=u,e[8]=d,e[9]=f,e[10]=p,e[11]=h,e[12]=n*m+s*y+d*g+t[12],e[13]=i*m+l*y+f*g+t[13],e[14]=o*m+c*y+p*g+t[14],e[15]=a*m+u*y+h*g+t[15]),e}function vs(e,t,r){var n=r[0],i=r[1],o=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function bs(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[4],a=t[5],s=t[6],l=t[7],c=t[8],u=t[9],d=t[10],f=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+c*n,e[5]=a*i+u*n,e[6]=s*i+d*n,e[7]=l*i+f*n,e[8]=c*i-o*n,e[9]=u*i-a*n,e[10]=d*i-s*n,e[11]=f*i-l*n,e}function _s(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[0],a=t[1],s=t[2],l=t[3],c=t[8],u=t[9],d=t[10],f=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i-c*n,e[1]=a*i-u*n,e[2]=s*i-d*n,e[3]=l*i-f*n,e[8]=o*n+c*i,e[9]=a*n+u*i,e[10]=s*n+d*i,e[11]=l*n+f*i,e}function xs(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function ws(e,t,r){var n,i,o,a=r[0],s=r[1],l=r[2],c=Math.hypot(a,s,l);return c<us?null:(a*=c=1/c,s*=c,l*=c,n=Math.sin(t),i=Math.cos(t),e[0]=a*a*(o=1-i)+i,e[1]=s*a*o+l*n,e[2]=l*a*o-s*n,e[3]=0,e[4]=a*s*o-l*n,e[5]=s*s*o+i,e[6]=l*s*o+a*n,e[7]=0,e[8]=a*l*o+s*n,e[9]=s*l*o-a*n,e[10]=l*l*o+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});var Os=ys;function js(){var e=new ds(3);return ds!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function Ss(e){var t=new ds(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Ms(e){return Math.hypot(e[0],e[1],e[2])}function ks(e,t,r){var n=new ds(3);return n[0]=e,n[1]=t,n[2]=r,n}function Ps(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function Ts(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function Es(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function Cs(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function Ls(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function As(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function Ds(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function Is(e,t){var r=t[0],n=t[1],i=t[2],o=r*r+n*n+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e}function Ns(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Rs(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[0],s=r[1],l=r[2];return e[0]=i*l-o*s,e[1]=o*a-n*l,e[2]=n*s-i*a,e}function zs(e,t,r){var n=t[0],i=t[1],o=t[2],a=r[3]*n+r[7]*i+r[11]*o+r[15];return e[0]=(r[0]*n+r[4]*i+r[8]*o+r[12])/(a=a||1),e[1]=(r[1]*n+r[5]*i+r[9]*o+r[13])/a,e[2]=(r[2]*n+r[6]*i+r[10]*o+r[14])/a,e}function Fs(e,t,r){var n=r[0],i=r[1],o=r[2],a=t[0],s=t[1],l=t[2],c=i*l-o*s,u=o*
2a-n*l,d=n*s-i*a,f=i*d-o*u,p=o*c-n*d,h=n*u-i*c,m=2*r[3];return u*=m,d*=m,p*=2,h*=2,e[0]=a+(c*=m)+(f*=2),e[1]=s+u+p,e[2]=l+d+h,e}var Bs,Ys=Ts,Us=Es,Hs=Ms;function $s(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function Ws(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=r*r+n*n+i*i+o*o;return a>0&&(a=1/Math.sqrt(a)),e[0]=r*a,e[1]=n*a,e[2]=i*a,e[3]=o*a,e}function Vs(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*a,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*a,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*a,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*a,e}function qs(){var e=new ds(4);return ds!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function Gs(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}function Zs(e,t,r){r*=.5;var n=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(r),l=Math.cos(r);return e[0]=n*l+a*s,e[1]=i*l+o*s,e[2]=o*l-i*s,e[3]=a*l-n*s,e}function Xs(e,t,r){r*=.5;var n=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(r),l=Math.cos(r);return e[0]=n*l-o*s,e[1]=i*l+a*s,e[2]=o*l+n*s,e[3]=a*l-i*s,e}js(),Bs=new ds(4),ds!=Float32Array&&(Bs[0]=0,Bs[1]=0,Bs[2]=0,Bs[3]=0);var Js=Ws;js(),ks(1,0,0),ks(0,1,0),qs(),qs(),fs();const Ks=Bo([{type:"Float32",name:"a_globe_pos",components:3},{type:"Float32",name:"a_uv",components:2}]),{members:Qs}=Ks,el=Bo([{name:"a_pos_3",components:3,type:"Int16"}]);var tl=Bo([{name:"a_pos",type:"Int16",components:2}]);class rl{constructor(e,t){this.pos=e,this.dir=t}intersectsPlane(e,t,r){const n=Ns(t,this.dir);if(Math.abs(n)<1e-6)return!1;const i=((e[0]-this.pos[0])*t[0]+(e[1]-this.pos[1])*t[1]+(e[2]-this.pos[2])*t[2])/n;return r[0]=this.pos[0]+this.dir[0]*i,r[1]=this.pos[1]+this.dir[1]*i,r[2]=this.pos[2]+this.dir[2]*i,!0}closestPointOnSphere(e,t,r){if(function(e,t){var r=e[0],n=e[1],i=e[2],o=t[0],a=t[1],s=t[2];return Math.abs(r-o)<=us*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-a)<=us*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-s)<=us*Math.max(1,Math.abs(i),Math.abs(s))}(this.pos,e)||0===t)return r[0]=r[1]=r[2]=0,!1;const[n,i,o]=this.dir,a=this.pos[0]-e[0],s=this.pos[1]-e[1],l=this.pos[2]-e[2],c=n*n+i*i+o*o,u=2*(a*n+s*i+l*o),d=u*u-4*c*(a*a+s*s+l*l-t*t);if(d<0){const e=Math.max(-u/2,0),c=a+n*e,d=s+i*e,f=l+o*e,p=Math.hypot(c,d,f);return r[0]=c*t/p,r[1]=d*t/p,r[2]=f*t/p,!1}{const e=(-u-Math.sqrt(d))/(2*c);if(e<0){const e=Math.hypot(a,s,l);return r[0]=a*t/e,r[1]=s*t/e,r[2]=l*t/e,!1}return r[0]=a+n*e,r[1]=s+i*e,r[2]=l+o*e,!0}}}class nl{constructor(e,t,r,n,i){this.TL=e,this.TR=t,this.BR=r,this.BL=n,this.horizon=i}static fromInvProjectionMatrix(e,t,r){const n=[-1,1,1],i=[1,1,1],o=[1,-1,1],a=[-1,-1,1],s=zs(n,n,e),l=zs(i,i,e),c=zs(o,o,e),u=zs(a,a,e);return new nl(s,l,c,u,t/r)}}class il{constructor(e,t){this.points=e,this.planes=t}static fromInvProjectionMatrix(e,t,r,n){const i=Math.pow(2,r),o=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(r=>{const o=Vs([],r,e),a=1/o[3]/t*i;return function(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}(o,o,[a,a,n?1/o[3]:a,a])}),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(e=>{const t=Is([],Rs([],Ys([],o[e[0]],o[e[1]]),Ys([],o[e[2]],o[e[1]]))),r=-Ns(t,o[e[1]]);return t.concat(r)});return new il(o,a)}}class ol{static fromPoints(e){const t=[1/0,1/0,1/0],r=[-1/0,-1/0,-1/0];for(const n of e)Cs(t,t,n),Ls(r,r,n);return new ol(t,r)}static applyTransform(e,t){const r=e.getCorners();for(let e=0;e<r.length;++e)zs(r[e],r[e],t);return ol.fromPoints(r)}constructor(e,t){this.min=e,this.max=t,this.center=As([],Ps([],this.min,this.max),.5)}quadrant(e){const t=[e%2==0,e<2],r=Ss(this.min),n=Ss(this.max);for(let e=0;e<t.length;e++)r[e]=t[e]?this.min[e]:this.center[e],n[e]=t[e]?this.center[e]:this.max[e];return n[2]=this.max[2],new ol(r,n)}distanceX(e){return Math.max(Math.min(this.max[0],e[0]),this.min[0])-e[0]}distanceY(e){return Math.max(Math.min(this.max[1],e[1]),this.min[1])-e[1]}distanceZ(e){return Math.max(Math.min(this.max[2],e[2]),this.min[2])-e[2]}getCorners(){const e=this.min,t=this.max;return[[e[0],e[1],e[2]],[t[0],e[1],e[2]],[t[0],t[1],e[2]],[e[0],t[1],e[2]],[e[0],e[1],t[2]],[t[0],e[1],t[2]],[t[0],t[1],t[2]],[e[0],t[1],t[2]]]}intersects(e){const t=this.getCorners();let r=!0;for(let n=0;
2n<e.planes.length;n++){const i=e.planes[n];let o=0;for(let e=0;e<t.length;e++)o+=Ns(i,t[e])+i[3]>=0;if(0===o)return 0;o!==t.length&&(r=!1)}if(r)return 2;for(let t=0;t<3;t++){let r=Number.MAX_VALUE,n=-Number.MAX_VALUE;for(let i=0;i<e.points.length;i++){const o=e.points[i][t]-this.min[t];r=Math.min(r,o),n=Math.max(n,o)}if(n<0||r>this.max[t]-this.min[t])return 0}return 1}}const al=5,sl=6,ll=ls/Math.PI/2,cl=16383,ul=64,dl=[ul,32,16],fl=-ll,pl=ll,hl=[new ol([fl,fl,fl],[pl,pl,pl]),new ol([fl,fl,fl],[0,0,pl]),new ol([0,fl,fl],[pl,0,pl]),new ol([fl,0,fl],[0,pl,pl]),new ol([0,0,fl],[pl,pl,pl])];function ml(e){return e*ll/Bl}function yl(e,t,r,n=!0){const i=As([],e._camera.position,e.worldSize),o=[t,r,1,1];Vs(o,o,e.pixelMatrixInverse),$s(o,o,1/o[3]);const a=Is([],Ys([],o,i)),s=e.globeMatrix,l=[s[12],s[13],s[14]],c=Ys([],l,i),u=Ms(c),d=Is([],c),f=e.worldSize/(2*Math.PI),p=Ns(d,a),h=Math.asin(f/u);if(h<Math.acos(p)){if(!n)return null;const e=[],t=[];As(e,a,u/p),Is(t,Ys(t,e,c)),Is(a,Ps(a,c,As(a,t,Math.tan(h)*u)))}const m=[];new rl(i,a).closestPointOnSphere(l,f,m);const y=Is([],Q(s,0)),g=Is([],Q(s,1)),v=Is([],Q(s,2)),b=Ns(y,m),_=Ns(g,m),x=Ns(v,m),w=O(Math.asin(-_/f));let j=O(Math.atan2(b,x));j=e.center.lng+function(e,t){const r=(t-e+180)%360-180;return r<-180?r+360:r}(e.center.lng,j);const S=Wl(j),M=P(Vl(w),0,1);return new Ql(S,M)}class gl{constructor(e,t,r){this.a=Ys([],e,r),this.b=Ys([],t,r),this.center=r;const n=Is([],this.a),i=Is([],this.b);this.angle=Math.acos(Ns(n,i))}}function vl(e,t){if(0===e.angle)return null;let r;return r=0===e.a[t]?1/e.angle*.5*Math.PI:1/e.angle*Math.atan(e.b[t]/e.a[t]/Math.sin(e.angle)-1/Math.tan(e.angle)),r<0||r>1?null:function(e,t,r,n){const i=Math.sin(r);return e*(Math.sin((1-n)*r)/i)+t*(Math.sin(n*r)/i)}(e.a[t],e.b[t],e.angle,P(r,0,1))+e.center[t]}function bl(e){if(e.z<=1)return hl[e.z+2*e.y+e.x];const t=Sl(jl(e));return ol.fromPoints(t)}function _l(e,t,r){return As(e,e,1-r),Ds(e,e,t,r)}function xl(e,t){const r=Dl(t.zoom);if(0===r)return bl(e);const n=jl(e),i=Sl(n),o=Wl(n.getWest())*t.worldSize,a=Wl(n.getEast())*t.worldSize,s=Vl(n.getNorth())*t.worldSize,l=Vl(n.getSouth())*t.worldSize,c=[o,s,0],u=[a,s,0],d=[o,l,0],f=[a,l,0],p=ms([],t.globeMatrix);return zs(c,c,p),zs(u,u,p),zs(d,d,p),zs(f,f,p),i[0]=_l(i[0],d,r),i[1]=_l(i[1],f,r),i[2]=_l(i[2],u,r),i[3]=_l(i[3],c,r),ol.fromPoints(i)}function wl(e,t,r){for(const n of e)zs(n,n,t),As(n,n,r)}function Ol(e,t,r){const n=t/e.worldSize,i=e.globeMatrix;if(r.z<=1){const e=bl(r).getCorners();return wl(e,i,n),ol.fromPoints(e)}const o=jl(r),a=Sl(o);wl(a,i,n);const s=Number.MAX_VALUE,l=[-s,-s,-s],c=[s,s,s];if(o.contains(e.center)){for(const e of a)Cs(c,c,e),Ls(l,l,e);l[2]=0;const t=e.point,r=[t.x*n,t.y*n,0];return Cs(c,c,r),Ls(l,l,r),new ol(c,l)}const u=[i[12]*n,i[13]*n,i[14]*n],d=o.getCenter(),f=P(e.center.lat,-Jl,Jl),p=P(d.lat,-Jl,Jl),h=Wl(e.center.lng),m=Vl(f);let y=h-Wl(d.lng);const g=m-Vl(p);y>.5?y-=1:y<-.5&&(y+=1);let v=0;Math.abs(y)>Math.abs(g)?v=y>=0?1:3:(v=g>=0?0:2,Ds(u,u,[i[4]*n,i[5]*n,i[6]*n],-Math.sin(w(g>=0?o.getSouth():o.getNorth()))*ll));const b=a[v],_=a[(v+1)%4],x=new gl(b,_,u),O=[vl(x,0)||b[0],vl(x,1)||b[1],vl(x,2)||b[2]],j=Dl(e.zoom);if(j>0){const n=function({x:e,y:t,z:r},n,i,o,a){const s=1/(1<<r);let l=e*s,c=l+s,u=t*s,d=u+s,f=0;const p=(l+c)/2-o;return p>.5?f=-1:p<-.5&&(f=1),l=((l+f)*n-(o*=n))*i+o,c=((c+f)*n-o)*i+o,u=(u*n-(a*=n))*i+a,d=(d*n-a)*i+a,[[l,d,0],[c,d,0],[c,u,0],[l,u,0]]}(r,t,e._pixelsPerMercatorPixel,h,m);for(let e=0;e<a.length;e++)_l(a[e],n[e],j);const i=Ps([],n[v],n[(v+1)%4]);As(i,i,.5),_l(O,i,j)}for(const e of a)Cs(c,c,e),Ls(l,l,e);return c[2]=Math.min(b[2],_[2]),Cs(c,c,O),Ls(l,l,O),new ol(c,l)}function jl({x:e,y:t,z:r}){const n=1/(1<<r),i=new Hl(Gl(e*n),Zl((t+1)*n)),o=new Hl(Gl((e+1)*n),Zl(t*n));return new cs(i,o)}function Sl(e){const t=w(e.getNorth()),r=w(e.getSouth()),n=Math.cos(t),i=Math.cos(r),o=Math.sin(t),a=Math.sin(r),s=e.getWest(),l=e.getEast();return[Ml(i,a,s),Ml(i,a,l),Ml(n,o,l),Ml(n,o,s)]}function Ml(e,t,r,n=ll){return r=w(r),[e*Math.sin(r)*n,-t*n,e*Math.cos(r)*n]}function kl(e,t,r){return Ml(Math.cos(w(e)),Math.sin(w(e)),t,r)}
2function Pl(e,t,r,n){const i=1<<r.z,o=(e/ls+r.x)/i;return kl(Zl((t/ls+r.y)/i),Gl(o),n)}function Tl({min:e,max:t}){return cl/Math.max(t[0]-e[0],t[1]-e[1],t[2]-e[2])}const El=new Float64Array(16);function Cl(e){const t=Tl(e),r=xs(El,[t,t,t]);return gs(r,r,((n=[])[0]=-(i=e.min)[0],n[1]=-i[1],n[2]=-i[2],n));var n,i}function Ll(e){const t=(n=e.min,(r=El)[0]=1,r[1]=0,r[2]=0,r[3]=0,r[4]=0,r[5]=1,r[6]=0,r[7]=0,r[8]=0,r[9]=0,r[10]=1,r[11]=0,r[12]=n[0],r[13]=n[1],r[14]=n[2],r[15]=1,r);var r,n;const i=1/Tl(e);return vs(t,t,[i,i,i])}function Al(e,t,r,n,i){const o=function(e){const t=ls/(2*Math.PI);return e/(2*Math.PI)/t}(r),a=[e,t,-r/(2*Math.PI)],s=hs(new Float64Array(16));return gs(s,s,a),vs(s,s,[o,o,o]),bs(s,s,w(-i)),_s(s,s,w(-n)),s}function Dl(e){return T(al,sl,e)}function Il(e,t){const r=kl(t.lat,t.lng),n=function(e){const t=kl(e._center.lat,e._center.lng);let r=Rs([],ks(0,1,0),t);const n=ws([],-e.angle,t);r=zs(r,r,n),ws(n,-e._pitch,r);const i=Is([],t);return As(i,i,ml(e.cameraToCenterDistance/e.pixelsPerMeter)),zs(i,i,n),Ps([],t,i)}(e);return a=(i=Ts([],n,r))[0],s=i[1],l=i[2],c=(o=r)[0],u=o[1],d=o[2],p=(f=Math.sqrt(a*a+s*s+l*l)*Math.sqrt(c*c+u*u+d*d))&&Ns(i,o)/f,Math.acos(Math.min(Math.max(p,-1),1));var i,o,a,s,l,c,u,d,f,p}function Nl(e,t){return Il(e,t)>Math.PI/2*1.01}const Rl=w(85),zl=Math.cos(Rl),Fl=Math.sin(Rl),Bl=6371008.8,Yl=2*Math.PI*Bl;class Ul{constructor(e,t){if(isNaN(e)||isNaN(t))throw new Error(`Invalid LngLat object: (${e}, ${t})`);if(this.lng=+e,this.lat=+t,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new Ul(E(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(e){const t=Math.PI/180,r=this.lat*t,n=e.lat*t,i=Math.sin(r)*Math.sin(n)+Math.cos(r)*Math.cos(n)*Math.cos((e.lng-this.lng)*t);return Bl*Math.acos(Math.min(i,1))}toBounds(e=0){const t=360*e/40075017,r=t/Math.cos(Math.PI/180*this.lat);return new cs(new Ul(this.lng-r,this.lat-t),new Ul(this.lng+r,this.lat+t))}toEcef(e){const t=ml(e);return kl(this.lat,this.lng,ll+t)}static convert(e){if(e instanceof Ul)return e;if(Array.isArray(e)&&(2===e.length||3===e.length))return new Ul(Number(e[0]),Number(e[1]));if(!Array.isArray(e)&&"object"==typeof e&&null!==e)return new Ul(Number("lng"in e?e.lng:e.lon),Number(e.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")}}var Hl=Ul;function $l(e){return Yl*Math.cos(e*Math.PI/180)}function Wl(e){return(180+e)/360}function Vl(e){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e*Math.PI/360)))/360}function ql(e,t){return e/$l(t)}function Gl(e){return 360*e-180}function Zl(e){return 360/Math.PI*Math.atan(Math.exp((180-360*e)*Math.PI/180))-90}function Xl(e,t){return e*$l(Zl(t))}const Jl=85.051129;function Kl(e){return 1/Math.cos(e*Math.PI/180)}class Ql{constructor(e,t,r=0){this.x=+e,this.y=+t,this.z=+r}static fromLngLat(e,t=0){const r=Hl.convert(e);return new Ql(Wl(r.lng),Vl(r.lat),ql(t,r.lat))}toLngLat(){return new Hl(Gl(this.x),Zl(this.y))}toAltitude(){return Xl(this.z,this.y)}meterInMercatorCoordinateUnits(){return 1/Yl*Kl(Zl(this.y))}}function ec(e,t,r,n,i,o,a,s,l){const c=(t+n)/2,u=(r+i)/2,d=new b(c,u);s(d),function(e,t,r,n,i,o){const a=r-i,s=n-o;return Math.abs((n-t)*a-(r-e)*s)/Math.hypot(a,s)}(d.x,d.y,o.x,o.y,a.x,a.y)>=l?(ec(e,t,r,c,u,o,d,s,l),ec(e,c,u,n,i,d,a,s,l)):e.push(a)}function tc(e,t,r){let n=e[0],i=n.x,o=n.y;t(n);const a=[n];for(let s=1;s<e.length;s++){const l=e[s],{x:c,y:u}=l;t(l),ec(a,i,o,c,u,n,l,t,r),i=c,o=u,n=l}return a}function rc(e,t,r,n){if(n(t,r)){const i=t.add(r)._mult(.5);rc(e,t,i,n),rc(e,i,r,n)}else e.push(r)}function nc(e,t){let r=e[0];const n=[r];for(let i=1;i<e.length;i++){const o=e[i];rc(n,r,o,t),r=o}return n}const ic=Math.pow(2,14)-1,oc=-ic-1;function ac(e,t){const r=Math.round(e.x*t),n=Math.round(e.y*t);return e.x=P(r,oc,ic),e.y=P(n,oc,ic),(r<e.x||r>e.x+1||n<e.y||n>e.y+1)&&W("Geometry exceeds allowed extent, reduce your vector tile buffer size"),e}function sc(e,t,r){const n=e.loadGeometry(),i=e.extent,o=ls/i;if(t&&r&&r.projection.isReprojectedInTileSpace){const o=1<<t.z,{scale:a,x:s,y:l,projection:c}=r,u=e=>{const r=Gl((t.x+e.x/i)/o),n=Zl((t.y+e.y/i)/o),u=c.project(r,n);e.x=(u.x*a-s)*i,e.y=(u.y*a-l)*i};for(let t=0;t<n.length;t++)if(1!==e.type)n[t]=tc(n[t],u,1);else{const e=[];for(const r of n[t])r.x<0||r.x>=i||r.y<0||r.y>=i||(u(r),e.push(r));n[t]=e}}for(const e of n)for(const t of e)ac(t,o);return n}function lc(e,t){return{type:e.type,id:e.id,properties:e.properties,geometry:t?sc(e):[]}}function cc(e,t,r,n,i){e.emplaceBack(2*t+(n+1)/2,2*r+(i+1)/2)}function uc(e,t,r){const n=16384;e.emplaceBack(t.x,t.y,t.z,r[0]*n,r[1]*n,r[2]*n)}class dc{constructor(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(e=>e.id),this.index=e.index,this.hasPattern=!1,this.projection=e.projection,this.layoutVertexArray=new Uo,this.indexArray=new ia,this.segments=new ss,this.programConfigurations=new Ja(e.layers,e.zoom),this.stateDependentLayerIds=this.layers.filter(e=>e.isStateDependent()).map(e=>e.id)}populate(e,t,r,n){const i=this.layers[0],o=[];let a=null;
vendor: 10,150 bytes, line 2
2"circle"===i.type&&(a=i.layout.get("circle-sort-key"));for(const{feature:t,id:i,index:s,sourceLayerIndex:l}of e){const e=this.layers[0]._featureFilter.needGeometry,c=lc(t,e);if(!this.layers[0]._featureFilter.filter(new Oo(this.zoom),c,r))continue;const u=a?a.evaluate(c,{},r):void 0,d={id:i,properties:t.properties,type:t.type,sourceLayerIndex:l,index:s,geometry:e?c.geometry:sc(t,r,n),patterns:{},sortKey:u};o.push(d)}a&&o.sort((e,t)=>e.sortKey-t.sortKey);let s=null;"globe"===n.projection.name&&(this.globeExtVertexArray=new Zo,s=n.projection);for(const n of o){const{geometry:i,index:o,sourceLayerIndex:a}=n,l=e[o].feature;this.addFeature(n,i,o,t.availableImages,r,s),t.featureIndex.insert(l,i,o,a,this.index)}}update(e,t,r,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r,n)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,os.members),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.globeExtVertexArray&&(this.globeExtVertexBuffer=e.createVertexBuffer(this.globeExtVertexArray,as.members))),this.programConfigurations.upload(e),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.globeExtVertexBuffer&&this.globeExtVertexBuffer.destroy())}addFeature(e,t,r,n,i,o){for(const r of t)for(const t of r){const r=t.x,n=t.y;if(r<0||r>=ls||n<0||n>=ls)continue;if(o){const e=o.projectTilePoint(r,n,i),t=o.upVector(i,r,n),a=this.globeExtVertexArray;uc(a,e,t),uc(a,e,t),uc(a,e,t),uc(a,e,t)}const a=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,e.sortKey),s=a.vertexLength;cc(this.layoutVertexArray,r,n,-1,-1),cc(this.layoutVertexArray,r,n,1,-1),cc(this.layoutVertexArray,r,n,1,1),cc(this.layoutVertexArray,r,n,-1,1),this.indexArray.emplaceBack(s,s+1,s+2),this.indexArray.emplaceBack(s,s+2,s+3),a.vertexLength+=4,a.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,{},n,i)}}function fc(e,t){for(let r=0;r<e.length;r++)if(xc(t,e[r]))return!0;for(let r=0;r<t.length;r++)if(xc(e,t[r]))return!0;return!!yc(e,t)}function pc(e,t,r){return!!xc(e,t)||!!vc(t,e,r)}function hc(e,t){if(1===e.length)return _c(t,e[0]);for(let r=0;r<t.length;r++){const n=t[r];for(let t=0;t<n.length;t++)if(xc(e,n[t]))return!0}for(let r=0;r<e.length;r++)if(_c(t,e[r]))return!0;for(let r=0;r<t.length;r++)if(yc(e,t[r]))return!0;return!1}function mc(e,t,r){if(e.length>1){if(yc(e,t))return!0;for(let n=0;n<t.length;n++)if(vc(t[n],e,r))return!0}for(let n=0;n<e.length;n++)if(vc(e[n],t,r))return!0;return!1}function yc(e,t){if(0===e.length||0===t.length)return!1;for(let r=0;r<e.length-1;r++){const n=e[r],i=e[r+1];for(let e=0;e<t.length-1;e++)if(gc(n,i,t[e],t[e+1]))return!0}return!1}function gc(e,t,r,n){return V(e,r,n)!==V(t,r,n)&&V(e,t,r)!==V(e,t,n)}function vc(e,t,r){const n=r*r;if(1===t.length)return e.distSqr(t[0])<n;for(let r=1;r<t.length;r++)if(bc(e,t[r-1],t[r])<n)return!0;return!1}function bc(e,t,r){const n=t.distSqr(r);if(0===n)return e.distSqr(t);const i=((e.x-t.x)*(r.x-t.x)+(e.y-t.y)*(r.y-t.y))/n;return e.distSqr(i<0?t:i>1?r:r.sub(t)._mult(i)._add(t))}function _c(e,t){let r,n,i,o=!1;for(let a=0;a<e.length;a++){r=e[a];for(let e=0,a=r.length-1;e<r.length;a=e++)n=r[e],i=r[a],n.y>t.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(o=!o)}return o}function xc(e,t){let r=!1;for(let n=0,i=e.length-1;n<e.length;i=n++){const o=e[n],a=e[i];o.y>t.y!=a.y>t.y&&t.x<(a.x-o.x)*(t.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function wc(e,t,r,n,i){for(const o of e)if(t<=o.x&&r<=o.y&&n>=o.x&&i>=o.y)return!0;const o=[new b(t,r),new b(t,i),new b(n,i),new b(n,r)];if(e.length>2)for(const t of o)if(xc(e,t))return!0;for(let t=0;t<e.length-1;t++)if(Oc(e[t],e[t+1],o))return!0;return!1}function Oc(e,t,r){const n=r[0],i=r[2];if(e.x<n.x&&t.x<n.x||e.x>i.x&&t.x>i.x||e.y<n.y&&t.y<n.y||e.y>i.y&&t.y>i.y)return!1;const o=V(e,t,r[0]);return o!==V(e,t,r[1])||o!==V(e,t,r[2])||o!==V(e,t,r[3])}function jc(e,t,r){const n=t.paint.get(e).value;return"constant"===n.kind?n.value:r.programConfigurations.get(t.id).getMaxValue(e)}function Sc(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Mc(e,t,r,n,i){if(!t[0]&&!t[1])return e;const o=b.convert(t)._mult(i);"viewport"===r&&o._rotate(-n);const a=[];for(let t=0;t<e.length;t++)a.push(e[t].sub(o));return a}function kc(e,t,r,n){const i=b.convert(e)._mult(n);return"viewport"===t&&i._rotate(-r),i}Xi(dc,"CircleBucket",{omit:["layers"]});const Pc=new Io({"circle-sort-key":new Ao(tt.layout_circle["circle-sort-key"])});var Tc={paint:new Io({"circle-radius":new Ao(tt.paint_circle["circle-radius"]),"circle-color":new Ao(tt.paint_circle["circle-color"]),"circle-blur":new Ao(tt.paint_circle["circle-blur"]),"circle-opacity":new Ao(tt.paint_circle["circle-opacity"]),"circle-translate":new Lo(tt.paint_circle["circle-translate"]),"circle-translate-anchor":new Lo(tt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Lo(tt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Lo(tt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Ao(tt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Ao(tt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Ao(tt.paint_circle["circle-stroke-opacity"])}),layout:Pc};function Ec(e,t,r,n,i,o,a,s,l){if(o&&e.queryGeometry.isAboveHorizon)return!1;o&&(l*=e.pixelToTileUnitsFactor);const c=e.tileID.canonical,u=r.projection.upVectorScale(c,r.center.lat,r.worldSize).metersToTile;for(const d of t)for(const t of d){const d=t.add(s),f=i&&r.elevation?r.elevation.exaggeration()*i.getElevationAt(d.x,d.y,!0):0,p=r.projection.projectTilePoint(d.x,d.y,c);if(f>0){const e=r.projection.upVector(c,d.x,d.y);p.x+=e[0]*u*f,p.y+=e[1]*u*f,p.z+=e[2]*u*f}const h=o?d:Cc(p.x,p.y,p.z,n),m=o?e.tilespaceRays.map(e=>Dc(e,f)):e.queryGeometry.screenGeometry,y=Vs([],[p.x,p.y,p.z,1],n);if(!a&&o?l*=y[3]/r.cameraToCenterDistance:a&&!o&&(l*=r.cameraToCenterDistance/y[3]),o){const e=Zl((t.y/ls+c.y)/(1<<c.z));l/=r.projection.pixelsPerMeter(e,1)/ql(1,e)}if(pc(m,h,l))return!0}return!1}function Cc(e,t,r,n){const i=Vs([],[e,t,r,1],n);return new b(i[0]/i[3],i[1]/i[3])}const Lc=ks(0,0,0),Ac=ks(0,0,1);function Dc(e,t){const r=js();return Lc[2]=t,e.intersectsPlane(Lc,Ac,r),new b(r[0],r[1])}class Ic extends dc{}function Nc(e,{width:t,height:r},n,i){if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==t*r*n)throw new RangeError("mismatched image size")}else i=new Uint8Array(t*r*n);return e.width=t,e.height=r,e.data=i,e}function Rc(e,t,r){const{width:n,height:i}=t;n===e.width&&i===e.height||(zc(e,t,{x:0,y:0},{x:0,y:0},{width:Math.min(e.width,n),height:Math.min(e.height,i)},r),e.width=n,e.height=i,e.data=t.data)}function zc(e,t,r,n,i,o){if(0===i.width||0===i.height)return t;if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError("out of range destination coordinates for image copy");const a=e.data,s=t.data;for(let l=0;l<i.height;l++){const c=((r.y+l)*e.width+r.x)*o,u=((n.y+l)*t.width+n.x)*o;for(let e=0;e<i.width*o;e++)s[u+e]=a[c+e]}return t}Xi(Ic,"HeatmapBucket",{omit:["layers"]});class Fc{constructor(e,t){Nc(this,e,1,t)}resize(e){Rc(this,new Fc(e),1)}clone(){return new Fc({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(e,t,r,n,i){zc(e,t,r,n,i,1)}}class Bc{constructor(e,t){Nc(this,e,4,t)}resize(e){Rc(this,new Bc(e),4)}replace(e,t){t?this.data.set(e):this.data=e instanceof Uint8ClampedArray?new Uint8Array(e.buffer):e}clone(){return new Bc({width:this.width,height:this.height},new Uint8Array(this.data))}static copy(e,t,r,n,i){zc(e,t,r,n,i,4)}}Xi(Fc,"AlphaImage"),Xi(Bc,"RGBAImage");var Yc={paint:new Io({"heatmap-radius":new Ao(tt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Ao(tt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Lo(tt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Do(tt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Lo(tt.paint_heatmap["heatmap-opacity"])})};function Uc(e){const t={},r=e.resolution||256,n=e.clips?e.clips.length:1,i=e.image||new Bc({width:r,height:n}),o=(r,n,o)=>{t[e.evaluationKey]=o;const a=e.expression.evaluate(t);i.data[r+n+0]=Math.floor(255*a.r/a.a),i.data[r+n+1]=Math.floor(255*a.g/a.a),i.data[r+n+2]=Math.floor(255*a.b/a.a),i.data[r+n+3]=Math.floor(255*a.a)};if(e.clips)for(let t=0,i=0;t<n;++t,i+=4*r)for(let n=0,a=0;n<r;n++,a+=4){const s=n/(r-1),{start:l,end:c}=e.clips[t];o(i,a,l*(1-s)+c*s)}else for(let e=0,t=0;e<r;e++,t+=4)o(0,t,e/(r-1));return i}var Hc={paint:new Io({"hillshade-illumination-direction":new Lo(tt.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Lo(tt.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Lo(tt.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Lo(tt.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Lo(tt.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Lo(tt.paint_hillshade["hillshade-accent-color"])})};const $c=Bo([{name:"a_pos",components:2,type:"Int16"}],4),{members:Wc}=$c;var Vc={exports:{}};function qc(e,t,r){r=r||2;var n,i,o,a,s,l,c,u=t&&t.length,d=u?t[0]*r:e.length,f=Gc(e,0,d,r,!0),p=[];if(!f||f.next===f.prev)return p;if(u&&(f=function(e,t,r,n){var i,o,a,s=[];for(i=0,o=t.length;i<o;i++)(a=Gc(e,t[i]*n,i<o-1?t[i+1]*n:e.length,n,!1))===a.next&&(a.steiner=!0),s.push(ou(a));for(s.sort(tu),i=0;i<s.length;i++)r=ru(s[i],r);return r}(e,t,f,r)),e.length>80*r){n=o=e[0],i=a=e[1];for(var h=r;h<d;h+=r)(s=e[h])<n&&(n=s),(l=e[h+1])<i&&(i=l),s>o&&(o=s),l>a&&(a=l);c=0!==(c=Math.max(o-n,a-i))?32767/c:0}return Xc(f,p,r,n,i,c,0),p}function Gc(e,t,r,n,i){var o,a;if(i===vu(e,t,r,n)>0)for(o=t;o<r;
vendor: 3,955 bytes, line 2
2o+=n)a=mu(o,e[o],e[o+1],a);else for(o=r-n;o>=t;o-=n)a=mu(o,e[o],e[o+1],a);return a&&cu(a,a.next)&&(yu(a),a=a.next),a}function Zc(e,t){if(!e)return e;t||(t=e);var r,n=e;do{if(r=!1,n.steiner||!cu(n,n.next)&&0!==lu(n.prev,n,n.next))n=n.next;else{if(yu(n),(n=t=n.prev)===n.next)break;r=!0}}while(r||n!==t);return t}function Xc(e,t,r,n,i,o,a){if(e){!a&&o&&function(e,t,r,n){var i=e;do{0===i.z&&(i.z=iu(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,r,n,i,o,a,s,l,c=1;do{for(r=e,e=null,o=null,a=0;r;){for(a++,n=r,s=0,t=0;t<c&&(s++,n=n.nextZ);t++);for(l=c;s>0||l>0&&n;)0!==s&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,l--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;r=n}o.nextZ=null,c*=2}while(a>1)}(i)}(e,n,i,o);for(var s,l,c=e;e.prev!==e.next;)if(s=e.prev,l=e.next,o?Kc(e,n,i,o):Jc(e))t.push(s.i/r|0),t.push(e.i/r|0),t.push(l.i/r|0),yu(e),e=l.next,c=l.next;else if((e=l)===c){a?1===a?Xc(e=Qc(Zc(e),t,r),t,r,n,i,o,2):2===a&&eu(e,t,r,n,i,o):Xc(Zc(e),t,r,n,i,o,1);break}}}function Jc(e){var t=e.prev,r=e,n=e.next;if(lu(t,r,n)>=0)return!1;for(var i=t.x,o=r.x,a=n.x,s=t.y,l=r.y,c=n.y,u=i<o?i<a?i:a:o<a?o:a,d=s<l?s<c?s:c:l<c?l:c,f=i>o?i>a?i:a:o>a?o:a,p=s>l?s>c?s:c:l>c?l:c,h=n.next;h!==t;){if(h.x>=u&&h.x<=f&&h.y>=d&&h.y<=p&&au(i,s,o,l,a,c,h.x,h.y)&&lu(h.prev,h,h.next)>=0)return!1;h=h.next}return!0}function Kc(e,t,r,n){var i=e.prev,o=e,a=e.next;if(lu(i,o,a)>=0)return!1;for(var s=i.x,l=o.x,c=a.x,u=i.y,d=o.y,f=a.y,p=s<l?s<c?s:c:l<c?l:c,h=u<d?u<f?u:f:d<f?d:f,m=s>l?s>c?s:c:l>c?l:c,y=u>d?u>f?u:f:d>f?d:f,g=iu(p,h,t,r,n),v=iu(m,y,t,r,n),b=e.prevZ,_=e.nextZ;b&&b.z>=g&&_&&_.z<=v;){if(b.x>=p&&b.x<=m&&b.y>=h&&b.y<=y&&b!==i&&b!==a&&au(s,u,l,d,c,f,b.x,b.y)&&lu(b.prev,b,b.next)>=0)return!1;if(b=b.prevZ,_.x>=p&&_.x<=m&&_.y>=h&&_.y<=y&&_!==i&&_!==a&&au(s,u,l,d,c,f,_.x,_.y)&&lu(_.prev,_,_.next)>=0)return!1;_=_.nextZ}for(;b&&b.z>=g;){if(b.x>=p&&b.x<=m&&b.y>=h&&b.y<=y&&b!==i&&b!==a&&au(s,u,l,d,c,f,b.x,b.y)&&lu(b.prev,b,b.next)>=0)return!1;b=b.prevZ}for(;_&&_.z<=v;){if(_.x>=p&&_.x<=m&&_.y>=h&&_.y<=y&&_!==i&&_!==a&&au(s,u,l,d,c,f,_.x,_.y)&&lu(_.prev,_,_.next)>=0)return!1;_=_.nextZ}return!0}function Qc(e,t,r){var n=e;do{var i=n.prev,o=n.next.next;!cu(i,o)&&uu(i,n,n.next,o)&&pu(i,o)&&pu(o,i)&&(t.push(i.i/r|0),t.push(n.i/r|0),t.push(o.i/r|0),yu(n),yu(n.next),n=e=o),n=n.next}while(n!==e);return Zc(n)}function eu(e,t,r,n,i,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&su(a,s)){var l=hu(a,s);return a=Zc(a,a.next),l=Zc(l,l.next),Xc(a,t,r,n,i,o,0),void Xc(l,t,r,n,i,o,0)}s=s.next}a=a.next}while(a!==e)}function tu(e,t){return e.x-t.x}function ru(e,t){var r=function(e,t){var r,n=t,i=e.x,o=e.y,a=-1/0;do{if(o<=n.y&&o>=n.next.y&&n.next.y!==n.y){var s=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>a&&(a=s,r=n.x<n.next.x?n:n.next,s===i))return r}n=n.next}while(n!==t);if(!r)return null;var l,c=r,u=r.x,d=r.y,f=1/0;n=r;do{i>=n.x&&n.x>=u&&i!==n.x&&au(o<d?i:a,o,u,d,o<d?a:i,o,n.x,n.y)&&(l=Math.abs(o-n.y)/(i-n.x),pu(n,e)&&(l<f||l===f&&(n.x>r.x||n.x===r.x&&nu(r,n)))&&(r=n,f=l)),n=n.next}while(n!==c);return r}(e,t);if(!r)return t;var n=hu(r,e);return Zc(n,n.next),Zc(r,r.next)}function nu(e,t){return lu(e.prev,e,t.prev)<0&&lu(t.next,e,e.next)<0}function iu(e,t,r,n,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function ou(e){var t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function au(e,t,r,n,i,o,a,s){return(i-a)*(t-s)>=(e-a)*(o-s)&&(e-a)*(n-s)>=(r-a)*(t-s)&&(r-a)*(o-s)>=(i-a)*(n-s)}function su(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&uu(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}(e,t)&&(pu(e,t)&&pu(t,e)&&function(e,t){var r=e,n=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{r.y>o!=r.next.y>
vendor: 15,815 bytes, line 2
2o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}(e,t)&&(lu(e.prev,e,t.prev)||lu(e,t.prev,t))||cu(e,t)&&lu(e.prev,e,e.next)>0&&lu(t.prev,t,t.next)>0)}function lu(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function cu(e,t){return e.x===t.x&&e.y===t.y}function uu(e,t,r,n){var i=fu(lu(e,t,r)),o=fu(lu(e,t,n)),a=fu(lu(r,n,e)),s=fu(lu(r,n,t));return i!==o&&a!==s||!(0!==i||!du(e,r,t))||!(0!==o||!du(e,n,t))||!(0!==a||!du(r,e,n))||!(0!==s||!du(r,t,n))}function du(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function fu(e){return e>0?1:e<0?-1:0}function pu(e,t){return lu(e.prev,e,e.next)<0?lu(e,t,e.next)>=0&&lu(e,e.prev,t)>=0:lu(e,t,e.prev)<0||lu(e,e.next,t)<0}function hu(e,t){var r=new gu(e.i,e.x,e.y),n=new gu(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function mu(e,t,r,n){var i=new gu(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function yu(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function gu(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function vu(e,t,r,n){for(var i=0,o=t,a=r-n;o<r;o+=n)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}Vc.exports=qc,Vc.exports.default=qc,qc.deviation=function(e,t,r,n){var i=t&&t.length,o=Math.abs(vu(e,0,i?t[0]*r:e.length,r));if(i)for(var a=0,s=t.length;a<s;a++)o-=Math.abs(vu(e,t[a]*r,a<s-1?t[a+1]*r:e.length,r));var l=0;for(a=0;a<n.length;a+=3){var c=n[a]*r,u=n[a+1]*r,d=n[a+2]*r;l+=Math.abs((e[c]-e[d])*(e[u+1]-e[c+1])-(e[c]-e[u])*(e[d+1]-e[c+1]))}return 0===o&&0===l?0:Math.abs((l-o)/o)},qc.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var a=0;a<t;a++)r.vertices.push(e[i][o][a]);i>0&&r.holes.push(n+=e[i-1].length)}return r};var bu=p(Vc.exports);function _u(e,t,r,n,i){xu(e,t,r||0,n||e.length-1,i||Ou)}function xu(e,t,r,n,i){for(;n>r;){if(n-r>600){var o=n-r+1,a=t-r+1,s=Math.log(o),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1);xu(e,t,Math.max(r,Math.floor(t-a*l/o+c)),Math.min(n,Math.floor(t+(o-a)*l/o+c)),i)}var u=e[t],d=r,f=n;for(wu(e,r,t),i(e[n],u)>0&&wu(e,r,n);d<f;){for(wu(e,d,f),d++,f--;i(e[d],u)<0;)d++;for(;i(e[f],u)>0;)f--}0===i(e[r],u)?wu(e,r,f):wu(e,++f,n),f<=t&&(r=f+1),t<=f&&(n=f-1)}}function wu(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Ou(e,t){return e<t?-1:e>t?1:0}function ju(e,t){const r=e.length;if(r<=1)return[e];const n=[];let i,o;for(let t=0;t<r;t++){const r=q(e[t]);0!==r&&(e[t].area=Math.abs(r),void 0===o&&(o=r<0),o===r<0?(i&&n.push(i),i=[e[t]]):i.push(e[t]))}if(i&&n.push(i),t>1)for(let e=0;e<n.length;e++)n[e].length<=t||(_u(n[e],t,1,n[e].length-1,Su),n[e]=n[e].slice(0,t));return n}function Su(e,t){return t.area-e.area}function Mu(e,t,r){const n=r.patternDependencies;let i=!1;for(const r of t){const t=r.paint.get(`${e}-pattern`);t.isConstant()||(i=!0);const o=t.constantOr(null);o&&(i=!0,n[o]=!0)}return i}function ku(e,t,r,n,i){const o=i.patternDependencies;for(const a of t){const t=a.paint.get(`${e}-pattern`).value;if("constant"!==t.kind){let e=t.evaluate({zoom:n},r,{},i.availableImages);e=e&&e.name?e.name:e,o[e]=!0,r.patterns[a.id]=e}}return r}class Pu{constructor(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(e=>e.id),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Uo,this.indexArray=new ia,this.indexArray2=new ua,this.programConfigurations=new Ja(e.layers,e.zoom),this.segments=new ss,this.segments2=new ss,this.stateDependentLayerIds=this.layers.filter(e=>e.isStateDependent()).map(e=>e.id),this.projection=e.projection}populate(e,t,r,n){this.hasPattern=Mu("fill",this.layers,t);const i=this.layers[0].layout.get("fill-sort-key"),o=[];for(const{feature:a,id:s,index:l,sourceLayerIndex:c}of e){const e=this.layers[0]._featureFilter.needGeometry,u=lc(a,e);if(!this.layers[0]._featureFilter.filter(new Oo(this.zoom),u,r))continue;const d=i?i.evaluate(u,{},r,t.availableImages):void 0,f={id:s,properties:a.properties,type:a.type,sourceLayerIndex:c,index:l,geometry:e?u.geometry:sc(a,r,n),patterns:{},sortKey:d};o.push(f)}i&&o.sort((e,t)=>e.sortKey-t.sortKey);for(const n of o){const{geometry:i,index:o,sourceLayerIndex:a}=n;if(this.hasPattern){const e=ku("fill",this.layers,n,this.zoom,t);this.patternFeatures.push(e)}else this.addFeature(n,i,o,r,{},t.availableImages);t.featureIndex.insert(e[o].feature,i,o,a,this.index)}}update(e,t,r,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r,n)}addFeatures(e,t,r,n,i){for(const e of this.patternFeatures)this.addFeature(e,e.geometry,e.index,t,r,n)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Wc),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.indexBuffer2=e.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(e),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(e,t,r,n,i,o=[]){for(const e of ju(t,500)){let t=0;for(const r of e)t+=r.length;const r=this.segments.prepareSegment(t,this.layoutVertexArray,this.indexArray),n=r.vertexLength,i=[],o=[];for(const t of e){if(0===t.length)continue;t!==e[0]&&o.push(i.length/2);const r=this.segments2.prepareSegment(t.length,this.layoutVertexArray,this.indexArray2),n=r.vertexLength;this.layoutVertexArray.emplaceBack(t[0].x,t[0].y),this.indexArray2.emplaceBack(n+t.length-1,n),i.push(t[0].x),i.push(t[0].y);for(let e=1;e<t.length;e++)this.layoutVertexArray.emplaceBack(t[e].x,t[e].y),this.indexArray2.emplaceBack(n+e-1,n+e),i.push(t[e].x),i.push(t[e].y);r.vertexLength+=t.length,r.primitiveLength+=t.length}const a=bu(i,o);for(let e=0;e<a.length;e+=3)this.indexArray.emplaceBack(n+a[e],n+a[e+1],n+a[e+2]);r.vertexLength+=t,r.primitiveLength+=a.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,o,n)}}Xi(Pu,"FillBucket",{omit:["layers","patternFeatures"]});const Tu=new Io({"fill-sort-key":new Ao(tt.layout_fill["fill-sort-key"])});var Eu={paint:new Io({"fill-antialias":new Lo(tt.paint_fill["fill-antialias"]),"fill-opacity":new Ao(tt.paint_fill["fill-opacity"]),"fill-color":new Ao(tt.paint_fill["fill-color"]),"fill-outline-color":new Ao(tt.paint_fill["fill-outline-color"]),"fill-translate":new Lo(tt.paint_fill["fill-translate"]),"fill-translate-anchor":new Lo(tt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ao(tt.paint_fill["fill-pattern"])}),layout:Tu};const Cu=Bo([{name:"a_pos_normal_ed",components:4,type:"Int16"}]),Lu=Bo([{name:"a_centroid_pos",components:2,type:"Uint16"}]),Au=Bo([{name:"a_pos_3",components:3,type:"Int16"},{name:"a_pos_normal_3",components:3,type:"Int16"}]),{members:Du}=Cu;var Iu={},Nu=g,Ru=zu;function zu(e,t,r,n,i){this.properties={},this.extent=r,this.type=0,this._pbf=e,this._geometry=-1,this._keys=n,this._values=i,e.readFields(Fu,this,t)}function Fu(e,t,r){1==e?t.id=r.readVarint():2==e?function(e,t){for(var r=e.readVarint()+e.pos;e.pos<r;){var n=t._keys[e.readVarint()],i=t._values[e.readVarint()];t.properties[n]=i}}(r,t):3==e?t.type=r.readVarint():4==e&&(t._geometry=r.pos)}function Bu(e){for(var t,r,n=0,i=0,o=e.length,a=o-1;i<o;a=i++)n+=((r=e[a]).x-(t=e[i]).x)*(t.y+r.y);return n}zu.types=["Unknown","Point","LineString","Polygon"],zu.prototype.loadGeometry=function(){var e=this._pbf;e.pos=this._geometry;for(var t,r=e.readVarint()+e.pos,n=1,i=0,o=0,a=0,s=[];e.pos<r;){if(i<=0){var l=e.readVarint();n=7&l,i=l>>3}if(i--,1===n||2===n)o+=e.readSVarint(),a+=e.readSVarint(),1===n&&(t&&s.push(t),t=[]),t.push(new Nu(o,a));else{if(7!==n)throw new Error("unknown command "+n);t&&t.push(t[0].clone())}}return t&&s.push(t),s},zu.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,r=1,n=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,c=-1/0;e.pos<t;){if(n<=0){var u=e.readVarint();r=7&u,n=u>>3}if(n--,1===r||2===r)(i+=e.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=e.readSVarint())<l&&(l=o),o>c&&(c=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,c]},zu.prototype.toGeoJSON=function(e,t,r){var n,i,o=this.extent*Math.pow(2,r),a=this.extent*e,s=this.extent*t,l=this.loadGeometry(),c=zu.types[this.type];function u(e){for(var t=0;t<e.length;t++){var r=e[t];e[t]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp((180-360*(r.y+s)/o)*Math.PI/180))-90]}}switch(this.type){case 1:var d=[];for(n=0;n<l.length;n++)d[n]=l[n][0];u(l=d);break;case 2:for(n=0;n<l.length;n++)u(l[n]);break;case 3:for(l=function(e){var t=e.length;if(t<=1)return[e];for(var r,n,i=[],o=0;o<t;o++){var a=Bu(e[o]);0!==a&&(void 0===n&&(n=a<0),n===a<0?(r&&i.push(r),r=[e[o]]):r.push(e[o]))}return r&&i.push(r),i}(l),n=0;n<l.length;n++)for(i=0;i<l[n].length;i++)u(l[n][i])}1===l.length?l=l[0]:c="Multi"+c;var f={type:"Feature",geometry:{type:c,coordinates:l},properties:this.properties};return"id"in this&&(f.id=this.id),f};var Yu=Ru,Uu=Hu;function Hu(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields($u,this,t),this.length=this._features.length}function $u(e,t,r){15===e?t.version=r.readVarint():1===e?t.name=r.readString():5===e?t.extent=r.readVarint():2===e?t._features.push(r.pos):3===e?t._keys.push(r.readString()):4===e&&t._values.push(function(e){for(var t=null,r=e.readVarint()+e.pos;e.pos<r;){var n=e.readVarint()>>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(r))}Hu.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new Yu(this._pbf,t,this.extent,this._keys,this._values)};var Wu=Uu;function Vu(e,t,r){if(3===e){var n=new Wu(r,r.readVarint()+r.pos);n.length&&(t[n.name]=n)}}var qu=Iu.VectorTile=function(e,t){this.layers=e.readFields(Vu,{},t)},Gu=Iu.VectorTileFeature=Ru;function Zu(e,t,r,n){const i=[],o=0===n?(e,t,r,n,i,o)=>{e.push(new b(o,r+(o-t)/(n-t)*(i-r)))}:(e,t,r,n,i,o)=>{e.push(new b(t+(o-r)/(i-r)*(n-t),o))};for(const a of e){const e=[];for(const i of a){if(i.length<=2)continue;const a=[];for(let e=0;e<i.length-1;e++){const s=i[e].x,l=i[e].y,c=i[e+1].x,u=i[e+1].y,d=0===n?s:l,f=0===n?c:u;d<t?f>t&&o(a,s,l,c,u,t):d>r?f<r&&o(a,s,l,c,u,r):a.push(i[e]),f<t&&d>=t&&o(a,s,l,c,u,t),f>r&&d<=r&&o(a,s,l,c,u,r)}let s=i[i.length-1];const l=0===n?s.x:s.y;l>=t&&l<=r&&a.push(s),a.length&&(s=a[a.length-1],a[0].x===s.x&&a[0].y===s.y||a.push(a[0]),e.push(a))}e.length&&i.push(e)}return i}Iu.VectorTileLayer=Uu;const Xu=Gu.types,Ju=Math.pow(2,13);function Ku(e,t,r,n,i,o,a,s){e.emplaceBack((t<<1)+a,(r<<1)+o,(Math.floor(n*Ju)<<1)+i,Math.round(s))}function Qu(e,t,r){const n=16384;e.emplaceBack(t.x,t.y,t.z,r[0]*n,r[1]*n,r[2]*n)}class ed{constructor(){this.acc=new b(0,0),this.polyCount=[]}startRing(e){this.currentPolyCount={edges:0,top:0},this.polyCount.push(this.currentPolyCount),this.min||(this.min=new b(e.x,e.y),this.max=new b(e.x,e.y))}append(e,t){this.currentPolyCount.edges++,this.acc._add(e);const r=this.min,n=this.max;e.x<r.x?r.x=e.x:e.x>n.x&&(n.x=e.x),e.y<r.y?r.y=e.y:e.y>n.y&&(n.y=e.y),((0===e.x||e.x===ls)&&e.x===t.x)!=((0===e.y||e.y===ls)&&e.y===t.y)&&this.processBorderOverlap(e,t),t.x<0!=e.x<0&&this.addBorderIntersection(0,Lr(t.y,e.y,(0-t.x)/(e.x-t.x))),t.x>ls!=e.x>ls&&this.addBorderIntersection(1,Lr(t.y,e.y,(ls-t.x)/(e.x-t.x))),t.y<0!=e.y<0&&this.addBorderIntersection(2,Lr(t.x,e.x,(0-t.y)/(e.y-t.y))),t.y>ls!=e.y>ls&&this.addBorderIntersection(3,Lr(t.x,e.x,(ls-t.y)/(e.y-t.y)))}addBorderIntersection(e,t){this.borders||(this.borders=[[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE],[Number.MAX_VALUE,-Number.MAX_VALUE]]);const r=this.borders[e];t<r[0]&&(r[0]=t),t>r[1]&&(r[1]=t)}processBorderOverlap(e,t){if(e.x===t.x){if(e.y===t.y)return;const r=0===e.x?0:1;this.addBorderIntersection(r,t.y),this.addBorderIntersection(r,e.y)}else{const r=0===e.y?2:3;this.addBorderIntersection(r,t.x),this.addBorderIntersection(r,e.x)}}centroid(){const e=this.polyCount.reduce((e,t)=>e+t.edges,0);return 0!==e?this.acc.div(e)._round():new b(0,0)}span(){return new b(this.max.x-this.min.x,this.max.y-this.min.y)}intersectsCount(){return this.borders.reduce((e,t)=>e+ +(t[0]!==Number.MAX_VALUE),0)}}class td{constructor(e){this.zoom=e.zoom,this.canonical=e.canonical,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(e=>e.id),this.index=e.index,this.hasPattern=!1,this.edgeRadius=0,this.projection=e.projection,this.layoutVertexArray=new $o,this.centroidVertexArray=new Oa,this.indexArray=new ia,this.programConfigurations=new Ja(e.layers,e.zoom),this.segments=new ss,this.stateDependentLayerIds=this.layers.filter(e=>e.isStateDependent()).map(e=>e.id),this.enableTerrain=e.enableTerrain}populate(e,t,r,n){this.features=[],this.hasPattern=Mu("fill-extrusion",this.layers,t),this.featuresOnBorder=[],this.borders=[[],[],[],[]],this.borderDoneWithNeighborZ=[-1,-1,-1,-1],this.tileToMeter=function(e){const t=Math.exp(Math.PI*(1-e.y/(1<<e.z)*2));return 80150034*t/(t*t+1)/ls/(1<<e.z)}(r),this.edgeRadius=this.layers[0].layout.get("fill-extrusion-edge-radius")/this.tileToMeter;for(const{feature:i,id:o,index:a,sourceLayerIndex:s}of e){const e=this.layers[0]._featureFilter.needGeometry,l=lc(i,e);if(!this.layers[0]._featureFilter.filter(new Oo(this.zoom),l,r))continue;const c={id:o,sourceLayerIndex:s,index:a,geometry:e?l.geometry:sc(i,r,n),properties:i.properties,type:i.type,patterns:{}},u=this.layoutVertexArray.length;this.hasPattern?this.features.push(ku("fill-extrusion",this.layers,c,this.zoom,t)):this.addFeature(c,c.geometry,a,r,{},t.availableImages,n),t.featureIndex.insert(i,c.geometry,a,s,this.index,u)}this.sortBorders()}addFeatures(e,t,r,n,i){for(const e of this.features){const{geometry:o}=e;this.addFeature(e,o,e.index,t,r,n,i)}this.sortBorders()}update(e,t,r,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r,n)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Du),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.layoutVertexExtArray&&(this.layoutVertexExtBuffer=e.createVertexBuffer(this.layoutVertexExtArray,Au.members,!0))),this.programConfigurations.upload(e),this.uploaded=!0}uploadCentroid(e){0!==this.centroidVertexArray.length&&(this.centroidVertexBuffer?this.needsCentroidUpdate&&this.centroidVertexBuffer.updateData(this.centroidVertexArray):this.centroidVertexBuffer=e.createVertexBuffer(this.centroidVertexArray,Lu.members,!0),this.needsCentroidUpdate=!1)}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.centroidVertexBuffer&&this.centroidVertexBuffer.destroy(),this.layoutVertexExtBuffer&&this.layoutVertexExtBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(e,t,r,n,i,o,a){const s=[new b(0,0),new b(ls,ls)],l=a.projection,c="globe"===l.name,u=this.enableTerrain&&!c?
2new ed:null,d="Polygon"===Xu[e.type];c&&!this.layoutVertexExtArray&&(this.layoutVertexExtArray=new Zo);const f=ju(t,500);for(let e=f.length-1;e>=0;e--){const t=f[e];(0===t.length||(p=t[0]).every(e=>e.x<=0)||p.every(e=>e.x>=ls)||p.every(e=>e.y<=0)||p.every(e=>e.y>=ls))&&f.splice(e,1)}var p;let h;if(c)h=cd(f,s,n);else{h=[];for(const e of f)h.push({polygon:e,bounds:s})}const m=d?this.edgeRadius:0;for(const{polygon:e,bounds:t}of h){let r=0,i=0;for(const t of e)d&&!t[0].equals(t[t.length-1])&&t.push(t[0]),i+=d?t.length-1:t.length;const o=this.segments.prepareSegment((d?5:4)*i,this.layoutVertexArray,this.indexArray);if(d){const t=[],i=[];r=o.vertexLength;for(const r of e){let a,s;r.length&&r!==e[0]&&i.push(t.length/2),a=r[1].sub(r[0])._perp()._unit();for(let e=1;e<r.length;e++){const i=r[e],u=r[e===r.length-1?1:e+1];let{x:d,y:f}=i;if(m){s=u.sub(i)._perp()._unit();const e=a.add(s)._unit(),t=m*Math.min(4,1/(a.x*e.x+a.y*e.y));d+=t*e.x,f+=t*e.y,a=s}Ku(this.layoutVertexArray,d,f,0,0,1,1,0),o.vertexLength++,t.push(i.x,i.y),c&&Qu(this.layoutVertexExtArray,l.projectTilePoint(d,f,n),l.upVector(n,d,f))}}const a=bu(t,i);for(let e=0;e<a.length;e+=3)this.indexArray.emplaceBack(r+a[e],r+a[e+2],r+a[e+1]),o.primitiveLength++}for(const i of e){u&&i.length&&u.startRing(i[0]);let e,a,s,f=i.length>4&&ad(i[i.length-2],i[0],i[1]),p=m?nd(i[i.length-2],i[0],i[1],m):0;a=i[1].sub(i[0])._perp()._unit();let h=!0;for(let y=1,g=0;y<i.length;y++){let v=i[y-1],b=i[y];const _=i[y===i.length-1?1:y+1];if(u&&d&&u.currentPolyCount.top++,od(b,v,t)){m&&(a=_.sub(b)._perp()._unit(),h=!h);continue}u&&u.append(b,v);const x=b.sub(v)._perp(),w=x.x/(Math.abs(x.x)+Math.abs(x.y)),O=x.y>0?1:0,j=v.dist(b);if(g+j>32768&&(g=0),m){s=_.sub(b)._perp()._unit();let e=id(v,b,_,rd(a,s),m);isNaN(e)&&(e=0);const t=b.sub(v)._unit();v=v.add(t.mult(p))._round(),b=b.add(t.mult(-e))._round(),p=e,a=s}const S=o.vertexLength,M=i.length>4&&ad(v,b,_);let k=sd(g,f,h);if(Ku(this.layoutVertexArray,v.x,v.y,w,O,0,0,k),Ku(this.layoutVertexArray,v.x,v.y,w,O,0,1,k),g+=j,k=sd(g,M,!h),f=M,Ku(this.layoutVertexArray,b.x,b.y,w,O,0,0,k),Ku(this.layoutVertexArray,b.x,b.y,w,O,0,1,k),o.vertexLength+=4,this.indexArray.emplaceBack(S+0,S+1,S+2),this.indexArray.emplaceBack(S+1,S+3,S+2),o.primitiveLength+=2,m){const n=r+(1===y?i.length-2:y-2),a=1===y?r:n+1;if(this.indexArray.emplaceBack(S+1,n,S+3),this.indexArray.emplaceBack(n,a,S+3),o.primitiveLength+=2,void 0===e&&(e=S),!od(_,i[y],t)){const t=y===i.length-1?e:o.vertexLength;this.indexArray.emplaceBack(S+2,S+3,t),this.indexArray.emplaceBack(S+3,t+1,t),this.indexArray.emplaceBack(S+3,a,t+1),o.primitiveLength+=3}h=!h}if(c){const e=this.layoutVertexExtArray,t=l.projectTilePoint(v.x,v.y,n),r=l.projectTilePoint(b.x,b.y,n),i=l.upVector(n,v.x,v.y),o=l.upVector(n,b.x,b.y);Qu(e,t,i),Qu(e,t,i),Qu(e,r,o),Qu(e,r,o)}}d&&(r+=i.length-1)}}if(u&&u.polyCount.length>0){if(u.borders){u.vertexArrayOffset=this.centroidVertexArray.length;const e=u.borders,t=this.featuresOnBorder.push(u)-1;for(let r=0;r<4;r++)e[r][0]!==Number.MAX_VALUE&&this.borders[r].push(t)}this.encodeCentroid(u.borders?void 0:u.centroid(),u)}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,o,n)}sortBorders(){for(let e=0;e<4;e++)this.borders[e].sort((t,r)=>this.featuresOnBorder[t].borders[e][0]-this.featuresOnBorder[r].borders[e][0])}encodeCentroid(e,t,r=!0){let n,i;if(e)if(0!==e.y){const r=t.span()._mult(this.tileToMeter);n=(Math.max(e.x,1)<<3)+Math.min(7,Math.round(r.x/10)),i=(Math.max(e.y,1)<<3)+Math.min(7,Math.round(r.y/10))}else n=Math.ceil(7*(e.x+450)),i=0;else n=0,i=+r;let o=r?this.centroidVertexArray.length:t.vertexArrayOffset;for(const e of t.polyCount){r&&this.centroidVertexArray.resize(this.centroidVertexArray.length+4*e.edges+e.top);for(let t=0;t<e.top;t++)this.centroidVertexArray.emplace(o++,n,i);for(let t=0;t<2*e.edges;t++)this.centroidVertexArray.emplace(o++,0,i),this.centroidVertexArray.emplace(o++,n,i)}}}function rd(e,t){const r=e.add(t)._unit();return e.x*r.x+e.y*r.y}function nd(e,t,r,n){const i=t.sub(e)._perp()._unit(),o=r.sub(t)._perp()._unit();return id(e,t,r,rd(i,o),n)}function id(e,t,r,n,i){const o=Math.sqrt(1-n*n);return Math.min(e.dist(t)/3,t.dist(r)/3,i*o/n)}function od(e,t,r){return e.x<r[0].x&&t.x<r[0].x||e.x>r[1].x&&t.x>r[1].x||e.y<r[0].y&&t.y<r[0].y||e.y>r[1].y&&t.y>r[1].y}function ad(e,t,r){if(e.x<0||e.x>=ls||t.x<0||t.x>=ls||r.x<0||r.x>=ls)return!1;const n=r.sub(t),i=n.perp(),o=e.sub(t);return(n.x*o.x+n.y*o.y)/Math.sqrt((n.x*n.x+n.y*n.y)*(o.x*o.x+o.y*o.y))>-.866&&i.x*o.x+i.y*o.y<0}function sd(e,t,r){const n=t?2|e:-3&e;return r?1|n:-2&n}
vendor: 4,819 bytes, line 2
2function ld(){const e=Math.PI/32,t=Math.tan(e),r=Bl;return r*Math.sqrt(1+2*t*t)-r}function cd(e,t,r){const n=1<<r.z,i=Gl(r.x/n),o=Gl((r.x+1)/n),a=Zl(r.y/n),s=Zl((r.y+1)/n);return function(e,t,r,n,i=0,o){const a=[];if(!e.length||!r||!n)return a;const s=(e,t)=>{for(const r of e)a.push({polygon:r,bounds:t})},l=Math.ceil(Math.log2(r)),c=Math.ceil(Math.log2(n)),u=l-c,d=[];for(let e=0;e<Math.abs(u);e++)d.push(u>0?0:1);for(let e=0;e<Math.min(l,c);e++)d.push(0),d.push(1);let f=e;if(f=Zu(f,t[0].y-i,t[1].y+i,1),f=Zu(f,t[0].x-i,t[1].x+i,0),!f.length)return a;const p=[];for(d.length?p.push({polygons:f,bounds:t,depth:0}):s(f,t);p.length;){const e=p.pop(),t=e.depth,r=d[t],n=e.bounds[0],a=e.bounds[1],l=0===r?n.x:n.y,c=0===r?a.x:a.y,u=o?o(r,l,c):.5*(l+c),f=Zu(e.polygons,l-i,u+i,r),h=Zu(e.polygons,u-i,c+i,r);if(f.length){const e=[n,new b(0===r?u:a.x,1===r?u:a.y)];d.length>t+1?p.push({polygons:f,bounds:e,depth:t+1}):s(f,e)}if(h.length){const e=[new b(0===r?u:n.x,1===r?u:n.y),a];d.length>t+1?p.push({polygons:h,bounds:e,depth:t+1}):s(h,e)}}return a}(e,t,Math.ceil((o-i)/11.25),Math.ceil((a-s)/11.25),1,(e,t,i)=>{if(0===e)return.5*(t+i);{const e=Zl((r.y+t/ls)/n);return(Vl(.5*(Zl((r.y+i/ls)/n)+e))*n-r.y)*ls}})}Xi(td,"FillExtrusionBucket",{omit:["layers","features"]}),Xi(ed,"PartMetadata");const ud=new Io({"fill-extrusion-edge-radius":new Lo(tt["layout_fill-extrusion"]["fill-extrusion-edge-radius"])});var dd={paint:new Io({"fill-extrusion-opacity":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Ao(tt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ao(tt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Ao(tt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Ao(tt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]),"fill-extrusion-ambient-occlusion-intensity":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]),"fill-extrusion-ambient-occlusion-radius":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"]),"fill-extrusion-rounded-roof":new Lo(tt["paint_fill-extrusion"]["fill-extrusion-rounded-roof"])}),layout:ud};function fd(e,t,r){var n=2*Math.PI*6378137/256/Math.pow(2,r);return[e*n-2*Math.PI*6378137/2,t*n-2*Math.PI*6378137/2]}class pd{constructor(e,t,r){this.z=e,this.x=t,this.y=r,this.key=yd(0,e,e,t,r)}equals(e){return this.z===e.z&&this.x===e.x&&this.y===e.y}url(e,t){const r=function(e,t,r){var n=fd(256*e,256*(t=Math.pow(2,r)-t-1),r),i=fd(256*(e+1),256*(t+1),r);return n[0]+","+n[1]+","+i[0]+","+i[1]}(this.x,this.y,this.z),n=function(e,t,r){let n,i="";for(let o=e;o>0;o--)n=1<<o-1,i+=(t&n?1:0)+(r&n?2:0);return i}(this.z,this.x,this.y);return e[(this.x+this.y)%e.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace(/{z}/g,String(this.z)).replace(/{x}/g,String(this.x)).replace(/{y}/g,String("tms"===t?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",n).replace("{bbox-epsg-3857}",r)}toString(){return`${this.z}/${this.x}/${this.y}`}}class hd{constructor(e,t){this.wrap=e,this.canonical=t,this.key=yd(e,t.z,t.z,t.x,t.y)}}class md{constructor(e,t,r,n,i){this.overscaledZ=e,this.wrap=t,this.canonical=new pd(r,+n,+i),this.key=0===t&&e===r?this.canonical.key:yd(t,e,r,n,i)}equals(e){return this.overscaledZ===e.overscaledZ&&this.wrap===e.wrap&&this.canonical.equals(e.canonical)}scaledTo(e){const t=this.canonical.z-e;return e>this.canonical.z?new md(e,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new md(e,this.wrap,e,this.canonical.x>>t,this.canonical.y>>t)}calculateScaledKey(e,t=!0){if(this.overscaledZ===e&&t)return this.key;if(e>this.canonical.z)return yd(this.wrap*+t,e,this.canonical.z,this.canonical.x,this.canonical.y);{const r=this.canonical.z-e;return yd(this.wrap*+t,e,e,this.canonical.x>>r,this.canonical.y>>r)}}isChildOf(e){if(e.wrap!==this.wrap)return!1;const t=this.canonical.z-e.canonical.z;return 0===e.overscaledZ||e.overscaledZ<this.overscaledZ&&e.canonical.x===this.canonical.x>>t&&e.canonical.y===this.canonical.y>>t}children(e){if(this.overscaledZ>=e)return[new md(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const t=this.canonical.z+1,r=2*this.canonical.x,n=2*this.canonical.y;return[new md(t,this.wrap,t,r,n),new md(t,this.wrap,t,r+1,n),new md(t,this.wrap,t,r,n+1),new md(t,this.wrap,t,r+1,n+1)]}isLessThan(e){return this.wrap<e.wrap||!(this.wrap>e.wrap)&&(this.overscaledZ<e.overscaledZ||!(this.overscaledZ>
vendor: 3,336 bytes, line 2
2e.overscaledZ)&&(this.canonical.x<e.canonical.x||!(this.canonical.x>e.canonical.x)&&this.canonical.y<e.canonical.y))}wrapped(){return new md(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)}unwrapTo(e){return new md(this.overscaledZ,e,this.canonical.z,this.canonical.x,this.canonical.y)}overscaleFactor(){return Math.pow(2,this.overscaledZ-this.canonical.z)}toUnwrapped(){return new hd(this.wrap,this.canonical)}toString(){return`${this.overscaledZ}/${this.canonical.x}/${this.canonical.y}`}}function yd(e,t,r,n,i){const o=1<<Math.min(r,22);let a=o*(i%o)+n%o;return e&&r<22&&(a+=o*o*((e<0?-2*e-1:2*e)%(1<<2*(22-r)))),16*(32*a+r)+(t-r)}Xi(pd,"CanonicalTileID"),Xi(md,"OverscaledTileID",{omit:["projMatrix"]});class gd extends b{constructor(e,t,r){super(e,t),this.z=r}}function vd(e,t){return e.x*t.x+e.y*t.y}function bd(e,t){if(1===e.length){let r=0;const n=t[r++];let i;for(;!i||n.equals(i);)if(i=t[r++],!i)return 1/0;for(;r<t.length;r++){const o=t[r],a=e[0],s=i.sub(n),l=o.sub(n),c=a.sub(n),u=vd(s,s),d=vd(s,l),f=vd(l,l),p=vd(c,s),h=vd(c,l),m=u*f-d*d,y=(f*p-d*h)/m,g=(u*h-d*p)/m,v=n.z*(1-y-g)+i.z*y+o.z*g;if(isFinite(v))return v}return 1/0}{let e=1/0;for(const r of t)e=Math.min(e,r.z);return e}}function _d(e,t,r,n,i,o,a,s){const l=a*i.getElevationAt(e,t,!0,!0),c=0!==o[0],u=c?0===o[1]?a*(o[0]/7-450):a*function(e,t,r){const n=Math.floor(t[0]/8),i=Math.floor(t[1]/8),o=10*(t[0]-8*n),a=10*(t[1]-8*i),s=e.getElevationAt(n,i,!0,!0),l=e.getMeterToDEM(r),c=Math.floor(.5*(o*l-1)),u=Math.floor(.5*(a*l-1)),d=e.tileCoordToPixel(n,i),f=2*c+1,p=2*u+1,h=function(e,t,r,n,i){return[e.getElevationAtPixel(t,r,!0),e.getElevationAtPixel(t+i,r,!0),e.getElevationAtPixel(t,r+i,!0),e.getElevationAtPixel(t+n,r+i,!0)]}(e,d.x-c,d.y-u,f,p),m=Math.abs(h[0]-h[1]),y=Math.abs(h[2]-h[3]),g=Math.abs(h[0]-h[2])+Math.abs(h[1]-h[3]),v=Math.min(.25,.5*l*(m+y)/f),b=Math.min(.25,.5*l*g/p);return s+Math.max(v*o,b*a)}(i,o,s):l;return{base:l+(0===r)?-1:r,top:c?Math.max(u+n,l+r+2):l+n}}const xd=Bo([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"},{name:"a_linesofar",components:1,type:"Float32"}],4),{members:wd}=xd,Od=Bo([{name:"a_packed",components:4,type:"Float32"}]),{members:jd}=Od,Sd=Gu.types,Md=Math.cos(Math.PI/180*37.5);class kd{constructor(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(e=>e.id),this.index=e.index,this.projection=e.projection,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(e=>{this.gradients[e.id]={}}),this.layoutVertexArray=new Wo,this.layoutVertexArray2=new Vo,this.indexArray=new ia,this.programConfigurations=new Ja(e.layers,e.zoom),this.segments=new ss,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(e=>e.isStateDependent()).map(e=>e.id)}populate(e,t,r,n){this.hasPattern=Mu("line",this.layers,t);const i=this.layers[0].layout.get("line-sort-key"),o=[];for(const{feature:t,id:a,index:s,sourceLayerIndex:l}of e){const e=this.layers[0]._featureFilter.needGeometry,c=lc(t,e);if(!this.layers[0]._featureFilter.filter(new Oo(this.zoom),c,r))continue;const u=i?i.evaluate(c,{},r):void 0,d={id:a,properties:t.properties,type:t.type,sourceLayerIndex:l,index:s,geometry:e?c.geometry:sc(t,r,n),patterns:{},sortKey:u};o.push(d)}i&&o.sort((e,t)=>
vendor: 23,933 bytes, line 2
2e.sortKey-t.sortKey);const{lineAtlas:a,featureIndex:s}=t,l=this.addConstantDashes(a);for(const n of o){const{geometry:i,index:o,sourceLayerIndex:c}=n;if(l&&this.addFeatureDashes(n,a),this.hasPattern){const e=ku("line",this.layers,n,this.zoom,t);this.patternFeatures.push(e)}else this.addFeature(n,i,o,r,a.positions,t.availableImages);s.insert(e[o].feature,i,o,c,this.index)}}addConstantDashes(e){let t=!1;for(const r of this.layers){const n=r.paint.get("line-dasharray").value,i=r.layout.get("line-cap").value;if("constant"!==n.kind||"constant"!==i.kind)t=!0;else{const t=i.value,r=n.value;if(!r)continue;e.addDash(r,t)}}return t}addFeatureDashes(e,t){const r=this.zoom;for(const n of this.layers){const i=n.paint.get("line-dasharray").value,o=n.layout.get("line-cap").value;if("constant"===i.kind&&"constant"===o.kind)continue;let a,s;if("constant"===i.kind){if(a=i.value,!a)continue}else a=i.evaluate({zoom:r},e);s="constant"===o.kind?o.value:o.evaluate({zoom:r},e),t.addDash(a,s),e.patterns[n.id]=t.getKey(a,s)}}update(e,t,r,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,r,n)}addFeatures(e,t,r,n,i){for(const e of this.patternFeatures)this.addFeature(e,e.geometry,e.index,t,r,n)}isEmpty(){return 0===this.layoutVertexArray.length}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(e){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=e.createVertexBuffer(this.layoutVertexArray2,jd)),this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,wd),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(e){if(e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end"))return{start:+e.properties.mapbox_clip_start,end:+e.properties.mapbox_clip_end}}addFeature(e,t,r,n,i,o){const a=this.layers[0].layout,s=a.get("line-join").evaluate(e,{}),l=a.get("line-cap").evaluate(e,{}),c=a.get("line-miter-limit"),u=a.get("line-round-limit");this.lineClips=this.lineFeatureClips(e);for(const r of t)this.addLine(r,e,s,l,c,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,r,i,o,n)}addLine(e,t,r,n,i,o){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineSoFar=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let t=0;t<e.length-1;t++)this.totalDistance+=e[t].dist(e[t+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}const a="Polygon"===Sd[t.type];let s=e.length;for(;s>=2&&e[s-1].equals(e[s-2]);)s--;let l=0;for(;l<s-1&&e[l].equals(e[l+1]);)l++;if(s<(a?3:2))return;"bevel"===r&&(i=1.05);const c=this.overscaling<=16?15*ls/(512*this.overscaling):0,u=this.segments.prepareSegment(10*s,this.layoutVertexArray,this.indexArray);let d,f,p,h,m;this.e1=this.e2=-1,a&&(d=e[s-2],m=e[l].sub(d)._unit()._perp());for(let t=l;t<s;t++){if(p=t===s-1?a?e[l+1]:void 0:e[t+1],p&&e[t].equals(p))continue;m&&(h=m),d&&(f=d),d=e[t],m=p?p.sub(d)._unit()._perp():h,h=h||m;let y=h.add(m);0===y.x&&0===y.y||y._unit();const g=h.x*m.x+h.y*m.y,v=y.x*m.x+y.y*m.y,b=0!==v?1/v:1/0,_=2*Math.sqrt(2-2*v),x=v<Md&&f&&p,w=h.x*m.y-h.y*m.x>0;if(x&&t>l){const e=d.dist(f);if(e>2*c){const t=d.sub(d.sub(f)._mult(c/e)._round());this.updateDistance(f,t),this.addCurrentVertex(t,h,0,0,u),f=t}}const O=f&&p;let j=O?r:a?"butt":n;if(O&&"round"===j&&(b<o?j="miter":b<=2&&(j="fakeround")),"miter"===j&&b>i&&(j="bevel"),"bevel"===j&&(b>2&&(j="flipbevel"),b<i&&(j="miter")),f&&this.updateDistance(f,d),"miter"===j)y._mult(b),this.addCurrentVertex(d,y,0,0,u);else if("flipbevel"===j){if(b>100)y=m.mult(-1);else{const e=b*h.add(m).mag()/h.sub(m).mag();y._perp()._mult(e*(w?-1:1))}this.addCurrentVertex(d,y,0,0,u),this.addCurrentVertex(d,y.mult(-1),0,0,u)}else if("bevel"===j||"fakeround"===j){const e=-Math.sqrt(b*b-1),t=w?e:0,r=w?0:e;if(f&&this.addCurrentVertex(d,h,t,r,u),"fakeround"===j){const e=Math.round(180*_/Math.PI/20);for(let t=1;t<e;t++){let r=t/e;if(.5!==r){const e=r-.5;r+=r*e*(r-1)*((1.0904+g*(g*(3.55645-1.43519*g)-3.2452))*e*e+(.848013+g*(.215638*g-1.06021)))}const n=m.sub(h)._mult(r)._add(h)._unit()._mult(w?-1:1);this.addHalfVertex(d,n.x,n.y,!1,w,0,u)}}p&&this.addCurrentVertex(d,m,-t,-r,u)}else if("butt"===j)this.addCurrentVertex(d,y,0,0,u);else if("square"===j){const e=f?1:-1;f||this.addCurrentVertex(d,y,e,e,u),this.addCurrentVertex(d,y,0,0,u),f&&this.addCurrentVertex(d,y,e,e,u)}else"round"===j&&(f&&(this.addCurrentVertex(d,h,0,0,u),this.addCurrentVertex(d,h,1,1,u,!0)),p&&(this.addCurrentVertex(d,m,-1,-1,u,!0),this.addCurrentVertex(d,m,0,0,u)));if(x&&t<s-1){const e=d.dist(p);if(e>2*c){const t=d.add(p.sub(d)._mult(c/e)._round());this.updateDistance(d,t),this.addCurrentVertex(t,m,0,0,u),d=t}}}}addCurrentVertex(e,t,r,n,i,o=!1){const a=t.y*n-t.x,s=-t.y-t.x*n;this.addHalfVertex(e,t.x+t.y*r,t.y-t.x*r,o,!1,r,i),this.addHalfVertex(e,a,s,o,!0,-n,i)}addHalfVertex({x:e,y:t},r,n,i,o,a,s){this.layoutVertexArray.emplaceBack((e<<1)+(i?1:0),(t<<1)+(o?1:0),Math.round(63*r)+128,Math.round(63*n)+128,1+(0===a?0:a<0?-1:1),0,this.lineSoFar),this.lineClips&&this.layoutVertexArray2.emplaceBack(this.scaledDistance,this.lineClipsArray.length,this.lineClips.start,this.lineClips.end);const l=s.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),s.primitiveLength++),o?this.e2=l:this.e1=l}updateScaledDistance(){if(this.lineClips){const e=this.totalDistance/(this.lineClips.end-this.lineClips.start);this.scaledDistance=this.distance/this.totalDistance,this.lineSoFar=e*this.lineClips.start+this.distance}else this.lineSoFar=this.distance}updateDistance(e,t){this.distance+=e.dist(t),this.updateScaledDistance()}}Xi(kd,"LineBucket",{omit:["layers","patternFeatures"]});const Pd=new Io({"line-cap":new Ao(tt.layout_line["line-cap"]),"line-join":new Ao(tt.layout_line["line-join"]),"line-miter-limit":new Lo(tt.layout_line["line-miter-limit"]),"line-round-limit":new Lo(tt.layout_line["line-round-limit"]),"line-sort-key":new Ao(tt.layout_line["line-sort-key"])});var Td={paint:new Io({"line-opacity":new Ao(tt.paint_line["line-opacity"]),"line-color":new Ao(tt.paint_line["line-color"]),"line-translate":new Lo(tt.paint_line["line-translate"]),"line-translate-anchor":new Lo(tt.paint_line["line-translate-anchor"]),"line-width":new Ao(tt.paint_line["line-width"]),"line-gap-width":new Ao(tt.paint_line["line-gap-width"]),"line-offset":new Ao(tt.paint_line["line-offset"]),"line-blur":new Ao(tt.paint_line["line-blur"]),"line-dasharray":new Ao(tt.paint_line["line-dasharray"]),"line-pattern":new Ao(tt.paint_line["line-pattern"]),"line-gradient":new Do(tt.paint_line["line-gradient"]),"line-trim-offset":new Lo(tt.paint_line["line-trim-offset"])}),layout:Pd};const Ed=new class extends Ao{possiblyEvaluate(e,t){return t=new Oo(Math.floor(t.zoom),{now:t.now,fadeDuration:t.fadeDuration,transition:t.transition}),super.possiblyEvaluate(e,t)}evaluate(e,t,r,n){return t=A({},t,{zoom:Math.floor(t.zoom)}),super.evaluate(e,t,r,n)}}(Td.paint.properties["line-width"].specification);function Cd(e,t){return t>0?t+2*e:e}Ed.useIntegerZoom=!0;const Ld=Bo([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_tex_size",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),Ad=Bo([{name:"a_globe_anchor",components:3,type:"Int16"},{name:"a_globe_normal",components:3,type:"Float32"}],4),Dd=Bo([{name:"a_projected_pos",components:4,type:"Float32"}],4);Bo([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const Id=Bo([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}]),Nd=Bo([{name:"a_size_scale",components:1,type:"Float32"},{name:"a_padding",components:2,type:"Float32"}]);Bo([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Int16",name:"tileAnchorX"},{type:"Int16",name:"tileAnchorY"},{type:"Float32",name:"x1"},{type:"Float32",name:"y1"},{type:"Float32",name:"x2"},{type:"Float32",name:"y2"},{type:"Int16",name:"padding"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const Rd=Bo([{name:"a_pos",components:3,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),zd=Bo([{name:"a_pos_2f",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);Bo([{name:"triangle",components:3,type:"Uint16"}]),Bo([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Float32",name:"tileAnchorX"},{type:"Float32",name:"tileAnchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"},{type:"Uint8",name:"flipState"}]),Bo([{type:"Int16",name:"projectedAnchorX"},{type:"Int16",name:"projectedAnchorY"},{type:"Int16",name:"projectedAnchorZ"},{type:"Float32",name:"tileAnchorX"},{type:"Float32",name:"tileAnchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),Bo([{type:"Float32",name:"offsetX"}]),Bo([{type:"Int16",name:"x"},{type:"Int16",name:"y"}]);var Fd=24;const Bd=128;function Yd(e,t){const{expression:r}=t;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new Oo(e+1))};if("source"===r.kind)return{kind:"source"};{const{zoomStops:t,interpolationType:n}=r;let i=0;for(;i<t.length&&t[i]<=e;)i++;i=Math.max(0,i-1);let o=i;for(;o<t.length&&t[o]<e+1;)o++;o=Math.min(t.length-1,o);const a=t[i],s=t[o];return"composite"===r.kind?{kind:"composite",minZoom:a,maxZoom:s,interpolationType:n}:{kind:"camera",minZoom:a,maxZoom:s,minSize:r.evaluate(new Oo(a)),maxSize:r.evaluate(new Oo(s)),interpolationType:n}}}function Ud(e,{uSize:t,uSizeT:r},{lowerSize:n,upperSize:i}){return"source"===e.kind?n/Bd:"composite"===e.kind?Lr(n/Bd,i/Bd,r):t}function Hd(e,t){let r=0,n=0;if("constant"===e.kind)n=e.layoutSize;else if("source"!==e.kind){const{interpolationType:i,minZoom:o,maxZoom:a}=e,s=i?P(en.interpolationFactor(i,t,o,a),0,1):0;"camera"===e.kind?n=Lr(e.minSize,e.maxSize,s):r=s}return{uSizeT:r,uSize:n}}var $d=Object.freeze({__proto__:null,SIZE_PACK_FACTOR:Bd,evaluateSizeForFeature:Ud,evaluateSizeForZoom:Hd,getSizeData:Yd});function Wd(e,t,r){return e.sections.forEach(e=>{e.text=function(e,t,r){const n=t.layout.get("text-transform").evaluate(r,{});return"uppercase"===n?e=e.toLocaleUpperCase():"lowercase"===n&&(e=e.toLocaleLowerCase()),wo.applyArabicShaping&&(e=wo.applyArabicShaping(e)),e}(e.text,t,r)}),e}const Vd={"!":"ï¸","#":"ï¼",$:"ï¼","%":"ï¼
","&":"ï¼","(":"︵",")":"︶","*":"ï¼","+":"ï¼",",":"ï¸","-":"︲",".":"ã»","/":"ï¼",":":"ï¸",";":"ï¸","<":"︿","=":"ï¼",">":"ï¹","?":"ï¸","@":"ï¼ ","[":"ï¹","\\":"ï¼¼","]":"ï¹","^":"ï¼¾",_:"︳","`":"ï½","{":"︷","|":"â","}":"︸","~":"ï½","¢":"ï¿ ","£":"ï¿¡","Â¥":"ï¿¥","¦":"¦","¬":"ï¿¢","¯":"ï¿£","â":"︲","â":"︱","â":"ï¹","â":"ï¹","â":"ï¹","â":"ï¹","â¦":"ï¸","â§":"ã»","â©":"₩","ã":"ï¸","ã":"ï¸","ã":"︿","ã":"ï¹","ã":"︽","ã":"︾","ã":"ï¹","ã":"ï¹","ã":"ï¹","ã":"ï¹","ã":"︻","ã":"︼","ã":"︹","ã":"︺","ã":"ï¸","ã":"ï¸","ï¼":"ï¸","ï¼":"︵","ï¼":"︶","ï¼":"ï¸","ï¼":"︲","ï¼":"ã»","ï¼":"ï¸","ï¼":"ï¸","ï¼":"︿","ï¼":"ï¹","ï¼":"ï¸","ï¼»":"ï¹","ï¼½":"ï¹","_":"︳","ï½":"︷","ï½":"â","ï½":"︸","ï½":"︵","ï½ ":"︶","。":"ï¸","ï½¢":"ï¹","ï½£":"ï¹","â":"â","â":"â"};function qd(e){return"︶"===e||"ï¹"===e||"︸"===e||"ï¹"===e||"ï¹"===e||"︾"===e||"︼"===e||"︺"===e||"ï¸"===e||"ï¹"===e||"ï¸"===e||"ï¸"===e||"ï¸"===e||"ï½"===e||"ï¿£"===e||"ï¸"===e||"ï¸"===e}function Gd(e){return"︵"===e||"ï¹"===e||"︷"===e||"ï¹"===e||"ï¹"===e||"︽"===e||"︻"===e||"︹"===e||"ï¸"===e||"︿"===e}var Zd=Kd,Xd=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=c}return(p?-1:1)*a*Math.pow(2,o-n)},Jd=function(e,t,r,n,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*m};function Kd(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}Kd.Varint=0,Kd.Fixed64=1,Kd.Bytes=2,Kd.Fixed32=5;var Qd=4294967296,ef=1/Qd,tf="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function rf(e){return e.type===Kd.Bytes?e.readVarint()+e.pos:e.pos+1}function nf(e,t,r){return r?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function of(e,t,r){var n=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=e;i--)r.buf[i+n]=r.buf[i]}function af(e,t){for(var r=0;r<e.length;r++)t.writeVarint(e[r])}function sf(e,t){for(var r=0;r<e.length;r++)t.writeSVarint(e[r])}function lf(e,t){for(var r=0;r<e.length;r++)t.writeFloat(e[r])}function cf(e,t){for(var r=0;r<e.length;r++)t.writeDouble(e[r])}function uf(e,t){for(var r=0;r<e.length;r++)t.writeBoolean(e[r])}function df(e,t){for(var r=0;r<e.length;r++)t.writeFixed32(e[r])}function ff(e,t){for(var r=0;r<e.length;r++)t.writeSFixed32(e[r])}function pf(e,t){for(var r=0;r<e.length;r++)t.writeFixed64(e[r])}function hf(e,t){for(var r=0;r<e.length;r++)t.writeSFixed64(e[r])}function mf(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function yf(e,t,r){e[r]=t,e[r+1]=t>>>8,e[r+2]=t>>>16,e[r+3]=t>>>24}function gf(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}Kd.prototype={destroy:function(){this.buf=null},readFields:function(e,t,r){for(r=r||this.length;this.pos<r;){var n=this.readVarint(),i=n>>3,o=this.pos;this.type=7&n,e(i,t,this),this.pos===o&&this.skip(n)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=mf(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=gf(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=mf(this.buf,this.pos)+mf(this.buf,this.pos+4)*Qd;return this.pos+=8,e},readSFixed64:function(){var e=mf(this.buf,this.pos)+gf(this.buf,this.pos+4)*Qd;return this.pos+=8,e},readFloat:function(){var e=Xd(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=Xd(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,r,n=this.buf;return t=127&(r=n[this.pos++]),r<128?t:(t|=(127&(r=n[this.pos++]))<<7,r<128?t:(t|=(127&(r=n[this.pos++]))<<14,r<128?t:(t|=(127&(r=n[this.pos++]))<<21,r<128?t:function(e,t,r){var n,i,o=r.buf;if(n=(112&(i=o[r.pos++]))>>4,i<128)return nf(e,n,t);if(n|=(127&(i=o[r.pos++]))<<3,i<128)return nf(e,n,t);if(n|=(127&(i=o[r.pos++]))<<10,i<128)return nf(e,n,t);if(n|=(127&(i=o[r.pos++]))<<17,i<128)return nf(e,n,t);if(n|=(127&(i=o[r.pos++]))<<24,i<128)return nf(e,n,t);if(n|=(1&(i=o[r.pos++]))<<31,i<128)return nf(e,n,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(r=n[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&tf?function(e,t,r){return tf.decode(e.subarray(t,r))}(this.buf,t,e):function(e,t,r){for(var n="",i=t;i<r;){var o,a,s,l=e[i],c=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u>r)break;1===u?l<128&&(c=l):2===u?128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)<=127&&(c=null):3===u?(a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&((c=(15&l)<<12|(63&o)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&((c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,n+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),n+=String.fromCharCode(c),i+=u}return n}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==Kd.Bytes)return e.push(this.readVarint(t));var r=rf(this);for(e=e||[];this.pos<r;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==Kd.Bytes)return e.push(this.readSVarint());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==Kd.Bytes)return e.push(this.readBoolean());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==Kd.Bytes)return e.push(this.readFloat());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==Kd.Bytes)return e.push(this.readDouble());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==Kd.Bytes)return e.push(this.readFixed32());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==Kd.Bytes)return e.push(this.readSFixed32());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==Kd.Bytes)return e.push(this.readFixed64());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==Kd.Bytes)return e.push(this.readSFixed64());var t=rf(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===Kd.Varint)for(;this.buf[this.pos++]>127;);else if(t===Kd.Bytes)this.pos=this.readVarint()+this.pos;else if(t===Kd.Fixed32)this.pos+=4;else{if(t!==Kd.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var r=new Uint8Array(t);r.set(this.buf),this.buf=r,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),yf(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),yf(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),yf(this.buf,-1&e,this.pos),yf(this.buf,Math.floor(e*ef),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),yf(this.buf,-1&e,this.pos),yf(this.buf,Math.floor(e*ef),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var r,n;if(e>=0?(r=e%4294967296|0,n=e/4294967296|0):(n=~(-e/4294967296),4294967295^(r=~(-e%4294967296))?r=r+1|0:(r=0,n=n+1|0)),e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,r){r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,r.buf[r.pos]=127&(e>>>=7)}(r,0,t),function(e,t){var r=(7&e)<<4;t.buf[t.pos++]|=r|((e>>>=3)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e)))))}(n,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,r){for(var n,i,o=0;o<t.length;o++){if((n=t.charCodeAt(o))>55295&&n<57344){if(!i){n>56319||o+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):i=n;continue}if(n<56320){e[r++]=239,e[r++]=191,e[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(e[r++]=239,e[r++]=191,e[r++]=189,i=null);n<128?e[r++]=n:(n<2048?e[r++]=n>>6|192:(n<65536?e[r++]=n>>12|224:(e[r++]=n>>18|240,e[r++]=n>>12&63|128),e[r++]=n>>6&63|128),e[r++]=63&n|128)}return r}(this.buf,e,this.pos);var r=this.pos-t;r>=128&&of(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r},writeFloat:function(e){this.realloc(4),Jd(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),Jd(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r<t;r++)this.buf[this.pos++]=e[r]},writeRawMessage:function(e,t){this.pos++;var r=this.pos;e(t,this);var n=this.pos-r;n>=128&&of(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(e,t,r){this.writeTag(e,Kd.Bytes),this.writeRawMessage(t,r)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,af,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,sf,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,uf,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,lf,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,cf,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,df,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,ff,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,pf,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,hf,t)},writeBytesField:function(e,t){this.writeTag(e,Kd.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,Kd.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,Kd.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,Kd.Fixed64),this.writeFixed64
2(t)},writeSFixed64Field:function(e,t){this.writeTag(e,Kd.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,Kd.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,Kd.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,Kd.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,Kd.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,Kd.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}};var vf=p(Zd);const bf=3;function _f(e,t,r){t.glyphs=[],1===e&&r.readMessage(xf,t)}function xf(e,t,r){if(3===e){const{id:e,bitmap:n,width:i,height:o,left:a,top:s,advance:l}=r.readMessage(wf,{});t.glyphs.push({id:e,bitmap:new Fc({width:i+2*bf,height:o+2*bf},n),metrics:{width:i,height:o,left:a,top:s,advance:l}})}else 4===e?t.ascender=r.readSVarint():5===e&&(t.descender=r.readSVarint())}function wf(e,t,r){1===e?t.id=r.readVarint():2===e?t.bitmap=r.readBytes():3===e?t.width=r.readVarint():4===e?t.height=r.readVarint():5===e?t.left=r.readSVarint():6===e?t.top=r.readSVarint():7===e&&(t.advance=r.readVarint())}const Of=bf;function jf(e){let t=0,r=0;for(const n of e)t+=n.w*n.h,r=Math.max(r,n.w);e.sort((e,t)=>t.h-e.h);const n=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(t/.95)),r),h:1/0}];let i=0,o=0;for(const t of e)for(let e=n.length-1;e>=0;e--){const r=n[e];if(!(t.w>r.w||t.h>r.h)){if(t.x=r.x,t.y=r.y,o=Math.max(o,t.y+t.h),i=Math.max(i,t.x+t.w),t.w===r.w&&t.h===r.h){const t=n.pop();e<n.length&&(n[e]=t)}else t.h===r.h?(r.x+=t.w,r.w-=t.w):t.w===r.w?(r.y+=t.h,r.h-=t.h):(n.push({x:r.x+t.w,y:r.y,w:r.w-t.w,h:t.h}),r.y+=t.h,r.h-=t.h);break}}return{w:i,h:o,fill:t/(i*o)||0}}const Sf=1;class Mf{constructor(e,{pixelRatio:t,version:r,stretchX:n,stretchY:i,content:o}){this.paddedRect=e,this.pixelRatio=t,this.stretchX=n,this.stretchY=i,this.content=o,this.version=r}get tl(){return[this.paddedRect.x+Sf,this.paddedRect.y+Sf]}get br(){return[this.paddedRect.x+this.paddedRect.w-Sf,this.paddedRect.y+this.paddedRect.h-Sf]}get displaySize(){return[(this.paddedRect.w-2*Sf)/this.pixelRatio,(this.paddedRect.h-2*Sf)/this.pixelRatio]}}class kf{constructor(e,t){const r={},n={};this.haveRenderCallbacks=[];const i=[];this.addImages(e,r,i),this.addImages(t,n,i);const{w:o,h:a}=jf(i),s=new Bc({width:o||1,height:a||1});for(const t in e){const n=e[t],i=r[t].paddedRect;Bc.copy(n.data,s,{x:0,y:0},{x:i.x+Sf,y:i.y+Sf},n.data)}for(const e in t){const r=t[e],i=n[e].paddedRect,o=i.x+Sf,a=i.y+Sf,l=r.data.width,c=r.data.height;Bc.copy(r.data,s,{x:0,y:0},{x:o,y:a},r.data),Bc.copy(r.data,s,{x:0,y:c-1},{x:o,y:a-1},{width:l,height:1}),Bc.copy(r.data,s,{x:0,y:0},{x:o,y:a+c},{width:l,height:1}),Bc.copy(r.data,s,{x:l-1,y:0},{x:o-1,y:a},{width:1,height:c}),Bc.copy(r.data,s,{x:0,y:0},{x:o+l,y:a},{width:1,height:c})}this.image=s,this.iconPositions=r,this.patternPositions=n}addImages(e,t,r){for(const n in e){const i=e[n],o={x:0,y:0,w:i.data.width+2*Sf,h:i.data.height+2*Sf};r.push(o),t[n]=new Mf(o,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(n)}}patchUpdatedImages(e,t){this.haveRenderCallbacks=this.haveRenderCallbacks.filter(t=>e.hasImage(t)),e.dispatchRenderCallbacks(this.haveRenderCallbacks);for(const r in e.updatedImages)this.patchUpdatedImage(this.iconPositions[r],e.getImage(r),t),this.patchUpdatedImage(this.patternPositions[r],e.getImage(r),t)}patchUpdatedImage(e,t,r){if(!e||!t)return;if(e.version===t.version)return;e.version=t.version;const[n,i]=e.tl;r.update(t.data,void 0,{x:n,y:i})}}Xi(Mf,"ImagePosition"),Xi(kf,"ImageAtlas");const Pf={horizontal:1,vertical:2,horizontalOnly:3},Tf=-17;class Ef{constructor(){this.scale=1,this.fontStack="",this.imageName=null}static forText(e,t){const r=new Ef;return r.scale=e||1,r.fontStack=t,r}static forImage(e){const t=new Ef;return t.imageName=e,t}}class Cf{constructor(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null}static fromFeature(e,t){const r=new Cf;for(let n=0;n<e.sections.length;n++){const i=e.sections[n];i.image?r.addImageSection(i):r.addTextSection(i,t)}return r}length(){return this.text.length}getSection(e){return this.sections[this.sectionIndex[e]]}getSections(){return this.sections}getSectionIndex(e){return this.sectionIndex[e]}getCharCode(e){return this.text.charCodeAt(e)}verticalizePunctuation(e){this.text=function(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n+1)||null,o=e.charCodeAt(n-1)||null;r+=!t&&(i&&ao(i)&&!Vd[e[n+1]]||o&&ao(o)&&!Vd[e[n-1]])||!Vd[e[n]]?e[n]:Vd[e[n]]}return r}(this.text,e)}trim(){let e=0;for(let t=0;t<this.text.length&&Af[this.text.charCodeAt(t)];t++)e++;let t=this.text.length;for(let r=this.text.length-1;r>=0&&r>=e&&Af[this.text.charCodeAt(r)];r--)t--;this.text=this.text.substring(e,t),this.sectionIndex=this.sectionIndex.slice(e,t)}substring(e,t){const r=new Cf;return r.text=this.text.substring(e,t),r.sectionIndex=this.sectionIndex.slice(e,t),r.sections=this.sections,r}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((e,t)=>
vendor: 9,450 bytes, line 2
2Math.max(e,this.sections[t].scale),0)}addTextSection(e,t){this.text+=e.text,this.sections.push(Ef.forText(e.scale,e.fontStack||t));const r=this.sections.length-1;for(let t=0;t<e.text.length;++t)this.sectionIndex.push(r)}addImageSection(e){const t=e.image?e.image.name:"";if(0===t.length)return void W("Can't add FormattedSection with an empty image.");const r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(Ef.forImage(t)),this.sectionIndex.push(this.sections.length-1)):W("Reached maximum number of images 6401")}getNextImageSectionCharCode(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function Lf(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h){const m=Cf.fromFeature(e,i);d===Pf.vertical&&m.verticalizePunctuation(f);let y=[];const g=function(e,t,r,n,i,o){if(!e)return[];const a=[],s=function(e,t,r,n,i,o){let a=0;for(let r=0;r<e.length();r++){const s=e.getSection(r);a+=If(e.getCharCode(r),s,n,i,t,o)}return a/Math.max(1,Math.ceil(a/r))}(e,t,r,n,i,o),l=e.text.indexOf("â")>=0;let c=0;for(let r=0;r<e.length();r++){const d=e.getSection(r),f=e.getCharCode(r);if(Af[f]||(c+=If(f,d,n,i,t,o)),r<e.length()-1){const t=!((u=f)<11904||!(to["Bopomofo Extended"](u)||to.Bopomofo(u)||to["CJK Compatibility Forms"](u)||to["CJK Compatibility Ideographs"](u)||to["CJK Compatibility"](u)||to["CJK Radicals Supplement"](u)||to["CJK Strokes"](u)||to["CJK Symbols and Punctuation"](u)||to["CJK Unified Ideographs Extension A"](u)||to["CJK Unified Ideographs"](u)||to["Enclosed CJK Letters and Months"](u)||to["Halfwidth and Fullwidth Forms"](u)||to.Hiragana(u)||to["Ideographic Description Characters"](u)||to["Kangxi Radicals"](u)||to["Katakana Phonetic Extensions"](u)||to.Katakana(u)||to["Vertical Forms"](u)||to["Yi Radicals"](u)||to["Yi Syllables"](u)));(Df[f]||t||d.imageName)&&a.push(zf(r+1,c,s,a,Rf(f,e.getCharCode(r+1),t&&l),!1))}}var u;return Ff(zf(e.length(),c,s,a,0,!0))}(m,c,o,t,n,p),{processBidirectionalText:v,processStyledBidirectionalText:b}=wo;if(v&&1===m.sections.length){const e=v(m.toString(),g);for(const t of e){const e=new Cf;e.text=t,e.sections=m.sections;for(let r=0;r<t.length;r++)e.sectionIndex.push(0);y.push(e)}}else if(b){const e=b(m.text,m.sectionIndex,g);for(const t of e){const e=new Cf;e.text=t[0],e.sectionIndex=t[1],e.sections=m.sections,y.push(e)}}else y=function(e,t){const r=[],n=e.text;let i=0;for(const n of t)r.push(e.substring(i,n)),i=n;return i<n.length&&r.push(e.substring(i,n.length)),r}(m,g);const _=[],x={positionedLines:_,text:m.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:d,iconsInText:!1,verticalizable:!1,hasBaseline:!1};return function(e,t,r,n,i,o,a,s,l,c,u,d){let f=0,p=0,h=0;const m="right"===s?1:"left"===s?0:.5;let y=!1;for(const e of i){const r=e.getSections();for(const e of r){if(e.imageName)continue;const r=t[e.fontStack];if(r&&(y=void 0!==r.ascender&&void 0!==r.descender,!y))break}if(!y)break}let g=0;for(const a of i){a.trim();const i=a.getMaxScale(),s=(i-1)*Fd,b={positionedGlyphs:[],lineOffset:0};e.positionedLines[g]=b;const _=b.positionedGlyphs;let x=0;if(!a.length()){p+=o,++g;continue}let w=0,O=0;for(let o=0;o<a.length();o++){const s=a.getSection(o),h=a.getSectionIndex(o),m=a.getCharCode(o);let g=s.scale,b=null,j=null,S=null,M=Fd,k=0;const P=!(l===Pf.horizontal||!u&&!oo(m)||u&&(Af[m]||(v=m,to.Arabic(v)||to["Arabic Supplement"](v)||to["Arabic Extended-A"](v)||to["Arabic Presentation Forms-A"](v)||to["Arabic Presentation Forms-B"](v))));if(s.imageName){const t=n[s.imageName];if(!t)continue;S=s.imageName,e.iconsInText=e.iconsInText||!0,j=t.paddedRect;const r=t.displaySize;g=g*Fd/d,b={width:r[0],height:r[1],left:Sf,top:-Of,advance:P?r[1]:r[0],localGlyph:!1},k=y?-b.height*g:Tf+i*Fd-r[1]*g,M=b.advance;const o=(P?r[0]:r[1])*g-Fd*i;o>0&&o>x&&(x=o)}else{const e=r[s.fontStack];if(!e)continue;e[m]&&(j=e[m]);const n=t[s.fontStack];if(!n)continue;const o=n.glyphs[m];if(!o)continue;if(b=o.metrics,M=8203!==m?Fd:0,y){const e=void 0!==n.ascender?Math.abs(n.ascender):0,t=void 0!==n.descender?Math.abs(n.descender):0,r=(e+t)*g;w<r&&(w=r,O=(e-t)/2*g),k=-e*g}else k=Tf+(i-g)*Fd}P?(e.verticalizable=!0,_.push({glyph:m,imageName:S,x:f,y:p+k,vertical:P,scale:g,localGlyph:b.localGlyph,fontStack:s.fontStack,sectionIndex:h,metrics:b,rect:j}),f+=M*g+c):(_.push({glyph:m,imageName:S,x:f,y:p+k,vertical:P,scale:g,localGlyph:b.localGlyph,fontStack:s.fontStack,sectionIndex:h,metrics:b,rect:j}),f+=b.advance*g+c)}0!==_.length&&(h=Math.max(f-c,h),y?Yf(_,m,x,O,o*i/2):Yf(_,m,x,0,o/2)),f=0;const j=o*i+x;b.lineOffset=Math.max(x,s),p+=j,++g}var v;const b=p,{horizontalAlign:_,verticalAlign:x}=Bf(a);(function(e,t,r,n,i,o){const a=(t-r)*i,s=-o*n;for(const t of e)for(const e of t.positionedGlyphs)e.x+=a,e.y+=s})(e.positionedLines,m,_,x,h,b),e.top+=-x*b,e.bottom=e.top+b,e.left+=-_*h,e.right=e.left+h,e.hasBaseline=y}(x,t,r,n,y,a,s,l,d,c,f,h),!function(e){for(const t of e)if(0!==t.positionedGlyphs.length)return!1;return!0}(_)&&x}const Af={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Df={10:!0,32:!0,38:!0,40:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0};function If(e,t,r,n,i,o){if(t.imageName){const e=n[t.imageName];return e?e.displaySize[0]*t.scale*Fd/o+i:0}{const n=r[t.fontStack],o=n&&n.glyphs[e];return o?o.metrics.advance*t.scale+i:0}}function Nf(e,t,r,n){const i=Math.pow(e-t,2);return n?e<t?i/2:2*i:i+Math.abs(r)*r}function Rf(e,t,r){let n=0;return 10===e&&(n-=1e4),r&&(n+=150),40!==e&&65288!==e||(n+=50),41!==t&&65289!==t||(n+=50),n}function zf(e,t,r,n,i,o){let a=null,s=Nf(t,r,i,o);for(const e of n){const n=Nf(t-e.x,r,i,o)+e.badness;n<=s&&(a=e,s=n)}return{index:e,x:t,priorBreak:a,badness:s}}function Ff(e){return e?Ff(e.priorBreak).concat(e.index):[]}function Bf(e){let t=.5,r=.5;switch(e){case"right":case"top-right":case"bottom-right":t=1;break;case"left":case"top-left":case"bottom-left":t=0}switch(e){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:t,verticalAlign:r}}function Yf(e,t,r,n,i){if(!(t||r||n||i))return;const o=e.length-1,a=e[o],s=(a.x+a.metrics.advance*a.scale)*t;for(let t=0;t<=o;t++)e[t].x-=s,e[t].y+=r+n+i}function Uf(e,t,r){const{horizontalAlign:n,verticalAlign:i}=Bf(r),o=t[0]-e.displaySize[0]*n,a=t[1]-e.displaySize[1]*i;return{image:e,top:a,bottom:a+e.displaySize[1],left:o,right:o+e.displaySize[0]}}function Hf(e,t,r,n,i,o){const a=e.image;let s;if(a.content){const e=a.content,t=a.pixelRatio||1;s=[e[0]/t,e[1]/t,a.displaySize[0]-e[2]/t,a.displaySize[1]-e[3]/t]}const l=t.left*o,c=t.right*o;let u,d,f,p;"width"===r||"both"===r?(p=i[0]+l-n[3],d=i[0]+c+n[1]):(p=i[0]+(l+c-a.displaySize[0])/2,d=p+a.displaySize[0]);const h=t.top*o,m=t.bottom*o;return"height"===r||"both"===r?(u=i[1]+h-n[0],f=i[1]+m+n[2]):(u=i[1]+(h+m-a.displaySize[1])/2,f=u+a.displaySize[1]),{image:a,top:u,right:d,bottom:f,left:p,collisionPadding:s}}class $f extends b{constructor(e,t,r,n,i){super(e,t),this.angle=n,this.z=r,void 0!==i&&(this.segment=i)}clone(){return new $f(this.x,this.y,this.z,this.angle,this.segment)}}function Wf(e,t,r,n,i){if(void 0===t.segment)return!0;let o=t,a=t.segment+1,s=0;for(;s>-r/2;){if(a--,a<0)return!1;s-=e[a].dist(o),o=e[a]}s+=e[a].dist(e[a+1]),a++;const l=[];let c=0;for(;s<r/2;){const t=e[a],r=e[a+1];if(!r)return!1;let o=e[a-1].angleTo(t)-t.angleTo(r);for(o=Math.abs((o+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:o}),c+=o;s-l[0].distance>n;)c-=l.shift().angleDelta;if(c>i)return!1;a++,s+=t.dist(r)}return!0}function Vf(e){let t=0;for(let r=0;r<e.length-1;r++)t+=e[r].dist(e[r+1]);return t}function qf(e,t,r){return e?.6*t*r:0}function Gf(e,t){return Math.max(e?e.right-e.left:0,t?t.right-t.left:0)}function Zf(e,t,r,n,i,o){const a=qf(r,i,o),s=Gf(r,n)*o;let l=0;const c=Vf(e)/2;for(let r=0;r<e.length-1;r++){const n=e[r],i=e[r+1],o=n.dist(i);if(l+o>c){const u=(c-l)/o,d=Lr(n.x,i.x,u),f=Lr(n.y,i.y,u),p=new $f(d,f,0,i.angleTo(n),r);return!a||Wf(e,p,s,a,t)?p:void 0}l+=o}}function Xf(e,t,r,n,i,o,a,s,l){const c=qf(n,o,a),u=Gf(n,i),d=u*a,f=0===e[0].x||e[0].x===l||0===e[0].y||e[0].y===l;return t-d<t/4&&(t=d+t/4),Jf(e,f?t/2*s%t:(u/2+2*o)*a*s%t,t,c,r,d,f,!1,l)}function Jf(e,t,r,n,i,o,a,s,l){const c=o/2,u=Vf(e);let d=0,f=t-r,p=[];for(let t=0;t<e.length-1;t++){const a=e[t],s=e[t+1],h=a.dist(s),m=s.angleTo(a);for(;f+r<d+h;){f+=r;const y=(f-d)/h,g=Lr(a.x,s.x,y),v=Lr(a.y,s.y,y);if(g>=0&&g<l&&v>=0&&v<l&&f-c>=0&&f+c<=u){const r=new $f(g,v,0,m,t);r._round(),n&&!Wf(e,r,o,n,i)||p.push(r)}}d+=h}return s||p.length||a||(p=Jf(e,d/2,r,n,i,o,a,!0,l)),p}function Kf(e,t,r,n,i){const o=[];for(let a=0;a<e.length;a++){const s=e[a];let l;for(let e=0;e<s.length-1;e++){let a=s[e],c=s[e+1];a.x<t&&c.x<t||(a.x<t?a=new b(t,a.y+(t-a.x)/(c.x-a.x)*(c.y-a.y))._round():c.x<t&&(c=new b(t,a.y+(t-a.x)/(c.x-a.x)*(c.y-a.y))._round()),a.y<r&&c.y<r||(a.y<r?a=new b(a.x+(r-a.y)/(c.y-a.y)*(c.x-a.x),r)._round():c.y<r&&(c=new b(a.x+(r-a.y)/(c.y-a.y)*(c.x-a.x),r)._round()),a.x>=n&&c.x>=n||(a.x>=n?a=new b(n,a.y+(n-a.x)/(c.x-a.x)*(c.y-a.y))._round():c.x>=n&&(c=new b(n,a.y+(n-a.x)/(c.x-a.x)*(c.y-a.y))._round()),a.y>=i&&c.y>=i||(a.y>=i?a=new b(a.x+(i-a.y)/(c.y-a.y)*(c.x-a.x),i)._round():c.y>=i&&(c=new b(a.x+(i-a.y)/(c.y-a.y)*(c.x-a.x),i)._round()),l&&a.equals(l[l.length-1])||(l=[a],o.push(l)),l.push(c)))))}}return o}Xi($f,"Anchor");const Qf=1e20;function ep(e,t,r,n,i,o,a,s,l){for(let c=t;c<t+n;c++)tp(e,r*o+c,o,i,a,s,l);for(let c=r;c<r+i;
2c++)tp(e,c*o+t,1,n,a,s,l)}function tp(e,t,r,n,i,o,a){o[0]=0,a[0]=-Qf,a[1]=Qf,i[0]=e[t];for(let s=1,l=0,c=0;s<n;s++){i[s]=e[t+s*r];const n=s*s;do{const e=o[l];c=(i[s]-i[e]+n-e*e)/(s-e)/2}while(c<=a[l]&&--l>-1);l++,o[l]=s,a[l]=c,a[l+1]=Qf}for(let s=0,l=0;s<n;s++){for(;a[l+1]<s;)l++;const n=o[l],c=s-n;e[t+s*r]=i[n]+c*c}}const rp=2,np={none:0,ideographs:1,all:2};class ip{constructor(e,t,r){this.requestManager=e,this.localGlyphMode=t,this.localFontFamily=r,this.entries={},this.localGlyphs={200:{},400:{},500:{},900:{}}}setURL(e){this.url=e}getGlyphs(e,t){const r=[];for(const t in e)for(const n of e[t])r.push({stack:t,id:n});C(r,({stack:e,id:t},r)=>{let n=this.entries[e];n||(n=this.entries[e]={glyphs:{},requests:{},ranges:{},ascender:void 0,descender:void 0});let i=n.glyphs[t];if(void 0!==i)return void r(null,{stack:e,id:t,glyph:i});if(i=this._tinySDF(n,e,t),i)return n.glyphs[t]=i,void r(null,{stack:e,id:t,glyph:i});const o=Math.floor(t/256);if(256*o>65535)return void r(new Error("glyphs > 65535 not supported"));if(n.ranges[o])return void r(null,{stack:e,id:t,glyph:i});let a=n.requests[o];a||(a=n.requests[o]=[],ip.loadGlyphRange(e,o,this.url,this.requestManager,(e,t)=>{if(t){n.ascender=t.ascender,n.descender=t.descender;for(const e in t.glyphs)this._doesCharSupportLocalGlyph(+e)||(n.glyphs[+e]=t.glyphs[+e]);n.ranges[o]=!0}for(const r of a)r(e,t);delete n.requests[o]})),a.push((n,i)=>{n?r(n):i&&r(null,{stack:e,id:t,glyph:i.glyphs[t]||null})})},(e,r)=>{if(e)t(e);else if(r){const e={};for(const{stack:t,id:n,glyph:i}of r)void 0===e[t]&&(e[t]={}),void 0===e[t].glyphs&&(e[t].glyphs={}),e[t].glyphs[n]=i&&{id:i.id,bitmap:i.bitmap.clone(),metrics:i.metrics},e[t].ascender=this.entries[t].ascender,e[t].descender=this.entries[t].descender;t(null,e)}})}_doesCharSupportLocalGlyph(e){return this.localGlyphMode!==np.none&&(this.localGlyphMode===np.all?!!this.localFontFamily:!!this.localFontFamily&&(to["CJK Unified Ideographs"](e)||to["Hangul Syllables"](e)||to.Hiragana(e)||to.Katakana(e)||to["CJK Symbols and Punctuation"](e)))}_tinySDF(e,t,r){const n=this.localFontFamily;if(!n||!this._doesCharSupportLocalGlyph(r))return;let i=e.tinySDF;if(!i){let r="400";/bold/i.test(t)?r="900":/medium/i.test(t)?r="500":/light/i.test(t)&&(r="200"),i=e.tinySDF=new ip.TinySDF({fontFamily:n,fontWeight:r,fontSize:24*rp,buffer:3*rp,radius:8*rp}),i.fontWeight=r}if(this.localGlyphs[i.fontWeight][r])return this.localGlyphs[i.fontWeight][r];const o=String.fromCharCode(r),{data:a,width:s,height:l,glyphWidth:c,glyphHeight:u,glyphLeft:d,glyphTop:f,glyphAdvance:p}=i.draw(o);return this.localGlyphs[i.fontWeight][r]={id:r,bitmap:new Fc({width:s,height:l},a),metrics:{width:c/rp,height:u/rp,left:d/rp,top:f/rp-27,advance:p/rp,localGlyph:!0}}}}ip.loadGlyphRange=function(e,t,r,n,i){const o=256*t,a=o+255,s=n.transformRequest(n.normalizeGlyphsURL(r).replace("{fontstack}",e).replace("{range}",`${o}-${a}`),ce.Glyphs);pe(s,(e,t)=>{if(e)i(e);else if(t){const e={},r=function(e){return new vf(e).readFields(_f,{})}(t);for(const t of r.glyphs)e[t.id]=t;i(null,{glyphs:e,ascender:r.ascender,descender:r.descender})}})},ip.TinySDF=class{constructor({fontSize:e=24,buffer:t=3,radius:r=8,cutoff:n=.25,fontFamily:i="sans-serif",fontWeight:o="normal",fontStyle:a="normal"}={}){this.buffer=t,this.cutoff=n,this.radius=r;const s=this.size=e+4*t,l=this._createCanvas(s),c=this.ctx=l.getContext("2d",{willReadFrequently:!0});c.font=`${a} ${o} ${e}px ${i}`,c.textBaseline="alphabetic",c.textAlign="left",c.fillStyle="black",this.gridOuter=new Float64Array(s*s),this.gridInner=new Float64Array(s*s),this.f=new Float64Array(s),this.z=new Float64Array(s+1),this.v=new Uint16Array(s)}_createCanvas(e){const t=document.createElement("canvas");return t.width=t.height=e,t}draw(e){const{width:t,actualBoundingBoxAscent:r,actualBoundingBoxDescent:n,actualBoundingBoxLeft:i,actualBoundingBoxRight:o}=this.ctx.measureText(e),a=Math.ceil(r),s=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(o-i))),l=Math.min(this.size-this.buffer,a+Math.ceil(n)),c=s+2*this.buffer,u=l+2*this.buffer,d=Math.max(c*u,0),f=new Uint8ClampedArray(d),p={data:f,width:c,height:u,glyphWidth:s,glyphHeight:l,glyphTop:a,glyphLeft:0,glyphAdvance:t};
vendor: 6,804 bytes, line 2
2if(0===s||0===l)return p;const{ctx:h,buffer:m,gridInner:y,gridOuter:g}=this;h.clearRect(m,m,s,l),h.fillText(e,m,m+a);const v=h.getImageData(m,m,s,l);g.fill(Qf,0,d),y.fill(0,0,d);for(let e=0;e<l;e++)for(let t=0;t<s;t++){const r=v.data[4*(e*s+t)+3]/255;if(0===r)continue;const n=(e+m)*c+t+m;if(1===r)g[n]=0,y[n]=Qf;else{const e=.5-r;g[n]=e>0?e*e:0,y[n]=e<0?e*e:0}}ep(g,0,0,c,u,c,this.f,this.v,this.z),ep(y,m,m,s,l,c,this.f,this.v,this.z);for(let e=0;e<d;e++){const t=Math.sqrt(g[e])-Math.sqrt(y[e]);f[e]=Math.round(255-255*(t/this.radius+this.cutoff))}return p}};const op=Sf;function ap(e,t,r,n){const i=[],o=e.image,a=o.pixelRatio,s=o.paddedRect.w-2*op,l=o.paddedRect.h-2*op,c=e.right-e.left,u=e.bottom-e.top,d=o.stretchX||[[0,s]],f=o.stretchY||[[0,l]],p=(e,t)=>e+t[1]-t[0],h=d.reduce(p,0),m=f.reduce(p,0),y=s-h,g=l-m;let v=0,_=h,x=0,w=m,O=0,j=y,S=0,M=g;if(o.content&&n){const e=o.content;v=sp(d,0,e[0]),x=sp(f,0,e[1]),_=sp(d,e[0],e[2]),w=sp(f,e[1],e[3]),O=e[0]-v,S=e[1]-x,j=e[2]-e[0]-_,M=e[3]-e[1]-w}const k=(n,i,s,l)=>{const d=cp(n.stretch-v,_,c,e.left),f=up(n.fixed-O,j,n.stretch,h),p=cp(i.stretch-x,w,u,e.top),y=up(i.fixed-S,M,i.stretch,m),g=cp(s.stretch-v,_,c,e.left),k=up(s.fixed-O,j,s.stretch,h),P=cp(l.stretch-x,w,u,e.top),T=up(l.fixed-S,M,l.stretch,m),E=new b(d,p),C=new b(g,p),L=new b(g,P),A=new b(d,P),D=new b(f/a,y/a),I=new b(k/a,T/a),N=t*Math.PI/180;if(N){const e=Math.sin(N),t=Math.cos(N),r=[t,-e,e,t];E._matMult(r),C._matMult(r),A._matMult(r),L._matMult(r)}const R=n.stretch+n.fixed,z=i.stretch+i.fixed;return{tl:E,tr:C,bl:A,br:L,tex:{x:o.paddedRect.x+op+R,y:o.paddedRect.y+op+z,w:s.stretch+s.fixed-R,h:l.stretch+l.fixed-z},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:D,pixelOffsetBR:I,minFontScaleX:j/a/c,minFontScaleY:M/a/u,isSDF:r}};if(n&&(o.stretchX||o.stretchY)){const e=lp(d,y,h),t=lp(f,g,m);for(let r=0;r<e.length-1;r++){const n=e[r],o=e[r+1];for(let e=0;e<t.length-1;e++)i.push(k(n,t[e],o,t[e+1]))}}else i.push(k({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:s+1},{fixed:0,stretch:l+1}));return i}function sp(e,t,r){let n=0;for(const i of e)n+=Math.max(t,Math.min(r,i[1]))-Math.max(t,Math.min(r,i[0]));return n}function lp(e,t,r){const n=[{fixed:-op,stretch:0}];for(const[t,r]of e){const e=n[n.length-1];n.push({fixed:t-e.stretch,stretch:e.stretch}),n.push({fixed:t-e.stretch,stretch:e.stretch+(r-t)})}return n.push({fixed:t+op,stretch:r}),n}function cp(e,t,r,n){return e/t*r+n}function up(e,t,r,n){return e-t*r/n}function dp(e,t,r,n){const i=t+e.positionedLines[n].lineOffset;return 0===n?r+i/2:r+(i+(t+e.positionedLines[n-1].lineOffset))/2}class fp{constructor(e=[],t=pp){if(this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(let e=(this.length>>1)-1;e>=0;e--)this._down(e)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(0===this.length)return;const e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:t,compare:r}=this,n=t[e];for(;e>0;){const i=e-1>>1,o=t[i];if(r(n,o)>=0)break;t[e]=o,e=i}t[e]=n}_down(e){const{data:t,compare:r}=this,n=this.length>>1,i=t[e];for(;e<n;){let n=1+(e<<1),o=t[n];const a=n+1;if(a<this.length&&r(t[a],o)<0&&(n=a,o=t[a]),r(o,i)>=0)break;t[e]=o,e=n}t[e]=i}}function pp(e,t){return e<t?-1:e>t?1:0}function hp(e,t=1,r=!1){let n=1/0,i=1/0,o=-1/0,a=-1/0;const s=e[0];for(let e=0;e<s.length;e++){const t=s[e];(!e||t.x<n)&&(n=t.x),(!e||t.y<i)&&(i=t.y),(!e||t.x>o)&&(o=t.x),(!e||t.y>a)&&(a=t.y)}const l=Math.min(o-n,a-i);let c=l/2;const u=new fp([],mp);if(0===l)return new b(n,i);for(let t=n;t<o;t+=l)for(let r=i;r<a;r+=l)u.push(new yp(t+c,r+c,c,e));let d=function(e){let t=0,r=0,n=0;const i=e[0];for(let e=0,o=i.length,a=o-1;e<o;a=e++){const o=i[e],s=i[a],l=o.x*s.y-s.x*o.y;r+=(o.x+s.x)*l,n+=(o.y+s.y)*l,t+=3*l}return new yp(r/t,n/t,0,e)}(e),f=u.length;for(;u.length;){const n=u.pop();(n.d>d.d||!d.d)&&(d=n,r&&console.log("found best %d after %d probes",Math.round(1e4*n.d)/1e4,f)),n.max-d.d<=t||(c=n.h/2,u.push(new yp(n.p.x-c,n.p.y-c,c,e)),u.push(new yp(n.p.x+c,n.p.y-c,c,e)),u.push(new yp(n.p.x-c,n.p.y+c,c,e)),u.push(new yp(n.p.x+c,n.p.y+c,c,e)),f+=4)}return r&&(console.log(`num probes: ${f}`),console.log(`best distance: ${d.d}`)),d.p}function mp(e,t){return t.max-e.max}class yp{constructor(e,t,r,n){this.p=new b(e,t),this.h=r,this.d=function(e,t){let r=!1,n=1/0;for(let i=0;i<t.length;i++){const o=t[i];for(let t=0,i=o.length,a=i-1;t<i;a=t++){const i=o[t],s=o[a];i.y>e.y!=s.y>e.y&&e.x<(s.x-i.x)*(e.y-i.y)/(s.y-i.y)+i.x&&(r=!r),n=Math.min(n,bc(e,i,s))}}return(r?1:-1)*Math.sqrt(n)}(this.p,n),this.max=this.d+this.h*Math.SQRT2}}const gp=7,vp=Number.POSITIVE_INFINITY,bp=Math.sqrt(2);function _p(e,[t,r]){let n=0,i=0;if(r===vp){t<0&&(t=0);const r=t/bp;switch(e){case"top-right":case"top-left":i=r-gp;break;case"bottom-right":case"bottom-left":i=-r+gp;break;case"bottom":i=-t+gp;break;case"top":i=t-gp}switch(e){case"top-right":case"bottom-right":n=-r;break;case"top-left":case"bottom-left":n=r;break;case"left":n=t;break;case"right":n=-t}}else{switch(t=Math.abs(t),r=Math.abs(r),e){case"top-right":case"top-left":case"top":i=r-gp;break;case"bottom-right":case"bottom-left":case"bottom":i=-r+gp}switch(e){case"top-right":case"bottom-right":case"right":n=-t;break;case"top-left":case"bottom-left":case"left":n=t}}return[n,i]}function xp(e,t,r,n,i,o,a,s,l,c){e.createArrays(),e.tilePixelRatio=ls/(512*e.overscaling),e.compareText={},e.iconsNeedLinear=!1;const u=e.layers[0].layout,d=e.layers[0]._unevaluatedLayout._values,f={};if("composite"===e.textSizeData.kind){const{minZoom:t,maxZoom:r}=e.textSizeData;f.compositeTextSizes=[d["text-size"].possiblyEvaluate(new Oo(t),s),d["text-size"].possiblyEvaluate(new Oo(r),s)]}if("composite"===e.iconSizeData.kind){const{minZoom:t,maxZoom:r}=e.iconSizeData;f.compositeIconSizes=[d["icon-size"].possiblyEvaluate(new Oo(t),s),d["icon-size"].possiblyEvaluate(new Oo(r),s)]}f.layoutTextSize=d["text-size"].possiblyEvaluate(new Oo(l+1),s),f.layoutIconSize=d["icon-size"].possiblyEvaluate(new Oo(l+1),s),f.textMaxSize=d["text-size"].possiblyEvaluate(new Oo(18),s);const p="map"===u.get("text-rotation-alignment")&&"point"!==u.get("symbol-placement"),h=u.get("text-size");for(const o of e.features){const l=u.get("text-font").evaluate(o,{},s).join(","),d=h.evaluate(o,{},s),m=f.layoutTextSize.evaluate(o,{},s),y=(f.layoutIconSize.evaluate(o,{},s),{horizontal:{},vertical:void 0}),g=o.text;let v,b=[0,0];if(g){const n=g.toString(),a=u.get("text-letter-spacing").evaluate(o,{},s)*Fd,c=u.get("text-line-height").evaluate(o,{},s)*Fd,f=no(n)?a:0,h=u.get("text-anchor").evaluate(o,{},s),v=u.get("text-variable-anchor");if(!v){const e=u.get("text-radial-offset").evaluate(o,{},s);b=e?_p(h,[e*Fd,vp]):u.get("text-offset").evaluate(o,{},s).map(e=>e*Fd)}
2let _=p?"center":u.get("text-justify").evaluate(o,{},s);const x="point"===u.get("symbol-placement"),w=x?u.get("text-max-width").evaluate(o,{},s)*Fd:1/0,O=o=>{e.allowVerticalPlacement&&ro(n)&&(y.vertical=Lf(g,t,r,i,l,w,c,h,o,f,b,Pf.vertical,!0,m,d))};if(!p&&v){const e="auto"===_?v.map(e=>wp(e)):[_];let n=!1;for(let o=0;o<e.length;o++){const a=e[o];if(!y.horizontal[a])if(n)y.horizontal[a]=y.horizontal[0];else{const e=Lf(g,t,r,i,l,w,c,"center",a,f,b,Pf.horizontal,!1,m,d);e&&(y.horizontal[a]=e,n=1===e.positionedLines.length)}}O("left")}else{if("auto"===_&&(_=wp(h)),x||u.get("text-writing-mode").indexOf("horizontal")>=0||!ro(n)){const e=Lf(g,t,r,i,l,w,c,h,_,f,b,Pf.horizontal,!1,m,d);e&&(y.horizontal[_]=e)}O(x?"left":_)}}let _=!1;if(o.icon&&o.icon.name){const t=n[o.icon.name];t&&(v=Uf(i[o.icon.name],u.get("icon-offset").evaluate(o,{},s),u.get("icon-anchor").evaluate(o,{},s)),_=t.sdf,void 0===e.sdfIcons?e.sdfIcons=t.sdf:e.sdfIcons!==t.sdf&&W("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(t.pixelRatio!==e.pixelRatio||0!==u.get("icon-rotate").constantOr(1))&&(e.iconsNeedLinear=!0))}const x=kp(y.horizontal)||y.vertical;e.iconsInText||(e.iconsInText=!!x&&x.iconsInText),(x||v)&&Op(e,o,y,v,n,f,m,0,b,_,a,s,c)}o&&e.generateCollisionDebugBuffers(l,e.collisionBoxArray)}function wp(e){switch(e){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function Op(e,t,r,n,i,o,a,s,l,c,u,d,f){let p=o.textMaxSize.evaluate(t,{},d);void 0===p&&(p=a);const h=e.layers[0].layout,m=h.get("icon-offset").evaluate(t,{},d),y=kp(r.horizontal)||r.vertical,g="globe"===f.name,v=Fd,b=a/v,_=e.tilePixelRatio*p/v,x=(E=e.overscaling,e.zoom>18&&E>2&&(E>>=1),Math.max(ls/(512*E),1)*h.get("symbol-spacing")),O=h.get("text-padding")*e.tilePixelRatio,j=h.get("icon-padding")*e.tilePixelRatio,S=w(h.get("text-max-angle")),M="map"===h.get("text-rotation-alignment")&&"point"!==h.get("symbol-placement"),k="map"===h.get("icon-rotation-alignment")&&"point"!==h.get("symbol-placement"),P=h.get("symbol-placement"),T=x/2;var E;const C=h.get("icon-text-fit");let L;
vendor: 9,181 bytes, line 2
2n&&"none"!==C&&(e.allowVerticalPlacement&&r.vertical&&(L=Hf(n,r.vertical,C,h.get("icon-text-fit-padding"),m,b)),y&&(n=Hf(n,y,C,h.get("icon-text-fit-padding"),m,b)));const A=(a,s,p)=>{if(s.x<0||s.x>=ls||s.y<0||s.y>=ls)return;let h=null;if(g){const{x:e,y:t,z:r}=f.projectTilePoint(s.x,s.y,p);h={anchor:new $f(e,t,r,0,void 0),up:f.upVector(p,s.x,s.y)}}!function(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b,_,x,w,O,j){const S=e.addToLineVertexArray(t,n);let M,k,P,T,E,C,L,A=0,D=0,I=0,N=0,R=-1,z=-1;const F={};let B=La("");const Y=r?r.anchor:t;let U=0,H=0;if(void 0===l._unevaluatedLayout.getValue("text-radial-offset")?[U,H]=l.layout.get("text-offset").evaluate(_,{},j).map(e=>e*Fd):(U=l.layout.get("text-radial-offset").evaluate(_,{},j)*Fd,H=vp),e.allowVerticalPlacement&&i.vertical){const e=i.vertical;if(h)C=Tp(e),s&&(L=Tp(s));else{const r=l.layout.get("text-rotate").evaluate(_,{},j)+90;P=Pp(c,Y,t,u,d,f,e,p,r,m),s&&(T=Pp(c,Y,t,u,d,f,s,g,r))}}if(o){const n=l.layout.get("icon-rotate").evaluate(_,{},j),i="none"!==l.layout.get("icon-text-fit"),a=ap(o,n,w,i),p=s?ap(s,n,w,i):void 0;k=Pp(c,Y,t,u,d,f,o,g,n),A=4*a.length;const h=e.iconSizeData;let m=null;"source"===h.kind?(m=[Bd*l.layout.get("icon-size").evaluate(_,{},j)],m[0]>Sp&&W(`${e.layerIds[0]}: Value for "icon-size" is >= ${jp}. Reduce your "icon-size".`)):"composite"===h.kind&&(m=[Bd*x.compositeIconSizes[0].evaluate(_,{},j),Bd*x.compositeIconSizes[1].evaluate(_,{},j)],(m[0]>Sp||m[1]>Sp)&&W(`${e.layerIds[0]}: Value for "icon-size" is >= ${jp}. Reduce your "icon-size".`)),e.addSymbols(e.icon,a,m,b,v,_,!1,r,t,S.lineStartIndex,S.lineLength,-1,O,j),R=e.icon.placedSymbolArray.length-1,p&&(D=4*p.length,e.addSymbols(e.icon,p,m,b,v,_,Pf.vertical,r,t,S.lineStartIndex,S.lineLength,-1,O,j),z=e.icon.placedSymbolArray.length-1)}for(const n in i.horizontal){const o=i.horizontal[n];M||(B=La(o.text),h?E=Tp(o):M=Pp(c,Y,t,u,d,f,o,p,l.layout.get("text-rotate").evaluate(_,{},j),m));const s=1===o.positionedLines.length;if(I+=Mp(e,r,t,o,a,l,h,_,m,S,i.vertical?Pf.horizontal:Pf.horizontalOnly,s?Object.keys(i.horizontal):[n],F,R,x,O,j),s)break}i.vertical&&(N+=Mp(e,r,t,i.vertical,a,l,h,_,m,S,Pf.vertical,["vertical"],F,z,x,O,j));let $=-1;const V=(e,t)=>e?Math.max(e,t):t;$=V(E,$),$=V(C,$),$=V(L,$);const q=$>-1?1:0;e.glyphOffsetArray.length>=lh.MAX_GLYPHS&&W("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==_.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,_.sortKey),e.symbolInstances.emplaceBack(Y.x,Y.y,Y.z,t.x,t.y,F.right>=0?F.right:-1,F.center>=0?F.center:-1,F.left>=0?F.left:-1,F.vertical>=0?F.vertical:-1,R,z,B,void 0!==M?M:e.collisionBoxArray.length,void 0!==M?M+1:e.collisionBoxArray.length,void 0!==P?P:e.collisionBoxArray.length,void 0!==P?P+1:e.collisionBoxArray.length,void 0!==k?k:e.collisionBoxArray.length,void 0!==k?k+1:e.collisionBoxArray.length,T||e.collisionBoxArray.length,T?T+1:e.collisionBoxArray.length,u,I,N,A,D,q,0,U,H,$)}(e,s,h,a,r,n,i,L,e.layers[0],e.collisionBoxArray,t.index,t.sourceLayerIndex,e.index,O,M,l,0,j,k,m,t,o,c,u,d)};if("line"===P)for(const i of Kf(t.geometry,0,0,ls,ls)){const t=Xf(i,x,S,r.vertical||y,n,v,_,e.overscaling,ls);for(const r of t)y&&Ep(e,y.text,T,r)||A(i,r,d)}else if("line-center"===P){for(const e of t.geometry)if(e.length>1){const t=Zf(e,S,r.vertical||y,n,v,_);t&&A(e,t,d)}}else if("Polygon"===t.type)for(const e of ju(t.geometry,0)){const t=hp(e,16);A(e[0],new $f(t.x,t.y,0,0,void 0),d)}else if("LineString"===t.type)for(const e of t.geometry)A(e,new $f(e[0].x,e[0].y,0,0,void 0),d);else if("Point"===t.type)for(const e of t.geometry)for(const t of e)A([t],new $f(t.x,t.y,0,0,void 0),d)}const jp=255,Sp=jp*Bd;function Mp(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y){const g=function(e,t,r,n,i,o,a,s){const l=[];if(0===t.positionedLines.length)return l;const c=n.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,u=function(e){const t=e[0],r=e[1],n=t*r;return n>0?[t,-r]:n<0?[-t,r]:0===t?[r,t]:[r,-t]}(r);let d=Math.abs(t.top-t.bottom);for(const e of t.positionedLines)d-=e.lineOffset;const f=t.positionedLines.length,p=d/f;let h=t.top-r[1];for(let e=0;e<f;++e){const n=t.positionedLines[e];h=dp(t,p,h,e);for(const e of n.positionedGlyphs){if(!e.rect)continue;const n=e.rect||{};let o=Of+1,d=!0,f=1,p=0;if(e.imageName){const t=a[e.imageName];if(!t)continue;if(t.sdf){W("SDF images are not supported in formatted text and will be ignored.");continue}d=!1,f=t.pixelRatio,o=Sf/f}const m=(i||s)&&e.vertical,y=e.metrics.advance*e.scale/2,g=e.metrics,v=e.rect;if(null===v)continue;s&&t.verticalizable&&(p=e.imageName?y-e.metrics.width*e.scale/2:0);const _=i?[e.x+y,e.y]:[0,0];let x=[0,0],w=[0,0],O=!1;i||(m?(w=[e.x+y+u[0],e.y+u[1]-p],O=!0):x=[e.x+y+r[0],e.y+r[1]-p]);const j=v.w*e.scale/(f*(e.localGlyph?rp:1)),S=v.h*e.scale/(f*(e.localGlyph?rp:1));let M,k,P,T;if(m){const t=e.y-h,r=new b(-y,y-t),n=-Math.PI/2,i=new b(...w);M=new b(-y+x[0],x[1]),M._rotateAround(n,r)._add(i),M.x+=-t+y,M.y-=(g.left-o)*e.scale;const a=e.imageName?g.advance*e.scale:Fd*e.scale,s=String.fromCharCode(e.glyph);qd(s)?M.x+=(1-o)*e.scale:Gd(s)?M.x+=a-g.height*e.scale+(-o-1)*e.scale:M.x+=e.imageName||g.width+2*o===v.w&&g.height+2*o===v.h?(a-S)/2:(a-(g.height+2*o)*e.scale)/2,k=new b(M.x,M.y-j),P=new b(M.x+S,M.y),T=new b(M.x+S,M.y-j)}else{const t=(g.left-o)*e.scale-y+x[0],r=(-g.top-o)*e.scale+x[1],n=t+j,i=r+S;M=new b(t,r),k=new b(n,r),P=new b(t,i),T=new b(n,i)}if(c){let e;e=i?new b(0,0):O?new b(u[0],u[1]):new b(r[0],r[1]),M._rotateAround(c,e),k._rotateAround(c,e),P._rotateAround(c,e),T._rotateAround(c,e)}const E=new b(0,0),C=new b(0,0);l.push({tl:M,tr:k,bl:P,br:T,tex:n,writingMode:t.writingMode,glyphOffset:_,sectionIndex:e.sectionIndex,isSDF:d,pixelOffsetTL:E,pixelOffsetBR:C,minFontScaleX:0,minFontScaleY:0})}}return l}(0,n,l,o,a,s,i,e.allowVerticalPlacement),v=e.textSizeData;let _=null;"source"===v.kind?(_=[Bd*o.layout.get("text-size").evaluate(s,{},y)],_[0]>Sp&&W(`${e.layerIds[0]}: Value for "text-size" is >= ${jp}. Reduce your "text-size".`)):"composite"===v.kind&&(_=[Bd*h.compositeTextSizes[0].evaluate(s,{},y),Bd*h.compositeTextSizes[1].evaluate(s,{},y)],(_[0]>Sp||_[1]>Sp)&&W(`${e.layerIds[0]}: Value for "text-size" is >= ${jp}. Reduce your "text-size".`)),e.addSymbols(e.text,g,_,l,a,s,u,t,r,c.lineStartIndex,c.lineLength,p,m,y);for(const t of d)f[t]=e.text.placedSymbolArray.length-1;return 4*g.length}function kp(e){for(const t in e)return e[t];return null}function Pp(e,t,r,n,i,o,a,s,l,c){let u=a.top,d=a.bottom,f=a.left,p=a.right;const h=a.collisionPadding;if(h&&(f-=h[0],u-=h[1],p+=h[2],d+=h[3]),l){const e=new b(f,u),t=new b(p,u),r=new b(f,d),n=new b(p,d),i=w(l);let o=new b(0,0);c&&(o=new b(c[0],c[1])),e._rotateAround(i,o),t._rotateAround(i,o),r._rotateAround(i,o),n._rotateAround(i,o),f=Math.min(e.x,t.x,r.x,n.x),p=Math.max(e.x,t.x,r.x,n.x),u=Math.min(e.y,t.y,r.y,n.y),d=Math.max(e.y,t.y,r.y,n.y)}return e.emplaceBack(t.x,t.y,t.z,r.x,r.y,f,u,p,d,s,n,i,o),e.length-1}function Tp(e){e.collisionPadding&&(e.top-=e.collisionPadding[1],e.bottom+=e.collisionPadding[3]);const t=e.bottom-e.top;return t>0?Math.max(10,t):null}function Ep(e,t,r,n){const i=e.compareText;if(t in i){const e=i[t];for(let t=e.length-1;t>=0;t--)if(n.dist(e[t])<r)return!0}else i[t]=[];return i[t].push(n),!1}function Cp(e,t){const r=e.fovAboveCenter,n=e.elevation?e.elevation.getMinElevationBelowMSL()*t:0,i=(e._camera.position[2]*e.worldSize-n)/Math.cos(e._pitch),o=Math.sin(r)*i/Math.sin(Math.max(Math.PI/2-e._pitch-r,.01)),a=Math.sin(e._pitch)*o+i;return Math.min(1.01*a,i*(1/e._horizonShift))}function Lp(e,t){if(!t.isReprojectedInTileSpace)return{scale:1<<e.z,x:e.x,y:e.y,x2:e.x+1,y2:e.y+1,projection:t};const r=Math.pow(2,-e.z),n=e.x*r,i=(e.x+1)*r,o=e.y*r,a=(e.y+1)*r,s=Gl(n),l=Gl(i),c=Zl(o),u=Zl(a),d=t.project(s,c),f=t.project(l,c),p=t.project(l,u),h=t.project(s,u);let m=Math.min(d.x,f.x,p.x,h.x),y=Math.min(d.y,f.y,p.y,h.y),g=Math.max(d.x,f.x,p.x,h.x),v=Math.max(d.y,f.y,p.y,h.y);const b=r/16;function _(e,r,n,i,o,a){const s=(n+o)/2,l=(i+a)/2,c=t.project(Gl(s),Zl(l)),u=Math.max(0,m-c.x,y-c.y,c.x-g,c.y-v);m=Math.min(m,c.x),g=Math.max(g,c.x),y=Math.min(y,c.y),v=Math.max(v,c.y),u>b&&(_(e,c,n,i,s,l),_(c,r,s,l,o,a))}_(d,f,n,o,i,o),_(f,p,i,o,i,a),_(p,h,i,a,n,a),_(h,d,n,a,n,o),m-=b,y-=b,g+=b,v+=b;const x=1/Math.max(g-m,v-y);return{scale:x,x:m*x,y:y*x,x2:g*x,y2:v*x,projection:t}}const Ap=hs(new Float32Array(16));class Dp{constructor(e){this.spec=e,this.name=e.name,this.wrap=!1,this.requiresDraping=!1,this.supportsWorldCopies=!1,this.supportsTerrain=!1,this.supportsFog=!1,this.supportsFreeCamera=!1,this.zAxisUnit="meters",this.isReprojectedInTileSpace=!0,this.unsupportedLayers=["custom"],this.center=[0,0],this.range=[3.5,7]}project(e,t){return{x:0,y:0,z:0}}unproject(e,t){return new Hl(0,0)}projectTilePoint(e,t,r){return{x:e,y:t,z:0}}locationPoint(e,t,r=!0){return e._coordinatePoint(e.locationCoordinate(t),r)}pixelsPerMeter(e,t){return ql(1,e)*t}pixelSpaceConversion(e,t,r){return 1}farthestPixelDistance(e){return Cp(e,e.pixelsPerMeter)}pointCoordinate(e,t,r,n){const i=e.horizonLineFromTop(!1),o=new b(t,Math.max(i,r));return e.rayIntersectionCoordinate(e.pointRayIntersection(o,n))}pointCoordinate3D(e,t,r){const n=new b(t,r);
vendor: 10,694 bytes, line 2
2if(e.elevation)return e.elevation.pointCoordinate(n);{const t=this.pointCoordinate(e,n.x,n.y,0);return[t.x,t.y,t.z]}}isPointAboveHorizon(e,t){if(e.elevation)return!this.pointCoordinate3D(e,t.x,t.y);const r=e.horizonLineFromTop();return t.y<r}createInversionMatrix(e,t){return Ap}createTileMatrix(e,t,r){let n,i,o;const a=r.canonical,s=hs(new Float64Array(16));if(this.isReprojectedInTileSpace){const l=Lp(a,this);n=1,i=l.x+r.wrap*l.scale,o=l.y,vs(s,s,[n/l.scale,n/l.scale,e.pixelsPerMeter/t])}else n=t/e.zoomScale(a.z),i=(a.x+Math.pow(2,a.z)*r.wrap)*n,o=a.y*n;return gs(s,s,[i,o,0]),vs(s,s,[n/ls,n/ls,1]),s}upVector(e,t,r){return[0,0,1]}upVectorScale(e,t,r){return{metersToTile:1}}}class Ip extends Dp{constructor(e){super(e),this.range=[4,7],this.center=e.center||[-96,37.5];const[t,r]=this.parallels=e.parallels||[29.5,45.5],n=Math.sin(w(t));this.n=(n+Math.sin(w(r)))/2,this.c=1+n*(2*this.n-n),this.r0=Math.sqrt(this.c)/this.n}project(e,t){const{n:r,c:n,r0:i}=this,o=w(e-this.center[0]),a=w(t),s=Math.sqrt(n-2*r*Math.sin(a))/r;return{x:s*Math.sin(o*r),y:s*Math.cos(o*r)-i,z:0}}unproject(e,t){const{n:r,c:n,r0:i}=this,o=i+t;let a=Math.atan2(e,Math.abs(o))*Math.sign(o);o*r<0&&(a-=Math.PI*Math.sign(e)*Math.sign(o));const s=w(this.center[0])*r;a=E(a,-Math.PI-s,Math.PI-s);const l=P(O(a/r)+this.center[0],-180,180),c=Math.asin(P((n-(e*e+o*o)*r*r)/(2*r),-1,1)),u=P(O(c),-Jl,Jl);return new Hl(l,u)}}const Np=1.340264,Rp=-.081106,zp=893e-6,Fp=.003796,Bp=Math.sqrt(3)/2;class Yp extends Dp{project(e,t){t=t/180*Math.PI,e=e/180*Math.PI;const r=Math.asin(Bp*Math.sin(t)),n=r*r,i=n*n*n;return{x:.5*(e*Math.cos(r)/(Bp*(Np+3*Rp*n+i*(7*zp+9*Fp*n)))/Math.PI+.5),y:1-.5*(r*(Np+Rp*n+i*(zp+Fp*n))/Math.PI+1),z:0}}unproject(e,t){e=(2*e-.5)*Math.PI;let r=t=(2*(1-t)-1)*Math.PI,n=r*r,i=n*n*n;for(let e,o,a,s=0;s<12&&(o=r*(Np+Rp*n+i*(zp+Fp*n))-t,a=Np+3*Rp*n+i*(7*zp+9*Fp*n),e=o/a,r=P(r-e,-Math.PI/3,Math.PI/3),n=r*r,i=n*n*n,!(Math.abs(e)<1e-12));++s);const o=Bp*e*(Np+3*Rp*n+i*(7*zp+9*Fp*n))/Math.cos(r),a=Math.asin(Math.sin(r)/Bp),s=P(180*o/Math.PI,-180,180),l=P(180*a/Math.PI,-Jl,Jl);return new Hl(s,l)}}class Up extends Dp{constructor(e){super(e),this.wrap=!0,this.supportsWorldCopies=!0}project(e,t){return{x:.5+e/360,y:.5-t/360,z:0}}unproject(e,t){const r=360*(e-.5),n=P(360*(.5-t),-Jl,Jl);return new Hl(r,n)}}const Hp=Math.PI/2;function $p(e){return Math.tan((Hp+e)/2)}class Wp extends Dp{constructor(e){super(e),this.center=e.center||[0,30];const[t,r]=this.parallels=e.parallels||[30,30];let n=w(t),i=w(r);this.southernCenter=n+i<0,this.southernCenter&&(n=-n,i=-i);const o=Math.cos(n),a=$p(n);this.n=n===i?Math.sin(n):Math.log(o/Math.cos(i))/Math.log($p(i)/a),this.f=o*Math.pow($p(n),this.n)/this.n}project(e,t){t=w(t),this.southernCenter&&(t=-t),e=w(e-this.center[0]);const r=1e-6,{n:n,f:i}=this;i>0?t<-Hp+r&&(t=-Hp+r):t>Hp-r&&(t=Hp-r);const o=i/Math.pow($p(t),n);let a=o*Math.sin(n*e),s=i-o*Math.cos(n*e);return a=.5*(a/Math.PI+.5),s=.5*(s/Math.PI+.5),{x:a,y:this.southernCenter?s:1-s,z:0}}unproject(e,t){e=(2*e-.5)*Math.PI,this.southernCenter&&(t=1-t),t=(2*(1-t)-.5)*Math.PI;const{n:r,f:n}=this,i=n-t,o=Math.sign(i),a=Math.sign(r)*Math.sqrt(e*e+i*i);let s=Math.atan2(e,Math.abs(i))*o;i*r<0&&(s-=Math.PI*Math.sign(e)*o);const l=P(O(s/r)+this.center[0],-180,180),c=P(O(2*Math.atan(Math.pow(n/a,1/r))-Hp),-Jl,Jl);return new Hl(l,this.southernCenter?-c:c)}}class Vp extends Dp{constructor(e){super(e),this.wrap=!0,this.supportsWorldCopies=!0,this.supportsTerrain=!0,this.supportsFog=!0,this.supportsFreeCamera=!0,this.isReprojectedInTileSpace=!1,this.unsupportedLayers=[],this.range=null}project(e,t){return{x:Wl(e),y:Vl(t),z:0}}unproject(e,t){const r=Gl(e),n=Zl(t);return new Hl(r,n)}}const qp=w(Jl);class Gp extends Dp{project(e,t){const r=(t=w(t))*t,n=r*r;return{x:.5*((e=w(e))*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791))/Math.PI+.5),y:1-.5*(t*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))/Math.PI+1),z:0}}unproject(e,t){e=(2*e-.5)*Math.PI;let r=t=(2*(1-t)-1)*Math.PI,n=25,i=0,o=r*r;do{o=r*r;const e=o*o;i=(r*(1.007226+o*(.015085+e*(.028874*o-.044475-.005916*e)))-t)/(1.007226+o*(.045255+e*(.259866*o-.311325-.005916*11*e))),r=P(r-i,-qp,qp)}while(Math.abs(i)>1e-6&&--n>0);o=r*r;const a=P(O(e/(.8707+o*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979))),-180,180),s=O(r);return new Hl(a,s)}}const Zp=w(Jl);class Xp extends Dp{project(e,t){t=w(t),e=w(e);const r=Math.cos(t),n=2/Math.PI,i=Math.acos(r*Math.cos(e/2)),o=Math.sin(i)/i,a=.5*(e*n+2*r*Math.sin(e/2)/o)||0,s=.5*(t+Math.sin(t)/o)||0;return{x:.5*(a/Math.PI+.5),y:1-.5*(s/Math.PI+1),z:0}}unproject(e,t){let r=e=(2*e-.5)*Math.PI,n=t=(2*(1-t)-1)*Math.PI,i=25;const o=1e-6;let a=0,s=0;do{const i=Math.cos(n),o=Math.sin(n),l=2*o*i,c=o*o,u=i*i,d=Math.cos(r/2),f=Math.sin(r/2),p=2*d*f,h=f*f,m=1-u*d*d,y=m?1/m:0,g=m?Math.acos(i*d)*Math.sqrt(1/m):0,v=.5*(2*g*i*f+2*r/Math.PI)-e,b=.5*(g*o+n)-t,_=.5*y*(u*h+g*i*d*c)+1/Math.PI,x=y*(p*l/4-g*o*f),w=.125*y*(l*f-g*o*u*p),O=.5*y*(c*d+g*h*i)+.5,j=x*w-O*_;a=(b*x-v*O)/j,s=(v*w-b*_)/j,r=P(r-a,-Math.PI,Math.PI),n=P(n-s,-Zp,Zp)}while((Math.abs(a)>o||Math.abs(s)>o)&&--i>0);return new Hl(O(r),O(n))}}class Jp extends Dp{constructor(e){super(e),this.center=e.center||[0,0],this.parallels=e.parallels||[0,0],this.cosPhi=Math.max(.01,Math.cos(w(this.parallels[0]))),this.scale=1/(2*Math.max(Math.PI*this.cosPhi,1/this.cosPhi)),this.wrap=!0,this.supportsWorldCopies=!0}project(e,t){const{scale:r,cosPhi:n}=this;return{x:w(e)*n*r+.5,y:-Math.sin(w(t))/n*r+.5,z:0}}unproject(e,t){const{scale:r,cosPhi:n}=this,i=-(t-.5)/r,o=P(O((e-.5)/r)/n,-180,180),a=Math.asin(P(i*n,-1,1)),s=P(O(a),-Jl,Jl);return new Hl(o,s)}}class Kp extends Vp{constructor(e){super(e),this.requiresDraping=!0,this.supportsWorldCopies=!1,this.supportsFog=!0,this.zAxisUnit="pixels",this.unsupportedLayers=["debug"],this.range=[3,5]}projectTilePoint(e,t,r){const n=Pl(e,t,r);return zs(n,n,Cl(bl(r))),{x:n[0],y:n[1],z:n[2]}}locationPoint(e,t){const r=kl(t.lat,t.lng),n=Is([],r),i=e.elevation?e.elevation.getAtPointOrZero(e.locationCoordinate(t),e._centerAltitude):e._centerAltitude;Ds(r,r,n,ql(1,0)*ls*i);const o=hs(new Float64Array(16));return ys(o,e.pixelMatrix,e.globeMatrix),zs(r,r,o),new b(r[0],r[1])}pixelsPerMeter(e,t){return ql(1,0)*t}pixelSpaceConversion(e,t,r){const n=ql(1,e)*t,i=Lr(ql(1,45)*t,n,r);return this.pixelsPerMeter(e,t)/i}createTileMatrix(e,t,r){const n=Ll(bl(r.canonical));return ys(new Float64Array(16),e.globeMatrix,n)}createInversionMatrix(e,t){const{center:r}=e,n=Cl(bl(t));return _s(n,n,w(r.lng)),bs(n,n,w(r.lat)),vs(n,n,[e._pixelsPerMercatorPixel,e._pixelsPerMercatorPixel,1]),Float32Array.from(n)}pointCoordinate(e,t,r,n){return yl(e,t,r,!0)||new Ql(0,0)}pointCoordinate3D(e,t,r){const n=this.pointCoordinate(e,t,r,0);return[n.x,n.y,n.z]}isPointAboveHorizon(e,t){return!yl(e,t.x,t.y,!1)}farthestPixelDistance(e){const t=function(e,t){const r=e.cameraToCenterDistance,n=e._centerAltitude*t,i=e._camera,o=e._camera.forward(),a=Ps([],As([],o,-r),[0,0,n]),s=e.worldSize/(2*Math.PI),l=[0,0,-s],c=e.width/e.height,u=Math.tan(e.fovAboveCenter),d=As([],i.up(),u),f=As([],i.right(),u*c),p=Is([],Ps([],Ps([],o,d),f)),h=[];let m;if(new rl(a,p).closestPointOnSphere(l,s,h)){const t=Ps([],h,l),r=Ys([],t,a);m=Math.cos(e.fovAboveCenter)*Ms(r)}else{const e=Ys([],a,l),t=Ys([],l,a);Is(t,t);const r=Ms(e)-s;m=Math.sqrt(r*(r+2*s));const n=Math.acos(m/(s+r))-Math.acos(Ns(o,t));m*=Math.cos(n)}return 1.01*m}(e,this.pixelsPerMeter(e.center.lat,e.worldSize)),r=Dl(e.zoom);if(r>0){const n=Cp(e,ql(1,e.center.lat)*e.worldSize),i=e.worldSize/(2*Math.PI),o=Math.max(e.width,e.height)/e.worldSize*Math.PI;return Lr(t,n+i*(1-Math.cos(o)),Math.pow(r,10))}return t}upVector(e,t,r){return Pl(t,r,e,1)}upVectorScale(e){return{metersToTile:ml(Tl(bl(e)))}}}function Qp(e){const t=e.parallels,r=!!t&&Math.abs(t[0]+t[1])<.01;switch(e.name){case"mercator":return new Vp(e);case"equirectangular":return new Up(e);case"naturalEarth":return new Gp(e);case"equalEarth":return new Yp(e);case"winkelTripel":return new Xp(e);case"albers":return r?new Jp(e):new Ip(e);case"lambertConformalConic":return r?new Jp(e):new Wp(e);case"globe":return new Kp(e)}throw new Error(`Invalid projection name: ${e.name}`)}const eh=Gu.types,th=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function rh(e,t,r,n,i,o,a,s,l,c,u,d,f){const p=s?Math.min(Sp,Math.round(s[0])):0,h=s?Math.min(Sp,Math.round(s[1])):0;e.emplaceBack(t,r,Math.round(32*n),Math.round(32*i),o,a,(p<<1)+(l?1:0),h,16*c,16*u,256*d,256*f)}function nh(e,t,r,n,i,o,a){e.emplaceBack(t,r,n,i,o,a)}function ih(e,t,r,n,i){e.emplaceBack(t,r,n,i),e.emplaceBack(t,r,n,i),e.emplaceBack(t,r,n,i),e.emplaceBack(t,r,n,i)}function oh(e){for(const t of e.sections)if(co(t.text))return!0;return!1}class ah{constructor(e){this.layoutVertexArray=new Xo,this.indexArray=new ia,this.programConfigurations=e,this.segments=new ss,this.dynamicLayoutVertexArray=new Vo,this.opacityVertexArray=new Ko,this.placedSymbolArray=new ya,this.globeExtVertexArray=new Jo}isEmpty(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length}upload(e,t,r,n){this.isEmpty()||(r&&(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Ld.members),this.indexBuffer=e.createIndexBuffer(this.indexArray,t),this.dynamicLayoutVertexBuffer=e.createVertexBuffer(this.dynamicLayoutVertexArray,Dd.members,!0),this.opacityVertexBuffer=e.createVertexBuffer(this.opacityVertexArray,th,!0),this.globeExtVertexArray.length>0&&(this.globeExtVertexBuffer=e.createVertexBuffer(this.globeExtVertexArray,Ad.members,!0)),this.opacityVertexBuffer.itemSize=1),(r||n)&&this.programConfigurations.upload(e))}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy(),this.globeExtVertexBuffer&&this.globeExtVertexBuffer.destroy())}}Xi(ah,"SymbolBuffers");class sh{constructor(e,t,r){this.layoutVertexArray=new e,this.layoutAttributes=t,this.indexArray=new r,this.segments=new ss,this.collisionVertexArray=new ra,this.collisionVertexArrayExt=new na}upload(e){this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=e.createVertexBuffer(this.collisionVertexArray,Id.members,!0),this.collisionVertexBufferExt=e.createVertexBuffer(this.collisionVertexArrayExt,Nd.members,!0)}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy(),this.collisionVertexBufferExt.de
vendor: 72,467 bytes, line 2
2stroy())}}Xi(sh,"CollisionBuffers");class lh{constructor(e){this.collisionBoxArray=e.collisionBoxArray,this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(e=>e.id),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.fullyClipped=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=hs([]),this.placementViewportMatrix=hs([]);const t=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Yd(this.zoom,t["text-size"]),this.iconSizeData=Yd(this.zoom,t["icon-size"]);const r=this.layers[0].layout,n=r.get("symbol-sort-key"),i=r.get("symbol-z-order");this.canOverlap=r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement"),this.sortFeaturesByKey="viewport-y"!==i&&void 0!==n.constantOr(1),this.sortFeaturesByY=("viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey)&&this.canOverlap,this.writingModes=r.get("text-writing-mode").map(e=>Pf[e]),this.stateDependentLayerIds=this.layers.filter(e=>e.isStateDependent()).map(e=>e.id),this.sourceID=e.sourceID,this.projection=e.projection}createArrays(){this.text=new ah(new Ja(this.layers,this.zoom,e=>/^text/.test(e))),this.icon=new ah(new Ja(this.layers,this.zoom,e=>/^icon/.test(e))),this.glyphOffsetArray=new ba,this.lineVertexArray=new _a,this.symbolInstances=new va}calculateGlyphDependencies(e,t,r,n,i){for(let r=0;r<e.length;r++)if(t[e.charCodeAt(r)]=!0,n&&i){const n=Vd[e.charAt(r)];n&&(t[n.charCodeAt(0)]=!0)}}populate(e,t,r,n){const i=this.layers[0],o=i.layout,a="globe"===this.projection.name,s=o.get("text-font"),l=o.get("text-field"),c=o.get("icon-image"),u=("constant"!==l.value.kind||l.value.value instanceof It&&!l.value.value.isEmpty()||l.value.value.toString().length>0)&&("constant"!==s.value.kind||s.value.value.length>0),d="constant"!==c.value.kind||!!c.value.value||Object.keys(c.parameters).length>0,f=o.get("symbol-sort-key");if(this.features=[],!u&&!d)return;const p=t.iconDependencies,h=t.glyphDependencies,m=t.availableImages,y=new Oo(this.zoom);for(const{feature:t,id:l,index:c,sourceLayerIndex:g}of e){const e=i._featureFilter.needGeometry,v=lc(t,e);if(!i._featureFilter.filter(y,v,r))continue;if(e||(v.geometry=sc(t,r,n)),a&&1!==t.type&&r.z<=5){const e=v.geometry,t=.98078528056,n=(e,n)=>Ns(Pl(e.x,e.y,r,1),Pl(n.x,n.y,r,1))<t;for(let t=0;t<e.length;t++)e[t]=nc(e[t],n)}let b,_;if(u){const e=i.getValueAndResolveTokens("text-field",v,r,m),t=It.factory(e);oh(t)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===_o()||this.hasRTLText&&wo.isParsed())&&(b=Wd(t,i,v))}if(d){const e=i.getValueAndResolveTokens("icon-image",v,r,m);_=e instanceof Nt?e:Nt.fromString(e)}if(!b&&!_)continue;const x=this.sortFeaturesByKey?f.evaluate(v,{},r):void 0;if(this.features.push({id:l,text:b,icon:_,index:c,sourceLayerIndex:g,geometry:v.geometry,properties:t.properties,type:eh[t.type],sortKey:x}),_&&(p[_.name]=!0),b){const e=s.evaluate(v,{},r).join(","),t="map"===o.get("text-rotation-alignment")&&"point"!==o.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Pf.vertical)>=0;for(const r of b.sections)if(r.image)p[r.image.name]=!0;else{const n=ro(b.toString()),i=r.fontStack||e,o=h[i]=h[i]||{};this.calculateGlyphDependencies(r.text,o,t,this.allowVerticalPlacement,n)}}}"line"===o.get("symbol-placement")&&(this.features=function(e){const t={},r={},n=[];let i=0;function o(t){n.push(e[t]),i++}function a(e,t,i){const o=r[e];return delete r[e],r[t]=o,n[o].geometry[0].pop(),n[o].geometry[0]=n[o].geometry[0].concat(i[0]),o}function s(e,r,i){const o=t[r];return delete t[r],t[e]=o,n[o].geometry[0].shift(),n[o].geometry[0]=i[0].concat(n[o].geometry[0]),o}function l(e,t,r){const n=r?t[0][t[0].length-1]:t[0][0];return`${e}:${n.x}:${n.y}`}for(let c=0;c<e.length;c++){const u=e[c],d=u.geometry,f=u.text?u.text.toString():null;if(!f){o(c);continue}const p=l(f,d),h=l(f,d,!0);if(p in r&&h in t&&r[p]!==t[h]){const e=s(p,h,d),i=a(p,h,n[e].geometry);delete t[p],delete r[h],r[l(f,n[i].geometry,!0)]=i,n[e].geometry=null}else p in r?a(p,h,d):h in t?s(p,h,d):(o(c),t[p]=i-1,r[h]=i-1)}return n.filter(e=>e.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((e,t)=>e.sortKey-t.sortKey)}update(e,t,r,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(e,t,this.layers,r,n),this.icon.programConfigurations.updatePaintArrays(e,t,this.layers,r,n))}isEmpty(){return 0===this.symbolInstances.length&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(e){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(e),this.iconCollisionBox.upload(e)),this.text.upload(e,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(e,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}getProjection(){return this.projectionInstance||(this.projectionInstance=Qp(this.projection)),this.projectionInstance}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(e,t){const r=this.lineVertexArray.length;if(void 0!==e.segment)for(const{x:e,y:r}of t)this.lineVertexArray.emplaceBack(e,r);return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}}addSymbols(e,t,r,n,i,o,a,s,l,c,u,d,f,p){const h=e.indexArray,m=e.layoutVertexArray,y=e.globeExtVertexArray,g=e.segments.prepareSegment(4*t.length,m,h,this.canOverlap?o.sortKey:void 0),v=this.glyphOffsetArray.length,b=g.vertexLength,_=this.allowVerticalPlacement&&a===Pf.vertical?Math.PI/2:0,x=o.text&&o.text.sections;for(let n=0;n<t.length;n++){const{tl:i,tr:a,bl:c,br:u,tex:d,pixelOffsetTL:v,pixelOffsetBR:b,minFontScaleX:w,minFontScaleY:O,glyphOffset:j,isSDF:S,sectionIndex:M}=t[n],k=g.vertexLength,P=j[1];if(rh(m,l.x,l.y,i.x,P+i.y,d.x,d.y,r,S,v.x,v.y,w,O),rh(m,l.x,l.y,a.x,P+a.y,d.x+d.w,d.y,r,S,b.x,v.y,w,O),rh(m,l.x,l.y,c.x,P+c.y,d.x,d.y+d.h,r,S,v.x,b.y,w,O),rh(m,l.x,l.y,u.x,P+u.y,d.x+d.w,d.y+d.h,r,S,b.x,b.y,w,O),s){const{x:t,y:r,z:n}=s.anchor,[i,o,a]=s.up;nh(y,t,r,n,i,o,a),nh(y,t,r,n,i,o,a),nh(y,t,r,n,i,o,a),nh(y,t,r,n,i,o,a),ih(e.dynamicLayoutVertexArray,t,r,n,_)}else ih(e.dynamicLayoutVertexArray,l.x,l.y,l.z,_);h.emplaceBack(k,k+1,k+2),h.emplaceBack(k+1,k+2,k+3),g.vertexLength+=4,g.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(j[0]),n!==t.length-1&&M===t[n+1].sectionIndex||e.programConfigurations.populatePaintArrays(m.length,o,o.index,{},f,p,x&&x[M])}const w=s?s.anchor:l;e.placedSymbolArray.emplaceBack(w.x,w.y,w.z,l.x,l.y,v,this.glyphOffsetArray.length-v,b,c,u,l.segment,r?r[0]:0,r?r[1]:0,n[0],n[1],a,0,!1,0,d,0)}_commitLayoutVertex(e,t,r,n,i,o,a){e.emplaceBack(t,r,n,i,o,Math.round(a.x),Math.round(a.y))}_addCollisionDebugVertices(e,t,r,n,i,o,a){const s=r.segments.prepareSegment(4,r.layoutVertexArray,r.indexArray),l=s.vertexLength,c=a.tileAnchorX,u=a.tileAnchorY;for(let e=0;e<4;e++)r.collisionVertexArray.emplaceBack(0,0,0,0);r.collisionVertexArrayExt.emplaceBack(t,-e.padding,-e.padding),r.collisionVertexArrayExt.emplaceBack(t,e.padding,-e.padding),r.collisionVertexArrayExt.emplaceBack(t,e.padding,e.padding),r.collisionVertexArrayExt.emplaceBack(t,-e.padding,e.padding),this._commitLayoutVertex(r.layoutVertexArray,n,i,o,c,u,new b(e.x1,e.y1)),this._commitLayoutVertex(r.layoutVertexArray,n,i,o,c,u,new b(e.x2,e.y1)),this._commitLayoutVertex(r.layoutVertexArray,n,i,o,c,u,new b(e.x2,e.y2)),this._commitLayoutVertex(r.layoutVertexArray,n,i,o,c,u,new b(e.x1,e.y2)),s.vertexLength+=4;const d=r.indexArray;d.emplaceBack(l,l+1),d.emplaceBack(l+1,l+2),d.emplaceBack(l+2,l+3),d.emplaceBack(l+3,l),s.primitiveLength+=4}_addTextDebugCollisionBoxes(e,t,r,n,i,o){for(let a=n;a<i;a++){const n=r.get(a),i=this.getSymbolInstanceTextSize(e,o,t,a);this._addCollisionDebugVertices(n,i,this.textCollisionBox,n.projectedAnchorX,n.projectedAnchorY,n.projectedAnchorZ,o)}}_addIconDebugCollisionBoxes(e,t,r,n,i,o){for(let a=n;a<i;a++){const n=r.get(a),i=this.getSymbolInstanceIconSize(e,t,o.placedIconSymbolIndex);this._addCollisionDebugVertices(n,i,this.iconCollisionBox,n.projectedAnchorX,n.projectedAnchorY,n.projectedAnchorZ,o)}}generateCollisionDebugBuffers(e,t){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new sh(ea,Rd.members,ua),this.iconCollisionBox=new sh(ea,Rd.members,ua);const r=Hd(this.iconSizeData,e),n=Hd(this.textSizeData,e);for(let i=0;i<this.symbolInstances.length;i++){const o=this.symbolInstances.get(i);this._addTextDebugCollisionBoxes(n,e,t,o.textBoxStartIndex,o.textBoxEndIndex,o),this._addTextDebugCollisionBoxes(n,e,t,o.verticalTextBoxStartIndex,o.verticalTextBoxEndIndex,o),this._addIconDebugCollisionBoxes(r,e,t,o.iconBoxStartIndex,o.iconBoxEndIndex,o),this._addIconDebugCollisionBoxes(r,e,t,o.verticalIconBoxStartIndex,o.verticalIconBoxEndIndex,o)}}getSymbolInstanceTextSize(e,t,r,n){const i=this.text.placedSymbolArray.get(t.rightJustifiedTextSymbolIndex>=0?t.rightJustifiedTextSymbolIndex:t.centerJustifiedTextSymbolIndex>=0?t.centerJustifiedTextSymbolIndex:t.leftJustifiedTextSymbolIndex>=0?t.leftJustifiedTextSymbolIndex:t.verticalPlacedTextSymbolIndex>=0?t.verticalPlacedTextSymbolIndex:n),o=Ud(this.textSizeData,e,i)/Fd;return this.tilePixelRatio*o}getSymbolInstanceIconSize(e,t,r){const n=this.icon.placedSymbolArray.get(r),i=Ud(this.iconSizeData,e,n);return this.tilePixelRatio*i}_commitDebugCollisionVertexUpdate(e,t,r){e.emplaceBack(t,-r,-r),e.emplaceBack(t,r,-r),e.emplaceBack(t,r,r),e.emplaceBack(t,-r,r)}_updateTextDebugCollisionBoxes(e,t,r,n,i,o){for(let a=n;a<i;a++){const n=r.get(a),i=this.getSymbolInstanceTextSize(e,o,t,a);this._commitDebugCollisionVertexUpdate(this.textCollisionBox.collisionVertexArrayExt,i,n.padding)}}_updateIconDebugCollisionBoxes(e,t,r,n,i,o){for(let a=n;a<i;a++){const n=r.get(a),i=this.getSymbolInstanceIconSize(e,t,o);this._commitDebugCollisionVertexUpdate(this.iconCollisionBox.collisionVertexArrayExt,i,n.padding)}}updateCollisionDebugBuffers(e,t){if(!this.hasDebugData())return;this.hasTextCollisionBoxData()&&this.textCollisionBox.collisionVertexArrayExt.clear(),this.hasIconCollisionBoxData()&&this.iconCollisionBox.collisionVertexArrayExt.clear();const r=Hd(this.iconSizeData,e),n=Hd(this.textSizeData,e);for(let i=0;i<this.symbolInstances.length;i++){const o=this.symbolInstances.get(i);this._updateTextDebugCollisionBoxes(n,e,t,o.textBoxStartIndex,o.textBoxEndIndex,o),this._updateTextDebugCollisionBoxes(n,e,t,o.verticalTextBoxStartIndex,o.verticalTextBoxEndIndex,o),this._updateIconDebugCollisionBoxes(r,e,t,o.iconBoxStartIndex,o.iconBoxEndIndex,o.placedIconSymbolIndex),this._updateIconDebugCollisionBoxes(r,e,t,o.verticalIconBoxStartIndex,o.verticalIconBoxEndIndex,o.placedIconSymbolIndex)}this.hasTextCollisionBoxData()&&this.textCollisionBox.collisionVertexBufferExt&&this.textCollisionBox.collisionVertexBufferExt.updateData(this.textCollisionBox.collisionVertexArrayExt),this.hasIconCollisionBoxData()&&this.iconCollisionBox.collisionVertexBufferExt&&this.iconCollisionBox.collisionVertexBufferExt.updateData(this.iconCollisionBox.collisionVertexArrayExt)}_deserializeCollisionBoxesForSymbol(e,t,r,n,i,o,a,s,l){const c={};if(t<r){const{x1:r,y1:n,x2:i,y2:o,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f,featureIndex:p}=e.get(t);c.textBox={x1:r,y1:n,x2:i,y2:o,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f},c.textFeatureIndex=p}if(n<i){const{x1:t,y1:r,x2:i,y2:o,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f,featureIndex:p}=e.get(n);c.verticalTextBox={x1:t,y1:r,x2:i,y2:o,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f},c.verticalTextFeatureIndex=p}if(o<a){const{x1:t,y1:r,x2:n,y2:i,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f,featureIndex:p}=e.get(o);c.iconBox={x1:t,y1:r,x2:n,y2:i,padding:a,projectedAnchorX:s,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f},c.iconFeatureIndex=p}if(s<l){const{x1:t,y1:r,x2:n,y2:i,padding:o,projectedAnchorX:a,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f,featureIndex:p}=e.get(s);c.verticalIconBox={x1:t,y1:r,x2:n,y2:i,padding:o,projectedAnchorX:a,projectedAnchorY:l,projectedAnchorZ:u,tileAnchorX:d,tileAnchorY:f},c.verticalIconFeatureIndex=p}return c}deserializeCollisionBoxes(e){this.collisionArrays=[];for(let t=0;t<this.symbolInstances.length;t++){const r=this.symbolInstances.get(t);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(e,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}}hasTextData(){return this.text.segments.get().length>0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(e,t){const r=e.placedSymbolArray.get(t),n=r.vertexStartIndex+4*r.numGlyphs;for(let t=r.vertexStartIndex;t<n;t+=4)e.indexArray.emplaceBack(t,t+1,t+2),e.indexArray.emplaceBack(t+1,t+2,t+3)}getSortedSymbolIndexes(e){if(this.sortedAngle===e&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;const t=Math.sin(e),r=Math.cos(e),n=[],i=[],o=[];for(let e=0;e<this.symbolInstances.length;++e){o.push(e);const a=this.symbolInstances.get(e);n.push(0|Math.round(t*a.tileAnchorX+r*a.tileAnchorY)),i.push(a.featureIndex)}return o.sort((e,t)=>n[e]-n[t]||i[t]-i[e]),o}addToSortKeyRanges(e,t){const r=this.sortKeyRanges[this.sortKeyRanges.length-1];r&&r.sortKey===t?r.symbolInstanceEnd=e+1:this.sortKeyRanges.push({sortKey:t,symbolInstanceStart:e,symbolInstanceEnd:e+1})}sortFeatures(e){if(this.sortFeaturesByY&&this.sortedAngle!==e&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(e),this.sortedAngle=e,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const e of this.symbolInstanceIndexes){const t=this.symbolInstances.get(e);this.featureSortOrder.push(t.featureIndex);const{rightJustifiedTextSymbolIndex:r,centerJustifiedTextSymbolIndex:n,leftJustifiedTextSymbolIndex:i,verticalPlacedTextSymbolIndex:o,placedIconSymbolIndex:a,verticalPlacedIconSymbolIndex:s}=t;r>=0&&this.addIndicesForPlacedSymbol(this.text,r),n>=0&&n!==r&&this.addIndicesForPlacedSymbol(this.text,n),i>=0&&i!==n&&i!==r&&this.addIndicesForPlacedSymbol(this.text,i),o>=0&&this.addIndicesForPlacedSymbol(this.text,o),a>=0&&this.addIndicesForPlacedSymbol(this.icon,a),s>=0&&this.addIndicesForPlacedSymbol(this.icon,s)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}Xi(lh,"SymbolBucket",{omit:["layers","collisionBoxArray","features","compareText"]}),lh.MAX_GLYPHS=65535,lh.addDynamicAttributes=ih;const ch=new Io({"symbol-placement":new Lo(tt.layout_symbol["symbol-placement"]),"symbol-spacing":new Lo(tt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Lo(tt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Ao(tt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Lo(tt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Lo(tt.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Lo(tt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Lo(tt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Lo(tt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Ao(tt.layout_symbol["icon-size"]),"icon-text-fit":new Lo(tt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Lo(tt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Ao(tt.layout_symbol["icon-image"]),"icon-rotate":new Ao(tt.layout_symbol["icon-rotate"]),"icon-padding":new Lo(tt.layout_symbol["icon-padding"]),"icon-keep-upright":new Lo(tt.layout_symbol["icon-keep-upright"]),"icon-offset":new Ao(tt.layout_symbol["icon-offset"]),"icon-anchor":new Ao(tt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Lo(tt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Lo(tt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Lo(tt.layout_symbol["text-rotation-alignment"]),"text-field":new Ao(tt.layout_symbol["text-field"]),"text-font":new Ao(tt.layout_symbol["text-font"]),"text-size":new Ao(tt.layout_symbol["text-size"]),"text-max-width":new Ao(tt.layout_symbol["text-max-width"]),"text-line-height":new Ao(tt.layout_symbol["text-line-height"]),"text-letter-spacing":new Ao(tt.layout_symbol["text-letter-spacing"]),"text-justify":new Ao(tt.layout_symbol["text-justify"]),"text-radial-offset":new Ao(tt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Lo(tt.layout_symbol["text-variable-anchor"]),"text-anchor":new Ao(tt.layout_symbol["text-anchor"]),"text-max-angle":new Lo(tt.layout_symbol["text-max-angle"]),"text-writing-mode":new Lo(tt.layout_symbol["text-writing-mode"]),"text-rotate":new Ao(tt.layout_symbol["text-rotate"]),"text-padding":new Lo(tt.layout_symbol["text-padding"]),"text-keep-upright":new Lo(tt.layout_symbol["text-keep-upright"]),"text-transform":new Ao(tt.layout_symbol["text-transform"]),"text-offset":new Ao(tt.layout_symbol["text-offset"]),"text-allow-overlap":new Lo(tt.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Lo(tt.layout_symbol["text-ignore-placement"]),"text-optional":new Lo(tt.layout_symbol["text-optional"])});var uh={paint:new Io({"icon-opacity":new Ao(tt.paint_symbol["icon-opacity"]),"icon-color":new Ao(tt.paint_symbol["icon-color"]),"icon-halo-color":new Ao(tt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Ao(tt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Ao(tt.paint_symbol["icon-halo-blur"]),"icon-translate":new Lo(tt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Lo(tt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Ao(tt.paint_symbol["text-opacity"]),"text-color":new Ao(tt.paint_symbol["text-color"],{runtimeType:pt,getOverride:e=>e.textColor,hasOverride:e=>!!e.textColor}),"text-halo-color":new Ao(tt.paint_symbol["text-halo-color"]),"text-halo-width":new Ao(tt.paint_symbol["text-halo-width"]),"text-halo-blur":new Ao(tt.paint_symbol["text-halo-blur"]),"text-translate":new Lo(tt.paint_symbol["text-translate"]),"text-translate-anchor":new Lo(tt.paint_symbol["text-translate-anchor"])}),layout:ch};class dh{constructor(e){this.type=e.property.overrides?e.property.overrides.runtimeType:ct,this.defaultValue=e}evaluate(e){if(e.formattedSection){const t=this.defaultValue.property.overrides;if(t&&t.hasOverride(e.formattedSection))return t.getOverride(e.formattedSection)}return e.feature&&e.featureState?this.defaultValue.evaluate(e.feature,e.featureState):this.defaultValue.property.specification.default}eachChild(e){this.defaultValue.isConstant()||e(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}Xi(dh,"FormatSectionOverride",{omit:["defaultValue"]});class fh extends is{constructor(e){super(e,uh)}recalculate(e,t){super.recalculate(e,t),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment"));const r=this.layout.get("text-writing-mode");if(r){const e=[];for(const t of r)e.indexOf(t)<0&&e.push(t);this.layout._values["text-writing-mode"]=e}else this.layout._values["text-writing-mode"]="point"===this.layout.get("symbol-placement")?["horizontal"]:["horizontal","vertical"];this._setPaintOverrides()}getValueAndResolveTokens(e,t,r,n){const i=this.layout.get(e).evaluate(t,{},r,n),o=this._unevaluatedLayout._values[e];return o.isDataDriven()||Xn(o.value)||!i?i:function(e,t){return t.replace(/{([^{}]+)}/g,(t,r)=>r in e?String(e[r]):"")}(t.properties,i)}createBucket(e){return new lh(e)}queryRadius(){return 0}queryIntersectsFeature(){return!1}_setPaintOverrides(){for(const e of uh.paint.overridableProperties){if(!fh.hasPaintOverride(this.layout,e))continue;const t=this.paint.get(e),r=new dh(t),n=new Zn(r,t.property.specification);let i=null;i="constant"===t.value.kind||"source"===t.value.kind?new Kn("source",n):new Qn("composite",n,t.value.zoomStops,t.value._interpolationType),this.paint._values[e]=new Eo(t.property,i,t.parameters)}}_handleOverridablePaintPropertyUpdate(e,t,r){return!(!this.layout||t.isDataDriven()||r.isDataDriven())&&fh.hasPaintOverride(this.layout,e)}static hasPaintOverride(e,t){const r=e.get("text-field"),n=uh.paint.properties[t];let i=!1;const o=e=>{for(const t of e)if(n.overrides&&n.overrides.hasOverride(t))return void(i=!0)};if("constant"===r.value.kind&&r.value.value instanceof It)o(r.value.value.sections);else if("source"===r.value.kind){const e=t=>{i||(t instanceof Ut&&Ft(t.value)===gt?o(t.value.sections):t instanceof qt?o(t.sections):t.eachChild(e))},t=r.value;t._styleExpression&&e(t._styleExpression.expression)}return i}getProgramConfiguration(e){return new Xa(this,e)}}var ph={paint:new Io({"background-color":new Lo(tt.paint_background["background-color"]),"background-pattern":new Lo(tt.paint_background["background-pattern"]),"background-opacity":new Lo(tt.paint_background["background-opacity"])})},hh={paint:new Io({"raster-opacity":new Lo(tt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Lo(tt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Lo(tt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Lo(tt.paint_raster["raster-brightness-max"]),"raster-saturation":new Lo(tt.paint_raster["raster-saturation"]),"raster-contrast":new Lo(tt.paint_raster["raster-contrast"]),"raster-resampling":new Lo(tt.paint_raster["raster-resampling"]),"raster-fade-duration":new Lo(tt.paint_raster["raster-fade-duration"])})};class mh extends is{constructor(e){super(e,{}),this.implementation=e}is3D(){return"3d"===this.implementation.renderingMode}hasOffscreenPass(){return void 0!==this.implementation.prerender}isLayerDraped(){return void 0!==this.implementation.renderToTile}shouldRedrape(){return!!this.implementation.shouldRerenderTiles&&this.implementation.shouldRerenderTiles()}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){}onAdd(e){this.implementation.onAdd&&this.implementation.onAdd(e,e.painter.context.gl)}onRemove(e){this.implementation.onRemove&&this.implementation.onRemove(e,e.painter.context.gl)}}var yh={paint:new Io({"sky-type":new Lo(tt.paint_sky["sky-type"]),"sky-atmosphere-sun":new Lo(tt.paint_sky["sky-atmosphere-sun"]),"sky-atmosphere-sun-intensity":new Lo(tt.paint_sky["sky-atmosphere-sun-intensity"]),"sky-gradient-center":new Lo(tt.paint_sky["sky-gradient-center"]),"sky-gradient-radius":new Lo(tt.paint_sky["sky-gradient-radius"]),"sky-gradient":new Do(tt.paint_sky["sky-gradient"]),"sky-atmosphere-halo-color":new Lo(tt.paint_sky["sky-atmosphere-halo-color"]),"sky-atmosphere-color":new Lo(tt.paint_sky["sky-atmosphere-color"]),"sky-opacity":new Lo(tt.paint_sky["sky-opacity"])})};function gh(e,t,r){const n=[0,0,1],i=Gs([]);return Xs(i,i,r?-w(e)+Math.PI:w(e)),Zs(i,i,-w(t)),Fs(n,n,i),Is(n,n)}const vh={circle:class extends is{constructor(e){super(e,Tc)}createBucket(e){return new dc(e)}queryRadius(e){const t=e;return jc("circle-radius",this,t)+jc("circle-stroke-width",this,t)+Sc(this.paint.get("circle-translate"))}queryIntersectsFeature(e,t,r,n,i,o,a,s){const l=kc(this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,e.pixelToTileUnitsFactor),c=this.paint.get("circle-radius").evaluate(t,r)+this.paint.get("circle-stroke-width").evaluate(t,r);return Ec(e,n,o,a,s,"map"===this.paint.get("circle-pitch-alignment"),"map"===this.paint.get("circle-pitch-scale"),l,c)}getProgramIds(){return["circle"]}getProgramConfiguration(e){return new Xa(this,e)}},heatmap:class extends is{createBucket(e){return new Ic(e)}constructor(e){super(e,Yc),this._updateColorRamp()}_handleSpecialPaintPropertyUpdate(e){"heatmap-color"===e&&this._updateColorRamp()}_updateColorRamp(){this.colorRamp=Uc({expression:this._transitionablePaint._values["heatmap-color"].value.expression,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null}resize(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)}queryRadius(e){return jc("heatmap-radius",this,e)}queryIntersectsFeature(e,t,r,n,i,o,a,s){const l=this.paint.get("heatmap-radius").evaluate(t,r);return Ec(e,n,o,a,s,!0,!0,new b(0,0),l)}hasOffscreenPass(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility}getProgramIds(){return["heatmap","heatmapTexture"]}getProgramConfiguration(e){return new Xa(this,e)}},hillshade:class extends is{constructor(e){super(e,Hc)}hasOffscreenPass(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility}getProgramIds(){return["hillshade","hillshadePrepare"]}},fill:class extends is{constructor(e){super(e,Eu)}getProgramIds(){const e=this.paint.get("fill-pattern"),t=e&&e.constantOr(1),r=[t?"fillPattern":"fill"];return this.paint.get("fill-antialias")&&r.push(t&&!this.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline"),r}getProgramConfiguration(e){return new Xa(this,e)}recalculate(e,t){super.recalculate(e,t);const r=this.paint._values["fill-outline-color"];"constant"===r.value.kind&&void 0===r.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])}createBucket(e){return new Pu(e)}queryRadius(){return Sc(this.paint.get("fill-translate"))}queryIntersectsFeature(e,t,r,n,i,o){return!e.queryGeometry.isAboveHorizon&&hc(Mc(e.tilespaceGeometry,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,e.pixelToTileUnitsFactor),n)}isTileClipped(){return!0}},"fill-extrusion":class extends is{constructor(e){super(e,dd)}createBucket(e){return new td(e)}queryRadius(){return Sc(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}getProgramIds(){return[this.paint.get("fill-extrusion-pattern").constantOr(1)?"fillExtrusionPattern":"fillExtrusion"]}getProgramConfiguration(e){return new Xa(this,e)}queryIntersectsFeature(e,t,r,n,i,o,a,s,l){const c=kc(this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,e.pixelToTileUnitsFactor),u=this.paint.get("fill-extrusion-height").evaluate(t,r),d=this.paint.get("fill-extrusion-base").evaluate(t,r),f=[0,0],p=s&&o.elevation,h=o.elevation?o.elevation.exaggeration():1,m=e.tile.getBucket(this);if(p&&m instanceof td){const e=m.centroidVertexArray,t=l+1;t<e.length&&(f[0]=e.geta_centroid_pos0(t),f[1]=e.geta_centroid_pos1(t))}if(0===f[0]&&1===f[1])return!1;"globe"===o.projection.name&&(n=cd([n],[new b(0,0),new b(ls,ls)],e.tileID.canonical).map(e=>e.polygon).flat());const y=p?s:null,[g,v]=function(e,t,r,n,i,o,a,s,l,c,u){return"globe"===e.projection.name?function(e,t,r,n,i,o,a,s,l,c,u){const d=[],f=[],p=e.projection.upVectorScale(u,e.center.lat,e.worldSize).metersToTile,h=[0,0,0,1],m=[0,0,0,1],y=(e,t,r,n)=>{e[0]=t,e[1]=r,e[2]=n,e[3]=1},g=ld();r>0&&(r+=g),n+=g;for(const g of t){const t=[],v=[];for(const d of g){const f=d.x+i.x,g=d.y+i.y,b=e.projection.projectTilePoint(f,g,u),_=e.projection.upVector(u,d.x,d.y);let x=r,w=n;if(a){const e=_d(f,g,r,n,a,s,l,c);x+=e.base,w+=e.top}0!==r?y(h,b.x+_[0]*p*x,b.y+_[1]*p*x,b.z+_[2]*p*x):y(h,b.x,b.y,b.z),y(m,b.x+_[0]*p*w,b.y+_[1]*p*w,b.z+_[2]*p*w),zs(h,h,o),zs(m,m,o),t.push(new gd(h[0],h[1],h[2])),v.push(new gd(m[0],m[1],m[2]))}d.push(t),f.push(v)}return[d,f]}(e,t,r,n,i,o,a,s,l,c,u):a?function(e,t,r,n,i,o,a,s,l){const c=[],u=[],d=[0,0,0,1];for(const f of e){const e=[],p=[];for(const c of f){const u=c.x+n.x,f=c.y+n.y,h=_d(u,f,t,r,o,a,s,l);d[0]=u,d[1]=f,d[2]=h.base,d[3]=1,Vs(d,d,i),d[3]=Math.max(d[3],1e-5);const m=new gd(d[0]/d[3],d[1]/d[3],d[2]/d[3]);d[0]=u,d[1]=f,d[2]=h.top,d[3]=1,Vs(d,d,i),d[3]=Math.max(d[3],1e-5);const y=new gd(d[0]/d[3],d[1]/d[3],d[2]/d[3]);e.push(m),p.push(y)}c.push(e),u.push(p)}return[c,u]}(t,r,n,i,o,a,s,l,c):function(e,t,r,n,i){const o=[],a=[],s=i[8]*t,l=i[9]*t,c=i[10]*t,u=i[11]*t,d=i[8]*r,f=i[9]*r,p=i[10]*r,h=i[11]*r;for(const t of e){const e=[],r=[];for(const o of t){const t=o.x+n.x,a=o.y+n.y,m=i[0]*t+i[4]*a+i[12],y=i[1]*t+i[5]*a+i[13],g=i[2]*t+i[6]*a+i[14],v=i[3]*t+i[7]*a+i[15],b=m+s,_=y+l,x=g+c,w=Math.max(v+u,1e-5),O=m+d,j=y+f,S=g+p,M=Math.max(v+h,1e-5);e.push(new gd(b/w,_/w,x/w)),r.push(new gd(O/M,j/M,S/M))}o.push(e),a.push(r)}return[o,a]}(t,r,n,i,o)}(o,n,d,u,c,a,y,f,h,o.center.lat,e.tileID.canonical),_=e.queryGeometry;return function(e,t,r){let n=1/0;hc(r,t)&&(n=bd(r,t[0]));for(let i=0;i<t.length;i++){const o=t[i],a=e[i];for(let e=0;e<o.length-1;e++){const t=o[e],i=[t,o[e+1],a[e+1],a[e],t];fc(r,i)&&(n=Math.min(n,bd(r,i)))}}return n!==1/0&&n}(g,v,_.isPointQuery()?_.screenBounds:_.screenGeometry)}},line:class extends is{constructor(e){super(e,Td),this.gradientVersion=0}_handleSpecialPaintPropertyUpdate(e){if("line-gradient"===e){const e=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=e._styleExpression&&e._styleExpression.expression instanceof Cr,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}widthExpression(){return this._transitionablePaint._values["line-width"].value.expression}recalculate(e,t){super.recalculate(e,t),this.paint._values["line-floorwidth"]=Ed.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)}createBucket(e){return new kd(e)}getProgramIds(){return[this.paint.get("line-pattern").constantOr(1)?"linePattern":"line"]}getProgramConfiguration(e){return new Xa(this,e)}queryRadius(e){const t=e,r=Cd(jc("line-width",this,t),jc("line-gap-width",this,t)),n=jc("line-offset",this,t);return r/2+Math.abs(n)+Sc(this.paint.get("line-translate"))}queryIntersectsFeature(e,t,r,n,i,o){if(e.queryGeometry.isAboveHorizon)return!1;const a=Mc(e.tilespaceGeometry,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),o.angle,e.pixelToTileUnitsFactor),s=e.pixelToTileUnitsFactor/2*Cd(this.paint.get("line-width").evaluate(t,r),this.paint.get("line-gap-width").evaluate(t,r)),l=this.paint.get("line-offset").evaluate(t,r);return l&&(n=function(e,t){const r=[],n=new b(0,0);for(let i=0;i<e.length;i++){const o=e[i],a=[];for(let e=0;e<o.length;e++){const r=o[e],i=o[e+1],s=0===e?n:r.sub(o[e-1])._unit()._perp(),l=e===o.length-1?n:i.sub(r)._unit()._perp(),c=s._add(l)._unit();c._mult(1/(c.x*l.x+c.y*l.y)),a.push(c._mult(t)._add(r))}r.push(a)}return r}(n,l*e.pixelToTileUnitsFactor)),function(e,t,r){for(let n=0;n<t.length;n++){const i=t[n];if(e.length>=3)for(let t=0;t<i.length;t++)if(xc(e,i[t]))return!0;if(mc(e,i,r))return!0}return!1}(a,n,s)}isTileClipped(){return!0}},symbol:fh,background:class extends is{constructor(e){super(e,ph)}getProgramIds(){return[this.paint.get("background-pattern")?"backgroundPattern":"background"]}},raster:class extends is{constructor(e){super(e,hh)}getProgramIds(){return["raster"]}},sky:class extends is{constructor(e){super(e,yh),this._updateColorRamp()}_handleSpecialPaintPropertyUpdate(e){"sky-gradient"===e?this._updateColorRamp():"sky-atmosphere-sun"!==e&&"sky-atmosphere-halo-color"!==e&&"sky-atmosphere-color"!==e&&"sky-atmosphere-sun-intensity"!==e||(this._skyboxInvalidated=!0)}_updateColorRamp(){this.colorRamp=Uc({expression:this._transitionablePaint._values["sky-gradient"].value.expression,evaluationKey:"skyRadialProgress"}),this.colorRampTexture&&(this.colorRampTexture.destroy(),this.colorRampTexture=null)}needsSkyboxCapture(e){if(this._skyboxInvalidated||!this.skyboxTexture||!this.skyboxGeometry)return!0;if(!this.paint.get("sky-atmosphere-sun")){const t=e.style.light.properties.get("position");return this._lightPosition.azimuthal!==t.azimuthal||this._lightPosition.polar!==t.polar}return!1}getCenter(e,t){if("atmosphere"===this.paint.get("sky-type")){const r=this.paint.get("sky-atmosphere-sun"),n=!r,i=e.style.light,o=i.properties.get("position");return n&&"viewport"===i.properties.get("anchor")&&W("The sun direction is attached to a light with viewport anchor, lighting may behave unexpectedly."),n?gh(o.azimuthal,90-o.polar,t):gh(r[0],90-r[1],t)}const r=this.paint.get("sky-gradient-center");return gh(r[0],90-r[1],t)}is3D(){return!1}isSky(){return!0}markSkyboxValid(e){this._skyboxInvalidated=!1,this._lightPosition=e.style.light.properties.get("position")}hasOffscreenPass(){return!0}getProgramIds(){const e=this.paint.get("sky-type");return"atmosphere"===e?["skyboxCapture","skybox"]:"gradient"===e?["skyboxGradient"]:null}}};class bh{constructor(e,t,r,n){this.context=e,this.format=r,this.texture=e.gl.createTexture(),this.update(t,n)}update(e,r,n){const{width:i,height:o}=e,{context:a}=this,{gl:s}=a,{HTMLImageElement:l,HTMLCanvasElement:c,HTMLVideoElement:u,ImageData:d,ImageBitmap:f}=t;if(s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!r||!1!==r.premultiply)),n||this.size&&this.size[0]===i&&this.size[1]===o){const{x:t,y:r}=n||{x:0,y:0};e instanceof l||e instanceof c||e instanceof u||e instanceof d||f&&e instanceof f?s.texSubImage2D(s.TEXTURE_2D,0,t,r,s.RGBA,s.UNSIGNED_BYTE,e):s.texSubImage2D(s.TEXTURE_2D,0,t,r,i,o,s.RGBA,s.UNSIGNED_BYTE,e.data)}else this.size=[i,o],e instanceof l||e instanceof c||e instanceof u||e instanceof d||f&&e instanceof f?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,e):s.texImage2D(s.TEXTURE_2D,0,this.format,i,o,0,this.format,s.UNSIGNED_BYTE,e.data);this.useMipmap=Boolean(r&&r.useMipmap&&this.isSizePowerOfTwo()),this.useMipmap&&s.generateMipmap(s.TEXTURE_2D)}bind(e,t){const{context:r}=this,{gl:n}=r;n.bindTexture(n.TEXTURE_2D,this.texture),e!==this.filter&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,e),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,this.useMipmap?e===n.NEAREST?n.NEAREST_MIPMAP_NEAREST:n.LINEAR_MIPMAP_NEAREST:e),this.filter=e),t!==this.wrap&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,t),this.wrap=t)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){const{gl:e}=this.context;e.deleteTexture(this.texture),this.texture=null}}class _h{constructor(e){this._callback=e,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._callback()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._callback()},0))}remove(){this._channel=void 0,this._callback=()=>{}}}class xh{constructor(){this.tasks={},this.taskQueue=[],F(["process"],this),this.invoker=new _h(this.process),this.nextId=0}add(e,t){const r=this.nextId++,n=function({type:e,isSymbolTile:t,zoom:r}){return r=r||0,"message"===e?0:"maybePrepare"!==e||t?"parseTile"!==e||t?"parseTile"===e&&t?300-r:"maybePrepare"===e&&t?400-r:500:200-r:100-r}(t);if(0===n){G();try{e()}finally{}return{cancel:()=>{}}}return this.tasks[r]={fn:e,metadata:t,priority:n,id:r},this.taskQueue.push(r),this.invoker.trigger(),{cancel:()=>{delete this.tasks[r]}}}process(){G();try{if(this.taskQueue=this.taskQueue.filter(e=>!!this.tasks[e]),!this.taskQueue.length)return;const e=this.pick();if(null===e)return;const t=this.tasks[e];if(delete this.tasks[e],this.taskQueue.length&&this.invoker.trigger(),!t)return;t.fn()}finally{}}pick(){let e=null,t=1/0;for(let r=0;r<this.taskQueue.length;r++){const n=this.tasks[this.taskQueue[r]];n.priority<t&&(t=n.priority,e=r)}if(null===e)return null;const r=this.taskQueue[e];return this.taskQueue.splice(e,1),r}remove(){this.invoker.remove()}}class wh{constructor(e){this._stringToNumber={},this._numberToString=[];for(let t=0;t<e.length;t++){const r=e[t];this._stringToNumber[r]=t,this._numberToString[t]=r}}encode(e){return this._stringToNumber[e]}decode(e){return this._numberToString[e]}}const Oh=["tile","layer","source","sourceLayer","state"];class jh{constructor(e,t,r,n,i){this.type="Feature",this._vectorTileFeature=e,this._z=t,this._x=r,this._y=n,this.properties=e.properties,this.id=i}get geometry(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._x,this._y,this._z).geometry),this._geometry}set geometry(e){this._geometry=e}toJSON(){const e={type:"Feature",state:void 0,geometry:this.geometry,properties:this.properties};void 0!==this.id&&(e.id=this.id);for(const t of Oh)void 0!==this[t]&&(e[t]=this[t]);return e}}const Sh=32,Mh=33,kh=new Uint16Array(8184);for(let e=0;e<2046;e++){let t=e+2,r=0,n=0,i=0,o=0,a=0,s=0;for(1&t?i=o=a=Sh:r=n=s=Sh;(t>>=1)>1;){const e=r+i>>1,l=n+o>>1;1&t?(i=r,o=n,r=a,n=s):(r=i,n=o,i=a,o=s),a=e,s=l}const l=4*e;kh[l+0]=r,kh[l+1]=n,kh[l+2]=i,kh[l+3]=o}const Ph=new Uint16Array(2178),Th=new Uint8Array(1089),Eh=new Uint16Array(1089);function Ch(e){return 0===e?-.03125:32===e?.03125:0}var Lh=Bo([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);const Ah={type:2,extent:ls,loadGeometry:()=>[[new b(0,0),new b(ls+1,0),new b(ls+1,ls+1),new b(0,ls+1),new b(0,0)]]};class Dh{constructor(e,t,r,n,i){this.tileID=e,this.uid=I(),this.uses=0,this.tileSize=t,this.tileZoom=r,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.isRaster=i,this.expiredRequestCount=0,this.state="loading",n&&n.transform&&(this.projection=n.transform.projection)}registerFadeDuration(e){const t=e+this.timeAdded;t<Ze.now()||this.fadeEndTime&&t<this.fadeEndTime||(this.fadeEndTime=t)}wasRequested(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state}get tileTransform(){return this._tileTransform||(this._tileTransform=Lp(this.tileID.canonical,this.projection)),this._tileTransform}loadVectorData(e,t,r){if(this.unloadVectorData(),this.state="loaded",e){e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestFeatureIndex.rawTileData=e.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,t){const r={};if(!t)return r;for(const n of e){const e=n.layerIds.map(e=>t.getLayer(e)).filter(Boolean);if(0!==e.length){n.layers=e,n.stateDependentLayerIds&&(n.stateDependentLayers=n.stateDependentLayerIds.map(t=>e.filter(e=>e.id===t)[0]));for(const t of e)r[t.id]=n}}return r}(e.buckets,t.style),this.hasSymbolBuckets=!1;for(const e in this.buckets){const t=this.buckets[e];if(t instanceof lh){if(this.hasSymbolBuckets=!0,!r)break;t.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const e in this.buckets){const t=this.buckets[e];if(t instanceof lh&&t.hasRTLText){this.hasRTLText=!0,wo.isLoading()||wo.isLoaded()||"deferred"!==_o()||xo();break}}this.queryPadding=0;for(const e in this.buckets){const r=this.buckets[e];this.queryPadding=Math.max(this.queryPadding,t.style.getLayer(e).queryRadius(r))}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage),e.lineAtlas&&(this.lineAtlas=e.lineAtlas)}else this.collisionBoxArray=new ha}unloadVectorData(){if(this.hasData()){for(const e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlas&&(this.imageAtlas=null),this.lineAtlas&&(this.lineAtlas=null),this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.lineAtlasTexture&&this.lineAtlasTexture.destroy(),this._tileBoundsBuffer&&(this._tileBoundsBuffer.destroy(),this._tileBoundsIndexBuffer.destroy(),this._tileBoundsSegments.destroy(),this._tileBoundsBuffer=null),this._tileDebugBuffer&&(this._tileDebugBuffer.destroy(),this._tileDebugSegments.destroy(),this._tileDebugBuffer=null),this._tileDebugIndexBuffer&&(this._tileDebugIndexBuffer.destroy(),this._tileDebugIndexBuffer=null),this._globeTileDebugBorderBuffer&&(this._globeTileDebugBorderBuffer.destroy(),this._globeTileDebugBorderBuffer=null),this._tileDebugTextBuffer&&(this._tileDebugTextBuffer.destroy(),this._tileDebugTextSegments.destroy(),this._tileDebugTextIndexBuffer.destroy(),this._tileDebugTextBuffer=null),this._globeTileDebugTextBuffer&&(this._globeTileDebugTextBuffer.destroy(),this._globeTileDebugTextBuffer=null),this.latestFeatureIndex=null,this.state="unloaded"}}getBucket(e){return this.buckets[e.id]}upload(e){for(const t in this.buckets){const r=this.buckets[t];r.uploadPending()&&r.upload(e)}const t=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new bh(e,this.imageAtlas.image,t.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new bh(e,this.glyphAtlasImage,t.ALPHA),this.glyphAtlasImage=null),this.lineAtlas&&!this.lineAtlas.uploaded&&(this.lineAtlasTexture=new bh(e,this.lineAtlas.image,t.ALPHA),this.lineAtlas.uploaded=!0)}prepare(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture)}queryRenderedFeatures(e,t,r,n,i,o,a,s){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({tileResult:n,pixelPosMatrix:a,transform:o,params:i,tileTransform:this.tileTransform},e,t,r):{}}querySourceFeatures(e,t){const r=this.latestFeatureIndex;if(!r||!r.rawTileData)return;const n=r.loadVTLayers(),i=t?t.sourceLayer:"",o=n._geojsonTileLayer||n[i];if(!o)return;const a=fi(t&&t.filter),{z:s,x:l,y:c}=this.tileID.canonical,u={z:s,x:l,y:c};for(let t=0;t<o.length;t++){const n=o.feature(t);if(a.needGeometry){const e=lc(n,!0);if(!a.filter(new Oo(this.tileID.overscaledZ),e,this.tileID.canonical))continue}else if(!a.filter(new Oo(this.tileID.overscaledZ),n))continue;const d=r.getId(n,i),f=new jh(n,s,l,c,d);f.tile=u,e.push(f)}}hasData(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state}patternsLoaded(){return!!this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length}setExpiryData(e){const t=this.expirationTime;if(e.cacheControl){const t=Z(e.cacheControl);t["max-age"]&&(this.expirationTime=Date.now()+1e3*t["max-age"])}else e.expires&&(this.expirationTime=new Date(e.expires).getTime());if(this.expirationTime){const e=Date.now();let r=!1;if(this.expirationTime>e)r=!1;else if(t)if(this.expirationTime<t)r=!0;else{const n=this.expirationTime-t;n?this.expirationTime=e+Math.max(n,3e4):r=!0}else r=!0;r?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}}getExpiryTimeout(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)}setFeatureState(e,t){if(!this.latestFeatureIndex||!this.latestFeatureIndex.rawTileData||0===Object.keys(e).length||!t)return;const r=this.latestFeatureIndex.loadVTLayers(),n=t.style.listImages();for(const i in this.buckets){if(!t.style.hasLayer(i))continue;const o=this.buckets[i],a=o.layers[0].sourceLayer||"_geojsonTileLayer",s=r[a],l=e[a];if(!s||!l||0===Object.keys(l).length)continue;if(o.update(l,s,n,this.imageAtlas&&this.imageAtlas.patternPositions||{}),o instanceof kd||o instanceof Pu){const e=t.style._getSourceCache(o.layers[0].source);t._terrain&&t._terrain.enabled&&e&&o.programConfigurations.needsUpload&&t._terrain._clearRenderCacheForTile(e.id,this.tileID)}const c=t&&t.style&&t.style.getLayer(i);c&&(this.queryPadding=Math.max(this.queryPadding,c.queryRadius(o)))}}holdingForFade(){return void 0!==this.symbolFadeHoldUntil}symbolFadeFinished(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<Ze.now()}clearFadeHold(){this.symbolFadeHoldUntil=void 0}setHoldDuration(e){this.symbolFadeHoldUntil=Ze.now()+e}setTexture(e,t){const r=t.context,n=r.gl;this.texture=this.texture||t.getTileTexture(e.width),this.texture?this.texture.update(e,{useMipmap:!0}):(this.texture=new bh(r,e,n.RGBA,{useMipmap:!0}),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE))}setDependencies(e,t){const r={};for(const e of t)r[e]=!0;this.dependencies[e]=r}hasDependency(e,t){for(const r of e){const e=this.dependencies[r];if(e)for(const r of t)if(e[r])return!0}return!1}clearQueryDebugViz(){}_makeDebugTileBoundsBuffers(e,t){if(!t||"mercator"===t.name||this._tileDebugBuffer)return;const r=sc(Ah,this.tileID.canonical,this.tileTransform)[0],n=new Uo,i=new da;for(let e=0;e<r.length;e++){const{x:t,y:o}=r[e];n.emplaceBack(t,o),i.emplaceBack(e)}i.emplaceBack(0),this._tileDebugIndexBuffer=e.createIndexBuffer(i),this._tileDebugBuffer=e.createVertexBuffer(n,tl.members),this._tileDebugSegments=ss.simpleSegment(0,0,n.length,i.length)}_makeTileBoundsBuffers(e,t){if(this._tileBoundsBuffer||!t||"mercator"===t.name)return;const r=sc(Ah,this.tileID.canonical,this.tileTransform)[0];let n,i;if(this.isRaster){const e=function(e,t){const r=Lp(e,t),n=Math.pow(2,e.z);for(let i=0;i<Mh;i++)for(let o=0;o<Mh;o++){const a=Gl((e.x+(o+Ch(o))/Sh)/n),s=Zl((e.y+(i+Ch(i))/Sh)/n),l=t.project(a,s),c=i*Mh+o;Ph[2*c+0]=Math.round((l.x*r.scale-r.x)*ls),Ph[2*c+1]=Math.round((l.y*r.scale-r.y)*ls)}Th.fill(0),Eh.fill(0);for(let e=2045;e>=0;e--){const t=4*e,r=kh[t+0],n=kh[t+1],i=kh[t+2],o=kh[t+3],a=r+i>>1,s=n+o>>1,l=a+s-n,c=s+r-a,u=n*Mh+r,d=o*Mh+i,f=s*Mh+a,p=Math.hypot((Ph[2*u+0]+Ph[2*d+0])/2-Ph[2*f+0],(Ph[2*u+1]+Ph[2*d+1])/2-Ph[2*f+1])>=16;Th[f]=Th[f]||(p?1:0),e<1022&&(Th[f]=Th[f]||Th[(n+c>>1)*Mh+(r+l>>1)]||Th[(o+c>>1)*Mh+(i+l>>1)])}const i=new $o,o=new ia;let a=0;function s(e,t){const r=t*Mh+e;return 0===Eh[r]&&(i.emplaceBack(Ph[2*r+0],Ph[2*r+1],e*ls/Sh,t*ls/Sh),Eh[r]=++a),Eh[r]-1}function l(e,t,r,n,i,a){const c=e+r>>1,u=t+n>>1;if(Math.abs(e-i)+Math.abs(t-a)>1&&Th[u*Mh+c])l(i,a,e,t,c,u),l(r,n,i,a,c,u);else{const l=s(e,t),c=s(r,n),u=s(i,a);o.emplaceBack(l,c,u)}}return l(0,0,Sh,Sh,Sh,0),l(Sh,Sh,0,0,0,Sh),{vertices:i,indices:o}}(this.tileID.canonical,t);n=e.vertices,i=e.indices}else{n=new $o,i=new ia;for(const{x:e,y:t}of r)n.emplaceBack(e,t,0,0);const e=bu(n.int16,void 0,4);for(let t=0;t<e.length;t+=3)i.emplaceBack(e[t],e[t+1],e[t+2])}this._tileBoundsBuffer=e.createVertexBuffer(n,Lh.members),this._tileBoundsIndexBuffer=e.createIndexBuffer(i),this._tileBoundsSegments=ss.simpleSegment(0,0,n.length,i.length)}_makeGlobeTileDebugBuffers(e,t){const r=t.projection;if(!r||"globe"!==r.name||t.freezeTileCoverage)return;const n=this.tileID.canonical,i=Cl(xl(n,t)),o=Dl(t.zoom);let a;o>0&&(a=ms(new Float64Array(16),t.globeMatrix)),this._makeGlobeTileDebugBorderBuffer(e,n,t,i,a,o),this._makeGlobeTileDebugTextBuffer(e,n,t,i,a,o)}_globePoint(e,t,r,n,i,o,a){let s=Pl(e,t,r);if(o){const i=1<<r.z,l=Wl(n.center.lng),c=Vl(n.center.lat),u=(r.x+.5)/i-l;let d=0;u>.5?d=-1:u<-.5&&(d=1);let f=(e/ls+r.x)/i+d,p=(t/ls+r.y)/i;f=(f-l)*n._pixelsPerMercatorPixel+l,p=(p-c)*n._pixelsPerMercatorPixel+c;const h=[f*n.worldSize,p*n.worldSize,0];zs(h,h,o),s=_l(s,h,a)}return zs(s,s,i)}_makeGlobeTileDebugBorderBuffer(e,t,r,n,i,o){const a=new Uo,s=new da,l=new Ho,c=(e,c,u,d,f)=>{const p=(u-e)/(f-1),h=(d-c)/(f-1),m=a.length;for(let u=0;u<f;u++){const d=e+u*p,f=c+u*h;a.emplaceBack(d,f);const y=this._globePoint(d,f,t,r,n,i,o);l.emplaceBack(y[0],y[1],y[2]),s.emplaceBack(m+u)}},u=ls;c(0,0,u,0,16),c(u,0,u,u,16),c(u,u,0,u,16),c(0,u,0,0,16),this._tileDebugIndexBuffer=e.createIndexBuffer(s),this._tileDebugBuffer=e.createVertexBuffer(a,tl.members),this._globeTileDebugBorderBuffer=e.createVertexBuffer(l,el.members),this._tileDebugSegments=ss.simpleSegment(0,0,a.length,s.length)}_makeGlobeTileDebugTextBuffer(e,t,r,n,i,o){const a=ls/4,s=new Uo,l=new ia,c=new Ho,u=25;l.reserve(32),s.reserve(u),c.reserve(u);const d=(e,t)=>u*e+t;for(let e=0;e<u;e++){const l=e*a;for(let e=0;e<u;e++){const u=e*a;s.emplaceBack(u,l);const d=this._globePoint(u,l,t,r,n,i,o);c.emplaceBack(d[0],d[1],d[2])}}for(let e=0;e<4;e++)for(let t=0;t<4;t++){const r=d(e,t),n=d(e,t+1),i=d(e+1,t),o=d(e+1,t+1);l.emplaceBack(r,n,i),l.emplaceBack(i,n,o)}this._tileDebugTextIndexBuffer=e.createIndexBuffer(l),this._tileDebugTextBuffer=e.createVertexBuffer(s,tl.members),this._globeTileDebugTextBuffer=e.createVertexBuffer(c,el.members),this._tileDebugTextSegments=ss.simpleSegment(0,0,u,32)}}class Ih{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(e,t,r){const n=String(t);if(this.stateChanges[e]=this.stateChanges[e]||{},this.stateChanges[e][n]=this.stateChanges[e][n]||{},A(this.stateChanges[e][n],r),null===this.deletedStates[e]){this.deletedStates[e]={};for(const t in this.state[e])t!==n&&(this.deletedStates[e][t]=null)}else if(this.deletedStates[e]&&null===this.deletedStates[e][n]){this.deletedStates[e][n]={};for(const t in this.state[e][n])r[t]||(this.deletedStates[e][n][t]=null)}else for(const t in r)this.deletedStates[e]&&this.deletedStates[e][n]&&null===this.deletedStates[e][n][t]&&delete this.deletedStates[e][n][t]}removeFeatureState(e,t,r){if(null===this.deletedStates[e])return;const n=String(t);if(this.deletedStates[e]=this.deletedStates[e]||{},r&&void 0!==t)null!==this.deletedStates[e][n]&&(this.deletedStates[e][n]=this.deletedStates[e][n]||{},this.deletedStates[e][n][r]=null);else if(void 0!==t)if(this.stateChanges[e]&&this.stateChanges[e][n])for(r in this.deletedStates[e][n]={},this.stateChanges[e][n])this.deletedStates[e][n][r]=null;else this.deletedStates[e][n]=null;else this.deletedStates[e]=null}getState(e,t){const r=String(t),n=A({},(this.state[e]||{})[r],(this.stateChanges[e]||{})[r]);if(null===this.deletedStates[e])return{};if(this.deletedStates[e]){const r=this.deletedStates[e][t];if(null===r)return{};for(const e in r)delete n[e]}return n}initializeTileState(e,t){e.setFeatureState(this.state,t)}coalesceChanges(e,t){const r={};for(const e in this.stateChanges){this.state[e]=this.state[e]||{};const t={};for(const r in this.stateChanges[e])this.state[e][r]||(this.state[e][r]={}),A(this.state[e][r],this.stateChanges[e][r]),t[r]=this.state[e][r];r[e]=t}for(const e in this.deletedStates){this.state[e]=this.state[e]||{};const t={};if(null===this.deletedStates[e])for(const r in this.state[e])t[r]={},this.state[e][r]={};else for(const r in this.deletedStates[e]){if(null===this.deletedStates[e][r])this.state[e][r]={};else if(this.state[e][r])for(const t of Object.keys(this.deletedStates[e][r]))delete this.state[e][r][t];t[r]=this.state[e][r]}r[e]=r[e]||{},A(r[e],t)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(const n in e)e[n].setFeatureState(r,t)}}class Nh{constructor(e){this.size=e,this.minimums=[],this.maximums=[],this.leaves=[]}getElevation(e,t){const r=this.toIdx(e,t);return{min:this.minimums[r],max:this.maximums[r]}}isLeaf(e,t){return this.leaves[this.toIdx(e,t)]}toIdx(e,t){return t*this.size+e}}function Rh(e,t,r,n){let i=0,o=Number.MAX_VALUE;for(let a=0;a<3;a++)if(Math.abs(n[a])<1e-15){if(r[a]<e[a]||r[a]>t[a])return null}else{const s=1/n[a];let l=(e[a]-r[a])*s,c=(t[a]-r[a])*s;if(l>c){const e=l;l=c,c=e}if(l>i&&(i=l),c<o&&(o=c),i>o)return null}return i}function zh(e,t,r,n,i,o,a,s,l,c,u){const d=n-e,f=i-t,p=o-r,h=a-e,m=s-t,y=l-r,g=u[1]*y-u[2]*m,v=u[2]*h-u[0]*y,b=u[0]*m-u[1]*h,_=d*g+f*v+p*b;if(Math.abs(_)<1e-15)return null;const x=1/_,w=c[0]-e,O=c[1]-t,j=c[2]-r,S=(w*g+O*v+j*b)*x;if(S<0||S>1)return null;const M=O*p-j*f,k=j*d-w*p,P=w*f-O*d,T=(u[0]*M+u[1]*k+u[2]*P)*x;return T<0||S+T>1?null:(h*M+m*k+y*P)*x}function Fh(e,t,r){return(e-t)/(r-t)}function Bh(e,t,r,n,i,o,a,s,l){const c=1<<r,u=o-n,d=a-i,f=(e+1)/c*u+n,p=(t+0)/c*d+i,h=(t+1)/c*d+i;s[0]=(e+0)/c*u+n,s[1]=p,l[0]=f,l[1]=h}class Yh{constructor(e){if(this.maximums=[],this.minimums=[],this.leaves=[],this.childOffsets=[],this.nodeCount=0,this.dem=e,this._siblingOffset=[[0,0],[1,0],[0,1],[1,1]],!this.dem)return;const t=function(e){const t=Math.ceil(Math.log2(e.dim/8)),r=[];let n=Math.ceil(Math.pow(2,t));const i=1/n,o=(e,t,r,n,i)=>{const o=n?1:0,a=(e+1)*r-o,s=t*r,l=(t+1)*r-o;i[0]=e*r,i[1]=s,i[2]=a,i[3]=l};let a=new Nh(n);const s=[];for(let t=0;t<n*n;t++){o(t%n,Math.floor(t/n),i,!1,s);const r=Hh(s[0],s[1],e),l=Hh(s[2],s[1],e),c=Hh(s[2],s[3],e),u=Hh(s[0],s[3],e);a.minimums.push(Math.min(r,l,c,u)),a.maximums.push(Math.max(r,l,c,u)),a.leaves.push(1)}for(r.push(a),n/=2;n>=1;n/=2){const e=r[r.length-1];a=new Nh(n);for(let t=0;t<n*n;t++){o(t%n,Math.floor(t/n),2,!0,s);const r=e.getElevation(s[0],s[1]),i=e.getElevation(s[2],s[1]),l=e.getElevation(s[2],s[3]),c=e.getElevation(s[0],s[3]),u=e.isLeaf(s[0],s[1]),d=e.isLeaf(s[2],s[1]),f=e.isLeaf(s[2],s[3]),p=e.isLeaf(s[0],s[3]),h=Math.min(r.min,i.min,l.min,c.min),m=Math.max(r.max,i.max,l.max,c.max),y=u&&d&&f&&p;a.maximums.push(m),a.minimums.push(h),a.leaves.push(m-h<=5&&y?1:0)}r.push(a)}return r}(this.dem),r=t.length-1,n=t[r];this._addNode(n.minimums[0],n.maximums[0],n.leaves[0]),this._construct(t,0,0,r,0)}raycastRoot(e,t,r,n,i,o,a=1){return Rh([e,t,-100],[r,n,this.maximums[0]*a],i,o)}raycast(e,t,r,n,i,o,a=1){if(!this.nodeCount)return null;const s=this.raycastRoot(e,t,r,n,i,o,a);if(null==s)return null;const l=[],c=[],u=[],d=[],f=[{idx:0,t:s,nodex:0,nodey:0,depth:0}];for(;f.length>0;){const{idx:s,t:p,nodex:h,nodey:m,depth:y}=f.pop();if(this.leaves[s]){Bh(h,m,y,e,t,r,n,u,d);const s=1<<y,l=(h+0)/s,c=(h+1)/s,f=(m+0)/s,g=(m+1)/s,v=Hh(l,f,this.dem)*a,b=Hh(c,f,this.dem)*a,_=Hh(c,g,this.dem)*a,x=Hh(l,g,this.dem)*a,w=zh(u[0],u[1],v,d[0],u[1],b,d[0],d[1],_,i,o),O=zh(d[0],d[1],_,u[0],d[1],x,u[0],u[1],v,i,o),j=Math.min(null!==w?w:Number.MAX_VALUE,null!==O?O:Number.MAX_VALUE);if(j!==Number.MAX_VALUE)return j;{const e=Ds([],i,o,p);if(Uh(v,b,x,_,Fh(e[0],u[0],d[0]),Fh(e[1],u[1],d[1]))>=e[2])return p}continue}let g=0;for(let f=0;f<this._siblingOffset.length;f++){Bh((h<<1)+this._siblingOffset[f][0],(m<<1)+this._siblingOffset[f][1],y+1,e,t,r,n,u,d),u[2]=-100,d[2]=this.maximums[this.childOffsets[s]+f]*a;const p=Rh(u,d,i,o);if(null!=p){const e=p;l[f]=e;let t=!1;for(let r=0;r<g&&!t;r++)e>=l[c[r]]&&(c.splice(r,0,f),t=!0);t||(c[g]=f),g++}}for(let e=0;e<g;e++){const t=c[e];f.push({idx:this.childOffsets[s]+t,t:l[t],nodex:(h<<1)+this._siblingOffset[t][0],nodey:(m<<1)+this._siblingOffset[t][1],depth:y+1})}}return null}_addNode(e,t,r){return this.minimums.push(e),this.maximums.push(t),this.leaves.push(r),this.childOffsets.push(0),this.nodeCount++}_construct(e,t,r,n,i){if(1===e[n].isLeaf(t,r))return;this.childOffsets[i]||(this.childOffsets[i]=this.nodeCount);const o=n-1,a=e[o];let s=0,l=0;for(let e=0;e<this._siblingOffset.length;e++){const n=2*t+this._siblingOffset[e][0],i=2*r+this._siblingOffset[e][1],o=a.getElevation(n,i),c=a.isLeaf(n,i),u=this._addNode(o.min,o.max,c);c&&(s|=1<<e),l||(l=u)}for(let n=0;n<this._siblingOffset.length;n++)s&1<<n||this._construct(e,2*t+this._siblingOffset[n][0],2*r+this._siblingOffset[n][1],o,l+n)}}function Uh(e,t,r,n,i,o){return Lr(Lr(e,r,o),Lr(t,n,o),i)}function Hh(e,t,r){const n=r.dim,i=P(e*n-.5,0,n-1),o=P(t*n-.5,0,n-1),a=Math.floor(i),s=Math.floor(o),l=Math.min(a+1,n-1),c=Math.min(s+1,n-1);return Uh(r.get(a,s),r.get(l,s),r.get(a,c),r.get(l,c),i-a,o-s)}const $h={mapbox:[6553.6,25.6,.1,1e4],terrarium:[256,1,1/256,32768]};function Wh(e,t,r){return(256*e*256+256*t+r)/10-1e4}function Vh(e,t,r){return 256*e+t+r/256-32768}class qh{get tree(){return this._tree||this._buildQuadTree(),this._tree}constructor(e,t,r,n=!1,i=!1){if(this.uid=e,t.height!==t.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return W(`"${r}" is not a valid encoding type. Valid types include "mapbox" and "terrarium".`);this.stride=t.height;const o=this.dim=t.height-2,a=new Uint32Array(t.data.buffer);if(this.pixels=new Uint8Array(t.data.buffer),this.encoding=r||"mapbox",this.borderReady=n,!n){for(let e=0;e<o;e++)a[this._idx(-1,e)]=a[this._idx(0,e)],a[this._idx(o,e)]=a[this._idx(o-1,e)],a[this._idx(e,-1)]=a[this._idx(e,0)],a[this._idx(e,o)]=a[this._idx(e,o-1)];a[this._idx(-1,-1)]=a[this._idx(0,0)],a[this._idx(o,-1)]=a[this._idx(o-1,0)],a[this._idx(-1,o)]=a[this._idx(0,o-1)],a[this._idx(o,o)]=a[this._idx(o-1,o-1)],i&&this._buildQuadTree()}}_buildQuadTree(){this._tree=new Yh(this)}get(e,t,r=!1){r&&(e=P(e,-1,this.dim),t=P(t,-1,this.dim));const n=4*this._idx(e,t);return("terrarium"===this.encoding?Vh:Wh)(this.pixels[n],this.pixels[n+1],this.pixels[n+2])}static getUnpackVector(e){return $h[e]}get unpackVector(){return $h[this.encoding]}_idx(e,t){if(e<-1||e>=this.dim+1||t<-1||t>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(t+1)*this.stride+(e+1)}static pack(e,t){const r=[0,0,0,0],n=qh.getUnpackVector(t);let i=Math.floor((e+n[3])/n[2]);return r[2]=i%256,i=Math.floor(i/256),r[1]=i%256,i=Math.floor(i/256),r[0]=i,r}getPixels(){return new Bc({width:this.stride,height:this.stride},this.pixels)}backfillBorder(e,t,r){if(this.dim!==e.dim)throw new Error("dem dimension mismatch");let n=t*this.dim,i=t*this.dim+this.dim,o=r*this.dim,a=r*this.dim+this.dim;switch(t){case-1:n=i-1;break;case 1:i=n+1}switch(r){case-1:o=a-1;break;case 1:a=o+1}const s=-t*this.dim,l=-r*this.dim;for(let t=o;t<a;t++)for(let r=n;r<i;r++){const n=4*this._idx(r,t),i=4*this._idx(r+s,t+l);this.pixels[n+0]=e.pixels[i+0],this.pixels[n+1]=e.pixels[i+1],this.pixels[n+2]=e.pixels[i+2],this.pixels[n+3]=e.pixels[i+3]}}onDeserialize(){this._tree&&(this._tree.dem=this)}}Xi(qh,"DEMData"),Xi(Yh,"DemMinMaxQuadTree",{omit:["dem"]});class Gh{constructor(e,t){this.max=e,this.onRemove=t,this.reset()}reset(){for(const e in this.data)for(const t of this.data[e])t.timeout&&clearTimeout(t.timeout),this.onRemove(t.value);return this.data={},this.order=[],this}add(e,t,r){const n=e.wrapped().key;void 0===this.data[n]&&(this.data[n]=[]);const i={value:t,timeout:void 0};if(void 0!==r&&(i.timeout=setTimeout(()=>{this.remove(e,i)},r)),this.data[n].push(i),this.order.push(n),this.order.length>this.max){const e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this}has(e){return e.wrapped().key in this.data}getAndRemove(e){return this.has(e)?this._getAndRemoveByKey(e.wrapped().key):null}_getAndRemoveByKey(e){const t=this.data[e].shift();return t.timeout&&clearTimeout(t.timeout),0===this.data[e].length&&delete this.data[e],this.order.splice(this.order.indexOf(e),1),t.value}getByKey(e){const t=this.data[e];return t?t[0].value:null}get(e){return this.has(e)?this.data[e.wrapped().key][0].value:null}remove(e,t){if(!this.has(e))return this;const r=e.wrapped().key,n=void 0===t?0:this.data[r].indexOf(t),i=this.data[r][n];return this.data[r].splice(n,1),i.timeout&&clearTimeout(i.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(i.value),this.order.splice(this.order.indexOf(r),1),this}setMaxSize(e){for(this.max=e;this.order.length>this.max;){const e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this}filter(e){const t=[];for(const r in this.data)for(const n of this.data[r])e(n.value)||t.push(n);for(const e of t)this.remove(e.value.tileID,e)}}class Zh{constructor(e,t,r){this.func=e,this.mask=t,this.range=r}}Zh.ReadOnly=!1,Zh.ReadWrite=!0,Zh.disabled=new Zh(519,Zh.ReadOnly,[0,1]);const Xh=7680;class Jh{constructor(e,t,r,n,i,o){this.test=e,this.ref=t,this.mask=r,this.fail=n,this.depthFail=i,this.pass=o}}Jh.disabled=new Jh({func:519,mask:0},0,0,Xh,Xh,Xh);class Kh{constructor(e,t,r){this.blendFunction=e,this.blendColor=t,this.mask=r}}Kh.Replace=[1,0],Kh.disabled=new Kh(Kh.Replace,Lt.transparent,[!1,!1,!1,!1]),Kh.unblended=new Kh(Kh.Replace,Lt.transparent,[!0,!0,!0,!0]),Kh.alphaBlended=new Kh([1,771],Lt.transparent,[!0,!0,!0,!0]);const Qh=1029,em=2305;class tm{constructor(e,t,r){this.enable=e,this.mode=t,this.frontFace=r}}tm.disabled=new tm(!1,Qh,em),tm.backCCW=new tm(!0,Qh,em),tm.backCW=new tm(!0,Qh,2304),tm.frontCW=new tm(!0,1028,2304),tm.frontCCW=new tm(!0,1028,em);class rm extends et{constructor(e,t,r){super(),this.id=e,this._onlySymbols=r,t.on("data",e=>{"source"===e.dataType&&"metadata"===e.sourceDataType&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&"source"===e.dataType&&"content"===e.sourceDataType&&(this.reload(),this.transform&&this.update(this.transform))}),t.on("error",()=>{this._sourceErrored=!0}),this._source=t,this._tiles={},this._cache=new Gh(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._minTileCacheSize=t.minTileCacheSize,this._maxTileCacheSize=t.maxTileCacheSize,this._loadedParentTiles={},this._coveredTiles={},this._state=new Ih,this._isRaster="raster"===this._source.type||"raster-dem"===this._source.type||"custom"===this._source.type&&"raster"===this._source._dataType}onAdd(e){this.map=e,this._minTileCacheSize=void 0===this._minTileCacheSize&&e?e._minTileCacheSize:this._minTileCacheSize,this._maxTileCacheSize=void 0===this._maxTileCacheSize&&e?e._maxTileCacheSize:this._maxTileCacheSize}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(const e in this._tiles){const t=this._tiles[e];if("loaded"!==t.state&&"errored"!==t.state)return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;const e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform)}_loadTile(e,t){return e.isSymbolTile=this._onlySymbols,this._source.loadTile(e,t)}_unloadTile(e){if(this._source.unloadTile)return this._source.unloadTile(e,()=>{})}_abortTile(e){if(this._source.abortTile)return this._source.abortTile(e,()=>{})}serialize(){return this._source.serialize()}prepare(e){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(const t in this._tiles){const r=this._tiles[t];r.upload(e),r.prepare(this.map.style.imageManager)}}getIds(){return L(this._tiles).map(e=>e.tileID).sort(nm).map(e=>e.key)}getRenderableIds(e){const t=[];for(const r in this._tiles)this._isIdRenderable(+r,e)&&t.push(this._tiles[r]);return e?t.sort((e,t)=>{const r=e.tileID,n=t.tileID,i=new b(r.canonical.x,r.canonical.y)._rotate(this.transform.angle),o=new b(n.canonical.x,n.canonical.y)._rotate(this.transform.angle);return r.overscaledZ-n.overscaledZ||o.y-i.y||o.x-i.x}).map(e=>e.tileID.key):t.map(e=>e.tileID).sort(nm).map(e=>e.key)}hasRenderableParent(e){const t=this.findLoadedParent(e,0);return!!t&&this._isIdRenderable(t.tileID.key)}_isIdRenderable(e,t){return this._tiles[e]&&this._tiles[e].hasData()&&!this._coveredTiles[e]&&(t||!this._tiles[e].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(const e in this._tiles)"errored"!==this._tiles[e].state&&this._reloadTile(+e,"reloading")}}_reloadTile(e,t){const r=this._tiles[e];r&&("loading"!==r.state&&(r.state=t),this._loadTile(r,this._tileLoaded.bind(this,r,e,t)))}_tileLoaded(e,t,r,n){if(n)if(e.state="errored",404!==n.status)this._source.fire(new Qe(n,{tile:e}));else if("raster-dem"===this._source.type&&this.usedForTerrain&&this.map.painter.terrain){const e=this.map.painter.terrain;this.update(this.transform,e.getScaledDemTileSize(),!0),e.resetTileLookupCache(this.id)}else this.update(this.transform);else e.timeAdded=Ze.now(),"expired"===r&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(t,e),"raster-dem"===this._source.type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new Ke("data",{dataType:"source",tile:e,coord:e.tileID,sourceCacheId:this.id}))}_backfillDEM(e){const t=this.getRenderableIds();for(let n=0;n<t.length;n++){const i=t[n];if(e.neighboringTiles&&e.neighboringTiles[i]){const t=this.getTileByID(i);r(e,t),r(t,e)}}function r(e,t){if(!e.dem||e.dem.borderReady)return;e.needsHillshadePrepare=!0,e.needsDEMTextureUpload=!0;let r=t.tileID.canonical.x-e.tileID.canonical.x;const n=t.tileID.canonical.y-e.tileID.canonical.y,i=Math.pow(2,e.tileID.canonical.z),o=t.tileID.key;0===r&&0===n||Math.abs(n)>1||(Math.abs(r)>1&&(1===Math.abs(r+i)?r+=i:1===Math.abs(r-i)&&(r-=i)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,r,n),e.neighboringTiles&&e.neighboringTiles[o]&&(e.neighboringTiles[o].backfilled=!0)))}}getTile(e){return this.getTileByID(e.key)}getTileByID(e){return this._tiles[e]}_retainLoadedChildren(e,t,r,n){for(const i in this._tiles){let o=this._tiles[i];if(n[i]||!o.hasData()||o.tileID.overscaledZ<=t||o.tileID.overscaledZ>r)continue;let a=o.tileID;for(;o&&o.tileID.overscaledZ>t+1;){const e=o.tileID.scaledTo(o.tileID.overscaledZ-1);o=this._tiles[e.key],o&&o.hasData()&&(a=e)}let s=a;for(;s.overscaledZ>t;)if(s=s.scaledTo(s.overscaledZ-1),e[s.key]){n[a.key]=a;break}}}findLoadedParent(e,t){if(e.key in this._loadedParentTiles){const r=this._loadedParentTiles[e.key];return r&&r.tileID.overscaledZ>=t?r:null}for(let r=e.overscaledZ-1;r>=t;r--){const t=e.scaledTo(r),n=this._getLoadedTile(t);if(n)return n}}_getLoadedTile(e){const t=this._tiles[e.key];return t&&t.hasData()?t:this._cache.getByKey(this._source.reparseOverscaled?e.wrapped().key:e.canonical.key)}updateCacheSize(e,t){t=t||this._source.tileSize;const r=Math.ceil(e.width/t)+1,n=Math.ceil(e.height/t)+1,i=Math.floor(r*n*5),o="number"==typeof this._minTileCacheSize?Math.max(this._minTileCacheSize,i):i,a="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,o):o;this._cache.setMaxSize(a)}handleWrapJump(e){const t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);if(this._prevLng=e,t){const e={};for(const r in this._tiles){const n=this._tiles[r];n.tileID=n.tileID.unwrapTo(n.tileID.wrap+t),e[n.tileID.key]=n}this._tiles=e;for(const e in this._timers)clearTimeout(this._timers[e]),delete this._timers[e];for(const e in this._tiles)this._setTileReloadTimer(+e,this._tiles[e])}}update(e,t,r){if(this.transform=e,!this._sourceLoaded||this._paused||this.transform.freezeTileCoverage)return;if(this.usedForTerrain&&!r)return;let n;this.updateCacheSize(e,t),"globe"!==this.transform.projection.name&&this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?n=e.getVisibleUnwrappedCoordinates(this._source.tileID).map(e=>new md(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)):(n=e.coveringTiles({tileSize:t||this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom&&!r,reparseOverscaled:this._source.reparseOverscaled,isTerrainDEM:this.usedForTerrain}),this._source.hasTile&&(n=n.filter(e=>this._source.hasTile(e)))):n=[];const i=this._updateRetainedTiles(n);if(im(this._source.type)&&0!==n.length){const e={},t={},r=Object.keys(i);for(const n of r){const r=i[n],o=this._tiles[n];if(!o||o.fadeEndTime&&o.fadeEndTime<=Ze.now())continue;const a=this.findLoadedParent(r,Math.max(r.overscaledZ-rm.maxOverzooming,this._source.minzoom));a&&(this._addTile(a.tileID),e[a.tileID.key]=a.tileID),t[n]=r}const o=n[n.length-1].overscaledZ;for(const e in this._tiles){const r=this._tiles[e];if(i[e]||!r.hasData())continue;let n=r.tileID;for(;n.overscaledZ>o;){n=n.scaledTo(n.overscaledZ-1);const o=this._tiles[n.key];if(o&&o.hasData()&&t[n.key]){i[e]=r.tileID;break}}}for(const t in e)i[t]||(this._coveredTiles[t]=!0,i[t]=e[t])}for(const e in i)this._tiles[e].clearFadeHold();const o=function(e,t){const r=[];for(const n in e)n in t||r.push(n);return r}(this._tiles,i);for(const e of o){const t=this._tiles[e];t.hasSymbolBuckets&&!t.holdingForFade()?t.setHoldDuration(this.map._fadeDuration):t.hasSymbolBuckets&&!t.symbolFadeFinished()||this._removeTile(+e)}this._updateLoadedParentTileCache(),this._onlySymbols&&this._source.afterUpdate&&this._source.afterUpdate()}releaseSymbolFadeTiles(){for(const e in this._tiles)this._tiles[e].holdingForFade()&&this._removeTile(+e)}_updateRetainedTiles(e){const t={};if(0===e.length)return t;const r={},n=e.reduce((e,t)=>Math.min(e,t.overscaledZ),1/0),i=e[0].overscaledZ,o=Math.max(i-rm.maxOverzooming,this._source.minzoom),a=Math.max(i+rm.maxUnderzooming,this._source.minzoom),s={};for(const r of e){const e=this._addTile(r);t[r.key]=r,e.hasData()||n<this._source.maxzoom&&(s[r.key]=r)}this._retainLoadedChildren(s,n,a,t);for(const n of e){let e=this._tiles[n.key];if(e.hasData())continue;if(n.canonical.z>=this._source.maxzoom){const e=n.children(this._source.maxzoom)[0],r=this.getTile(e);if(r&&r.hasData()){t[e.key]=e;continue}}else{const e=n.children(this._source.maxzoom);if(t[e[0].key]&&t[e[1].key]&&t[e[2].key]&&t[e[3].key])continue}let i=e.wasRequested();for(let a=n.overscaledZ-1;a>=o;--a){const o=n.scaledTo(a);if(r[o.key])break;if(r[o.key]=!0,e=this.getTile(o),!e&&i&&(e=this._addTile(o)),e&&(t[o.key]=o,i=e.wasRequested(),e.hasData()))break}}return t}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(const e in this._tiles){const t=[];let r,n=this._tiles[e].tileID;for(;n.overscaledZ>0;){if(n.key in this._loadedParentTiles){r=this._loadedParentTiles[n.key];break}t.push(n.key);const e=n.scaledTo(n.overscaledZ-1);if(r=this._getLoadedTile(e),r)break;n=e}for(const e of t)this._loadedParentTiles[e]=r}}_addTile(e){let t=this._tiles[e.key];if(t)return t;t=this._cache.getAndRemove(e),t&&(this._setTileReloadTimer(e.key,t),t.tileID=e,this._state.initializeTileState(t,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,t)));const r=Boolean(t);if(!r){const r=this.map?this.map.painter:null;t=new Dh(e,this._source.tileSize*e.overscaleFactor(),this.transform.tileZoom,r,this._isRaster),this._loadTile(t,this._tileLoaded.bind(this,t,e.key,t.state))}return t?(t.uses++,this._tiles[e.key]=t,r||this._source.fire(new Ke("dataloading",{tile:t,coord:t.tileID,dataType:"source"})),t):null}_setTileReloadTimer(e,t){e in this._timers&&(clearTimeout(this._timers[e]),delete this._timers[e]);const r=t.getExpiryTimeout();r&&(this._timers[e]=setTimeout(()=>{this._reloadTile(e,"expired"),delete this._timers[e]},r))}_removeTile(e){const t=this._tiles[e];t&&(t.uses--,delete this._tiles[e],this._timers[e]&&(clearTimeout(this._timers[e]),delete this._timers[e]),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._cache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))))}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const e in this._tiles)this._removeTile(+e);this._source._clear&&this._source._clear(),this._cache.reset(),this.map&&this.usedForTerrain&&this.map.painter.terrain&&this.map.painter.terrain.resetTileLookupCache(this.id)}tilesIn(e,t,r){const n=[],i=this.transform;if(!i)return n;const o="globe"===i.projection.name,a=Wl(i.center.lng);for(const s in this._tiles){const l=this._tiles[s];if(r&&l.clearQueryDebugViz(),l.holdingForFade())continue;let c;if(o){const e=l.tileID.canonical;if(0===e.z){const t=[Math.abs(P(a,...om(e,-1))-a),Math.abs(P(a,...om(e,1))-a)];c=[0,2*t.indexOf(Math.min(...t))-1]}else{const t=[Math.abs(P(a,...om(e,-1))-a),Math.abs(P(a,...om(e,0))-a),Math.abs(P(a,...om(e,1))-a)];c=[t.indexOf(Math.min(...t))-1]}}else c=[0];for(const r of c){const o=e.containsTile(l,i,t,r);o&&n.push(o)}}return n}getVisibleCoordinates(e){const t=this.getRenderableIds(e).map(e=>this._tiles[e].tileID);for(const e of t)e.projMatrix=this.transform.calculateProjMatrix(e.toUnwrapped());return t}hasTransition(){if(this._source.hasTransition())return!0;if(im(this._source.type))for(const e in this._tiles){const t=this._tiles[e];if(void 0!==t.fadeEndTime&&t.fadeEndTime>=Ze.now())return!0}return!1}setFeatureState(e,t,r){this._state.updateState(e=e||"_geojsonTileLayer",t,r)}removeFeatureState(e,t,r){this._state.removeFeatureState(e=e||"_geojsonTileLayer",t,r)}getFeatureState(e,t){return this._state.getState(e=e||"_geojsonTileLayer",t)}
vendor: 2,892 bytes, line 2
2setDependencies(e,t,r){const n=this._tiles[e];n&&n.setDependencies(t,r)}reloadTilesForDependencies(e,t){for(const r in this._tiles)this._tiles[r].hasDependency(e,t)&&this._reloadTile(+r,"reloading");this._cache.filter(r=>!r.hasDependency(e,t))}_preloadTiles(e,t){if(!this._sourceLoaded){const r=()=>{this._sourceLoaded&&(this._source.off("data",r),this._preloadTiles(e,t))};return void this._source.on("data",r)}const r=new Map,n=Array.isArray(e)?e:[e],i=this.map.painter.terrain,o=this.usedForTerrain&&i?i.getScaledDemTileSize():this._source.tileSize;for(const e of n){const t=e.coveringTiles({tileSize:o,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom&&!this.usedForTerrain,reparseOverscaled:this._source.reparseOverscaled,isTerrainDEM:this.usedForTerrain});for(const e of t)r.set(e.key,e);this.usedForTerrain&&e.updateElevation(!1)}C(Array.from(r.values()),(e,t)=>{const r=new Dh(e,this._source.tileSize*e.overscaleFactor(),this.transform.tileZoom,this.map.painter,this._isRaster);this._loadTile(r,e=>{"raster-dem"===this._source.type&&r.dem&&this._backfillDEM(r),t(e,r)})},t)}}function nm(e,t){const r=Math.abs(2*e.wrap)-+(e.wrap<0),n=Math.abs(2*t.wrap)-+(t.wrap<0);return e.overscaledZ-t.overscaledZ||n-r||t.canonical.y-e.canonical.y||t.canonical.x-e.canonical.x}function im(e){return"raster"===e||"image"===e||"video"===e||"custom"===e}function om(e,t){const r=1<<e.z;return[e.x/r+t,(e.x+1)/r+t]}rm.maxOverzooming=10,rm.maxUnderzooming=3;class am{constructor(e,t,r){this._demTile=e,this._dem=this._demTile.dem,this._scale=t,this._offset=r}static create(e,t,r){const n=r||e.findDEMTileFor(t);if(!n||!n.dem)return;const i=n.dem,o=n.tileID,a=1<<t.canonical.z-o.canonical.z;return new am(n,n.tileSize/ls/a,[(t.canonical.x/a-o.canonical.x)*i.dim,(t.canonical.y/a-o.canonical.y)*i.dim])}tileCoordToPixel(e,t){const r=t*this._scale+this._offset[1],n=Math.floor(e*this._scale+this._offset[0]),i=Math.floor(r);return new b(n,i)}getElevationAt(e,t,r,n){const i=e*this._scale+this._offset[0],o=t*this._scale+this._offset[1],a=Math.floor(i),s=Math.floor(o),l=this._dem;return n=!!n,r?Lr(Lr(l.get(a,s,n),l.get(a,s+1,n),o-s),Lr(l.get(a+1,s,n),l.get(a+1,s+1,n),o-s),i-a):l.get(a,s,n)}getElevationAtPixel(e,t,r){return this._dem.get(e,t,!!r)}getMeterToDEM(e){return(1<<this._demTile.tileID.canonical.z)*ql(1,e)*this._dem.stride}}class sm{constructor(e,t){this.tileID=e,this.x=e.canonical.x,this.y=e.canonical.y,this.z=e.canonical.z,this.grid=new Gi(ls,16,0),this.featureIndexArray=new wa,this.promoteId=t}insert(e,t,r,n,i,o=0){const a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,n,i,o);const s=this.grid;for(let e=0;e<t.length;e++){const r=t[e],n=[1/0,1/0,-1/0,-1/0];for(let e=0;e<r.length;e++){const t=r[e];n[0]=Math.min(n[0],t.x),n[1]=Math.min(n[1],t.y),n[2]=Math.max(n[2],t.x),n[3]=Math.max(n[3],t.y)}n[0]<ls&&n[1]<ls&&n[2]>=0&&n[3]>
vendor: 7,864 bytes, line 2
2=0&&s.insert(a,n[0],n[1],n[2],n[3])}}loadVTLayers(){if(!this.vtLayers){this.vtLayers=new qu(new vf(this.rawTileData)).layers,this.sourceLayerCoder=new wh(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"]),this.vtFeatures={};for(const e in this.vtLayers)this.vtFeatures[e]=[]}return this.vtLayers}query(e,t,r,n){this.loadVTLayers();const i=e.params||{},o=fi(i.filter),a=e.tileResult,s=e.transform,l=a.bufferedTilespaceBounds,c=this.grid.query(l.min.x,l.min.y,l.max.x,l.max.y,(e,t,r,n)=>wc(a.bufferedTilespaceGeometry,e,t,r,n));c.sort(cm);let u=null;s.elevation&&c.length>0&&(u=am.create(s.elevation,this.tileID));const d={};let f;for(let s=0;s<c.length;s++){const l=c[s];if(l===f)continue;f=l;const p=this.featureIndexArray.get(l);let h=null;this.loadMatchingFeature(d,p,o,i.layers,i.availableImages,t,r,n,(t,r,n,i=0)=>(h||(h=sc(t,this.tileID.canonical,e.tileTransform)),r.queryIntersectsFeature(a,t,n,h,this.z,e.transform,e.pixelPosMatrix,u,i)))}return d}loadMatchingFeature(e,t,r,n,i,o,a,s,l){const{featureIndex:c,bucketIndex:u,sourceLayerIndex:d,layoutVertexArrayOffset:f}=t,p=this.bucketLayerIDs[u];if(n&&!function(e,t){for(let r=0;r<e.length;r++)if(t.indexOf(e[r])>=0)return!0;return!1}(n,p))return;const h=this.sourceLayerCoder.decode(d),m=this.vtLayers[h].feature(c);if(r.needGeometry){const e=lc(m,!0);if(!r.filter(new Oo(this.tileID.overscaledZ),e,this.tileID.canonical))return}else if(!r.filter(new Oo(this.tileID.overscaledZ),m))return;const y=this.getId(m,h);for(let t=0;t<p.length;t++){const r=p[t];if(n&&n.indexOf(r)<0)continue;const u=o[r];if(!u)continue;let d={};void 0!==y&&s&&(d=s.getState(u.sourceLayer||"_geojsonTileLayer",y));const h=A({},a[r]);h.paint=lm(h.paint,u.paint,m,d,i),h.layout=lm(h.layout,u.layout,m,d,i);const g=!l||l(m,u,d,f);if(!g)continue;const v=new jh(m,this.z,this.x,this.y,y);v.layer=h;let b=e[r];void 0===b&&(b=e[r]=[]),b.push({featureIndex:c,feature:v,intersectionZ:g})}}lookupSymbolFeatures(e,t,r,n,i,o,a,s){const l={};this.loadVTLayers();const c=fi(i);for(const i of e)this.loadMatchingFeature(l,{bucketIndex:r,sourceLayerIndex:n,featureIndex:i,layoutVertexArrayOffset:0},c,o,a,s,t);return l}loadFeature(e){const{featureIndex:t,sourceLayerIndex:r}=e;this.loadVTLayers();const n=this.sourceLayerCoder.decode(r),i=this.vtFeatures[n];if(i[t])return i[t];const o=this.vtLayers[n].feature(t);return i[t]=o,o}hasLayer(e){for(const t of this.bucketLayerIDs)for(const r of t)if(e===r)return!0;return!1}getId(e,t){let r=e.id;if(this.promoteId){const n="string"==typeof this.promoteId?this.promoteId:this.promoteId[t];null!=n&&(r=e.properties[n]),"boolean"==typeof r&&(r=Number(r))}return r}}function lm(e,t,r,n,i){return Y(e,(e,o)=>{const a=t instanceof Co?t.get(o):null;return a&&a.evaluate?a.evaluate(r,n,i):a})}function cm(e,t){return t-e}Xi(sm,"FeatureIndex",{omit:["rawTileData","sourceLayerCoder"]});class um{constructor(e,t){this.width=e,this.height=t,this.nextRow=0,this.image=new Fc({width:e,height:t}),this.positions={},this.uploaded=!1}getDash(e,t){const r=this.getKey(e,t);return this.positions[r]}trim(){const e=this.width,t=this.height=R(this.nextRow);this.image.resize({width:e,height:t})}getKey(e,t){return e.join(",")+t}getDashRanges(e,t,r){const n=[];let i=e.length%2==1?-e[e.length-1]*r:0,o=e[0]*r,a=!0;n.push({left:i,right:o,isDash:a,zeroLength:0===e[0]});let s=e[0];for(let t=1;t<e.length;t++){a=!a;const l=e[t];i=s*r,s+=l,o=s*r,n.push({left:i,right:o,isDash:a,zeroLength:0===l})}return n}addRoundDash(e,t,r){const n=t/2;for(let t=-r;t<=r;t++){const i=this.width*(this.nextRow+r+t);let o=0,a=e[o];for(let s=0;s<this.width;s++){s/a.right>1&&(a=e[++o]);const l=Math.abs(s-a.left),c=Math.abs(s-a.right),u=Math.min(l,c);let d;const f=t/r*(n+1);if(a.isDash){const e=n-Math.abs(f);d=Math.sqrt(u*u+e*e)}else d=n-Math.sqrt(u*u+f*f);this.image.data[i+s]=Math.max(0,Math.min(255,d+128))}}}addRegularDash(e,t){for(let t=e.length-1;t>=0;--t){const r=e[t],n=e[t+1];r.zeroLength?e.splice(t,1):n&&n.isDash===r.isDash&&(n.left=r.left,e.splice(t,1))}const r=e[0],n=e[e.length-1];r.isDash===n.isDash&&(r.left=n.left-this.width,n.right=r.right+this.width);const i=this.width*this.nextRow;let o=0,a=e[o];for(let r=0;r<this.width;r++){r/a.right>1&&(a=e[++o]);const n=Math.abs(r-a.left),s=Math.abs(r-a.right),l=Math.min(n,s);this.image.data[i+r]=Math.max(0,Math.min(255,(a.isDash?l:-l)+t+128))}}addDash(e,t){const r=this.getKey(e,t);if(this.positions[r])return this.positions[r];const n="round"===t,i=n?7:0,o=2*i+1;if(this.nextRow+o>this.height)return W("LineAtlas out of space"),null;0===e.length&&e.push(1);let a=0;for(let t=0;t<e.length;t++)e[t]<0&&(W("Negative value is found in line dasharray, replacing values with 0"),e[t]=0),a+=e[t];if(0!==a){const r=this.width/a,o=this.getDashRanges(e,this.width,r);n?this.addRoundDash(o,r,i):this.addRegularDash(o,"square"===t?.5*r:0)}const s=this.nextRow+i;this.nextRow+=o;const l={tl:[s,i],br:[a,0]};return this.positions[r]=l,l}}Xi(um,"LineAtlas");const dm=1*rp;class fm{constructor(e){const t={},r=[];for(const n in e){const i=e[n],o=t[n]={};for(const e in i.glyphs){const t=i.glyphs[+e];if(!t||0===t.bitmap.width||0===t.bitmap.height)continue;const n=t.metrics.localGlyph?dm:1,a={x:0,y:0,w:t.bitmap.width+2*n,h:t.bitmap.height+2*n};r.push(a),o[e]=a}}const{w:n,h:i}=jf(r),o=new Fc({width:n||1,height:i||1});for(const r in e){const n=e[r];for(const e in n.glyphs){const i=n.glyphs[+e];if(!i||0===i.bitmap.width||0===i.bitmap.height)continue;const a=t[r][e],s=i.metrics.localGlyph?dm:1;Fc.copy(i.bitmap,o,{x:0,y:0},{x:a.x+s,y:a.y+s},i.bitmap)}}this.image=o,this.positions=t}}Xi(fm,"GlyphAtlas");class pm{constructor(e){this.tileID=new md(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.tileZoom=e.tileZoom,this.uid=e.uid,this.zoom=e.zoom,this.canonical=e.tileID.canonical,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies,this.promoteId=e.promoteId,this.enableTerrain=!!e.enableTerrain,this.isSymbolTile=e.isSymbolTile,this.tileTransform=Lp(e.tileID.canonical,e.projection),this.projection=e.projection}parse(e,t,r,n,i){this.status="parsing",this.data=e,this.collisionBoxArray=new ha;const o=new wh(Object.keys(e.layers).sort()),a=new sm(this.tileID,this.promoteId);a.bucketLayerIDs=[];const s={},l=new um(256,256),c={featureIndex:a,iconDependencies:{},patternDependencies:{},glyphDependencies:{},lineAtlas:l,availableImages:r},u=t.familiesBySource[this.source];for(const t in u){const n=e.layers[t];if(!n)continue;let i=!1,l=!1;for(const e of u[t])"symbol"===e[0].type?i=!0:l=!0;if(!0===this.isSymbolTile&&!i)continue;if(!1===this.isSymbolTile&&!l)continue;1===n.version&&W(`Vector tile source "${this.source}" layer "${t}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const d=o.encode(t),f=[];for(let e=0;e<n.length;e++){const r=n.feature(e),i=a.getId(r,t);f.push({feature:r,id:i,index:e,sourceLayerIndex:d})}for(const e of u[t]){const t=e[0];void 0!==this.isSymbolTile&&"symbol"===t.type!==this.isSymbolTile||t.minzoom&&this.zoom<Math.floor(t.minzoom)||t.maxzoom&&this.zoom>=t.maxzoom||"none"!==t.visibility&&(hm(e,this.zoom,r),(s[t.id]=t.createBucket({index:a.bucketLayerIDs.length,layers:e,zoom:this.zoom,canonical:this.canonical,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:d,sourceID:this.source,enableTerrain:this.enableTerrain,projection:this.projection.spec,availableImages:r})).populate(f,c,this.tileID.canonical,this.tileTransform),a.bucketLayerIDs.push(e.map(e=>e.id)))}}let d,f,p,h;l.trim();const m={type:"maybePrepare",isSymbolTile:this.isSymbolTile,zoom:this.zoom},y=()=>
2{if(d)return i(d);if(f&&p&&h){const e=new fm(f),t=new kf(p,h);for(const n in s){const i=s[n];i instanceof lh?(hm(i.layers,this.zoom,r),xp(i,f,e.positions,p,t.iconPositions,this.showCollisionBoxes,r,this.tileID.canonical,this.tileZoom,this.projection)):i.hasPattern&&(i instanceof kd||i instanceof Pu||i instanceof td)&&(hm(i.layers,this.zoom,r),i.addFeatures(c,this.tileID.canonical,t.patternPositions,r,this.tileTransform))}this.status="done",i(null,{buckets:L(s).filter(e=>!e.isEmpty()),featureIndex:a,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,lineAtlas:l,imageAtlas:t,glyphMap:this.returnDependencies?f:null,iconMap:this.returnDependencies?p:null,glyphPositions:this.returnDependencies?e.positions:null})}},g=Y(c.glyphDependencies,e=>Object.keys(e).map(Number));Object.keys(g).length?n.send("getGlyphs",{uid:this.uid,stacks:g},(e,t)=>{d||(d=e,f=t,y())},void 0,!1,m):f={};const v=Object.keys(c.iconDependencies);v.length?n.send("getImages",{icons:v,source:this.source,tileID:this.tileID,type:"icons"},(e,t)=>{d||(d=e,p=t,y())},void 0,!1,m):p={};const b=Object.keys(c.patternDependencies);b.length?n.send("getImages",{icons:b,source:this.source,tileID:this.tileID,type:"patterns"},(e,t)=>{d||(d=e,h=t,y())},void 0,!1,m):h={},y()}}function hm(e,t,r){const n=new Oo(t);for(const t of e)t.recalculate(n,r)}class mm{constructor(e){this.entries={},this.scheduler=e}request(e,t,r,n){const i=this.entries[e]=this.entries[e]||{callbacks:[]};if(i.result){const[e,r]=i.result;return this.scheduler?this.scheduler.add(()=>{n(e,r)},t):n(e,r),()=>{}}return i.callbacks.push(n),i.cancel||(i.cancel=r((r,n)=>{i.result=[r,n];for(const e of i.callbacks)this.scheduler?this.scheduler.add(()=>{e(r,n)},t):e(r,n);setTimeout(()=>delete this.entries[e],3e3)})),()=>{i.result||(i.callbacks=i.callbacks.filter(e=>e!==n),i.callbacks.length||(i.cancel(),delete this.entries[e]))}}}function ym(e,t,r){const n=JSON.stringify(e.request);return e.data&&(this.deduped.entries[n]={result:[null,e.data]}),this.deduped.request(n,{type:"parseTile",isSymbolTile:e.isSymbolTile,zoom:e.tileZoom},t=>{const n=pe(e.request,(e,n,i,o)=>{e?t(e):n&&t(null,{vectorTile:r?void 0:new qu(new vf(n)),rawData:n,cacheControl:i,expires:o})});return()=>{n.cancel(),t()}},t)}const gm=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class vm{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[t,r]=new Uint8Array(e,0,2);if(219!==t)throw new Error("Data does not appear to be in a KDBush format.");const n=r>>4;if(1!==n)throw new Error(`Got v${n} data when expected v1.`);const i=gm[15&r];if(!i)throw new Error("Unrecognized array type.");const[o]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new vm(a,o,i,e)}constructor(e,t=64,r=Float64Array,n){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const i=gm.indexOf(this.ArrayType),o=2*e*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,s=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);n&&n instanceof ArrayBuffer?(this.data=n,this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+s,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(8+o+a+s),this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+s,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=t,r}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return bm(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,r,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:o,nodeSize:a}=this,s=[0,i.length-1,0],l=[];for(;s.length;){const c=s.pop()||0,u=s.pop()||0,d=s.pop()||0;if(u-d<=a){for(let a=d;a<=u;a++){const s=o[2*a],c=o[2*a+1];s>=e&&s<=r&&c>=t&&c<=n&&l.push(i[a])}continue}const f=d+u>>1,p=o[2*f],h=o[2*f+1];p>=e&&p<=r&&h>=t&&h<=n&&l.push(i[f]),(0===c?e<=p:t<=h)&&(s.push(d),s.push(f-1),s.push(1-c)),(0===c?r>=p:n>=h)&&(s.push(f+1),s.push(u),s.push(1-c))}return l}within(e,t,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:n,coords:i,nodeSize:o}=this,a=[0,n.length-1,0],s=[],l=r*r;for(;a.length;){const c=a.pop()||0,u=a.pop()||0,d=a.pop()||0;
vendor: 4,223 bytes, line 2
2if(u-d<=o){for(let r=d;r<=u;r++)Om(i[2*r],i[2*r+1],e,t)<=l&&s.push(n[r]);continue}const f=d+u>>1,p=i[2*f],h=i[2*f+1];Om(p,h,e,t)<=l&&s.push(n[f]),(0===c?e-r<=p:t-r<=h)&&(a.push(d),a.push(f-1),a.push(1-c)),(0===c?e+r>=p:t+r>=h)&&(a.push(f+1),a.push(u),a.push(1-c))}return s}}function bm(e,t,r,n,i,o){if(i-n<=r)return;const a=n+i>>1;_m(e,t,a,n,i,o),bm(e,t,r,n,a-1,1-o),bm(e,t,r,a+1,i,1-o)}function _m(e,t,r,n,i,o){for(;i>n;){if(i-n>600){const a=i-n+1,s=r-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(s-a/2<0?-1:1);_m(e,t,r,Math.max(n,Math.floor(r-s*c/a+u)),Math.min(i,Math.floor(r+(a-s)*c/a+u)),o)}const a=t[2*r+o];let s=n,l=i;for(xm(e,t,n,r),t[2*i+o]>a&&xm(e,t,n,i);s<l;){for(xm(e,t,s,l),s++,l--;t[2*s+o]<a;)s++;for(;t[2*l+o]>a;)l--}t[2*n+o]===a?xm(e,t,n,l):(l++,xm(e,t,l,i)),l<=r&&(n=l+1),r<=l&&(i=l-1)}}function xm(e,t,r,n){wm(e,r,n),wm(t,2*r,2*n),wm(t,2*r+1,2*n+1)}function wm(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Om(e,t,r,n){const i=e-r,o=t-n;return i*i+o*o}e.ARRAY_TYPE=ds,e.AUTH_ERR_MSG=be,e.Aabb=ol,e.Actor=class{constructor(e,r,n){this.target=e,this.parent=r,this.mapId=n,this.callbacks={},this.cancelCallbacks={},F(["receive"],this),this.target.addEventListener("message",this.receive,!1),this.globalScope=G()?e:t,this.scheduler=new xh}send(e,t,r,n,i=!1,o){const a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(r.metadata=o,this.callbacks[a]=r);const s=J(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:e,hasCallback:!!r,targetMapId:n,mustQueue:i,sourceMapId:this.mapId,data:Qi(t,s)},s),{cancel:()=>{r&&delete this.callbacks[a],this.target.postMessage({id:a,type:"<cancel>",targetMapId:n,sourceMapId:this.mapId})}}}receive(e){const t=e.data,r=t.id;if(r&&(!t.targetMapId||this.mapId===t.targetMapId))if("<cancel>"===t.type){const e=this.cancelCallbacks[r];delete this.cancelCallbacks[r],e&&e.cancel()}else if(t.mustQueue||G()){const e=this.callbacks[r];this.cancelCallbacks[r]=this.scheduler.add(()=>this.processTask(r,t),e&&e.metadata||{type:"message"})}else this.processTask(r,t)}processTask(e,t){if("<response>"===t.type){const r=this.callbacks[e];delete this.callbacks[e],r&&(t.error?r(eo(t.error)):r(null,eo(t.data)))}else{const r=J(this.globalScope)?void 0:[],n=t.hasCallback?(t,n)=>{delete this.cancelCallbacks[e],this.target.postMessage({id:e,type:"<response>",sourceMapId:this.mapId,error:t?Qi(t):null,data:Qi(n,r)},r)}:e=>{},i=eo(t.data);if(this.parent[t.type])this.parent[t.type](t.sourceMapId,i,n);else if(this.parent.getWorkerSource){const e=t.type.split(".");this.parent.getWorkerSource(t.sourceMapId,e[0],i.source)[e[1]](i,n)}else n(new Error(`Could not find function ${t.type}`))}}remove(){this.scheduler.remove(),this.target.removeEventListener("message",this.receive,!1)}},e.CanonicalTileID=pd,e.Color=Lt,e.ColorMode=Kh,e.CullFaceMode=tm,e.DEMData=qh,e.DataConstantProperty=Lo,e.DedupedRequest=mm,e.DepthMode=Zh,e.EXTENT=ls,e.Elevation=class{isDataAvailableAtPoint(e){const t=this._source();if(this.isUsingMockSource()||!t||e.y<0||e.y>1)return!1;const r=t.getSource().maxzoom,n=1<<r,i=Math.floor(e.x),o=Math.floor((e.x-i)*n),a=Math.floor(e.y*n),s=this.findDEMTileFor(new md(r,i,r,o,a));return!(!s||!s.dem)}getAtPointOrZero(e,t=0){return this.getAtPoint(e,t)||0}getAtPoint(e,t,r=!0){if(this.isUsingMockSource())return null;null==t&&(t=null);const n=this._source();if(!n)return t;if(e.y<0||e.y>1)return t;const i=n.getSource().maxzoom,o=1<<i,a=Math.floor(e.x),s=e.x-a,l=new md(i,a,i,Math.floor(s*o),Math.floor(e.y*o)),c=this.findDEMTileFor(l);if(!c||!c.dem)return t;const u=c.dem,d=1<<c.tileID.canonical.z,f=(s*d-c.tileID.canonical.x)*u.dim,p=(e.y*d-c.tileID.canonical.y)*u.dim,h=Math.floor(f),m=Math.floor(p);return(r?this.exaggeration():1)*Lr(Lr(u.get(h,m),u.get(h,m+1),p-m),Lr(u.get(h+1,m),u.get(h+1,m+1),p-m),f-h)}getAtTileOffset(e,t,r){const n=1<<e.canonical.z;return this.getAtPointOrZero(new Ql(e.wrap+(e.canonical.x+t/ls)/n,(e.canonical.y+r/ls)/n))}getAtTileOffsetFunc(e,t,r,n){return i=>{const o=this.getAtTileOffset(e,i.x,i.y),a=n.upVector(e.canonical,i.x,i.y);return As(a,a,o*n.upVectorScale(e.canonical,t,r).metersToTile),a}}getForTilePoints(e,t,r,n){if(this.isUsingMockSource())return!1;const i=am.create(this,e,n);
2return!!i&&(t.forEach(e=>{e[2]=this.exaggeration()*i.getElevationAt(e[0],e[1],r)}),!0)}getMinMaxForTile(e){if(this.isUsingMockSource())return null;const t=this.findDEMTileFor(e);if(!t||!t.dem)return null;const r=t.dem.tree,n=t.tileID,i=1<<e.canonical.z-n.canonical.z;let o=e.canonical.x/i-n.canonical.x,a=e.canonical.y/i-n.canonical.y,s=0;for(let t=0;t<e.canonical.z-n.canonical.z&&!r.leaves[s];t++){o*=2,a*=2;const e=2*Math.floor(a)+Math.floor(o);s=r.childOffsets[s]+e,o%=1,a%=1}return{min:this.exaggeration()*r.minimums[s],max:this.exaggeration()*r.maximums[s]}}getMinElevationBelowMSL(){throw new Error("Pure virtual method called.")}raycast(e,t,r){throw new Error("Pure virtual method called.")}pointCoordinate(e){throw new Error("Pure virtual method called.")}_source(){throw new Error("Pure virtual method called.")}isUsingMockSource(){throw new Error("Pure virtual method called.")}exaggeration(){throw new Error("Pure virtual method called.")}findDEMTileFor(e){throw new Error("Pure virtual method called.")}get visibleDemTiles(){throw new Error("Getter must be implemented in subclass.")}},e.ErrorEvent=Qe,e.EvaluationParameters=Oo,e.Event=Ke,e.Evented=et,e.FillExtrusionBucket=td,e.Frustum=il,e.FrustumCorners=nl,e.GLOBE_RADIUS=ll,e.GLOBE_SCALE_MATCH_LATITUDE=45,e.GLOBE_ZOOM_THRESHOLD_MAX=sl,e.GLOBE_ZOOM_THRESHOLD_MIN=al,e.GlobeSharedBuffers=class{constructor(e){this._createGrid(e),this._createPoles(e)}destroy(){this._poleIndexBuffer.destroy(),this._gridBuffer.destroy(),this._gridIndexBuffer.destroy(),this._poleNorthVertexBuffer.destroy(),this._poleSouthVertexBuffer.destroy();for(const e of this._poleSegments)e.destroy();for(const e of this._gridSegments)e.withSkirts.destroy(),e.withoutSkirts.destroy();if(this._wireframeIndexBuffer){this._wireframeIndexBuffer.destroy();for(const e of this._wireframeSegments)e.destroy()}}_fillGridMeshWithLods(e,t){const r=new Uo,n=new ia,i=[],o=e+1+2,a=t[0]+1,s=t[0]+1+(1+t.length),l=(e,t,r)=>{let n=e===o-1?e-2:0===e?e:e-1;return n+=r?24575:0,[n,t]};for(let e=0;e<o;++e)r.emplaceBack(...l(e,0,!0));for(let e=0;e<a;++e)for(let t=0;t<o;++t)r.emplaceBack(...l(t,e,(0===t||t===o-1)&&!0));for(let e=0;e<t.length;++e){const n=t[e];for(let e=0;e<o;++e)r.emplaceBack(...l(e,n,!0))}for(let e=0;e<t.length;++e){const a=n.length,l=t[e]+1+2,c=new ia;for(let r=0;r<l-1;r++){const i=r===l-2,a=i?o*(s-t.length+e-r):o;for(let e=0;e<o-1;e++){const t=r*o+e;0===r||i||0===e||e===o-2?(c.emplaceBack(t+1,t,t+a),c.emplaceBack(t+a,t+a+1,t+1)):(n.emplaceBack(t+1,t,t+a),n.emplaceBack(t+a,t+a+1,t+1))}}const u=ss.simpleSegment(0,a,r.length,n.length-a);for(let e=0;e<c.uint16.length;e+=3)n.emplaceBack(c.uint16[e],c.uint16[e+1],c.uint16[e+2]);const d=ss.simpleSegment(0,a,r.length,n.length-a);i.push({withoutSkirts:u,withSkirts:d})}return{vertices:r,indices:n,segments:i}}_createGrid(e){const t=this._fillGridMeshWithLods(ul,dl);this._gridSegments=t.segments,this._gridBuffer=e.createVertexBuffer(t.vertices,tl.members),this._gridIndexBuffer=e.createIndexBuffer(t.indices,!0)}_createPoles(e){const t=new ia;for(let e=0;e<=ul;e++)t.emplaceBack(0,e+1,e+2);this._poleIndexBuffer=e.createIndexBuffer(t,!0);const r=new la,n=new la;this._poleSegments=[];for(let e=0,t=0;e<al;e++){const i=360/(1<<e);r.emplaceBack(0,-ll,0,.5,0),n.emplaceBack(0,-ll,0,.5,1);for(let e=0;e<=ul;e++){const t=e/ul,o=Lr(0,i,t),[a,s,l]=Ml(zl,Fl,o,ll);r.emplaceBack(a,s,l,t,0),n.emplaceBack(a,s,l,t,1)}this._poleSegments.push(ss.simpleSegment(t,0,66,64)),t+=66}this._poleNorthVertexBuffer=e.createVertexBuffer(r,Qs,!1),this._poleSouthVertexBuffer=e.createVertexBuffer(n,Qs,!1)}getGridBuffers(e,t){return[this._gridBuffer,this._gridIndexBuffer,t?this._gridSegments[e].withSkirts:this._gridSegments[e].withoutSkirts]}getPoleBuffers(e){return[this._poleNorthVertexBuffer,this._poleSouthVertexBuffer,this._poleIndexBuffer,this._poleSegments[e]]}getWirefameBuffers(e,t){if(!this._wireframeSegments){const t=new ua,r=ul,n=r+1+2,i=1;this._wireframeSegments=[];for(let e=0,o=0;e<dl.length;e++){const a=dl[e];for(let e=i;e<a+i;e++)for(let o=i;o<r+i;o++){const r=e*n+o;t.emplaceBack(r,r+1),t.emplaceBack(r,r+n),t.emplaceBack(r,r+n+1)}const s=a*r*3;this._wireframeSegments.push(ss.simpleSegment(0,o,(a+1)*n,s)),o+=s}this._wireframeIndexBuffer=e.createIndexBuffer(t)}return[this._gridBuffer,this._wireframeIndexBuffer,this._wireframeSegments[t]]}},e.GlyphManager=ip,e.ImagePosition=Mf,e.KDBush=vm,e.LivePerformanceUtils=Ye,e.LngLat=Hl,e.LngLatBounds=cs,e.LocalGlyphMode=np,e.MAX_MERCATOR_LATITUDE=Jl,e.MercatorCoordinate=Ql,e.ONE_EM=Fd,e.OverscaledTileID=md,e.PerformanceMarkers=Be,e.Point=b,e.Properties=Io,e.RGBAImage=Bc,e.Ray=rl,e.RequestManager=class{constructor(e,t,r){this._transformRequestFn=e,this._customAccessToken=t,this._silenceAuthErrors=!!r,this._createSkuToken()}_createSkuToken(){const e=function(){let e="";for(let t=0;t<10;t++)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",f,e].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt}_isSkuTokenExpired(){return Date.now()>this._skuTokenExpiresAt}transformRequest(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}}normalizeStyleURL(e,t){if(!_e(e))return e;const r=Me(e);return r.path=`/styles/v1${r.path}`,this._makeAPIURL(r,this._customAccessToken||t)}normalizeGlyphsURL(e,t){if(!_e(e))return e;const r=Me(e);return r.path=`/fonts/v1${r.path}`,this._makeAPIURL(r,this._customAccessToken||t)}normalizeSourceURL(e,t,r,n){if(!_e(e))return e;const i=Me(e);return i.path=`/v4/${i.authority}.json`,i.params.push("secure"),r&&i.params.push(`language=${r}`),n&&i.params.push(`worldview=${n}`),this._makeAPIURL(i,this._customAccessToken||t)}normalizeSpriteURL(e,t,r,n){const i=Me(e);return _e(e)?(i.path=`/styles/v1${i.path}/sprite${t}${r}`,this._makeAPIURL(i,this._customAccessToken||n)):(i.path+=`${t}${r}`,ke(i))}normalizeTileURL(e,t,r){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!_e(e))return e;const n=Me(e);n.path=n.path.replace(/(\.(png|jpg)\d*)(?=$)/,`${t||r&&"raster"!==n.authority&&512===r?"@2x":""}${a.supported?".webp":"$1"}`),"raster"===n.authority?n.path=`/${o.RASTER_URL_PREFIX}${n.path}`:(n.path=n.path.replace(/^.+\/v4\//,"/"),n.path=`/${o.TILE_URL_VERSION}${n.path}`);const i=this._customAccessToken||function(e){for(const t of e){const e=t.match(/^access_token=(.*)$/);if(e)return e[1]}return null}(n.params)||o.ACCESS_TOKEN;return o.REQUIRE_ACCESS_TOKEN&&i&&this._skuToken&&n.params.push(`sku=${this._skuToken}`),this._makeAPIURL(n,i)}canonicalizeTileURL(e,t){const r=Me(e);if(!r.path.match(/^(\/v4\/|\/raster\/v1\/)/)||!r.path.match(/\.[\w]+$/))return e;let n="mapbox://";r.path.match(/^\/raster\/v1\//)?n+=`raster/${r.path.replace(`/${o.RASTER_URL_PREFIX}/`,"")}`:n+=`tiles/${r.path.replace(`/${o.TILE_URL_VERSION}/`,"")}`;let i=r.params;return t&&(i=i.filter(e=>!e.match(/^access_token=/))),i.length&&(n+=`?${i.join("&")}`),n}canonicalizeTileset(e,t){const r=!!t&&_e(t),n=[];for(const t of e.tiles||[])xe(t)?n.push(this.canonicalizeTileURL(t,r)):n.push(t);return n}_makeAPIURL(e,t){const r="See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes",n=Me(o.API_URL);if(e.protocol=n.protocol,e.authority=n.authority,"http"===e.protocol){const t=e.params.indexOf("secure");t>=0&&e.params.splice(t,1)}if("/"!==n.path&&(e.path=`${n.path}${e.path}`),!o.REQUIRE_ACCESS_TOKEN)return ke(e);if(t=t||o.ACCESS_TOKEN,!this._silenceAuthErrors){if(!t)throw new Error(`An API access token is required to use Mapbox GL. ${r}`);if("s"===t[0])throw new Error(`Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). ${r}`)}return e.params=e.params.filter(e=>-1===e.indexOf("access_token")),e.params.push(`access_token=${t||""}`),ke(e)}},e.ResourceType=ce,e.SegmentVector=ss,e.SourceCache=rm,e.StencilMode=Jh,e.StructArrayLayout1ui2=da,e.StructArrayLayout2f1f2i16=ta,e.StructArrayLayout2i4=Uo,e.StructArrayLayout2ui4=ua,e.StructArrayLayout3f12=na,e.StructArrayLayout3ui6=ia,e.StructArrayLayout4i8=$o,e.StructArrayLayout5f20=la,e.Texture=bh,e.Tile=Dh,e.Transitionable=Mo,e.Uniform1f=za,e.Uniform1i=class extends Ra{constructor(e){super(e),this.current=0}set(e,t,r){this.fetchUniformLocation(e,t)&&this.current!==r&&(this.current=r,this.gl.uniform1i(this.location,r))}},e.Uniform2f=class extends Ra{constructor(e){super(e),this.current=[0,0]}set(e,t,r){this.fetchUniformLocation(e,t)&&(r[0]===this.current[0]&&r[1]===this.current[1]||(this.current=r,this.gl.uniform2f(this.location,r[0],r[1])))}},e.Uniform3f=class extends Ra{constructor(e){super(e),this.current=[0,0,0]}set(e,t,r){this.fetchUniformLocation(e,t)&&(r[0]===this.current[0]&&r[1]===this.current[1]&&r[2]===this.current[2]||(this.current=r,this.gl.uniform3f(this.location,r[0],r[1],r[2])))}},e.Uniform4f=Fa,e.UniformColor=Ba,e.UniformMatrix2f=class extends Ra{constructor(e){super(e),this.current=Ha}set(e,t,r){if(this.fetchUniformLocation(e,t))for(let e=0;e<4;e++)if(r[e]!==this.current[e]){this.current=r,this.gl.uniformMatrix2fv(this.location,!1,r);break}}},e.UniformMatrix3f=class extends Ra{constructor(e){super(e),this.current=Ua}set(e,t,r){if(this.fetchUniformLocation(e,t))for(let e=0;e<9;e++)if(r[e]!==this.current[e]){this.current=r,this.gl.uniformMatrix3fv(this.location,!1,r);break}}},e.UniformMatrix4f=class extends Ra{constructor(e){super(e),this.current=Ya}set(e,t,r){if(this.fetchUniformLocation(e,t)){if(r[12]!==this.current[12]||r[0]!==this.current[0])return this.current=r,void this.gl.uniformMatrix4fv(this.location,!1,r);for(let e=1;e<16;e++)if(r[e]!==this.current[e]){this.current=r,this.gl.uniformMatrix4fv(this.location,!1,r);break}}}},e.UnwrappedTileID=hd,e.ValidationError=ni,e.VectorTileFeature=Gu,e.VectorTileWorkerSource=class extends et{constructor(e,t,r,n,i){super(),this.actor=e,this.layerIndex=t,this.availableImages=r,this.loadVectorData=i||ym,this.loading={},this.loaded={},this.deduped=new mm(e.scheduler),this.isSpriteLoaded=n,this.scheduler
2=e.scheduler}loadTile(e,t){const r=e.uid,n=e&&e.request,i=n&&n.collectResourceTiming,o=this.loading[r]=new pm(e);o.abort=this.loadVectorData(e,(a,s)=>{const l=!this.loading[r];if(delete this.loading[r],l||a||!s)return o.status="done",l||(this.loaded[r]=o),t(a);const c=s.rawData,u={};s.expires&&(u.expires=s.expires),s.cacheControl&&(u.cacheControl=s.cacheControl),o.vectorTile=s.vectorTile||new qu(new vf(c));const d=()=>{o.parse(o.vectorTile,this.layerIndex,this.availableImages,this.actor,(e,r)=>{if(e||!r)return t(e);const o={};if(i){const e=$e(n);e.length>0&&(o.resourceTiming=JSON.parse(JSON.stringify(e)))}t(null,A({rawTileData:c.slice(0)},r,u,o))})};this.isSpriteLoaded?d():this.once("isSpriteLoaded",()=>{this.scheduler?this.scheduler.add(d,{type:"parseTile",isSymbolTile:e.isSymbolTile,zoom:e.tileZoom}):d()}),this.loaded=this.loaded||{},this.loaded[r]=o})}reloadTile(e,t){const r=this.loaded,n=e.uid,i=this;if(r&&r[n]){const o=r[n];o.showCollisionBoxes=e.showCollisionBoxes,o.enableTerrain=!!e.enableTerrain,o.projection=e.projection,o.tileTransform=Lp(e.tileID.canonical,e.projection);const a=(e,r)=>{const n=o.reloadCallback;n&&(delete o.reloadCallback,o.parse(o.vectorTile,i.layerIndex,this.availableImages,i.actor,n)),t(e,r)};"parsing"===o.status?o.reloadCallback=a:"done"===o.status&&(o.vectorTile?o.parse(o.vectorTile,this.layerIndex,this.availableImages,this.actor,a):a())}}abortTile(e,t){const r=e.uid,n=this.loading[r];n&&(n.abort&&n.abort(),delete this.loading[r]),t()}removeTile(e,t){const r=this.loaded,n=e.uid;r&&r[n]&&delete r[n],t()}},e.WritingMode=Pf,e.ZoomDependentExpression=Qn,e.add=Ps,e.addDynamicAttributes=ih,e.adjoint=function(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8];return e[0]=a*u-s*c,e[1]=i*c-n*u,e[2]=n*s-i*a,e[3]=s*l-o*u,e[4]=r*u-i*l,e[5]=i*o-r*s,e[6]=o*c-a*l,e[7]=n*l-r*c,e[8]=r*a-n*o,e},e.asyncAll=C,e.bezier=M,e.bindAll=F,e.boundsAttributes=Lh,e.bufferConvexPolygon=function(e,t){const r=[];for(let n=0;n<e.length;n++){const i=E(n-1,-1,e.length-1),o=E(n+1,-1,e.length-1),a=e[n],s=e[o],l=e[i].sub(a).unit(),c=s.sub(a).unit(),u=c.angleWithSep(l.x,l.y),d=l.add(c).unit().mult(-1*t/Math.sin(u/2));
2r.push(a.add(d))}return r},e.cacheEntryPossiblyAdded=function(e){le++,le>ie&&(e.getActor().send("enforceCacheSizeLimit",ne),le=0)},e.calculateGlobeLabelMatrix=function(e,t){const{x:r,y:n}=e.point,i=Al(r,n,e.worldSize/e._pixelsPerMercatorPixel,0,0);return ys(i,i,Ll(bl(t)))},e.calculateGlobeMatrix=function(e){const{x:t,y:r}=e.point,{lng:n,lat:i}=e._center;return Al(t,r,e.worldSize,n,i)},e.calculateGlobeMercatorMatrix=function(e){const t=e.pixelsPerMeter,r=t/ql(1,e.center.lat),n=hs(new Float64Array(16));return gs(n,n,[e.point.x,e.point.y,0]),vs(n,n,[r,r,t]),Float32Array.from(n)},e.circumferenceAtLatitude=$l,e.clamp=P,e.clearTileCache=function(e){if(!oe())return;const r=t.caches.delete(ee);e&&r.catch(e).then(()=>e())},e.clipLine=Kf,e.clone=function(e){var t=new ds(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},e.clone$1=H,e.collisionCircleLayout=zd,e.config=o,e.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},e.create=function(){var e=new ds(16);return ds!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e},e.create$1=fs,e.createExpression=Jn,e.createLayout=Bo,e.createStyleLayer=function(e){return"custom"===e.type?new mh(e):new vh[e.type](e)},e.cross=Rs,e.degToRad=w,e.distance=function(e,t){return Math.hypot(t[0]-e[0],t[1]-e[1],t[2]-e[2])},e.div=function(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e},e.dot=Ns,e.earthRadius=Bl,e.ease=k,e.easeCubicInOut=S,e.ecefToLatLng=function([e,t,r]){const n=Math.hypot(e,t,r),i=Math.atan2(e,r),o=.5*Math.PI-Math.acos(-t/n);return new Hl(O(i),O(o))},e.emitValidationErrors=$i,e.endsWith=B,e.enforceCacheSizeLimit=function(e){ae(),te&&te.then(t=>{t.keys().then(r=>{for(let n=0;n<r.length-e;n++)t.delete(r[n])})})},e.evaluateSizeForFeature=Ud,e.evaluateSizeForZoom=Hd,e.evaluateVariableOffset=_p,e.evented=bo,e.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]},e.exactEquals$1=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]},e.exported=Ze,e.exported$1=a,e.extend=A,e.extend$1=rt,e.fillExtrusionHeightLift=ld,e.filterObject=U,e.fromMat4=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e},e.fromQuat=function(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=r+r,s=n+n,l=i+i,c=r*a,u=n*a,d=n*s,f=i*a,p=i*s,h=i*l,m=o*a,y=o*s,g=o*l;return e[0]=1-d-h,e[1]=u+g,e[2]=f-y,e[3]=0,e[4]=u-g,e[5]=1-c-h,e[6]=p+m,e[7]=0,e[8]=f+y,e[9]=p-m,e[10]=1-c-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},e.fromRotation=function(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[2]=0,e[3]=-r,e[4]=n,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},e.fromScaling=xs,e.furthestTileCorner=function(e){const t=Math.round((e+45+360)%360/90)%4;return j[t]},e.getAABBPointSquareDist=function(e,t,r){let n=0;for(let i=0;i<2;++i){const o=r?r[i]:0;e[i]>o&&(n+=(e[i]-o)*(e[i]-o)),t[i]<o&&(n+=(o-t[i])*(o-t[i]))}return n},e.getAnchorAlignment=Bf,e.getAnchorJustification=wp,e.getBounds=function(e){let t=1/0,r=1/0,n=-1/0,i=-1/0;for(const o of e)t=Math.min(t,o.x),r=Math.min(r,o.y),n=Math.max(n,o.x),i=Math.max(i,o.y);return{min:new b(t,r),max:new b(n,i)}},e.getColumn=Q,e.getDefaultExportFromCjs=p,e.getGridMatrix=function(e,t,r,n){const i=t.getNorth(),o=t.getSouth(),a=t.getWest(),s=t.getEast(),l=1<<e.z,c=s-a,u=i-o,d=c/ul,f=-u/dl[r],p=[0,d,0,f,0,0,i,a,0];if(e.z>0){const e=180/n;ps(p,p,[e/c+1,0,0,0,e/u+1,0,-.5*e/d,.5*e/f,1])}return p[2]=l,p[5]=e.x,p[8]=e.y,p},e.getImage=ve,e.getJSON=function(e,t){return fe(A(e,{type:"json"}),t)},e.getLatitudinalLod=function(e){const t=Jl-5;e=P(e,-t,t)/t*90;const r=Math.pow(Math.abs(Math.sin(w(e))),3);return Math.round(r*(dl.length-1))},e.getMapSessionAPI=ze,e.getPerformanceMeasurement=$e,e.getProjection=Qp,e.getRTLTextPluginStatus=_o,e.getReferrer=de,e.getTilePoint=function(e,{x:t,y:r},n=0){return new b(((t-n)*e.scale-e.x)*ls,(r*e.scale-e.y)*ls)},e.getTileVec3=function(e,t,r=0){return ks(((t.x-r)*e.scale-e.x)*ls,(t.y*e.scale-e.y)*ls,Xl(t.z,t.y))},e.getVideo=function(e,r){const n=t.document.createElement("video");n.muted=!0,n.onloadstart=function(){r(null,n)};for(let r=0;r<e.length;r++){const i=t.document.createElement("source");he(e[r])||(n.crossOrigin="Anonymous"),i.src=e[r],n.appendChild(i)}return{cancel:()=>{}}},e.globeCenterToScreenPoint=function(e){const t=[0,0,0],r=hs(new Float64Array(16));return ys(r,e.pixelMatrix,e.globeMatrix),zs(t,t,r),new b(t[0],t[1])},e.globeDenormalizeECEF=Ll,e.globeECEFOrigin=function(e,t){const r=[0,0,0];return zs(r,r,Cl(bl(t.canonical))),zs(r,r,e),r},e.globeMetersToEcef=ml,e.globeNormalizeECEF=Cl,e.globePixelsToTileUnits=function(e,t){return ls/(512*Math.pow(2,e))*Tl(bl(t))},e.globePoleMatrixForTile=function(e,t,r){const n=hs(new Float64Array(16)),i=(t/(1<<e)-.5)*Math.PI*2;return _s(n,r.globeMatrix,i),Float32Array.from(n)},e.globeTileBounds=bl,e.globeTiltAtLngLat=Il,e.globeToMercatorTransition=Dl,e.globeUseCustomAntiAliasing=function(e,t,r){const n=Dl(r.zoom),i=e.style.map._antialias,o=!!t.extStandardDerivatives,a=t.extStandardDerivativesForceOff||e.terrain&&e.terrain.exaggeration()>0;return 0===n&&!i&&!a&&o},e.identity=hs,e.identity$1=Gs,e.invert=ms,e.isFullscreen=function(){return!!t.document.fullscreenElement||!!t.document.webkitFullscreenElement},e.isLngLatBehindGlobe=Nl,e.isMapAuthenticated=function(e){return Fe.has(e)},e.isMapboxURL=_e,e.isSafariWithAntialiasingBug=function(e){const t=e.navigator?e.navigator.userAgent:null;return!!J(e)&&t&&(t.match("Version/15.4")||t.match("Version/15.5")||t.match(/CPU (OS|iPhone OS) (15_4|15_5) like Mac OS X/))},e.latFromMercatorY=Zl,e.latLngToECEF=kl,e.len=Hs,e.length=Ms,e.length$1=function(e){return Math.hypot(e[0],e[1],e[2],e[3])},e.lngFromMercatorX=Gl,e.loadVectorTile=ym,e.makeRequest=fe,e.mapValue=function(e,t,r,n,i){return P((e-t)/(r-t)*(i-n)+n,n,i)},e.mercatorScale=Kl,e.mercatorXfromLng=Wl,e.mercatorYfromLat=Vl,e.mercatorZfromAltitude=ql,e.mul=Os,e.mul$1=Us,e.multiply=ys,e.multiply$1=ps,e.multiply$2=Es,e.nextPowerOfTwo=R,e.normalize=Is,e.normalize$1=Js,e.normalize$2
2=Ws,e.number=Lr,e.ortho=function(e,t,r,n,i,o,a){var s=1/(t-r),l=1/(n-i),c=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+r)*s,e[13]=(i+n)*l,e[14]=(a+o)*c,e[15]=1,e},e.pbf=Zd,e.perspective=function(e,t,r,n,i){var o,a=1/Math.tan(t/2);return e[0]=a/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(e[10]=(i+n)*(o=1/(n-i)),e[14]=2*i*n*o):(e[10]=-1,e[14]=-2*n),e},e.pick=function(e,t){const r={};for(let n=0;n<t.length;n++){const i=t[n];i in e&&(r[i]=e[i])}return r},e.plugin=wo,e.pointGeometry=g,e.polesInViewport=function(e){const t=hs(new Float64Array(16));ys(t,e.pixelMatrix,e.globeMatrix);const r=[0,fl,0],n=[0,pl,0];return zs(r,r,t),zs(n,n,t),[r[0]>0&&r[0]<=e.width&&r[1]>0&&r[1]<=e.height&&!Nl(e,new Hl(e.center.lat,90)),n[0]>0&&n[0]<=e.width&&n[1]>0&&n[1]<=e.height&&!Nl(e,new Hl(e.center.lat,-90))]},e.polygonContainsPoint=xc,e.polygonIntersectsBox=wc,e.polygonIntersectsPolygon=fc,e.polygonizeBounds=function(e,t,r=0,n=!0){const i=new b(r,r),o=e.sub(i),a=t.add(i),s=[o,new b(a.x,o.y),a,new b(o.x,a.y)];return n&&s.push(o.clone()),s},e.posAttributes=tl,e.postMapLoadEvent=De,e.postPerformanceEvent=Ne,e.postTurnstileEvent=Le,e.potpack=jf,e.prevPowerOfTwo=function(e){return e<=1?1:Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},e.radToDeg=O,e.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],e.registerForPluginStateChange=function(e){return e({pluginStatus:mo,pluginURL:yo}),bo.on("pluginStateChange",e),e},e.removeAuthState=function(e){Fe.delete(e)},e.renderColorRamp=Uc,e.resample=tc,e.rotateX=bs,e.rotateX$1=Zs,e.rotateY=_s,e.rotateY$1=Xs,e.rotateZ=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),o=t[0],a=t[1],s=t[2],l=t[3],c=t[4],u=t[5],d=t[6],f=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i+c*n,e[1]=a*i+u*n,e[2]=s*i+d*n,e[3]=l*i+f*n,e[4]=c*i-o*n,e[5]=u*i-a*n,e[6]=d*i-s*n,e[7]=f*i-l*n,e},e.rotateZ$1=function(e,t,r){r*=.5;var n=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(r),l=Math.cos(r);return e[0]=n*l+i*s,e[1]=i*l-n*s,e[2]=o*l+a*s,e[3]=a*l-o*s,e},e.scale=vs,e.scale$1=$s,e.scale$2=As,e.scaleAndAdd=Ds,e.set=function(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e},e.setCacheLimits=function(e,t){ne=e,ie=t},e.setColumn=function(e,t,r){e[4*t+0]=r[0],e[4*t+1]=r[1],e[4*t+2]=r[2],e[4*t+3]=r[3]},e.setRTLTextPlugin=function(e,t,r=!1){if(mo===uo||mo===fo||mo===po)throw new Error("setRTLTextPlugin cannot be called multiple times.");yo=Ze.resolveURL(e),mo=uo,ho=t,vo(),r||xo()},e.smoothstep=T,e.spec=tt,e.squaredLength=function(e){var t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n},e.storeAuthState=function(e,t){t?Fe.add(e):Fe.delete(e)},e.sub=Ys,e.subtract=Ts,e.symbolSize=$d,e.tileAABB=function(e,t,r,n,i,o,a,s,l){if("globe"===l.name)return Ol(e,t,new pd(r,n,i));const c=Lp({z:r,x:n,y:i},l);return new ol([(o+c.x/c.scale)*t,t*(c.y/c.scale),a],[(o+c.x2/c.scale)*t,t*(c.y2/c.scale),s])},e.tileCornersToBounds=jl,e.tileTransform=Lp,e.transformMat3=function(e,t,r){var n=t[0],i=t[1],o=t[2];return e[0]=n*r[0]+i*r[3]+o*r[6],e[1]=n*r[1]+i*r[4]+o*r[7],e[2]=n*r[2]+i*r[5]+o*r[8],e},e.transformMat4=zs,e.transformMat4$1=Vs,e.transformQuat=Fs,e.transitionTileAABBinECEF=xl,e.translate=gs,e.transpose=function(e,t){if(e===t){var r=t[1],n=t[2],i=t[5];e[1]=t[3],e[2]=t[6],e[3]=r,e[5]=t[7],e[6]=n,e[7]=i}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e},e.triggerPluginCompletionEvent=go,e.uniqueId=I,e.updateGlobeVertexNormal=function(e,t,r,n,i){const o=5*t+2;e.float32[o+0]=r,e.float32[o+1]=n,e.float32[o+2]=i},e.validateCustomStyleLayer=function(e){const t=[],r=e.id;return void 0===r&&t.push({message:`layers.${r}: missing required property "id"`}),void 0===e.render&&t.push({message:`layers.${r}: missing required method "render"`}),e.renderingMode&&"2d"!==e.renderingMode&&"3d"!==e.renderingMode&&t.push({message:`layers.${r}: property "renderingMode" must be either "2d" or "3d"`}),t},e.validateFilter=e=>Hi(ji(e)),e.validateFog=e=>Hi(Ni(e)),e.validateLayer=e=>Hi(Ti(e)),e.validateLight=e=>Hi(Di(e)),e.validateSource=e=>
2Hi(Li(e)),e.validateStyle=Bi,e.validateTerrain=e=>Hi(Ii(e)),e.values=L,e.vectorTile=Iu,e.version=r,e.warnOnce=W,e.window=t,e.wrap=E}),i(["./shared"],function(e){function t(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return JSON.stringify(e);if(Array.isArray(e)){let r="[";for(const n of e)r+=`${t(n)},`;return`${r}]`}let r="{";for(const n of Object.keys(e).sort())r+=`${n}:${t(e[n])},`;return`${r}}`}function r(r){let n="";for(const i of e.refProperties)n+=`/${t(r[i])}`;return n}class n{constructor(e){this.keyCache={},e&&this.replace(e)}replace(e){this._layerConfigs={},this._layers={},this.update(e,[])}update(t,n){for(const r of t)this._layerConfigs[r.id]=r,(this._layers[r.id]=e.createStyleLayer(r)).compileFilter(),this.keyCache[r.id]&&delete this.keyCache[r.id];for(const e of n)delete this.keyCache[e],delete this._layerConfigs[e],delete this._layers[e];this.familiesBySource={};const i=function(e,t){const n={};for(let i=0;i<e.length;i++){const o=t&&t[e[i].id]||r(e[i]);t&&(t[e[i].id]=o);let a=n[o];a||(a=n[o]=[]),a.push(e[i])}const i=[];for(const e in n)i.push(n[e]);return i}(e.values(this._layerConfigs),this.keyCache);for(const e of i){const t=e.map(e=>this._layers[e.id]),r=t[0];if("none"===r.visibility)continue;const n=r.source||"";let i=this.familiesBySource[n];i||(i=this.familiesBySource[n]={});const o=r.sourceLayer||"_geojsonTileLayer";let a=i[o];a||(a=i[o]=[]),a.push(t)}}}class i{loadTile(t,r){const{uid:n,encoding:i,rawImageData:o,padding:a,buildQuadTree:s}
vendor: 4,187 bytes, line 2
2=t,l=e.window.ImageBitmap&&o instanceof e.window.ImageBitmap?this.getImageData(o,a):o;r(null,new e.DEMData(n,l,i,a<1,s))}getImageData(e,t){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(e.width,e.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d",{willReadFrequently:!0})),this.offscreenCanvas.width=e.width,this.offscreenCanvas.height=e.height,this.offscreenCanvasContext.drawImage(e,0,0,e.width,e.height);const r=this.offscreenCanvasContext.getImageData(-t,-t,e.width+2*t,e.height+2*t);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),r}}function o(e,t){if(0!==e.length){a(e[0],t);for(var r=1;r<e.length;r++)a(e[r],!t)}}function a(e,t){for(var r=0,n=0,i=0,o=e.length,a=o-1;i<o;a=i++){var s=(e[i][0]-e[a][0])*(e[a][1]+e[i][1]),l=r+s;n+=Math.abs(r)>=Math.abs(s)?r-l+s:s-l+r,r=l}r+n>=0!=!!t&&e.reverse()}var s=e.getDefaultExportFromCjs(function e(t,r){var n,i=t&&t.type;if("FeatureCollection"===i)for(n=0;n<t.features.length;n++)e(t.features[n],r);else if("GeometryCollection"===i)for(n=0;n<t.geometries.length;n++)e(t.geometries[n],r);else if("Feature"===i)e(t.geometry,r);else if("Polygon"===i)o(t.coordinates,r);else if("MultiPolygon"===i)for(n=0;n<t.coordinates.length;n++)o(t.coordinates[n],r);return t});const l=e.VectorTileFeature.prototype.toGeoJSON;var c={exports:{}},u=e.pointGeometry,d=e.vectorTile.VectorTileFeature,f=p;function p(e,t){this.options=t||{},this.features=e,this.length=e.length}function h(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096}p.prototype.feature=function(e){return new h(this.features[e],this.options.extent)},h.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var t=0;t<e.length;t++){for(var r=e[t],n=[],i=0;i<r.length;i++)n.push(new u(r[i][0],r[i][1]));this.geometry.push(n)}return this.geometry},h.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,r=-1/0,n=1/0,i=-1/0,o=0;o<e.length;o++)for(var a=e[o],s=0;s<a.length;s++){var l=a[s];t=Math.min(t,l.x),r=Math.max(r,l.x),n=Math.min(n,l.y),i=Math.max(i,l.y)}return[t,n,r,i]},h.prototype.toGeoJSON=d.prototype.toGeoJSON;var m=e.pbf,y=f;function g(e){var t=new m;return function(e,t){for(var r in e.layers)t.writeMessage(3,v,e.layers[r])}(e,t),t.finish()}function v(e,t){var r;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var n={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<e.length;r++)n.feature=e.feature(r),t.writeMessage(2,b,n);var i=n.keys;for(r=0;r<i.length;r++)t.writeStringField(3,i[r]);var o=n.values;for(r=0;r<o.length;r++)t.writeMessage(4,j,o[r])}function b(e,t){var r=e.feature;void 0!==r.id&&t.writeVarintField(1,r.id),t.writeMessage(2,_,e),t.writeVarintField(3,r.type),t.writeMessage(4,O,r)}function _(e,t){var r=e.feature,n=e.keys,i=e.values,o=e.keycache,a=e.valuecache;for(var s in r.properties){var l=r.properties[s],c=o[s];if(null!==l){void 0===c&&(n.push(s),o[s]=c=n.length-1),t.writeVarint(c);var u=typeof l;"string"!==u&&"boolean"!==u&&"number"!==u&&(l=JSON.stringify(l));var d=u+":"+l,f=a[d];void 0===f&&(i.push(l),a[d]=f=i.length-1),t.writeVarint(f)}}}function x(e,t){return(t<<3)+(7&e)}function w(e){return e<<1^e>>31}function O(e,t){for(var r=e.loadGeometry(),n=e.type,i=0,o=0,a=r.length,s=0;s<a;s++){var l=r[s],c=1;1===n&&(c=l.length),t.writeVarint(x(1,c));for(var u=3===n?l.length-1:l.length,d=0;d<u;d++){1===d&&1!==n&&t.writeVarint(x(2,u-1));var f=l[d].x-i,p=l[d].y-o;t.writeVarint(w(f)),t.writeVarint(w(p)),i+=f,o+=p}3===n&&t.writeVarint(x(7,1))}}function j(e,t){var r=typeof e;"string"===r?t.writeStringField(1,e):"boolean"===r?t.writeBooleanField(7,e):"number"===r&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e))}c.exports=g,c.exports.fromVectorTileJs=g,c.exports.fromGeojsonVt=function(e,t){t=t||{};var r={};for(var n in e)r[n]=new y(e[n].features,t),r[n].name=n,r[n].version=t.version,r[n].extent=t.extent;return g({layers:r})},c.exports.GeoJSONWrapper=y;
2var S=e.getDefaultExportFromCjs(c.exports);const M={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},k=Math.fround||(P=new Float32Array(1),e=>(P[0]=+e,P[0]));var P;const T=3,E=5,C=6;class L{constructor(e){this.options=Object.assign(Object.create(M),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:t,minZoom:r,maxZoom:n}=this.options;t&&console.time("total time");const i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;const o=[];for(let t=0;t<e.length;t++){const r=e[t];if(!r.geometry)continue;const[n,i]=r.geometry.coordinates,a=k(I(n)),s=k(N(i));o.push(a,s,1/0,t,-1,1),this.options.reduce&&o.push(0)}let a=this.trees[n+1]=this._createTree(o);t&&console.timeEnd(i);for(let e=n;e>=r;e--){const r=+Date.now();a=this.trees[e]=this._createTree(this._cluster(a,e)),t&&console.log("z%d: %d clusters in %dms",e,a.numItems,+Date.now()-r)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let r=((e[0]+180)%360+360)%360-180;const n=Math.max(-90,Math.min(90,e[1]));let i=180===e[2]?180:((e[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,i=180;else if(r>i){const e=this.getClusters([r,n,180,o],t),a=this.getClusters([-180,n,i,o],t);return e.concat(a)}const a=this.trees[this._limitZoom(t)],s=a.range(I(r),N(o),I(i),N(n)),l=a.data,c=[];for(const e of s){const t=this.stride*e;c.push(l[t+E]>1?A(l,t,this.clusterProps):this.points[l[t+T]])}return c}getChildren(e){const t=this._getOriginId(e),r=this._getOriginZoom(e),n="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(n);const o=i.data;if(t*this.stride>=o.length)throw new Error(n);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=i.within(o[t*this.stride],o[t*this.stride+1],a),l=[];for(const t of s){const r=t*this.stride;o[r+4]===e&&l.push(o[r+E]>1?A(o,r,this.clusterProps):this.points[o[r+T]])}if(0===l.length)throw new Error(n);return l}getLeaves(e,t,r){const n=[];return this._appendLeaves(n,e,t=t||10,r=r||0,0),n}getTile(e,t,r){const n=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:o,radius:a}=this.options,s=a/o,l=(r-s)/i,c=(r+1+s)/i,u={features:[]};return this._addTileFeatures(n.range((t-s)/i,l,(t+1+s)/i,c),n.data,t,r,i,u),0===t&&this._addTileFeatures(n.range(1-s/i,l,1,c),n.data,i,r,i,u),t===i-1&&this._addTileFeatures(n.range(0,l,s/i,c),n.data,-1,r,i,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const r=this.getChildren(e);if(t++,1!==r.length)break;e=r[0].properties.cluster_id}return t}_appendLeaves(e,t,r,n,i){const o=this.getChildren(t);for(const t of o){const o=t.properties;if(o&&o.cluster?i+o.point_count<=n?i+=o.point_count:i=this._appendLeaves(e,o.cluster_id,r,n,i):i<n?i++:e.push(t),e.length===r)break}return i}_createTree(t){const r=new e.KDBush(t.length/this.stride|0,this.options.nodeSize,Float32Array);for(let e=0;e<t.length;e+=this.stride)r.add(t[e],t[e+1]);return r.finish(),r.data=t,r}_addTileFeatures(e,t,r,n,i,o){for(const a of e){const e=a*this.stride,s=t[e+E]>1;let l,c,u;if(s)l=D(t,e,this.clusterProps),c=t[e],u=t[e+1];else{const r=this.points[t[e+T]];l=r.properties;const[n,i]=r.geometry.coordinates;c=I(n),u=N(i)}const d={type:1,geometry:[[Math.round(this.options.extent*(c*i-r)),Math.round(this.options.extent*(u*i-n))]],tags:l};let f;f=s||this.options.generateId?t[e+T]:this.points[t[e+T]].id,void 0!==f&&(d.id=f),o.features.push(d)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const{radius:r,extent:n,reduce:i,minPoints:o}=this.options,a=r/(n*Math.pow(2,t)),s=e.data,l=[],c=this.stride;for(let r=0;r<s.length;r+=c){if(s[r+2]<=t)continue;s[r+2]=t;const n=s[r],u=s[r+1],d=e.within(s[r],s[r+1],a),f=s[r+E];let p=f;for(const e of d){const r=e*c;s[r+2]>t&&(p+=s[r+E])}if(p>f&&p>=o){let e,o=n*f,a=u*f,h=-1;const m=(r/c<<5)+(t+1)+this.points.length;for(const n of d){const l=n*c;if(s[l+2]<=t)continue;s[l+2]=t;const u=s[l+E];o+=s[l]*u,a+=s[l+1]*u,s[l+4]=m,i&&(e||(e=this._map(s,r,!0),h=this.clusterProps.length,this.clusterProps.push(e)),i(e,this._map(s,l)))}s[r+4]=m,l.push(o/p,a/p,1/0,m,-1,p),i&&l.push(h)}else{for(let e=0;e<c;e++)l.push(s[r+e]);if(p>1)for(const e of d){const r=e*c;if(!(s[r+2]<=t)){s[r+2]=t;for(let e=0;e<c;e++)l.push(s[r+e])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,r){if(e[t+E]>1){const n=this.clusterProps[e[t+C]];return r?Object.assign({},n):n}const n=this.points[e[t+T]].properties,i=this.options.map(n);return r&&i===n?Object.assign({},i):i}}function A(e,t,r){return{type:"Feature",id:e[t+T],properties:D(e,t,r),geometry:{type:"Point",coordinates:[(n=e[t],360*(n-.5)),R(e[t+1])]}};var n}function D(e,t,r){const n=e[t+E],i=n>=1e4?`${Math.round(n/1e3)}
2k`:n>=1e3?Math.round(n/100)/10+"k":n,o=e[t+C],a=-1===o?{}:Object.assign({},r[o]);return Object.assign(a,{cluster:!0,cluster_id:e[t+T],point_count:n,point_count_abbreviated:i})}function I(e){return e/360+.5}function N(e){const t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function R(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function z(e,t,r,n){for(var i,o=n,a=r-t>>1,s=r-t,l=e[t],c=e[t+1],u=e[r],d=e[r+1],f=t+3;f<r;f+=3){var p=F(e[f],e[f+1],l,c,u,d);if(p>o)i=f,o=p;else if(p===o){var h=Math.abs(f-a);h<s&&(i=f,s=h)}}o>n&&(i-t>3&&z(e,t,i,n),e[i+2]=o,r-i>3&&z(e,i,r,n))}function F(e,t,r,n,i,o){var a=i-r,s=o-n;if(0!==a||0!==s){var l=((e-r)*a+(t-n)*s)/(a*a+s*s);l>1?(r=i,n=o):l>0&&(r+=a*l,n+=s*l)}return(a=e-r)*a+(s=t-n)*s}function B(e,t,r,n){var i={id:void 0===e?null:e,type:t,geometry:r,tags:n,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,r=e.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)Y(e,t);else if("Polygon"===r||"MultiLineString"===r)for(var n=0;n<t.length;n++)Y(e,t[n]);else if("MultiPolygon"===r)for(n=0;n<t.length;n++)for(var i=0;i<t[n].length;i++)Y(e,t[n][i])}(i),i}function Y(e,t){for(var r=0;r<t.length;r+=3)e.minX=Math.min(e.minX,t[r]),e.minY=Math.min(e.minY,t[r+1]),e.maxX=Math.max(e.maxX,t[r]),e.maxY=Math.max(e.maxY,t[r+1])}function U(e,t,r,n){if(t.geometry){var i=t.geometry.coordinates,o=t.geometry.type,a=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],l=t.id;if(r.promoteId?l=t.properties[r.promoteId]:r.generateId&&(l=n||0),"Point"===o)H(i,s);else if("MultiPoint"===o)for(var c=0;c<i.length;c++)H(i[c],s);else if("LineString"===o)$(i,s,a,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(c=0;c<i.length;c++)$(i[c],s=[],a,!1),e.push(B(l,"LineString",s,t.properties));return}W(i,s,a,!1)}else if("Polygon"===o)W(i,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(c=0;c<t.geometry.geometries.length;c++)U(e,{id:l,geometry:t.geometry.geometries[c],properties:t.properties},r,n);return}throw new Error("Input data is not a valid GeoJSON object.")}for(c=0;c<i.length;c++){var u=[];W(i[c],u,a,!0),s.push(u)}}e.push(B(l,o,s,t.properties))}}function H(e,t){t.push(V(e[0])),t.push(q(e[1])),t.push(0)}function $(e,t,r,n){for(var i,o,a=0,s=0;s<e.length;s++){var l=V(e[s][0]),c=q(e[s][1]);t.push(l),t.push(c),t.push(0),s>0&&(a+=n?(i*c-l*o)/2:Math.sqrt(Math.pow(l-i,2)+Math.pow(c-o,2))),i=l,o=c}var u=t.length-3;t[2]=1,z(t,0,u,r),t[u+2]=1,t.size=Math.abs(a),t.start=0,t.end=t.size}function W(e,t,r,n){for(var i=0;i<e.length;i++){var o=[];$(e[i],o,r,n),t.push(o)}}function V(e){return e/360+.5}function q(e){var t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function G(e,t,r,n,i,o,a,s){if(n/=t,o>=(r/=t)&&a<n)return e;if(a<r||o>=n)return null;for(var l=[],c=0;c<e.length;c++){var u=e[c],d=u.geometry,f=u.type,p=0===i?u.minX:u.minY,h=0===i?u.maxX:u.maxY;if(p>=r&&h<n)l.push(u);else if(!(h<r||p>=n)){var m=[];if("Point"===f||"MultiPoint"===f)Z(d,m,r,n,i);else if("LineString"===f)X(d,m,r,n,i,!1,s.lineMetrics);else if("MultiLineString"===f)K(d,m,r,n,i,!1);else if("Polygon"===f)K(d,m,r,n,i,!0);else if("MultiPolygon"===f)for(var y=0;y<d.length;y++){var g=[];K(d[y],g,r,n,i,!0),g.length&&m.push(g)}if(m.length){if(s.lineMetrics&&"LineString"===f){for(y=0;y<m.length;y++)l.push(B(u.id,f,m[y],u.tags));continue}"LineString"!==f&&"MultiLineString"!==f||(1===m.length?(f="LineString",m=m[0]):f="MultiLineString"),"Point"!==f&&"MultiPoint"!==f||(f=3===m.length?"Point":"MultiPoint"),l.push(B(u.id,f,m,u.tags))}}}return l.length?l:null}function Z(e,t,r,n,i){for(var o=0;o<e.length;o+=3){var a=e[o+i];a>=r&&a<=n&&(t.push(e[o]),t.push(e[o+1]),t.push(e[o+2]))}}function X(e,t,r,n,i,o,a){for(var s,l,c=J(e),u=0===i?ee:te,d=e.start,f=0;f<e.length-3;f+=3){var p=e[f],h=e[f+1],m=e[f+2],y=e[f+3],g=e[f+4],v=0===i?p:h,b=0===i?y:g,_=!1;a&&(s=Math.sqrt(Math.pow(p-y,2)+Math.pow(h-g,2))),v<r?b>r&&(l=u(c,p,h,y,g,r),a&&(c.start=d+s*l)):v>n?b<n&&(l=u(c,p,h,y,g,n),a&&(c.start=d+s*l)):Q(c,p,h,m),b<r&&v>=r&&(l=u(c,p,h,y,g,r),_=!0),b>
vendor: 15,798 bytes, line 2
2n&&v<=n&&(l=u(c,p,h,y,g,n),_=!0),!o&&_&&(a&&(c.end=d+s*l),t.push(c),c=J(e)),a&&(d+=s)}var x=e.length-3;p=e[x],h=e[x+1],m=e[x+2],(v=0===i?p:h)>=r&&v<=n&&Q(c,p,h,m),x=c.length-3,o&&x>=3&&(c[x]!==c[0]||c[x+1]!==c[1])&&Q(c,c[0],c[1],c[2]),c.length&&t.push(c)}function J(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function K(e,t,r,n,i,o){for(var a=0;a<e.length;a++)X(e[a],t,r,n,i,o,!1)}function Q(e,t,r,n){e.push(t),e.push(r),e.push(n)}function ee(e,t,r,n,i,o){var a=(o-t)/(n-t);return e.push(o),e.push(r+(i-r)*a),e.push(1),a}function te(e,t,r,n,i,o){var a=(o-r)/(i-r);return e.push(t+(n-t)*a),e.push(o),e.push(1),a}function re(e,t){for(var r=[],n=0;n<e.length;n++){var i,o=e[n],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)i=ne(o.geometry,t);else if("MultiLineString"===a||"Polygon"===a){i=[];for(var s=0;s<o.geometry.length;s++)i.push(ne(o.geometry[s],t))}else if("MultiPolygon"===a)for(i=[],s=0;s<o.geometry.length;s++){for(var l=[],c=0;c<o.geometry[s].length;c++)l.push(ne(o.geometry[s][c],t));i.push(l)}r.push(B(o.id,a,i,o.tags))}return r}function ne(e,t){var r=[];r.size=e.size,void 0!==e.start&&(r.start=e.start,r.end=e.end);for(var n=0;n<e.length;n+=3)r.push(e[n]+t,e[n+1],e[n+2]);return r}function ie(e,t){if(e.transformed)return e;var r,n,i,o=1<<e.z,a=e.x,s=e.y;for(r=0;r<e.features.length;r++){var l=e.features[r],c=l.geometry,u=l.type;if(l.geometry=[],1===u)for(n=0;n<c.length;n+=2)l.geometry.push(oe(c[n],c[n+1],t,o,a,s));else for(n=0;n<c.length;n++){var d=[];for(i=0;i<c[n].length;i+=2)d.push(oe(c[n][i],c[n][i+1],t,o,a,s));l.geometry.push(d)}}return e.transformed=!0,e}function oe(e,t,r,n,i,o){return[Math.round(r*(e*n-i)),Math.round(r*(t*n-o))]}function ae(e,t,r,n,i){for(var o=t===i.maxZoom?0:i.tolerance/((1<<t)*i.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:n,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<e.length;s++){a.numFeatures++,se(a,e[s],o,i);var l=e[s].minX,c=e[s].minY,u=e[s].maxX,d=e[s].maxY;l<a.minX&&(a.minX=l),c<a.minY&&(a.minY=c),u>a.maxX&&(a.maxX=u),d>a.maxY&&(a.maxY=d)}return a}function se(e,t,r,n){var i=t.geometry,o=t.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<i.length;s+=3)a.push(i[s]),a.push(i[s+1]),e.numPoints++,e.numSimplified++;else if("LineString"===o)le(a,i,e,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<i.length;s++)le(a,i[s],e,r,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<i.length;l++){var c=i[l];for(s=0;s<c.length;s++)le(a,c[s],e,r,!0,0===s)}if(a.length){var u=t.tags||null;if("LineString"===o&&n.lineMetrics){for(var d in u={},t.tags)u[d]=t.tags[d];u.mapbox_clip_start=i.start/i.size,u.mapbox_clip_end=i.end/i.size}var f={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:u};null!==t.id&&(f.id=t.id),e.features.push(f)}}function le(e,t,r,n,i,o){var a=n*n;if(n>0&&t.size<(i?a:n))r.numPoints+=t.length/3;else{for(var s=[],l=0;l<t.length;l+=3)(0===n||t[l+2]>a)&&(r.numSimplified++,s.push(t[l]),s.push(t[l+1])),r.numPoints++;i&&function(e,t){for(var r=0,n=0,i=e.length,o=i-2;n<i;o=n,n+=2)r+=(e[n]-e[o])*(e[n+1]+e[o+1]);if(r>0===t)for(n=0,i=e.length;n<i/2;n+=2){var a=e[n],s=e[n+1];e[n]=e[i-2-n],e[n+1]=e[i-1-n],e[i-2-n]=a,e[i-1-n]=s}}(s,o),e.push(s)}}function ce(e,t){var r=(t=this.options=function(e,t){for(var r in t)e[r]=t[r];return e}(Object.create(this.options),t)).debug;if(r&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var n=function(e,t){var r=[];if("FeatureCollection"===e.type)for(var n=0;n<e.features.length;n++)U(r,e.features[n],t,n);else U(r,"Feature"===e.type?e:{geometry:e},t);return r}(e,t);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),n=function(e,t){var r=t.buffer/t.extent,n=e,i=G(e,1,-1-r,r,0,-1,2,t),o=G(e,1,1-r,2+r,0,-1,2,t);return(i||o)&&(n=G(e,1,-r,1+r,0,-1,2,t)||[],i&&(n=re(i,1).concat(n)),o&&(n=n.concat(re(o,-1)))),n}(n,t),n.length&&this.splitTile(n,0,0,0),r&&(n.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function ue(e,t,r){return 32*((1<<e)*r+t)+e}function de(t,r){const n=t.tileID.canonical;if(!this._geoJSONIndex)return r(null,null);const i=this._geoJSONIndex.getTile(n.z,n.x,n.y);if(!i)return r(null,null);const o=new class{constructor(t){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.EXTENT,this.length=t.length,this._features=t}feature(t){return new class{constructor(t){this._feature=t,this.extent=e.EXTENT,this.type=t.type,this.properties=t.tags,"id"in t&&!isNaN(t.id)&&(this.id=parseInt(t.id,10))}loadGeometry(){if(1===this._feature.type){const t=[];for(const r of this._feature.geometry)t.push([new e.Point(r[0],r[1])]);return t}{const t=[];for(const r of this._feature.geometry){const n=[];for(const t of r)n.push(new e.Point(t[0],t[1]));t.push(n)}return t}}toGeoJSON(e,t,r){return l.call(this,e,t,r)}}(this._features[t])}}(i.features);let a=S(o);0===a.byteOffset&&a.byteLength===a.buffer.byteLength||(a=new Uint8Array(a)),r(null,{vectorTile:o,rawData:a.buffer})}ce.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},ce.prototype.splitTile=function(e,t,r,n,i,o,a){for(var s=[e,t,r,n],l=this.options,c=l.debug;s.length;){n=s.pop(),r=s.pop(),t=s.pop(),e=s.pop();var u=1<<t,d=ue(t,r,n),f=this.tiles[d];if(!f&&(c>1&&console.time("creation"),f=this.tiles[d]=ae(e,t,r,n,l),this.tileCoords.push({z:t,x:r,y:n}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,r,n,f.numFeatures,f.numPoints,f.numSimplified),console.timeEnd("creation"));var p="z"+t;this.stats[p]=(this.stats[p]||0)+1,this.total++}if(f.source=e,i){if(t===l.maxZoom||t===i)continue;var h=1<<i-t;if(r!==Math.floor(o/h)||n!==Math.floor(a/h))continue}else if(t===l.indexMaxZoom||f.numPoints<=l.indexMaxPoints)continue;if(f.source=null,0!==e.length){c>1&&console.time("clipping");var m,y,g,v,b,_,x=.5*l.buffer/l.extent,w=.5-x,O=.5+x,j=1+x;m=y=g=v=null,b=G(e,u,r-x,r+O,0,f.minX,f.maxX,l),_=G(e,u,r+w,r+j,0,f.minX,f.maxX,l),e=null,b&&(m=G(b,u,n-x,n+O,1,f.minY,f.maxY,l),y=G(b,u,n+w,n+j,1,f.minY,f.maxY,l),b=null),_&&(g=G(_,u,n-x,n+O,1,f.minY,f.maxY,l),v=G(_,u,n+w,n+j,1,f.minY,f.maxY,l),_=null),c>1&&console.timeEnd("clipping"),s.push(m||[],t+1,2*r,2*n),s.push(y||[],t+1,2*r,2*n+1),s.push(g||[],t+1,2*r+1,2*n),s.push(v||[],t+1,2*r+1,2*n+1)}}},ce.prototype.getTile=function(e,t,r){var n=this.options,i=n.extent,o=n.debug;if(e<0||e>24)return null;var a=1<<e,s=ue(e,t=(t%a+a)%a,r);if(this.tiles[s])return ie(this.tiles[s],i);o>1&&console.log("drilling down to z%d-%d-%d",e,t,r);for(var l,c=e,u=t,d=r;!l&&c>0;)c--,u=Math.floor(u/2),d=Math.floor(d/2),l=this.tiles[ue(c,u,d)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",c,u,d),o>1&&console.time("drilling down"),this.splitTile(l.source,c,u,d,e,t,r),o>1&&console.timeEnd("drilling down"),this.tiles[s]?ie(this.tiles[s],i):null):null};class fe extends e.VectorTileWorkerSource{constructor(e,t,r,n,i){super(e,t,r,n,de),i&&(this.loadGeoJSON=i)}loadData(t,r){const n=t&&t.request,i=n&&n.collectResourceTiming;this.loadGeoJSON(t,(o,a)=>{if(o||!a)return r(o);if("object"!=typeof a)return r(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`));{s(a,!0);try{if(t.filter){const r=e.createExpression(t.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===r.result)throw new Error(r.value.map(e=>`${e.key}: ${e.message}`).join(", "));const n=a.features.filter(e=>r.value.evaluate({zoom:0},e));a={type:"FeatureCollection",features:n}}this._geoJSONIndex=t.cluster?new L(function({superclusterOptions:t,clusterProperties:r}){if(!r||!t)return t;const n={},i={},o={accumulated:null,zoom:0},a={properties:null},s=Object.keys(r);for(const t of s){const[o,a]=r[t],s=e.createExpression(a),l=e.createExpression("string"==typeof o?[o,["accumulated"],["get",t]]:o);n[t]=s.value,i[t]=l.value}return t.map=e=>{a.properties=e;const t={};for(const e of s)t[e]=n[e].evaluate(o,a);return t},t.reduce=(e,t)=>{a.properties=t;for(const t of s)o.accumulated=e[t],e[t]=i[t].evaluate(o,a)},t}(t)).load(a.features):function(e,t){return new ce(e,t)}(a,t.geojsonVtOptions)}catch(o){return r(o)}this.loaded={};const l={};if(i){const r=e.getPerformanceMeasurement(n);r&&(l.resourceTiming={},l.resourceTiming[t.source]=JSON.parse(JSON.stringify(r)))}r(null,l)}})}reloadTile(e,t){const r=this.loaded;return r&&r[e.uid]?super.reloadTile(e,t):this.loadTile(e,t)}loadGeoJSON(t,r){if(t.request)e.getJSON(t.request,r);else{if("string"!=typeof t.data)return r(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`));try{return r(null,JSON.parse(t.data))}catch(e){return r(new Error(`Input data given to '${t.source}' is not a valid GeoJSON object.`))}}}getClusterExpansionZoom(e,t){try{t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId))}catch(e){t(e)}}getClusterChildren(e,t){try{t(null,this._geoJSONIndex.getChildren(e.clusterId))}catch(e){t(e)}}getClusterLeaves(e,t){try{t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset))}catch(e){t(e)}}}class pe{constructor(t){this.self=t,this.actor=new e.Actor(t,this),this.layerIndexes={},this.availableImages={},this.isSpriteLoaded={},this.projections={},this.defaultProjection=e.getProjection({name:"mercator"}),this.workerSourceTypes={vector:e.VectorTileWorkerSource,geojson:fe},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=(e,t)=>{if(this.workerSourceTypes[e])throw new Error(`Worker source with name "${e}" already registered.`);this.workerSourceTypes[e]=t},this.self.registerRTLTextPlugin=t=>{if(e.plugin.isParsed())throw new Error("RTL text plugin already registered.");e.plugin.applyArabicShaping=t.applyArabicShaping,e.plugin.processBidirectionalText=t.processBidirectionalText,e.plugin.processStyledBidirectionalText=t.processStyledBidirectionalText}}clearCaches(e,t,r){delete this.layerIndexes[e],delete this.availableImages[e],delete this.workerSources[e],delete this.demWorkerSources[e],r()}checkIfReady(e,t,r){r()}setReferrer(e,t){this.referrer=t}spriteLoaded(t,r){this.isSpriteLoaded[t]=r;for(const n in this.workerSources[t]){const i=this.workerSources[t][n];for(const t in i)i[t]instanceof e.VectorTileWorkerSource&&(i[t].isSpriteLoaded=r,i[t].fire(new e.Event("isSpriteLoaded")))}}setImages(e,t,r){this.availableImages[e]=t;for(const r in this.workerSources[e]){const n=this.workerSources[e][r];for(const e in n)n[e].availableImages=t}r()}enableTerrain(e,t,r){this.terrain=t,r()}setProjection(t,r){this.projections[t]=e.getProjection(r)}setLayers(e,t,r){this.getLayerIndex(e).replace(t),r()}updateLayers(e,t,r){this.getLayerIndex(e).update(t.layers,t.removedIds),r()}loadTile(t,r,n){const i=this.enableTerrain?e.extend({enableTerrain:this.terrain},r):r;i.projection=this.projections[t]||this.defaultProjection,this.getWorkerSource(t,r.type,r.source).loadTile(i,n)}loadDEMTile(t,r,n){const i=this.enableTerrain?e.extend({buildQuadTree:this.terrain},r):r;this.getDEMWorkerSource(t,r.source).loadTile(i,n)}reloadTile(t,r,n){const i=this.enableTerrain?e.extend({enableTerrain:this.terrain},r):r;i.projection=this.projections[t]||this.defaultProjection,this.getWorkerSource(t,r.type,r.source).reloadTile(i,n)}abortTile(e,t,r){this.getWorkerSource(e,t.type,t.source).abortTile(t,r)}removeTile(e,t,r){this.getWorkerSource(e,t.type,t.source).removeTile(t,r)}removeSource(e,t,r){if(!this.workerSources[e]||!this.workerSources[e][t.type]||!this.workerSources[e][t.type][t.source])return;const n=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==n.removeSource?n.removeSource(t,r):r()}loadWorkerSource(e,t,r){try{this.self.importScripts(t.url),r()}catch(e){r(e.toString())}}syncRTLPluginState(t,r,n){try{e.plugin.setState(r);const t=e.plugin.getPluginURL();if(e.plugin.isLoaded()&&!e.plugin.isParsed()&&null!=t){this.self.importScripts(t);const r=e.plugin.isParsed();n(r?void 0:new Error(`RTL Text Plugin failed to import scripts from ${t}`),r)}}catch(e){n(e.toString())}}getAvailableImages(e){let t=this.availableImages[e];return t||(t=[]),t}getLayerIndex(e){let t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new n),t}getWorkerSource(e,t,r){if(this.workerSources[e]||(this.workerSources[e]={}),this.workerSources[e][t]||(this.workerSources[e][t]={}),!this.workerSources[e][t][r]){const n={send:(t,r,n,i,o,a)=>{this.actor.send(t,r,n,e,o,a)},scheduler:this.actor.scheduler};this.workerSources[e][t][r]=new this.workerSourceTypes[t](n,this.getLayerIndex(e),this.getAvailableImages(e),this.isSpriteLoaded[e])}return this.workerSources[e][t][r]}getDEMWorkerSource(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new i),this.demWorkerSources[e][t]}enforceCacheSizeLimit(t,r){e.enforceCacheSizeLimit(r)}getWorkerPerformanceMetrics(e,t,r){r(void 0,void 0)}}return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope&&(self.worker=new pe(self)),pe}),i(["./shared"],function(e){function t(e,r){if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t(e[n],r[n]))return!1;return!0}if("object"==typeof e&&null!==e&&null!==r){if("object"!=typeof r)return!1;if(Object.keys(e).length!==Object.keys(r).length)return!1;for(const n in e)if(!t(e[n],r[n]))return!1;return!0}return e===r}var r=n;function n(e){return!function(e){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var e,t,r=new Blob([""],{type:"text/javascript"}),n=URL.createObjectURL(r);try{t=new Worker(n),e=!0}catch(t){e=!1}return t&&t.terminate(),URL.revokeObjectURL(n),e}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var e=document.createElement("canvas");e.width=e.height=1;var t=e.getContext("2d");if(!t)return!1;var r=t.getImageData(0,0,1,1);return r&&r.width===e.width}()?(void 0===i[t=e&&e.failIfMajorPerformanceCaveat]&&(i[t]=function(e){var t,r=function(e){var t=document.createElement("canvas"),r=Object.create(n.webGLContextAttributes);return r.failIfMajorPerformanceCaveat=e,t.getContext("webgl",r)||t.getContext("experimental-webgl",r)}(e);if(!r)return!1;try{t=r.createShader(r.VERTEX_SHADER)}catch(e){return!1}return!(!t||r.isContextLost())&&(r.shaderSource(t,"void main() {}"),r.compileShader(t),!0===r.getShaderParameter(t,r.COMPILE_STATUS))}(t)),i[t]?document.documentMode?"insufficient ECMAScript 6 support":void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray supp
2ort":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var t}(e)}var i={};function o(t,r,n){const i=e.window.document.createElement(t);return void 0!==r&&(i.className=r),n&&n.appendChild(i),i}function a(t,r,n){const i=e.window.document.createElementNS("http://www.w3.org/2000/svg",t);for(const e of Object.keys(r))i.setAttributeNS(null,e,r[e]);return n&&n.appendChild(i),i}n.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};const s=e.window.document&&e.window.document.documentElement.style,l=s&&void 0!==s.userSelect?"userSelect":"WebkitUserSelect";let c;function u(){s&&l&&(c=s[l],s[l]="none")}function d(){s&&l&&(s[l]=c)}function f(t){t.preventDefault(),t.stopPropagation(),e.window.removeEventListener("click",f,!0)}function p(){e.window.addEventListener("click",f,!0),e.window.setTimeout(()=>{e.window.removeEventListener("click",f,!0)},0)}function h(e,t){const r=e.getBoundingClientRect();return g(e,r,t)}function m(e,t){const r=e.getBoundingClientRect(),n=[];for(let i=0;i<t.length;i++)n.push(g(e,r,t[i]));return n}function y(t){return void 0!==e.window.InstallTrigger&&2===t.button&&t.ctrlKey&&e.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:t.button}function g(t,r,n){const i=t.offsetWidth===r.width?1:t.offsetWidth/r.width;return new e.Point((n.clientX-r.left)*i,(n.clientY-r.top)*i)}function v(e,t){var r=t[0],n=t[1],i=t[2],o=t[3],a=r*o-i*n;return a?(e[0]=o*(a=1/a),e[1]=-n*a,e[2]=-i*a,e[3]=r*a,e):null}function b(e){const{userImage:t}=e;return!!(t&&t.render&&t.render())&&(e.data.replace(new Uint8Array(t.data.buffer)),!0)}class _ extends e.Evented{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new e.RGBAImage({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(e){if(this.loaded!==e&&(this.loaded=e,e)){for(const{ids:e,callback:t}of this.requestors)this._notify(e,t);this.requestors=[]}}hasImage(e){return!!this.getImage(e)}getImage(e){return this.images[e]}addImage(e,t){this._validate(e,t)&&(this.images[e]=t)}_validate(t,r){let n=!0;return this._validateStretch(r.stretchX,r.data&&r.data.width)||(this.fire(new e.ErrorEvent(new Error(`Image "${t}" has invalid "stretchX" value`))),n=!1),this._validateStretch(r.stretchY,r.data&&r.data.height)||(this.fire(new e.ErrorEvent(new Error(`Image "${t}" has invalid "stretchY" value`))),n=!1),this._validateContent(r.content,r)||(this.fire(new e.ErrorEvent(new Error(`Image "${t}" has invalid "content" value`))),n=!1),n}_validateStretch(e,t){if(!e)return!0;let r=0;for(const n of e){if(n[0]<r||n[1]<n[0]||t<n[1])return!1;r=n[1]}return!0}_validateContent(e,t){return!(e&&(4!==e.length||e[0]<0||t.data.width<e[0]||e[1]<0||t.data.height<e[1]||e[2]<0||t.data.width<e[2]||e[3]<0||t.data.height<e[3]||e[2]<e[0]||e[3]<e[1]))}updateImage(e,t){t.version=this.images[e].version+1,this.images[e]=t,this.updatedImages[e]=!0}removeImage(e){const t=this.images[e];delete this.images[e],delete this.patterns[e],t.userImage&&t.userImage.onRemove&&t.userImage.onRemove()}listImages(){return Object.keys(this.images)}getImages(e,t){let r=!0;if(!this.isLoaded())for(const t of e)this.images[t]||(r=!1);this.isLoaded()||r?this._notify(e,t):this.requestors.push({ids:e,callback:t})}_notify(t,r){const n={};for(const r of t){this.images[r]||this.fire(new e.Event("styleimagemissing",{id:r}));const t=this.images[r];t?n[r]={data:t.data.clone(),pixelRatio:t.pixelRatio,sdf:t.sdf,version:t.version,stretchX:t.stretchX,stretchY:t.stretchY,content:t.content,hasRenderCallback:Boolean(t.userImage&&t.userImage.render)}:e.warnOnce(`Image "${r}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`)}r(null,n)}getPixelSize(){const{width:e,height:t}=this.atlasImage;return{width:e,height:t}}getPattern(t){const r=this.patterns[t],n=this.getImage(t);if(!n)return null;if(r&&r.position.version===n.version)return r.position;if(r)r.position.version=n.version;else{const r={w:n.data.width+2,h:n.data.height+2,x:0,y:0},i=new e.ImagePosition(r,n);
vendor: 4,637 bytes, line 2
2this.patterns[t]={bin:r,position:i}}return this._updatePatternAtlas(),this.patterns[t].position}bind(t){const r=t.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new e.Texture(t,this.atlasImage,r.RGBA),this.atlasTexture&&this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)}_updatePatternAtlas(){const t=[];for(const e in this.patterns)t.push(this.patterns[e].bin);const{w:r,h:n}=e.potpack(t),i=this.atlasImage;i.resize({width:r||1,height:n||1});for(const t in this.patterns){const{bin:r}=this.patterns[t],n=r.x+1,o=r.y+1,a=this.images[t].data,s=a.width,l=a.height;e.RGBAImage.copy(a,i,{x:0,y:0},{x:n,y:o},{width:s,height:l}),e.RGBAImage.copy(a,i,{x:0,y:l-1},{x:n,y:o-1},{width:s,height:1}),e.RGBAImage.copy(a,i,{x:0,y:0},{x:n,y:o+l},{width:s,height:1}),e.RGBAImage.copy(a,i,{x:s-1,y:0},{x:n-1,y:o},{width:1,height:l}),e.RGBAImage.copy(a,i,{x:0,y:0},{x:n+s,y:o},{width:1,height:l})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(e){for(const t of e){if(this.callbackDispatchedThisFrame[t])continue;this.callbackDispatchedThisFrame[t]=!0;const e=this.images[t];b(e)&&this.updateImage(t,e)}}}const x=new e.Properties({anchor:new e.DataConstantProperty(e.spec.light.anchor),position:new class{constructor(){this.specification=e.spec.light.position}possiblyEvaluate(t,r){return function([t,r,n]){const i=e.degToRad(r+90),o=e.degToRad(n);return{x:t*Math.cos(i)*Math.sin(o),y:t*Math.sin(i)*Math.sin(o),z:t*Math.cos(o),azimuthal:r,polar:n}}(t.expression.evaluate(r))}interpolate(t,r,n){return{x:e.number(t.x,r.x,n),y:e.number(t.y,r.y,n),z:e.number(t.z,r.z,n),azimuthal:e.number(t.azimuthal,r.azimuthal,n),polar:e.number(t.polar,r.polar,n)}}},color:new e.DataConstantProperty(e.spec.light.color),intensity:new e.DataConstantProperty(e.spec.light.intensity)});class w extends e.Evented{constructor(t){super(),this._transitionable=new e.Transitionable(x),this.setLight(t),this._transitioning=this._transitionable.untransitioned()}getLight(){return this._transitionable.serialize()}setLight(t,r={}){if(!this._validate(e.validateLight,t,r))for(const r in t){const n=t[r];e.endsWith(r,"-transition")?this._transitionable.setTransition(r.slice(0,-11),n):this._transitionable.setValue(r,n)}}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e)}_validate(t,r,n){return(!n||!1!==n.validate)&&e.emitValidationErrors(this,t.call(e.validateStyle,e.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:e.spec})))}}const O=new e.Properties({source:new e.DataConstantProperty(e.spec.terrain.source),exaggeration:new e.DataConstantProperty(e.spec.terrain.exaggeration)});let j=class extends e.Evented{constructor(t,r){super(),this._transitionable=new e.Transitionable(O),this.set(t),this._transitioning=this._transitionable.untransitioned(),this.drapeRenderMode=r}get(){return this._transitionable.serialize()}set(t){for(const r in t){const n=t[r];e.endsWith(r,"-transition")?this._transitionable.setTransition(r.slice(0,-11),n):this._transitionable.setValue(r,n)}}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e)}};function S(t,r,n,i){const o=e.smoothstep(45,65,n),[a,s]=M(t,i),l=e.length(r);let c=1-Math.min(1,Math.exp((l-a)/(s-a)*-6));return c*=c*c,c=Math.min(1,1.00747*c),c*o*t.alpha}function M(e,t){const r=.5/Math.tan(.5*t);return[e.range[0]+r,e.range[1]+r]}const k=new e.Properties({range:new e.DataConstantProperty(e.spec.fog.range),color:new e.DataConstantProperty(e.spec.fog.color),"high-color":new e.DataConstantProperty(e.spec.fog["high-color"]),"space-color":new e.DataConstantProperty(e.spec.fog["space-color"]),"horizon-blend":new e.DataConstantProperty(e.spec.fog["horizon-blend"]),"star-intensity":new e.DataConstantProperty(e.spec.fog["star-intensity"])});class P extends e.Evented{constructor(t,r){super(),this._transitionable=new e.Transitionable(k),this.set(t),this._transitioning=this._transitionable.untransitioned(),this._transform=r}get state(){const t=this._transform,r="globe"===t.projection.name,n=e.globeToMercatorTransition(t.zoom),i=this.properties.get("range"),o=[.5,3];return{range:r?[e.number(o[0],i[0],n),e.number(o[1],i[1],n)]:i,horizonBlend:this.properties.get("horizon-blend"),alpha:this.properties.get("color").a}}get(){return this._transitionable.serialize()}set(t,r={}
2){if(!this._validate(e.validateFog,t,r)){for(const r of Object.keys(e.spec.fog))t&&void 0===t[r]&&(t[r]=e.spec.fog[r].default);for(const r in t){const n=t[r];e.endsWith(r,"-transition")?this._transitionable.setTransition(r.slice(0,-11),n):this._transitionable.setValue(r,n)}}}getOpacity(t){if(!this._transform.projection.supportsFog)return 0;const r=this.properties&&this.properties.get("color")||1;return("globe"===this._transform.projection.name?1:e.smoothstep(45,65,t))*r.a}getOpacityAtLatLng(t,r){return this._transform.projection.supportsFog?function(t,r,n){const i=e.MercatorCoordinate.fromLngLat(r),o=n.elevation?n.elevation.getAtPointOrZero(i):0,a=[i.x,i.y,o];return e.transformMat4(a,a,n.mercatorFogMatrix),S(t,a,n.pitch,n._fov)}(this.state,t,r):0}getFovAdjustedRange(e){return this._transform.projection.supportsFog?M(this.state,e):[0,1]}updateTransitions(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)}hasTransition(){return this._transitioning.hasTransition()}recalculate(e){this.properties=this._transitioning.possiblyEvaluate(e)}_validate(t,r,n){return(!n||!1!==n.validate)&&e.emitValidationErrors(this,t.call(e.validateStyle,e.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:e.spec})))}}class T{constructor(t,r){this.workerPool=t,this.actors=[],this.currentActor=0,this.id=e.uniqueId();const n=this.workerPool.acquire(this.id);for(let e=0;e<n.length;e++){const t=new T.Actor(n[e],r,this.id);t.name=`Worker ${e}`,this.actors.push(t)}this.ready=!1,this.broadcast("checkIfReady",null,()=>{this.ready=!0})}broadcast(t,r,n){e.asyncAll(this.actors,(e,n)=>{e.send(t,r,n)},n=n||function(){})}getActor(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]}remove(){this.actors.forEach(e=>{e.remove()}),this.actors=[],this.workerPool.release(this.id)}}function E(t,r,n){return r*(e.EXTENT/(t.tileSize*Math.pow(2,n-t.tileID.overscaledZ)))}T.Actor=e.Actor;class C{constructor(e,t,r,n){this.screenBounds=e,this.cameraPoint=t,this._screenRaycastCache={},this._cameraRaycastCache={},this.isAboveHorizon=r,this.screenGeometry=this.bufferedScreenGeometry(0),this.screenGeometryMercator=this._bufferedScreenMercator(0,n)}static createFromScreenPoints(t,r){let n,i;if(t instanceof e.Point||"number"==typeof t[0]){const o=e.Point.convert(t);n=[o],i=r.isPointAboveHorizon(o)}else{const o=e.Point.convert(t[0]),a=e.Point.convert(t[1]);n=[o,a],i=e.polygonizeBounds(o,a).every(e=>r.isPointAboveHorizon(e))}return new C(n,r.getCameraPoint(),i,r)}isPointQuery(){return 1===this.screenBounds.length}bufferedScreenGeometry(t){return e.polygonizeBounds(this.screenBounds[0],1===this.screenBounds.length?this.screenBounds[0]:this.screenBounds[1],t)}bufferedCameraGeometry(t){const r=this.screenBounds[0],n=1===this.screenBounds.length?this.screenBounds[0].add(new e.Point(1,1)):this.screenBounds[1],i=e.polygonizeBounds(r,n,0,!1);return this.cameraPoint.y>n.y&&(this.cameraPoint.x>r.x&&this.cameraPoint.x<n.x?i.splice(3,0,this.cameraPoint):this.cameraPoint.x>=n.x?i[2]=this.cameraPoint:this.cameraPoint.x<=r.x&&(i[3]=this.cameraPoint)),e.bufferConvexPolygon(i,t)}bufferedCameraGeometryGlobe(t){const r=this.screenBounds[0],n=1===this.screenBounds.length?this.screenBounds[0].add(new e.Point(1,1)):this.screenBounds[1],i=e.polygonizeBounds(r,n,t),o=this.cameraPoint.clone();switch(3*((o.y>r.y)+(o.y>n.y))+((o.x>r.x)+(o.x>n.x))){case 0:i[0]=o,i[4]=o.clone();break;case 1:i.splice(1,0,o);break;case 2:i[1]=o;break;case 3:i.splice(4,0,o);break;case 5:i.splice(2,0,o);break;case 6:i[3]=o;break;case 7:i.splice(3,0,o);break;case 8:i[2]=o}return i}containsTile(t,r,n,i=0){const o=t.queryPadding/r._pixelsPerMercatorPixel+1,a=n?this._bufferedCameraMercator(o,r):this._bufferedScreenMercator(o,r);let s=t.tileID.wrap+(a.unwrapped?i:0);const l=a.polygon.map(r=>e.getTilePoint(t.tileTransform,r,s));if(!e.polygonIntersectsBox(l,0,0,e.EXTENT,e.EXTENT))return;s=t.tileID.wrap+(this.screenGeometryMercator.unwrapped?i:0);const c=this.screenGeometryMercator.polygon.map(r=>e.getTileVec3(t.tileTransform,r,s)),u=c.map(t=>new e.Point(t[0],t[1])),d=r.getFreeCameraOptions().position||new e.MercatorCoordinate(0,0,0),f=e.getTileVec3(t.tileTransform,d,s),p=c.map(t=>{const r=e.sub(t,t,f);return e.normalize(r,r),new e.Ray(f,r)}
2),h=E(t,1,r.zoom)*r._pixelsPerMercatorPixel;return{queryGeometry:this,tilespaceGeometry:u,tilespaceRays:p,bufferedTilespaceGeometry:l,bufferedTilespaceBounds:(m=e.getBounds(l),m.min.x=e.clamp(m.min.x,0,e.EXTENT),m.min.y=e.clamp(m.min.y,0,e.EXTENT),m.max.x=e.clamp(m.max.x,0,e.EXTENT),m.max.y=e.clamp(m.max.y,0,e.EXTENT),m),tile:t,tileID:t.tileID,pixelToTileUnitsFactor:h};var m}_bufferedScreenMercator(e,t){const r=D(e);if(this._screenRaycastCache[r])return this._screenRaycastCache[r];{let n;return n="globe"===t.projection.name?this._projectAndResample(this.bufferedScreenGeometry(e),t):{polygon:this.bufferedScreenGeometry(e).map(e=>t.pointCoordinate3D(e)),unwrapped:!0},this._screenRaycastCache[r]=n,n}}_bufferedCameraMercator(e,t){const r=D(e);if(this._cameraRaycastCache[r])return this._cameraRaycastCache[r];{let n;return n="globe"===t.projection.name?this._projectAndResample(this.bufferedCameraGeometryGlobe(e),t):{polygon:this.bufferedCameraGeometry(e).map(e=>t.pointCoordinate3D(e)),unwrapped:!0},this._cameraRaycastCache[r]=n,n}}_projectAndResample(t,r){const n=function(t,r){const n=e.multiply([],r.pixelMatrix,r.globeMatrix),i=[0,-e.GLOBE_RADIUS,0,1],o=[0,e.GLOBE_RADIUS,0,1],a=[0,0,0,1];e.transformMat4$1(i,i,n),e.transformMat4$1(o,o,n),e.transformMat4$1(a,a,n);const s=new e.Point(i[0]/i[3],i[1]/i[3]),l=new e.Point(o[0]/o[3],o[1]/o[3]),c=e.polygonContainsPoint(t,s)&&i[3]<a[3],u=e.polygonContainsPoint(t,l)&&o[3]<a[3];if(!c&&!u)return null;const d=function(e,t,r){for(let n=1;n<e.length;n++){const i=A(t.pointCoordinate3D(e[n-1]).x),o=A(t.pointCoordinate3D(e[n]).x);if(r<0){if(i<o)return{idx:n,t:-i/(o-1-i)}}else if(o<i)return{idx:n,t:(1-i)/(o+1-i)}}return null}(t,r,c?-1:1);if(!d)return null;const{idx:f,t:p}=d;let h=f>1?L(t.slice(0,f),r):[],m=f<t.length?L(t.slice(f),r):[];h=h.map(t=>new e.Point(A(t.x),t.y)),m=m.map(t=>new e.Point(A(t.x),t.y));const y=[...h];0===y.length&&y.push(m[m.length-1]);const g=e.number(y[y.length-1].y,(0===m.length?h[0]:m[0]).y,p);let v;return v=c?[new e.Point(0,g),new e.Point(0,0),new e.Point(1,0),new e.Point(1,g)]:[new e.Point(1,g),new e.Point(1,1),new e.Point(0,1),new e.Point(0,g)],y.push(...v),0===m.length?y.push(h[0]):y.push(...m),{polygon:y.map(t=>new e.MercatorCoordinate(t.x,t.y)),unwrapped:!1}}(t,r);if(n)return n;const i=function(t,r){let n=!1,i=-1/0,o=0;for(let e=0;e<t.length-1;e++)t[e].x>i&&(i=t[e].x,o=e);for(let e=0;e<t.length-1;e++){const r=(o+e)%(t.length-1),i=t[r],a=t[r+1];Math.abs(i.x-a.x)>.5&&(i.x<a.x?(i.x+=1,0===r&&(t[t.length-1].x+=1)):(a.x+=1,r+1===t.length-1&&(t[0].x+=1)),n=!0)}const a=e.mercatorXfromLng(r.center.lng);return n&&a<Math.abs(a-1)&&t.forEach(e=>{e.x-=1}),{polygon:t,unwrapped:n}}(L(t,r).map(t=>new e.Point(A(t.x),t.y)),r);return{polygon:i.polygon.map(t=>new e.MercatorCoordinate(t.x,t.y)),unwrapped:i.unwrapped}}}function L(t,r){return e.resample(t,e=>{const t=r.pointCoordinate3D(e);e.x=t.x,e.y=t.y},1/256)}function A(e){return e<0?1+e%1:e%1}function D(e){return 100*e|0}function I(t,r,n,i,o){const a=function(n,i){if(n)return o(n);if(i){t.url&&i.tiles&&t.tiles&&delete t.tiles;const n=e.pick(e.extend(i,t),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);i.vector_layers&&(n.vectorLayers=i.vector_layers,n.vectorLayerIds=n.vectorLayers.map(e=>e.id)),n.tiles=r.canonicalizeTileset(n,t.url),o(null,n)}};return t.url?e.getJSON(r.transformRequest(r.normalizeSourceURL(t.url,null,n,i),e.ResourceType.Source),a):e.exported.frame(()=>a(null,t))}class N{constructor(t,r,n){this.bounds=e.LngLatBounds.convert(this.validateBounds(t)),this.minzoom=r||0,this.maxzoom=n||24}validateBounds(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]}contains(t){const r=Math.pow(2,t.z),n=Math.floor(e.mercatorXfromLng(this.bounds.getWest())*r),i=Math.floor(e.mercatorYfromLat(this.bounds.getNorth())*r),o=Math.ceil(e.mercatorXfromLng(this.bounds.getEast())*r),a=Math.ceil(e.mercatorYfromLat(this.bounds.getSouth())*r);return t.x>=n&&t.x<o&&t.y>=i&&t.y<a}}class R{constructor(e,t,r){this.context=e;const n=e.gl;this.buffer=n.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),n.bufferData(n.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||t.destroy()}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(e){const t=this.context.gl;this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}const z={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class F{constructor(e,t,r,n){this.length=t.length,this.attributes=r,this.itemSize=t.bytesPerElement,this.dynamicDraw=n,this.context=e;const i=e.gl;this.buffer=i.createBuffer(),e.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||t.destroy()}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(e){const t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer)}
vendor: 6,950 bytes, line 2
2enableAttributes(e,t){for(let r=0;r<this.attributes.length;r++){const n=t.attributes[this.attributes[r].name];void 0!==n&&e.enableVertexAttribArray(n)}}setVertexAttribPointers(e,t,r){for(let n=0;n<this.attributes.length;n++){const i=this.attributes[n],o=t.attributes[i.name];void 0!==o&&e.vertexAttribPointer(o,i.components,e[z[i.type]],!1,this.itemSize,i.offset+this.itemSize*(r||0))}}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}class B{constructor(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1}get(){return this.current}set(e){}getDefault(){return this.default}setDefault(){this.set(this.default)}}class Y extends B{getDefault(){return e.Color.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)}}class U extends B{getDefault(){return 1}set(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1)}}class H extends B{getDefault(){return 0}set(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1)}}class $ extends B{getDefault(){return[!0,!0,!0,!0]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)}}class W extends B{getDefault(){return!0}set(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1)}}class V extends B{getDefault(){return 255}set(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1)}}class q extends B{getDefault(){return{func:this.gl.ALWAYS,ref:0,mask:255}}set(e){const t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1)}}class G extends B{getDefault(){const e=this.gl;return[e.KEEP,e.KEEP,e.KEEP]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1)}}class Z extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1}}class X extends B{getDefault(){return[0,1]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1)}}class J extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1}}class K extends B{getDefault(){return this.gl.LESS}set(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1)}}class Q extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1}}class ee extends B{getDefault(){const e=this.gl;return[e.ONE,e.ZERO]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1)}}class te extends B{getDefault(){return e.Color.transparent}set(e){const t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)}}class re extends B{getDefault(){return this.gl.FUNC_ADD}set(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1)}}class ne extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1}}class ie extends B{getDefault(){return this.gl.BACK}set(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1)}}class oe extends B{getDefault(){return this.gl.CCW}set(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1)}}let ae,se=class extends B{getDefault(){return null}set(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1)}};class le extends B{getDefault(){return this.gl.TEXTURE0}set(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1)}}class ce extends B{getDefault(){const e=this.gl;return[0,0,e.drawingBufferWidth,e.drawingBufferHeight]}set(e){const t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)}}class ue extends B{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1}}class de extends B{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1}}class fe extends B{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1}}class pe extends B{getDefault(){return null}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1}}class he extends B{getDefault(){return null}set(e){const t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1}}class me extends B{constructor(e){super(e),this.vao=e.extVertexArrayObject}getDefault(){return null}set(e){this.vao&&(e!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(e),this.current=e,this.dirty=!1)}}class ye extends B{getDefault(){return 4}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1}}class ge extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1}}class ve extends B{getDefault(){return!1}set(e){if(e===this.current&&!this.dirty)return;const t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1}}class be extends B{constructor(e,t){super(e),this.context=e,this.parent=t}getDefault(){return null}}class _e extends be{setDirty(){this.dirty=!0}set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1}}class xe extends be{attachment(){return this.gl.DEPTH_ATTACHMENT}set(e){if(e===this.current&&!this.dirty)return;this.context.bindFramebuffer.set(this.parent);const t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,this.attachment(),t.RENDERBUFFER,e),this.current=e,this.dirty=!1}}class we extends xe{attachment(){return this.gl.DEPTH_STENCIL_ATTACHMENT}}class Oe{constructor(e,t,r,n){this.context=e,this.width=t,this.height=r;const i=this.framebuffer=e.gl.createFramebuffer();
2this.colorAttachment=new _e(e,i),n&&(this.depthAttachment=new xe(e,i))}destroy(){const e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){const t=this.depthAttachment.get();t&&e.deleteRenderbuffer(t)}e.deleteFramebuffer(this.framebuffer)}}class je{constructor(e,t=!1){if(this.gl=e,this.isWebGL2=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),t){const t=e;this.extVertexArrayObject={createVertexArrayOES:t.createVertexArray.bind(e),deleteVertexArrayOES:t.deleteVertexArray.bind(e),bindVertexArrayOES:t.bindVertexArray.bind(e)}}this.clearColor=new Y(this),this.clearDepth=new U(this),this.clearStencil=new H(this),this.colorMask=new $(this),this.depthMask=new W(this),this.stencilMask=new V(this),this.stencilFunc=new q(this),this.stencilOp=new G(this),this.stencilTest=new Z(this),this.depthRange=new X(this),this.depthTest=new J(this),this.depthFunc=new K(this),this.blend=new Q(this),this.blendFunc=new ee(this),this.blendColor=new te(this),this.blendEquation=new re(this),this.cullFace=new ne(this),this.cullFaceSide=new ie(this),this.frontFace=new oe(this),this.program=new se(this),this.activeTexture=new le(this),this.viewport=new ce(this),this.bindFramebuffer=new ue(this),this.bindRenderbuffer=new de(this),this.bindTexture=new fe(this),this.bindVertexBuffer=new pe(this),this.bindElementBuffer=new he(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new me(this),this.pixelStoreUnpack=new ye(this),this.pixelStoreUnpackPremultiplyAlpha=new ge(this),this.pixelStoreUnpackFlipY=new ve(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureFilterAnisotropicForceOff=!1,this.extStandardDerivativesForceOff=!1,this.extDebugRendererInfo=e.getExtension("WEBGL_debug_renderer_info"),this.extDebugRendererInfo&&(this.renderer=e.getParameter(this.extDebugRendererInfo.UNMASKED_RENDERER_WEBGL),this.vendor=e.getParameter(this.extDebugRendererInfo.UNMASKED_VENDOR_WEBGL)),t||(this.extTextureHalfFloat=e.getExtension("OES_texture_half_float")),(t||this.extTextureHalfFloat&&e.getExtension("OES_texture_half_float_linear"))&&(this.extRenderToTextureHalfFloat=e.getExtension("EXT_color_buffer_half_float")),this.extStandardDerivatives=t||e.getExtension("OES_standard_derivatives"),this.extTimerQuery=e.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE)}setDefault(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()}setDirty(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0}createIndexBuffer(e,t){return new R(this,e,t)}createVertexBuffer(e,t,r){return new F(this,e,t,r)}createRenderbuffer(e,t,r){const n=this.gl,i=n.createRenderbuffer();return this.bindRenderbuffer.set(i),n.renderbufferStorage(n.RENDERBUFFER,e,t,r),this.bindRenderbuffer.set(null),i}createFramebuffer(e,t,r){return new Oe(this,e,t,r)}clear({color:e,depth:t,stencil:r}){const n=this.gl;let i=0;e&&(i|=n.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==t&&(i|=n.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(t),this.depthMask.set(!0)),void 0!==r&&(i|=n.STENCIL_BUFFER_BIT,this.clearStencil.set(r),this.stencilMask.set(255)),n.clear(i)}setCullFace(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace))}setDepthMode(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1)}setStencilMode(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1)}setColorMode(r){t(r.blendFunction,e.ColorMode.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(r.blendFunction),this.blendColor.set(r.blendColor)),this.colorMask.set(r.mask)}unbindVAO(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)}}class Se extends e.Evented{constructor(t,r,n,i){if(super(),this.id=t,this.dispatcher=n,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,e.extend(this,e.pick(r,["url","scheme","tileSize","promoteId"])),this._options=e.extend({type:"vector"},r),this._collectResourceTiming=r.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(i),this._tileWorkers={},this._deduped=new e.DedupedRequest}load(t){this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"}));const r=Array.isArray(this.map._language)?this.map._language.join():this.map._language,n=this.map._worldview;this._tileJSONRequest=I(this._options,this.map._requestManager,r,n,(i,o)=>{this._tileJSONRequest=null,this._loaded=!0,i?(r&&console.warn(`Ensure that your requested language string is a valid BCP-47 code or list of codes. Found: ${r}`),n&&2!==n.length&&console.warn(`Requested worldview strings must be a valid ISO alpha-2 code. Found: ${n}`),this.fire(new e.ErrorEvent(i))):o&&(e.extend(this,o),o.bounds&&(this.tileBounds=new N(o.bounds,this.minzoom,this.maxzoom)),e.postTurnstileEvent(o.tiles,this.map._requestManager._customAccessToken),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"}))),t&&t(i)})}loaded(){return this._loaded}hasTile(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)}onAdd(e){this.map=e,this.load()}reload(){this.cancelTileJSONRequest(),this.load(()=>
vendor: 1,835 bytes, line 2
2this.map.style._clearSource(this.id))}setTiles(e){return this._options.tiles=e,this.reload(),this}setUrl(e){return this.url=e,this._options.url=e,this.reload(),this}onRemove(){this.cancelTileJSONRequest()}serialize(){return e.extend({},this._options)}loadTile(t,r){const n=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme)),i={request:this.map._requestManager.transformRequest(n,e.ResourceType.Tile),data:void 0,uid:t.uid,tileID:t.tileID,tileZoom:t.tileZoom,zoom:t.tileID.overscaledZ,tileSize:this.tileSize*t.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:e.exported.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId,isSymbolTile:t.isSymbolTile};if(i.request.collectResourceTiming=this._collectResourceTiming,t.actor&&"expired"!==t.state)"loading"===t.state?t.reloadCallback=r:t.request=t.actor.send("reloadTile",i,o.bind(this));else if(t.actor=this._tileWorkers[n]=this._tileWorkers[n]||this.dispatcher.getActor(),this.dispatcher.ready)t.request=t.actor.send("loadTile",i,o.bind(this),void 0,!0);else{const r=e.loadVectorTile.call({deduped:this._deduped},i,(e,r)=>{e||!r?o.call(this,e):(i.data={cacheControl:r.cacheControl,expires:r.expires,rawData:r.rawData.slice(0)},t.actor&&t.actor.send("loadTile",i,o.bind(this),void 0,!0))},!0);t.request={cancel:r}}function o(n,i){return delete t.request,t.aborted?r(null):n&&404!==n.status?r(n):(i&&i.resourceTiming&&(t.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&t.setExpiryData(i),t.loadVectorData(i,this.map.painter),e.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(t.reloadCallback&&(this.loadTile(t,t.reloadCallback),t.reloadCallback=null)))}}abortTile(e){e.request&&(e.request.cancel(),delete e.request),e.actor&&e.actor.send("abortTile",{uid:e.uid,type:this.t
2ype,source:this.id})}unloadTile(e){e.unloadVectorData(),e.actor&&e.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id})}hasTransition(){return!1}afterUpdate(){this._tileWorkers={}}cancelTileJSONRequest(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}}class Me extends e.Evented{constructor(t,r,n,i){super(),this.id=t,this.dispatcher=n,this.setEventedParent(i),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=e.extend({type:"raster"},r),e.extend(this,e.pick(r,["url","scheme","tileSize"]))}load(t){this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=I(this._options,this.map._requestManager,null,null,(r,n)=>{this._tileJSONRequest=null,this._loaded=!0,r?this.fire(new e.ErrorEvent(r)):n&&(e.extend(this,n),n.bounds&&(this.tileBounds=new N(n.bounds,this.minzoom,this.maxzoom)),e.postTurnstileEvent(n.tiles),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"}))),t&&t(r)})}loaded(){return this._loaded}onAdd(e){this.map=e,this.load()}reload(){this.cancelTileJSONRequest(),this.load(()=>this.map.style._clearSource(this.id))}setTiles(e){return this._options.tiles=e,this.reload(),this}setUrl(e){return this.url=e,this._options.url=e,this.reload(),this}onRemove(){this.cancelTileJSONRequest()}serialize(){return e.extend({},this._options)}hasTile(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)}loadTile(t,r){const n=e.exported.devicePixelRatio>=2,i=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),n,this.tileSize);t.request=e.getImage(this.map._requestManager.transformRequest(i,e.ResourceType.Tile),(n,i,o,a)=>(delete t.request,t.aborted?(t.state="unloaded",r(null)):n?(t.state="errored",r(n)):i?(this.map._refreshExpiredTiles&&t.setExpiryData({cacheControl:o,expires:a}),t.setTexture(i,this.map.painter),t.state="loaded",e.cacheEntryPossiblyAdded(this.dispatcher),void r(null)):r(null)))}static loadTileData(e,t,r){e.setTexture(t,r)}static unloadTileData(e,t){e.texture&&t.saveTileTexture(e.texture)}abortTile(e,t){e.request&&(e.request.cancel(),delete e.request),t()}unloadTile(e,t){e.texture&&this.map.painter.saveTileTexture(e.texture),t()}hasTransition(){return!1}cancelTileJSONRequest(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)}}function ke(t,r,n,i,o,a,s,l){const c=[t,n,o,r,i,a,1,1,1],u=[s,l,1],d=e.adjoint([],c),[f,p,h]=e.transformMat3(u,u,e.transpose(d,d));return e.multiply$1(c,[f,0,0,0,p,0,0,0,h],c)}class Pe extends e.Evented{constructor(e,t,r,n){super(),this.id=e,this.dispatcher=r,this.coordinates=t.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(n),this.options=t,this._dirty=!1}load(t,r){this._loaded=r||!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this.url=this.options.url,this._imageRequest=e.getImage(this.map._requestManager.transformRequest(this.url,e.ResourceType.Image),(r,n)=>{if(this._imageRequest=null,this._loaded=!0,r)this.fire(new e.ErrorEvent(r));else if(n){const{HTMLImageElement:r}=e.window;this.image=n instanceof r?e.exported.getImageData(n):n,this._dirty=!0,this.width=this.image.width,this.height=this.image.height,t&&(this.coordinates=t),this._finishLoading()}})}loaded(){return this._loaded}updateImage(e){return this.image&&e.url?(this._imageRequest&&e.url!==this.options.url&&(this._imageRequest.cancel(),this._imageRequest=null),this.options.url=e.url,this.load(e.coordinates,this._loaded),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(e){this.map=e,this.load()}onRemove(){this._imageRequest&&(this._imageRequest.cancel(),this._imageRequest=null),this.texture&&this.texture.destroy()}setCoordinates(t){this.coordinates=t,this._boundsArray=void 0;const r=t.map(e.MercatorCoordinate.fromLngLat);return this.tileID=function(t){let r=1/0,n=1/0,i=-1/0,o=-1/0;for(const e of t)r=Math.min(r,e.x),n=Math.min(n,e.y),i=Math.max(i,e.x),o=Math.max(o,e.y);const a=Math.max(i-r,o-n),s=Math.max(0,Math.floor(-Math.log(a)/Math.LN2)),l=Math.pow(2,s);return new e.CanonicalTileID(s,Math.floor((r+i)/2*l),Math.floor((n+o)/2*l))}(r),this.minzoom=this.maxzoom=this.tileID.z,this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"})),this}_clear(){this._boundsArray=void 0}_prepareData(t){for(const e in this.tiles){const t=this.tiles[e];"loaded"!==t.state&&(t.state="loaded",t.texture=this.texture)}if(this._boundsArray)return;const r=e.tileTransform(this.tileID,this.map.transform.projection),[n,i,o,a]=this.coordinates.map(t=>{const n=r.projection.project(t[0],t[1]);return e.getTilePoint(r,n)._round()});this.perspectiveTransform=function(t,r,n,i,o,a,s,l,c,u){const d=ke(0,0,t,0,0,r,t,r),f=ke(n,i,o,a,s,l,c,u);return e.multiply$1(f,e.adjoint(d,d),f),[f[6]/f[8]*t/e.EXTENT,f[7]/f[8]*r/e.EXTENT]}(this.width,this.height,n.x,n.y,i.x,i.y,a.x,a.y,o.x,o.y);const s=this._boundsArray=new e.StructArrayLayout4i8;s.emplaceBack(n.x,n.y,0,0),s.emplaceBack(i.x,i.y,e.EXTENT,0),s.emplaceBack(a.x,a.y,0,e.EXTENT),s.emplaceBack(o.x,o.y,e.EXTENT,e.EXTENT),this.boundsBuffer&&this.boundsBuffer.destroy(),this.boundsBuffer=t.createVertexBuffer(s,e.boundsAttributes.members),this.boundsSegments=e.SegmentVector.simpleSegment(0,0,4,2)}prepare(){if(0===Object.keys(this.tiles).length||!this.image)return;const t=this.map.painter.context,r=t.gl;this._dirty&&(this.texture?this.texture.update(this.image):(this.texture=new e.Texture(t,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this._dirty=!1),this._prepareData(t)}loadTile(e,t){this.tileID&&this.tileID.equals(e.tileID.canonical)?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={},t(null)):(e.state="errored",t(null))}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}const Te={vector:Se,raster:Me,"raster-dem":class extends Me{constructor(t,r,n,i){super(t,r,n,i),this.type="raster-dem",this.maxzoom=22,this._options=e.extend({type:"raster-dem"},r),this.encoding=r.encoding||"mapbox"}loadTile(t,r){const n=this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles,this.scheme),!1,this.tileSize);function i(e,n){e&&(t.state="errored",r(e)),n&&(t.dem=n,t.dem.onDeserialize(),t.needs
vendor: 4,468 bytes, line 2
2HillshadePrepare=!0,t.needsDEMTextureUpload=!0,t.state="loaded",r(null))}t.request=e.getImage(this.map._requestManager.transformRequest(n,e.ResourceType.Tile),function(n,o,a,s){if(delete t.request,t.aborted)t.state="unloaded",r(null);else if(n)t.state="errored",r(n);else if(o){this.map._refreshExpiredTiles&&t.setExpiryData({cacheControl:a,expires:s});const r=e.window.ImageBitmap&&o instanceof e.window.ImageBitmap&&(null==ae&&(ae=e.window.OffscreenCanvas&&new e.window.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof e.window.createImageBitmap),ae),n=1-(o.width-e.prevPowerOfTwo(o.width))/2;n<1||t.neighboringTiles||(t.neighboringTiles=this._getNeighboringTiles(t.tileID));const l=r?o:e.exported.getImageData(o,n),c={uid:t.uid,coord:t.tileID,source:this.id,rawImageData:l,encoding:this.encoding,padding:n};t.actor&&"expired"!==t.state||(t.actor=this.dispatcher.getActor(),t.actor.send("loadDEMTile",c,i.bind(this),void 0,!0))}}.bind(this))}_getNeighboringTiles(t){const r=t.canonical,n=Math.pow(2,r.z),i=(r.x-1+n)%n,o=0===r.x?t.wrap-1:t.wrap,a=(r.x+1+n)%n,s=r.x+1===n?t.wrap+1:t.wrap,l={};return l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y).key]={backfilled:!1},r.y>0&&(l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y-1).key]={backfilled:!1}),r.y+1<n&&(l[new e.OverscaledTileID(t.overscaledZ,o,r.z,i,r.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,t.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},l[new e.OverscaledTileID(t.overscaledZ,s,r.z,a,r.y+1).key]={backfilled:!1}),l}unloadTile(e){e.demTexture&&this.map.painter.saveTileTexture(e.demTexture),e.fbo&&(e.fbo.destroy(),delete e.fbo),e.dem&&delete e.dem,delete e.neighboringTiles,e.state="unloaded"}},geojson:class extends e.Evented{constructor(t,r,n,i){super(),this.id=t,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._loaded=!1,this.actor=n.getActor(),this.setEventedParent(i),this._data=r.data,this._options=e.extend({},r),this._collectResourceTiming=r.collectResourceTiming,void 0!==r.maxzoom&&(this.maxzoom=r.maxzoom),r.type&&(this.type=r.type),r.attribution&&(this.attribution=r.attribution),this.promoteId=r.promoteId;const o=e.EXTENT/this.tileSize;this.workerOptions=e.extend({source:this.id,cluster:r.cluster||!1,geojsonVtOptions:{buffer:(void 0!==r.buffer?r.buffer:128)*o,tolerance:(void 0!==r.tolerance?r.tolerance:.375)*o,extent:e.EXTENT,maxZoom:this.maxzoom,lineMetrics:r.lineMetrics||!1,generateId:r.generateId||!1},superclusterOptions:{maxZoom:void 0!==r.clusterMaxZoom?r.clusterMaxZoom:this.maxzoom-1,minPoints:Math.max(2,r.clusterMinPoints||2),extent:e.EXTENT,radius:(void 0!==r.clusterRadius?r.clusterRadius:50)*o,log:!1,generateId:r.generateId||!1},clusterProperties:r.clusterProperties,filter:r.filter},r.workerOptions)}onAdd(e){this.map=e,this.setData(this._data)}setData(e){return this._data=e,this._updateWorkerData(),this}getClusterExpansionZoom(e,t){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:e,source:this.id},t),this}getClusterChildren(e,t){return this.actor.send("geojson.getClusterChildren",{clusterId:e,source:this.id},t),this}getClusterLeaves(e,t,r,n){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:e,limit:t,offset:r},n),this}_updateWorkerData(){if(this._pendingLoad)return void(this._coalesce=!0);this.fire(new e.Event("dataloading",{dataType:"source"})),this._loaded=!1;const t=e.extend({},this.workerOptions),r=this._data;"string"==typeof r?(t.request=this.map._requestManager.transformRequest(e.exported.resolveURL(r),e.ResourceType.Source),t.request.collectResourceTiming=this._collectResourceTiming):t.data=JSON.stringify(r),this._pendingLoad=this.actor.send(`${this.type}.loadData`,t,(t,r)=>{if(this._loaded=!0,this._pendingLoad=null,t)this.fire(new e.ErrorEvent(t));else{const t={dataType:"source",sourceDataType:this._metadataFired?"content":"metadata"};this._collectResourceTiming&&r&&r.resourceTiming&&r.resourceTiming[this.id]&&(t.resourceTiming=r.resourceTiming[this.id]),this.fire(new e.Event("data",t)),this._metadataFired=!0}this._coalesce&&(this._updateWorkerData(),this._coalesce=!1)})}loaded(){return this._loaded}loadTile(t,r){const n=t.actor?"reloadTile":"loadTile";
2t.actor=this.actor,t.request=this.actor.send(n,{type:this.type,uid:t.uid,tileID:t.tileID,tileZoom:t.tileZoom,zoom:t.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:e.exported.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},(e,i)=>(delete t.request,t.unloadVectorData(),t.aborted?r(null):e?r(e):(t.loadVectorData(i,this.map.painter,"reloadTile"===n),r(null))),void 0,"loadTile"===n)}abortTile(e){e.request&&(e.request.cancel(),delete e.request),e.aborted=!0}unloadTile(e){e.unloadVectorData(),this.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id})}onRemove(){this._pendingLoad&&this._pendingLoad.cancel()}serialize(){return e.extend({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}},video:class extends Pe{constructor(e,t,r,n){super(e,t,r,n),this.roundZoom=!0,this.type="video",this.options=t}load(){this._loaded=!1;const t=this.options;this.urls=[];for(const r of t.urls)this.urls.push(this.map._requestManager.transformRequest(r,e.ResourceType.Source).url);e.getVideo(this.urls,(t,r)=>{this._loaded=!0,t?this.fire(new e.ErrorEvent(t)):r&&(this.video=r,this.video.loop=!0,this.video.setAttribute("playsinline",""),this.video.addEventListener("playing",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading())})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(t){if(this.video){const r=this.video.seekable;t<r.start(0)||t>r.end(0)?this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${this.id}`,null,`Playback for this video can be set only between the ${r.start(0)} and ${r.end(0)}-second mark.`))):this.video.currentTime=t}}getVideo(){return this.video}onAdd(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(0===Object.keys(this.tiles).length||this.video.readyState<2)return;const t=this.map.painter.context,r=t.gl;this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new e.Texture(t,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),this.width=this.video.videoWidth,this.height=this.video.videoHeight),this._prepareData(t)}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}},image:Pe,canvas:class extends Pe{constructor(t,r,n,i){super(t,r,n,i),r.coordinates?Array.isArray(r.coordinates)&&4===r.coordinates.length&&!r.coordinates.some(e=>!Array.isArray(e)||2!==e.length||e.some(e=>"number"!=typeof e))||this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${t}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${t}`,null,'missing required property "coordinates"'))),r.animate&&"boolean"!=typeof r.animate&&this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${t}`,null,'optional "animate" property must be a boolean value'))),r.canvas?"string"==typeof r.canvas||r.canvas instanceof e.
vendor: 3,708 bytes, line 2
2window.HTMLCanvasElement||this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${t}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new e.ErrorEvent(new e.ValidationError(`sources.${t}`,null,'missing required property "canvas"'))),this.options=r,this.animate=void 0===r.animate||r.animate}load(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof e.window.HTMLCanvasElement?this.options.canvas:e.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new e.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())}getCanvas(){return this.canvas}onAdd(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let t=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,t=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,t=!0),this._hasInvalidDimensions())return;if(0===Object.keys(this.tiles).length)return;const r=this.map.painter.context;this.texture?(t||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new e.Texture(r,this.canvas,r.gl.RGBA,{premultiply:!0}),this._prepareData(r)}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const e of[this.canvas.width,this.canvas.height])if(isNaN(e)||e<=0)return!0;return!1}},custom:class extends e.Evented{constructor(t,r,n,i){super(),this.id=t,this.type="custom",this._dataType="raster",this._dispatcher=n,this._implementation=r,this.setEventedParent(i),this.scheme="xyz",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this._loaded=!1,this.roundZoom=!0,this._implementation||this.fire(new e.ErrorEvent(new Error(`Missing implementation for ${this.id} custom source`))),this._implementation.loadTile||this.fire(new e.ErrorEvent(new Error(`Missing loadTile implementation for ${this.id} custom source`))),this._implementation.bounds&&(this.tileBounds=new N(this._implementation.bounds,this.minzoom,this.maxzoom)),r.update=this._update.bind(this),r.clearTiles=this._clearTiles.bind(this),r.coveringTiles=this._coveringTiles.bind(this),e.extend(this,e.pick(r,["dataType","scheme","minzoom","maxzoom","tileSize","attribution","minTileCacheSize","maxTileCacheSize"]))}serialize(){return e.pick(this,["type","scheme","minzoom","maxzoom","tileSize","attribution"])}load(){this._loaded=!0,this.fire(new e.Event("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"}))}loaded(){return this._loaded}onAdd(t){this._map=t,this._loaded=!1,this.fire(new e.Event("dataloading",{dataType:"source"})),this._implementation.onAdd&&this._implementation.onAdd(t),this.load()}onRemove(e){this._implementation.onRemove&&this._implementation.onRemove(e)}hasTile(e){if(this._implementation.hasTile){const{x:t,y:r,z:n}=e.canonical;return this._implementation.hasTile({x:t,y:r,z:n})}return!this.tileBounds||this.tileBounds.contains(e.canonical)}loadTile(t,r){const{x:n,y:i,z:o}=t.tileID.canonical,a=new e.window.AbortController;t.request=Promise.resolve(this._implementation.loadTile({x:n,y:i,z:o},{signal:a.signal})).then(function(n){return delete t.request,t.aborted?(t.state="unloaded",r(null)):void 0===n?(t.state="errored",r(null)):null===n?(this.loadTileData(t,{width:this.tileSize,height:this.tileSize,data:null}
2),t.state="loaded",r(null)):function(t){return t instanceof e.window.ImageData||t instanceof e.window.HTMLCanvasElement||t instanceof e.window.ImageBitmap||t instanceof e.window.HTMLImageElement}(n)?(this.loadTileData(t,n),t.state="loaded",void r(null)):(t.state="errored",r(new Error(`Can't infer data type for ${this.id}, only raster data supported at the moment`)))}.bind(this)).catch(e=>{20!==e.code&&(t.state="errored",r(e))}),t.request.cancel=()=>a.abort()}loadTileData(e,t){Me.loadTileData(e,t,this._map.painter)}unloadTileData(e){Me.unloadTileData(e,this._map.painter)}unloadTile(e,t){if(this.unloadTileData(e),this._implementation.unloadTile){const{x:t,y:r,z:n}=e.tileID.canonical;this._implementation.unloadTile({x:t,y:r,z:n})}t()}abortTile(e,t){e.request&&e.request.cancel&&(e.request.cancel(),delete e.request),t()}hasTransition(){return!1}_coveringTiles(){return this._map.transform.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,roundZoom:this.roundZoom}).map(e=>({x:e.canonical.x,y:e.canonical.y,z:e.canonical.z}))}_clearTiles(){this._map.style._clearSource(this.id)}_update(){this.fire(new e.Event("data",{dataType:"source",sourceDataType:"content"}))}}},Ee=function(t,r,n,i){const o=new Te[r.type](t,r,n,i);if(o.id!==t)throw new Error(`Expected Source id to be ${t} instead of ${o.id}`);return e.bindAll(["load","abort","unload","serialize","prepare"],o),o};function Ce(t,r){const n=e.identity([]);return e.scale(n,n,[.5*t.width,.5*-t.height,1]),e.translate(n,n,[1,-1,0]),e.multiply(n,n,t.calculateProjMatrix(r.toUnwrapped())),Float32Array.from(n)}function Le(e,t,r,n,i,o,a,s=!1){const l=e.tilesIn(n,a,s);l.sort(De);const c=[];for(const n of l)c.push({wrappedTileID:n.tile.tileID.wrapped().key,queryResults:n.tile.queryRenderedFeatures(t,r,e._state,n,i,o,Ce(e.transform,n.tile.tileID),s)});const u=function(e){const t={},r={};for(const n of e){const e=n.queryResults,i=n.wrappedTileID,o=r[i]=r[i]||{};for(const r in e){const n=e[r],i=o[r]=o[r]||{},a=t[r]=t[r]||[];for(const e of n)i[e.featureIndex]||(i[e.featureIndex]=!0,a.push(e))}}return t}(c);for(const t in u)u[t].forEach(t=>{const r=t.feature,n=r.layer;n&&"background"!==n.type&&"sky"!==n.type&&(r.source=n.source,n["source-layer"]&&(r.sourceLayer=n["source-layer"]),r.state=void 0!==r.id?e.getFeatureState(n["source-layer"],r.id):{})});return u}function Ae(e,t){const r=e.getRenderableIds().map(t=>e.getTileByID(t)),n=[],i={};for(let e=0;e<r.length;e++){const o=r[e],a=o.tileID.canonical.key;i[a]||(i[a]=!0,o.querySourceFeatures(n,t))}return n}function De(e,t){const r=e.tileID,n=t.tileID;return r.overscaledZ-n.overscaledZ||r.canonical.y-n.canonical.y||r.wrap-n.wrap||r.canonical.x-n.canonical.x}function Ie(){return null!=po.workerClass?new po.workerClass:new e.window.Worker(po.workerUrl)}const Ne="mapboxgl_preloaded_worker_pool";class Re{constructor(){this.active={}}acquire(e){if(!this.workers)for(this.workers=[];this.workers.length<Re.workerCount;)this.workers.push(new Ie);return this.active[e]=!0,this.workers.slice()}release(e){delete this.active[e],0===this.numActive()&&(this.workers.forEach(e=>{e.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[Ne]}numActive(){return Object.keys(this.active).length}}let ze;function Fe(){return ze||(ze=new Re),ze}function Be(t,r){const n={};for(const e in t)"ref"!==e&&(n[e]=t[e]);return e.refProperties.forEach(e=>{e in r&&(n[e]=r[e])}),n}function Ye(e){e=e.slice();const t=Object.create(null);for(let r=0;r<e.length;r++)t[e[r].id]=e[r];for(let r=0;r<e.length;r++)"ref"in e[r]&&(e[r]=Be(e[r],t[e[r].ref]));return e}Re.workerCount=2;const Ue={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight",setTerrain:"setTerrain",setFog:"setFog",setProjection:"setProjection"};
vendor: 4,390 bytes, line 2
2function He(e,t,r){r.push({command:Ue.addSource,args:[e,t[e]]})}function $e(e,t,r){t.push({command:Ue.removeSource,args:[e]}),r[e]=!0}function We(e,t,r,n){$e(e,r,n),He(e,t,r)}function Ve(e,r,n){let i;for(i in e[n])if(e[n].hasOwnProperty(i)&&"data"!==i&&!t(e[n][i],r[n][i]))return!1;for(i in r[n])if(r[n].hasOwnProperty(i)&&"data"!==i&&!t(e[n][i],r[n][i]))return!1;return!0}function qe(e,r,n,i,o,a){let s;for(s in r=r||{},e=e||{})e.hasOwnProperty(s)&&(t(e[s],r[s])||n.push({command:a,args:[i,s,r[s],o]}));for(s in r)r.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t(e[s],r[s])||n.push({command:a,args:[i,s,r[s],o]}))}function Ge(e){return e.id}function Ze(e,t){return e[t.id]=t,e}class Xe{constructor(e,t){this.reset(e,t)}reset(e,t){this.points=e||[],this._distances=[0];for(let e=1;e<this.points.length;e++)this._distances[e]=this._distances[e-1]+this.points[e].dist(this.points[e-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(t||0,.5*this.length),this.paddedLength=this.length-2*this.padding}lerp(t){if(1===this.points.length)return this.points[0];t=e.clamp(t,0,1);let r=1,n=this._distances[r];const i=t*this.paddedLength+this.padding;for(;n<i&&r<this._distances.length;)n=this._distances[++r];const o=r-1,a=this._distances[o],s=n-a,l=s>0?(i-a)/s:0;return this.points[o].mult(1-l).add(this.points[r].mult(l))}}class Je{constructor(e,t,r){const n=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(e/r),this.yCellCount=Math.ceil(t/r);for(let e=0;e<this.xCellCount*this.yCellCount;e++)n.push([]),i.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=e,this.height=t,this.xScale=this.xCellCount/e,this.yScale=this.yCellCount/t,this.boxUid=0,this.circleUid=0}keysLength(){return this.boxKeys.length+this.circleKeys.length}insert(e,t,r,n,i){this._forEachCell(t,r,n,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(e),this.bboxes.push(t),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i)}insertCircle(e,t,r,n){this._forEachCell(t-n,r-n,t+n,r+n,this._insertCircleCell,this.circleUid++),this.circleKeys.push(e),this.circles.push(t),this.circles.push(r),this.circles.push(n)}_insertBoxCell(e,t,r,n,i,o){this.boxCells[i].push(o)}_insertCircleCell(e,t,r,n,i,o){this.circleCells[i].push(o)}_query(e,t,r,n,i,o){if(r<0||e>this.width||n<0||t>this.height)return!i&&[];const a=[];if(e<=0&&t<=0&&this.width<=r&&this.height<=n){if(i)return!0;for(let e=0;e<this.boxKeys.length;e++)a.push({key:this.boxKeys[e],x1:this.bboxes[4*e],y1:this.bboxes[4*e+1],x2:this.bboxes[4*e+2],y2:this.bboxes[4*e+3]});for(let e=0;e<this.circleKeys.length;e++){const t=this.circles[3*e],r=this.circles[3*e+1],n=this.circles[3*e+2];a.push({key:this.circleKeys[e],x1:t-n,y1:r-n,x2:t+n,y2:r+n})}return o?a.filter(o):a}return this._forEachCell(e,t,r,n,this._queryCell,a,{hitTest:i,seenUids:{box:{},circle:{}}},o),i?a.length>0:a}_queryCircle(e,t,r,n,i){const o=e-r,a=e+r,s=t-r,l=t+r;if(a<0||o>this.width||l<0||s>this.height)return!n&&[];const c=[];return this._forEachCell(o,s,a,l,this._queryCellCircle,c,{hitTest:n,circle:{x:e,y:t,radius:r},seenUids:{box:{},circle:{}}},i),n?c.length>0:c}query(e,t,r,n,i){return this._query(e,t,r,n,!1,i)}hitTest(e,t,r,n,i){return this._query(e,t,r,n,!0,i)}hitTestCircle(e,t,r,n){return this._queryCircle(e,t,r,!0,n)}_queryCell(e,t,r,n,i,o,a,s){const l=a.seenUids,c=this.boxCells[i];if(null!==c){const i=this.bboxes;for(const u of c)if(!l.box[u]){l.box[u]=!0;const c=4*u;if(e<=i[c+2]&&t<=i[c+3]&&r>=i[c+0]&&n>=i[c+1]&&(!s||s(this.boxKeys[u]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[u],x1:i[c],y1:i[c+1],x2:i[c+2],y2:i[c+3]})}}}const u=this.circleCells[i];if(null!==u){const i=this.circles;for(const c of u)if(!l.circle[c]){l.circle[c]=!0;const u=3*c;if(this._circleAndRectCollide(i[u],i[u+1],i[u+2],e,t,r,n)&&(!s||s(this.circleKeys[c]))){if(a.hitTest)return o.push(!0),!0;{const e=i[u],t=i[u+1],r=i[u+2];o.push({key:this.circleKeys[c],x1:e-r,y1:t-r,x2:e+r,y2:t+r})}}}}}_queryCellCircle(e,t,r,n,i,o,a,s){const l=a.circle,c=a.seenUids,u=this.boxCells[i];if(null!==u){const e=this.bboxes;for(const t of u)if(!c.box[t]){c.box[t]=!0;const r=4*t;if(this._circleAndRectCollide(l.x,l.y,l.radius,e[r+0],e[r+1],e[r+2],e[r+3])&&(!s||s(this.boxKeys[t])))return o.push(!0),!0}}const d=this.circleCells[i];if(null!==d){const e=this.circles;for(const t of d)if(!c.circle[t]){c.circle[t]=!0;const r=3*t;
2if(this._circlesCollide(e[r],e[r+1],e[r+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[t])))return o.push(!0),!0}}}_forEachCell(e,t,r,n,i,o,a,s){const l=this._convertToXCellCoord(e),c=this._convertToYCellCoord(t),u=this._convertToXCellCoord(r),d=this._convertToYCellCoord(n);for(let f=l;f<=u;f++)for(let l=c;l<=d;l++)if(i.call(this,e,t,r,n,this.xCellCount*l+f,o,a,s))return}_convertToXCellCoord(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))}_convertToYCellCoord(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))}_circlesCollide(e,t,r,n,i,o){const a=n-e,s=i-t,l=r+o;return l*l>a*a+s*s}_circleAndRectCollide(e,t,r,n,i,o,a){const s=(o-n)/2,l=Math.abs(e-(n+s));if(l>s+r)return!1;const c=(a-i)/2,u=Math.abs(t-(i+c));if(u>c+r)return!1;if(l<=s||u<=c)return!0;const d=l-s,f=u-c;return d*d+f*f<=r*r}}const Ke={unknown:0,flipRequired:1,flipNotRequired:2},Qe=Math.tan(85*Math.PI/180);function et(t,r,n,i,o,a,s){const l=e.create();if(n)if("globe"===a.name){const t=e.calculateGlobeLabelMatrix(o,r);e.multiply(l,l,t)}else{const t=v([],s);l[0]=t[0],l[1]=t[1],l[4]=t[2],l[5]=t[3],i||e.rotateZ(l,l,o.angle)}else e.multiply(l,o.labelPlaneMatrix,t);return l}function tt(e,t,r,n,i,o,a){const s=et(e,t,r,n,i,o,a);return"globe"===o.name&&r||(s[2]=s[6]=s[10]=s[14]=0),s}function rt(t,r,n,i,o,a,s){if(n){if("globe"===a.name){const l=et(t,r,n,i,o,a,s);return e.invert(l,l),e.multiply(l,t,l),l}{const r=e.clone(t),n=e.identity([]);return n[0]=s[0],n[1]=s[1],n[4]=s[2],n[5]=s[3],e.multiply(r,r,n),i||e.rotateZ(r,r,-o.angle),r}}return o.glCoordMatrix}function nt(t,r,n,i){const o=[t,r,n,1];n?e.transformMat4$1(o,o,i):ht(o,o,i);const a=o[3];return o[0]/=a,o[1]/=a,o[2]/=a,o}function it(e,t){return Math.min(.5+e/t*.5,1.5)}function ot(e,t){const r=e[0]/e[3],n=e[1]/e[3];return r>=-t[0]&&r<=t[0]&&n>=-t[1]&&n<=t[1]}function at(t,r,n,i,o,a,s,l,c,u){const d=n.transform,f=i?t.textSizeData:t.iconSizeData,p=e.evaluateSizeForZoom(f,n.transform.zoom),h="globe"===d.projection.name,m=[256/n.width*2+1,256/n.height*2+1],y=i?t.text.dynamicLayoutVertexArray:t.icon.dynamicLayoutVertexArray;y.clear();let g=null;h&&(g=i?t.text.globeExtVertexArray:t.icon.globeExtVertexArray);const v=t.lineVertexArray,b=i?t.text.placedSymbolArray:t.icon.placedSymbolArray,_=n.transform.width/n.transform.height;let x,w=!1;for(let i=0;i<b.length;i++){const h=b.get(i),{numGlyphs:O,writingMode:j}=h;if(j!==e.WritingMode.vertical||w||x===e.WritingMode.horizontal||(w=!0),x=j,(h.hidden||j===e.WritingMode.vertical)&&!w){pt(O,y);continue}w=!1;const S=new e.Point(h.tileAnchorX,h.tileAnchorY);let{x:M,y:k,z:P}=d.projection.projectTilePoint(S.x,S.y,u.canonical);if(c){const[e,t,r]=c(S);M+=e,k+=t,P+=r}const T=[M,k,P,1];if(e.transformMat4$1(T,T,r),!ot(T,m)){pt(O,y);continue}const E=it(n.transform.cameraToCenterDistance,T[3]),C=e.evaluateSizeForFeature(f,p,h),L=s?C/E:C*E,A=nt(M,k,P,o);if(A[3]<=0){pt(O,y);continue}let D={};const I=s?null:c,N=ct(h,L,!1,l,r,o,a,t.glyphOffsetArray,v,y,g,A,S,D,_,I,d.projection,u,s);w=N.useVertical,I&&N.needsFlipping&&(D={}),(N.notEnoughRoom||w||N.needsFlipping&&ct(h,L,!0,l,r,o,a,t.glyphOffsetArray,v,y,g,A,S,D,_,I,d.projection,u,s).notEnoughRoom)&&pt(O,y)}i?(t.text.dynamicLayoutVertexBuffer.updateData(y),g&&t.text.globeExtVertexBuffer.updateData(g)):(t.icon.dynamicLayoutVertexBuffer.updateData(y),g&&t.icon.globeExtVertexBuffer.updateData(g))}function st(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m){const{lineStartIndex:y,glyphStartIndex:g,segment:v}=s,b=g+s.numGlyphs,_=y+s.lineLength,x=t.getoffsetX(g),w=t.getoffsetX(b-1),O=ft(e*x,r,n,i,o,a,v,y,_,l,c,u,d,f,!0,p,h,m);if(!O)return null;const j=ft(e*w,r,n,i,o,a,v,y,_,l,c,u,d,f,!0,p,h,m);return j?{first:O,last:j}:null}function lt(t,r,n,i){return t===e.WritingMode.horizontal&&Math.abs(i)>Math.abs(n)?{useVertical:!0}:t===e.WritingMode.vertical?i>0?{needsFlipping:!0}:null:r!==Ke.unknown&&function(e,t){return 0===e||Math.abs(t/e)>Qe}(n,i)?r===Ke.flipRequired?{needsFlipping:!0}:null:n<0?{needsFlipping:!0}:null}function ct(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v,b){const _=r/24,x=t.lineOffsetX*_,w=t.lineOffsetY*_,{lineStartIndex:O,glyphStartIndex:j,numGlyphs:S,segment:M,writingMode:k,flipState:P}=t,T=O+t.lineLength,E=t=>{if(d){const[r,n,i]=t.up,o=u.length;e.updateGlobeVertexNormal(d,o+0,r,n,i),e.updateGlobeVertexNormal(d,o+1,r,n,i),e.updateGlobeVertexNormal(d,o+2,r,n,i),e.updateGlobeVertexNormal(d,o+3,r,n,i)}const[r,n,i]=t.point;e.addDynamicAttributes(u,r,n,i,t.angle)};if(S>1){const e=st(_,l,x,w,n,f,p,t,c,a,h,y,!1,g,v,b);if(!e)return{notEnoughRoom:!0};if(i&&!n){let[r,n,i]=e.first.point,[o,a,l]=e.last.point;[r,n]=nt(r,n,i,s),[o,a]=nt(o,a,l,s);const c=lt(k,P,(o-r)*m,a-n);if(t.flipState=c&&c.needsFlipping?Ke.flipRequired:Ke.flipNotRequired,c)return c}E(e.first);for(let e=j+1;e<j+S-1;e++){const t=ft(_*l.getoffsetX(e),x,w,n,f,p,M,O,T,c,a,h,y,!1,!1,g,v,b);if(!t)return u.length-=4*(e-j),{notEnoughRoom:!0};E(t)}E(e.last)}else{if(i&&!n){const r=nt(p.x,p.y,0,o),n=O+M+1,i=new e.Point(c.getx(n),c.gety(n)),a=nt(i.x,i.y,0,o),s=a[3]>0?a:dt(p,i,r,1,o,void 0,g,v.canonical),l=lt(k,P,(s[0]-r[0])*m,s[1]-r[1]);if(t.flipState=l&&l.needsFlipping?Ke.flipRequired:Ke.flipNotRequired,l)return l}const r=ft(_*l.getoffsetX(j),x,w,n,f,p,M,O,T,c,a,h,y,!1,!1,g,v,b);if(!r)return{notEnoughRoom:!0};E(r)}return{}}function ut(e,t,r,n,i){const{x:o,y:a,z:s}=n.projectTilePoint(e.x,e.y,t);if(!i)return nt(o,a,s,r);const[l,c,u]=i(e);return nt(o+l,a+c,s+u,r)}function dt(t,r,n,i,o,a,s,l){const c=ut(t.sub(r)._unit()._add(t),l,o,s,a);return e.sub(c,n,c),e.normalize(c,c),e.scaleAndAdd(c,n,c,i)}function ft(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g,v){const b=i?t-r:t+r;let _=b>0?1:-1,x=0;i&&(_*=-1,x=Math.PI),_<0&&(x+=Math.PI);let w=l+s+(_>0?0:1)|0,O=o,j=o,S=0,M=0;const k=Math.abs(b),P=[],T=[];let E=a,C=E;const L=()=>dt(C,E,j,k-S+1,d,p,y,g.canonical);for(;S+M<=k;){if(w+=_,w<l||w>=c)return null;if(j=O,C=E,P.push(j),h&&T.push(C),E=new e.Point(u.getx(w),u.gety(w)),O=f[w],!O){const e=ut(E,g.canonical,d,y,p);O=e[3]>0?f[w]=e:L()}S+=M,M=e.distance(j,O)}m&&p&&(f[w]&&(O=L(),M=e.distance(j,O)),f[w]=O);const A=(k-S)/M,D=E.sub(C)._mult(A)._add(C),I=e.sub([],O,j),N=e.scaleAndAdd([],j,I,A);let R=[0,0,1],z=I[0],F=I[1];if(v&&(R=y.upVector(g.canonical,D.x,D.y),0!==R[0]||0!==R[1]||1!==R[2])){const t=[R[2],0,-R[0]],r=e.cross([],R,t);e.normalize(t,t),e.normalize(r,r),z=e.dot(I,t),F=e.dot(I,r)}if(n){const t=e.cross([],R,I);e.normalize(t,t),e.scaleAndAdd(N,N,t,n*_)}const B=x+Math.atan2(F,z);return P.push(N),h&&T.push(D),{point:N,angle:B,path:P,tilePath:T,up:R}}function pt(e,t){const r=t.length,n=r+4*e;t.resize(n),t.float32.fill(-1/0,4*r,4*n)}function ht(e,t,r){const n=t[0],i=t[1];return e[0]=r[0]*n+r[4]*i+r[12],e[1]=r[1]*n+r[5]*i+r[13],e[3]=r[3]*n+r[7]*i+r[15],e}const mt=100;class yt{constructor(e,t,r=new Je(e.width+200,e.height+200,25),n=new Je(e.width+200,e.height+200,25)){this.transform=e,this.grid=r,this.ignoredGrid=n,this.pitchfactor=Math.cos(e._pitch)*e.cameraToCenterDistance,this.screenRightBoundary=e.width+mt,this.screenBottomBoundary=e.he
2ight+mt,this.gridRightBoundary=e.width+200,this.gridBottomBoundary=e.height+200,this.fogState=t}placeCollisionBox(e,t,r,n,i,o,a,s){let l=r.projectedAnchorX,c=r.projectedAnchorY,u=r.projectedAnchorZ;const d=r.elevation,f=r.tileID,p=e.getProjection();if(d&&f){const[e,t,n]=p.upVector(f.canonical,r.tileAnchorX,r.tileAnchorY),i=p.upVectorScale(f.canonical,this.transform.center.lat,this.transform.worldSize).metersToTile;l+=e*d*i,c+=t*d*i,u+=n*d*i}const h=this.projectAndGetPerspectiveRatio(a,l,c,u,r.tileID,"globe"===p.name||!!d||this.transform.pitch>0,p),m=o*h.perspectiveRatio,y=(r.x1*t+n.x-r.padding)*m+h.point.x,g=(r.y1*t+n.y-r.padding)*m+h.point.y,v=(r.x2*t+n.x+r.padding)*m+h.point.x,b=(r.y2*t+n.y+r.padding)*m+h.point.y,_=h.perspectiveRatio<=.55||h.occluded;return!this.isInsideGrid(y,g,v,b)||!i&&this.grid.hitTest(y,g,v,b,s)||_?{box:[],offscreen:!1,occluded:h.occluded}:{box:[y,g,v,b],offscreen:this.isOffscreen(y,g,v,b),occluded:!1}}placeCollisionCircles(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m){const y=[],g=this.transform.elevation,v=t.getProjection(),b=g?g.getAtTileOffsetFunc(m,this.transform.center.lat,this.transform.worldSize,v):null,_=new e.Point(n.tileAnchorX,n.tileAnchorY);let{x:x,y:w,z:O}=v.projectTilePoint(_.x,_.y,m.canonical);if(b){const[e,t,r]=b(_);x+=e,w+=t,O+=r}const j="globe"===v.name,S=this.projectAndGetPerspectiveRatio(s,x,w,O,m,j||!!g||this.transform.pitch>0,v),{perspectiveRatio:M}=S,k=(d?a/M:a*M)/e.ONE_EM,P=nt(x,w,O,l),T=S.signedDistanceFromCamera>0?st(k,o,n.lineOffsetX*k,n.lineOffsetY*k,!1,P,_,n,i,l,{},g&&!d?b:null,d&&!!g,v,m,d):null;let E=!1,C=!1,L=!0;if(T&&!S.occluded){const t=.5*p*M+h,n=new e.Point(-100,-100),i=new e.Point(this.screenRightBoundary,this.screenBottomBoundary),o=new Xe,{first:a,last:s}=T,l=a.path.length;let d=[];for(let e=l-1;e>=1;e--)d.push(a.path[e]);for(let e=1;e<s.path.length;e++)d.push(s.path[e]);const m=2.5*t;c&&(d=d.map(([e,t,r],n)=>(b&&!j&&(r=b(n<l-1?a.tilePath[l-1-n]:s.tilePath[n-l+2])[2]),nt(e,t,r,c))),d.some(e=>e[3]<=0)&&(d=[]));let g=[];if(d.length>0){let t=1/0,r=-1/0,o=1/0,a=-1/0;for(const e of d)t=Math.min(t,e[0]),o=Math.min(o,e[1]),r=Math.max(r,e[0]),a=Math.max(a,e[1]);r>=n.x&&t<=i.x&&a>=n.y&&o<=i.y&&(g=[d.map(t=>new e.Point(t[0],t[1]))],(t<n.x||r>i.x||o<n.y||a>i.y)&&(g=e.clipLine(g,n.x,n.y,i.x,i.y)))}for(const e of g){o.reset(e,.25*t);let n=0;n=o.length<=.5*t?1:Math.ceil(o.paddedLength/m)+1;for(let e=0;e<n;e++){const i=e/Math.max(n-1,1),a=o.lerp(i),s=a.x+mt,l=a.y+mt;y.push(s,l,t,0);const c=s-t,d=l-t,p=s+t,h=l+t;if(L=L&&this.isOffscreen(c,d,p,h),C=C||this.isInsideGrid(c,d,p,h),!r&&this.grid.hitTestCircle(s,l,t,f)&&(E=!0,!u))return{circles:[],offscreen:!1,collisionDetected:E,occluded:!1}}}}return{circles:!u&&E||!C?[]:y,offscreen:L,collisionDetected:E,occluded:S.occluded}}queryRenderedSymbols(t){if(0===t.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};const r=[];let n=1/0,i=1/0,o=-1/0,a=-1/0;for(const s of t){const t=new e.Point(s.x+mt,s.y+mt);n=Math.min(n,t.x),i=Math.min(i,t.y),o=Math.max(o,t.x),a=Math.max(a,t.y),r.push(t)}const s=this.grid.query(n,i,o,a).concat(this.ignoredGrid.query(n,i,o,a)),l={},c={};for(const t of s){const n=t.key;if(void 0===l[n.bucketInstanceId]&&(l[n.bucketInstanceId]={}),l[n.bucketInstanceId][n.featureIndex])continue;const i=[new e.Point(t.x1,t.y1),new e.Point(t.x2,t.y1),new e.Point(t.x2,t.y2),new e.Point(t.x1,t.y2)];e.polygonIntersectsPolygon(r,i)&&(l[n.bucketInstanceId][n.featureIndex]=!0,void 0===c[n.bucketInstanceId]&&(c[n.bucketInstanceId]=[]),c[n.bucketInstanceId].push(n.featureIndex))}return c}insertCollisionBox(e,t,r,n,i){(t?this.ignoredGrid:this.grid).insert({bucketInstanceId:r,featureIndex:n,collisionGroupID:i},e[0],e[1],e[2],e[3])}insertCollisionCircles(e,t,r,n,i){const o=t?this.ignoredGrid:this.grid,a={bucketInstanceId:r,featureIndex:n,collisionGroupID:i};for(let t=0;t<e.length;t+=4)o.insertCircle(a,e[t],e[t+1],e[t+2])}projectAndGetPerspectiveRatio(t,r,n,i,o,a,s){const l=[r,n,i,1];let c=!1;if(i||this.transform.pitch>0){if(e.transformMat4$1(l,l,t),this.fogState&&o&&"globe"!==s.name){const t=function(t,r,n,i,o,a){const s=a.calculateFogTileMatrix(o),l=[r,n,i];return e.transformMat4(l,l,s),S(t,l,a.pitch,a._fov)}(this.fogState,r,n,i,o.toUnwrapped(),this.transform);c=t>.9}}else ht(l,l,t);const u=l[3];return{point:new e.Point((l[0]/u+1)/2*this.transform.width+mt,(-l[1]/u+1)/2*this.transform.height+mt),perspectiveRatio:Math.min(.5+this.transform.getCameraToCenterDistance(s)/u*.5,1.5),signedDistanceFromCamera:u,occluded:a&&l[2]>u||c}}isOffscreen(e,t,r,n){return r<mt||e>=this.screenRightBoundary||n<mt||t>this.screenBottomBoundary}isInsideGrid(e,t,r,n){return r>=0&&e<this.gridRightBoundary&&n>=0&&t<this.gridBottomBoundary}getViewportMatrix(){const t=e.identity([]);return e.translate(t,t,[-100,-100,0]),t}}function gt(t,r,n){const i=r.createTileMatrix(t,t.worldSize,n.toUnwrapped());return e.multiply(new Float32Array(16),t.projMatrix,i)}function vt(e,t,r){if(t.projection.name===r.projection.name)return e.projMatrix;const n=r.clone();return n.setProjection(t.projection),gt(n,t.getProjection(),e)}function bt(e,t,r){return t.name===r.projection.name?e.projMatrix:gt(r,t,e)}class _t{constructor(e,t,r,n){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):n&&r?1:0,this.placed=r}isHidden(){return 0===this.opacity&&!this.placed}}class xt{constructor(e,t,r,n,i,o=!1){this.text=new _t(e?e.text:null,t,r,i),this.icon=new _t(e?e.icon:null,t,n,i),this.clipped=o}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class wt{constructor(e,t,r,n=!1){this.text=e,this.icon=t,this.skipFade=r,this.clipped=n}}class Ot{constructor(){this.invProjMatrix=e.create(),this.viewportMatrix=e.create(),this.circles=[]}}class jt{constructor(e,t,r,n,i){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=r,this.bucketIndex=n,this.tileID=i}}class St{constructor(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={}}get(e){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[e]){const t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:e=>e.collisionGroupID===t}}return this.collisionGroups[e]}}function Mt(t,r,n,i,o){const{horizontalAlign:a,verticalAlign:s}=e.getAnchorAlignment(t),l=-(a-.5)*r,c=-(s-.5)*n,u=e.evaluateVariableOffset(t,i);return new e.Point(l+u[0]*o,c+u[1]*o)}function kt(t,r,n,i,o){const a=new e.Point(t,r);return n&&a._rotate(i?o:-o),a}class Pt{constructor(e,t,r,n,i){this.transform=e.clone(),this.projection=e.projection.name,this.collisionIndex=new yt(this.transform,i),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=t,this.retainedQueryData={},this.collisionGroups=new St(r),this.collisionCircleArrays={},this.prevPlacement=n,n&&(n.prevPlacement=void 0),this.placedOrientations={}}getBucketParts(t,r,n,i){const o=n.getBucket(r),a=n.latestFeatureIndex;if(!o||!a||r.id!==o.layerIds[0])return;const s=o.layers[0].layout,l=n.collisionBoxArray,c=Math.pow(2,this.transform.zoom-n.tileID.overscaledZ
2),u=n.tileSize/e.EXTENT,d=n.tileID.toUnwrapped();this.transform.setProjection(o.projection);const f=(p=n.tileID,h=o.getProjection(),m=this.transform,h.name===this.projection?m.calculateProjMatrix(p.toUnwrapped()):gt(m,h,p));var p,h,m;const y="map"===s.get("text-pitch-alignment"),g="map"===s.get("text-rotation-alignment");r.compileFilter();const v=r.dynamicFilter(),b=r.dynamicFilterNeedsFeature(),_=this.transform.calculatePixelsToTileUnitsMatrix(n),x=tt(f,n.tileID.canonical,y,g,this.transform,o.getProjection(),_);let w=null;if(y){const t=rt(f,n.tileID.canonical,y,g,this.transform,o.getProjection(),_);w=e.multiply([],this.transform.labelPlaneMatrix,t)}let O=null;v&&n.latestFeatureIndex&&(O={unwrappedTileID:d,dynamicFilter:v,dynamicFilterNeedsFeature:b,featureIndex:n.latestFeatureIndex}),this.retainedQueryData[o.bucketInstanceId]=new jt(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,n.tileID);const j={bucket:o,layout:s,posMatrix:f,textLabelPlaneMatrix:x,labelToScreenMatrix:w,clippingData:O,scale:c,textPixelRatio:u,holdingForFade:n.holdingForFade(),collisionBoxArray:l,partiallyEvaluatedTextSize:e.evaluateSizeForZoom(o.textSizeData,this.transform.zoom),partiallyEvaluatedIconSize:e.evaluateSizeForZoom(o.iconSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(o.sourceID)};if(i)for(const e of o.sortKeyRanges){const{sortKey:r,symbolInstanceStart:n,symbolInstanceEnd:i}=e;t.push({sortKey:r,symbolInstanceStart:n,symbolInstanceEnd:i,parameters:j})}else t.push({symbolInstanceStart:0,symbolInstanceEnd:o.symbolInstances.length,parameters:j})}attemptAnchorPlacement(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g){const{textOffset0:v,textOffset1:b,crossTileID:_}=d,x=[v,b],w=Mt(e,r,n,x,i),O=this.collisionIndex.placeCollisionBox(p,i,t,kt(w.x,w.y,o,a,this.transform.angle),u,s,l,c.predicate);if(m){const e=p.getSymbolInstanceIconSize(g,this.transform.zoom,d.placedIconSymbolIndex);if(0===this.collisionIndex.placeCollisionBox(p,e,m,kt(w.x,w.y,o,a,this.transform.angle),u,s,l,c.predicate).box.length)return}if(O.box.length>0){let t;return this.prevPlacement&&this.prevPlacement.variableOffsets[_]&&this.prevPlacement.placements[_]&&this.prevPlacement.placements[_].text&&(t=this.prevPlacement.variableOffsets[_].anchor),this.variableOffsets[_]={textOffset:x,width:r,height:n,anchor:e,textScale:i,prevAnchor:t},this.markUsedJustification(p,e,d,h),p.allowVerticalPlacement&&(this.markUsedOrientation(p,h,d),this.placedOrientations[_]=h),{shift:w,placedGlyphBoxes:O}}}placeLayerBucketPart(t,r,n,i){const{bucket:o,layout:a,posMatrix:s,textLabelPlaneMatrix:l,labelToScreenMatrix:c,clippingData:u,textPixelRatio:d,holdingForFade:f,collisionBoxArray:p,partiallyEvaluatedTextSize:h,partiallyEvaluatedIconSize:m,collisionGroup:y}=t.parameters,g=a.get("text-optional"),v=a.get("icon-optional"),b=a.get("text-allow-overlap"),_=a.get("icon-allow-overlap"),x="map"===a.get("text-rotation-alignment"),w="map"===a.get("text-pitch-alignment"),O="none"!==a.get("icon-text-fit"),j="viewport-y"===a.get("symbol-z-order");this.transform.setProjection(o.projection);let S=b&&(_||!o.hasIconData()||v),M=_&&(b||!o.hasTextData()||g);!o.collisionArrays&&p&&o.deserializeCollisionBoxes(p),n&&i&&o.updateCollisionDebugBuffers(this.transform.zoom,p);const k=(t,i,p)=>{const{crossTileID:j,numVerticalGlyphVertices:k}=t;if(u){const n={zoom:this.transform.zoom,pitch:this.transform.pitch};let i=null;if(u.dynamicFilterNeedsFeature){const e=this.retainedQueryData[o.bucketInstanceId];i=u.featureIndex.loadFeature({featureIndex:t.featureIndex,bucketIndex:e.bucketIndex,sourceLayerIndex:e.s
2ourceLayerIndex,layoutVertexArrayOffset:0})}if(!(0,u.dynamicFilter)(n,i,this.retainedQueryData[o.bucketInstanceId].tileID.canonical,new e.Point(t.tileAnchorX,t.tileAnchorY),this.transform.calculateDistanceTileData(u.unwrappedTileID)))return this.placements[j]=new wt(!1,!1,!1,!0),void r.add(j)}if(r.has(j))return;if(f)return void(this.placements[j]=new wt(!1,!1,!1));let P=!1,T=!1,E=!0,C=!1,L=!1,A=null,D={box:null,offscreen:null,occluded:null},I={box:null,offscreen:null,occluded:null},N=null,R=null,z=null,F=0,B=0,Y=0;p.textFeatureIndex?F=p.textFeatureIndex:t.useRuntimeCollisionCircles&&(F=t.featureIndex),p.verticalTextFeatureIndex&&(B=p.verticalTextFeatureIndex);const U=e=>{e.tileID=this.retainedQueryData[o.bucketInstanceId].tileID;const t=this.transform.elevation;(t||e.elevation)&&(e.elevation=t?t.getAtTileOffset(e.tileID,e.tileAnchorX,e.tileAnchorY):0)},H=p.textBox;if(H){U(H);const r=r=>{let n=e.WritingMode.horizontal;if(o.allowVerticalPlacement&&!r&&this.prevPlacement){const e=this.prevPlacement.placedOrientations[j];e&&(this.placedOrientations[j]=e,n=e,this.markUsedOrientation(o,n,t))}return n},n=(t,r)=>{if(o.allowVerticalPlacement&&k>0&&p.verticalTextBox){for(const n of o.writingModes)if(n===e.WritingMode.vertical?(D=r(),I=D):D=t(),D&&D.box&&D.box.length)break}else D=t()};if(a.get("text-variable-anchor")){let l=a.get("text-variable-anchor");if(this.prevPlacement&&this.prevPlacement.variableOffsets[j]){const e=this.prevPlacement.variableOffsets[j];l.indexOf(e.anchor)>0&&(l=l.filter(t=>t!==e.anchor),l.unshift(e.anchor))}const c=(e,r,n)=>{const a=o.getSymbolInstanceTextSize(h,t,this.transform.zoom,i),c=(e.x2-e.x1)*a+2*e.padding,u=(e.y2-e.y1)*a+2*e.padding,f=O&&!_?r:null;f&&U(f);let p={box:[],offscreen:!1,occluded:!1};const g=b?2*l.length:l.length;for(let r=0;r<g;++r){const g=this.attemptAnchorPlacement(l[r%l.length],e,c,u,a,x,w,d,s,y,r>=l.length,t,i,o,n,f,h,m);if(g&&(p=g.placedGlyphBoxes,p&&p.box&&p.box.length)){P=!0,A=g.shift;break}}return p};n(()=>c(H,p.iconBox,e.WritingMode.horizontal),()=>{const t=p.verticalTextBox;return t&&U(t),o.allowVerticalPlacement&&!(D&&D.box&&D.box.length)&&k>0&&t?c(t,p.verticalIconBox,e.WritingMode.vertical):{box:null,offscreen:null,occluded:null}}),D&&(P=D.box,E=D.offscreen,C=D.occluded);const u=r(!(!D||!D.box));if(!P&&this.prevPlacement){const e=this.prevPlacement.variableOffsets[j];e&&(this.variableOffsets[j]=e,this.markUsedJustification(o,e.anchor,t,u))}}else{const a=(r,n)=>{const a=o.getSymbolInstanceTextSize(h,t,this.transform.zoom,i),l=this.collisionIndex.placeCollisionBox(o,a,r,new e.Point(0,0),b,d,s,y.predicate);return l&&l.box&&l.box.length&&(this.markUsedOrientation(o,n,t),this.placedOrientations[j]=n),l};n(()=>a(H,e.WritingMode.horizontal),()=>{const t=p.verticalTextBox;return o.allowVerticalPlacement&&k>0&&t?(U(t),a(t,e.WritingMode.vertical)):{box:null,offscreen:null,occluded:null}}),r(!!(D&&D.box&&D.box.length))}}if(N=D,P=N&&N.box&&N.box.length>0,E=N&&N.offscreen,C=N&&N.occluded,t.useRuntimeCollisionCircles){const r=o.text.placedSymbolArray.get(t.centerJustifiedTextSymbolIndex>=0?t.centerJustifiedTextSymbolIndex:t.verticalPlacedTextSymbolIndex),i=e.evaluateSizeForFeature(o.textSizeData,h,r),u=a.get("text-padding");R=this.collisionIndex.placeCollisionCircles(o,b,r,o.lineVertexArray,o.glyphOffsetArray,i,s,l,c,n,w,y.predicate,t.collisionCircleDiameter*i/e.ONE_EM,u,this.retainedQueryData[o.bucketInstanceId].tileID),P=b||R.circles.length>0&&!R.collisionDetected,E=E&&R.offscreen,C=R.occluded}if(p.iconFeatureIndex&&(Y=p.iconFeatureIndex),p.iconBox){const r=r=>{U(r);const n=O&&A?kt(A.x,A.y,x,w,this.transform.angle):new e.Point(0,0),i=o.getSymbolInstanceIconSize(m,this.transform.zoom,t.placedIconSymbolIndex);return this.collisionIndex.placeCollisionBox(o,i,r,n,_,d,s,y.predicate)};I&&I.box&&I.box.length&&p.verticalIconBox?(z=r(p.verticalIconBox),T=z.box.length>0):(z=r(p.iconBox),T=z.box.length>0),E=E&&z.offscreen,L=z.occluded}const $=g||0===t.numHorizontalGlyphVertices&&0===k,W=v||0===t.numIconVertices;if($||W?W?$||(T=T&&P):P=T&&P:T=P=T&&P,P&&N&&N.box&&this.collisionIndex.insertCollisionBox(N.box,a.get("text-ignore-placement"),o.bucketInstanceId,I&&I.box&&B?B:F,y.ID),T&&z&&this.collisionIndex.insertCollisionBox(z.box,a.get("icon-ignore-placement"),o.bucketInstanceId,Y,y.ID),R&&(P&&this.collisionIndex.insertCollisionCircles(R.circles,a.get("text-ignore-placement"),o.bucketInstanceId,F,y.ID),n)){const e=o.bucketInstanceId;let t=this.collisionCircleArrays[e];void 0===t&&(t=this.collisionCircleArrays[e]=new Ot);for(let e=0;e<R.circles.length;
2e+=4)t.circles.push(R.circles[e+0]),t.circles.push(R.circles[e+1]),t.circles.push(R.circles[e+2]),t.circles.push(R.collisionDetected?1:0)}const V="globe"!==o.projection.name;S=S&&(V||!C),M=M&&(V||!L),this.placements[j]=new wt(P||S,T||M,E||o.justReloaded),r.add(j)};if(j){const e=o.getSortedSymbolIndexes(this.transform.angle);for(let t=e.length-1;t>=0;--t){const r=e[t];k(o.symbolInstances.get(r),r,o.collisionArrays[r])}}else for(let e=t.symbolInstanceStart;e<t.symbolInstanceEnd;e++)k(o.symbolInstances.get(e),e,o.collisionArrays[e]);if(n&&o.bucketInstanceId in this.collisionCircleArrays){const t=this.collisionCircleArrays[o.bucketInstanceId];e.invert(t.invProjMatrix,s),t.viewportMatrix=this.collisionIndex.getViewportMatrix()}o.justReloaded=!1}markUsedJustification(t,r,n,i){const{leftJustifiedTextSymbolIndex:o,centerJustifiedTextSymbolIndex:a,rightJustifiedTextSymbolIndex:s,verticalPlacedTextSymbolIndex:l,crossTileID:c}=n,u=e.getAnchorJustification(r),d=i===e.WritingMode.vertical?l:"left"===u?o:"center"===u?a:"right"===u?s:-1;o>=0&&(t.text.placedSymbolArray.get(o).crossTileID=d>=0&&o!==d?0:c),a>=0&&(t.text.placedSymbolArray.get(a).crossTileID=d>=0&&a!==d?0:c),s>=0&&(t.text.placedSymbolArray.get(s).crossTileID=d>=0&&s!==d?0:c),l>=0&&(t.text.placedSymbolArray.get(l).crossTileID=d>=0&&l!==d?0:c)}markUsedOrientation(t,r,n){const i=r===e.WritingMode.horizontal||r===e.WritingMode.horizontalOnly?r:0,o=r===e.WritingMode.vertical?r:0,{leftJustifiedTextSymbolIndex:a,centerJustifiedTextSymbolIndex:s,rightJustifiedTextSymbolIndex:l,verticalPlacedTextSymbolIndex:c}=n,u=t.text.placedSymbolArray;a>=0&&(u.get(a).placedOrientation=i),s>=0&&(u.get(s).placedOrientation=i),l>=0&&(u.get(l).placedOrientation=i),c>=0&&(u.get(c).placedOrientation=o)}commit(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;const t=this.prevPlacement;let r=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;const n=t?t.symbolFadeChange(e):1,i=t?t.opacities:{},o=t?t.variableOffsets:{},a=t?t.placedOrientations:{};for(const e in this.placements){const t=this.placements[e],o=i[e];o?(this.opacities[e]=new xt(o,n,t.text,t.icon,null,t.clipped),r=r||t.text!==o.text.placed||t.icon!==o.icon.placed):(this.opacities[e]=new xt(null,n,t.text,t.icon,t.skipFade,t.clipped),r=r||t.text||t.icon)}for(const e in i){const t=i[e];if(!this.opacities[e]){const i=new xt(t,n,!1,!1);i.isHidden()||(this.opacities[e]=i,r=r||t.text.placed||t.icon.placed)}}for(const e in o)this.variableOffsets[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.variableOffsets[e]=o[e]);for(const e in a)this.placedOrientations[e]||!this.opacities[e]||this.opacities[e].isHidden()||(this.placedOrientations[e]=a[e]);r?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e)}updateLayerOpacities(e,t){const r=new Set;for(const n of t){const t=n.getBucket(e);t&&n.latestFeatureIndex&&e.id===t.layerIds[0]&&this.updateBucketOpacities(t,r,n.collisionBoxArray)}}updateBucketOpacities(t,r,n){t.hasTextData()&&t.text.opacityVertexArray.clear(),t.hasIconData()&&t.icon.opacityVertexArray.clear(),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexArray.clear(),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexArray.clear();const i=t.layers[0].layout,o=!!t.layers[0].dynamicFilter(),a=new xt(null,0,!1,!1,!0),s=i.get("text-allow-overlap"),l=i.get("icon-allow-overlap"),c=i.get("text-variable-anchor"),u="map"===i.get("text-rotation-alignment"),d="map"===i.get("text-pitch-alignment"),f="none"!==i.get("icon-text-fit"),p=new xt(null,0,s&&(l||!t.hasIconData()||i.get("icon-optional")),l&&(s||!t.hasTextData()||i.get("text-optional")),!0);!t.collisionArrays&&n&&(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData())&&t.deserializeCollisionBoxes(n);const h=(e,t,r)=>{for(let n=0;n<t/4;n++)e.opacityVertexArray.emplaceBack(r)};let m=0;for(let n=0;n<t.symbolInstances.length;n++){const i=t.symbolInstances.get(n),{numHorizontalGlyphVertices:s,numVerticalGlyphVertices:l,crossTileID:y,numIconVertices:g}=i,v=r.has(y);let b=this.opacities[y];v?b=a:b||(b=p,this.opacities[y]=b),r.add(y);const _=s>0||l>0,x=g>0,w=this.placedOrientations[y],O=w===e.WritingMode.vertical,j=w===e.WritingMode.horizontal||w===e.WritingMode.horizontalOnly;if(!_&&!x||b.isHidden()||m++,_){const e=Rt(b.text);h(t.text,s,O?zt:e),h(t.text,l,j?zt:e);const r=b.text.isHidden(),{leftJustifiedTextSymbolIndex:n,centerJustifiedTextSymbolIndex:o,rightJustifiedTextSymbolIndex:a,verticalPlacedTextSymbolIndex:c}=i,u=t.text.placedSymbolArray,d=r||O?1:0;n>=0&&(u.get(n).hidden=d),o>=0&&(u.get(o).hidden=d),a>=0&&(u.get(a).hidden=d),c>=0&&(u.get(c).hidden=r||j?1:0);const f=this.variableOffsets[y];f&&this.markUsedJustification(t,f.anchor,i,w);const p=this.placedOrientations[y];p&&(this.markUsedJustification(t,"left",i,p),this.markUsedOrientation(t,p,i))}if(x){const e=Rt(b.icon),{placedIconSymbolIndex:r,verticalPlacedIconSymbolIndex:n}=i,o=t.icon.placedSymbolArray,a=b.icon.isHidden()?1:0;r>=0&&(h(t.icon,g,O?zt:e),o.get(r).hidden=a),n>=0&&(h(t.icon,i.numVerticalIconVertices,j?zt:e),o.get(n).hidden=a)}if(t.hasIconCollisionBoxData()||t.hasTextCollisionBoxData()){const r=t.collisionArrays[n];if(r){let n=new e.Point(0,0),i=!0;if(r.textBox||r.verticalTextBox){if(c){const e=this.variableOffsets[y];e?(n=Mt(e.anchor,e.width,e.height,e.textOffset,e.textScale),u&&n._rotate(d?this.transform.angle:-this.transform.angle)):i=!1}o&&(i=!b.clipped),r.textBox&&Tt(t.textCollisionBox.collisionVertexArray,b.text.placed,!i||O,n.x,n.y),r.verticalTextBox&&Tt(t.textCollisionBox.collisionVertexArray,b.text.placed,!i||j,n.x,n.y)}const a=i&&Boolean(!j&&r.verticalIconBox);r.iconBox&&Tt(t.iconCollisionBox.collisionVertexArray,b.icon.placed,a,f?n.x:0,f?n.y:0),r.verticalIconBox&&Tt(t.iconCollisionBox.collisionVertexArray,b.icon.placed,!a,f?n.x:0,f?n.y:0)}}}if(t.fullyClipped=0===m,t.sortFeatures(this.transform.angle),this.retainedQueryData[t.bucketInstanceId]&&(this.retainedQueryData[t.bucketInstanceId].featureSortOrder=t.featureSortOrder),t.hasTextData()&&t.text.opacityVertexBuffer&&t.text.opacityVertexBuffer.updateData(t.text.opacityVertexArray),t.hasIconData()&&t.icon.opacityVertexBuffer&&t.icon.opacityVertexBuffer.updateData(t.icon.opacityVertexArray),t.hasIconCollisionBoxData()&&t.iconCollisionBox.collisionVertexBuffer&&t.iconCollisionBox.collisionVertexBuffer.updateData(t.iconCollisionBox.collisionVertexArray),t.hasTextCollisionBoxData()&&t.textCollisionBox.collisionVertexBuffer&&t.textCollisionBox.collisionVertexBuffer.updateData(t.textCollisionBox.collisionVertexArray),t.bucketInstanceId in this.collisionCircleArrays){const e=this.collisionCircleArrays[t.bucketInstanceId];t.placementInvProjMatrix=e.invProjMatrix,t.placementViewportMatrix=e.viewportMatrix,t.collisionCircleArray=e.circles,delete this.collisionCircleArrays[t.bucketInstanceId]}}symbolFadeChange(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(e){return Math.max(0,(this.transform.zoom-e)/1.5)}hasTransitions(e){return this.stale||e-this.lastPlacementChangeTime<this.fadeDuration}stillRecent(e,t){const r=this.zoomAtLastRecencyCheck===t?1-this.zoomAdjustment(t):1;return this.zoomAtLastRecencyCheck=t,this.commitTime+this.fadeDuration*r>e}setStale(){this.stale=!0}}function Tt(e,t,r,n,i){e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0),e.emplaceBack(t?1:0,r?1:0,n||0,i||0)}const Et=Math.pow(2,25),Ct=Math.pow(2,24),Lt=Math.pow(2,17),At=Math.pow(2,16),Dt=Math.pow(2,9),It=Math.pow(2,8),Nt=Math.pow(2,1);function Rt(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;const t=e.placed?1:0,r=Math.floor(127*e.opacity);return r*Et+t*Ct+r*Lt+t*At+r*Dt+t*It+r*Nt+t}const zt=0;class Ft{constructor(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&void 0!==e.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs=new Set,this._bucketParts=[]}continuePlacement(e,t,r,n,i){const o=this._bucketParts;for(;this._currentTileIndex<e.length;)if(t.getBucketParts(o,n,e[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,i())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,o.sort((e,t)=>
2e.sortKey-t.sortKey));this._currentPartIndex<o.length;){const e=o[this._currentPartIndex];if(t.placeLayerBucketPart(e,this._seenCrossTileIDs,r,0===e.symbolInstanceStart),this._currentPartIndex++,i())return!0}return!1}}class Bt{constructor(e,t,r,n,i,o,a,s){this.placement=new Pt(e,i,o,a,s),this._currentPlacementIndex=t.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=n,this._done=!1}isDone(){return this._done}continuePlacement(t,r,n){const i=e.exported.now(),o=()=>{const t=e.exported.now()-i;return!this._forceFullPlacement&&t>2};for(;this._currentPlacementIndex>=0;){const e=r[t[this._currentPlacementIndex]],i=this.placement.collisionIndex.transform.zoom;if("symbol"===e.type&&(!e.minzoom||e.minzoom<=i)&&(!e.maxzoom||e.maxzoom>i)){if(this._inProgressLayer||(this._inProgressLayer=new Ft(e)),this._inProgressLayer.continuePlacement(n[e.source],this.placement,this._showCollisionBoxes,e,o))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(e){return this.placement.commit(e),this.placement}}const Yt=512/e.EXTENT/2;class Ut{constructor(t,r,n){this.tileID=t,this.bucketInstanceId=n,this.index=new e.KDBush(r.length,16,Int32Array),this.keys=[],this.crossTileIDs=[];const i=t.canonical.x*e.EXTENT,o=t.canonical.y*e.EXTENT;for(let e=0;e<r.length;e++){const{key:t,crossTileID:n,tileAnchorX:a,tileAnchorY:s}=r.get(e),l=Math.floor((i+a)*Yt),c=Math.floor((o+s)*Yt);this.index.add(l,c),this.keys.push(t),this.crossTileIDs.push(n)}this.index.finish()}findMatches(t,r,n){const i=this.tileID.canonical.z<r.canonical.z?1:Math.pow(2,this.tileID.canonical.z-r.canonical.z),o=Yt/Math.pow(2,r.canonical.z-this.tileID.canonical.z),a=r.canonical.x*e.EXTENT,s=r.canonical.y*e.EXTENT;for(let e=0;e<t.length;e++){const r=t.get(e);if(r.crossTileID)continue;const{key:l,tileAnchorX:c,tileAnchorY:u}=r,d=Math.floor((a+c)*o),f=Math.floor((s+u)*o),p=this.index.range(d-i,f-i,d+i,f+i);for(const e of p){const t=this.crossTileIDs[e];if(this.keys[e]===l&&!n.has(t)){n.add(t),r.crossTileID=t;break}}}}}class Ht{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class $t{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(e){const t=Math.round((e-this.lng)/360);if(0!==t)for(const e in this.indexes){const r=this.indexes[e],n={};for(const e in r){const i=r[e];i.tileID=i.tileID.unwrapTo(i.tileID.wrap+t),n[i.tileID.key]=i}this.indexes[e]=n}this.lng=e}addBucket(e,t,r){if(this.indexes[e.overscaledZ]&&this.indexes[e.overscaledZ][e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key])}for(let e=0;e<t.symbolInstances.length;e++)t.symbolInstances.get(e).crossTileID=0;this.usedCrossTileIDs[e.overscaledZ]||(this.usedCrossTileIDs[e.overscaledZ]=new Set);const n=this.usedCrossTileIDs[e.overscaledZ];for(const r in this.indexes){const i=this.indexes[r];if(Number(r)>e.overscaledZ)for(const r in i){const o=i[r];o.tileID.isChildOf(e)&&o.findMatches(t.symbolInstances,e,n)}else{const o=i[e.scaledTo(Number(r)).key];o&&o.findMatches(t.symbolInstances,e,n)}}for(let e=0;e<t.symbolInstances.length;e++){const i=t.symbolInstances.get(e);i.crossTileID||(i.crossTileID=r.generate(),n.add(i.crossTileID))}return void 0===this.indexes[e.overscaledZ]&&(this.indexes[e.overscaledZ]={}),this.indexes[e.overscaledZ][e.key]=new Ut(e,t.symbolInstances,t.bucketInstanceId),!0}removeBucketCrossTileIDs(e,t){for(const r of t.crossTileIDs)this.usedCrossTileIDs[e].delete(r)}removeStaleBuckets(e){let t=!1;for(const r in this.indexes){const n=this.indexes[r];for(const i in n)e[n[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,n[i]),delete n[i],t=!0)}return t}}class Wt{constructor(){this.layerIndexes={},this.crossTileIDs=new Ht,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}}addLayer(e,t,r,n){let i=this.layerIndexes[e.id];void 0===i&&(i=this.layerIndexes[e.id]=new $t);let o=!1;const a={};"globe"!==n.name&&i.handleWrapJump(r);for(const r of t){const t=r.getBucket(e);t&&e.id===t.layerIds[0]&&(t.bucketInstanceId||(t.bucketInstanceId=++this.maxBucketInstanceId),i.addBucket(r.tileID,t,this.crossTileIDs)&&(o=!0),a[t.bucketInstanceId]=!0)}return i.removeStaleBuckets(a)&&(o=!0),o}pruneUnusedLayers(e){const t={};
2e.forEach(e=>{t[e]=!0});for(const e in this.layerIndexes)t[e]||delete this.layerIndexes[e]}}const Vt=(t,r)=>e.emitValidationErrors(t,r&&r.filter(e=>"source.canvas"!==e.identifier)),qt=e.pick(Ue,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData","setTerrain","setFog","setProjection"]),Gt=e.pick(Ue,["setCenter","setZoom","setBearing","setPitch"]),Zt={version:8,layers:[],sources:{}},Xt={fill:!0,line:!0,background:!0,hillshade:!0,raster:!0};class Jt extends e.Evented{constructor(t,r={}){super(),this.map=t,this.dispatcher=new T(Fe(),this),this.imageManager=new _,this.imageManager.setEventedParent(this),this.glyphManager=new e.GlyphManager(t._requestManager,r.localFontFamily?e.LocalGlyphMode.all:r.localIdeographFontFamily?e.LocalGlyphMode.ideographs:e.LocalGlyphMode.none,r.localFontFamily||r.localIdeographFontFamily),this.crossTileSymbolIndex=new Wt,this._layers={},this._num3DLayers=0,this._numSymbolLayers=0,this._numCircleLayers=0,this._serializedLayers={},this._sourceCaches={},this._otherSourceCaches={},this._symbolSourceCaches={},this._loaded=!1,this._availableImages=[],this._order=[],this._drapedFirstOrder=[],this._markersNeedUpdate=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",e.getReferrer());const n=this;this._rtlTextPluginCallback=Jt.registerForPluginStateChange(t=>{n.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:t.pluginStatus,pluginURL:t.pluginURL},(t,r)=>{if(e.triggerPluginCompletionEvent(t),r&&r.every(e=>e))for(const e in n._sourceCaches){const t=n._sourceCaches[e],r=t.getSource().type;"vector"!==r&&"geojson"!==r||t.reload()}})}),this.on("data",e=>{if("source"!==e.dataType||"metadata"!==e.sourceDataType)return;const t=this.getSource(e.sourceId);if(t&&t.vectorLayerIds)for(const e in this._layers){const r=this._layers[e];r.source===t.id&&this._validateLayer(r)}})}loadURL(t,r={}){this.fire(new e.Event("dataloading",{dataType:"style"}));const n="boolean"==typeof r.validate?r.validate:!e.isMapboxURL(t);t=this.map._requestManager.normalizeStyleURL(t,r.accessToken);const i=this.map._requestManager.transformRequest(t,e.ResourceType.Style);this._request=e.getJSON(i,(t,r)=>{this._request=null,t?this.fire(new e.ErrorEvent(t)):r&&this._load(r,n)})}loadJSON(t,r={}){this.fire(new e.Event("dataloading",{dataType:"style"})),this._request=e.exported.frame(()=>{this._request=null,this._load(t,!1!==r.validate)})}loadEmpty(){this.fire(new e.Event("dataloading",{dataType:"style"})),this._load(Zt,!1)}_updateLayerCount(e,t){const r=t?1:-1;e.is3D()&&(this._num3DLayers+=r),"circle"===e.type&&(this._numCircleLayers+=r),"symbol"===e.type&&(this._numSymbolLayers+=r)}_load(t,r){if(r&&Vt(this,e.validateStyle(t)))return;this._loaded=!0,this.stylesheet=e.clone$1(t),this._updateMapProjection();for(const e in t.sources)this.addSource(e,t.sources[e],{validate:!1});this._changed=!1,t.sprite?this._loadSprite(t.sprite):(this.imageManager.setLoaded(!0),this.dispatcher.broadcast("spriteLoaded",!0)),this.glyphManager.setURL(t.glyphs);const n=Ye(this.stylesheet.layers);this._order=n.map(e=>e.id),this._layers={},this._serializedLayers={};for(const t of n){const r=e.createStyleLayer(t);r.setEventedParent(this,{layer:{id:r.id}}),this._layers[r.id]=r,this._serializedLayers[r.id]=r.serialize(),this._updateLayerCount(r,!0)}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.stylesheet.terrain&&!this.terrainSetForDrapingOnly()&&this._createTerrain(this.stylesheet.terrain,1),this.stylesheet.fog&&this._createFog(this.stylesheet.fog),this._updateDrapeFirstLayers(),this.fire(new e.Event("data",{dataType:"style"})),this.fire(new e.Event("style.load"))}terrainSetForDrapingOnly(){return!!this.terrain&&0===this.terrain.drapeRenderMode}setProjection(e){e?this.stylesheet.projection=e:delete this.stylesheet.projection,this._updateMapProjection()}applyProjectionUpdate(){this._loaded&&(this.dispatcher.broadcast("setProjection",this.map.transform.projectionOptions),this.map.transform.projection.requiresDraping?this.getTerrain()||this.stylesheet.terrain||this.setTerrainForDraping():this.terrainSetForDrapingOnly()&&this.setTerrain(null))}_updateMapProjection(){this.map._useExplicitProjection?this.applyProjectionUpdate():this.map._prioritizeAndUpdateProjection(null,this.stylesheet.projection)}_loadSprite(t){this._spriteRequest=function(t,r,n){let i,o,a;const s=e.exported.devicePixelRatio>1?"@2x":"";let l=e.getJSON(r.transformRequest(r.normalizeSpriteURL(t,s,".json"),e.ResourceType.SpriteJSON),(e,t)=>{l=null,a||(a=e,i=t,u())}),c=e.getImage(r.transformRequest(r.normalizeSpriteURL(t,s,".png"),e.ResourceType.SpriteImage),(e,t)=>{c=null,a||(a=e,o=t,u())});function u(){if(a)n(a);
vendor: 30,333 bytes, line 2
2else if(i&&o){const t=e.exported.getImageData(o),r={};for(const n in i){const{width:o,height:a,x:s,y:l,sdf:c,pixelRatio:u,stretchX:d,stretchY:f,content:p}=i[n],h=new e.RGBAImage({width:o,height:a});e.RGBAImage.copy(t,h,{x:s,y:l},{x:0,y:0},{width:o,height:a}),r[n]={data:h,pixelRatio:u,sdf:c,stretchX:d,stretchY:f,content:p}}n(null,r)}}return{cancel(){l&&(l.cancel(),l=null),c&&(c.cancel(),c=null)}}}(t,this.map._requestManager,(t,r)=>{if(this._spriteRequest=null,t)this.fire(new e.ErrorEvent(t));else if(r)for(const e in r)this.imageManager.addImage(e,r[e]);this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),this.dispatcher.broadcast("setImages",this._availableImages),this.dispatcher.broadcast("spriteLoaded",!0),this.fire(new e.Event("data",{dataType:"style"}))})}_validateLayer(t){const r=this.getSource(t.source);if(!r)return;const n=t.sourceLayer;n&&("geojson"===r.type||r.vectorLayerIds&&-1===r.vectorLayerIds.indexOf(n))&&this.fire(new e.ErrorEvent(new Error(`Source layer "${n}" does not exist on source "${r.id}" as specified by style layer "${t.id}"`)))}loaded(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(const e in this._sourceCaches)if(!this._sourceCaches[e].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeLayers(e){const t=[];for(const r of e){const e=this._layers[r];"custom"!==e.type&&t.push(e.serialize())}return t}hasTransitions(){if(this.light&&this.light.hasTransition())return!0;if(this.fog&&this.fog.hasTransition())return!0;for(const e in this._sourceCaches)if(this._sourceCaches[e].hasTransition())return!0;for(const e in this._layers)if(this._layers[e].hasTransition())return!0;return!1}get order(){return this.map._optimizeForTerrain&&this.terrain?this._drapedFirstOrder:this._order}isLayerDraped(e){return!!this.terrain&&("function"==typeof e.isLayerDraped?e.isLayerDraped():Xt[e.type])}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading")}update(t){if(!this._loaded)return;const r=this._changed;if(this._changed){const e=Object.keys(this._updatedLayers),r=Object.keys(this._removedLayers);(e.length||r.length)&&this._updateWorkerLayers(e,r);for(const e in this._updatedSources){const t=this._updatedSources[e];"reload"===t?this._reloadSource(e):"clear"===t&&this._clearSource(e)}this._updateTilesForChangedImages();for(const e in this._updatedPaintProps)this._layers[e].updateTransitions(t);this.light.updateTransitions(t),this.fog&&this.fog.updateTransitions(t),this._resetUpdates()}const n={};for(const e in this._sourceCaches){const t=this._sourceCaches[e];n[e]=t.used,t.used=!1}for(const e of this._order){const r=this._layers[e];if(r.recalculate(t,this._availableImages),!r.isHidden(t.zoom)){const e=this._getLayerSourceCache(r);e&&(e.used=!0)}const n=this.map.painter;if(n){const e=r.getProgramIds();if(!e)continue;const i=r.getProgramConfiguration(t.zoom);for(const t of e)n.useProgram(t,i)}}for(const t in n){const r=this._sourceCaches[t];n[t]!==r.used&&r.getSource().fire(new e.Event("data",{sourceDataType:"visibility",dataType:"source",sourceId:r.getSource().id}))}this.light.recalculate(t),this.terrain&&this.terrain.recalculate(t),this.fog&&this.fog.recalculate(t),this.z=t.zoom,this._markersNeedUpdate&&(this._updateMarkersOpacity(),this._markersNeedUpdate=!1),r&&this.fire(new e.Event("data",{dataType:"style"}))}_updateTilesForChangedImages(){const e=Object.keys(this._changedImages);if(e.length){for(const t in this._sourceCaches)this._sourceCaches[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={}}}_updateWorkerLayers(e,t){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(e),removedIds:t})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}}setState(r){if(this._checkLoaded(),Vt(this,e.validateStyle(r)))return!1;(r=e.clone$1(r)).layers=Ye(r.layers);const n=function(e,r){if(!e)return[{command:Ue.setStyle,args:[r]}];let n=[];try{if(!t(e.version,r.version))return[{command:Ue.setStyle,args:[r]}];t(e.center,r.center)||n.push({command:Ue.setCenter,args:[r.center]}),t(e.zoom,r.zoom)||n.push({command:Ue.setZoom,args:[r.zoom]}),t(e.bearing,r.bearing)||n.push({command:Ue.setBearing,args:[r.bearing]}),t(e.pitch,r.pitch)||n.push({command:Ue.setPitch,args:[r.pitch]}),t(e.sprite,r.sprite)||n.push({command:Ue.setSprite,args:[r.sprite]}),t(e.glyphs,r.glyphs)||n.push({command:Ue.setGlyphs,args:[r.glyphs]}),t(e.transition,r.transition)||n.push({command:Ue.setTransition,args:[r.transition]}),t(e.light,r.light)||n.push({command:Ue.setLight,args:[r.light]}),t(e.fog,r.fog)||n.push({command:Ue.setFog,args:[r.fog]}),t(e.projection,r.projection)||n.push({command:Ue.setProjection,args:[r.projection]});const i={},o=[];!function(e,r,n,i){let o;for(o in r=r||{},e=e||{})e.hasOwnProperty(o)&&(r.hasOwnProperty(o)||$e(o,n,i));for(o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];e.hasOwnProperty(o)?t(e[o],a)||("geojson"===e[o].type&&"geojson"===a.type&&Ve(e,r,o)?n.push({command:Ue.setGeoJSONSourceData,args:[o,a.data]}):We(o,r,n,i)):He(o,r,n)}}(e.sources,r.sources,o,i);const a=[];e.layers&&e.layers.forEach(e=>{e.source&&i[e.source]?n.push({command:Ue.removeLayer,args:[e.id]}):a.push(e)});let s=e.terrain;s&&i[s.source]&&(n.push({command:Ue.setTerrain,args:[void 0]}),s=void 0),n=n.concat(o),t(s,r.terrain)||n.push({command:Ue.setTerrain,args:[r.terrain]}),function(e,r,n){r=r||[];const i=(e=e||[]).map(Ge),o=r.map(Ge),a=e.reduce(Ze,{}),s=r.reduce(Ze,{}),l=i.slice(),c=Object.create(null);let u,d,f,p,h,m,y;for(u=0,d=0;u<i.length;u++)f=i[u],s.hasOwnProperty(f)?d++:(n.push({command:Ue.removeLayer,args:[f]}),l.splice(l.indexOf(f,d),1));for(u=0,d=0;u<o.length;u++)f=o[o.length-1-u],l[l.length-1-u]!==f&&(a.hasOwnProperty(f)?(n.push({command:Ue.removeLayer,args:[f]}),l.splice(l.lastIndexOf(f,l.length-d),1)):d++,m=l[l.length-u],n.push({command:Ue.addLayer,args:[s[f],m]}),l.splice(l.length-u,0,f),c[f]=!0);for(u=0;u<o.length;u++)if(f=o[u],p=a[f],h=s[f],!c[f]&&!t(p,h))if(t(p.source,h.source)&&t(p["source-layer"],h["source-layer"])&&t(p.type,h.type)){for(y in qe(p.layout,h.layout,n,f,null,Ue.setLayoutProperty),qe(p.paint,h.paint,n,f,null,Ue.setPaintProperty),t(p.filter,h.filter)||n.push({command:Ue.setFilter,args:[f,h.filter]}),t(p.minzoom,h.minzoom)&&t(p.maxzoom,h.maxzoom)||n.push({command:Ue.setLayerZoomRange,args:[f,h.minzoom,h.maxzoom]}),p)p.hasOwnProperty(y)&&"layout"!==y&&"paint"!==y&&"filter"!==y&&"metadata"!==y&&"minzoom"!==y&&"maxzoom"!==y&&(0===y.indexOf("paint.")?qe(p[y],h[y],n,f,y.slice(6),Ue.setPaintProperty):t(p[y],h[y])||n.push({command:Ue.setLayerProperty,args:[f,y,h[y]]}));for(y in h)h.hasOwnProperty(y)&&!p.hasOwnProperty(y)&&"layout"!==y&&"paint"!==y&&"filter"!==y&&"metadata"!==y&&"minzoom"!==y&&"maxzoom"!==y&&(0===y.indexOf("paint.")?qe(p[y],h[y],n,f,y.slice(6),Ue.setPaintProperty):t(p[y],h[y])||n.push({command:Ue.setLayerProperty,args:[f,y,h[y]]}))}else n.push({command:Ue.removeLayer,args:[f]}),m=l[l.lastIndexOf(f)+1],n.push({command:Ue.addLayer,args:[h,m]})}(a,r.layers,n)}catch(e){console.warn("Unable to compute style diff:",e),n=[{command:Ue.setStyle,args:[r]}]}return n}(this.serialize(),r).filter(e=>!(e.command in Gt));if(0===n.length)return!1;const i=n.filter(e=>!(e.command in qt));if(i.length>0)throw new Error(`Unimplemented: ${i.map(e=>e.command).join(", ")}.`);return n.forEach(e=>{"setTransition"!==e.command&&"setProjection"!==e.command&&this[e.command].apply(this,e.args)}),this.stylesheet=r,this._updateMapProjection(),!0}addImage(t,r){return this.getImage(t)?this.fire(new e.ErrorEvent(new Error("An image with this name already exists."))):(this.imageManager.addImage(t,r),this._afterImageUpdated(t),this)}updateImage(e,t){this.imageManager.updateImage(e,t)}getImage(e){return this.imageManager.getImage(e)}removeImage(t){return this.getImage(t)?(this.imageManager.removeImage(t),this._afterImageUpdated(t),this):this.fire(new e.ErrorEvent(new Error("No image with this name exists.")))}_afterImageUpdated(t){this._availableImages=this.imageManager.listImages(),this._changedImages[t]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new e.Event("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this._availableImages.slice()}addSource(t,r,n={}){if(this._checkLoaded(),void 0!==this.getSource(t))throw new Error("There is already a source with this ID");if(!r.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(r).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(r.type)>=0&&this._validate(e.validateSource,`sources.${t}`,r,null,n))return;this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);const i=Ee(t,r,this.dispatcher,this);i.setEventedParent(this,()=>({isSourceLoaded:this._isSourceCacheLoaded(t),source:i.serialize(),sourceId:t}));const o=r=>{const n=(r?"symbol:":"other:")+t,o=this._sourceCaches[n]=new e.SourceCache(n,i,r);(r?this._symbolSourceCaches:this._otherSourceCaches)[t]=o,o.style=this,o.onAdd(this.map)};o(!1),"vector"!==r.type&&"geojson"!==r.type||o(!0),i.onAdd&&i.onAdd(this.map),this._changed=!0}removeSource(t){this._checkLoaded();const r=this.getSource(t);if(!r)throw new Error("There is no source with this ID");for(const r in this._layers)if(this._layers[r].source===t)return this.fire(new e.ErrorEvent(new Error(`Source "${t}" cannot be removed while layer "${r}" is using it.`)));if(this.terrain&&this.terrain.get().source===t)return this.fire(new e.ErrorEvent(new Error(`Source "${t}" cannot be removed while terrain is using it.`)));const n=this._getSourceCaches(t);for(const t of n)delete this._sourceCaches[t.id],delete this._updatedSources[t.id],t.fire(new e.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:t.getSource().id})),t.setEventedParent(null),t.clearTiles();return delete this._otherSourceCaches[t],delete this._symbolSourceCaches[t],r.setEventedParent(null),r.onRemove&&r.onRemove(this.map),this._changed=!0,this}setGeoJSONSourceData(e,t){this._checkLoaded(),this.getSource(e).setData(t),this._changed=!0}getSource(e){const t=this._getSourceCache(e);return t&&t.getSource()}_getSources(){const e=[];for(const t in this._otherSourceCaches){const r=this._getSourceCache(t);r&&e.push(r.getSource())}return e}addLayer(t,r,n={}){this._checkLoaded();const i=t.id;if(this.getLayer(i))return void this.fire(new e.ErrorEvent(new Error(`Layer with id "${i}" already exists on this map`)));let o;if("custom"===t.type){if(Vt(this,e.validateCustomStyleLayer(t)))return;o=e.createStyleLayer(t)}else{if("object"==typeof t.source&&(this.addSource(i,t.source),t=e.clone$1(t),t=e.extend(t,{source:i})),this._validate(e.validateLayer,`layers.${i}`,t,{arrayIndex:-1},n))return;o=e.createStyleLayer(t),this._validateLayer(o),o.setEventedParent(this,{layer:{id:i}}),this._serializedLayers[o.id]=o.serialize(),this._updateLayerCount(o,!0)}const a=r?this._order.indexOf(r):this._order.length;if(r&&-1===a)return void this.fire(new e.ErrorEvent(new Error(`Layer with id "${r}" does not exist on this map.`)));this._order.splice(a,0,i),this._layerOrderChanged=!0,this._layers[i]=o;const s=this._getLayerSourceCache(o);if(this._removedLayers[i]&&o.source&&s&&"custom"!==o.type){const e=this._removedLayers[i];delete this._removedLayers[i],e.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",s.pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map),this._updateDrapeFirstLayers()}moveLayer(t,r){if(this._checkLoaded(),this._changed=!0,!this._layers[t])return void this.fire(new e.ErrorEvent(new Error(`The layer '${t}' does not exist in the map's style and cannot be moved.`)));if(t===r)return;const n=this._order.indexOf(t);this._order.splice(n,1);const i=r?this._order.indexOf(r):this._order.length;r&&-1===i?this.fire(new e.ErrorEvent(new Error(`Layer with id "${r}" does not exist on this map.`))):(this._order.splice(i,0,t),this._layerOrderChanged=!0,this._updateDrapeFirstLayers())}removeLayer(t){this._checkLoaded();const r=this._layers[t];if(!r)return void this.fire(new e.ErrorEvent(new Error(`The layer '${t}' does not exist in the map's style and cannot be removed.`)));r.setEventedParent(null),this._updateLayerCount(r,!1);const n=this._order.indexOf(t);this._order.splice(n,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[t]=r,delete this._layers[t],delete this._serializedLayers[t],delete this._updatedLayers[t],delete this._updatedPaintProps[t],r.onRemove&&r.onRemove(this.map),this._updateDrapeFirstLayers()}getLayer(e){return this._layers[e]}hasLayer(e){return e in this._layers}hasLayerType(e){for(const t in this._layers)if(this._layers[t].type===e)return!0;return!1}setLayerZoomRange(t,r,n){this._checkLoaded();const i=this.getLayer(t);i?i.minzoom===r&&i.maxzoom===n||(null!=r&&(i.minzoom=r),null!=n&&(i.maxzoom=n),this._updateLayer(i)):this.fire(new e.ErrorEvent(new Error(`The layer '${t}' does not exist in the map's style and cannot have zoom extent.`)))}setFilter(r,n,i={}){this._checkLoaded();const o=this.getLayer(r);if(o){if(!t(o.filter,n))return null==n?(o.filter=void 0,void this._updateLayer(o)):void(this._validate(e.validateFilter,`layers.${o.id}.filter`,n,{layerType:o.type},i)||(o.filter=e.clone$1(n),this._updateLayer(o)))}else this.fire(new e.ErrorEvent(new Error(`The layer '${r}' does not exist in the map's style and cannot be filtered.`)))}getFilter(t){const r=this.getLayer(t);return r&&e.clone$1(r.filter)}setLayoutProperty(r,n,i,o={}){this._checkLoaded();const a=this.getLayer(r);a?t(a.getLayoutProperty(n),i)||(a.setLayoutProperty(n,i,o),this._updateLayer(a)):this.fire(new e.ErrorEvent(new Error(`The layer '${r}' does not exist in the map's style and cannot be styled.`)))}getLayoutProperty(t,r){const n=this.getLayer(t);if(n)return n.getLayoutProperty(r);this.fire(new e.ErrorEvent(new Error(`The layer '${t}' does not exist in the map's style.`)))}setPaintProperty(r,n,i,o={}){this._checkLoaded();const a=this.getLayer(r);a?t(a.getPaintProperty(n),i)||(a.setPaintProperty(n,i,o)&&this._updateLayer(a),this._changed=!0,this._updatedPaintProps[r]=!0):this.fire(new e.ErrorEvent(new Error(`The layer '${r}' does not exist in the map's style and cannot be styled.`)))}getPaintProperty(e,t){const r=this.getLayer(e);return r&&r.getPaintProperty(t)}setFeatureState(t,r){this._checkLoaded();const n=t.source,i=t.sourceLayer,o=this.getSource(n);if(!o)return void this.fire(new e.ErrorEvent(new Error(`The source '${n}' does not exist in the map's style.`)));const a=o.type;if("geojson"===a&&i)return void this.fire(new e.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter.")));if("vector"===a&&!i)return void this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided.")));const s=this._getSourceCaches(n);for(const e of s)e.setFeatureState(i,t.id,r)}removeFeatureState(t,r){this._checkLoaded();const n=t.source,i=this.getSource(n);if(!i)return void this.fire(new e.ErrorEvent(new Error(`The source '${n}' does not exist in the map's style.`)));const o=i.type,a="vector"===o?t.sourceLayer:void 0;if("vector"===o&&!a)return void this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));if(r&&"string"!=typeof t.id&&"number"!=typeof t.id)return void this.fire(new e.ErrorEvent(new Error("A feature id is required to remove its specific state property.")));const s=this._getSourceCaches(n);for(const e of s)e.removeFeatureState(a,t.id,r)}getFeatureState(t){this._checkLoaded();const r=t.source,n=t.sourceLayer,i=this.getSource(r);if(i){if("vector"!==i.type||n)return void 0===t.id&&this.fire(new e.ErrorEvent(new Error("The feature id parameter must be provided."))),this._getSourceCaches(r)[0].getFeatureState(n,t.id);this.fire(new e.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new e.ErrorEvent(new Error(`The source '${r}' does not exist in the map's style.`)))}getTransition(){return e.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){const t={};for(const e in this._sourceCaches){const r=this._sourceCaches[e].getSource();t[r.id]||(t[r.id]=r.serialize())}return e.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,terrain:this.getTerrain()||void 0,fog:this.stylesheet.fog,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,projection:this.stylesheet.projection,sources:t,layers:this._serializeLayers(this._order)},e=>void 0!==e)}_updateLayer(e){this._updatedLayers[e.id]=!0;const t=this._getLayerSourceCache(e);e.source&&!this._updatedSources[e.source]&&t&&"raster"!==t.getSource().type&&(this._updatedSources[e.source]="reload",t.pause()),this._changed=!0,e.invalidateCompiledFilter()}_flattenAndSortRenderedFeatures(e){const t=e=>"fill-extrusion"===this._layers[e].type,r={},n=[];for(let i=this._order.length-1;i>=0;i--){const o=this._order[i];if(t(o)){r[o]=i;for(const t of e){const e=t[o];if(e)for(const t of e)n.push(t)}}}n.sort((e,t)=>t.intersectionZ-e.intersectionZ);const i=[];for(let o=this._order.length-1;o>=0;o--){const a=this._order[o];if(t(a))for(let e=n.length-1;e>=0;e--){const t=n[e].feature;if(r[t.layer.id]<o)break;i.push(t),n.pop()}else for(const t of e){const e=t[a];if(e)for(const t of e)i.push(t.feature)}}return i}queryRenderedFeatures(t,r,n){r&&r.filter&&this._validate(e.validateFilter,"queryRenderedFeatures.filter",r.filter,null,r);const i={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new e.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(const t of r.layers){const r=this._layers[t];if(!r)return this.fire(new e.ErrorEvent(new Error(`The layer '${t}' does not exist in the map's style and cannot be queried for features.`))),[];i[r.source]=!0}}const o=[];r.availableImages=this._availableImages;const a=r&&r.layers?r.layers.some(e=>{const t=this.getLayer(e);return t&&t.is3D()}):this.has3DLayers(),s=C.createFromScreenPoints(t,n);for(const e in this._sourceCaches){const t=this._sourceCaches[e].getSource().id;r.layers&&!i[t]||o.push(Le(this._sourceCaches[e],this._layers,this._serializedLayers,s,r,n,a,!!this.map._showQueryGeometry))}return this.placement&&o.push(function(e,t,r,n,i,o,a){const s={},l=o.queryRenderedSymbols(n),c=[];for(const e of Object.keys(l).map(Number))c.push(a[e]);c.sort(De);for(const r of c){const n=r.featureIndex.lookupSymbolFeatures(l[r.bucketInstanceId],t,r.bucketIndex,r.sourceLayerIndex,i.filter,i.layers,i.availableImages,e);for(const e in n){const t=s[e]=s[e]||[],i=n[e];i.sort((e,t)=>{const n=r.featureSortOrder;if(n){const r=n.indexOf(e.featureIndex);return n.indexOf(t.featureIndex)-r}return t.featureIndex-e.featureIndex});for(const e of i)t.push(e)}}for(const t in s)s[t].forEach(n=>{const i=n.feature,o=r(e[t]);if(!o)return;const a=o.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=a});return s}(this._layers,this._serializedLayers,this._getLayerSourceCache.bind(this),s.screenGeometry,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(o)}querySourceFeatures(t,r){r&&r.filter&&this._validate(e.validateFilter,"querySourceFeatures.filter",r.filter,null,r);const n=this._getSourceCaches(t);let i=[];for(const e of n)i=i.concat(Ae(e,r));return i}addSourceType(e,t,r){return Jt.getSourceType(e)?r(new Error(`A source type called "${e}" already exists.`)):(Jt.setSourceType(e,t),t.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:e,url:t.workerSourceURL},r):r(null,null))}getLight(){return this.light.getLight()}setLight(e,r={}){this._checkLoaded();const n=this.light.getLight();let i=!1;for(const r in e)if(!t(e[r],n[r])){i=!0;break}if(!i)return;const o=this._setTransitionParameters({duration:300,delay:0});this.light.setLight(e,r),this.light.updateTransitions(o)}getTerrain(){return this.terrain&&1===this.terrain.drapeRenderMode?this.terrain.get():null}setTerrainForDraping(){this.setTerrain({source:"",exaggeration:0},0)}setTerrain(r,n=1){if(this._checkLoaded(),!r)return delete this.terrain,delete this.stylesheet.terrain,this.dispatcher.broadcast("enableTerrain",!1),this._force3DLayerUpdate(),void(this._markersNeedUpdate=!0);let i=r;if(1===n){if("object"==typeof i.source){const t="terrain-dem-src";this.addSource(t,i.source),i=e.clone$1(i),i=e.extend(i,{source:t})}if(this._validate(e.validateTerrain,"terrain",i))return}if(!this.terrain||this.terrain&&n!==this.terrain.drapeRenderMode){if(!i)return;this._createTerrain(i,n)}else{const r=this.terrain,n=r.get();for(const t of Object.keys(e.spec.terrain))!i.hasOwnProperty(t)&&e.spec.terrain[t].default&&(i[t]=e.spec.terrain[t].default);for(const e in i)if(!t(i[e],n[e])){r.set(i),this.stylesheet.terrain=i;const e=this._setTransitionParameters({duration:0});r.updateTransitions(e);break}}this._updateDrapeFirstLayers(),this._markersNeedUpdate=!0}_createFog(e){const t=this.fog=new P(e,this.map.transform);this.stylesheet.fog=e;const r=this._setTransitionParameters({duration:0});t.updateTransitions(r)}_updateMarkersOpacity(){0!==this.map._markers.length&&this.map._requestDomTask(()=>{for(const e of this.map._markers)e._evaluateOpacity()})}getFog(){return this.fog?this.fog.get():null}setFog(e){if(this._checkLoaded(),!e)return delete this.fog,delete this.stylesheet.fog,void(this._markersNeedUpdate=!0);if(this.fog){const r=this.fog,n=r.get();0===Object.keys(e).length&&r.set(e);for(const i in e)if(!t(e[i],n[i])){r.set(e),this.stylesheet.fog=e;const t=this._setTransitionParameters({duration:0});r.updateTransitions(t);break}}else this._createFog(e);this._markersNeedUpdate=!0}_setTransitionParameters(t){return{now:e.exported.now(),transition:e.extend(t,this.stylesheet.transition)}}_updateDrapeFirstLayers(){if(!this.map._optimizeForTerrain||!this.terrain)return;const e=this._order.filter(e=>this.isLayerDraped(this._layers[e])),t=this._order.filter(e=>!this.isLayerDraped(this._layers[e]));this._drapedFirstOrder=[],this._drapedFirstOrder.push(...e),this._drapedFirstOrder.push(...t)}_createTerrain(e,t){const r=this.terrain=new j(e,t);this.stylesheet.terrain=e,this.dispatcher.broadcast("enableTerrain",!this.terrainSetForDrapingOnly()),this._force3DLayerUpdate();const n=this._setTransitionParameters({duration:0});r.updateTransitions(n)}_force3DLayerUpdate(){for(const e in this._layers){const t=this._layers[e];"fill-extrusion"===t.type&&this._updateLayer(t)}}_forceSymbolLayerUpdate(){for(const e in this._layers){const t=this._layers[e];"symbol"===t.type&&this._updateLayer(t)}}_validate(t,r,n,i,o={}){return(!o||!1!==o.validate)&&Vt(this,t.call(e.validateStyle,e.extend({key:r,style:this.serialize(),value:n,styleSpec:e.spec},i)))}_remove(){this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),e.evented.off("pluginStateChange",this._rtlTextPluginCallback);for(const e in this._layers)this._layers[e].setEventedParent(null);for(const e in this._sourceCaches)this._sourceCaches[e].clearTiles(),this._sourceCaches[e].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()}_clearSource(e){const t=this._getSourceCaches(e);for(const e of t)e.clearTiles()}_reloadSource(e){const t=this._getSourceCaches(e);for(const e of t)e.resume(),e.reload()}_reloadSources(){for(const e of this._getSources())e.reload&&e.reload()}_updateSources(e){for(const t in this._sourceCaches)this._sourceCaches[t].update(e)}_generateCollisionBoxes(){for(const e in this._sourceCaches){const t=this._sourceCaches[e];t.resume(),t.reload()}}_updatePlacement(t,r,n,i,o=!1){let a=!1,s=!1;const l={};for(const e of this._order){const r=this._layers[e];if("symbol"!==r.type)continue;if(!l[r.source]){const e=this._getLayerSourceCache(r);if(!e)continue;l[r.source]=e.getRenderableIds(!0).map(t=>e.getTileByID(t)).sort((e,t)=>t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1))}const n=this.crossTileSymbolIndex.addLayer(r,l[r.source],t.center.lng,t.projection);a=a||n}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),o=o||this._layerOrderChanged||0===n,this._layerOrderChanged&&this.fire(new e.Event("neworder")),(o||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(e.exported.now(),t.zoom))&&(this.pauseablePlacement=new Bt(t,this._order,o,r,n,i,this.placement,this.fog&&t.projection.supportsFog?this.fog.state:null),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(e.exported.now()),s=!0),a&&this.pauseablePlacement.placement.setStale()),s||a)for(const e of this._order){const t=this._layers[e];"symbol"===t.type&&this.placement.updateLayerOpacities(t,l[t.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(e.exported.now())}_releaseSymbolFadeTiles(){for(const e in this._sourceCaches)this._sourceCaches[e].releaseSymbolFadeTiles()}getImages(e,t,r){this.imageManager.getImages(t.icons,r),this._updateTilesForChangedImages();const n=e=>{e&&e.setDependencies(t.tileID.key,t.type,t.icons)};n(this._otherSourceCaches[t.source]),n(this._symbolSourceCaches[t.source])}getGlyphs(e,t,r){this.glyphManager.getGlyphs(t.stacks,r)}getResource(t,r,n){return e.makeRequest(r,n)}_getSourceCache(e){return this._otherSourceCaches[e]}_getLayerSourceCache(e){return"symbol"===e.type?this._symbolSourceCaches[e.source]:this._otherSourceCaches[e.source]}_getSourceCaches(e){const t=[];return this._otherSourceCaches[e]&&t.push(this._otherSourceCaches[e]),this._symbolSourceCaches[e]&&t.push(this._symbolSourceCaches[e]),t}_isSourceCacheLoaded(t){const r=this._getSourceCaches(t);return 0===r.length?(this.fire(new e.ErrorEvent(new Error(`There is no source with ID '${t}'`))),!1):r.every(e=>e.loaded())}has3DLayers(){return this._num3DLayers>0}hasSymbolLayers(){return this._numSymbolLayers>0}hasCircleLayers(){return this._numCircleLayers>0}_clearWorkerCaches(){this.dispatcher.broadcast("clearCaches")}destroy(){this._clearWorkerCaches(),this.terrainSetForDrapingOnly()&&(delete this.terrain,delete this.stylesheet.terrain)}}Jt.getSourceType=function(e){return Te[e]},Jt.setSourceType=function(e,t){Te[e]=t},Jt.registerForPluginStateChange=e.registerForPluginStateChange;var Kt="\n#define EPSILON 0.0000001\n#define PI 3.141592653589793\n#define EXTENT 8192.0\n#define HALF_PI PI/2.0\n#define QUARTER_PI PI/4.0\n#define RAD_TO_DEG 180.0/PI\n#define DEG_TO_RAD PI/180.0\n#define GLOBE_RADIUS EXTENT/PI/2.0",Qt="attribute highp vec3 a_pos_3f;uniform lowp mat4 u_matrix;varying highp vec3 v_uv;void main() {const mat3 half_neg_pi_around_x=mat3(1.0,0.0, 0.0,0.0,0.0,-1.0,0.0,1.0, 0.0);v_uv=half_neg_pi_around_x*a_pos_3f;vec4 pos=u_matrix*vec4(a_pos_3f,1.0);gl_Position=pos.xyww;}",er="\n#define ELEVATION_SCALE 7.0\n#define ELEVATION_OFFSET 450.0\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_tl_up;uniform vec3 u_tile_tr_up;uniform vec3 u_tile_br_up;uniform vec3 u_tile_bl_up;uniform float u_tile_up_scale;vec3 elevationVector(vec2 pos) {vec2 uv=pos/EXTENT;vec3 up=normalize(mix(\nmix(u_tile_tl_up,u_tile_tr_up,uv.xxx),mix(u_tile_bl_up,u_tile_br_up,uv.xxx),uv.yyy));return up*u_tile_up_scale;}\n#else\nvec3 elevationVector(vec2 pos) { return vec3(0,0,1); }\n#endif\nconst float skirtOffset=24575.0;vec3 decomposeToPosAndSkirt(vec2 posWithComposedSkirt)\n{float skirt=float(posWithComposedSkirt.x >=skirtOffset);vec2 pos=posWithComposedSkirt-vec2(skirt*skirtOffset,0.0);return vec3(pos,skirt);}\n#ifdef TERRAIN\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nuniform highp sampler2D u_dem;uniform highp sampler2D u_dem_prev;\n#else\nuniform sampler2D u_dem;uniform sampler2D u_dem_prev;\n#endif\nuniform vec4 u_dem_unpack;uniform vec2 u_dem_tl;uniform vec2 u_dem_tl_prev;uniform float u_dem_scale;uniform float u_dem_scale_prev;uniform float u_dem_size;uniform float u_dem_lerp;uniform float u_exaggeration;uniform float u_meter_to_dem;uniform mat4 u_label_plane_matrix_inv;uniform sampler2D u_depth;uniform vec2 u_depth_size_inv;vec4 tileUvToDemSample(vec2 uv,float dem_size,float dem_scale,vec2 dem_tl) {vec2 pos=dem_size*(uv*dem_scale+dem_tl)+1.0;vec2 f=fract(pos);return vec4((pos-f+0.5)/(dem_size+2.0),f);}float decodeElevation(vec4 v) {return dot(vec4(v.xyz*255.0,-1.0),u_dem_unpack);}float currentElevation(vec2 apos) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nvec2 pos=(u_dem_size*(apos/8192.0*u_dem_scale+u_dem_tl)+1.5)/(u_dem_size+2.0);return u_exaggeration*texture2D(u_dem,pos).a;\n#else\nfloat dd=1.0/(u_dem_size+2.0);vec4 r=tileUvToDemSample(apos/8192.0,u_dem_size,u_dem_scale,u_dem_tl);vec2 pos=r.xy;vec2 f=r.zw;float tl=decodeElevation(texture2D(u_dem,pos));\n#ifdef TERRAIN_DEM_NEAREST_FILTER\nreturn u_exaggeration*tl;\n#endif\nfloat tr=decodeElevation(texture2D(u_dem,pos+vec2(dd,0.0)));float bl=decodeElevation(texture2D(u_dem,pos+vec2(0.0,dd)));float br=decodeElevation(texture2D(u_dem,pos+vec2(dd,dd)));return u_exaggeration*mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);\n#endif\n}float prevElevation(vec2 apos) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nvec2 pos=(u_dem_size*(apos/8192.0*u_dem_scale_prev+u_dem_tl_prev)+1.5)/(u_dem_size+2.0);return u_exaggeration*texture2D(u_dem_prev,pos).a;\n#else\nfloat dd=1.0/(u_dem_size+2.0);vec4 r=tileUvToDemSample(apos/8192.0,u_dem_size,u_dem_scale_prev,u_dem_tl_prev);vec2 pos=r.xy;vec2 f=r.zw;float tl=decodeElevation(texture2D(u_dem_prev,pos));float tr=decodeElevation(texture2D(u_dem_prev,pos+vec2(dd,0.0)));float bl=decodeElevation(texture2D(u_dem_prev,pos+vec2(0.0,dd)));float br=decodeElevation(texture2D(u_dem_prev,pos+vec2(dd,dd)));return u_exaggeration*mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);\n#endif\n}
2\n#ifdef TERRAIN_VERTEX_MORPHING\nfloat elevation(vec2 apos) {\n#ifdef ZERO_EXAGGERATION\nreturn 0.0;\n#endif\nfloat nextElevation=currentElevation(apos);float prevElevation=prevElevation(apos);return mix(prevElevation,nextElevation,u_dem_lerp);}\n#else\nfloat elevation(vec2 apos) {\n#ifdef ZERO_EXAGGERATION\nreturn 0.0;\n#endif\nreturn currentElevation(apos);}\n#endif\nhighp float unpack_depth(highp vec4 rgba_depth)\n{const highp vec4 bit_shift=vec4(1.0/(255.0*255.0*255.0),1.0/(255.0*255.0),1.0/255.0,1.0);return dot(rgba_depth,bit_shift)*2.0-1.0;}bool isOccluded(vec4 frag) {vec3 coord=frag.xyz/frag.w;float depth=unpack_depth(texture2D(u_depth,(coord.xy+1.0)*0.5));return coord.z > depth+0.0005;}float occlusionFade(vec4 frag) {vec3 coord=frag.xyz/frag.w;vec3 df=vec3(5.0*u_depth_size_inv,0.0);vec2 uv=0.5*coord.xy+0.5;vec4 depth=vec4(\nunpack_depth(texture2D(u_depth,uv-df.xz)),unpack_depth(texture2D(u_depth,uv+df.xz)),unpack_depth(texture2D(u_depth,uv-df.zy)),unpack_depth(texture2D(u_depth,uv+df.zy))\n);return dot(vec4(0.25),vec4(1.0)-clamp(300.0*(vec4(coord.z-0.001)-depth),0.0,1.0));}vec4 fourSample(vec2 pos,vec2 off) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nfloat tl=texture2D(u_dem,pos).a;float tr=texture2D(u_dem,pos+vec2(off.x,0.0)).a;float bl=texture2D(u_dem,pos+vec2(0.0,off.y)).a;float br=texture2D(u_dem,pos+off).a;\n#else\nvec4 demtl=vec4(texture2D(u_dem,pos).xyz*255.0,-1.0);float tl=dot(demtl,u_dem_unpack);vec4 demtr=vec4(texture2D(u_dem,pos+vec2(off.x,0.0)).xyz*255.0,-1.0);float tr=dot(demtr,u_dem_unpack);vec4 dembl=vec4(texture2D(u_dem,pos+vec2(0.0,off.y)).xyz*255.0,-1.0);float bl=dot(dembl,u_dem_unpack);vec4 dembr=vec4(texture2D(u_dem,pos+off).xyz*255.0,-1.0);float br=dot(dembr,u_dem_unpack);\n#endif\nreturn vec4(tl,tr,bl,br);}float flatElevation(vec2 pack) {vec2 apos=floor(pack/8.0);vec2 span=10.0*(pack-apos*8.0);vec2 uvTex=(apos-vec2(1.0,1.0))/8190.0;float size=u_dem_size+2.0;float dd=1.0/size;vec2 pos=u_dem_size*(uvTex*u_dem_scale+u_dem_tl)+1.0;vec2 f=fract(pos);pos=(pos-f+0.5)*dd;vec4 h=fourSample(pos,vec2(dd));float z=mix(mix(h.x,h.y,f.x),mix(h.z,h.w,f.x),f.y);vec2 w=floor(0.5*(span*u_meter_to_dem-1.0));vec2 d=dd*w;h=fourSample(pos-d,2.0*d+vec2(dd));vec4 diff=abs(h.xzxy-h.ywzw);vec2 slope=min(vec2(0.25),u_meter_to_dem*0.5*(diff.xz+diff.yw)/(2.0*w+vec2(1.0)));vec2 fix=slope*span;float base=z+max(fix.x,fix.y);return u_exaggeration*base;}float elevationFromUint16(float word) {return u_exaggeration*(word/ELEVATION_SCALE-ELEVATION_OFFSET);}\n#else\nfloat elevation(vec2 pos) { return 0.0; }bool isOccluded(vec4 frag) { return false; }float occlusionFade(vec4 frag) { return 1.0; }\n#endif",tr="#ifdef FOG\nuniform mediump vec4 u_fog_color;uniform mediump vec2 u_fog_range;uniform mediump float u_fog_horizon_blend;uniform mediump mat4 u_fog_matrix;varying vec3 v_fog_pos;float fog_range(float depth) {return (depth-u_fog_range[0])/(u_fog_range[1]-u_fog_range[0]);}float fog_horizon_blending(vec3 camera_dir) {float t=max(0.0,camera_dir.z/u_fog_horizon_blend);return u_fog_color.a*exp(-3.0*t*t);}float fog_opacity(float t) {const float decay=6.0;float falloff=1.0-min(1.0,exp(-decay*t));falloff*=falloff*falloff;return u_fog_color.a*min(1.0,1.00747*falloff);}vec3 fog_position(vec3 pos) {return (u_fog_matrix*vec4(pos,1.0)).xyz;}vec3 fog_position(vec2 pos) {return fog_position(vec3(pos,0.0));}float fog(vec3 pos) {float depth=length(pos);float opacity=fog_opacity(fog_range(depth));return opacity*fog_horizon_blending(pos/depth);}\n#endif",rr="#ifdef FOG\nuniform mediump vec4 u_fog_color;uniform mediump vec2 u_fog_range;uniform mediump float u_fog_horizon_blend;uniform mediump float u_fog_temporal_offset;varying vec3 v_fog_pos;uniform highp vec3 u_frustum_tl;uniform highp vec3 u_frustum_tr;uniform highp vec3 u_frustum_br;uniform highp vec3 u_frustum_bl;uniform highp vec3 u_globe_pos;uniform highp float u_globe_radius;uniform highp vec2 u_viewport;uniform float u_globe_transition;uniform int u_is_globe;float fog_range(float depth) {return (depth-u_fog_range[0])/(u_fog_range[1]-u_fog_range[0]);}float fog_horizon_blending(vec3 camera_dir) {float t=max(0.0,camera_dir.z/u_fog_horizon_blend);return u_fog_color.a*exp(-3.0*t*t);}float fog_opacity(float t) {const float decay=6.0;float falloff=1.0-min(1.0,exp(-decay*t));falloff*=falloff*falloff;return u_fog_color.a*min(1.0,1.00747*falloff);}float globe_glow_progress() {highp vec2 uv=gl_FragCoord.xy/u_viewport;
2highp vec3 ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,uv.x),mix(u_frustum_bl,u_frustum_br,uv.x),1.0-uv.y);highp vec3 dir=normalize(ray_dir);highp vec3 closest_point=dot(u_globe_pos,dir)*dir;highp float sdf=length(closest_point-u_globe_pos)/u_globe_radius;return sdf+PI*0.5;}float fog_opacity(vec3 pos) {float depth=length(pos);return fog_opacity(fog_range(depth));}vec3 fog_apply(vec3 color,vec3 pos) {float depth=length(pos);float opacity;if (u_is_globe==1) {float glow_progress=globe_glow_progress();float t=mix(glow_progress,depth,u_globe_transition);opacity=fog_opacity(fog_range(t));} else {opacity=fog_opacity(fog_range(depth));opacity*=fog_horizon_blending(pos/depth);}return mix(color,u_fog_color.rgb,opacity);}vec4 fog_apply_from_vert(vec4 color,float fog_opac) {float alpha=EPSILON+color.a;color.rgb=mix(color.rgb/alpha,u_fog_color.rgb,fog_opac)*alpha;return color;}vec3 fog_apply_sky_gradient(vec3 camera_ray,vec3 sky_color) {float horizon_blend=fog_horizon_blending(normalize(camera_ray));return mix(sky_color,u_fog_color.rgb,horizon_blend);}vec4 fog_apply_premultiplied(vec4 color,vec3 pos) {float alpha=EPSILON+color.a;color.rgb=fog_apply(color.rgb/alpha,pos)*alpha;return color;}vec3 fog_dither(vec3 color) {vec2 dither_seed=gl_FragCoord.xy+u_fog_temporal_offset;return dither(color,dither_seed);}vec4 fog_dither(vec4 color) {return vec4(fog_dither(color.rgb),color.a);}\n#endif";let nr={},ir={};const or=[];ur(Kt,or),ur(er,or),ur(tr,or),ur(rr,or),nr=dr("",er),ir=dr(rr,tr);const ar=dr("\n#if __VERSION__ >=300\n#define varying in\n#define gl_FragColor glFragColor\n#define texture2D texture\n#define textureCube texture\nout vec4 glFragColor;\n#endif\nhighp vec3 hash(highp vec2 p) {highp vec3 p3=fract(p.xyx*vec3(443.8975,397.2973,491.1871));p3+=dot(p3,p3.yxz+19.19);return fract((p3.xxy+p3.yzz)*p3.zyx);}vec3 dither(vec3 color,highp vec2 seed) {vec3 rnd=hash(seed)+hash(seed+0.59374)-0.5;return color+rnd/255.0;}highp float unpack_depth(highp vec4 rgba_depth)\n{const highp vec4 bit_shift=vec4(1.0/(255.0*255.0*255.0),1.0/(255.0*255.0),1.0/255.0,1.0);return dot(rgba_depth,bit_shift)*2.0-1.0;}highp vec4 pack_depth(highp float ndc_z) {highp float depth=ndc_z*0.5+0.5;const highp vec4 bit_shift=vec4(255.0*255.0*255.0,255.0*255.0,255.0,1.0);const highp vec4 bit_mask =vec4(0.0,1.0/255.0,1.0/255.0,1.0/255.0);highp vec4 res=fract(depth*bit_shift);res-=res.xxyz*bit_mask;return res;}","\n#if __VERSION__ >=300\n#define attribute in\n#define varying out\n#define texture2D texture\n#endif\nfloat wrap(float n,float min,float max) {float d=max-min;float w=mod(mod(n-min,d)+d,d)+min;return (w==min) ? max : w;}\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 mercator_tile_position(mat4 matrix,vec2 tile_anchor,vec3 tile_id,vec2 mercator_center) {\n#ifndef PROJECTED_POS_ON_VIEWPORT\nfloat tiles=tile_id.z;vec2 mercator=(tile_anchor/EXTENT+tile_id.xy)/tiles;mercator-=mercator_center;mercator.x=wrap(mercator.x,-0.5,0.5);vec4 mercator_tile=vec4(mercator.xy*EXTENT,EXTENT/(2.0*PI),1.0);mercator_tile=matrix*mercator_tile;return mercator_tile.xyz;\n#else\nreturn vec3(0.0);\n#endif\n}vec3 mix_globe_mercator(vec3 globe,vec3 mercator,float t) {return mix(globe,mercator,t);}mat3 globe_mercator_surface_vectors(vec3 pos_normal,vec3 up_dir,float zoom_transition) {vec3 normal=zoom_transition==0.0 ? pos_normal : normalize(mix(pos_normal,up_dir,zoom_transition));vec3 xAxis=normalize(vec3(normal.z,0.0,-normal.x));vec3 yAxis=normalize(cross(normal,xAxis));return mat3(xAxis,yAxis,normal);}\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(\nunpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);
2return (tile_units_to_pixels*pos+offset)/pattern_size;}const vec4 AWAY=vec4(-1000.0,-1000.0,-1000.0,1);//Normalized device coordinate that is not rendered."),sr=Kt,lr="\n#ifdef GL_ES\nprecision mediump float;\n#else\n\n#if !defined(lowp)\n#define lowp\n#endif\n\n#if !defined(mediump)\n#define mediump\n#endif\n\n#if !defined(highp)\n#define highp\n#endif\n\n#endif";var cr={background:dr("uniform vec4 u_color;uniform float u_opacity;\n#ifdef LIGHTING_3D_MODE\nvarying vec4 v_color;\n#endif\nvoid main() {vec4 out_color;\n#ifdef LIGHTING_3D_MODE\nout_color=v_color;\n#else\nout_color=u_color;\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#ifdef LIGHTING_3D_MODE\nuniform vec4 u_color;varying vec4 v_color;\n#endif\nvoid main() {gl_Position=u_matrix*vec4(a_pos,0,1);\n#ifdef LIGHTING_3D_MODE\nv_color=apply_lighting(u_color);\n#endif\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),backgroundPattern:dr("uniform vec2 u_pattern_tl;uniform vec2 u_pattern_br;uniform vec2 u_texsize;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos;void main() {vec2 imagecoord=mod(v_pos,1.0);vec2 pos=mix(u_pattern_tl/u_texsize,u_pattern_br/u_texsize,imagecoord);vec4 out_color=texture2D(u_image,pos);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_pattern_size,u_tile_units_to_pixels,a_pos);\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),circle:dr("varying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(\nantialiased_blur,0.0,extrude_length-radius/(radius+stroke_width)\n);vec4 out_color=mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_apply_premultiplied(out_color,v_fog_pos);\n#endif\ngl_FragColor=out_color*(v_visibility*opacity_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","#define NUM_VISIBILITY_RINGS 2\n#define INV_SQRT2 0.70710678\n#define ELEVATION_BIAS 0.0001\n#define NUM_SAMPLES_PER_RING 16\nuniform mat4 u_matrix;uniform mat2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;\n#endif\nvarying vec3 v_data;varying float v_visibility;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvec2 calc_offset(vec2 extrusion,float radius,float stroke_width, float view_scale) {return extrusion*(radius+stroke_width)*u_extrude_scale*v
2iew_scale;}float cantilevered_elevation(vec2 pos,float radius,float stroke_width,float view_scale) {vec2 c1=pos+calc_offset(vec2(-1,-1),radius,stroke_width,view_scale);vec2 c2=pos+calc_offset(vec2(1,-1),radius,stroke_width,view_scale);vec2 c3=pos+calc_offset(vec2(1,1),radius,stroke_width,view_scale);vec2 c4=pos+calc_offset(vec2(-1,1),radius,stroke_width,view_scale);float h1=elevation(c1)+ELEVATION_BIAS;float h2=elevation(c2)+ELEVATION_BIAS;float h3=elevation(c3)+ELEVATION_BIAS;float h4=elevation(c4)+ELEVATION_BIAS;return max(h4,max(h3,max(h1,h2)));}float circle_elevation(vec2 pos) {\n#if defined(TERRAIN)\nreturn elevation(pos)+ELEVATION_BIAS;\n#else\nreturn 0.0;\n#endif\n}vec4 project_vertex(vec2 extrusion,vec4 world_center,vec4 projected_center,float radius,float stroke_width, float view_scale,mat3 surface_vectors) {vec2 sample_offset=calc_offset(extrusion,radius,stroke_width,view_scale);\n#ifdef PITCH_WITH_MAP\n#ifdef PROJECTION_GLOBE_VIEW\nreturn u_matrix*( world_center+vec4(sample_offset.x*surface_vectors[0]+sample_offset.y*surface_vectors[1],0) );\n#else\nreturn u_matrix*( world_center+vec4(sample_offset,0,0) );\n#endif\n#else\nreturn projected_center+vec4(sample_offset,0,0);\n#endif\n}float get_sample_step() {\n#ifdef PITCH_WITH_MAP\nreturn 2.0*PI/float(NUM_SAMPLES_PER_RING);\n#else\nreturn PI/float(NUM_SAMPLES_PER_RING);\n#endif\n}void main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);vec4 world_center;mat3 surface_vectors;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 pos_normal_3=a_pos_normal_3/16384.0;surface_vectors=globe_mercator_surface_vectors(pos_normal_3,u_up_dir,u_zoom_transition);vec3 surface_extrusion=extrude.x*surface_vectors[0]+extrude.y*surface_vectors[1];vec3 globe_elevation=elevationVector(circle_center)*circle_elevation(circle_center);vec3 globe_pos=a_pos_3+surface_extrusion+globe_elevation;vec3 mercator_elevation=u_up_dir*u_tile_up_scale*circle_elevation(circle_center);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,circle_center,u_tile_id,u_merc_center)+surface_extrusion+mercator_elevation;vec3 pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);world_center=vec4(pos,1);\n#else \nsurface_vectors=mat3(1.0);float height=circle_elevation(circle_center);world_center=vec4(circle_center,height,1);\n#endif\nvec4 projected_center=u_matrix*world_center;float view_scale=0.0;\n#ifdef PITCH_WITH_MAP\n#ifdef SCALE_WITH_MAP\nview_scale=1.0;\n#else\nview_scale=projected_center.w/u_camera_to_center_distance;\n#endif\n#else\n#ifdef SCALE_WITH_MAP\nview_scale=u_camera_to_center_distance;\n#else\nview_scale=projected_center.w;\n#endif\n#endif\ngl_Position=project_vertex(extrude,world_center,projected_center,radius,stroke_width,view_scale,surface_vectors);float visibility=0.0;\n#ifdef TERRAIN\nfloat step=get_sample_step();vec4 occlusion_world_center;vec4 occlusion_projected_center;\n#ifdef PITCH_WITH_MAP\nfloat cantilevered_height=cantilevered_elevation(circle_center,radius,stroke_width,view_scale);occlusion_world_center=vec4(circle_center,cantilevered_height,1);occlusion_projected_center=u_matrix*occlusion_world_center;\n#else\nocclusion_world_center=world_center;occlusion_projected_center=projected_center;\n#endif\nfor(int ring=0; ring < NUM_VISIBILITY_RINGS; ring++) {float scale=(float(ring)+1.0)/float(NUM_VISIBILITY_RINGS);for(int i=0; i < NUM_SAMPLES_PER_RING; i++) {vec2 extrusion=vec2(cos(step*float(i)),-sin(step*float(i)))*scale;vec4 frag_pos=project_vertex(extrusion,occlusion_world_center,occlusion_projected_center,radius,stroke_width,view_scale,surface_vectors);visibility+=float(!isOccluded(frag_pos));}}visibility/=float(NUM_VISIBILITY_RINGS)*float(NUM_SAMPLES_PER_RING);\n#else\nvisibility=1.0;\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nvisibility=1.0;\n#endif\nv_visibility=visibility;lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);\n#ifdef FOG\nv_fog_pos=fog_position(world_center.xyz);\n#endif\n}"),clippingMask:dr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),heatmap:dr("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef FOG\nif (u_is_globe==0) {gl_FragColor.r*=pow(1.0-fog_opacity(v_fog_pos),2.0);}\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;\n#endif\nvarying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec2 tilePos=floor(a_pos*0.5);vec3 pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 pos_normal_3=a_pos_normal_3/16384.0;mat3 surface_vectors=globe_mercator_surface_vectors(pos_normal_3,u_up_dir,u_zoom_transition);vec3 surface_extrusion=extrude.x*surface_vectors[0]+extrude.y*surface_vectors[1];vec3 globe_elevation=elevationVector(tilePos)*elevation(tilePos);vec3 globe_pos=a_pos_3+surface_extrusion+globe_elevation;vec3 mercator_elevation=u_up_dir*u_tile_up_scale*elevation(tilePos);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,tilePos,u_tile_id,u_merc_center)+surface_extrusion+mercator_elevation;pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#else\npos=vec3(tilePos+extrude,elevation(tilePos));\n#endif\ngl_Position=u_matrix*vec4(pos,1);\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),heatmapTexture:dr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=vec4(a_pos,0,1);v_pos=a_pos*0.5+0.5;}"),collisionBox:dr("varying float v_placed;varying float v_notUsed;void main() {vec4 red =vec4(1.0,0.0,0.0,1.0);vec4 blue=vec4(0.0,0.0,1.0,0.5);gl_FragColor =mix(red,blue,step(0.5,v_placed))*0.5;gl_FragColor*=mix(1.0,0.1,step(0.5,v_notUsed));}","attribute vec3 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;attribute float a_size_scale;attribute vec2 a_padding;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_pos+elevationVector(a_anchor_pos)*elevation(a_anchor_pos),1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(\n0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,1.5);gl_Position=projectedPoint;gl_Position.xy+=(a_extrude*a_size_scale+a_shift+a_padding)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:dr("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos_2f;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos_2f;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(\nmix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(\n0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),debug:dr("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;\n#endif\nvarying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {float h=elevation(a_pos);v_uv=a_pos/8192.0;\n#ifdef PROJECTION_GLOBE_VIEW\ngl_Position=u_matrix*vec4(a_pos_3+elevationVector(a_pos)*h,1
2);\n#else\ngl_Position=u_matrix*vec4(a_pos*u_overlay_scale,h,1);\n#endif\n}"),fill:dr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\nvec4 out_color=color;\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillOutline:dr("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);vec4 out_color=outline_color;\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillOutlinePattern:dr("uniform vec2 u_texsize;uniform sampler2D u_image;varying vec2 v_pos;varying vec2 v_pos_world;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec2 imagecoord=mod(v_pos,1.0);vec2 pos=mix(pattern_tl/u_texsize,pattern_br/u_texsize,imagecoord);float dist=length(v_pos_world-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);vec4 out_color=texture2D(u_image,pos);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos;varying vec2 v_pos_world;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size=(pattern_br-pattern_tl)/pixel_ratio;v_pos=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,display_size,u_tile_units_to_pixels,a_pos);v_pos_world=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillPattern:dr("uniform vec2 u_texsize;uniform sampler2D u_image;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec2 imagecoord=mod(v_pos,1.0);vec2 pos=mix(pattern_tl/u_texsize,pattern_br/u_texsize,imagecoord);vec4 out_color=texture2D(u_image,pos);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec2 display_size=(pattern_br-pattern_tl)/pixel_ratio;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,display_size,u_tile_units_to_pixels,a_pos);\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),fillExtrusion:dr("varying vec4 v_color;\n#ifdef RENDER_SHADOWS\nvarying highp vec4 v_pos_light_view_0;varying highp vec4 v_pos_light_view_1;varying float v_depth;\n#endif\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\n#ifdef ZERO_ROOF_RADIUS\nvarying vec4 v_roof_color;\n#endif\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvarying highp vec3 v_normal;\n#endif\nvoid main() {\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvec3 normal=v_normal;\n#endif\nfloat z;vec4 color;\n#ifdef ZERO_ROOF_RADIUS\nz=float(normal.z > 0.00001);color=mix(v_color,v_roof_color,z);\n#else\ncolor=v_color;\n#endif\n#ifdef FAUX_AO\nfloat intensity=u_ao[0];float h=max(0.0,v_ao.z);float h_floors=h/u_ao[1];float y_shade=1.0-0.9*intensity*min(v_ao.y,1.0);float shade=(1.0-0.08*intensity)*(y_shade+(1.0-y_shade)*(1.0-pow(1.0-min(h_floors/16.0,1.0
2),16.0)))+0.08*intensity*min(h_floors/160.0,1.0);float concave=v_ao.x*v_ao.x;\n#ifdef ZERO_ROOF_RADIUS\nconcave*=(1.0-z);\n#endif\nfloat x_shade=mix(1.0,mix(0.6,0.75,min(h_floors/30.0,1.0)),intensity)+0.1*intensity*min(h,1.0);shade*=mix(1.0,x_shade*x_shade*x_shade,concave);color.rgb=color.rgb*shade;\n#endif\n#ifdef RENDER_SHADOWS\n#ifdef ZERO_ROOF_RADIUS\nnormal=mix(normal,vec3(0.0,0.0,1.0),z);\n#endif\ncolor.xyz=shadowed_color_normal(color.xyz,normalize(normal),v_pos_light_view_0,v_pos_light_view_1,v_depth);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_FragColor=color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform float u_edge_radius;attribute vec4 a_pos_normal_ed;attribute vec2 a_centroid_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;uniform float u_height_lift;\n#endif\nvarying vec4 v_color;\n#ifdef RENDER_SHADOWS\nuniform mat4 u_light_matrix_0;uniform mat4 u_light_matrix_1;varying highp vec4 v_pos_light_view_0;varying highp vec4 v_pos_light_view_1;varying float v_depth;\n#endif\n#ifdef ZERO_ROOF_RADIUS\nvarying vec4 v_roof_color;\n#endif\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nvarying highp vec3 v_normal;\n#endif\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec4 pos_nx=floor(a_pos_normal_ed*0.5);vec4 top_up_ny_start=a_pos_normal_ed-2.0*pos_nx;vec3 top_up_ny=top_up_ny_start.xyz;float x_normal=pos_nx.z/8192.0;vec3 normal=top_up_ny.y==1.0 ? vec3(0.0,0.0,1.0) : normalize(vec3(x_normal,(2.0*top_up_ny.z-1.0)*(1.0-abs(x_normal)),0.0));\n#if defined(ZERO_ROOF_RADIUS) || defined(RENDER_SHADOWS)\nv_normal=normal;\n#endif\nbase=max(0.0,base);height=max(0.0,top_up_ny.y==0.0 && top_up_ny.x==1.0 ? height-u_edge_radius : height);float t=top_up_ny.x;vec2 centroid_pos=vec2(0.0);\n#if defined(HAS_CENTROID) || defined(TERRAIN)\ncentroid_pos=a_centroid_pos;\n#endif\nfloat ele=0.0;float h=0.0;float c_ele;vec3 pos;\n#ifdef TERRAIN\nbool flat_roof=centroid_pos.x !=0.0 && t > 0.0;ele=elevation(pos_nx.xy);c_ele=flat_roof ? centroid_pos.y==0.0 ? elevationFromUint16(centroid_pos.x) : flatElevation(centroid_pos) : ele;h=flat_roof ? max(c_ele+height,ele+base+2.0) : ele+(t > 0.0 ? height : base==0.0 ?-5.0 : base);pos=vec3(pos_nx.xy,h);\n#else\nh=t > 0.0 ? height : base;pos=vec3(pos_nx.xy,h);\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nfloat lift=float((t+base) > 0.0)*u_height_lift;h+=lift;vec3 globe_normal=normalize(mix(a_pos_normal_3/16384.0,u_up_dir,u_zoom_transition));vec3 globe_pos=a_pos_3+globe_normal*(u_tile_up_scale*h);vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,pos.xy,u_tile_id,u_merc_center)+u_up_dir*u_tile_up_scale*pos.z;pos=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#endif\nfloat hidden=float(centroid_pos.x==0.0 && centroid_pos.y==1.0);gl_Position=mix(u_matrix*vec4(pos,1),AWAY,hidden);\n#ifdef RENDER_SHADOWS\nv_pos_light_view_0=u_light_matrix_0*vec4(pos,1);v_pos_light_view_1=u_light_matrix_1*vec4(pos,1);v_depth=gl_Position.w;\n#endif\nfloat NdotL=0.0;float colorvalue=0.0;\n#ifdef LIGHTING_3D_MODE\nNdotL=calculate_NdotL(normal);\n#else\ncolorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;NdotL=clamp(dot(normal,u_lightpos),0.0,1.0);NdotL=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),NdotL);\n#endif\nif (normal.y !=0.0) {float r=0.84;\n#ifndef LIGHTING_3D_MODE\nr=mix(0.7,0.98,1.0-u_lightintensity);
2\n#endif\nNdotL*=(\n(1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),r,1.0)));}v_color=vec4(0.0,0.0,0.0,1.0);\n#ifdef FAUX_AO\nfloat concave=pos_nx.w-floor(pos_nx.w*0.5)*2.0;float start=top_up_ny_start.w;float y_ground=1.0-clamp(t+base,0.0,1.0);float top_height=height;\n#ifdef TERRAIN\ntop_height=mix(max(c_ele+height,ele+base+2.0),ele+height,float(centroid_pos.x==0.0))-ele;y_ground+=y_ground*5.0/max(3.0,top_height);\n#endif\nv_ao=vec3(mix(concave,-concave,start),y_ground,h-ele);NdotL*=(1.0+0.05*(1.0-top_up_ny.y)*u_ao[0]);\n#ifdef PROJECTION_GLOBE_VIEW\ntop_height+=u_height_lift;\n#endif\ngl_Position.z-=(0.0000006*(min(top_height,500.)+2.0*min(base,500.0)+60.0*concave+3.0*start))*gl_Position.w;\n#endif\n#ifdef LIGHTING_3D_MODE\nv_color=apply_lighting(color,NdotL);\n#else\nv_color.rgb+=clamp(color.rgb*NdotL*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));\n#endif\nv_color*=u_opacity;\n#ifdef ZERO_ROOF_RADIUS\nv_roof_color=vec4(0.0,0.0,0.0,1.0);\n#ifdef LIGHTING_3D_MODE\nv_roof_color=apply_lighting(color,calculate_NdotL(vec3(0.0,0.0,1.0)));\n#else\nfloat roofNdotL=clamp(u_lightpos.z,0.0,1.0);roofNdotL=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),roofNdotL);v_roof_color.rgb+=clamp(color.rgb*roofNdotL*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));\n#endif\nv_roof_color*=u_opacity;\n#endif\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),fillExtrusionPattern:dr("uniform vec2 u_texsize;uniform sampler2D u_image;\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\n#ifdef LIGHTING_3D_MODE\nvarying float v_NdotL;\n#endif\nvarying vec2 v_pos;varying vec4 v_lighting;uniform lowp float u_opacity;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec2 imagecoord=mod(v_pos,1.0);vec2 pos=mix(pattern_tl/u_texsize,pattern_br/u_texsize,imagecoord);vec4 out_color=texture2D(u_image,pos);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color,v_NdotL)*u_opacity;\n#else\nout_color=out_color*v_lighting;\n#endif\n#ifdef FAUX_AO\nfloat intensity=u_ao[0];float h=max(0.0,v_ao.z);float h_floors=h/u_ao[1];float y_shade=1.0-0.9*intensity*min(v_ao.y,1.0);float shade=(1.0-0.08*intensity)*(y_shade+(1.0-y_shade)*(1.0-pow(1.0-min(h_floors/16.0,1.0),16.0)))+0.08*intensity*min(h_floors/160.0,1.0);float concave=v_ao.x*v_ao.x;float x_shade=mix(1.0,mix(0.6,0.75,min(h_floors/30.0,1.0)),intensity)+0.1*intensity*min(h,1.0);shade*=mix(1.0,x_shade*x_shade*x_shade,concave);out_color.rgb=out_color.rgb*shade;\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\ngl_FragColor=out_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform float u_tile_units_to_pixels;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec4 a_pos_normal_ed;attribute vec2 a_centroid_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_pos_3;attribute vec3 a_pos_normal_3;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_tile_id;uniform float u_zoom_transition;uniform vec3 u_up_dir;uniform float u_height_lift;\n#endif\nvarying vec2 v_pos;varying vec4 v_lighting;\n#ifdef FAUX_AO\nuniform lowp vec2 u_ao;varying vec3 v_ao;\n#endif\n#ifdef LIGHTING_3D_MODE\nvarying float v_NdotL;\n#endif\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec4 pos_nx=floor(a_pos_normal_ed*0.5);mediump vec4 top_up_ny_start=a_pos_normal_ed-2.0*pos_nx;mediump vec3 top_up_ny=top_up_ny_start.xyz;float x_normal=pos_nx.z/8192.0;vec3 normal=top_up_ny.y==1.0 ? vec3(0.0,0.0,1.0) : normalize(vec3(x_normal,(2.0*top_up_ny.z-1.0)*(1.0-abs(x_normal)),0.0));float edgedistance=a_pos_normal_ed.w;vec2 display_size=(pattern_br-pattern_tl)/pixel_ratio;
2base=max(0.0,base);height=max(0.0,height);float t=top_up_ny.x;float z=t > 0.0 ? height : base;vec2 centroid_pos=vec2(0.0);\n#if defined(HAS_CENTROID) || defined(TERRAIN)\ncentroid_pos=a_centroid_pos;\n#endif\nfloat ele=0.0;float h=z;vec3 p;float c_ele;\n#ifdef TERRAIN\nbool flat_roof=centroid_pos.x !=0.0 && t > 0.0;ele=elevation(pos_nx.xy);c_ele=flat_roof ? centroid_pos.y==0.0 ? elevationFromUint16(centroid_pos.x) : flatElevation(centroid_pos) : ele;h=flat_roof ? max(c_ele+height,ele+base+2.0) : ele+(t > 0.0 ? height : base==0.0 ?-5.0 : base);p=vec3(pos_nx.xy,h);\n#else\np=vec3(pos_nx.xy,z);\n#endif\n#ifdef PROJECTION_GLOBE_VIEW\nfloat lift=float((t+base) > 0.0)*u_height_lift;h+=lift;vec3 globe_normal=normalize(mix(a_pos_normal_3/16384.0,u_up_dir,u_zoom_transition));vec3 globe_pos=a_pos_3+globe_normal*(u_tile_up_scale*(p.z+lift));vec3 merc_pos=mercator_tile_position(u_inv_rot_matrix,p.xy,u_tile_id,u_merc_center)+u_up_dir*u_tile_up_scale*p.z;p=mix_globe_mercator(globe_pos,merc_pos,u_zoom_transition);\n#endif\nfloat hidden=float(centroid_pos.x==0.0 && centroid_pos.y==1.0);gl_Position=mix(u_matrix*vec4(p,1),AWAY,hidden);vec2 pos=normal.z==1.0\n? pos_nx.xy\n: vec2(edgedistance,z*u_height_factor);v_pos=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,display_size,u_tile_units_to_pixels,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float NdotL=0.0;\n#ifdef LIGHTING_3D_MODE\nNdotL=calculate_NdotL(normal);\n#else\nNdotL=clamp(dot(normal,u_lightpos),0.0,1.0);NdotL=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),NdotL);\n#endif\nif (normal.y !=0.0) {float r=0.84;\n#ifndef LIGHTING_3D_MODE\nr=mix(0.7,0.98,1.0-u_lightintensity);\n#endif\nNdotL*=(\n(1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),r,1.0)));}\n#ifdef FAUX_AO\nfloat concave=pos_nx.w-floor(pos_nx.w*0.5)*2.0;float start=top_up_ny_start.w;float y_ground=1.0-clamp(t+base,0.0,1.0);float top_height=height;\n#ifdef TERRAIN\ntop_height=mix(max(c_ele+height,ele+base+2.0),ele+height,float(ce
2ntroid_pos.x==0.0))-ele;y_ground+=y_ground*5.0/max(3.0,top_height);\n#endif\nv_ao=vec3(mix(concave,-concave,start),y_ground,h-ele);NdotL*=(1.0+0.05*(1.0-top_up_ny.y)*u_ao[0]);\n#ifdef PROJECTION_GLOBE_VIEW\ntop_height+=u_height_lift;\n#endif\ngl_Position.z-=(0.0000006*(min(top_height,500.)+2.0*min(base,500.0)+60.0*concave+3.0*start))*gl_Position.w;\n#endif\n#ifdef LIGHTING_3D_MODE\nv_NdotL=NdotL;\n#else\nv_lighting.rgb+=clamp(NdotL*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;\n#endif \n#ifdef FOG\nv_fog_pos=fog_position(p);\n#endif\n}"),hillshadePrepare:dr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord) {\n#ifdef TERRAIN_DEM_FLOAT_FORMAT\nreturn texture2D(u_image,coord).a/4.0;\n#else\nvec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;\n#endif\n}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y));float b=getElevation(v_pos+vec2(0,-epsilon.y));float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y));float d=getElevation(v_pos+vec2(-epsilon.x,0));float e=getElevation(v_pos+vec2(epsilon.x,0));float f=getElevation(v_pos+vec2(-epsilon.x,epsilon.y));float g=getElevation(v_pos+vec2(0,epsilon.y));float h=getElevation(v_pos+vec2(epsilon.x,epsilon.y));float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2(\n(c+e+e+h)-(a+d+d+f),(f+g+g+h)-(a+b+b+c)\n)/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(\nderiv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:dr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef LIGHTING_3D_MODE\ngl_FragColor=apply_lighting(gl_FragColor);\n#endif\n#ifdef FOG\ngl_FragColor=fog_dither(fog_apply_premultiplied(gl_FragColor,v_fog_pos));\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),line:dr("uniform lowp float u_device_pixel_ratio;uniform float u_alpha_discard_threshold;uniform highp vec2 u_trim_offset;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec4 v_uv;\n#ifdef RENDER_LINE_DASH\nuniform sampler2D u_dash_image;varying vec2 v_tex;\n#endif\n#ifdef RENDER_LINE_GRADIENT\nuniform sampler2D u_gradient_image;\n#endif\nuniform float u_border_width;uniform vec4 u_border_color;float luminance(vec3 c) {return (c.r+c.r+c.b+c.g+c.g+c.g)*0.1667;}\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 dash\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nfloat linearstep(float edge0,float edge1,float x) {return
2clamp((x-edge0)/(edge1-edge0),0.0,1.0);}void main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize lowp vec4 dash\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);\n#ifdef RENDER_LINE_DASH\nfloat sdfdist=texture2D(u_dash_image,v_tex).a;float sdfgamma=1.0/(2.0*u_device_pixel_ratio)/dash.z;alpha*=linearstep(0.5-sdfgamma/floorwidth,0.5+sdfgamma/floorwidth,sdfdist);\n#endif\nhighp vec4 out_color;\n#ifdef RENDER_LINE_GRADIENT\nout_color=texture2D(u_gradient_image,v_uv.xy);\n#else\nout_color=color;\n#endif\nfloat trimmed=1.0;\n#ifdef RENDER_LINE_TRIM_OFFSET\nhighp float start=v_uv[2];highp float end=v_uv[3];highp float trim_start=u_trim_offset[0];highp float trim_end=u_trim_offset[1];highp float line_progress=(start+(v_uv.x)*(end-start));if (trim_end > trim_start) {if (line_progress <=trim_end && line_progress >=trim_start) {out_color=vec4(0,0,0,0);trimmed=0.0;}}\n#endif\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply_premultiplied(out_color,v_fog_pos));\n#endif\n#ifdef RENDER_LINE_ALPHA_DISCARD\nif (alpha < u_alpha_discard_threshold) {discard;}\n#endif\n#ifdef RENDER_LINE_BORDER\nfloat edgeBlur=(u_border_width+1.0/u_device_pixel_ratio);float alpha2=clamp(min(dist-(v_width2.t-edgeBlur),v_width2.s-dist)/edgeBlur,0.0,1.0);if (alpha2 < 1.) {float smoothAlpha=smoothstep(0.6,1.0,alpha2);\n#ifdef RENDER_LINE_BORDER_AUTO\nfloat Y=(out_color.a > 0.01) ? luminance(out_color.rgb/out_color.a) : 1.;float adjustment=(Y > 0.) ? 0.5/Y : 0.45;if (out_color.a > 0.25 && Y < 0.25) {vec3 borderColor=(Y > 0.) ? out_color.rgb : vec3(1,1,1)*out_color.a;out_color.rgb=out_color.rgb+borderColor*(adjustment*(1.0-smoothAlpha));} else {out_color.rgb*=(0.6 +0.4*smoothAlpha);}\n#else\nout_color.rgb=mix(u_border_color.rgb*u_border_color.a*trimmed,out_color.rgb,smoothAlpha);\n#endif\n}\n#endif\ngl_FragColor=out_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define EXTRUDE_SCALE 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;\n#if defined(RENDER_LINE_GRADIENT) || defined(RENDER_LINE_TRIM_OFFSET)\nattribute highp vec4 a_packed;\n#endif\n#ifdef RENDER_LINE_DASH\nattribute float a_linesofar;\n#endif\nuniform mat4 u_matrix;uniform mat2 u_pixels_to_tile_units;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec4 v_uv;\n#ifdef RENDER_LINE_DASH\nuniform vec2 u_texsize;uniform float u_tile_units_to_pixels;varying vec2 v_tex;\n#endif\n#ifdef RENDER_LINE_GRADIENT\nuniform float u_image_height;\n#endif\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 dash\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize lowp vec4 dash\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*EXTRUDE_SCALE;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*EXTRUDE_SCALE*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist*u_pixels_to_tile_units,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2*u_pixels_to_tile_units,0.0,1.0)+projected_extrude;\n#ifndef RENDER_TO_TEXTURE\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#else\nv_gamma_scale=1.0;\n#endif\n#if defined(RENDER_LINE_GRADIENT) || defined(RENDER_LINE_TRIM_OFFSET)\nfloat a_uv_x=a_packed[0];float a_split_index=a_packed[1];highp float a_clip_start=a_packed[2];highp float a_clip_end=a_packed[3];\n#ifdef RENDER_LINE_GRADIENT\nhighp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec4(a_uv_x,a_split_index*texel_height-half_texel_height,a_clip_start,a_clip_end);\n#else\nv_uv=vec4(a_uv_x,0.0,a_clip_start,a_clip_end);\n#endif\n#endif\n#ifdef RENDER_LINE_DASH\nfloat scale=dash.z==0.0 ? 0.0 : u_tile_units_to_pixels/dash.z;float height=dash.y;v_tex=vec2(a_linesofar*scale/floorwidth,(-normal.y*height+dash.x+0.5)/u_texsize.y);\n#endif\nv_width2=vec2(outset,inset);\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),linePattern:dr("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_tile_units_to_pixels;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl=pattern.xy;vec2 pattern_br=pattern.zw;vec2 display_size=(pattern_br-pattern_tl)/pixel_ratio;vec2 pattern_size=vec2(display_size.x/u_tile_units_to_pixels,display_size.y);float aspect=display_size.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x=mod(v_linesofar/pattern_size.x*aspect,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos=mix(pattern_tl*texel_size-texel_size,pattern_br*texel_size+texel_size,vec2(x,y));vec4 color=texture2D(u_image,pos);\n#ifdef LIGHTING_3D_MODE\ncolor=apply_lighting(color);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_linesofar;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mat2 u_pixels_to_tile_units;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern\n#pragma mapbox: define lowp float pixel_ratio\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern\n#pragma mapbox: initialize lowp float pixel_ratio\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist*u_pixels_to_tile_units,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2*u_pixels_to_tile_units,0.0,1.0)+projected_extrude;\n#ifndef RENDER_TO_TEXTURE\nfloat extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;\n#else\nv_gamma_scale=1.0;\n#endif\nv_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;\n#ifdef FOG\nv_fog_pos=fog_position(pos);\n#endif\n}"),raster:dr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(\ndot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);vec3 out_color=mix(u_high_vec,u_low_vec,rgb);\n#ifdef LIGHTING_3D_MODE\nout_color=apply_lighting(out_color);\n#endif\n#ifdef FOG\nout_color=fog_dither(fog_apply(out_color,v_fog_pos));\n#endif\ngl_FragColor=vec4(out_color*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform vec2 u_perspective_transform;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {float w=1.0+dot(a_texture_pos,u_perspective_transform);gl_Position=u_matrix*vec4(a_pos*w,0,w);v_pos0=a_texture_pos/8192.0;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;\n#ifdef FOG\nv_fog_pos=fog_position(a_pos);\n#endif\n}"),symbolIcon:dr("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_pixeloffset;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform vec3 u_up_vector;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_tex_size.xy;vec2 a_size=a_tex_size.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_min_font_scale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[3];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float font_scale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjected_point;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 displacement=vec3(a_globe_normal.z,0,-a_globe_normal.x);offsetProjected_point=u_matrix*vec4(a_globe_anchor+displacement,1);\n#else\noffsetProjected_point=u_matrix*vec4(tile_anchor+vec2(1,0),0,1);\n#endif\nvec2 a=projected_point.xy/projected_point.w;vec2 b=offsetProjected_point.xy/offsetProjected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*max(a_min_font_scale,font_scale)+a_pxoffset/16.0);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nv_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(occlusion_fade,fade_opacity[0]+fade_change))*projection_transition_fade;}"),symbolSDF:dr("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;u
2niform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_pixeloffset;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec3 u_up_vector;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_tex_size.xy;vec2 a_size=a_tex_size.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[3];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetprojected_point;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 displacement=vec3(a_globe_normal.z,0,-a_globe_normal.x);offsetprojected_point=u_matrix*vec4(a_globe_anchor+displacement,1);\n#else\noffsetprojected_point=u_matrix*vec4(tile_anchor+vec2(1,0),0,1);\n#endif\nvec2 a=projected_point.xy/projected_point.w;vec2 b=offsetprojected_point.xy/offsetprojected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat gamma_scale=gl_Position.w;float projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nvec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(occlusion_fade,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity*projection_transition_fade);}"),symbolTextAndIcon:dr("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;
2gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec4 a_pos_offset;attribute vec4 a_tex_size;attribute vec4 a_projected_pos;attribute float a_fade_opacity;\n#ifdef PROJECTION_GLOBE_VIEW\nattribute vec3 a_globe_anchor;attribute vec3 a_globe_normal;\n#endif\nuniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec3 u_up_vector;uniform vec2 u_texsize_icon;\n#ifdef PROJECTION_GLOBE_VIEW\nuniform vec3 u_tile_id;uniform mat4 u_inv_rot_matrix;uniform vec2 u_merc_center;uniform vec3 u_camera_forward;uniform float u_zoom_transition;uniform vec3 u_ecef_origin;uniform mat4 u_tile_matrix;\n#endif\nvarying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_tex_size.xy;vec2 a_size=a_tex_size.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[3];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 tile_anchor=a_pos;vec3 h=elevationVector(tile_anchor)*elevation(tile_anchor);float globe_occlusion_fade;vec3 world_pos;vec3 mercator_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nmercator_pos=mercator_tile_position(u_inv_rot_matrix,tile_anchor,u_tile_id,u_merc_center);world_pos=mix_globe_mercator(a_globe_anchor+h,mercator_pos,u_zoom_transition);vec4 ecef_point=u_tile_matrix*vec4(world_pos,1.0);vec3 origin_to_point=ecef_point.xyz-u_ecef_origin;globe_occlusion_fade=dot(origin_to_point,u_camera_forward) >=0.0 ? 0.0 : 1.0;\n#else\nworld_pos=vec3(tile_anchor,0)+h;globe_occlusion_fade=1.0;\n#endif\nvec4 projected_point=u_matrix*vec4(world_pos,1);highp float camera_to_anchor_distance=projected_point.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(\n0.5+0.5*distance_ratio,0.0,1.5);size*=perspective_ratio;float font_scale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offset_projected_point=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projected_point.xy/projected_point.w;vec2 b=offset_projected_point.xy/offset_projected_point.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}vec4 projected_pos;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 proj_pos=mix_globe_mercator(a_projected_pos.xyz+h,mercator_pos,u_zoom_transition);projected_pos=u_label_plane_matrix*vec4(proj_pos,1.0);\n#else\nprojected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,h.z,1.0);\n#endif\nhighp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);float z=0.0;vec2 offset=rotation_matrix*(a_offset/32.0*font_scale);\n#ifdef TERRAIN\n#ifdef PITCH_WITH_MAP_TERRAIN\nvec4 tile_pos=u_label_plane_matrix_inv*vec4(a_projected_pos.xy+offset,0.0,1.0);z=elevation(tile_pos.xy);\n#endif\n#endif\nfloat occlusion_fade=occlusionFade(projected_point)*globe_occlusion_fade;\n#ifdef PROJECTION_GLOBE_VIEW\nvec3 xAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,u_up_vector)) : vec3(1,0,0);vec3 yAxis=u_pitch_with_map ? normalize(cross(a_globe_normal,xAxis)) : vec3(0,1,0);gl_Position=mix(u_coord_matrix*vec4(projected_pos.xyz/projected_pos.w+xAxis*offset.x+yAxis*offset.y,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#else\ngl_Position=mix(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+offset,z,1.0),AWAY,float(projected_point.w <=0.0 || occlusion_fade==0.0));\n#endif\nfloat gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(occlusion_fade,fade_opacity[0]+fade_change));float projection_transition_fade=1.0;\n#if defined(PROJECTED_POS_ON_VIEWPORT) && defined(PROJECTION_GLOBE_VIEW)\nprojection_transition_fade=1.0-step(EPSILON,u_zoom_transition);\n#endif\nv_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity*projection_transition_fade,is_s
2df);}"),terrainRaster:dr("uniform sampler2D u_image0;varying vec2 v_pos0;\n#ifdef FOG\nvarying float v_fog_opacity;\n#endif\n#ifdef RENDER_SHADOWS\nvarying vec4 v_pos_light_view_0;varying vec4 v_pos_light_view_1;varying float v_depth;\n#endif\nvoid main() {vec4 color=texture2D(u_image0,v_pos0);\n#ifdef RENDER_SHADOWS\ncolor.xyz=shadowed_color(color.xyz,v_pos_light_view_0,v_pos_light_view_1,v_depth);\n#endif\n#ifdef FOG\n#ifdef ZERO_EXAGGERATION\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#else\ncolor=fog_dither(fog_apply_from_vert(color,v_fog_opacity));\n#endif\n#endif\ngl_FragColor=color;\n#ifdef TERRAIN_WIREFRAME\ngl_FragColor=vec4(1.0,0.0,0.0,0.8);\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_skirt_height;attribute vec2 a_pos;varying vec2 v_pos0;\n#ifdef FOG\nvarying float v_fog_opacity;\n#endif\n#ifdef RENDER_SHADOWS\nuniform mat4 u_light_matrix_0;uniform mat4 u_light_matrix_1;varying vec4 v_pos_light_view_0;varying vec4 v_pos_light_view_1;varying float v_depth;\n#endif\nconst float wireframeOffset=0.00015;void main() {vec3 decomposedPosAndSkirt=decomposeToPosAndSkirt(a_pos);float skirt=decomposedPosAndSkirt.z;vec2 decodedPos=decomposedPosAndSkirt.xy;float elevation=elevation(decodedPos)-skirt*u_skirt_height;\n#ifdef TERRAIN_WIREFRAME\nelevation+=wireframeOffset;\n#endif\nv_pos0=decodedPos/8192.0;gl_Position=u_matrix*vec4(decodedPos,elevation,1.0);\n#ifdef FOG\n#ifdef ZERO_EXAGGERATION\nv_fog_pos=fog_position(decodedPos);\n#else\nv_fog_opacity=fog(fog_position(vec3(decodedPos,elevation)));\n#endif\n#endif\n#ifdef RENDER_SHADOWS\nvec3 pos=vec3(decodedPos,elevation);v_pos_light_view_0=u_light_matrix_0*vec4(pos,1.);v_pos_light_view_1=u_light_matrix_1*vec4(pos,1.);v_depth=gl_Position.w;\n#endif\n}"),terrainDepth:dr("#ifdef GL_ES\nprecision highp float;\n#endif\nvarying float v_depth;void main() {gl_FragColor=pack_depth(v_depth);}","uniform mat4 u_matrix;attribute vec2 a_pos;varying float v_depth;void main() {float elevation=elevation(a_pos);gl_Position=u_matrix*vec4(a_pos,elevation,1.0);v_depth=gl_Position.z/gl_Position.w;}"),skybox:dr("\nvarying lowp vec3 v_uv;uniform lowp samplerCube u_cubemap;uniform lowp float u_opacity;uniform highp float u_temporal_offset;uniform highp vec3 u_sun_direction;float sun_disk(highp vec3 ray_direction,highp vec3 sun_direction) {highp float cos_angle=dot(normalize(ray_direction),sun_direction);const highp float cos_sun_angular_diameter=0.99996192306;const highp float smoothstep_delta=1e-5;return smoothstep(\ncos_sun_angular_diameter-smoothstep_delta,cos_sun_angular_diameter+smoothstep_delta,cos_angle);}float map(float value,float start,float end,float new_start,float new_end) {return ((value-start)*(new_end-new_start))/(e
2nd-start)+new_start;}void main() {vec3 uv=v_uv;const float y_bias=0.015;uv.y+=y_bias;uv.y=pow(abs(uv.y),1.0/5.0);uv.y=map(uv.y,0.0,1.0,-1.0,1.0);vec3 sky_color=textureCube(u_cubemap,uv).rgb;\n#ifdef FOG\nsky_color=fog_apply_sky_gradient(v_uv.xzy,sky_color);\n#endif\nsky_color.rgb=dither(sky_color.rgb,gl_FragCoord.xy+u_temporal_offset);sky_color+=0.1*sun_disk(v_uv,u_sun_direction);gl_FragColor=vec4(sky_color*u_opacity,u_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}",Qt),skyboxGradient:dr("varying highp vec3 v_uv;uniform lowp sampler2D u_color_ramp;uniform highp vec3 u_center_direction;uniform lowp float u_radius;uniform lowp float u_opacity;uniform highp float u_temporal_offset;void main() {float progress=acos(dot(normalize(v_uv),u_center_direction))/u_radius;vec4 color=texture2D(u_color_ramp,vec2(progress,0.5));\n#ifdef FOG\ncolor.rgb=fog_apply_sky_gradient(v_uv.xzy,color.rgb/color.a)*color.a;\n#endif\ncolor*=u_opacity;color.rgb=dither(color.rgb,gl_FragCoord.xy+u_temporal_offset);gl_FragColor=color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}",Qt),skyboxCapture:dr
vendor: 3,851 bytes, line 2
2("\nvarying highp vec3 v_position;uniform highp float u_sun_intensity;uniform highp float u_luminance;uniform lowp vec3 u_sun_direction;uniform highp vec4 u_color_tint_r;uniform highp vec4 u_color_tint_m;\n#ifdef GL_ES\nprecision highp float;\n#endif\n#define BETA_R vec3(5.5e-6,13.0e-6,22.4e-6)\n#define BETA_M vec3(21e-6,21e-6,21e-6)\n#define MIE_G 0.76\n#define DENSITY_HEIGHT_SCALE_R 8000.0\n#define DENSITY_HEIGHT_SCALE_M 1200.0\n#define PLANET_RADIUS 6360e3\n#define ATMOSPHERE_RADIUS 6420e3\n#define SAMPLE_STEPS 10\n#define DENSITY_STEPS 4\nfloat ray_sphere_exit(vec3 orig,vec3 dir,float radius) {float a=dot(dir,dir);float b=2.0*dot(dir,orig);float c=dot(orig,orig)-radius*radius;float d=sqrt(b*b-4.0*a*c);return (-b+d)/(2.0*a);}vec3 extinction(vec2 density) {return exp(-vec3(BETA_R*u_color_tint_r.a*density.x+BETA_M*u_color_tint_m.a*density.y));}vec2 local_density(vec3 point) {float height=max(length(point)-PLANET_RADIUS,0.0);float exp_r=exp(-height/DENSITY_HEIGHT_SCALE_R);float exp_m=exp(-height/DENSITY_HEIGHT_SCALE_M);return vec2(exp_r,exp_m);}float phase_ray(float cos_angle) {return (3.0/(16.0*PI))*(1.0+cos_angle*cos_angle);}float phase_mie(float cos_angle) {return (3.0/(8.0*PI))*((1.0-MIE_G*MIE_G)*(1.0+cos_angle*cos_angle))/((2.0+MIE_G*MIE_G)*pow(1.0+MIE_G*MIE_G-2.0*MIE_G*cos_angle,1.5));}vec2 density_to_atmosphere(vec3 point,vec3 light_dir) {float ray_len=ray_sphere_exit(point,light_dir,ATMOSPHERE_RADIUS);float step_len=ray_len/float(DENSITY_STEPS);vec2 density_point_to_atmosphere=vec2(0.0);for (int i=0; i < DENSITY_STEPS;++i) {vec3 point_on_ray=point+light_dir*((float(i)+0.5)*step_len);density_point_to_atmosphere+=local_density(point_on_ray)*step_len;;}return density_point_to_atmosphere;}vec3 atmosphere(vec3 ray_dir,vec3 sun_direction,float sun_intensity) {vec2 density_orig_to_point=vec2(0.0);vec3 scatter_r=vec3(0.0);vec3 scatter_m=vec3(0.0);vec3 origin=vec3(0.0,PLANET_RADIUS,0.0);float ray_len=ray_sphere_exit(origin,ray_dir,ATMOSPHERE_RADIUS);float step_len=ray_len/float(SAMPLE_STEPS);for (int i=0; i < SAMPLE_STEPS;++i) {vec3 point_on_ray=origin+ray_dir*((float(i)+0.5)*step_len);vec2 density=local_density(point_on_ray)*step_len;density_orig_to_point+=density;vec2 density_point_to_atmosphere=density_to_atmosphere(point_on_ray,sun_direction);vec2 density_orig_to_atmosphere=density_orig_to_point+density_point_to_atmosphere;vec3 extinction=extinction(density_orig_to_atmosphere);scatter_r+=density.x*extinction;scatter_m+=density.y*extinction;}float cos_angle=dot(ray_dir,sun_direction);float phase_r=phase_ray(cos_angle);float phase_m=phase_mie(cos_angle);vec3 beta_r=BETA_R*u_color_tint_r.rgb*u_color_tint_r.a;vec3 beta_m=BETA_M*u_color_tint_m.rgb*u_color_tint_m.a;return (scatter_r*phase_r*beta_r+scatter_m*phase_m*beta_m)*sun_intensity;}const float A=0.15;const float B=0.50;const float C=0.10;const float D=0.20;const float E=0.02;const float F=0.30;vec3 uncharted2_tonemap(vec3 x) {return ((x*(A*x+C*B)+D*E)/(x*(A*x+B)+D*F))-E/F;}void main() {vec3 ray_direction=v_position;ray_direction.y=pow(ray_direction.y,5.0);const float y_bias=0.015;ray_direction.y+=y_bias;vec3 color=atmosphere(normalize(ray_direction),u_sun_direction,u_sun_intensity);float white_scale=1.0748724675633854;color=uncharted2_tonemap((log2(2.0/pow(u_luminance,4.0)))*color)*white_scale;gl_FragColor=vec4(color,1.0);}","attribute highp vec3 a_pos_3f;uniform mat3 u_matrix_3f;varying highp vec3 v_position;float map(float value,float start,float end,float new_start,float new_end) {return ((value-start)*(new_end-new_start))/(end-start)+new_start;}void main() {vec4 pos=vec4(u_matrix_3f*a_pos_3f,1.0);v_position=pos.xyz;v_position.y*=-1.0;v_position.y=map(v_position.y,-1.0,1.0,0.0,1.0);gl_Position=vec4(a_pos_3f.xy,0.0,1.0);}"),globeRaster:
2dr("uniform sampler2D u_image0;varying vec2 v_pos0;\n#ifndef FOG\nuniform highp vec3 u_frustum_tl;uniform highp vec3 u_frustum_tr;uniform highp vec3 u_frustum_br;uniform highp vec3 u_frustum_bl;uniform highp vec3 u_globe_pos;uniform highp float u_globe_radius;uniform vec2 u_viewport;\n#endif\nvoid main() {vec4 color;\n#ifdef CUSTOM_ANTIALIASING\nvec2 uv=gl_FragCoord.xy/u_viewport;highp vec3 ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,uv.x),mix(u_frustum_bl,u_frustum_br,uv.x),1.0-uv.y);vec3 dir=normalize(ray_dir);vec3 closest_point=dot(u_globe_pos,dir)*dir;float norm_dist_from_center=1.0-length(closest_point-u_globe_pos)/u_globe_radius;const float antialias_pixel=2.0;float antialias_factor=antialias_pixel*fwidth(norm_dist_from_center);float antialias=smoothstep(0.0,antialias_factor,norm_dist_from_center);vec4 raster=texture2D(u_image0,v_pos0);color=vec4(raster.rgb*antialias,raster.a*antialias);\n#else\ncolor=texture2D(u_image0,v_pos0);\n#endif\n#ifdef FOG\ncolor=fog_dither(fog_apply_premultiplied(color,v_fog_pos));\n#endif\ngl_FragColor=color;\n#ifdef TERRAIN_WIREFRAME\ngl_FragColor=vec4(1.0,0.0,0.0,0.8);\n#endif\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_proj_matrix;uniform mat4 u_normalize_matrix;uniform mat4 u_globe_matrix;uniform mat4 u_merc_matrix;uniform float u_zoom_transition;uniform vec2 u_merc_center;uniform mat3 u_grid_matrix;uniform float u_skirt_height;\n#ifdef GLOBE_POLES\nattribute vec3 a_globe_pos;attribute vec2 a_uv;\n#else\nattribute vec2 a_pos;\n#endif\nvarying vec2 v_pos0;const float wireframeOffset=1e3;float mercatorXfromLng(float lng) {return (180.0+lng)/360.0;}float mercatorYfromLat(float lat) {return (180.0-(RAD_TO_DEG*log(tan(QUARTER_PI+lat/2.0*DEG_TO_RAD))))/360.0;}vec3 latLngToECEF(vec2 latLng) {latLng=DEG_TO_RAD*latLng;float cosLat=cos(latLng[0]);float sinLat=sin(latLng[0]);float cosLng=cos(latLng[1]);float sinLng=sin(latLng[1]);float sx=cosLat*sinLng*GLOBE_RADIUS;float sy=-sinLat*GLOBE_RADIUS;float sz=cosLat*cosLng*GLOBE_RADIUS;return vec3(sx,sy,sz);}void main() {\n#ifdef GLOBE_POLES\nvec3 globe_pos=a_globe_pos;vec2 uv=a_uv;\n#else\nfloat tiles=u_grid_matrix[0][2];float idx=u_grid_matrix[1][2];float idy=u_grid_matrix[2][2];vec3 decomposed_pos_and_skirt=decomposeToPosAndSkirt(a_pos);vec3 latLng=u_grid_matrix*vec3(decomposed_pos_and_skirt.xy,1.0);float mercatorY=mercatorYfromLat(latLng[0]);float uvY=mercatorY*tiles-idy;float mercatorX=mercatorXfromLng(latLng[1]);float uvX=mercatorX*tiles-idx;vec3 globe_pos=latLngToECEF(latLng.xy);vec2 merc_pos=vec2(mercatorX,mercatorY);vec2 uv=vec2(uvX,uvY);\n#endif\nv_pos0=uv;vec2 tile_pos=uv*EXTENT;vec3 globe_derived_up_vector=normalize(globe_pos)*u_tile_up_scale;\n#ifdef GLOBE_POLES\nvec3 up_vector=globe_derived_up_vector;\n#else\nvec3 up_vector=elevationVector(tile_pos);\n#endif\nfloat height=elevation(tile_pos);\n#ifdef TERRAIN_WIREFRAME\nheight+=wireframeOffset;\n#endif\nglobe_pos+=up_vector*height;\n#ifndef GLOBE_POLES\nglobe_pos-=globe_derived_up_vector*u_skirt_height*decomposed_pos_and_skirt.z;\n#endif\n#ifdef GLOBE_POLES\nvec4 interpolated_pos=u_globe_matrix*vec4(globe_pos,1.0);\n#else\nvec4 globe_world_pos=u_globe_matrix*vec4(globe_pos,1.0);vec4 merc_world_pos=vec4(0.0);if (u_zoom_transition > 0.0) {merc_world_pos=vec4(merc_pos,height-u_skirt_height*decomposed_pos_and_skirt.z,1.0);merc_world_pos.xy-=u_merc_center;merc_world_pos.x=wrap(merc_world_pos.x,-0.5,0.5);merc_world_pos=u_merc_matrix*merc_world_pos;}vec4 interpolated_pos=vec4(mix(globe_world_pos.xyz,merc_world_pos.xyz,u_zoom_transition),1.0);\n#endif\ngl_Position=u_proj_matrix*interpolated_pos;\n#ifdef FOG\nv_fog_pos=fog_position((u_normalize_matrix*vec4(globe_pos,1.0)).xyz);\n#endif\n}"),globeAtmosphere:dr("uniform float u_transition;uniform highp float u_fadeout_range;uniform highp float u_temporal_offset;uniform vec3 u_start_color;uniform vec4 u_color;uniform vec4 u_space_color;uniform vec4 u_high_color;uniform float u_star_intensity;uniform float u_star_size;uniform float u_star_density;uniform float u_horizon_angle;uniform mat4 u_rotation_matrix;varying highp vec3 v_ray_dir;varying highp vec3 v_horizon_dir;
2highp float random(highp vec3 p) {p=fract(p*vec3(23.2342,97.1231,91.2342));p+=dot(p.zxy,p.yxz+123.1234);return fract(p.x*p.y);}float stars(vec3 p,float scale,vec2 offset) {vec2 uv_scale=(u_viewport/u_star_size)*scale;vec3 position=vec3(p.xy*uv_scale+offset*u_viewport,p.z);vec3 q=fract(position)-0.5;vec3 id=floor(position);float random_visibility=step(random(id),u_star_density);float circle=smoothstep(0.5+u_star_intensity,0.5,length(q));return circle*random_visibility;}void main() {highp vec3 dir=normalize(v_ray_dir);float globe_pos_dot_dir;\n#ifdef PROJECTION_GLOBE_VIEW\nglobe_pos_dot_dir=dot(u_globe_pos,dir);highp vec3 closest_point_forward=abs(globe_pos_dot_dir)*dir;float norm_dist_from_center=length(closest_point_forward-u_globe_pos)/u_globe_radius;if (norm_dist_from_center < 0.98) {discard;return;}\n#endif\nhighp vec3 horizon_dir=normalize(v_horizon_dir);float horizon_angle_mercator=dir.y < horizon_dir.y ?\n0.0 : max(acos(dot(dir,horizon_dir)),0.0);float horizon_angle;\n#ifdef PROJECTION_GLOBE_VIEW\nhighp vec3 closest_point=globe_pos_dot_dir*dir;float closest_point_to_center=length(closest_point-u_globe_pos);float theta=asin(clamp(closest_point_to_center/length(u_globe_pos),-1.0,1.0));horizon_angle=globe_pos_dot_dir < 0.0 ?\nPI-theta-u_horizon_angle : theta-u_horizon_angle;float angle_t=pow(u_transition,10.0);horizon_angle=mix(horizon_angle,horizon_angle_mercator,angle_t);\n#else\nhorizon_angle=horizon_angle_mercator;\n#endif\nhorizon_angle/=PI;float t=exp(-horizon_angle/u_fadeout_range);float alpha_0=u_color.a;float alpha_1=u_high_color.a;float alpha_2=u_space_color.a;vec3 color_stop_0=u_color.rgb;vec3 color_stop_1=u_high_color.rgb;vec3 color_stop_2=u_space_color.rgb;vec3 c0=mix(color_stop_2,color_stop_1,alpha_1);vec3 c1=mix(c0,color_stop_0,alpha_0);vec3 c2=mix(c0,c1,t);vec3 c =mix(color_stop_2,c2,t);float a0=mix(alpha_2,1.0,alpha_1);float a1=mix(a0,1.0,alpha_0);float a2=mix(a0,a1,t);float a =mix(alpha_2,a2,t);vec2 uv=gl_FragCoord.xy/u_viewport-0.5;float aspect_ratio=u_viewport.x/u_viewport.y;vec4 uv_dir=vec4(normalize(vec3(uv.x*aspect_ratio,uv.y,1.0)),1.0);uv_dir=u_rotation_matrix*uv_dir;vec3 n=abs(uv_dir.xyz);vec2 uv_remap=(n.x > n.y && n.x > n.z) ? uv_dir.yz/uv_dir.x:\n(n.y > n.x && n.y > n.z) ? uv_dir.zx/uv_dir.y:\nuv_dir.xy/uv_dir.z;uv_remap.x/=aspect_ratio;vec3 D=vec3(uv_remap,1.0);highp float star_field=0.0;if (u_star_intensity > 0.0) {star_field+=stars(D,1.2,vec2(0.0,0.0));star_field+=stars(D,1.0,vec2(1.0,0.0));star_field+=stars(D,0.8,vec2(0.0,1.0));star_field+=stars(D,0.6,vec2(1.0,1.0));star_field*=(1.0-pow(t,0.25+(1.0-u_high_color.a)*0.75));c+=star_field*alpha_2;}c=dither(c,gl_FragCoord.xy+u_temporal_offset);gl_FragColor=vec4(c,a);}","attribute vec3 a_pos;attribute vec2 a_uv;uniform vec3 u_frustum_tl;uniform vec3 u_frustum_tr;uniform vec3 u_frustum_br;uniform vec3 u_frustum_bl;uniform float u_horizon;varying highp vec3 v_ray_dir;varying highp vec3 v_horizon_dir;void main() {v_ray_dir=mix(\nmix(u_frustum_tl,u_frustum_tr,a_uv.x),mix(u_frustum_bl,u_frustum_br,a_uv.x),a_uv.y);v_horizon_dir=mix(\nmix(u_frustum_tl,u_frustum_bl,u_horizon),mix(u_frustum_tr,u_frustum_br,u_horizon),a_uv.x);gl_Position=vec4(a_pos,1.0);}")};function ur(e,t){const r=e.replace(/\s*\/\/[^\n]*\n/g,"\n").split("\n");for(let e of r)if(e=e.trim(),"#"===e[0]&&e.includes("if")&&!e.includes("endif")){e=e.replace("#","").replace(/ifdef|ifndef|elif|if/g,"").replace(/!|defined|\(|\)|\|\||&&/g,"").replace(/\s+/g," ").trim();const r=e.split(" ");for(const e of r)t.includes(e)||t.push(e)}}function dr(e,t){const r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,n=t.match(/attribute (highp |mediump |lowp )?([\w]+) ([\w]+)/g),i={},o=[...or];return ur(e,o),ur(t,o),{fragmentSource:e=e.replace(r,(e,t,r,n,o)=>(i[o]=!0,"define"===t?`\n#ifndef HAS_UNIFORM_u_${o}\nvarying ${r} ${n} ${o};\n#else\nuniform ${r} ${n} u_${o};\n#endif\n`:`\n#ifdef HAS_UNIFORM_u_${o}\n ${r} ${n} ${o} = u_${o};\n#endif\n`)),vertexSource:t=t.replace(r,(e,t,r,n,o)=>{const a="float"===n?"vec2":"vec4",s=o.match(/color/)?"color":a;return i[o]?"define"===t?`\n#ifndef HAS_UNIFORM_u_${o}\nuniform lowp float u_${o}_t;\nattribute ${r} ${a} a_${o};\nvarying ${r} ${n} ${o};\n#else\nuniform ${r} ${n} u_${o};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${o}\n ${o} = a_${o};\n#else\n ${r} ${n} ${o} = u_${o};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${o}\n ${o} = unpack_mix_${s}(a_${o}, u_${o}_t);\n#else\n ${r} ${n} ${o} = u_${o};\n#endif\n`:"define"===t?`\n#ifndef HAS_UNIFORM_u_${o}\nuniform lowp float u_${o}_t;\nattribute ${r} ${a} a_${o};\n#else\nuniform ${r} ${n} u_${o};\n#endif\n`:"vec4"===s?`\n#ifndef HAS_UNIFORM_u_${o}\n ${r} ${n} ${o} = a_${o};\n#else\n ${r} ${n} ${o} = u_${o};\n#endif\n`:`\n#ifndef HAS_UNIFORM_u_${o}\n ${r} ${n} ${o} = unpack_mix_${s}(a_${o}, u_${o}_t);\n#else\n ${r} ${n} ${o} = u_${o};\n#endif\n`}),staticAttributes:n,usedDefines:o}}
2class fr{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffers=[],this.vao=null}bind(e,t,r,n,i,o,a){this.context=e;let s=this.boundPaintVertexBuffers.length!==n.length;for(let e=0;!s&&e<n.length;e++)this.boundPaintVertexBuffers[e]!==n[e]&&(s=!0);let l=this.boundDynamicVertexBuffers.length!==a.length;for(let e=0;!l&&e<a.length;e++)this.boundDynamicVertexBuffers[e]!==a[e]&&(l=!0);if(!e.extVertexArrayObject||!this.vao||this.boundProgram!==t||this.boundLayoutVertexBuffer!==r||s||l||this.boundIndexBuffer!==i||this.boundVertexOffset!==o)this.freshBind(t,r,n,i,o,a);else{e.bindVertexArrayOES.set(this.vao);for(const e of a)e&&e.bind();i&&i.dynamicDraw&&i.bind()}}freshBind(e,t,r,n,i,o){let a;const s=e.numAttributes,l=this.context,c=l.gl;if(l.extVertexArrayObject)this.vao&&this.destroy(),this.vao=l.extVertexArrayObject.createVertexArrayOES(),l.bindVertexArrayOES.set(this.vao),a=0,this.boundProgram=e,this.boundLayoutVertexBuffer=t,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=n,this.boundVertexOffset=i,this.boundDynamicVertexBuffers=o;else{a=l.currentNumAttributes||0;for(let e=s;e<a;e++)c.disableVertexAttribArray(e)}t.enableAttributes(c,e),t.bind(),t.setVertexAttribPointers(c,e,i);for(const t of r)t.enableAttributes(c,e),t.bind(),t.setVertexAttribPointers(c,e,i);for(const t of o)t&&(t.enableAttributes(c,e),t.bind(),t.setVertexAttribPointers(c,e,i));n&&n.bind(),l.currentNumAttributes=s}destroy(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)}}function pr(t,r){const n=Math.pow(2,r.canonical.z),i=r.canonical.y;return[new e.MercatorCoordinate(0,i/n).toLngLat().lat,new e.MercatorCoordinate(0,(i+1)/n).toLngLat().lat]}function hr(t,r,n,i,o,a,s){const l=t.context,c=l.gl,u=n.fbo;if(!u)return;t.prepareDrawTile();const d=t.useProgram("hillshade");l.activeTexture.set(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D,u.colorAttachment.get());const f=((e,t,r,n)=>{const i=r.paint.get("hillshade-shadow-color"),o=r.paint.get("hillshade-highlight-color"),a=r.paint.get("hillshade-accent-color");let s=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(s-=e.transform.angle);const l=!e.options.moving;return{u_matrix:n||e.transform.calculateProjMatrix(t.tileID.toUnwrapped(),l),u_image:0,u_latrange:pr(0,t.tileID),u_light:[r.paint.get("hillshade-exaggeration"),s],u_shadow:i,u_highlight:o,u_accent:a}})(t,n,i,t.terrain?r.projMatrix:null);t.prepareDrawProgram(l,d,r.toUnwrapped());const{tileBoundsBuffer:p,tileBoundsIndexBuffer:h,tileBoundsSegments:m}=t.getTileBoundsBuffers(n);d.draw(l,c.TRIANGLES,o,a,s,e.CullFaceMode.disabled,f,i.id,p,h,m)}function mr(t,r,n){if(!r.needsDEMTextureUpload)return;const i=t.context,o=i.gl;i.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||t.getTileTexture(n.stride);const a=n.getPixels();r.demTexture?r.demTexture.update(a,{premultiply:!1}):r.demTexture=new e.Texture(i,a,o.RGBA,{premultiply:!1}),r.needsDEMTextureUpload=!1}function yr(t,r,n,i,o,a){const s=t.context,l=s.gl;if(!r.dem)return;const c=r.dem;if(s.activeTexture.set(l.TEXTURE1),mr(t,r,c),!r.demTexture)return;r.demTexture.bind(l.NEAREST,l.CLAMP_TO_EDGE);const u=c.dim;s.activeTexture.set(l.TEXTURE0);let d=r.fbo;if(!d){const t=new e.Texture(s,{width:u,height:u,data:null},l.RGBA);t.bind(l.LINEAR,l.CLAMP_TO_EDGE),d=r.fbo=s.createFramebuffer(u,u,!0),d.colorAttachment.set(t.texture)}s.bindFramebuffer.set(d.framebuffer),s.viewport.set([0,0,u,u]);const{tileBoundsBuffer:f,tileBoundsIndexBuffer:p,tileBoundsSegments:h}=t.getMercatorTileBoundsBuffers();t.useProgram("hillshadePrepare").draw(s,l.TRIANGLES,i,o,a,e.CullFaceMode.disabled,((t,r)=>{const n=r.stride,i=e.create();return e.ortho(i,0,e.EXTENT,-e.EXTENT,0,0,1),e.translate(i,i,[0,-e.EXTENT,0]),{u_matrix:i,u_image:1,u_dimension:[n,n],u_zoom:t.overscaledZ,u_unpack:r.unpackVector}})(r.tileID,c),n.id,f,p,h),r.needsHillshadePrepare=!1}const gr=t=>({u_matrix:new e.UniformMatrix4f(t),u_image0:new e.Uniform1i(t),u_skirt_height:new e.Uniform1f(t)}),vr=(e,t)=>({u_matrix:e,u_image0:0,u_skirt_height:t}),br=(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h)=>({u_proj_matrix:Float32Array.from(e),u_globe_matrix:t,u_normalize_matrix:Float32Array.from(n),u_merc_matrix:r,u_zoom_transition:i,u_merc_center:o,u_image0:0,u_frustum_tl:a,u_frustum_tr:s,u_frustum_br:l,u_frustum_bl:c,u_globe_pos:u,u_globe_radius:d,u_viewport:f,u_grid_matrix:h?Float32Array.from(h):new Float32Array(9),u_skirt_height:p});function _r(e,t){return null!=e&&null!=t&&!(!e.hasData()||!t.hasData())&&null!=e.demTexture&&null!=t.demTexture&&e.tileID.key!==t.tileID.key}const xr=new class{constructor(){this.operations={}}newMorphing(e,t,r,n,i){if(e in this.operations){const t=this.operations[e];t.to.tileID.key!==r.tileID.key&&(t.queued=r)}else this.operations[e]={startTime:n,phase:0,duration:i,from:t,to:r,queued:null}}getMorphValuesForProxy(e){if(!(e in this.operations))return null;const t=this.operations[e];return{from:t.from,to:t.to,phase:t.phase}}update(e){for(const t in this.operations){const r=this.operations[t];for(r.phase=(e-r.startTime)/r.duration;r.phase>
vendor: 10,813 bytes, line 2
2=1||!this._validOp(r);)if(!this._nextOp(r,e)){delete this.operations[t];break}}}_nextOp(e,t){return!!e.queued&&(e.from=e.to,e.to=e.queued,e.queued=null,e.phase=0,e.startTime=t,!0)}_validOp(e){return e.from.hasData()&&e.to.hasData()}},wr={0:null,1:"TERRAIN_VERTEX_MORPHING",2:"TERRAIN_WIREFRAME"};function Or(e){return 6*Math.pow(1.5,22-e)}function jr(e,t){const r=1<<e.z;return!t&&(0===e.x||e.x===r-1)||0===e.y||e.y===r-1}const Sr=e=>({u_matrix:e});function Mr(t,r,n,i,o){if(o>0){const a=e.exported.now(),s=(a-t.timeAdded)/o,l=r?(a-r.timeAdded)/o:-1,c=n.getSource(),u=i.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),d=!r||Math.abs(r.tileID.overscaledZ-u)>Math.abs(t.tileID.overscaledZ-u),f=d&&t.refreshedUponExpiration?1:e.clamp(d?s:1-l,0,1);return t.refreshedUponExpiration&&s>=1&&(t.refreshedUponExpiration=!1),r?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}class kr extends e.SourceCache{constructor(e){const t={type:"raster-dem",maxzoom:e.transform.maxZoom},r=new T(Fe(),null),n=Ee("mock-dem",t,r,e.style);super("mock-dem",n,!1),n.setEventedParent(this),this._sourceLoaded=!0}_loadTile(e,t){e.state="loaded",t(null)}}class Pr extends e.SourceCache{constructor(e){const t=Ee("proxy",{type:"geojson",maxzoom:e.transform.maxZoom},new T(Fe(),null),e.style);super("proxy",t,!1),t.setEventedParent(this),this.map=this.getSource().map=e,this.used=this._sourceLoaded=!0,this.renderCache=[],this.renderCachePool=[],this.proxyCachedFBO={}}update(t,r,n){if(t.freezeTileCoverage)return;this.transform=t;const i=t.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}).reduce((r,n)=>{if(r[n.key]="",!this._tiles[n.key]){const r=new e.Tile(n,this._source.tileSize*n.overscaleFactor(),t.tileZoom);r.state="loaded",this._tiles[n.key]=r}return r},{});for(const e in this._tiles)e in i||(this.freeFBO(e),this._tiles[e].unloadVectorData(),delete this._tiles[e])}freeFBO(e){const t=this.proxyCachedFBO[e];if(void 0!==t){const r=Object.values(t);this.renderCachePool.push(...r),delete this.proxyCachedFBO[e]}}deallocRenderCache(){this.renderCache.forEach(e=>e.fb.destroy()),this.renderCache=[],this.renderCachePool=[],this.proxyCachedFBO={}}}class Tr extends e.OverscaledTileID{constructor(e,t,r){super(e.overscaledZ,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y),this.proxyTileKey=t,this.projMatrix=r}}class Er extends e.Elevation{constructor(t,r){super(),this.painter=t,this.terrainTileForTile={},this.prevTerrainTileForTile={};const[n,i,o]=function(){const t=new e.StructArrayLayout2i4,r=new e.StructArrayLayout3ui6,n=131;t.reserve(17161),r.reserve(33800);const i=e.EXTENT/128,o=e.EXTENT+i/2,a=o+i;for(let r=-i;r<a;r+=i)for(let n=-i;n<a;n+=i){const i=n<0||n>o||r<0||r>o?24575:0,a=e.clamp(Math.round(n),0,e.EXTENT),s=e.clamp(Math.round(r),0,e.EXTENT);t.emplaceBack(a+i,s)}const s=(e,t)=>{const i=t*n+e;r.emplaceBack(i+1,i,i+n),r.emplaceBack(i+n,i+n+1,i+1)};for(let e=1;e<129;e++)for(let t=1;t<129;t++)s(t,e);return[0,129].forEach(e=>{for(let t=0;t<130;t++)s(t,e),s(e,t)}),[t,r,32768]}(),a=t.context;this.gridBuffer=a.createVertexBuffer(n,e.posAttributes.members),this.gridIndexBuffer=a.createIndexBuffer(i),this.gridSegments=e.SegmentVector.simpleSegment(0,0,n.length,i.length),this.gridNoSkirtSegments=e.SegmentVector.simpleSegment(0,0,n.length,o),this.proxyCoords=[],this.proxiedCoords={},this._visibleDemTiles=[],this._drapedRenderBatches=[],this._sourceTilesOverlap={},this.proxySourceCache=new Pr(r.map),this.orthoMatrix=e.create(),e.ortho(this.orthoMatrix,"globe"===this.painter.transform.projection.name?.015:0,e.EXTENT,0,e.EXTENT,0,1);const s=a.gl;this._overlapStencilMode=new e.StencilMode({func:s.GEQUAL,mask:255},0,255,s.KEEP,s.KEEP,s.REPLACE),this._previousZoom=t.transform.zoom,this.pool=[],this._findCoveringTileCache={},this._tilesDirty={},this.style=r,this._useVertexMorphing=!0,this._exaggeration=1,this._mockSourceCache=new kr(r.map)}set style(e){e.on("data",this._onStyleDataEvent.bind(this)),e.on("neworder",this._checkRenderCacheEfficiency.bind(this)),this._style=e,this._checkRenderCacheEfficiency(),this._style.map.on("moveend",()=>{this._clearLineLayersFromRenderCache()})}update(t,r,n){if(t&&t.terrain){this._style!==t&&(this.style=t),this.enabled=!0;const i=t.terrain.properties;this.sourceCache=0===t.terrain.drapeRenderMode?this._mockSourceCache:t._getSourceCache(i.get("source")),this._exaggeration=i.get("exaggeration");const o=()=>{this.sourceCache.used&&e.warnOnce(`Raster DEM source '${this.sourceCache.id}' is used both for terrain and as layer source.\nThis leads to lower resolution of hillshade. For full hillshade resolution but higher memory consumption, define another raster DEM source.`);const t=this.getScaledDemTileSize();this.sourceCache.update(r,t,!0),this.resetTileLookupCache(this.sourceCache.id)};this.sourceCache.usedForTerrain||(this.resetTileLookupCache(this.sourceCache.id),this.sourceCache.usedForTerrain=!0,o(),this._initializing=!0),o(),r.updateElevation(!0,n),this.resetTileLookupCache(this.proxySourceCache.id),this.proxySourceCache.update(r),this._emptyDEMTextureDirty=!0}else this._disable()}resetTileLookupCache(e){this._findCoveringTileCache[e]={}}getScaledDemTileSize(){return this.sourceCache.getSource().tileSize/128*this.proxySourceCache.getSource().tileSize}_checkRenderCacheEfficiency(){const t=this.renderCacheEfficiency(this._style);this._style.map._optimizeForTerrain||100!==t.efficiency&&e.warnOnce(`Terrain render cache efficiency is not optimal (${t.efficiency}%) and performance\n may be affected negatively, consider placing all background, fill and line layers before layer\n with id '${t.firstUndrapedLayer}' or create a map using optimizeForTerrain: true option.`)}_onStyleDataEvent(e){e.coord&&"source"===e.dataType?this._clearRenderCacheForTile(e.sourceCacheId,e.coord):"style"===e.dataType&&(this._invalidateRenderCache=!0)}_disable(){if(this.enabled&&(this.enabled=!1,this._sharedDepthStencil=void 0,this.proxySourceCache.deallocRenderCache(),this._style))for(const e in this._style._sourceCaches)this._style._sourceCaches[e].usedForTerrain=!1}destroy(){this._disable(),this._emptyDEMTexture&&this._emptyDEMTexture.destroy(),this._emptyDepthBufferTexture&&this._emptyDepthBufferTexture.destroy(),this.pool.forEach(e=>e.fb.destroy()),this.pool=[],this._depthFBO&&(this._depthFBO.destroy(),this._depthFBO=void 0,this._depthTexture=void 0)}_source(){return this.enabled?this.sourceCache:null}isUsingMockSource(){return this.sourceCache===this._mockSourceCache}exaggeration(){return this._exaggeration}get visibleDemTiles(){return this._visibleDemTiles}get drapeBufferSize(){const e=2*this.proxySourceCache.getSource().tileSize;return[e,e]}set useVertexMorphing(e){this._useVertexMorphing=e}updateTileBinding(t){if(!this.enabled)return;this.prevTerrainTileForTile=this.terrainTileForTile;const r=this.proxySourceCache,n=this.painter.transform;this._initializing&&(this._initializing=0===n._centerAltitude&&-1===this.getAtPointOrZero(e.MercatorCoordinate.fromLngLat(n.center),-1),this._emptyDEMTextureDirty=!this._initializing);const i=this.proxyCoords=r.getIds().map(e=>{const t=r.getTileByID(e).tileID;return t.projMatrix=n.calculateProjMatrix(t.toUnwrapped()),t});!function(t,r){const n=r.transform.pointCoordinate(r.transform.getCameraPoint()),i=new e.Point(n.x,n.y);t.sort((t,r)=>{if(r.overscaledZ-t.overscaledZ)return r.overscaledZ-t.overscaledZ;const n=new e.Point(t.canonical.x+(1<<t.canonical.z)*t.wrap,t.canonical.y),o=new e.Point(r.canonical.x+(1<<r.canonical.z)*r.wrap,r.canonical.y),a=i.mult(1<<t.canonical.z);return a.x-=.5,a.y-=.5,a.distSqr(n)-a.distSqr(o)})}(i,this.painter),this._previousZoom=n.zoom;const o=this.proxyToSource||{};this.proxyToSource={},i.forEach(e=>{this.proxyToSource[e.key]={}}),this.terrainTileForTile={};const a=this._style._sourceCaches;for(const e in a){const r=a[e];if(!r.used)continue;if(r!==this.sourceCache&&this.resetTileLookupCache(r.id),this._setupProxiedCoordsForOrtho(r,t[e],o),r.usedForTerrain)continue;const n=t[e];r.getSource().reparseOverscaled&&this._assignTerrainTiles(n)}this.proxiedCoords[r.id]=i.map(e=>new Tr(e,e.key,this.orthoMatrix)),this._assignTerrainTiles(i),this._prepareDEMTextures(),this._setupDrapedRenderBatches(),this._initFBOPool(),this._setupRenderCache(o),this.renderingToTexture=!1,this._updateTimestamp=e.exported.now();const s={};this._visibleDemTiles=[];for(const e of this.proxyCoords){const t=this.terrainTileForTile[e.key];if(!t)continue;const r=t.tileID.key;r in s||(this._visibleDemTiles.push(t),s[r]=r)}}_assignTerrainTiles(e){this._initializing||e.forEach(e=>{if(this.terrainTileForTile[e.key])return;const t=this._findTileCoveringTileID(e,this.sourceCache);t&&(this.terrainTileForTile[e.key]=t)})}_prepareDEMTextures(){const e=this.painter.context,t=e.gl;for(const r in this.terrainTileForTile){const n=this.terrainTileForTile[r],i=n.dem;!i||n.demTexture&&!n.needsDEMTextureUpload||(e.activeTexture.set(t.TEXTURE1),mr(this.painter,n,i))}}_prepareDemTileUniforms(e,t,r,n){if(!t||null==t.demTexture)return!1;const i=e.tileID.canonical,o=Math.pow(2,t.tileID.canonical.z-i.z),a=n||"";return r[`u_dem_tl${a}`]=[i.x*o%1,i.y*o%1],r[`u_dem_scale${a}`]=o,!0}get emptyDEMTexture(){return!this._emptyDEMTextureDirty&&this._emptyDEMTexture?this._emptyDEMTexture:this._updateEmptyDEMTexture()}get emptyDepthBufferTexture(){const t=this.painter.context,r=t.gl;if(!this._emptyDepthBufferTexture){const n=new e.RGBAImage({width:1,height:1},Uint8Array.of(255,255,255,255));this._emptyDepthBufferTexture=new e.Texture(t,n,r.RGBA,{premultiply:!1})}return this._emptyDepthBufferTexture}_getLoadedAreaMinimum(){let e=0;const t=this._visibleDemTiles.reduce((t,r)=>{if(!r.dem)return t;const n=r.dem.tree.minimums[0];return n>0&&e++,t+n},0);return e?t/e:0}_updateEmptyDEMTexture(){const t=this.painter.context,r=t.gl;t.activeTexture.set(r.TEXTURE2);const n=this._getLoadedAreaMinimum(),i=new e.RGBAImage({width:1,height:1},new Uint8Array(e.DEMData.pack(n,this.sourceCache.getSource().encoding)));this._emptyDEMTextureDirty=!1;let o=this._emptyDEMTexture;return o?o.update(i,{premultiply:!1}):o=this._emptyDEMTexture=new e.Texture(t,i,r.RGBA,{premultiply:!1}),o}setupElevationDraw(t,r,n){const i=this.painter.context,o=i.gl,a=(s=this.sourceCache.getSource().encoding,{u_dem:2,u_dem_prev:4,u_dem_unpack:e.DEMData.getUnpackVector(s),u_dem_tl:[0,0],u_dem_tl_prev:[0,0],u_dem_scale:0,u_dem_scale_prev:0,u_dem_size:0,u_dem_lerp:1,u_depth:3,u_depth_size_inv:[0,0],u_exaggeration:0});var s;a.u_dem_size=this.sourceCache.getSource().tileSize,a.u_exaggeration=this.exaggeration();let l=null,c=null,u=1;if(n&&n.morphing&&this._useVertexMorphing){const e=n.morphing.srcDemTile,r=n.morphing.dstDemTile;
2u=n.morphing.phase,e&&r&&(this._prepareDemTileUniforms(t,e,a,"_prev")&&(c=e),this._prepareDemTileUniforms(t,r,a)&&(l=r))}if(c&&l?(i.activeTexture.set(o.TEXTURE2),l.demTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE,o.NEAREST),i.activeTexture.set(o.TEXTURE4),c.demTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE,o.NEAREST),a.u_dem_lerp=u):(l=this.terrainTileForTile[t.tileID.key],i.activeTexture.set(o.TEXTURE2),(this._prepareDemTileUniforms(t,l,a)?l.demTexture:this.emptyDEMTexture).bind(o.NEAREST,o.CLAMP_TO_EDGE)),i.activeTexture.set(o.TEXTURE3),n&&n.useDepthForOcclusion?(this._depthTexture&&this._depthTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE),this._depthFBO&&(a.u_depth_size_inv=[1/this._depthFBO.width,1/this._depthFBO.height])):(this.emptyDepthBufferTexture.bind(o.NEAREST,o.CLAMP_TO_EDGE),a.u_depth_size_inv=[1,1]),n&&n.useMeterToDem&&l){const t=(1<<l.tileID.canonical.z)*e.mercatorZfromAltitude(1,this.painter.transform.center.lat)*this.sourceCache.getSource().tileSize;a.u_meter_to_dem=t}if(n&&n.labelPlaneMatrixInv&&(a.u_label_plane_matrix_inv=n.labelPlaneMatrixInv),r.setTerrainUniformValues(i,a),"globe"===this.painter.transform.projection.name){const e=this.globeUniformValues(this.painter.transform,t.tileID.canonical,n&&n.useDenormalizedUpVectorScale);r.setGlobeUniformValues(i,e)}}globeUniformValues(t,r,n){const i=t.projection;return{u_tile_tl_up:i.upVector(r,0,0),u_tile_tr_up:i.upVector(r,e.EXTENT,0),u_tile_br_up:i.upVector(r,e.EXTENT,e.EXTENT),u_tile_bl_up:i.upVector(r,0,e.EXTENT),u_tile_up_scale:n?e.globeMetersToEcef(1):i.upVectorScale(r,t.center.lat,t.worldSize).metersToTile}}renderToBackBuffer(t){const r=this.painter,n=this.painter.context;0!==t.length&&(n.bindFramebuffer.set(null),n.viewport.set([0,0,r.width,r.height]),r.gpuTimingDeferredRenderStart(),this.renderingToTexture=!1,function(t,r,n,i,o){if("globe"===t.transform.projection.name)!function(t,r,n,i,o){const a=t.context,s=a.gl;let l,c;const u=t.options.showTerrainWireframe?2:0,d=t.transform,f=e.globeUseCustomAntiAliasing(t,a,d),p=(e,r)=>{if(c===e)return;const n=[wr[e],"PROJECTION_GLOBE_VIEW"];f&&n.push("CUSTOM_ANTIALIASING"),r&&n.push(wr[u]),l=t.useProgram("globeRaster",null,n),c=e},h=t.colorModeForRenderPass(),m=new e.DepthMode(s.LEQUAL,e.DepthMode.ReadWrite,t.depthRangeFor3D);xr.update(o);const y=e.calculateGlobeMercatorMatrix(d),g=[e.mercatorXfromLng(d.center.lng),e.mercatorYfromLat(d.center.lat)],v=u?[!1,!0]:[!1],b=t.globeSharedBuffers,_=[d.width*e.exported.devicePixelRatio,d.height*e.exported.devicePixelRatio],x=Float32Array.from(d.globeMatrix),w={useDenormalizedUpVectorScale:!0};if(v.forEach(u=>{const d=t.transform,f=Or(d.zoom)*r.exaggeration();c=-1;const v=u?s.LINES:s.TRIANGLES;for(const c of i){const i=n.getTile(c),O=e.StencilMode.disabled,j=r.prevTerrainTileForTile[c.key],S=r.terrainTileForTile[c.key];_r(j,S)&&xr.newMorphing(c.key,j,S,o,250),a.activeTexture.set(s.TEXTURE0),i.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE);const M=xr.getMorphValuesForProxy(c.key),k=M?1:0;M&&e.extend$1(w,{morphing:{srcDemTile:M.from,dstDemTile:M.to,phase:e.easeCubicInOut(M.phase)}});const P=e.tileCornersToBounds(c.canonical),T=e.getLatitudinalLod(P.getCenter().lat),E=e.getGridMatrix(c.canonical,P,T,d.worldSize/d._pixelsPerMercatorPixel),C=e.globeNormalizeECEF(e.globeTileBounds(c.canonical)),L=br(d.projMatrix,x,y,C,e.globeToMercatorTransition(d.zoom),g,d.frustumCorners.TL,d.frustumCorners.TR,d.frustumCorners.BR,d.frustumCorners.BL,d.globeCenterInViewSpace,d.globeRadius,_,f,E);if(p(k,u),r.setupElevationDraw(i,l,w),t.prepareDrawProgram(a,l,c.toUnwrapped()),b){const[r,n,i]=u?b.getWirefameBuffers(t.context,T):b.getGridBuffers(T,0!==f);l.draw(a,v,m,O,h,e.CullFaceMode.backCCW,L,"globe_raster",r,n,i)}}}),b){const o=["GLOBE_POLES","PROJECTION_GLOBE_VIEW"];f&&o.push("CUSTOM_ANTIALIASING"),l=t.useProgram("globeRaster",null,o);for(const o of i){const{x:i,y:c,z:u}=o.canonical,f=0===c,p=c===(1<<u)-1,[y,v,x,O]=b.getPoleBuffers(u);if(O&&(f||p)){const c=n.getTile(o);a.activeTexture.set(s.TEXTURE0),c.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE);let b=e.globePoleMatrixForTile(u,i,d);const j=e.globeNormalizeECEF(e.globeTileBounds(o.canonical)),S=(t,r)=>t.draw(a,s.TRIANGLES,m,e.StencilMode.disabled,h,e.CullFaceMode.disabled,br(d.projMatrix,b,b,j,0,g,d.frustumCorners.TL,d.frustumCorners.TR,d.frustumCorners.BR,d.frustumCorners.BL,d.globeCenterInViewSpace,d.globeRadius,_,0),"globe_pole_raster",r,x,O);r.setupElevationDraw(c,l,w),t.prepareDrawProgram(a,l,o.toUnwrapped()),f&&S(l,y),p&&(b=e.scale(e.create(),b,[1,-1,1]),S(l,v))}}}}(t,r,n,i,o);else{const a=t.context,s=a.gl;let l,c;const u=t.options.showTerrainWireframe?2:0,d=(e,r)=>{if(c===e)return;const n=[wr[e]];r&&n.push(wr[u]),l=t.useProgram("terrainRaster",null,n),c=e},f=t.colorModeForRenderPass(),p=new e.DepthMode(s.LEQUAL,e.DepthMode.ReadWrite,t.depthRangeFor3D);xr.update(o);const h=t.transform,m=Or(h.zoom)*r.exaggeration();
2(u?[!1,!0]:[!1]).forEach(u=>{c=-1;const y=u?s.LINES:s.TRIANGLES,[g,v]=u?r.getWirefameBuffer():[r.gridIndexBuffer,r.gridSegments];for(const c of i){const i=n.getTile(c),b=e.StencilMode.disabled,_=r.prevTerrainTileForTile[c.key],x=r.terrainTileForTile[c.key];_r(_,x)&&xr.newMorphing(c.key,_,x,o,250),a.activeTexture.set(s.TEXTURE0),i.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST);const w=xr.getMorphValuesForProxy(c.key),O=w?1:0;let j;w&&(j={morphing:{srcDemTile:w.from,dstDemTile:w.to,phase:e.easeCubicInOut(w.phase)}});const S=vr(c.projMatrix,jr(c.canonical,h.renderWorldCopies)?m/10:m);d(O,u),r.setupElevationDraw(i,l,j),t.prepareDrawProgram(a,l,c.toUnwrapped()),l.draw(a,y,p,b,f,e.CullFaceMode.backCCW,S,"terrain_raster",r.gridBuffer,g,v)}})}}(r,this,this.proxySourceCache,t,this._updateTimestamp),this.renderingToTexture=!0,r.gpuTimingDeferredRenderEnd(),t.splice(0,t.length))}renderBatch(t){if(0===this._drapedRenderBatches.length)return t+1;this.renderingToTexture=!0;const r=this.painter,n=this.painter.context,i=this.proxySourceCache,o=this.proxiedCoords[i.id],a=this._drapedRenderBatches.shift(),s=[],l=r.style.order;let c=0;for(const u of o){const o=i.getTileByID(u.proxyTileKey),d=i.proxyCachedFBO[u.key]?i.proxyCachedFBO[u.key][t]:void 0,f=void 0!==d?i.renderCache[d]:this.pool[c++],p=void 0!==d;if(o.texture=f.tex,p&&!f.dirty){s.push(o.tileID);continue}let h;n.bindFramebuffer.set(f.fb.framebuffer),this.renderedToTile=!1,f.dirty&&(n.clear({color:e.Color.transparent,stencil:0}),f.dirty=!1);for(let e=a.start;e<=a.end;++e){const t=r.style._layers[l[e]];if(t.isHidden(r.transform.zoom))continue;const i=r.style._getLayerSourceCache(t),o=i?this.proxyToSource[u.key][i.id]:[u];if(!o)continue;const a=o;n.viewport.set([0,0,f.fb.width,f.fb.height]),h!==(i?i.id:null)&&(this._setupStencil(f,o,t,i),h=i?i.id:null),r.renderLayer(r,i,t,a)}this.renderedToTile?(f.dirty=!0,s.push(o.tileID)):p||--c,5===c&&(c=0,this.renderToBackBuffer(s))}return this.renderToBackBuffer(s),this.renderingToTexture=!1,n.bindFramebuffer.set(null),n.viewport.set([0,0,r.width,r.height]),a.end+1}postRender(){}renderCacheEfficiency(e){const t=e.order.length;if(0===t)return{efficiency:100};let r,n=0,i=0,o=!1;for(let a=0;a<t;++a){const t=e._layers[e.order[a]];this._style.isLayerDraped(t)?(o&&++n,++i):o||(o=!0,r=t.id)}return 0===i?{efficiency:100}:{efficiency:100*(1-n/i),firstUndrapedLayer:r}}getMinElevationBelowMSL(){let e=0;return this._visibleDemTiles.filter(e=>e.dem).forEach(t=>{e=Math.min(e,t.dem.tree.minimums[0])}),0===e?e:(e-30)*this._exaggeration}raycast(e,t,r){if(!this._visibleDemTiles)return null;const n=this._visibleDemTiles.filter(e=>e.dem).map(n=>{const i=n.tileID,o=1<<i.overscaledZ,{x:a,y:s}=i.canonical,l=a/o,c=(a+1)/o,u=s/o,d=(s+1)/o;return{minx:l,miny:u,maxx:c,maxy:d,t:n.dem.tree.raycastRoot(l,u,c,d,e,t,r),tile:n}});n.sort((e,t)=>(null!==e.t?e.t:Number.MAX_VALUE)-(null!==t.t?t.t:Number.MAX_VALUE));for(const i of n){if(null==i.t)return null;const n=i.tile.dem.tree.raycast(i.minx,i.miny,i.maxx,i.maxy,e,t,r);if(null!=n)return n}return null}_createFBO(){const t=this.painter.context,r=t.gl,n=this.drapeBufferSize;t.activeTexture.set(r.TEXTURE0);const i=new e.Texture(t,{width:n[0],height:n[1],data:null},r.RGBA);i.bind(r.LINEAR,r.CLAMP_TO_EDGE);const o=t.createFramebuffer(n[0],n[1],!1);return o.colorAttachment.set(i.texture),o.depthAttachment=new we(t,o.framebuffer),void 0===this._sharedDepthStencil?(this._sharedDepthStencil=t.createRenderbuffer(t.gl.DEPTH_STENCIL,n[0],n[1]),this._stencilRef=0,o.depthAttachment.set(this._sharedDepthStencil),t.clear({stencil:0})):o.depthAttachment.set(this._sharedDepthStencil),t.extTextureFilterAnisotropic&&!t.extTextureFilterAnisotropicForceOff&&r.texParameterf(r.TEXTURE_2D,t.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,t.extTextureFilterAnisotropicMax),{fb:o,tex:i,dirty:!1}}_initFBOPool(){for(;this.pool.length<Math.min(5,this.proxyCoords.length);)this.pool.push(this._createFBO())}_shouldDisableRenderCache(){if(this._style.light&&this._style.light.hasTransition())return!0;for(const e in this._style._sourceCaches)if(this._style._sourceCaches[e].hasTransition())return!0;return this._style.order.some(e=>{const t=this._style._layers[e],r=t.isHidden(this.painter.transform.zoom);return"custom"===t.type?!r&&t.shouldRedrape():!r&&t.hasTransition()})}_clearLineLayersFromRenderCache(){let t=!1;for(const e of this._style._getSources())if(e instanceof Se){t=!0;break}if(!t)return;const r={};for(let t=0;t<this._style.order.length;++t){const n=this._style._layers[this._style.order[t]],i=this._style._getLayerSourceCache(n);if(i&&!r[i.id]&&!n.isHidden(this.painter.transform.zoom)&&"line"===n.type&&n.widthExpression()instanceof e.ZoomDependentExpression){r[i.id]=!0;for(const e of this.proxyCoords){const t=this.proxyToSource[e.key][i.id];if(t)for(const e of t)this._clearRenderCacheForTile(i.id,e)}}}}_clearRasterLayersFromRenderCache(){let e=!1;for(const t in this._style._sourceCaches)if(this._style._sourceCaches[t]._source instanceof Me){e=!0;break}if(!e)return;const t={};for(let e=0;e<this._style.order.length;++e){const r=this._style._layers[this._style.order[e]],n=this._style._getLayerSourceCache(r);if(!n||t[n.id])continue;if(r.isHidden(this.painter.transform.zoom)||"raster"!==r.type)continue;const i=r.paint.get("raster-fade-duration");for(const e of this.proxyCoords){const t=this.proxyToSource[e.key][n.id];if(t)for(const e of t){const t=Mr(n.getTile(e),n.findLoadedParent(e,0),n,this.painter.transform,i);(1!==t.opacity||0!==t.mix)&&this._clearRenderCacheForTile(n.id,e)}}}}_setupDrapedRenderBatches(){const e=this._style.order,t=e.length;if(0===t)return;const r=[];let n,i=0,o=this._style._layers[e[i]];for(;!this._style.isLayerDraped(o)&&o.isHidden(this.painter.transform.zoom)&&++i<t;)o=this._style._layers[e[i]];for(;i<t;++i){const t=this._style._layers[e[i]];t.isHidden(this.painter.transform.zoom)||(this._style.isLayerDraped(t)?void 0===n&&(n=i):void 0!==n&&(r.push({start:n,end:i-1}),n=void 0))}void 0!==n&&r.push({start:n,end:i-1}),this._drapedRenderBatches=r}_setupRenderCache(e){const t=this.proxySourceCache;if(this._shouldDisableRenderCache()||this._invalidateRenderCache){if(this._invalidateRenderCache=!1,t.renderCache.length>t.renderCachePool.length){const e=Object.values(t.proxyCachedFBO);t.proxyCachedFBO={};for(let r=0;r<e.length;++r){const n=Object.values(e[r]);t.renderCachePool.push(...n)}}return}this._clearRasterLayersFromRenderCache();const r=this.proxyCoords,n=this._tilesDirty;for(let i=r.length-1;i>=0;i--){const o=r[i];if(t.getTileByID(o.key),void 0!==t.proxyCachedFBO[o.key]){const r=e[o.key],i=this.proxyToSource[o.key];let a=0;for(const e in i){const t=i[e],o=r[e];if(!o||o.length!==t.length||t.some((t,r)=>t!==o[r]||n[e]&&n[e].hasOwnProperty(t.key))){a=-1;break}++a}for(const e in t.proxyCachedFBO[o.key])t.renderCache[t.proxyCachedFBO[o.key][e]].dirty=a<0||a!==Object.values(r).length}}const i=[...this._drapedRenderBatches];i.sort((e,t)=>
vendor: 4,228 bytes, line 2
2t.end-t.start-(e.end-e.start));for(const e of i)for(const n of r){if(t.proxyCachedFBO[n.key])continue;let r=t.renderCachePool.pop();void 0===r&&t.renderCache.length<50&&(r=t.renderCache.length,t.renderCache.push(this._createFBO())),void 0!==r&&(t.proxyCachedFBO[n.key]={},t.proxyCachedFBO[n.key][e.start]=r,t.renderCache[r].dirty=!0)}this._tilesDirty={}}_setupStencil(e,t,r,n){if(!n||!this._sourceTilesOverlap[n.id])return void(this._overlapStencilType&&(this._overlapStencilType=!1));const i=this.painter.context,o=i.gl;if(t.length<=1)return void(this._overlapStencilType=!1);let a;if(r.isTileClipped())a=t.length,this._overlapStencilMode.test={func:o.EQUAL,mask:255},this._overlapStencilType="Clip";else{if(!(t[0].overscaledZ>t[t.length-1].overscaledZ))return void(this._overlapStencilType=!1);a=1,this._overlapStencilMode.test={func:o.GREATER,mask:255},this._overlapStencilType="Mask"}this._stencilRef+a>255&&(i.clear({stencil:0}),this._stencilRef=0),this._stencilRef+=a,this._overlapStencilMode.ref=this._stencilRef,r.isTileClipped()&&this._renderTileClippingMasks(t,this._overlapStencilMode.ref)}clipOrMaskOverlapStencilType(){return"Clip"===this._overlapStencilType||"Mask"===this._overlapStencilType}stencilModeForRTTOverlap(t){return this.renderingToTexture&&this._overlapStencilType?("Clip"===this._overlapStencilType&&(this._overlapStencilMode.ref=this.painter._tileClippingMaskIDs[t.key]),this._overlapStencilMode):e.StencilMode.disabled}_renderTileClippingMasks(t,r){const n=this.painter,i=this.painter.context,o=i.gl;n._tileClippingMaskIDs={},i.setColorMode(e.ColorMode.disabled),i.setDepthMode(e.DepthMode.disabled);const a=n.useProgram("clippingMask");for(const s of t){const t=n._tileClippingMaskIDs[s.key]=--r;a.draw(i,o.TRIANGLES,e.DepthMode.disabled,new e.StencilMode({func:o.ALWAYS,mask:0},t,255,o.KEEP,o.KEEP,o.REPLACE),e.ColorMode.disabled,e.CullFaceMode.disabled,Sr(s.projMatrix),"$clipping",n.tileExtentBuffer,n.quadTriangleIndexBuffer,n.tileExtentSegments)}}pointCoordinate(t){const r=this.painter.transform;if(t.x<0||t.x>r.width||t.y<0||t.y>r.height)return null;const n=[t.x,t.y,1,1];e.transformMat4$1(n,n,r.pixelMatrixInverse),e.scale$1(n,n,1/n[3]),n[0]/=r.worldSize,n[1]/=r.worldSize;const i=r._camera.position,o=e.mercatorZfromAltitude(1,r.center.lat),a=[i[0],i[1],i[2]/o,0],s=e.subtract([],n.slice(0,3),a);e.normalize(s,s);const l=this.raycast(a,s,this._exaggeration);return null!==l&&l?(e.scaleAndAdd(a,a,s,l),a[3]=a[2],a[2]*=o,a):null}drawDepth(){const t=this.painter,r=t.context,n=this.proxySourceCache,i=Math.ceil(t.width),o=Math.ceil(t.height);if(!this._depthFBO||this._depthFBO.width===i&&this._depthFBO.height===o||(this._depthFBO.destroy(),this._depthFBO=void 0,this._depthTexture=void 0),!this._depthFBO){const t=r.gl,n=r.createFramebuffer(i,o,!0);r.activeTexture.set(t.TEXTURE0);const a=new e.Texture(r,{width:i,height:o,data:null},t.RGBA);a.bind(t.NEAREST,t.CLAMP_TO_EDGE),n.colorAttachment.set(a.texture);const s=r.createRenderbuffer(r.gl.DEPTH_COMPONENT16,i,o);n.depthAttachment.set(s),this._depthFBO=n,this._depthTexture=a}r.bindFramebuffer.set(this._depthFBO.framebuffer),r.viewport.set([0,0,i,o]),function(t,r,n,i){if("globe"===t.transform.projection.name)return;const o=t.context,a=o.gl;o.clear({depth:1});const s=t.useProgram("terrainDepth"),l=new e.DepthMode(a.LESS,e.DepthMode.ReadWrite,t.depthRangeFor3D);for(const t of i){const i=n.getTile(t),c=vr(t.projMatrix,0);r.setupElevationDraw(i,s),s.draw(o,a.TRIANGLES,l,e.StencilMode.disabled,e.ColorMode.unblended,e.CullFaceMode.backCCW,c,"terrain_depth",r.gridBuffer,r.gridIndexBuffer,r.gridNoSkirtSegments)}}(t,this,n,this.proxyCoords)}_setupProxiedCoordsForOrtho(e,t,r){if(e.getSource()instanceof Pe)return this._setupProxiedCoordsForImageSource(e,t,r);this._findCoveringTileCache[e.id]=this._findCoveringTileCache[e.id]||{};const n=this.proxiedCoords[e.id]=[],i=this.proxyCoords;for(let t=0;t<i.length;t++){const o=i[t],a=this._findTileCoveringTileID(o,e);if(a){const t=this._createProxiedId(o,a,r[o.key]&&r[o.key][e.id]);n.push(t),this.proxyToSource[o.key][e.id]=[t]}}let o=!1;for(let i=0;i<t.length;i++){const a=e.getTile(t[i]);if(!a||!a.hasData())continue;const s=this._findTileCoveringTileID(a.tileID,this.proxySourceCache);
2if(s&&s.tileID.canonical.z!==a.tileID.canonical.z){const t=this.proxyToSource[s.tileID.key][e.id],i=this._createProxiedId(s.tileID,a,r[s.tileID.key]&&r[s.tileID.key][e.id]);t?t.splice(t.length-1,0,i):this.proxyToSource[s.tileID.key][e.id]=[i],n.push(i),o=!0}}this._sourceTilesOverlap[e.id]=o}_setupProxiedCoordsForImageSource(t,r,n){if(!t.getSource().loaded())return;const i=this.proxiedCoords[t.id]=[],o=this.proxyCoords,a=t.getSource(),s=new e.Point(a.tileID.x,a.tileID.y)._div(1<<a.tileID.z),l=a.coordinates.map(e.MercatorCoordinate.fromLngLat).reduce((e,t)=>(e.min.x=Math.min(e.min.x,t.x-s.x),e.min.y=Math.min(e.min.y,t.y-s.y),e.max.x=Math.max(e.max.x,t.x-s.x),e.max.y=Math.max(e.max.y,t.y-s.y),e),{min:new e.Point(Number.MAX_VALUE,Number.MAX_VALUE),max:new e.Point(-Number.MAX_VALUE,-Number.MAX_VALUE)}),c=(t,r)=>{const n=t.wrap+t.canonical.x/(1<<t.canonical.z),i=t.canonical.y/(1<<t.canonical.z),o=e.EXTENT/(1<<t.canonical.z),a=r.wrap+r.canonical.x/(1<<r.canonical.z),s=r.canonical.y/(1<<r.canonical.z);return n+o<a+l.min.x||n>a+l.max.x||i+o<s+l.min.y||i>s+l.max.y};for(let e=0;e<o.length;e++){const a=o[e];for(let e=0;e<r.length;e++){const o=t.getTile(r[e]);if(!o||!o.hasData())continue;if(c(a,o.tileID))continue;const s=this._createProxiedId(a,o,n[a.key]&&n[a.key][t.id]),l=this.proxyToSource[a.key][t.id];l?l.push(s):this.proxyToSource[a.key][t.id]=[s],i.push(s)}}}_createProxiedId(t,r,n){let i=this.orthoMatrix;if(n){const e=n.find(e=>e.key===r.tileID.key);if(e)return e}if(r.tileID.key!==t.key){const n=t.canonical.z-r.tileID.canonical.z;let o,a,s;i=e.create();const l=r.tileID.wrap-t.wrap<<t.overscaledZ;n>0?(o=e.EXTENT>>n,a=o*((r.tileID.canonical.x<<n)-t.canonical.x+l),s=o*((r.tileID.canonical.y<<n)-t.canonical.y)):(o=e.EXTENT<<-n,a=e.EXTENT*(r.tileID.canonical.x-(t.canonical.x+l<<-n)),s=e.EXTENT*(r.tileID.canonical.y-(t.canonical.y<<-n))),e.ortho(i,0,o,0,o,0,1),e.translate(i,i,[a,s,0])}return new Tr(r.tileID,t.key,i)}_findTileCoveringTileID(t,r){let n=r.getTile(t);if(n&&n.hasData())return n;const i=this._findCoveringTileCache[r.id],o=i[t.key];if(n=o?r.getTileByID(o):null,n&&n.hasData()||null===o)return n;let a=n?n.tileID:t,s=a.overscaledZ;const l=r.getSource().minzoom,c=[];if(!o){const i=r.getSource().maxzoom;if(t.canonical.z>=i){const n=t.canonical.z-i;r.getSource().reparseOverscaled?(s=Math.max(t.canonical.z+2,r.transform.tileZoom),a=new e.OverscaledTileID(s,t.wrap,i,t.canonical.x>>n,t.canonical.y>>n)):0!==n&&(s=i,a=new e.OverscaledTileID(s,t.wrap,i,t.canonical.x>>n,t.canonical.y>>n))}a.key!==t.key&&(c.push(a.key),n=r.getTile(a))}const u=e=>{c.forEach(t=>{i[t]=e}),c.length=0};for(s-=1;s>=l&&(!n||!n.hasData());s--){n&&u(n.tileID.key);const e=a.calculateScaledKey(s);if(n=r.getTileByID(e),n&&n.hasData())break;const t=i[e];if(null===t)break;void 0===t?c.push(e):n=r.getTileByID(t)}return u(n?n.tileID.key:null),n&&n.hasData()?n:null}findDEMTileFor(e){return this.enabled?this._findTileCoveringTileID(e,this.sourceCache):null}prepareDrawTile(){this.renderedToTile=!0}_clearRenderCacheForTile(e,t){let r=this._tilesDirty[e];r||(r=this._tilesDirty[e]={}),r[t.key]=!0}getWirefameBuffer(){if(!this.wireframeSegments){const t=function(){let t=0;const r=new e.StructArrayLayout2ui4,n=131;for(let e=1;e<129;e++){for(let i=1;i<129;i++)t=e*n+i,r.emplaceBack(t,t+1),r.emplaceBack(t,t+n),r.emplaceBack(t+1,t+n),128===e&&r.emplaceBack(t+n,t+n+1);r.emplaceBack(t+1,t+1+n)}return r}();this.wireframeIndexBuffer=this.painter.context.createIndexBuffer(t),this.wireframeSegments=e.SegmentVector.simpleSegment(0,0,this.gridBuffer.length,t.length)}return[this.wireframeIndexBuffer,this.wireframeSegments]}}class Cr{static cacheKey(e,t,r,n){let i=`${t}${n?n.cacheKey:""}`;for(const t of r)e.usedDefines.includes(t)&&(i+=`/${t}`);return i}constructor(t,r,n,i,o,a){const s=t.gl;this.program=s.createProgram();const l=function(e){const t=[];for(let r=0;r<e.length;r++){if(null===e[r])continue;const n=e[r].split(" ");t.push(n.pop())}return t}(n.staticAttributes),c=i?i.getBinderAttributes():[],u=l.concat(c);let d=i?i.defines():[];d=d.concat(a.map(e=>`#define ${e}`));const f=t.isWebGL2?"#version 300 es\n":"",p=f+d.concat(t.extStandardDerivatives&&0===f.length?"#extension GL_OES_standard_derivatives : enable\n".concat(lr):lr,lr,sr,ar.fragmentSource,ir.fragmentSource,n.fragmentSource).join("\n"),h=f+d.concat("\n#ifdef GL_ES\nprecision highp float;\n#else\n\n#if !defined(lowp)\n#define lowp\n#endif\n\n#if !defined(mediump)\n#define mediump\n#endif\n\n#if !defined(highp)\n#define highp\n#endif\n\n#endif",sr,ar.vertexSource,ir.vertexSource,nr.vertexSource,n.vertexSource).join("\n"),m=s.createShader(s.FRAGMENT_SHADER);if(s.isContextLost())return void(this.failedToCreate=!0);s.shaderSource(m,p),s.compileShader(m),s.attachShader(this.program,m);const y=s.createShader(s.VERTEX_SHADER);if(s.isContextLost())this.failedToCreate=!0;else{s.shaderSource(y,h),s.compileShader(y),s.attachShader(this.program,y),this.attributes={},this.numAttributes=u.length;for(let e=0;e<this.numAttributes;e++)u[e]&&(s.bindAttribLocation(this.program,e,u[e]),this.attributes[u[e]]=e);s.linkProgram(this.program),s.deleteShader(y),s.deleteShader(m),this.fixedUniforms=o(t),this.binderUniforms=i?i.getUniforms(t):[],a.includes("TERRAIN")&&(this.terrainUniforms=(t=>({u_dem:new e.Uniform1i(t),u_dem_prev:new e.Uniform1i(t),u_dem_unpack:new e.Uniform4f(t),u_dem_tl:new e.Uniform2f(t),u_dem_scale:new e.Uniform1f(t),u_dem_tl_prev:new e.Uniform2f(t),u_dem_scale_prev:new e.Uniform1f(t),u_dem_size:new e.Uniform1f(t),u_dem_lerp:new e.Uniform1f(t),u_exaggeration:new e.Uniform1f(t),u_depth:new e.Uniform1i(t),u_depth_size_inv:new e.Uniform2f(t),u_meter_to_dem:new e.Uniform1f(t),u_label_plane_matrix_inv:new e.UniformMatrix4f(t)}))(t)),a.includes("GLOBE")&&(this.globeUniforms=(t=>({u_tile_tl_up:new e.Uniform3f(t),u_tile_tr_up:new e.Uniform3f(t),u_tile_br_up:new e.Uniform3f(t),u_tile_bl_up:new e.Uniform3f(t),u_tile_up_scale:new e.Uniform1f(t)}))(t)),a.includes("FOG")&&(this.fogUniforms=(t=>({u_fog_matrix:new e.UniformMatrix4f(t),u_fog_range:new e.Uniform2f(t),u_fog_color:new e.Uniform4f(t),u_fog_horizon_blend:new e.Uniform1f(t),u_fog_temporal_offset:new e.Uniform1f(t),u_frustum_tl:new e.Uniform3f(t),u_frustum_tr:new e.Uniform3f(t),u_frustum_br:new e.Uniform3f(t),u_frustum_bl:new e.Uniform3f(t),u_globe_pos:new e.Uniform3f(t),u_globe_radius:new e.Uniform1f(t),u_globe_transition:new e.Uniform1f(t),u_is_globe:new e.Uniform1i(t),u_viewport:new e.Uniform2f(t)}))(t))}}setTerrainUniformValues(e,t){if(!this.terrainUniforms)return;const r=this.terrainUniforms;if(!this.failedToCreate){e.program.set(this.program);for(const e in t)r[e]&&r[e].set(this.program,e,t[e])}}setGlobeUniformValues(e,t){if(!this.globeUniforms)return;const r=this.globeUniforms;if(!this.failedToCreate){e.program.set(this.program);for(const e in t)r[e]&&r[e].set(this.program,e,t[e])}}setFogUniformValues(e,t){if(!this.fogUniforms)return;const r=this.fogUniforms;if(!this.failedToCreate){e.program.set(this.program);for(const e in t)r[e].set(this.program,e,t[e])}}draw(e,t,r,n,i,o,a,s,l,c,u,d,f,p,h){const m=e.gl;if(this.failedToCreate)return;e.program.set(this.program),e.setDepthMode(r),e.setStencilMode(n),e.setColorMode(i),e.setCullFace(o);for(const e of Object.keys(this.fixedUniforms))this.fixedUniforms[e].set(this.program,e,a[e]);p&&p.setUniforms(this.program,e,this.binderUniforms,d,{zoom:f});const y={[m.LINES]:2,[m.TRIANGLES]:3,[m.LINE_STRIP]:1}[t];for(const r of u.get()){const n=r.vaos||(r.vaos={});(n[s]||(n[s]=new fr)).bind(e,this,l,p?p.getPaintVertexBuffers():[],c,r.vertexOffset,h||[]),m.drawElements(t,r.primitiveLength*y,m.UNSIGNED_SHORT,r.primitiveOffset*y*2)}}}
2function Lr(e,t){const r=Math.pow(2,t.tileID.overscaledZ),n=t.tileSize*Math.pow(2,e.transform.tileZoom)/r,i=n*(t.tileID.canonical.x+t.tileID.wrap*r),o=n*t.tileID.canonical.y;return{u_image:0,u_texsize:t.imageAtlasTexture.size,u_tile_units_to_pixels:1/E(t,1,e.transform.tileZoom),u_pixel_coord_upper:[i>>16,o>>16],u_pixel_coord_lower:[65535&i,65535&o]}}const Ar=e.create(),Dr=(t,r,n,i,o,a,s,l,c,u,d)=>{const f=r.style.light,p=f.properties.get("position"),h=[p.x,p.y,p.z],m=e.create$1();"viewport"===f.properties.get("anchor")&&(e.fromRotation(m,-r.transform.angle),e.transformMat3(h,h,m));const y=f.properties.get("color"),g=r.transform,v={u_matrix:t,u_lightpos:h,u_lightintensity:f.properties.get("intensity"),u_lightcolor:[y.r,y.g,y.b],u_vertical_gradient:+n,u_opacity:i,u_tile_id:[0,0,0],u_zoom_transition:0,u_inv_rot_matrix:Ar,u_merc_center:[0,0],u_up_dir:[0,0,0],u_height_lift:0,u_ao:o,u_edge_radius:a};return"globe"===g.projection.name&&(v.u_tile_id=[s.canonical.x,s.canonical.y,1<<s.canonical.z],v.u_zoom_transition=c,v.u_inv_rot_matrix=d,v.u_merc_center=u,v.u_up_dir=g.projection.upVector(new e.CanonicalTileID(0,0,0),u[0]*e.EXTENT,u[1]*e.EXTENT),v.u_height_lift=l),v},Ir=(t,r,n,i,o,a,s,l,c,u,d,f)=>{const p=Dr(t,r,n,i,o,a,s,c,u,d,f),h={u_height_factor:-Math.pow(2,s.overscaledZ)/l.tileSize/8};return e.extend(p,Lr(r,l),h)},Nr=e=>({u_matrix:e}),Rr=(t,r,n)=>e.extend(Nr(t),Lr(r,n)),zr=(e,t)=>({u_matrix:e,u_world:t}),Fr=(t,r,n,i)=>e.extend(Rr(t,r,n),{u_world:i}),Br=e.create(),Yr=(t,r,n,i,o,a)=>{const s=t.transform,l="globe"===s.projection.name;let c;if("map"===a.paint.get("circle-pitch-alignment"))if(l){const t=e.globePixelsToTileUnits(s.zoom,r.canonical)*s._pixelsPerMercatorPixel;c=Float32Array.from([t,0,0,t])}else c=s.calculatePixelsToTileUnitsMatrix(n);else c=new Float32Array([s.pixelsToGLUnits[0],0,0,s.pixelsToGLUnits[1]]);const u={u_camera_to_center_distance:s.cameraToCenterDistance,u_matrix:t.translatePosMatrix(r.projMatrix,n,a.paint.get("circle-translate"),a.paint.get("circle-translate-anchor")),u_device_pixel_ratio:e.exported.devicePixelRatio,u_extrude_scale:c,u_inv_rot_matrix:Br,u_merc_center:[0,0],u_tile_id:[0,0,0],u_zoom_transition:0,u_up_dir:[0,0,0]};if(l){u.u_inv_rot_matrix=i,u.u_merc_center=o,u.u_tile_id=[r.canonical.x,r.canonical.y,1<<r.canonical.z],u.u_zoom_transition=e.globeToMercatorTransition(s.zoom);const t=o[0]*e.EXTENT,n=o[1]*e.EXTENT;u.u_up_dir=s.projection.upVector(new e.CanonicalTileID(0,0,0),t,n)}return u},Ur=e=>{const t=[];return"map"===e.paint.get("circle-pitch-alignment")&&t.push("PITCH_WITH_MAP"),"map"===e.paint.get("circle-pitch-scale")&&t.push("SCALE_WITH_MAP"),t},Hr=(t,r,n,i)=>{const o=e.EXTENT/n.tileSize;return{u_matrix:t,u_camera_to_center_distance:r.getCameraToCenterDistance(i),u_extrude_scale:[r.pixelsToGLUnits[0]/o,r.pixelsToGLUnits[1]/o]}},$r=(e,t,r=1)=>({u_matrix:e,u_color:t,u_overlay:0,u_overlay_scale:r}),Wr=e.create(),Vr=(t,r,n,i,o,a,s)=>{const l=t.transform,c="globe"===l.projection.name,u=c?e.globePixelsToTileUnits(l.zoom,r.canonical)*l._pixelsPerMercatorPixel:E(n,1,a),d={u_matrix:r.projMatrix,u_extrude_scale:u,u_intensity:s,u_inv_rot_matrix:Wr,u_merc_center:[0,0],u_tile_id:[0,0,0],u_zoom_transition:0,u_up_dir:[0,0,0]};if(c){d.u_inv_rot_matrix=i,d.u_merc_center=o,d.u_tile_id=[r.canonical.x,r.canonical.y,1<<r.canonical.z],d.u_zoom_transition=e.globeToMercatorTransition(l.zoom);const t=o[0]*e.EXTENT,n=o[1]*e.EXTENT;d.u_up_dir=l.projection.upVector(new e.CanonicalTileID(0,0,0),t,n)}return d},qr=(e,t,r,n,i,o,a)=>{const s=e.transform,l=s.calculatePixelsToTileUnitsMatrix(t);return{u_matrix:Xr(e,t,r,n),u_pixels_to_tile_units:l,u_device_pixel_ratio:o,u_units_to_pixels:[1/s.pixelsToGLUnits[0],1/s.pixelsToGLUnits[1]],u_dash_image:0,u_gradient_image:1,u_image_height:i,u_texsize:Jr(r)?t.lineAtlasTexture.size:[0,0],u_tile_units_to_pixels:Zr(t,e.transform),u_alpha_discard_threshold:0,u_trim_offset:a}},Gr=(e,t,r,n,i)=>{const o=e.transform;return{u_matrix:Xr(e,t,r,n),u_texsize:t.imageAtlasTexture.size,u_pixels_to_tile_units:o.calculatePixelsToTileUnitsMatrix(t),u_device_pixel_ratio:i,u_image:0,u_tile_units_to_pixels:Zr(t,o),u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]],u_alph
vendor: 5,360 bytes, line 2
2a_discard_threshold:0}};function Zr(e,t){return 1/E(e,1,t.tileZoom)}function Xr(e,t,r,n){return e.translatePosMatrix(n||t.tileID.projMatrix,t,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}function Jr(e){const t=e.paint.get("line-dasharray").value;return t.value||"constant"!==t.kind}const Kr=(e,t,r,n,i,o)=>{return{u_matrix:e,u_tl_parent:t,u_scale_parent:r,u_fade_t:n.mix,u_opacity:n.opacity*i.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get("raster-brightness-min"),u_brightness_high:i.paint.get("raster-brightness-max"),u_saturation_factor:(s=i.paint.get("raster-saturation"),s>0?1-1/(1.001-s):-s),u_contrast_factor:(a=i.paint.get("raster-contrast"),a>0?1/(1-a):1+a),u_spin_weights:Qr(i.paint.get("raster-hue-rotate")),u_perspective_transform:o};var a,s};function Qr(e){e*=Math.PI/180;const t=Math.sin(e),r=Math.cos(e);return[(2*r+1)/3,(-Math.sqrt(3)*t-r+1)/3,(Math.sqrt(3)*t-r+1)/3]}const en=e.create(),tn=(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y)=>{const g=o.transform,v={u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:r?r.uSizeT:0,u_size:r?r.uSize:0,u_camera_to_center_distance:g.cameraToCenterDistance,u_rotate_symbol:+n,u_aspect_ratio:g.width/g.height,u_fade_change:o.options.fadeDuration?o.symbolFadeChange:1,u_matrix:a,u_label_plane_matrix:s,u_coord_matrix:l,u_is_text:+c,u_pitch_with_map:+i,u_texsize:u,u_texture:0,u_tile_id:[0,0,0],u_zoom_transition:0,u_inv_rot_matrix:en,u_merc_center:[0,0],u_camera_forward:[0,0,0],u_ecef_origin:[0,0,0],u_tile_matrix:en,u_up_vector:[0,-1,0]};return"globe"===y.name&&(v.u_tile_id=[d.canonical.x,d.canonical.y,1<<d.canonical.z],v.u_zoom_transition=f,v.u_inv_rot_matrix=h,v.u_merc_center=p,v.u_camera_forward=g._camera.forward(),v.u_ecef_origin=e.globeECEFOrigin(g.globeMatrix,d.toUnwrapped()),v.u_tile_matrix=Float32Array.from(g.globeMatrix),v.u_up_vector=m),v},rn=(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y,g)=>e.extend(tn(t,r,n,i,o,a,s,l,c,u,f,p,h,m,y,g),{u_gamma_scale:i?o.transform.cameraToCenterDistance*Math.cos(o.terrain?0:o.transform._pitch):1,u_device_pixel_ratio:e.exported.devicePixelRatio,u_is_halo:+d}),nn=(t,r,n,i,o,a,s,l,c,u,d,f,p,h,m,y)=>e.extend(rn(t,r,n,i,o,a,s,l,!0,c,!0,d,f,p,h,m,y),{u_texsize_icon:u,u_texture_icon:1}),on=(e,t,r)=>({u_matrix:e,u_opacity:t,u_color:r}),an=(t,r,n,i,o)=>e.extend(function(e,t,r){const n=t.imageManager.getPattern(e.toString()),{width:i,height:o}=t.imageManager.getPixelSize(),a=Math.pow(2,r.tileID.overscaledZ),s=r.tileSize*Math.pow(2,t.transform.tileZoom)/a,l=s*(r.tileID.canonical.x+r.tileID.wrap*a),c=s*r.tileID.canonical.y;return{u_image:0,u_pattern_tl:n.tl,u_pattern_br:n.br,u_texsize:[i,o],u_pattern_size:n.displaySize,u_tile_units_to_pixels:1/E(r,1,t.transform.tileZoom),u_pixel_coord_upper:[l>>16,c>>16],u_pixel_coord_lower:[65535&l,65535&c]}}(i,n,o),{u_matrix:t,u_opacity:r}),sn={fillExtrusion:t=>({u_matrix:new e.UniformMatrix4f(t),u_lightpos:new e.Uniform3f(t),u_lightintensity:new e.Uniform1f(t),u_lightcolor:new e.Uniform3f(t),u_vertical_gradient:new e.Uniform1f(t),u_opacity:new e.Uniform1f(t),u_edge_radius:new e.Uniform1f(t),u_ao:new e.Uniform2f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_up_dir:new e.Uniform3f(t),u_height_lift:new e.Uniform1f(t)}),fillExtrusionPattern:t=>({u_matrix:new e.UniformMatrix4f(t),u_lightpos:new e.Uniform3f(t),u_lightintensity:new e.Uniform1f(t),u_lightcolor:new e.Uniform3f(t),u_vertical_gradient:new e.Uniform1f(t),u_height_factor:new e.Uniform1f(t),u_edge_radius:new e.Uniform1f(t),u_ao:new e.Uniform2f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_up_dir:new e.Uniform3f(t),u_height_lift:new e.Uniform1f(t),u_image:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_pixel_coord_upper:new e.Uniform2f(t),u_pixel_coord_lower:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t),u_opacity:new e.Uniform1f(t)}),fill:t=>({u_matrix:new e.UniformMatrix4f(t)}),fillPattern:t=>({u_matrix:new e.UniformMatrix4f(t),u_image:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_pixel_coord_upper:new e.Uniform2f(t),u_pixel_coord_lower:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t)}),fillOutline:t=>({u_matrix:new e.UniformMatrix4f(t),u_world:new e.Uniform2f(t)}),fillOutlinePattern:t=>({u_matrix:new e.UniformMatrix4f(t),u_world:new e.Uniform2f(t),u_image:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_pixel_coord_upper:new e.Uniform2f(t),u_pixel_coord_lower:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t)}),circle:t=>({u_camera_to_center_distance:new e.Uniform1f(t),u_extrude_scale:new e.UniformMatrix2f(t),u_device_pixel_ratio:new e.Uniform1f(t),u_matrix:new e.UniformMatrix4f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_up_dir:new e.Uniform3f(t)}),collisionBox:t=>({u_matrix:new e.UniformMatrix4f(t),u_camera_to_center_distance:new e.Uniform1f(t),u_extrude_scale:new e.Uniform2f(t)}),collisionCircle:t=>({u_matrix:new e.UniformMatrix4f(t),u_inv_matrix:new e.UniformMatrix4f(t),u_camera_to_center_distance:new e.Uniform1f(t),u_viewport_size:new e.Uniform2f(t)}),debug:t=>
2({u_color:new e.UniformColor(t),u_matrix:new e.UniformMatrix4f(t),u_overlay:new e.Uniform1i(t),u_overlay_scale:new e.Uniform1f(t)}),clippingMask:t=>({u_matrix:new e.UniformMatrix4f(t)}),heatmap:t=>({u_extrude_scale:new e.Uniform1f(t),u_intensity:new e.Uniform1f(t),u_matrix:new e.UniformMatrix4f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_up_dir:new e.Uniform3f(t)}),heatmapTexture:t=>({u_image:new e.Uniform1i(t),u_color_ramp:new e.Uniform1i(t),u_opacity:new e.Uniform1f(t)}),hillshade:t=>({u_matrix:new e.UniformMatrix4f(t),u_image:new e.Uniform1i(t),u_latrange:new e.Uniform2f(t),u_light:new e.Uniform2f(t),u_shadow:new e.UniformColor(t),u_highlight:new e.UniformColor(t),u_accent:new e.UniformColor(t)}),hillshadePrepare:t=>({u_matrix:new e.UniformMatrix4f(t),u_image:new e.Uniform1i(t),u_dimension:new e.Uniform2f(t),u_zoom:new e.Uniform1f(t),u_unpack:new e.Uniform4f(t)}),line:t=>({u_matrix:new e.UniformMatrix4f(t),u_pixels_to_tile_units:new e.UniformMatrix2f(t),u_device_pixel_ratio:new e.Uniform1f(t),u_units_to_pixels:new e.Uniform2f(t),u_dash_image:new e.Uniform1i(t),u_gradient_image:new e.Uniform1i(t),u_image_height:new e.Uniform1f(t),u_texsize:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t),u_alpha_discard_threshold:new e.Uniform1f(t),u_trim_offset:new e.Uniform2f(t)}),linePattern:t=>({u_matrix:new e.UniformMatrix4f(t),u_texsize:new e.Uniform2f(t),u_pixels_to_tile_units:new e.UniformMatrix2f(t),u_device_pixel_ratio:new e.Uniform1f(t),u_image:new e.Uniform1i(t),u_units_to_pixels:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t),u_alpha_discard_threshold:new e.Uniform1f(t)}),raster:t=>({u_matrix:new e.UniformMatrix4f(t),u_tl_parent:new e.Uniform2f(t),u_scale_parent:new e.Uniform1f(t),u_fade_t:new e.Uniform1f(t),u_opacity:new e.Uniform1f(t),u_image0:new e.Uniform1i(t),u_image1:new e.Uniform1i(t),u_brightness_low:new e.Uniform1f(t),u_brightness_high:new e.Uniform1f(t),u_saturation_factor:new e.Uniform1f(t),u_contrast_factor:new e.Uniform1f(t),u_spin_weights:new e.Uniform3f(t),u_perspective_transform:new e.Uniform2f(t)}),symbolIcon:t=>({u_is_size_zoom_constant:new e.Uniform1i(t),u_is_size_feature_constant:new e.Uniform1i(t),u_size_t:new e.Uniform1f(t),u_size:new e.Uniform1f(t),u_camera_to_center_distance:new e.Uniform1f(t),u_rotate_symbol:new e.Uniform1i(t),u_aspect_ratio:new e.Uniform1f(t),u_fade_change:new e.Uniform1f(t),u_matrix:new e.UniformMatrix4f(t),u_label_plane_matrix:new e.UniformMatrix4f(t),u_coord_matrix:new e.UniformMatrix4f(t),u_is_text:new e.Uniform1i(t),u_pitch_with_map:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_camera_forward:new e.Uniform3f(t),u_tile_matrix:new e.UniformMatrix4f(t),u_up_vector:new e.Uniform3f(t),u_ecef_origin:new e.Uniform3f(t),u_texture:new e.Uniform1i(t)}),symbolSDF:t=>({u_is_size_zoom_constant:new e.Uniform1i(t),u_is_size_feature_constant:new e.Uniform1i(t),u_size_t:new e.Uniform1f(t),u_size:new e.Uniform1f(t),u_camera_to_center_distance:new e.Uniform1f(t),u_rotate_symbol:new e.Uniform1i(t),u_aspect_ratio:new e.Uniform1f(t),u_fade_change:new e.Uniform1f(t),u_matrix:new e.UniformMatrix4f(t),u_label_plane_matrix:new e.UniformMatrix4f(t),u_coord_matrix:new e.UniformMatrix4f(t),u_is_text:new e.Uniform1i(t),u_pitch_with_map:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_texture:new e.Uniform1i(t),u_gamma_scale:new e.Uniform1f(t),u_device_pixel_ratio:new e.Uniform1f(t),u_tile_id:new e.Uniform3f(t),u_zoom_transition:new e.Uniform1f(t),u_inv_rot_matrix:new e.UniformMatrix4f(t),u_merc_center:new e.Uniform2f(t),u_camera_forward:new e.Uniform3f(t),u_tile_matrix:new e.UniformMatrix4f(t),u_up_vector:new e.Uniform3f(t),u_ecef_origin:new e.Uniform3f(t),u_is_halo:new e.Uniform1i(t)}),symbolTextAndIcon:t=>({u_is_size_zoom_constant:new e.Uniform1i(t),u_is_size_feature_constant:new e.Uniform1i(t),u_size_t:new e.Uniform1f(t),u_size:new e.Uniform1f(t),u_camera_to_center_distance:new e.Uniform1f(t),u_rotate_symbol:new e.Uniform1i(t),u_aspect_ratio:new e.Uniform1f(t),u_fade_change:new e.Uniform1f(t),u_matrix:new e.UniformMatrix4f(t),u_label_plane_matrix:new e.UniformMatrix4f(t),u_coord_matrix:new e.UniformMatrix4f(t),u_is_text:new e.Uniform1i(t),u_pitch_with_map:new e.Uniform1i(t),u_texsize:new e.Uniform2f(t),u_texsize_icon:new e.Uniform2f(t),u_texture:new e.Uniform1i(t),u_texture_icon:new e.Uniform1i(t),u_gamma_scale:new e.Uniform1f(t),u_device_pixel_ratio:new e.Uniform1f(t),u_is_halo:new e.Uniform1i(t)}),background:t=>({u_matrix:new e.UniformMatrix4f(t),u_opacity:new e.Uniform1f(t),u_color:new e.UniformColor(t)}),backgroundPattern:t=>({u_matrix:new e.UniformMatrix4f(t),u_opacity:new e.Uniform1f(t),u_image:new e.Uniform1i(t),u_pattern_tl:new e.Uniform2f(t),u_pattern_br:new e.Uniform2f(t),u_texsize:new e.Uniform2f(t),u_pattern_size:new e.Uniform2f(t),u_pixel_coord_upper:new e.Uniform2f(t),u_pixel_coord_lower:new e.Uniform2f(t),u_tile_units_to_pixels:new e.Uniform1f(t)}),terrainRaster:gr,terrainDepth:gr,skybox:t=>({u_matrix:new e.UniformMatrix4f(t),u_sun_direction:new e.Uniform3f(t),u_cubemap:new e.Uniform1i(t),u_opacity:new e.Uniform1f(t),u_temporal_offset:new e.Uniform1f(t)}),skyboxGradient:t=>({u_matrix:new e.UniformMatrix4f(t),u_color_ramp:new e.Uniform1i(t),u_center_direction:new e.Uniform3f(t),u_radius:new e.Uniform1f(t),u_opacity:new e.Uniform1f(t),u_temporal_offset:new e.Uniform1f(t)}),skyboxCapture:t=>({u_matrix_3f:new e.UniformMatrix3f(t),u_sun_direction:new e.Uniform3f(t),u_sun_intensity:new e.Uniform1f(t),u_color_tint_r:new e.Uniform4f(t),u_color_tint_m:new e.Uniform4f(t),u_luminance:new e.Uniform1f(t)}),globeRaster:t=>({u_proj_matrix:new e.UniformMatrix4f(t),u_globe_matrix:new e.UniformMatrix4f(t),u_normalize_matrix:new e.UniformMatrix4f(t),u_merc_matrix:new e.UniformMatrix4f(t),u_zoom_transition:new e.Uniform1f(t),u_merc_center:new e.Uniform2f(t),u_image0:new e.Uniform1i(t),u_grid_matrix:new e.UniformMatrix3f(t),u_skirt_height:new e.Uniform1f(t),u_frustum_tl:new e.Uniform3f(t),u_frustum_tr:new e.Uniform3f(t),u_frustum_br:new e.Uniform3f(t),u_frustum_bl:new e.Uniform3f(t),u_globe_pos:new e.Uniform3f(t),u_globe_radius:new e.Uniform1f(t),u_viewport:new e.Uniform2f(t)}),globeAtmosphere:t=>({u_frustum_tl:new e.Uniform3f(t),u_frustum_tr:new e.Uniform3f(t),u_frustum_br:new e.Uniform3f(t),u_frustum_bl:new e.Uniform3f(t),u_horizon:new e.Uniform1f(t),u_transition:new e.Uniform1f(t),u_fadeout_range:new e.Uniform1f(t),u_color:new e.Uniform4f(t),u_high_color:new e.Uniform4f(t),u_space_color:new e.Uniform4f(t),u_star_intensity:new e.Uniform1f(t),u_star_density:new e.Uniform1f(t),u_star_size:new e.Uniform1f(t),u_temporal_offset:new e.Uniform1f(t),u_horizon_angle:new e.Uniform1f(t),u_rotation_matrix:new e.UniformMatrix4f(t)})};let ln;function cn(t,r,n,i,o,a,s){const l=t.context,c=l.gl,u=t.transform,d=t.useProgram("collisionBox"),f=[];let p=0,h=0;for(let m=0;m<i.length;m++){const y=i[m],g=r.getTile(y),v=g.getBucket(n);if(!v)continue;const b=vt(y,v,u);let _=b;0===o[0]&&0===o[1]||(_=t.translatePosMatrix(b,g,o,a));const x=s?v.textCollisionBox:v.iconCollisionBox,w=v.collisionCircleArray;
2if(w.length>0){const t=e.create(),r=_;e.mul(t,v.placementInvProjMatrix,u.glCoordMatrix),e.mul(t,t,v.placementViewportMatrix),f.push({circleArray:w,circleOffset:h,transform:r,invTransform:t,projection:v.getProjection()}),p+=w.length/4,h=p}x&&(t.terrain&&t.terrain.setupElevationDraw(g,d),d.draw(l,c.LINES,e.DepthMode.disabled,e.StencilMode.disabled,t.colorModeForRenderPass(),e.CullFaceMode.disabled,Hr(_,u,g,v.getProjection()),n.id,x.layoutVertexBuffer,x.indexBuffer,x.segments,null,u.zoom,null,[x.collisionVertexBuffer,x.collisionVertexBufferExt]))}if(!s||!f.length)return;const m=t.useProgram("collisionCircle"),y=new e.StructArrayLayout2f1f2i16;y.resize(4*p),y._trim();let g=0;for(const e of f)for(let t=0;t<e.circleArray.length/4;t++){const r=4*t,n=e.circleArray[r+0],i=e.circleArray[r+1],o=e.circleArray[r+2],a=e.circleArray[r+3];y.emplace(g++,n,i,o,a,0),y.emplace(g++,n,i,o,a,1),y.emplace(g++,n,i,o,a,2),y.emplace(g++,n,i,o,a,3)}(!ln||ln.length<2*p)&&(ln=function(t){const r=2*t,n=new e.StructArrayLayout3ui6;n.resize(r),n._trim();for(let e=0;e<r;e++){const t=6*e;n.uint16[t+0]=4*e+0,n.uint16[t+1]=4*e+1,n.uint16[t+2]=4*e+2,n.uint16[t+3]=4*e+2,n.uint16[t+4]=4*e+3,n.uint16[t+5]=4*e+0}return n}(p));const v=l.createIndexBuffer(ln,!0),b=l.createVertexBuffer(y,e.collisionCircleLayout.members,!0);for(const r of f){const i={u_matrix:r.transform,u_inv_matrix:r.invTransform,u_camera_to_center_distance:(_=u).getCameraToCenterDistance(r.projection),u_viewport_size:[_.width,_.height]};m.draw(l,c.TRIANGLES,e.DepthMode.disabled,e.StencilMode.disabled,t.colorModeForRenderPass(),e.CullFaceMode.disabled,i,n.id,b,v,e.SegmentVector.simpleSegment(0,2*r.circleOffset,r.circleArray.length,r.circleArray.length/2),null,u.zoom)}var _;b.destroy(),v.destroy()}const un=e.create();function dn({width:t,height:r,anchor:n,textOffset:i,textScale:o},a){const{horizontalAlign:s,verticalAlign:l}=e.getAnchorAlignment(n),c=-(s-.5)*t,u=-(l-.5)*r,d=e.evaluateVariableOffset(n,i);return new e.Point((c/o+d[0])*a,(u/o+d[1])*a)}function fn(t,r,n,i,o,a,s,l,c,u,d){const f=t.text.placedSymbolArray,p=t.text.dynamicLayoutVertexArray,h=t.icon.dynamicLayoutVertexArray,m={},y=t.getProjection(),g=bt(l,y,a),v=a.elevation,b=y.upVectorScale(l.canonical,a.center.lat,a.worldSize).metersToTile;p.clear();for(let h=0;h<f.length;h++){const _=f.get(h),{tileAnchorX:x,tileAnchorY:w,numGlyphs:O}=_,j=_.hidden||!_.crossTileID||t.allowVerticalPlacement&&!_.placedOrientation?null:i[_.crossTileID];if(j){let i=0,f=0,h=0;if(v){const e=v?v.getAtTileOffset(l,x,w):0,[t,r,n]=y.upVector(l.canonical,x,w);i=e*t*b,f=e*r*b,h=e*n*b}let[S,M,k,P]=nt(_.projectedAnchorX+i,_.projectedAnchorY+f,_.projectedAnchorZ+h,n?g:s);const T=it(a.getCameraToCenterDistance(y),P);let E=o.evaluateSizeForFeature(t.textSizeData,u,_)*T/e.ONE_EM;n&&(E*=t.tilePixelRatio/c);const C=dn(j,E);n?(({x:S,y:M,z:k}=y.projectTilePoint(x+C.x,w+C.y,l.canonical)),[S,M,k]=nt(S+i,M+f,k+h,s)):(r&&C._rotate(-a.angle),S+=C.x,M+=C.y,k=0);const L=t.allowVerticalPlacement&&_.placedOrientation===e.WritingMode.vertical?Math.PI/2:0;for(let t=0;t<O;t++)e.addDynamicAttributes(p,S,M,k,L);d&&_.associatedIconIndex>=0&&(m[_.associatedIconIndex]={x:S,y:M,z:k,angle:L})}else pt(O,p)}if(d){h.clear();const r=t.icon.placedSymbolArray;for(let t=0;t<r.length;t++){const n=r.get(t),{numGlyphs:i}=n,o=m[t];if(n.hidden||!o)pt(i,h);else{const{x:t,y:r,z:n,angle:a}=o;for(let o=0;o<i;o++)e.addDynamicAttributes(h,t,r,n,a)}}t.icon.dynamicLayoutVertexBuffer.updateData(h)}t.text.dynamicLayoutVertexBuffer.updateData(p)}function pn(e,t,r){return r.iconsInText&&t?"symbolTextAndIcon":e?"symbolSDF":"symbolIcon"}function hn(t,r,n,i,o,a,s,l,c,u,d,f){const p=t.context,h=p.gl,m=t.transform,y="map"===l,g="map"===c,v=y&&"point"!==n.layout.get("symbol-placement"),b=y&&!g&&!v,_=void 0!==n.layout.get("symbol-sort-key").constantOr(1);let x=!1;const w=t.depthModeForSublayer(0,e.DepthMode.ReadOnly),O=[e.mercatorXfromLng(m.center.lng),e.mercatorYfromLat(m.center.lat)],j=n.layout.get("text-variable-anchor"),S="globe"===m.projection.name,M=[],k=[0,-1,0];let P=k;!S&&!m.mercatorFromTransition||y||(P=function(t){const r=t._camera.getWorldToCamera(t.worldSize,1),n=e.multiply([],r,t.globeMatrix);e.invert(n,n);const i=[0,0,0],o=[0,1,0,0];return e.transformMat4$1(o,o,n),i[0]=o[0],i[1]=o[1],i[2]=o[2],e.normalize(i,i),i}(m));for(const l of i){const i=r.getTile(l),c=i.getBucket(n);if(!c)continue;if("mercator"===c.projection.name&&S)continue;const d=o?c.text:c.icon;if(!d||c.fullyClipped||!d.segments.get().length)continue;const f=d.programConfigurations.get(n.id),p=o||c.sdfIcons,w=o?c.textSizeData:c.iconSizeData,T=g||0!==m.pitch,E=e.evaluateSizeForZoom(w,m.zoom);let C,L,A,D,I=[0,0],N=null;
2if(o)L=i.glyphAtlasTexture,A=h.LINEAR,C=i.glyphAtlasTexture.size,c.iconsInText&&(I=i.imageAtlasTexture.size,N=i.imageAtlasTexture,D=T||t.options.rotating||t.options.zooming||"composite"===w.kind||"camera"===w.kind?h.LINEAR:h.NEAREST);else{const e=1!==n.layout.get("icon-size").constantOr(0)||c.iconsNeedLinear;L=i.imageAtlasTexture,A=p||t.options.rotating||t.options.zooming||e||T?h.LINEAR:h.NEAREST,C=i.imageAtlasTexture.size}const R="globe"===c.projection.name,z=R?P:k,F=R?e.globeToMercatorTransition(m.zoom):0,B=bt(l,c.getProjection(),m),Y=m.calculatePixelsToTileUnitsMatrix(i),U=et(B,i.tileID.canonical,g,y,m,c.getProjection(),Y),H=t.terrain&&g&&v?e.invert(e.create(),U):un,$=rt(B,i.tileID.canonical,g,y,m,c.getProjection(),Y),W=j&&c.hasTextData(),V="none"!==n.layout.get("icon-text-fit")&&W&&c.hasIconData();if(v){const e=m.elevation,r=e?e.getAtTileOffsetFunc(l,m.center.lat,m.worldSize,c.getProjection()):null,n=tt(B,i.tileID.canonical,g,y,m,c.getProjection(),Y);at(c,B,t,o,n,$,g,u,r,l)}const q=v||o&&j||V,G=t.translatePosMatrix(B,i,a,s),Z=q?un:U,X=t.translatePosMatrix($,i,a,s,!0),J=c.getProjection().createInversionMatrix(m,l.canonical),K=[];t.terrainRenderModeElevated()&&g&&K.push("PITCH_WITH_MAP_TERRAIN"),R&&K.push("PROJECTION_GLOBE_VIEW"),q&&K.push("PROJECTED_POS_ON_VIEWPORT");const Q=p&&0!==n.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1);let ee;ee=p?c.iconsInText?nn(w.kind,E,b,g,t,G,Z,X,C,I,l,F,O,J,z,c.getProjection()):rn(w.kind,E,b,g,t,G,Z,X,o,C,!0,l,F,O,J,z,c.getProjection()):tn(w.kind,E,b,g,t,G,Z,X,o,C,l,F,O,J,z,c.getProjection());const te={program:t.useProgram(pn(p,o,c),f,K),buffers:d,uniformValues:ee,atlasTexture:L,atlasTextureIcon:N,atlasInterpolation:A,atlasInterpolationIcon:D,isSDF:p,hasHalo:Q,tile:i,labelPlaneMatrixInv:H};if(_&&c.canOverlap){x=!0;const t=d.segments.get();for(const r of t)M.push({segments:new e.SegmentVector([r]),sortKey:r.sortKey,state:te})}else M.push({segments:d.segments,sortKey:0,state:te})}x&&M.sort((e,t)=>
2e.sortKey-t.sortKey);for(const e of M){const r=e.state;if(t.terrain&&t.terrain.setupElevationDraw(r.tile,r.program,{useDepthForOcclusion:!S,labelPlaneMatrixInv:r.labelPlaneMatrixInv}),p.activeTexture.set(h.TEXTURE0),r.atlasTexture.bind(r.atlasInterpolation,h.CLAMP_TO_EDGE),r.atlasTextureIcon&&(p.activeTexture.set(h.TEXTURE1),r.atlasTextureIcon&&r.atlasTextureIcon.bind(r.atlasInterpolationIcon,h.CLAMP_TO_EDGE)),r.isSDF){const i=r.uniformValues;r.hasHalo&&(i.u_is_halo=1,mn(r.buffers,e.segments,n,t,r.program,w,d,f,i)),i.u_is_halo=0}mn(r.buffers,e.segments,n,t,r.program,w,d,f,r.uniformValues)}}function mn(t,r,n,i,o,a,s,l,c){const u=i.context,d=[t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer,t.globeExtVertexBuffer];o.draw(u,u.gl.TRIANGLES,a,s,l,e.CullFaceMode.disabled,c,n.id,t.layoutVertexBuffer,t.indexBuffer,r,n.paint,i.transform.zoom,t.programConfigurations.get(n.id),d)}function yn(t,r,n,i,o,a,s){const l=t.context.gl,c=n.paint.get("fill-pattern"),u=c&&c.constantOr(1);let d,f,p,h,m;s?(f=u&&!n.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",d=l.LINES):(f=u?"fillPattern":"fill",d=l.TRIANGLES);for(const y of i){const i=r.getTile(y);if(u&&!i.patternsLoaded())continue;const g=i.getBucket(n);if(!g)continue;t.prepareDrawTile();const v=g.programConfigurations.get(n.id),b=t.useProgram(f,v);u&&(t.context.activeTexture.set(l.TEXTURE0),i.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),v.updatePaintBuffers());const _=c.constantOr(null);if(_&&i.imageAtlas){const e=i.imageAtlas.patternPositions[_.toString()];e&&v.setConstantPatternPositions(e)}const x=t.translatePosMatrix(y.projMatrix,i,n.paint.get("fill-translate"),n.paint.get("fill-translate-anchor"));if(s){h=g.indexBuffer2,m=g.segments2;const e=t.terrain&&t.terrain.renderingToTexture?t.terrain.drapeBufferSize:[l.drawingBufferWidth,l.drawingBufferHeight];p="fillOutlinePattern"===f&&u?Fr(x,t,i,e):zr(x,e)}else h=g.indexBuffer,m=g.segments,p=u?Rr(x,t,i):Nr(x);t.prepareDrawProgram(t.context,b,y.toUnwrapped()),b.draw(t.context,d,o,t.stencilModeForClipping(y),a,e.CullFaceMode.disabled,p,n.id,g.layoutVertexBuffer,h,m,n.paint,t.transform.zoom,v)}}function gn(t,r,n,i,o,a,s){const l=t.context,c=l.gl,u=t.transform,d=n.paint.get("fill-extrusion-pattern"),f=d.constantOr(1),p=n.paint.get("fill-extrusion-opacity"),h=[n.paint.get("fill-extrusion-ambient-occlusion-intensity"),n.paint.get("fill-extrusion-ambient-occlusion-radius")],m=n.layout.get("fill-extrusion-edge-radius"),y=m>0&&!n.paint.get("fill-extrusion-rounded-roof"),g=y?0:m,v="globe"===u.projection.name?e.fillExtrusionHeightLift():0,b="globe"===u.projection.name,_=b?e.globeToMercatorTransition(u.zoom):0,x=[e.mercatorXfromLng(u.center.lng),e.mercatorYfromLat(u.center.lat)],w=[];b&&w.push("PROJECTION_GLOBE_VIEW"),h[0]>0&&w.push("FAUX_AO"),y&&w.push("ZERO_ROOF_RADIUS");for(const m of i){const i=r.getTile(m),y=i.getBucket(n);if(!y||y.projection.name!==u.projection.name)continue;const O=y.programConfigurations.get(n.id),j=t.useProgram(f?"fillExtrusionPattern":"fillExtrusion",O,w);if(t.terrain){const e=t.terrain;if(t.style.terrainSetForDrapingOnly())e.setupElevationDraw(i,j,{useMeterToDem:!0});else{if(!y.enableTerrain)continue;if(e.setupElevationDraw(i,j,{useMeterToDem:!0}),vn(l,r,m,y,n,e),!y.centroidVertexBuffer){const e=j.attributes.a_centroid_pos;void 0!==e&&c.vertexAttrib2f(e,0,0)}}}f&&(t.context.activeTexture.set(c.TEXTURE0),i.imageAtlasTexture.bind(c.LINEAR,c.CLAMP_TO_EDGE),O.updatePaintBuffers());const S=d.constantOr(null);if(S&&i.imageAtlas){const e=i.imageAtlas.patternPositions[S.toString()];e&&O.setConstantPatternPositions(e)}const M=t.translatePosMatrix(m.projMatrix,i,n.paint.get("fill-extrusion-translate"),n.paint.get("fill-extrusion-translate-anchor")),k=u.projection.createInversionMatrix(u,m.canonical),P=n.paint.get("fill-extrusion-vertical-gradient"),T=f?Ir(M,t,P,p,h,g,m,i,v,_,x,k):Dr(M,t,P,p,h,g,m,v,_,x,k);t.prepareDrawProgram(l,j,m.toUnwrapped());const E=[];t.terrain&&E.push(y.centroidVertexBuffer),b&&E.push(y.layoutVertexExtBuffer),j.draw(l,l.gl.TRIANGLES,o,a,s,e.CullFaceMode.backCCW,T,n.id,y.layoutVertexBuffer,y.indexBuffer,y.segments,n.paint,t.transform.zoom,O,E)}}function vn(t,r,n,i,o,a){const s=[t=>{let r=t.canonical.x-1,n=t.wrap;return r<0&&(r=(1<<t.canonical.z)-1,n--),new e.OverscaledTileID(t.overscaledZ,n,t.canonical.z,r,t.canonical.y)},t=>{let r=t.canonical.x+1,n=t.wrap;return r===1<<t.canonical.z&&(r=0,n++),new e.OverscaledTileID(t.overscaledZ,n,t.canonical.z,r,t.canonical.y)},t=>new e.OverscaledTileID(t.overscaledZ,t.wrap,t.canonical.z,t.canonical.x,(0===t.canonical.y?1<<t.canonical.z:t.canonical.y)-1),t=>new e.OverscaledTileID(t.overscaledZ,t.wrap,t.canonical.z,t.canonical.x,t.canonical.y===(1<<t.canonical.z)-1?0:t.canonical.y+1)],l=e=>{const t=r.getSource().minzoom,n=e=>{const t=r.getTileByID(e);if(t&&t.hasData())return t.getBucket(o)},i=[0,-1,1];for(const r of i){if(e.overscaledZ+r<t)continue;const i=n(e.calculateScaledKey(e.overscaledZ+r));if(i)return i}},c=[0,0,0],u=(t,r)=>(c[0]=Math.min(t.min.y,r.min.y),c[1]=Math.max(t.max.y,r.max.y),c[2]=e.EXTENT-r.min.x>t.max.x?r.min.x-e.EXTENT:t.max.x,c),d=(t,r)=>(c[0]=Math.min(t.min.x,r.min.x),c[1]=Math.max(t.max.x,r.max.x),c[2]=e.EXTENT-r.min.y>t.max.y?r.min.y-e.EXTENT:t.max.y,c),f=[(e,t)=>u(e,t),(e,t)=>u(t,e),(e,t)=>d(e,t),(e,t)=>d(t,e)],p=new e.Point(0,0);let h,m,y;const g=(t,r,i,o,s)=>
vendor: 18,656 bytes, line 2
2{const l=[[o?i:t,o?t:i,0],[o?i:r,o?r:i,0]],c=s<0?e.EXTENT+s:s,u=[o?c:(t+r)/2,o?(t+r)/2:c,0];return 0===i&&s<0||0!==i&&s>0?a.getForTilePoints(y,[u],!0,m):l.push(u),a.getForTilePoints(n,l,!0,h),Math.max(l[0][2],l[1][2],u[2])/a.exaggeration()};for(let t=0;t<4;t++){const r=(t<2?1:5)-t,o=i.borders[t];if(0===o.length)continue;const c=y=s[t](n),u=l(c);if(!(u&&u instanceof e.FillExtrusionBucket&&u.enableTerrain))continue;if(i.borderDoneWithNeighborZ[t]===u.canonical.z&&u.borderDoneWithNeighborZ[r]===i.canonical.z)continue;if(m=a.findDEMTileFor(c),!m||!m.dem)continue;if(!h){const e=a.findDEMTileFor(n);if(!e||!e.dem)return;h=e}const d=u.borders[r];let v=0;const b=u.borderDoneWithNeighborZ[r]!==i.canonical.z;if(i.canonical.z===u.canonical.z){for(let n=0;n<o.length;n++){const a=i.featuresOnBorder[o[n]],s=a.borders[t];let l;for(;v<d.length&&(l=u.featuresOnBorder[d[v]],!(l.borders[r][1]>s[0]+3));)b&&u.encodeCentroid(void 0,l,!1),v++;if(l&&v<d.length){const n=v;let o=0;for(;!(l.borders[r][0]>s[1]-3)&&(o++,++v!==d.length);)l=u.featuresOnBorder[d[v]];if(l=u.featuresOnBorder[d[n]],a.intersectsCount()>1||l.intersectsCount()>1||1!==o){1!==o&&(v=n),i.encodeCentroid(void 0,a,!1),b&&u.encodeCentroid(void 0,l,!1);continue}const c=f[t](a,l),h=t%2?e.EXTENT-1:0;p.x=g(c[0],Math.min(e.EXTENT-1,c[1]),h,t<2,c[2]),p.y=0,i.encodeCentroid(p,a,!1),b&&u.encodeCentroid(p,l,!1)}else i.encodeCentroid(void 0,a,!1)}i.borderDoneWithNeighborZ[t]=u.canonical.z,i.needsCentroidUpdate=!0,b&&(u.borderDoneWithNeighborZ[r]=i.canonical.z,u.needsCentroidUpdate=!0)}else{for(const e of o)i.encodeCentroid(void 0,i.featuresOnBorder[e],!1);if(b){for(const e of d)u.encodeCentroid(void 0,u.featuresOnBorder[e],!1);u.borderDoneWithNeighborZ[r]=i.canonical.z,u.needsCentroidUpdate=!0}i.borderDoneWithNeighborZ[t]=u.canonical.z,i.needsCentroidUpdate=!0}}(i.needsCentroidUpdate||!i.centroidVertexBuffer&&0!==i.centroidVertexArray.length)&&i.uploadCentroid(t)}const bn=new e.Color(1,0,0,1),_n=new e.Color(0,1,0,1),xn=new e.Color(0,0,1,1),wn=new e.Color(1,0,1,1),On=new e.Color(0,1,1,1);function jn(t,r,n){const i=t.context,o=t.transform,a=i.gl,s="globe"===o.projection.name,l=s?["PROJECTION_GLOBE_VIEW"]:null;let c=n.projMatrix;if(s&&e.globeToMercatorTransition(o.zoom)>0){const t=e.transitionTileAABBinECEF(n.canonical,o),r=e.globeDenormalizeECEF(t);c=e.multiply(new Float32Array(16),o.globeMatrix,r),e.multiply(c,o.projMatrix,c)}const u=t.useProgram("debug",null,l),d=r.getTileByID(n.key);t.terrain&&t.terrain.setupElevationDraw(d,u);const f=e.DepthMode.disabled,p=e.StencilMode.disabled,h=t.colorModeForRenderPass(),m="$debug";i.activeTexture.set(a.TEXTURE0),t.emptyTexture.bind(a.LINEAR,a.CLAMP_TO_EDGE),s?d._makeGlobeTileDebugBuffers(t.context,o):d._makeDebugTileBoundsBuffers(t.context,o.projection);const y=d._tileDebugBuffer||t.debugBuffer,g=d._tileDebugIndexBuffer||t.debugIndexBuffer,v=d._tileDebugSegments||t.debugSegments;u.draw(i,a.LINE_STRIP,f,p,h,e.CullFaceMode.disabled,$r(c,e.Color.red),m,y,g,v,null,null,null,[d._globeTileDebugBorderBuffer]);const b=d.latestRawTileData,_=Math.floor((b&&b.byteLength||0)/1024),x=r.getTile(n).tileSize,w=512/Math.min(x,512)*(n.overscaledZ/o.zoom)*.5;let O=n.canonical.toString();n.overscaledZ!==n.canonical.z&&(O+=` => ${n.overscaledZ}`),O+=` ${_}kb`,function(e,t){e.initDebugOverlayCanvas();const r=e.debugOverlayCanvas,n=e.context.gl,i=e.debugOverlayCanvas.getContext("2d");i.clearRect(0,0,r.width,r.height),i.shadowColor="white",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle="white",i.textBaseline="top",i.font="bold 36px Open Sans, sans-serif",i.fillText(t,5,5),i.strokeText(t,5,5),e.debugOverlayTexture.update(r),e.debugOverlayTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)}(t,O);const j=d._tileDebugTextBuffer||t.debugBuffer,S=d._tileDebugTextIndexBuffer||t.quadTriangleIndexBuffer,M=d._tileDebugTextSegments||t.debugSegments;u.draw(i,a.TRIANGLES,f,p,e.ColorMode.alphaBlended,e.CullFaceMode.disabled,$r(c,e.Color.transparent,w),m,j,S,M,null,null,null,[d._globeTileDebugTextBuffer])}function Sn(e,t,r,n){kn(e,0,t+r/2,e.transform.width,r,n)}function Mn(e,t,r,n){kn(e,t-r/2,0,r,e.transform.height,n)}function kn(t,r,n,i,o,a){const s=t.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(r*e.exported.devicePixelRatio,n*e.exported.devicePixelRatio,i*e.exported.devicePixelRatio,o*e.exported.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}const Pn=e.createLayout([{name:"a_pos_3f",components:3,type:"Float32"}]),{members:Tn}=Pn;function En(e,t,r,n){e.emplaceBack(t,r,n)}class Cn{constructor(t){this.vertexArray=new e.StructArrayLayout3f12,this.indices=new e.StructArrayLayout3ui6,En(this.vertexArray,-1,-1,1),En(this.vertexArray,1,-1,1),En(this.vertexArray,-1,1,1),En(this.vertexArray,1,1,1),En(this.vertexArray,-1,-1,-1),En(this.vertexArray,1,-1,-1),En(this.vertexArray,-1,1,-1),En(this.vertexArray,1,1,-1),this.indices.emplaceBack(5,1,3),this.indices.emplaceBack(3,7,5),this.indices.emplaceBack(6,2,0),this.indices.emplaceBack(0,4,6),this.indices.emplaceBack(2,6,7),this.indices.emplaceBack(7,3,2),this.indices.emplaceBack(5,4,0),this.indices.emplaceBack(0,1,5),this.indices.emplaceBack(0,2,3),this.indices.emplaceBack(3,1,0),this.indices.emplaceBack(7,6,4),this.indices.emplaceBack(4,5,7),this.vertexBuffer=t.createVertexBuffer(this.vertexArray,Tn),this.indexBuffer=t.createIndexBuffer(this.indices),this.segment=e.SegmentVector.simpleSegment(0,0,36,12)}}function Ln(t,r,n,i,o,a){const s=t.gl,l=r.paint.get("sky-atmosphere-color"),c=r.paint.get("sky-atmosphere-halo-color"),u=r.paint.get("sky-atmosphere-sun-intensity"),d=((e,t,r,n,i)=>({u_matrix_3f:e,u_sun_direction:t,u_sun_intensity:r,u_color_tint_r:[n.r,n.g,n.b,n.a],u_color_tint_m:[i.r,i.g,i.b,i.a],u_luminance:5e-5}))(e.fromMat4(e.create$1(),i),o,u,l,c);s.framebufferTexture2D(s.FRAMEBUFFER,s.COLOR_ATTACHMENT0,s.TEXTURE_CUBE_MAP_POSITIVE_X+a,r.skyboxTexture,0),n.draw(t,s.TRIANGLES,e.DepthMode.disabled,e.StencilMode.disabled,e.ColorMode.unblended,e.CullFaceMode.frontCW,d,"skyboxCapture",r.skyboxGeometry.vertexBuffer,r.skyboxGeometry.indexBuffer,r.skyboxGeometry.segment)}const An=e.createLayout([{type:"Float32",name:"a_pos",components:3},{type:"Float32",name:"a_uv",components:2}]);class Dn{constructor(t){const r=new e.StructArrayLayout5f20;r.emplaceBack(-1,1,1,0,0),r.emplaceBack(1,1,1,1,0),r.emplaceBack(1,-1,1,1,1),r.emplaceBack(-1,-1,1,0,1);const n=new e.StructArrayLayout3ui6;n.emplaceBack(0,1,2),n.emplaceBack(2,3,0),this.vertexBuffer=t.createVertexBuffer(r,An.members),this.indexBuffer=t.createIndexBuffer(n),this.segments=e.SegmentVector.simpleSegment(0,0,4,2)}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy()}}const In={symbol:function(t,r,n,i,o){if("translucent"!==t.renderPass)return;const a=e.StencilMode.disabled,s=t.colorModeForRenderPass();n.layout.get("text-variable-anchor")&&function(t,r,n,i,o,a,s){const l=r.transform,c="map"===o,u="map"===a;for(const r of t){const t=i.getTile(r),o=t.getBucket(n);if(!o||!o.text||!o.text.segments.get().length)continue;const a=e.evaluateSizeForZoom(o.textSizeData,l.zoom),d=bt(r,o.getProjection(),l),f=l.calculatePixelsToTileUnitsMatrix(t),p=et(d,t.tileID.canonical,u,c,l,o.getProjection(),f),h="none"!==n.layout.get("icon-text-fit")&&o.hasIconData();if(a){const n=Math.pow(2,l.zoom-t.tileID.overscaledZ);fn(o,c,u,s,e.symbolSize,l,p,r,n,a,h)}}}(i,t,n,r,n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),o),0!==n.paint.get("icon-opacity").constantOr(1)&&hn(t,r,n,i,!1,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),n.layout.get("icon-rotation-alignment"),n.layout.get("icon-pitch-alignment"),n.layout.get("icon-keep-upright"),a,s),0!==n.paint.get("text-opacity").constantOr(1)&&hn(t,r,n,i,!0,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),n.layout.get("text-keep-upright"),a,s),r.map.showCollisionBoxes&&(cn(t,r,n,i,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),!0),cn(t,r,n,i,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),!1))},circle:function(t,r,n,i){if("translucent"!==t.renderPass)return;const o=n.paint.get("circle-opacity"),a=n.paint.get("circle-stroke-width"),s=n.paint.get("circle-stroke-opacity"),l=void 0!==n.layout.get("circle-sort-key").constantOr(1);if(0===o.constantOr(1)&&(0===a.constantOr(1)||0===s.constantOr(1)))return;const c=t.context,u=c.gl,d=t.transform,f=t.depthModeForSublayer(0,e.DepthMode.ReadOnly),p=e.StencilMode.disabled,h=t.colorModeForRenderPass(),m="globe"===d.projection.name,y=[e.mercatorXfromLng(d.center.lng),e.mercatorYfromLat(d.center.lat)],g=[];for(let o=0;o<i.length;o++){const a=i[o],s=r.getTile(a),c=s.getBucket(n);if(!c||c.projection.name!==d.projection.name)continue;const u=c.programConfigurations.get(n.id),f=Ur(n);m&&f.push("PROJECTION_GLOBE_VIEW");const p=t.useProgram("circle",u,f),h=c.layoutVertexBuffer,v=c.globeExtVertexBuffer,b=c.indexBuffer,_=d.projection.createInversionMatrix(d,a.canonical),x={programConfiguration:u,program:p,layoutVertexBuffer:h,globeExtVertexBuffer:v,indexBuffer:b,uniformValues:Yr(t,a,s,_,y,n),tile:s};if(l){const t=c.segments.get();for(const r of t)g.push({segments:new e.SegmentVector([r]),sortKey:r.sortKey,state:x})}else g.push({segments:c.segments,sortKey:0,state:x})}l&&g.sort((e,t)=>e.sortKey-t.sortKey);const v={useDepthForOcclusion:!m};for(const r of g){const{programConfiguration:i,program:o,layoutVertexBuffer:a,globeExtVertexBuffer:s,indexBuffer:l,uniformValues:m,tile:y}=r.state,g=r.segments;t.terrain&&t.terrain.setupElevationDraw(y,o,v),t.prepareDrawProgram(c,o,y.tileID.toUnwrapped()),o.draw(c,u.TRIANGLES,f,p,h,e.CullFaceMode.disabled,m,n.id,a,l,g,n.paint,d.zoom,i,[s])}},heatmap:function(t,r,n,i){if(0!==n.paint.get("heatmap-opacity"))if("offscreen"===t.renderPass){const o=t.context,a=o.gl,s=e.StencilMode.disabled,l=new e.ColorMode([a.ONE,a.ONE],e.Color.transparent,[!0,!0,!0,!0]);!function(e,t,r,n){const i=e.gl,o=t.width*n,a=t.height*n;e.activeTexture.set(i.TEXTURE1),e.viewport.set([0,0,o,a]);let s=r.heatmapFbo;if(!s||s&&(s.width!==o||s.height!==a)){s&&s.destroy();const t=i.createTexture();i.bindTexture(i.TEXTURE_2D,t),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),s=r.heatmapFbo=e.createFramebuffer(o,a,!1),function(e,t,r,n,i,o){const a=e.gl;a.texImage2D(a.TEXTURE_2D,0,e.isWebGL2&&e.extRenderToTextureHalfFloat?a.RGBA16F:a.RGBA,i,o,0,a.RGBA,e.extRenderToTextureHalfFloat?e.isWebGL2?a.HALF_FLOAT:e.extTextureHalfFloat.HALF_FLOAT_OES:a.UNSIGNED_BYTE,null),n.colorAttachment.set(r)}(e,0,t,s,o,a)}else i.bindTexture(i.TEXTURE_2D,s.colorAttachment.get()),e.bindFramebuffer.set(s.framebuffer)}(o,t,n,"globe"===t.transform.projection.name?.5:.25),o.clear({color:e.Color.transparent});const c=t.transform,u="globe"===c.projection.name,d=u?["PROJECTION_GLOBE_VIEW"]:null,f=u?e.CullFaceMode.frontCCW:e.CullFaceMode.disabled,p=[e.mercatorXfromLng(c.center.lng),e.mercatorYfromLat(c.center.lat)];for(let h=0;h<i.length;h++){const m=i[h];if(r.hasRenderableParent(m))continue;const y=r.getTile(m),g=y.getBucket(n);if(!g||g.projection.name!==c.projection.name)continue;const v=g.programConfigurations.get(n.id),b=t.useProgram("heatmap",v,d),{zoom:_}=t.transform;t.terrain&&t.terrain.setupElevationDraw(y,b),t.prepareDrawProgram(o,b,m.toUnwrapped());const x=c.projection.createInversionMatrix(c,m.canonical);b.draw(o,a.TRIANGLES,e.DepthMode.disabled,s,l,f,Vr(t,m,y,x,p,_,n.paint.get("heatmap-intensity")),n.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,n.paint,t.transform.zoom,v,u?[g.globeExtVertexBuffer]:null)}o.viewport.set([0,0,t.width,t.height])}else"translucent"===t.renderPass&&(t.context.setColorMode(t.colorModeForRenderPass()),function(t,r){const n=t.context,i=n.gl,o=r.heatmapFbo;if(!o)return;n.activeTexture.set(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,o.colorAttachment.get()),n.activeTexture.set(i.TEXTURE1);let a=r.colorRampTexture;a||(a=r.colorRampTexture=new e.Texture(n,r.colorRamp,i.RGBA)),a.bind(i.LINEAR,i.CLAMP_TO_EDGE),t.useProgram("heatmapTexture").draw(n,i.TRIANGLES,e.DepthMode.disabled,e.StencilMode.disabled,t.colorModeForRenderPass(),e.CullFaceMode.disabled,((e,t)=>({u_image:0,u_color_ramp:1,u_opacity:t.paint.get("heatmap-opacity")}))(0,r),r.id,t.viewportBuffer,t.quadTriangleIndexBuffer,t.viewportSegments,r.paint,t.transform.zoom)}(t,n))},line:function(t,r,n,i){if("translucent"!==t.renderPass)return;const o=n.paint.get("line-opacity"),a=n.paint.get("line-width");if(0===o.constantOr(1)||0===a.constantOr(1))return;const s=t.depthModeForSublayer(0,e.DepthMode.ReadOnly),l=t.colorModeForRenderPass(),c=t.terrain&&t.terrain.renderingToTexture?1:e.exported.devicePixelRatio,u=n.paint.get("line-dasharray"),d=u.constantOr(1),f=n.layout.get("line-cap"),p=n.paint.get("line-pattern"),h=p.constantOr(1),m=n.paint.get("line-gradient"),y=h?"linePattern":"line",g=t.context,v=g.gl,b=(e=>{const t=[];Jr(e)&&t.push("RENDER_LINE_DASH"),e.paint.get("line-gradient")&&t.push("RENDER_LINE_GRADIENT");const r=e.paint.get("line-trim-offset");0===r[0]&&0===r[1]||t.push("RENDER_LINE_TRIM_OFFSET");const n=e.paint.get("line-pattern").constantOr(1),i=1!==e.paint.get("line-opacity").constantOr(1);return!n&&i&&t.push("RENDER_LINE_ALPHA_DISCARD"),t})(n);let _=b.includes("RENDER_LINE_ALPHA_DISCARD");t.terrain&&t.terrain.clipOrMaskOverlapStencilType()&&(_=!1);for(const o of i){const i=r.getTile(o);if(h&&!i.patternsLoaded())continue;const a=i.getBucket(n);if(!a)continue;t.prepareDrawTile();const x=a.programConfigurations.get(n.id),w=t.useProgram(y,x,b),O=p.constantOr(null);if(O&&i.imageAtlas){const e=i.imageAtlas.patternPositions[O.toString()];e&&x.setConstantPatternPositions(e)}const j=u.constantOr(null),S=f.constantOr(null);if(!h&&j&&S&&i.lineAtlas){const e=i.lineAtlas.getDash(j,S);e&&x.setConstantPatternPositions(e)}let[M,k]=n.paint.get("line-trim-offset");if("round"===S||"square"===S){const e=1;M!==k&&(0===M&&(M-=e),1===k&&(k+=e))}const P=t.terrain?o.projMatrix:null,T=h?Gr(t,i,n,P,c):qr(t,i,n,P,a.lineClipsArray.length,c,[M,k]);if(m){const i=a.gradients[n.id];let s=i.texture;if(n.gradientVersion!==i.version){let l=256;if(n.stepInterpolant){const n=r.getSource().maxzoom,i=o.canonical.z===n?Math.ceil(1<<t.transform.maxZoom-o.canonical.z):1;l=e.clamp(e.nextPowerOfTwo(a.maxLineLength/e.EXTENT*1024*i),256,g.maxTextureSize)}i.gradient=e.renderColorRamp({expression:n.gradientExpression(),evaluationKey:"lineProgress",resolution:l,image:i.gradient||void 0,clips:a.lineClipsArray}),i.texture?i.texture.update(i.gradient):i.texture=new e.Texture(g,i.gradient,v.RGBA),i.version=n.gradientVersion,s=i.texture}g.activeTexture.set(v.TEXTURE1),s.bind(n.stepInterpolant?v.NEAREST:v.LINEAR,v.CLAMP_TO_EDGE)}d&&(g.activeTexture.set(v.TEXTURE0),i.lineAtlasTexture.bind(v.LINEAR,v.REPEAT),x.updatePaintBuffers()),h&&(g.activeTexture.set(v.TEXTURE0),i.imageAtlasTexture.bind(v.LINEAR,v.CLAMP_TO_EDGE),x.updatePaintBuffers()),t.prepareDrawProgram(g,w,o.toUnwrapped());const E=r=>{w.draw(g,v.TRIANGLES,s,r,l,e.CullFaceMode.disabled,T,n.id,a.layoutVertexBuffer,a.indexBuffer,a.segments,n.paint,t.transform.zoom,x,[a.layoutVertexBuffer2])};if(_){const r=t.stencilModeForClipping(o).ref;0===r&&t.terrain&&g.clear({stencil:0});const n={func:v.EQUAL,mask:255};T.u_alpha_discard_threshold=.8,E(new e.StencilMode(n,r,255,v.KEEP,v.KEEP,v.INVERT)),T.u_alpha_discard_threshold=0,E(new e.StencilMode(n,r,255,v.KEEP,v.KEEP,v.KEEP))}else E(t.stencilModeForClipping(o))}_&&(t.resetStencilClippingMasks(),t.terrain&&g.clear({stencil:0}))},fill:function(t,r,n,i){const o=n.paint.get("fill-color"),a=n.paint.get("fill-opacity");if(0===a.constantOr(1))return;const s=t.colorModeForRenderPass(),l=n.paint.get("fill-pattern"),c=t.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(e.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(t.renderPass===c){const o=t.depthModeForSublayer(1,"opaque"===t.renderPass?e.DepthMode.ReadWrite:e.DepthMode.ReadOnly);yn(t,r,n,i,o,s,!1)}if("translucent"===t.renderPass&&n.paint.get("fill-antialias")){const o=t.depthModeForSublayer(n.getPaintProperty("fill-outline-color")?2:0,e.DepthMode.ReadOnly);yn(t,r,n,i,o,s,!0)}},"fill-extrusion":function(t,r,n,i){const o=n.paint.get("fill-extrusion-opacity");if(0!==o&&"translucent"===t.renderPass){const a=new e.DepthMode(t.context.gl.LEQUAL,e.DepthMode.ReadWrite,t.depthRangeFor3D);if(1!==o||n.paint.get("fill-extrusion-pattern").constantOr(1))gn(t,r,n,i,a,e.StencilMode.disabled,e.ColorMode.disabled),gn(t,r,n,i,a,t.stencilModeFor3D(),t.colorModeForRenderPass()),t.resetStencilClippingMasks();else{const o=t.colorModeForRenderPass();gn(t,r,n,i,a,e.StencilMode.disabled,o)}}},hillshade:function(t,r,n,i){if("offscreen"!==t.renderPass&&"translucent"!==t.renderPass)return;const o=t.context,a=t.depthModeForSublayer(0,e.DepthMode.ReadOnly),s=t.colorModeForRenderPass(),l=t.terrain&&t.terrain.renderingToTexture,[c,u]="translucent"!==t.renderPass||l?[{},i]:t.stencilConfigForOverlap(i);for(const i of u){const o=r.getTile(i);if(o.needsHillshadePrepare&&"offscreen"===t.renderPass)yr(t,o,n,a,e.StencilMode.disabled,s);else if("translucent"===t.renderPass){const e=l&&t.terrain?t.terrain.stencilModeForRTTOverlap(i):c[i.overscaledZ];hr(t,i,o,n,a,e,s)}}o.viewport.set([0,0,t.width,t.height]),t.resetStencilClippingMasks()},raster:function(t,r,n,i,o,a){if("translucent"!==t.renderPass)return;if(0===n.paint.get("raster-opacity"))return;if(!i.length)return;const s=t.context,l=s.gl,c=r.getSource(),u=t.useProgram("raster"),d=t.colorModeForRenderPass(),f=t.terrain&&t.terrain.renderingToTexture,[p,h]=c instanceof Pe||f?[{},i]:t.stencilConfigForOverlap(i),m=h[h.length-1].overscaledZ,y=!t.options.moving;for(const i of h){const o=f?e.DepthMode.disabled:t.depthModeForSublayer(i.overscaledZ-m,1===n.paint.get("raster-opacity")?e.DepthMode.ReadWrite:e.DepthMode.ReadOnly,l.LESS),h=i.toUnwrapped(),g=r.getTile(i);if(f&&(!g||!g.hasData()))continue;const v=f?i.projMatrix:t.transform.calculateProjMatrix(h,y),b=t.terrain&&f?t.terrain.stencilModeForRTTOverlap(i):p[i.overscaledZ],_=a?0:n.paint.get("raster-fade-duration");g.registerFadeDuration(_);const x=r.findLoadedParent(i,0),w=Mr(g,x,r,t.transform,_);let O,j;t.terrain&&t.terrain.prepareDrawTile();const S="nearest"===n.paint.get("raster-resampling")?l.NEAREST:l.LINEAR;s.activeTexture.set(l.TEXTURE0),g.texture.bind(S,l.CLAMP_TO_EDGE),s.activeTexture.set(l.TEXTURE1),x?(x.texture.bind(S,l.CLAMP_TO_EDGE),O=Math.pow(2,x.tileID.overscaledZ-g.tileID.overscaledZ
2),j=[g.tileID.canonical.x*O%1,g.tileID.canonical.y*O%1]):g.texture.bind(S,l.CLAMP_TO_EDGE),g.texture.useMipmap&&s.extTextureFilterAnisotropic&&t.transform.pitch>20&&l.texParameterf(l.TEXTURE_2D,s.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,s.extTextureFilterAnisotropicMax);const M=Kr(v,j||[0,0],O||1,w,n,c instanceof Pe?c.perspectiveTransform:[0,0]);if(t.prepareDrawProgram(s,u,h),c instanceof Pe)c.boundsBuffer&&c.boundsSegments&&u.draw(s,l.TRIANGLES,o,e.StencilMode.disabled,d,e.CullFaceMode.disabled,M,n.id,c.boundsBuffer,t.quadTriangleIndexBuffer,c.boundsSegments);else{const{tileBoundsBuffer:r,tileBoundsIndexBuffer:i,tileBoundsSegments:a}=t.getTileBoundsBuffers(g);u.draw(s,l.TRIANGLES,o,b,d,e.CullFaceMode.disabled,M,n.id,r,i,a)}}t.resetStencilClippingMasks()},background:function(t,r,n,i){const o=n.paint.get("background-color"),a=n.paint.get("background-opacity");if(0===a)return;const s=t.context,l=s.gl,c=t.transform,u=c.tileSize,d=n.paint.get("background-pattern");if(t.isPatternMissing(d))return;const f=!d&&1===o.a&&1===a&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass!==f)return;const p=e.StencilMode.disabled,h=t.depthModeForSublayer(0,"opaque"===f?e.DepthMode.ReadWrite:e.DepthMode.ReadOnly),m=t.colorModeForRenderPass(),y=t.useProgram(d?"backgroundPattern":"background");let g,v=i;v||(g=t.getBackgroundTiles(),v=Object.values(g).map(e=>e.tileID)),d&&(s.activeTexture.set(l.TEXTURE0),t.imageManager.bind(t.context));for(const f of v){const v=f.toUnwrapped(),b=i?f.projMatrix:t.transform.calculateProjMatrix(v);t.prepareDrawTile();
vendor: 16,809 bytes, line 2
2const _=r?r.getTile(f):g?g[f.key]:new e.Tile(f,u,c.zoom,t),x=d?an(b,a,t,d,{tileID:f,tileSize:u}):on(b,a,o);t.prepareDrawProgram(s,y,v);const{tileBoundsBuffer:w,tileBoundsIndexBuffer:O,tileBoundsSegments:j}=t.getTileBoundsBuffers(_);y.draw(s,l.TRIANGLES,h,p,m,e.CullFaceMode.disabled,x,n.id,w,O,j)}},sky:function(t,r,n){const i=t.transform,o="mercator"===i.projection.name||"globe"===i.projection.name?1:e.smoothstep(7,8,i.zoom),a=n.paint.get("sky-opacity")*o;if(0===a)return;const s=t.context,l=n.paint.get("sky-type"),c=new e.DepthMode(s.gl.LEQUAL,e.DepthMode.ReadOnly,[0,1]),u=t.frameCounter/1e3%1;"atmosphere"===l?"offscreen"===t.renderPass?n.needsSkyboxCapture(t)&&(function(t,r){const n=t.context,i=n.gl;let o=r.skyboxFbo;if(!o){o=r.skyboxFbo=n.createFramebuffer(32,32,!1),r.skyboxGeometry=new Cn(n),r.skyboxTexture=n.gl.createTexture(),i.bindTexture(i.TEXTURE_CUBE_MAP,r.skyboxTexture),i.texParameteri(i.TEXTURE_CUBE_MAP,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_CUBE_MAP,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_CUBE_MAP,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_CUBE_MAP,i.TEXTURE_MAG_FILTER,i.LINEAR);for(let e=0;e<6;++e)i.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+e,0,i.RGBA,32,32,0,i.RGBA,i.UNSIGNED_BYTE,null)}n.bindFramebuffer.set(o.framebuffer),n.viewport.set([0,0,32,32]);const a=r.getCenter(t,!0),s=t.useProgram("skyboxCapture"),l=new Float64Array(16);e.identity(l),e.rotateY(l,l,.5*-Math.PI),Ln(n,r,s,l,a,0),e.identity(l),e.rotateY(l,l,.5*Math.PI),Ln(n,r,s,l,a,1),e.identity(l),e.rotateX(l,l,.5*-Math.PI),Ln(n,r,s,l,a,2),e.identity(l),e.rotateX(l,l,.5*Math.PI),Ln(n,r,s,l,a,3),e.identity(l),Ln(n,r,s,l,a,4),e.identity(l),e.rotateY(l,l,Math.PI),Ln(n,r,s,l,a,5),n.viewport.set([0,0,t.width,t.height])}(t,n),n.markSkyboxValid(t)):"sky"===t.renderPass&&function(t,r,n,i,o){const a=t.context,s=a.gl,l=t.transform,c=t.useProgram("skybox");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_CUBE_MAP,r.skyboxTexture);const u=((e,t,r,n,i)=>({u_matrix:e,u_sun_direction:t,u_cubemap:0,u_opacity:n,u_temporal_offset:i}))(l.skyboxMatrix,r.getCenter(t,!1),0,i,o);t.prepareDrawProgram(a,c),c.draw(a,s.TRIANGLES,n,e.StencilMode.disabled,t.colorModeForRenderPass(),e.CullFaceMode.backCW,u,"skybox",r.skyboxGeometry.vertexBuffer,r.skyboxGeometry.indexBuffer,r.skyboxGeometry.segment)}(t,n,c,a,u):"gradient"===l&&"sky"===t.renderPass&&function(t,r,n,i,o){const a=t.context,s=a.gl,l=t.transform,c=t.useProgram("skyboxGradient");r.skyboxGeometry||(r.skyboxGeometry=new Cn(a)),a.activeTexture.set(s.TEXTURE0);let u=r.colorRampTexture;u||(u=r.colorRampTexture=new e.Texture(a,r.colorRamp,s.RGBA)),u.bind(s.LINEAR,s.CLAMP_TO_EDGE);const d=((t,r,n,i,o)=>({u_matrix:t,u_color_ramp:0,u_center_direction:r,u_radius:e.degToRad(n),u_opacity:i,u_temporal_offset:o}))(l.skyboxMatrix,r.getCenter(t,!1),r.paint.get("sky-gradient-radius"),i,o);t.prepareDrawProgram(a,c),c.draw(a,s.TRIANGLES,n,e.StencilMode.disabled,t.colorModeForRenderPass(),e.CullFaceMode.backCW,d,"skyboxGradient",r.skyboxGeometry.vertexBuffer,r.skyboxGeometry.indexBuffer,r.skyboxGeometry.segment)}(t,n,c,a,u)},debug:function(e,t,r){for(let n=0;n<r.length;n++)jn(e,t,r[n])},custom:function(t,r,n,i){const o=t.context,a=n.implementation;if(!t.transform.projection.unsupportedLayers||!t.transform.projection.unsupportedLayers.includes("custom")||t.terrain&&(t.terrain.renderingToTexture||"offscreen"===t.renderPass)&&n.isLayerDraped()){if("offscreen"===t.renderPass){const r=a.prerender;if(r){if(t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),"globe"===t.transform.projection.name){const n=t.transform.pointMerc;r.call(a,o.gl,t.transform.customLayerMatrix(),t.transform.getProjection(),t.transform.globeToMercatorMatrix(),e.globeToMercatorTransition(t.transform.zoom),[n.x,n.y],t.transform.pixelsPerMeterRatio)}else r.call(a,o.gl,t.transform.customLayerMatrix());o.setDirty(),t.setBaseState()}}else if("translucent"===t.renderPass){if(t.terrain&&t.terrain.renderingToTexture){const r=a.renderToTile;if(r){const n=i[0].canonical,s=new e.MercatorCoordinate(n.x+i[0].wrap*(1<<n.z),n.y,n.z);o.setDepthMode(e.DepthMode.disabled),o.setStencilMode(e.StencilMode.disabled),o.setColorMode(t.colorModeForRenderPass()),t.setCustomLayerDefaults(),r.call(a,o.gl,s),o.setDirty(),t.setBaseState()}return}t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),o.setStencilMode(e.StencilMode.disabled);const r="3d"===a.renderingMode?new e.DepthMode(t.context.gl.LEQUAL,e.DepthMode.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,e.DepthMode.ReadOnly);if(o.setDepthMode(r),"globe"===t.transform.projection.name){const r=t.transform.pointMerc;a.render(o.gl,t.transform.customLayerMatrix(),t.transform.getProjection(),t.transform.globeToMercatorMatrix(),e.globeToMercatorTransition(t.transform.zoom),[r.x,r.y],t.transform.pixelsPerMeterRatio)}else a.render(o.gl,t.transform.customLayerMatrix());o.setDirty(),t.setBaseState(),o.bindFramebuffer.set(null)}}else e.warnOnce("Custom layers are not yet supported with this projection. Use mercator or globe to enable usage of custom layers.")}};class Nn{constructor(t,r,n=!1){this.context=new je(t,n),this.transform=r,this._tileTextures={},this.frameCopies=[],this.loadTimeStamps=[],this.setup(),this.numSublayers=e.SourceCache.maxUnderzooming+e.SourceCache.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.deferredRenderGpuTimeQueries=[],this.gpuTimers={},this.frameCounter=0,this._backgroundTiles={}}updateTerrain(e,t){const r=!!e&&!!e.terrain&&this.transform.projection.supportsTerrain;if(!(r||this._terrain&&this._terrain.enabled))return;this._terrain||(this._terrain=new Er(this,e));const n=this._terrain;this.transform.elevation=r?n:null,n.update(e,this.transform,t)}_updateFog(e){const t=e.fog;if(!t||"globe"===this.transform.projection.name||t.getOpacity(this.transform.pitch)<1||t.properties.get("horizon-blend")<.03)return void(this.transform.fogCullDistSq=null);const[r,n]=t.getFovAdjustedRange(this.transform._fov);if(r>n)return void(this.transform.fogCullDistSq=null);const i=r+.78*(n-r);this.transform.fogCullDistSq=i*i}get terrain(){return this.transform._terrainEnabled()&&this._terrain&&this._terrain.enabled?this._terrain:null}resize(t,r){if(this.width=t*e.exported.devicePixelRatio,this.height=r*e.exported.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const e of this.style.order)this.style._layers[e].resize()}setup(){const t=this.context,r=new e.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(e.EXTENT,0),r.emplaceBack(0,e.EXTENT),r.emplaceBack(e.EXTENT,e.EXTENT),this.tileExtentBuffer=t.createVertexBuffer(r,e.posAttributes.members),this.tileExtentSegments=e.SegmentVector.simpleSegment(0,0,4,2);const n=new e.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(e.EXTENT,0),n.emplaceBack(0,e.EXTENT),n.emplaceBack(e.EXTENT,e.EXTENT),this.debugBuffer=t.createVertexBuffer(n,e.posAttributes.members),this.debugSegments=e.SegmentVector.simpleSegment(0,0,4,5);const i=new e.StructArrayLayout2i4;i.emplaceBack(-1,-1),i.emplaceBack(1,-1),i.emplaceBack(-1,1),i.emplaceBack(1,1),this.viewportBuffer=t.createVertexBuffer(i,e.posAttributes.members),this.viewportSegments=e.SegmentVector.simpleSegment(0,0,4,2);const o=new e.StructArrayLayout4i8;o.emplaceBack(0,0,0,0),o.emplaceBack(e.EXTENT,0,e.EXTENT,0),o.emplaceBack(0,e.EXTENT,0,e.EXTENT),o.emplaceBack(e.EXTENT,e.EXTENT,e.EXTENT,e.EXTENT),this.mercatorBoundsBuffer=t.createVertexBuffer(o,e.boundsAttributes.members),this.mercatorBoundsSegments=e.SegmentVector.simpleSegment(0,0,4,2);const a=new e.StructArrayLayout3ui6;a.emplaceBack(0,1,2),a.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=t.createIndexBuffer(a);const s=new e.StructArrayLayout1ui2;for(const e of[0,1,3,2,0])s.emplaceBack(e);this.debugIndexBuffer=t.createIndexBuffer(s),this.emptyTexture=new e.Texture(t,new e.RGBAImage({width:1,height:1},Uint8Array.of(0,0,0,0)),t.gl.RGBA),this.identityMat=e.create();const l=this.context.gl;this.stencilClearMode=new e.StencilMode({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO),this.loadTimeStamps.push(e.window.performance.now()),this.atmosphereBuffer=new Dn(this.context)}getMercatorTileBoundsBuffers(){return{tileBoundsBuffer:this.mercatorBoundsBuffer,tileBoundsIndexBuffer:this.quadTriangleIndexBuffer,tileBoundsSegments:this.mercatorBoundsSegments}}getTileBoundsBuffers(e){return e._makeTileBoundsBuffers(this.context,this.transform.projection),e._tileBoundsBuffer?{tileBoundsBuffer:e._tileBoundsBuffer,tileBoundsIndexBuffer:e._tileBoundsIndexBuffer,tileBoundsSegments:e._tileBoundsSegments}:this.getMercatorTileBoundsBuffers()}clearStencil(){const t=this.context,r=t.gl;this.nextStencilID=1,this.currentStencilSource=void 0,this._tileClippingMaskIDs={},this.useProgram("clippingMask").draw(t,r.TRIANGLES,e.DepthMode.disabled,this.stencilClearMode,e.ColorMode.disabled,e.CullFaceMode.disabled,Sr(this.identityMat),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}resetStencilClippingMasks(){this.terrain||(this.currentStencilSource=void 0,this._tileClippingMaskIDs={})}_renderTileClippingMasks(t,r,n){if(!r||this.currentStencilSource===r.id||!t.isTileClipped()||!n||0===n.length)return;if(this._tileClippingMaskIDs&&!this.terrain){let e=!1;for(const t of n)if(void 0===this._tileClippingMaskIDs[t.key]){e=!0;break}if(!e)return}this.currentStencilSource=r.id;const i=this.context,o=i.gl;this.nextStencilID+n.length>256&&this.clearStencil(),i.setColorMode(e.ColorMode.disabled),i.setDepthMode(e.DepthMode.disabled);const a=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(const t of n){const n=r.getTile(t),s=this._tileClippingMaskIDs[t.key]=this.nextStencilID++,{tileBoundsBuffer:l,tileBoundsIndexBuffer:c,tileBoundsSegments:u}=this.getTileBoundsBuffers(n);a.draw(i,o.TRIANGLES,e.DepthMode.disabled,new e.StencilMode({func:o.ALWAYS,mask:0},s,255,o.KEEP,o.KEEP,o.REPLACE),e.ColorMode.disabled,e.CullFaceMode.disabled,Sr(t.projMatrix),"$clipping",l,c,u)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const t=this.nextStencilID++,r=this.context.gl;return new e.StencilMode({func:r.NOTEQUAL,mask:255},t,255,r.KEEP,r.KEEP,r.REPLACE)}stencilModeForClipping(t){if(this.terrain)return this.terrain.stencilModeForRTTOverlap(t);const r=this.context.gl;return new e.StencilMode({func:r.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,r.KEEP,r.KEEP,r.REPLACE)}stencilConfigForOverlap(t){const r=this.context.gl,n=t.sort((e,t)=>t.overscaledZ-e.overscaledZ),i=n[n.length-1].overscaledZ,o=n[0].overscaledZ-i+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();const t={};for(let n=0;n<o;n++)t[n+i]=new e.StencilMode({func:r.GEQUAL,mask:255},n+this.nextStencilID,255,r.KEEP,r.KEEP,r.REPLACE);return this.nextStencilID+=o,[t,n]}return[{[i]:e.StencilMode.disabled},n]}colorModeForRenderPass(){const t=this.context.gl;if(this._showOverdrawInspector){const r=1/8;return new e.ColorMode([t.CONSTANT_COLOR,t.ONE],new e.Color(r,r,r,0),[!0,!0,!0,!0])}return"opaque"===this.renderPass?e.ColorMode.unblended:e.ColorMode.alphaBlended}depthModeForSublayer(t,r,n){if(!this.opaquePassEnabledForLayer())return e.DepthMode.disabled;const i=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new e.DepthMode(n||this.context.gl.LEQUAL,r,[i,i])}opaquePassEnabledForLayer(){return this.currentLayer<this.opaquePassCutoff}render(t,r){this.style=t,this.options=r,this.imageManager=t.imageManager,this.glyphManager=t.glyphManager,this.symbolFadeChange=t.placement.symbolFadeChange(e.exported.now()),this.imageManager.beginFrame();const n=this.style.order,i=this.style._sourceCaches;for(const e in i){const t=i[e];t.used&&t.prepare(this.context)}const o={},a={},s={};for(const e in i){const t=i[e];o[e]=t.getVisibleCoordinates(),a[e]=o[e].slice().reverse(),s[e]=t.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(let e=0;e<n.length;e++)if(this.style._layers[n[e]].is3D()){this.opaquePassCutoff=e;break}if(this.terrain&&(this.terrain.updateTileBinding(s),this.opaquePassCutoff=0),"globe"!==this.transform.projection.name||this.globeSharedBuffers||(this.globeSharedBuffers=new e.GlobeSharedBuffers(this.context)),!e.isMapAuthenticated(this.context.gl))return;this.renderPass="offscreen";for(const e of n){const r=this.style._layers[e],n=t._getLayerSourceCache(r);if(!r.hasOffscreenPass()||r.isHidden(this.transform.zoom))continue;const i=n?a[n.id]:void 0;("custom"===r.type||r.isSky()||i&&i.length)&&this.renderLayer(this,n,r,i)}this.depthRangeFor3D=[0,1-(t.order.length+2)*this.numSublayers*this.depthEpsilon];const l=this.terrain;if(l&&(this.style.hasSymbolLayers()||this.style.hasCircleLayers())&&l.drawDepth(),this.context.bindFramebuffer.set(null),this.context.viewport.set([0,0,this.width,this.height]),this.context.clear({color:r.showOverdrawInspector?e.Color.black:e.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.renderPass="opaque",!this.terrain)for(this.currentLayer=n.length-1;this.currentLayer>=0;this.currentLayer--){const e=this.style._layers[n[this.currentLayer]],r=t._getLayerSourceCache(e);if(e.isSky())continue;const i=r?a[r.id]:void 0;this._renderTileClippingMasks(e,r,i),this.renderLayer(this,r,e,i)}if(this.style.fog&&this.transform.projection.supportsFog&&function(t,r){const n=t.context,i=n.gl,o=t.transform,a=new e.DepthMode(i.LEQUAL,e.DepthMode.ReadOnly,[0,1]),s=t.useProgram("globeAtmosphere",null,"globe"===o.projection.name?["PROJECTION_GLOBE_VIEW","FOG"]:["FOG"]),l=e.globeToMercatorTransition(o.zoom),c=r.properties.get("color").toArray01(),u=r.properties.get("high-color").toArray01(),d=r.properties.get("space-color").toArray01PremultipliedAlpha(),f=e.identity$1([]);e.rotateY$1(f,f,-e.degToRad(o._center.lng)),e.rotateX$1(f,f,e.degToRad(o._center.lat)),e.rotateZ$1(f,f,o.angle),e.rotateX$1(f,f,-o._pitch);const p=e.fromQuat(new Float32Array(16),f),h=e.mapValue(r.properties.get("star-intensity"),0,1,0,.25),m=5e-4,y=e.mapValue(r.properties.get("horizon-blend"),0,1,m,.25),g=e.globeUseCustomAntiAliasing(t,n,o)&&y===m?o.worldSize/(2*Math.PI*1.025)-1:o.globeRadius,v=t.frameCounter/1e3%1,b=e.length(o.globeCenterInViewSpace),_=Math.sqrt(Math.pow(b,2)-Math.pow(g,2)),x=Math.acos(_/b),w=((t,r,n,i,o,a,s,l,c,u,d,f,p,h)=>({u_frustum_tl:t,u_frustum_tr:r,u_frustum_br:n,u_frustum_bl:i,u_horizon:o,u_transition:a,u_fadeout_range:s,u_color:l,u_high_color:c,u_space_color:u,u_star_intensity:d,u_star_size:5*e.exported.devicePixelRatio,u_star_density:0,u_temporal_offset:f,u_horizon_angle:p,u_rotation_matrix:h}))(o.frustumCorners.TL,o.frustumCorners.TR,o.frustumCorners.BR,o.frustumCorners.BL,o.frustumCorners.horizon,l,y,c,u,d,h,v,x,p);t.prepareDrawProgram(n,s);const O=t.atmosphereBuffer;O&&s.draw(n,i.TRIANGLES,a,e.StencilMode.disabled,e.ColorMode.alphaBlended,e.CullFaceMode.backCW,w,"skybox",O.vertexBuffer,O.indexBuffer,O.segments)}(this,this.style.fog),this.renderPass="sky",(e.globeToMercatorTransition(this.transform.zoom)>0||"globe"!==this.transform.projection.name)&&this.transform.isHorizonVisible())for(this.currentLayer=0;this.currentLayer<n.length;this.currentLayer++){const e=this.style._layers[n[this.currentLayer]],r=t._getLayerSourceCache(e);e.isSky()&&this.renderLayer(this,r,e,r?a[r.id]:void 0)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<n.length;){const e=this.style._layers[n[this.currentLayer]],r=t._getLayerSourceCache(e);if(e.isSky()){++this.currentLayer;continue}if(this.terrain&&this.style.isLayerDraped(e)){if(e.isHidden(this.transform.zoom)){++this.currentLayer;continue}this.currentLayer=this.terrain.renderBatch(this.currentLayer);continue}const i=r?("symbol"===e.type?s:a)[r.id]:void 0;this._renderTileClippingMasks(e,r,r?o[r.id]:void 0),this.renderLayer(this,r,e,i),++this.currentLayer}if(this.terrain&&this.terrain.postRender(),this.options.showTileBoundaries||this.options.showQueryGeometry||this.options.showTileAABBs){let r=null;e.values(this.style._layers).forEach(e=>{const n=t._getLayerSourceCache(e);n&&!e.isHidden(this.transform.zoom)&&(!r||r.getSource().maxzoom<n.getSource().maxzoom)&&(r=n)}),r&&this.options.showTileBoundaries&&In.debug(this,r,r.getVisibleCoordinates())}this.options.showPadding&&function(e){const t=e.transform.padding;Sn(e,e.transform.height-(t.top||0),3,bn),Sn(e,t.bottom||0,3,_n),Mn(e,t.left||0,3,xn),Mn(e,e.transform.width-(t.right||0),3,wn);const r=e.transform.centerPoint;!function(e,t,r,n){kn(e,t-1,r-10,2,20,n),kn(e,t-10,r-1,20,2,n)}(e,r.x,e.transform.height-r.y,On)}(this),this.context.setDefault(),this.frameCounter=(this.frameCounter+1)%Number.MAX_SAFE_INTEGER,this.tileLoaded&&this.options.speedIndexTiming&&(this.loadTimeStamps.push(e.window.performance.now()),this.saveC
2anvasCopy())}renderLayer(e,t,r,n){r.isHidden(this.transform.zoom)||("background"===r.type||"sky"===r.type||"custom"===r.type||n&&n.length)&&(this.id=r.id,this.gpuTimingStart(r),(!e.transform.projection.unsupportedLayers||!e.transform.projection.unsupportedLayers.includes(r.type)||e.terrain&&"custom"===r.type)&&In[r.type](e,t,r,n,this.style.placement.variableOffsets,this.options.isInitialLoad),this.gpuTimingEnd())}gpuTimingStart(e){if(!this.options.gpuTiming)return;const t=this.context.extTimerQuery;let r=this.gpuTimers[e.id];r||(r=this.gpuTimers[e.id]={calls:0,cpuTime:0,query:t.createQueryEXT()}),r.calls++,t.beginQueryEXT(t.TIME_ELAPSED_EXT,r.query)}gpuTimingDeferredRenderStart(){if(this.options.gpuTimingDeferredRender){const e=this.context.extTimerQuery,t=e.createQueryEXT();this.deferredRenderGpuTimeQueries.push(t),e.beginQueryEXT(e.TIME_ELAPSED_EXT,t)}}gpuTimingDeferredRenderEnd(){if(!this.options.gpuTimingDeferredRender)return;const e=this.context.extTimerQuery;e.endQueryEXT(e.TIME_ELAPSED_EXT)}gpuTimingEnd(){if(!this.options.gpuTiming)return;const e=this.context.extTimerQuery;e.endQueryEXT(e.TIME_ELAPSED_EXT)}collectGpuTimers(){const e=this.gpuTimers;return this.gpuTimers={},e}collectDeferredRenderGpuQueries(){const e=this.deferredRenderGpuTimeQueries;return this.deferredRenderGpuTimeQueries=[],e}queryGpuTimers(e){const t={};for(const r in e){const n=e[r],i=this.context.extTimerQuery,o=i.getQueryObjectEXT(n.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(n.query),t[r]=o}return t}queryGpuTimeDeferredRender(e){if(!this.options.gpuTimingDeferredRender)return 0;const t=this.context.extTimerQuery;let r=0;for(const n of e)r+=t.getQueryObjectEXT(n,t.QUERY_RESULT_EXT)/1e6,t.deleteQueryEXT(n);return r}translatePosMatrix(t,r,n,i,o){if(!n[0]&&!n[1])return t;const a=o?"map"===i?this.transform.angle:0:"viewport"===i?-this.transform.angle:0;if(a){const e=Math.sin(a),t=Math.cos(a);n=[n[0]*t-n[1]*e,n[0]*e+n[1]*t]}const s=[o?n[0]:E(r,n[0],this.transform.zoom),o?n[1]:E(r,n[1],this.transform.zoom),0],l=new Float32Array(16);return e.translate(l,t,s),l}saveTileTexture(e){const t=this._tileTextures[e.size[0]];t?t.push(e):this._tileTextures[e.size[0]]=[e]}getTileTexture(e){const t=this._tileTextures[e];return t&&t.length>0?t.pop():null}isPatternMissing(e){return null===e||void 0!==e&&!this.imageManager.getPattern(e.toString())}terrainRenderModeElevated(){return this.style&&!!this.style.getTerrain()&&!!this.terrain&&!this.terrain.renderingToTexture}currentGlobalDefines(){const e=this.terrain&&this.terrain.renderingToTexture,t=this.terrain&&0===this.terrain.exaggeration(),r=this.style&&this.style.fog,n=[];return this.terrainRenderModeElevated()&&n.push("TERRAIN"),"globe"===this.transform.projection.name&&n.push("GLOBE"),t&&n.push("ZERO_EXAGGERATION"),r&&!e&&0!==r.getOpacity(this.transform.pitch)&&n.push("FOG"),e&&n.push("RENDER_TO_TEXTURE"),this._showOverdrawInspector&&n.push("OVERDRAW_INSPECTOR"),n}useProgram(e,t,r){this.cache=this.cache||{};const n=r||[],i=this.currentGlobalDefines().concat(n),o=Cr.cacheKey(cr[e],e,i,t);return this.cache[o]||(this.cache[o]=new Cr(this.context,e,cr[e],t,sn[e],i)),this.cache[o]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.frontFace.setDefault(),this.context.cullFaceSide.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD)}initDebugOverlayCanvas(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=e.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new e.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this._terrain&&this._terrain.destroy(),this.globeSharedBuffers&&this.globeSharedBuffers.destroy(),this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy(),this.atmosphereBuffer&&this.atmosphereBuffer.destroy()}prepareDrawTile(){this.terrain&&this.terrain.prepareDrawTile()}prepareDrawProgram(t,r,n){if(this.terrain&&this.terrain.renderingToTexture)return;const i=this.style.fog;if(i){const o=i.getOpacity(this.transform.pitch),a=((t,r,n,i,o,a,s,l,c,u,d)=>{const f=t.transform,p=r.properties.get("color").toArray01();p[3]=i;const h=t.frameCounter/1e3%1;return{u_fog_matrix:n?f.calculateFogTileMatrix(n):t.identityMat,u_fog_range:r.getFovAdjustedRange(f._fov),u_fog_color:p,u_fog_horizon_blend:r.properties.get("horizon-blend"),u_fog_temporal_offset:h,u_frustum_tl:o,u_frustum_tr:a,u_frustum_br:s,u_frustum_bl:l,u_globe_pos:c,u_globe_radius:u,u_viewport:d,u_globe_transition:e.globeToMercatorTransition(f.zoom),u_is_globe:+("globe"===f.projection.name)}})(this,i,n,o,this.transform.frustumCorners.TL,this.transform.frustumCorners.TR,this.transform.frustumCorners.BR,this.transform.frustumCorners.BL,this.transform.globeCenterInViewSpace,this.transform.globeRadius,[this.transform.width*e.exported.devicePixelRatio,this.transform.height*e.exported.devicePixelRatio]);r.setFogUniformValues(t,a)}}setTileLoadedFlag(e){this.tileLoaded=e}saveCanvasCopy(){const e=this.canvasCopy();e&&(this.frameCopies.push(e),this.tileLoaded=!1)}canvasCopy(){const e=this.context.gl,t=e.createTexture();return e.bindTexture(e.TEXTURE_2D,t),e.copyTexImage2D(e.TEXTURE_2D,0,e.RGBA,0,0,e.drawingBufferWidth,e.drawingBufferHeight,0),t}getCanvasCopiesAndTimestamps(){return{canvasCopies:this.frameCopies,timeStamps:this.loadTimeStamps}}averageElevationNeedsEasing(){if(!this.transform._elevation)return!1;const e=this.style&&this.style.fog;return!!e&&0!==e.getOpacity(this.transform.pitch)}
vendor: 6,729 bytes, line 2
2getBackgroundTiles(){const t=this._backgroundTiles,r=this._backgroundTiles={},n=this.transform.coveringTiles({tileSize:512});for(const i of n)r[i.key]=t[i.key]||new e.Tile(i,512,this.transform.tileZoom,this);return r}clearBackgroundTiles(){this._backgroundTiles={}}}class Rn{constructor(e=0,t=0,r=0,n=0){if(isNaN(e)||e<0||isNaN(t)||t<0||isNaN(r)||r<0||isNaN(n)||n<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=r,this.right=n}interpolate(t,r,n){return null!=r.top&&null!=t.top&&(this.top=e.number(t.top,r.top,n)),null!=r.bottom&&null!=t.bottom&&(this.bottom=e.number(t.bottom,r.bottom,n)),null!=r.left&&null!=t.left&&(this.left=e.number(t.left,r.left,n)),null!=r.right&&null!=t.right&&(this.right=e.number(t.right,r.right,n)),this}getCenter(t,r){const n=e.clamp((this.left+t-this.right)/2,0,t),i=e.clamp((this.top+r-this.bottom)/2,0,r);return new e.Point(n,i)}equals(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right}clone(){return new Rn(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function zn(t,r){const n=e.getColumn(t,3);e.fromQuat(t,r),e.setColumn(t,3,n)}function Fn(t,r){const n=e.identity$1([]);return e.rotateZ$1(n,n,-r),e.rotateX$1(n,n,-t),n}function Bn(t,r){const n=[t[0],t[1],0],i=[r[0],r[1],0];if(e.length(n)>=1e-15){const t=e.normalize([],n);e.scale$2(i,t,e.dot(i,t)),r[0]=i[0],r[1]=i[1]}const o=e.cross([],r,t);if(e.len(o)<1e-15)return null;const a=Math.atan2(-o[1],o[0]);return Fn(Math.atan2(Math.sqrt(t[0]*t[0]+t[1]*t[1]),-t[2]),a)}class Yn{constructor(e,t){this.position=e,this.orientation=t}get position(){return this._position}set position(t){if(t){const r=t instanceof e.MercatorCoordinate?t:new e.MercatorCoordinate(t[0],t[1],t[2]);this._renderWorldCopies&&(r.x=e.wrap(r.x,0,1)),this._position=r}else this._position=null}lookAtPoint(t,r){if(this.orientation=null,!this.position)return;const n=this.position,i=this._elevation?this._elevation.getAtPointOrZero(e.MercatorCoordinate.fromLngLat(t)):0,o=e.MercatorCoordinate.fromLngLat(t,i),a=[o.x-n.x,o.y-n.y,o.z-n.z];r||(r=[0,0,1]),r[2]=Math.abs(r[2]),this.orientation=Bn(a,r)}setPitchBearing(t,r){this.orientation=Fn(e.degToRad(t),e.degToRad(-r))}}class Un{constructor(t,r){this._transform=e.identity([]),this.orientation=r,this.position=t}get mercatorPosition(){const t=this.position;return new e.MercatorCoordinate(t[0],t[1],t[2])}get position(){const t=e.getColumn(this._transform,3);return[t[0],t[1],t[2]]}set position(t){var r;t&&e.setColumn(this._transform,3,[(r=t)[0],r[1],r[2],1])}get orientation(){return this._orientation}set orientation(t){this._orientation=t||e.identity$1([]),t&&zn(this._transform,this._orientation)}getPitchBearing(){const e=this.forward(),t=this.right();return{bearing:Math.atan2(-t[1],t[0]),pitch:Math.atan2(Math.sqrt(e[0]*e[0]+e[1]*e[1]),-e[2])}}setPitchBearing(e,t){this._orientation=Fn(e,t),zn(this._transform,this._orientation)}forward(){const t=e.getColumn(this._transform,2);return[-t[0],-t[1],-t[2]]}up(){const t=e.getColumn(this._transform,1);return[-t[0],-t[1],-t[2]]}right(){const t=e.getColumn(this._transform,0);return[t[0],t[1],t[2]]}getCameraToWorld(t,r){const n=new Float64Array(16);return e.invert(n,this.getWorldToCamera(t,r)),n}getWorldToCameraPosition(t,r,n){const i=this.position;e.scale$2(i,i,-t);const o=new Float64Array(16);return e.fromScaling(o,[n,n,n]),e.translate(o,o,i),o[10]*=r,o}getWorldToCamera(t,r){const n=new Float64Array(16),i=new Float64Array(4),o=this.position;return e.conjugate(i,this._orientation),e.scale$2(o,o,-t),e.fromQuat(n,i),e.translate(n,n,o),n[1]*=-1,n[5]*=-1,n[9]*=-1,n[13]*=-1,n[8]*=r,n[9]*=r,n[10]*=r,n[11]*=r,n}getCameraToClipPerspective(t,r,n,i){const o=new Float64Array(16);return e.perspective(o,t,r,n,i),o}getDistanceToElevation(t,r=!1){const n=0===t?0:e.mercatorZfromAltitude(t,r?e.latFromMercatorY(this.position[1]):this.position[1]),i=this.forward();return(n-this.position[2])/i[2]}clone(){return new Un([...this.position],[...this.orientation])}}function Hn(t,r){const n=Wn(t.projection,t.zoom,t.width,t.height),i=function(t,r,n,i,o){const a=new e.LngLat(n.lng-180*Vn,n.lat),s=new e.LngLat(n.lng+180*Vn,n.lat),l=t.project(a.lng,a.lat),c=t.project(s.lng,s.lat),u=-Math.atan2(c.y-l.y,c.x-l.x),d=e.MercatorCoordinate.fromLngLat(n);d.y=e.clamp(d.y,-1+Vn,1-Vn);const f=d.toLngLat(),p=t.project(f.lng,f.lat),h=e.MercatorCoordinate.fromLngLat(f);h.x+=Vn;const m=h.toLngLat(),y=t.project(m.lng,m.lat),g=Gn(y.x-p.x,y.y-p.y,u),v=e.MercatorCoordinate.fromLngLat(f);v.y+=Vn;const b=v.toLngLat(),_=t.project(b.lng,b.lat),x=Gn(_.x-p.x,_.y-p.y,u),w=Math.abs(g.x)/Math.abs(x.y),O=e.identity([]);e.rotateZ(O,O,-u*(1-(o?0:i)));const j=e.identity([]);return e.scale(j,j,[1,1-(1-w)*i,1]),j[4]=-x.x/x.y*i,e.rotateZ(j,j,u),e.multiply(j,O,j),j}(t.projection,0,t.center,n,r),o=$n(t);return e.scale(i,i,[o,o,1]),i}function $n(t){const r=t.projection,n=Wn(t.projection,t.zoom,t.width,t.height),i=qn(r,t.center),o=qn(r,e.LngLat.convert(r.center));return Math.pow(2,i*n+(1-n)*o)}function Wn(t,r,n,i,o=1/0){const a=t.range;if(!a)return 0;const s=Math.min(o,Math.max(n,i)),l=Math.log(s/1024)/Math.LN2;return e.smoothstep(a[0]+l,a[1]+l,r)}const Vn=1/4e4;function qn(t,r){const n=e.clamp(r.lat,-e.MAX_MERCATOR_LATITUDE,e.MAX_MERCATOR_LATITUDE),i=new e.LngLat(r.lng-180*Vn,n),o=new e.LngLat(r.lng+180*Vn,n),a=t.project(i.lng,n),s=t.project(o.lng,n),l=e.MercatorCoordinate.fromLngLat(i),c=e.MercatorCoordinate.fromLngLat(o),u=s.x-a.x,d=s.y-a.y,f=c.x-l.x,p=c.y-l.y,h=Math.sqrt((f*f+p*p)/(u*u+d*d));return Math.log(h)/Math.LN2}function Gn(e,t,r){const n=Math.cos(r),i=Math.sin(r);return{x:e*n-t*i,y:e*i+t*n}}class Zn{constructor(t,r,n,i,o,a,s){this.tileSize=512,this._renderWorldCopies=void 0===o||o,this._minZoom=t||0,this._maxZoom=r||22,this._minPitch=null==n?0:n,this._maxPitch=null==i?60:i,this.setProjection(a),this.setMaxBounds(s),this.width=0,this.height=0,this._center=new e.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._nearZ=0,this._farZ=0,this._unmodified=!0,this._edgeInsets=new Rn,this._projMatrixCache={},this._alignedProjMatrixCache={},this._fogTileMatrixCache={},this._distanceTileDataCache={},this._camera=new Un,this._centerAltitude=0,this._averageElevation=0,this.cameraElevationReference="ground",this._pixelsPerMercatorPixel=1,this.globeRadius=0,this.globeCenterInViewSpace=[0,0,0],this._horizonShift=.1}clone(){const e=new Zn(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies,this.getProjection());return e._elevation=this._elevation,e._centerAltitude=this._centerAltitude,e._centerAltitudeValidForE
2xaggeration=this._centerAltitudeValidForExaggeration,e.tileSize=this.tileSize,e.mercatorFromTransition=this.mercatorFromTransition,e.width=this.width,e.height=this.height,e.cameraElevationReference=this.cameraElevationReference,e._center=this._center,e._setZoom(this.zoom),e._seaLevelZoom=this._seaLevelZoom,e.angle=this.angle,e._fov=this._fov,e._pitch=this._pitch,e._nearZ=this._nearZ,e._farZ=this._farZ,e._averageElevation=this._averageElevation,e._unmodified=this._unmodified,e._edgeInsets=this._edgeInsets.clone(),e._camera=this._camera.clone(),e._calcMatrices(),e.freezeTileCoverage=this.freezeTileCoverage,e.frustumCorners=this.frustumCorners,e}get elevation(){return this._elevation}set elevation(e){this._elevation!==e&&(this._elevation=e,this._updateCameraOnTerrain(),this._calcMatrices())}updateElevation(e,t=!1){const r=this._elevation&&this._elevation.exaggeration()!==this._centerAltitudeValidForExaggeration;(null==this._seaLevelZoom||r)&&this._updateCameraOnTerrain(),(e||r)&&this._constrainCamera(t),this._calcMatrices()}getProjection(){return e.pick(this.projection,["name","center","parallels"])}setProjection(r){this.projectionOptions=r||{name:"mercator"};const n=this.projection?this.getProjection():void 0;this.projection=e.getProjection(this.projectionOptions);const i=!t(n,this.getProjection());return i&&this._calcMatrices(),this.mercatorFromTransition=!1,i}setMercatorFromTransition(){const t=this.projection.name;this.mercatorFromTransition=!0,this.projectionOptions={name:"mercator"},this.projection=e.getProjection({name:"mercator"});const r=t!==this.projection.name;return r&&this._calcMatrices(),r}get minZoom(){return this._minZoom}set minZoom(e){this._minZoom!==e&&(this._minZoom=e,this.zoom=Math.max(this.zoom,e))}get maxZoom(){return this._maxZoom}set maxZoom(e){this._maxZoom!==e&&(this._maxZoom=e,this.zoom=Math.min(this.zoom,e))}get minPitch(){return this._minPitch}set minPitch(e){this._minPitch!==e&&(this._minPitch=e,this.pitch=Math.max(this.pitch,e))}get maxPitch(){return this._maxPitch}set maxPitch(e){this._maxPitch!==e&&(this._maxPitch=e,this.pitch=Math.min(this.pitch,e))}get renderWorldCopies(){return this._renderWorldCopies&&!0===this.projection.supportsWorldCopies}set renderWorldCopies(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e}get worldSize(){return this.tileSize*this.scale}get cameraWorldSizeForFog(){const e=Math.max(this._camera.getDistanceToElevation(this._averageElevation),Number.EPSILON);return this._worldSizeFromZoom(this._zoomFromMercatorZ(e))}get cameraWorldSize(){const e=Math.max(this._camera.getDistanceToElevation(this._averageElevation,!0),Number.EPSILON);return this._worldSizeFromZoom(this._zoomFromMercatorZ(e))}get pixelsPerMeter(){return this.projection.pixelsPerMeter(this.center.lat,this.worldSize)}get cameraPixelsPerMeter(){return e.mercatorZfromAltitude(this.center.lat,this.cameraWorldSizeForFog)}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new e.Point(this.width,this.height)}get bearing(){return e.wrap(this.rotation,-180,180)}set bearing(e){this.rotation=e}get rotation(){return-this.angle/Math.PI*180}set rotation(t){const r=-t*Math.PI/180;var n;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=(n=new e.ARRAY_TYPE(4),e.ARRAY_TYPE!=Float32Array&&(n[1]=0,n[2]=0),n[0]=1,n[3]=1,n),function(e,t,r){var n=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(r),l=Math.cos(r);e[0]=n*l+o*s,e[1]=i*l+a*s,e[2]=n*-s+o*l,e[3]=i*-s+a*l}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(t){const r=e.clamp(t,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())}get aspect(){return this.width/this.height}get fov(){return this._fov/Math.PI*180}get fovX(){return this._fov}get fovY(){const e=1/Math.tan(.5*this.fovX);return 2*Math.atan(1/this.aspect/e)}set fov(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=e.degToRad(t),this._calcMatrices())}get averageElevation(){return this._averageElevation}set averageElevation(e){this._averageElevation=e,this._calcFogMatrices(),this._distanceTileDataCache={}}get zoom(){return this._zoom}set zoom(e){const t=Math.min(Math.max(e,this.minZoom),this.maxZoom);this._zoom!==t&&(this._unmodified=!1,this._setZoom(t),this._updateSeaLevelZoom(),this._constrain(),this._calcMatrices())}_setZoom(e){this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom}_updateCameraOnTerrain(){if(!this._elevation||!this._elevation.isDataAvailableAtPoint(this.locationCoordinate(this.center)))return this._centerAltitude=0,this._seaLevelZoom=null,void(this._centerAltitudeValidForE
vendor: 11,752 bytes, line 2
2xaggeration=void 0);const e=this._elevation;this._centerAltitude=e.getAtPointOrZero(this.locationCoordinate(this.center)),this._centerAltitudeValidForExaggeration=e.exaggeration(),this._updateSeaLevelZoom()}_updateSeaLevelZoom(){void 0!==this._centerAltitudeValidForExaggeration&&(this._seaLevelZoom=this._zoomFromMercatorZ((this.pixelsPerMeter*this._centerAltitude+this.cameraToCenterDistance)/this.worldSize))}sampleAverageElevation(){if(!this._elevation)return 0;const t=this._elevation,r=[[.5,.2],[.3,.5],[.5,.5],[.7,.5],[.5,.8]],n=this.horizonLineFromTop();let i=0,o=0;for(let a=0;a<r.length;a++){const s=new e.Point(r[a][0]*this.width,n+r[a][1]*(this.height-n)),l=t.pointCoordinate(s);if(!l)continue;const c=1/Math.hypot(l[0]-this._camera.position[0],l[1]-this._camera.position[1]);i+=l[3]*c,o+=c}return 0===o?NaN:i/o}get center(){return this._center}set center(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this._terrainEnabled()&&("ground"===this.cameraElevationReference?this._updateCameraOnTerrain():this._updateZoomFromElevation()),this._constrain(),this._calcMatrices())}_updateZoomFromElevation(){if(null==this._seaLevelZoom||!this._elevation)return;const e=this._seaLevelZoom,t=this._elevation.getAtPointOrZero(this.locationCoordinate(this.center)),r=this.pixelsPerMeter/this.worldSize*t,n=this._mercatorZfromZoom(e),i=this._mercatorZfromZoom(this._maxZoom),o=Math.max(n-r,i);this._setZoom(this._zoomFromMercatorZ(o))}get padding(){return this._edgeInsets.toJSON()}set padding(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices())}computeZoomRelativeTo(t){const r=this.rayIntersectionCoordinate(this.pointRayIntersection(this.centerPoint,t.toAltitude()));let n;n=t.z<this._camera.position[2]?[r.x,r.y,r.z]:[t.x,t.y,t.z];const i=e.length(e.sub([],this._camera.position,n));return e.clamp(this._zoomFromMercatorZ(i),this._minZoom,this._maxZoom)}setFreeCameraOptions(t){if(!this.height)return;if(!t.position&&!t.orientation)return;this._updateCameraState();let r=!1;if(t.orientation&&!e.exactEquals(t.orientation,this._camera.orientation)&&(r=this._setCameraOrientation(t.orientation)),t.position){const n=[t.position.x,t.position.y,t.position.z];e.exactEquals$1(n,this._camera.position)||(this._setCameraPosition(n),r=!0)}r&&(this._updateStateFromCamera(),this.recenterOnTerrain())}getFreeCameraOptions(){this._updateCameraState();const t=this._camera.position,r=new Yn;return r.position=new e.MercatorCoordinate(t[0],t[1],t[2]),r.orientation=this._camera.orientation,r._elevation=this.elevation,r._renderWorldCopies=this.renderWorldCopies,r}_setCameraOrientation(t){if(!e.length$1(t))return!1;e.normalize$1(t,t);const r=e.transformQuat([],[0,0,-1],t),n=e.transformQuat([],[0,-1,0],t);if(n[2]<0)return!1;const i=Bn(r,n);return!!i&&(this._camera.orientation=i,!0)}_setCameraPosition(t){const r=this.zoomScale(this.minZoom)*this.tileSize,n=this.zoomScale(this.maxZoom)*this.tileSize,i=this.cameraToCenterDistance;t[2]=e.clamp(t[2],i/n,i/r),this._camera.position=t}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}get fovAboveCenter(){return this._fov*(.5+this.centerOffset.y/this.height)}isPaddingEqual(e){return this._edgeInsets.equals(e)}interpolatePadding(e,t,r){this._unmodified=!1,this._edgeInsets.interpolate(e,t,r),this._constrain(),this._calcMatrices()}coveringZoomLevel(e){const t=(e.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/e.tileSize));return Math.max(0,t)}getVisibleUnwrappedCoordinates(t){const r=[new e.UnwrappedTileID(0,t)];if(this.renderWorldCopies){const n=this.pointCoordinate(new e.Point(0,0)),i=this.pointCoordinate(new e.Point(this.width,0)),o=this.pointCoordinate(new e.Point(this.width,this.height)),a=this.pointCoordinate(new e.Point(0,this.height)),s=Math.floor(Math.min(n.x,i.x,o.x,a.x)),l=Math.floor(Math.max(n.x,i.x,o.x,a.x)),c=1;for(let n=s-c;n<=l+c;n++)0!==n&&r.push(new e.UnwrappedTileID(n,t))}return r}coveringTiles(t){let r=this.coveringZoomLevel(t);const n=r,i=this.elevation&&!t.isTerrainDEM,o="mercator"===this.projection.name;if(void 0!==t.minzoom&&r<t.minzoom)return[];void 0!==t.maxzoom&&r>t.maxzoom&&(r=t.maxzoom);const a=this.locationCoordinate(this.center),s=this.center.lat,l=1<<r,c=[l*a.x,l*a.y,0],u="globe"===this.projection.name,d=!u,f=e.Frustum.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,r,d),p=u?this._camera.mercatorPosition:this.pointCoordinate(this.getCameraPoint()),h=l*e.mercatorZfromAltitude(1,this.center.lat),m=this._camera.position[2]/e.mercatorZfromAltitude(1,this.center.lat),y=[l*p.x,l*p.y,m*(d?1:h)],g=this.cameraToCenterDistance/t.tileSize*(t.roundZoom?1:.502),v=this.pitch<=60&&this._edgeInsets.top<=this._edgeInsets.bottom&&!this._elevation&&!this.projection.isReprojectedInTileSpace?r:0,b=t.isTerrainDEM&&this._elevation?1e4*this._elevation.exaggeration():this._centerAltitude,_=t.isTerrainDEM?-b:this._elevation?this._elevation.getMinElevationBelowMSL():0,x=this.projection.isReprojectedInTileSpace?$n(this):1,w=t=>{const r=1/4e4,n=new e.MercatorCoordinate(t.x+r,t.y,t.z),i=new e.MercatorCoordinate(t.x,t.y+r,t.z),o=t.toLngLat(),a=n.toLngLat(),s=i.toLngLat(),l=this.locationCoordinate(o),c=this.locationCoordinate(a),u=this.locationCoordinate(s),d=Math.hypot(c.x-l.x,c.y-l.y),f=Math.hypot(u.x-l.x,u.y-l.y);return Math.sqrt(d*f)*x/r},O=t=>{const r=b,n=_;return{aabb:e.tileAABB(this,l,0,0,0,t,n,r,this.projection),zoom:0,x:0,y:0,minZ:n,maxZ:r,wrap:t,fullyVisible:!1}},j=[];let S=[];const M=r,k=t.reparseOverscaled?n:r,P=e=>e*e,T=P((m-this._centerAltitude)*h),E=e=>{if(!this._elevation||!e.tileID||!o)return;const t=this._elevation.getMinMaxForTile(e.tileID),r=e.aabb;t?(r.min[2]=t.min,r.max[2]=t.max,r.center[2]=(r.min[2]+r.max[2])/2):(e.shouldSplit=C(e),e.shouldSplit||(r.min[2]=r.max[2]=r.center[2]=this._centerAltitude))},C=t=>{if(t.zoom<v)return!0;if(t.zoom===M)return!1;if(null!=t.shouldSplit)return t.shouldSplit;const r=t.aabb.distanceX(y),o=t.aabb.distanceY(y);let a=T,l=1;if(u){a=P(t.aabb.distanceZ(y));const r=Math.pow(2,t.zoom),n=e.latFromMercatorY((t.y+1)/r),i=e.latFromMercatorY(t.y/r),o=Math.min(Math.max(s,n),i),c=e.circumferenceAtLatitude(o)/e.circumferenceAtLatitude(s);if(l=o===s?1/Math.max(1,this._mercatorScaleRatio-.3):Math.min(1,c/this._mercatorScaleRatio),this.zoom<=e.GLOBE_ZOOM_THRESHOLD_MIN&&t.zoom===M-1&&c>=.9)return!0}else if(i&&(a=P(t.aabb.distanceZ(y)*h)),this.projection.isReprojectedInTileSpace&&n<=5){const r=Math.pow(2,t.zoom),n=w(new e.MercatorCoordinate((t.x+.5)/r,(t.y+.5)/r));l=n>.85?1:n}const c=r*r+o*o+a,d=P((1<<M-t.zoom)*g*l*((e,t)=>{if(t*P(.707)<e)return 1;const r=Math.sqrt(t/e);return r/(1.4144271570014144+(Math.pow(1.1,r-1.4144271570014144+1)-1)/(1.1-1)-1)})(Math.max(a,T),c));return c<d};if(this.renderWorldCopies)for(let e=1;e<=3;e++)j.push(O(-e)),j.push(O(e));for(j.push(O(0));j.length>0;){const n=j.pop(),a=n.x,s=n.y;let d=n.fullyVisible;if(!d){const e=n.aabb.intersects(f);if(0===e)continue;d=2===e}if(n.zoom!==M&&C(n))for(let t=0;t<4;t++){const r=(a<<1)+t%2,c=(s<<1)+(t>>1),f={aabb:o?n.aabb.quadrant(t):e.tileAABB(this,l,n.zoom+1,r,c,n.wrap,n.minZ,n.maxZ,this.projection),zoom:n.zoom+1,x:r,y:c,wrap:n.wrap,fullyVisible:d,tileID:void 0,shouldSplit:void 0,minZ:n.minZ,maxZ:n.maxZ};i&&!u&&(f.tileID=new e.OverscaledTileID(n.zoom+1===M?k:n.zoom+1,n.wrap,n.zoom+1,r,c),E(f)),j.push(f)}else{const i=n.zoom===M?k:n.zoom;if(t.minzoom&&t.minzoom>i)continue;const o=c[0]-(.5+a+(n.wrap<<n.zoom))*(1<<r-n.zoom),l=c[1]-.5-s,u=n.tileID?n.tileID:new e.OverscaledTileID(i,n.wrap,n.zoom,a,s);S.push({tileID:u,distanceSq:o*o+l*l})}}if(this.fogCullDistSq){const r=this.fogCullDistSq,n=this.horizonLineFromTop();S=S.filter(i=>{const o=[0,0,0,1],a=[e.EXTENT,e.EXTENT,0,1],s=this.calculateFogTileMatrix(i.tileID.toUnwrapped());e.transformMat4$1(o,o,s),e.transformMat4$1(a,a,s);const l=e.getAABBPointSquareDist(o,a);if(0===l)return!0;let c=!1;const u=this._elevation;if(u&&l>r&&0!==n){const r=this.calculateProjMatrix(i.tileID.toUnwrapped());let o;t.isTerrainDEM||(o=u.getMinMaxForTile(i.tileID)),o||(o={min:_,max:b});const a=e.furthestTileCorner(this.rotation),s=[a[0]*e.EXTENT,a[1]*e.EXTENT,o.max];e.transformMat4(s,s,r),c=(1-s[1])*this.height*.5<n}return l<r||c})}return S.sort((e,t)=>e.distanceSq-t.distanceSq).map(e=>e.tileID)}resize(e,t){this.width=e,this.height=t,this.pixelsToGLUnits=[2/e,-2/t],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(e){return Math.pow(2,e)}scaleZoom(e){return Math.log(e)/Math.LN2}project(t){const r=e.clamp(t.lat,-e.MAX_MERCATOR_LATITUDE,e.MAX_MERCATOR_LATITUDE),n=this.projection.project(t.lng,r);return new e.Point(n.x*this.worldSize,n.y*this.worldSize)}unproject(e){return this.projection.unproject(e.x/this.worldSize,e.y/this.worldSize)}get point(){return this.project(this.center)}get pointMerc(){return this.point._div(this.worldSize)}get pixelsPerMeterRatio(){return this.pixelsPerMeter/e.mercatorZfromAltitude(1,this.center.lat)/this.worldSize}setLocationAtPoint(t,r){let n,i;const o=this.centerPoint;if("globe"===this.projection.name){const e=this.worldSize;n=(r.x-o.x)/e,i=(r.y-o.y)/e}else{const e=this.pointCoordinate(r),t=this.pointCoordinate(o);n=e.x-t.x,i=e.y-t.y}const a=this.locationCoordinate(t);this.setLocation(new e.MercatorCoordinate(a.x-n,a.y-i))}setLocation(e){this.center=this.coordinateLocation(e),this.projection.wrap&&(this.center=this.center.wrap())}locationPoint(e){return this.projection.locationPoint(this,e)}locationPoint3D(e){return this.projection.locationPoint(this,e,!0)}pointLocation(e){return this.coordinateLocation(this.pointCoordinate(e))}pointLocation3D(e){return this.coordinateLocation(this.pointCoordinate3D(e))}locationCoordinate(t,r){const n=r?e.mercatorZfromAltitude(r,t.lat):void 0,i=this.projection.project(t.lng,t.lat);return new e.MercatorCoordinate(i.x,i.y,n)}coordinateLocation(e){return this.projection.unproject(e.x,e.y)}pointRayIntersection(t,r){const n=null!=r?r:this._centerAltitude,i=[t.x,t.y,0,1],o=[t.x,t.y,1,1];e.transformMat4$1(i,i,this.pixelMatrixInverse),e.transformMat4$1(o,o,this.pixelMatrixInverse);const a=o[3];e.scale$1(i,i,1/i[3]),e.scale$1(o,o,1/a);const s=i[2],l=o[2];return{p0:i,p1:o,t:s===l?0:(n-s)/(l-s)}}screenPointToMercatorRay(t){const r=[t.x,t.y,0,1],n=[t.x,t.y,1,1];return e.transformMat4$1(r,r,this.pixelMatrixInverse),e.transformMat4$1(n,n,this.pixelMatrixInverse),e.scale$1(r,r,1/r[3]),e.scale$1(n,n,1/n[3]),r[2]=e.mercatorZfromAltitude(r[2],this._center.lat)*this.worldSize,n[2]=e.mercatorZfromAltitude(n[2],this._center.lat)*this.worldSize,e.scale$1(r,r,1/this.worldSize),e.scale$1(n,n,1/this.worldSize),new e.Ray([r[0],r[1],r[2]],e.normalize([],e.sub([],n,r)))}rayIntersectionCoordinate(t){const{p0:r,p1:n,t:i}=t,o=e.mercatorZfromAltitude(r[2],this._center.lat),a=e.mercatorZfromAltitude(n[2],this._center.lat);return new e.MercatorCoordinate(e.number(r[0],n[0],i)/this.worldSize,e.number(r[1],n[1],i)/this.worldSize,e.number(o,a,i))}pointCoordinate(e,t=this._centerAltitude){return this.projection.pointCoordinate(this,e.x,e.y,t)}pointCoordinate3D(t){if(!this.elevation)return this.pointCoordinate(t);let r=this.projection.pointCoordinate3D(this,t.x,t.y);if(r)return new e.MercatorCoordinate(r[0],r[1],r[2]);let n=0,i=this.horizonLineFromTop();if(t.y>i)return this.pointCoordinate(t);const o=.02*i,a=t.clone();for(let t=0;t<10&&i-n>o;t++){a.y=e.number(n,i,.66);const t=this.projection.pointCoordinate3D(this,a.x,a.y);t?(i=a.y,r=t):n=a.y}return r?new e.MercatorCoordinate(r[0],r[1],r[2]):this.pointCoordinate(t)}isPointAboveHorizon(e){return this.projection.isPointAboveHorizon(this,e)}isPointOnSurface(t){if(t.y<0||t.y>this.height||t.x<0||t.x>this.width)return!1;if(this.elevation||this.zoom>
2=e.GLOBE_ZOOM_THRESHOLD_MAX)return!this.isPointAboveHorizon(t);const r=this.pointCoordinate(t);return r.y>=0&&r.y<=1}_coordinatePoint(t,r){const n=r&&this.elevation?this.elevation.getAtPointOrZero(t,this._centerAltitude):this._centerAltitude,i=[t.x*this.worldSize,t.y*this.worldSize,n+t.toAltitude(),1];return e.transformMat4$1(i,i,this.pixelMatrix),i[3]>0?new e.Point(i[0]/i[3],i[1]/i[3]):new e.Point(Number.MAX_VALUE,Number.MAX_VALUE)}_getBoundsNonRectangular(){const{top:t,left:r}=this._edgeInsets,n=this.height-this._edgeInsets.bottom,i=this.width-this._edgeInsets.right,o=this.pointLocation3D(new e.Point(r,t)),a=this.pointLocation3D(new e.Point(i,t)),s=this.pointLocation3D(new e.Point(i,n)),l=this.pointLocation3D(new e.Point(r,n));let c=Math.min(o.lng,a.lng,s.lng,l.lng),u=Math.max(o.lng,a.lng,s.lng,l.lng),d=Math.min(o.lat,a.lat,s.lat,l.lat),f=Math.max(o.lat,a.lat,s.lat,l.lat);const p=Math.pow(2,-this.zoom)/16*270,h="globe"===this.projection.name?1:4,m=(t,r,n,i,o)=>{const a=(t+n)/2,s=(r+i)/2,l=new e.Point(a,s),{lng:y,lat:g}=this.pointLocation3D(l),v=Math.max(0,c-y,d-g,y-u,g-f);c=Math.min(c,y),u=Math.max(u,y),d=Math.min(d,g),f=Math.max(f,g),(o<h||v>p)&&(m(t,r,a,s,o+1),m(a,s,n,i,o+1))};if(m(r,t,i,t,1),m(i,t,i,n,1),m(i,n,r,n,1),m(r,n,r,t,1),"globe"===this.projection.name){const[t,r]=e.polesInViewport(this);t?(f=90,u=180,c=-180):r&&(d=-90,u=180,c=-180)}return new e.LngLatBounds(new e.LngLat(c,d),new e.LngLat(u,f))}_getBoundsRectangular(t,r){const{top:n,left:i}=this._edgeInsets,o=this.height-this._edgeInsets.bottom,a=this.width-this._edgeInsets.right,s=new e.Point(i,n),l=new e.Point(a,n),c=new e.Point(a,o),u=new e.Point(i,o);let d=this.pointCoordinate(s,t),f=this.pointCoordinate(l,t);const p=this.pointCoordinate(c,r),h=this.pointCoordinate(u,r),m=(e,t)=>(t.y-e.y)/(t.x-e.x);return d.y>1&&f.y>=0?d=new e.MercatorCoordinate((1-h.y)/m(h,d)+h.x,1):d.y<0&&f.y<=1&&(d=new e.MercatorCoordinate(-h.y/m(h,d)+h.x,0)),f.y>1&&d.y>=0?f=new e.MercatorCoordinate((1-p.y)/m(p,f)+p.x,1):f.y<0&&d.y<=1&&(f=new e.MercatorCoordinate(-p.y/m(p,f)+p.x,0)),(new e.LngLatBounds).extend(this.coordinateLocation(d)).extend(this.coordinateLocation(f)).extend(this.coordinateLocation(h)).extend(this.coordinateLocation(p))}_getBoundsRectangularTerrain(){const e=this.elevation;if(!e.visibleDemTiles.length||e.isUsingMockSource())return this._getBoundsRectangular(0,0);const t=e.visibleDemTiles.reduce((e,t)=>{if(t.dem){const r=t.dem.tree;e.min=Math.min(e.min,r.minimums[0]),e.max=Math.max(e.max,r.maximums[0])}return e},{min:Number.MAX_VALUE,max:0});return this._getBoundsRectangular(t.min*e.exaggeration(),t.max*e.exaggeration())}getBounds(){return"mercator"===this.projection.name||"equirectangular"===this.projection.name?this._terrainEnabled()?this._getBoundsRectangularTerrain():this._getBoundsRectangular(0,0):this._getBoundsNonRectangular()}horizonLineFromTop(e=!0){const t=this.height/2/Math.tan(this._fov/2)/Math.tan(Math.max(this._pitch,.1))+this.centerOffset.y,r=this.height/2-t*(1-this._horizonShift);return e?Math.max(0,r):r}getMaxBounds(){return this.maxBounds}setMaxBounds(t){this.maxBounds=t,this.minLat=-e.MAX_MERCATOR_LATITUDE,this.maxLat=e.MAX_MERCATOR_LATITUDE,this.minLng=-180,this.maxLng=180,t&&(this.minLat=t.getSouth(),this.maxLat=t.getNorth(),this.minLng=t.getWest(),this.maxLng=t.getEast(),this.maxLng<this.minLng&&(this.maxLng+=360)),this.worldMinX=e.mercatorXfromLng(this.minLng)*this.tileSize,this.worldMaxX=e.mercatorXfromLng(this.maxLng)*this.tileSize,this.worldMinY=e.mercatorYfromLat(this.maxLat)*this.tileSize,this.worldMaxY=e.mercatorYfromLat(this.minLat)*this.tileSize,this._constrain()}calculatePosMatrix(e,t){return this.projection.createTileMatrix(this,t,e)}calculateDistanceTileData(t){const r=t.key,n=this._distanceTileDataCache;if(n[r])return n[r];const i=t.canonical,o=1/this.height,a=this.cameraWorldSize,s=a/this.zoomScale(i.z),l=(i.x+Math.pow(2,i.z)*t.wrap)*s,c=i.y*s,u=this.point;u.x*=a/this.worldSize,u.y*=a/this.worldSize;const d=this.angle,f=Math.sin(-d),p=-Math.cos(-d);return n[r]={bearing:[f,p],center:[(u.x-l)*o,(u.y-c)*o],scale:s/e.EXTENT*o},n[r]}calculateFogTileMatrix(t){const r=t.key,n=this._fogTileMatrixCache;if(n[r])return n[r];const i=this.projection.createTileMatrix(this,this.cameraWorldSizeForFog,t);return e.multiply(i,this.worldToFogMatrix,i),n[r]=new Float32Array(i),n[r]}calculateProjMatrix(t,r=!1){const n=t.key,i=r?this._alignedProjMatrixCache:this._projMatrixCache;if(i[n])return i[n];const o=this.calculatePosMatrix(t,this.worldSize);return e.multiply(o,this.projection.isReprojectedInTileSpace?this.mercatorMatrix:r?this.alignedProjMatrix:this.projMatrix,o),i[n]=new Float32Array(o),i[n]}calculatePixelsToTileUnitsMatrix(t){const r=t.tileID.key,n=this._pixelsToTileUnitsCache;if(n[r])return n[r];const i=function(t,r){const{scale:n}=t.tileTransform,i=n*e.EXTENT/(t.tileSize*Math.pow(2,r.zoom-t.tileID.overscaledZ+t.tileID.canonical.z));return o=new Float32Array(4),l=(a=r.inverseAdjustmentMatrix)[1],c=a[2],u=a[3],f=(s=[i,i])[1],o[0]=a[0]*(d=s[0]),o[1]=l*d,o[2]=c*f,o[3]=u*f,o;var o,a,s,l,c,u,d,f}(t,this);return n[r]=i,n[r]}customLayerMatrix(){return this.mercatorMatrix.slice()}globeToMercatorMatrix(){if("globe"===this.projection.name){const t=1/this.worldSize,r=e.fromScaling([],[t,t,t]);return e.multiply(r,r,this.globeMatrix),r}}recenterOnTerrain(){if(!this._elevation||"globe"===this.projection.name)return;const t=this._elevation;this._updateCameraState();const r=e.mercatorZfromAltitude(1,this._center.lat)*this.worldSize,n=this._computeCameraPosition(r),i=this._camera.forward(),o=e.mercatorZfromAltitude(1,this._center.lat);n[2]/=o,i[2]/=o,e.normalize(i,i);const a=t.raycast(n,i,t.exaggeration());if(a){const t=e.scaleAndAdd([],n,i,a),r=new e.MercatorCoordinate(t[0],t[1],e.mercatorZfromAltitude(t[2],e.latFromMercatorY(t[1]))),s=(r.z+e.length([r.x-n[0],r.y-n[1],r.z-n[2]*o]))*this._pixelsPerMercatorPixel;this._seaLevelZoom=this._zoomFromMercatorZ(s),this._centerAltitude=r.toAltitude(),this._center=this.coordinateLocation(r),this._updateZoomFromElevation(),this._constrain(),this._calcMatrices()}}_constrainCamera(t=!1){if(!this._elevation)return;const r=this._elevation,n=e.mercatorZfromAltitude(1,this._center.lat)*this.worldSize,i=this._computeCameraPosition(n),o=r.getAtPointOrZero(new e.MercatorCoordinate(...i)),a=this.pixelsPerMeter/this.worldSize*o,s=this._minimumHeightOverTerrain(),l=i[2]-a;if(l<=s)if(l<0||t){const t=this.locationCoordinate(this._center,this._centerAltitude),r=[i[0],i[1],t.z-i[2]],n=e.length(r);r[2]-=(s-l)/this._pixelsPerMercatorPixel;const o=e.length(r);if(0===o)return;e.scale$2(r,r,n/o*this._pixelsPerMercatorPixel),this._camera.position=[i[0],i[1],t.z*this._pixelsPerMercatorPixel-r[2]],this._updateStateFromCamera()}else this._isCameraConstrained=!0}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;const t="globe"===this.projection.name||this.mercatorFromTransition;if(this.projection.isReprojectedInTileSpace||t){const r=this.center;return r.lat=e.clamp(r.lat,this.minLat,this.maxLat),(this.maxBounds||!this.renderWorldCopies&&!t)&&(r.lng=e.clamp(r.lng,this.minLng,this.maxLng)),this.center=r,void(this._constraining=!1)}const r=this._unmodified,{x:n,y:i}=this.point;let o=0,a=n,s=i;const l=this.width/2,c=this.height/2,u=this.worldMinY*this.scale,d=this.worldMaxY*this.scale;if(i-c<u&&(s=u+c),i+c>d&&(s=d-c),d-u<this.height&&(o=Math.max(o,this.height/(d-u)),s=(d+u)/2),this.maxBounds||!this._renderWorldCopies||!this.projection.wrap){const e=this.worldMinX*this.scale,t=this.worldMaxX*this.scale,r=this.worldSize/2-(e+t)/2;a=(n+r+this.worldSize)%this.worldSize-r,a-l<e&&(a=e+l),a+l>t&&(a=t-l),t-e<this.width&&(o=Math.max(o,this.width/(t-e)),a=(t+e)/2)}a===n&&s===i||(this.center=this.unproject(new e.Point(a,s))),o&&(this.zoom+=this.scaleZoom(o)),this._constrainCamera(),this._unmodified=r,this._constraining=!1}_minZoomForBounds(){let e=Math.max(0,this.scaleZoom(this.height/(this.worldMaxY-this.worldMinY)));return this.maxBounds&&(e=Math.max(e,this.scaleZoom(this.width/(this.worldMaxX-this.worldMinX)))),e}_maxCameraBoundsDistance(){return this._mercatorZfromZoom(this._minZoomForBounds())}
2_calcMatrices(){if(!this.height)return;const t=this.centerOffset,r=this.pixelsPerMeter;"globe"===this.projection.name&&(this._mercatorScaleRatio=e.mercatorZfromAltitude(1,this.center.lat)/e.mercatorZfromAltitude(1,e.GLOBE_SCALE_MATCH_LATITUDE));const n=Wn(this.projection,this.zoom,this.width,this.height,1024);this._pixelsPerMercatorPixel=this.projection.pixelSpaceConversion(this.center.lat,this.worldSize,n),this.cameraToCenterDistance=.5/Math.tan(.5*this._fov)*this.height*this._pixelsPerMercatorPixel,this._updateCameraState(),this._farZ=this.projection.farthestPixelDistance(this),this._nearZ=this.height/50;const i="meters"===this.projection.zAxisUnit?r:1,o=this._camera.getWorldToCamera(this.worldSize,i),a=this._camera.getCameraToClipPerspective(this._fov,this.width/this.height,this._nearZ,this._farZ);a[8]=2*-t.x/this.width,a[9]=2*t.y/this.height;let s=e.mul([],a,o);if(this.projection.isReprojectedInTileSpace){const t=this.locationCoordinate(this.center),r=e.identity([]);e.translate(r,r,[t.x*this.worldSize,t.y*this.worldSize,0]),e.multiply(r,r,Hn(this)),e.translate(r,r,[-t.x*this.worldSize,-t.y*this.worldSize,0]),e.multiply(s,s,r),this.inverseAdjustmentMatrix=function(e){const t=Hn(e,!0);return v([],[t[0],t[1],t[4],t[5]])}(this)}else this.inverseAdjustmentMatrix=[1,0,0,1];this.mercatorMatrix=e.scale([],s,[this.worldSize,this.worldSize,this.worldSize/i,1]),this.projMatrix=s,this.invProjMatrix=e.invert(new Float64Array(16),this.projMatrix);const l=e.invert([],a);this.frustumCorners=e.FrustumCorners.fromInvProjectionMatrix(l,this.horizonLineFromTop(),this.height);const c=new Float32Array(16);e.identity(c),e.scale(c,c,[1,-1,1]),e.rotateX(c,c,this._pitch),e.rotateZ(c,c,this.angle);const u=e.perspective(new Float32Array(16),this._fov,this.width/this.height,this._nearZ,this._farZ),d=(Math.PI/2-this._pitch)*(this.height/this._fov)*this._horizonShift;u[8]=2*-t.x/this.width,u[9]=2*(t.y+d)/this.height,this.skyboxMatrix=e.multiply(c,u,c);const f=this.point,p=f.x,h=f.y,m=this.width%2/2,y=this.height%2/2,g=Math.cos(this.angle),b=Math.sin(this.angle),_=p-Math.round(p)+g*m+b*y,x=h-Math.round(h)+g*y+b*m,w=new Float64Array(s);if(e.translate(w,w,[_>.5?_-1:_,x>.5?x-1:x,0]),this.alignedProjMatrix=w,s=e.create(),e.scale(s,s,[this.width/2,-this.height/2,1]),e.translate(s,s,[1,-1,0]),this.labelPlaneMatrix=s,s=e.create(),e.scale(s,s,[1,-1,1]),e.translate(s,s,[-1,-1,0]),e.scale(s,s,[2/this.width,2/this.height,1]),this.glCoordMatrix=s,this.pixelMatrix=e.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),this._calcFogMatrices(),this._distanceTileDataCache={},s=e.invert(new Float64Array(16),this.pixelMatrix),!s)throw new Error("failed to invert matrix");if(this.pixelMatrixInverse=s,"globe"===this.projection.name||this.mercatorFromTransition){this.globeMatrix=e.calculateGlobeMatrix(this);const t=[this.globeMatrix[12],this.globeMatrix[13],this.globeMatrix[14]];this.globeCenterInViewSpace=e.transformMat4(t,t,o),this.globeRadius=this.worldSize/2/Math.PI-1}else this.globeMatrix=s;this._projMatrixCache={},this._alignedProjMatrixCache={},this._pixelsToTileUnitsCache={}}_calcFogMatrices(){this._fogTileMatrixCache={};const t=this.cameraWorldSizeForFog,r=this.cameraPixelsPerMeter,n=this._camera.position,i=1/this.height/this._pixelsPerMercatorPixel,o=[t,t,r];e.scale$2(o,o,i),e.scale$2(n,n,-1),e.multiply$2(n,n,o);const a=e.create();e.translate(a,a,n),e.scale(a,a,o),this.mercatorFogMatrix=a,this.worldToFogMatrix=this._camera.getWorldToCameraPosition(t,r,i)}_computeCameraPosition(e){const t=(e=e||this.pixelsPerMeter)/this.pixelsPerMeter,r=this._camera.forward(),n=this.point,i=this._mercatorZfromZoom(this._seaLevelZoom?this._seaLevelZoom:this._zoom)*t-e/this.worldSize*this._centerAltitude;return[n.x/this.worldSize-r[0]*i,n.y/this.worldSize-r[1]*i,e/this.worldSize*this._centerAltitude-r[2]*i]}_updateCameraState(){this.height&&(this._camera.setPitchBearing(this._pitch,this.angle),this._camera.position=this._computeCameraPosition())}_translateCameraConstrained(t){const r=this._maxCameraBoundsDistance()*Math.cos(this._pitch),n=this._camera.position[2],i=t[2];let o=1;this.projection.wrap&&(this.center=this.center.wrap()),i>0&&(o=Math.min((r-n)/i,1)),this._camera.position=e.scaleAndAdd([],this._camera.position,t,o),this._updateStateFromCamera()}_updateStateFromCamera(){const t=this._camera.position,r=this._camera.forward(),{pitch:n,bearing:i}=this._camera.getPitchBearing(),o=e.mercatorZfromAltitude(this._centerAltitude,this.center.lat)*this._pixelsPerMercatorPixel,a=this._mercatorZfromZoom(this._maxZoom)*Math.cos(e.degToRad(this._maxPitch)),s=Math.max((t[2]-o)/Math.cos(n),a),l=this._zoomFromMercatorZ(s);e.scaleAndAdd(t,t,r,s),this._pitch=e.clamp(n,e.degToRad(this.minPitch),e.degToRad(this.maxPitch)),this.angle=e.wrap(i,-Math.PI,Math.PI),this._setZoom(e.clamp(l,this._minZoom,this._maxZoom)),this._updateSeaLevelZoom(),this._center=this.coordinateLocation(new e.MercatorCoordinate(t[0],t[1],t[2])),this._unmodified=!1,this._constrain(),this._calcMatrices()}_worldSizeFromZoom(e){return Math.pow(2,e)*this.tileSize}_mercatorZfromZoom(e){return this.cameraToCenterDistance/this._worldSizeFromZoom(e)}_minimumHeightOverTerrain(){const e=Math.min((null!=this._seaLevelZoom?this._seaLevelZoom:this._zoom)+4,this._maxZoom);return this._mercatorZfromZoom(e)}_zoomFromMercatorZ(e){return this.scaleZoom(this.cameraToCenterDistance/(e*this.tileSize))}zoomFromMercatorZAdjusted(t){let r=0,n=e.GLOBE_ZOOM_THRESHOLD_MAX,i=0,o=1/0;for(;n-r>1e-6&&n>r;){const e=r+.5*(n-r),a=this.tileSize*Math.pow(2,e),s=this.getCameraToCenterDistance(this.projection,e,a),l=this.scaleZoom(s/(t*this.tileSize)),c=Math.abs(e-l);c<o&&(o=c,i=e),e<l?r=e:n=e}return i}_terrainEnabled(){return!(!this._elevation||!this.projection.supportsTerrain&&(e.warnOnce("Terrain is not yet supported with alternate projections. Use mercator or globe to enable terrain."),1))}anyCornerOffEdge(t,r){const n=Math.min(t.x,r.x),i=Math.max(t.x,r.x),o=Math.min(t.y,r.y),a=Math.max(t.y,r.y);if(o<this.horizonLineFromTop(!1))return!0;
2if("mercator"!==this.projection.name)return!1;const s=[new e.Point(n,o),new e.Point(i,a),new e.Point(n,a),new e.Point(i,o)],l=this.renderWorldCopies?-3:0,c=this.renderWorldCopies?4:1;for(const e of s){const t=this.pointRayIntersection(e);if(t.t<0)return!0;const r=this.rayIntersectionCoordinate(t);if(r.x<l||r.y<0||r.x>c||r.y>1)return!0}return!1}isHorizonVisible(){return this.pitch+e.radToDeg(this.fovAboveCenter)>88||this.anyCornerOffEdge(new e.Point(0,0),new e.Point(this.width,this.height))}zoomDeltaToMovement(t,r){const n=e.length(e.sub([],this._camera.position,t)),i=this._zoomFromMercatorZ(n)+r;return n-this._mercatorZfromZoom(i)}getCameraPoint(){if("globe"===this.projection.name){const t=function([t,r,n],i){const o=[t,r,n,1];e.transformMat4$1(o,o,i);const a=o[3]=Math.max(o[3],1e-6);return o[0]/=a,o[1]/=a,o[2]/=a,o}([this.globeMatrix[12],this.globeMatrix[13],this.globeMatrix[14]],this.pixelMatrix);return new e.Point(t[0],t[1])}{const t=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new e.Point(0,t))}}getCameraToCenterDistance(e,t=this.zoom,r=this.worldSize){const n=Wn(e,t,this.width,this.height,1024),i=e.pixelSpaceConversion(this.center.lat,r,n);return.5/Math.tan(.5*this._fov)*this.height*i}getWorldToCameraMatrix(){const t=this._camera.getWorldToCamera(this.worldSize,"meters"===this.projection.zAxisUnit?this.pixelsPerMeter:1);return"globe"===this.projection.name&&e.multiply(t,t,this.globeMatrix),t}}function Xn(e,t){let r=!1,n=null;const i=()=>{n=null,r&&(e(),n=setTimeout(i,t),r=!1)};return()=>(r=!0,n||i(),n)}class Jn{constructor(t){this._hashName=t&&encodeURIComponent(t),e.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=Xn(this._updateHashUnthrottled.bind(this),300)}addTo(t){return this._map=t,e.window.addEventListener("hashchange",this._onHashChange,!1),t.on("moveend",this._updateHash),this}remove(){return this._map?(this._map.off("moveend",this._updateHash),e.window.removeEventListener("hashchange",this._onHashChange,!1),clearTimeout(this._updateHash()),this._map=void 0,this):this}getHashString(){const t=this._map;if(!t)return"";const r=Kn(t);if(this._hashName){const t=this._hashName;let n=!1;const i=e.window.location.hash.slice(1).split("&").map(e=>{const i=e.split("=")[0];return i===t?(n=!0,`${i}=${r}`):e}).filter(e=>e);return n||i.push(`${t}=${r}`),`#${i.join("&")}`}return`#${r}`}_getCurrentHash(){const t=e.window.location.hash.replace("#","");if(this._hashName){let e;return t.split("&").map(e=>e.split("=")).forEach(t=>{t[0]===this._hashName&&(e=t)}),(e&&e[1]||"").split("/")}return t.split("/")}_onHashChange(){const e=this._map;if(!e)return!1;const t=this._getCurrentHash();if(t.length>=3&&!t.some(e=>isNaN(e))){const r=e.dragRotate.isEnabled()&&e.touchZoomRotate.isEnabled()?+(t[3]||0):e.getBearing();return e.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:r,pitch:+(t[4]||0)}),!0}return!1}_updateHashUnthrottled(){const t=e.window.location.href.replace(/(#.+)?$/,this.getHashString());e.window.history.replaceState(e.window.history.state,null,t)}}function Kn(e,t){const r=e.getCenter(),n=Math.round(100*e.getZoom())/100,i=Math.ceil((n*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,i),a=Math.round(r.lng*o)/o,s=Math.round(r.lat*o)/o,l=e.getBearing(),c=e.getPitch();let u=t?`/${a}/${s}/${n}`:`${n}/${s}/${a}`;return(l||c)&&(u+="/"+Math.round(10*l)/10),c&&(u+=`/${Math.round(c)}`),u}const Qn={linearity:.3,easing:e.bezier(0,0,.3,1)},ei=e.extend({deceleration:2500,maxSpeed:1400},Qn),ti=e.extend({deceleration:20,maxSpeed:1400},Qn),ri=e.extend({deceleration:1e3,maxSpeed:360},Qn),ni=e.extend({deceleration:1e3,maxSpeed:90},Qn);class ii{constructor(e){this._map=e,this.clear()}clear(){this._inertiaBuffer=[]}record(t){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:e.exported.now(),settings:t})}_drainInertiaBuffer(){const t=this._inertiaBuffer,r=e.exported.now();for(;t.length>0&&r-t[0].time>160;)t.shift()}_onMoveEnd(t){if(this._map._prefersReducedMotion())return;if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const r={zoom:0,bearing:0,pitch:0,pan:new e.Point(0,0),pinchAround:void 0,around:void 0};for(const{settings:e}of this._inertiaBuffer)r.zoom+=e.zoomDelta||0,r.bearing+=e.bearingDelta||0,r.pitch+=e.pitchDelta||0,e.panDelta&&r.pan._add(e.panDelta),e.around&&(r.around=e.around),e.pinchAround&&(r.pinchAround=e.pinchAround);const n=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,i={};if(r.pan.mag()){const o=ai(r.pan.mag(),n,e.extend({},ei,t||{}));i.offset=r.pan.mult(o.amount/r.pan.mag()),i.center=this._map.transform.center,oi(i,o)}if(r.zoom){const e=ai(r.zoom,n,ti);i.zoom=this._map.transform.zoom+e.amount,oi(i,e)}if(r.bearing){const t=ai(r.bearing,n,ri);
vendor: 9,221 bytes, line 2
2i.bearing=this._map.transform.bearing+e.clamp(t.amount,-179,179),oi(i,t)}if(r.pitch){const e=ai(r.pitch,n,ni);i.pitch=this._map.transform.pitch+e.amount,oi(i,e)}if(i.zoom||i.bearing){const e=void 0===r.pinchAround?r.around:r.pinchAround;i.around=e?this._map.unproject(e):this._map.getCenter()}return this.clear(),i.noMoveStart=!0,i}}function oi(e,t){(!e.duration||e.duration<t.duration)&&(e.duration=t.duration,e.easing=t.easing)}function ai(t,r,n){const{maxSpeed:i,linearity:o,deceleration:a}=n,s=e.clamp(t*o/(r/1e3),-i,i),l=Math.abs(s)/(a*o);return{easing:n.easing,duration:1e3*l,amount:s*(l/2)}}class si extends e.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(t,r,n,i={}){const o=h(r.getCanvasContainer(),n),a=r.unproject(o);super(t,e.extend({point:o,lngLat:a,originalEvent:n},i)),this._defaultPrevented=!1,this.target=r}}class li extends e.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(t,r,n){const i="touchend"===t?n.changedTouches:n.touches,o=m(r.getCanvasContainer(),i),a=o.map(e=>r.unproject(e)),s=o.reduce((e,t,r,n)=>e.add(t.div(n.length)),new e.Point(0,0));super(t,{points:o,point:s,lngLats:a,lngLat:r.unproject(s),originalEvent:n}),this._defaultPrevented=!1}}class ci extends e.Event{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(e,t,r){super(e,{originalEvent:r}),this._defaultPrevented=!1}}class ui{constructor(e,t){this._map=e,this._clickTolerance=t.clickTolerance}reset(){this._mousedownPos=void 0}wheel(e){return this._firePreventable(new ci(e.type,this._map,e))}mousedown(e,t){return this._mousedownPos=t,this._firePreventable(new si(e.type,this._map,e))}mouseup(e){this._map.fire(new si(e.type,this._map,e))}preclick(t){const r=e.extend({},t);r.type="preclick",this._map.fire(new si(r.type,this._map,r))}click(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||(this.preclick(e),this._map.fire(new si(e.type,this._map,e)))}dblclick(e){return this._firePreventable(new si(e.type,this._map,e))}mouseover(e){this._map.fire(new si(e.type,this._map,e))}mouseout(e){this._map.fire(new si(e.type,this._map,e))}touchstart(e){return this._firePreventable(new li(e.type,this._map,e))}touchmove(e){this._map.fire(new li(e.type,this._map,e))}touchend(e){this._map.fire(new li(e.type,this._map,e))}touchcancel(e){this._map.fire(new li(e.type,this._map,e))}_firePreventable(e){if(this._map.fire(e),e.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class di{constructor(e){this._map=e}reset(){this._delayContextMenu=!1,this._contextMenuEvent=void 0}mousemove(e){this._map.fire(new si(e.type,this._map,e))}mousedown(){this._delayContextMenu=!0}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new si("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(e){this._delayContextMenu?this._contextMenuEvent=e:this._map.fire(new si(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class fi{constructor(e,t){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(u(),this._startPos=this._lastPos=t,this._active=!0)}mousemoveWindow(e,t){if(!this._active)return;const r=t,n=this._startPos,i=this._lastPos;if(!n||!i||i.equals(r)||!this._box&&r.dist(n)<this._clickTolerance)return;this._lastPos=r,this._box||(this._box=o("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",e));const a=Math.min(n.x,r.x),s=Math.max(n.x,r.x),l=Math.min(n.y,r.y),c=Math.max(n.y,r.y);this._map._requestDomTask(()=>{this._box&&(this._box.style.transform=`translate(${a}px,${l}px)`,this._box.style.width=s-a+"px",this._box.style.height=c-l+"px")})}mouseupWindow(t,r){if(!this._active)return;const n=this._startPos,i=r;if(n&&0===t.button){if(this.reset(),p(),n.x!==i.x||n.y!==i.y)return this._map.fire(new e.Event("boxzoomend",{originalEvent:t})),{cameraAnimation:e=>e.fitScreenCoordinates(n,i,this._map.getBearing(),{linear:!1})};this._fireEvent("boxzoomcancel",t)}}keydown(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e))}blur(){this.reset()}reset(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(this._box.remove(),this._box=null),d(),delete this._startPos,delete this._lastPos}_fireEvent(t,r){return this._map.fire(new e.Event(t,{originalEvent:r}))}}function pi(e,t){const r={};for(let n=0;n<e.length;n++)r[e[n].identifier]=t[n];return r}class hi{constructor(e){this.reset(),this.numTouches=e.numTouches}reset(){this.centroid=void 0,this.startTime=0,this.touches={},this.aborted=!1}touchstart(t,r,n){(this.centroid||n.length>this.numTouches)&&(this.aborted=!0),this.aborted||(0===this.startTime&&(this.startTime=t.timeStamp),n.length===this.numTouches&&(this.centroid=function(t){const r=new e.Point(0,0);for(const e of t)r._add(e);return r.div(t.length)}(r),this.touches=pi(n,r)))}touchmove(e,t,r){if(this.aborted||!this.centroid)return;const n=pi(r,t);for(const e in this.touches){const t=n[e];(!t||t.dist(this.touches[e])>30)&&(this.aborted=!0)}}touchend(e,t,r){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===r.length){const e=!this.aborted&&this.centroid;if(this.reset(),e)return e}}}class mi{constructor(e){this.singleTap=new hi(e),this.numTaps=e.numTaps,this.reset()}reset(){this.lastTime=1/0,this.lastTap=void 0,this.count=0,this.singleTap.reset()}touchstart(e,t,r){this.singleTap.touchstart(e,t,r)}touchmove(e,t,r){this.singleTap.touchmove(e,t,r)}touchend(e,t,r){const n=this.singleTap.touchend(e,t,r);if(n){const t=e.timeStamp-this.lastTime<500,r=!this.lastTap||this.lastTap.dist(n)<30;if(t&&r||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=n,this.count===this.numTaps)return this.reset(),n}}}class yi{constructor(){this._zoomIn=new mi({numTouches:1,numTaps:2}),this._zoomOut=new mi({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(e,t,r){this._zoomIn.touchstart(e,t,r),this._zoomOut.touchstart(e,t,r)}touchmove(e,t,r){this._zoomIn.touchmove(e,t,r),this._zoomOut.touchmove(e,t,r)}touchend(e,t,r){const n=this._zoomIn.touchend(e,t,r),i=this._zoomOut.touchend(e,t,r);return n?(this._active=!0,e.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:t=>t.easeTo({duration:300,zoom:t.getZoom()+1,around:t.unproject(n)},{originalEvent:e})}):i?(this._active=!0,e.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:t=>t.easeTo({duration:300,zoom:t.getZoom()-1,around:t.unproject(i)},{originalEvent:e})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}const gi={0:1,2:2};class vi{constructor(e){this.reset(),this._clickTolerance=e.clickTolerance||1}blur(){this.reset()}reset(){this._active=!1,this._moved=!1,this._lastPoint=void 0,this._eventButton=void 0}_correctButton(e,t){return!1}_move(e,t){return{}}mousedown(e,t){if(this._lastPoint)return;const r=y(e);this._correctButton(e,r)&&(this._lastPoint=t,this._eventButton=r)}mousemoveWindow(e,t){const r=this._lastPoint;if(r)if(e.preventDefault(),null!=this._eventButton&&function(e,t){const r=gi[t];return void 0===e.buttons||(e.buttons&r)!==r}(e,this._eventButton))this.reset();else if(this._moved||!(t.dist(r)<this._clickTolerance))return this._moved=!0,this._lastPoint=t,this._move(r,t)}mouseupWindow(e){this._lastPoint&&y(e)===this._eventButton&&(this._moved&&p(),this.reset())}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class bi extends vi{mousedown(e,t){super.mousedown(e,t),this._lastPoint&&(this._active=!0)}_correctButton(e,t){return 0===t&&!e.ctrlKey}_move(e,t){return{around:t,panDelta:t.sub(e)}}}class _i extends vi{_correctButton(e,t){return 0===t&&e.ctrlKey||2===t}_move(e,t){const r=.8*(t.x-e.x);if(r)return this._active=!0,{bearingDelta:r}}contextmenu(e){e.preventDefault()}}class xi extends vi{_correctButton(e,t){return 0===t&&e.ctrlKey||2===t}_move(e,t){const r=-.5*(t.y-e.y);if(r)return this._active=!0,{pitchDelta:r}}contextmenu(e){e.preventDefault()}}class wi{constructor(t,r){this._map=t,this._el=t.getCanvasContainer(),this._minTouches=1,this._clickTolerance=r.clickTolerance||1,this.reset(),e.bindAll(["_addTouchPanBlocker","_showTouchPanBlockerAlert"],this)}reset(){this._active=!1,this._touches={},this._sum=new e.Point(0,0)}touchstart(e,t,r){return this._calculateTransform(e,t,r)}touchmove(t,r,n){if(this._active&&!(n.length<this._minTouches)){if(this._map._cooperativeGestures&&!this._map.isMoving()){if(1===n.length&&!e.isFullscreen())return void this._showTouchPanBlockerAlert();
vendor: 4,261 bytes, line 2
2"hidden"!==this._alertContainer.style.visibility&&(this._alertContainer.style.visibility="hidden",clearTimeout(this._alertTimer))}return t.cancelable&&t.preventDefault(),this._calculateTransform(t,r,n)}}touchend(e,t,r){this._calculateTransform(e,t,r),this._active&&r.length<this._minTouches&&this.reset()}touchcancel(){this.reset()}_calculateTransform(t,r,n){n.length>0&&(this._active=!0);const i=pi(n,r),o=new e.Point(0,0),a=new e.Point(0,0);let s=0;for(const e in i){const t=i[e],r=this._touches[e];r&&(o._add(t),a._add(t.sub(r)),s++,i[e]=t)}if(this._touches=i,s<this._minTouches||!a.mag())return;const l=a.div(s);return this._sum._add(l),this._sum.mag()<this._clickTolerance?void 0:{around:o.div(s),panDelta:l}}enable(){this._enabled=!0,this._map._cooperativeGestures&&(this._addTouchPanBlocker(),this._el.classList.add("mapboxgl-touch-pan-blocker-override","mapboxgl-scrollable-page"))}disable(){this._enabled=!1,this._map._cooperativeGestures&&(clearTimeout(this._alertTimer),this._alertContainer.remove(),this._el.classList.remove("mapboxgl-touch-pan-blocker-override","mapboxgl-scrollable-page")),this.reset()}isEnabled(){return!!this._enabled}isActive(){return!!this._active}_addTouchPanBlocker(){this._map&&!this._alertContainer&&(this._alertContainer=o("div","mapboxgl-touch-pan-blocker",this._map._container),this._alertContainer.textContent=this._map._getUIString("TouchPanBlocker.Message"),this._alertContainer.style.fontSize=`${Math.max(10,Math.min(24,Math.floor(.05*this._el.clientWidth)))}px`)}_showTouchPanBlockerAlert(){this._alertContainer.style.visibility="visible",this._alertContainer.classList.add("mapboxgl-touch-pan-blocker-show"),this._alertContainer.setAttribute("role","alert"),clearTimeout(this._alertTimer),this._alertTimer=setTimeout(()=>{this._alertContainer.classList.remove("mapboxgl-touch-pan-blocker-show"),this._alertContainer.setAttribute("role","null")},500)}}class Oi{constructor(){this.reset()}reset(){this._active=!1,this._firstTwoTouches=void 0}_start(e){}_move(e,t,r){return{}}touchstart(e,t,r){this._firstTwoTouches||r.length<2||(this._firstTwoTouches=[r[0].identifier,r[1].identifier],this._start([t[0],t[1]]))}touchmove(e,t,r){const n=this._firstTwoTouches;if(!n)return;e.preventDefault();const[i,o]=n,a=ji(r,t,i),s=ji(r,t,o);if(!a||!s)return;const l=this._aroundCenter?null:a.add(s).div(2);return this._move([a,s],l,e)}touchend(e,t,r){if(!this._firstTwoTouches)return;const[n,i]=this._firstTwoTouches,o=ji(r,t,n),a=ji(r,t,i);o&&a||(this._active&&p(),this.reset())}touchcancel(){this.reset()}enable(e){this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}function ji(e,t,r){for(let n=0;n<e.length;n++)if(e[n].identifier===r)return t[n]}function Si(e,t){return Math.log(e/t)/Math.LN2}class Mi extends Oi{reset(){super.reset(),this._distance=0,this._startDistance=0}_start(e){this._startDistance=this._distance=e[0].dist(e[1])}_move(e,t){const r=this._distance;if(this._distance=e[0].dist(e[1]),this._active||!(Math.abs(Si(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Si(this._distance,r),pinchAround:t}}}function ki(e,t){return 180*e.angleWith(t)/Math.PI}class Pi extends Oi{reset(){super.reset(),this._minDiameter=0,this._startVector=void 0,this._vector=void 0}_start(e){this._startVector=this._vector=e[0].sub(e[1]),this._minDiameter=e[0].dist(e[1])}_move(e,t){const r=this._vector;if(this._vector=e[0].sub(e[1]),r&&(this._active||!this._isBelowThreshold(this._vector)))return this._active=!0,{bearingDelta:ki(this._vector,r),pinchAround:t}}_isBelowThreshold(e){this._minDiameter=Math.min(this._minDiameter,e.mag());const t=25/(Math.PI*this._minDiameter)*360,r=this._startVector;if(!r)return!1;const n=ki(e,r);return Math.abs(n)<t}}function Ti(e){return Math.abs(e.y)>Math.abs(e.x)}class Ei extends Oi{constructor(e){super(),this._map=e}reset(){super.reset(),this._valid=void 0,this._firstMove=void 0,this._lastPoints=void 0}_start(e){this._lastPoints=e,Ti(e[0].sub(e[1]))&&(this._valid=!1)}_move(t,r,n){const i=this._lastPoints;if(!i)return;const o=t[0].sub(i[0]),a=t[1].sub(i[1]);return this._map._cooperativeGestures&&!e.isFullscreen()&&n.touches.length<3||(this._val
vendor: 14,083 bytes, line 2
2id=this.gestureBeginsVertically(o,a,n.timeStamp),!this._valid)?void 0:(this._lastPoints=t,this._active=!0,{pitchDelta:(o.y+a.y)/2*-.5})}gestureBeginsVertically(e,t,r){if(void 0!==this._valid)return this._valid;const n=e.mag()>=2,i=t.mag()>=2;if(!n&&!i)return;if(!n||!i)return null==this._firstMove&&(this._firstMove=r),r-this._firstMove<100&&void 0;const o=e.y>0==t.y>0;return Ti(e)&&Ti(t)&&o}}const Ci={panStep:100,bearingStep:15,pitchStep:10};class Li{constructor(){const e=Ci;this._panStep=e.panStep,this._bearingStep=e.bearingStep,this._pitchStep=e.pitchStep,this._rotationDisabled=!1}blur(){this.reset()}reset(){this._active=!1}keydown(e){if(e.altKey||e.ctrlKey||e.metaKey)return;let t=0,r=0,n=0,i=0,o=0;switch(e.keyCode){case 61:case 107:case 171:case 187:t=1;break;case 189:case 109:case 173:t=-1;break;case 37:e.shiftKey?r=-1:(e.preventDefault(),i=-1);break;case 39:e.shiftKey?r=1:(e.preventDefault(),i=1);break;case 38:e.shiftKey?n=1:(e.preventDefault(),o=-1);break;case 40:e.shiftKey?n=-1:(e.preventDefault(),o=1);break;default:return}return this._rotationDisabled&&(r=0,n=0),{cameraAnimation:a=>{const s=a.getZoom();a.easeTo({duration:300,easeId:"keyboardHandler",easing:Ai,zoom:t?Math.round(s)+t*(e.shiftKey?2:1):s,bearing:a.getBearing()+r*this._bearingStep,pitch:a.getPitch()+n*this._pitchStep,offset:[-i*this._panStep,-o*this._panStep],center:a.getCenter()},{originalEvent:e})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function Ai(e){return e*(2-e)}const Di=4.000244140625;class Ii{constructor(t,r){this._map=t,this._el=t.getCanvasContainer(),this._handler=r,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,e.bindAll(["_onTimeout","_addScrollZoomBlocker","_showBlockerAlert"],this)}setZoomRate(e){this._defaultZoomRate=e}setWheelZoomRate(e){this._wheelZoomRate=e}isEnabled(){return!!this._enabled}isActive(){return this._active||void 0!==this._finishTimeout}isZooming(){return!!this._zooming}enable(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around,this._map._cooperativeGestures&&this._addScrollZoomBlocker())}disable(){this.isEnabled()&&(this._enabled=!1,this._map._cooperativeGestures&&(clearTimeout(this._alertTimer),this._alertContainer.remove()))}wheel(t){if(!this.isEnabled())return;if(this._map._cooperativeGestures){if(!(t.ctrlKey||t.metaKey||this.isZooming()||e.isFullscreen()))return void this._showBlockerAlert();"hidden"!==this._alertContainer.style.visibility&&(this._alertContainer.style.visibility="hidden",clearTimeout(this._alertTimer))}let r=t.deltaMode===e.window.WheelEvent.DOM_DELTA_LINE?40*t.deltaY:t.deltaY;const n=e.exported.now(),i=n-(this._lastWheelEventTime||0);this._lastWheelEventTime=n,0!==r&&r%Di==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":i>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,t)):this._type||(this._type=Math.abs(i*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),t.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=t,this._delta-=r,this._active||this._start(t)),t.preventDefault()}_onTimeout(e){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e)}_start(e){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const t=h(this._el,e);this._aroundPoint=this._aroundCenter?this._map.transform.centerPoint:t,this._aroundCoord=this._map.transform.pointCoordinate3D(this._aroundPoint),this._targetZoom=void 0,this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}renderFrame(){if(!this._frameId)return;if(this._frameId=null,!this.isActive())return;const t=this._map.transform;"wheel"===this._type&&t.projection.wrap&&(t._center.lng>=180||t._center.lng<=-180)&&(this._prevEase=null,this._easing=null,this._lastWheelEvent=null,this._lastWheelEventTime=0);const r=()=>t._terrainEnabled()&&this._aroundCoord?t.computeZoomRelativeTo(this._aroundCoord):t.zoom;if(0!==this._delta){const e="wheel"===this._type&&Math.abs(this._delta)>Di?this._wheelZoomRate:this._defaultZoomRate;let n=2/(1+Math.exp(-Math.abs(this._delta*e)));this._delta<0&&0!==n&&(n=1/n);const i=r(),o=Math.pow(2,i),a="number"==typeof this._targetZoom?t.zoomScale(this._targetZoom):o;this._targetZoom=Math.min(t.maxZoom,Math.max(t.minZoom,t.scaleZoom(a*n))),"wheel"===this._type&&(this._startZoom=i,this._easing=this._smoothOutEasing(200)),this._delta=0}const n="number"==typeof this._targetZoom?this._targetZoom:r(),i=this._startZoom,o=this._easing;let a,s=!1;if("wheel"===this._type&&i&&o){const t=Math.min((e.exported.now()-this._lastWheelEventTime)/200,1),r=o(t);a=e.number(i,n,r),t<1?this._frameId||(this._frameId=!0):s=!0}else a=n,s=!0;return this._active=!0,s&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._handler._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!s,zoomDelta:a-r(),around:this._aroundPoint,aroundCoord:this._aroundCoord,originalEvent:this._lastWheelEvent}}_smoothOutEasing(t){let r=e.ease;if(this._prevEase){const t=this._prevEase,n=(e.exported.now()-t.start)/t.duration,i=t.easing(n+.01)-t.easing(n),o=.27/Math.sqrt(i*i+1e-4)*.01,a=Math.sqrt(.0729-o*o);r=e.bezier(o,a,.25,1)}return this._prevEase={start:e.exported.now(),duration:t,easing:r},r}blur(){this.reset()}reset(){this._active=!1}_addScrollZoomBlocker(){this._map&&!this._alertContainer&&(this._alertContainer=o("div","mapboxgl-scroll-zoom-blocker",this._map._container),this._alertContainer.textContent=/(Mac|iPad)/i.test(e.window.navigator.userAgent)?this._map._getUIString("ScrollZoomBlocker.CmdMessage"):this._map._getUIString("ScrollZoomBlocker.CtrlMessage"),this._alertContainer.style.fontSize=`${Math.max(10,Math.min(24,Math.floor(.05*this._el.clientWidth)))}px`)}_showBlockerAlert(){this._alertContainer.style.visibility="visible",this._alertContainer.classList.add("mapboxgl-scroll-zoom-blocker-show"),this._alertContainer.setAttribute("role","alert"),clearTimeout(this._alertTimer),this._alertTimer=setTimeout(()=>{this._alertContainer.classList.remove("mapboxgl-scroll-zoom-blocker-show"),this._alertContainer.setAttribute("role","null")},200)}}class Ni{constructor(e,t){this._clickZoom=e,this._tapZoom=t}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Ri{constructor(){this.reset()}reset(){this._active=!1}blur(){this.reset()}dblclick(e,t){return e.preventDefault(),{cameraAnimation:r=>{r.easeTo({duration:300,zoom:r.getZoom()+(e.shiftKey?-1:1),around:r.unproject(t)},{originalEvent:e})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class zi{constructor(){this._tap=new mi({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,this._swipePoint=void 0,this._swipeTouch=0,this._tapTime=0,this._tap.reset()}touchstart(e,t,r){this._swipePoint||(this._tapTime&&e.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?r.length>0&&(this._swipePoint=t[0],this._swipeTouch=r[0].identifier):this._tap.touchstart(e,t,r))}touchmove(e,t,r){if(this._tapTime){if(this._swipePoint){if(r[0].identifier!==this._swipeTouch)return;const n=t[0],i=n.y-this._swipePoint.y;return this._swipePoint=n,e.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(e,t,r)}touchend(e,t,r){this._tapTime?this._swipePoint&&0===r.length&&this.reset():this._tap.touchend(e,t,r)&&(this._tapTime=e.timeStamp)}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Fi{constructor(e,t,r){this._el=e,this._mousePan=t,this._touchPan=r}enable(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class Bi{constructor(e,t,r){this._pitchWithRotate=e.pitchWithRotate,this._mouseRotate=t,this._mousePitch=r}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class Yi{constructor(e,t,r,n){this._el=e,this._touchZoom=t,this._touchRotate=r,this._tapDragZoom=n,this._rotationDisabled=!1,this._enabled=!0}enable(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}const Ui=e=>e.zoom||e.drag||e.pitch||e.rotate;class Hi extends e.Event{}class $i{constructor(){this.constants=[1,1,.01],this.radius=0}setup(t,r){const n=e.sub([],r,t);this.radius=e.length(n[2]<0?e.div([],n,this.constants):[n[0],n[1],0])}projectRay(t){e.div(t,t,this.constants),e.normalize(t,t),e.mul$1(t,t,this.constants);const r=e.scale$2([],t,this.radius);if(r[2]>0){const t=e.scale$2([],[0,0,1],e.dot(r,[0,0,1])),n=e.scale$2([],e.normalize([],[r[0],r[1],0]),this.radius),i=e.add([],r,e.scale$2([],e.sub([],e.add([],n,t),r),2));r[0]=i[0],r[1]=i[1]}return r}}function Wi(e){return e.panDelta&&e.panDelta.mag()||e.zoomDelta||e.bearingDelta||e.pitchDelta}class Vi{constructor(t,r){this._map=t,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ii(t),this._bearingSnap=r.bearingSnap,this._previousActiveHandlers={},this._trackingEllipsoid=new $i,this._dragOrigin=null,this._eventsInProgress={},this._addDefaultHandlers(r),e.bindAll(["handleEvent","handleWindowEvent"],this);const n=this._el;this._listeners=[[n,"touchstart",{passive:!0}],[n,"touchmove",{passive:!1}],[n,"touchend",void 0],[n,"touchcancel",void 0],[n,"mousedown",void 0],[n,"mousemove",void 0],[n,"mouseup",void 0],[e.window.document,"mousemove",{capture:!0}],[e.window.document,"mouseup",void 0],[n,"mouseover",void 0],[n,"mouseout",void 0],[n,"dblclick",void 0],[n,"click",void 0],[n,"keydown",{capture:!1}],[n,"keyup",void 0],[n,"wheel",{passive:!1}],[n,"contextmenu",void 0],[e.window,"blur",void 0]];for(const[t,r,n]of this._listeners)t.addEventListener(r,t===e.window.document?this.handleWindowEvent:this.handleEvent,n)}destroy(){for(const[t,r,n]of this._listeners)t.removeEventListener(r,t===e.window.document?this.handleWindowEvent:this.handleEvent,n)}_addDefaultHandlers(e){const t=this._map,r=t.getCanvasContainer();this._add("mapEvent",new ui(t,e));const n=t.boxZoom=new fi(t,e);this._add("boxZoom",n);const i=new yi,o=new Ri;t.doubleClickZoom=new Ni(o,i),this._add("tapZoom",i),this._add("clickZoom",o);const a=new zi;this._add("tapDragZoom",a);const s=t.touchPitch=new Ei(t);this._add("touchPitch",s);const l=new _i(e),c=new xi(e);t.dragRotate=new Bi(e,l,c),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",c,["mouseRotate"]);const u=new bi(e),d=new wi(t,e);t.dragPan=new Fi(r,u,d),this._add("mousePan",u),this._add("touchPan",d,["touchZoom","touchRotate"]);const f=new Pi,p=new Mi;t.touchZoomRotate=new Yi(r,p,f,a),this._add("touchRotate",f,["touchPan","touchZoom"]),this._add("touchZoom",p,["touchPan","touchRotate"]),this._add("blockableMapEvent",new di(t));const h=t.scrollZoom=new Ii(t,this);this._add("scrollZoom",h,["mousePan"]);const m=t.keyboard=new Li;this._add("keyboard",m);for(const r of["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"])e.interactive&&e[r]&&t[r].enable(e[r])}_add(e,t,r){this._handlers.push({handlerName:e,handler:t,allowed:r}),this._handlersById[e]=t}stop(e){if(!this._updatingCamera){for(const{handler:e}of this._handlers)e.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[]}}isActive(){for(const{handler:e}of this._handlers)if(e.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!Ui(this._eventsInProgress)||this.isZooming()}_isDragging(){return!!this._eventsInProgress.drag}_blockedByActive(e,t,r){for(const n in e)if(n!==r&&(!t||t.indexOf(n)<0))return!0;return!1}handleWindowEvent(e){this.handleEvent(e,`${e.type}Window`)}_getMapTouches(e){const t=[];for(const r of e)this._el.contains(r.target)&&t.push(r);return t}handleEvent(e,t){this._updatingCamera=!0;const r="renderFrame"===e.type,n=r?void 0:e,i={needsRenderFrame:!1},o={},a={},s=e.touches?this._getMapTouches(e.touches):void 0,l=s?m(this._el,s):r?void 0:h(this._el,e);for(const{handlerName:r,handler:c,allowed:u}of this._handlers){if(!c.isEnabled())continue;let d;this._blockedByActive(a,u,r)?c.reset():c[t||e.type]&&(d=c[t||e.type](e,l,s),this.mergeHandlerResult(i,o,d,r,n),d&&d.needsRenderFrame&&this._triggerRe
2nderFrame()),(d||c.isActive())&&(a[r]=c)}const c={};for(const e in this._previousActiveHandlers)a[e]||(c[e]=n);this._previousActiveHandlers=a,(Object.keys(c).length||Wi(i))&&(this._changes.push([i,o,c]),this._triggerRenderFrame()),(Object.keys(a).length||Wi(i))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:u}=i;u&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],u(this._map))}mergeHandlerResult(t,r,n,i,o){if(!n)return;e.extend(t,n);const a={handlerName:i,originalEvent:n.originalEvent||o};void 0!==n.zoomDelta&&(r.zoom=a),void 0!==n.panDelta&&(r.drag=a),void 0!==n.pitchDelta&&(r.pitch=a),void 0!==n.bearingDelta&&(r.rotate=a)}_applyChanges(){const t={},r={},n={};for(const[i,o,a]of this._changes)i.panDelta&&(t.panDelta=(t.panDelta||new e.Point(0,0))._add(i.panDelta)),i.zoomDelta&&(t.zoomDelta=(t.zoomDelta||0)+i.zoomDelta),i.bearingDelta&&(t.bearingDelta=(t.bearingDelta||0)+i.bearingDelta),i.pitchDelta&&(t.pitchDelta=(t.pitchDelta||0)+i.pitchDelta),void 0!==i.around&&(t.around=i.around),void 0!==i.aroundCoord&&(t.aroundCoord=i.aroundCoord),void 0!==i.pinchAround&&(t.pinchAround=i.pinchAround),i.noInertia&&(t.noInertia=i.noInertia),e.extend(r,o),e.extend(n,a);this._updateMapTransform(t,r,n),this._changes=[]}_updateMapTransform(t,r,n){const i=this._map,o=i.transform,a=e=>[e.x,e.y,e.z];if((()=>{const e=this._eventsInProgress.drag;return e&&!this._handlersById[e.handlerName].isActive()})()&&!Wi(t)){const e=o.zoom;o.cameraElevationReference="sea",o.recenterOnTerrain(),o.cameraElevationReference="ground",e!==o.zoom&&this._map._update(!0)}if(o._isCameraConstrained&&i._stop(!0),!Wi(t))return void this._fireEvents(r,n,!0);let{panDelta:s,zoomDelta:l,bearingDelta:c,pitchDelta:u,around:d,aroundCoord:f,pinchAround:p}=t;o._isCameraConstrained&&(l>0&&(l=0),o._isCameraConstrained=!1),void 0!==p&&(d=p),(l||(e=>r[e]&&!this._eventsInProgress[e])("drag"))&&d&&(this._dragOrigin=a(o.pointCoordinate3D(d)),this._trackingEllipsoid.setup(o._camera.position,this._dragOrigin)),o.cameraElevationReference="sea",i._stop(!0),d=d||i.transform.centerPoint,c&&(o.bearing+=c),u&&(o.pitch+=u),o._updateCameraState();const h=[0,0,0];if(s)if("mercator"===o.projection.name){const e=this._trackingEllipsoid.projectRay(o.screenPointToMercatorRay(d).dir),t=this._trackingEllipsoid.projectRay(o.screenPointToMercatorRay(d.sub(s)).dir);h[0]=t[0]-e[0],h[1]=t[1]-e[1]}else{const t=o.pointCoordinate(d);if("globe"===o.projection.name){s=s.rotate(-o.angle);const r=o._pixelsPerMercatorPixel/o.worldSize;h[0]=-s.x*e.mercatorScale(e.latFromMercatorY(t.y))*r,h[1]=-s.y*e.mercatorScale(o.center.lat)*r}else{const e=o.pointCoordinate(d.sub(s));t&&e&&(h[0]=e.x-t.x,h[1]=e.y-t.y)}}const m=o.zoom,y=[0,0,0];if(l){const t=a(f||o.pointCoordinate3D(d)),r={dir:e.normalize([],e.sub([],t,o._camera.position))};if(r.dir[2]<0){const n=o.zoomDeltaToMovement(t,l);e.scale$2(y,r.dir,n)}}const g=e.add(h,h,y);o._translateCameraConstrained(g),l&&Math.abs(o.zoom-m)>1e-4&&o.recenterOnTerrain(),o.cameraElevationReference="ground",this._map._update(),t.noInertia||this._inertia.record(t),this._fireEvents(r,n,!0)}
vendor: 1,327 bytes, line 2
2_fireEvents(t,r,n){const i=Ui(this._eventsInProgress),o=Ui(t),a={};for(const e in t){const{originalEvent:r}=t[e];this._eventsInProgress[e]||(a[`${e}start`]=r),this._eventsInProgress[e]=t[e]}!i&&o&&this._fireEvent("movestart",o.originalEvent);for(const e in a)this._fireEvent(e,a[e]);o&&this._fireEvent("move",o.originalEvent);for(const e in t){const{originalEvent:r}=t[e];this._fireEvent(e,r)}const s={};let l;for(const e in this._eventsInProgress){const{handlerName:t,originalEvent:n}=this._eventsInProgress[e];this._handlersById[t].isActive()||(delete this._eventsInProgress[e],l=r[t]||n,s[`${e}end`]=l)}for(const e in s)this._fireEvent(e,s[e]);const c=Ui(this._eventsInProgress);if(n&&(i||o)&&!c){this._updatingCamera=!0;const t=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),r=e=>0!==e&&-this._bearingSnap<e&&e<this._bearingSnap;t?(r(t.bearing||this._map.getBearing())&&(t.bearing=0),this._map.easeTo(t,{originalEvent:l})):(this._map.fire(new e.Event("moveend",{originalEvent:l})),r(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}}_fireEvent(t,r){this._map.fire(new e.Event(t,r?{originalEvent:r}:{}))}_requestFrame(){return this._map.triggerRepaint(),this._map._renderTaskQueue.add(e=>{this._frameId=void 0,this.handleEvent(new Hi("renderFrame",{timeStamp:e})),this._applyChanges()})}
2_triggerRenderFrame(){void 0===this._frameId&&(this._frameId=this._requestFrame())}}const qi="map.setFreeCameraOptions(...) and map.getFreeCameraOptions() are not yet supported for non-mercator projections.";class Gi extends e.Evented{constructor(t,r){super(),this._moving=!1,this._zooming=!1,this.transform=t,this._bearingSnap=r.bearingSnap,this._respectPrefersReducedMotion=!1!==r.respectPrefersReducedMotion,e.bindAll(["_renderFrameCallback"],this)}getCenter(){return new e.LngLat(this.transform.center.lng,this.transform.center.lat)}setCenter(e,t){return this.jumpTo({center:e},t)}panBy(t,r,n){return t=e.Point.convert(t).mult(-1),this.panTo(this.transform.center,e.extend({offset:t},r),n)}panTo(t,r,n){return this.easeTo(e.extend({center:t},r),n)}getZoom(){return this.transform.zoom}setZoom(e,t){return this.jumpTo({zoom:e},t),this}zoomTo(t,r,n){return this.easeTo(e.extend({zoom:t},r),n)}zoomIn(e,t){return this.zoomTo(this.getZoom()+1,e,t),this}zoomOut(e,t){return this.zoomTo(this.getZoom()-1,e,t),this}getBearing(){return this.transform.bearing}setBearing(e,t){return this.jumpTo({bearing:e},t),this}getPadding(){return this.transform.padding}setPadding(e,t){return this.jumpTo({padding:e},t),this}rotateTo(t,r,n){return this.easeTo(e.extend({bearing:t},r),n)}resetNorth(t,r){return this.rotateTo(0,e.extend({duration:1e3},t),r),this}resetNorthPitch(t,r){return this.easeTo(e.extend({bearing:0,pitch:0,duration:1e3},t),r),this}snapToNorth(e,t){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(e,t):this}getPitch(){return this.transform.pitch}setPitch(e,t){return this.jumpTo({pitch:e},t),this}cameraForBounds(t,r){t=e.LngLatBounds.convert(t);const n=r&&r.bearing||0,i=r&&r.pitch||0,o=t.getNorthWest(),a=t.getSouthEast();return this._cameraForBounds(this.transform,o,a,n,i,r)}_extendCameraOptions(t){const r={top:0,bottom:0,right:0,left:0};if("number"==typeof(t=e.extend({padding:r,offset:[0,0],maxZoom:this.transform.maxZoom},t)).padding){const e=t.padding;t.padding={top:e,bottom:e,right:e,left:e}}return t.padding=e.extend(r,t.padding),t}_minimumAABBFrustumDistance(e,t){const r=t.max[0]-t.min[0],n=t.max[1]-t.min[1];return r/n>e.aspect?r/(2*Math.tan(.5*e.fovX)*e.aspect):n/(2*Math.tan(.5*e.fovY)*e.aspect)}_cameraForBoundsOnGlobe(t,r,n,i,o,a){const s=t.clone(),l=this._extendCameraOptions(a);s.bearing=i,s.pitch=o;const c=e.LngLat.convert(r),u=e.LngLat.convert(n),d=.5*(c.lat+u.lat),f=.5*(c.lng+u.lng),p=e.latLngToECEF(d,f),h=e.normalize([],p),m=e.normalize([],e.cross([],h,[0,1,0])),y=e.cross([],m,h),g=[m[0],m[1],m[2],0,y[0],y[1],y[2],0,h[0],h[1],h[2],0,0,0,0,1],v=[p,e.latLngToECEF(c.lat,c.lng),e.latLngToECEF(u.lat,c.lng),e.latLngToECEF(u.lat,u.lng),e.latLngToECEF(c.lat,u.lng),e.latLngToECEF(d,c.lng),e.latLngToECEF(d,u.lng),e.latLngToECEF(c.lat,f),e.latLngToECEF(u.lat,f)];let b=e.Aabb.fromPoints(v.map(t=>[e.dot(m,t),e.dot(y,t),e.dot(h,t)]));const _=e.transformMat4([],b.center,g);0===e.squaredLength(_)&&e.set(_,0,0,1),e.normalize(_,_),e.scale$2(_,_,e.GLOBE_RADIUS),s.center=e.ecefToLatLng(_);const x=s.getWorldToCameraMatrix(),w=e.invert(new Float64Array(16),x);b=e.Aabb.applyTransform(b,e.multiply([],x,g)),e.transformMat4(_,_,x);const O=.5*(b.max[2]-b.min[2]),j=this._minimumAABBFrustumDistance(s,b),S=e.scale$2([],[0,0,1],O),M=e.add(S,_,S),k=j+(0===s.pitch?0:e.distance(_,M)),P=s.globeCenterInViewSpace,T=e.sub([],_,[P[0],P[1],P[2]]);e.normalize(T,T),e.scale$2(T,T,k);const E=e.add([],_,T);e.transformMat4(E,E,w);const C=e.earthRadius/e.GLOBE_RADIUS,L=e.length(E),A=e.mercatorZfromAltitude(Math.max(L*C-e.earthRadius,Number.EPSILON),0),D=Math.min(s.zoomFromMercatorZAdjusted(A),l.maxZoom);return D>.5*(e.GLOBE_ZOOM_THRESHOLD_MIN+e.GLOBE_ZOOM_THRESHOLD_MAX)?(s.setProjection({name:"mercator"}),s.zoom=D,this._cameraForBounds(s,r,n,i,o,a)):{center:s.center,zoom:D,bearing:i,pitch:o}}queryTerrainElevation(t,r){const n=this.transform.elevation;return n?(r=e.extend({},{exaggerated:!0},r),n.getAtPoint(e.MercatorCoordinate.fromLngLat(t),null,r.exaggerated)):null}_cameraForBounds(t,r,n,i,o,a){if("globe"===t.projection.name)return this._cameraForBoundsOnGlobe(t,r,n,i,o,a);const s=t.clone(),l=this._extendCameraOptions(a),c=s.padding;s.bearing=i,s.pitch=o;const u=e.LngLat.convert(r),d=e.LngLat.convert(n),f=new e.LngLat(u.lng,d.lat),p=new e.LngLat(d.lng,u.lat),h=s.project(u),m=s.project(d),y=this.queryTerrainElevation(u),g=this.queryTerrainElevation(d),v=this.queryTerrainElevation(f),b=this.queryTerrainElevation(p),_=[[h.x,h.y,Math.min(y||0,g||0,v||0,b||0)],[m.x,m.y,Math.max(y||0,g||0,v||0,b||0)]];let x=e.Aabb.fromPoints(_);const w=s.getWorldToCameraMatrix(),O=e.invert(new Float64Array(16),w);x=e.Aabb.applyTransform(x,w);const j=e.sub([],x.max,x.min),S=c.left||0,M=c.right||0,k=c.bottom||0,P=c.top||0,{left:T,right:E,top:C,bottom:L}=l.padding,A=.5*(S+M),D=.5*(P+k),I=Math.min(s.scaleZoom(s.scale*Math.min((s.width-(S+M+T+E))/j[0],(s.height-(k+P+L+C))/j[1])),l.maxZoom),N=s.scale/s.zoomScale(I);x=new e.Aabb([x.min[0]-(T+A)*N,x.min[1]-(L+D)*N,x.min[2]],[x.max[0]+(E+A)*N,x.max[1]+(C+D)*N,x.max[2]]);const R=.5*j[2],z=this._minimumAABBFrustumDistance(s,x),F=[0,0,1,0];e.transformMat4$1(F,F,w),e.normalize$2(F,F);const B=e.scale$2([],F,z+R),Y=e.add([],x.center,B),U=("number"==typeof l.offset.x&&"number"==typeof l.offset.y?new e.Point(l.offset.x,l.offset.y):e.Point.convert(l.offset)).rotate(-e.degToRad(i));x.center[0]-=U.x*N,x.center[1]+=U.y*N,e.transformMat4(x.center,x.center,O),e.transformMat4(Y,Y,O);const H=[x.center[0],x.center[1],Y[2]*s.pixelsPerMeter];e.scale$2(H,H,1/s.worldSize);const $=e.lngFromMercatorX(H[0]),W=e.latFromMercatorY(H[1]),V=Math.min(s._zoomFromMercatorZ(H[2]),l.maxZoom),q=new e.LngLat($,W);return s.mercatorFromTransition&&V<.5*(e.GLOBE_ZOOM_THRESHOLD_MIN+e.GLOBE_ZOOM_THRESHOLD_MAX)?(s.setProjection({name:"globe"}),s.zoom=V,this._cameraForBounds(s,r,n,i,o,a)):{center:q,zoom:V,bearing:i,pitch:o}}fitBounds(e,t,r){const n=this.cameraForBounds(e,t);return this._fitInternal(n,t,r)}fitScreenCoordinates(t,r,n,i,o){const a=e.Point.convert(t),s=e.Point.convert(r),l=new e.Point(Math.min(a.x,s.x),Math.min(a.y,s.y)),c=new e.Point(Math.max(a.x,s.x),Math.max(a.y,s.y));if("mercator"===this.transform.projection.name&&this.transform.anyCornerOffEdge(a,s))return this;const u=this.transform.pointLocation3D(l),d=this.transform.pointLocation3D(c),f=this.transform.pointLocation3D(new e.Point(l.x,c.y)),p=this.transform.pointLocation3D(new e.Point(c.x,l.y)),h=[Math.min(u.lng,d.lng,f.lng,p.lng),Math.min(u.lat,d.lat,f.lat,p.lat)],m=[Math.max(u.lng,d.lng,f.lng,p.lng),Math.max(u.lat,d.lat,f.lat,p.lat)],y=i&&i.pitch?i.pitch:this.getPitch(),g=this._cameraForBounds(this.transform,h,m,n,y,i);return this._fitInternal(g,i,o)}_fitInternal(t,r,n){return t?(delete(r=e.extend(t,r)).padding,r.linear?this.easeTo(r,n):this.flyTo(r,n)):this}jumpTo(t,r){this.stop();const n=t.preloadOnly?this.transform.clone():this.transform;let i=!1,o=!1,a=!1;return"zoom"in t&&n.zoom!==+t.zoom&&(i=!0,n.zoom=+t.zoom),void 0!==t.center&&(n.center=e.LngLat.convert(t.center)),"bearing"in t&&n.bearing!==+t.bearing&&(o=!0,n.bearing=+t.bearing),"pitch"in t&&n.pitch!==+t.pitch&&(a=!0,n.pitch=+t.pitch),null==t.padding||n.isPaddingEqual(t.padding)||(n.padding=t.padding),t.preloadOnly?(this._preloadTiles(n),this):(this.fire(new e.Event("movestart",r)).fire(new e.Event("move",r)),i&&this.fire(new e.Event("zoomstart",r)).fire(new e.Event("zoom",r)).fire(new e.Event("zoomend",r)),o&&this.fire(new e.Event("rotatestart",r)).fire(new e.Event("rotate",r)).fire(new e.Event("rotateend",r)),a&&this.fire(new e.Event("pitchstart",r)).fire(new e.Event("pitch",r)).fire(new e.Event("pitchend",r)),this.fire(new e.Event("moveend",r)))}getFreeCameraOptions(){return this.transform.projection.supportsFreeCamera||e.warnOnce(qi),this.transform.getFreeCameraOptions()}setFreeCameraOptions(t,r){const n=this.transform;if(!n.projection.supportsFreeCamera)return e.warnOnce(qi),this;this.stop();const i=n.zoom,o=n.pitch,a=n.bearing;n.setFreeCameraOptions(t);const s=i!==n.zoom,l=o!==n.pitch,c=a!==n.bearing;return this.fire(new e.Event("movestart",r)).fire(new e.Event("move",r)),s&&this.fire(new e.Event("zoomstart",r)).fire(new e.Event("zoom",r)).fire(new e.Event("zoomend",r)),c&&this.fire(new e.Event("rotatestart",r)).fire(new e.Event("rotate",r)).fire(new e.Event("rotateend",r)),l&&this.fire(new e.Event("pitchstart",r)).fire(new e.Event("pitch",r)).fire(new e.Event("pitchend",r)),this.fire(new e.Event("moveend",r)),this}easeTo(t,r){this._stop(!1,t.easeId),(!1===(t=e.extend({offset:[0,0],duration:500,easing:e.ease},t)).animate||this._prefersReducedMotion(t))&&(t.duration=0);const n=this.transform,i=this.getZoom(),o=this.getBearing(),a=this.getPitch(),s=this.getPadding(),l="zoom"in t?+t.zoom:i,c="bearing"in t?this._normalizeBearing(t.bearing,o):o,u="pitch"in t?+t.pitch:a,d="padding"in t?t.padding:n.padding,f
vendor: 7,776 bytes, line 2
2=e.Point.convert(t.offset);let p,h,m;if("globe"===n.projection.name){const r=e.MercatorCoordinate.fromLngLat(n.center),i=f.rotate(-n.angle);r.x+=i.x/n.worldSize,r.y+=i.y/n.worldSize;const o=r.toLngLat(),a=e.LngLat.convert(t.center||o);this._normalizeCenter(a),p=n.centerPoint.add(i),h=new e.Point(r.x,r.y).mult(n.worldSize),m=new e.Point(e.mercatorXfromLng(a.lng),e.mercatorYfromLat(a.lat)).mult(n.worldSize).sub(h)}else{p=n.centerPoint.add(f);const r=n.pointLocation(p),i=e.LngLat.convert(t.center||r);this._normalizeCenter(i),h=n.project(r),m=n.project(i).sub(h)}const y=n.zoomScale(l-i);let g,v;t.around&&(g=e.LngLat.convert(t.around),v=n.locationPoint(g));const b=this._zooming||l!==i,_=this._rotating||o!==c,x=this._pitching||u!==a,w=!n.isPaddingEqual(d),O=n=>O=>{if(b&&(n.zoom=e.number(i,l,O)),_&&(n.bearing=e.number(o,c,O)),x&&(n.pitch=e.number(a,u,O)),w&&(n.interpolatePadding(s,d,O),p=n.centerPoint.add(f)),g)n.setLocationAtPoint(g,v);else{const e=n.zoomScale(n.zoom-i),t=l>i?Math.min(2,y):Math.max(.5,y),r=Math.pow(t,1-O),o=n.unproject(h.add(m.mult(O*r)).mult(e));n.setLocationAtPoint(n.renderWorldCopies?o.wrap():o,p)}return t.preloadOnly||this._fireMoveEvents(r),n};if(t.preloadOnly){const e=this._emulate(O,t.duration,n);return this._preloadTiles(e),this}const j={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=b,this._rotating=_,this._pitching=x,this._padding=w,this._easeId=t.easeId,this._prepareEase(r,t.noMoveStart,j),this._ease(O(n),e=>{n.recenterOnTerrain(),this._afterEase(r,e)},t),this}_prepareEase(t,r,n={}){this._moving=!0,this.transform.cameraElevationReference="sea",r||n.moving||this.fire(new e.Event("movestart",t)),this._zooming&&!n.zooming&&this.fire(new e.Event("zoomstart",t)),this._rotating&&!n.rotating&&this.fire(new e.Event("rotatestart",t)),this._pitching&&!n.pitching&&this.fire(new e.Event("pitchstart",t))}_fireMoveEvents(t){this.fire(new e.Event("move",t)),this._zooming&&this.fire(new e.Event("zoom",t)),this._rotating&&this.fire(new e.Event("rotate",t)),this._pitching&&this.fire(new e.Event("pitch",t))}_afterEase(t,r){if(this._easeId&&r&&this._easeId===r)return;this._easeId=void 0,this.transform.cameraElevationReference="ground";const n=this._zooming,i=this._rotating,o=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,n&&this.fire(new e.Event("zoomend",t)),i&&this.fire(new e.Event("rotateend",t)),o&&this.fire(new e.Event("pitchend",t)),this.fire(new e.Event("moveend",t))}flyTo(t,r){if(this._prefersReducedMotion(t)){const n=e.pick(t,["center","zoom","bearing","pitch","around"]);return this.jumpTo(n,r)}this.stop(),t=e.extend({offset:[0,0],speed:1.2,curve:1.42,easing:e.ease},t);const n=this.transform,i=this.getZoom(),o=this.getBearing(),a=this.getPitch(),s=this.getPadding(),l="zoom"in t?e.clamp(+t.zoom,n.minZoom,n.maxZoom):i,c="bearing"in t?this._normalizeBearing(t.bearing,o):o,u="pitch"in t?+t.pitch:a,d="padding"in t?t.padding:n.padding,f=n.zoomScale(l-i),p=e.Point.convert(t.offset);let h=n.centerPoint.add(p);const m=n.pointLocation(h),y=e.LngLat.convert(t.center||m);this._normalizeCenter(y);const g=n.project(m),v=n.project(y).sub(g);let b=t.curve;const _=Math.max(n.width,n.height),x=_/f,w=v.mag();if("minZoom"in t){const r=e.clamp(Math.min(t.minZoom,i,l),n.minZoom,n.maxZoom),o=_/n.zoomScale(r-i);b=Math.sqrt(o/w*2)}const O=b*b;function j(e){const t=(x*x-_*_+(e?-1:1)*O*O*w*w)/(2*(e?x:_)*O*w);return Math.log(Math.sqrt(t*t+1)-t)}function S(e){return(Math.exp(e)-Math.exp(-e))/2}function M(e){return(Math.exp(e)+Math.exp(-e))/2}const k=j(0);let P=function(e){return M(k)/M(k+b*e)},T=function(e){return _*((M(k)*(S(t=k+b*e)/M(t))-S(k))/O)/w;var t},E=(j(1)-k)/b;if(Math.abs(w)<1e-6||!isFinite(E)){if(Math.abs(_-x)<1e-6)return this.easeTo(t,r);const e=x<_?-1:1;E=Math.abs(Math.log(x/_))/b,T=function(){return 0},P=function(t){return Math.exp(e*b*t)}}t.duration="duration"in t?+t.duration:1e3*E/("screenSpeed"in t?+t.screenSpeed/b:+t.speed),t.maxDuration&&t.duration>t.maxDuration&&(t.duration=0);const C=o!==c,L=u!==a,A=!n.isPaddingEqual(d),D=n=>f=>{const m=f*E,b=1/P(m);n.zoom=1===f?l:i+n.scaleZoom(b),C&&(n.bearing=e.number(o,c,f)),L&&(n.pitch=e.number(a,u,f)),A&&(n.interpolatePadding(s,d,f),h=n.centerPoint.add(p));const _=1===f?y:n.unproject(g.add(v.mult(T(m))).mult(b));return n.setLocationAtPoint(n.renderWorldCopies?_.wrap():_,h),n._updateCameraOnTerrain(),t.preloadOnly||this._fireMoveEvents(r),n};if(t.preloadOnly){const e=this._emulate(D,t.duration,n);return this._preloadTiles(e),this}return this._zooming=!0,this._rotating=C,this._pitching=L,this._padding=A,this._prepareEase(r,!1),this._ease(D(n),()=>this._afterEase(r),t),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(e,t){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),this._easeFrameId=void 0,this._onEaseFrame=void 0),this._onEaseEnd){const e=this._onEaseEnd;this._onEaseEnd=void 0,e.call(this,t)}if(!e){const e=this.handlers;e&&e.stop(!1)}return this}_ease(t,r,n){!1===n.animate||0===n.duration?(t(1),r()):(this._easeStart=e.exported.now(),this._easeOptions=n,this._onEaseFrame=t,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_renderFrameCallback(){const t=Math.min((e.exported.now()-this._easeStart)/this._easeOptions.duration,1),r=this._onEaseFrame;r&&r(this._easeOptions.easing(t)),t<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()}_normalizeBearing(t,r){t=e.wrap(t,-180,180);const n=Math.abs(t-r);return Math.abs(t-360-r)<n&&(t-=360),Math.abs(t+360-r)<n&&(t+=360),t}_normalizeCenter(e){const t=this.transform;if(!t.renderWorldCopies||t.maxBounds)return;const r=e.lng-t.center.lng;e.lng+=r>180?-360:r<-180?360:0}_prefersReducedMotion(t){return this._respectPrefersReducedMotion&&e.exported.prefersReducedMotion&&!(t&&t.essential)}_emulate(e,t,r){const n=Math.ceil(15*t/1e3),i=[],o=e(r.clone());for(let e=0;e<=n;e++){const t=o(e/n);i.push(t.clone())}return i}}class Zi{constructor(t={}){this.options=t,e.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)}getDefaultPosition(){return"bottom-right"}onAdd(e){const t=this.options&&this.options.compact;return this._map=e,this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=o("button","mapboxgl-ctrl-attrib-button",this._container),o("span","mapboxgl-ctrl-icon",this._compactButton).setAttribute("aria-hidden","true"),this._compactButton.type="button",this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=o("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),t&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===t&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container}onRemove(){this._container.remove(),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0}_setElementTitle(e,t){const r=this._map._getUIString(`AttributionControl.${t}`);e.setAttribute("aria-label",r),e.removeAttribute("title"),e.firstElementChild&&e.firstElementChild.setAttribute("title",r)}_toggleAttribution(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-expanded","fal
2se")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-expanded","true"))}_updateEditLink(){let t=this._editLink;t||(t=this._editLink=this._container.querySelector(".mapbox-improve-map"));const r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||e.config.ACCESS_TOKEN}];if(t){const n=r.reduce((e,t,n)=>(t.value&&(e+=`${t.key}=${t.value}${n<r.length-1?"&":""}`),e),"?");t.href=`${e.config.FEEDBACK_URL}/${n}#${Kn(this._map,!0)}`,t.rel="noopener nofollow",this._setElementTitle(t,"MapFeedback")}}_updateData(e){!e||"metadata"!==e.sourceDataType&&"visibility"!==e.sourceDataType&&"style"!==e.dataType||(this._updateAttributions(),this._updateEditLink())}_updateAttributions(){if(!this._map.style)return;let e=[];if(this._map.style.stylesheet){const e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}const t=this._map.style._sourceCaches;for(const r in t){const n=t[r];if(n.used){const t=n.getSource();t.attribution&&e.indexOf(t.attribution)<0&&e.push(t.attribution)}}e.sort((e,t)=>e.length-t.length),e=e.filter((t,r)=>{for(let n=r+1;n<e.length;n++)if(e[n].indexOf(t)>=0)return!1;return!0}),this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?e=[...this.options.customAttribution,...e]:e.unshift(this.options.customAttribution));const r=e.join(" | ");r!==this._attribHTML&&(this._attribHTML=r,e.length?(this._innerContainer.innerHTML=r,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}_updateCompact(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")}}class Xi{constructor(){e.bindAll(["_updateLogo","_updateCompact"],this)}onAdd(e){this._map=e,this._container=o("div","mapboxgl-ctrl");const t=o("a","mapboxgl-ctrl-logo");return t.target="_blank",t.rel="noopener nofollow",t.href="https://www.mapbox.com/",t.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),t.setAttribute("rel","noopener nofollow"),this._container.appendChild(t),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){this._container.remove(),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)}getDefaultPosition(){return"bottom-left"}_updateLogo(e){e&&"metadata"!==e.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")}_logoRequired(){if(!this._map.style)return!0;const e=this._map.style._sourceCaches;if(0===Object.entries(e).length)return!0;for(const t in e){const r=e[t].getSource();if(r.hasOwnProperty("mapbox_logo")&&!r.mapbox_logo)return!1}return!0}_updateCompact(){const e=this._container.children;if(e.length){const t=e[0];this._map.getCanvasContainer().offsetWidth<250?t.classList.add("mapboxgl-compact"):t.classList.remove("mapboxgl-compact")}}}class Ji{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(e){const t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t}remove(e){const t=this._currentlyRunning,r=t?this._queue.concat(t):this._queue;for(const t of r)if(t.id===e)return void(t.cancelled=!0)}run(e=0){const t=this._currentlyRunning=this._queue;this._queue=[];for(const r of t)if(!r.cancelled&&(r.callback(e),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}function Ki(t,r,n){if(t=new e.LngLat(t.lng,t.lat),r){const i=new e.LngLat(t.lng-360,t.lat),o=new e.LngLat(t.lng+360,t.lat),a=360*Math.ceil(Math.abs(t.lng-n.center.lng)/360),s=n.locationPoint(t).distSqr(r),l=r.x<0||r.y<0||r.x>n.width||r.y>n.height;n.locationPoint(i).distSqr(r)<s&&(l||Math.abs(i.lng-n.center.lng)<a)?t=i:n.locationPoint(o).distSqr(r)<s&&(l||Math.abs(o.lng-n.center.lng)<a)&&(t=o)}for(;Math.abs(t.lng-n.center.lng)>180;){const e=n.locationPoint(t);if(e.x>=0&&e.y>=0&&e.x<=n.width&&e.y<=n.height)break;t.lng>n.center.lng?t.lng-=360:t.lng+=360}return t}
vendor: 4,501 bytes, line 2
2const Qi={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};class eo extends e.Evented{constructor(t,r){if(super(),(t instanceof e.window.HTMLElement||r)&&(t=e.extend({element:t},r)),e.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress","_clearFadeTimer"],this),this._anchor=t&&t.anchor||"center",this._color=t&&t.color||"#3FB1CE",this._scale=t&&t.scale||1,this._draggable=t&&t.draggable||!1,this._clickTolerance=t&&t.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=t&&t.rotation||0,this._rotationAlignment=t&&t.rotationAlignment||"auto",this._pitchAlignment=t&&t.pitchAlignment&&t.pitchAlignment||"auto",this._updateMoving=()=>this._update(!0),this._occludedOpacity=t&&t.occludedOpacity||.2,t&&t.element)this._element=t.element,this._offset=e.Point.convert(t&&t.offset||[0,0]);else{this._defaultMarker=!0,this._element=o("div");const r=41,n=27,i=a("svg",{display:"block",height:r*this._scale+"px",width:n*this._scale+"px",viewBox:`0 0 ${n} ${r}`},this._element),s=a("radialGradient",{id:"shadowGradient"},a("defs",{},i));a("stop",{offset:"10%","stop-opacity":.4},s),a("stop",{offset:"100%","stop-opacity":.05},s),a("ellipse",{cx:13.5,cy:34.8,rx:10.5,ry:5.25,fill:"url(#shadowGradient)"},i),a("path",{fill:this._color,d:"M27,13.5C27,19.07 20.25,27 14.75,34.5C14.02,35.5 12.98,35.5 12.25,34.5C6.75,27 0,19.22 0,13.5C0,6.04 6.04,0 13.5,0C20.96,0 27,6.04 27,13.5Z"},i),a("path",{opacity:.25,d:"M13.5,0C6.04,0 0,6.04 0,13.5C0,19.22 6.75,27 12.25,34.5C13,35.52 14.02,35.5 14.75,34.5C20.25,27 27,19.07 27,13.5C27,6.04 20.96,0 13.5,0ZM13.5,1C20.42,1 26,6.58 26,13.5C26,15.9 24.5,19.18 22.22,22.74C19.95,26.3 16.71,30.14 13.94,33.91C13.74,34.18 13.61,34.32 13.5,34.44C13.39,34.32 13.26,34.18 13.06,33.91C10.28,30.13 7.41,26.31 5.02,22.77C2.62,19.23 1,15.95 1,13.5C1,6.58 6.58,1 13.5,1Z"},i),a("circle",{fill:"white",cx:13.5,cy:13.5,r:5.5},i),this._offset=e.Point.convert(t&&t.offset||[0,-14])}this._element.hasAttribute("aria-label")||this._element.setAttribute("aria-label","Map marker"),this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",e=>{e.preventDefault()}),this._element.addEventListener("mousedown",e=>{e.preventDefault()});const n=this._element.classList;for(const e in Qi)n.remove(`mapboxgl-marker-anchor-${e}`);n.add(`mapboxgl-marker-anchor-${this._anchor}`),this._popup=null}addTo(e){return e===this._map||(this.remove(),this._map=e,e.getCanvasContainer().appendChild(this._element),e.on("move",this._updateMoving),e.on("moveend",this._update),e.on("remove",this._clearFadeTimer),e._addMarker(this),this.setDraggable(this._draggable),this._update(),e.on("click",this._onMapClick)),this}remove(){const e=this._map;return e&&(e.off("click",this._onMapClick),e.off("move",this._updateMoving),e.off("moveend",this._update),e.off("mousedown",this._addDragHandler),e.off("touchstart",this._addDragHandler),e.off("mouseup",this._onUp),e.off("touchend",this._onUp),e.off("mousemove",this._onMove),e.off("touchmove",this._onMove),e.off("remove",this._clearFadeTimer),e._removeMarker(this),this._map=void 0),this._clearFadeTimer(),this._element.remove(),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(t){return this._lngLat=e.LngLat.convert(t),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(!0),this}getElement(){return this._element}setPopup(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeAttribute("role"),this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){const t=38.1,r=13.5,n=Math.sqrt(Math.pow(r,2)/2);e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-t],"bottom-left":[n,-1*(t-r+n)],"bottom-right":[-n,-1*(t-r+n)],left:[r,-1*(t-r)],right:[-r,-1*(t-r)]}:this._offset}this._popup=e,e._marker=this,this._lngLat&&this._popup.setLngLat(this._lngLat),this._element.setAttribute("role","button"),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress),this._element.setAttribute("aria-expanded","fal
2se")}return this}_onKeyPress(e){const t=e.code,r=e.charCode||e.keyCode;"Space"!==t&&"Enter"!==t&&32!==r&&13!==r||this.togglePopup()}_onMapClick(e){const t=e.originalEvent.target,r=this._element;this._popup&&(t===r||r.contains(t))&&this.togglePopup()}getPopup(){return this._popup}togglePopup(){const e=this._popup;return e?(e.isOpen()?(e.remove(),this._element.setAttribute("aria-expanded","false")):this._map&&(e.addTo(this._map),this._element.setAttribute("aria-expanded","true")),this):this}_behindTerrain(){const e=this._map,t=this._pos;if(!e||!t)return!1;const r=e.unproject(t),n=e.getFreeCameraOptions();if(!n.position)return!1;const i=n.position.toLngLat();return i.distanceTo(r)<.9*i.distanceTo(this._lngLat)}_evaluateOpacity(){const t=this._map;if(!t)return;const r=this._pos;if(!r||r.x<0||r.x>t.transform.width||r.y<0||r.y>t.transform.height)return void this._clearFadeTimer();const n=t.unproject(r);let i;t._showingGlobe()&&e.isLngLatBehindGlobe(t.transform,this._lngLat)?i=0:(i=1-t._queryFogOpacity(n),t.transform._terrainEnabled()&&t.getTerrain()&&this._behindTerrain()&&(i*=this._occludedOpacity)),this._element.style.opacity=`${i}`,this._element.style.pointerEvents=i>0?"auto":"none",this._popup&&this._popup._setOpacity(i),this._fadeTimer=null}_clearFadeTimer(){this._fadeTimer&&(clearTimeout(this._fadeTimer),this._fadeTimer=null)}_updateDOM(){const e=this._pos;if(!e||!this._map)return;const t=this._offset.mult(this._scale);this._element.style.transform=`\n translate(${e.x}px,${e.y}px)\n ${Qi[this._anchor]}\n ${this._calculateXYTransform()} ${this._calculateZTransform()}\n translate(${t.x}px,${t.y}px)\n `}_calculateXYTransform(){const t=this._pos,r=this._map,n=this.getPitchAlignment();if(!r||!t||"map"!==n)return"";if(!r._showingGlobe()){const e=r.getPitch();return e?`rotateX(${e}deg)`:""}const i=e.radToDeg(e.globeTiltAtLngLat(r.transform,this._lngLat)),o=t.sub(e.globeCenterToScreenPoint(r.transform)),a=Math.abs(o.x)+Math.abs(o.y);if(0===a)return"";const s=i/a;return`rotateX(${-o.y*s}deg) rotateY(${o.x*s}deg)`}_calculateZTransform(){const t=this._pos,r=this._map;if(!r||!t)return"";let n=0;const i=this.getRotationAlignment();if("map"===i)if(r._showingGlobe()){const t=r.project(new e.LngLat(this._lngLat.lng,this._lngLat.lat+.001)),i=r.project(new e.LngLat(this._lngLat.lng,this._lngLat.lat-.001)).sub(t);n=e.radToDeg(Math.atan2(i.y,i.x))-90}else n=-r.getBearing();else if("horizon"===i){const i=e.smoothstep(4,6,r.getZoom()),o=e.globeCenterToScreenPoint(r.transform);o.y+=i*r.transform.height;const a=t.sub(o),s=e.radToDeg(Math.atan2(a.y,a.x));n=(s>90?s-270:s+90)*(1-i)}return n+=this._rotation,n?`rotateZ(${n}deg)`:""}_update(t){e.window.cancelAnimationFrame(this._updateFrameId);const r=this._map;
2r&&(r.transform.renderWorldCopies&&(this._lngLat=Ki(this._lngLat,this._pos,r.transform)),this._pos=r.project(this._lngLat),!0===t?this._updateFrameId=e.window.requestAnimationFrame(()=>{this._element&&this._pos&&this._anchor&&(this._pos=this._pos.round(),this._updateDOM())}):this._pos=this._pos.round(),r._requestDomTask(()=>{this._map&&(this._element&&this._pos&&this._anchor&&this._updateDOM(),(r._showingGlobe()||r.getTerrain()||r.getFog())&&!this._fadeTimer&&(this._fadeTimer=setTimeout(this._evaluateOpacity.bind(this),60)))}))}getOffset(){return this._offset}setOffset(t){return this._offset=e.Point.convert(t),this._update(),this}_onMove(t){const r=this._map;if(!r)return;const n=this._pointerdownPos,i=this._positionDelta;if(n&&i){if(!this._isDragging){const e=this._clickTolerance||r._clickTolerance;if(t.point.dist(n)<e)return;this._isDragging=!0}this._pos=t.point.sub(i),this._lngLat=r.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new e.Event("dragstart"))),this.fire(new e.Event("drag"))}}_onUp(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1;const t=this._map;t&&(t.off("mousemove",this._onMove),t.off("touchmove",this._onMove)),"active"===this._state&&this.fire(new e.Event("dragend")),this._state="inactive"}_addDragHandler(e){const t=this._map,r=this._pos;t&&r&&this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(r),this._pointerdownPos=e.point,this._state="pending",t.on("mousemove",this._onMove),t.on("touchmove",this._onMove),t.once("mouseup",this._onUp),t.once("touchend",this._onUp))}setDraggable(e){this._draggable=!!e;const t=this._map;return t&&(e?(t.on("mousedown",this._addDragHandler),t.on("touchstart",this._addDragHandler)):(t.off("mousedown",this._addDragHandler),t.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(e){return this._rotation=e||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(e){return this._rotationAlignment=e||"auto",this._update(),this}getRotationAlignment(){return"auto"===this._rotationAlignment||"horizon"===this._rotationAlignment&&this._map&&!this._map._showingGlobe()?"viewport":this._rotationAlignment}setPitchAlignment(e){return this._pitchAlignment=e||"auto",this._update(),this}getPitchAlignment(){return"auto"===this._pitchAlignment?this.getRotationAlignment():this._pitchAlignment}setOccludedOpacity(e){return this._occludedOpacity=e||.2,this._update(),this}getOccludedOpacity(){return this._occludedOpacity}}const to={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},ro=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function no(t=new e.Point(0,0),r="bottom"){if("number"==typeof t){const n=Math.round(Math.sqrt(.5*Math.pow(t,2)));switch(r){case"top":return new e.Point(0,t);case"top-left":return new e.Point(n,n);case"top-right":return new e.Point(-n,n);case"bottom":return new e.Point(0,-t);case"bottom-left":return new e.Point(n,-n);case"bottom-right":return new e.Point(-n,-n);case"left":return new e.Point(t,0);case"right":return new e.Point(-t,0)}return new e.Point(0,0)}return t instanceof e.Point||Array.isArray(t)?e.Point.convert(t):e.Point.convert(t[r]||[0,0])}class io{constructor(e){this.jumpTo(e)}getValue(t){if(t<=this._startTime)return this._start;if(t>=this._endTime)return this._end;const r=e.easeCubicInOut((t-this._startTime)/(this._endTime-this._startTime));return this._start*(1-r)+this._end*r}isEasing(e){return e>=this._startTime&&e<=this._endTime}jumpTo(e){this._startTime=-1/0,this._endTime=-1/0,this._start=e,this._end=e}easeTo(e,t,r){this._start=this.getValue(t),this._end=e,this._startTime=t,this._endTime=t+r}}const oo={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","Map.Title":"Map","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScrollZoomBlocker.CtrlMessage":"Use ctrl + scroll to zoom the map","ScrollZoomBlocker.CmdMessage":"Use â + scroll to zoom the map","TouchPanBlocker.Message":"Use two fingers to move the map"},ao={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:85,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,performanceMetricsCollection:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,optimizeForTerrain:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,minTileCacheSize:null,maxTileC
vendor: 9,914 bytes, line 2
2acheSize:null,localIdeographFontFamily:"sans-serif",localFontFamily:null,transformRequest:null,accessToken:null,fadeDuration:300,respectPrefersReducedMotion:!0,crossSourceCollisions:!0},so={showCompass:!0,showZoom:!0,visualizePitch:!1};class lo{constructor(t,r,n=!1){this._clickTolerance=10,this.element=r,this.mouseRotate=new _i({clickTolerance:t.dragRotate._mouseRotate._clickTolerance}),this.map=t,n&&(this.mousePitch=new xi({clickTolerance:t.dragRotate._mousePitch._clickTolerance})),e.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),r.addEventListener("mousedown",this.mousedown),r.addEventListener("touchstart",this.touchstart,{passive:!1}),r.addEventListener("touchmove",this.touchmove),r.addEventListener("touchend",this.touchend),r.addEventListener("touchcancel",this.reset)}down(e,t){this.mouseRotate.mousedown(e,t),this.mousePitch&&this.mousePitch.mousedown(e,t),u()}move(e,t){const r=this.map,n=this.mouseRotate.mousemoveWindow(e,t),i=n&&n.bearingDelta;if(i&&r.setBearing(r.getBearing()+i),this.mousePitch){const n=this.mousePitch.mousemoveWindow(e,t),i=n&&n.pitchDelta;i&&r.setPitch(r.getPitch()+i)}}off(){const e=this.element;e.removeEventListener("mousedown",this.mousedown),e.removeEventListener("touchstart",this.touchstart,{passive:!1}),e.removeEventListener("touchmove",this.touchmove),e.removeEventListener("touchend",this.touchend),e.removeEventListener("touchcancel",this.reset),this.offTemp()}offTemp(){d(),e.window.removeEventListener("mousemove",this.mousemove),e.window.removeEventListener("mouseup",this.mouseup)}mousedown(t){this.down(e.extend({},t,{ctrlKey:!0,preventDefault:()=>t.preventDefault()}),h(this.element,t)),e.window.addEventListener("mousemove",this.mousemove),e.window.addEventListener("mouseup",this.mouseup)}mousemove(e){this.move(e,h(this.element,e))}mouseup(e){this.mouseRotate.mouseupWindow(e),this.mousePitch&&this.mousePitch.mouseupWindow(e),this.offTemp()}touchstart(e){1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=m(this.element,e.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:()=>e.preventDefault()},this._startPos))}touchmove(e){1!==e.targetTouches.length?this.reset():(this._lastPos=m(this.element,e.targetTouches)[0],this.move({preventDefault:()=>e.preventDefault()},this._lastPos))}touchend(e){0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()}reset(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()}}const co={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0,showUserHeading:!1},uo={maxWidth:100,unit:"metric"},fo={kilometer:"km",meter:"m",mile:"mi",foot:"ft","nautical-mile":"nm"},po={version:e.version,supported:r,setRTLTextPlugin:e.setRTLTextPlugin,getRTLTextPluginStatus:e.getRTLTextPluginStatus,Map:class extends Gi{constructor(t){if(e.LivePerformanceUtils.mark(e.PerformanceMarkers.create),null!=(t=e.extend({},ao,t)).minZoom&&null!=t.maxZoom&&t.minZoom>t.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=t.minPitch&&null!=t.maxPitch&&t.minPitch>t.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=t.minPitch&&t.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=t.maxPitch&&t.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(t.antialias&&e.isSafariWithAntialiasingBug(e.window)&&(t.antialias=!1,e.warnOnce("Antialiasing is disabled for this WebGL context to avoid browser bug: https://github.com/mapbox/mapbox-gl-js/issues/11609")),super(new Zn(t.minZoom,t.maxZoom,t.minPitch,t.maxPitch,t.renderWorldCopies),t),this._interactive=t.interactive,this._minTileCacheSize=t.minTileCacheSize,this._maxTileCacheSize=t.maxTileCacheSize,this._failIfMajorPerformanceCaveat=t.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=t.preserveDrawingBuffer,this._antialias=t.antialias,this._useWebGL2=t.useWebGL2,this._trackResize=t.trackResize,this._bearingSnap=t.bearingSnap,this._refreshExpiredTiles=t.refreshExpiredTiles,this._fadeDuration=t.fadeDuration,this._isInitialLoad=!0,this._crossSourceCollisions=t.crossSourceCollisions,this._collectResourceTiming=t.collectResourceTiming,this._optimizeForTerrain=t.optimizeForTerrain,this._language=this._parseLanguage(t.language),this._worldview=t.worldview,this._renderTaskQueue=new Ji,this._domRenderTaskQueue=new Ji,this._controls=[],this._markers=[],this._popups=[],this._mapId=e.uniqueId(),this._locale=e.extend({},oo,t.locale),this._clickTolerance=t.clickTolerance,this._cooperativeGestures=t.cooperativeGestures,this._performanceMetricsCollection=t.performanceMetricsCollection,this._containerWidth=0,this._containerHeight=0,this._averageElevationLastSampledAt=-1/0,this._averageElevationExaggeration=0,this._averageElevation=new io(0),this._interactionRange=[1/0,-1/0],this._visibilityHidden=0,this._useExplicitProjection=!1,this._requestManager=new e.RequestManager(t.transformRequest,t.accessToken,t.testMode),this._silenceAuthErrors=!!t.testMode,"string"==typeof t.container){if(this._container=e.window.document.getElementById(t.container),!this._container)throw new Error(`Container '${t.container}' not found.`)}else{if(!(t.container instanceof e.window.HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=t.container}if(this._container.childNodes.length>0&&e.warnOnce("The map container element should be empty, otherwise the map's interactivity will be negatively impacted. If you want to display a message when WebGL is not supported, use the Mapbox GL Supported plugin instead."),t.maxBounds&&this.setMaxBounds(t.maxBounds),e.bindAll(["_onWindowOnline","_onWindowResize","_onVisibilityChange","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",()=>this._update(!1)),this.on("moveend",()=>this._update(!1)),this.on("zoom",()=>this._update(!0)),void 0!==e.window&&(e.window.addEventListener("online",this._onWindowOnline,!1),e.window.addEventListener("resize",this._onWindowResize,!1),e.window.addEventListener("orientationchange",this._onWindowResize,!1),e.window.addEventListener("webkitfullscreenchange",this._onWindowResize,!1),e.window.addEventListener("visibilitychange",this._onVisibilityChange,!1)),this.handlers=new Vi(this,t),this._localFontFamily=t.localFontFamily,this._localIdeographFontFamily=t.localIdeographFontFamily,t.style&&this.setStyle(t.style,{localFontFamily:this._localFontFamily,localIdeographFontFamily:this._localIdeographFontFamily}),t.projection&&this.setProjection(t.projection),this._hash=t.hash&&new Jn("string"==typeof t.hash&&t.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:t.center,zoom:t.zoom,bearing:t.bearing,pitch:t.pitch}),t.bounds&&(this.resize(),this.fitBounds(t.bounds,e.extend({},t.fitBoundsOptions,{duration:0})))),this.resize(),t.attributionControl&&this.addControl(new Zi({customAttribution:t.customAttribution})),this._logoControl=new Xi,this.addControl(this._logoControl,t.logoPosition),this.on("style.load",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on("data",t=>{this._update("style"===t.dataType),this.fire(new e.Event(`${t.dataType}data`,t))}),this.on("dataloading",t=>{this.fire(new e.Event(`${t.dataType}dataloading`,t))})}_getMapId(){return this._mapId}addControl(t,r){if(void 0===r&&(r=t.getDefaultPosition?t.getDefaultPosition():"top-right"),!t||!t.onAdd)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const n=t.onAdd(this);this._controls.push(t);const i=this._controlPositions[r];return-1!==r.indexOf("bottom")?i.insertBefore(n,i.firstChild):i.appendChild(n),this}removeControl(t){if(!t||!t.onRemove)return this.fire(new e.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const r=this._controls.indexOf(t);return r>-1&&this._controls.splice(r,1),t.onRemove(this),this}hasControl(e){return this._controls.indexOf(e)>-1}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}resize(t){if(this._updateContainerDimensions(),this._containerWidth===this.transform.width&&this._containerHeight===this.transform.height)return this;this._resizeCanvas(this._containerWidth,this._containerHeight),this.transform.resize(this._containerWidth,this._containerHeight),this.painter.resize(Math.ceil(this._containerWidth),Math.ceil(this._containerHeight));const r=!this._moving;return r&&this.fire(new e.Event("movestart",t)).fire(new e.Event("move",t)),this.fire(new e.Event("resize",t)),r&&this.fire(new e.Event("moveend",t)),this}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()||null}setMaxBounds(t){return this.transform.setMaxBounds(e.LngLatBounds.convert(t)),this._update()}setMinZoom(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t?this.setZoom(t):this.fire(new e.Event("zoomstart")).fire(new e.Event("zoom")).fire(new e.Event("zoomend")),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t?this.setZoom(t):this.fire(new e.Event("zoomstart")).fire(new e.Event("zoom")).fire(new e.Event("zoomend")),this;
2throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t?this.setPitch(t):this.fire(new e.Event("pitchstart")).fire(new e.Event("pitch")).fire(new e.Event("pitchend")),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(t){if((t=null==t?85:t)>85)throw new Error("maxPitch must be less than or equal to 85");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t?this.setPitch(t):this.fire(new e.Event("pitchstart")).fire(new e.Event("pitch")).fire(new e.Event("pitchend")),this;throw new Error("maxPitch must be greater than or equal to minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(e){return this.transform.renderWorldCopies=e,this.transform.renderWorldCopies||this._forceMarkerAndPopupUpdate(!0),this._update()}getLanguage(){return this._language}_parseLanguage(t){return"auto"===t?e.window.navigator.language:Array.isArray(t)?0===t.length?void 0:t.map(t=>"auto"===t?e.window.navigator.language:t):t}setLanguage(e){const t=this._parseLanguage(e);if(!this.style||t===this._language)return this;this._language=t,this.style._reloadSources();for(const e of this._controls)e._setLanguage&&e._setLanguage(this._language);return this}getWorldview(){return this._worldview}setWorldview(e){return this.style&&e!==this._worldview?(this._worldview=e,this.style._reloadSources(),this):this}getProjection(){return this.transform.mercatorFromTransition?{name:"globe",center:[0,0]}:this.transform.getProjection()}_showingGlobe(){return"globe"===this.transform.projection.name}setProjection(e){return this._lazyInitEmptyStyle(),e?"string"==typeof e&&(e={name:e}):e=null,this._useExplicitProjection=!!e,this._prioritizeAndUpdateProjection(e,this.style.stylesheet?this.style.stylesheet.projection:null)}_updateProjectionTransition(){if("globe"!==this.getProjection().name)return;const t=this.transform,r=t.projection.name;let n;"globe"===r&&t.zoom>=e.GLOBE_ZOOM_THRESHOLD_MAX?(t.setMercatorFromTransition(),n=!0):"mercator"===r&&t.zoom<e.GLOBE_ZOOM_THRESHOLD_MAX&&(t.setProjection({name:"globe"}),n=!0),n&&(this.style.applyProjectionUpdate(),this.style._forceSymbolLayerUpdate())}_prioritizeAndUpdateProjection(e,t){return this._updateProjection(e||t||{name:"mercator"})}_updateProjection(t){let r;if(r="globe"===t.name&&this.transform.zoom>=e.GLOBE_ZOOM_THRESHOLD_MAX?this.transform.setMercatorFromTransition():this.transform.setProjection(t),this.style.applyProjectionUpdate(),r){this.painter.clearBackgroundTiles();for(const e in this.style._sourceCaches)this.style._sourceCaches[e].clearTiles();this._update(!0),this._forceMarkerAndPopupUpdate(!0)}return this}project(t){return this.transform.locationPoint3D(e.LngLat.convert(t))}unproject(t){return this.transform.pointLocation3D(e.Point.convert(t))}isMoving(){return this._moving||this.handlers&&this.handlers.isMoving()||!1}isZooming(){return this._zooming||this.handlers&&this.handlers.isZooming()||!1}isRotating(){return this._rotating||this.handlers&&this.handlers.isRotating()||!1}_isDragging(){return this.handlers&&this.handlers._isDragging()||!1}_createDelegatedListener(e,t,r){if("mouseenter"===e||"mouseover"===e){let n=!1;const i=i=>{const o=t.filter(e=>this.getLayer(e)),a=o.length?this.queryRenderedFeatures(i.point,{layers:o}):[];a.length?n||(n=!0,r.call(this,new si(e,this,i.originalEvent,{features:a}))):n=!1},o=()=>{n=!1};return{layers:new Set(t),listener:r,delegates:{mousemove:i,mouseout:o}}}if("mouseleave"===e||"mouseout"===e){let n=!1;const i=i=>{const o=t.filter(e=>this.getLayer(e));(o.length?this.queryRenderedFeatures(i.point,{layers:o}):[]).length?n=!0:n&&(n=!1,r.call(this,new si(e,this,i.originalEvent)))},o=t=>{n&&(n=!1,r.call(this,new si(e,this,t.originalEvent)))};return{layers:new Set(t),listener:r,delegates:{mousemove:i,mouseout:o}}}{const n=e=>{const n=t.filter(e=>this.getLayer(e)),i=n.length?this.queryRenderedFeatures(e.point,{layers:n}):[];i.length&&(e.features=i,r.call(this,e),delete e.features)};return{layers:new Set(t),listener:r,delegates:{[e]:n}}}}on(e,t,r){if(void 0===r)return super.on(e,t);Array.isArray(t)||(t=[t]);const n=this._createDelegatedListener(e,t,r);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[e]=this._delegatedListeners[e]||[],this._delegatedListeners[e].push(n);for(const e in n.delegates)this.on(e,n.delegates[e]);return this}once(e,t,r){if(void 0===r)return super.once(e,t);Array.isArray(t)||(t=[t]);const n=this._createDelegatedListener(e,t,r);for(const e in n.delegates)this.once(e,n.delegates[e]);return this}off(e,t,r){if(void 0===r)return super.off(e,t);t=new Set(Array.isArray(t)?t:[t]);const n=(e,t)=>{if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0},i=this._delegatedListeners?this._delegatedListeners[e]:void 0;return i&&(e=>{for(let i=0;i<e.length;i++){const o=e[i];if(o.listener===r&&n(o.layers,t)){for(const e in o.delegates)this.off(e,o.delegates[e]);return e.splice(i,1),this}}})(i),this}queryRenderedFeatures(t,r){return this.style?(void 0!==r||void 0===t||t instanceof e.Point||Array.isArray(t)||(r=t,t=void 0),this.style.queryRenderedFeatures(t=t||[[0,0],[this.transform.width,this.transform.height]],r=r||{},this.transform)):[]}querySourceFeatures(e,t){return this.style.querySourceFeatures(e,t)}isPointOnSurface(t){const{name:r}=this.transform.projection;return"globe"!==r&&"mercator"!==r&&e.warnOnce(`${r} projection does not support isPointOnSurface, this API may behave unex
2pectedly.`),this.transform.isPointOnSurface(e.Point.convert(t))}setStyle(t,r){return!1!==(r=e.extend({},{localIdeographFontFamily:this._localIdeographFontFamily,localFontFamily:this._localFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&r.localFontFamily===this._localFontFamily&&this.style&&t?(this._diffStyle(t,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._localFontFamily=r.localFontFamily,this._updateStyle(t,r))}_getUIString(e){const t=this._locale[e];if(null==t)throw new Error(`Missing UI string '${e}'`);return t}_updateStyle(e,t){return this.style&&(this.style.setEventedParent(null),this.style._remove(),this.style=void 0),e&&(this.style=new Jt(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e):this.style.loadJSON(e)),this._updateTerrain(),this}_lazyInitEmptyStyle(){this.style||(this.style=new Jt(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(t,r){if("string"==typeof t){const n=this._requestManager.normalizeStyleURL(t),i=this._requestManager.transformRequest(n,e.ResourceType.Style);e.getJSON(i,(t,n)=>{t?this.fire(new e.ErrorEvent(t)):n&&this._updateDiff(n,r)})}else"object"==typeof t&&this._updateDiff(t,r)}_updateDiff(t,r){try{this.style.setState(t)&&this._update(!0)}catch(n){e.warnOnce(`Unable to perform style diff: ${n.message||n.error||n}. Rebuilding the style from scratch.`),this._updateStyle(t,r)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():(e.warnOnce("There is no style added to the map."),!1)}addSource(e,t){return this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)}isSourceLoaded(e){return!!this.style&&this.style._isSourceCacheLoaded(e)}areTilesLoaded(){const e=this.style&&this.style._sourceCaches;for(const t in e){const r=e[t]._tiles;for(const e in r){const t=r[e];if("loaded"!==t.state&&"errored"!==t.state)return!1}}return!0}addSourceType(e,t,r){this._lazyInitEmptyStyle(),this.style.addSourceType(e,t,r)}removeSource(e){return this.style.removeSource(e),this._updateTerrain(),this._update(!0)}getSource(e){return this.style.getSource(e)}addImage(t,r,{pixelRatio:n=1,sdf:i=!1,stretchX:o,stretchY:a,content:s}={}
vendor: 8,034 bytes, line 2
2){if(this._lazyInitEmptyStyle(),r instanceof e.window.HTMLImageElement||e.window.ImageBitmap&&r instanceof e.window.ImageBitmap){const{width:l,height:c,data:u}=e.exported.getImageData(r);this.style.addImage(t,{data:new e.RGBAImage({width:l,height:c},u),pixelRatio:n,stretchX:o,stretchY:a,content:s,sdf:i,version:0})}else if(void 0===r.width||void 0===r.height)this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));else{const{width:l,height:c}=r,u=r;this.style.addImage(t,{data:new e.RGBAImage({width:l,height:c},new Uint8Array(u.data)),pixelRatio:n,stretchX:o,stretchY:a,content:s,sdf:i,version:0,userImage:u}),u.onAdd&&u.onAdd(this,t)}}updateImage(t,r){const n=this.style.getImage(t);if(!n)return void this.fire(new e.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const i=r instanceof e.window.HTMLImageElement||e.window.ImageBitmap&&r instanceof e.window.ImageBitmap?e.exported.getImageData(r):r,{width:o,height:a}=i;void 0!==o&&void 0!==a?o===n.data.width&&a===n.data.height?(n.data.replace(i.data,!(r instanceof e.window.HTMLImageElement||e.window.ImageBitmap&&r instanceof e.window.ImageBitmap)),this.style.updateImage(t,n)):this.fire(new e.ErrorEvent(new Error(`The width and height of the updated image (${o}, ${a})\n must be that same as the previous version of the image\n (${n.data.width}, ${n.data.height})`))):this.fire(new e.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")))}hasImage(t){return t?!!this.style.getImage(t):(this.fire(new e.ErrorEvent(new Error("Missing required image id"))),!1)}removeImage(e){this.style.removeImage(e)}loadImage(t,r){e.getImage(this._requestManager.transformRequest(t,e.ResourceType.Image),(t,n)=>{r(t,n instanceof e.window.HTMLImageElement?e.exported.getImageData(n):n)})}listImages(){return this.style.listImages()}addLayer(e,t){return this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)}moveLayer(e,t){return this.style.moveLayer(e,t),this._update(!0)}removeLayer(e){return this.style.removeLayer(e),this._update(!0)}getLayer(e){return this.style.getLayer(e)}setLayerZoomRange(e,t,r){return this.style.setLayerZoomRange(e,t,r),this._update(!0)}setFilter(e,t,r={}){return this.style.setFilter(e,t,r),this._update(!0)}getFilter(e){return this.style.getFilter(e)}setPaintProperty(e,t,r,n={}){return this.style.setPaintProperty(e,t,r,n),this._update(!0)}getPaintProperty(e,t){return this.style.getPaintProperty(e,t)}setLayoutProperty(e,t,r,n={}){return this.style.setLayoutProperty(e,t,r,n),this._update(!0)}getLayoutProperty(e,t){return this.style.getLayoutProperty(e,t)}setLight(e,t={}){return this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)}getLight(){return this.style.getLight()}setTerrain(e){return this._lazyInitEmptyStyle(),!e&&this.transform.projection.requiresDraping?this.style.setTerrainForDraping():this.style.setTerrain(e),this._averageElevationLastSampledAt=-1/0,this._update(!0)}getTerrain(){return this.style?this.style.getTerrain():null}setFog(e){return this._lazyInitEmptyStyle(),this.style.setFog(e),this._update(!0)}getFog(){return this.style?this.style.getFog():null}_queryFogOpacity(t){return this.style&&this.style.fog?this.style.fog.getOpacityAtLatLng(e.LngLat.convert(t),this.transform):0}setFeatureState(e,t){return this.style.setFeatureState(e,t),this._update()}removeFeatureState(e,t){return this.style.removeFeatureState(e,t),this._update()}getFeatureState(e){return this.style.getFeatureState(e)}_updateContainerDimensions(){if(!this._container)return;const t=this._container.getBoundingClientRect().width||400,r=this._container.getBoundingClientRect().height||300;let n,i,o,a=this._container;for(;a&&(!i||!o);){const t=e.window.getComputedStyle(a).transform;t&&"none"!==t&&(n=t.match(/matrix.*\((.+)\)/)[1].split(", "),n[0]&&"0"!==n[0]&&"1"!==n[0]&&(i=n[0]),n[3]&&"0"!==n[3]&&"1"!==n[3]&&(o=n[3])),a=a.parentElement}this._containerWidth=i?Math.abs(t/i):t,this._containerHeight=o?Math.abs(r/o):r}_detectMissingCSS(){"rgb(250, 128, 114)"!==e.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&e.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")}_setupContainer(){const e=this._container;e.classList.add("mapboxgl-map"),(this._missingCSSCanary=o("div","mapboxgl-canary",e)).style.visibility="hidden",this._detectMissingCSS();const t=this._canvasContainer=o("div","mapboxgl-canvas-container",e);this._interactive&&t.classList.add("mapboxgl-interactive"),this._canvas=o("canvas","mapboxgl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region"),this._updateContainerDimensions(),this._resizeCanvas(this._containerWidth,this._containerHeight);const r=this._controlContainer=o("div","mapboxgl-control-container",e),n=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(e=>{n[e]=o("div",`mapboxgl-ctrl-${e}`,r)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(t,r){const n=e.exported.devicePixelRatio||1;this._canvas.width=n*Math.ceil(t),this._canvas.height=n*Math.ceil(r),this._canvas.style.width=`${t}px`,this._canvas.style.height=`${r}px`}_addMarker(e){this._markers.push(e)}_removeMarker(e){const t=this._markers.indexOf(e);-1!==t&&this._markers.splice(t,1)}_addPopup(e){this._popups.push(e)}_removePopup(e){const t=this._popups.indexOf(e);-1!==t&&this._popups.splice(t,1)}_setupPainter(){const t=e.extend({},r.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),n=this._useWebGL2&&this._canvas.getContext("webgl2",t),i=n||this._canvas.getContext("webgl",t)||this._canvas.getContext("experimental-webgl",t);i?(this._useWebGL2&&!n&&e.warnOnce("Failed to create WebGL 2 context. Using WebGL 1."),e.storeAuthState(i,!0),this.painter=new Nn(i,this.transform,!!n),this.on("data",e=>{"source"===e.dataType&&this.painter.setTileLoadedFlag(!0)}),e.exported$1.testSupport(i)):this.fire(new e.ErrorEvent(new Error("Failed to initialize WebGL")))}_contextLost(t){t.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new e.Event("webglcontextlost",{originalEvent:t}))}_contextRestored(t){this._setupPainter(),this.resize(),this._update(),this.fire(new e.Event("webglcontextrestored",{originalEvent:t}))}_onMapScroll(e){if(e.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(e){return this.style?(this._styleDirty=this._styleDirty||e,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(e){return this._update(),this._renderTaskQueue.add(e)}_cancelRenderFrame(e){this._renderTaskQueue.remove(e)}_requestDomTask(e){!this.loaded()||this.loaded()&&!this.isMoving()?e():this._domRenderTaskQueue.add(e)}_render(t){let r;const n=this.painter.context.extTimerQuery,i=e.exported.now();if(this.listens("gpu-timing-frame")&&(r=n.createQueryEXT(),n.beginQueryEXT(n.TIME_ELAPSED_EXT,r)),this.painter.context.setDirty(),this.painter.setBaseState(),(this.isMoving()||this.isRotating()||this.isZooming())&&
2(this._interactionRange[0]=Math.min(this._interactionRange[0],e.window.performance.now()),this._interactionRange[1]=Math.max(this._interactionRange[1],e.window.performance.now())),this._renderTaskQueue.run(t),this._domRenderTaskQueue.run(t),this._removed)return;this._updateProjectionTransition();const o=this._isInitialLoad?0:this._fadeDuration;if(this.style&&this._styleDirty){this._styleDirty=!1;const t=this.transform.zoom,r=this.transform.pitch,n=e.exported.now(),i=new e.EvaluationParameters(t,{now:n,fadeDuration:o,pitch:r,transition:this.style.getTransition()});this.style.update(i)}this.style&&this.style.fog&&this.style.fog.hasTransition()&&(this.style._markersNeedUpdate=!0,this._sourcesDirty=!0);let a=!1;if(this.style&&this._sourcesDirty?(this._sourcesDirty=!1,this.painter._updateFog(this.style),this._updateTerrain(),a=this._updateAverageElevation(i),this.style._updateSources(this.transform),this._forceMarkerAndPopupUpdate()):a=this._updateAverageElevation(i),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,o,this._crossSourceCollisions),this.style&&this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showTerrainWireframe:this.showTerrainWireframe,showOverdrawInspector:this._showOverdrawInspector,showQueryGeometry:!!this._showQueryGeometry,showTileAABBs:this.showTileAABBs,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:o,isInitialLoad:this._isInitialLoad,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer"),gpuTimingDeferredRender:!!this.listens("gpu-timing-deferred-render"),speedIndexTiming:this.speedIndexTiming}),this.fire(new e.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new e.Event("load"))),this.style&&this.style.hasTransitions()&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),r){const t=e.exported.now()-i;n.endQueryEXT(n.TIME_ELAPSED_EXT,r),setTimeout(()=>{const o=n.getQueryObjectEXT(r,n.QUERY_RESULT_EXT)/1e6;n.deleteQueryEXT(r),this.fire(new e.Event("gpu-timing-frame",{cpuTime:t,gpuTime:o})),e.window.performance.mark("frame-gpu",{startTime:i,detail:{gpuTime:o}})},50)}if(this.listens("gpu-timing-layer")){const t=this.painter.collectGpuTimers();setTimeout(()=>{const r=this.painter.queryGpuTimers(t);this.fire(new e.Event("gpu-timing-layer",{layerTimes:r}))},50)}if(this.listens("gpu-timing-deferred-render")){const t=this.painter.collectDeferredRenderGpuQueries();setTimeout(()=>{const r=this.painter.queryGpuTimeDeferredRender(t);this.fire(new e.Event("gpu-timing-deferred-render",{gpuTime:r}))},50)}const s=this._sourcesDirty||this._styleDirty||this._placementDirty||a;if(s||this._repaint)this.triggerRepaint();else{const t=!this.isMoving()&&this.loaded();if(t&&(a=this._updateAverageElevation(i,!0)),a)this.triggerRepaint();else if(this._triggerFrame(!1),t&&(this.fire(new e.Event("idle")),this._isInitialLoad=!1,this.speedIndexTiming)){const t=this._calculateSpeedIndex();this.fire(new e.Event("speedindexcompleted",{speedIndex:t})),this.speedIndexTiming=!1}}!this._loaded||this._fullyLoaded||s||(this._fullyLoaded=!0,e.LivePerformanceUtils.mark(e.PerformanceMarkers.fullLoad),this._performanceMetricsCollection&&e.postPerformanceEvent(this._requestManager._customAccessToken,{width:this.painter.width,height:this.painter.height,interactionRange:this._interactionRange,visibilityHidden:this._visibilityHidden,terrainEnabled:!!this.painter.style.getTerrain(),fogEnabled:!!this.painter.style.getFog(),projection:this.getProjection().name,zoom:this.transform.zoom,renderer:this.painter.context.renderer,vendor:this.painter.context.vendor}),this._authenticate())}_forceMarkerAndPopupUpdate(e){for(const t of this._markers)e&&!this.getRenderWorldCopies()&&(t._lngLat=t._lngLat.wrap()),t._update();for(const t of this._popups)!e||this.getRenderWorldCopies()||t._trackPointer||(t._lngLat=t._lngLat.wrap()),t._update()}_updateAverageElevation(e,t=!1){const r=e=>(this.transform.averageElevation=e,this._update(!1),!0);if(!this.painter.averageElevationNeedsEasing())return 0!==this.transform.averageElevation&&r(0);if((t||e-this._averageElevationLastSampledAt>500)&&!this._averageElevation.isEasing(e)){const t=this.transform.averageElevation;let n=this.transform.sampleAverageElevation(),i=!1;this.transform.elevation&&(i=this.transform.elevation.exaggeration()!==this._averageElevationExaggeration,this._averageElevationExaggeration=this.transform.elevation.exaggeration()),isNaN(n)?n=0:this._averageElevationLastSampledAt=e;const o=Math.abs(t-n);if(o>1){if(this._isInitialLoad||i)return this._averageElevation.jumpTo(n),r(n);this._averageElevation.easeTo(n,e,300)}else if(o>1e-4)return this._averageElevation.jumpTo(n),r(n)}return!!this._averageElevation.isEasing(e)&&r(this._averageElevation.getValue(e))}_authenticate(){e.getMapSessionAPI(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,t=>{if(t&&(t.message===e.AUTH_ERR_MSG||401===t.status)){const t=this.painter.context.gl;e.storeAuthState(t,!1),this._logoControl instanceof Xi&&this._logoControl._updateLogo(),t&&t.clear(t.DEPTH_BUFFER_BIT|t.COLOR_BUFFER_BIT|t.STENCIL_BUFFER_BIT),this._silenceAuthErrors||this.fire(new e.ErrorEvent(new Error("A valid Mapbox access token is required to use Mapbox GL JS. To create an account or a new access token, visit https://account.mapbox.com/")))}}),e.postMapLoadEvent(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,()=>{})}_updateTerrain(){const e=this._isDragging();this.painter.updateTerrain(this.style,e)}_calculateSpeedIndex(){const e=this.painter.canvasCopy(),t=this.painter.getCanvasCopiesAndTimestamps();t.timeStamps.push(performance.now());const r=this.painter.context.gl,n=r.createFramebuffer();function i(e){r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,e,0);const t=new Uint8Array(r.drawingBufferWidth*r.drawingBufferHeight*4);return r.readPixels(0,0,r.drawingBufferWidth,r.drawingBufferHeight,r.RGBA,r.UNSIGNED_BYTE,t),t}return r.bindFramebuffer(r.FRAMEBUFFER,n),this._canvasPixelComparison(i(e),t.canvasCopies.map(i),t.timeStamps)}_canvasPixelComparison(e,t,r){let n=r[1]-r[0];const i=e.length/4;for(let o=0;o<t.length;o++){const a=t[o];let s=0;for(let t=0;t<a.length;t+=4)a[t]===e[t]&&a[t+1]===e[t+1]&&a[t+2]===e[t+2]&&a[t+3]===e[t+3]&&(s+=1);n+=(r[o+2]-r[o+1])*(1-s/i)}return n}remove(){this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this._domRenderTaskQueue.clear(),this.style&&this.style.destroy(),this.painter.destroy(),this.handlers&&this.handlers.destroy(),this.handlers=void 0,this.setStyle(null),void 0!==e.window&&(e.window.removeEventListener("resize",this._onWindowResize,!1),e.window.removeEventListener("orientationchange",this._onWindowResize,!1),e.window.removeEventListener("webkitfullscreenchange",this._onWindowResize,!1),e.window.removeEventListener("online",this._onWindowOnline,!1),e.window.removeEventListener("visibilitychange",this._onVisibilityChange,!1));const t=this.painter.context.gl.getExtension("WEBGL_lose_context");t&&t.loseContext(),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._missingCSSCanary.remove(),this._canvas=void 0,this._canvasContainer=void 0,this._controlContainer=void 0,this._missingCSSCanary=void 0,this._container.classList.remove("mapboxgl-map"),this._container.removeEventListener("scroll",this._onMapScroll,!1),e.removeAuthState(this.painter.context.gl),this._removed=!0,this.fire(new e.Event("remove"))}triggerRepaint(){this._triggerFrame(!0)}_triggerFrame(t){this._renderNextFrame=this._renderNextFrame||t,this.style&&!this._frame&&(this._frame=e.exported.frame(e=>{const t=!!this._renderNextFrame;this._frame=null,this._renderNextFrame=null,t&&this._render(e)}))}_preloadTiles(t){const r=this.style?Object.values(this.style._sourceCaches):[];return e.asyncAll(r,(e,r)=>e._preloadTiles(t,r),()=>{this.triggerRepaint()}),this}_onWindowOnline(){this._update()}_onWindowResize(e){this._trackResize&&this.resize({originalEvent:e})._update()}_onVisibilityChange(){"hidden"===e.window.document.visibilityState&&this._visibilityHidden++}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update())}get showTerrainWireframe(){return!!this._showTerrainWireframe}set showTerrainWireframe(e){this._showTerrainWireframe!==e&&(this._showTerrainWireframe=e,this._update())}get speedIndexTiming(){return!!this._speedIndexTiming}set speedIndexTiming(e){this._speedIndexTiming!==e&&(this._speedIndexTiming=e,this._update())}get showPadding(){return!!this._showPadding}set showPadding(e){this._showPadding!==e&&(this._showPadding=e,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update())}get repaint(){return!!this._repaint}set repaint(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(e){this._vertices=e,this._update()}get showTileAABBs(){return!!this._showTileAABBs}set showTileAABBs(e){this._showTileAABBs!==e&&(this._showTileAABBs=e,e&&this._update())}
2_setCacheLimits(t,r){e.setCacheLimits(t,r)}get version(){return e.version}},NavigationControl:class{constructor(t){this.options=e.extend({},so,t),this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",e=>e.preventDefault()),this.options.showZoom&&(e.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",e=>{this._map&&this._map.zoomIn({},{originalEvent:e})}),o("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",e=>{this._map&&this._map.zoomOut({},{originalEvent:e})}),o("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(e.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",e=>{const t=this._map;t&&(this.options.visualizePitch?t.resetNorthPitch({},{originalEvent:e}):t.resetNorth({},{originalEvent:e}))}),this._compassIcon=o("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}_updateZoomButtons(){const e=this._map;if(!e)return;const t=e.getZoom(),r=t===e.getMaxZoom(),n=t===e.getMinZoom();this._zoomInButton.disabled=r,this._zoomOutButton.disabled=n,this._zoomInButton.setAttribute("aria-disabled",r.toString()),this._zoomOutButton.setAttribute("aria-disabled",n.toString())}_rotateCompassArrow(){const e=this._map;if(!e)return;const t=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(e.transform.pitch*(Math.PI/180)),.5)}) rotateX(${e.transform.pitch}deg) rotateZ(${e.transform.angle*(180/Math.PI)}deg)`:`rotate(${e.transform.angle*(180/Math.PI)}deg)`;e._requestDomTask(()=>{this._compassIcon&&(this._compassIcon.style.transform=t)})}onAdd(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),e.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&e.on("pitch",this._rotateCompassArrow),e.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new lo(e,this._compass,this.options.visualizePitch)),this._container}onRemove(){const e=this._map;e&&(this._container.remove(),this.options.showZoom&&e.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&e.off("pitch",this._rotateCompassArrow),e.off("rotate",this._rotateCompassArrow),this._handler&&this._handler.off(),this._handler=void 0),this._map=void 0)}_createButton(e,t){const r=o("button",e,this._container);return r.type="button",r.addEventListener("click",t),r}_setButtonTitle(e,t){if(!this._map)return;const r=this._map._getUIString(`NavigationControl.${t}`);e.setAttribute("aria-label",r),e.firstElementChild&&e.firstElementChild.setAttribute("title",r)}},GeolocateControl:class extends e.Evented{constructor(t){super(),this.options=e.extend({geolocation:e.window.navigator.geolocation},co,t),e.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker","_updateMarkerRotation","_onDeviceOrientation"],this),this._updateMarkerRotationThrottled=Xn(this._updateMarkerRotation,20),this._numberOfWatches=0}onAdd(e){return this._map=e,this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkGeolocationSupport(this._setupUI),this._container}onRemove(){void 0!==this._geolocationWatchID&&(this.options.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("zoom",this._onZoom),this._map=void 0,this._numberOfWatches=0,this._noTimeout=!1}_checkGeolocationSupport(t){const r=(e=!!this.options.geolocation)=>{this._supportsGeolocation=e,t(e)};void 0!==this._supportsGeolocation?t(this._supportsGeolocation):void 0!==e.window.navigator.permissions?e.window.navigator.permissions.query({name:"geolocation"}).then(e=>r("denied"!==e.state)).catch(()=>r()):r()}_isOutOfMapMaxBounds(e){const t=this._map.getMaxBounds(),r=e.coords;return!!t&&(r.longitude<t.getWest()||r.longitude>t.getEast()||r.latitude<t.getSouth()||r.latitude>t.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_E
2RROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}}_onSuccess(t){if(this._map){if(this._isOutOfMapMaxBounds(t))return this._setErrorState(),this.fire(new e.Event("outofmaxbounds",t)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=t,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(t),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(t),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("geolocate",t)),this._finish()}}_updateCamera(t){const r=new e.LngLat(t.coords.longitude,t.coords.latitude),n=t.coords.accuracy,i=this._map.getBearing(),o=e.extend({bearing:i},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(n),o,{geolocateSource:!0})}_updateMarker(t){if(t){const r=new e.LngLat(t.coords.longitude,t.coords.latitude);this._accuracyCircleMarker.setLngLat(r).addTo(this._map),this._userLocationDotMarker.setLngLat(r).addTo(this._map),this._accuracy=t.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()}_updateCircleRadius(){const t=this._map.transform,r=e.mercatorZfromAltitude(1,t._center.lat)*t.worldSize,n=Math.ceil(2*this._accuracy*r);this._circleElement.style.width=`${n}px`,this._circleElement.style.height=`${n}px`}_onZoom(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}_updateMarkerRotation(){this._userLocationDotMarker&&"number"==typeof this._heading?(this._userLocationDotMarker.setRotation(this._heading),this._dotElement.classList.add("mapboxgl-user-location-show-heading")):(this._dotElement.classList.remove("mapboxgl-user-location-show-heading"),this._userLocationDotMarker.setRotation(0))}_onError(t){if(this._map){if(this.options.trackUserLocation)if(1===t.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===t.code&&this._noTimeout)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new e.Event("error",t)),this._finish()}}_finish(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0}_setupUI(t){if(void 0!==this._map){if(this._container.addEventListener("contextmenu",e=>e.preventDefault()),this._geolocateButton=o("button","mapboxgl-ctrl-geolocate",this._container),o("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",!1===t){e.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");const t=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.setAttribute("aria-label",t),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",t)}else{const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","fal
2se"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=o("div","mapboxgl-user-location"),this._dotElement.appendChild(o("div","mapboxgl-user-location-dot")),this._dotElement.appendChild(o("div","mapboxgl-user-location-heading")),this._userLocationDotMarker=new eo({element:this._dotElement,rotationAlignment:"map",pitchAlignment:"map"}),this._circleElement=o("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new eo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",t=>{t.geolocateSource||"ACTIVE_LOCK"!==this._watchState||t.originalEvent&&"resize"===t.originalEvent.type||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this.fire(new e.Event("trackuserlocationend")))})}}_onDeviceOrientation(e){this._userLocationDotMarker&&(e.webkitCompassHeading?this._heading=e.webkitCompassHeading:!0===e.absolute&&(this._heading=-1*e.alpha),this._updateMarkerRotationThrottled())}trigger(){if(!this._setup)return e.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new e.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._numberOfWatches--,this._noTimeout=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new e.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new e.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){let e;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._numberOfWatches++,this._numberOfWatches>1?(e={maximumAge:6e5,timeout:0},this._noTimeout=!0):(e=this.options.positionOptions,this._noTimeout=!1),this._geolocationWatchID=this.options.geolocation.watchPosition(this._onSuccess,this._onError,e),this.options.showUserHeading&&this._addDeviceOrientationListener()}}else this.options.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_addDeviceOrientationListener(){const t=()=>{e.window.addEventListener("ondeviceorientationabsolute"in e.window?"deviceorientationabsolute":"deviceorientation",this._onDeviceOrientation)};void 0!==e.window.DeviceMotionEvent&&"function"==typeof e.window.DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then(e=>{"granted"===e&&t()}).catch(console.error):t()}_clearWatch(){this.options.geolocation.clearWatch(this._geolocationWatchID),e.window.removeEventListener("deviceorientation",this._onDeviceOrientation),e.window.removeEventListener("deviceorientationabsolute",this._onDeviceOrientation),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","fal
2se"),this.options.showUserLocation&&this._updateMarker(null)}},AttributionControl:Zi,ScaleControl:class{constructor(t){this.options=e.extend({},uo,t),this._isNumberFormatSupported=function(){try{return new Intl.NumberFormat("en",{style:"unit",unitDisplay:"short",unit:"meter"}),!0}catch(e){return!1}}(),e.bindAll(["_update","_setScale","setUnit"],this)}getDefaultPosition(){return"bottom-left"}_update(){const e=this.options.maxWidth||100,t=this._map,r=t._containerHeight/2,n=t._containerWidth/2-e/2,i=t.unproject([n,r]),o=t.unproject([n+e,r]),a=i.distanceTo(o);if("imperial"===this.options.unit){const t=3.2808*a;t>5280?this._setScale(e,t/5280,"mile"):this._setScale(e,t,"foot")}else"nautical"===this.options.unit?this._setScale(e,a/1852,"nautical-mile"):a>=1e3?this._setScale(e,a/1e3,"kilometer"):this._setScale(e,a,"meter")}_setScale(e,t,r){this._map._requestDomTask(()=>{const n=function(e){const t=Math.pow(10,`${Math.floor(e)}`.length-1);let r=e/t;return r=r>=10?10:r>=5?5:r>=3?3:r>=2?2:r>=1?1:function(e){const t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(r),t*r}(t),i=n/t;this._container.innerHTML=this._isNumberFormatSupported&&"nautical-mile"!==r?new Intl.NumberFormat(this._language,{style:"unit",unitDisplay:"short",unit:r}).format(n):`${n} ${fo[r]}`,this._container.style.width=e*i+"px"})}onAdd(e){return this._map=e,this._language=e.getLanguage(),this._container=o("div","mapboxgl-ctrl mapboxgl-ctrl-scale",e.getContainer()),this._container.dir="auto",this._map.on("move",this._update),this._update(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._update),this._map=void 0}_setLanguage(e){this._language=e,this._update()}setUnit(e){this.options.unit=e,this._update()}},FullscreenControl:class{constructor(t){this._fullscreen=!1,t&&t.container&&(t.container instanceof e.
vendor: 11,846 bytes, line 2
2window.HTMLElement?this._container=t.container:e.warnOnce("Full screen control 'container' must be a DOM element.")),e.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in e.window.document?this._fullscreenchange="fullscreenchange":"onwebkitfullscreenchange"in e.window.document&&(this._fullscreenchange="webkitfullscreenchange")}onAdd(t){return this._map=t,this._container||(this._container=this._map.getContainer()),this._controlContainer=o("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",e.warnOnce("This device does not support fullscreen mode.")),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,e.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)}_checkFullscreenSupport(){return!(!e.window.document.fullscreenEnabled&&!e.window.document.webkitFullscreenEnabled)}_setupUI(){const t=this._fullscreenButton=o("button","mapboxgl-ctrl-fullscreen",this._controlContainer);o("span","mapboxgl-ctrl-icon",t).setAttribute("aria-hidden","true"),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),e.window.document.addEventListener(this._fullscreenchange,this._changeIcon)}_updateTitle(){const e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.firstElementChild&&this._fullscreenButton.firstElementChild.setAttribute("title",e)}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_changeIcon(){(e.window.document.fullscreenElement||e.window.document.webkitFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())}_onClickFullscreen(){this._isFullscreen()?e.window.document.exitFullscreen?e.window.document.exitFullscreen():e.window.document.webkitCancelFullScreen&&e.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()}},Popup:class extends e.Evented{constructor(t){super(),this.options=e.extend(Object.create(to),t),e.bindAll(["_update","_onClose","remove","_onMouseEvent"],this),this._classList=new Set(t&&t.className?t.className.trim().split(/\s+/):[])}addTo(t){return this._map&&this.remove(),this._map=t,this.options.closeOnClick&&t.on("preclick",this._onClose),this.options.closeOnMove&&t.on("move",this._onClose),t.on("remove",this.remove),this._update(),t._addPopup(this),this._focusFirstElement(),this._trackPointer?(t.on("mousemove",this._onMouseEvent),t.on("mouseup",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")):t.on("move",this._update),this.fire(new e.Event("open")),this}isOpen(){return!!this._map}remove(){this._content&&this._content.remove(),this._container&&(this._container.remove(),this._container=void 0);const t=this._map;return t&&(t.off("move",this._update),t.off("move",this._onClose),t.off("preclick",this._onClose),t.off("click",this._onClose),t.off("remove",this.remove),t.off("mousemove",this._onMouseEvent),t.off("mouseup",this._onMouseEvent),t.off("drag",this._onMouseEvent),t._canvasContainer&&t._canvasContainer.classList.remove("mapboxgl-track-pointer"),t._removePopup(this),this._map=void 0),this.fire(new e.Event("close")),this}getLngLat(){return this._lngLat}setLngLat(t){this._lngLat=e.LngLat.convert(t),this._pos=null,this._trackPointer=!1,this._update();const r=this._map;return r&&(r.on("move",this._update),r.off("mousemove",this._onMouseEvent),r._canvasContainer.classList.remove("mapboxgl-track-pointer")),this}trackPointer(){this._trackPointer=!0,this._pos=null,this._update();const e=this._map;return e&&(e.off("move",this._update),e.on("mousemove",this._onMouseEvent),e.on("drag",this._onMouseEvent),e._canvasContainer.classList.add("mapboxgl-track-pointer")),this}getElement(){return this._container}setText(t){return this.setDOMContent(e.window.document.createTextNode(t))}setHTML(t){const r=e.window.document.createDocumentFragment(),n=e.window.document.createElement("body");let i;for(n.innerHTML=t;i=n.firstChild,i;)r.appendChild(i);return this.setDOMContent(r)}getMaxWidth(){return this._container&&this._container.style.maxWidth}setMaxWidth(e){return this.options.maxWidth=e,this._update(),this}setDOMContent(e){let t=this._content;if(t)for(;t.hasChildNodes();)t.firstChild&&t.removeChild(t.firstChild);else t=this._content=o("div","mapboxgl-popup-content",this._container||void 0);if(t.appendChild(e),this.options.closeButton){const e=this._closeButton=o("button","mapboxgl-popup-close-button",t);e.type="button",e.setAttribute("aria-label","Close popup"),e.setAttribute("aria-hidden","true"),e.innerHTML="×",e.addEventListener("click",this._onClose)}return this._update(),this._focusFirstElement(),this}addClassName(e){return this._classList.add(e),this._updateClassList(),this}removeClassName(e){return this._classList.delete(e),this._updateClassList(),this}setOffset(e){return this.options.offset=e,this._update(),this}toggleClassName(e){let t;return this._classList.delete(e)?t=!1:(this._classList.add(e),t=!0),this._updateClassList(),t}_onMouseEvent(e){this._update(e.point)}_getAnchor(e){if(this.options.anchor)return this.options.anchor;const t=this._map,r=this._container,n=this._pos;if(!t||!r||!n)return"bottom";const i=r.offsetWidth,o=r.offsetHeight,a=n.x<i/2,s=n.x>t.transform.width-i/2;if(n.y+e<o)return a?"top-left":s?"top-right":"top";if(n.y>t.transform.height-o){if(a)return"bottom-left";if(s)return"bottom-right"}return a?"left":s?"right":"bottom"}_updateClassList(){const e=this._container;if(!e)return;const t=[...this._classList];t.push("mapboxgl-popup"),this._anchor&&t.push(`mapboxgl-popup-anchor-${this._anchor}`),this._trackPointer&&t.push("mapboxgl-popup-track-pointer"),e.className=t.join(" ")}_update(t){const r=this._map,n=this._content;if(!r||!this._lngLat&&!this._trackPointer||!n)return;let i=this._container;if(i||(i=this._container=o("div","mapboxgl-popup",r.getContainer()),this._tip=o("div","mapboxgl-popup-tip",i),i.appendChild(n)),this.options.maxWidth&&i.style.maxWidth!==this.options.maxWidth&&(i.style.maxWidth=this.options.maxWidth),r.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Ki(this._lngLat,this._pos,r.transform)),!this._trackPointer||t){const e=this._pos=this._trackPointer&&t?t:r.project(this._lngLat),n=no(this.options.offset),i=this._anchor=this._getAnchor(n.y),o=no(this.options.offset,i),a=e.add(o).round();r._requestDomTask(()=>{this._container&&i&&(this._container.style.transform=`${Qi[i]} translate(${a.x}px,${a.y}px)`)})}if(!this._marker&&r._showingGlobe()){const t=e.isLngLatBehindGlobe(r.transform,this._lngLat)?0:1;this._setOpacity(t)}this._updateClassList()}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const e=this._container.querySelector(ro);e&&e.focus()}_onClose(){this.remove()}_setOpacity(e){this._container&&(this._container.style.opacity=`${e}`),this._content&&(this._content.style.pointerEvents=e?"auto":"none")}},Marker:eo,Style:Jt,LngLat:e.LngLat,LngLatBounds:e.LngLatBounds,Point:e.Point,MercatorCoordinate:e.MercatorCoordinate,FreeCameraOptions:Yn,Evented:e.Evented,config:e.config,prewarm:function(){Fe().acquire(Ne)},clearPrewarmedResources:function(){const e=ze;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(Ne),ze=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return e.config.ACCESS_TOKEN},set accessToken(t){e.config.ACCESS_TOKEN=t},get baseApiUrl(){return e.config.API_URL},set baseApiUrl(t){e.config.API_URL=t},get workerCount(){return Re.workerCount},set workerCount(e){Re.workerCount=e},get maxParallelImageRequests(){return e.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(t){e.config.MAX_PARALLEL_IMAGE_REQUESTS=t},clearStorage(t){e.clearTileCache(t)},workerUrl:"",workerClass:null,setNow:e.exported.setNow,restoreNow:e.exported.restoreNow};return po}),r}()},60745:function(e,t,r){var n={"./af":95819,"./af.js":95819,"./ar":80031,"./ar-dz":21770,"./ar-dz.js":21770,"./ar-kw":33018,"./ar-kw.js":33018,"./ar-ly":53423,"./ar-ly.js":53423,"./ar-ma":27334,"./ar-ma.js":27334,"./ar-ps":32149,"./ar-ps.js":32149,"./ar-sa":26708,"./ar-sa.js":26708,"./ar-tn":73718,"./ar-tn.js":73718,"./ar.js":80031,"./az":5975,"./az.js":5975,"./be":22305,"./be.js":22305,"./bg":26783,"./bg.js":26783,"./bm":48601,"./bm.js":48601,"./bn":37600,"./bn-bd":62971,"./bn-bd.js":62971,"./bn.js":37600,"./bo":36375,"./bo.js":36375,"./br":36900,"./br.js":36900,"./bs":42571,"./bs.js":42571,"./ca":66564,"./ca.js":66564,"./cs":99966,"./cs.js":99966,"./cv":83105,"./cv.js":83105,"./cy":85260,"./cy.js":85260,"./da":71823,"./da.js":71823,"./de":18827,"./de-at":94785,"./de-at.js":94785,"./de-ch":39039,"./de-ch.js":39039,"./de.js":18827,"./dv":87134,"./dv.js":87134,"./el":38361,"./el.js":38361,"./en-au":39894,"./en-au.js":39894,"./en-ca":3100,"./en-ca.js":3100,"./en-gb":46369,"./en-gb.js":46369,"./en-ie":41566,"./en-ie.js":41566,"./en-il":92085,"./en-il.js":92085,"./en-in":76595,"./en-in.js":76595,"./en-nz":6088,"./en-nz.js":6088,"./en-sg":88394,"./en-sg.js":88394,"./eo":18080,"./eo.js":18080,"./es":84132,"./es-do":68008,"./es-do.js":68008,"./es-mx":90928,"./es-mx.js":90928,"./es-us":71465,"./es-us.js":71465,"./es.js":84132,"./et":47505,"./et.js":47505,"./eu":79618,"./eu.js":79618,"./fa":24569,"./fa.js":24569,"./fi":40801,"./fi.js":40801,"./fil":38793,"./fil.js":38793,"./fo":26459,"./fo.js":26459,"./fr":20752,"./fr-ca":83937,"./fr-ca.js":83937,"./fr-ch":97450,"./fr-ch.js":97450,"./fr.js":20752,"./fy":19697,"./fy.js":19697,"./ga":33136,"./ga.js":33136,"./gd":50307,"./gd.js":50307,"./gl":84331,"./gl.js":84331,"./gom-deva":59854,"./gom-deva.js":59854,"./gom-latn":39945,"./gom-latn.js":39945,"./gu":37932,"./gu.js":37932,"./he":39551,"./he.js":39551,"./hi":49395,"./hi.js":49395,"./hr":22062,"./hr.js":22062,"./hu":83215,"./hu.js":83215,"./hy-am":52514,"./hy-am.js":52514,"./id":37077,"./id.js":37077,"./is":67056,"./is.js":67056,"./it":15973,"./it-ch":90497,"./it-ch.js":90497,"./it.js":15973,"./ja":25349,"./ja.js":25349,"./jv":94368,"./jv.js":94368,"./ka":18572,"./ka.js":18572,"./kk":26334,"./kk.js":26334,"./km":79336,"./km.js":79336,"./kn":9473,"./kn.js":9473,"./ko":55570,"./ko.js":55570,"./ku":55248,"./ku-kmr":52623,"./ku-kmr.js":52623,"./ku.js":55248,"./ky":24068,"./ky.js":24068,"./lb":10154,"./lb.js":10154,"./lo":63069,"./lo.js":63069,"./lt":94844,"./lt.js":94844,"./lv":28550,"./lv.js":28550,"./me":68282,"./me.js":68282,"./mi":4782,"./mi.js":4782,"./mk":40900,"./mk.js":40900,"./ml":87921,"./ml.js":87921,"./mn":58991,"./mn.js":58991,"./mr":59859,"./mr.js":59859,"./ms":59596,"./ms-my":98191,"./ms-my.js":98191,"./ms.js":59596,"./mt":95129,"./mt.js":95129,"./my":74302,"./my.js":74302,"./nb":85448,"./nb.js":85448,"./ne":4797,"./ne.js":4797,"./nl":36438,"./nl-be":30418,"./nl-be.js":30418,"./nl.js":36438,"./nn":89996,"./nn.js":89996,"./oc-lnc":13768,"./oc-lnc.js":13768,"./pa-in":92151,"./pa-in.js":92151,"./pl":29208,"./pl.js":29208,"./pt":79424,"./pt-br":24913,"./pt-br.js":24913,"./pt.js":79424,"./ro":35719,"./ro.js":35719,"./ru":32545,"./ru.js":32545,"./sd":60479,"./sd.js":60479,"./se":49160,"./se.js":49160,"./si":65100,"./si.js":65100,"./sk":76854,"./sk.js":76854,"./sl":70071,"./sl.js":70071,"./sq":28068,"./sq.js":28068,"./sr":75949,"./sr-cyrl":76084,"./sr-cyrl.js":76084,"./sr.js":75949,"./ss":2
26638,"./ss.js":26638,"./sv":58193,"./sv.js":58193,"./sw":90306,"./sw.js":90306,"./ta":47647,"./ta.js":47647,"./te":52123,"./te.js":52123,"./tet":2063,"./tet.js":2063,"./tg":50717,"./tg.js":50717,"./th":15936,"./th.js":15936,"./tk":50233,"./tk.js":50233,"./tl-ph":86617,"./tl-ph.js":86617,"./tlh":13342,"./tlh.js":13342,"./tr":77474,"./tr.js":77474,"./tzl":63540,"./tzl.js":63540,"./tzm":27835,"./tzm-latn":93805,"./tzm-latn.js":93805,"./tzm.js":27835,"./ug-cn":52388,"./ug-cn.js":52388,"./uk":77980,"./uk.js":77980,"./ur":24315,"./ur.js":24315,"./uz":13331,"./uz-latn":8101,"./uz-latn.js":8101,"./uz.js":13331,"./vi":49713,"./vi.js":49713,"./x-pseudo":21729,"./x-pseudo.js":21729,"./yo":32644,"./yo.js":32644,"./zh-cn":52094,"./zh-cn.js":52094,"./zh-hk":65090,"./zh-hk.js":65090,"./zh-mo":10551,"./zh-mo.js":10551,"./zh-tw":34122,"./zh-tw.js":34122};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id=60745},10742:function(e,t,r){const n=r(92986),i=r(71592),o=r(1534),a={};a.chains=a.chains||{},a.features=a.features||{},a.layouts=a.layouts||{},a.chains["article-ad-container"]=i(o(r(59692))),a.chains["article-body"]=i(o(r(51898))),a.chains["article-head"]=i(o(r(54499))),a.chains["centered-container"]=i(o(r(63876))),a.chains["footer-copyright"]=i(o(r(25651))),a.chains["full-width-section"]=i(o(r(59644))),a.chains["grid-1-2"]=i(o(r(81981))),a.chains["grid-2-1"]=i(o(r(73445))),a.chains["grid-breaking-news"]=i(o(r(40756))),a.chains["grid-section"]=i(o(r(89728))),a.chains.masthead=i(o(r(60391))),a.chains["mobile-ad"]=i(o(r(31188))),a.chains["section-2-columns-no-hr"]=i(o(r(67285))),a.chains["section-2-columns"]=i(o(r(39638))),a.chains["section-3-columns-no-hr"]=i(o(r(23104))),a.chains["section-3-columns-with-ad-on-third"]=i(o(r(72922))),a.chains["section-3-columns"]=i(o(r(16335))),a.chains["section-comments"]=i(o(r(23306))),a.chains["single-article"]=i(o(r(87775))),a.chains["sticky-ad"]=i(o(r(10541))),a.chains["sticky-top-ad"]=i(o(r(88735))),a.chains["stories-row"]=i(o(r(87912))),a.chains["sub-section"]=i(o(r(55344))),a.chains["three-story-row"]=i(o(r(61703))),a.chains["top-stories-section"]=i(o(r(94931))),a.features["ad-video-freestar-scroll/default"]=i(o(r(81053))),a.features["ad-video-freestar/default"]=i(o(r(44119))),a.features["ad-with-screen-options/default"]=i(o(r(403))),a.features["anchor-target/default"]=i(o(r(44364))),a.features["archive-link-sex-ed/default"]=i(o(r(28673))),a.features["article-banner/default"]=i(o(r(74278))),a.features["article-byline-bottom/default"]=i(o(r(39053))),a.features["article-byline-v2/default"]=i(o(r(77636))),a.features["article-byline/default"]=i(o(r(92021))),a.features["article-group-buttons-nocomm/default"]=i(o(r(6499))),a.features["article-group-buttons/default"]=i(o(r(57815))),a.features["article-headlines/default"]=i(o(r(29309))),a.features["article-section/default"]=i(o(r(85939))),a.features["article-sponsor-tag/default"]=i(o(r(67467))),a.features["article-sponsor/default"]=i(o(r(70944))),a.features["article-subheadline/default"]=i(o(r(22704))),a.features["author-feed-freestar/default"]=i(o(r(21798))),a.features["author-stories-freestar/default"]=i(o(r(87675))),a.features["bagley/default"]=i(o(r(96172))),a.features["banner-offer/default"]=i(o(r(22352))),a.features["biopage/default"]=i(o(r(61836))),a.features["blank-HTML/default"]=i(o(r(74795))),a.features["breaking-news-msg/default"]=i(o(r(51921))),a.features["calender/default"]=i(o(r(2044))),a.features["collapsible-section/default"]=i(o(r(92298))),a.features["column-stories-tag/default"]=i(o(r(35322))),a.features["column/default"]=i(o(r(8465))),a.features["community/default"]=i(o(r(85876))),a.features["copyright/default"]=i(o(r(3644))),a.features["coral-comments/default"]=i(o(r(13465))),a.features["display-vid/default"]=i(o(r(55335))),a.features["donate-intro/default"]=i(o(r(24631))),a.features["donation-ask-election/default"]=i(o(r(44469))),a.features["donation-ask-test-a/default"]=i(o(r(7430))),a.features["donation-ask-test-b/default"]=i(o(r(88393))),a.features["donation-election-ask-standalone/default"]=i(o(r(93081))),a.features["educators-page/default"]=i(o(r(66293))),a.features["election-county/default"]=i(o(r(53571))),a.features["election-data/default"]=i(o(r(92989))),a.features["embeded-video/default"]=i(o(r(4597))),a.features["essential-workers/default"]=i(o(r(6669))),a.features["featured-comments/default"]=i(o(r(41322))),a.features["flipp-compact-story/default"]=i(o(r(31008))),a.features["flipp-compact/default"]=i(o(r(83680))),a.features["flipp-standard/default"]=i(o(r(83952))),a.features["flippay-embed/default"]=i(o(r(64502))),a.features["footer/default"]=i(o(r(42076))),a.features["formstack/default"]=i(o(r(36293))),a.features["freestar-ad-homepage/default"]=i(o(r(36098))),a.features["freestar-ad-with-height/default"]=i(o(r(44418))),a.features["freestar-ad/default"]=i(o(r(35899))),a.features["full-width-donation/default"]=i(o(r(68180))),a.features["games/default"]=i(o(r(55970))),a.features["hero-banner-carousel-v2/default"]=i(o(r(64364))),a.features["hero-banner-with-logoes-url/default"]=i(o(r(93471))),a.features["home-prices/default"]=i(o(r(78411))),a.features["image-v2/default"]=i(o(r(76204))),a.features["individual-newsletter-iterable/default"]=i(o(r(14497))),a.features["innovation-lab-2/default"]=i(o(r(797))),a.features["innovation-lab-3/default"]=i(o(r(52440))),a.features["innovation-lab/default"]=i(o(r(55044))),a.features["innovation-staff/default"]=i(o(r(87147))),a.features["klangoo/default"]=i(o(r(55038))),a.features["latest-articles/default"]=i(o(r(49912))),a.features["legal-notices/default"]=i(o(r(34176))),a.features["legislation-individual-bill/default"]=i(o(r(178))),a.features["legislation-table/default"]=i(o(r(30003))),a.features["listen-to-sent-away/default"]=i(o(r(6740))),a.features["logo-banner/default"]=i(o(r(94451))),a.features["main-stories-section-page/default"]=i(o(r(78201))),a.features["map-head-subhead/default"]=i(o(r(12453))),a.features["map-lds/default"]=i(o(r(14589))),a.features["masthead-v2/default"]=i(o(r(12649))),a.features["members-list/default"]=i(o(r(62789))),a.features["membership-tiers/default"]=i(o(r(84859))),a.features["mission-statement-ad/default"]=i(o(r(2551))),a.features["mission-statement-wide/default"]=i(o(r(36625))
2),a.features["mission-statement/default"]=i(o(r(20017))),a.features["most-view-engaging-with-resolve-component/default"]=i(o(r(76256))),a.features["newsletter-ask-wide/default"]=i(o(r(73056))),a.features["newsletter-iterable/default"]=i(o(r(22299))),a.features["newsletter-iterable/NewsCard"]=i(o(r(67577))),a.features["newsletter-standalone/default"]=i(o(r(76104))),a.features["outbrain-ad/default"]=i(o(r(78329))),a.features["page-toc/default"]=i(o(r(27379))),a.features["photo-mosaic/default"]=i(o(r(63178))),a.features["photo-quote-cards/default"]=i(o(r(90030))),a.features["podcast-episodes/default"]=i(o(r(28388))),a.features["podcast-header-2/default"]=i(o(r(23012))),a.features["podcast-header/default"]=i(o(r(67153))),a.features["podcast-page-2/default"]=i(o(r(49910))),a.features["podcast-page/default"]=i(o(r(66239))),a.features["preferences-page/default"]=i(o(r(64309))),a.features["primary-election/default"]=i(o(r(35565))),a.features["query-advanced-search/default"]=i(o(r(87179))),a.features["reader-tool-card/default"]=i(o(r(72716))),a.features["recent-bagley-stories/default"]=i(o(r(76641))),a.features["related-articles-with-image/default"]=i(o(r(15719))),a.features["related-articles/default"]=i(o(r(23336))),a.features["reports/default"]=i(o(r(25418))),a.features["search-results/default"]=i(o(r(81402))),a.features["section-heading/default"]=i(o(r(28031))),a.features["section-page-1-2-2/default"]=i(o(r(57734))),a.features["simple-img-msg/default"]=i(o(r(73731))),a.features["social-media-bar/default"]=i(o(r(73985))),a.features["social-media/default"]=i(o(r(44369))),a.features["special-article/default"]=i(o(r(44375))),a.features["sponsor-carousel-v2/default"]=i(o(r(67541))),a.features["sponsored-story-for-article/default"]=i(o(r(22845))),a.features["spotify-episodes/default"]=i(o(r(18138))),a.features["stacked-section/default"]=i(o(r(96570))),a.features["staff-page-simple/default"]=i(o(r(2534))),a.features["staff-page/default"]=i(o(r(76545))),a.features["student-subscribe/default"]=i(o(r(67445))),a.features["support-work/default"]=i(o(r(10530))),a.features["tab-gallery/default"]=i(o(r(21191))),a.features["table-newsletter/default"]=i(o(r(73159))),a.features["text-section/default"]=i(o(r(81480))),a.features["the-team/default"]=i(o(r(16466))),a.features["thumbmail-small-article/default"]=i(o(r(1713))),a.features["thumbnail-small-bagley/default"]=i(o(r(3732))),a.features["thumbnail-small-homepage/default"]=i(o(r(37868))),a.features["thumbnail-small/default"]=i(o(r(95593))),a.features["thumbnails-section-page-freestar/default"]=i(o(r(35013))),a.features["title-paragraph-buttons/default"]=i(o(r(65132))),a.features["top-stories-card/default"]=i(o(r(80667))),a.features["top-stories/default"]=i(o(r(97696))),a.features["trivia/default"]=i(o(r(69024))),a.features["utah-covid-data-with-charts/default"]=i(o(r(91676))),a.features["video-feature/default"]=i(o(r(34931))),a.features["video-iframe/default"]=i(o(r(10353))),a.features["ways-to-give/default"]=i(o(r(15852))),a.features["weather-widget/default"]=i(o(r(83298))),a.features["youtube-video-feed/default"]=i(o(r(72157))),a.features["_global/article-image"]=i(o(r(55726))),a.features["_global/header-navigation-combined"]=i(o(r(84983))),a.features["_global/latest-articles"]=i(o(r(71931))),a.features["_global/member-cards"]=i(o(r(14242))),a.features["_global/outbrain-ad"]=i(o(r(58782))),a.features["_global/related-articles"]=i(o(r(67049))),a.features["_global/section-3-columns-stories"]=i(o(r(36959))),a.features["_global/section-4-columns-stories"]=i(o(r(50264))),a.features["_global/sponsored-logo"]=i(o(r(70545))),a.features["_global/top-stories"]=i(o(r(63313))),a.features["_global/trending-articles"]=i(o(r(78593))),a.layouts["article-no-ad-top"]=n(o(r(8997))),a.layouts.article=n(o(r(76553))),a.layouts["homepage-no-ad"]=n(o(r(53209))),a.layouts.homepage=n(o(r(10459))),a.layouts["innovation-page"]=n(o(r(20556))),a.layouts["map-page"]=n(o(r(5489))),a.layouts["search-result"]=n(o(r(91065))),a.layouts["shootings-page"]=n(o(r(15561))),a.layouts["special-article-page"]=n(o(r(94051))),a.layouts["static-fixed-width"]=n(o(r(28067))),a.layouts["static-no-top-ad"]=n(o(r(7761))),a.layouts.static=n(o(r(82061))),e.exports=a},64058:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return pe}});
vendor: 5,269 bytes, line 2
2var n=r(61017),i="-ms-",o="-moz-",a="-webkit-",s="comm",l="rule",c="decl",u="@keyframes",d=Math.abs,f=String.fromCharCode,p=Object.assign;function h(e,t){return 45^b(e,0)?(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3):0}function m(e){return e.trim()}function y(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,r){return e.replace(t,r)}function v(e,t){return e.indexOf(t)}function b(e,t){return 0|e.charCodeAt(t)}function _(e,t,r){return e.slice(t,r)}function x(e){return e.length}function w(e){return e.length}function O(e,t){return t.push(e),e}function j(e,t){return e.map(t).join("")}var S=1,M=1,k=0,P=0,T=0,E="";function C(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:S,column:M,length:a,return:""}}function L(e,t){return p(C("",null,null,"",null,null,0),e,{length:-e.length},t)}function A(){return T=P>0?b(E,--P):0,M--,10===T&&(M=1,S--),T}function D(){return T=P<k?b(E,P++):0,M++,10===T&&(M=1,S++),T}function I(){return b(E,P)}function N(){return P}function R(e,t){return _(E,e,t)}function z(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){return S=M=1,k=x(E=e),P=0,[]}function B(e){return E="",e}function Y(e){return m(R(P-1,$(91===e?e+2:40===e?e+1:e)))}function U(e){for(;(T=I())&&T<33;)D();return z(e)>2||z(T)>3?"":" "}function H(e,t){for(;--t&&D()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return R(e,N()+(t<6&&32==I()&&32==D()))}function $(e){for(;D();)switch(T){case e:return P;case 34:case 39:34!==e&&39!==e&&$(T);break;case 40:41===e&&$(e);break;case 92:D()}return P}function W(e,t){for(;D()&&e+T!==57&&(e+T!==84||47!==I()););return"/*"+R(t,P-1)+"*"+f(47===e?e:D())}function V(e){for(;!z(I());)D();return R(e,P)}function q(e){return B(G("",null,null,null,[""],e=F(e),0,[0],e))}function G(e,t,r,n,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,y=1,_=1,w=1,j=0,S="",M=i,k=o,P=n,T=S;_;)switch(m=j,j=D()){case 40:if(108!=m&&58==b(T,d-1)){-1!=v(T+=g(Y(j),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:T+=Y(j);break;case 9:case 10:case 13:case 32:T+=U(m);break;case 92:T+=H(N()-1,7);continue;case 47:switch(I()){case 42:case 47:O(X(W(D(),N()),t,r),l);break;default:T+="/"}break;case 123*y:s[c++]=x(T)*w;case 125*y:case 59:case 0:switch(j){case 0:case 125:_=0;case 59+u:-1==w&&(T=g(T,/\f/g,"")),h>0&&x(T)-d&&O(h>32?J(T+";",n,r,d-1):J(g(T," ","")+";",n,r,d-2),l);break;case 59:T+=";";default:if(O(P=Z(T,t,r,c,u,i,s,S,M=[],k=[],d),o),123===j)if(0===u)G(T,t,P,P,M,o,d,s,k);else switch(99===p&&110===b(T,3)?100:p){case 100:case 108:case 109:case 115:G(e,P,P,n&&O(Z(e,P,P,0,0,i,s,S,i,M=[],d),k),i,k,d,s,n?M:k);break;default:G(T,P,P,P,[""],k,0,s,k)}}c=u=h=0,y=w=1,S=T="",d=a;break;case 58:d=1+x(T),h=m;default:if(y<1)if(123==j)--y;else if(125==j&&0==y++&&125==A())continue;switch(T+=f(j),j*y){case 38:w=u>0?1:(T+="\f",-1);break;case 44:s[c++]=(x(T)-1)*w,w=1;break;case 64:45===I()&&(T+=Y(D())),p=I(),u=d=x(S=T+=V(N())),j++;break;case 45:45===m&&2==x(T)&&(y=0)}}return o}function Z(e,t,r,n,i,o,a,s,c,u,f){for(var p=i-1,h=0===i?o:[""],y=w(h),v=0,b=0,x=0;v<n;++v)for(var O=0,j=_(e,p+1,p=d(b=a[v])),S=e;O<y;++O)(S=m(b>0?h[O]+" "+j:g(j,/&\f/g,h[O])))&&(c[x++]=S);return C(e,t,r,0===i?l:s,c,u,f)}function X(e,t,r){return C(e,t,r,s,f(T),_(e,2,-2),0)}function J(e,t,r,n){return C(e,t,r,c,_(e,0,n),_(e,n+1,-1),n)}function K(e,t){for(var r="",n=w(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case c:return e.return=e.return||e.value;case s:return"";case u:return e.return=e.value+"{"+K(e.children,n)+"}";case l:e.value=e.props.join(",")}return x(r=K(e.children,n))?e.return=e.value+"{"+r+"}":""}function ee(e){var t=w(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function te(e){return function(t){t.root||(t=t.return)&&e(t)}}var re=r(22803),ne=r(40595),ie="undefined"!=typeof document,oe=function(e,t,r){for(var n=0,i=0;n=i,i=I(),38===n&&12===i&&(t[r]=1),!z(i);)D();return R(e,P)},ae=function(e,t){return B(function(e,t){var r=-1,n=44;do{switch(z(n)){case 0:38===n&&12===I()&&(t[r]=1),e[r]+=oe(P-1,t,r);break;case 2:e[r]+=Y(n);break;case 4:if(44===n){e[++r]=58===I()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=D());return e}(F(e),t))},se=new WeakMap,le=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||se.get(r))&&!n){se.set(e,!0);for(var i=[],o=ae(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},ce=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ue(e,t){switch(h(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;
2case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+i+e+e;case 6828:case 4268:return a+e+i+e+e;case 6165:return a+e+i+"flex-"+e+e;case 5187:return a+e+g(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return a+e+i+"flex-item-"+g(e,/flex-|-self/,"")+e;case 4675:return a+e+i+"flex-line-pack"+g(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+i+g(e,"shrink","negative")+e;case 5292:return a+e+i+g(e,"basis","preferred-size")+e;case 6060:return a+"box-"+g(e,"-grow","")+a+e+i+g(e,"grow","positive")+e;case 4554:return a+g(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(x(e)-1-t>6)switch(b(e,t+1)){case 109:if(45!==b(e,t+4))break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==b(e,t+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch")?ue(g(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==b(e,t+1))break;case 6444:switch(b(e,x(e)-3-(~v(e,"!important")&&10))){case 107:return g(e,":",":"+a)+e;case 101:return g(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===b(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(b(e,t+11)){case 114:return a+e+i+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+i+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+i+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+i+e+e}return e}var de=ie?void 0:(0,re.A)(function(){return(0,ne.A)(function(){return{}})}),fe=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case c:e.return=ue(e.value,e.length);break;case u:return K([L(e,{value:g(e.value,"@","@"+a)})],n);case l:if(e.length)return j(e.props,function(t){switch(y(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return K([L(e,{props:[g(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return K([L(e,{props:[g(t,/:(plac\w+)/,":"+a+"input-$1")]}),L(e,{props:[g(t,/:(plac\w+)/,":-moz-$1")]}),L(e,{props:[g(t,/:(plac\w+)/,i+"input-$1")]})],n)}return""})}}],pe=function(e){var t=e.key;if(ie&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i,o,a=e.stylisPlugins||fe,s={},l=[];ie&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var c=[le,ce];if(de){var u=[Q],d=ee(c.concat(a,u)),f=de(a)(t),p=function(e,t){var r=t.name;return void 0===f[r]&&(f[r]=K(q(e?e+"{"+t.styles+"}":t.styles),d)),f[r]};o=function(e,t,r,n){var i=t.name,o=p(e,t);return void 0===g.compat?(n&&(g.inserted[i]=!0),o):n?void(g.inserted[i]=o):o}}else{var h,m=[Q,te(function(e){h.insert(e)})],y=ee(c.concat(a,m));o=function(e,t,r,n){h=r,K(q(e?e+"{"+t.styles+"}":t.styles),y),n&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new n.StyleSheet({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(l),g}},40595:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:function(){return n}})},24971:function(e,t,r){"use strict";r.d(t,{C:function(){return y},E:function(){return P},T:function(){return b},_:function(){return g},a:function(){return p},b:function(){return w},c:function(){return M},d:function(){return O},h:function(){return j},i:function(){return h},u:function(){return _},w:function(){return v}});var n=r(40809),i=r(64058),o=r(15574),a=r(22803),s=r(11572),l=r.n(s),c=function(e,t){return l()(e,t)},u=r(35009),d=r(96898),f=r(92611),p=!1,h="undefined"!=typeof document,m=n.createContext("undefined"!=typeof HTMLElement?(0,i.default)({key:"css"}):null),y=m.Provider,g=function(){return(0,n.useContext)(m)},v=function(e){return(0,n.forwardRef)(function(t,r){var i=(0,n.useContext)(m);return e(t,i,r)})};h||(v=function(e){return function(t){var r=(0,n.useContext)(m);return null===r?(r=(0,i.default)({key:"css"}),n.createElement(m.Provider,{value:r},e(t,r))):e(t,r)}});var b=n.createContext({}),_=function(){return n.useContext(b)},x=(0,a.A)(function(e){return(0,a.A)(function(t){return function(e,t){return"function"==typeof t?t(e):(0,o.A)({},e,t)}(e,t)})}),w=function(e){var t=n.useContext(b);return e.theme!==t&&(t=x(t)(e.theme)),n.createElement(b.Provider,{value:t},e.children)};
2function O(e){var t=e.displayName||e.name||"Component",r=n.forwardRef(function(t,r){var i=n.useContext(b);return n.createElement(e,(0,o.A)({theme:i,ref:r},t))});return r.displayName="WithTheme("+t+")",c(r,e)}var j={}.hasOwnProperty,S="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",M=function(e,t){var r={};for(var n in t)j.call(t,n)&&(r[n]=t[n]);return r[S]=e,r},k=function(e){var t=e.cache,r=e.serialized,i=e.isStringTag;(0,u.SF)(t,r,i);var o=(0,f.s)(function(){return(0,u.sk)(t,r,i)});if(!h&&void 0!==o){for(var a,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return n.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},P=v(function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[S],a=[i],s="";"string"==typeof e.className?s=(0,u.Rk)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=(0,d.serializeStyles)(a,void 0,n.useContext(b));s+=t.key+"-"+l.name;var c={};for(var f in e)j.call(e,f)&&"css"!==f&&f!==S&&!p&&(c[f]=e[f]);return c.className=s,r&&(c.ref=r),n.createElement(n.Fragment,null,n.createElement(k,{cache:t,serialized:l,isStringTag:"string"==typeof o}),n.createElement(o,c))})},31925:function(e,t,r){"use strict";r.r(t),r.d(t,{CacheProvider:function(){return o.C},ClassNames:function(){return y},Global:function(){return d},ThemeContext:function(){return o.T},ThemeProvider:function(){return o.b},__unsafe_useEmotionCache:function(){return o._},createElement:function(){return u},css:function(){return f},jsx:function(){return u},keyframes:function(){return p},useTheme:function(){return o.u},withEmotionCache:function(){return o.w},withTheme:function(){return o.d}});var n,i,o=r(24971),a=r(40809),s=r(35009),l=r(92611),c=r(96898),u=(r(64058),r(77850),r(11572),function(e,t){var r=arguments;if(null==t||!o.h.call(t,"css"))return a.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=o.E,i[1]=(0,o.c)(e,t);for(var s=2;s<n;s++)i[s]=r[s];return a.createElement.apply(null,i)});n=u||(u={}),i||(i=n.JSX||(n.JSX={}));var d=(0,o.w)(function(e,t){var r=e.styles,n=(0,c.serializeStyles)([r],void 0,a.useContext(o.T));if(!o.i){for(var i,u=n.name,d=n.styles,f=n.next;void 0!==f;)u+=" "+f.name,d+=f.styles,f=f.next;var p=!0===t.compat,h=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:a.createElement("style",((i={})["data-emotion"]=t.key+"-global "+u,i.dangerouslySetInnerHTML={__html:h},i.nonce=t.sheet.nonce,i))}var m=a.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,o=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(i=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,i],function(){r.flush()}},[t]),(0,l.i)(function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,s.sk)(t,n.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null});function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.serializeStyles)(t)}function p(){var e=f.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var h=function e(t){for(var r=t.length,n=0,i="";n<r;n++){var o=t[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};var m=function(e){var t,r=e.cache,n=e.serializedArr,i=(0,l.s)(function(){for(var e="",t=0;t<n.length;t++){var i=(0,s.sk)(r,n[t],!1);o.i||void 0===i||(e+=i)}if(!o.i)return e});return o.i||0===i.length?null:a.createElement("style",((t={})["data-emotion"]=r.key+" "+n.map(function(e){return e.name}).join(" "),t.dangerouslySetInnerHTML={__html:i},t.nonce=r.sheet.nonce,t))},y=(0,o.w)(function(e,t){var r=!1,n=[],i=function(){if(r&&o.a)throw new Error("css can only be used during render");for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];var l=(0,c.serializeStyles)(i,t.registered);return n.push(l),(0,s.SF)(t,l,!1),t.key+"-"+l.name},l={css:i,cx:function(){if(r&&o.a)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return function(e,t,r){var n=[],i=(0,s.Rk)(e,n,r);return n.length<2?r:i+t(n)}(t.registered,i,h(n))},theme:a.useContext(o.T)},u=e.children(l);return r=!0,a.createElement(a.Fragment,null,a.createElement(m,{cache:t,serializedArr:n}),u)})},96898:function(e,t,r){"use strict";r.r(t),r.d(t,{serializeStyles:function(){return y}});var n={animationIterationCount:1,aspectRatio: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,msGr
vendor: 4,136 bytes, line 2
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale: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},i=r(40595),o=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.A)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return h={name:t,styles:r,next:h},t})}return 1===n[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function p(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var i=r;if(1===i.anim)return h={name:i.name,styles:i.styles,next:h},i.name;var a=r;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(e,t,r[i])+";";else for(var a in r){var s=r[a];if("object"!=typeof s){var l=s;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":c(l)&&(n+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&o)throw new Error(f);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var h=p(e,t,s);switch(a){case"animation":case"animationName":n+=u(a)+":"+h+";";break;default:n+=a+"{"+h+"}"}}else for(var m=0;m<s.length;m++)c(s[m])&&(n+=u(a)+":"+d(a,s[m])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=h,m=r(e);return h=l,p(e,t,m)}}var y=r;if(null==t)return y;var g=t[y];return void 0!==g?g:y}var h,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function y(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";h=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=p(r,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=p(r,t,e[a]),n)i+=o[a]}m.lastIndex=0;for(var s,l="";null!==(s=m.exec(i));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:h}}},61017:function(e,t,r){"use strict";r.r(t),r.d(t,{StyleSheet:function(){return n}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
2,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()},6595:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(15574),i=r(24971),o=r(96898),a=r(92611),s=r(35009),l=r(40809),c=r(40595),u=/^((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|playsInline|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)-.*))$/,d="undefined"!=typeof document,f=(0,c.A)(function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:p},m=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},y=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;(0,s.SF)(t,r,n);var i=(0,a.s)(function(){return(0,s.sk)(t,r,n)});if(!d&&void 0!==i){for(var o,c=r.name,u=r.next;void 0!==u;)c+=" "+u.name,u=u.next;return l.createElement("style",((o={})["data-emotion"]=t.key+" "+c,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},g=(r(77850),function e(t,r){var a,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==r&&(a=r.label,c=r.target);var f=m(t,r,u),p=f||h(d),g=!p("as");return function(){var v=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{var _=v[0];b.push(_[0]);for(var x=v.length,w=1;w<x;w++)b.push(v[w],_[w])}var O=(0,i.w)(function(e,t,r){var n=g&&e.as||d,a="",u=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=l.useContext(i.T)}"string"==typeof e.className?a=(0,s.Rk)(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");
2var _=(0,o.serializeStyles)(b.concat(u),t.registered,m);a+=t.key+"-"+_.name,void 0!==c&&(a+=" "+c);var x=g&&void 0===f?h(n):p,w={};for(var O in e)g&&"as"===O||x(O)&&(w[O]=e[O]);return w.className=a,r&&(w.ref=r),l.createElement(l.Fragment,null,l.createElement(y,{cache:t,serialized:_,isStringTag:"string"==typeof n}),l.createElement(n,w))});return O.displayName=void 0!==a?a:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",O.defaultProps=t.defaultProps,O.__emotion_real=O,O.__emotion_base=d,O.__emotion_styles=b,O.__emotion_forwardProp=f,Object.defineProperty(O,"toString",{value:function(){return"."+c}}),O.withComponent=function(t,i){return e(t,(0,n.A)({},r,i,{shouldForwardProp:m(O,i,!0)})).apply(void 0,b)},O}}.bind(null));["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)})},92611:function(e,t,r){"use strict";r.d(t,{i:function(){return l},s:function(){return s}});var n=r(40809),i="undefined"!=typeof document,o=function(e){return e()},a=!!n.useInsertionEffect&&n.useInsertionEffect,s=i&&a||o,l=a||n.useLayoutEffect},35009:function(e,t,r){"use strict";r.d(t,{Rk:function(){return i},SF:function(){return o},sk:function(){return a}});var n="undefined"!=typeof document;function i(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var o=function(e,t,r){var i=e.key+"-"+t.name;(!1===r||!1===n&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)},a=function(e,t,r){o(e,t,r);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a="",s=t;do{var l=e.insert(t===s?"."+i:"",s,e.sheet,!0);n||void 0===l||(a+=l),s=s.next}while(void 0!==s);if(!n&&0!==a.length)return a}}},22803:function(e,t,r){"use strict";r.d(t,{A:function(){return n}});var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}},80312:function(e,t,r){e.exports=function(){var e={228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},858:function(e){e.exports=function(e){if(Array.isArray(e))return e}},506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},926:function(e){function t(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise(function(i,o){var a=e.apply(r,n);function s(e){t(a,i,o,s,l,"next",e)}function l(e){t(a,i,o,s,l,"throw",e)}s(void 0)})}}},575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},913:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}},713:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},754:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(r)}e.exports=t},205:function(e,t,r){var n=r(489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},884:function(e){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}},521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},585:function(e,t,r){var n=r(8),i=r(506);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?i(e):t}},489:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(r,n)}e.exports=t},38:function(e,t,r){var n=r(858),i=r(884),o=r(379),a=r(521);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()}},8:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}e.exports=t},379:function(e,t,r){var n=r(228);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},757:function(e,t,r){e.exports=r(666)},907:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var i=n(757),o=n.n(i),a=n(926),s=n.n(a),l=n(575),c=n.n(l),u=n(913),d=n.n(u),f=n(506),p=n.n(f),h=n(205),m=n.n(h),y=n(585),g=n.n(y),v=n(754),b=n.n(v),_=n(713),x=n.n(_),w=r(40809),O=n.n(w),j=r(19894),S=n.n(j),M=n(38),k=n.n(M),P=n(307),T=n.n(P),E=n(254),C=n.n(E);function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach(function(t){x()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var D=function(){function e(){c()(this,e),this.pageKeyValuePairs={},this.mappingConfig={},this.keyValueConfigMappings=[],this.keyValueConfigMappingLocation="",this.newAdSlotQueue=[],this.adSlotsMap={},this.queue=!1}var t,r,n;return d()(e,[{key:"fetchKeyValueConfigMapping",value:(n=s()(o().mark(function e(t){var r,n;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:if(200===(r=e.sent).status){e.next=7;break}return n="An error has occurred fetching keyValueConfigMapping: ".concat(r.status),console.log(n),e.abrupt("return",[]);case 7:return e.prev=7,e.next=10,r.json();case 10:return this.mappingConfig=e.sent,e.abrupt("return",this.mappingConfig.mappings);case 14:return e.prev=14,e.t0=e.catch(7),console.log("An error has occurred fetching keyValueConfigMapping",e.t0),e.abrupt("return",[]);case 19:case"end":return e.stop()}},e,this,[[7,14]])})),function(e){return n.apply(this,arguments)})},{key:"init",value:(r=s()(o().mark(function e(t,r,n){var i,a,s;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(window.freestarReactCompontentLoaded=window.freestarReactCompontentLoaded||!1,this.loaded=window.freestarReactCompontentLoaded,this.logEnabled=window.location.search.indexOf("fslog")>-1,this.loaded){e.next=23;break}if(this.loaded=window.freestarReactCompontentLoaded=!0,this.keyValueConfigMappingLocation=r,i=window.location.search.indexOf("fsdebug")>-1?"/qa":"",a="https://a.pub.network/".concat(t).concat(i,"/pubfig.min.js"),window.freestar=window.freestar||{},window.freestar.hitTime=Date.now(),window.freestar.queue=window.freestar.queue||[],window.freestar.config=window.freestar.config||{},window.freestar.config.enabled_slots=window.freestar.config.enabled_slots||[],(s=document.createElement("script")).src=a,s.async=!0,null!==n&&(s.integrity=n,s.crossOrigin="anonymous"),this.log(0,"========== LOADING Pubfig =========="),document.head.appendChild(s),!r||0!==this.keyValueConfigMappings.length){e.next=23;break}return e.next=22,this.fetchKeyValueConfigMapping(r);case 22:this.keyValueConfigMappings=e.sent;case 23:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"log",value:function(e){if(this.logEnabled||window.location.search.indexOf("fslog")>-1){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];(t=console).info.apply(t,["%c".concat("Pubfig React Plugin v3.6.1"),"background: #00C389; color: #fff; border-radius: 3px; padding: 3px"].concat(n))}}},{key:"getMappedPlacementName",value:(t=s()(o().mark(function e(t,r){var n,i,a,s,l;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=A(A({},this.pageKeyValuePairs),r),!this.keyValueConfigMappingLocation||0!==this.keyValueConfigMappings.length){e.next=5;break}return e.next=4,this.fetchKeyValueConfigMapping(this.keyValueConfigMappingLocation);case 4:this.keyValueConfigMappings=e.sent;case 5:if(!(i=this.keyValueConfigMappings.filter(function(e){var t=e.keyValuePairs||{};for(var r in t)if(t.hasOwnProperty(r)){var i=Array.isArray(n[r])?C()(n[r]):n[r],o=Array.isArray(t[r])?C()(t[r]):t[r];
2if(!T()(i,o))return!1}return!0})).length){e.next=12;break}return(a=C()(i,function(e){return e.keyValuePairs.length})).reverse(),s=a[0],l=s.placementMap,e.abrupt("return",l[t]||t);case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}},e,this)})),function(e,r){return t.apply(this,arguments)})},{key:"queueNewAdSlot",value:function(e,t,r,n,i,o,a,s){var l={placementName:e,slotId:t,onNewAdSlotsHook:r,channel:n,targeting:i,adUnitPath:o,slotSize:a,sizeMappings:s};this.newAdSlotQueue.push(l)}},{key:"flushQueuedNewAdSlots",value:function(){var e=this;setTimeout(function(){e.log(0,"Flushing queued Ad Slots");var t=e.buildAdMap();for(var r in e.log(0,"adMap:",t),e.newDirectGAMAdSlots(t.directGamAds),e.newPubfigAdSlots(null,t.nonChannelAds),t.channelAdMap)e.newPubfigAdSlots(r,t.channelAdMap[r])},0)}},{key:"buildAdMap",value:function(){var e=this.newAdSlotQueue;return this.newAdSlotQueue=[],e.reduce(function(e,t){return t.adUnitPath?(e.directGamAds.push(t),e):t.channel?(e.channelAdMap[t.channel]||(e.channelAdMap[t.channel]=[]),e.channelAdMap[t.channel].push({slotId:t.slotId,placementName:t.placementName,targeting:t.targeting,callback:t.onNewAdSlotsHook}),e):(e.nonChannelAds.push({slotId:t.slotId,placementName:t.placementName,targeting:t.targeting,callback:t.onNewAdSlotsHook}),e)},{channelAdMap:{},nonChannelAds:[],directGamAds:[]})}},{key:"newPubfigAdSlots",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];r.length&&window.freestar.queue.push(s()(o().mark(function n(){return o().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:t.log(0,"Calling newAdSlots with",{channel:e,placements:r}),window.freestar.newAdSlots(r,e),r.forEach(function(e){e.callback&&e.callback(e.placementName)});case 3:case"end":return n.stop()}},n)})))}},{key:"newDirectGAMAdSlots",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];0!==t.length&&window.freestar.queue.push(function(){var r=[];t.forEach(function(t){var n=window.googletag.defineSlot(t.adUnitPath,t.slotSize,t.slotId).addService(window.googletag.pubads());if(t.sizeMappings){var i=t.sizeMappings.reduce(function(e,t){return e.addSize(t.viewport,t.slot)},window.googletag.sizeMapping()).build();n.defineSizeMapping(i)}t.targeting&&Object.entries(t.targeting).forEach(function(e){var t=k()(e,2),r=t[0],i=t[1];n.setTargeting(r,i)}),window.googletag.display(n),r.push(n),e.adSlotsMap[n.getAdUnitPath()]=n}),window.googletag.pubads().refresh(r),t.forEach(function(e){e.onNewAdSlotsHook&&e.onNewAdSlotsHook(e.slotId)})})}},{key:"newAdSlot",value:function(e,t,r,n,i,o,a,s){var l=this;this.queue?(this.log(0,"Queueing newAdSlots with",{placementName:e,slotId:t,onNewAdSlotsHook:r,channel:n,targeting:i,adUnitPath:o,slotSize:a,sizeMappings:s}),this.queueNewAdSlot(e,t,r,n,i,o,a,s)):(this.log(0,"Calling newAdSlots with",{channel:n,placements:[{slotId:t,placementName:e,targeting:i}]}),window.freestar.queue.push(function(){o?l.newDirectGAMAdSlots([{adUnitPath:o,slotId:t,slotSize:a,placementName:e,sizeMappings:s,targeting:i}]):l.newPubfigAdSlots(n,[{slotId:t,placementName:e,targeting:i}])}),r&&r(e))}},{key:"deleteAdSlot",value:function(e,t,r,n,i){var a=this;window.freestar.queue.push(s()(o().mark(function s(){return o().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=7;break}return o.next=3,a.getMappedPlacementName(t,r);case 3:t=o.sent,window.freestar.deleteAdSlots(t),o.next=8;break;case 7:window.googletag.destroySlots([a.adSlotsMap[i]]);case 8:n&&n(e);case 9:case"end":return o.stop()}},s)})))}},{key:"refreshAdSlot",value:function(e,t,r,n,i){var a=this;this.log(0,"Refreshing Ad slot [".concat(t,"]")),window.freestar.queue.push(s()(o().mark(function s(){return o().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=7;break}return o.next=3,a.getMappedPlacementName(t,r);case 3:e=o.sent,window.freestar.refresh(e),o.next=8;break;case 7:window.googletag.pubads().refresh([a.adSlotsMap[i]]);case 8:n&&n(e);case 9:case"end":return o.stop()}},s)})))}},{key:"setPageTargeting",value:function(e,t){window.freestar=window.freestar||{},window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push(function(){window.googletag.pubads().setTargeting(e,t)}),this.pageKeyValuePairs[e]=t}},{key:"clearPageTargeting",value:function(e){window.freestar=window.freestar||{},window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push(function(){e?window.googletag.pubads().clearTargeting(e):window.googletag.pubads().clearTargeting()}),e?delete this.pageKeyValuePairs[e]:this.pageKeyValuePairs={}}
2},{key:"trackPageview",value:function(){window.freestar=window.freestar||{},window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push(function(){window.freestar.trackPageview()})}},{key:"queueAdCalls",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.log(0,"Ad Slot queueing "+(e?"enabled":"disabled")),!1===e&&!0===this.queue&&this.flushQueuedNewAdSlots(),this.queue=e}}]),e}(),I=new D,N=function(e){m()(a,e);var t,r,n,i=(r=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=b()(r);if(n){var i=b()(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return g()(this,e)});function a(e){var t;c()(this,a),t=i.call(this,e),x()(p()(t),"classes",function(){var e=t.props.classList;return e?e.join(" "):""});var r=e.placementName,n=e.slotId||"".concat(r);return t.state={placementName:r,slotId:n},t}return d()(a,[{key:"componentDidMount",value:(t=s()(o().mark(function e(){var t,r,n,i,a,s,l,c,u,d,f,p,h;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.adUnitPath,n=t.slotSize,i=t.sizeMapping,a=t.placementName,s=t.onNewAdSlotsHook,l=t.channel,c=t.targeting,u=t.keyValueConfigMappingURL,d=t.publisher,f=t.integrity,p=this.state.slotId,e.next=4,I.init(d,u,f);case 4:return e.next=6,I.getMappedPlacementName(a,c);case 6:h=e.sent,this.setState({placementName:h}),I.newAdSlot(h,p,s,l,c,r,n,i);case 9:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.placementName,r=e.onDeleteAdSlotsHook,n=e.targeting,i=e.adUnitPath;I.deleteAdSlot(t,this.state.slotId,n,r,i)}},{key:"componentDidUpdate",value:function(e){var t=e.placementName,r=e.onAdRefreshHook,n=e.targeting,i=e.adUnitPath,o=e.onNewAdSlotsHook,a=e.slotSize,s=e.sizeMapping,l=e.channel,c=e.adRefresh;this.props.adRefresh!==c&&I.refreshAdSlot(t,this.state.slotId,n,r,i),this.props.channel!==l&&I.newAdSlot(t,this.state.slotId,o,this.props.channel,n,i,a,s)}},{key:"render",value:function(){return O().createElement("div",null,O().createElement("div",{className:this.classes(),id:this.state.slotId}))}}]),a}(w.Component);N.setPageTargeting=function(e,t){I.setPageTargeting(e,t)},N.clearPageTargeting=function(e){I.clearPageTargeting(e)},N.trackPageview=function(){I.trackPageview()},N.queueAdCalls=function(e){I.queueAdCalls(e)},N.releaseQueuedAds=function(){I.flushQueuedNewAdSlots()},N.propTypes={publisher:S().string.isRequired,placementName:S().string.isRequired,slotId:S().string,targeting:S().object,channel:S().string,classList:S().array,adRefresh:S().number,onNewAdSlotsHook:S().func,onDeleteAdSlotsHook:S().func,onAdRefreshHook:S().func,adUnitPath:S().string,slotSize:S().oneOfType([S().array,S().string]),sizeMapping:S().arrayOf(S().shape({viewport:S().array,slot:S().array})),keyValueConfigMappingURL:S().string,queue:S().bool,integrity:S().string},N.defaultProps={publisher:"",placementName:"",slotId:null,targeting:{},channel:null,classList:[],adRefresh:0,onNewAdSlotsHook:function(){},onDeleteAdSlotsHook:function(){},onAdRefreshHook:function(){},adUnitPath:null,slotSize:null,sizeMapping:null,keyValueConfigMappingURL:null,integrity:null};var R=N},307:function(e,t,r){e=r.nmd(e);var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",x=/^\[object .+?Constructor\]$/,w=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[o]=O[a]=O[b]=O[s]=O[_]=O[l]=O[c]=O[u]=O[d]=O[f]=O[p]=O[m]=O[y]=O[g]=O[v]=!1;var j="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,S="object"==typeof self&&self&&self.Object===Object&&self,M=j||S||Function("return this")(),k=t&&!t.nodeType&&t,P=k&&e&&!e.nodeType&&e,T=P&&P.exports===k,E=T&&j.process,C=function(){try{return E&&E.binding&&E.binding("util")}catch(e){}}(),L=C&&C.isTypedArray;function A(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function D(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function I(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var N,R,z,F=Array.prototype,B=Function.prototype,Y=Object.prototype,U=M["__core-js_shared__"],H=B.toString,$=Y.hasOwnProperty,W=(N=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+N:"",V=Y.toString,q=RegExp("^"+H.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=T?M.Buffer:void 0,Z=M.Symbol,X=M.Uint8Array,J=Y.propertyIsEnumerable,K=F.splice,Q=Z?Z.toStringTag:void 0,ee=Object.getOwnPropertySymbols,te=G?G.isBuffer:void 0,re=(R=Object.keys,z=Object,function(e){return R(z(e))}),ne=Pe(M,"DataView"),ie=Pe(M,"Map"),oe=Pe(M,"Promise"),ae=Pe(M,"Set"),se=Pe(M,"WeakMap"),le=Pe(Object,"create"),ce=Le(ne),ue=Le(ie),de=Le(oe),fe=Le(ae),pe=Le(se),he=Z?Z.prototype:void 0,me=he?he.valueOf:void 0;function ye(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ge(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ve(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function be(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ve;++t<r;)this.add(e[t])}function _e(e){var t=this.__data__=new ge(e);this.size=t.size}function xe(e,t){for(var r=e.length;r--;)if(Ae(e[r][0],t))return r;return-1}function we(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Q&&Q in Object(e)?function(e){var t=$.call(e,Q),r=e[Q];try{e[Q]=void 0;var n=!0}catch(e){}var i=V.call(e);return n&&(t?e[Q]=r:delete e[Q]),i}(e):function(e){return V.call(e)}(e)}function Oe(e){return Be(e)&&we(e)==o}function je(e,t,r,n,i){return e===t||(null==e||null==t||!Be(e)&&!Be(t)?e!=e&&t!=t:function(e,t,r,n,i,u){var h=Ie(e),v=Ie(t),x=h?a:Ee(e),w=v?a:Ee(t),O=(x=x==o?p:x)==p,j=(w=w==o?p:w)==p,S=x==w;if(S&&Ne(e)){if(!Ne(t))return!1;h=!0,O=!1}if(S&&!O)return u||(u=new _e),h||Ye(e)?Se(e,t,r,n,i,u):function(e,t,r,n,i,o,a){switch(r){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!o(new X(e),new X(t)));case s:case l:case f:return Ae(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case d:var u=D;case y:var p=1&n;if(u||(u=I),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;n|=2,a.set(e,t);var v=Se(u(e),u(t),n,i,o,a);return a.delete(e),v;case"[object Symbol]":if(me)return me.call(e)==me.call(t)}return!1}(e,t,x,r,n,i,u);if(!(1&r)){var M=O&&$.call(e,"__wrapped__"),k=j&&$.call(t,"__wrapped__");
vendor: 6,349 bytes, line 2
2if(M||k){var P=M?e.value():e,T=k?t.value():t;return u||(u=new _e),i(P,T,r,n,u)}}return!!S&&(u||(u=new _e),function(e,t,r,n,i,o){var a=1&r,s=Me(e),l=s.length;if(l!=Me(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:$.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],m=t[u];if(n)var y=a?n(m,h,u,t,e,o):n(h,m,u,e,t,o);if(!(void 0===y?h===m||i(h,m,r,n,o):y)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,r,n,i,u))}(e,t,r,n,je,i))}function Se(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,f=2&r?new be:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var p=e[u],h=t[u];if(n)var m=a?n(h,p,u,t,e,o):n(p,h,u,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!A(t,function(e,t){if(a=t,!f.has(a)&&(p===e||i(p,e,r,n,o)))return f.push(t);var a})){d=!1;break}}else if(p!==h&&!i(p,h,r,n,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Me(e){return function(e,t,r){var n=t(e);return Ie(e)?n:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(n,r(e))}(e,Ue,Te)}function ke(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Pe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Fe(e)||function(e){return!!W&&W in e}(e))&&(Re(e)?q:x).test(Le(e))}(r)?r:void 0}ye.prototype.clear=function(){this.__data__=le?le(null):{},this.size=0},ye.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ye.prototype.get=function(e){var t=this.__data__;if(le){var r=t[e];return r===n?void 0:r}return $.call(t,e)?t[e]:void 0},ye.prototype.has=function(e){var t=this.__data__;return le?void 0!==t[e]:$.call(t,e)},ye.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?n:t,this},ge.prototype.clear=function(){this.__data__=[],this.size=0},ge.prototype.delete=function(e){var t=this.__data__,r=xe(t,e);return!(r<0||(r==t.length-1?t.pop():K.call(t,r,1),--this.size,0))},ge.prototype.get=function(e){var t=this.__data__,r=xe(t,e);return r<0?void 0:t[r][1]},ge.prototype.has=function(e){return xe(this.__data__,e)>-1},ge.prototype.set=function(e,t){var r=this.__data__,n=xe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ve.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(ie||ge),string:new ye}},ve.prototype.delete=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t},ve.prototype.get=function(e){return ke(this,e).get(e)},ve.prototype.has=function(e){return ke(this,e).has(e)},ve.prototype.set=function(e,t){var r=ke(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,n),this},be.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.clear=function(){this.__data__=new ge,this.size=0},_e.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},_e.prototype.get=function(e){return this.__data__.get(e)},_e.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ge){var n=r.__data__;if(!ie||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ve(n)}return r.set(e,t),this.size=r.size,this};var Te=ee?function(e){return null==e?[]:(e=Object(e),function(t){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];s=a,J.call(e,s)&&(o[i++]=a)}var s;return o}(ee(e)))}:function(){return[]},Ee=we;function Ce(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||w.test(e))&&e>-1&&e%1==0&&e<t}function Le(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ae(e,t){return e===t||e!=e&&t!=t}(ne&&Ee(new ne(new ArrayBuffer(1)))!=_||ie&&Ee(new ie)!=d||oe&&Ee(oe.resolve())!=h||ae&&Ee(new ae)!=y||se&&Ee(new se)!=v)&&(Ee=function(e){var t=we(e),r=t==p?e.constructor:void 0,n=r?Le(r):"";if(n)switch(n){case ce:return _;case ue:return d;case de:return h;case fe:return y;case pe:return v}return t});var De=Oe(function(){return arguments}())?Oe:function(e){return Be(e)&&$.call(e,"callee")&&!J.call(e,"callee")},Ie=Array.isArray,Ne=te||function(){return!1};function Re(e){if(!Fe(e))return!1;var t=we(e);return t==u||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ze(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Fe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Be(e){return null!=e&&"object"==typeof e}var Ye=L?function(e){return function(t){return e(t)}}(L):function(e){return Be(e)&&ze(e.length)&&!!O[we(e)]};function Ue(e){return null!=(t=e)&&ze(t.length)&&!Re(t)?function(e){var t=Ie(e),r=!t&&De(e),n=!t&&!r&&Ne(e),i=!t&&!r&&!n&&Ye(e),o=t||r||n||i,a=o?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],s=a.length;for(var l in e)!$.call(e,l)||o&&("length"==l||n&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ce(l,s))||a.push(l);return a}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||Y))return re(e);var t,r,n=[];for(var i in Object(e))$.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e);var t}e.exports=function(e,t){return je(e,t)}},254:function(e,t,r){e=r.nmd(e);var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",x="[object DataView]",w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,O=/^\w*$/,j=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/\\(\\)?/g,k=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,T={};
2T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[o]=T[a]=T[_]=T[s]=T[x]=T[l]=T[c]=T[u]=T[d]=T[f]=T[p]=T[m]=T[y]=T[g]=T[b]=!1;var E="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,C="object"==typeof self&&self&&self.Object===Object&&self,L=E||C||Function("return this")(),A=t&&!t.nodeType&&t,D=A&&e&&!e.nodeType&&e,I=D&&D.exports===A&&E.process,N=function(){try{return I&&I.binding("util")}catch(e){}}(),R=N&&N.isTypedArray;function z(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function F(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function B(e,t){for(var r=-1,n=e?e.length:0;++r<n;)if(t(e[r],r,e))return!0;return!1}function Y(e){return function(t){return e(t)}}function U(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function $(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var W,V,q,G=Array.prototype,Z=Function.prototype,X=Object.prototype,J=L["__core-js_shared__"],K=(W=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",Q=Z.toString,ee=X.hasOwnProperty,te=X.toString,re=RegExp("^"+Q.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=L.Symbol,ie=L.Uint8Array,oe=X.propertyIsEnumerable,ae=G.splice,se=ne?ne.isConcatSpreadable:void 0,le=(V=Object.keys,q=Object,function(e){return V(q(e))}),ce=Math.max,ue=Ue(L,"DataView"),de=Ue(L,"Map"),fe=Ue(L,"Promise"),pe=Ue(L,"Set"),he=Ue(L,"WeakMap"),me=Ue(Object,"create"),ye=Ke(ue),ge=Ke(de),ve=Ke(fe),be=Ke(pe),_e=Ke(he),xe=ne?ne.prototype:void 0,we=xe?xe.valueOf:void 0,Oe=xe?xe.toString:void 0;function je(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Me(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ke(e){var t=-1,r=e?e.length:0;for(this.__data__=new Me;++t<r;)this.add(e[t])}function Pe(e){this.__data__=new Se(e)}function Te(e,t){for(var r=e.length;r--;)if(tt(e[r][0],t))return r;return-1}je.prototype.clear=function(){this.__data__=me?me(null):{}},je.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},je.prototype.get=function(e){var t=this.__data__;if(me){var r=t[e];return r===n?void 0:r}return ee.call(t,e)?t[e]:void 0},je.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:ee.call(t,e)},je.prototype.set=function(e,t){return this.__data__[e]=me&&void 0===t?n:t,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var t=this.__data__,r=Te(t,e);return!(r<0||(r==t.length-1?t.pop():ae.call(t,r,1),0))},Se.prototype.get=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]},Se.prototype.has=function(e){return Te(this.__data__,e)>-1},Se.prototype.set=function(e,t){var r=this.__data__,n=Te(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Me.prototype.clear=function(){this.__data__={hash:new je,map:new(de||Se),string:new je}},Me.prototype.delete=function(e){return Ye(this,e).delete(e)},Me.prototype.get=function(e){return Ye(this,e).get(e)},Me.prototype.has=function(e){return Ye(this,e).has(e)},Me.prototype.set=function(e,t){return Ye(this,e).set(e,t),this},ke.prototype.add=ke.prototype.push=function(e){return this.__data__.set(e,n),this},ke.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.clear=function(){this.__data__=new Se},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Se){var n=r.__data__;if(!de||n.length<199)return n.push([e,t]),this;r=this.__data__=new Me(n)}return r.set(e,t),this};var Ee,Ce=(Ee=function(e,t){return e&&Ae(e,t,dt)},function(e,t){if(null==e)return e;if(!it(e))return Ee(e,t);for(var r=e.length,n=-1,i=Object(e);++n<r&&!1!==t(i[n],n,i););return e});function Le(e,t,r,n,i){var o=-1,a=e.length;for(r||(r=$e),i||(i=[]);++o<a;){var s=e[o];t>0&&r(s)?t>1?Le(s,t-1,r,n,i):F(i,s):n||(i[i.length]=s)}return i}var Ae=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var s=o[++n];if(!1===t(i[s],s,i))break}return e};function De(e,t){for(var r=0,n=(t=qe(t,e)?[t]:ze(t)).length;null!=e&&r<n;)e=e[Je(t[r++])];return r&&r==n?e:void 0}function Ie(e,t){return null!=e&&t in Object(e)}function Ne(e,t,r,n,i){return e===t||(null==e||null==t||!st(e)&&!lt(t)?e!=e&&t!=t:function(e,t,r,n,i,u){var h=nt(e),b=nt(t),w=a,O=a;h||(w=(w=He(e))==o?p:w),b||(O=(O=He(t))==o?p:O);var j=w==p&&!U(e),S=O==p&&!U(t),M=w==O;if(M&&!j)return u||(u=new Pe),h||ut(e)?Be(e,t,r,n,i,u):function(e,t,r,n,i,o,a){switch(r){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!n(new ie(e),new ie(t)));case s:case l:case f:return tt(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case d:var u=H;case y:var p=2&o;if(u||(u=$),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;o|=1,a.set(e,t);var b=Be(u(e),u(t),n,i,o,a);return a.delete(e),b;case v:if(we)return we.call(e)==we.call(t)}return!1}(e,t,w,r,n,i,u);if(!(2&i)){var k=j&&ee.call(e,"__wrapped__"),P=S&&ee.call(t,"__wrapped__");
2if(k||P){var T=k?e.value():e,E=P?t.value():t;return u||(u=new Pe),r(T,E,n,i,u)}}return!!M&&(u||(u=new Pe),function(e,t,r,n,i,o){var a=2&i,s=dt(e),l=s.length;if(l!=dt(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:ee.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],m=t[u];if(n)var y=a?n(m,h,u,t,e,o):n(h,m,u,e,t,o);if(!(void 0===y?h===m||r(h,m,n,i,o):y)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,r,n,i,u))}(e,t,Ne,r,n,i))}function Re(e){return"function"==typeof e?e:null==e?ft:"object"==typeof e?nt(e)?function(e,t){return qe(e)&&Ge(t)?Ze(Je(e),t):function(r){var n=function(e,t){var r=null==e?void 0:De(e,t);return void 0===r?void 0:r}(r,e);return void 0===n&&n===t?function(e,t){return null!=e&&function(e,t,r){for(var n,i=-1,o=(t=qe(t,e)?[t]:ze(t)).length;++i<o;){var a=Je(t[i]);if(!(n=null!=e&&r(e,a)))break;e=e[a]}return n||!!(o=e?e.length:0)&&at(o)&&We(a,o)&&(nt(e)||rt(e))}(e,t,Ie)}(r,e):Ne(t,n,void 0,3)}}(e[0],e[1]):(r=function(e){for(var t=dt(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Ge(i)]}return t}(t=e),1==r.length&&r[0][2]?Ze(r[0][0],r[0][1]):function(e){return e===t||function(e,t,r){var n=r.length,i=n;if(null==e)return!i;for(e=Object(e);n--;){var o=r[n];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++n<i;){var a=(o=r[n])[0],s=e[a],l=o[1];if(o[2]){if(void 0===s&&!(a in e))return!1}else if(!Ne(l,s,void 0,3,new Pe))return!1}return!0}(e,0,r)}):qe(n=e)?(i=Je(n),function(e){return null==e?void 0:e[i]}):function(e){return function(t){return De(t,e)}}(n);var t,r,n,i}function ze(e){return nt(e)?e:Xe(e)}function Fe(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=ct(e),a=void 0!==t,s=null===t,l=t==t,c=ct(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!c&&e<t||c&&r&&i&&!n&&!o||s&&r&&i||!a&&i||!l)return-1}return 0}function Be(e,t,r,n,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,f=1&i?new ke:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var p=e[u],h=t[u];if(n)var m=a?n(h,p,u,t,e,o):n(p,h,u,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!B(t,function(e,t){if(!f.has(t)&&(p===e||r(p,e,n,i,o)))return f.add(t)})){d=!1;break}}else if(p!==h&&!r(p,h,n,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Ye(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Ue(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!st(e)||function(e){return!!K&&K in e}(e))&&(ot(e)||U(e)?re:k).test(Ke(e))}(r)?r:void 0}var He=function(e){return te.call(e)};function $e(e){return nt(e)||rt(e)||!!(se&&e&&e[se])}function We(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}function Ve(e,t,r){if(!st(r))return!1;var n=typeof t;return!!("number"==n?it(r)&&We(t,r.length):"string"==n&&t in r)&&tt(r[t],e)}function qe(e,t){if(nt(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ct(e))||O.test(e)||!w.test(e)||null!=t&&e in Object(t)}function Ge(e){return e==e&&!st(e)}function Ze(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}(ue&&He(new ue(new ArrayBuffer(1)))!=x||de&&He(new de)!=d||fe&&He(fe.resolve())!=h||pe&&He(new pe)!=y||he&&He(new he)!=b)&&(He=function(e){var t=te.call(e),r=t==p?e.constructor:void 0,n=r?Ke(r):void 0;if(n)switch(n){case ye:return x;case ge:return d;case ve:return h;case be:return y;case _e:return b}return t});var Xe=et(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ct(e))return Oe?Oe.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return j.test(e)&&r.push(""),e.replace(S,function(e,t,n,i){r.push(n?i.replace(M,"$1"):t||e)}),r});function Je(e){if("string"==typeof e||ct(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ke(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Qe=function(e,t){return t=ce(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,i=ce(r.length-t,0),o=Array(i);++n<i;)o[n]=r[t+n];n=-1;for(var a=Array(t+1);++n<t;)a[n]=r[n];return a[t]=o,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,a)}}(function(e,t){if(null==e)return[];var r=t.length;return r>1&&Ve(e,t[0],t[1])?t=[]:r>2&&Ve(t[0],t[1],t[2])&&(t=[t[0]]),function(e,t,r){var n=-1;t=z(t.length?t:[ft],Y(Re));var i=function(e,t){var r=-1,n=it(e)?Array(e.length):[];return Ce(e,function(e,i,o){n[++r]=t(e)}),n}(e,function(e,r,i){return{criteria:z(t,function(t){return t(e)}),index:++n,value:e}});return function(e){var t=e.length;for(e.sort(function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,a=i.length,s=r.length;++n<a;){var l=Fe(i[n],o[n]);if(l)return n>=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)});t--;)e[t]=e[t].value;return e}(i)}(e,Le(t,1),[])});function et(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new(et.Cache||Me),r}function tt(e,t){return e===t||e!=e&&t!=t}function rt(e){return function(e){return lt(e)&&it(e)}(e)&&ee.call(e,"callee")&&(!oe.call(e,"callee")||te.call(e)==o)}et.Cache=Me;var nt=Array.isArray;function it(e){return null!=e&&at(e.length)&&!ot(e)}function ot(e){var t=st(e)?te.call(e):"";return t==u||"[object GeneratorFunction]"==t}function at(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function st(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function lt(e){return!!e&&"object"==typeof e}function ct(e){return"symbol"==typeof e||lt(e)&&te.call(e)==v}var ut=R?Y(R):function(e){return lt(e)&&at(e.length)&&!!T[te.call(e)]};function dt(e){return it(e)?function(e){var t=nt(e)||rt(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],r=t.length,n=!!r;for(var i in e)!ee.call(e,i)||n&&("length"==i||We(i,r))||t.push(i);return t}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||X))return le(e);var t,r,n=[];for(var i in Object(e))ee.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e)}function ft(e){return e}e.exports=Qe},666:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,147 bytes, line 2
2try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var i=t&&t.prototype instanceof y?t:y,o=Object.create(i.prototype),a=new P(n||[]);return o._invoke=function(e,t,r){var n=d;return function(i,o){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===i)throw o;return E()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var l=u(e,t,r);if("normal"===l.type){if(n=r.done?h:f,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,a),o}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function y(){}function g(){}function v(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,x=_&&_(_(T([])));x&&x!==r&&n.call(x,o)&&(b=x);var w=v.prototype=y.prototype=Object.create(b);function O(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return r("throw",e,a,s)})}s(l.arg)}var i;this._invoke=function(e,n){function o(){return new t(function(t,i){r(e,n,t,i)})}return i=i?i.then(o,o):o()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function M(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function T(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:E}}function E(){return{value:t,done:!0}}return g.prototype=w.constructor=v,v.constructor=g,g.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(j.prototype),j.prototype[a]=function(){return this},e.AsyncIterator=j,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new j(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},O(w),l(w,s,"Generator"),w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,P.prototype={constructor:P,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(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;
2var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;k(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n(907)}()},3810:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance")},97028:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddCircle")},82915:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"m19 1-5 5v11l5-4.5zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6m22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5z"}),"AutoStories")},66953:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1M9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m11 15H4v-2h16zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20z"}),"CardGiftcard")},86247:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},18035:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M22 7h-9v2h9zm0 8h-9v2h9zM5.54 11 2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"}),"Checklist")},63953:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},33048:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},48911:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},99850:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Comment")},52369:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description")},18663:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)([(0,o.jsx)("path",{d:"M6.32 13.01c.96.02 1.85.5 2.45 1.34C9.5 15.38 10.71 16 12 16s2.5-.62 3.23-1.66c.6-.84 1.49-1.32 2.45-1.34-.72-1.22-3.6-2-5.68-2-2.07 0-4.96.78-5.68 2.01M4 13c1.66 0 3-1.34 3-3S5.66 7 4 7s-3 1.34-3 3 1.34 3 3 3m16 0c1.66 0 3-1.34 3-3s-1.34-3
2-3-3-3 1.34-3 3 1.34 3 3 3m-8-3c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3"},"0"),(0,o.jsx)("path",{d:"M21 14h-3.27c-.77 0-1.35.45-1.68.92-.04.06-1.36 2.08-4.05 2.08-1.43 0-3.03-.64-4.05-2.08-.39-.55-1-.92-1.68-.92H3c-1.1 0-2 .9-2 2v4h7v-2.26c1.15.8 2.54 1.26 4 1.26s2.85-.46 4-1.26V20h7v-4c0-1.1-.9-2-2-2"},"1")],"Diversity3")},16054:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},27487:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;t.A=void 0;i(r(40809));var o=n(r(88630)),a=r(34766);t.A=(0,o.default)((0,a.jsx)("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook")},20457:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05"}),"FavoriteBorder")},44906:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},48896:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;t.A=void 0;i(r(40809));var o=n(r(88630)),a=r(34766);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12.545,10.239v3.821h5.445c-0.712,2.315-2.647,3.972-5.445,3.972c-3.332,0-6.033-2.701-6.033-6.032s2.701-6.032,6.033-6.032c1.498,0,2.866,0.549,3.921,1.453l2.814-2.814C17.503,2.988,15.139,2,12.545,2C7.021,2,2.543,6.477,2.543,12s4.478,10,10.002,10c8.396,0,10.249-7.85,9.426-11.748L12.545,10.239z"}),"Google")},63342:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M16.48 10.41c-.39.39-1.04.39-1.43 0l-4.47-4.46-7.05 7.04-.66-.63c-1.17-1.17-1.17-3.07 0-4.24l4.24-4.24c1.17-1.17 3.07-1.17 4.24 0L16.48 9c.39.39.39 1.02 0 1.41m.7-2.12c.78.78.78 2.05 0 2.83-1.27 1.27-2.61.22-2.83 0l-3.76-3.76-5.57 5.57c-.39.39-.39 1.02 0 1.41s1.02.39 1.42 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.42 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l8.32-8.34c1.17-1.17 1.17-3.07 0-4.24l-4.24-4.24c-1.15-1.15-3.01-1.17-4.18-.06z"}),"Handshake")},50399:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;t.A=void 0;i(r(40809));var o=n(r(88630)),a=r(34766);t.A=(0,o.default)((0,a.jsx)("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram")},4436:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft")},6639:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},89588:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},45356:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z"}),"MailOutline")},69551:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16"}),"MonetizationOn")},30073:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},47415:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.
267-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone")},29536:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},91034:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M1 22h4V11H1zm19-5h-7l-2.09-.73.33-.94L13 16h2.82c.65 0 1.18-.53 1.18-1.18 0-.49-.31-.93-.77-1.11L8.97 11H7v9.02L14 22l8-3c-.01-1.1-.89-2-2-2M14 1.5l-7 5V9h2l8.14 3.26C18.26 12.71 19 13.79 19 15h2V6.5zm-.5 8.5h-1V9h1zm0-2h-1V7h1zm2 2h-1V9h1zm0-2h-1V7h1z"}),"RealEstateAgent")},73431:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1M9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m11 15H4v-2h16zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20z"}),"Redeem")},82691:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)([(0,o.jsx)("circle",{cx:"6.18",cy:"17.82",r:"2.18"},"0"),(0,o.jsx)("path",{d:"M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56m0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9"},"1")],"RssFeed")},89952:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"m19.83 7.5-2.27-2.27c.07-.42.18-.81.32-1.15.08-.18.12-.37.12-.58 0-.83-.67-1.5-1.5-1.5-1.64 0-3.09.79-4 2h-5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10v-2h2v2h5.5l1.68-5.59 2.82-.94V7.5zM13 9H8V7h5zm3 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Savings")},74727:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},34135:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"m4.01 6.03 7.51 3.22-7.52-1zm7.5 8.72L4 17.97v-2.22zM2.01 3 2 10l15 2-15 2 .01 7L23 12z"}),"SendOutlined")},93088:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart")},61007:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp")},64103:function(e,t,r){"use strict";var n=r(39474).default;t.A=void 0;var i=n(r(88630)),o=r(34766);t.A=(0,i.default)((0,o.jsx)("path",{d:"M1 11h4v11H1zm15-7.75C16.65 2.49 17.66 2 18.7 2 20.55 2 22 3.45 22 5.3c0 2.27-2.91 4.9-6 7.7-3.09-2.81-6-5.44-6-7.7C10 3.45 11.45 2 13.3 2c1.04 0 2.05.49 2.7 1.25M20 17h-7l-2.09-.73.33-.94L13 16h2.82c.65 0 1.18-.53 1.18-1.18 0-.49-.31-.93-.77-1.11L8.97 11H7v9.02L14 22l8.01-3c-.01-1.1-.9-2-2.01-2"}),"VolunteerActivism")},45557:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;t.A=void 0;i(r(40809));var o=n(r(88630)),a=r(34766);t.A=(0,o.default)((0,a.jsx)("path",{d:"M16.75 13.96c.25.13.41.2.46.3.06.11.04.61-.21 1.18-.2.56-1.24 1.1-1.7 1.12-.46.02-.47.36-2.96-.73-2.49-1.09-3.99-3.75-4.11-3.92-.12-.17-.96-1.38-.92-2.61.05-1.22.69-1.8.95-2.04.24-.26.51-.29.68-.26h.47c.15 0 .36-.06.55.45l.69 1.87c.06.13.1.28.01.44l-.27.41-.39.42c-.12.12-.26.25-.12.5.12.26.62 1.09 1.32 1.78.91.88 1.71 1.17 1.95 1.3.24.14.39.12.54-.04l.81-.94c.19-.25.35-.19.58-.11l1.67.88M12 2a10 10 0 0 1 10 10 10 10 0 0 1-10 10c-1.97 0-3.8-.57-5.35-1.55L2 22l1.55-4.65A9.969 9.969 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8c0 1.72.54 3.31 1.46 4.61L4.5 19.5l2.89-.96A7.95 7.95 0 0 0 12 20a8 8 0 0 0 8-8 8 8 0 0 0-8-8z"}),"WhatsApp")},42718:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;t.A=void 0;i(r(40809));var o=n(r(88630)),a=r(34766);t.A=(0,o.default)((0,a.jsx)("path",{d:"M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z"}),"YouTube")},88630:function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(84580)},95087:function(e,t,r){"use strict";const n=["children","className","component","invisible","open","components","componentsProps","slotProps","slots","TransitionComponent","transitionDuration"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=s(r(59179)),m=s(r(80749)),y=r(67675),g=r(34766);const v=(0,f.styled)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),b=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiBackdrop"}),{children:i,className:a,component:s="div",invisible:l=!1,open:c,components:f={},componentsProps:b={},slotProps:_={},slots:x={},TransitionComponent:w,transitionDuration:O}=r,j=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),S=o(o({},r),{}
2,{component:s,invisible:l}),M=(e=>{const{classes:t,invisible:r}=e,n={root:["root",r&&"invisible"]};return(0,d.default)(n,y.getBackdropUtilityClass,t)})(S),k={component:s,slots:o({transition:w,root:f.Root},x),slotProps:o(o({},b),_)},[P,T]=(0,h.default)("root",{elementType:v,externalForwardedProps:k,className:(0,u.default)(M.root,a),ownerState:S}),[E,C]=(0,h.default)("transition",{elementType:m.default,externalForwardedProps:k,ownerState:S});return(0,g.jsx)(E,o(o(o({in:c,timeout:O},j),C),{},{children:(0,g.jsx)(P,o(o({"aria-hidden":!0},T),{},{ref:t,children:i}))}))});t.default=b},67675:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getBackdropUtilityClass=function(e){return(0,o.default)("MuiBackdrop",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiBackdrop",["root","invisible"]);t.default=a},76825:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={backdropClasses:!0};Object.defineProperty(t,"backdropClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(95087)),s=n(r(67675));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},24705:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(60522),o=(n(r(19894)),r(6810)),a=r(39765),s=n(r(60206)),l=n(r(97169));const c=(0,a.createTheme)(),u=(0,i.createBox)({themeId:s.default,defaultTheme:c,defaultClassName:l.default.root,generateClassName:o.unstable_ClassNameGenerator.generate});t.default=u},97169:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=(0,n(r(85298)).default)("MuiBox",["root"]);t.default=i},55212:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={boxClasses:!0};Object.defineProperty(t,"boxClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(24705)),s=n(r(97169));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},73311:function(e,t,r){"use strict";const n=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","id","loading","loadingIndicator","loadingPosition","size","startIcon","type","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(72267)),f=s(r(7265)),p=r(84580),h=s(r(95944)),m=r(36431),y=s(r(60999)),g=r(41099),v=s(r(3986)),b=s(r(83649)),_=s(r(88732)),x=s(r(98982)),w=l(r(21099)),O=s(r(66634)),j=s(r(92498)),S=r(34766);const M=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],k=(0,m.styled)(v.default,{shouldForwardProp:e=>(0,h.default)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,_.default)(r.color)}`],t[`size${(0,_.default)(r.size)}`],t[`${r.variant}Size${(0,_.default)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})((0,y.default)(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],r="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return o(o({},e.typography.button),{},{minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${w.default.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]}
2,[`&.${w.default.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${w.default.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${w.default.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter((0,x.default)()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${w.default.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${w.default.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${w.default.loading}`]:{color:"transparent"}}}]})})),P=(0,m.styled)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${(0,_.default)(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...M]})),T=(0,m.styled)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${(0,_.default)(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...M]})),E=(0,m.styled)("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),C=(0,m.styled)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),L=c.forwardRef(function(e,t){const r=c.useContext(O.default),i=c.useContext(j.default),a=(0,d.default)(r,e),s=(0,g.useDefaultProps)({props:a,name:"MuiButton"}),{children:l,color:h="primary",component:m="button",className:y,disabled:v=!1,disableElevation:x=!1,disableFocusRipple:M=!1,endIcon:L,focusVisibleClassName:A,fullWidth:D=!1,id:I,loading:N=null,loadingIndicator:R,loadingPosition:z="center",size:F="medium",startIcon:B,type:Y,variant:U="text"}=s,H=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(s,n),$=(0,p.unstable_useId)(I),W=R??(0,S.jsx)(b.default,{"aria-labelledby":$,color:"inherit",size:16}),V=o(o({},s),{},{color:h,component:m,disabled:v,disableElevation:x,disableFocusRipple:M,fullWidth:D,loading:N,loadingIndicator:W,loadingPosition:z,size:F,type:Y,variant:U}),q=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,loading:s,loadingPosition:l,classes:c}=e,u={root:["root",s&&"loading",a,`${a}${(0,_.default)(t)}`,`size${(0,_.default)(i)}`,`${a}Size${(0,_.default)(i)}`,`color${(0,_.default)(t)}`,r&&"disableElevation",n&&"fullWidth",s&&`loadingPosition${(0,_.default)(l)}`],startIcon:["icon","startIcon",`iconSize${(0,_.default)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,_.default)(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=(0,f.default)(u,w.getButtonUtilityClass,c);return o(o({},c),d)})(V),G=(B||N&&"start"===z)&&(0,S.jsx)(P,{className:q.startIcon,ownerState:V,children:B||(0,S.jsx)(C,{className:q.loadingIconPlaceholder,ownerState:V})}),Z=(L||N&&"end"===z)&&(0,S.jsx)(T,{className:q.endIcon,ownerState:V,children:L||(0,S.jsx)(C,{className:q.loadingIconPlaceholder,ownerState:V})}),X=i||"",J="boolean"==typeof N?(0,S.jsx)("span",{className:q.loadingWrapper,style:{display:"contents"},children:N&&(0,S.jsx)(E,{className:q.loadingIndicator,ownerState:V,children:W})}):null;return(0,S.jsxs)(k,o(o({ownerState:V,className:(0,u.default)(r.className,q.root,y,X),component:m,disabled:v||N,focusRipple:!M,focusVisibleClassName:(0,u.default)(q.focusVisible,A),ref:t,type:Y,id:N?$:I},H),{},{classes:q,children:[G,"end"!==z&&J,l,"end"===z&&J,Z]}))});t.default=L},21099:function(e,t,r){"use strict";var n=r(39474).default;
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getButtonUtilityClass=function(e){return(0,o.default)("MuiButton",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);t.default=a},59271:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={buttonClasses:!0};Object.defineProperty(t,"buttonClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(73311)),s=n(r(21099));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},16545:function(e,t,r){"use strict";const n=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ButtonBaseRoot=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(47654)),s(r(90462)),s(r(7265))),f=s(r(379)),p=r(36431),h=r(41099),m=s(r(29314)),y=s(r(63080)),g=s(r(75366)),v=s(r(69791)),b=l(r(51569)),_=r(34766);const x=t.ButtonBaseRoot=(0,p.styled)("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${b.default.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),w=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:p="button",disabled:w=!1,disableRipple:j=!1,disableTouchRipple:S=!1,focusRipple:M=!1,focusVisibleClassName:k,LinkComponent:P="a",onBlur:T,onClick:E,onContextMenu:C,onDragLeave:L,onFocus:A,onFocusVisible:D,onKeyDown:I,onKeyUp:N,onMouseDown:R,onMouseLeave:z,onMouseUp:F,onTouchEnd:B,onTouchMove:Y,onTouchStart:U,tabIndex:H=0,TouchRippleProps:$,touchRippleRef:W,type:V}=r,q=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),G=c.useRef(null),Z=(0,g.default)(),X=(0,m.default)(Z.ref,W),[J,K]=c.useState(!1);w&&J&&K(!1),c.useImperativeHandle(i,()=>({focusVisible:()=>{K(!0),G.current.focus()}}),[]);const Q=Z.shouldMount&&!j&&!w;c.useEffect(()=>{J&&M&&!j&&Z.pulsate()},[j,M,J,Z]);const ee=O(Z,"start",R,S),te=O(Z,"stop",C,S),re=O(Z,"stop",L,S),ne=O(Z,"stop",F,S),ie=O(Z,"stop",e=>{J&&e.preventDefault(),z&&z(e)},S),oe=O(Z,"start",U,S),ae=O(Z,"stop",B,S),se=O(Z,"stop",Y,S),le=O(Z,"stop",e=>{(0,f.default)(e.target)||K(!1),T&&T(e)},!1),ce=(0,y.default)(e=>
2{G.current||(G.current=e.currentTarget),(0,f.default)(e.target)&&(K(!0),D&&D(e)),A&&A(e)}),ue=()=>{const e=G.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},de=(0,y.default)(e=>{M&&!e.repeat&&J&&" "===e.key&&Z.stop(e,()=>{Z.start(e)}),e.target===e.currentTarget&&ue()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&ue()&&"Enter"===e.key&&!w&&(e.preventDefault(),E&&E(e))}),fe=(0,y.default)(e=>{M&&" "===e.key&&J&&!e.defaultPrevented&&Z.stop(e,()=>{Z.pulsate(e)}),N&&N(e),E&&e.target===e.currentTarget&&ue()&&" "===e.key&&!e.defaultPrevented&&E(e)});let pe=p;"button"===pe&&(q.href||q.to)&&(pe=P);const he={};if("button"===pe){const e=!!q.formAction;he.type=void 0!==V||e?V:"button",he.disabled=w}else q.href||q.to||(he.role="button"),w&&(he["aria-disabled"]=w);const me=(0,m.default)(t,G),ye=o(o({},r),{},{centerRipple:a,component:p,disabled:w,disableRipple:j,disableTouchRipple:S,focusRipple:M,tabIndex:H,focusVisible:J}),ge=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,o={root:["root",t&&"disabled",r&&"focusVisible"]},a=(0,d.default)(o,b.getButtonBaseUtilityClass,i);return r&&n&&(a.root+=` ${n}`),a})(ye);return(0,_.jsxs)(x,o(o(o({as:pe,className:(0,u.default)(ge.root,l),ownerState:ye,onBlur:le,onClick:E,onContextMenu:te,onFocus:ce,onKeyDown:de,onKeyUp:fe,onMouseDown:ee,onMouseLeave:ie,onMouseUp:ne,onDragLeave:re,onTouchEnd:ae,onTouchMove:se,onTouchStart:oe,ref:me,tabIndex:w?-1:H,type:V},he),q),{},{children:[s,Q?(0,_.jsx)(v.default,o({ref:X,center:a},$)):null]}))});function O(e,t,r,n=!1){return(0,y.default)(i=>(r&&r(i),n||e[t](i),!0))}t.default=w},52066:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(40809)),a=(n(r(19894)),n(r(44173))),s=r(34766);t.default=function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:l,rippleSize:c,in:u,onExited:d,timeout:f}=e,[p,h]=o.useState(!1),m=(0,a.default)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),y={width:c,height:c,top:-c/2+l,left:-c/2+i}
2,g=(0,a.default)(r.child,p&&r.childLeaving,n&&r.childPulsate);return u||p||h(!0),o.useEffect(()=>{if(!u&&null!=d){const e=setTimeout(d,f);return()=>{clearTimeout(e)}}},[d,u,f]),(0,s.jsx)("span",{className:m,style:y,children:(0,s.jsx)("span",{className:g})})}},69791:function(e,t,r){"use strict";const n=["center","classes","className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TouchRippleRoot=t.TouchRippleRipple=t.DELAY_RIPPLE=void 0;var c=l(r(40809)),u=(s(r(19894)),r(1232)),d=s(r(44173)),f=s(r(90979)),p=r(36431),h=r(41099),m=s(r(52066)),y=s(r(5579)),g=r(34766);const v=t.DELAY_RIPPLE=80,b=p.keyframes` 3 0% { 4 transform: scale(0); 5 opacity: 0.1; 6 } 7 8 100% { 9 transform: scale(1); 10 opacity: 0.3; 11 } 12`,_=p.keyframes` 13 0% { 14 opacity: 1; 15 } 16 17 100% { 18 opacity: 0; 19 } 20`,x=p.keyframes` 21 0% { 22 transform: scale(1); 23 } 24 25 50% { 26 transform: scale(0.92); 27 } 28 29 100% { 30 transform: scale(1); 31 } 32`,w=t.TouchRippleRoot=(0,p.styled)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O=t.TouchRippleRipple=(0,p.styled)(m.default,{name:"MuiTouchRipple",slot:"Ripple"})` 33 opacity: 0; 34 position: absolute; 35 36 &.${y.default.rippleVisible} { 37 opacity: 0.3; 38 transform: scale(1); 39 animation-name: ${b}; 40 animation-duration: ${550}ms; 41 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 42 } 43 44 &.${y.default.ripplePulsate} { 45 animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; 46 } 47 48 & .${y.default.child} { 49 opacity: 1; 50 display: block; 51 width: 100%; 52 height: 100%; 53 border-radius: 50%; 54 background-color: currentColor; 55 } 56 57 & .${y.default.childLeaving} { 58 opacity: 0; 59 animation-name: ${_}; 60 animation-duration: ${550}ms; 61 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 62 } 63 64 & .${y.default.childPulsate} { 65 position: absolute; 66 /* @noflip */ 67 left: 0px; 68 top: 0; 69 animation-name: ${x}; 70 animation-duration: 2500ms; 71 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 72 animation-iteration-count: infinite; 73 animation-delay: 200ms; 74 } 75`,j=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s}=r,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),[p,m]=c.useState([]),b=c.useRef(0),_=c.useRef(null);c.useEffect(()=>{_.current&&(_.current(),_.current=null)},[p]);const x=c.useRef(!1),j=(0,f.default)(),S=c.useRef(null),M=c.useRef(null),k=c.useCallback(e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:o}=e;m(e=>[...e,(0,g.jsx)(O,{classes:{ripple:(0,d.default)(a.ripple,y.default.ripple),rippleVisible:(0,d.default)(a.rippleVisible,y.default.rippleVisible),ripplePulsate:(0,d.default)(a.ripplePulsate,y.default.ripplePulsate),
75child:(0,d.default)(a.child,y.default.child),childLeaving:(0,d.default)(a.childLeaving,y.default.childLeaving),childPulsate:(0,d.default)(a.childPulsate,y.default.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},b.current)]),b.current+=1,_.current=o},[a]),P=c.useCallback((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:o=i||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&x.current)return void(x.current=!1);"touchstart"===e?.type&&(x.current=!0);const s=a?null:M.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===S.current&&(S.current=()=>{k({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},j.start(v,()=>{S.current&&(S.current(),S.current=null)})):k({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},[i,k,j]),T=c.useCallback(()=>{P({},{pulsate:!0})},[P]),E=c.useCallback((e,t)=>{if(j.clear(),"touchend"===e?.type&&S.current)return S.current(),S.current=null,void j.start(0,()=>{E(e,t)});S.current=null,m(e=>e.length>0?e.slice(1):e),_.current=t},[j]);return c.useImperativeHandle(t,()=>({pulsate:T,start:P,stop:E}),[T,P,E]),(0,g.jsx)(w,o(o({className:(0,d.default)(y.default.root,a.root,s),ref:M},l),{},{children:(0,g.jsx)(u.TransitionGroup,{component:null,exit:!0,children:p})}))});t.default=j},51569:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getButtonBaseUtilityClass=function(e){return(0,o.default)("MuiButtonBase",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiButtonBase",["root","disabled","focusVisible"]);t.default=a},3986:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={buttonBaseClasses:!0,touchRippleClasses:!0};Object.defineProperty(t,"buttonBaseClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"touchRippleClasses",{enumerable:!0,get:function(){return l.default}});var a=i(r(16545)),s=n(r(51569));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var l=n(r(5579));Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))})},5579:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTouchRippleUtilityClass=function(e){return(0,o.default)("MuiTouchRipple",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);t.default=a},92498:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext(void 0);t.default=i},66634:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext({});t.default=i},15787:function(e,t,r){"use strict";const n=["className","raised"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEac
75h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(96548)),s(r(7265))),f=r(36431),p=r(41099),h=s(r(72155)),m=r(671),y=r(34766);const g=(0,f.styled)(h.default,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),v=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiCard"}),{className:i,raised:a=!1}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{raised:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},m.getCardUtilityClass,t)})(l);
75return(0,y.jsx)(g,o({className:(0,u.default)(c.root,i),elevation:a?8:void 0,ref:t,ownerState:l},s))});t.default=v},671:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCardUtilityClass=function(e){return(0,o.default)("MuiCard",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCard",["root"]);t.default=a},79877:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={cardClasses:!0};Object.defineProperty(t,"cardClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(15787)),s=n(r(671));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},62465:function(e,t,r){"use strict";const n=["children","className","focusVisibleClassName","slots","slotProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=l(r(73201)),y=s(r(3986)),g=s(r(59179)),v=r(34766);const b=(0,f.styled)(y.default,{name:"MuiCardActionArea",slot:"Root"})((0,p.default)(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${m.default.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${m.default.focusVisible} .${m.default.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),_=(0,f.styled)("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})((0,p.default)(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),x=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiCardActionArea"}),{children:i,className:a,focusVisibleClassName:s,slots:l={},slotProps:c={}}=r,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),p=r,y=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"],focusHighlight:["focusHighlight"]},m.getCardActionAreaUtilityClass,t)})(p),x={slots:l,slotProps:c},[w,O]=(0,g.default)("root",{elementType:b,externalForwardedProps:o(o({},x),f),shouldForwardComponentProp:!0,ownerState:p,ref:t,className:(0,u.default)(y.root,a),additionalProps:{focusVisibleClassName:(0,u.default)(s,y.focusVisible)}}),[j,S]=(0,g.default)("focusHighlight",{elementType:_,externalForwardedProps:x,ownerState:p,className:y.focusHighlight});return(0,v.jsxs)(w,o(o({},O),{},{children:[i,(0,v.jsx)(j,o({},S))]}))});t.default=x},73201:function(e,t,r){"use strict";var n=r(39474).default;
75Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCardActionAreaUtilityClass=function(e){return(0,o.default)("MuiCardActionArea",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);t.default=a},51534:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={cardActionAreaClasses:!0};Object.defineProperty(t,"cardActionAreaClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(62465)),s=n(r(73201));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},11737:function(e,t,r){"use strict";const n=["disableSpacing","className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=r(10857),m=r(34766);const y=(0,f.styled)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),g=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiCardActions"}),{disableSpacing:i=!1,className:a}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{disableSpacing:i}),c=(e=>{const{classes:t,disableSpacing:r}=e,n={root:["root",!r&&"spacing"]};return(0,d.default)(n,h.getCardActionsUtilityClass,t)})(l);return(0,m.jsx)(y,o({className:(0,u.default)(c.root,a),ownerState:l,ref:t},s))});t.default=g},10857:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCardActionsUtilityClass=function(e){return(0,o.default)("MuiCardActions",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCardActions",["root","spacing"]);t.default=a},33076:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});
75var o={cardActionsClasses:!0};Object.defineProperty(t,"cardActionsClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(11737)),s=n(r(10857));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},41657:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=r(66057),m=r(34766);const y=(0,f.styled)("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),g=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiCardContent"}),{className:i,component:a="div"}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{component:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},h.getCardContentUtilityClass,t)})(l);
75return(0,m.jsx)(y,o({as:a,className:(0,u.default)(c.root,i),ownerState:l,ref:t},s))});t.default=g},66057:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCardContentUtilityClass=function(e){return(0,o.default)("MuiCardContent",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCardContent",["root"]);t.default=a},83606:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={cardContentClasses:!0};Object.defineProperty(t,"cardContentClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(41657)),s=n(r(66057));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},13157:function(e,t,r){"use strict";const n=["children","className","component","image","src","style"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(96548)),s(r(7265))),f=r(36431),p=r(41099),h=r(80797),m=r(34766);const y=(0,f.styled)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{isMediaComponent:n,isImageComponent:i}=r;return[t.root,n&&t.media,i&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),g=["video","audio","picture","iframe","img"],v=["picture","img"],b=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiCardMedia"}),{children:i,className:a,component:s="div",image:l,src:c,style:f}=r,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),_=g.includes(s),x=!_&&l?o({backgroundImage:`url("${l}")`},f):f,w=o(o({},r),{},{component:s,isMediaComponent:_,isImageComponent:v.includes(s)}),O=(e=>{const{classes:t,isMediaComponent:r,isImageComponent:n}=e,i={root:["root",r&&"media",n&&"img"]};return(0,d.default)(i,h.getCardMediaUtilityClass,t)})(w);return(0,m.jsx)(y,o(o({className:(0,u.default)(O.root,a),as:s,role:!_&&l?"img":void 0,ref:t,style:x,ownerState:w,src:_?l||c:void 0},b),{},{children:i}))});t.default=b},80797:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCardMediaUtilityClass=function(e){return(0,o.default)("MuiCardMedia",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCardMedia",["root","media","img"]);t.default=a},63199:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
75Object.defineProperty(t,"__esModule",{value:!0});var o={cardMediaClasses:!0};Object.defineProperty(t,"cardMediaClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(13157)),s=n(r(80797));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},63567:function(e,t,r){"use strict";const n=["className","color","disableShrink","enableTrackSlot","size","style","thickness","value","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(96548)),s(r(7265))),f=r(36431),p=s(r(60999)),h=r(41099),m=s(r(88732)),y=s(r(98982)),g=r(51067),v=r(34766);const b=44,_=f.keyframes` 76 0% { 77 transform: rotate(0deg); 78 } 79 80 100% { 81 transform: rotate(360deg); 82 } 83`,x=f.keyframes` 84 0% { 85 stroke-dasharray: 1px, 200px; 86 stroke-dashoffset: 0; 87 } 88 89 50% { 90 stroke-dasharray: 100px, 200px; 91 stroke-dashoffset: -15px; 92 } 93 94 100% { 95 stroke-dasharray: 1px, 200px; 96 stroke-dashoffset: -126px; 97 } 98`,w="string"!=typeof _?f.css` 99 animation: ${_} 1.4s linear infinite; 100 `:null,O="string"!=typeof x?f.css` 101 animation: ${x} 1.4s ease-in-out infinite; 102 `:null,j=(0,f.styled)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,m.default)(r.color)}`]]}})((0,p.default)(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:w||{animation:`${_} 1.4s linear infinite`}},...Object.entries(e.palette).filter((0,y.default)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),S=(0,f.styled)("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),M=(0,f.styled)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,m.default)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((0,p.default)(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:O||{animation:`${x} 1.4s ease-in-out infinite`}}]}))),k=(0,f.styled)("circle",{name:"MuiCircularProgress",slot:"Track"})((0,p.default)(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),P=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:f,thickness:p=3.6,value:y=0,variant:_="indeterminate"}=r,x=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),w=o(o({},r),{},{color:a,disableShrink:s,size:c,thickness:p,value:y,variant:_,enableTrackSlot:l}
102),O=(e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,o={root:["root",r,`color${(0,m.default)(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${(0,m.default)(r)}`,i&&"circleDisableShrink"]};return(0,d.default)(o,g.getCircularProgressUtilityClass,t)})(w),P={},T={},E={};if("determinate"===_){const e=2*Math.PI*((b-p)/2);P.strokeDasharray=e.toFixed(3),E["aria-valuenow"]=Math.round(y),P.strokeDashoffset=`${((100-y)/100*e).toFixed(3)}px`,T.transform="rotate(-90deg)"}return(0,v.jsx)(j,o(o(o({className:(0,u.default)(O.root,i),style:o(o({width:c,height:c},T),f),ownerState:w,ref:t,role:"progressbar"},E),x),{},{children:(0,v.jsxs)(S,{className:O.svg,ownerState:w,viewBox:"22 22 44 44",children:[l?(0,v.jsx)(k,{className:O.track,ownerState:w,cx:b,cy:b,r:(b-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,v.jsx)(M,{className:O.circle,style:P,ownerState:w,cx:b,cy:b,r:(b-p)/2,fill:"none",strokeWidth:p})]})}))});t.default=P},51067:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getCircularProgressUtilityClass=function(e){return(0,o.default)("MuiCircularProgress",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);t.default=a},83649:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={circularProgressClasses:!0};Object.defineProperty(t,"circularProgressClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(63567)),s=n(r(51067));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},48657:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));var i=r(60522),o=n(r(88732)),a=n(r(49094)),s=r(41099);const l=(0,i.createContainer)({createStyledComponent:(0,a.default)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${(0,o.default)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,s.useDefaultProps)({props:e,name:"MuiContainer"})});t.default=l},5697:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getContainerUtilityClass=function(e){return(0,o.default)("MuiContainer",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);t.default=a},75306:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={containerClasses:!0};Object.defineProperty(t,"containerClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(48657)),s=n(r(5697));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},69135:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(39474).default,a=r(70609).default;
102Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useDefaultProps=function(e){return(0,s.useDefaultProps)(e)};a(r(40809)),o(r(19894));var s=a(r(46795)),l=r(34766);t.default=function(e){return(0,l.jsx)(s.default,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e))}},41099:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useDefaultProps",{enumerable:!0,get:function(){return i.useDefaultProps}});var i=n(r(69135))},52599:function(e,t,r){"use strict";const n=["aria-describedby","aria-labelledby","aria-modal","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onClick","onClose","open","PaperComponent","PaperProps","scroll","slots","slotProps","TransitionComponent","transitionDuration","TransitionProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(78993)),p=s(r(88732)),h=s(r(5492)),m=s(r(80749)),y=s(r(72155)),g=l(r(23011)),v=s(r(66800)),b=s(r(76825)),_=r(36431),x=s(r(60999)),w=r(41099),O=s(r(59179)),j=r(34766);const S=(0,_.styled)(b.default,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),M=(0,_.styled)(h.default,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),k=(0,_.styled)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${(0,p.default)(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),P=(0,_.styled)(y.default,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${(0,p.default)(r.scroll)}`],t[`paperWidth${(0,p.default)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((0,x.default)(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${g.default.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${g.default.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${g.default.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),T=c.forwardRef(function(e,t){const r=(0,w.useDefaultProps)({props:e,name:"MuiDialog"}),i=(0,_.useTheme)(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":l,"aria-modal":h=!0,BackdropComponent:b,BackdropProps:x,children:T,className:E,disableEscapeKeyDown:C=!1,fullScreen:L=!1,fullWidth:A=!1,maxWidth:D="sm",onClick:I,onClose:N,open:R,PaperComponent:z=y.default,PaperProps:F={},scroll:B="paper",slots:Y={},slotProps:U={},TransitionComponent:H=m.default,transitionDuration:$=a,TransitionProps:W}=r,V=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),q=o(o({},r),{},{disableEscapeKeyDown:C,fullScreen:L,fullWidth:A,maxWidth:D,scroll:B}),G=(e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:o}=e,a={root:["root"],backdrop:["backdrop"],container:["container",`scroll${(0,p.default)(r)}`],paper:["paper",`paperScroll${(0,p.default)(r)}`,`paperWidth${(0,p.default)(String(n))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,d.default)(a,g.getDialogUtilityClass,t)})(q),Z=c.useRef(),X=(0,f.default)(l),J=c.useMemo(()=>({titleId:X}),[X]),K={slots:o({transition:H},Y),slotProps:o({transition:W,paper:F,backdrop:x},U)},[Q,ee]=(0,O.default)("root",{elementType:M,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:q,className:(0,u.default)(G.root,E),ref:t}),[te,re]=(0,O.default)("backdrop",{elementType:S,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:q,className:G.backdrop}),[ne,ie]=(0,O.default)("paper",{elementType:P,shouldForwardComponentProp:!0,externalForwardedProps:K,ownerState:q,className:(0,u.default)(G.paper,F.className)}),[oe,ae]=(0,O.default)("container",{elementType:k,externalForwardedProps:K,ownerState:q,className:G.container}),[se,le]=(0,O.default)("transition",{elementType:m.default,externalForwardedProps:K,ownerState:q,additionalProps:{appear:!0,in:R,timeout:$,role:"presentation"}});return(0,j.jsx)(Q,o(o(o({closeAfterTransition:!0,slots:{backdrop:te},slotProps:{backdrop:o({transitionDuration:$,as:b},re)},disableEscapeKeyDown:C,onClose:N,open:R,onClick:e=>{I&&I(e),Z.current&&(Z.current=null,N&&N(e,"backdropClick"))}},ee),V),{},{children:(0,j.jsx)(se,o(o({},le),{},{children:(0,j.jsx)(oe,o(o({onMouseDown:e=>{Z.current=e.target===e.currentTarget}},ae),{},{children:(0,j.jsx)(ne,o(o({as:z,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":X,"aria-modal":h},ie),{},{children:(0,j.jsx)(v.default.Provider,{value:J,children:T})}))}))}))}))});t.default=T},66800:function(e,t,r){"use strict";var n=r(70609).default;
102Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext({});t.default=i},23011:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getDialogUtilityClass=function(e){return(0,o.default)("MuiDialog",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);t.default=a},27275:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={dialogClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"dialogClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(52599)),s=n(r(23011));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},43057:function(e,t,r){"use strict";const n=["className","dividers"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=r(53825),y=s(r(52065)),g=r(34766);const v=(0,f.styled)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})((0,p.default)(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${y.default.root} + &`]:{paddingTop:0}}}]}))),b=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiDialogContent"}),{className:i,dividers:a=!1}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{dividers:a}),c=(e=>{const{classes:t,dividers:r}=e,n={root:["root",r&&"dividers"]};return(0,d.default)(n,m.getDialogContentUtilityClass,t)})(l);
102return(0,g.jsx)(v,o({className:(0,u.default)(c.root,i),ownerState:l,ref:t},s))});t.default=b},53825:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getDialogContentUtilityClass=function(e){return(0,o.default)("MuiDialogContent",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiDialogContent",["root","dividers"]);t.default=a},64320:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={dialogContentClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"dialogContentClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(43057)),s=n(r(53825));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},52065:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getDialogTitleUtilityClass=function(e){return(0,o.default)("MuiDialogTitle",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiDialogTitle",["root"]);t.default=a},69609:function(e,t,r){"use strict";const n=["absolute","children","className","orientation","component","flexItem","light","role","textAlign","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=r(33305),y=r(34766);const g=(0,f.styled)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((0,p.default)(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),v=(0,f.styled)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((0,p.default)(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),b=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:a,className:s,orientation:l="horizontal",component:c=(a||"vertical"===l?"div":"hr"),flexItem:f=!1,light:p=!1,role:b=("hr"!==c?"separator":void 0),textAlign:_="center",variant:x="fullWidth"}=r,w=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),O=o(o({},r),{},{absolute:i,component:c,flexItem:f,light:p,orientation:l,role:b,textAlign:_,variant:x}),j=(e=>{const{absolute:t,children:r,classes:n,flexItem:i,light:o,orientation:a,textAlign:s,variant:l}=e,c={root:["root",t&&"absolute",l,o&&"light","vertical"===a&&"vertical",i&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,d.default)(c,m.getDividerUtilityClass,n)})(O);return(0,y.jsx)(g,o(o({as:c,className:(0,u.default)(j.root,s),role:b,ref:t,ownerState:O,"aria-orientation":"separator"!==b||"hr"===c&&"vertical"!==l?void 0:l},w),{},{children:a?(0,y.jsx)(v,{className:j.wrapper,ownerState:O,children:a}):null}))});b&&(b.muiSkipListHighlight=!0);t.default=b},33305:function(e,t,r){"use strict";var n=r(39474).default;
102Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getDividerUtilityClass=function(e){return(0,o.default)("MuiDivider",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.default=a},90672:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={dividerClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"dividerClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(69609)),s=n(r(33305));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},22785:function(e,t,r){"use strict";const n=["BackdropProps"],i=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant","slots","slotProps"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getAnchor=A,t.isHorizontal=L;var d=u(r(40809)),f=(c(r(19894)),c(r(44173))),p=(c(r(99904)),c(r(7265))),h=r(75926),m=c(r(5492)),y=c(r(5996)),g=c(r(72155)),v=c(r(88732)),b=c(r(95944)),_=r(36431),x=c(r(60999)),w=r(41099),O=r(60561),j=c(r(59179)),S=r(84580),M=r(34766);const k=(e,t)=>{const{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,"temporary"===r.variant&&t.modal]},P=(0,_.styled)(m.default,{name:"MuiDrawer",slot:"Root",overridesResolver:k})((0,x.default)(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),T=(0,_.styled)("div",{shouldForwardProp:b.default,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:k})({flex:"0 0 auto"}),E=(0,_.styled)(g.default,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${(0,v.default)(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${(0,v.default)(r.anchor)}`]]}})((0,x.default)(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}
102))),C={left:"right",right:"left",top:"down",bottom:"up"};function L(e){return["left","right"].includes(e)}function A({direction:e},t){return"rtl"===e&&L(t)?C[t]:t}const D=d.forwardRef(function(e,t){const r=(0,w.useDefaultProps)({props:e,name:"MuiDrawer"}),o=(0,_.useTheme)(),s=(0,h.useRtl)(),c={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:m,children:g,className:b,elevation:x=16,hideBackdrop:k=!1,ModalProps:{BackdropProps:L}={},onClose:D,open:I=!1,PaperProps:N={},SlideProps:R,TransitionComponent:z,transitionDuration:F=c,variant:B="temporary",slots:Y={},slotProps:U={}}=r,H=l(r.ModalProps,n),$=l(r,i),W=d.useRef(!1);d.useEffect(()=>{W.current=!0},[]);const V=A({direction:s?"rtl":"ltr"},u),q=u,G=a(a({},r),{},{anchor:q,elevation:x,open:I,variant:B},$),Z=(e=>{const{classes:t,anchor:r,variant:n}=e,i={root:["root",`anchor${(0,v.default)(r)}`],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,v.default)(r)}`,"temporary"!==n&&`paperAnchorDocked${(0,v.default)(r)}`]};return(0,p.default)(i,O.getDrawerUtilityClass,t)})(G),X={slots:a({transition:z},Y),slotProps:a(a({paper:N,transition:R},U),{},{backdrop:(0,S.mergeSlotProps)(U.backdrop||a(a({},m),L),{transitionDuration:F})})},[J,K]=(0,j.default)("root",{ref:t,elementType:P,className:(0,f.default)(Z.root,Z.modal,b),shouldForwardComponentProp:!0,ownerState:G,externalForwardedProps:a(a(a({},X),$),H),additionalProps:{open:I,onClose:D,hideBackdrop:k,slots:{backdrop:X.slots.backdrop},slotProps:{backdrop:X.slotProps.backdrop}}}),[Q,ee]=(0,j.default)("paper",{elementType:E,shouldForwardComponentProp:!0,className:(0,f.default)(Z.paper,N.className),ownerState:G,externalForwardedProps:X,additionalProps:a({elevation:"temporary"===B?x:0,square:!0},"temporary"===B&&{role:"dialog","aria-modal":"true"})}),[te,re]=(0,j.default)("docked",{elementType:T,ref:t,className:(0,f.default)(Z.root,Z.docked,b),ownerState:G,externalForwardedProps:X,additionalProps:$}),[ne,ie]=(0,j.default)("transition",{elementType:y.default,ownerState:G,externalForwardedProps:X,additionalProps:{in:I,direction:C[V],timeout:F,appear:W.current}}),oe=(0,M.jsx)(Q,a(a({},ee),{},{children:g}));if("permanent"===B)return(0,M.jsx)(te,a(a({},re),{},{children:oe}));const ae=(0,M.jsx)(ne,a(a({},ie),{},{children:oe}));return"persistent"===B?(0,M.jsx)(te,a(a({},re),{},{children:ae})):(0,M.jsx)(J,a(a({},K),{},{children:ae}))});t.default=D},60561:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getDrawerUtilityClass=function(e){return(0,o.default)("MuiDrawer",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);t.default=a},32070:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={drawerClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"drawerClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(22785)),s=n(r(60561));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},23287:function(e,t,r){"use strict";const n=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],i=["ownerState"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
102t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=u(r(40809)),f=(c(r(19894)),r(1232)),p=(c(r(37254)),c(r(15607))),h=r(36431),m=r(2944),y=c(r(29314)),g=r(34766);const v={entering:{opacity:1},entered:{opacity:1}},b=d.forwardRef(function(e,t){const r=(0,h.useTheme)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:c=!0,children:u,easing:b,in:_,onEnter:x,onEntered:w,onEntering:O,onExit:j,onExited:S,onExiting:M,style:k,timeout:P=o,TransitionComponent:T=f.Transition}=e,E=l(e,n),C=d.useRef(null),L=(0,y.default)(C,(0,p.default)(u),t),A=e=>t=>{if(e){const r=C.current;void 0===t?e(r):e(r,t)}},D=A(O),I=A((e,t)=>{(0,m.reflow)(e);const n=(0,m.getTransitionProps)({style:k,timeout:P,easing:b},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),x&&x(e,t)}),N=A(w),R=A(M),z=A(e=>{const t=(0,m.getTransitionProps)({style:k,timeout:P,easing:b},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),j&&j(e)}),F=A(S);return(0,g.jsx)(T,a(a({appear:c,in:_,nodeRef:C,onEnter:I,onEntered:N,onEntering:D,onExit:z,onExited:F,onExiting:R,addEndListener:e=>{s&&s(C.current,e)},timeout:P},E),{},{children:(e,t)=>{let{ownerState:r}=t,n=l(t,i);return d.cloneElement(u,a({style:a(a(a({opacity:0,visibility:"exited"!==e||_?void 0:"hidden"},v[e]),k),u.props.style),ref:L},n))}}))});t.default=b},80749:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(23287))},36965:function(e,t,r){"use strict";const n=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=s(r(26309)),d=(s(r(47654)),s(r(19894)),s(r(7265))),f=s(r(26924)),p=s(r(95944)),h=r(36431),m=s(r(60999)),y=s(r(98982)),g=r(41099),v=l(r(15485)),b=r(83389),_=r(84580),x=r(34766);const w=(0,h.styled)(b.InputBaseRoot,{shouldForwardProp:e=>(0,p.default)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...(0,b.rootOverridesResolver)(e,t),!r.disableUnderline&&t.underline]}})((0,m.default)(({theme:e})=>{const t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}}
102,[`&.${v.default.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${v.default.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${v.default.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${v.default.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${v.default.disabled}, .${v.default.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${v.default.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,y.default)()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),O=(0,h.styled)(b.InputBaseInput,{name:"MuiFilledInput",slot:"Input",overridesResolver:b.inputOverridesResolver})((0,m.default)(({theme:e})=>o(o(o({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}}),e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}}),{},{variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),j=c.forwardRef(function(e,t){const r=(0,g.useDefaultProps)({props:e,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:a={},componentsProps:s,fullWidth:l=!1,hiddenLabel:c,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:y={},type:b="text"}=r,j=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),S=o(o({},r),{},{disableUnderline:i,fullWidth:l,inputComponent:p,multiline:h,type:b}),M=(e=>{const{classes:t,disableUnderline:r,startAdornment:n,endAdornment:i,size:a,hiddenLabel:s,multiline:l}=e,c={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd","small"===a&&`size${(0,_.capitalize)(a)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},u=(0,d.default)(c,v.getFilledInputUtilityClass,t);return o(o({},t),u)})(r),k={root:{ownerState:S}
102,input:{ownerState:S}},P=m??s?(0,u.default)(k,m??s):k,T=y.root??a.Root??w,E=y.input??a.Input??O;return(0,x.jsx)(f.default,o(o({slots:{root:T,input:E},slotProps:P,fullWidth:l,inputComponent:p,multiline:h,ref:t,type:b},j),{},{classes:M}))});j.muiName="Input";t.default=j},15485:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getFilledInputUtilityClass=function(e){return(0,l.default)("MuiFilledInput",e)};
102var s=a(r(85298)),l=a(r(13810));const c=i(i({},r(26924).inputBaseClasses),(0,s.default)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"]));t.default=c},71689:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={filledInputClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"filledInputClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(36965)),s=n(r(15485));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},90346:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext(void 0);t.default=i},18368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}},33734:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o.useContext(a.default)};var o=i(r(40809)),a=n(r(90346))},47313:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;a(r(19894));var s=r(60522),l=a(r(73587)),c=a(r(60206)),u=r(34766);t.default=function(e){return(0,u.jsx)(s.GlobalStyles,i(i({},e),{},{defaultTheme:l.default,themeId:c.default}))}},24022:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(47313))},96991:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));var i=r(31859),o=(n(r(21370)),r(39765)),a=r(41099),s=n(r(64921));const l=(0,i.createGrid)({createStyledComponent:(0,o.styled)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.container&&t.container]}}),componentName:"MuiGrid",useThemeProps:e=>(0,a.useDefaultProps)({props:e,name:"MuiGrid"}),useTheme:s.default});t.default=l},76203:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getGridUtilityClass=function(e){return(0,o.default)("MuiGrid",e)};var i=n(r(85298)),o=n(r(13810));const a=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],s=(0,i.default)("MuiGrid",["root","container",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...a.map(e=>`grid-xs-${e}`),...a.map(e=>`grid-sm-${e}`),...a.map(e=>`grid-md-${e}`),...a.map(e=>`grid-lg-${e}`),...a.map(e=>`grid-xl-${e}`)]);t.default=s},14355:function(e,t,r){"use strict";var n=r(70609).default;
102Object.defineProperty(t,"__esModule",{value:!0});var i={gridClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"gridClasses",{enumerable:!0,get:function(){return a.default}});var o=n(r(96991));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=n(r(76203));Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))})},64277:function(e,t,r){"use strict";const n=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],i=["ownerState"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=u(r(40809)),f=(c(r(19894)),c(r(90979))),p=(c(r(37254)),c(r(15607))),h=r(1232),m=r(36431),y=r(2944),g=c(r(29314)),v=r(34766);function b(e){return`scale(${e}, ${e**2})`}const _={entering:{opacity:1,transform:b(1)},entered:{opacity:1,transform:"none"}},x="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),w=d.forwardRef(function(e,t){const{addEndListener:r,appear:o=!0,children:s,easing:c,in:u,onEnter:w,onEntered:O,onEntering:j,onExit:S,onExited:M,onExiting:k,style:P,timeout:T="auto",TransitionComponent:E=h.Transition}=e,C=l(e,n),L=(0,f.default)(),A=d.useRef(),D=(0,m.useTheme)(),I=d.useRef(null),N=(0,g.default)(I,(0,p.default)(s),t),R=e=>t=>{if(e){const r=I.current;void 0===t?e(r):e(r,t)}},z=R(j),F=R((e,t)=>{(0,y.reflow)(e);const{duration:r,delay:n,easing:i}=(0,y.getTransitionProps)({style:P,timeout:T,easing:c},{mode:"enter"});let o;"auto"===T?(o=D.transitions.getAutoHeightDuration(e.clientHeight),A.current=o):o=r,e.style.transition=[D.transitions.create("opacity",{duration:o,delay:n}),D.transitions.create("transform",{duration:x?o:.666*o,delay:n,easing:i})].join(","),w&&w(e,t)}),B=R(O),Y=R(k),U=R(e=>{const{duration:t,delay:r,easing:n}=(0,y.getTransitionProps)({style:P,timeout:T,easing:c},{mode:"exit"});let i;"auto"===T?(i=D.transitions.getAutoHeightDuration(e.clientHeight),A.current=i):i=t,e.style.transition=[D.transitions.create("opacity",{duration:i,delay:r}),D.transitions.create("transform",{duration:x?i:.666*i,delay:x?r:r||.333*i,easing:n})].join(","),e.style.opacity=0,e.style.transform=b(.75),S&&S(e)}),H=R(M);return(0,v.jsx)(E,a(a({appear:o,in:u,nodeRef:I,onEnter:F,onEntered:B,onEntering:z,onExit:U,onExited:H,onExiting:Y,addEndListener:e=>{"auto"===T&&L.start(A.current||0,e),r&&r(I.current,e)},timeout:"auto"===T?null:T},C),{},{children:(e,t)=>{let{ownerState:r}=t,n=l(t,i);return d.cloneElement(s,a({style:a(a(a({opacity:0,transform:b(.75),visibility:"exited"!==e||u?void 0:"hidden"},_[e]),P),s.props.style),ref:N},n))}}))});w&&(w.muiSupportAuto=!0);t.default=w},50752:function(e,t,r){"use strict";var n=r(39474).default;
102Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(64277))},33217:function(e,t,r){"use strict";const n=["edge","children","className","color","disabled","disableFocusRipple","size","id","loading","loadingIndicator"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(96548)),s(r(7265))),f=r(84580),p=r(36431),h=s(r(60999)),m=s(r(98982)),y=r(41099),g=s(r(3986)),v=s(r(83649)),b=s(r(88732)),_=l(r(16081)),x=r(34766);const w=(0,p.styled)(g.default,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,"default"!==r.color&&t[`color${(0,b.default)(r.color)}`],r.edge&&t[`edge${(0,b.default)(r.edge)}`],t[`size${(0,b.default)(r.size)}`]]}})((0,h.default)(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),(0,h.default)(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${_.default.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${_.default.loading}`]:{color:"transparent"}}))),O=(0,p.styled)("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),j=c.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:a,className:s,color:l="default",disabled:c=!1,disableFocusRipple:p=!1,size:h="medium",id:m,loading:g=null,loadingIndicator:j}=r,S=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),M=(0,f.unstable_useId)(m),k=j??(0,x.jsx)(v.default,{"aria-labelledby":M,color:"inherit",size:16}),P=o(o({},r),{},{edge:i,color:l,disabled:c,disableFocusRipple:p,loading:g,loadingIndicator:k,size:h}),T=(e=>{const{classes:t,disabled:r,color:n,edge:i,size:o,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled","default"!==n&&`color${(0,b.default)(n)}`,i&&`edge${(0,b.default)(i)}`,`size${(0,b.default)(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,d.default)(s,_.getIconButtonUtilityClass,t)})(P);return(0,x.jsxs)(w,o(o({id:g?M:m,className:(0,u.default)(T.root,s),centerRipple:!0,focusRipple:!p,disabled:c||g,ref:t},S),{},{ownerState:P,children:["boolean"==typeof g&&(0,x.jsx)("span",{className:T.loadingWrapper,style:{display:"contents"},children:(0,x.jsx)(O,{className:T.loadingIndicator,ownerState:P,children:g&&k})}),a]}))});t.default=j},16081:function(e,t,r){"use strict";var n=r(39474).default;
102Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getIconButtonUtilityClass=function(e){return(0,o.default)("MuiIconButton",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]);t.default=a},55702:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={iconButtonClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"iconButtonClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(33217)),s=n(r(16081));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},84305:function(e,t,r){"use strict";const n=["children","className","cols","component","rowHeight","gap","style","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(70609).default,l=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(7265)),u=(l(r(99904)),l(r(44173))),d=(l(r(19894)),s(r(40809))),f=r(36431),p=r(41099),h=r(75073),m=l(r(16666)),y=r(34766);const g=(0,f.styled)("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch",variants:[{props:{variant:"masonry"},style:{display:"block"}}]}),v=d.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiImageList"}),{children:i,className:a,cols:s=2,component:l="ul",rowHeight:f="auto",gap:v=4,style:b,variant:_="standard"}=r,x=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),w=d.useMemo(()=>({rowHeight:f,gap:v,variant:_}),[f,v,_]),O=o("masonry"===_?{columnCount:s,columnGap:v}:{gridTemplateColumns:`repeat(${s}, 1fr)`,gap:v},b),j=o(o({},r),{},{component:l,gap:v,rowHeight:f,variant:_}),S=(e=>{const{classes:t,variant:r}=e,n={root:["root",r]};return(0,c.default)(n,h.getImageListUtilityClass,t)})(j);return(0,y.jsx)(g,o(o({as:l,className:(0,u.default)(S.root,S[_],a),ref:t,style:O,ownerState:j},x),{},{children:(0,y.jsx)(m.default.Provider,{value:w,children:i})}))});t.default=v},16666:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext({});t.default=i},75073:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getImageListUtilityClass=function(e){return(0,o.default)("MuiImageList",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiImageList",["root","masonry","quilted","
102standard","woven"]);t.default=a},83360:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={imageListClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"imageListClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(84305)),s=n(r(75073));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},65965:function(e,t,r){"use strict";const n=["children","className","cols","component","rows","style"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(70609).default,l=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(7265)),u=(l(r(99904)),l(r(44173))),d=(l(r(19894)),s(r(40809))),f=(r(76333),l(r(16666))),p=r(36431),h=r(41099),m=l(r(68201)),y=s(r(97349)),g=r(34766);const v=(0,p.styled)("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${y.default.img}`]:t.img},t.root,t[r.variant]]}})({display:"block",position:"relative",[`& .${y.default.img}`]:{objectFit:"cover",width:"100%",height:"100%",display:"block"},variants:[{props:{variant:"standard"},style:{display:"flex",flexDirection:"column"}},{props:{variant:"woven"},style:{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}}},{props:{variant:"standard"},style:{[`& .${y.default.img}`]:{height:"auto",flexGrow:1}}}]}),b=d.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiImageListItem"}),{children:i,className:a,cols:s=1,component:l="li",rows:p=1,style:b}=r,_=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),{rowHeight:x="auto",gap:w,variant:O}=d.useContext(f.default);let j="auto";"woven"===O?j=void 0:"auto"!==x&&(j=x*p+w*(p-1));const S=o(o({},r),{},{cols:s,component:l,gap:w,rowHeight:x,rows:p,variant:O}),M=(e=>{const{classes:t,variant:r}=e,n={root:["root",r],img:["img"]};return(0,c.default)(n,y.getImageListItemUtilityClass,t)})(S);return(0,g.jsx)(v,o(o({as:l,className:(0,u.default)(M.root,M[O],a),ref:t,style:o({height:j,gridColumnEnd:"masonry"!==O?`span ${s}`:void 0,gridRowEnd:"masonry"!==O?`span ${p}`:void 0,marginBottom:"masonry"===O?w:void 0,breakInside:"masonry"===O?"avoid":void 0},b),ownerState:S},_),{},{children:d.Children.map(i,e=>d.isValidElement(e)?"img"===e.type||(0,m.default)(e,["Image"])?d.cloneElement(e,{className:(0,u.default)(M.img,e.props.className)}):e:null)}))});t.default=b},97349:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getImageListItemUtilityClass=function(e){return(0,o.default)("MuiImageListItem",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]);t.default=a},93219:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
102Object.defineProperty(t,"__esModule",{value:!0});var o={imageListItemClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"imageListItemClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(65965)),s=n(r(97349));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},64265:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.defaultConfig=t.default=void 0;n(r(19894));var i=n(r(62944)),o=r(34766);const a=t.defaultConfig={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};t.default=function(e){const{defaultMode:t="system",defaultLightColorScheme:r=a.defaultLightColorScheme,defaultDarkColorScheme:n=a.defaultDarkColorScheme,modeStorageKey:s=a.modeStorageKey,colorSchemeStorageKey:l=a.colorSchemeStorageKey,attribute:c=a.attribute,colorSchemeNode:u="document.documentElement",nonce:d}=e;return(0,o.jsx)(i.default,{defaultMode:t,defaultLightColorScheme:r,defaultDarkColorScheme:n,modeStorageKey:s,colorSchemeStorageKey:l,attribute:c,colorSchemeNode:u,nonce:d})}},61825:function(e,t,r){"use strict";const n=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(7265))),d=s(r(26309)),f=(s(r(47654)),s(r(26924))),p=s(r(95944)),h=r(36431),m=s(r(60999)),y=s(r(98982)),g=r(41099),v=l(r(75889)),b=r(83389),_=r(34766);const x=(0,h.styled)(b.InputBaseRoot,{shouldForwardProp:e=>(0,p.default)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...(0,b.rootOverridesResolver)(e,t),!r.disableUnderline&&t.underline]}})((0,m.default)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${v.default.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${v.default.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${v.default.disabled}, .${v.default.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${v.default.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,y.default)()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),w=(0,h.styled)(b.InputBaseInput,{name:"MuiInput",slot:"Input",overridesResolver:b.inputOverridesResolver})({}),O=c.forwardRef(function(e,t){const r=(0,g.useDefaultProps)({props:e,name:"MuiInput"}),{disableUnderline:i=!1,components:a={},componentsProps:s,fullWidth:l=!1,inputComponent:c="input",multiline:p=!1,slotProps:h,slots:m={},type:y="text"}=r,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),O=(e=>{const{classes:t,disableUnderline:r}=e,n={root:["root",!r&&"underline"],input:["input"]},i=(0,u.default)(n,v.getInputUtilityClass,t);return o(o({},t),i)})(r),j={root:{ownerState:{disableUnderline:i}}},S=h??s?(0,d.default)(h??s,j):j,M=m.root??a.Root??x,k=m.input??a.Input??w;
102return(0,_.jsx)(f.default,o(o({slots:{root:M,input:k},slotProps:S,fullWidth:l,inputComponent:c,multiline:p,ref:t,type:y},b),{},{classes:O}))});O.muiName="Input";t.default=O},45505:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={inputClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"inputClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(61825)),s=n(r(75889));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},75889:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getInputUtilityClass=function(e){return(0,l.default)("MuiInput",e)};
102var s=a(r(85298)),l=a(r(13810));const c=i(i({},r(26924).inputBaseClasses),(0,s.default)("MuiInput",["root","underline","input"]));t.default=c},83389:function(e,t,r){"use strict";const n=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.rootOverridesResolver=t.inputOverridesResolver=t.default=t.InputBaseRoot=t.InputBaseInput=void 0;var c,u=s(r(82406)),d=l(r(40809)),f=(s(r(19894)),s(r(44173))),p=(s(r(90462)),s(r(47654)),s(r(7265))),h=s(r(24822)),m=s(r(16163)),y=s(r(18368)),g=s(r(90346)),v=s(r(33734)),b=r(36431),_=s(r(60999)),x=r(41099),w=s(r(88732)),O=s(r(29314)),j=s(r(47348)),S=r(13093),M=l(r(47669)),k=r(34766);const P=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${(0,w.default)(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]};t.rootOverridesResolver=P;const T=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]};t.inputOverridesResolver=T;const E=t.InputBaseRoot=(0,b.styled)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:P})((0,_.default)(({theme:e})=>o(o({},e.typography.body1),{},{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${M.default.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),C=t.InputBaseInput=(0,b.styled)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:T})((0,_.default)(({theme:e})=>{const t="light"===e.palette.mode,r=o(o({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5}),{},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),n={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${M.default.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${M.default.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),L=(0,b.globalCss)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),A=d.forwardRef(function(e,t){const r=(0,x.useDefaultProps)({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,color:b,components:_={},componentsProps:P={},defaultValue:T,disabled:A,disableInjectingGlobalStyles:D,endAdornment:I,error:N,fullWidth:R=!1,id:z,inputComponent:F="input",inputProps:B={},inputRef:Y,margin:U,maxRows:H,minRows:$,multiline:W=!1,name:V,onBlur:q,onChange:G,onClick:Z,onFocus:X,onKeyDown:J,onKeyUp:K,placeholder:Q,readOnly:ee,render
102Suffix:te,rows:re,size:ne,slotProps:ie={},slots:oe={},startAdornment:ae,type:se="text",value:le}=r,ce=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),ue=null!=B.value?B.value:le,{current:de}=d.useRef(null!=ue),fe=d.useRef(),pe=d.useCallback(e=>{0},[]),he=(0,O.default)(fe,Y,B.ref,pe),[me,ye]=d.useState(!1),ge=(0,v.default)();const ve=(0,y.default)({props:r,muiFormControl:ge,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ve.focused=ge?ge.focused:me,d.useEffect(()=>{!ge&&A&&me&&(ye(!1),q&&q())},[ge,A,me,q]);const be=ge&&ge.onFilled,_e=ge&&ge.onEmpty,xe=d.useCallback(e=>{(0,S.isFilled)(e)?be&&be():_e&&_e()},[be,_e]);(0,j.default)(()=>{de&&xe({value:ue})},[ue,xe,de]);d.useEffect(()=>{xe(fe.current)},[]);let we=F,Oe=B;W&&"input"===we&&(Oe=o(re?{type:void 0,minRows:re,maxRows:re}:{type:void 0,maxRows:H,minRows:$},Oe),we=m.default);d.useEffect(()=>{ge&&ge.setAdornedStart(Boolean(ae))},[ge,ae]);const je=o(o({},r),{},{color:ve.color||"primary",disabled:ve.disabled,endAdornment:I,error:ve.error,focused:ve.focused,formControl:ge,fullWidth:R,hiddenLabel:ve.hiddenLabel,multiline:W,size:ve.size,startAdornment:ae,type:se}),Se=(e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:h,type:m}=e,y={root:["root",`color${(0,w.default)(r)}`,n&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${(0,w.default)(f)}`,u&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return(0,p.default)(y,M.getInputBaseUtilityClass,t)})(je),Me=oe.root||_.Root||E,ke=ie.root||P.root||{},Pe=oe.input||_.Input||C;return Oe=o(o({},Oe),ie.input??P.input),(0,k.jsxs)(d.Fragment,{children:[!D&&"function"==typeof L&&(c||(c=(0,k.jsx)(L,{}))),(0,k.jsxs)(Me,o(o(o(o({},ke),{},{ref:t,onClick:e=>{fe.current&&e.currentTarget===e.target&&fe.current.focus(),Z&&Z(e)}},ce),!(0,h.default)(Me)&&{ownerState:o(o({},je),ke.ownerState)}),{},{className:(0,f.default)(Se.root,ke.className,l,ee&&"MuiInputBase-readOnly"),children:[ae,(0,k.jsx)(g.default.Provider,{value:null,children:(0,k.jsx)(Pe,o(o(o({"aria-invalid":ve.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:T,disabled:ve.disabled,id:z,onAnimationStart:e=>{xe("mui-auto-fill-cancel"===e.animationName?fe.current:{value:"x"})},name:V,placeholder:Q,readOnly:ee,required:ve.required,rows:re,value:ue,onKeyDown:J,onKeyUp:K,type:se},Oe),!(0,h.default)(Pe)&&{as:we,ownerState:o(o({},je),Oe.ownerState)}),{},{ref:he,className:(0,f.default)(Se.input,Oe.className,ee&&"MuiInputBase-readOnly"),onBlur:e=>{q&&q(e),B.onBlur&&B.onBlur(e),ge&&ge.onBlur?ge.onBlur(e):ye(!1)},onChange:(e,...t)=>{if(!de){const t=e.target||fe.current;if(null==t)throw new Error((0,u.default)(1));xe({value:t.value})}B.onChange&&B.onChange(e,...t),G&&G(e,...t)},onFocus:e=>{X&&X(e),B.onFocus&&B.onFocus(e),ge&&ge.onFocus?ge.onFocus(e):ye(!0)}}))}),I,te?te(o(o({},ve),{},{startAdornment:ae})):null]}))]})});t.default=A},26924:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={inputBaseClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"inputBaseClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(83389)),s=n(r(47669));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},47669:function(e,t,r){"use strict";var n=r(39474).default;
102Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getInputBaseUtilityClass=function(e){return(0,o.default)("MuiInputBase",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);t.default=a},13093:function(e,t){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}Object.defineProperty(t,"__esModule",{value:!0}),t.hasValue=r,t.isAdornedStart=function(e){return e.startAdornment},t.isFilled=function(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}},17312:function(e,t,r){"use strict";const n=["className","color","value","valueBuffer","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(75926),p=r(36431),h=s(r(60999)),m=s(r(98982)),y=r(41099),g=s(r(88732)),v=r(82887),b=r(34766);const _=p.keyframes` 103 0% { 104 left: -35%; 105 right: 100%; 106 } 107 108 60% { 109 left: 100%; 110 right: -90%; 111 } 112 113 100% { 114 left: 100%; 115 right: -90%; 116 } 117`,x="string"!=typeof _?p.css` 118 animation: ${_} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 119 `:null,w=p.keyframes` 120 0% { 121 left: -200%; 122 right: 100%; 123 } 124 125 60% { 126 left: 107%; 127 right: -8%; 128 } 129 130 100% { 131 left: 107%; 132 right: -8%; 133 } 134`,O="string"!=typeof w?p.css` 135 animation: ${w} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 136 `:null,j=p.keyframes` 137 0% { 138 opacity: 1; 139 background-position: 0 -23px; 140 } 141 142 60% { 143 opacity: 0; 144 background-position: 0 -23px; 145 } 146 147 100% { 148 opacity: 1; 149 background-position: -200px -23px; 150 } 151`,S="string"!=typeof j?p.css` 152 animation: ${j} 3s infinite linear; 153 `:null,M=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),k=(0,p.styled)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${(0,g.default)(r.color)}`],t[r.variant]]}})((0,h.default)(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t},style:{backgroundColor:M(e,t)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),P=(0,p.styled)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${(0,g.default)(r.color)}`]]}})((0,h.default)(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>{const r=M(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),S||{animation:`${j} 3s infinite linear`}),T=(0,p.styled)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar1,t[`barColor${(0,g.default)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})((0,h.default)(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:x||{animation:`${_} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),E=(0,p.styled)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar2,t[`barColor${(0,g.default)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})((0,h.default)(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:M(e,t),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:O||{animation:`${w} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),C=c.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:s,valueBuffer:l,variant:c="indeterminate"}=r,p=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),h=o(o({},r),{},{color:a,variant:c}),m=(e=>{const{classes:t,variant:r,color:n}=e,i={root:["root",`color${(0,g.default)(n)}`,r],dashed:["dashed",`dashedColor${(0,g.default)(n)}`],bar1:["bar","bar1",`barColor${(0,g.default)(n)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==r&&`barColor${(0,g.default)(n)}`,"buffer"===r&&`color${(0,g.default)(n)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,d.default)(i,v.getLinearProgressUtilityClass,t)})(h),_=(0,f.useRtl)(),x={},w={bar1:{},bar2:{}};if("determinate"===c||"buffer"===c)if(void 0!==s){x["aria-valuenow"]=Math.round(s),x["aria-valuemin"]=0,x["aria-valuemax"]=100;let e=s-100;_&&(e=-e),w.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===c)if(void 0!==l){let e=(l||0)-100;_&&(e=-e),w.bar2.transform=`translateX(${e}%)`}else 0;return(0,b.jsxs)(k,o(o(o({className:(0,u.default)(m.root,i),ownerState:h,role:"progressbar"},x),{},{ref:t},p),{},{children:["buffer"===c?(0,b.jsx)(P,{className:m.dashed,ownerState:h}):null,(0,b.jsx)(T,{className:m.bar1,ownerState:h,style:w.bar1}),"determinate"===c?null:(0,b.jsx)(E,{className:m.bar2,ownerState:h,style:w.bar2})]}))});t.default=C},72721:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={linearProgressClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"linearProgressClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(17312)),s=n(r(82887));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},82887:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getLinearProgressUtilityClass=function(e){return(0,o.default)("MuiLinearProgress",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);t.default=a},97363:function(e,t,r){"use strict";const n=["children","className","component","dense","disablePadding","subheader"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=s(r(27628)),m=r(87463),y=r(34766);const g=(0,f.styled)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),v=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiList"}),{children:i,className:a,component:s="ul",dense:l=!1,disablePadding:f=!1,subheader:v}=r,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),_=c.useMemo(()=>({dense:l}),[l]),x=o(o({},r),{},{component:s,dense:l,disablePadding:f}),w=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:i}=e,o={root:["root",!r&&"padding",n&&"dense",i&&"subheader"]};return(0,d.default)(o,m.getListUtilityClass,t)})(x);return(0,y.jsx)(h.default.Provider,{value:_,children:(0,y.jsxs)(g,o(o({as:s,className:(0,u.default)(w.root,a),ref:t,ownerState:x},b),{},{children:[v,i]}))})});t.default=v},27628:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext({});t.default=i},12063:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={listClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(97363)),s=n(r(87463));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},87463:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListUtilityClass=function(e){return(0,o.default)("MuiList",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiList",["root","padding","dense","subheader"]);t.default=a},87705:function(e,t,r){"use strict";const n=["className"],i=["alignItems","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disableGutters","disablePadding","divider","secondaryAction","slotProps","slots"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.overridesResolver=t.default=t.ListItemRoot=void 0;var d=u(r(40809)),f=(c(r(19894)),c(r(44173))),p=c(r(7265)),h=(c(r(90462)),c(r(96548)),c(r(24822))),m=r(36431),y=c(r(60999)),g=r(41099),v=c(r(68201)),b=c(r(29314)),_=c(r(59179)),x=c(r(27628)),w=r(13929),O=r(69880),j=c(r(96956)),S=r(34766);const M=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.hasSecondaryAction&&t.secondaryAction]};t.overridesResolver=M;const k=t.ListItemRoot=(0,m.styled)("div",{name:"MuiListItem",slot:"Root",overridesResolver:M})((0,y.default)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${O.listItemButtonClasses.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),P=(0,m.styled)("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),T=d.forwardRef(function(e,t){const r=(0,g.useDefaultProps)({props:e,name:"MuiListItem"}),{alignItems:o="center",children:s,className:c,component:u,components:m={},componentsProps:y={},ContainerComponent:O="li",ContainerProps:{className:M}={},dense:T=!1,disableGutters:E=!1,disablePadding:C=!1,divider:L=!1,secondaryAction:A,slotProps:D={},slots:I={}}=r,N=l(r.ContainerProps,n),R=l(r,i),z=d.useContext(x.default),F=d.useMemo(()=>({dense:T||z.dense||!1,alignItems:o,disableGutters:E}),[o,z.dense,T,E]),B=d.useRef(null),Y=d.Children.toArray(s),U=Y.length&&(0,v.default)(Y[Y.length-1],["ListItemSecondaryAction"]),H=a(a({},r),{},{alignItems:o,dense:F.dense,disableGutters:E,disablePadding:C,divider:L,hasSecondaryAction:U}),$=(e=>{const{alignItems:t,classes:r,dense:n,disableGutters:i,disablePadding:o,divider:a,hasSecondaryAction:s}=e,l={root:["root",n&&"dense",!i&&"gutters",!o&&"padding",a&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]};return(0,p.default)(l,w.getListItemUtilityClass,r)})(H),W=(0,b.default)(B,t),V={slots:I,slotProps:D},[q,G]=(0,_.default)("secondaryAction",{elementType:j.default,externalForwardedProps:V,ownerState:H,className:$.secondaryAction}),Z=I.root||m.Root||k,X=D.root||y.root||{},J=a({className:(0,f.default)($.root,X.className,c)},R);let K=u||"li";return U?(K=J.component||u?K:"div","li"===O&&("li"===K?K="div":"li"===J.component&&(J.component="div")),(0,S.jsx)(x.default.Provider,{value:F,children:(0,S.jsxs)(P,a(a({as:O,className:(0,f.default)($.container,M),ref:W,ownerState:H},N),{},{children:[(0,S.jsx)(Z,a(a(a(a({}
153,X),!(0,h.default)(Z)&&{as:K,ownerState:a(a({},H),X.ownerState)}),J),{},{children:Y})),Y.pop()]}))})):(0,S.jsx)(x.default.Provider,{value:F,children:(0,S.jsxs)(Z,a(a(a(a({},X),{},{as:K,ref:W},!(0,h.default)(Z)&&{ownerState:a(a({},H),X.ownerState)}),J),{},{children:[Y,A&&(0,S.jsx)(q,a(a({},G),{},{children:A}))]}))})});t.default=T},42876:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={listItemClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listItemClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(87705)),s=n(r(13929));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},13929:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListItemUtilityClass=function(e){return(0,o.default)("MuiListItem",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);t.default=a},30173:function(e,t,r){"use strict";const n=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.overridesResolver=t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=s(r(95944)),y=s(r(3986)),g=s(r(47348)),v=s(r(29314)),b=s(r(27628)),_=l(r(93781)),x=r(34766);const w=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters]};t.overridesResolver=w;const O=(0,f.styled)(y.default,{shouldForwardProp:e=>(0,m.default)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:w})((0,p.default)(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_.default.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${_.default.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${_.default.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}}
153,[`&.${_.default.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${_.default.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),j=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:s="div",children:l,dense:f=!1,disableGutters:p=!1,divider:m=!1,focusVisibleClassName:y,selected:w=!1,className:j}=r,S=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),M=c.useContext(b.default),k=c.useMemo(()=>({dense:f||M.dense||!1,alignItems:i,disableGutters:p}),[i,M.dense,f,p]),P=c.useRef(null);(0,g.default)(()=>{a&&P.current&&P.current.focus()},[a]);const T=o(o({},r),{},{alignItems:i,dense:k.dense,disableGutters:p,divider:m,selected:w}),E=(e=>{const{alignItems:t,classes:r,dense:n,disabled:i,disableGutters:a,divider:s,selected:l}=e,c={root:["root",n&&"dense",!a&&"gutters",s&&"divider",i&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},u=(0,d.default)(c,_.getListItemButtonUtilityClass,r);return o(o({},r),u)})(T),C=(0,v.default)(P,t);return(0,x.jsx)(b.default.Provider,{value:k,children:(0,x.jsx)(O,o(o({ref:C,href:S.href||S.to,component:(S.href||S.to)&&"div"===s?"button":s,focusVisibleClassName:(0,u.default)(E.focusVisible,y),ownerState:T,className:(0,u.default)(E.root,j)},S),{},{classes:E,children:l}))})});t.default=j},69880:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={listItemButtonClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listItemButtonClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(30173)),s=n(r(93781));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},93781:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListItemButtonUtilityClass=function(e){return(0,o.default)("MuiListItemButton",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);t.default=a},40771:function(e,t,r){"use strict";const n=["className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=r(12087),y=s(r(27628)),g=r(34766);const v=(0,f.styled)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((0,p.default)(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),b=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiListItemIcon"}),{className:i}=r,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),s=c.useContext(y.default),l=o(o({},r),{},{alignItems:s.alignItems}),f=(e=>{const{alignItems:t,classes:r}=e,n={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,d.default)(n,m.getListItemIconUtilityClass,r)})(l);return(0,g.jsx)(v,o({className:(0,u.default)(f.root,i),ownerState:l,ref:t},a))});t.default=b},17757:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={listItemIconClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listItemIconClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(40771)),s=n(r(12087));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},12087:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListItemIconUtilityClass=function(e){return(0,o.default)("MuiListItemIcon",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.default=a},21709:function(e,t,r){"use strict";const n=["className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=s(r(27628)),m=r(28517),y=r(34766);const g=(0,f.styled)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),v=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiListItemSecondaryAction"}),{className:i}=r,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),s=c.useContext(h.default),l=o(o({},r),{},{disableGutters:s.disableGutters}),f=(e=>{const{disableGutters:t,classes:r}=e,n={root:["root",t&&"disableGutters"]};return(0,d.default)(n,m.getListItemSecondaryActionClassesUtilityClass,r)})(l);return(0,y.jsx)(g,o({className:(0,u.default)(f.root,i),ownerState:l,ref:t},a))});v.muiName="ListItemSecondaryAction";t.default=v},96956:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={listItemSecondaryActionClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listItemSecondaryActionClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(21709)),s=n(r(28517));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},28517:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListItemSecondaryActionClassesUtilityClass=function(e){return(0,o.default)("MuiListItemSecondaryAction",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiListItemSecondaryAction",["root","disableGutters"]);t.default=a},3547:function(e,t,r){"use strict";const n=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps","slots","slotProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=l(r(92778)),p=s(r(27628)),h=r(36431),m=r(41099),y=l(r(78191)),g=s(r(59179)),v=r(34766);const b=(0,h.styled)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${y.default.primary}`]:t.primary},{[`& .${y.default.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${f.typographyClasses.root}:where(& .${y.default.primary}), .${f.typographyClasses.root}:where(& .${y.default.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),_=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiListItemText"}),{children:i,className:a,disableTypography:s=!1,inset:l=!1,primary:h,primaryTypographyProps:_,secondary:x,secondaryTypographyProps:w,slots:O={},slotProps:j={}}=r,S=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),{dense:M}=c.useContext(p.default);let k=null!=h?h:i,P=x;const T=o(o({},r),{},{disableTypography:s,inset:l,primary:!!k,secondary:!!P,dense:M}),E=(e=>{const{classes:t,inset:r,primary:n,secondary:i,dense:o}=e,a={root:["root",r&&"inset",o&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,d.default)(a,y.getListItemTextUtilityClass,t)})(T),C={slots:O,slotProps:o({primary:_,secondary:w},j)},[L,A]=(0,g.default)("root",{className:(0,u.default)(E.root,a),elementType:b,externalForwardedProps:o(o({},C),S),ownerState:T,ref:t}),[D,I]=(0,g.default)("primary",{className:E.primary,elementType:f.default,externalForwardedProps:C,ownerState:T}),[N,R]=(0,g.default)("secondary",{className:E.secondary,elementType:f.default,externalForwardedProps:C,ownerState:T});return null==k||k.type===f.default||s||(k=(0,v.jsx)(D,o(o({variant:M?"body2":"body1",component:I?.variant?void 0:"span"},I),{},{children:k}))),null==P||P.type===f.default||s||(P=(0,v.jsx)(N,o(o({variant:"body2",color:"textSecondary"},R),{},{children:P}
153))),(0,v.jsxs)(L,o(o({},A),{},{children:[k,P]}))});t.default=_},20799:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={listItemTextClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"listItemTextClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(3547)),s=n(r(78191));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},78191:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getListItemTextUtilityClass=function(e){return(0,o.default)("MuiListItemText",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.default=a},64873:function(e,t,r){"use strict";const n=["onEntering"],i=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MenuPaper=void 0;var d=u(r(40809)),f=(r(76333),c(r(19894)),c(r(44173))),p=c(r(7265)),h=(c(r(80928)),r(75926)),m=c(r(34578)),y=c(r(12724)),g=u(r(75308)),v=c(r(95944)),b=r(36431),_=r(41099),x=r(53913),w=c(r(59179)),O=r(34766);const j={vertical:"top",horizontal:"right"},S={vertical:"top",horizontal:"left"},M=(0,b.styled)(g.default,{shouldForwardProp:e=>(0,v.default)(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),k=t.MenuPaper=(0,b.styled)(g.PopoverPaper,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),P=(0,b.styled)(y.default,{name:"MuiMenu",slot:"List"})({outline:0}),T=d.forwardRef(function(e,t){const r=(0,_.useDefaultProps)({props:e,name:"MuiMenu"}),{autoFocus:o=!0,children:s,className:c,disableAutoFocusItem:u=!1,MenuListProps:y={},onClose:g,open:v,PaperProps:b={},PopoverClasses:T,transitionDuration:E="auto",TransitionProps:{onEntering:C}={},variant:L="selectedMenu",slots:A={},slotProps:D={}}=r,I=l(r.TransitionProps,n),N=l(r,i),R=(0,h.useRtl)(),z=a(a({},r),{},{autoFocus:o,disableAutoFocusItem:u,MenuListProps:y,onEntering:C,PaperProps:b,transitionDuration:E,TransitionProps:I,variant:L}),F=(e=>{const{classes:t}=e;return(0,p.default)({root:["root"],paper:["paper"],list:["list"]},x.getMenuUtilityClass,t)})(z),B=o&&!u&&v,Y=d.useRef(null);let U=-1;d.Children.map(s,(e,t)=>{d.isValidElement(e)&&(e.props.disabled||("selectedMenu"===L&&e.props.selected||-1===U)&&(U=t))});const H={slots:A,slotProps:a({list:y,transition:I,paper:b},D)},$=(0,m.default)({elementType:A.root,externalSlotProps:D.root,ownerState:z,className:[F.root,c]}),[W,V]=(0,w.default)("paper",{className:F.paper,elementType:k,externalForwardedProps:H,shouldForwardComponentProp:!0,ownerState:z}),[q,G]=(0,w.default)("list",{className:(0,f.default)(F.list,y.className),elementType:P,shouldForwardComponentProp:!0,externalForwardedProps:H,getSlotProps:e=>a(a({},e),{},{onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),g&&g(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:z}),Z="function"==typeof H.slotProps.transition?H.slotProps.transition(z):H.slotProps.transition;return(0,O.jsx)(M,a(a({onClose:g,anchorOrigin:{vertical:"bottom",horizontal:R?"right":"left"},transformOrigin:R?j:S,slots:a({root:A.root,paper:W,backdrop:A.backdrop},A.transition&&{transition:A.transition}),slotProps:{root:$,paper:V,backdrop:"function"==typeof D.backdrop?D.backdrop(z):D.backdrop,transition:a(a({},Z),{},{onEntering:(...e)=>{((e,t)=>
153{Y.current&&Y.current.adjustStyleForScrollbar(e,{direction:R?"rtl":"ltr"}),C&&C(e,t)})(...e),Z?.onEntering?.(...e)}})},open:v,ref:t,transitionDuration:E,ownerState:z},N),{},{classes:T,children:(0,O.jsx)(q,a(a({actions:Y,autoFocus:o&&(-1===U||u),autoFocusItem:B,variant:L},G),{},{children:s}))}))});t.default=T},87724:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={menuClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"menuClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(64873)),s=n(r(53913));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},53913:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getMenuUtilityClass=function(e){return(0,o.default)("MuiMenu",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiMenu",["root","paper","list"]);t.default=a},78659:function(e,t,r){"use strict";const n=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.overridesResolver=t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(95944)),p=r(36431),h=s(r(60999)),m=r(41099),y=s(r(27628)),g=s(r(3986)),v=s(r(47348)),b=s(r(29314)),_=r(90672),x=r(17757),w=r(20799),O=l(r(98071)),j=r(34766);const S=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]};t.overridesResolver=S;const M=(0,p.styled)(g.default,{shouldForwardProp:e=>(0,f.default)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:S})((0,h.default)(({theme:e})=>o(o({},e.typography.body1),{},{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${O.default.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${O.default.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${O.default.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${O.default.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${O.default.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${_.dividerClasses.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${_.dividerClasses.inset}`]:{marginLeft:52},[`& .${w.listItemTextClasses.root}`]:{marginTop:0,marginBottom:0},[`& .${w.listItemTextClasses.inset}`]:{paddingLeft:36},[`& .${x.listItemIconClasses.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:o(o({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2),{},{[`& .${x.listItemIconClasses.root} svg`]:{fontSize:"1.25rem"}})}]}))),k=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:g,className:_}=r,x=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),w=c.useContext(y.default),S=c.useMemo(()=>({dense:s||w.dense||!1,disableGutters:f}),[w.dense,s,f]),k=c.useRef(null);(0,v.default)(()=>{i&&k.current&&k.current.focus()},[i]);const P=o(o({},r),{},{dense:S.dense,divider:l,disableGutters:f}),T=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:i,selected:a,classes:s}=e,l={root:["root",r&&"dense",t&&"disabled",!i&&"gutters",n&&"divider",a&&"selected"]},c=(0,d.default)(l,O.getMenuItemUtilityClass,s);return o(o({},s),c)})(r),E=(0,b.default)(k,t);let C;return r.disabled||(C=void 0!==g?g:-1),(0,j.jsx)(y.default.Provider,{value:S,children:(0,j.jsx)(M,o(o({ref:E,role:h,tabIndex:C,component:a,focusVisibleClassName:(0,u.default)(T.focusVisible,p),className:(0,u.default)(T.root,_)},x),{},{ownerState:P,classes:T}))})});t.default=k},71831:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={menuItemClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"menuItemClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(78659)),s=n(r(98071));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},98071:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getMenuItemUtilityClass=function(e){return(0,o.default)("MuiMenuItem",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);t.default=a},65173:function(e,t,r){"use strict";const n=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(r(76333),s(r(19894)),s(r(26394))),d=s(r(12063)),f=s(r(94468)),p=s(r(9269)),h=s(r(29314)),m=s(r(47348)),y=r(84580),g=r(34766);function v(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function b(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function _(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function x(e,t,r,n,i,o){let a=!1,s=i(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&_(s,o)&&!t)return s.focus(),!0;s=i(e,s,r)}return!1}const w=c.forwardRef(function(e,t){const{actions:r,autoFocus:i=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:w=!1,disableListWrap:O=!1,onKeyDown:j,variant:S="selectedMenu"}=e,M=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),k=c.useRef(null),P=c.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,m.default)(()=>{i&&k.current.focus()},[i]),c.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!k.current.style.width;if(e.clientHeight<k.current.clientHeight&&r){const r=`${(0,p.default)((0,y.ownerWindow)(e))}px`;k.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,k.current.style.width=`calc(100% + ${r})`}return k.current}}),[]);const T=(0,h.default)(k,t);let E=-1;c.Children.forEach(s,(e,t)=>{c.isValidElement(e)?(e.props.disabled||("selectedMenu"===S&&e.props.selected||-1===E)&&(E=t),E===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(E+=1,E>=s.length&&(E=-1))):E===t&&(E+=1,E>=s.length&&(E=-1))});const C=c.Children.map(s,(e,t)=>{if(t===E){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===S&&(t.tabIndex=0),c.cloneElement(e,t)}return e});return(0,g.jsx)(d.default,o(o({role:"menu",ref:T,className:l,onKeyDown:e=>{const t=k.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(j&&j(e));const n=(0,f.default)((0,u.default)(t));if("ArrowDown"===r)e.preventDefault(),x(t,n,O,w,v);else if("ArrowUp"===r)e.preventDefault(),x(t,n,O,w,b);else if("Home"===r)e.preventDefault(),x(t,null,O,w,v);else if("End"===r)e.preventDefault(),x(t,null,O,w,b);else if(1===r.length){const i=P.current,o=r.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);const s=n&&!i.repeating&&_(n,i);i.previousKeyMatched&&(s||x(t,n,!1,w,v,i))?e.preventDefault():i.previousKeyMatched=!1}j&&j(e)},tabIndex:i?0:-1},M),{},{children:C}))});t.default=w},12724:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(65173))},32605:function(e,t,r){"use strict";const n=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(80928)),s(r(37254)),s(r(7265))),f=s(r(40413)),p=s(r(83785)),h=r(36431),m=s(r(60999)),y=r(41099),g=s(r(76825)),v=s(r(40906)),b=r(87637),_=s(r(59179)),x=r
153(34766);const w=(0,h.styled)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,m.default)(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),O=(0,h.styled)(g.default,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),j=c.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({name:"MuiModal",props:e}),{BackdropComponent:i=O,BackdropProps:a,classes:s,className:l,closeAfterTransition:h=!1,children:m,container:g,component:j,components:S={},componentsProps:M={},disableAutoFocus:k=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:T=!1,disablePortal:E=!1,disableRestoreFocus:C=!1,disableScrollLock:L=!1,hideBackdrop:A=!1,keepMounted:D=!1,onClose:I,onTransitionEnter:N,onTransitionExited:R,open:z,slotProps:F={},slots:B={},theme:Y}=r,U=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),H=o(o({},r),{},{closeAfterTransition:h,disableAutoFocus:k,disableEnforceFocus:P,disableEscapeKeyDown:T,disablePortal:E,disableRestoreFocus:C,disableScrollLock:L,hideBackdrop:A,keepMounted:D}),{getRootProps:$,getBackdropProps:W,getTransitionProps:V,portalRef:q,isTopModal:G,exited:Z,hasTransition:X}=(0,v.default)(o(o({},H),{},{rootRef:t})),J=o(o({},H),{},{exited:Z}),K=(e=>{const{open:t,exited:r,classes:n}=e,i={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return(0,d.default)(i,b.getModalUtilityClass,n)})(J),Q={};if(void 0===m.props.tabIndex&&(Q.tabIndex="-1"),X){const{onEnter:e,onExited:t}=V();Q.onEnter=e,Q.onExited=t}const ee={slots:o({root:S.Root,backdrop:S.Backdrop},B),slotProps:o(o({},M),F)},[te,re]=(0,_.default)("root",{ref:t,elementType:w,externalForwardedProps:o(o(o({},ee),U),{},{component:j}),getSlotProps:$,ownerState:J,className:(0,u.default)(l,K?.root,!J.open&&J.exited&&K?.hidden)}),[ne,ie]=(0,_.default)("backdrop",{ref:a?.ref,elementType:i,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>W(o(o({},e),{},{onClick:t=>{e?.onClick&&e.onClick(t)}})),className:(0,u.default)(a?.className,K?.backdrop),ownerState:J});return D||z||X&&!Z?(0,x.jsx)(p.default,{ref:q,container:g,disablePortal:E,children:(0,x.jsxs)(te,o(o({},re),{},{children:[!A&&i?(0,x.jsx)(ne,o({},ie)):null,(0,x.jsx)(f.default,{disableEnforceFocus:P,disableAutoFocus:k,disableRestoreFocus:C,isEnabled:G,open:z,children:c.cloneElement(m,Q)})]}))}):null});t.default=j},53330:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ModalManager=void 0,t.ariaHidden=s;var i=n(r(78128)),o=n(r(99205)),a=n(r(11650));function s(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseFloat((0,i.default)(e).getComputedStyle(e).paddingRight)||0}function c(e,t,r,n,i){const o=[t,r,...n];[].forEach.call(e.children,e=>{const t=!o.includes(e),r=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&s(e,i)})}function u(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}function d(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,o.default)(e);return t.body===e?(0,i.default)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=(0,a.default)((0,i.default)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${l(n)+e}px`;const t=(0,o.default)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=(0,o.default)(n).body;else{const t=n.parentElement,r=(0,i.default)(n);e="HTML"===t?.nodeName&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}t.ModalManager=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&s(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);c(t,e.mount,e.modalRef,n,!0);const i=u(this.containers,e=>e.container===t);return-1!==i?(this.containers[i].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=u(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=d(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=u(this.containers,t=>t.modals.includes(e)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(r,1),0===i.modals.length)i.restore&&i.restore(
153),e.modalRef&&s(e.modalRef,t),c(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=i.modals[i.modals.length-1];e.modalRef&&s(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},5492:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={ModalManager:!0,modalClasses:!0};Object.defineProperty(t,"ModalManager",{enumerable:!0,get:function(){return a.ModalManager}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"modalClasses",{enumerable:!0,get:function(){return l.default}});var a=r(53330),s=i(r(32605)),l=n(r(87637));Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))})},87637:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getModalUtilityClass=function(e){return(0,o.default)("MuiModal",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiModal",["root","hidden","backdrop"]);t.default=a},40906:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(40809)),c=a(r(99205)),u=a(r(98573)),d=a(r(21555)),f=a(r(53563)),p=a(r(75583)),h=r(53330);const m=()=>{},y=new h.ModalManager;t.default=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:g,onClose:v,open:b,rootRef:_}=e,x=l.useRef({}),w=l.useRef(null),O=l.useRef(null),j=(0,u.default)(O,_),[S,M]=l.useState(!b),k=function(e){return!!e&&e.props.hasOwnProperty("in")}(g);let P=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(P=!1);const T=()=>(x.current.modalRef=O.current,x.current.mount=w.current,x.current),E=()=>{y.mount(T(),{disableScrollLock:n}),O.current&&(O.current.scrollTop=0)},C=(0,d.default)(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,c.default)(w.current).body;y.add(T(),e),O.current&&E()}),L=()=>y.isTopModal(T()),A=(0,d.default)(e=>{w.current=e,e&&(b&&L()?E():O.current&&(0,h.ariaHidden)(O.current,P))}),D=l.useCallback(()=>{y.remove(T(),P)},[P]);l.useEffect(()=>()=>{D()},[D]),l.useEffect(()=>{b?C():k&&o||D()},[b,D,k,o,C]);const I=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&L()&&(r||(t.stopPropagation(),v&&v(t,"escapeKeyDown")))},N=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&v&&v(t,"backdropClick")};return{getRootProps:(t={})=>{const r=(0,p.default)(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=i(i({},r),t);return i(i({role:"presentation"},n),{},{onKeyDown:I(n),ref:j})},getBackdropProps:(e={})=>{const t=e;return i(i({"aria-hidden":!0},t),{},{onClick:N(t),open:b})},getTransitionProps:()=>({onEnter:(0,f.default)(()=>{M(!1),a&&a()},g?.props.onEnter??m),onExited:(0,f.default)(()=>{M(!0),s&&s(),o&&D()},g?.props.onExited??m)}),rootRef:j,portalRef:A,isTopModal:L,exited:S,hasTransition:k}}},34905:function(e,t,r){"use strict";const n=["className","disabled","error","IconComponent","inputRef","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.StyledSelectSelect=t.StyledSelectIcon=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(47654)),s(r(7265))),f=s(r(88732)),p=l(r(14501)),h=r(36431),m=s(r(95944)),y=r(34766);const g=t.StyledSelectSelect=(0,h.styled)("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${p.default.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),v=(0,h.styled)(g,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:m.default,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${p.default.multiple}`]:t.multiple}]}})({}),b=t.StyledSelectIcon=(0,h.styled)("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${p.default.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),_=(0,h.styled)(b,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,f.default)(r.variant)}`],r.open&&t.iconOpen]}})({}),x=c.forwardRef(function(e,t){const{className:r,disabled:i,error:a,IconComponent:s,inputRef:l,variant:h="standard"}=e,m=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),g=o(o({},e),{},{disabled:i,variant:h,error:a}),b=(e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,f.default)(r)}`,o&&"iconOpen",n&&"disabled"]};return(0,d.default)(s,p.getNativeSelectUtilityClasses,t)})(g);return(0,y.jsxs)(c.Fragment,{children:[(0,y.jsx)(v,o({ownerState:g,className:(0,u.default)(b.select,r),disabled:i,ref:l||t},m)),e.multiple?null:(0,y.jsx)(_,{as:s,ownerState:g,className:b.icon})]})});t.default=x},14501:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getNativeSelectUtilityClasses=function(e){return(0,o.default)("MuiNativeSelect",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);t.default=a},41700:function(e,t,r){"use strict";const n=["children","classes","className","label","notched"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{children:t,classes:r,className:i,label:a,notched:s}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),u=null!=a&&""!==a,d=o(o({},e),{},{notched:s,withLabel:u});return(0,f.jsx)(p,o(o({"aria-hidden":!0,className:i,ownerState:d},c),{},{children:(0,f.jsx)(h,{ownerState:d,children:u?(0,f.jsx)("span",{children:a}):l||(l=(0,f.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"â"}))})}))};s(r(19894));var l,c=s(r(95944)),u=r(36431),d=s(r(60999)),f=r(34766);const p=(0,u.styled)("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:c.default})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),h=(0,u.styled)("legend",{name:"MuiNotchedOutlined",shouldForwardProp:c.default})((0,d.default)(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})))},72213:function(e,t,r){"use strict";const n=["components","fullWidth","inputComponent","label","multiline","notched","slots","slotProps","type"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(47654)),s(r(7265))),d=s(r(41700)),f=s(r(33734)),p=s(r(18368)),h=s(r(95944)),m=r(36431),y=s(r(60999)),g=s(r(98982)),v=r(41099),b=l(r(67277)),_=l(r(83389)),x=s(r(59179)),w=r(34766);const O=(0,m.styled)(_.InputBaseRoot,{shouldForwardProp:e=>(0,h.default)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:_.rootOverridesResolver})((0,y.default)(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${b.default.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${b.default.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackgroun
153d,.23):t}},[`&.${b.default.focused} .${b.default.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter((0,g.default)()).map(([t])=>({props:{color:t},style:{[`&.${b.default.focused} .${b.default.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${b.default.error} .${b.default.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${b.default.disabled} .${b.default.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),j=(0,m.styled)(d.default,{name:"MuiOutlinedInput",slot:"NotchedOutline"})((0,y.default)(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),S=(0,m.styled)(_.InputBaseInput,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:_.inputOverridesResolver})((0,y.default)(({theme:e})=>o(o(o({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}}),e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}}),{},{variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),M=c.forwardRef(function(e,t){const r=(0,v.useDefaultProps)({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:d=!1,notched:h,slots:m={},slotProps:y={},type:g="text"}=r,M=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),k=(e=>{const{classes:t}=e,r=(0,u.default)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},b.getOutlinedInputUtilityClass,t);return o(o({},t),r)})(r),P=(0,f.default)(),T=(0,p.default)({props:r,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),E=o(o({},r),{},{color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:P,fullWidth:a,hiddenLabel:T.hiddenLabel,multiline:d,size:T.size,type:g}),C=m.root??i.Root??O,L=m.input??i.Input??S,[A,D]=(0,x.default)("notchedOutline",{elementType:j,className:k.notchedOutline,shouldForwardComponentProp:!0,ownerState:E,externalForwardedProps:{slots:m,slotProps:y},additionalProps:{label:null!=l&&""!==l&&T.required?(0,w.jsxs)(c.Fragment,{children:[l,"â","*"]}):l}});return(0,w.jsx)(_.default,o(o({slots:{root:C,input:L},slotProps:y,renderSuffix:e=>(0,w.jsx)(A,o(o({},D),{},{notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)})),fullWidth:a,inputComponent:s,multiline:d,ref:t,type:g},M),{},{classes:o(o({},k),{},{notchedOutline:null})}))});M.muiName="Input";t.default=M},62531:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={outlinedInputClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"outlinedInputClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(72213)),s=n(r(67277));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},67277:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getOutlinedInputUtilityClass=function(e){return(0,l.default)("MuiOutlinedInput",e)};var s=a(r(85298)),l=a(r(13810));const c=i(i({},r(26924).inputBaseClasses),(0,s.default)("MuiOutlinedInput",["root","notchedOutline","input"]));t.default=c},84989:function(e,t,r){"use strict";const n=["className","component","elevation","square","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=(s(r(99904)),s(r(96548)),s(r(7265))),f=r(54078),p=r(36431),h=s(r(60999)),m=r(41099),y=s(r(6765)),g=r(56085),v=r(34766);const b=(0,p.styled)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((0,h.default)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),_=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiPaper"}),i=(0,p.useTheme)(),{className:a,component:s="div",elevation:l=1,square:c=!1,variant:h="elevation"}=r,_=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),x=o(o({},r),{},{component:s,elevation:l,square:c,variant:h}),w=(e=>{const{square:t,elevation:r,variant:n,classes:i}=e,o={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,d.default)(o,g.getPaperUtilityClass,i)})(x);return(0,v.jsx)(b,o(o({as:s,ownerState:x,className:(0,u.default)(w.root,a),ref:t},_),{},{style:o(o({},"elevation"===h&&o(o({"--Paper-shadow":(i.vars||i).shadows[l]},i.vars&&{"--Paper-overlay":i.vars.overlays?.[l]}
153),!i.vars&&"dark"===i.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,f.alpha)("#fff",(0,y.default)(l))}, ${(0,f.alpha)("#fff",(0,y.default)(l))})`})),_.style)}))});t.default=_},72155:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={paperClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"paperClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(84989)),s=n(r(56085));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},56085:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getPaperUtilityClass=function(e){return(0,o.default)("MuiPaper",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);t.default=a},57161:function(e,t,r){"use strict";const n=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],i=["slots","slotProps"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopoverRoot=t.PopoverPaper=void 0,t.getOffsetLeft=P,t.getOffsetTop=k;var d=u(r(40809)),f=(c(r(19894)),c(r(44173))),p=c(r(7265)),h=(c(r(80928)),c(r(47654)),c(r(90462)),c(r(99904)),c(r(96548)),c(r(24822))),m=r(36431),y=r(41099),g=(c(r(76884)),c(r(85353))),v=c(r(26394)),b=c(r(34939)),_=c(r(50752)),x=c(r(5492)),w=c(r(72155)),O=r(40345),j=c(r(59179)),S=r(84580),M=r(34766);function k(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function P(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function T(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function E(e){return"function"==typeof e?e():e}const C=t.PopoverRoot=(0,m.styled)(x.default,{name:"MuiPopover",slot:"Root"})({}),L=t.PopoverPaper=(0,m.styled)(w.default,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),A=d.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiPopover"}),{action:o,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"}
153,anchorPosition:u,anchorReference:m="anchorEl",children:x,className:w,container:A,elevation:D=8,marginThreshold:I=16,open:N,PaperProps:R={},slots:z={},slotProps:F={},transformOrigin:B={vertical:"top",horizontal:"left"},TransitionComponent:Y,transitionDuration:U="auto",TransitionProps:H={},disableScrollLock:$=!1}=r,W=l(r,n),V=d.useRef(),q=a(a({},r),{},{anchorOrigin:c,anchorReference:m,elevation:D,marginThreshold:I,transformOrigin:B,TransitionComponent:Y,transitionDuration:U,TransitionProps:H}),G=(e=>{const{classes:t}=e;return(0,p.default)({root:["root"],paper:["paper"]},O.getPopoverUtilityClass,t)})(q),Z=d.useCallback(()=>{if("anchorPosition"===m)return u;const e=E(s),t=(e&&1===e.nodeType?e:(0,v.default)(V.current).body).getBoundingClientRect();return{top:t.top+k(t,c.vertical),left:t.left+P(t,c.horizontal)}},[s,c.horizontal,c.vertical,u,m]),X=d.useCallback(e=>({vertical:k(e,B.vertical),horizontal:P(e,B.horizontal)}),[B.horizontal,B.vertical]),J=d.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=X(t);if("none"===m)return{top:null,left:null,transformOrigin:T(r)};const n=Z();let i=n.top-r.vertical,o=n.left-r.horizontal;const a=i+t.height,l=o+t.width,c=(0,b.default)(E(s)),u=c.innerHeight-I,d=c.innerWidth-I;if(null!==I&&i<I){const e=i-I;i-=e,r.vertical+=e}else if(null!==I&&a>u){const e=a-u;i-=e,r.vertical+=e}if(null!==I&&o<I){const e=o-I;o-=e,r.horizontal+=e}else if(l>d){const e=l-d;o-=e,r.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(o)}px`,transformOrigin:T(r)}},[s,m,Z,X,I]),[K,Q]=d.useState(N),ee=d.useCallback(()=>{const e=V.current;if(!e)return;const t=J(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,Q(!0)},[J]);d.useEffect(()=>($&&window.addEventListener("scroll",ee),()=>window.removeEventListener("scroll",ee)),[s,$,ee]);d.useEffect(()=>{N&&ee()}),d.useImperativeHandle(o,()=>N?{updatePosition:()=>{ee()}}:null,[N,ee]),d.useEffect(()=>{if(!N)return;const e=(0,g.default)(()=>{ee()}),t=(0,b.default)(E(s));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[s,N,ee]);let te=U;const re={slots:a({transition:Y},z),slotProps:a({transition:H,paper:R},F)},[ne,ie]=(0,j.default)("transition",{elementType:_.default,externalForwardedProps:re,ownerState:q,getSlotProps:e=>a(a({},e),{},{onEntering:(t,r)=>{e.onEntering?.(t,r),ee()},onExited:t=>{e.onExited?.(t),Q(!1)}}),additionalProps:{appear:!0,in:N}});"auto"!==U||ne.muiSupportAuto||(te=void 0);const oe=A||(s?(0,v.default)(E(s)).body:void 0),[ae,se]=(0,j.default)("root",{ref:t,elementType:C,externalForwardedProps:a(a({},re),W),shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:z.backdrop},slotProps:{backdrop:(0,S.mergeSlotProps)("function"==typeof F.backdrop?F.backdrop(q):F.backdrop,{invisible:!0})},container:oe,open:N},ownerState:q,className:(0,f.default)(G.root,w)}),{slots:le,slotProps:ce}=se,ue=l(se,i),[de,fe]=(0,j.default)("paper",{ref:V,className:G.paper,elementType:L,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:{elevation:D,style:K?void 0:{opacity:0}},ownerState:q});return(0,M.jsx)(ae,a(a(a({},ue),!(0,h.default)(ae)&&{slots:le,slotProps:ce,disableScrollLock:$}),{},{children:(0,M.jsx)(ne,a(a({},ie),{},{timeout:te,children:(0,M.jsx)(de,a(a({},fe),{},{children:x}))}))}))});t.default=A},75308:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={popoverClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"popoverClasses",{enumerable:!0,get:function(){return a.default}});var o=n(r(57161));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=n(r(40345));Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))})},40345:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getPopoverUtilityClass=function(e){return(0,o.default)("MuiPopover",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiPopover",["root","paper"]);t.default=a},10678:function(e,t,r){"use strict";const n=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],i=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=u(r(40809)),f=c(r(99205)),p=c(r(98863)),h=c(r(98573)),m=(c(r(96548)),c(r(80928)),c(r(47654)),r(98165)),y=(c(r(19894)),c(r(7265))),g=c(r(34578)),v=(c(r(76884)),c(r(83785))),b=r(16511),_=r(34766);function x(e){return"function"==typeof e?e():e}function w(e){return void 0!==e.nodeType}const O={},j=d.forwardRef(function(e,t){const{anchorEl:r,children:i,direction:o,disablePortal:s,modifiers:c,open:u,placement:f,popperOptions:v,popperRef:w,slotProps:O={},slots:j={},TransitionProps:S,ownerState:M}=e,k=l(e,n),P=d.useRef(null),T=(0,h.default)(P,t),E=d.useRef(null),C=(0,h.default)(E,w),L=d.useRef(C);(0,p.default)(()=>{L.current=C},[C]),d.useImperativeHandle(w,()=>E.current,[]);const A=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,o),[D,I]=d.useState(A),[N,R]=d.useState(x(r));d.useEffect(()=>{E.current&&E.current.forceUpdate()}),d.useEffect(()=>{r&&R(x(r))},[r]),(0,p.default)(()=>{if(!N||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{I(e.placement)}}];null!=c&&(e=e.concat(c)),v&&null!=v.modifiers&&(e=e.concat(v.modifiers));const t=(0,m.createPopper)(N,P.current,a(a({placement:A},v),{},{modifiers:e}));return L.current(t),()=>{t.destroy(),L.current(null)}},[N,s,c,u,v,A]);const z={placement:D};null!==S&&(z.TransitionProps=S);const F=(e=>{const{classes:t}=e;return(0,y.default)({root:["root"]},b.getPopperUtilityClass,t)})(e),B=j.root??"div",Y=(0,g.default)({elementType:B,externalSlotProps:O.root,externalForwardedProps:k,additionalProps:{role:"tooltip",ref:T},ownerState:e,className:F.root});return(0,_.jsx)(B,a(a({},Y),{},{children:"function"==typeof i?i(z):i}))}),S=d.forwardRef(function(e,t){const{anchorEl:r,children:n,container:o,direction:s="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:y=O,popperRef:g,style:b,transition:S=!1,slotProps:M={},slots:k={}}
153=e,P=l(e,i),[T,E]=d.useState(!0);if(!u&&!h&&(!S||T))return null;let C;if(o)C=o;else if(r){const e=x(r);C=e&&w(e)?(0,f.default)(e).body:(0,f.default)(null).body}const L=h||!u||S&&!T?void 0:"none",A=S?{in:h,onEnter:()=>{E(!1)},onExited:()=>{E(!0)}}:void 0;return(0,_.jsx)(v.default,{disablePortal:c,container:C,children:(0,_.jsx)(j,a(a({anchorEl:r,direction:s,disablePortal:c,modifiers:p,ref:t,open:S?!T:h,placement:m,popperOptions:y,popperRef:g,slotProps:M,slots:k},P),{},{style:a({position:"fixed",top:0,left:0,display:L},b),TransitionProps:A,children:n}))})});t.default=S},31019:function(e,t,r){"use strict";const n=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(70609).default,l=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(75926),u=(l(r(47654)),l(r(80928)),l(r(19894)),s(r(40809))),d=l(r(10678)),f=r(36431),p=r(41099),h=r(34766);const m=(0,f.styled)(d.default,{name:"MuiPopper",slot:"Root"})({}),y=u.forwardRef(function(e,t){const r=(0,c.useRtl)(),i=(0,p.useDefaultProps)({props:e,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:u,container:d,disablePortal:f,keepMounted:y,modifiers:g,open:v,placement:b,popperOptions:_,popperRef:x,transition:w,slots:O,slotProps:j}=i,S=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(i,n),M=O?.root??l?.Root,k=o({anchorEl:a,container:d,disablePortal:f,keepMounted:y,modifiers:g,open:v,placement:b,popperOptions:_,popperRef:x,transition:w},S);return(0,h.jsx)(m,o(o({as:s,direction:r?"rtl":"ltr",slots:{root:M},slotProps:j??u},k),{},{ref:t}))});t.default=y},65882:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(31019)),a=r(16511);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))})},16511:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getPopperUtilityClass=function(e){return(0,o.default)("MuiPopper",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiPopper",["root"]);t.default=a},50999:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(40809)),a=i(r(91565)),s=(n(r(19894)),n(r(98863))),l=n(r(98573)),c=n(r(84220)),u=n(r(15607));n(r(53693)),n(r(80928));const d=o.forwardRef(function(e,t){const{children:r,container:n,disablePortal:i=!1}=e,[d,f]=o.useState(null),p=(0,l.default)(o.isValidElement(r)?(0,u.default)(r):null,t);if((0,s.default)(()=>{i||f(function(e){return"function"==typeof e?e():e}(n)||document.body)},[n,i]),(0,s.default)(()=>
153{if(d&&!i)return(0,c.default)(t,d),()=>{(0,c.default)(t,null)}},[t,d,i]),i){if(o.isValidElement(r)){const e={ref:p};return o.cloneElement(r,e)}return r}return d?a.createPortal(r,d):d});t.default=d},83785:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(50999))},59835:function(e,t,r){"use strict";const n=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],i=["root"];function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=u(r(40809)),f=(c(r(19894)),c(r(44173))),p=c(r(26309)),h=c(r(7265)),m=c(r(15607)),y=c(r(37143)),g=c(r(18368)),v=c(r(33734)),b=c(r(41944)),_=c(r(45505)),x=c(r(34905)),w=c(r(71689)),O=c(r(62531)),j=r(41099),S=c(r(29314)),M=r(36431),k=c(r(95944)),P=r(68943),T=r(34766);const E={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>(0,k.default)(e)&&"variant"!==e},C=(0,M.styled)(_.default,E)(""),L=(0,M.styled)(O.default,E)(""),A=(0,M.styled)(w.default,E)(""),D=d.forwardRef(function(e,t){const r=(0,j.useDefaultProps)({name:"MuiSelect",props:e}),{autoWidth:a=!1,children:l,classes:c={},className:u,defaultOpen:_=!1,displayEmpty:w=!1,IconComponent:O=b.default,id:M,input:k,inputProps:E,label:D,labelId:I,MenuProps:N,multiple:R=!1,native:z=!1,onClose:F,onOpen:B,open:Y,renderValue:U,SelectDisplayProps:H,variant:$="outlined"}=r,W=o(r,n),V=z?x.default:y.default,q=(0,v.default)(),G=(0,g.default)({props:r,muiFormControl:q,states:["variant","error"]}),Z=G.variant||$,X=s(s({},r),{},{variant:Z,classes:c}),J=(e=>{const{classes:t}=e,r=(0,h.default)({root:["root"]},P.getSelectUtilityClasses,t);return s(s({},t),r)})(X),{root:K}=J,Q=o(J,i),ee=k||{standard:(0,T.jsx)(C,{ownerState:X}),outlined:(0,T.jsx)(L,{label:D,ownerState:X}),filled:(0,T.jsx)(A,{ownerState:X})}[Z],te=(0,S.default)(t,(0,m.default)(ee));return(0,T.jsx)(d.Fragment,{children:d.cloneElement(ee,s(s(s({inputComponent:V,inputProps:s(s(s({children:l,error:G.error,IconComponent:O,variant:Z,type:void 0,multiple:R},z?{id:M}:{autoWidth:a,defaultOpen:_,displayEmpty:w,labelId:I,MenuProps:N,onClose:F,onOpen:B,open:Y,renderValue:U,SelectDisplayProps:s({id:M},H)}),E),{},{classes:E?(0,p.default)(Q,E.classes):Q},k?k.props.inputProps:{})},(R&&z||w)&&"outlined"===Z?{notched:!0}:{}),{},{ref:te,className:(0,f.default)(ee.props.className,u,J.root)},!k&&{variant:Z}),W))})});D.muiName="Select";t.default=D},37143:function(e,t,r){"use strict";
153const n=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onKeyDown","onMouseDown","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c,u=s(r(82406)),d=l(r(40809)),f=(r(76333),s(r(19894)),s(r(44173))),p=s(r(7265)),h=s(r(78993)),m=(s(r(47654)),s(r(26394))),y=s(r(88732)),g=s(r(64873)),v=r(34905),b=r(13093),_=r(36431),x=s(r(64088)),w=s(r(29314)),O=s(r(43501)),j=l(r(68943)),S=r(34766);const M=(0,_.styled)(v.StyledSelectSelect,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${j.default.select}`]:t.select},{[`&.${j.default.select}`]:t[r.variant]},{[`&.${j.default.error}`]:t.error},{[`&.${j.default.multiple}`]:t.multiple}]}})({[`&.${j.default.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),k=(0,_.styled)(v.StyledSelectIcon,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,y.default)(r.variant)}`],r.open&&t.iconOpen]}})({}),P=(0,_.styled)("input",{shouldForwardProp:e=>(0,x.default)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function T(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function E(e){return null==e||"string"==typeof e&&!e.trim()}const C=d.forwardRef(function(e,t){const{"aria-describedby":r,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:v,defaultOpen:_,defaultValue:x,disabled:C,displayEmpty:L,error:A=!1,IconComponent:D,inputRef:I,labelId:N,MenuProps:R={},multiple:z,name:F,onBlur:B,onChange:Y,onClose:U,onFocus:H,onKeyDown:$,onMouseDown:W,onOpen:V,open:q,readOnly:G,renderValue:Z,required:X,SelectDisplayProps:J={},tabIndex:K,type:Q,value:ee,variant:te="standard"}=e,re=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),[ne,ie]=(0,O.default)({controlled:ee,default:x,name:"Select"}),[oe,ae]=(0,O.default)({controlled:q,default:_,name:"Select"}),se=d.useRef(null),le=d.useRef(null),[ce,ue]=d.useState(null),{current:de}=d.useRef(null!=q),[fe,pe]=d.useState(),he=(0,w.default)(t,I),me=d.useCallback(e=>{le.current=e,e&&ue(e)},[]),ye=ce?.parentNode;d.useImperativeHandle(he,()=>({focus:()=>{le.current.focus()},node:se.current,value:ne}),[ne]);const ge=null!==ce&&oe;d.useEffect(()=>{if(!ge||!ye||s)return;if("undefined"==typeof ResizeObserver)return;const e=new ResizeObserver(()=>{pe(ye.clientWidth)});return e.observe(ye),()=>{e.disconnect()}},[ge,ye,s]),d.useEffect(()=>{_&&oe&&ce&&!de&&(pe(s?null:ye.clientWidth),le.current.focus())},[ce,s]),d.useEffect(()=>{a&&le.current.focus()},[a]),d.useEffect(()=>{if(!N)return;const e=(0,m.default)(le.current).getElementById(N);if(e){const t=()=>{getSelection().isCollapsed&&le.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[N]);const ve=(e,t)=>
153{e?V&&V(t):U&&U(t),de||(pe(s?null:ye.clientWidth),ae(e))},be=d.Children.toArray(l),_e=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(z){r=Array.isArray(ne)?ne.slice():[];const t=ne.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),ne!==r&&(ie(r),Y)){const n=t.nativeEvent||t,i=new n.constructor(n.type,n);Object.defineProperty(i,"target",{writable:!0,value:{value:r,name:F}}),Y(i,e)}z||ve(!1,t)}};let xe,we;delete re["aria-invalid"];const Oe=[];let je=!1,Se=!1;((0,b.isFilled)({value:ne})||L)&&(Z?xe=Z(ne):je=!0);const Me=be.map(e=>{if(!d.isValidElement(e))return null;let t;if(z){if(!Array.isArray(ne))throw new Error((0,u.default)(2));t=ne.some(t=>T(t,e.props.value)),t&&je&&Oe.push(e.props.children)}else t=T(ne,e.props.value),t&&je&&(we=e.props.children);return t&&(Se=!0),d.cloneElement(e,{"aria-selected":t?"true":"false",onClick:_e(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});je&&(xe=z?0===Oe.length?null:Oe.reduce((e,t,r)=>(e.push(t),r<Oe.length-1&&e.push(", "),e),[]):we);let ke,Pe=fe;!s&&de&&ce&&(Pe=ye.clientWidth),ke=void 0!==K?K:C?null:0;const Te=J.id||(F?`mui-component-select-${F}`:void 0),Ee=o(o({},e),{},{variant:te,value:ne,open:ge,error:A}),Ce=(e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,y.default)(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return(0,p.default)(s,j.getSelectUtilityClasses,t)})(Ee),Le=o(o({},R.PaperProps),"function"==typeof R.slotProps?.paper?R.slotProps.paper(Ee):R.slotProps?.paper),Ae=o(o({},R.MenuListProps),"function"==typeof R.slotProps?.list?R.slotProps.list(Ee):R.slotProps?.list),De=(0,h.default)();return(0,S.jsxs)(d.Fragment,{children:[(0,S.jsx)(M,o(o({as:"div",ref:me,tabIndex:ke,role:"combobox","aria-controls":ge?De:void 0,"aria-disabled":C?"true":void 0,"aria-expanded":ge?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[N,Te].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":X?"true":void 0,"aria-invalid":A?"true":void 0,onKeyDown:e=>{if(!G){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),ve(!0,e)),$?.(e)}},onMouseDown:C||G?null:e=>{W?.(e),0===e.button&&(e.preventDefault(),le.current.focus(),ve(!0,e))},onBlur:e=>{!ge&&B&&(Object.defineProperty(e,"target",{writable:!0,value:{value:ne,name:F}}),B(e))},onFocus:H},J),{},{ownerState:Ee,className:(0,f.default)(J.className,Ce.select,v),id:Te,children:E(xe)?c||(c=(0,S.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"â"})):xe})),(0,S.jsx)(P,o(o({"aria-invalid":A,value:Array.isArray(ne)?ne.join(","):ne,name:F,ref:se,"aria-hidden":!0,onChange:e=>{const t=be.find(t=>t.props.value===e.target.value);void 0!==t&&(ie(t.props.value),Y&&Y(e,t))},tabIndex:-1,disabled:C,className:Ce.nativeInput,autoFocus:a,required:X},re),{},{ownerState:Ee})),(0,S.jsx)(k,{as:D,className:Ce.icon,ownerState:Ee}),(0,S.jsx)(g.default,o(o({id:`menu-${F||""}`,anchorEl:ye,open:ge,onClose:e=>{ve(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},R),{},{slotProps:o(o({},R.slotProps),{},{list:o({"aria-labelledby":N,role:"listbox","aria-multiselectable":z?"true":void 0,disableListWrap:!0,id:De},Ae),paper:o(o({},Le),{},{style:o({minWidth:Pe},null!=Le?Le.style:null)})}),children:Me}))]})});t.default=C},57015:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={selectClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"selectClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(59835)),s=n(r(68943));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},68943:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSelectUtilityClasses=function(e){return(0,o.default)("MuiSelect",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);t.default=a},84733:function(e,t,r){"use strict";const n=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],i=["ownerState"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.setTranslateValue=_;var d=u(r(40809)),f=(c(r(19894)),r(1232)),p=(c(r(96548)),c(r(80928)),c(r(37254)),c(r(15607))),h=(c(r(76884)),c(r(85353))),m=c(r(29314)),y=r(36431),g=r(2944),v=r(84580),b=r(34766);function _(e,t,r){var n;const i=function(e,t,r){const n=t.getBoundingClientRect(),i=r&&r.getBoundingClientRect(),o=(0,v.ownerWindow)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=o.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?i?`translateX(${i.right+s-n.left}px)`:`translateX(${o.innerWidth+s-n.left}px)`:"right"===e?i?`translateX(-${n.right-i.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?i?`translateY(${i.bottom+l-n.top}px)`:`translateY(${o.innerHeight+l-n.top}px)`:i?`translateY(-${n.top-i.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,"function"==typeof(n=r)?n():n);i&&(t.style.webkitTransform=i,t.style.transform=i)}const x=d.forwardRef(function(e,t){const r=(0,y.useTheme)(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:c,appear:u=!0,children:x,container:w,direction:O="down",easing:j=o,in:S,onEnter:M,onEntered:k,onEntering:P,onExit:T,onExited:E,onExiting:C,style:L,timeout:A=s,TransitionComponent:D=f.Transition}=e,I=l(e,n),N=d.useRef(null),R=(0,m.default)((0,p.default)(x),N,t),z=e=>t=>{e&&(void 0===t?e(N.current):e(N.current,t))},F=z((e,t)=>{_(O,e,w),(0,g.reflow)(e),M&&M(e,t)}),B=z((e,t)=>{const n=(0,g.getTransitionProps)({timeout:A,style:L,easing:j},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",a({},n)),e.style.transition=r.transitions.create("transform",a({},n)),e.style.webkitTransform="none",e.style.transform="none",P&&P(e,t)}),Y=z(k),U=z(C),H=z(e=>{const t=(0,g.getTransitionProps)({timeout:A,style:L,easing:j},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),_(O,e,w),T&&T(e)}),$=z(e=>{e.style.webkitTransition="",e.style.transition="",E&&E(e)}),W=d.useCallback(()=>{N.current&&_(O,N.current,w)},[O,w]);return d.useEffect(()=>{if(S||"down"===O||"right"===O)return;const e=(0,h.default)(()=>{N.current&&_(O,N.current,w)}),t=(0,v.ownerWindow)(N.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[O,S,w]),d.useEffect(()=>{S||W()},[S,W]),(0,b.jsx)(D,a(a({nodeRef:N,onEnter:F,onEntered:Y,onEntering:B,onExit:H,onExited:$,onExiting:U,addEndListener:e=>{c&&c(N.current,e)},appear:u,in:S,timeout:A},I),{},{children:(e,t)=>{let{ownerState:r}=t,n=l(t,i);return d.cloneElement(x,a({ref:R,style:a(a({visibility:"exited"!==e||S?void 0:"hidden"},L),x.props.style)},n))}}))});t.default=x},5996:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(84733))},74401:function(e,t,r){"use strict";const n=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(88732)),p=r(36431),h=s(r(60999)),m=r(41099),y=r(86705),g=r(34766);const v=(0,p.styled)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,f.default)(r.color)}`],t[`fontSize${(0,f.default)(r.fontSize)}`]]}})((0,h.default)(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),b=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:p="medium",htmlColor:h,inheritViewBox:b=!1,titleAccess:_,viewBox:x="0 0 24 24"}=r,w=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),O=c.isValidElement(i)&&"svg"===i.type,j=o(o({},r),{},{color:s,component:l,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:b,viewBox:x,hasSvgAsChild:O}),S={};b||(S.viewBox=x);const M=(e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,f.default)(t)}`,`fontSize${(0,f.default)(r)}`]};return(0,d.default)(i,y.getSvgIconUtilityClass,n)})(j);return(0,g.jsxs)(v,o(o(o(o({as:l,className:(0,u.default)(M.root,a),focusable:"false",color:h,"aria-hidden":!_||void 0,role:_?"img":void 0,ref:t},S),w),O&&i.props),{},{ownerState:j,children:[O?i.props.children:i,_?(0,g.jsx)("title",{children:_}):null]}))});b.muiName="SvgIcon";t.default=b},74594:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={svgIconClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"svgIconClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(74401)),s=n(r(86705));
153Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},86705:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSvgIconUtilityClass=function(e){return(0,o.default)("MuiSvgIcon",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);t.default=a},15881:function(e,t,r){"use strict";const n=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(3986)),p=s(r(88732)),h=r(36431),m=s(r(60999)),y=r(41099),g=(s(r(97102)),l(r(46905))),v=r(34766);const b=(0,h.styled)(f.default,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${(0,p.default)(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${g.default.iconWrapper}`]:t.iconWrapper},{[`& .${g.default.icon}`]:t.icon}]}})((0,m.default)(({theme:e})=>o(o({},e.typography.button),{},{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${g.default.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${g.default.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${g.default.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${g.default.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${g.default.selected}`]:{opacity:1},[`&.${g.default.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${g.default.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${g.default.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${g.default.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${g.default.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),_=c.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l,icon:f,iconPosition:h="top",indicator:m,label:_,onCh
153ange:x,onClick:w,onFocus:O,selected:j,selectionFollowsFocus:S,textColor:M="inherit",value:k,wrapped:P=!1}=r,T=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),E=o(o({},r),{},{disabled:a,disableFocusRipple:s,selected:j,icon:!!f,iconPosition:h,label:!!_,fullWidth:l,textColor:M,wrapped:P}),C=(e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:o,label:a,selected:s,disabled:l}=e,c={root:["root",o&&a&&"labelIcon",`textColor${(0,p.default)(r)}`,n&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return(0,d.default)(c,g.getTabUtilityClass,t)})(E),L=f&&_&&c.isValidElement(f)?c.cloneElement(f,{className:(0,u.default)(C.icon,f.props.className)}):f;return(0,v.jsxs)(b,o(o({focusRipple:!s,className:(0,u.default)(C.root,i),ref:t,role:"tab","aria-selected":j,disabled:a,onClick:e=>{!j&&x&&x(e,k),w&&w(e)},onFocus:e=>{S&&!j&&x&&x(e,k),O&&O(e)},ownerState:E,tabIndex:j?0:-1},T),{},{children:["top"===h||"start"===h?(0,v.jsxs)(c.Fragment,{children:[L,_]}):(0,v.jsxs)(c.Fragment,{children:[_,L]}),m]}))});t.default=_},31134:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tabClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tabClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(15881)),s=n(r(46905));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},46905:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTabUtilityClass=function(e){return(0,o.default)("MuiTab",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]);t.default=a},83541:function(e,t,r){"use strict";const n=["className","slots","slotProps","direction","orientation","disabled"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(75926),p=s(r(34578)),h=s(r(37955)),m=s(r(9994)),y=s(r(3986)),g=r(36431),v=r(41099),b=l(r(79661)),_=r(34766);const x=(0,g.styled)(y.default,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${b.default.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),w=c.forwardRef(function(e,t){const r=(0,v.useDefaultProps)({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l,orientation:c,disabled:y}=r,g=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),w=(0,f.useRtl)(),O=o({isRtl:w},r),j=(e=>{const{classes:t,orientation:r,disabled:n}=e,i={root:["root",r,n&&"disabled"]};return(0,d.default)(i,b.getTabScrollButtonUtilityClass,t)})(O),S=a.StartScrollButtonIcon??h.default,M=a.EndScrollButtonIcon??m.default,k=(0,p.default)({elementType:S,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:O}),P=(0,p.default)({elementType:M,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:O});return(0,_.jsx)(x,o(o({component:"div",className:(0,u.default)(j.root,i),ref:t,role:null,ownerState:O,tabIndex:null},g),{},{style:o(o({},g.style),"vertical"===c&&{"--TabScrollButton-svgRotate":`rotate(${w?-90:90}deg)`}),children:"left"===l?(0,_.jsx)(S,o({},k)):(0,_.jsx)(M,o({},P))}))});t.default=w},37519:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={tabScrollButtonClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tabScrollButtonClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(83541)),s=n(r(79661));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},79661:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTabScrollButtonUtilityClass=function(e){return(0,o.default)("MuiTabScrollButton",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);t.default=a},55613:function(e,t,r){"use strict";const n=["className","component","padding","size","stickyHeader"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(31094)),p=r(36431),h=s(r(60999)),m=r(41099),y=r(31189),g=r(34766);const v=(0,p.styled)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})((0,h.default)(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":o(o({},e.typography.body2),{},{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"}),variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),b="table",_=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiTable"}),{className:i,component:a=b,padding:s="normal",size:l="medium",stickyHeader:p=!1}=r,h=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),_=o(o({},r),{},{component:a,padding:s,size:l,stickyHeader:p}),x=(e=>{const{classes:t,stickyHeader:r}=e,n={root:["root",r&&"stickyHeader"]};return(0,d.default)(n,y.getTableUtilityClass,t)})(_),w=c.useMemo(()=>({padding:s,size:l,stickyHeader:p}),[s,l,p]);return(0,g.jsx)(f.default.Provider,{value:w,children:(0,g.jsx)(v,o({as:a,role:a===b?null:"table",ref:t,className:(0,u.default)(x.root,i),ownerState:_},h))})});t.default=_},31094:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext();t.default=i},92834:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext();t.default=i},72125:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={tableClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(55613)),s=n(r(31189));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},31189:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableUtilityClass=function(e){return(0,o.default)("MuiTable",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTable",["root","stickyHeader"]);t.default=a},18649:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(92834)),p=r(36431),h=r(41099),m=r(25961),y=r(34766);const g=(0,p.styled)("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),v={variant:"body"},b="tbody",_=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiTableBody"}),{className:i,component:a=b}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{component:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},m.getTableBodyUtilityClass,t)})(l);return(0,y.jsx)(f.default.Provider,{value:v,children:(0,y.jsx)(g,o({className:(0,u.default)(c.root,
153i),as:a,ref:t,role:a===b?null:"rowgroup",ownerState:l},s))})});t.default=_},92749:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tableBodyClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableBodyClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(18649)),s=n(r(25961));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},25961:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableBodyUtilityClass=function(e){return(0,o.default)("MuiTableBody",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableBody",["root"]);t.default=a},34221:function(e,t,r){"use strict";const n=["align","className","component","padding","scope","size","sortDirection","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(88732)),p=s(r(31094)),h=s(r(92834)),m=r(36431),y=s(r(60999)),g=r(41099),v=l(r(20613)),b=r(34766);const _=(0,m.styled)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${(0,f.default)(r.size)}`],"normal"!==r.padding&&t[`padding${(0,f.default)(r.padding)}`],"inherit"!==r.align&&t[`align${(0,f.default)(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((0,y.default)(({theme:e})=>o(o({},e.typography.body2),{},{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${v.default.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),x=c.forwardRef(function(e,t){const r=(0,g.useDefaultProps)({props:e,name:"MuiTableCell"}),{align:i="inherit",className:a,component:s,padding:l,scope:m,size:y,sortDirection:x,variant:w}=r,O=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),j=c.useContext(p.default),S=c.useContext(h.default),M=S&&"head"===S.variant;let k;k=s||(M?"th":"td");let P=m;"td"===k?P=void 0:!P&&M&&(P="col");const T=w||S&&S.variant,E=o(o({},r),{},{align:i,component:k,padding:l||(j&&j.padding?j.padding:"normal"),size:y||(j&&j.size?j.size:"medium"),sortDirection:x,stickyHeader:"head"===T&&j&&j.stickyHeader,variant:T}),C=(e=>{const{classes:t,variant:r,align:n,padding:i,size:o,stickyHeader:a}=e,s={root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${(0,f.default)(n)}`,"normal"!==i&&`padding${(0,f.default)(i)}`,`size${(0,f.default)(o)}`]};return(0,d.default)(s,v.getTableCellUtilityClass,t)})(E);let L=null;return x&&(L="asc"===x?"ascending":"descending"),(0,b.jsx)(_,o({as:k,ref:t,className:(0,u.default)(C.root,a),"aria-sort":L,scope:P,ownerState:E},O))});t.default=x},85013:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={tableCellClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableCellClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(34221)),s=n(r(20613));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},20613:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableCellUtilityClass=function(e){return(0,o.default)("MuiTableCell",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.default=a},10725:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=r(41099),h=r(47933),m=r(34766);const y=(0,f.styled)("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),g=c.forwardRef(function(e,t){const r=(0,p.useDefaultProps)({props:e,name:"MuiTableContainer"}),{className:i,component:a="div"}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{component:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},h.getTableContainerUtilityClass,t)})(l);
153return(0,m.jsx)(y,o({ref:t,as:a,className:(0,u.default)(c.root,i),ownerState:l},s))});t.default=g},79304:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tableContainerClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableContainerClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(10725)),s=n(r(47933));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},47933:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableContainerUtilityClass=function(e){return(0,o.default)("MuiTableContainer",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableContainer",["root"]);t.default=a},79569:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(92834)),p=r(36431),h=r(41099),m=r(45953),y=r(34766);const g=(0,p.styled)("tfoot",{name:"MuiTableFooter",slot:"Root"})({display:"table-footer-group"}),v={variant:"footer"},b="tfoot",_=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiTableFooter"}),{className:i,component:a=b}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{component:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},m.getTableFooterUtilityClass,t)})(l);return(0,y.jsx)(f.default.Provider,{value:v,children:(0,y.jsx)(g,o({as:a,className:(0,u.default)(c.root,
153i),ref:t,role:a===b?null:"rowgroup",ownerState:l},s))})});t.default=_},34318:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tableFooterClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableFooterClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(79569)),s=n(r(45953));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},45953:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableFooterUtilityClass=function(e){return(0,o.default)("MuiTableFooter",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableFooter",["root"]);t.default=a},71061:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(92834)),p=r(36431),h=r(41099),m=r(20685),y=r(34766);const g=(0,p.styled)("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),v={variant:"head"},b="thead",_=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiTableHead"}),{className:i,component:a=b}=r,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),l=o(o({},r),{},{component:a}),c=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},m.getTableHeadUtilityClass,t)})(l);return(0,y.jsx)(f.default.Provider,{value:v,children:(0,y.jsx)(g,o({as:a,className:(0,u.default)(c.root,
153i),ref:t,role:a===b?null:"rowgroup",ownerState:l},s))})});t.default=_},40775:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tableHeadClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableHeadClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(71061)),s=n(r(20685));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},20685:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableHeadUtilityClass=function(e){return(0,o.default)("MuiTableHead",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableHead",["root"]);t.default=a},5153:function(e,t,r){"use strict";const n=["ActionsComponent","backIconButtonProps","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(70609).default,l=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c,u=s(r(40809)),d=u,f=(l(r(19894)),l(r(44173))),p=(l(r(99904)),l(r(96548)),l(r(7265))),h=r(36431),m=l(r(60999)),y=r(41099),g=l(r(26924)),v=l(r(71831)),b=l(r(57015)),_=l(r(85013)),x=l(r(94926)),w=l(r(31472)),O=l(r(39670)),j=s(r(10929)),S=l(r(59179)),M=r(34766);const k=(0,h.styled)(_.default,{name:"MuiTablePagination",slot:"Root"})((0,m.default)(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),P=(0,h.styled)(x.default,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>o({[`& .${j.default.actions}`]:t.actions},t.toolbar)})((0,m.default)(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${j.default.actions}`]:{flexShrink:0,marginLeft:20}}))),T=(0,h.styled)("div",{name:"MuiTablePagination",slot:"Spacer"})({flex:"1 1 100%"}),E=(0,h.styled)("p",{name:"MuiTablePagination",slot:"SelectLabel"})((0,m.default)(({theme:e})=>o(o({},e.typography.body2),{},{flexShrink:0}))),C=(0,h.styled)(b.default,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>o(o({[`& .${j.default.selectIcon}`]:t.selectIcon,[`& .${j.default.select}`]:t.select},t.input),t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${j.default.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),L=(0,h.styled)(v.default,{name:"MuiTablePagination",slot:"MenuItem"})({}),A=(0,h.styled)("p",{name:"MuiTablePagination",slot:"DisplayedRows"})((0,m.default)(({theme:e})=>o(o({},e.typography.body2),{},{flexShrink:0})));function D({from:e,to:t,count:r}){return`${e}â${t} of ${-1!==r?r:`more than ${t}`}`}function I(e){return`Go to ${e} page`}const N=d.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiTablePagination"}),{ActionsComponent:i=w.default,backIconButtonProps:a,colSpan:s,component:l=_.default,count:d,disabled:h=!1,getItemAriaLabel:m=I,labelDisplayedRows:v=D,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:x,onPageChange:N,onRowsPerPageChange:R,page:z,rowsPerPage:F,rowsPerPageOptions:B=[10,25,50,100],SelectProps:Y={},showFirstButton:U=!1,showLastButton:H=!1,slotProps:$={},slots:W={}}=r,V=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),q=r,G=(e=>{const{classes:t}=e;return(0,p.default)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},j.getTablePaginationUtilityClass,t)})(q),Z=$?.select??Y,X=Z.native?"option":L;let J;l!==_.default&&"td"!==l||(J=s||1e3);const K=(0,O.default)(Z.id),Q=(0,O.default)(Z.labelId),ee={slots:W,slotProps:$},[te,re]=(0,S.default)("root",{ref:t,className:G.root,elementType:k,externalForwardedProps:o(o({},ee),{},{component:l},V),ownerState:q,additionalProps:{colSpan:J}}),[ne,ie]=(0,S.default)("toolbar",{className:G.toolbar,elementType:P,externalForwardedProps:ee,ownerState:q}),[oe,ae]=(0,S.default)("spacer",{className:G.spacer,elementType:T,externalForwardedProps:ee,ownerState:q}),[se,le]=(0,S.default)("selectLabel",{className:G.selectLabel,elementType:E,externalForwardedProps:ee,ownerState:q,additionalProps:{id:Q}}),[ce,ue]=(0,S.default)("select",{className:G.select,elementType:C,externalForwardedProps:ee,ownerState:q}),[de,fe]=(0,S.default)("menuItem",{className:G.menuItem,elementType:X,externalForwardedProps:ee,ownerState:q}),[pe,he]=(0,S.default)("displayedRows",{className:G.displayedRows,elementType:A,externalForwardedProps:ee,ownerState:q});return(0,M.jsx)(te,o(o({},re),{},{children:(0,M.jsxs)(ne,o(o({},ie),{},{children:[(0,M.jsx)(oe,o({},ae)),B.length>1&&(0,M.jsx)(se,o(o({},le),{},{children:b})),B.length>1&&(0,M.jsx)(ce,o(o(o(o({variant:"standard"},!Z.variant&&{input:c||(c=(0,M.jsx)(g.default,{}))}),{},{value:F,onChange:R,id:K,labelId:Q},Z),{},{classes:o(o({},Z.classes),{},{root:(0,f.default)(G.input,G.selectRoot,(Z.classes||{}).root),select:(0,f.default)(G.select,(Z.classes||{}).select),icon:(0,f.default)(G.selectIcon,(Z.classes||{}).icon)}),disabled:h},ue),{},{children:B.map(e=>(0,u.createElement)(de,o(o({},fe),{},{key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,M.jsx)(pe,o(o({},he),{},{children:v({from:0===d?0:z*F+1,to:-1===d?(z+1)*F:-1===F?d:Math.min(d,(z+1)*F),c
153ount:-1===d?-1:d,page:z})})),(0,M.jsx)(i,{className:G.actions,backIconButtonProps:a,count:d,nextIconButtonProps:x,onPageChange:N,page:z,rowsPerPage:F,showFirstButton:U,showLastButton:H,slotProps:$.actions,slots:W.actions,getItemAriaLabel:m,disabled:h})]}))}))});t.default=N},35857:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tablePaginationClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tablePaginationClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(5153)),s=n(r(10929));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},10929:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTablePaginationUtilityClass=function(e){return(0,o.default)("MuiTablePagination",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);t.default=a},69665:function(e,t,r){"use strict";const n=["backIconButtonProps","className","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),r(75926)),d=s(r(7265)),f=s(r(44173)),p=r(36431),h=r(41099),m=s(r(37955)),y=s(r(9994)),g=s(r(55702)),v=s(r(30529)),b=s(r(31481)),_=r(72849),x=r(34766);const w=(0,p.styled)("div",{name:"MuiTablePaginationActions",slot:"Root"})({}),O=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiTablePaginationActions"}),{backIconButtonProps:i,className:a,count:s,disabled:l=!1,getItemAriaLabel:c,nextIconButtonProps:p,onPageChange:O,page:j,rowsPerPage:S,showFirstButton:M,showLastButton:k,slots:P={},slotProps:T={}}=r,E=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),C=(0,u.useRtl)(),L=(e=>{const{classes:t}=e;return(0,d.default)({root:["root"]},_.getTablePaginationActionsUtilityClass,t)})(r),A=P.firstButton??g.default,D=P.lastButton??g.default,I=P.nextButton??g.default,N=P.previousButton??g.default,R=P.firstButtonIcon??b.default,z=P.lastButtonIcon??v.default,F=P.nextButtonIcon??y.default,B=P.previousButtonIcon??m.default,Y=C?D:A,U=C?I:N,H=C?N:I,$=C?A:D,W=C?T.lastButton:T.firstButton,V=C?T.nextButton:T.previousButton,q=C?T.previousButton:T.nextButton,G=C?T.firstButton:T.lastButton;return(0,x.jsxs)(w,o(o({ref:t,className:(0,f.default)(L.root,a)},E),{},{children:[M&&(0,x.jsx)(Y,o(o({onClick:e=>{O(e,0)},disabled:l||0===j,"aria-label":c("first",j),title:c("first",j)},W),{},{children:C?(0,x.jsx)(z,o({},T.lastButtonIcon)):(0,x.jsx)(R,o({},T.firstButtonIcon))})),(0,x.jsx)(U,o(o({onClick:e=>{O(e,j-1)},disabled:l||0===j,color:"inherit","aria-label":c("previous",j),title:c("previous",j)},V??i),{},{children:C?(0,x.jsx)(F,o({},T.nextButtonIcon)):(0,x.jsx)(B,o({},T.previousButtonIcon))})),(0,x.jsx)(H,o(o({onClick:e=>{O(e,j+1)},disabled:l||-1!==s&&j>=Math.ceil(s/S)-1,color:"inherit","aria-label":c("next",j),title:c("next",j)},q??p),{},{children:C?(0,x.jsx)(B,o({},T.previousButtonIcon)):(0,x.jsx)(F,o({},T.nextButtonIcon))})),k&&(0,x.jsx)($,o(o({onClick:e=>{O(e,Math.max(0,Math.ceil(s/S)-1))},disabled:l||j>=Math.ceil(s/S)-1,"aria-label":c("last",j),title:c("last",j)},G),{},{children:C?(0,x.jsx)(R,o({},T.firstButtonIcon)):(0,x.jsx)(z,o({},T.lastButtonIcon))}))]}))});t.default=O},31472:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"tablePaginationActionsClasses",{enumerable:!0,get:function(){return o.default}});var i=n(r(69665)),o=n(r(72849))},72849:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTablePaginationActionsUtilityClass=function(e){return(0,o.default)("MuiTablePaginationActions",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTablePaginationActions",["root"]);t.default=a},40435:function(e,t,r){"use strict";const n=["className","component","hover","selected"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=s(r(92834)),p=r(36431),h=s(r(60999)),m=r(41099),y=l(r(59687)),g=r(34766);const v=(0,p.styled)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})((0,h.default)(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${y.default.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${y.default.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),b="tr",_=c.forwardRef(function(e,t){const r=(0,m.useDefaultProps)({props:e,name:"MuiTableRow"}),{className:i,component:a=b,hover:s=!1,selected:l=!1}=r,p=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),h=c.useContext(f.default),_=o(o({},r),{},{component:a,hover:s,selected:l,head:h&&"head"===h.variant,footer:h&&"footer"===h.variant}),x=(e=>{const{classes:t,selected:r,hover:n,head:i,footer:o}=e,a={root:["root",r&&"selected",n&&"hover",i&&"head",o&&"footer"]};return(0,d.default)(a,y.getTableRowUtilityClass,t)})(_);return(0,g.jsx)(v,o({as:a,ref:t,className:(0,u.default)(x.root,i),role:a===b?null:"row",ownerState:_},p))});t.default=_},903:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tableRowClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tableRowClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(40435)),s=n(r(59687));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},59687:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTableRowUtilityClass=function(e){return(0,o.default)("MuiTableRow",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTableRow",["root","selected","hover","head","footer"]);t.default=a},56208:function(e,t,r){"use strict";const n=["onChange"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{onChange:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),i=c.useRef(),a=c.useRef(null),s=()=>{i.current=a.current.offsetHeight-a.current.clientHeight};return(0,d.unstable_useEnhancedEffect)(()=>{const e=(0,u.default)(()=>{const e=i.current;s(),e!==i.current&&t(i.current)}),r=(0,d.ownerWindow)(a.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}},[t]),c.useEffect(()=>{s(),t(i.current)},[t]),(0,f.jsx)("div",o(o({style:p},r),{},{ref:a}))};var c=l(r(40809)),u=(s(r(19894)),s(r(85353))),d=r(84580),f=r(34766);const p={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"}},44415:function(e,t,r){"use strict";const n=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],i=["onChange"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=u(r(40809)),f=(r(76333),c(r(19894)),c(r(44173))),p=(c(r(47654)),c(r(7265))),h=r(75926),m=c(r(34578)),y=r(36431),g=c(r(60999)),v=r(41099),b=c(r(85353)),_=c(r(56245)),x=c(r(56208)),w=c(r(37519)),O=c(r(63080)),j=u(r(92683)),S=c(r(26394)),M=c(r(34939)),k=c(r(94468)),P=(c(r(76884)),c(r(59179))),T=r(34766);const E=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,C=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,L=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=r(e,i)}},A=(0,y.styled)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${j.default.scrollButtons}`]:t.scrollButtons},{[`& .${j.default.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})((0,g.default)(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${j.default.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),D=(0,y.styled)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),I=(0,y.styled)("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.list,t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),N=(0,y.styled)("span",{name:"MuiTabs",slot:"Indicator"})((0,g.default)(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),R=(0,y.styled)(x.default)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),z={};const F=d.forwardRef(function(e,t){const r=(0,v.useDefaultProps)({props:e,name:"MuiTabs"}),o=(0,y.useTheme)(),s=(0,h.useRtl)(),{"aria-label":c,"aria-labelledby":u,action:g,centered:x=!1,children:F,className:B,component:Y="div",allowScrollButtonsMobile:U=!1,indicatorColor:H="primary",onChange:$,orientation:W="horizontal",ScrollButtonComponent:V,scrollButtons:q="auto",selectionFollowsFocus:G,slots:Z={},slotProps:X={},TabIndicatorProps:J={},TabScrollButtonProps:K={},textColor:Q="primary",value:ee,variant:te="standard",visibleScrollbar:re=!1}=r,ne=l(r,n),ie="scrollable"===te,oe="vertical"===W,ae=oe?"scrollTop":"scrollLeft",se=oe?"top":"left",le=oe?"bottom":"right",ce=oe?"clientHeight":"clientWidth",ue=oe?"height":"width",de=a(a({},r),{},{component:Y,allowScrollButtonsMobile:U,indicatorColor:H,orientation:W,vertical:oe,scrollButtons:q,textColor:Q,variant:te,visibleScrollbar:re,fixed:!ie,hideScrollbar:ie&&!re,scrollableX:ie&&!oe,scrollableY:ie&&oe,centered:x&&!ie,scrollButtonsHideMobile:!U}),fe=(e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e,c={root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]};return(0,p.default)(c,j.getTabsUtilityClass,l)})(de),pe=(0,m.default)({elementType:Z.StartScrollButtonIcon,externalSlotProps:X.startScrollButtonIcon,ownerState:de}),he=(0,m.default)({elementType:Z.EndScrollButtonIcon,externalSlotProps:X.endScrollButtonIcon,ownerState:de});const[me,ye]=d.useState(!1),[ge,ve]=d.useState(z),[be,_e]=d.useState(!1),[xe,we]=d.useState(!1),[Oe,je]=d.useState(!1),[Se,Me]=d.useState({overflow:"hidden",scrollbarWidth:0}),ke=new Map,Pe=d.useRef(null),Te=d.useRef(null),Ee={slots:Z,slotProps:a({indicator:J,scrollButtons:K},X)},Ce=()=>{const e=Pe.current;let t,r;if(e){const r=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(e&&!1!==ee){const e=Te.current.children;if(e.length>0){const t=e[ke.get(ee)];0,r=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:r}},Le=(0,O.default)(()=>{const{tabsMeta:e,tabMeta:t}=Ce();let r,n=0;
153oe?(r="top",t&&e&&(n=t.top-e.top+e.scrollTop)):(r=s?"right":"left",t&&e&&(n=(s?-1:1)*(t[r]-e[r]+e.scrollLeft)));const i={[r]:n,[ue]:t?t[ue]:0};if("number"!=typeof ge[r]||"number"!=typeof ge[ue])ve(i);else{const e=Math.abs(ge[r]-i[r]),t=Math.abs(ge[ue]-i[ue]);(e>=1||t>=1)&&ve(i)}}),Ae=(e,{animation:t=!0}={})=>{t?(0,_.default)(ae,Pe.current,e,{duration:o.transitions.duration.standard}):Pe.current[ae]=e},De=e=>{let t=Pe.current[ae];t+=oe?e:e*(s?-1:1),Ae(t)},Ie=()=>{const e=Pe.current[ce];let t=0;const r=Array.from(Te.current.children);for(let n=0;n<r.length;n+=1){const i=r[n];if(t+i[ce]>e){0===n&&(t=e);break}t+=i[ce]}return t},Ne=()=>{De(-1*Ie())},Re=()=>{De(Ie())},[ze,Fe]=(0,P.default)("scrollbar",{className:(0,f.default)(fe.scrollableX,fe.hideScrollbar),elementType:R,shouldForwardComponentProp:!0,externalForwardedProps:Ee,ownerState:de}),{onChange:Be}=Fe,Ye=l(Fe,i),Ue=d.useCallback(e=>{Be?.(e),Me({overflow:null,scrollbarWidth:e})},[Be]),[He,$e]=(0,P.default)("scrollButtons",{className:(0,f.default)(fe.scrollButtons,K.className),elementType:w.default,externalForwardedProps:Ee,ownerState:de,additionalProps:{orientation:W,slots:{StartScrollButtonIcon:Z.startScrollButtonIcon||Z.StartScrollButtonIcon,EndScrollButtonIcon:Z.endScrollButtonIcon||Z.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:pe,endScrollButtonIcon:he}}}),We=(0,O.default)(e=>{const{tabsMeta:t,tabMeta:r}=Ce();if(r&&t)if(r[se]<t[se]){const n=t[ae]+(r[se]-t[se]);Ae(n,{animation:e})}else if(r[le]>t[le]){const n=t[ae]+(r[le]-t[le]);Ae(n,{animation:e})}}),Ve=(0,O.default)(()=>{ie&&!1!==q&&je(!Oe)});d.useEffect(()=>{const e=(0,b.default)(()=>{Pe.current&&Le()});let t;const r=r=>{r.forEach(e=>{e.removedNodes.forEach(e=>{t?.unobserve(e)}),e.addedNodes.forEach(e=>{t?.observe(e)})}),e(),Ve()},n=(0,M.default)(Pe.current);let i;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Te.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(i=new MutationObserver(r),i.observe(Te.current,{childList:!0})),()=>{e.clear(),n.removeEventListener("resize",e),i?.disconnect(),t?.disconnect()}},[Le,Ve]),d.useEffect(()=>{const e=Array.from(Te.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&ie&&!1!==q){const r=e[0],n=e[t-1],i={root:Pe.current,threshold:.99},o=new IntersectionObserver(e=>{_e(!e[0].isIntersecting)},i);o.observe(r);const a=new IntersectionObserver(e=>{we(!e[0].isIntersecting)},i);return a.observe(n),()=>{o.disconnect(),a.disconnect()}}},[ie,q,Oe,F?.length]),d.useEffect(()=>{ye(!0)},[]),d.useEffect(()=>{Le()}),d.useEffect(()=>{We(z!==ge)},[We,ge]),d.useImperativeHandle(g,()=>({updateIndicator:Le,updateScrollButtons:Ve}),[Le,Ve]);const[qe,Ge]=(0,P.default)("indicator",{className:(0,f.default)(fe.indicator,J.className),elementType:N,externalForwardedProps:Ee,ownerState:de,additionalProps:{style:ge}}),Ze=(0,T.jsx)(qe,a({},Ge));let Xe=0;const Je=d.Children.map(F,e=>{if(!d.isValidElement(e))return null;const t=void 0===e.props.value?Xe:e.props.value;ke.set(t,Xe);const r=t===ee;return Xe+=1,d.cloneElement(e,a({fullWidth:"fullWidth"===te,indicator:r&&!me&&Ze,selected:r,selectionFollowsFocus:G,onChange:$,textColor:Q,value:t},1!==Xe||!1!==ee||e.props.tabIndex?{}:{tabIndex:0}))}),Ke=(()=>{const e={};e.scrollbarSizeListener=ie?(0,T.jsx)(ze,a(a({},Ye),{},{onChange:Ue})):null;const t=ie&&("auto"===q&&(be||xe)||!0===q);return e.scrollButtonStart=t?(0,T.jsx)(He,a({direction:s?"right":"left",onClick:Ne,disabled:!be},$e)):null,e.scrollButtonEnd=t?(0,T.jsx)(He,a({direction:s?"left":"right",onClick:Re,disabled:!xe},$e)):null,e})(),[Qe,et]=(0,P.default)("root",{ref:t,className:(0,f.default)(fe.root,B),elementType:A,externalForwardedProps:a(a(a({},Ee),ne),{},{component:Y}),ownerState:de}),[tt,rt]=(0,P.default)("scroller",{ref:Pe,className:fe.scroller,elementType:D,externalForwardedProps:Ee,ownerState:de,additionalProps:{style:{overflow:Se.overflow,[oe?"margin"+(s?"Left":"Right"):"marginBottom"]:re?void 0:-Se.scrollbarWidth}}}),[nt,it]=(0,P.default)("list",{ref:Te,className:(0,f.default)(fe.list,fe.flexContainer),elementType:I,externalForwardedProps:Ee,ownerState:de,getSlotProps:e=>a(a({},e),{},{onKeyDown:t=>{(e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const t=Te.current,r=(0,k.default)((0,S.default)(t)),n=r?.getAttribute("role");
153if("tab"!==n)return;let i="horizontal"===W?"ArrowLeft":"ArrowUp",o="horizontal"===W?"ArrowRight":"ArrowDown";switch("horizontal"===W&&s&&(i="ArrowRight",o="ArrowLeft"),e.key){case i:e.preventDefault(),L(t,r,C);break;case o:e.preventDefault(),L(t,r,E);break;case"Home":e.preventDefault(),L(t,null,E);break;case"End":e.preventDefault(),L(t,null,C)}})(t),e.onKeyDown?.(t)}})});return(0,T.jsxs)(Qe,a(a({},et),{},{children:[Ke.scrollButtonStart,Ke.scrollbarSizeListener,(0,T.jsxs)(tt,a(a({},rt),{},{children:[(0,T.jsx)(nt,a(a({"aria-label":c,"aria-labelledby":u,"aria-orientation":"vertical"===W?"vertical":null,role:"tablist"},it),{},{children:Je})),me&&Ze]})),Ke.scrollButtonEnd]}))});t.default=F},63703:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tabsClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tabsClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(44415)),s=n(r(92683));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},92683:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTabsUtilityClass=function(e){return(0,o.default)("MuiTabs",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
153indicator"]);t.default=a},76691:function(e,t,r){"use strict";const n=["onChange","maxRows","minRows","style","value"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(50366))),d=s(r(98573)),f=s(r(98863)),p=s(r(21555)),h=s(r(78128)),m=r(34766);function y(e){return parseInt(e,10)||0}const g={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function v(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const b=c.forwardRef(function(e,t){const{onChange:r,maxRows:i,minRows:a=1,style:s,value:l}=e,b=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),{current:_}=c.useRef(null!=l),x=c.useRef(null),w=(0,d.default)(t,x),O=c.useRef(null),j=c.useRef(null),S=c.useCallback(()=>{const t=x.current,r=j.current;if(!t||!r)return;const n=(0,h.default)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const o=n.boxSizing,s=y(n.paddingBottom)+y(n.paddingTop),l=y(n.borderBottomWidth)+y(n.borderTopWidth),c=r.scrollHeight;r.value="x";const u=r.scrollHeight;let d=c;a&&(d=Math.max(Number(a)*u,d)),i&&(d=Math.min(Number(i)*u,d)),d=Math.max(d,u);return{outerHeightStyle:d+("border-box"===o?s+l:0),overflowing:Math.abs(d-c)<=1}},[i,a,e.placeholder]),M=(0,p.default)(()=>{const e=x.current,t=S();if(!e||!t||v(t))return!1;const r=t.outerHeightStyle;return null!=O.current&&O.current!==r}),k=c.useCallback(()=>{const e=x.current,t=S();if(!e||!t||v(t))return;const r=t.outerHeightStyle;O.current!==r&&(O.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[S]),P=c.useRef(-1);(0,f.default)(()=>{const e=(0,u.default)(k),t=x?.current;if(!t)return;const r=(0,h.default)(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(()=>{M()&&(n.unobserve(t),cancelAnimationFrame(P.current),k(),P.current=requestAnimationFrame(()=>{n.observe(t)}))}),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(P.current),r.removeEventListener("resize",e),n&&n.disconnect()}},[S,k,M]),(0,f.default)(()=>{k()});return(0,m.jsxs)(c.Fragment,{children:[(0,m.jsx)("textarea",o({value:l,onChange:e=>{_||k();const t=e.target,n=t.value.length,i=t.value.endsWith("\n"),o=t.selectionStart===n;i&&o&&t.setSelectionRange(n,n),r&&r(e)},ref:w,rows:a,style:s},b)),(0,m.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:j,tabIndex:-1,style:o(o(o({},g),s),{},{paddingTop:0,paddingBottom:0})})]})});t.default=b},16163:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(76691))},20945:function(e,t,r){"use strict";const n=["className","component","disableGutters","variant"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(7265)),f=r(36431),p=s(r(60999)),h=r(41099),m=r(19329),y=r(34766);const g=(0,f.styled)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((0,p.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),v=c.forwardRef(function(e,t){const r=(0,h.useDefaultProps)({props:e,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:s=!1,variant:l="regular"}=r,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),f=o(o({},r),{},{component:a,disableGutters:s,variant:l}),p=(e=>{const{classes:t,disableGutters:r,variant:n}=e,i={root:["root",!r&&"gutters",n]};return(0,d.default)(i,m.getToolbarUtilityClass,t)})(f);return(0,y.jsx)(g,o({as:a,className:(0,u.default)(p.root,i),ref:t,ownerState:f},c))});t.default=v},94926:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={toolbarClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"toolbarClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(20945)),s=n(r(19329));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},19329:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getToolbarUtilityClass=function(e){return(0,o.default)("MuiToolbar",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiToolbar",["root","gutters","regular","dense"]);t.default=a},86009:function(e,t,r){"use strict";const n=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","
153slotProps","slots","title","TransitionComponent","TransitionProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.testReset=function(){L=!1,A.clear()};var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=l(r(90979)),f=(s(r(37254)),s(r(7265))),p=r(75926),h=s(r(379)),m=s(r(15607)),y=r(36431),g=s(r(60999)),v=r(41099),b=s(r(88732)),_=s(r(50752)),x=s(r(65882)),w=s(r(63080)),O=s(r(29314)),j=s(r(39670)),S=s(r(43501)),M=s(r(59179)),k=l(r(80585)),P=r(34766);const T=(0,y.styled)(x.default,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})((0,g.default)(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${k.default.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${k.default.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${k.default.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${k.default.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${k.default.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${k.default.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${k.default.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${k.default.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),E=(0,y.styled)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,b.default)(r.placement.split("-")[0])}`]]}})((0,g.default)(({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${k.default.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${k.default.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${k.default.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${k.default.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>
153!e.isRtl,style:{[`.${k.default.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${k.default.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${k.default.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${k.default.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${k.default.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${k.default.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${k.default.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${k.default.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${k.default.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${k.default.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),C=(0,y.styled)("span",{name:"MuiTooltip",slot:"Arrow"})((0,g.default)(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let L=!1;const A=new d.Timeout;let D={x:0,y:0};function I(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const N=c.forwardRef(function(e,t){const r=(0,v.useDefaultProps)({props:e,name:"MuiTooltip"}),{arrow:i=!1,children:a,classes:s,components:l={},componentsProps:g={},describeChild:N=!1,disableFocusListener:R=!1,disableHoverListener:z=!1,disableInteractive:F=!1,disableTouchListener:B=!1,enterDelay:Y=100,enterNextDelay:U=0,enterTouchDelay:H=700,followCursor:$=!1,id:W,leaveDelay:V=0,leaveTouchDelay:q=1500,onClose:G,onOpen:Z,open:X,placement:J="bottom",PopperComponent:K,PopperProps:Q={},slotProps:ee={},slots:te={},title:re,TransitionComponent:ne,TransitionProps:ie}=r,oe=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),ae=c.isValidElement(a)?a:(0,P.jsx)("span",{children:a}),se=(0,y.useTheme)(),le=(0,p.useRtl)(),[ce,ue]=c.useState(),[de,fe]=c.useState(null),pe=c.useRef(!1),he=F||$,me=(0,d.default)(),ye=(0,d.default)(),ge=(0,d.default)(),ve=(0,d.default)(),[be,_e]=(0,S.default)({controlled:X,default:!1,name:"Tooltip",state:"open"});let xe=be;const we=(0,j.default)(W),Oe=c.useRef(),je=(0,w.default)(()=>{void 0!==Oe.current&&(document.body.style.WebkitUserSelect=Oe.current,Oe.current=void 0),ve.clear()});c.useEffect(()=>je,[je]);const Se=e=>{A.clear(),L=!0,_e(!0),Z&&!xe&&Z(e)},Me=(0,w.default)(e=>{A.start(800+V,()=>{L=!1}),_e(!1),G&&xe&&G(e),me.start(se.transitions.duration.shortest,()=>{pe.current=!1})}),ke=e=>{pe.current&&"touchstart"!==e.type||(ce&&ce.removeAttribute("title"),ye.clear(),ge.clear(),Y||L&&U?ye.start(L?U:Y,()=>{Se(e)}):Se(e))},Pe=e=>{ye.clear(),ge.start(V,()=>{Me(e)})},[,Te]=c.useState(!1),Ee=e=>{const t=e?.target??ce;if(!t||!(0,h.default)(t)){Te(!1);const r=e??new Event("blur");!e&&t&&(Object.defineProperty(r,"target",{value:t}),Object.defineProperty(r,"currentTarget",{value:t})),Pe(r)}},Ce=e=>{ce||ue(e.currentTarget),(0,h.default)(e.target)&&(Te(!0),ke(e))},Le=e=>{pe.current=!0;const t=ae.props;t.onTouchStart&&t.onTouchStart(e)},Ae=e=>{Le(e),ge.clear(),me.clear(),je(),Oe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ve.start(H,()=>{document.body.style.WebkitUserSelect=Oe.current,ke(e)})},De=e=>{ae.props.onTouchEnd&&ae.props.onTouchEnd(e),je(),ge.start(q,()=>{Me(e)})};c.useEffect(()=>{if(xe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&Me(e)}},[Me,xe]);const Ie=(0,O.default)((0,m.default)(ae),ue,t);re||0===re||(xe=!1);const Ne=c.useRef(),Re={},ze="string"==typeof re;N?(Re.title=xe||!ze||z?null:re,Re["aria-describedby"]=xe?we:null):(Re["aria-label"]=ze?re:null,Re["aria-labelledby"]=xe&&!ze?we:null);const Fe=o(o(o(o({},Re),oe),ae.props),{},{className:(0,u.default)(oe.className,ae.props.className),onTouchStart:Le,ref:Ie},$?{onMouseMove:e=>{const t=ae.props;t.onMouseMove&&t.onMouseMove(e),D={x:e.clientX,y:e.clientY}
153,Ne.current&&Ne.current.update()}}:{});const Be={};B||(Fe.onTouchStart=Ae,Fe.onTouchEnd=De),z||(Fe.onMouseOver=I(ke,Fe.onMouseOver),Fe.onMouseLeave=I(Pe,Fe.onMouseLeave),he||(Be.onMouseOver=ke,Be.onMouseLeave=Pe)),R||(Fe.onFocus=I(Ce,Fe.onFocus),Fe.onBlur=I(Ee,Fe.onBlur),he||(Be.onFocus=Ce,Be.onBlur=Ee));const Ye=o(o({},r),{},{isRtl:le,arrow:i,disableInteractive:he,placement:J,PopperComponentProp:K,touch:pe.current}),Ue="function"==typeof ee.popper?ee.popper(Ye):ee.popper,He=c.useMemo(()=>{let e=[{name:"arrow",enabled:Boolean(de),options:{element:de,padding:4}}];return Q.popperOptions?.modifiers&&(e=e.concat(Q.popperOptions.modifiers)),Ue?.popperOptions?.modifiers&&(e=e.concat(Ue.popperOptions.modifiers)),o(o(o({},Q.popperOptions),Ue?.popperOptions),{},{modifiers:e})},[de,Q.popperOptions,Ue?.popperOptions]),$e=(e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:o}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${(0,b.default)(o.split("-")[0])}`],arrow:["arrow"]};return(0,f.default)(a,k.getTooltipUtilityClass,t)})(Ye),We="function"==typeof ee.transition?ee.transition(Ye):ee.transition,Ve={slots:o({popper:l.Popper,transition:l.Transition??ne,tooltip:l.Tooltip,arrow:l.Arrow},te),slotProps:{arrow:ee.arrow??g.arrow,popper:o(o({},Q),Ue??g.popper),tooltip:ee.tooltip??g.tooltip,transition:o(o({},ie),We??g.transition)}},[qe,Ge]=(0,M.default)("popper",{elementType:T,externalForwardedProps:Ve,ownerState:Ye,className:(0,u.default)($e.popper,Q?.className)}),[Ze,Xe]=(0,M.default)("transition",{elementType:_.default,externalForwardedProps:Ve,ownerState:Ye}),[Je,Ke]=(0,M.default)("tooltip",{elementType:E,className:$e.tooltip,externalForwardedProps:Ve,ownerState:Ye}),[Qe,et]=(0,M.default)("arrow",{elementType:C,className:$e.arrow,externalForwardedProps:Ve,ownerState:Ye,ref:fe});return(0,P.jsxs)(c.Fragment,{children:[c.cloneElement(ae,Fe),(0,P.jsx)(qe,o(o(o({as:K??x.default,placement:J,anchorEl:$?{getBoundingClientRect:()=>({top:D.y,left:D.x,right:D.x,bottom:D.y,width:0,height:0})}:ce,popperRef:Ne,open:!!ce&&xe,id:we,transition:!0},Be),Ge),{},{popperOptions:He,children:({TransitionProps:e})=>(0,P.jsx)(Ze,o(o(o({timeout:se.transitions.duration.shorter},e),Xe),{},{children:(0,P.jsxs)(Je,o(o({},Ke),{},{children:[re,i?(0,P.jsx)(Qe,o({},et)):null]}))}))}))]})});t.default=N},37318:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={tooltipClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"tooltipClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(86009)),s=n(r(80585));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},80585:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTooltipUtilityClass=function(e){return(0,o.default)("MuiTooltip",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);t.default=a},64945:function(e,t,r){"use strict";const n=["color"],i=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TypographyRoot=void 0;var d=u(r(40809)),f=(c(r(19894)),c(r(44173))),p=c(r(7265)),h=r(36431),m=c(r(60999)),y=r(41099),g=c(r(88732)),v=c(r(98982)),b=r(66465),_=r(34766);const x={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w=(0,h.internal_createExtendSxProp)(),O=t.TypographyRoot=(0,h.styled)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,g.default)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,m.default)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,v.default)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,g.default)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),j={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},S=d.forwardRef(function(e,t){const r=(0,y.useDefaultProps)({props:e,name:"MuiTypography"}),{color:o}=r,s=l(r,n),c=!x[o],u=w(a(a({},s),c&&{color:o})),{align:d="inherit",className:h,component:m,gutterBottom:v=!1,noWrap:S=!1,paragraph:M=!1,variant:k="body1",variantMapping:P=j}=u,T=l(u,i),E=a(a({},u),{},{align:d,color:o,className:h,component:m,gutterBottom:v,noWrap:S,paragraph:M,variant:k,variantMapping:P}),C=m||(M?"p":P[k]||j[k])||"span",L=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,"inherit"!==e.align&&`align${(0,g.default)(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,p.default)(s,b.getTypographyUtilityClass,a)})(E);return(0,_.jsx)(O,a(a({as:C,ref:t,className:(0,f.default)(L.root,h)},T),{},{ownerState:E,style:a(a({},"inherit"!==d&&{"--Typography-textAlign":d}),T.style)}))});t.default=S},92778:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={typographyClasses:!0};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"typographyClasses",{enumerable:!0,get:function(){return s.default}});var a=i(r(64945)),s=n(r(66465));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},66465:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTypographyUtilityClass=function(e){return(0,o.default)("MuiTypography",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);t.default=a},68626:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(40809)),a=(n(r(19894)),n(r(98573))),s=n(r(99205)),l=n(r(15607)),c=(n(r(53693)),n(r(37254)),n(r(94468))),u=r(34766);const d=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function f(e){const t=[],r=[];
153return Array.from(e.querySelectorAll(d)).forEach((e,n)=>{const i=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===i?t.push(e):r.push({documentOrder:n,tabIndex:i,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function p(){return!0}t.default=function(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:d=f,isEnabled:h=p,open:m}=e,y=o.useRef(!1),g=o.useRef(null),v=o.useRef(null),b=o.useRef(null),_=o.useRef(null),x=o.useRef(!1),w=o.useRef(null),O=(0,a.default)((0,l.default)(t),w),j=o.useRef(null);o.useEffect(()=>{m&&w.current&&(x.current=!r)},[r,m]),o.useEffect(()=>{if(!m||!w.current)return;const e=(0,s.default)(w.current),t=(0,c.default)(e);return w.current.contains(t)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),x.current&&w.current.focus()),()=>{i||(b.current&&b.current.focus&&(y.current=!0,b.current.focus()),b.current=null)}},[m]),o.useEffect(()=>{if(!m||!w.current)return;const e=(0,s.default)(w.current),t=t=>{if(j.current=t,n||!h()||"Tab"!==t.key)return;(0,c.default)(e)===w.current&&t.shiftKey&&(y.current=!0,v.current&&v.current.focus())},r=()=>{const t=w.current;if(null===t)return;const r=(0,c.default)(e);if(!e.hasFocus()||!h()||y.current)return void(y.current=!1);if(t.contains(r))return;if(n&&r!==g.current&&r!==v.current)return;if(r!==_.current)_.current=null;else if(null!==_.current)return;if(!x.current)return;let i=[];if(r!==g.current&&r!==v.current||(i=d(w.current)),i.length>0){const e=Boolean(j.current?.shiftKey&&"Tab"===j.current?.key),t=i[0],r=i[i.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const i=setInterval(()=>{const t=(0,c.default)(e);t&&"BODY"===t.tagName&&r()},50);return()=>{clearInterval(i),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,n,i,h,m,d]);const S=e=>{null===b.current&&(b.current=e.relatedTarget),x.current=!0};return(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:S,ref:g,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:O,onFocus:e=>{null===b.current&&(b.current=e.relatedTarget),x.current=!0,_.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:S,ref:v,"data-testid":"sentinelEnd"})]})}},40413:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(68626))},6810:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_ClassNameGenerator",{enumerable:!0,get:function(){return i.default}});var i=n(r(84745))},57263:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},53854:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={black:"#000",white:"#fff"}},32404:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},57836:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},26643:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},93177:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},83993:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},81504:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},56245:function(e,t){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i={},o=()=>{}){const{ease:a=r,duration:s=300}=i;let l=null;const c=t[e];let u=!1;const d=()=>{u=!0},f=r=>{if(u)return void o(new Error("Animation cancelled"));null===l&&(l=r);const i=Math.min(1,(r-l)/s);t[e]=a(i)*(n-c)+c,i>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(f)};if(c===n)return o(new Error("Element already at target position")),d;return requestAnimationFrame(f),d}},41944:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(38223)),o=r(34766);t.default=(0,i.default)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},31481:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(38223)),o=r(34766);t.default=(0,i.default)((0,o.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},37955:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(38223)),o=r(34766);t.default=(0,i.default)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},9994:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(38223)),o=r(34766);t.default=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},30529:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(38223)),o=r(34766);t.default=(0,i.default)((0,o.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},41737:function(e,t,r){"use strict";const n=["theme"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{theme:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n);const i=c.useMemo(()=>{if("function"==typeof t)return t;const e=f.default in t?t[f.default]:t;return"colorSchemes"in e?null:"vars"in e?t:o(o({},t),{},{vars:null})},[t]);if(i)return(0,p.jsx)(u.default,o({theme:i},r));return(0,p.jsx)(d.CssVarsProvider,o({theme:t},r))};var c=l(r(40809)),u=s(r(2404)),d=r(75179),f=s(r(60206)),p=r(34766)},2404:function(e,t,r){"use strict";const n=["theme"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{theme:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n);const i=u.default in t?t[u.default]:void 0;return(0,d.jsx)(c.ThemeProvider,o(o({},r),{},{themeId:i?u.default:void 0,theme:i||t}))};l(r(40809));var c=r(60522),u=s(r(60206)),d=r(34766)},75179:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.CssVarsProvider=void 0,t.Experimental_CssVarsProvider=function(e){0;return(0,p.jsx)(h,i({},e))},t.useColorScheme=t.getInitColorSchemeScript=void 0;var s=a(r(54923)),l=r(60522),c=a(r(34704)),u=a(r(76880)),d=a(r(60206)),f=r(64265),p=r(34766);const{CssVarsProvider:h,useColorScheme:m,getInitColorSchemeScript:y}=(0,l.unstable_createCssVarsProvider)({themeId:d.default,theme:()=>(0,c.default)({cssVariables:!0}),colorSchemeStorageKey:f.defaultConfig.colorSchemeStorageKey,modeStorageKey:f.defaultConfig.modeStorageKey,defaultColorScheme:{light:f.defaultConfig.defaultLightColorScheme,dark:f.defaultConfig.defaultDar
153kColorScheme},resolveTheme:e=>{const t=i(i({},e),{},{typography:(0,u.default)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,s.default)({sx:e,theme:this})},t}});t.useColorScheme=m;let g=!1;t.getInitColorSchemeScript=e=>(g||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `<InitColorSchemeScript />` instead."].join("\n")),g=!0),y(e));t.CssVarsProvider=h},35302:function(e,t,r){"use strict";const n=["defaultProps","mixins","overrides","palette","props","styleOverrides"],i=["type","mode"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){0;const{defaultProps:t={},mixins:r={},overrides:o={},palette:s={},props:u={},styleOverrides:d={}}=e,f=a(a({},l(e,n)),{},{components:{}});Object.keys(t).forEach(e=>{const r=f.components[e]||{};r.defaultProps=t[e],f.components[e]=r}),Object.keys(u).forEach(e=>{const t=f.components[e]||{};t.defaultProps=u[e],f.components[e]=t}),Object.keys(d).forEach(e=>{const t=f.components[e]||{};t.styleOverrides=d[e],f.components[e]=t}),Object.keys(o).forEach(e=>{const t=f.components[e]||{};t.styleOverrides=o[e],f.components[e]=t}),f.spacing=(0,c.createSpacing)(e.spacing);const p=(0,c.createBreakpoints)(e.breakpoints||{}),h=f.spacing;f.mixins=a({gutters:(e={})=>a(a({paddingLeft:h(2),paddingRight:h(2)},e),{},{[p.up("sm")]:a({paddingLeft:h(3),paddingRight:h(3)},e[p.up("sm")])})},r);const{type:m,mode:y}=s,g=l(s,i),v=y||m||"light";return f.palette=a({text:{hint:"dark"===v?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:v,type:v},g),f};var c=r(60522)},48621:function(e,t,r){"use strict";const n=["palette","opacity","overlays","colorSpace"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{palette:t={mode:"light"},opacity:r,overlays:i,colorSpace:a}=e,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),c=(0,l.default)(o(o({},t),{},{colorSpace:a}));return o({palette:c,opacity:o(o({},d(c.mode)),r),overlays:i||f(c.mode)},s)},t.getOpacity=d,t.getOverlays=f;var l=s(r(44318)),c=s(r(6765));const u=[...Array(25)].map((e,t)=>{if(0===t)return"none";const r=(0,c.default)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function d(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function f(e){return"dark"===e?u:[]}},7640:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(86634));t.default=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if("class"===o&&(a=".%s"),"data"===o&&(a="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(0,s.default)(e.cssVarPrefix).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===a?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:a?{[a.replace("%s",t)]:o,[`${n}, ${a.replace("%s",t)}`]:r}:{[n]:i(i({},r),o)}}if(a&&"media"!==a)return`${n}, ${a.replace("%s",String(t))}`}else if(t){if("media"===a)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(a)return a.replace("%s",String(t))}return n}},35663:function(e,t){"use strict";function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach(function(t){n(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},48613:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){return(0,o.default)((0,i.default)({unstable_strictMode:!0},e),...t)};var i=n(r(26309)),o=n(r(34704))},44318:function(e,t,r){"use strict";const n=["mode","contrastThreshold","tonalOffset","colorSpace"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.contrastColor=S,t.dark=void 0,t.default=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:i=.2,colorSpace:a}=e,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),M=e.primary||function(e="light"){if("dark"===e)return{main:y.default[200],light:y.default[50],dark:y.default[400]};return{main:y.default[700],light:y.default[400],dark:y.default[800]}}(t),k=e.secondary||function(e="light"){if("dark"===e)return{main:p.default[200],light:p.default[50],dark:p.default[400]};return{main:p.default[500],light:p.default[300],dark:p.default[700]}}(t),P=e.error||function(e="light"){if("dark"===e)return{main:h.default[500],light:h.default[300],dark:h.default[700]};return{main:h.default[700],light:h.default[400],dark:h.default[800]}}(t),T=e.info||function(e="light"){if("dark"===e)return{main:g.default[400],light:g.default[300],dark:g.default[700]};return{main:g.default[700],light:g.default[500],dark:g.default[900]}}(t),E=e.success||function(e="light"){if("dark"===e)return{main:v.default[400],light:v.default[300],dark:v.default[700]};return{main:v.default[800],light:v.default[500],dark:v.default[900]}}(t),C=e.warning||function(e="light"){if("dark"===e)return{main:m.default[400],light:m.default[300],dark:m.default[700]};return{main:"#ed6c02",light:m.default[500],dark:m.default[900]}}(t);function L(e){if(a)return S(e);return(0,u.getContrastRatio)(e,w.text.primary)>=r?w.text.primary:_.text.primary}const A=({color:e,name:t,mainShade:r=500,lightShade:n=300,darkShade:s=700})=>{if(!(e=o({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,l.default)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,l.default)(12,t?` (${t})`:"",JSON.stringify(e.main)));return a?(j(a,e,"light",n,i),j(a,e,"dark",s,i)):(O(e,"light",n,i),O(e,"dark",s,i)),e.contrastText||(e.contrastText=L(e.main)),e};let D;"light"===t?D=b():"dark"===t&&(D=x());0;return(0,c.default)(o({common:o({},d.default),mode:t,primary:A({color:M,name:"primary"}),secondary:A({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:P,name:"error"}),warning:A({color:C,name:"warning"}),info:A({color:T,name:"info"}),success:A({color:E,name:"success"}),grey:f.default,contrastThreshold:r,getContrastText:L,augmentColor:A,tonalOffset:i},D),s)},t.light=void 0;var l=s(r(82406)),c=s(r(26309)),u=r(54078),d=s(r(53854)),f=s(r(57836)),p=s(r(83993)),h=s(r(81504)),m=s(r(93177)),y=s(r(57263)),g=s(r(26643)),v=s(r(32404));function b(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.default.white,default:d.default.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackgroun
153d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const _=t.light=b();function x(){return{text:{primary:d.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const w=t.dark=x();function O(e,t,r,n){const i=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,u.lighten)(e.main,i):"dark"===t&&(e.dark=(0,u.darken)(e.main,o)))}function j(e,t,r,n,i){const o=i.light||i,a=i.dark||1.5*i;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*o).toFixed(0)}%)`:"dark"===r&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function S(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}},60443:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join("\n")),r=!0);return e};let r=!1},34704:function(e,t,r){"use strict";const n=["palette","cssVariables","colorSchemes","defaultColorScheme"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={},...t){const{palette:r,cssVariables:i=!1,colorSchemes:a=(r?void 0:{light:!0}),defaultColorScheme:s=r?.mode}=e,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),f=s||"light",p=a?.[f],h=o(o({},a),r?{[f]:o(o({},"boolean"!=typeof p&&p),{},{palette:r})}:void 0);if(!1===i){if(!("colorSchemes"in e))return(0,u.default)(e,...t);let n=r;"palette"in e||h[f]&&(!0!==h[f]?n=h[f].palette:"dark"===f&&(n={mode:"dark"}));const i=(0,u.default)(o(o({},e),{},{palette:n}),...t);return i.defaultColorScheme=f,i.colorSchemes=h,"light"===i.palette.mode&&(i.colorSchemes.light=o(o({},!0!==h.light&&h.light),{},{palette:i.palette}),d(i,"dark",h.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark=o(o({},!0!==h.dark&&h.dark),{},{palette:i.palette}),d(i,"light",h.light)),i}r||"light"in h||"light"!==f||(h.light=!0);return(0,c.default)(o(o({},l),{},{colorSchemes:h,defaultColorScheme:f},"boolean"!=typeof i&&i),...t)};var l=s(r(44318)),c=s(r(73458)),u=s(r(40985));function d(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]=o(o({},!0!==r&&r),{},{palette:(0,l.default)(o(o({},!0===r?{}:r.palette),{},{mode:t}))}))}},40985:function(e,t,r){"use strict";const n=["breakpoints","mixins","spacing","palette","transitions","typography","shape","colorSpace"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(70609).default,l=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=l(r(82406)),u=l(r(26309)),d=s(r(54923)),f=l(r(65844)),p=r(54078),h=(l(r(13810)),l(r(35663))),m=l(r(44318)),y=l(r(76880)),g=l(r(25444)),v=l(r(4945)),b=l(r(52703)),_=r(49551);function x(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function w(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof r?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof r?`calc(${r})`:r})`:(0,p.alpha)(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let e=0;e<t.length;e+=1)r+=+t[e];return r})(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${x(r)})`:(0,p.lighten)(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${x(r)})`:(0,p.darken)(t,r)}})}t.default=function(e={},...t){const{breakpoints:r,mixins:i={},spacing:a,palette:s={},transitions:l={},typography:p={},shape:x,colorSpace:O}=e,j=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n);if(e.vars&&void 0===e.generateThemeVars)throw new Error((0,c.default)(20));const S=(0,m.default)(o(o({},s),{},{colorSpace:O})),M=(0,f.default)(e);let k=(0,u.default)(M,{mixins:(0,h.default)(M.breakpoints,i),palette:S,shadows:g.default.slice(),typography:(0,y.default)(S,p),transitions:(0,v.default)(l),zIndex:o({},b.default)});return k=(0,u.default)(k,j),k=t.reduce((e,t)=>(0,u.default)(e,t),k),k.unstable_sxConfig=o(o({},d.unstable_defaultSxConfig),j?.unstable_sxConfig),k.unstable_sx=function(e){return(0,d.default)({sx:e,theme:this})},k.toRuntimeSource=_.stringifyTheme,w(k),k}},73458:function(e,t,r){"use strict";const n=["palette"],i=["colorSchemes","defaultColorScheme","disableCssColorScheme","cssVarPrefix","nativeColor","shouldSkipGeneratingVar","colorSchemeSelector","rootSelector"];function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var u=r(70609).default,d=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.createGetCssVar=void 0,t.default=function(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:l="mui",nativeColor:u=!1,shouldSkipGeneratingVar:d=x.default,colorSchemeSelector:b=(r.light&&r.dark?"media":void 0),rootSelector:_=":root"}=e,L=o(e,i),A=Object.keys(r)[0],D=n||(r.light&&"light"!==A?"light":A),I=E(l),{[D]:N,light:R,dark:z}=r,F=s({},o(r,[D,"light","dark"].map(c)));let B,Y=N;("dark"===D&&!("dark"in r)||"light"===D&&!("light"in r))&&(Y=!0);if(!Y)throw new Error((0,f.default)(21,D));u&&(B="oklch");const U=C(B,F,Y,L,D);R&&!F.light&&C(B,F,R,void 0,"light");z&&!F.dark&&C(B,F,z,void 0,"dark");let H=s(s({defaultColorScheme:D},U),{},{cssVarPrefix:l,colorSchemeSelector:b,rootSelector:_,getCssVar:I,colorSchemes:F,font:s(s({},(0,y.prepareTypographyVars)(U.typography)),U.font),spacing:P(L.spacing)});Object.keys(H.colorSchemes).forEach(e=>{const t=H.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],i=r[2];return I(e,t[n][i])};function n(e,t,r){if(B){let n;return e===v.private_safeAlpha&&(n=`transparent ${(100*(1-r)).toFixed(0)}%`),e===v.private_safeDarken&&(n=`#000 ${(100*r).toFixed(0)}%`),e===v.private_safeLighten&&(n=`#fff ${(100*r).toFixed(0)}%`),`color-mix(in ${B}, ${t}, ${n})`}return e(t,r)}var i;if("light"===t.mode&&(S(t.common,"background","#fff"),S(t.common,"onBackground","#000")),"dark"===t.mode&&(S(t.common,"background","#000"),S(t.common,"onBackground","#fff")),i=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{i[e]||(i[e]={})}),"light"===t.mode){S(t.Alert,"errorColor",n(v.private_safeDarken,u?I("palette-error-light"):t.error.light,.6)),S(t.Alert,"infoColor",n(v.private_safeDarken,u?I("palette-info-light"):t.info.light,.6)),S(t.Alert,"successColor",n(v.private_safeDarken,u?I("palette-success-light"):t.success.light,.6)),S(t.Alert,"warningColor",n(v.private_safeDarken,u?I("palette-warning-light"):t.warning.light,.6)),S(t.Alert,"errorFilledBg",r("palette-error-main")),S(t.Alert,"infoFilledBg",r("palette-info-main")),S(t.Alert,"successFilledBg",r("palette-success-main")),S(t.Alert,"warningFilledBg",r("palette-warning-main")),S(t.Alert,"errorFilledColor",T(()=>t.getContrastText(t.error.main))),S(t.Alert,"infoFilledColor",T(()=>t.getContrastText(t.info.main))),S(t.Alert,"successFilledColor",T(()=>t.getContrastText(t.success.main))),S(t.Alert,"warningFilledColor",T(()=>t.getContrastText(t.warning.main))),S(t.Alert,"errorStandardBg",n(v.private_safeLighten,u?I("palette-error-light"):t.error.light,.9)),S(t.Alert,"infoStandardBg",n(v.private_safeLighten,u?I("palette-info-light"):t.info.light,.9)),S(t.Alert,"successStandardBg",n(v.private_safeLighten,u?I("palette-success-light"):t.success.light,.9)),S(t.Alert,"warningStandardBg",n(v.private_safeLighten,u?I("palette-warning-light"):t.warning.light,.9)),S(t.Alert,"errorIconColor",r("palette-error-main")),S(t.Alert,"infoIconColor",r("palette-info-main")),S(t.Alert,"successIconColor",r("palette-success-main")),S(t.Alert,"warningIconColor",r("palette-warning-main")),S(t.AppBar,"defaultBg",r("palette-grey-100")),S(t.Avatar,"defaultBg",r("palette-grey-400")),S(t.Button,"inheritContainedBg",r("palette-grey-300")),S(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),S(t.Chip,"defaultBorder",r("palette-grey-400")),S(t.Chip,"defaultAvatarColor",r("palette-grey-700")),S(t.Chip,"defaultIconColor",r("palette-grey-700")),S(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),S(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),S(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),S(t.LinearProgress,"primaryBg",n(v.private_safeLighten,u?I("palette-primary-main"):t.primary.main,.62)),S(t.LinearProgress,"secondaryBg",n(v.private_safeLighten,u?I("palette-secondary-main"):t.secondary.main,.62)),S(t.LinearProgress,"errorBg",n(v.private_safeLighten,u?I("palette-error-main"):t.error.main,.62)),S(t.LinearProgress,"infoBg",n(v.private_safeLighten,u?I("palette-info-main"):t.info.main,.62)),S(t.LinearProgress,"successBg",n(v.private_safeLighten,u?I("palette-success-main"):t.success.main,.62)),S(t.LinearProgress,"warningBg",n(v.private_safeLighten,u?I("palette-warning-light"):t.warning.main,.62)),S(t.Skeleton,"bg",B?n(v.private_safeAlpha,u?I("palette-text-primary"):t.text.primary,.11):`rgba(${r("palette-text-primaryChannel")}
153 / 0.11)`),S(t.Slider,"primaryTrack",n(v.private_safeLighten,u?I("palette-primary-main"):t.primary.main,.62)),S(t.Slider,"secondaryTrack",n(v.private_safeLighten,u?I("palette-secondary-main"):t.secondary.main,.62)),S(t.Slider,"errorTrack",n(v.private_safeLighten,u?I("palette-error-main"):t.error.main,.62)),S(t.Slider,"infoTrack",n(v.private_safeLighten,u?I("palette-info-main"):t.info.main,.62)),S(t.Slider,"successTrack",n(v.private_safeLighten,u?I("palette-success-main"):t.success.main,.62)),S(t.Slider,"warningTrack",n(v.private_safeLighten,u?I("palette-warning-main"):t.warning.main,.62));const e=B?n(v.private_safeDarken,u?I("palette-background-default"):t.background.default,.6825):(0,v.private_safeEmphasize)(t.background.default,.8);S(t.SnackbarContent,"bg",e),S(t.SnackbarContent,"color",T(()=>B?j.dark.text.primary:t.getContrastText(e))),S(t.SpeedDialAction,"fabHoverBg",(0,v.private_safeEmphasize)(t.background.paper,.15)),S(t.StepConnector,"border",r("palette-grey-400")),S(t.StepContent,"border",r("palette-grey-400")),S(t.Switch,"defaultColor",r("palette-common-white")),S(t.Switch,"defaultDisabledColor",r("palette-grey-100")),S(t.Switch,"primaryDisabledColor",n(v.private_safeLighten,u?I("palette-primary-main"):t.primary.main,.62)),S(t.Switch,"secondaryDisabledColor",n(v.private_safeLighten,u?I("palette-secondary-main"):t.secondary.main,.62)),S(t.Switch,"errorDisabledColor",n(v.private_safeLighten,u?I("palette-error-main"):t.error.main,.62)),S(t.Switch,"infoDisabledColor",n(v.private_safeLighten,u?I("palette-info-main"):t.info.main,.62)),S(t.Switch,"successDisabledColor",n(v.private_safeLighten,u?I("palette-success-main"):t.success.main,.62)),S(t.Switch,"warningDisabledColor",n(v.private_safeLighten,u?I("palette-warning-main"):t.warning.main,.62)),S(t.TableCell,"border",n(v.private_safeLighten,(0,v.private_safeAlpha)(u?I("palette-divider"):t.divider,1),.88)),S(t.Tooltip,"bg",n(v.private_safeAlpha,u?I("palette-grey-700"):t.grey[700],.92))}if("dark"===t.mode){S(t.Alert,"errorColor",n(v.private_safeLighten,u?I("palette-error-light"):t.error.light,.6)),S(t.Alert,"infoColor",n(v.private_safeLighten,u?I("palette-info-light"):t.info.light,.6)),S(t.Alert,"successColor",n(v.private_safeLighten,u?I("palette-success-light"):t.success.light,.6)),S(t.Alert,"warningColor",n(v.private_safeLighten,u?I("palette-warning-light"):t.warning.light,.6)),S(t.Alert,"errorFilledBg",r("palette-error-dark")),S(t.Alert,"infoFilledBg",r("palette-info-dark")),S(t.Alert,"successFilledBg",r("palette-success-dark")),S(t.Alert,"warningFilledBg",r("palette-warning-dark")),S(t.Alert,"errorFilledColor",T(()=>t.getContrastText(t.error.dark))),S(t.Alert,"infoFilledColor",T(()=>t.getContrastText(t.info.dark))),S(t.Alert,"successFilledColor",T(()=>t.getContrastText(t.success.dark))),S(t.Alert,"warningFilledColor",T(()=>t.getContrastText(t.warning.dark))),S(t.Alert,"errorStandardBg",n(v.private_safeDarken,u?I("palette-error-light"):t.error.light,.9)),S(t.Alert,"infoStandardBg",n(v.private_safeDarken,u?I("palette-info-light"):t.info.light,.9)),S(t.Alert,"successStandardBg",n(v.private_safeDarken,u?I("palette-success-light"):t.success.light,.9)),S(t.Alert,"warningStandardBg",n(v.private_safeDarken,u?I("palette-warning-light"):t.warning.light,.9)),S(t.Alert,"errorIconColor",r("palette-error-main")),S(t.Alert,"infoIconColor",r("palette-info-main")),S(t.Alert,"successIconColor",r("palette-success-main")),S(t.Alert,"warningIconColor",r("palette-warning-main")),S(t.AppBar,"defaultBg",r("palette-grey-900")),S(t.AppBar,"darkBg",r("palette-background-paper")),S(t.AppBar,"darkColor",r("palette-text-primary")),S(t.Avatar,"defaultBg",r("palette-grey-600")),S(t.Button,"inheritContainedBg",r("palette-grey-800")),S(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),S(t.Chip,"defaultBorder",r("palette-grey-700")),S(t.Chip,"defaultAvatarColor",r("palette-grey-300")),S(t.Chip,"defaultIconColor",r("palette-grey-300")),S(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),S(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),S(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),S(t.LinearProgress,"primaryBg",n(v.private_safeDarken,u?I("palette-primary-main"):t.primary.main,.5)),S(t.LinearProgress,"secondaryBg",n(v.private_safeDarken,u?I("palette-secondary-main"):t.secondary.main,.5)),S(t.LinearProgress,"errorBg",n(v.private_safeDarken,u?I("palette-error-main"):t.error.main,.5)),S(t.LinearProgress,"infoBg",n(v.private_safeDarken,u?I("palette-info-main"):t.info.main,.5)),S(t.LinearProgress,"successBg",n(v.private_safeDarken,u?I("palette-success-main"):t.success.main,.5)),S(t.LinearProgress,"warningBg",n(v.private_safeDarken,u?I("palette-warning-main"):t.warning.main,.5)),S(t.Skeleton,"bg",B?n(v.private_safeAlpha,u?I("palette-text-primary"):t.text.primary,.13):`rgba(${r("palette-text-primaryChannel")}
153 / 0.13)`),S(t.Slider,"primaryTrack",n(v.private_safeDarken,u?I("palette-primary-main"):t.primary.main,.5)),S(t.Slider,"secondaryTrack",n(v.private_safeDarken,u?I("palette-secondary-main"):t.secondary.main,.5)),S(t.Slider,"errorTrack",n(v.private_safeDarken,u?I("palette-error-main"):t.error.main,.5)),S(t.Slider,"infoTrack",n(v.private_safeDarken,u?I("palette-info-main"):t.info.main,.5)),S(t.Slider,"successTrack",n(v.private_safeDarken,u?I("palette-success-main"):t.success.main,.5)),S(t.Slider,"warningTrack",n(v.private_safeDarken,u?I("palette-warning-light"):t.warning.main,.5));const e=B?n(v.private_safeLighten,u?I("palette-background-default"):t.background.default,.985):(0,v.private_safeEmphasize)(t.background.default,.98);S(t.SnackbarContent,"bg",e),S(t.SnackbarContent,"color",T(()=>B?j.light.text.primary:t.getContrastText(e))),S(t.SpeedDialAction,"fabHoverBg",(0,v.private_safeEmphasize)(t.background.paper,.15)),S(t.StepConnector,"border",r("palette-grey-600")),S(t.StepContent,"border",r("palette-grey-600")),S(t.Switch,"defaultColor",r("palette-grey-300")),S(t.Switch,"defaultDisabledColor",r("palette-grey-600")),S(t.Switch,"primaryDisabledColor",n(v.private_safeDarken,u?I("palette-primary-main"):t.primary.main,.55)),S(t.Switch,"secondaryDisabledColor",n(v.private_safeDarken,u?I("palette-secondary-main"):t.secondary.main,.55)),S(t.Switch,"errorDisabledColor",n(v.private_safeDarken,u?I("palette-error-main"):t.error.main,.55)),S(t.Switch,"infoDisabledColor",n(v.private_safeDarken,u?I("palette-info-main"):t.info.main,.55)),S(t.Switch,"successDisabledColor",n(v.private_safeDarken,u?I("palette-success-main"):t.success.main,.55)),S(t.Switch,"warningDisabledColor",n(v.private_safeDarken,u?I("palette-warning-light"):t.warning.main,.55)),S(t.TableCell,"border",n(v.private_safeDarken,(0,v.private_safeAlpha)(u?I("palette-divider"):t.divider,1),.68)),S(t.Tooltip,"bg",n(v.private_safeAlpha,u?I("palette-grey-700"):t.grey[700],.92))}k(t.background,"default"),k(t.background,"paper"),k(t.common,"background"),k(t.common,"onBackground"),k(t,"divider"),Object.keys(t).forEach(e=>{const r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&S(t[e],"mainChannel",(0,v.private_safeColorChannel)(M(r.main))),r.light&&S(t[e],"lightChannel",(0,v.private_safeColorChannel)(M(r.light))),r.dark&&S(t[e],"darkChannel",(0,v.private_safeColorChannel)(M(r.dark))),r.contrastText&&S(t[e],"contrastTextChannel",(0,v.private_safeColorChannel)(M(r.contrastText))),"text"===e&&(k(t[e],"primary"),k(t[e],"secondary")),"action"===e&&(r.active&&k(t[e],"active"),r.selected&&k(t[e],"selected")))})}),H=t.reduce((e,t)=>(0,p.default)(e,t),H);const $={prefix:l,disableCssColorScheme:a,shouldSkipGeneratingVar:d,getSelector:(0,w.default)(H),enableContrastVars:u},{vars:W,generateThemeVars:V,generateStyleSheets:q}=(0,y.prepareCssVars)(H,$);return H.vars=W,Object.entries(H.colorSchemes[H.defaultColorScheme]).forEach(([e,t])=>{H[e]=t}),H.generateThemeVars=V,H.generateStyleSheets=q,H.generateSpacing=function(){return(0,h.createSpacing)(L.spacing,(0,m.createUnarySpacing)(this))},H.getColorSchemeSelector=(0,y.createGetColorSchemeSelector)(b),H.spacing=H.generateSpacing(),H.shouldSkipGeneratingVar=d,H.unstable_sxConfig=s(s({},g.unstable_defaultSxConfig),L?.unstable_sxConfig),H.unstable_sx=function(e){return(0,g.default)({sx:e,theme:this})},H.toRuntimeSource=O.stringifyTheme,H};var f=d(r(82406)),p=d(r(26309)),h=r(60522),m=r(45760),y=r(91560),g=u(r(54923)),v=r(54078),b=d(r(40985)),_=u(r(48621)),x=d(r(80388)),w=d(r(7640)),O=r(49551),j=r(44318);function S(e,t,r){!e[t]&&r&&(e[t]=r)}function M(e){return"string"==typeof e&&e.startsWith("hsl")?(0,v.hslToRgb)(e):e}function k(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,v.private_safeColorChannel)(M(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().\nTo suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function P(e){return"number"==typeof e?`${e}px`:"string"==typeof e||"function"==typeof e||Array.isArray(e)?e:"8px"}const T=e=>{try{return e()}catch(e){}},E=(e="mui")=>(0,h.unstable_createGetCssVar)(e);function C(e,t,r,i,a){if(!r)return;r=!0===r?{}:r;const l="dark"===a?"dark":"light";if(!i)return void(t[a]=(0,_.default)(s(s({},r),{},{palette:s({mode:l},r?.palette),colorSpace:e})));const c=(0,b.default)(s(s({},i),{},{palette:s({mode:l},r?.palette),colorSpace:e})),{palette:u}=c,d=o(c,n);return t[a]=s(s({},r),{},{palette:u,opacity:s(s({},(0,_.getOpacity)(l)),r?.opacity),overlays:r?.overlays||(0,_.getOverlays)(l)}),d}t.createGetCssVar=E},4945:function(e,t){"use strict";const r=["duration","easing","delay"];function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=i(i({},a),e.easing),n=i(i({},s),e.duration);return i(i({getAutoHeightDuration:c,create:(e=["all"],i={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:s=0}=i;!function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}}(i,r);return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:l(o)} ${a} ${"string"==typeof s?s:l(s)}`).join(",")}},e),{},{easing:t,duration:n})},t.easing=t.duration=void 0;const a=t.easing={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s=t.duration={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}},76880:function(e,t,r){"use strict";const n=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r="function"==typeof t?t(e):t,{fontFamily:i=u,fontSize:a=14,fontWeightLight:s=300,fontWeightRegular:d=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:h=16,allVariants:m,pxToRem:y}=r,g=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n);0;const v=a/14,b=y||(e=>e/h*v+"rem"),_=(e,t,r,n,a)=>{return o(o(o({fontFamily:i,fontWeight:e,fontSize:b(t),lineHeight:r},i===u?{letterSpacing:(s=n/t,Math.round(1e5*s)/1e5)+"em"}:{}),a),m);var s},x={h1:_(s,96,1.167,-1.5),h2:_(s,60,1.2,-.5),h3:_(d,48,1.167,0),h4:_(d,34,1.235,.25),h5:_(d,24,1.334,0),h6:_(f,20,1.6,.15),subtitle1:_(d,16,1.75,.15),subtitle2:_(f,14,1.57,.1),body1:_(d,16,1.5,.15),body2:_(d,14,1.43,.15),button:_(f,14,1.75,.4,c),caption:_(d,12,1.66,.4),overline:_(d,12,2.66,1,c),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,l.default)(o({htmlFontSize:h,pxToRem:b,fontFamily:i,fontSize:a,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:f,fontWeightBold:p},x),g,{clone:!1})};var l=s(r(26309));const c={textTransform:"uppercase"},u='"Roboto", "Helvetica", "Arial", sans-serif'},14937:function(e,t){"use strict";function r(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function n(e){return parseFloat(e)}
153Object.defineProperty(t,"__esModule",{value:!0}),t.alignProperty=function({size:e,grid:t}){const r=e-e%t,n=r+t;return e-r<n-e?r:n},t.convertLength=function(e){return(t,i)=>{const o=r(t);if(o===i)return t;let a=n(t);"px"!==o&&("em"===o||"rem"===o)&&(a=n(t)*n(e));let s=a;if("px"!==i)if("em"===i)s=a/n(e);else{if("rem"!==i)return t;s=a/n(e)}return parseFloat(s.toFixed(5))+i}},t.fontGrid=function({lineHeight:e,pixels:t,htmlFontSize:r}){return t/(e*r)},t.getUnit=r,t.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},t.responsiveProperty=function({cssProperty:e,min:t,max:r,unit:n="rem",breakpoints:i=[600,900,1200],transform:o=null}){const a={[e]:`${t}${n}`},s=(r-t)/i[i.length-1];return i.forEach(r=>{let i=t+s*r;null!==o&&(i=o(i)),a[`@media (min-width:${r}px)`]={[e]:`${Math.round(1e4*i)/1e4}${n}`}}),a},t.toUnitless=n},73587:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=(0,n(r(34704)).default)();t.default=i},86634:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`]},96453:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){o||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join("\n")),o=!0);return(0,i.default)(...e)};var i=n(r(73458));let o=!1},6765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2;return Math.round(10*t)/1e3}},60206:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="$$material"},39765:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={experimental_sx:!0,THEME_ID:!0,adaptV4Theme:!0,hexToRgb:!0,rgbToHex:!0,hslToRgb:!0,decomposeColor:!0,recomposeColor:!0,getContrastRatio:!0,getLuminance:!0,emphasize:!0,alpha:!0,darken:!0,lighten:!0,css:!0,keyframes:!0,StyledEngineProvider:!0,unstable_createBreakpoints:!0,createTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,unstable_getUnit:!0,unstable_toUnitless:!0,responsiveFontSizes:!0,createTransitions:!0,duration:!0,easing:!0,createColorScheme:!0,useTheme:!0,useThemeProps:!0,styled:!0,ThemeProvider:!0,makeStyles:!0,withStyles:!0,withTheme:!0,extendTheme:!0,experimental_extendTheme:!0,getOverlayAlpha:!0,shouldSkipGeneratingVar:!0,private_createTypography:!0,private_createMixins:!0,private_excludeVariablesFromRoot:!0};Object.defineProperty(t,"StyledEngineProvider",{enumerable:!0,get:function(){return c.StyledEngineProvider}}),Object.defineProperty(t,"THEME_ID",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ThemeProvider",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"adaptV4Theme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"alpha",{enumerable:!0,get:function(){return c.alpha}}),Object.defineProperty(t,"createColorScheme",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"createStyles",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createTheme",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createTransitions",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"css",{enumerable:!0,get:function(){return c.css}}),Object.defineProperty(t,"darken",{enumerable:!0,get:function(){return c.darken}}),Object.defineProperty(t,"decomposeColor",{enumerable:!0,get:function(){return c.decomposeColor}}),Object.defineProperty(t,"duration",{enumerable:!0,get:function(){return y.duration}}),Object.defineProperty(t,"easing",{enumerable:!0,get:function(){return y.easing}}),Object.defineProperty(t,"emphasize",{enumerable:!0,get:function(){return c.emphasize}}),Object.defineProperty(t,"experimental_extendTheme",{enumerable:!0,get:function(){return k.default}}),t.experimental_sx=function(){throw new Error((0,a.default)(19))},Object.defineProperty(t,"extendTheme",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"getContrastRatio",{enumerable:!0,get:function(){return c.getContrastRatio}}),Object.defineProperty(t,"getLuminance",{enumerable:!0,get:function(){return c.getLuminance}}),Object.defineProperty(t,"getOverlayAlpha",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"hexToRgb",{enumerable:!0,get:function(){return c.hexToRgb}}),Object.defineProperty(t,"hslToRgb",{enumerable:!0,get:function(){return c.hslToRgb}}),Object.defineProperty(t,"keyframes",{enumerable:!0,get:function(){return c.keyframes}}),Object.defineProperty(t,"lighten",{enumerable:!0,get:function(){return c.lighten}}),Object.defineProperty(t,"makeStyles",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"private_createMixins",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"private_createTypography",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"private_excludeVariablesFromRoot",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"recomposeColor",{enumerable:!0,get:function(){return c.recomposeColor}}),Object.defineProperty(t,"responsiveFontSizes",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"rgbToHex",{enumerable:!0,get:function(){return c.rgbToHex}}),Object.defineProperty(t,"shouldSkipGeneratingVar",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"styled",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"unstable_createBreakpoints",{enumerable:!0,get:function(){return u.unstable_createBreakpoints}}),Object.defineProperty(t,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"unstable_getUnit",{enumerable:!0,get:function(){return h.getUnit}}),Object.defineProperty(t,"unstable_toUnitless",{enumerable:!0,get:function(){return h.toUnitless}}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"useThemeProps",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return j.default}});var a=i(r(82406)),s=i(r(60206)),l=i(r(35302)),c=r(60522),u=r(71809),d=i(r(34704)),f=i(r(48613)),p=i(r(60443)),h=r(14937),m=i(r(38458)),y=n(r(4945)),g=i(r(48621)),v=i(r(64921)),b=i(r(44587)),_=i(r(49094)),x=i(r(41737)),w=i(r(53521)),O=i(r(78899)),j=i(r(91832)),S=r(75179);
153Object.keys(S).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===S[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}}))});var M=i(r(73458)),k=i(r(96453)),P=i(r(6765)),T=i(r(80388)),E=i(r(76880)),C=i(r(35663)),L=i(r(86634))},53521:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){throw new Error((0,i.default)(14))};var i=n(r(82406))},38458:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const{breakpoints:r=["sm","md","lg"],disableAlign:n=!1,factor:o=2,variants:a=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,c=i({},e);c.typography=i({},c.typography);const u=c.typography,d=(0,l.convertLength)(u.htmlFontSize),f=r.map(e=>c.breakpoints.values[e]);return a.forEach(e=>{const t=u[e];if(!t)return;const r=parseFloat(d(t.fontSize,"rem"));if(r<=1)return;const a=r,c=1+(a-1)/o;let{lineHeight:p}=t;if(!(0,l.isUnitless)(p)&&!n)throw new Error((0,s.default)(6));(0,l.isUnitless)(p)||(p=parseFloat(d(p,"rem"))/parseFloat(r));let h=null;n||(h=e=>(0,l.alignProperty)({size:e,grid:(0,l.fontGrid)({pixels:4,lineHeight:p,htmlFontSize:u.htmlFontSize})})),u[e]=i(i({},t),(0,l.responsiveProperty)({cssProperty:"fontSize",min:c,max:a,unit:"rem",breakpoints:f,transform:h}))}),c};var s=a(r(82406)),l=r(14937)},95944:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(64088));t.default=e=>(0,i.default)(e)&&"classes"!==e},25444:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function r(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const n=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)];t.default=n},80388:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}},64088:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},49551:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyTheme=function(e={}){const t=i({},e);return function e(t){const r=Object.entries(t);for(let n=0;n<r.length;n++){const[o,l]=r[n];!s(l)||o.startsWith("unstable_")?delete t[o]:(0,a.isPlainObject)(l)&&(t[o]=i({},l),e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`};var a=r(26309);function s(e){return(0,a.isPlainObject)(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}},49094:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,Object.defineProperty(t,"rootShouldForwardProp",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"slotShouldForwardProp",{enumerable:!0,get:function(){return l.default}});var i=n(r(21752)),o=n(r(73587)),a=n(r(60206)),s=n(r(95944)),l=n(r(64088));const c=(0,i.default)({themeId:a.default,defaultTheme:o.default,rootShouldForwardProp:s.default});t.default=c},64921:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,o.useTheme)(a.default);0;return e[s.default]||e};i(r(40809));var o=r(60522),a=n(r(73587)),s=n(r(60206))},44587:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({props:e,name:t}){return(0,i.default)({props:e,name:t,defaultTheme:o.default,themeId:a.default})};var i=n(r(68627)),o=n(r(73587)),a=n(r(60206))},78899:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){throw new Error((0,i.default)(15))};var i=n(r(82406))},91832:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){throw new Error((0,i.default)(16))};var i=n(r(82406))},52703:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},2944:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionProps=function(e,t){const{timeout:r,easing:n,style:i={}}=e;return{duration:i.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:i.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:i.transitionDelay}},t.reflow=void 0;t.reflow=e=>e.scrollTop},75366:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(26745))},26745:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.LazyRipple=void 0,t.default=function(){return s.use()};var o=i(r(40809)),a=n(r(73675));class s{static create(){return new s}static use(){const e=(0,a.default)(s.create).current,[t,r]=o.useState(!1);return e.shouldMount=t,e.setShouldMount=r,o.useEffect(e.mountEffect,[t]),e}constructor(){this.mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())},this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}t.LazyRipple=s},88732:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(31527));t.default=i.default},15408:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(53563));t.default=i.default},98982:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}},38223:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){function r(t,r){return(0,u.jsx)(c.default,i(i({"data-testid":void 0,ref:r},t),{},{children:e}))}0;return r.muiName=c.default.muiName,l.memo(l.forwardRef(r))};var l=s(r(40809)),c=a(r(74594)),u=r(34766)},85353:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(50366));t.default=i.default},97082:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(39101));t.default=i.default},94468:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(96831));t.default=i.default},9269:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(11650));t.default=i.default},84580:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createChainedFunction",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"createSvgIcon",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"deprecatedPropType",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"isMuiElement",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"mergeSlotProps",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"ownerDocument",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"ownerWindow",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"requirePropFactory",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return m.default}}),t.unstable_ClassNameGenerator=void 0,Object.defineProperty(t,"unstable_memoTheme",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"unstable_useEnhancedEffect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"unstable_useId",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"unsupportedProp",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"useControlled",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"useEventCallback",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"useForkRef",{enumerable:!0,get:function(){return x.default}});var i=n(r(84745)),o=n(r(88732)),a=n(r(15408)),s=n(r(38223)),l=n(r(85353)),c=n(r(97082)),u=n(r(68201)),d=n(r(60999)),f=n(r(26394)),p=n(r(34939)),h=n(r(21370)),m=n(r(19847)),y=n(r(47348)),g=n(r(39670)),v=n(r(97102)),b=n(r(43501)),_=n(r(63080)),x=n(r(29314)),w=n(r(77632));t.unstable_ClassNameGenerator={configure:e=>{i.default.configure(e)}}},76884:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!/jsdom|HappyDOM/.test(window.navigator.userAgent)}},68201:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(20150));t.default=i.default},60999:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(60522).unstable_memoTheme;t.default=n},77632:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return t;function r(e,t){const r={};return Object.keys(t).forEach(n=>{(function(e,t){const r=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&r>=65&&r<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(r[n]=(...r)=>{e[n](...r),t[n](...r)})}),r}if("function"==typeof e||"function"==typeof t)return n=>{const o="function"==typeof t?t(n):t,a="function"==typeof e?e(i(i({},n),o)):e,l=(0,s.default)(n?.className,o?.className,a?.className),c=r(a,o);return i(i(i(i(i(i({},o),a),c),!!l&&{className:l}),o?.style&&a?.style&&{style:i(i({},o.style),a.style)}),o?.sx&&a?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]})};const n=t,o=r(e,n),a=(0,s.default)(n?.className,e?.className);return i(i(i(i(i(i({},t),e),o),!!a&&{className:a}),n?.style&&e?.style&&{style:i(i({},n.style),e.style)}),n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]})};var s=a(r(44173))},26394:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(99205));t.default=i.default},34939:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(78128));t.default=i.default},21370:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(60365));t.default=i.default},19847:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(84220));t.default=i.default},97102:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(15697));t.default=i.default},43501:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(55130));t.default=i.default},47348:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(98863));t.default=i.default},63080:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(21555));t.default=i.default},29314:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(98573));t.default=i.default},39670:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(78993));t.default=i.default},59179:function(e,t,r){"use strict";const n=["className","elementType","ownerState","externalForwardedProps","internalForwardedProps","shouldForwardComponentProp"],i=["component","slots","slotProps"],o=["component"];function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{className:r,elementType:a,ownerState:l,externalForwardedProps:u,internalForwardedProps:m,shouldForwardComponentProp:y=!1}=t,g=c(t,n),{component:v,slots:b={[e]:void 0},slotProps:_={[e]:void 0}}=u,x=c(u,i),w=b[e]||a,O=(0,p.default)(_[e],l),j=(0,h.default)(s(s({className:r},g),{},{externalForwardedProps:"root"===e?x:void 0,externalSlotProps:O})),{props:{component:S},internalRef:M}=j,k=c(j.props,o),P=(0,d.default)(M,O?.ref,t.ref),T="root"===e?S||v:S,E=(0,f.default)(w,s(s(s(s(s(s({},"root"===e&&!v&&!b[e]&&m),"root"!==e&&!b[e]&&m),k),T&&!y&&{as:T}),T&&y&&{component:T}),{},{ref:P}),l);return[w,E]};var d=u(r(98573)),f=u(r(75789)),p=u(r(73860)),h=u(r(98947))},36431:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"css",{enumerable:!0,get:function(){return u.css}}),t.globalCss=function(e){return function(t){return(0,c.jsx)(l.default,{styles:"function"==typeof e?r=>e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({theme:r},t)):e})}},t.internal_createExtendSxProp=function(){return a.extendSxProp},Object.defineProperty(t,"keyframes",{enumerable:!0,get:function(){return u.keyframes}}),Object.defineProperty(t,"styled",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return s.default}});var a=r(54923),s=o(r(64921)),l=o(r(24022)),c=r(34766),u=r(60522),d=o(r(49094))},76598:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(i.Global,{styles:n})};n(r(19894));var i=r(31925),o=r(34766)},10415:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(76598))},93624:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.TEST_INTERNALS_DO_NOT_USE=void 0,t.default=function(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,i=o.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&u.has(e))return u.get(e);const n=function(e,t){if(e||t){class r extends l.StyleSheet{insert(e,t){return d.insert?d.insert(e,t):(this.key&&this.key.endsWith("global")&&(this.before=p),super.insert(e,t))}}const n=f({key:"css",insertionPoint:e?p:void 0},r);if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}return}(t,r);return u.set(e,n),n},[t,r]);return i?(0,c.jsx)(a.CacheProvider,{value:i,children:n}):n};var o=i(r(40809)),a=(n(r(19894)),r(31925)),s=n(r(64058)),l=r(61017),c=r(34766);const u=new Map,d=t.TEST_INTERNALS_DO_NOT_USE={insert:void 0},f=(e,t)=>{const r=(0,s.default)(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let p;if("object"==typeof document&&(p=document.querySelector('[name="emotion-insertion-point"]'),!p)){p=document.createElement("meta"),p.setAttribute("name","emotion-insertion-point"),p.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(p)}},75854:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(93624))},91413:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"StyledEngineProvider",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ThemeContext",{enumerable:!0,get:function(){return a.ThemeContext}}),Object.defineProperty(t,"css",{enumerable:!0,get:function(){return a.css}}),t.default=function(e,t){0;return(0,i.default)(e,t)},t.internal_mutateStyles=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},t.internal_serializeStyles=function(e){return c[0]=e,(0,o.serializeStyles)(c)},Object.defineProperty(t,"keyframes",{enumerable:!0,get:function(){return a.keyframes}});var i=n(r(6595)),o=r(96898),a=r(31925),s=n(r(75854)),l=n(r(10415));const c=[]},7937:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));var i=n(r(84745)),o=n(r(55524)),a=n(r(83249));const s=(0,o.default)({defaultClassName:a.default.root,generateClassName:i.default.generate});t.default=s},83249:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=(0,n(r(85298)).default)("MuiBox",["root"]);t.default=i},36780:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={boxClasses:!0};Object.defineProperty(t,"boxClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(7937)),s=n(r(83249));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},92785:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));const i=(0,n(r(43721)).default)();t.default=i},34081:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getContainerUtilityClass=function(e){return(0,o.default)("MuiContainer",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);t.default=a},43721:function(e,t,r){"use strict";const n=["className","component","disableGutters","fixed","maxWidth","classes"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={}){const{createStyledComponent:t=b,useThemeProps:r=_,componentName:i="MuiContainer"}=e,a=t(({theme:e,ownerState:t})=>o({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{const n=r,i=e.breakpoints.values[n];return 0!==i&&(t[e.breakpoints.up(n)]={maxWidth:`${i}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>o(o({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}}),t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}));return c.forwardRef(function(e,t){const s=r(e),{className:l,component:c="div",disableGutters:d=!1,fixed:f=!1,maxWidth:p="lg",classes:h}=s,m=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(s,n),y=o(o({},s),{},{component:c,disableGutters:d,fixed:f,maxWidth:p}),v=x(y,i);return(0,g.jsx)(a,o({as:c,ownerState:y,className:(0,u.default)(v.root,l),ref:t},m))})};var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(13810)),f=s(r(7265)),p=s(r(31527)),h=s(r(68627)),m=s(r(29968)),y=s(r(65844)),g=r(34766);const v=(0,y.default)(),b=(0,m.default)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${(0,p.default)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),_=e=>(0,h.default)({props:e,name:"MuiContainer",defaultTheme:v}),x=(e,t)=>{const{classes:r,fixed:n,disableGutters:i,maxWidth:o}=e,a={root:["root",o&&`maxWidth${(0,p.default)(String(o))}`,n&&"fixed",i&&"disableGutters"]};return(0,f.default)(a,e=>(0,d.default)(t,e),r)}},29642:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={containerClasses:!0};Object.defineProperty(t,"containerClasses",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}});var a=i(r(92785)),s=n(r(34081));Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},96399:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useDefaultProps=function({props:e,name:t}){const r=o.useContext(l);return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];if(i.defaultProps)return(0,a.default)(i.defaultProps,n,t.components.mergeClassNameAndStyle);if(!i.styleOverrides&&!i.variants)return(0,a.default)(i,n,t.components.mergeClassNameAndStyle);return n}({props:e,name:t,theme:{components:r}})};var o=i(r(40809)),a=(n(r(19894)),n(r(72267))),s=r(34766);const l=o.createContext(void 0);t.default=function({value:e,children:t}){return(0,s.jsx)(l.Provider,{value:e,children:t})}},46795:function(e,t,r){"use strict";var n=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useDefaultProps",{enumerable:!0,get:function(){return i.useDefaultProps}});var i=n(r(96399))},66129:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));var i=r(91413),o=n(r(37223)),a=r(34766);function s(e){const t=(0,i.internal_serializeStyles)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}t.default=function({styles:e,themeId:t,defaultTheme:r={}}){const n=(0,o.default)(r),l=t&&n[t]||n;let c="function"==typeof e?e(l):e;return l.modularCssLayers&&(c=Array.isArray(c)?c.map(e=>s("function"==typeof e?e(l):e)):s(c)),(0,a.jsx)(i.GlobalStyles,{styles:c})}},49622:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(66129));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},25663:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));const i=(0,n(r(45219)).default)();t.default=i},6081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45219:function(e,t,r){"use strict";const n=["className","children","columns","container","component","direction","wrap","size","offset","spacing","rowSpacing","columnSpacing","unstable_level"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={}){const{createStyledComponent:t=O,useThemeProps:r=j,useTheme:i=y.default,componentName:a="MuiGrid"}=e;function s(e,t,r=()=>!0){const n={};return null===e||(Array.isArray(e)?e.forEach((e,i)=>{null!==e&&r(e)&&t.keys[i]&&(n[t.keys[i]]=e)}):"object"==typeof e?Object.keys(e).forEach(t=>{const i=e[t];null!=i&&r(i)&&(n[t]=i)}):n[t.keys[0]]=e),n}const l=t(b.generateGridColumnsStyles,b.generateGridColumnSpacingStyles,b.generateGridRowSpacingStyles,b.generateGridSizeStyles,b.generateGridDirectionStyles,b.generateGridStyles,b.generateGridOffsetStyles),h=c.forwardRef(function(e,t){const h=i(),m=r(e),y=(0,g.extendSxProp)(m);(0,_.default)(y,h.breakpoints);const{className:v,children:w,columns:O=12,container:j=!1,component:S="div",direction:M="row",wrap:k="wrap",size:P={},offset:T={},spacing:E=0,rowSpacing:C=E,columnSpacing:L=E,unstable_level:A=0}=y,D=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(y,n),I=s(P,h.breakpoints,e=>!1!==e),N=s(T,h.breakpoints),R=e.columns??(A?void 0:O),z=e.spacing??(A?void 0:E),F=e.rowSpacing??e.spacing??(A?void 0:C),B=e.columnSpacing??e.spacing??(A?void 0:L),Y=o(o({},y),{},{level:A,columns:R,container:j,direction:M,wrap:k,spacing:z,rowSpacing:F,columnSpacing:B,size:I,offset:N}),U=((e,t)=>{const{container:r,direction:n,spacing:i,wrap:o,size:s}=e,l={root:["root",r&&"container","wrap"!==o&&`wrap-xs-${String(o)}`,...(0,b.generateDirectionClasses)(n),...(0,b.generateSizeClassNames)(s),...r?(0,b.generateSpacingClassNames)(i,t.breakpoints.keys[0]):[]]};return(0,p.default)(l,e=>(0,f.default)(a,e),{})})(Y,h);return(0,x.jsx)(l,o(o({ref:t,as:S,ownerState:Y,className:(0,u.default)(U.root,v)},D),{},{children:c.Children.map(w,e=>c.isValidElement(e)&&(0,d.default)(e,["Grid"])&&j&&e.props.container?c.cloneElement(e,{unstable_level:e.props?.unstable_level??A+1}):e)}))});return h.muiName="Grid",h};var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(20150)),f=s(r(13810)),p=s(r(7265)),h=s(r(29968)),m=s(r(68627)),y=s(r(37223)),g=r(54923),v=s(r(65844)),b=r(39942),_=s(r(19501)),x=r(34766);const w=(0,v.default)(),O=(0,h.default)("div",{name:"MuiGrid",slot:"Root"});function j(e){return(0,m.default)({props:e,name:"MuiGrid",defaultTheme:w})}},19501:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];void 0!==e.item&&(delete e.item,r.push("item"));void 0!==e.zeroMinWidth&&(delete e.zeroMinWidth,r.push("zeroMinWidth"));t.keys.forEach(t=>{void 0!==e[t]&&(r.push(t),delete e[t])}),!1}},91691:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getGridUtilityClass=function(e){return(0,o.default)("MuiGrid",e)};var i=n(r(85298)),o=n(r(13810));const a=["auto","grow",1,2,3,4,5,6,7,8,9,10,11,12],s=(0,i.default)("MuiGrid",["root","container","item",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...a.map(e=>`grid-xs-${e}`),...a.map(e=>`grid-sm-${e}`),...a.map(e=>`grid-md-${e}`),...a.map(e=>`grid-lg-${e}`),...a.map(e=>`grid-xl-${e}`)]);t.default=s},39942:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.generateSpacingClassNames=t.generateSizeClassNames=t.generateGridStyles=t.generateGridSizeStyles=t.generateGridRowSpacingStyles=t.generateGridOffsetStyles=t.generateGridDirectionStyles=t.generateGridColumnsStyles=t.generateGridColumnSpacingStyles=t.generateDirectionClasses=void 0;var a=r(36361);function s(e){return`--Grid-${e}Spacing`}function l(e){return`--Grid-parent-${e}Spacing`}const c="--Grid-columns",u="--Grid-parent-columns";t.generateGridSizeStyles=({theme:e,ownerState:t})=>{const r={};return(0,a.traverseBreakpoints)(e.breakpoints,t.size,(e,t)=>{let n={};"grow"===t&&(n={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(n={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof t&&(n={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${t} / var(${u}) - (var(${u}) - ${t}) * (var(${l("column")}) / var(${u})))`}),e(r,n)}),r};t.generateGridOffsetStyles=({theme:e,ownerState:t})=>{const r={};return(0,a.traverseBreakpoints)(e.breakpoints,t.offset,(e,t)=>{let n={};"auto"===t&&(n={marginLeft:"auto"}),"number"==typeof t&&(n={marginLeft:0===t?"0px":`calc(100% * ${t} / var(${u}) + var(${l("column")}) * ${t} / var(${u}))`}),e(r,n)}),r};t.generateGridColumnsStyles=({theme:e,ownerState:t})=>{if(!t.container)return{};const r={[c]:12};return(0,a.traverseBreakpoints)(e.breakpoints,t.columns,(e,t)=>{const n=t??12;e(r,{[c]:n,"> *":{[u]:n}})}),r};t.generateGridRowSpacingStyles=({theme:e,ownerState:t})=>{if(!t.container)return{};const r={};return(0,a.traverseBreakpoints)(e.breakpoints,t.rowSpacing,(t,n)=>{const i="string"==typeof n?n:e.spacing?.(n);t(r,{[s("row")]:i,"> *":{[l("row")]:i}})}),r};t.generateGridColumnSpacingStyles=({theme:e,ownerState:t})=>{if(!t.container)return{};const r={};return(0,a.traverseBreakpoints)(e.breakpoints,t.columnSpacing,(t,n)=>{const i="string"==typeof n?n:e.spacing?.(n);t(r,{[s("column")]:i,"> *":{[l("column")]:i}})}),r};t.generateGridDirectionStyles=({theme:e,ownerState:t})=>{if(!t.container)return{};const r={};return(0,a.traverseBreakpoints)(e.breakpoints,t.direction,(e,t)=>{e(r,{flexDirection:t})}),r};t.generateGridStyles=({ownerState:e})=>i({minWidth:0,boxSizing:"border-box"},e.container&&i(i({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap}),{},{gap:`var(${s("row")}) var(${s("column")})`}));t.generateSizeClassNames=e=>{const t=[];return Object.entries(e).forEach(([e,r])=>{!1!==r&&void 0!==r&&t.push(`grid-${e}-${String(r)}`)}),t};t.generateSpacingClassNames=(e,t="xs")=>{function r(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(r(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach(([e,n])=>{r(n)&&t.push(`spacing-${e}-${String(n)}`)}),t}return[]};t.generateDirectionClasses=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`]},31859:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0});var o={createGrid:!0,gridClasses:!0,unstable_traverseBreakpoints:!0,unstable_generateDirectionClasses:!0,unstable_generateSizeClassNames:!0,unstable_generateSpacingClassNames:!0};Object.defineProperty(t,"createGrid",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"gridClasses",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"unstable_generateDirectionClasses",{enumerable:!0,get:function(){return d.generateDirectionClasses}}),Object.defineProperty(t,"unstable_generateSizeClassNames",{enumerable:!0,get:function(){return d.generateSizeClassNames}}),Object.defineProperty(t,"unstable_generateSpacingClassNames",{enumerable:!0,get:function(){return d.generateSpacingClassNames}}),Object.defineProperty(t,"unstable_traverseBreakpoints",{enumerable:!0,get:function(){return u.traverseBreakpoints}});var a=i(r(25663)),s=i(r(45219)),l=r(6081);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=n(r(91691));Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var u=r(36361),d=r(39942)},36361:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseBreakpoints=t.filterBreakpointKeys=void 0;const r=(e,t)=>e.filter(e=>t.includes(e));t.filterBreakpointKeys=r;t.traverseBreakpoints=(e,t,n)=>{const i=e.keys[0];if(Array.isArray(t))t.forEach((t,r)=>{n((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)},t)});else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:r(e.keys,Object.keys(t))).forEach(r=>{if(e.keys.includes(r)){const o=t[r];void 0!==o&&n((t,n)=>{i===r?Object.assign(t,n):t[e.up(r)]=n},o)}})}else"number"!=typeof t&&"string"!=typeof t||n((e,t)=>{Object.assign(e,t)},t)}},14985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MODE_STORAGE_KEY=t.DEFAULT_COLOR_SCHEME_STORAGE_KEY=t.DEFAULT_ATTRIBUTE=void 0,t.default=function(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:s="dark",modeStorageKey:l=i,colorSchemeStorageKey:c=o,attribute:u=a,colorSchemeNode:d="document.documentElement",nonce:f}=e||{};let p="",h=u;"class"===u&&(h=".%s");"data"===u&&(h="[data-%s]");if(h.startsWith(".")){const e=h.substring(1);p+=`${d}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${d}.classList.add('${e}'.replace('%s', colorScheme));`}const m=h.match(/\[([^[\]]+)\]/);if(m){const[e,t]=m[1].split("=");t||(p+=`${d}.removeAttribute('${e}'.replace('%s', light));\n ${d}.removeAttribute('${e}'.replace('%s', dark));`),p+=`\n ${d}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else".%s"!==h&&(p+=`${d}.setAttribute('${h}', colorScheme);`);return(0,n.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?f:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${l}') || '${t}';\n const dark = localStorage.getItem('${c}-dark') || '${s}';\n const light = localStorage.getItem('${c}-light') || '${r}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${p}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")};var n=r(34766);const i=t.DEFAULT_MODE_STORAGE_KEY="mode",o=t.DEFAULT_COLOR_SCHEME_STORAGE_KEY="color-scheme",a=t.DEFAULT_ATTRIBUTE="data-color-scheme"},62944:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(14985))},75926:function(e,t,r){"use strict";const n=["value"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useRtl=t.default=void 0;var l=s(r(40809)),c=(a(r(19894)),r(34766));const u=l.createContext();t.useRtl=()=>l.useContext(u)??!1;t.default=function(e){let{value:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n);return(0,c.jsx)(u.Provider,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({value:t??!0},r))}},89489:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));const i=(0,n(r(17677)).default)();t.default=i},83715:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},17677:function(e,t,r){"use strict";const n=["component","direction","spacing","divider","children","className","useFlexGap"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default,l=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={}){const{createStyledComponent:t=w,useThemeProps:r=O,componentName:i="MuiStack"}=e,a=t(S);return c.forwardRef(function(e,t){const s=r(e),l=(0,y.extendSxProp)(s),{component:c="div",direction:d="column",spacing:h=0,divider:m,children:g,className:v,useFlexGap:b=!1}=l,x=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(l,n),w={direction:d,spacing:h,useFlexGap:b},O=(0,p.default)({root:["root"]},e=>(0,f.default)(i,e),{});return(0,_.jsx)(a,o(o({as:c,ownerState:w,ref:t,className:(0,u.default)(O.root,v)},x),{},{children:m?j(g,m):g}))})},t.style=void 0;var c=l(r(40809)),u=(s(r(19894)),s(r(44173))),d=s(r(26309)),f=s(r(13810)),p=s(r(7265)),h=s(r(29968)),m=s(r(68627)),y=r(54923),g=s(r(65844)),v=r(84297),b=r(45760),_=r(34766);const x=(0,g.default)(),w=(0,h.default)("div",{name:"MuiStack",slot:"Root"});function O(e){return(0,m.default)({props:e,name:"MuiStack",defaultTheme:x})}
153function j(e,t){const r=c.Children.toArray(e).filter(Boolean);return r.reduce((e,n,i)=>(e.push(n),i<r.length-1&&e.push(c.cloneElement(t,{key:`separator-${i}`})),e),[])}const S=({ownerState:e,theme:t})=>{let r=o({display:"flex",flexDirection:"column"},(0,v.handleBreakpoints)({theme:t},(0,v.resolveBreakpointValues)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){const n=(0,b.createUnarySpacing)(t),i=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),o=(0,v.resolveBreakpointValues)({values:e.direction,base:i}),a=(0,v.resolveBreakpointValues)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach((e,t,r)=>{if(!o[e]){const n=t>0?o[r[t-1]]:"column";o[e]=n}});const s=(t,r)=>{return e.useFlexGap?{gap:(0,b.getValue)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${i=r?o[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i]}`]:(0,b.getValue)(n,t)}};var i};r=(0,d.default)(r,(0,v.handleBreakpoints)({theme:t},a,s))}return r=(0,v.mergeBreakpointsInOrder)(t.breakpoints,r),r};t.style=S},48253:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={createStack:!0,stackClasses:!0};Object.defineProperty(t,"createStack",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"stackClasses",{enumerable:!0,get:function(){return c.default}});var a=i(r(89489)),s=i(r(17677)),l=r(83715);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=n(r(10465));Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))})},10465:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getStackUtilityClass=function(e){return(0,o.default)("MuiStack",e)};var i=n(r(85298)),o=n(r(13810));const a=(0,i.default)("MuiStack",["root"]);t.default=a},46813:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(40809)),c=(a(r(19894)),r(95712)),u=(a(r(53693)),r(91413)),d=a(r(70554)),f=a(r(75926)),p=a(r(46795)),h=a(r(83513)),m=r(34766);const y={};function g(e,t,r,n=!1){return l.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof r){const a=r(o),s=e?i(i({},t),{},{[e]:a}):a;return n?()=>s:s}return e?i(i({},t),{},{[e]:r}):i(i({},t),r)},[e,t,r,n])}t.default=function(e){const{children:t,theme:r,themeId:n}=e,i=(0,d.default)(y),o=(0,c.useTheme)()||y,a=g(n,i,r),s=g(n,o,r,!0),l="rtl"===(n?a[n]:a).direction,v=(0,h.default)(a);return(0,m.jsx)(c.ThemeProvider,{theme:s,children:(0,m.jsx)(u.ThemeContext.Provider,{value:a,children:(0,m.jsx)(f.default,{value:l,children:(0,m.jsxs)(p.default,{value:n?a[n].components:a.components,children:[v,t]})})})})}},27745:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(46813))},83513:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(),r=(0,o.default)()||"",{modularCssLayers:n}=e;let c="mui.global, mui.components, mui.theme, mui.custom, mui.sx";c=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,c):`@layer ${c};`:"";if((0,i.default)(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(c){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=c,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[c,r]),!c)return null;return(0,l.jsx)(a.default,{styles:c})};var i=n(r(98863)),o=n(r(78993)),a=n(r(49622)),s=n(r(70554)),l=r(34766)},66841:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.borderTopColor=t.borderTop=t.borderRightColor=t.borderRight=t.borderRadius=t.borderLeftColor=t.borderLeft=t.borderColor=t.borderBottomColor=t.borderBottom=t.border=void 0,t.borderTransform=l,t.outlineColor=t.outline=t.default=void 0;n(r(90676));var i=n(r(72620)),o=n(r(97693)),a=r(45760),s=r(84297);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.default)({prop:e,themeKey:"borders",transform:t})}const u=t.border=c("border",l),d=t.borderTop=c("borderTop",l),f=t.borderRight=c("borderRight",l),p=t.borderBottom=c("borderBottom",l),h=t.borderLeft=c("borderLeft",l),m=t.borderColor=c("borderColor"),y=t.borderTopColor=c("borderTopColor"),g=t.borderRightColor=c("borderRightColor"),v=t.borderBottomColor=c("borderBottomColor"),b=t.borderLeftColor=c("borderLeftColor"),_=t.outline=c("outline",l),x=t.outlineColor=c("outlineColor"),w=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,a.createUnaryUnit)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,a.getValue)(t,e)});return(0,s.handleBreakpoints)(e,e.borderRadius,r)}return null};t.borderRadius=w,w.propTypes={},w.filterProps=["borderRadius"];const O=(0,o.default)(u,d,f,p,h,m,y,g,v,b,w,_,x);t.default=O},75862:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(66841));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},60149:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.computeBreakpointsBase=h,t.createEmptyBreakpointObject=f,t.default=void 0,t.handleBreakpoints=function(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||u;return t.reduce((n,i,o)=>(n[e.up(e.keys[o])]=r(t[o]),n),{})}if("object"==typeof t){const e=n.breakpoints||u;return Object.keys(t).reduce((i,o)=>
153{if((0,l.isCqShorthand)(e.keys,o)){const e=(0,l.getContainerQuery)(n.containerQueries?n:d,o);e&&(i[e]=r(t[o],o))}else if(Object.keys(e.values||c).includes(o)){i[e.up(o)]=r(t[o],o)}else{const e=o;i[e]=t[e]}return i},{})}return r(t)},t.mergeBreakpointsInOrder=function(e,...t){const r=f(e),n=[r,...t].reduce((e,t)=>(0,a.default)(e,t),{});return p(Object.keys(r),n)},t.removeUnusedBreakpoints=p,t.resolveBreakpointValues=function({values:e,breakpoints:t,base:r}){const n=r||h(e,t),i=Object.keys(n);if(0===i.length)return e;let o;return i.reduce((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[o],o=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[o],o=r):t[r]=e,t),{})},t.values=void 0;o(r(19894));var a=o(r(26309)),s=o(r(87929)),l=r(90247);const c=t.values={xs:0,sm:600,md:900,lg:1200,xl:1536},u={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${c[e]}px)`},d={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:c[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function f(e={}){const t=e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{});return t||{}}function p(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function h(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}t.default=function(e){const t=t=>{const r=t.theme||{},o=e(t),a=r.breakpoints||u,l=a.keys.reduce((o,s)=>(t[s]&&((o=o||{})[a.up(s)]=e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({theme:r},t[s]))),o),null);return(0,s.default)(o,l)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl",...e.filterProps],t}},84297:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(60149));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},82545:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.alpha=p,t.blend=function(e,t,r,n=1){const i=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),o=l(e),a=l(t);return u({type:"rgb",values:[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])]})},t.colorChannel=void 0,t.darken=h,t.decomposeColor=l,t.emphasize=y,t.getContrastRatio=function(e,t){const r=f(e),n=f(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.getLuminance=f,t.hexToRgb=s,t.hslToRgb=d,t.lighten=m,t.private_safeAlpha=function(e,t,r){try{return p(e,t)}catch(t){return e}},t.private_safeColorChannel=void 0,t.private_safeDarken=function(e,t,r){try{return h(e,t)}catch(t){return e}},t.private_safeEmphasize=function(e,t,r){try{return y(e,t)}catch(t){return e}},t.private_safeLighten=function(e,t,r){try{return m(e,t)}catch(t){return e}},t.recomposeColor=u,t.rgbToHex=function(e){if(e.startsWith("#"))return e;const{values:t}=l(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var i=n(r(82406)),o=n(r(80516));function a(e,t=0,r=1){return(0,o.default)(e,t,r)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error((0,i.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error((0,i.default)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}const c=e=>{const t=l(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")};t.colorChannel=c;function u(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function d(e){e=l(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(e,t=(e+r/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=l(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function h(e,t){if(e=l(e),t=a(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return u(e)}function m(e,t){if(e=l(e),t=a(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return u(e)}function y(e,t=.15){return f(e)>.5?h(e,t):m(e,t)}t.private_safeColorChannel=(e,t)=>
153{try{return c(e)}catch(t){return e}}},54078:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(82545);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))})},23913:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(87929));t.default=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.default)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r}},97693:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(23913))},9745:function(e,t,r){"use strict";const n=["className","component"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:a="MuiBox-root",generateClassName:s}=e,h=(0,u.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(d.default);return l.forwardRef(function(e,l){const u=(0,f.default)(r),m=(0,d.extendSxProp)(e),{className:y,component:g="div"}=m,v=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(m,n);return(0,p.jsx)(h,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({as:g,ref:l,className:(0,c.default)(y,s?s(a):a),theme:t&&u[t]||u},v))})};var l=s(r(40809)),c=a(r(44173)),u=a(r(91413)),d=s(r(54923)),f=a(r(37223)),p=r(34766)},55524:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(9745))},28105:function(e,t){"use strict";const r=["values","unit","step"];function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
153Object.defineProperty(t,"__esModule",{value:!0}),t.breakpointKeys=void 0,t.default=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,r),l=a(t),c=Object.keys(l);function u(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function f(e,r){const i=c.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[c[i]]?t[c[i]]:r)-o/100}${n})`}return i({keys:c,values:l,up:u,down:d,between:f,only:function(e){return c.indexOf(e)+1<c.length?f(e,c[c.indexOf(e)+1]):u(e)},not:function(e){const t=c.indexOf(e);return 0===t?u(c[1]):t===c.length-1?d(c[t]):f(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},s)};t.breakpointKeys=["xs","sm","md","lg","xl"];const a=e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>i(i({},e),{},{[t.key]:t.val}),{})}},71809:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_createBreakpoints",{enumerable:!0,get:function(){return i.default}});var i=n(r(28105))},49673:function(e,t,r){"use strict";const n=["variants"],i=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default,u=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e={}){const{themeId:t,defaultTheme:r=y,rootShouldForwardProp:n=g,slotShouldForwardProp:o=g}=e;function s(e){!function(e,t,r){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{(0,d.internal_mutateStyles)(e,e=>e.filter(e=>e!==h.default));const{name:r,slot:c,skipVariantsResolver:u,skipSx:p,overridesResolver:y=b(O(c))}=t,j=l(t,i),S=r&&r.startsWith("Mui")||c?"components":"custom",M=void 0!==u?u:c&&"Root"!==c&&"root"!==c||!1,k=p||!1;let P=g;"Root"===c||"root"===c?P=n:c?P=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);const T=(0,d.default)(e,a({shouldForwardProp:P,label:w(r,c)},j)),E=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return _(t,e,t.theme.modularCssLayers?S:void 0)};if((0,f.isPlainObject)(e)){const t=(0,m.default)(e);return function(e){return t.variants?_(e,t,e.theme.modularCssLayers?S:void 0):e.theme.modularCssLayers?v(t.style,S):t.style}}return e},C=(...t)=>{const n=[],i=t.map(E),o=[];if(n.push(s),r&&y&&o.push(function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const i={};for(const t in n)i[t]=_(e,n[t],e.theme.modularCssLayers?"theme":void 0);return y(e,i)}),r&&!M&&o.push(function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?x(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),k||o.push(h.default),Array.isArray(i[0])){const e=i.shift(),t=new Array(n.length).fill(""),r=new Array(o.length).fill("");let a;a=[...t,...e,...r],a.raw=[...t,...e.raw,...r],n.unshift(a)}const a=[...n,...i,...o],l=T(...a);return e.muiName&&(l.muiName=e.muiName),l};return T.withConfig&&(C.withConfig=T.withConfig),C}},t.shouldForwardProp=g,t.systemDefaultTheme=void 0;var d=u(r(91413)),f=r(26309),p=(c(r(31527)),c(r(99100)),c(r(65844))),h=c(r(54923)),m=c(r(74832));const y=t.systemDefaultTheme=(0,p.default)();function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}
153function v(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function b(e){return e?(t,r)=>r[e]:null}function _(e,t,r){const i="function"==typeof t?t(e):t;if(Array.isArray(i))return i.flatMap(t=>_(e,t,r));if(Array.isArray(i?.variants)){let t;if(i.isProcessed)t=r?v(i.style,r):i.style;else{const{variants:e}=i,o=l(i,n);t=r?v((0,d.internal_serializeStyles)(o),r):o}return x(e,i.variants,[t],r)}return i?.isProcessed?r?v((0,d.internal_serializeStyles)(i.style),r):i.style:r?v((0,d.internal_serializeStyles)(i),r):i}function x(e,t,r=[],n=void 0){let i;e:for(let o=0;o<t.length;o+=1){const s=t[o];if("function"==typeof s.props){if(i??(i=a(a(a({},e),e.ownerState),{},{ownerState:e.ownerState})),!s.props(i))continue}else for(const t in s.props)if(e[t]!==s.props[t]&&e.ownerState?.[t]!==s.props[t])continue e;"function"==typeof s.style?(i??(i=a(a(a({},e),e.ownerState),{},{ownerState:e.ownerState})),r.push(n?v((0,d.internal_serializeStyles)(s.style(i)),n):s.style(i))):r.push(n?v((0,d.internal_serializeStyles)(s.style),n):s.style)}return r}function w(e,t){}function O(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},21752:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(49673));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},83426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}if(r.palette.mode===e)return t;return{}}},78677:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=8,t=(0,n.createUnarySpacing)({spacing:e})){if(e.mui)return e;const r=(...e)=>{return(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r};var n=r(45760)},63169:function(e,t,r){"use strict";const n=["breakpoints","palette","spacing","shape"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(26309)),c=s(r(28105)),u=s(r(90247)),d=s(r(13765)),f=s(r(78677)),p=s(r(53805)),h=s(r(47391)),m=s(r(83426));t.default=function(e={},...t){const{breakpoints:r={},palette:i={},spacing:a,shape:s={}}=e,y=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),g=(0,c.default)(r),v=(0,f.default)(a);let b=(0,l.default)({breakpoints:g,direction:"ltr",components:{},palette:o({mode:"light"},i),spacing:v,shape:o(o({},d.default),s)},y);return b=(0,u.default)(b),b.applyStyles=m.default,b=t.reduce((e,t)=>
153(0,l.default)(e,t),b),b.unstable_sxConfig=o(o({},h.default),y?.unstable_sxConfig),b.unstable_sx=function(e){return(0,p.default)({sx:e,theme:this})},b}},65844:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"private_createBreakpoints",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"unstable_applyStyles",{enumerable:!0,get:function(){return a.default}});var i=n(r(63169)),o=n(r(28105)),a=n(r(83426))},13765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={borderRadius:4}},99877:function(e,t){"use strict";function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(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}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const i={},o=e=>(r(i,e),i);return r(o),n(n({},e),{},{containerQueries:o})},t.getContainerQuery=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)},t.isCqShorthand=function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))},t.sortContainerQueries=function(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});if(!r.length)return t;return r.reduce((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e},n({},t))}},90247:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getContainerQuery",{enumerable:!0,get:function(){return i.getContainerQuery}}),Object.defineProperty(t,"isCqShorthand",{enumerable:!0,get:function(){return i.isCqShorthand}}),Object.defineProperty(t,"sortContainerQueries",{enumerable:!0,get:function(){return i.sortContainerQueries}});var i=n(r(99877))},13937:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.rowGap=t.gridTemplateRows=t.gridTemplateColumns=t.gridTemplateAreas=t.gridRow=t.gridColumn=t.gridAutoRows=t.gridAutoFlow=t.gridAutoColumns=t.gridArea=t.gap=t.default=t.columnGap=void 0;var i=n(r(72620)),o=n(r(97693)),a=r(45760),s=r(84297);n(r(90676));const l=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,a.createUnaryUnit)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,a.getValue)(t,e)});return(0,s.handleBreakpoints)(e,e.gap,r)}return null};t.gap=l,l.propTypes={},l.filterProps=["gap"];const c=e=>
153{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,a.createUnaryUnit)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,a.getValue)(t,e)});return(0,s.handleBreakpoints)(e,e.columnGap,r)}return null};t.columnGap=c,c.propTypes={},c.filterProps=["columnGap"];const u=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,a.createUnaryUnit)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,a.getValue)(t,e)});return(0,s.handleBreakpoints)(e,e.rowGap,r)}return null};t.rowGap=u,u.propTypes={},u.filterProps=["rowGap"];const d=t.gridColumn=(0,i.default)({prop:"gridColumn"}),f=t.gridRow=(0,i.default)({prop:"gridRow"}),p=t.gridAutoFlow=(0,i.default)({prop:"gridAutoFlow"}),h=t.gridAutoColumns=(0,i.default)({prop:"gridAutoColumns"}),m=t.gridAutoRows=(0,i.default)({prop:"gridAutoRows"}),y=t.gridTemplateColumns=(0,i.default)({prop:"gridTemplateColumns"}),g=t.gridTemplateRows=(0,i.default)({prop:"gridTemplateRows"}),v=t.gridTemplateAreas=(0,i.default)({prop:"gridTemplateAreas"}),b=t.gridArea=(0,i.default)({prop:"gridArea"}),_=(0,o.default)(l,c,u,d,f,p,h,m,y,g,v,b);t.default=_},43546:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(13937));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},35872:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DISABLE_CSS_TRANSITION=void 0,t.default=function(e){const{themeId:t,theme:r={},modeStorageKey:n=p.DEFAULT_MODE_STORAGE_KEY,colorSchemeStorageKey:o=p.DEFAULT_COLOR_SCHEME_STORAGE_KEY,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:g}=e,v={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},b=l.createContext(void 0);0;const _={},x={};const w="string"==typeof s?s:s.light,O="string"==typeof s?s:s.dark;return{CssVarsProvider:function(e){const{children:p,theme:v,modeStorageKey:w=n,colorSchemeStorageKey:O=o,disableTransitionOnChange:j=a,storageManager:S,storageWindow:M=("undefined"==typeof window?void 0:window),documentNode:k=("undefined"==typeof document?void 0:document),colorSchemeNode:P=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:T=!1,disableStyleSheetGeneration:E=!1,defaultMode:C="system",forceThemeRerender:L=!1,noSsr:A}=e,D=l.useRef(!1),I=(0,u.useTheme)(),N=l.useContext(b),R=!!N&&!T,z=l.useMemo(()=>v||("function"==typeof r?r():r),[v]),F=z[t],B=F||z,{colorSchemes:Y=_,components:U=x,cssVarPrefix:H}=B,$=Object.keys(Y).filter(e=>!!Y[e]).join(","),W=l.useMemo(()=>$.split(","),[$]),V="string"==typeof s?s:s.light,q="string"==typeof s?s:s.dark,G=Y[V]&&Y[q]?C:Y[B.defaultColorScheme]?.palette?.mode||B.palette?.mode,{mode:Z,setMode:X,systemMode:J,lightColorScheme:K,darkColorScheme:Q,colorScheme:ee,setColorScheme:te}=(0,h.default)({supportedColorSchemes:W,defaultLightColorScheme:V,defaultDar
153kColorScheme:q,modeStorageKey:w,colorSchemeStorageKey:O,defaultMode:G,storageManager:S,storageWindow:M,noSsr:A});let re=Z,ne=ee;R&&(re=N.mode,ne=N.colorScheme);let ie=ne||B.defaultColorScheme;B.vars&&!L&&(ie=B.defaultColorScheme);const oe=l.useMemo(()=>{const e=B.generateThemeVars?.()||B.vars,t=i(i({},B),{},{components:U,colorSchemes:Y,cssVarPrefix:H,vars:e});if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),ie){const e=Y[ie];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]=i(i({},t[r]),e[r]):t[r]=e[r]})}return g?g(t):t},[B,ie,U,Y,H]),ae=B.colorSchemeSelector;(0,d.default)(()=>{if(ne&&P&&ae&&"media"!==ae){const e=ae;let t=ae;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))P.classList.remove(...W.map(e=>t.substring(1).replace("%s",e))),P.classList.add(t.substring(1).replace("%s",ne));else{const e=t.replace("%s",ne).match(/\[([^\]]+)\]/);if(e){const[t,r]=e[1].split("=");r||W.forEach(e=>{P.removeAttribute(t.replace(ne,e))}),P.setAttribute(t,r?r.replace(/"|'/g,""):"")}else P.setAttribute(t,ne)}}},[ne,ae,P,W]),l.useEffect(()=>{let e;if(j&&D.current&&k){const t=k.createElement("style");t.appendChild(k.createTextNode(y)),k.head.appendChild(t),window.getComputedStyle(k.body),e=setTimeout(()=>{k.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[ne,j,k]),l.useEffect(()=>(D.current=!0,()=>{D.current=!1}),[]);const se=l.useMemo(()=>({allColorSchemes:W,colorScheme:ne,darkColorScheme:Q,lightColorScheme:K,mode:re,setColorScheme:te,setMode:X,systemMode:J}),[W,ne,Q,K,re,te,X,J,oe.colorSchemeSelector]);let le=!0;(E||!1===B.cssVariables||R&&I?.cssVarPrefix===H)&&(le=!1);const ce=(0,m.jsxs)(l.Fragment,{children:[(0,m.jsx)(f.default,{themeId:F?t:void 0,theme:oe,children:p}),le&&(0,m.jsx)(c.GlobalStyles,{styles:oe.generateStyleSheets?.()||[]})]});return R?ce:(0,m.jsx)(b.Provider,{value:se,children:ce})},useColorScheme:()=>l.useContext(b)||v,getInitColorSchemeScript:e=>(0,p.default)(i({colorSchemeStorageKey:o,defaultLightColorScheme:w,defaultDarkColorScheme:O,modeStorageKey:n},e))}};var l=s(r(40809)),c=(a(r(19894)),r(91413)),u=r(95712),d=a(r(98863)),f=a(r(27745)),p=s(r(14985)),h=a(r(22856)),m=r(34766);const y=t.DISABLE_CSS_TRANSITION="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}"},58204:function(e,t,r){"use strict";const n=["colorSchemeSelector"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(44306)),c=r(15219),u=r(14985);t.default=function(e){let{colorSchemeSelector:t=`[${u.DEFAULT_ATTRIBUTE}="%s"]`}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}
153(e,n);const i=r,a=(0,l.default)(i,o(o({},r),{},{prefix:r.cssVarPrefix,colorSchemeSelector:t}));return i.vars=a.vars,i.generateThemeVars=a.generateThemeVars,i.generateStyleSheets=a.generateStyleSheets,i.colorSchemeSelector=t,i.getColorSchemeSelector=(0,c.createGetColorSchemeSelector)(t),i}},36340:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}},56426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignNestedKeys=void 0,t.default=function(e,t){const{prefix:o,shouldSkipGeneratingVar:a}=t||{},s={},l={},c={};return n(e,(e,t,n)=>{if(!("string"!=typeof t&&"number"!=typeof t||a&&a(e,t))){const a=`--${o?`${o}-`:""}${e.join("-")}`,u=i(e,t);Object.assign(s,{[a]:u}),r(l,e,`var(${a})`,n),r(c,e,`var(${a}, ${u})`,n)}},e=>"vars"===e[0]),{css:s,vars:l,varsWithDefaults:c}},t.walkObjectDeep=void 0;const r=(e,t,r,n=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})};t.assignNestedKeys=r;const n=(e,t,r)=>{!function e(n,i=[],o=[]){Object.entries(n).forEach(([n,a])=>{(!r||r&&!r([...i,n]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...i,n],Array.isArray(a)?[...o,n]:o):t([...i,n],a,o))})}(e)};t.walkObjectDeep=n;const i=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;return e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`}return t}},15219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}},91560:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createCssVarsTheme",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createGetColorSchemeSelector",{enumerable:!0,get:function(){return l.createGetColorSchemeSelector}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"prepareCssVars",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"prepareTypographyVars",{enumerable:!0,get:function(){return a.default}});var i=n(r(35872)),o=n(r(44306)),a=n(r(24488)),s=n(r(58204)),l=r(15219)},67919:function(e,t){"use strict";function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){if("undefined"==typeof window)return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:n=>{if(!t)return r;const i=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",i),()=>{t.removeEventListener("storage",i)}}})},44306:function(e,t,r){"use strict";const n=["colorSchemes","components","defaultColorScheme"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=c(r(26309)),d=c(r(56426));t.default=function(e,t={}){const{getSelector:r=O,disableCssColorScheme:i,colorSchemeSelector:a,enableContrastVars:c}=t,{colorSchemes:f={},components:p,defaultColorScheme:h="light"}=e,m=l(e,n),{vars:y,css:g,varsWithDefaults:v}=(0,d.default)(m,t);let b=v;const _={},{[h]:x}=f,w=l(f,[h].map(s));if(Object.entries(w||{}).forEach(([e,r])=>{const{vars:n,css:i,varsWithDefaults:o}=(0,d.default)(r,t);b=(0,u.default)(b,o),_[e]={css:i,vars:n}}),x){const{css:e,vars:r,varsWithDefaults:n}=(0,d.default)(x,t);b=(0,u.default)(b,n),_[h]={css:e,vars:r}}function O(t,r){let n=a;if("class"===a&&(n=".%s"),"data"===a&&(n="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(n=`[${a}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=f[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:b,generateThemeVars:()=>{let e=o({},y);return Object.entries(_).forEach(([,{vars:t}])=>{e=(0,u.default)(e,t)}),e},generateStyleSheets:()=>{const t=[],n=e.defaultColorScheme||"light";function a(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:o({},r)}:e)}a(r(void 0,o({},g)),g);const{[n]:u}=_,d=l(_,[n].map(s));if(u){const{css:e}=u,t=f[n]?.palette?.mode,s=o(!i&&t?{colorScheme:t}:{},e);a(r(n,o({},s)),s)}return Object.entries(d).forEach(([e,{css:t}])=>{const n=f[e]?.palette?.mode,s=o(!i&&n?{colorScheme:n}:{},t);a(r(e,o({},s)),s)}),c&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}},24488:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={};return Object.entries(e).forEach(e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}},22856:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:a=c.DEFAULT_MODE_STORAGE_KEY,colorSchemeStorageKey:s=c.DEFAULT_COLOR_SCHEME_STORAGE_KEY,storageWindow:m=("undefined"==typeof window?void 0:window),storageManager:y=u.default,noSsr:g=!1}=e,v=o.join(","),b=o.length>1,_=l.useMemo(()=>y?.({key:a,storageWindow:m}),[y,a,m]),x=l.useMemo(()=>y?.({key:`${s}-light`,storageWindow:m}),[y,s,m]),w=l.useMemo(()=>y?.({key:`${s}-dark`,storageWindow:m}),[y,s,m]),[O,j]=l.useState(()=>{const e=_?.get(t)||t,i=x?.get(r)||r,o=w?.get(n)||n;return{mode:e,systemMode:f(e),lightColorScheme:i,darkColorScheme:o}}),[S,M]=l.useState(g||!b);l.useEffect(()=>{M(!0)},[]);const k=h(O),P=l.useCallback(e=>{j(r=>{if(e===r.mode)return r;const n=e??t;return _?.set(n),i(i({},r),{},{mode:n,systemMode:f(n)})})},[_,t]),T=l.useCallback(e=>{e?"string"==typeof e?e&&!v.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):j(t=>{const r=i({},t);return p(t,t=>{"light"===t&&(x?.set(e),r.lightColorScheme=e),"dark"===t&&(w?.set(e),r.darkColorScheme=e)}),r}):j(t=>{const o=i({},t),a=null===e.light?r:e.light,s=null===e.dark?n:e.dark;return a&&(v.includes(a)?(o.lightColorScheme=a,x?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),s&&(v.includes(s)?(o.darkColorScheme=s,w?.set(s)):console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`)),o}):j(e=>(x?.set(r),w?.set(n),i(i({},e),{},{lightColorScheme:r,darkColorScheme:n})))},[v,x,w,r,n]),E=l.useCallback(e=>{"system"===O.mode&&j(t=>
153{const r=e?.matches?"dark":"light";return t.systemMode===r?t:i(i({},t),{},{systemMode:r})})},[O.mode]),C=l.useRef(E);return C.current=E,l.useEffect(()=>{if("function"!=typeof window.matchMedia||!b)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[b]),l.useEffect(()=>{if(b){const e=_?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||P(e||t)})||d,r=x?.subscribe(e=>{e&&!v.match(e)||T({light:e})})||d,n=w?.subscribe(e=>{e&&!v.match(e)||T({dark:e})})||d;return()=>{e(),r(),n()}}},[T,P,v,t,m,b,_,x,w]),i(i({},O),{},{mode:S?O.mode:void 0,systemMode:S?O.systemMode:void 0,colorScheme:S?k:void 0,setMode:P,setColorScheme:T})},t.getColorScheme=h,t.getSystemMode=f;var l=s(r(40809)),c=r(14985),u=a(r(67919));function d(){}function f(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function p(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function h(e){return p(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}},84469:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.whiteSpace=t.visibility=t.textOverflow=t.overflow=t.displayRaw=t.displayPrint=t.default=void 0;var i=n(r(72620)),o=n(r(97693));const a=t.displayPrint=(0,i.default)({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),s=t.displayRaw=(0,i.default)({prop:"display"}),l=t.overflow=(0,i.default)({prop:"overflow"}),c=t.textOverflow=(0,i.default)({prop:"textOverflow"}),u=t.visibility=(0,i.default)({prop:"visibility"}),d=t.whiteSpace=(0,i.default)({prop:"whiteSpace"});t.default=(0,o.default)(a,s,l,c,u,d)},17759:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(84469));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},8001:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.order=t.justifySelf=t.justifyItems=t.justifyContent=t.flexWrap=t.flexShrink=t.flexGrow=t.flexDirection=t.flexBasis=t.flex=t.default=t.alignSelf=t.alignItems=t.alignContent=void 0;var i=n(r(72620)),o=n(r(97693));const a=t.flexBasis=(0,i.default)({prop:"flexBasis"}),s=t.flexDirection=(0,i.default)({prop:"flexDirection"}),l=t.flexWrap=(0,i.default)({prop:"flexWrap"}),c=t.justifyContent=(0,i.default)({prop:"justifyContent"}),u=t.alignItems=(0,i.default)({prop:"alignItems"}),d=t.alignContent=(0,i.default)({prop:"alignContent"}),f=t.order=(0,i.default)({prop:"order"}),p=t.flex=(0,i.default)({prop:"flex"}),h=t.flexGrow=(0,i.default)({prop:"flexGrow"}),m=t.flexShrink=(0,i.default)({prop:"flexShrink"}),y=t.alignSelf=(0,i.default)({prop:"alignSelf"}),g=t.justifyItems=(0,i.default)({prop:"justifyItems"}),v=t.justifySelf=(0,i.default)({prop:"justifySelf"}),b=(0,o.default)(a,s,l,c,u,d,f,p,h,m,y,g,v);t.default=b},13133:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(8001));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},4101:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.styleFunctionMapping=t.propToStyleFunction=t.default=void 0;var i=n(r(75862)),o=n(r(17759)),a=n(r(13133)),s=n(r(43546)),l=n(r(92065)),c=n(r(46158)),u=n(r(26288)),d=n(r(44077)),f=n(r(45760)),p=n(r(90762));const h={borders:i.default.filterProps,display:o.default.filterProps,flexbox:a.default.filterProps,grid:s.default.filterProps,positions:l.default.filterProps,palette:c.default.filterProps,shadows:u.default.filterProps,sizing:d.default.filterProps,spacing:f.default.filterProps,typography:p.default.filterProps},m=t.styleFunctionMapping={borders:i.default,display:o.default,flexbox:a.default,grid:s.default,positions:l.default,palette:c.default,shadows:u.default,sizing:d.default,spacing:f.default,typography:p.default},y=t.propToStyleFunction=Object.keys(h).reduce((e,t)=>
153(h[t].forEach(r=>{e[r]=m[t]}),e),{});t.default=function(e,t,r){const n={[e]:t,theme:r},i=y[e];return i?i(n):{[e]:t}}},81367:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(4101));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},60522:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0});var o={experimental_sx:!0,css:!0,keyframes:!0,StyledEngineProvider:!0,GlobalStyles:!0,borders:!0,breakpoints:!0,handleBreakpoints:!0,mergeBreakpointsInOrder:!0,unstable_resolveBreakpointValues:!0,cssContainerQueries:!0,compose:!0,display:!0,flexbox:!0,grid:!0,palette:!0,positions:!0,shadows:!0,sizing:!0,spacing:!0,style:!0,getPath:!0,getStyleValue:!0,typography:!0,unstable_styleFunctionSx:!0,unstable_createStyleFunctionSx:!0,unstable_extendSxProp:!0,unstable_defaultSxConfig:!0,unstable_getThemeValue:!0,Box:!0,createBox:!0,createStyled:!0,styled:!0,createTheme:!0,createBreakpoints:!0,createSpacing:!0,shape:!0,useThemeProps:!0,getThemeProps:!0,useTheme:!0,useThemeWithoutDefault:!0,useMediaQuery:!0,ThemeProvider:!0,unstable_memoTheme:!0,unstable_createCssVarsProvider:!0,unstable_createGetCssVar:!0,unstable_cssVarsParser:!0,unstable_prepareCssVars:!0,unstable_createCssVarsTheme:!0,responsivePropType:!0,RtlProvider:!0,createContainer:!0,Container:!0,Grid:!0,Stack:!0};Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"Container",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"RtlProvider",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"Stack",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"StyledEngineProvider",{enumerable:!0,get:function(){return s.StyledEngineProvider}}),Object.defineProperty(t,"ThemeProvider",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"borders",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"breakpoints",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"compose",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"createBox",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"createBreakpoints",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"createContainer",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"createSpacing",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"createStyled",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"createTheme",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"css",{enumerable:!0,get:function(){return s.css}}),Object.defineProperty(t,"cssContainerQueries",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"display",{enumerable:!0,get:function(){return p.default}}),t.experimental_sx=function(){throw new Error((0,a.default)(19))},Object.defineProperty(t,"flexbox",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"getPath",{enumerable:!0,get:function(){return x.getPath}}),Object.defineProperty(t,"getStyleValue",{enumerable:!0,get:function(){return x.getStyleValue}}),Object.defineProperty(t,"getThemeProps",{enumerable:!0,get:function(){return A.getThemeProps}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"handleBreakpoints",{enumerable:!0,get:function(){return u.handleBreakpoints}}),Object.defineProperty(t,"keyframes",{enumerable:!0,get:function(){return s.keyframes}}),Object.defineProperty(t,"mergeBreakpointsInOrder",{enumerable:!0,get:function(){return u.mergeBreakpointsInOrder}}),Object.defineProperty(t,"palette",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"positions",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"responsivePropType",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"shadows",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"shape",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"sizing",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"spacing",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"styled",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"typography",{enumerable:!0,get:function(){return w.default}}
153),Object.defineProperty(t,"unstable_createCssVarsProvider",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"unstable_createCssVarsTheme",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"unstable_createGetCssVar",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"unstable_createStyleFunctionSx",{enumerable:!0,get:function(){return O.unstable_createStyleFunctionSx}}),Object.defineProperty(t,"unstable_cssVarsParser",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"unstable_defaultSxConfig",{enumerable:!0,get:function(){return O.unstable_defaultSxConfig}}),Object.defineProperty(t,"unstable_extendSxProp",{enumerable:!0,get:function(){return O.extendSxProp}}),Object.defineProperty(t,"unstable_getThemeValue",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"unstable_memoTheme",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"unstable_prepareCssVars",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"unstable_resolveBreakpointValues",{enumerable:!0,get:function(){return u.resolveBreakpointValues}}),Object.defineProperty(t,"unstable_styleFunctionSx",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"useMediaQuery",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"useThemeProps",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"useThemeWithoutDefault",{enumerable:!0,get:function(){return I.default}});var a=i(r(82406)),s=r(91413),l=i(r(49622)),c=n(r(75862));Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var u=n(r(84297)),d=i(r(90247)),f=i(r(97693)),p=i(r(17759)),h=n(r(13133));Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))});var m=n(r(43546));Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))});var y=n(r(46158));Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))});var g=n(r(92065));Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var v=i(r(26288)),b=n(r(44077));Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))});var _=n(r(45760));Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}}))});var x=n(r(72620)),w=n(r(90762));
153Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))});var O=n(r(54923)),j=i(r(81367)),S=n(r(36780));Object.keys(S).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===S[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}}))});var M=i(r(55524)),k=n(r(21752));Object.keys(k).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===k[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}}))});var P=i(r(29968)),T=i(r(65844)),E=i(r(28105)),C=i(r(78677)),L=i(r(13765)),A=n(r(68627)),D=i(r(37223)),I=i(r(70554)),N=i(r(12906)),R=r(54078);Object.keys(R).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===R[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}}))});var z=i(r(27745)),F=i(r(12845)),B=i(r(35872)),Y=i(r(36340)),U=i(r(56426)),H=i(r(44306)),$=i(r(58204)),W=i(r(90676)),V=n(r(75926));Object.keys(V).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===V[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}}))});var q=r(23085);Object.keys(q).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}}))});var G=i(r(43721)),Z=n(r(29642));Object.keys(Z).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===Z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}}))});var X=i(r(25663)),J=r(31859);Object.keys(J).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===J[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}}))});var K=i(r(89489)),Q=r(48253);Object.keys(Q).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===Q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}}))})},12845:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t,r;return function(n){let a=t;return void 0!==a&&n.theme===r||(o.theme=n.theme,a=(0,i.default)(e(o)),t=a,r=n.theme),a}};var i=n(r(74832));const o={theme:void 0}},73965:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(81585))},81585:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}},87929:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(51757))},51757:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(26309));t.default=function(e,t){return t?(0,i.default)(e,t,{clone:!1}):e}},11171:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default,s=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(40809)),c=(a(r(19894)),a(r(53693)),a(r(96749))),u=a(r(79593)),d=a(r(95520)),f=r(34766);t.default=function(e){const{children:t,theme:r}=e,n=(0,u.default)(),o=l.useMemo(()=>{const e=null===n?i({},r):function(e,t){if("function"==typeof t)return t(e);return i(i({},e),t)}(n,r);return null!=e&&(e[d.default]=null!==n),e},[r,n]);return(0,f.jsx)(c.default.Provider,{value:o,children:t})}},69835:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"unstable_nested",{enumerable:!0,get:function(){return o.default}});var i=n(r(11171)),o=n(r(95520))},95520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r="function"==typeof Symbol&&Symbol.for;t.default=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},95712:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var o={ThemeProvider:!0,useTheme:!0};Object.defineProperty(t,"ThemeProvider",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return s.default}});var a=i(r(69835));Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var s=n(r(79593))},96749:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=n(r(40809)).createContext(null);t.default=i},79593:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(76141))},76141:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0;return o.useContext(a.default)};var o=i(r(40809)),a=n(r(96749))},46158:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(57609));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},57609:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.color=t.bgcolor=t.backgroundColor=void 0,t.paletteTransform=a;var i=n(r(72620)),o=n(r(97693));function a(e,t){return"grey"===t?t:e}const s=t.color=(0,i.default)({prop:"color",themeKey:"palette",transform:a}),l=t.bgcolor=(0,i.default)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:a}),c=t.backgroundColor=(0,i.default)({prop:"backgroundColor",themeKey:"palette",transform:a}),u=(0,o.default)(s,l,c);t.default=u},92065:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(12517));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},12517:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.zIndex=t.top=t.right=t.position=t.left=t.default=t.bottom=void 0;var i=n(r(72620)),o=n(r(97693));const a=t.position=(0,i.default)({prop:"position"}),s=t.zIndex=(0,i.default)({prop:"zIndex",themeKey:"zIndex"}),l=t.top=(0,i.default)({prop:"top"}),c=t.right=(0,i.default)({prop:"right"}),u=t.bottom=(0,i.default)({prop:"bottom"}),d=t.left=(0,i.default)({prop:"left"});t.default=(0,o.default)(a,s,l,c,u,d)},74832:function(e,t,r){"use strict";const n=["variants"];
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{variants:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),o={variants:t,style:(0,i.internal_serializeStyles)(r),isProcessed:!0};if(o.style===r)return o;t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,i.internal_serializeStyles)(e.style))});return o};var i=r(91413)},90676:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(72613))},72613:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r(19894));const i={};t.default=i},26288:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(52353))},52353:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=(0,n(r(72620)).default)({prop:"boxShadow",themeKey:"shadows"});t.default=i},44077:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(21119));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},21119:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.sizeWidth=t.sizeHeight=t.minWidth=t.minHeight=t.maxWidth=t.maxHeight=t.height=t.default=t.boxSizing=void 0,t.sizingTransform=s,t.width=void 0;var i=n(r(72620)),o=n(r(97693)),a=r(84297);function s(e){return e<=1&&0!==e?100*e+"%":e}const l=t.width=(0,i.default)({prop:"width",transform:s}),c=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||a.values[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:s(t)}};return(0,a.handleBreakpoints)(e,e.maxWidth,t)}return null};t.maxWidth=c,c.filterProps=["maxWidth"];const u=t.minWidth=(0,i.default)({prop:"minWidth",transform:s}),d=t.height=(0,i.default)({prop:"height",transform:s}),f=t.maxHeight=(0,i.default)({prop:"maxHeight",transform:s}),p=t.minHeight=(0,i.default)({prop:"minHeight",transform:s}),h=(t.sizeWidth=(0,i.default)({prop:"size",cssProperty:"width",transform:s}),t.sizeHeight=(0,i.default)({prop:"size",cssProperty:"height",transform:s}),t.boxSizing=(0,i.default)({prop:"boxSizing"})),m=(0,o.default)(l,c,u,d,f,p,h);t.default=m},45760:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(23169));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},23169:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.createUnarySpacing=y,t.createUnaryUnit=m,t.default=void 0,t.getStyleFromPropValue=v,t.getValue=g,t.margin=_,t.marginKeys=void 0,t.padding=x,t.paddingKeys=void 0;n(r(90676));var i=r(84297),o=r(72620),a=n(r(87929)),s=n(r(73965));const l={m:"margin",p:"padding"},c={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},d=(0,s.default)(e=>{if(e.length>2){if(!u[e])return[e];e=u[e]}const[t,r]=e.split(""),n=l[t],i=c[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]}),f=t.marginKeys=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=t.paddingKeys=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...f,...p];function m(e,t,r,n){const i=(0,o.getPath)(e,t,!0)??r;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?i.startsWith("var(")&&0===e?0:i.startsWith("var(")&&1===e?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const r=i[t];return e>=0?r:"number"==typeof r?-r:"string"==typeof r&&r.startsWith("var(")?`calc(-1 * ${r})`:`-${r}`}:"function"==typeof i?i:()=>{}}function y(e){return m(e,"spacing",8)}function g(e,t){return"string"==typeof t||null==t?t:e(t)}function v(e,t){return r=>e.reduce((e,n)=>(e[n]=g(t,r),e),{})}function b(e,t){const r=y(e.theme);return Object.keys(e).map(n=>function(e,t,r,n){if(!t.includes(r))return null;const o=v(d(r),n),a=e[r];return(0,i.handleBreakpoints)(e,a,o)}(e,t,n,r)).reduce(a.default,{})}function _(e){return b(e,f)}function x(e){return b(e,p)}function w(e){return b(e,h)}
153_.propTypes={},_.filterProps=f,x.propTypes={},x.filterProps=p,w.propTypes={},w.filterProps=h;t.default=w},72620:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(38541));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},38541:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getPath=a,t.getStyleValue=s;var i=n(r(31527)),o=(n(r(90676)),r(84297));function a(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function s(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:a(e,r)||n,t&&(i=t(i,n,e)),i}t.default=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=a(e.theme,n)||{};return(0,o.handleBreakpoints)(e,c,e=>{let n=s(u,l,e);return e===n&&"string"==typeof e&&(n=s(u,l,`${t}${"default"===e?"":(0,i.default)(e)}`,e)),!1===r?n:{[r]:n}})};return c.propTypes={},c.filterProps=[t],c}},47391:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(45760),i=r(75862),o=r(43546),a=r(46158),s=r(44077);const l={border:{themeKey:"borders",transform:i.borderTransform},borderTop:{themeKey:"borders",transform:i.borderTransform},borderRight:{themeKey:"borders",transform:i.borderTransform},borderBottom:{themeKey:"borders",transform:i.borderTransform},borderLeft:{themeKey:"borders",transform:i.borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:i.borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:i.borderRadius},color:{themeKey:"palette",transform:a.paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:a.paletteTransform},backgroundColor:{themeKey:"palette",transform:a.paletteTransform},p:{style:n.padding},pt:{style:n.padding},pr:{style:n.padding},pb:{style:n.padding},pl:{style:n.padding},px:{style:n.padding},py:{style:n.padding},padding:{style:n.padding},paddingTop:{style:n.padding},paddingRight:{style:n.padding},paddingBottom:{style:n.padding},paddingLeft:{style:n.padding},paddingX:{style:n.padding},paddingY:{style:n.padding},paddingInline:{style:n.padding},paddingInlineStart:{style:n.padding},paddingInlineEnd:{style:n.padding},paddingBlock:{style:n.padding},paddingBlockStart:{style:n.padding},paddingBlockEnd:{style:n.padding},m:{style:n.margin},mt:{style:n.margin},mr:{style:n.margin},mb:{style:n.margin},ml:{style:n.margin},mx:{style:n.margin},my:{style:n.margin},margin:{style:n.margin},marginTop:{style:n.margin},marginRight:{style:n.margin},marginBottom:{style:n.margin},marginLeft:{style:n.margin},marginX:{style:n.margin},marginY:{style:n.margin},marginInline:{style:n.margin},marginInlineStart:{style:n.margin},marginInlineEnd:{style:n.margin},marginBlock:{style:n.margin},marginBlockStart:{style:n.margin},marginBlockEnd:{style:n.margin},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:o.gap},rowGap:{style:o.rowGap},columnGap:{style:o.columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:s.sizingTransform},maxWidth:{style:s.maxWidth},minWidth:{transform:s.sizingTransform},height:{transform:s.sizingTransform},maxHeight:{transform:s.sizingTransform},minHeight:{transform:s.sizingTransform},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};t.default=l},66689:function(e,t,r){"use strict";const n=["sx"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{sx:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),{systemProps:i,otherProps:a}=u(r);let s;s=Array.isArray(t)?[i,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,l.isPlainObject)(r)?o(o({},i),r):i}:o(o({},i),t);return o(o({},a),{},{sx:s})};var l=r(26309),c=s(r(47391));const u=e=>{const t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??c.default;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t}},54923:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"extendSxProp",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"unstable_createStyleFunctionSx",{enumerable:!0,get:function(){return o.unstable_createStyleFunctionSx}}),Object.defineProperty(t,"unstable_defaultSxConfig",{enumerable:!0,get:function(){return s.default}});var o=i(r(53805)),a=n(r(66689)),s=n(r(47391))},53805:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unstable_createStyleFunctionSx=u;var i=n(r(31527)),o=n(r(87929)),a=r(72620),s=r(84297),l=r(90247),c=n(r(47391));function u(){function e(e,t,r,n){const o={[e]:t,theme:r},l=n[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:f}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,a.getPath)(r,u)||{};if(f)return f(o);return(0,s.handleBreakpoints)(o,t,t=>{let r=(0,a.getStyleValue)(p,d,t);return t===r&&"string"==typeof t&&(r=(0,a.getStyleValue)(p,d,`${e}${"default"===t?"":(0,i.default)(t)}`,t)),!1===c?r:{[c]:r}})}return function t(r){const{sx:n,theme:i={},nested:a}=r||{};if(!n)return null;const u=i.unstable_sxConfig??c.default;function d(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const c=(0,s.createEmptyBreakpointObject)(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(n).forEach(r=>{const a=(l=n[r],c=i,"function"==typeof l?l(c):l);var l,c;if(null!=a)if("object"==typeof a)if(u[r])f=(0,o.default)(f,e(r,a,i,u));else{const e=(0,s.handleBreakpoints)({theme:i},a,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,a)?f=(0,o.default)(f,e):f[r]=t({sx:a,theme:i,nested:!0})}else f=(0,o.default)(f,e(r,a,i,u))}),!a&&i.modularCssLayers?{"@layer sx":(0,l.sortContainerQueries)(i,(0,s.removeUnusedBreakpoints)(d,f))}:(0,l.sortContainerQueries)(i,(0,s.removeUnusedBreakpoints)(d,f))}return Array.isArray(n)?n.map(d):d(n)}}const d=u();d.filterProps=["sx"];t.default=d},29968:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(32126))},32126:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i=(0,n(r(21752)).default)();t.default=i},90762:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(51313));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},51313:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.typographyVariant=t.textTransform=t.textAlign=t.lineHeight=t.letterSpacing=t.fontWeight=t.fontStyle=t.fontSize=t.fontFamily=t.default=void 0;var i=n(r(72620)),o=n(r(97693));const a=t.fontFamily=(0,i.default)({prop:"fontFamily",themeKey:"typography"}),s=t.fontSize=(0,i.default)({prop:"fontSize",themeKey:"typography"}),l=t.fontStyle=(0,i.default)({prop:"fontStyle",themeKey:"typography"}),c=t.fontWeight=(0,i.default)({prop:"fontWeight",themeKey:"typography"}),u=t.letterSpacing=(0,i.default)({prop:"letterSpacing"}),d=t.textTransform=(0,i.default)({prop:"textTransform"}),f=t.lineHeight=(0,i.default)({prop:"lineHeight"}),p=t.textAlign=(0,i.default)({prop:"textAlign"}),h=t.typographyVariant=(0,i.default)({prop:"typography",cssProperty:!1,themeKey:"typography"}),m=(0,o.default)(h,a,s,l,c,u,f,p,d);t.default=m},12906:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(58321));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},58321:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(39474).default,a=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unstable_createUseMediaQuery=m;var s=a(r(40809)),l=o(r(98863)),c=r(68627),u=o(r(70554));function d(e,t,r,n,i){const[o,a]=s.useState(()=>i&&r?r(e).matches:n?n(e).matches:t);return(0,l.default)(()=>{if(!r)return;const t=r(e),n=()=>{a(t.matches)};return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e,r]),o}const f=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},s),p=f.useSyncExternalStore;function h(e,t,r,n,i){const o=s.useCallback(()=>t,[t]),a=s.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(null!==n){const{matches:t}=n(e);return()=>t}return o},[o,e,n,i,r]),[l,c]=s.useMemo(()=>{if(null===r)return[o,()=>()=>{}];const t=r(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[o,r,e]);return p(c,l,a)}function m(e={}){const{themeId:t}=e;return function(e,r={}){let n=(0,u.default)();n&&t&&(n=n[t]||n);const i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:a=(i?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=(0,c.getThemeProps)({name:"MuiUseMediaQuery",props:r,theme:n});let f="function"==typeof e?e(n):e;f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join("\n"));return(void 0!==p?h:d)(f,o,a,s,l)}}const y=m();t.default=y},37223:function(e,t,r){"use strict";var n=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(28519));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},28519:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.systemDefaultTheme=t.default=void 0;var i=n(r(65844)),o=n(r(70554));const a=t.systemDefaultTheme=(0,i.default)();t.default=function(e=a){return(0,o.default)(e)}},88622:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{theme:t,name:r,props:n}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return n;return(0,i.default)(t.components[r].defaultProps,n)};var i=n(r(72267))},68627:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"getThemeProps",{enumerable:!0,get:function(){return o.default}});var i=n(r(80261)),o=n(r(88622))},80261:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({props:e,name:t,defaultTheme:r,themeId:n}){let a=(0,o.default)(r);n&&(a=a[n]||a);return(0,i.default)({theme:a,name:t,props:e})};var i=n(r(88622)),o=n(r(37223))},70554:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(7473))},7473:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(40809)),o=r(91413);t.default=function(e=null){const t=i.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},23085:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.prerelease=t.patch=t.minor=t.major=t.default=void 0;const r=t.version="7.3.9";t.major=Number("7"),t.minor=Number("3"),t.patch=Number("9"),t.prerelease=void 0;t.default=r},22145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=e=>e,n=(()=>{let e=r;return{configure(t){e=t},generate(t){return e(t)},reset(){e=r}}})();t.default=n},84745:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(22145))},35895:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){return null}},80928:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(35895))},4329:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(24822));t.default=function(e,t,r){return void 0===e||(0,s.default)(e)?t:i(i({},t),{},{ownerState:i(i({},t.ownerState),r)})}},75789:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(4329))},52953:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new Error((0,i.default)(7));return e.charAt(0).toUpperCase()+e.slice(1)};var i=n(r(82406))},31527:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(52953))},78735:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return()=>null}},96548:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(78735))},36759:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},80516:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(36759))},42013:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=void 0){const n={};for(const i in e){const o=e[i];let a="",s=!0;for(let e=0;e<o.length;e+=1){const n=o[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[i]=a}return n}},7265:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(42013))},37459:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}},53563:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(37459))},60051:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}},50366:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(60051));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},65447:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o={clone:!0}){const u=o.clone?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t):t;l(t)&&l(r)&&Object.keys(r).forEach(n=>{a.isValidElement(r[n])||(0,s.isValidElementType)(r[n])?u[n]=r[n]:l(r[n])&&Object.prototype.hasOwnProperty.call(t,n)&&l(t[n])?u[n]=e(t[n],r[n],o):o.clone?u[n]=l(r[n])?c(r[n]):r[n]:u[n]=r[n]});return u},t.isPlainObject=l;var a=o(r(40809)),s=r(76333);function l(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function c(e){if(a.isValidElement(e)||(0,s.isValidElementType)(e)||!l(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=c(e[r])}),t}},26309:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(65447));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},26589:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return()=>null}},39101:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(26589))},14443:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(19894)),o=n(r(96548));function a(e,t,r,n,i){const o=e[t],a=i||t;if(null==o||"undefined"==typeof window)return null;let s;const l=o.type;return"function"!=typeof l||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}
153(l)||(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const s=(0,o.default)(i.default.element,a);s.isRequired=(0,o.default)(i.default.element.isRequired,a);t.default=s},37254:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(14443))},24075:function(e,t,r){"use strict";var n=r(70609).default,i=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(19894)),a=n(r(40809)),s=i(r(96548));t.default=(0,s.default)(o.default.elementType,function(e,t,r,n,i){const o=e[t],s=i||t;if(null==o||"undefined"==typeof window)return null;let l;return"function"!=typeof o||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(o)||(l="Did you accidentally provide a plain function component instead?"),o===a.Fragment&&(l="Did you accidentally provide a React.Fragment instead?"),void 0!==l?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null})},90462:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(24075))},25971:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53693:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(25971))},82825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}},75583:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(82825))},33007:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}},82406:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(33007))},99827:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="Mui"){const n=o[t];return n?`${r}-${n}`:`${i.default.generate(e)}-${t}`},t.globalStateClasses=void 0,t.isGlobalState=function(e){return void 0!==o[e]};var i=n(r(84745));const o=t.globalStateClasses={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"}},13810:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(99827));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},76111:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=(0,i.default)(e,t,r)}),n};var i=n(r(13810))},85298:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(76111))},64461:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}},96831:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(64461))},53823:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e)return;if("string"==typeof e)return e;if("function"==typeof e)return i(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return o(e,e.render,"ForwardRef");case n.Memo:return o(e,e.type,"memo");default:return}return};var n=r(76333);function i(e,t=""){return e.displayName||e.name||t}function o(e,t,r){const n=i(t);return e.displayName||(""!==n?`${r}(${n})`:r)}},99100:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(53823))},21705:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(parseInt(i.version,10)>=19)return e?.props?.ref||null;return e?.ref||null};var i=n(r(40809))},15607:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(21705))},76727:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}},11650:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(76727))},99904:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(63735));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},63735:function(e,t){"use strict";function r(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}function n(){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getTypeByValue=r,n.isRequired=n;const i=n;t.default=i},379:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(61901))},61901:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}},24822:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(11543))},11543:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return"string"==typeof e}},20150:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(36019))},36019:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return i.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)};var i=n(r(40809))},98947:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(74097))},74097:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(44173)),l=a(r(75583)),c=a(r(37985));t.default=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:a}=e;if(!t){const e=(0,s.default)(r?.className,a,o?.className,n?.className),t=i(i(i({},r?.style),o?.style),n?.style),l=i(i(i({},r),o),n);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}const u=(0,l.default)(i(i({},o),n)),d=(0,c.default)(n),f=(0,c.default)(o),p=t(u),h=(0,s.default)(p?.className,r?.className,a,o?.className,n?.className),m=i(i(i(i({},p?.style),r?.style),o?.style),n?.style),y=i(i(i(i({},p),r),f),d);return h.length>0&&(y.className=h),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:p.ref}}},37985:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(96859))},96859:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}},99205:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(13351))},13351:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.ownerDocument||document}},78128:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(95319))},95319:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e).defaultView||window};var i=n(r(99205))},47654:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(82063))},82063:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(19894));const o=i.default.oneOfType([i.default.func,i.default.object]);t.default=o},60365:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(97477))},97477:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return()=>()=>null}},73860:function(e,t,r){"use strict";var n=r(39474).default;
153Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(67567))},67567:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t,r){return"function"==typeof e?e(t,r):e}},72267:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(55725))},55725:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,n=!1){const o=i({},r);for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)){const l=a;if("components"===l||"slots"===l)o[l]=i(i({},t[l]),o[l]);else if("componentsProps"===l||"slotProps"===l){const a=t[l],s=r[l];if(s)if(a){o[l]=i({},s);for(const t in a)if(Object.prototype.hasOwnProperty.call(a,t)){const r=t;o[l][r]=e(a[r],s[r],n)}}else o[l]=s;else o[l]=a||{}}else"className"===l&&n&&r.className?o.className=(0,s.default)(t?.className,r?.className):"style"===l&&n&&r.style?o.style=i(i({},t?.style),r?.style):void 0===o[l]&&(o[l]=t[l])}return o};
153var s=a(r(44173))},84220:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(3039))},3039:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},15697:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(8191))},8191:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){return null}},55130:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=n(r(63543));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},63543:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{controlled:t,default:r,name:n,state:o="value"}=e,{current:a}=i.useRef(void 0!==t),[s,l]=i.useState(r),c=a?t:s;0;const u=i.useCallback(e=>{a||l(e)},[]);return[c,u]};var i=n(r(40809))},98863:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(52195))},52195:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(40809));const o="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;t.default=o},21555:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(20301))},20301:function(e,t,r){"use strict";var n=r(39474).default,i=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(40809)),a=n(r(98863));t.default=function(e){const t=o.useRef(e);return(0,a.default)(()=>{t.current=e}),o.useRef((...e)=>(0,t.current)(...e)).current}},98573:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(84237))},84237:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){const t=i.useRef(void 0),r=i.useCallback(t=>{const r=e.map(e=>{if(null==e)return null;if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}});return()=>{r.forEach(e=>e?.())}},e);return i.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)};var i=n(r(40809))},78993:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(27535))},27535:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(70609).default;
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0!==c){const t=c();return e??t}return function(e){const[t,r]=a.useState(e),n=e||t;return a.useEffect(()=>{null==t&&(s+=1,r(`mui-${s}`))},[t]),n}(e)};var a=o(r(40809));let s=0;const l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},a),c=l.useId},73675:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(94025))},94025:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=i.useRef(o);r.current===o&&(r.current=e(t));return r};var i=n(r(40809));const o={}},71215:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.useEffect(e,o)};var i=n(r(40809));const o=[]},34578:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(37715))},37715:function(e,t,r){"use strict";const n=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(r(98573)),c=s(r(75789)),u=s(r(98947)),d=s(r(73860));t.default=function(e){const{elementType:t,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:a=!1}=e,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,n),f=a?{}:(0,d.default)(r,i),{props:p,internalRef:h}=(0,u.default)(o(o({},s),{},{externalSlotProps:f})),m=(0,l.default)(h,f?.ref,e.additionalProps?.ref);return(0,c.default)(t,o(o({},p),{},{ref:m}),i)}},90979:function(e,t,r){"use strict";var n=r(70609).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Timeout",{enumerable:!0,get:function(){return i.Timeout}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=n(r(59401))},59401:function(e,t,r){"use strict";var n=r(39474).default;Object.defineProperty(t,"__esModule",{value:!0}),t.Timeout=void 0,t.default=function(){const e=(0,i.default)(a.create).current;return(0,o.default)(e.disposeEffect),e};var i=n(r(94025)),o=n(r(71215));class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}t.Timeout=a},98165:function(e,t,r){"use strict";r.r(t),r.d(t,{afterMain:function(){return w},afterRead:function(){return b},afterWrite:function(){return S},applyStyles:function(){return L},arrow:function(){return K},auto:function(){return s},basePlacements:function(){return l},beforeMain:function(){return _},beforeRead:function(){return g},beforeWrite:function(){return O},bottom:function(){return i},clippingParents:function(){return d},computeStyles:function(){return re},createPopper:function(){return Le},createPopperBase:function(){return Ce},createPopperLite:function(){return Ae},detectOverflow:function(){return ve},end:function(){return u},eventListeners:function(){return ie},flip:function(){return be},hide:function(){return we},left:function(){return a},main:function(){return x},modifierPhases:function(){return M},offset:function(){return Oe},placements:function(){return y},popper:function(){return p},popperGenerator:function(){return Ee},popperOffsets:function(){return je},preventOverflow:function(){return Se},read:function(){return v},reference:function(){return h},right:function(){return o},start:function(){return c},top:function(){return n},variationPlacements:function(){return m},viewport:function(){return f},write:function(){return j}});var n="top",i="bottom",o="right",a="left",s="auto",l=[n,i,o,a],c="start",u="end",d="clippingParents",f="viewport",p="popper",h="reference",m=l.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+u])},[]),y=[].concat(l,[s]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])},[]),g="beforeRead",v="read",b="afterRead",_="beforeMain",x="main",w="afterMain",O="beforeWrite",j="write",S="afterWrite",M=[g,v,b,_,x,w,O,j,S];function k(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T(e){return e instanceof P(e).Element||e instanceof Element}function E(e){return e instanceof P(e).HTMLElement||e instanceof HTMLElement}function C(e){return"undefined"!=typeof ShadowRoot&&(e instanceof P(e).ShadowRoot||e instanceof ShadowRoot)}var L={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 4,680 bytes, line 153
153Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];E(i)&&k(i)&&(Object.assign(i.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});E(n)&&k(n)&&(Object.assign(n.style,o),Object.keys(i).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function A(e){return e.split("-")[0]}var D=Math.max,I=Math.min,N=Math.round;function R(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function z(){return!/^((?!chrome|android).)*safari/i.test(R())}function F(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&E(e)&&(i=e.offsetWidth>0&&N(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&N(n.height)/e.offsetHeight||1);var a=(T(e)?P(e):window).visualViewport,s=!z()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/i,c=(n.top+(s&&a?a.offsetTop:0))/o,u=n.width/i,d=n.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function B(e){var t=F(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Y(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&C(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function U(e){return P(e).getComputedStyle(e)}function H(e){return["table","td","th"].indexOf(k(e))>=0}function $(e){return((T(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(C(e)?e.host:null)||$(e)}function V(e){return E(e)&&"fixed"!==U(e).position?e.offsetParent:null}function q(e){for(var t=P(e),r=V(e);r&&H(r)&&"static"===U(r).position;)r=V(r);return r&&("html"===k(r)||"body"===k(r)&&"static"===U(r).position)?t:r||function(e){var t=/firefox/i.test(R());if(/Trident/i.test(R())&&E(e)&&"fixed"===U(e).position)return null;var r=W(e);for(C(r)&&(r=r.host);E(r)&&["html","body"].indexOf(k(r))<0;){var n=U(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Z(e,t,r){return D(e,I(t,r))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}var K={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,s=e.name,c=e.options,u=r.elements.arrow,d=r.modifiersData.popperOffsets,f=A(r.placement),p=G(f),h=[a,o].indexOf(f)>=0?"height":"width";if(u&&d){var m=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,l))}(c.padding,r),y=B(u),g="y"===p?n:a,v="y"===p?i:o,b=r.rects.reference[h]+r.rects.reference[p]-d[p]-r.rects.popper[h],_=d[p]-r.rects.reference[p],x=q(u),w=x?"y"===p?x.clientHeight||0:x.clientWidth||0:0,O=b/2-_/2,j=m[g],S=w-y[h]-m[v],M=w/2-y[h]/2+O,k=Z(j,M,S),P=p;r.modifiersData[s]=((t={})[P]=k,t.centerOffset=k-M,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Y(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Q(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,r=e.popper,s=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,f=e.position,p=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,y=e.isFixed,g=d.x,v=void 0===g?0:g,b=d.y,_=void 0===b?0:b,x="function"==typeof m?m({x:v,y:_}):{x:v,y:_};v=x.x,_=x.y;var w=d.hasOwnProperty("x"),O=d.hasOwnProperty("y"),j=a,S=n,M=window;if(h){var k=q(r),T="clientHeight",E="clientWidth";if(k===P(r)&&"static"!==U(k=$(r)).position&&"absolute"===f&&(T="scrollHeight",E="scrollWidth"),l===n||(l===a||l===o)&&c===u)S=i,_-=(y&&k===M&&M.visualVie
vendor: 9,309 bytes, line 153
153wport?M.visualViewport.height:k[T])-s.height,_*=p?1:-1;if(l===a||(l===n||l===i)&&c===u)j=o,v-=(y&&k===M&&M.visualViewport?M.visualViewport.width:k[E])-s.width,v*=p?1:-1}var C,L=Object.assign({position:f},h&&ee),A=!0===m?function(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:N(r*i)/i||0,y:N(n*i)/i||0}}({x:v,y:_},P(r)):{x:v,y:_};return v=A.x,_=A.y,p?Object.assign({},L,((C={})[S]=O?"0":"",C[j]=w?"0":"",C.transform=(M.devicePixelRatio||1)<=1?"translate("+v+"px, "+_+"px)":"translate3d("+v+"px, "+_+"px, 0)",C)):Object.assign({},L,((t={})[S]=O?_+"px":"",t[j]=w?v+"px":"",t.transform="",t))}var re={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,s=r.roundOffsets,l=void 0===s||s,c={placement:A(t.placement),variation:Q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ne={passive:!0};var ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=void 0===i||i,a=n.resize,s=void 0===a||a,l=P(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",r.update,ne)}),s&&l.addEventListener("resize",r.update,ne),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",r.update,ne)}),s&&l.removeEventListener("resize",r.update,ne)}},data:{}},oe={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,function(e){return oe[e]})}var se={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,function(e){return se[e]})}function ce(e){var t=P(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return F($(e)).left+ce(e).scrollLeft}function de(e){var t=U(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function fe(e){return["html","body","#document"].indexOf(k(e))>=0?e.ownerDocument.body:E(e)&&de(e)?e:fe(W(e))}function pe(e,t){var r;void 0===t&&(t=[]);var n=fe(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),o=P(n),a=i?[o].concat(o.visualViewport||[],de(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(pe(W(a)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,r){return t===f?he(function(e,t){var r=P(e),n=$(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=z();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+ue(e),y:l}}(e,r)):T(t)?function(e,t){var r=F(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):he(function(e){var t,r=$(e),n=ce(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=D(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=D(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+ue(e),l=-n.scrollTop;return"rtl"===U(i||r).direction&&(s+=D(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}($(e)))}function ye(e,t,r,n){var i="clippingParents"===t?function(e){var t=pe(W(e)),r=["absolute","fixed"].indexOf(U(e).position)>=0&&E(e)?q(e):e;return T(r)?t.filter(function(e){return T(e)&&Y(e,r)&&"body"!==k(e)}):[]}(e):[].concat(t),o=[].concat(i,[r]),a=o[0],s=o.reduce(function(t,r){var i=me(e,r,n);return t.top=D(i.top,t.top),t.right=I(i.right,t.right),t.bottom=I(i.bottom,t.bottom),t.left=D(i.left,t.left),t},me(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ge(e){var t,r=e.reference,s=e.element,l=e.placement,d=l?A(l):null,f=l?Q(l):null,p=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2;switch(d){case n:t={x:p,y:r.y-s.height};break;case i:t={x:p,y:r.y+r.height};break;case o:t={x:r.x+r.width,y:h};break;case a:t={x:r.x-s.width,y:h};break;default:t={x:r.x,y:r.y}}var m=d?G(d):null;if(null!=m){var y="y"===m?"height":"width";switch(f){case c:t[m]=t[m]-(r[y]/2-s[y]/2);break;case u:t[m]=t[m]+(r[y]/2-s[y]/2)}}return t}function ve(e,t){void 0===t&&(t={});var r=t,a=r.placement,s=void 0===a?e.placement:a,c=r.strategy,u=void 0===c?e.strategy:c,m=r.boundary,y=void 0===m?d:m,g=r.rootBoundary,v=void 0===g?f:g,b=r.elementContext,_=void 0===b?p:b,x=r.altBoundary,w=void 0!==x&&x,O=r.padding,j=void 0===O?0:O,S=X("number"!=typeof j?j:J(j,l)),M=_===p?h:p,k=e.rects.popper,P=e.elements[w?M:_],E=ye(T(P)?P:P.contextElement||$(e.elements.popper),y,v,u),C=F(e.elements.reference),L=ge({reference:C,element:k,strategy:"absolute",placement:s}),A=he(Object.assign({},k,L)),D=_===p?A:C,I={top:E.top-D.top+S.top,bottom:D.bottom-E.bottom+S.bottom,left:E.left-D.left+S.left,right:D.right-E.right+S.right},N=e.modifiersData.offset;if(_===p&&N){var R=N[s];Object.keys(I).forEach(function(e){var t=[o,i].indexOf(e)>=0?1:-1,r=[n,i].indexOf(e)>=0?"y":"x";I[e]+=R[r]*t})}return I}var be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=r.mainAxis,f=void 0===d||d,p=r.altAxis,h=void 0===p||p,g=r.fallbackPlacements,v=r.padding,b=r.boundary,_=r.rootBoundary,x=r.altBoundary,w=r.flipVariations,O=void 0===w||w,j=r.allowedAutoPlacements,S=t.options.placement,M=A(S),k=g||(M===S||!O?[ae(S)]:function(e){if(A(e)===s)return[];var t=ae(e);return[le(e),t,le(t)]}(S)),P=[S].concat(k).reduce(function(e,r){return e.concat(A(r)===s?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=void 0===c?y:c,d=Q(n),f=d?s?m:m.filter(function(e){return Q(e)===d}):l,p=f.filter(function(e){return u.indexOf(e)>=0});0===p.length&&(p=f);var h=p.reduce(function(t,r){return t[r]=ve(e,{placement:r,boundary:i,rootBoundary:o,padding:a})[A(r)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:r,boundary:b,rootBoundary:_,padding:v,flipVariations:O,allowedAutoPlacements:j}):r)},[]),T=t.rects.reference,E=t.rects.popper,C=new Map,L=!0,D=P[0],I=0;I<P.length;I++){var N=P[I],R=A(N),z=Q(N)===c,F=[n,i].indexOf(R)>=0,B=F?"width":"height",Y=ve(t,{placement:N,boundary:b,rootBoundary:_,altBoundary:x,padding:v}),U=F?z?o:a:z?i:n;T[B]>E[B]&&(U=ae(U));var H=ae(U),$=[];if(f&&$.push(Y[R]<=0),h&&$.push(Y[U]<=0,Y[H]<=0),$.every(function(e){return e})){D=N,L=!1;break}C.set(N,$)}if(L)for(var W=function(e){var t=P.find(function(t){var r=C.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return D=t,"break"},V=O?3:1;V>0;V--){if("break"===W(V))break}t.placement!==D&&(t.modifiersData[u]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function xe(e){return[n,o,i,a].some(function(t){return e[t]>=0})}var we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ve(t,{elementContext:"reference"}),s=ve(t,{altBoundary:!0}),l=_e(a,n),c=_e(s,i,o),u=xe(l),d=xe(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,i=e.name,s=r.offset,l=void 0===s?[0,0]:s,c=y.reduce(function(e,r){return e[r]=function(e,t,r){var i=A(e),s=[a,n].indexOf(i)>=0?-1:1,l="function"==typeof r?r(Object.assign({},t,{placement:e})):r,c=l[0],u=l[1];return c=c||0,u=(u||0)*s,[a,o].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}(r,t.rects,l),e},{}),u=c[t.placement],d=u.x,f=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=f),t.modifiersData[i]=c}};var je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,s=e.name,l=r.mainAxis,u=void 0===l||l,d=r.altAxis,f=void 0!==d&&d,p=r.boundary,h=r.rootBoundary,m=r.altBoundary,y=r.padding,g=r.tether,v=void 0===g||g,b=r.tetherOffset,_=void 0===b?0:b,x=ve(t,{boundary:p,rootBoundary:h,padding:y,altBoundary:m}),w=A(t.placement),O=Q(t.placement),j=!O,S=G(w),M="x"===S?"y":"x",k=t.modifiersData.popperOffsets,P=t.re
153cts.reference,T=t.rects.popper,E="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,C="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(k){if(u){var R,z="y"===S?n:a,F="y"===S?i:o,Y="y"===S?"height":"width",U=k[S],H=U+x[z],$=U-x[F],W=v?-T[Y]/2:0,V=O===c?P[Y]:T[Y],X=O===c?-T[Y]:-P[Y],J=t.elements.arrow,K=v&&J?B(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],re=ee[F],ne=Z(0,P[Y],K[Y]),ie=j?P[Y]/2-W-ne-te-C.mainAxis:V-ne-te-C.mainAxis,oe=j?-P[Y]/2+W+ne+re+C.mainAxis:X+ne+re+C.mainAxis,ae=t.elements.arrow&&q(t.elements.arrow),se=ae?"y"===S?ae.clientTop||0:ae.clientLeft||0:0,le=null!=(R=null==L?void 0:L[S])?R:0,ce=U+oe-le,ue=Z(v?I(H,U+ie-le-se):H,U,v?D($,ce):$);k[S]=ue,N[S]=ue-U}if(f){var de,fe="x"===S?n:a,pe="x"===S?i:o,he=k[M],me="y"===M?"height":"width",ye=he+x[fe],ge=he-x[pe],be=-1!==[n,a].indexOf(w),_e=null!=(de=null==L?void 0:L[M])?de:0,xe=be?ye:he-P[me]-T[me]-_e+C.altAxis,we=be?he+P[me]+T[me]-_e-C.altAxis:ge,Oe=v&&be?function(e,t,r){var n=Z(e,t,r);return n>r?r:n}(xe,he,we):Z(v?xe:ye,he,v?we:ge);k[M]=Oe,N[M]=Oe-he}t.modifiersData[s]=N}},requiresIfExists:["offset"]};function Me(e,t,r){void 0===r&&(r=!1);var n,i,o=E(t),a=E(t)&&function(e){var t=e.getBoundingClientRect(),r=N(t.width)/e.offsetWidth||1,n=N(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=$(t),l=F(e,a,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!r)&&(("body"!==k(t)||de(s))&&(c=(n=t)!==P(n)&&E(n)?{scrollLeft:(i=n).scrollLeft,scrollTop:i.scrollTop}:ce(n)),E(t)?((u=F(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=ue(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ke(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||i(e)}),n}var Pe={placement:"bottom",modifiers:[],strategy:"absolute"};function Te(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Ee(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,i=t.defaultOptions,o=void 0===i?Pe:i;return function(e,t,r){void 0===r&&(r=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pe,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var i="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:T(e)?pe(e):e.contextElement?pe(e.contextElement):[],popper:pe(t)};var a,c,f=function(e){var t=ke(e);return M.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:u,options:n}),a=function(){};l.push(o||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(Te(t,r)){s.rects={reference:Me(t,q(r),"fixed"===s.options.strategy),popper:B(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var i=s.orderedModifiers[n],o=i.fn,a=i.options,l=void 0===a?{}:a,d=i.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,n=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){d(),c=!0}};if(!Te(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),u}}var Ce=Ee(),Le=Ee({defaultModifiers:[ie,je,re,L,Oe,be,Se,K,we]}),Ae=Ee({defaultModifiers:[ie,je,re,L]})},23322:function(e,t,r){"use strict";r.d(t,{A:function(){return Nt}});var n={};function i(e,t){return function(){return e.apply(t,arguments)}}r.r(n),r.d(n,{hasBrowserEnv:function(){return ye},hasStandardBrowserEnv:function(){return ve},hasStandardBrowserWebWorkerEnv:function(){return be},navigator:function(){return ge},origin:function(){return _e}});var o=r(69389).Y,a=r(72067);const{toString:s}=Object.prototype,{getPrototypeOf:l}=Object,{iterator:c,toStringTag:u}=Symbol,d=(f=Object.create(null),e=>{const t=s.call(e);return f[t]||(f[t]=t.slice(8,-1).toLowerCase())});var f;const p=e=>(e=e.toLowerCase(),t=>d(t)===e),h=e=>t=>typeof t===e,{isArray:m}=Array,y=h("undefined");function g(e){return null!==e&&!y(e)&&null!==e.constructor&&!y(e.constructor)&&_(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const v=p("ArrayBuffer");const b=h("string"),_=h("function"),x=h("number"),w=e=>null!==e&&"object"==typeof e,O=e=>{if("object"!==d(e))return!1;const t=l(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||u in e||c in e)},j=p("Date"),S=p("File"),M=p("Blob"),k=p("FileList");const P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:{},T=void 0!==P.FormData?P.FormData:void 0,E=p("URLSearchParams"),[C,L,A,D]=["ReadableStream","Request","Response","Headers"].map(p);function I(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,i;if("object"!=typeof e&&(e=[e]),m(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(g(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(n=0;n<o;n++)a=i[n],t.call(null,e[a],a,e)}}function N(e,t){if(g(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,i=r.length;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:r.g,z=e=>!y(e)&&e!==R;const F=(B="undefined"!=typeof Uint8Array&&l(Uint8Array),e=>B&&e instanceof B);var B;const Y=p("HTMLFormElement"),U=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),H=p("RegExp"),$=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};I(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)};const W=p("AsyncFunction"),V=(q="function"==typeof o,G=_(R.postMessage),q?o:G?(Z=`axios@${Math.random()}`,X=[],R.addEventListener("message",({source:e,data:t})=>{e===R&&t===Z&&X.length&&X.shift()()},!1),e=>{X.push(e),R.postMessage(Z,"*")}):e=>setTimeout(e));var q,G,Z,X;const J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(R):void 0!==a&&a.nextTick||V;var K={isArray:m,isArrayBuffer:v,isBuffer:g,isFormData:e=>{let t;return e&&(T&&e instanceof T||_(e.append)&&("formdata"===(t=d(e))||"object"===t&&_(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer),t},isString:b,isNumber:x,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:O,isEmptyObject:e=>{if(!w(e)||g(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:C,isRequest:L,isResponse:A,isHeaders:D,isUndefined:y,isDate:j,isFile:S,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:M,isRegExp:H,isFunction:_,isStream:e=>w(e)&&_(e.pipe),isURLSearchParams:E,isTypedArray:F,isFileList:k,forEach:I,merge:function e(){const{caseless:t,skipUndefined:r}=z(this)&&this||{},n={},i=(i,o)=>
vendor: 4,738 bytes, line 153
153{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=t&&N(n,o)||o;O(n[a])&&O(i)?n[a]=e(n[a],i):O(i)?n[a]=e({},i):m(i)?n[a]=i.slice():r&&y(i)||(n[a]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&I(arguments[e],i);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(I(t,(t,n)=>{r&&_(t)?Object.defineProperty(e,n,{value:i(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),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,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&l(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:d,kindOfTest:p,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!x(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[c]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Y,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:$,freezeMethods:e=>{$(e,(t,r)=>{if(_(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];_(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return m(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:N,global:R,isContextDefined:z,isSpecCompliantForm:function(e){return!!(e&&_(e.append)&&"FormData"===e[u]&&e[c])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(g(e))return e;if(!("toJSON"in e)){t[n]=e;const i=m(e)?[]:{};return I(e,(e,t)=>{const o=r(e,n+1);!y(o)&&(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:W,isThenable:e=>e&&(w(e)||_(e))&&_(e.then)&&_(e.catch),setImmediate:V,asap:J,isIterable:e=>null!=e&&_(e[c])};class Q extends Error{static from(e,t,r,n,i,o){const a=new Q(e.message,t||e.code,r,n,i);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){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:K.toJSONObject(this.config),code:this.code,status:this.status}}}Q.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Q.ERR_BAD_OPTION="ERR_BAD_OPTION",Q.ECONNABORTED="ECONNABORTED",Q.ETIMEDOUT="ETIMEDOUT",Q.ERR_NETWORK="ERR_NETWORK",Q.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Q.ERR_DEPRECATED="ERR_DEPRECATED",Q.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Q.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Q.ERR_CANCELED="ERR_CANCELED",Q.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Q.ERR_INVALID_URL="ERR_INVALID_URL";var ee=Q,te=r(19974).hp;function re(e){return K.isPlainObject(e)||K.isArray(e)}function ne(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function ie(e,t,r){return e?e.concat(t).map(function(e,t){return e=ne(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const oe=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});var ae=function(e,t,r){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=K.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!K.isUndefined(t[e])})).metaTokens,i=r.visitor||c,o=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(K.isDate(e))return e.toISOString();if(K.isBoolean(e))return e.toString();if(!s&&K.isBlob(e))throw new ee("Blob is not supported. Use a Buffer instead.");
153return K.isArrayBuffer(e)||K.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):te.from(e):e}function c(e,r,i){let s=e;if(K.isReactNative(t)&&K.isReactNativeBlob(e))return t.append(ie(i,r,o),l(e)),!1;if(e&&!i&&"object"==typeof e)if(K.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(K.isArray(e)&&function(e){return K.isArray(e)&&!e.some(re)}(e)||(K.isFileList(e)||K.endsWith(r,"[]"))&&(s=K.toArray(e)))return r=ne(r),s.forEach(function(e,n){!K.isUndefined(e)&&null!==e&&t.append(!0===a?ie([r],n,o):null===a?r:r+"[]",l(e))}),!1;return!!re(e)||(t.append(ie(i,r,o),l(e)),!1)}const u=[],d=Object.assign(oe,{defaultVisitor:c,convertValue:l,isVisitable:re});if(!K.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!K.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),K.forEach(r,function(r,o){!0===(!(K.isUndefined(r)||null===r)&&i.call(t,r,K.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])}),u.pop()}}(e),t};function se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function le(e,t){this._pairs=[],e&&ae(e,this,t)}const ce=le.prototype;ce.append=function(e,t){this._pairs.push([e,t])},ce.toString=function(e){const t=e?function(t){return e.call(this,t,se)}:se;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var ue=le;function de(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function fe(e,t,r){if(!t)return e;const n=r&&r.encode||de,i=K.isFunction(r)?{serialize:r}:r,o=i&&i.serialize;let a;if(a=o?o(t,i):K.isURLSearchParams(t)?t.toString():new ue(t,i).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}var pe=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(t){null!==t&&e(t)})}},he={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},me={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ue,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ye="undefined"!=typeof window&&"undefined"!=typeof document,ge="object"==typeof navigator&&navigator||void 0,ve=ye&&(!ge||["ReactNative","NativeScript","NS"].indexOf(ge.product)<0),be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,_e=ye&&window.location.href||"http://localhost";function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach(function(t){Oe(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Oe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var je=we(we({},n),me);function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Me(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e,t){return ae(e,new je.classes.URLSearchParams,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?Se(Object(r),!0).forEach(function(t){Me(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({visitor:function(e,t,r,n){return je.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}var Pe=function(e){function t(e,r,n,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&K.isArray(n)?n.length:o,s)return K.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!a;n[o]&&K.isObject(n[o])||(n[o]=[]);return t(e,r,n[o],i)&&K.isArray(n[o])&&(n[o]=function(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}(n[o])),!a}if(K.isFormData(e)&&K.isFunction(e.entries)){const r={};return K.forEachEntry(e,(e,n)=>{t(function(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null};const Te={transitional:he,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=K.isObject(e);i&&K.isHTMLForm(e)&&(e=new FormData(e));if(K.isFormData(e))return n?JSON.stringify(Pe(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ke(e,this.formSerializer).toString();if((o=K.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ae(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),function(e,t,r){if(K.isString(e))try{return(t||JSON.parse)(e),K.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Te.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(r){if("SyntaxError"===e.name)throw ee.from(e,ee.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:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{Te.headers[e]={}});var Ee=Te;const Ce=K.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"]);const Le=Symbol("internals");function Ae(e){return e&&String(e).trim().toLowerCase()}function De(e){return!1===e||null==e?e:K.isArray(e)?e.map(De):String(e)}function Ie(e,t,r,n,i){return K.isFunction(n)?n.call(this,t,r):(i&&(t=r),K.isString(t)?K.isString(n)?-1!==t.indexOf(n):K.isRegExp(n)?n.test(t):void 0:void 0)}class Ne{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(e,t,r){const i=Ae(t);if(!i)throw new Error("header name must be a non-empty string");const o=K.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=De(e))}const o=(e,t)=>K.forEach(e,(e,r)=>i(e,r,t));if(K.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(K.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let r,n,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),r=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!r||t[r]&&Ce[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let r,n,i={};for(const t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[n=t[0]]=(r=i[n])?K.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}o(i,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=Ae(e)){const r=K.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;
153=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(K.isFunction(t))return t.call(this,e,r);if(K.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ae(e)){const r=K.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ie(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function i(e){if(e=Ae(e)){const i=K.findKey(r,e);!i||t&&!Ie(0,r[i],i,t)||(delete r[i],n=!0)}}return K.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];e&&!Ie(0,this[i],i,e,!0)||(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return K.forEach(this,(n,i)=>{const o=K.findKey(r,i);if(o)return t[o]=De(n),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(i):String(i).trim();a!==i&&delete t[i],t[a]=De(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return K.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&K.isArray(r)?r.join(", "):r)}),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){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Le]=this[Le]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Ae(e);t[n]||(!function(e,t){const r=K.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return K.isArray(e)?e.forEach(n):n(e),this}}Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(Ne.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),K.freezeMethods(Ne);var Re=Ne;function ze(e,t){const r=this||Ee,n=t||r,i=Re.from(n.headers);let o=n.data;return K.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Fe(e){return!(!e||!e.__CANCEL__)}var Be=class extends ee{constructor(e,t,r){super(null==e?"canceled":e,ee.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Ye(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new ee("Request failed with status code "+r.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}var Ue=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=n[a];i||(i=l),r[o]=s,n[o]=l;let u=a,d=0;for(;u!==o;)d+=r[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};var He=function(e,t){let r,n,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},o-s)))},()=>r&&a(r)]};const $e=(e,t,r=3)=>{let n=0;const i=Ue(50,250);return He(r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,l=i(s);n=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:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},We=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ve=e=>(...t)=>K.asap(()=>e(...t));var qe=je.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,je.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(je.origin),je.navigator&&/(msie|trident)/i.test(je.navigator.userAgent)):()=>!0,Ge=je.hasStandardBrowserEnv?{write(e,t,r,n,i,o,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];K.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),K.isString(n)&&s.push(`path=${n}`),K.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),K.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ze(e,t,r){let n=!("string"==typeof(i=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i));var i;return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?Xe(Object(r),!0).forEach(function(t){Ke(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ke(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Qe=e=>e instanceof Re?Je({},e):e;function et(e,t){t=t||{};const r={};function n(e,t,r,n){return K.isPlainObject(e)&&K.isPlainObject(t)?K.merge.call({caseless:n},e,t):K.isPlainObject(t)?K.merge({},t):K.isArray(t)?t.slice():t}function i(e,t,r,i){return K.isUndefined(t)?K.isUndefined(e)?void 0:n(void 0,e,0,i):n(e,t,0,i)}function o(e,t){if(!K.isUndefined(t))return n(void 0,t)}function a(e,t){return K.isUndefined(t)?K.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}const 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,r)=>i(Qe(e),Qe(t),0,!0)};return K.forEach(Object.keys(Je(Je({},e),t)),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const o=K.hasOwnProp(l,n)?l[n]:i,a=o(e[n],t[n],n);K.isUndefined(a)&&o!==s||(r[n]=a)}),r}var tt=e=>{const t=et({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;if(t.headers=a=Re.from(a),t.url=fe(Ze(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),K.isFormData(r))if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(K.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&a.set(e,r)})}if(je.hasStandardBrowserEnv&&(n&&K.isFunction(n)&&(n=n(t)),n||!1!==n&&qe(t.url))){const e=i&&o&&Ge.read(o);e&&a.set(i,e)}return t};var rt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=tt(e);let i=n.data;const o=Re.from(n.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=n;function h(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function y(){if(!m)return;const n=Re.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ye(function(e){t(e),h()},function(e){r(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(r(new ee("Request aborted",ee.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const n=t&&t.message?t.message:"Network Error",i=new ee(n,ee.ERR_NETWORK,e,m);i.event=t||null,r(i),m=null},m.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||he;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new ee(t,i.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,m)),m=null},void 0===i&&o.setContentType(null),"setRequestHeader"in m&&K.forEach(o.toJSON(),function(e,t){m.setRequestHeader(t,e)}),K.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),d&&"json"!==d&&(m.responseType=n.responseType),p&&([l,u]=$e(p,!0),m.addEventListener("progress",l)),f&&m.upload&&([s,c]=$e(f),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(a=t=>{m&&(r(!t||t.type?new Be(null,e,m):t),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);g&&-1===je.protocols.indexOf(g)?r(new ee("Unsupported protocol "+g+":",ee.ERR_BAD_REQUEST,e)):m.send(i||null)})};var nt=(e,t)=>
153{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const i=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof ee?t:new Be(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,i(new ee(`timeout of ${t}ms exceeded`,ee.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=()=>K.asap(a),s}};const it=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},ot=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},at=(e,t,r,n)=>{const i=async function*(e,t){for await(const r of ot(e))yield*it(r,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await i.next();if(t)return s(),void e.close();let o=n.byteLength;if(r){let e=a+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})};function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach(function(t){ct(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ct(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const{isFunction:ut}=K,dt=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:ft,TextEncoder:pt}=K.global,ht=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},mt=e=>{e=K.merge.call({skipUndefined:!0},dt,e);const{fetch:t,Request:r,Response:n}=e,i=t?ut(t):"function"==typeof fetch,o=ut(r),a=ut(n);if(!i)return!1;const s=i&&ut(ft),l=i&&("function"==typeof pt?(c=new pt,e=>c.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var c;const u=o&&s&&ht(()=>{let e=!1;const t=new r(je.origin,{body:new ft,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&s&&ht(()=>K.isReadableStream(new n("").body)),f={stream:d&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new ee(`Response type '${e}' is not supported`,ee.ERR_NOT_SUPPORT,r)})});const p=async(e,t)=>{const n=K.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(K.isBlob(e))return e.size;if(K.isSpecCompliantForm(e)){const t=new r(je.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return K.isArrayBufferView(e)||K.isArrayBuffer(e)?e.byteLength:(K.isURLSearchParams(e)&&(e+=""),K.isString(e)?(await l(e)).byteLength:void 0)})(t):n};return async e=>{let{url:i,method:a,data:s,signal:l,cancelToken:c,timeout:h,onDownloadProgress:m,onUploadProgress:y,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:_}=tt(e),x=t||fetch;g=g?(g+"").toLowerCase():"text";let w=nt([l,c&&c.toAbortSignal()],h),O=null;const j=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let S;try{if(y&&u&&"get"!==a&&"head"!==a&&0!==(S=await p(v,s))){let e,t=new r(i,{method:"POST",body:s,duplex:"half"});if(K.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,r]=We(S,$e(Ve(y)));s=at(t.body,65536,e,r)}}K.isString(b)||(b=b?"include":"omit");const t=o&&"credentials"in r.prototype,l=lt(lt({},_),{},{signal:w,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0});O=o&&new r(i,l);let c=await(o?x(O,_):x(i,l));const h=d&&("stream"===g||"response"===g);
153if(d&&(m||h&&j)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=c[t]});const t=K.toFiniteNumber(c.headers.get("content-length")),[r,i]=m&&We(t,$e(Ve(m),!0))||[];c=new n(at(c.body,65536,r,()=>{i&&i(),j&&j()}),e)}g=g||"text";let M=await f[K.findKey(f,g)||"text"](c,e);return!h&&j&&j(),await new Promise((t,r)=>{Ye(t,r,{data:M,headers:Re.from(c.headers),status:c.status,statusText:c.statusText,config:e,request:O})})}catch(t){if(j&&j(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ee("Network Error",ee.ERR_NETWORK,e,O,t&&t.response),{cause:t.cause||t});throw ee.from(t,t&&t.code,e,O,t&&t.response)}}},yt=new Map,gt=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:i}=t,o=[n,i,r];let a,s,l=o.length,c=yt;for(;l--;)a=o[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:mt(t)),c=s;return s};gt();const vt={http:null,xhr:rt,fetch:{get:gt}};K.forEach(vt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const bt=e=>`- ${e}`,_t=e=>K.isFunction(e)||null===e||!1===e;var xt={getAdapter:function(e,t){e=K.isArray(e)?e:[e];const{length:r}=e;let n,i;const o={};for(let a=0;a<r;a++){let r;if(n=e[a],i=n,!_t(n)&&(i=vt[(r=String(n)).toLowerCase()],void 0===i))throw new ee(`Unknown adapter '${r}'`);if(i&&(K.isFunction(i)||(i=i.get(t))))break;o[r||"#"+a]=i}if(!i){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=r?e.length>1?"since :\n"+e.map(bt).join("\n"):" "+bt(e[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i},adapters:vt};function wt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Be(null,e)}function Ot(e){wt(e),e.headers=Re.from(e.headers),e.data=ze.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return xt.getAdapter(e.adapter||Ee.adapter,e)(e).then(function(t){return wt(e),t.data=ze.call(e,e.transformResponse,t),t.headers=Re.from(t.headers),t},function(t){return Fe(t)||(wt(e),t&&t.response&&(t.response.data=ze.call(e,e.transformResponse,t.response),t.response.headers=Re.from(t.response.headers))),Promise.reject(t)})}const jt="1.13.6",St={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{St[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Mt={};St.transitional=function(e,t,r){function n(e,t){return"[Axios v"+jt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new ee(n(i," has been removed"+(t?" in "+t:"")),ee.ERR_DEPRECATED);return t&&!Mt[i]&&(Mt[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},St.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var kt={assertOptions:function(e,t,r){if("object"!=typeof e)throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],a=t[o];if(a){const t=e[o],r=void 0===t||a(t,o,e);if(!0!==r)throw new ee("option "+o+" must be "+r,ee.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new ee("Unknown option "+o,ee.ERR_BAD_OPTION)}},validators:St};const Pt=kt.validators;class Tt{constructor(e){this.defaults=e||{},this.interceptors={request:new pe,response:new pe}}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=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=et(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&kt.assertOptions(r,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean),legacyInterceptorReqResOrdering:Pt.transitional(Pt.boolean)}
vendor: 2,984 bytes, line 153
153,!1),null!=n&&(K.isFunction(n)?t.paramsSerializer={serialize:n}:kt.assertOptions(n,{encode:Pt.function,serialize:Pt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),kt.assertOptions(t,{baseUrl:Pt.spelling("baseURL"),withXsrfToken:Pt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&K.merge(i.common,i[t.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=Re.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||he;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[Ot.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ot.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return fe(Ze((e=et(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}K.forEach(["delete","get","head","options"],function(e){Tt.prototype[e]=function(t,r){return this.request(et(r||{},{method:e,url:t,data:(r||{}).data}))}}),K.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(et(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Tt.prototype[e]=t(),Tt.prototype[e+"Form"]=t(!0)});var Et=Tt;class Ct{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new Be(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const 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 Ct(function(t){e=t}),cancel:e}}}var Lt=Ct;const At={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
153alContent: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(At).forEach(([e,t])=>{At[t]=e});var Dt=At;const It=function e(t){const r=new Et(t),n=i(Et.prototype.request,r);return K.extend(n,Et.prototype,r,{allOwnKeys:!0}),K.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(et(t,r))},n}(Ee);It.Axios=Et,It.CanceledError=Be,It.CancelToken=Lt,It.isCancel=Fe,It.VERSION=jt,It.toFormData=ae,It.AxiosError=ee,It.Cancel=It.CanceledError,It.all=function(e){return Promise.all(e)},It.spread=function(e){return function(t){return e.apply(null,t)}},It.isAxiosError=function(e){return K.isObject(e)&&!0===e.isAxiosError},It.mergeConfig=et,It.AxiosHeaders=Re,It.formToJSON=e=>Pe(K.isHTMLForm(e)?new FormData(e):e),It.getAdapter=xt.getAdapter,It.HttpStatusCode=Dt,It.default=It;var Nt=It},56687:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},44173:function(e,t,r){"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function i(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}r.r(t),r.d(t,{clsx:function(){return i}}),t.default=i},85289:function(e,t,r){var n;!function(){"use strict";var i,o=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,l="[DecimalError] ",c=l+"Invalid argument: ",u=l+"Exponent out of range: ",d=Math.floor,f=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=1e7,m=9007199254740991,y=d(1286742750677284.5),g={};function v(e,t){var r,n,i,o,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?P(t,f):t;if(c=e.d,u=t.d,a=e.e,i=t.e,c=c.slice(),o=a-i){for(o<0?(n=c,o=-o,l=u.length):(n=u,i=a,l=c.length),o>(l=(a=Math.ceil(f/7))>l?a+1:l+1)&&(o=l,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((l=c.length)-(o=u.length)<0&&(o=l,n=u,u=c,c=n),r=0;o;)r=(c[--o]=c[o]+u[o]+r)/h|0,c[o]%=h;for(r&&(c.unshift(r),++i),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=i,s?P(t,f):t}function b(e,t,r){if(e!==~~e||e<t||e>r)throw Error(c+e)}function _(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(o+=S(r)),o+=n;(r=7-(n=(a=e[t])+"").length)&&(o+=S(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r}
vendor: 12,652 bytes, line 153
153,g.dividedBy=g.div=function(e){return x(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return P(x(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return O(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,r=this,n=r.constructor,o=n.precision,a=o+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(i))throw Error(l+"NaN");if(r.s<1)throw Error(l+(r.s?"NaN":"-Infinity"));return r.eq(i)?new n(0):(s=!1,t=x(M(r,a),M(e,a),a),s=!0,P(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):v(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(l+"NaN");return r.s?(s=!1,t=x(r,e,0,1).times(e),s=!0,r.minus(t)):P(new n(r),i)},g.naturalExponential=g.exp=function(){return w(this)},g.naturalLogarithm=g.ln=function(){return M(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?v(t,e):T(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=O(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},g.squareRoot=g.sqrt=function(){var e,t,r,n,i,o,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(l+"NaN")}for(e=O(c),s=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=_(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),n=new u(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new u(i.toString()),i=a=(r=u.precision)+3;;)if(n=(o=n).plus(x(c,o,a+2)).times(.5),_(o.d).slice(0,a)===(t=_(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(P(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return s=!0,P(n,r)},g.times=g.mul=function(e){var t,r,n,i,o,a,l,c,u,d=this,f=d.constructor,p=d.d,m=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,r=d.e+e.e,(c=p.length)<(u=m.length)&&(o=p,p=m,m=o,a=c,c=u,u=a),o=[],n=a=c+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=c+n;i>n;)l=o[i]+m[n]*p[i-n-1]+t,o[i--]=l%h|0,t=l/h|0;o[i]=(o[i]+t)%h|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,s?P(e,f.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(b(e,0,o),void 0===t?t=n.rounding:b(t,0,8),P(r,e+O(r)+1,t))},g.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=E(n,!0):(b(e,0,o),void 0===t?t=i.rounding:b(t,0,8),r=E(n=P(new i(n),e+1,t),!0,e+1)),r},g.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return void 0===e?E(i):(b(e,0,o),void 0===t?t=a.rounding:b(t,0,8),r=E((n=P(new a(i),e+O(i)+1,t)).abs(),!1,e+O(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return P(new t(e),O(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,r,n,o,a,c,u=this,f=u.constructor,p=+(e=new f(e));if(!e.s)return new f(i);if(!(u=new f(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(i))return u;if(n=f.precision,e.eq(i))return P(u,n);if(c=(t=e.e)>=(r=e.d.length-1),a=u.s,c){if((r=p<0?-p:p)<=m){for(o=new f(i),t=Math.ceil(n/7+4),s=!1;r%2&&C((o=o.times(u)).d,t),0!==(r=d(r/2));)C((u=u.times(u)).d,t);return s=!0,e.s<0?new f(i).div(o):P(o,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,u.s=1,s=!1,o=e.times(M(u,n+12)),s=!0,(o=w(o)).s=a,o},g.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return void 0===e?n=E(i,(r=O(i))<=a.toExpNeg||r>=a.toExpPos):(b(e,1,o),void 0===t?t=a.rounding:b(t,0,8),n=E(i=P(new a(i),e,t),e<=(r=O(i))||r<=a.toExpNeg,e)),n},g.toSignificantDigits=g.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(b(e,1,o),void 0===t?t=r.rounding:b(t,0,8)),P(new r(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=O(e),r=e.constructor;return E(e,t<=r.toExpNeg||t>=r.toExpPos)};var x=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%h|0,n=r/h|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*h+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var s,c,u,d,f,p,m,y,g,v,b,_,x,w,j,S,M,k,T=n.constructor,E=n.s==i.s?1:-1,C=n.d,L=i.d;if(!n.s)return new T(n);if(!i.s)throw Error(l+"Division by zero");for(c=n.e-i.e,M=L.length,j=C.length,y=(m=new T(E)).d=[],u=0;L[u]==(C[u]||0);)++u;if(L[u]>(C[u]||0)&&--c,(_=null==o?o=T.precision:a?o+(O(n)-O(i))+1:o)<0)return new T(0);if(_=_/7+2|0,u=0,1==M)for(d=0,L=L[0],_++;(u<j||d)&&_--;u++)x=d*h+(C[u]||0),y[u]=x/L|0,d=x%L|0;else{for((d=h/(L[0]+1)|0)>1&&(L=e(L,d),C=e(C,d),M=L.length,j=C.length),w=M,v=(g=C.slice(0,M)).length;v<M;)g[v++]=0;(k=L.slice()).unshift(0),S=L[0],L[1]>=h/2&&++S;do{d=0,(s=t(L,g,M,v))<0?(b=g[0],M!=v&&(b=b*h+(g[1]||0)),(d=b/S|0)>1?(d>=h&&(d=h-1),1==(s=t(f=e(L,d),g,p=f.length,v=g.length))&&(d--,r(f,M<p?k:L,p))):(0==d&&(s=d=1),f=L.slice()),(p=f.length)<v&&f.unshift(0),r(g,f,v),-1==s&&(s=t(L,g,M,v=g.length))<1&&(d++,r(g,M<v?k:L,v)),v=g.length):0===s&&(d++,g=[0]),y[u++]=d,s&&g[0]?g[v++]=C[w]||0:(g=[C[w]],v=1)}while((w++<j||void 0!==g[0])&&_--)}return y[0]||y.shift(),m.e=c,P(m,a?o+O(m)+1:o)}}();function w(e,t){var r,n,o,a,l,c=0,d=0,p=e.constructor,h=p.precision;if(O(e)>16)throw Error(u+O(e));if(!e.s)return new p(i);for(null==t?(s=!1,l=h):l=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),d+=5;for(l+=Math.log(f(2,d))/Math.LN10*2+5|0,r=n=o=new p(i),p.precision=l;;){if(n=P(n.times(e),l),r=r.times(++c),_((a=o.plus(x(n,r,l))).d).slice(0,l)===_(o.d).slice(0,l)){for(;d--;)o=P(o.times(o),l);return p.precision=h,null==t?(s=!0,P(o,h)):o}o=a}}function O(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function j(e,t,r){if(t>e.LN10.sd())throw s=!0,r&&(e.precision=r),Error(l+"LN10 precision limit exceeded");return P(new e(e.LN10),t)}function S(e){for(var t="";e--;)t+="0";return t}function M(e,t){var r,n,o,a,c,u,d,f,p,h=1,m=e,y=m.d,g=m.constructor,v=g.precision;if(m.s<1)throw Error(l+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(s=!1,f=v):f=t,m.eq(10))return null==t&&(s=!0),j(g,f);if(f+=10,g.precision=f,n=(r=_(y)).charAt(0),a=O(m),!(Math.abs(a)<15e14))return d=j(g,f+2,v).times(a+""),m=M(new g(n+"."+r.slice(1)),f-10).plus(d),g.precision=v,null==t?(s=!0,P(m,v)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=_((m=m.times(e)).d)).charAt(0),h++;for(a=O(m),n>1?(m=new g("0."+r),a++):m=new g(n+"."+r.slice(1)),u=c=m=x(m.minus(i),m.plus(i),f),p=P(m.times(m),f),o=3;;){if(c=P(c.times(p),f),_((d=u.plus(x(c,new g(o),f))).d).slice(0,f)===_(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(j(g,f+2,v).times(a+""))),u=x(u,new g(h),f),g.precision=v,null==t?(s=!0,P(u,v)):u;u=d,o+=2}}function k(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=d(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),s&&(e.e>y||e.e<-y))throw Error(u+r)}else e.s=0,e.e=0,e.d=[0];return e}function P(e,t,r){var n,i,o,a,l,c,p,m,g=e.d;for(a=1,o=g[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=7,i=t,p=g[m=0];else{if((m=Math.ceil((n+1)/7))>=(o=g.length))return e;for(p=o=g[m],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(l=p/(o=f(10,a-i-1))%10|0,c=t<0||void 0!==g[m+1]||p%o,c=r<4?(l||c)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||c||6==r&&(n>0?i>0?p/f(10,a-i):0:g[m-1])%10&1||r==(e.s<0?8:7))),t<1||!g[0])return c?(o=O(e),g.length=1,t=t-o-1,g[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==n?(g.length=m,o=1,m--):(g.length=m+1,o=f(10,7-n),g[m]=i>0?(p/f(10,a-i)%f(10,i)|0)*o:0),c)for(;;){if(0==m){(g[0]+=o)==h&&(g[0]=1,++e.e);break}if(g[m]+=o,g[m]!=h)break;g[m--]=0,o=1}for(n=g.length;0===g[--n];)g.pop();if(s&&(e.e>y||e.e<-y))throw Error(u+O(e));return e}function T(e,t){var r,n,i,o,a,l,c,u,d,f,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?P(t,m):t;if(c=e.d,f=t.d,n=t.e,u=e.e,c=c.slice(),a=u-n){for((d=a<0)?(r=c,a=-a,l=f.length):(r=f,n=u,l=c.length),a>(i=Math.max(Math.ceil(m/7),l)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((d=(i=c.length)<(l=f.length))&&(l=i),i=0;i<l;i++)if(c[i]!=f[i]){d=c[i]<f[i];break}a=0}for(d&&(r=c,c=f,f=r,t.s=-t.s),l=c.length,i=f.length-l;i>0;--i)c[l++]=0;for(i=f.length;i>a;){if(c[--i]<f[i]){for(o=i;o&&0===c[--o];)c[o]=h-1;--c[o],c[i]+=h}c[i]-=f[i]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=n,s?P(t,m):t):new p(0)}function E(e,t,r){var n,i=O(e),o=_(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,r&&(n=r-a)>0&&(o+=S(n))):i>=a?(o+=S(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+S(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=S(n))),e.s<0?"-"+o:o}function C(e,t){if(e.length>t)return e.length=t,!0}function L(e){if(!e||"object"!=typeof e)throw Error(l+"Object expected");var t,r,n,i=["precision",1,o,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(d(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(c+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(c+r+": "+n);this[r]=new this(n)}return this}a=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):k(t,e.toString())}if("string"!=typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(c+e);k(t,e)}if(o.prototype=g,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=L,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}(a),a.default=a.Decimal=a,i=new a(1),void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},67592:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),c||(c=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const u=j(Array.prototype.forEach),d=j(Array.prototype.lastIndexOf),f=j(Array.prototype.pop),p=j(Array.prototype.push),h=j(Array.prototype.splice),m=j(String.prototype.toLowerCase),y=j(String.prototype.toString),g=j(String.prototype.match),v=j(String.prototype.replace),b=j(String.prototype.indexOf),_=j(String.prototype.trim),x=j(Object.prototype.hasOwnProperty),w=j(RegExp.prototype.test),O=S(TypeError);function j(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l(e,t,n)}}function S(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return c(e,r)}}function M(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;t&&t(e,null);let o=n.length;for(;o--;){let t=n[o];if("string"==typeof t){const e=i(t);e!==t&&(r(n)||(n[o]=e),t=e)}e[t]=!0}return e}function k(e){for(let t=0;t<e.length;t++)x(e,t)||(e[t]=null);return e}function P(t){const r=s(null);
153for(const[n,i]of e(t))x(t,n)&&(Array.isArray(i)?r[n]=k(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=P(i):r[n]=i);return r}function T(e,t){for(;null!==e;){const r=i(e,t);if(r){if(r.get)return j(r.get);if("function"==typeof r.value)return j(r.value)}e=n(e)}function r(){return null}return r}const E=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),A=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),I=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=o(["#text"]),R=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),z=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
153subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=a(/<%[\w\W]*|[\w\W]*%>/gm),H=a(/\$\{[\w\W]*/gm),$=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=a(/^aria-[\-\w]+$/),V=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),G=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=a(/^html$/i),X=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:X,DATA_ATTR:$,DOCTYPE_NAME:Z,ERB_EXPR:U,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:Y,TMPLIT_EXPR:H});const K={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Q=function(){return"undefined"==typeof window?null:window},ee=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;
153const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},te=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function re(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q();const r=e=>re(e);if(r.version="3.3.3",r.removed=[],!t||!t.document||t.document.nodeType!==K.document||!t.Element)return r.isSupported=!1,r;let{document:n}=t;const i=n,a=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:j,Element:S,NodeFilter:k,NamedNodeMap:Y=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:U,DOMParser:H,trustedTypes:$}=t,W=S.prototype,q=T(W,"cloneNode"),G=T(W,"remove"),X=T(W,"nextSibling"),ne=T(W,"childNodes"),ie=T(W,"parentNode");if("function"==typeof c){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let oe,ae="";const{implementation:se,createNodeIterator:le,createDocumentFragment:ce,getElementsByTagName:ue}=n,{importNode:de}=i;let fe=te();r.isSupported="function"==typeof e&&"function"==typeof ie&&se&&void 0!==se.createHTMLDocument;const{MUSTACHE_EXPR:pe,ERB_EXPR:he,TMPLIT_EXPR:me,DATA_ATTR:ye,ARIA_ATTR:ge,IS_SCRIPT_OR_DATA:ve,ATTR_WHITESPACE:be,CUSTOM_ELEMENT:_e}=J;let{IS_ALLOWED_URI:xe}=J,we=null;const Oe=M({},[...E,...C,...L,...D,...N]);let je=null;const Se=M({},[...R,...z,...F,...B]);let Me=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ke=null,Pe=null;const Te=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ee=!0,Ce=!0,Le=!1,Ae=!0,De=!1,Ie=!0,Ne=!1,Re=!1,ze=!1,Fe=!1,Be=!1,Ye=!1,Ue=!0,He=!1;const $e="user-content-";let We=!0,Ve=!1,qe={},Ge=null;const Ze=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const Je=M({},["audio","video","img","source","image","track"]);let Ke=null;const Qe=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",rt="http://www.w3.org/1999/xhtml";let nt=rt,it=!1,ot=null;const at=M({},[et,tt,rt],y);let st=M({},["mi","mo","mn","ms","mtext"]),lt=M({},["annotation-xml"]);const ct=M({},["title","style","font","a","script"]);let ut=null;const dt=["application/xhtml+xml","text/html"],ft="text/html";let pt=null,ht=null;const mt=n.createElement("form"),yt=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&"object"==typeof e||(e={}),e=P(e),ut=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?ft:e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===ut?y:m,we=x(e,"ALLOWED_TAGS")?M({},e.ALLOWED_TAGS,pt):Oe,je=x(e,"ALLOWED_ATTR")?M({},e.ALLOWED_ATTR,pt):Se,ot=x(e,"ALLOWED_NAMESPACES")?M({},e.ALLOWED_NAMESPACES,y):at,Ke=x(e,"ADD_URI_SAFE_ATTR")?M(P(Qe),e.ADD_URI_SAFE_ATTR,pt):Qe,Xe=x(e,"ADD_DATA_URI_TAGS")?M(P(Je),e.ADD_DATA_URI_TAGS,pt):Je,Ge=x(e,"FORBID_CONTENTS")?M({},e.FORBID_CONTENTS,pt):Ze,ke=x(e,"FORBID_TAGS")?M({},e.FORBID_TAGS,pt):P({}),Pe=x(e,"FORBID_ATTR")?M({},e.FORBID_ATTR,pt):P({}),qe=!!x(e,"USE_PROFILES")&&e.USE_PROFILES,Ee=!1!==e.ALLOW_ARIA_ATTR,Ce=!1!==e.ALLOW_DATA_ATTR,Le=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,De=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Ne=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ye=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,He=e.SANITIZE_NAMED_PROPS||!1,We=!1!==e.KEEP_CONTENT,Ve=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||V,nt=e.NAMESPACE||rt,st=e.MATHML_TEXT_INTEGRATION_POINTS||st,lt=e.HTML_INTEGRATION_POINTS||lt,Me=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Me.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Me.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Me.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Ce=!1),Be&&(Fe=!0),qe&&(we=M({},N),je=s(null),!0===qe.html&&(M(we,E),M(je,R)),!0===qe.svg&&(M(we,C),M(je,z),M(je,B)),!0===qe.svgFilters&&
vendor: 5,129 bytes, line 153
153(M(we,L),M(je,z),M(je,B)),!0===qe.mathMl&&(M(we,D),M(je,F),M(je,B))),x(e,"ADD_TAGS")||(Te.tagCheck=null),x(e,"ADD_ATTR")||(Te.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Te.tagCheck=e.ADD_TAGS:(we===Oe&&(we=P(we)),M(we,e.ADD_TAGS,pt))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Te.attributeCheck=e.ADD_ATTR:(je===Se&&(je=P(je)),M(je,e.ADD_ATTR,pt))),e.ADD_URI_SAFE_ATTR&&M(Ke,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&(Ge===Ze&&(Ge=P(Ge)),M(Ge,e.FORBID_CONTENTS,pt)),e.ADD_FORBID_CONTENTS&&(Ge===Ze&&(Ge=P(Ge)),M(Ge,e.ADD_FORBID_CONTENTS,pt)),We&&(we["#text"]=!0),Ne&&M(we,["html","head","body"]),we.table&&(M(we,["tbody"]),delete ke.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');oe=e.TRUSTED_TYPES_POLICY,ae=oe.createHTML("")}else void 0===oe&&(oe=ee($,a)),null!==oe&&"string"==typeof ae&&(ae=oe.createHTML(""));o&&o(e),ht=e}},vt=M({},[...C,...L,...A]),bt=M({},[...D,...I]),_t=function(e){let t=ie(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const r=m(e.tagName),n=m(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===rt?"svg"===r:t.namespaceURI===et?"svg"===r&&("annotation-xml"===n||st[n]):Boolean(vt[r]):e.namespaceURI===et?t.namespaceURI===rt?"math"===r:t.namespaceURI===tt?"math"===r&<[n]:Boolean(bt[r]):e.namespaceURI===rt?!(t.namespaceURI===tt&&!lt[n])&&!(t.namespaceURI===et&&!st[n])&&!bt[r]&&(ct[r]||!vt[r]):!("application/xhtml+xml"!==ut||!ot[e.namespaceURI]))},xt=function(e){p(r.removed,{element:e});try{ie(e).removeChild(e)}catch(t){G(e)}},wt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Fe||Be)try{xt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ot=function(e){let t=null,r=null;if(ze)e="<remove></remove>"+e;else{const t=g(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===ut&&nt===rt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=oe?oe.createHTML(e):e;if(nt===rt)try{t=(new H).parseFromString(i,ut)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(nt,"template",null);try{t.documentElement.innerHTML=it?ae:i}catch(e){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),nt===rt?ue.call(t,Ne?"html":"body")[0]:Ne?t.documentElement:o},jt=function(e){return le.call(e.ownerDocument||e,e,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT|k.SHOW_PROCESSING_INSTRUCTION|k.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof U&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Y)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Mt=function(e){return"function"==typeof j&&e instanceof j};function kt(e,t,n){u(e,e=>{e.call(r,t,n,ht)})}const Pt=function(e){let t=null;if(kt(fe.beforeSanitizeElements,e,null),St(e))return xt(e),!0;const n=pt(e.nodeName);if(kt(fe.uponSanitizeElement,e,{tagName:n,allowedTags:we}),Ie&&e.hasChildNodes()&&!Mt(e.firstElementChild)&&w(/<[/\w!]/g,e.innerHTML)&&w(/<[/\w!]/g,e.textContent))return xt(e),!0;if(e.nodeType===K.progressingInstruction)return xt(e),!0;if(Ie&&e.nodeType===K.comment&&w(/<[/\w]/g,e.data))return xt(e),!0;if(!(Te.tagCheck instanceof Function&&Te.tagCheck(n))&&(!we[n]||ke[n])){if(!ke[n]&&Et(n)){if(Me.tagNameCheck instanceof RegExp&&w(Me.tagNameCheck,n))return!1;if(Me.tagNameCheck instanceof Function&&Me.tagNameCheck(n))return!1}if(We&&!Ge[n]){const t=ie(e)||e.parentNode,r=ne(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const i=q(r[n],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,X(e))}}return xt(e),!0}return e instanceof S&&!_t(e)?(xt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(De&&e.nodeType===K.text&&(t=e.textContent,u([pe,he,me],e=>{t=v(t,e," ")}),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),kt(fe.afterSanitizeElements,e,null),!1):(xt(e),!0)},Tt=function(e,t,r){if(Pe[t])return!1;if(Ue&&("id"===t||"name"===t)&&(r in n||r in mt))return!1;if(Ce&&!Pe[t]&&w(ye,t));else if(Ee&&w(ge,t));else if(Te.attributeCheck instanceof Function&&Te.attributeCheck(t,e));else if(!je[t]||Pe[t]){if(!(Et(e)&&(Me.tagNameCheck instanceof RegExp&&w(Me.tagNameCheck,e)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(e))&&(Me.attributeNameCheck instanceof RegExp&&w(Me.attributeNameCheck,t)||Me.attributeNameCheck instanceof Function&&Me.attributeNameCheck(t,e))||"is"===t&&Me.allowCustomizedBuiltInElements&&(Me.tagNameCheck instanceof RegExp&&w(Me.tagNameCheck,r)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(r))))return!1}else if(Ke[t]);else if(w(xe,v(r,be,"")));
153else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(r,"data:")||!Xe[e])if(Le&&!w(ve,v(r,be,"")));else if(r)return!1;return!0},Et=function(e){return"annotation-xml"!==e&&g(e,_e)},Ct=function(e){kt(fe.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||St(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:je,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=pt(a),d=l;let p="value"===a?d:_(d);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,kt(fe.uponSanitizeAttribute,e,n),p=n.attrValue,!He||"id"!==c&&"name"!==c||(wt(a,e),p=$e+p),Ie&&w(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)){wt(a,e);continue}if("attributename"===c&&g(p,"href")){wt(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){wt(a,e);continue}if(!Ae&&w(/\/>/i,p)){wt(a,e);continue}De&&u([pe,he,me],e=>{p=v(p,e," ")});const h=pt(e.nodeName);if(Tt(h,c,p)){if(oe&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(s);else switch($.getAttributeType(h,c)){case"TrustedHTML":p=oe.createHTML(p);break;case"TrustedScriptURL":p=oe.createScriptURL(p)}if(p!==d)try{s?e.setAttributeNS(s,a,p):e.setAttribute(a,p),St(e)?xt(e):f(r.removed)}catch(t){wt(a,e)}}else wt(a,e)}kt(fe.afterSanitizeAttributes,e,null)},Lt=function e(t){let r=null;const n=jt(t);for(kt(fe.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)kt(fe.uponSanitizeShadowNode,r,null),Pt(r),Ct(r),r.content instanceof l&&e(r.content);kt(fe.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,s=null;if(it=!e,it&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Mt(e)){if("function"!=typeof e.toString)throw O("toString is not a function");if("string"!=typeof(e=e.toString()))throw O("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Re||gt(t),r.removed=[],"string"==typeof e&&(Ve=!1),Ve){if(e.nodeName){const t=pt(e.nodeName);if(!we[t]||ke[t])throw O("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof j)n=Ot("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),o.nodeType===K.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Fe&&!De&&!Ne&&-1===e.indexOf("<"))return oe&&Ye?oe.createHTML(e):e;if(n=Ot(e),!n)return Fe?null:Ye?ae:""}n&&ze&&xt(n.firstChild);const c=jt(Ve?e:n);for(;a=c.nextNode();)Pt(a),Ct(a),a.content instanceof l&&Lt(a.content);if(Ve)return e;if(Fe){if(Be)for(s=ce.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(je.shadowroot||je.shadowrootmode)&&(s=de.call(i,s,!0)),s}let d=Ne?n.outerHTML:n.innerHTML;return Ne&&we["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&w(Z,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),De&&u([pe,he,me],e=>{d=v(d,e," ")}),oe&&Ye?oe.createHTML(d):d},r.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Re=!0},r.clearConfig=function(){ht=null,Re=!1},r.isValidAttribute=function(e,t,r){ht||gt({});const n=pt(e),i=pt(t);return Tt(n,i,r)},r.addHook=function(e,t){"function"==typeof t&&p(fe[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=d(fe[e],t);return-1===r?void 0:h(fe[e],r,1)[0]}return f(fe[e])},r.removeHooks=function(e){fe[e]=[]},r.removeAllHooks=function(){fe=te()},r}return re()}()},37566:function(e,t,r){var n=r(17370),i=r(1350).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,function(t){t[e]()})}},e.exports=o},28568:function(e,t,r){var n=r(37566),i=r(1350),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia n
153ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,r){var i=this.queries,l=r&&this.browserIsIncapable;return i[e]||(i[e]=new n(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,function(t){a(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=l},17370:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},1350:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var r=0,n=e.length;r<n&&!1!==t(e[r],r);r++);}}},65028:function(e,t,r){var n=r(28568);e.exports=new n},85182:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,i,o,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,i),!0;case 5:return u.fn.call(u.context,t,n,i,o),!0;case 6:return u.fn.call(u.context,t,n,i,o,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,i);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||a(this,o);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s},23259:function(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!==i--;){var a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},92499:function(e,t){!function(e){"use strict";const{getOwnPropertyNames:t,getOwnPropertySymbols:r}=Object,{hasOwnProperty:n}=Object.prototype;function i(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function o(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);const{cache:i}
153=n,o=i.get(t),a=i.get(r);if(o&&a)return o===r&&a===t;i.set(t,r),i.set(r,t);const s=e(t,r,n);return i.delete(t),i.delete(r),s}}function a(e){return null!=e?e[Symbol.toStringTag]:void 0}function s(e){return t(e).concat(r(e))}const l=Object.hasOwn||((e,t)=>n.call(e,t));function c(e,t){return e===t||!e&&!t&&e!=e&&t!=t}const u="__v",d="__o",f="_owner",{getOwnPropertyDescriptor:p,keys:h}=Object;function m(e,t){return e.byteLength===t.byteLength&&P(new Uint8Array(e),new Uint8Array(t))}function y(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function g(e,t){return e.byteLength===t.byteLength&&P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function v(e,t){return c(e.getTime(),t.getTime())}function b(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function _(e,t){return e===t}function x(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const i=new Array(n),o=e.entries();let a,s,l=0;for(;(a=o.next())&&!a.done;){const n=t.entries();let o=!1,c=0;for(;(s=n.next())&&!s.done;){if(i[c]){c++;continue}const n=a.value,u=s.value;if(r.equals(n[0],u[0],l,c,e,t,r)&&r.equals(n[1],u[1],n[0],u[0],e,t,r)){o=i[c]=!0;break}c++}if(!o)return!1;l++}return!0}const w=c;function O(e,t,r){const n=h(e);let i=n.length;if(h(t).length!==i)return!1;for(;i-- >0;)if(!E(e,t,r,n[i]))return!1;return!0}function j(e,t,r){const n=s(e);let i,o,a,l=n.length;if(s(t).length!==l)return!1;for(;l-- >0;){if(i=n[l],!E(e,t,r,i))return!1;if(o=p(e,i),a=p(t,i),(o||a)&&(!o||!a||o.configurable!==a.configurable||o.enumerable!==a.enumerable||o.writable!==a.writable))return!1}return!0}function S(e,t){return c(e.valueOf(),t.valueOf())}function M(e,t){return e.source===t.source&&e.flags===t.flags}function k(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const i=new Array(n),o=e.values();let a,s;for(;(a=o.next())&&!a.done;){const n=t.values();let o=!1,l=0;for(;(s=n.next())&&!s.done;){if(!i[l]&&r.equals(a.value,s.value,a.value,s.value,e,t,r)){o=i[l]=!0;break}l++}if(!o)return!1}return!0}function P(e,t){let r=e.byteLength;if(t.byteLength!==r||e.byteOffset!==t.byteOffset)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function T(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function E(e,t,r,n){return!(n!==f&&n!==d&&n!==u||!e.$$typeof&&!t.$$typeof)||l(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}const C="[object ArrayBuffer]",L="[object Arguments]",A="[object Boolean]",D="[object DataView]",I="[object Date]",N="[object Error]",R="[object Map]",z="[object Number]",F="[object Object]",B="[object RegExp]",Y="[object Set]",U="[object String]",H={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},$="[object URL]",W=Object.prototype.toString;function V({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:s,areNumbersEqual:l,areObjectsEqual:c,arePrimitiveWrappersEqual:u,areRegExpsEqual:d,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:h,unknownTagComparators:m}){return function(y,g,v){if(y===g)return!0;if(null==y||null==g)return!1;const b=typeof y;if(b!==typeof g)return!1;if("object"!==b)return"number"===b?l(y,g,v):"function"===b&&o(y,g,v);const _=y.constructor;if(_!==g.constructor)return!1;if(_===Object)return c(y,g,v);if(Array.isArray(y))return t(y,g,v);if(_===Date)return n(y,g,v);if(_===RegExp)return d(y,g,v);if(_===Map)return s(y,g,v);if(_===Set)return f(y,g,v);const x=W.call(y);if(x===I)return n(y,g,v);if(x===B)return d(y,g,v);if(x===R)return s(y,g,v);if(x===Y)return f(y,g,v);if(x===F)return"function"!=typeof y.then&&"function"!=typeof g.then&&c(y,g,v);if(x===$)return h(y,g,v);if(x===N)return i(y,g,v);if(x===L)return c(y,g,v);if(H[x])return p(y,g,v);if(x===C)return e(y,g,v);if(x===D)return r(y,g,v);if(x===A||x===z||x===U)return u(y,g,v);if(m){let e=m[x];if(!e){const t=a(y);t&&(e=m[t])}if(e)return e(y,g,v)}return!1}}function q({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:m,areArraysEqual:r?j:y,areDataViewsEqual:g,areDatesEqual:v,areErrorsEqual:b,areFunctionsEqual:_,areMapsEqual:r?i(x,j):x,areNumbersEqual:w,areObjectsEqual:r?j:O,arePrimitiveWrappersEqual:S,areRegExpsEqual:M,areSetsEqual:r?i(k,j):k,areTypedArraysEqual:r?i(P,j):P,areUrlsEqual:T,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){const e=o(n.areArraysEqual),t=o(n.areMapsEqual),r=o(n.areObjectsEqual),i=o(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:r,areSetsEqual:i})}return n}function G(e){return function(t,r,n,i,o,a,s){return e(t,r,s)}}function Z({circular:e,comparator:t,createState:r,equals:n,strict:i}){if(r)return function(o,a){const{cache:s=(e?new WeakMap:void 0),meta:l}=r();return t(o,a,{cache:s,equals:n,meta:l,strict:i})};if(e)return function(e,r){return t(e,r,{cache:new WeakMap,equals:n,meta:void 0,strict:i})};const o={cache:void 0,equals:n,meta:void 0,strict:i};return function(e,r){return t(e,r,o)}}const X=ie(),J=ie({strict:!0}),K=ie({circular:!0}),Q=ie({circular:!0,strict:!0}),ee=ie({createInternalComparator:()=>c}),te=ie({strict:!0,createInternalComparator:()=>c}),re=ie({circular:!0,createInternalComparator:()=>c}),ne=ie({circular:!0,createInternalComparator:()=>c,strict:!0});function ie(e={}){const{circular:t=!1,createInternalComparator:r,createState:n,strict:i=!1}=e,o=V(q(e));
153return Z({circular:t,comparator:o,createState:n,equals:r?r(o):G(o),strict:i})}e.circularDeepEqual=K,e.circularShallowEqual=re,e.createCustomEqual=ie,e.deepEqual=X,e.sameValueZeroEqual=c,e.shallowEqual=ee,e.strictCircularDeepEqual=Q,e.strictCircularShallowEqual=ne,e.strictDeepEqual=J,e.strictShallowEqual=te}(t)},11572:function(e,t,r){"use strict";var n=r(37174),i={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 n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var i=p(r);i&&i!==h&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),y=0;y<a.length;++y){var g=a[y];if(!(o[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=f(r,g);try{c(t,g,v)}catch(e){}}}}return t}},87802:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case y:case m:case l:return e;default:return t}}case i:return t}}}function w(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=o,t.Lazy=y,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||x(e)===u},t.isConcurrentMode=w,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===n},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===i},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===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_||e.$$typeof===g)},t.typeOf=x},37174:function(e,t,r){"use strict";e.exports=r(87802)},60667:function(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}function t(r,n){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=t+"="+r.write(i,t)+a}}function o(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);
153if(s in n||(n[s]=r.read(a,s)),e===s)break}catch{}}return e?n[e]:n}}return Object.create({set:i,get:o,remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}return t({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},55431:function(e,t,r){var n=r(75186),i=function(e){var t="",r=Object.keys(e);return r.forEach(function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=n(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<r.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(r,n){t+=i(r),n<e.length-1&&(t+=", ")}),t):i(e)}},31365:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,n,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof n&&(i=n,n={}),n=n||{},i=i||function(){},a.type=n.type||"text/javascript",a.charset=n.charset||"utf8",a.async=!("async"in n)||!!n.async,a.src=e,n.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(a,n.attrs),n.text&&(a.text=""+n.text),("onload"in a?t:r)(a,i),a.onload||t(a,i),o.appendChild(a)}},69307:function(e,t,r){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var r=o.test(e);return r||a.test(e)?s(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,o,a,s,l,c=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=n,o=i;return n=i=void 0,c=t,a=e.apply(o,r)}function b(e){var r=e-l;return void 0===l||r>=t||r<0||d&&e-c>=o}function _(){var e=h();if(b(e))return x(e);s=setTimeout(_,function(e){var r=t-(e-l);return d?p(r,o-(e-c)):r}(e))}function x(e){return s=void 0,g&&n?v(e):(n=i=void 0,a)}function w(){var e=h(),r=b(e);if(n=arguments,i=this,l=e,r){if(void 0===s)return function(e){return c=e,s=setTimeout(_,t),u?v(e):a}(l);if(d)return s=setTimeout(_,t),v(l)}return void 0===s&&(s=setTimeout(_,t)),a}return t=y(t)||0,m(r)&&(u=!!r.leading,o=(d="maxWait"in r)?f(y(r.maxWait)||0,t):o,g="trailing"in r?!!r.trailing:g),w.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=i=s=void 0},w.flush=function(){return void 0===s?a:x(h())},w}},80882:function(e,t,r){var n=r(45772)(r(85783),"DataView");e.exports=n},93415:function(e,t,r){var n=r(61070),i=r(9288),o=r(74187),a=r(34919),s=r(66607);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},24365:function(e,t,r){var n=r(5008),i=r(16854),o=r(68417),a=r(19405),s=r(37445);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},11273:function(e,t,r){var n=r(45772)(r(85783),"Map");e.exports=n},73907:function(e,t,r){var n=r(94706),i=r(54916),o=r(73367),a=r(13963),s=r(78707);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},27082:function(e,t,r){var n=r(45772)(r(85783),"Promise");e.exports=n},43887:function(e,t,r){var n=r(45772)(r(85783),"Set");e.exports=n},66733:function(e,t,r){var n=r(73907),i=r(60530),o=r(48205);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},88943:function(e,t,r){var n=r(24365),i=r(45270),o=r(91168),a=r(25027),s=r(30703),l=r(54759);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},42699:function(e,t,r){var n=r(85783).Symbol;e.exports=n},17158:function(e,t,r){var n=r(85783).Uint8Array;e.exports=n},71905:function(e,t,r){var n=r(45772)(r(85783),"WeakMap");e.exports=n},30611:function(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},43971:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}},37276:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},89779:function(e,t,r){var n=r(71961);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},64203:function(e){e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},19245:function(e,t,r){var n=r(10870),i=r(882),o=r(92807),a=r(71130),s=r(17395),l=r(61769),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&a(e),f=!r&&!u&&!d&&l(e),p=r||u||d||f,h=p?n(e.length,String):[],m=h.length;for(var y in e)!t&&!c.call(e,y)||p&&("length"==y||d&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,m))||h.push(y);return h}},19122:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},83118:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;
153)e[i+r]=t[r];return e}},74701:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},48756:function(e){e.exports=function(e){return e.split("")}},54139:function(e,t,r){var n=r(34462);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},91342:function(e,t,r){var n=r(42605);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},12687:function(e,t,r){var n=r(11911),i=r(91779)(n);e.exports=i},10715:function(e,t,r){var n=r(12687);e.exports=function(e,t){var r=!0;return n(e,function(e,n,i){return r=!!t(e,n,i)}),r}},79929:function(e,t,r){var n=r(52472);e.exports=function(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===l?s==s&&!n(s):r(s,l)))var l=s,c=a}return c}},78721:function(e){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},47466:function(e,t,r){var n=r(83118),i=r(21);e.exports=function e(t,r,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];r>0&&o(u)?r>1?e(u,r-1,o,a,s):n(s,u):a||(s[s.length]=u)}return s}},27063:function(e,t,r){var n=r(85003)();e.exports=n},11911:function(e,t,r){var n=r(27063),i=r(57644);e.exports=function(e,t){return e&&n(e,t,i)}},32692:function(e,t,r){var n=r(57711),i=r(43399);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},71673:function(e,t,r){var n=r(83118),i=r(92807);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},28310:function(e,t,r){var n=r(42699),i=r(36157),o=r(51752),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},64097:function(e){e.exports=function(e,t){return e>t}},17263:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},71961:function(e,t,r){var n=r(78721),i=r(28405),o=r(36369);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},19588:function(e,t,r){var n=r(28310),i=r(38752);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},13228:function(e,t,r){var n=r(83058),i=r(38752);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},83058:function(e,t,r){var n=r(88943),i=r(14509),o=r(58808),a=r(65843),s=r(98315),l=r(92807),c=r(71130),u=r(61769),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,y,g){var v=l(e),b=l(t),_=v?f:s(e),x=b?f:s(t),w=(_=_==d?p:_)==p,O=(x=x==d?p:x)==p,j=_==x;if(j&&c(e)){if(!c(t))return!1;v=!0,w=!1}if(j&&!w)return g||(g=new n),v||u(e)?i(e,t,r,m,y,g):o(e,t,_,r,m,y,g);if(!(1&r)){var S=w&&h.call(e,"__wrapped__"),M=O&&h.call(t,"__wrapped__");
153if(S||M){var k=S?e.value():e,P=M?t.value():t;return g||(g=new n),y(k,P,r,m,g)}}return!!j&&(g||(g=new n),a(e,t,r,m,y,g))}},48761:function(e,t,r){var n=r(88943),i=r(13228);e.exports=function(e,t,r,o){var a=r.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new n;if(o)var h=o(d,f,u,e,t,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},28405:function(e){e.exports=function(e){return e!=e}},74925:function(e,t,r){var n=r(82784),i=r(20874),o=r(81927),a=r(36891),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?f:s).test(a(e))}},29303:function(e,t,r){var n=r(28310),i=r(89376),o=r(38752),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},30407:function(e,t,r){var n=r(21097),i=r(31352),o=r(88314),a=r(92807),s=r(54201);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},69894:function(e,t,r){var n=r(18657),i=r(41096),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},68126:function(e){e.exports=function(e,t){return e<t}},40394:function(e,t,r){var n=r(12687),i=r(96576);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},21097:function(e,t,r){var n=r(48761),i=r(4550),o=r(76467);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},31352:function(e,t,r){var n=r(13228),i=r(7674),o=r(11689),a=r(83756),s=r(96741),l=r(76467),c=r(43399);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},77445:function(e,t,r){var n=r(19122),i=r(32692),o=r(30407),a=r(40394),s=r(64991),l=r(35751),c=r(87080),u=r(88314),d=r(92807);e.exports=function(e,t,r){t=t.length?n(t,function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[u];var f=-1;t=n(t,l(o));var p=a(e,function(e,r,i){return{criteria:n(t,function(t){return t(e)}),index:++f,value:e}});return s(p,function(e,t){return c(e,t,r)})}},98383:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},67617:function(e,t,r){var n=r(32692);e.exports=function(e){return function(t){return n(t,e)}}},52709:function(e){var t=Math.ceil,r=Math.max;e.exports=function(e,n,i,o){for(var a=-1,s=r(t((n-e)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=i;return l}},34452:function(e,t,r){var n=r(88314),i=r(71703),o=r(93155);e.exports=function(e,t){return o(i(e,t,n),e+"")}},9740:function(e,t,r){var n=r(48784),i=r(42605),o=r(88314),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},63234:function(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},47858:function(e,t,r){var n=r(12687);e.exports=function(e,t){var r;return n(e,function(e,n,i){return!(r=t(e,n,i))}),!!r}},64991:function(e){e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},10870:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},31662:function(e,t,r){var n=r(42699),i=r(19122),o=r(92807),a=r(52472),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},52037:function(e,t,r){var n=r(73902),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},35751:function(e){e.exports=function(e){return function(t){return e(t)}}},65959:function(e,t,r){var n=r(66733),i=r(89779),o=r(64203),a=r(75077),s=r(15307),l=r(27341);e.exports=function(e,t,r){var c=-1,u=i,d=e.length,f=!0,p=[],h=p;if(r)f=!1,u=o;else if(d>=200){var m=t?null:s(e);if(m)return l(m);f=!1,u=a,h=new n}else h=t?[]:p;e:for(;++c<d;){var y=e[c],g=t?t(y):y;if(y=r||0!==y?y:0,f&&g==g){for(var v=h.length;v--;)if(h[v]===g)continue e;t&&h.push(g),p.push(y)}else u(h,g,r)||(h!==p&&h.push(g),p.push(y))}return p}},75077:function(e){e.exports=function(e,t){return e.has(t)}},57711:function(e,t,r){var n=r(92807),i=r(83756),o=r(98148),a=r(30024);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},86692:function(e,t,r){var n=r(63234);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},14720:function(e,t,r){var n=r(52472);e.exports=function(e,t){if(e!==t){var r=void 0!==e,i=null===e,o=e==e,a=n(e),s=void 0!==t,l=null===t,c=t==t,u=n(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&e<t||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}},87080:function(e,t,r){var n=r(14720);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=r.length;++i<s;){var c=n(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return e.index-t.index}},5835:function(e,t,r){var n=r(85783)["__core-js_shared__"];e.exports=n},91779:function(e,t,r){var n=r(96576);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},85003:function(e){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},91025:function(e,t,r){var n=r(86692),i=r(42704),o=r(26286),a=r(30024);e.exports=function(e){return function(t){t=a(t);var r=i(t)?o(t):void 0,s=r?r[0]:t.charAt(0),l=r?n(r,1).join(""):t.slice(1);return s[e]()+l}}},85084:function(e,t,r){var n=r(30407),i=r(96576),o=r(57644);e.exports=function(e){return function(t,r,a){var s=Object(t);if(!i(t)){var l=n(r,3);t=o(t),r=function(e){return l(s[e],e,s)}}var c=e(t,r,a);return c>-1?s[l?t[c]:c]:void 0}}},28770:function(e,t,r){var n=r(52709),i=r(18226),o=r(94282);e.exports=function(e){return function(t,r,a){return a&&"number"!=typeof a&&i(t,r,a)&&(r=a=void 0),t=o(t),void 0===r?(r=t,t=0):r=o(r),a=void 0===a?t<r?1:-1:o(a),n(t,r,a,e)}}},15307:function(e,t,r){var n=r(43887),i=r(65976),o=r(27341),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},42605:function(e,t,r){var n=r(45772),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},14509:function(e,t,r){var n=r(66733),i=r(74701),o=r(75077);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,y=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var g=e[h],v=t[h];if(a)var b=c?a(v,g,h,t,e,l):a(g,v,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(g===e||s(g,e,r,a,l)))return y.push(t)})){m=!1;break}}else if(g!==v&&!s(g,v,r,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},58808:function(e,t,r){var n=r(42699),i=r(17158),o=r(34462),a=r(14509),s=r(80335),l=r(27341),c=n?n.prototype:void 0,u=c?c.valueOf
vendor: 5,390 bytes, line 153
153:void 0;e.exports=function(e,t,r,n,c,d,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&n;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;n|=2,f.set(e,t);var y=a(p(e),p(t),n,c,d,f);return f.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},65843:function(e,t,r){var n=r(67372),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in t:i.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var y=l;++d<u;){var g=e[f=c[d]],v=t[f];if(o)var b=l?o(v,g,f,t,e,s):o(g,v,f,e,t,s);if(!(void 0===b?g===v||a(g,v,r,o,s):b)){m=!1;break}y||(y="constructor"==f)}if(m&&!y){var _=e.constructor,x=t.constructor;_==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},88149:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},67372:function(e,t,r){var n=r(71673),i=r(48450),o=r(57644);e.exports=function(e){return n(e,o,i)}},28157:function(e,t,r){var n=r(76512);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},4550:function(e,t,r){var n=r(96741),i=r(57644);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},45772:function(e,t,r){var n=r(74925),i=r(92358);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},87933:function(e,t,r){var n=r(24525)(Object.getPrototypeOf,Object);e.exports=n},36157:function(e,t,r){var n=r(42699),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},48450:function(e,t,r){var n=r(37276),i=r(27051),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),function(t){return o.call(e,t)}))}:i;e.exports=s},98315:function(e,t,r){var n=r(80882),i=r(11273),o=r(27082),a=r(43887),s=r(71905),l=r(28310),c=r(36891),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(n),y=c(i),g=c(o),v=c(a),b=c(s),_=l;(n&&_(new n(new ArrayBuffer(1)))!=h||i&&_(new i)!=u||o&&_(o.resolve())!=d||a&&_(new a)!=f||s&&_(new s)!=p)&&(_=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return h;case y:return u;case g:return d;case v:return f;case b:return p}return t}),e.exports=_},92358:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},96196:function(e,t,r){var n=r(57711),i=r(882),o=r(92807),a=r(17395),s=r(89376),l=r(43399);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(o(e)||i(e))}},42704:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},61070:function(e,t,r){var n=r(80320);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9288:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},74187:function(e,t,r){var n=r(80320),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},34919:function(e,t,r){var n=r(80320),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},66607:function(e,t,r){var n=r(80320);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},21:function(e,t,r){var n=r(42699),i=r(882),o=r(92807),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},17395:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},18226:function(e,t,r){var n=r(34462),i=r(96576),o=r(17395),a=r(81927);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},83756:function(e,t,r){var n=r(92807),i=r(52472),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},76512:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},20874:function(e,t,r){var n,i=r(5835),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(sr
153c)_1."+n:"";e.exports=function(e){return!!o&&o in e}},18657:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},96741:function(e,t,r){var n=r(81927);e.exports=function(e){return e==e&&!n(e)}},5008:function(e){e.exports=function(){this.__data__=[],this.size=0}},16854:function(e,t,r){var n=r(54139),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},68417:function(e,t,r){var n=r(54139);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},19405:function(e,t,r){var n=r(54139);e.exports=function(e){return n(this.__data__,e)>-1}},37445:function(e,t,r){var n=r(54139);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},94706:function(e,t,r){var n=r(93415),i=r(24365),o=r(11273);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},54916:function(e,t,r){var n=r(28157);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},73367:function(e,t,r){var n=r(28157);e.exports=function(e){return n(this,e).get(e)}},13963:function(e,t,r){var n=r(28157);e.exports=function(e){return n(this,e).has(e)}},78707:function(e,t,r){var n=r(28157);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},80335:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},76467:function(e){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},12921:function(e,t,r){var n=r(38674);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},80320:function(e,t,r){var n=r(45772)(Object,"create");e.exports=n},41096:function(e,t,r){var n=r(24525)(Object.keys,Object);e.exports=n},2175:function(e,t,r){e=r.nmd(e);var n=r(88149),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},51752:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},24525:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},71703:function(e,t,r){var n=r(30611),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),n(e,this,c)}}},85783:function(e,t,r){var n=r(88149),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},60530:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},48205:function(e){e.exports=function(e){return this.__data__.has(e)}},27341:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},93155:function(e,t,r){var n=r(9740),i=r(68961)(n);e.exports=i},68961:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},45270:function(e,t,r){var n=r(24365);e.exports=function(){this.__data__=new n,this.size=0}},91168:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},25027:function(e){e.exports=function(e){return this.__data__.get(e)}},30703:function(e){e.exports=function(e){return this.__data__.has(e)}},54759:function(e,t,r){var n=r(24365),i=r(11273),o=r(73907);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},36369:function(e){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},26286:function(e,t,r){var n=r(48756),i=r(42704),o=r(28692);e.exports=function(e){return i(e)?o(e):n(e)}},98148:function(e,t,r){var n=r(12921),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=a},43399:function(e,t,r){var n=r(52472);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},36891:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},73902:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},28692:function(e){var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[o,a,s].join("|")+")"+c+l+")*"),d="(?:"+[o+n+"?",n,a,s,r].join("|")+")",f=RegExp(i+"(?="+i+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},48784:function(e){e.exports=function(e){return function(){return e}}},90675:function(e,t,r){var n=r(81927),i=r(26874),o=r(51516),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,d,f,p,h=0,m=!1,y=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=l,n=c;return l=c=void 0,h=t,d=e.apply(n,r)}function b(e){var r=e-p;return void 0===p||r>=t||r<0||y&&e-h>=u}function _(){var e=i();if(b(e))return x(e);f=setTimeout(_,function(e){var r=t-(e-p);return y?s(r,u-(e-h)):r}(e))}function x(e){return f=void 0,g&&l?v(e):(l=c=void 0,d)}function w(){var e=i(),r=b(e);
153if(l=arguments,c=this,p=e,r){if(void 0===f)return function(e){return h=e,f=setTimeout(_,t),m?v(e):d}(p);if(y)return clearTimeout(f),f=setTimeout(_,t),v(p)}return void 0===f&&(f=setTimeout(_,t)),d}return t=o(t)||0,n(r)&&(m=!!r.leading,u=(y="maxWait"in r)?a(o(r.maxWait)||0,t):u,g="trailing"in r?!!r.trailing:g),w.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},w.flush=function(){return void 0===f?d:x(i())},w}},34462:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},78781:function(e,t,r){var n=r(43971),i=r(10715),o=r(30407),a=r(92807),s=r(18226);e.exports=function(e,t,r){var l=a(e)?n:i;return r&&s(e,t,r)&&(t=void 0),l(e,o(t,3))}},84315:function(e,t,r){var n=r(85084)(r(25583));e.exports=n},25583:function(e,t,r){var n=r(78721),i=r(30407),o=r(18883),a=Math.max;e.exports=function(e,t,r){var s=null==e?0:e.length;if(!s)return-1;var l=null==r?0:o(r);return l<0&&(l=a(s+l,0)),n(e,i(t,3),l)}},55705:function(e,t,r){var n=r(47466),i=r(12852);e.exports=function(e,t){return n(i(e,t),1)}},7674:function(e,t,r){var n=r(32692);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},11689:function(e,t,r){var n=r(17263),i=r(96196);e.exports=function(e,t){return null!=e&&i(e,t,n)}},88314:function(e){e.exports=function(e){return e}},882:function(e,t,r){var n=r(19588),i=r(38752),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},92807:function(e){var t=Array.isArray;e.exports=t},96576:function(e,t,r){var n=r(82784),i=r(89376);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},26738:function(e,t,r){var n=r(28310),i=r(38752);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},71130:function(e,t,r){e=r.nmd(e);var n=r(85783),i=r(45849),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},34442:function(e,t,r){var n=r(13228);e.exports=function(e,t){return n(e,t)}},82784:function(e,t,r){var n=r(28310),i=r(81927);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},89376:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},44411:function(e,t,r){var n=r(83853);e.exports=function(e){return n(e)&&e!=+e}},91813:function(e){e.exports=function(e){return null==e}},83853:function(e,t,r){var n=r(28310),i=r(38752);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},81927:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},38752:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},41493:function(e,t,r){var n=r(28310),i=r(87933),o=r(38752),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},59121:function(e,t,r){var n=r(28310),i=r(92807),o=r(38752);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},52472:function(e,t,r){var n=r(28310),i=r(38752);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},61769:function(e,t,r){var n=r(29303),i=r(35751),o=r(2175),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},57644:function(e,t,r){var n=r(19245),i=r(69894),o=r(96576);e.exports=function(e){return o(e)?n(e):i(e)}},70660:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},96037:function(e,t,r){var n;e=r.nmd(e),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,f=256,p=1/0,h=9007199254740991,m=NaN,y=4294967295,g=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",f]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",x="[object Date]",w="[object Error]",O="[object Function]",j="[object GeneratorFunction]",S="[object Map]",M="[object Number]",k="[object Object]",P="[object Promise]",T="[object RegExp]",E="[object Set]",C="[object String]",L="[object Symbol]",A="[object WeakMap]",D="[object ArrayBuffer]",I="[object DataView]",N="[object Float32Array]",R="[object Float64Array
vendor: 55,388 bytes, line 153
153]",z="[object Int8Array]",F="[object Int16Array]",B="[object Int32Array]",Y="[object Uint8Array]",U="[object Uint8ClampedArray]",H="[object Uint16Array]",$="[object Uint32Array]",W=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,X=RegExp(G.source),J=RegExp(Z.source),K=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ie.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Oe=/['\n\r\u2028\u2029\\]/g,je="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Me="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="['â]",Le="["+je+"]",Ae="["+Ee+"]",De="["+Se+"]",Ie="\\d+",Ne="["+Me+"]",Re="["+ke+"]",ze="[^"+je+Ee+Ie+Me+ke+Pe+"]",Fe="\\ud83c[\\udffb-\\udfff]",Be="[^"+je+"]",Ye="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+Pe+"]",$e="\\u200d",We="(?:"+Re+"|"+ze+")",Ve="(?:"+He+"|"+ze+")",qe="(?:['â](?:d|ll|m|re|s|t|ve))?",Ge="(?:['â](?:D|LL|M|RE|S|T|VE))?",Ze="(?:"+De+"|"+Fe+")"+"?",Xe="["+Te+"]?",Je=Xe+Ze+("(?:"+$e+"(?:"+[Be,Ye,Ue].join("|")+")"+Xe+Ze+")*"),Ke="(?:"+[Ne,Ye,Ue].join("|")+")"+Je,Qe="(?:"+[Be+De+"?",De,Ye,Ue,Le].join("|")+")",et=RegExp(Ce,"g"),tt=RegExp(De,"g"),rt=RegExp(Fe+"(?="+Fe+")|"+Qe+Je,"g"),nt=RegExp([He+"?"+Re+"+"+qe+"(?="+[Ae,He,"$"].join("|")+")",Ve+"+"+Ge+"(?="+[Ae,He+We,"$"].join("|")+")",He+"?"+We+"+"+qe,He+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Ke].join("|"),"g"),it=RegExp("["+$e+je+Se+Te+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[N]=lt[R]=lt[z]=lt[F]=lt[B]=lt[Y]=lt[U]=lt[H]=lt[$]=!0,lt[v]=lt[b]=lt[D]=lt[_]=lt[I]=lt[x]=lt[w]=lt[O]=lt[S]=lt[M]=lt[k]=lt[T]=lt[E]=lt[C]=lt[A]=!1;var ct={};ct[v]=ct[b]=ct[D]=ct[I]=ct[_]=ct[x]=ct[N]=ct[R]=ct[z]=ct[F]=ct[B]=ct[S]=ct[M]=ct[k]=ct[T]=ct[E]=ct[C]=ct[L]=ct[Y]=ct[U]=ct[H]=ct[$]=!0,ct[w]=ct[O]=ct[A]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ft=parseInt,pt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),yt=t&&!t.nodeType&&t,gt=yt&&e&&!e.nodeType&&e,vt=gt&>.exports===yt,bt=vt&&pt.process,_t=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),xt=_t&&_t.isArrayBuffer,wt=_t&&_t.isDate,Ot=_t&&_t.isMap,jt=_t&&_t.isRegExp,St=_t&&_t.isSet,Mt=_t&&_t.isTypedArray;function kt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Pt(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}function Tt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Et(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Ct(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function Lt(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function At(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Dt(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function It(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function Nt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function Rt(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}function zt(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function Ft(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var Bt=qt("length");function Yt(e,t,r){var n;return r(e,function(e,r,i){if(t(e,r,i))return n=r,!1}),n}function Ut(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Ht(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):Ut(e,Wt,r)}function $t(e,t,r,n){for(var i=r-1,o=e.length;++i<o;)if(n(e[i],t))return i;return-1}function Wt(e){return e!=e}function Vt(e,t){var r=null==e?0:e.length;return r?Xt(e,t)/r:m}function qt(e){return function(t){return null==t?i:t[e]}}function Gt(e){return function(t){return null==e?i:e[t]}}function Zt(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}function Xt(e,t){for(var r,n=-1,o=e.length;++n<o;){var a=t(e[n]);a!==i&&(r=r===i?a:r+a)}return r}function Jt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Kt(e){return e?e.slice(0,mr(e)+1).replace(ae,""):e}function Qt(e){return function(t){return e(t)}}function er(e,t){return It(t,function(t){return e[t]})}function tr(e,t){return e.has(t)}function rr(e,t){for(var r=-1,n=e.length;++r<n&&Ht(t,e[r],0)>-1;);return r}function nr(e,t){for(var r=e.length;r--&&Ht(t,e[r],0)>-1;);return r}var ir=Gt({"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}),or=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+ut[e]}function sr(e){return it.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function cr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var a=e[r];a!==t&&a!==s||(e[r]=s,o[i++]=r)}return o}function dr(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function fr(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}function pr(e){return sr(e)?function(e){var t=rt.lastIndex=0;for(;rt.test(e);)++t;return t}(e):Bt(e)}function hr(e){return sr(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.split("")}(e)}function mr(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var yr=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var gr=function e(t){var r,n=(t=null==t?mt:gr.defaults(mt.Object(),t,gr.pick(mt,at))).Array,se=t.Date,je=t.Error,Se=t.Function,Me=t.Math,ke=t.Object,Pe=t.RegExp,Te=t.String,Ee=t.TypeError,Ce=n.prototype,Le=Se.prototype,Ae=ke.prototype,De=t["__core-js_shared__"],Ie=Le.toString,Ne=Ae.hasOwnProperty,Re=0,ze=(r=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Fe=Ae.toString,Be=Ie.call(ke),Ye=mt._,Ue=Pe("^"+Ie.call(Ne).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=vt?t.Buffer:i,$e=t.Symbol,We=t.Uint8Array,Ve=He?He.allocUnsafe:i,qe=cr(ke.getPrototypeOf,ke),Ge=ke.create,Ze=Ae.propertyIsEnumerable,Xe=Ce.splice,Je=$e?$e.isConcatSpreadable:i,Ke=$e?$e.iterator:i,Qe=$e?$e.toStringTag:i,rt=function(){try{var e=po(ke,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Me.ceil,yt=Me.floor,gt=ke.getOwnPropertySymbols,bt=He?He.isBuffer:i,_t=t.isFinite,Bt=Ce.join,Gt=cr(ke.keys,ke),vr=Me.max,br=Me.min,_r=se.now,xr=t.parseInt,wr=Me.random,Or=Ce.reverse,jr=po(t,"DataView"),Sr=po(t,"Map"),Mr=po(t,"Promise"),kr=po(t,"Set"),Pr=po(t,"WeakMap"),Tr=po(ke,"create"),Er=Pr&&new Pr,Cr={},Lr=Fo(jr),Ar=Fo(Sr),Dr=Fo(Mr),Ir=Fo(kr),Nr=Fo(Pr),Rr=$e?$e.prototype:i,zr=Rr?Rr.valueOf:i,Fr=Rr?Rr.toString:i;function Br(e){if(rs(e)&&!Wa(e)&&!(e instanceof $r)){if(e instanceof Hr)return e;if(Ne.call(e,"__wrapped__"))return Bo(e)}return new Hr(e)}var Yr=function(){function e(){}return function(t){if(!ts(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Ur(){}function Hr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function $r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Vr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function qr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new qr;++t<r;)this.add(e[t])}function Zr(e){var t=this.__data__=new Vr(e);this.size=t.size}function Xr(e,t){var r=Wa(e),n=!r&&$a(e),i=!r&&!n&&Za(e),o=!r&&!n&&!i&&us(e),a=r||n||i||o,s=a?Jt(e.length,Te):[],l=s.length;for(var c in e)!t&&!Ne.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_o(c,l))||s.push(c);return s}function Jr(e){var t=e.length;return t?e[Zn(0,t-1)]:i}function Kr(e,t){return No(Ei(e),ln(t,0,e.length))}function Qr(e){return No(Ei(e))}function en(e,t,r){(r!==i&&!Ya(e[t],r)||r===i&&!(t in e))&&an(e,t,r)}function tn(e,t,r){var n=e[t];Ne.call(e,t)&&Ya(n,r)&&(r!==i||t in e)||an(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Ya(e[r][0],t))return r;return-1}function nn(e,t,r,n){return pn(e,function(e,i,o){t(n,e,r(e),o)}),n}function on(e,t){return e&&Ci(t,Ls(t),e)}function an(e,t,r){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function sn(e,t){for(var r=-1,o=t.length,a=n(o),s=null==e;++r<o;)a[r]=s?i:ks(e,t[r]);return a}function ln(e,t,r){return e==e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function cn(e,t,r,n,o,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=o?r(e,n,o,a):r(e)),s!==i)return s;if(!ts(e))return e;var d=Wa(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Ei(e,s)}else{var f=yo(e),p=f==O||f==j;if(Za(e))return ji(e,l);if(f==k||f==v||p&&!o){if(s=c||p?{}:vo(e),!l)return c?function(e,t){return Ci(e,mo(e),t)}(e,function(e,t){return e&&Ci(t,As(t),e)}(s,e)):function(e,t){return Ci(e,ho(e),t)}(e,on(s,e))}else{if(!ct[f])return o?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case D:return Si(e);case _:case x:return new n(+e);case I:return function(e,t){var r=t?Si(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case N:case R:case z:case F:case B:case Y:case U:case H:case $:return Mi(e,r);case S:return new n;case M:case C:return new n(e);case T:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new n;case L:return i=e,zr?ke(zr.call(i)):{}}var i}(e,f,l)}}a||(a=new Zr);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach(function(n){s.add(cn(n,t,r,n,e,a))}):ns(e)&&e.forEach(function(n,i){s.set(i,cn(n,t,r,i,e,a))});var m=d?i:(u?c?oo:io:c?As:Ls)(e);return Tt(m||e,function(n,i){m&&(n=e[i=n]),tn(s,i,cn(n,t,r,i,e,a))}),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=ke(e);n--;){var o=r[n],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Ee(o);return Lo(function(){e.apply(i,r)},t)}function fn(e,t,r,n){var i=-1,o=At,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=It(t,Qt(r))),n?(o=Dt,a=!1):t.length>=200&&(o=tr,a=!1,t=new Gr(t));e:for(;++i<s;){var u=e[i],d=null==r?u:r(u);if(u=n||0!==u?u:0,a&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;l.push(u)}else o(t,d,n)||l.push(u)}return l}Br.templateSettings={escape:K,evaluate:Q,interpolate:ee,variable:"",imports:{_:Br}},Br.prototype=Ur.prototype,Br.prototype.constructor=Br,Hr.prototype=Yr(Ur.prototype),Hr.prototype.constructor=Hr,$r.prototype=Yr(Ur.prototype),$r.prototype.constructor=$r,Wr.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Wr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wr.prototype.get=function(e){var t=this.__data__;if(Tr){var r=t[e];return r===a?i:r}return Ne.call(t,e)?t[e]:i},Wr.prototype.has=function(e){var t=this.__data__;return Tr?t[e]!==i:Ne.call(t,e)},Wr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tr&&t===i?a:t,this},Vr.prototype.clear=function(){this.__data__=[],this.size=0},Vr.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Xe.call(t,r,1),--this.size,!0)},Vr.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?i:t[r][1]},Vr.prototype.has=function(e){return rn(this.__data__,e)>-1},Vr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},qr.prototype.clear=function(){this.size=0,this.__data__={hash:new Wr,map:new(Sr||Vr),string:new Wr}},qr.prototype.delete=function(e){var t=uo(this,e).delete(e);return this.size-=t?1:0,t},qr.prototype.get=function(e){return uo(this,e).get(e)},qr.prototype.has=function(e){return uo(this,e).has(e)},qr.prototype.set=function(e,t){var r=uo(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Gr.prototype.add=Gr.prototype.push=function(e){return this.__data__.set(e,a),this},Gr.prototype.has=function(e){return this.__data__.has(e)},Zr.prototype.clear=function(){this.__data__=new Vr,this.size=0},Zr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Zr.prototype.get=function(e){return this.__data__.get(e)},Zr.prototype.has=function(e){return this.__data__.has(e)},Zr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Vr){var n=r.__data__;if(!Sr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new qr(n)}return r.set(e,t),this.size=r.size,this};var pn=Di(xn),hn=Di(wn,!0);function mn(e,t){var r=!0;return pn(e,function(e,n,i){return r=!!t(e,n,i)}),r}function yn(e,t,r){for(var n=-1,o=e.length;++n<o;){var a=e[n],s=t(a);if(null!=s&&(l===i?s==s&&!cs(s):r(s,l)))var l=s,c=a}return c}function gn(e,t){var r=[];return pn(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}function vn(e,t,r,n,i){var o=-1,a=e.length;for(r||(r=bo),i||(i=[]);++o<a;){var s=e[o];t>0&&r(s)?t>1?vn(s,t-1,r,n,i):Nt(i,s):n||(i[i.length]=s)}return i}var bn=Ii(),_n=Ii(!0);function xn(e,t){return e&&bn(e,t,Ls)}function wn(e,t){return e&&_n(e,t,Ls)}function On(e,t){return Lt(t,function(t){return Ka(e[t])})}function jn(e,t){for(var r=0,n=(t=_i(t,e)).length;null!=e&&r<n;)e=e[zo(t[r++])];return r&&r==n?e:i}function Sn(e,t,r){var n=t(e);return Wa(e)?n:Nt(n,r(e))}function Mn(e){return null==e?e===i?"[object Undefined]":"[object Null]":Qe&&Qe in ke(e)?function(e){var t=Ne.call(e,Qe),r=e[Qe];try{e[Qe]=i;var n=!0}catch(e){}var o=Fe.call(e);n&&(t?e[Qe]=r:delete e[Qe]);return o}(e):function(e){return Fe.call(e)}(e)}function kn(e,t){return e>t}function Pn(e,t){return null!=e&&Ne.call(e,t)}function Tn(e,t){return null!=e&&t in ke(e)}function En(e,t,r){for(var o=r?Dt:At,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];l--;){var f=e[l];l&&t&&(f=It(f,Qt(t))),u=br(f.length,u),c[l]=!r&&(t||a>=120&&f.length>=120)?new Gr(l&&f):i}f=e[0];var p=-1,h=c[0];e:for(;++p<a&&d.length<u;){var m=f[p],y=t?t(m):m;if(m=r||0!==m?m:0,!(h?tr(h,y):o(d,y,r))){for(l=s;--l;){var g=c[l];if(!(g?tr(g,y):o(e[l],y,r)))continue e}h&&h.push(y),d.push(m)}}return d}function Cn(e,t,r){var n=null==(e=To(e,t=_i(t,e)))?e:e[zo(Jo(t))];return null==n?i:kt(n,e,r)}function Ln(e){return rs(e)&&Mn(e)==v}function An(e,t,r,n,o){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,n,o,a){var s=Wa(e),l=Wa(t),c=s?b:yo(e),u=l?b:yo(t),d=(c=c==v?k:c)==k,f=(u=u==v?k:u)==k,p=c==u;if(p&&Za(e)){if(!Za(t))return!1;s=!0,d=!1}if(p&&!d)return a||(a=new Zr),s||us(e)?ro(e,t,r,n,o,a):function(e,t,r,n,i,o,a){switch(r){case I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case D:return!(e.byteLength!=t.byteLength||!o(new We(e),new We(t)));case _:case x:case M:return Ya(+e,+t);case w:return e.name==t.name&&e.message==t.message;case T:case C:return e==t+"";case S:var s=lr;case E:var l=1&n;if(s||(s=dr),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=ro(s(e),s(t),n,i,o,a);return a.delete(e),u;case L:if(zr)return zr.call(e)==zr.call(t)}return!1}(e,t,c,r,n,o,a);if(!(1&r)){var h=d&&Ne.call(e,"__wrapped__"),m=f&&Ne.call(t,"__wrapped__");if(h||m){var y=h?e.value():e,g=m?t.value():t;return a||(a=new Zr),o(y,g,r,n,a)}}if(!p)return!1;return a||(a=new Zr),function(e,t,r,n,o,a){var s=1&r,l=io(e),c=l.length,u=io(t),d=u.length;if(c!=d&&!s)return!1;var f=c;for(;f--;){var p=l[f];if(!(s?p in t:Ne.call(t,p)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var y=!0;a.set(e,t),a.set(t,e);var g=s;for(;++f<c;){var v=e[p=l[f]],b=t[p];if(n)var _=s?n(b,v,p,t,e,a):n(v,b,p,e,t,a);if(!(_===i?v===b||o(v,b,r,n,a):_)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return a.delete(e),a.delete(t),y}(e,t,r,n,o,a)}(e,t,r,n,An,o))}function Dn(e,t,r,n){var o=r.length,a=o,s=!n;if(null==e)return!a;for(e=ke(e);o--;){var l=r[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=r[o])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===i&&!(c in e))return!1}else{var f=new Zr;if(n)var p=n(u,d,c,e,t,f);if(!(p===i?An(d,u,3,n,f):p))return!1}}return!0}function In(e){return!(!ts(e)||(t=e,ze&&ze in t))&&(Ka(e)?Ue:ve).test(Fo(e));var t}function Nn(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Wa(e)?Un(e[0],e[1]):Yn(e):pl(e)}function Rn(e){if(!So(e))return Gt(e);var t=[];for(var r in ke(e))Ne.call(e,r)&&"constructor"!=r&&t.push(r);return t}function zn(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in ke(e))t.push(r);return t}(e);var t=So(e),r=[];for(var n in e)("constructor"!=n||!t&&Ne.call(e,n))&&r.push(n);return r}function Fn(e,t){return e<t}function Bn(e,t){var r=-1,i=qa(e)?n(e.length):[];return pn(e,function(e,n,o){i[++r]=t(e,n,o)}),i}function Yn(e){var t=fo(e);return 1==t.length&&t[0][2]?ko(t[0][0],t[0][1]):function(r){return r===e||Dn(r,e,t)}}function Un(e,t){return wo(e)&&Mo(t)?ko(zo(e),t):function(r){var n=ks(r,e);return n===i&&n===t?Ps(r,e):An(t,n,3)}}function Hn(e,t,r,n,o){e!==t&&bn(t,function(a,s){if(o||(o=new Zr),ts(a))!function(e,t,r,n,o,a,s){var l=Eo(e,r),c=Eo(t,r),u=s.get(c);if(u)return void en(e,r,u);var d=a?a(l,c,r+"",e,t,s):i,f=d===i;if(f){var p=Wa(c),h=!p&&Za(c),m=!p&&!h&&us(c);d=c,p||h||m?Wa(l)?d=l:Ga(l)?d=Ei(l):h?(f=!1,d=ji(c,!0)):m?(f=!1,d=Mi(c,!0)):d=[]:os(c)||$a(c)?(d=l,$a(l)?d=vs(l):ts(l)&&!Ka(l)||(d=vo(c))):f=!1}f&&(s.set(c,d),o(d,c,n,a,s),s.delete(c));en(e,r,d)}(e,t,s,r,Hn,n,o);else{var l=n?n(Eo(e,s),a,s+"",e,t,o):i;l===i&&(l=a),en(e,s,l)}},As)}function $n(e,t){var r=e.length;if(r)return _o(t+=t<0?r:0,r)?e[t]:i}function Wn(e,t,r){t=t.length?It(t,function(e){return Wa(e)?function(t){return jn(t,1===e.length?e[0]:e)}:e}):[il];var n=-1;t=It(t,Qt(co()));var i=Bn(e,function(e,r,i){var o=It(t,function(t){return t(e)});return{criteria:o,index:++n,value:e}});return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(i,function(e,t){return function(e,t,r){var n=-1,i=e.criteria,o=t.criteria,a=i.length,s=r.length;for(;++n<a;){var l=ki(i[n],o[n]);if(l)return n>=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)})}function Vn(e,t,r){for(var n=-1,i=t.length,o={};++n<i;){var a=t[n],s=jn(e,a);r(s,a)&&ei(o,_i(a,e),s)}return o}function qn(e,t,r,n){var i=n?$t:Ht,o=-1,a=t.length,s=e;for(e===t&&(t=Ei(t)),r&&(s=It(e,Qt(r)));++o<a;)for(var l=0,c=t[o],u=r?r(c):c;(l=i(s,u,l,n))>-1;)s!==e&&Xe.call(s,l,1),Xe.call(e,l,1);return e}function Gn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==o){var o=i;_o(i)?Xe.call(e,i,1):fi(e,i)}}return e}function Zn(e,t){return e+yt(wr()*(t-e+1))}function Xn(e,t){var r="";if(!e||t<1||t>h)return r;do{t%2&&(r+=e),(t=yt(t/2))&&(e+=e)}while(t);return r}function Jn(e,t){return Ao(Po(e,t,il),e+"")}function Kn(e){return Jr(Ys(e))}function Qn(e,t){var r=Ys(e);return No(r,ln(t,0,r.length))}function ei(e,t,r,n){if(!ts(e))return e;for(var o=-1,a=(t=_i(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=zo(t[o]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=s){var d=l[c];(u=n?n(d,c,l):i)===i&&(u=ts(d)?d:_o(t[o+1])?[]:{})}tn(l,c,u),l=l[c]}return e}var ti=Er?function(e,t){return Er.set(e,t),e}:il,ri=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:tl(t),writable:!0})}:il;function ni(e){return No(Ys(e))}function ii(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i<o;)a[i]=e[i+t];return a}function oi(e,t){var r;return pn(e,function(e,n,i){return!(r=t(e,n,i))}),!!r}function ai(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var o=n+i>>>1,a=e[o];null!==a&&!cs(a)&&(r?a<=t:a<t)?n=o+1:i=o}return i}return si(e,t,il,r)}function si(e,t,r,n){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,c=cs(t),u=t===i;o<a;){var d=yt((o+a)/2),f=r(e[d]),p=f!==i,h=null===f,m=f==f,y=cs(f);if(s)var g=n||m;else g=u?m&&(n||p):l?m&&p&&(n||!h):c?m&&p&&!h&&(n||!y):!h&&!y&&(n?f<=t:f<t);g?o=d+1:a=d}return br(a,4294967294)}function li(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var a=e[r],s=t?t(a):a;if(!r||!Ya(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ci(e){return"number"==typeof e?e:cs(e)?m:+e}function ui(e){if("string"==typeof e)return e;if(Wa(e))return It(e,ui)+"";if(cs(e))return Fr?Fr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,r){var n=-1,i=At,o=e.length,a=!0,s=[],l=s;if(r)a=!1,i=Dt;else if(o>=200){var c=t?null:Xi(e);if(c)return dr(c);a=!1,i=tr,l=new Gr}else l=t?[]:s;e:for(;++n<o;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,r)||(l!==s&&l.push(d),s.push(u))}return s}function fi(e,t){var r=-1,n=(t=_i(t,e)).length;if(!n)return!0;for(var i=null==e||"object"!=typeof e&&"function"!=typeof e;++r<n;){var o=t[r];if("string"==typeof o){if("__proto__"===o&&!Ne.call(e,"__proto__"))return!1;if("constructor"===o&&r+1<n&&"string"==typeof t[r+1]&&"prototype"===t[r+1]){if(i&&0===r)continue;return!1}}}var a=To(e,t);return null==a||delete a[zo(Jo(t))]}function pi(e,t,r,n){return ei(e,t,r(jn(e,t)),n)}function hi(e,t,r,n){for(var i=e.length,o=n?i:-1;(n?o--:++o<i)&&t(e[o],o,e););return r?ii(e,n?0:o,n?o+1:i):ii(e,n?o+1:0,n?i:o)}function mi(e,t){var r=e;return r instanceof $r&&(r=r.value()),Rt(t,function(e,t){return t.func.apply(t.thisArg,Nt([e],t.args))},r)}function yi(e,t,r){var i=e.length;if(i<2)return i?di(e[0]):[];for(var o=-1,a=n(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=fn(a[o]||s,e[l],t,r));return di(vn(a,1),t,r)}function gi(e,t,r){for(var n=-1,o=e.length,a=t.length,s={};++n<o;){var l=n<a?t[n]:i;r(s,e[n],l)}return s}function vi(e){return Ga(e)?e:[]}function bi(e){return"function"==typeof e?e:il}function _i(e,t){return Wa(e)?e:wo(e,t)?[e]:Ro(bs(e))}var xi=Jn;function wi(e,t,r){var n=e.length;return r=r===i?n:r,!t&&r>=n?e:ii(e,t,r)}var Oi=it||function(e){return mt.clearTimeout(e)};function ji(e,t){if(t)return e.slice();var r=e.length,n=Ve?Ve(r):new e.constructor(r);return e.copy(n),n}function Si(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Mi(e,t){var r=t?Si(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function ki(e,t){if(e!==t){var r=e!==i,n=null===e,o=e==e,a=cs(e),s=t!==i,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||n&&s&&c||!r&&c||!o)return 1;if(!n&&!a&&!u&&e<t||u&&r&&o&&!n&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}function Pi(e,t,r,i){for(var o=-1,a=e.length,s=r.length,l=-1,c=t.length,u=vr(a-s,0),d=n(c+u),f=!i;++l<c;)d[l]=t[l];for(;++o<s;)(f||o<a)&&(d[r[o]]=e[o]);for(;u--;)d[l++]=e[o++];return d}function Ti(e,t,r,i){for(var o=-1,a=e.length,s=-1,l=r.length,c=-1,u=t.length,d=vr(a-l,0),f=n(d+u),p=!i;++o<d;)f[o]=e[o];for(var h=o;++c<u;)f[h+c]=t[c];for(;++s<l;)(p||o<a)&&(f[h+r[s]]=e[o++]);return f}function Ei(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Ci(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=n?n(r[l],e[l],l,r,e):i;c===i&&(c=e[l]),o?an(r,l,c):tn(r,l,c)}return r}function Li(e,t){return function(r,n){var i=Wa(r)?Pt:nn,o=t?t():{};return i(r,e,co(n,2),o)}}function Ai(e){return Jn(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:i,s=o>2?r[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&xo(r[0],r[1],s)&&(a=o<3?i:a,o=1),t=ke(t);++n<o;){var l=r[n];l&&e(t,l,n,a)}return t})}function Di(e,t){return function(r,n){if(null==r)return r;if(!qa(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=ke(r);(t?o--:++o<i)&&!1!==n(a[o],o,a););return r}}function Ii(e){return function(t,r,n){for(var i=-1,o=ke(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}function Ni(e){return function(t){var r=sr(t=bs(t))?hr(t):i,n=r?r[0]:t.charAt(0),o=r?wi(r,1).join(""):t.slice(1);return n[e]()+o}}function Ri(e){return function(t){return Rt(Ks($s(t).replace(et,"")),e,"")}}function zi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Yr(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function Fi(e){return function(t,r,n){var o=ke(t);if(!qa(t)){var a=co(r,3);t=Ls(t),r=function(e){return a(o[e],e,o)}}var s=e(t,r,n);return s>-1?o[a?t[s]:s]:i}}function Bi(e){return no(function(t){var r=t.length,n=r,a=Hr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Ee(o);if(a&&!l&&"wrapper"==so(s))var l=new Hr([],!0)}for(n=l?n:r;++n<r;){var c=so(s=t[n]),u="wrapper"==c?ao(s):i;l=u&&Oo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[so(u[0])].apply(l,u[3]):1==s.length&&Oo(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Wa(n))return l.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}})}function Yi(e,t,r,o,a,s,l,c,u,f){var p=t&d,h=1&t,m=2&t,y=24&t,g=512&t,v=m?i:zi(e);return function d(){for(var b=arguments.length,_=n(b),x=b;x--;)_[x]=arguments[x];if(y)var w=lo(d),O=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(_,w);if(o&&(_=Pi(_,o,a,y)),s&&(_=Ti(_,s,l,y)),b-=O,y&&b<f){var j=ur(_,w);return Gi(e,t,Yi,d.placeholder,r,_,j,c,u,f-b)}var S=h?r:this,M=m?S[e]:e;return b=_.length,c?_=function(e,t){var r=e.length,n=br(t.length,r),o=Ei(e);for(;n--;){var a=t[n];e[n]=_o(a,r)?o[a]:i}return e}(_,c):g&&b>1&&_.reverse(),p&&u<b&&(_.length=u),this&&this!==mt&&this instanceof d&&(M=v||zi(M)),M.apply(S,_)}}function Ui(e,t){return function(r,n){return function(e,t,r,n){return xn(e,function(e,i,o){t(n,r(e),i,o)}),n}(r,e,t(n),{})}}function Hi(e,t){return function(r,n){var o;if(r===i&&n===i)return t;if(r!==i&&(o=r),n!==i){if(o===i)return n;"string"==typeof r||"string"==typeof n?(r=ui(r),n=ui(n)):(r=ci(r),n=ci(n)),o=e(r,n)}return o}}function $i(e){return no(function(t){return t=It(t,Qt(co())),Jn(function(r){var n=this;return e(t,function(e){return kt(e,n,r)})})})}function Wi(e,t){var r=(t=t===i?" ":ui(t)).length;if(r<2)return r?Xn(t,e):t;var n=Xn(t,ht(e/pr(t)));return sr(t)?wi(hr(n),0,e).join(""):n.slice(0,e)}function Vi(e){return function(t,r,o){return o&&"number"!=typeof o&&xo(t,r,o)&&(r=o=i),t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r,i){for(var o=-1,a=vr(ht((t-e)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=e,e+=r;return s}(t,r,o=o===i?t<r?1:-1:hs(o),e)}}function qi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=gs(t),r=gs(r)),e(t,r)}}function Gi(e,t,r,n,o,a,s,l,d,f){var p=8&t;t|=p?c:u,4&(t&=~(p?u:c))||(t&=-4);var h=[e,t,o,p?a:i,p?s:i,p?i:a,p?i:s,l,d,f],m=r.apply(i,h);return Oo(e)&&Co(m,h),m.placeholder=n,Do(m,e,t)}function Zi(e){var t=Me[e];return function(e,r){if(e=gs(e),(r=null==r?0:br(ms(r),292))&&_t(e)){var n=(bs(e)+"e").split("e");return+((n=(bs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Xi=kr&&1/dr(new kr([,-0]))[1]==p?function(e){return new kr(e)}:cl;function Ji(e){return function(t){var r=yo(t);return r==S?lr(t):r==E?fr(t):function(e,t){return It(t,function(t){return[t,e[t]]})}(t,e(t))}}function Ki(e,t,r,a,p,h,m,y){var g=2&t;if(!g&&"function"!=typeof e)throw new Ee(o);var v=a?a.length:0;if(v||(t&=-97,a=p=i),m=m===i?m:vr(ms(m),0),y=y===i?y:ms(y),v-=p?p.length:0,t&u){var b=a,_=p;a=p=i}var x=g?i:ao(e),w=[e,t,r,a,p,b,_,h,m,y];if(x&&function(e,t){var r=e[1],n=t[1],i=r|n,o=i<131,a=n==d&&8==r||n==d&&r==f&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!o&&!a)return e;1&n&&(e[2]=t[2],i|=1&r?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?Pi(c,l,t[4]):l,e[4]=c?ur(e[3],s):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Ti(c,l,t[6]):l,e[6]=c?ur(e[5],s):t[6]);(l=t[7])&&(e[7]=l);n&d&&(e[8]=null==e[8]?t[8]:br(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(w,x),e=w[0],t=w[1],r=w[2],a=w[3],p=w[4],!(y=w[9]=w[9]===i?g?0:e.length:vr(w[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)O=8==t||t==l?function(e,t,r){var o=zi(e);return function a(){for(var s=arguments.length,l=n(s),c=s,u=lo(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:ur(l,u);return(s-=d.length)<r?Gi(e,t,Yi,a.placeholder,i,l,d,i,i,r-s):kt(this&&this!==mt&&this instanceof a?o:e,this,l)}}(e,t,y):t!=c&&33!=t||p.length?Yi.apply(i,w):function(e,t,r,i){var o=1&t,a=zi(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l),f=this&&this!==mt&&this instanceof t?a:e;++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return kt(f,o?r:this,d)}}(e,t,r,a);else var O=function(e,t,r){var n=1&t,i=zi(e);return function t(){return(this&&this!==mt&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return Do((x?ti:Co)(O,w),e,t)}function Qi(e,t,r,n){return e===i||Ya(e,Ae[r])&&!Ne.call(n,r)?t:e}function eo(e,t,r,n,o,a){return ts(e)&&ts(t)&&(a.set(t,e),Hn(e,t,i,eo,a),a.delete(t)),e}function to(e){return os(e)?i:e}function ro(e,t,r,n,o,a){var s=1&r,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,h=2&r?new Gr:i;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],y=t[f];if(n)var g=s?n(y,m,f,t,e,a):n(m,y,f,e,t,a);if(g!==i){if(g)continue;p=!1;break}if(h){if(!Ft(t,function(e,t){if(!tr(h,t)&&(m===e||o(m,e,r,n,a)))return h.push(t)})){p=!1;break}}else if(m!==y&&!o(m,y,r,n,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function no(e){return Ao(Po(e,i,Vo),e+"")}function io(e){return Sn(e,Ls,ho)}function oo(e){return Sn(e,As,mo)}var ao=Er?function(e){return Er.get(e)}:cl;function so(e){for(var t=e.name+"",r=Cr[t],n=Ne.call(Cr,t)?r.length:0;n--;){var i=r[n],o=i.func;if(null==o||o==e)return i.name}return t}function lo(e){return(Ne.call(Br,"placeholder")?Br:e).placeholder}function co(){var e=Br.iteratee||ol;return e=e===ol?Nn:e,arguments.length?e(arguments[0],arguments[1]):e}function uo(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function fo(e){for(var t=Ls(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Mo(i)]}return t}function po(e,t){var r=function(e,t){return null==e?i:e[t]}(e,t);return In(r)?r:i}var ho=gt?function(e){return null==e?[]:(e=ke(e),Lt(gt(e),function(t){return Ze.call(e,t)}))}:yl,mo=gt?function(e){for(var t=[];e;)Nt(t,ho(e)),e=qe(e);return t}:yl,yo=Mn;function go(e,t,r){for(var n=-1,i=(t=_i(t,e)).length,o=!1;++n<i;){var a=zo(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&es(i)&&_o(a,i)&&(Wa(e)||$a(e))}function vo(e){return"function"!=typeof e.constructor||So(e)?{}:Yr(qe(e))}function bo(e){return Wa(e)||$a(e)||!!(Je&&e&&e[Je])}function _o(e,t){var r=typeof e;return!!(t=null==t?h:t)&&("number"==r||"symbol"!=r&&_e.test(e))&&e>-1&&e%1==0&&e<t}function xo(e,t,r){if(!ts(r))return!1;var n=typeof t;return!!("number"==n?qa(r)&&_o(t,r.length):"string"==n&&t in r)&&Ya(r[t],e)}function wo(e,t){if(Wa(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!cs(e))||(re.test(e)||!te.test(e)||null!=t&&e in ke(t))}function Oo(e){var t=so(e),r=Br[t];if("function"!=typeof r||!(t in $r.prototype))return!1;if(e===r)return!0;var n=ao(r);return!!n&&e===n[0]}(jr&&yo(new jr(new ArrayBuffer(1)))!=I||Sr&&yo(new Sr)!=S||Mr&&yo(Mr.resolve())!=P||kr&&yo(new kr)!=E||Pr&&yo(new Pr)!=A)&&(yo=function(e){var t=Mn(e),r=t==k?e.constructor:i,n=r?Fo(r):"";if(n)switch(n){case Lr:return I;case Ar:return S;case Dr:return P;case Ir:return E;case Nr:return A}return t});var jo=De?Ka:gl;function So(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function Mo(e){return e==e&&!ts(e)}function ko(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==i||e in ke(r)))}}function Po(e,t,r){return t=vr(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=vr(i.length-t,0),s=n(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=n(t+1);++o<t;)l[o]=i[o];return l[t]=r(s),kt(e,this,l)}}function To(e,t){return t.length<2?e:jn(e,ii(t,0,-1))}function Eo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Co=Io(ti),Lo=pt||function(e,t){return mt.setTimeout(e,t)},Ao=Io(ri);function Do(e,t,r){var n=t+"";return Ao(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Tt(g,function(r){var n="_."+r[0];t&r[1]&&!At(e,n)&&e.push(n)}),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(n),r)))}function Io(e){var t=0,r=0;return function(){var n=_r(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function No(e,t){var r=-1,n=e.length,o=n-1;for(t=t===i?n:t;++r<t;){var a=Zn(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Ro=function(e){var t=Ia(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,function(e,r,n,i){t.push(n?i.replace(pe,"$1"):r||e)}),t});function zo(e){if("string"==typeof e||cs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Fo(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Bo(e){if(e instanceof $r)return e.clone();var t=new Hr(e.__wrapped__,e.__chain__);return t.__actions__=Ei(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Yo=Jn(function(e,t){return Ga(e)?fn(e,vn(t,1,Ga,!0)):[]}),Uo=Jn(function(e,t){var r=Jo(t);return Ga(r)&&(r=i),Ga(e)?fn(e,vn(t,1,Ga,!0),co(r,2)):[]}),Ho=Jn(function(e,t){var r=Jo(t);return Ga(r)&&(r=i),Ga(e)?fn(e,vn(t,1,Ga,!0),i,r):[]});function $o(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ms(r);return i<0&&(i=vr(n+i,0)),Ut(e,co(t,3),i)}function Wo(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n-1;return r!==i&&(o=ms(r),o=r<0?vr(n+o,0):br(o,n-1)),Ut(e,co(t,3),o,!0)}function Vo(e){return(null==e?0:e.length)?vn(e,1):[]}function qo(e){return e&&e.length?e[0]:i}var Go=Jn(function(e){var t=It(e,vi);return t.length&&t[0]===e[0]?En(t):[]}),Zo=Jn(function(e){var t=Jo(e),r=It(e,vi);return t===Jo(r)?t=i:r.pop(),r.length&&r[0]===e[0]?En(r,co(t,2)):[]}),Xo=Jn(function(e){var t=Jo(e),r=It(e,vi);return(t="function"==typeof t?t:i)&&r.pop(),r.length&&r[0]===e[0]?En(r,i,t):[]});function Jo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Ko=Jn(Qo);function Qo(e,t){return e&&e.length&&t&&t.length?qn(e,t):e}var ea=no(function(e,t){var r=null==e?0:e.length,n=sn(e,t);return Gn(e,It(t,function(e){return _o(e,r)?+e:e}).sort(ki)),n});function ta(e){return null==e?e:Or.call(e)}var ra=Jn(function(e){return di(vn(e,1,Ga,!0))}),na=Jn(function(e){var t=Jo(e);return Ga(t)&&(t=i),di(vn(e,1,Ga,!0),co(t,2))}),ia=Jn(function(e){var t=Jo(e);return t="function"==typeof t?t:i,di(vn(e,1,Ga,!0),i,t)});function oa(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,function(e){if(Ga(e))return t=vr(e.length,t),!0}),Jt(t,function(t){return It(e,qt(t))})}function aa(e,t){if(!e||!e.length)return[];var r=oa(e);return null==t?r:It(r,function(e){return kt(t,i,e)})}var sa=Jn(function(e,t){return Ga(e)?fn(e,t):[]}),la=Jn(function(e){return yi(Lt(e,Ga))}),ca=Jn(function(e){var t=Jo(e);return Ga(t)&&(t=i),yi(Lt(e,Ga),co(t,2))}),ua=Jn(function(e){var t=Jo(e);return t="function"==typeof t?t:i,yi(Lt(e,Ga),i,t)}),da=Jn(oa);var fa=Jn(function(e){var t=e.length,r=t>1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,aa(e,r)});function pa(e){var t=Br(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=no(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,o=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof $r&&_o(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[o],thisArg:i}),new Hr(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)});var ya=Li(function(e,t,r){Ne.call(e,r)?++e[r]:an(e,r,1)});var ga=Fi($o),va=Fi(Wo);function ba(e,t){return(Wa(e)?Tt:pn)(e,co(t,3))}function _a(e,t){return(Wa(e)?Et:hn)(e,co(t,3))}var xa=Li(function(e,t,r){Ne.call(e,r)?e[r].push(t):an(e,r,[t])});var wa=Jn(function(e,t,r){var i=-1,o="function"==typeof t,a=qa(e)?n(e.length):[];return pn(e,function(e){a[++i]=o?kt(t,e,r):Cn(e,t,r)}),a}),Oa=Li(function(e,t,r){an(e,r,t)});function ja(e,t){return(Wa(e)?It:Bn)(e,co(t,3))}var Sa=Li(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});var Ma=Jn(function(e,t){if(null==e)return[];var r=t.length;return r>1&&xo(e,t[0],t[1])?t=[]:r>2&&xo(t[0],t[1],t[2])&&(t=[t[0]]),Wn(e,vn(t,1),[])}),ka=ut||function(){return mt.Date.now()};function Pa(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Ki(e,d,i,i,i,i,t)}function Ta(e,t){var r;if("function"!=typeof t)throw new Ee(o);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Ea=Jn(function(e,t,r){var n=1;if(r.length){var i=ur(r,lo(Ea));n|=c}return Ki(e,n,t,r,i)}),Ca=Jn(function(e,t,r){var n=3;if(r.length){var i=ur(r,lo(Ca));n|=c}return Ki(t,n,e,r,i)});function La(e,t,r){var n,a,s,l,c,u,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ee(o);function m(t){var r=n,o=a;return n=a=i,d=t,l=e.apply(o,r)}function y(e){var r=e-u;return u===i||r>=t||r<0||p&&e-d>=s}function g(){var e=ka();if(y(e))return v(e);c=Lo(g,function(e){var r=t-(e-u);return p?br(r,s-(e-d)):r}(e))}function v(e){return c=i,h&&n?m(e):(n=a=i,l)}function b(){var e=ka(),r=y(e);if(n=arguments,a=this,u=e,r){if(c===i)return function(e){return d=e,c=Lo(g,t),f?m(e):l}(u);if(p)return Oi(c),c=Lo(g,t),m(u)}return c===i&&(c=Lo(g,t)),l}return t=gs(t)||0,ts(r)&&(f=!!r.leading,s=(p="maxWait"in r)?vr(gs(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),b.cancel=function(){c!==i&&Oi(c),d=0,n=u=a=c=i},b.flush=function(){return c===i?l:v(ka())},b}var Aa=Jn(function(e,t){return dn(e,1,t)}),Da=Jn(function(e,t,r){return dn(e,gs(t)||0,r)});function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(o);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Ia.Cache||qr),r}function Na(e){if("function"!=typeof e)throw new Ee(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ia.Cache=qr;var Ra=xi(function(e,t){var r=(t=1==t.length&&Wa(t[0])?It(t[0],Qt(co())):It(vn(t,1),Qt(co()))).length;return Jn(function(n){for(var i=-1,o=br(n.length,r);++i<o;)n[i]=t[i].call(this,n[i]);return kt(e,this,n)})}),za=Jn(function(e,t){var r=ur(t,lo(za));return Ki(e,c,i,t,r)}),Fa=Jn(function(e,t){var r=ur(t,lo(Fa));return Ki(e,u,i,t,r)}),Ba=no(function(e,t){return Ki(e,f,i,i,i,t)});function Ya(e,t){return e===t||e!=e&&t!=t}var Ua=qi(kn),Ha=qi(function(e,t){return e>=t}),$a=Ln(function(){return arguments}())?Ln:function(e){return rs(e)&&Ne.call(e,"callee")&&!Ze.call(e,"callee")},Wa=n.isArray,Va=xt?Qt(xt):function(e){return rs(e)&&Mn(e)==D};function qa(e){return null!=e&&es(e.length)&&!Ka(e)}function Ga(e){return rs(e)&&qa(e)}var Za=bt||gl,Xa=wt?Qt(wt):function(e){return rs(e)&&Mn(e)==x};function Ja(e){if(!rs(e))return!1;var t=Mn(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Ka(e){if(!ts(e))return!1;var t=Mn(e);return t==O||t==j||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qa(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=Ot?Qt(Ot):function(e){return rs(e)&&yo(e)==S};function is(e){return"number"==typeof e||rs(e)&&Mn(e)==M}function os(e){if(!rs(e)||Mn(e)!=k)return!1;var t=qe(e);if(null===t)return!0;var r=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ie.call(r)==Be}var as=jt?Qt(jt):function(e){return rs(e)&&Mn(e)==T};var ss=St?Qt(St):function(e){return rs(e)&&yo(e)==E};function ls(e){return"string"==typeof e||!Wa(e)&&rs(e)&&Mn(e)==C}function cs(e){return"symbol"==typeof e||rs(e)&&Mn(e)==L}var us=Mt?Qt(Mt):function(e){return rs(e)&&es(e.length)&&!!lt[Mn(e)]};var ds=qi(Fn),fs=qi(function(e,t){return e<=t});function ps(e){if(!e)return[];if(qa(e))return ls(e)?hr(e):Ei(e);if(Ke&&e[Ke])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ke]());var t=yo(e);return(t==S?lr:t==E?dr:Ys)(e)}function hs(e){return e?(e=gs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function ys(e){return e?ln(ms(e),0,y):0}function gs(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=ge.test(e);return r||be.test(e)?ft(e.slice(2),r?2:8):ye.test(e)?m:+e}function vs(e){return Ci(e,As(e))}function bs(e){return null==e?"":ui(e)}var _s=Ai(function(e,t){if(So(t)||qa(t))Ci(t,Ls(t),e);else for(var r in t)Ne.call(t,r)&&tn(e,r,t[r])}),xs=Ai(function(e,t){Ci(t,As(t),e)}),ws=Ai(function(e,t,r,n){Ci(t,As(t),e,n)}),Os=Ai(function(e,t,r,n){Ci(t,Ls(t),e,n)}),js=no(sn);var Ss=Jn(function(e,t){e=ke(e);var r=-1,n=t.length,o=n>2?t[2]:i;for(o&&xo(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],s=As(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===i||Ya(d,Ae[u])&&!Ne.call(e,u))&&(e[u]=a[u])}return e}),Ms=Jn(function(e){return e.push(i,eo),kt(Is,i,e)});function ks(e,t,r){var n=null==e?i:jn(e,t);return n===i?r:n}function Ps(e,t){return null!=e&&go(e,t,Tn)}var Ts=Ui(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=r},tl(il)),Es=Ui(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Ne.call(e,t)?e[t].push(r):e[t]=[r]},co),Cs=Jn(Cn);function Ls(e){return qa(e)?Xr(e):Rn(e)}function As(e){return qa(e)?Xr(e,!0):zn(e)}var Ds=Ai(function(e,t,r){Hn(e,t,r)}),Is=Ai(function(e,t,r,n){Hn(e,t,r,n)}),Ns=no(function(e,t){var r={};if(null==e)return r;var n=!1;t=It(t,function(t){return t=_i(t,e),n||(n=t.length>1),t}),Ci(e,oo(e),r),n&&(r=cn(r,7,to));for(var i=t.length;i--;)fi(r,t[i]);return r});var Rs=no(function(e,t){return null==e?{}:function(e,t){return Vn(e,t,function(t,r){return Ps(e,r)})}(e,t)});function zs(e,t){if(null==e)return{};var r=It(oo(e),function(e){return[e]});return t=co(t),Vn(e,r,function(e,r){return t(e,r[0])})}var Fs=Ji(Ls),Bs=Ji(As);function Ys(e){return null==e?[]:er(e,Ls(e))}var Us=Ri(function(e,t,r){return t=t.toLowerCase(),e+(r?Hs(t):t)});function Hs(e){return Js(bs(e).toLowerCase())}function $s(e){return(e=bs(e))&&e.replace(xe,ir).replace(tt,"")}var Ws=Ri(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),Vs=Ri(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),qs=Ni("toLowerCase");var Gs=Ri(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});var Zs=Ri(function(e,t,r){return e+(r?" ":"")+Js(t)});var Xs=Ri(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Js=Ni("toUpperCase");function Ks(e,t,r){return e=bs(e),(t=r?i:t)===i?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Qs=Jn(function(e,t){try{return kt(e,i,t)}catch(e){return Ja(e)?e:new je(e)}}),el=no(function(e,t){return Tt(t,function(t){t=zo(t),an(e,t,Ea(e[t],e))}),e});function tl(e){return function(){return e}}var rl=Bi(),nl=Bi(!0);function il(e){return e}function ol(e){return Nn("function"==typeof e?e:cn(e,1))}var al=Jn(function(e,t){return function(r){return Cn(r,e,t)}}),sl=Jn(function(e,t){return function(r){return Cn(e,r,t)}});function ll(e,t,r){var n=Ls(t),i=On(t,n);null!=r||ts(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=On(t,Ls(t)));var o=!(ts(r)&&"chain"in r&&!r.chain),a=Ka(e);return Tt(i,function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__);return(r.__actions__=Ei(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Nt([this.value()],arguments))})}),e}function cl(){}var ul=$i(It),dl=$i(Ct),fl=$i(Ft);function pl(e){return wo(e)?qt(zo(e)):function(e){return function(t){return jn(t,e)}}(e)}var hl=Vi(),ml=Vi(!0);function yl(){return[]}function gl(){return!1}var vl=Hi(function(e,t){return e+t},0),bl=Zi("ceil"),_l=Hi(function(e,t){return e/t},1),xl=Zi("floor");var wl,Ol=Hi(function(e,t){return e*t},1),jl=Zi("round"),Sl=Hi(function(e,t){return e-t},0);return Br.after=function(e,t){if("function"!=typeof t)throw new Ee(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Br.ary=Pa,Br.assign=_s,Br.assignIn=xs,Br.assignInWith=ws,Br.assignWith=Os,Br.at=js,Br.before=Ta,Br.bind=Ea,Br.bindAll=el,Br.bindKey=Ca,Br.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Br.chain=pa,Br.chunk=function(e,t,r){t=(r?xo(e,t,r):t===i)?1:vr(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=n(ht(o/t));a<o;)l[s++]=ii(e,a,a+=t);return l},Br.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var o=e[t];o&&(i[n++]=o)}return i},Br.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Nt(Wa(r)?Ei(r):[r],vn(t,1))},Br.cond=function(e){var t=null==e?0:e.length,r=co();return e=t?It(e,function(e){if("function"!=typeof e[1])throw new Ee(o);return[r(e[0]),e[1]]}):[],Jn(function(r){for(var n=-1;++n<t;){var i=e[n];if(kt(i[0],this,r))return kt(i[1],this,r)}})},Br.conforms=function(e){return function(e){var t=Ls(e);return function(r){return un(r,e,t)}}(cn(e,1))},Br.constant=tl,Br.countBy=ya,Br.create=function(e,t){var r=Yr(e);return null==t?r:on(r,t)},Br.curry=function e(t,r,n){var o=Ki(t,8,i,i,i,i,i,r=n?i:r);return o.placeholder=e.placeholder,o},Br.curryRight=function e(t,r,n){var o=Ki(t,l,i,i,i,i,i,r=n?i:r);return o.placeholder=e.placeholder,o},Br.debounce=La,Br.defaults=Ss,Br.defaultsDeep=Ms,Br.defer=Aa,Br.delay=Da,Br.difference=Yo,Br.differenceBy=Uo,Br.differenceWith=Ho,Br.drop=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=r||t===i?1:ms(t))<0?0:t,n):[]},Br.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,0,(t=n-(t=r||t===i?1:ms(t)))<0?0:t):[]},Br.dropRightWhile=function(e,t){return e&&e.length?hi(e,co(t,3),!0,!0):[]},Br.dropWhile=function(e,t){return e&&e.length?hi(e,co(t,3),!0):[]},Br.fill=function(e,t,r,n){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xo(e,t,r)&&(r=0,n=o),function(e,t,r,n){var o=e.length;for((r=ms(r))<0&&(r=-r>o?0:o+r),(n=n===i||n>o?o:ms(n))<0&&(n+=o),n=r>n?0:ys(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},Br.filter=function(e,t){return(Wa(e)?Lt:gn)(e,co(t,3))},Br.flatMap=function(e,t){return vn(ja(e,t),1)},Br.flatMapDeep=function(e,t){return vn(ja(e,t),p)},Br.flatMapDepth=function(e,t,r){return r=r===i?1:ms(r),vn(ja(e,t),r)},Br.flatten=Vo,Br.flattenDeep=function(e){return(null==e?0:e.length)?vn(e,p):[]},Br.flattenDepth=function(e,t){return(null==e?0:e.length)?vn(e,t=t===i?1:ms(t)):[]},Br.flip=function(e){return Ki(e,512)},Br.flow=rl,Br.flowRight=nl,Br.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},Br.functions=function(e){return null==e?[]:On(e,Ls(e))},Br.functionsIn=function(e){return null==e?[]:On(e,As(e))},Br.groupBy=xa,Br.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},Br.intersection=Go,Br.intersectionBy=Zo,Br.intersectionWith=Xo,Br.invert=Ts,Br.invertBy=Es,Br.invokeMap=wa,Br.iteratee=ol,Br.keyBy=Oa,Br.keys=Ls,Br.keysIn=As,Br.map=ja,Br.mapKeys=function(e,t){var r={};return t=co(t,3),xn(e,function(e,n,i){an(r,t(e,n,i),e)}),r},Br.mapValues=function(e,t){var r={};return t=co(t,3),xn(e,function(e,n,i){an(r,n,t(e,n,i))}),r},Br.matches=function(e){return Yn(cn(e,1))},Br.matchesProperty=function(e,t){return Un(e,cn(t,1))},Br.memoize=Ia,Br.merge=Ds,Br.mergeWith=Is,Br.method=al,Br.methodOf=sl,Br.mixin=ll,Br.negate=Na,Br.nthArg=function(e){return e=ms(e),Jn(function(t){return $n(t,e)})},Br.omit=Ns,Br.omitBy=function(e,t){return zs(e,Na(co(t)))},Br.once=function(e){return Ta(2,e)},Br.orderBy=function(e,t,r,n){return null==e?[]:(Wa(t)||(t=null==t?[]:[t]),Wa(r=n?i:r)||(r=null==r?[]:[r]),Wn(e,t,r))},Br.over=ul,Br.overArgs=Ra,Br.overEvery=dl,Br.overSome=fl,Br.partial=za,Br.partialRight=Fa,Br.partition=Sa,Br.pick=Rs,Br.pickBy=zs,Br.property=pl,Br.propertyOf=function(e){return function(t){return null==e?i:jn(e,t)}},Br.pull=Ko,Br.pullAll=Qo,Br.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?qn(e,t,co(r,2)):e},Br.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?qn(e,t,i,r):e},Br.pullAt=ea,Br.range=hl,Br.rangeRight=ml,Br.rearg=Ba,Br.reject=function(e,t){return(Wa(e)?Lt:gn)(e,Na(co(t,3)))},Br.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],o=e.length;for(t=co(t,3);++n<o;){var a=e[n];t(a,n,e)&&(r.push(a),i.push(n))}return Gn(e,i),r},Br.rest=function(e,t){if("function"!=typeof e)throw new Ee(o);return Jn(e,t=t===i?t:ms(t))},Br.reverse=ta,Br.sampleSize=function(e,t,r){return t=(r?xo(e,t,r):t===i)?1:ms(t),(Wa(e)?Kr:Qn)(e,t)},Br.set=function(e,t,r){return null==e?e:ei(e,t,r)},Br.setWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:ei(e,t,r,n)},Br.shuffle=function(e){return(Wa(e)?Qr:ni)(e)},Br.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&xo(e,t,r)?(t=0,r=n):(t=null==t?0:ms(t),r=r===i?n:ms(r)),ii(e,t,r)):[]},Br.sortBy=Ma,Br.sortedUniq=function(e){return e&&e.length?li(e):[]},Br.sortedUniqBy=function(e,t){return e&&e.length?li(e,co(t,2)):[]},Br.split=function(e,t,r){return r&&"number"!=typeof r&&xo(e,t,r)&&(t=r=i),(r=r===i?y:r>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=ui(t))&&sr(e)?wi(hr(e),0,r):e.split(t,r):[]},Br.spread=function(e,t){if("function"!=typeof e)throw new Ee(o);return t=null==t?0:vr(ms(t),0),Jn(function(r){var n=r[t],i=wi(r,0,t);return n&&Nt(i,n),kt(e,this,i)})},Br.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Br.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:ms(t))<0?0:t):[]},Br.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:ms(t)))<0?0:t,n):[]},Br.takeRightWhile=function(e,t){return e&&e.length?hi(e,co(t,3),!1,!0):[]},Br.takeWhile=function(e,t){return e&&e.length?hi(e,co(t,3)):[]},Br.tap=function(e,t){return t(e),e},Br.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Ee(o);return ts(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),La(e,t,{leading:n,maxWait:t,trailing:i})},Br.thru=ha,Br.toArray=ps,Br.toPairs=Fs,Br.toPairsIn=Bs,Br.toPath=function(e){return Wa(e)?It(e,zo):cs(e)?[e]:Ei(Ro(bs(e)))},Br.toPlainObject=vs,Br.transform=function(e,t,r){var n=Wa(e),i=n||Za(e)||us(e);if(t=co(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:ts(e)&&Ka(o)?Yr(qe(e)):{}}return(i?Tt:xn)(e,function(e,n,i){return t(r,e,n,i)}),r},Br.unary=function(e){return Pa(e,1)},Br.union=ra,Br.unionBy=na,Br.unionWith=ia,Br.uniq=function(e){return e&&e.length?di(e):[]},Br.uniqBy=function(e,t){return e&&e.length?di(e,co(t,2)):[]},Br.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},Br.unset=function(e,t){return null==e||fi(e,t)},Br.unzip=oa,Br.unzipWith=aa,Br.update=function(e,t,r){return null==e?e:pi(e,t,bi(r))},Br.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:pi(e,t,bi(r),n)}
vendor: 5,980 bytes, line 153
153,Br.values=Ys,Br.valuesIn=function(e){return null==e?[]:er(e,As(e))},Br.without=sa,Br.words=Ks,Br.wrap=function(e,t){return za(bi(t),e)},Br.xor=la,Br.xorBy=ca,Br.xorWith=ua,Br.zip=da,Br.zipObject=function(e,t){return gi(e||[],t||[],tn)},Br.zipObjectDeep=function(e,t){return gi(e||[],t||[],ei)},Br.zipWith=fa,Br.entries=Fs,Br.entriesIn=Bs,Br.extend=xs,Br.extendWith=ws,ll(Br,Br),Br.add=vl,Br.attempt=Qs,Br.camelCase=Us,Br.capitalize=Hs,Br.ceil=bl,Br.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=gs(r))==r?r:0),t!==i&&(t=(t=gs(t))==t?t:0),ln(gs(e),t,r)},Br.clone=function(e){return cn(e,4)},Br.cloneDeep=function(e){return cn(e,5)},Br.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:i)},Br.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:i)},Br.conformsTo=function(e,t){return null==t||un(e,t,Ls(t))},Br.deburr=$s,Br.defaultTo=function(e,t){return null==e||e!=e?t:e},Br.divide=_l,Br.endsWith=function(e,t,r){e=bs(e),t=ui(t);var n=e.length,o=r=r===i?n:ln(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,o)==t},Br.eq=Ya,Br.escape=function(e){return(e=bs(e))&&J.test(e)?e.replace(Z,or):e},Br.escapeRegExp=function(e){return(e=bs(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},Br.every=function(e,t,r){var n=Wa(e)?Ct:mn;return r&&xo(e,t,r)&&(t=i),n(e,co(t,3))},Br.find=ga,Br.findIndex=$o,Br.findKey=function(e,t){return Yt(e,co(t,3),xn)},Br.findLast=va,Br.findLastIndex=Wo,Br.findLastKey=function(e,t){return Yt(e,co(t,3),wn)},Br.floor=xl,Br.forEach=ba,Br.forEachRight=_a,Br.forIn=function(e,t){return null==e?e:bn(e,co(t,3),As)},Br.forInRight=function(e,t){return null==e?e:_n(e,co(t,3),As)},Br.forOwn=function(e,t){return e&&xn(e,co(t,3))},Br.forOwnRight=function(e,t){return e&&wn(e,co(t,3))},Br.get=ks,Br.gt=Ua,Br.gte=Ha,Br.has=function(e,t){return null!=e&&go(e,t,Pn)},Br.hasIn=Ps,Br.head=qo,Br.identity=il,Br.includes=function(e,t,r,n){e=qa(e)?e:Ys(e),r=r&&!n?ms(r):0;var i=e.length;return r<0&&(r=vr(i+r,0)),ls(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Ht(e,t,r)>-1},Br.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ms(r);return i<0&&(i=vr(n+i,0)),Ht(e,t,i)},Br.inRange=function(e,t,r){return t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r){return e>=br(t,r)&&e<vr(t,r)}(e=gs(e),t,r)},Br.invoke=Cs,Br.isArguments=$a,Br.isArray=Wa,Br.isArrayBuffer=Va,Br.isArrayLike=qa,Br.isArrayLikeObject=Ga,Br.isBoolean=function(e){return!0===e||!1===e||rs(e)&&Mn(e)==_},Br.isBuffer=Za,Br.isDate=Xa,Br.isElement=function(e){return rs(e)&&1===e.nodeType&&!os(e)},Br.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Wa(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||us(e)||$a(e)))return!e.length;var t=yo(e);if(t==S||t==E)return!e.size;if(So(e))return!Rn(e).length;for(var r in e)if(Ne.call(e,r))return!1;return!0},Br.isEqual=function(e,t){return An(e,t)},Br.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:i)?r(e,t):i;return n===i?An(e,t,i,r):!!n},Br.isError=Ja,Br.isFinite=function(e){return"number"==typeof e&&_t(e)},Br.isFunction=Ka,Br.isInteger=Qa,Br.isLength=es,Br.isMap=ns,Br.isMatch=function(e,t){return e===t||Dn(e,t,fo(t))},Br.isMatchWith=function(e,t,r){return r="function"==typeof r?r:i,Dn(e,t,fo(t),r)},Br.isNaN=function(e){return is(e)&&e!=+e},Br.isNative=function(e){if(jo(e))throw new je("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return In(e)},Br.isNil=function(e){return null==e},Br.isNull=function(e){return null===e},Br.isNumber=is,Br.isObject=ts,Br.isObjectLike=rs,Br.isPlainObject=os,Br.isRegExp=as,Br.isSafeInteger=function(e){return Qa(e)&&e>=-9007199254740991&&e<=h},Br.isSet=ss,Br.isString=ls,Br.isSymbol=cs,Br.isTypedArray=us,Br.isUndefined=function(e){return e===i},Br.isWeakMap=function(e){return rs(e)&&yo(e)==A},Br.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Mn(e)},Br.join=function(e,t){return null==e?"":Bt.call(e,t)},Br.kebabCase=Ws,Br.last=Jo,Br.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;return r!==i&&(o=(o=ms(r))<0?vr(n+o,0):br(o,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,o):Ut(e,Wt,o,!0)},Br.lowerCase=Vs,Br.lowerFirst=qs,Br.lt=ds,Br.lte=fs,Br.max=function(e){return e&&e.length?yn(e,il,kn):i},Br.maxBy=function(e,t){return e&&e.length?yn(e,co(t,2),kn):i},Br.mean=function(e){return Vt(e,il)},Br.meanBy=function(e,t){return Vt(e,co(t,2))},Br.min=function(e){return e&&e.length?yn(e,il,Fn):i},Br.minBy=function(e,t){return e&&e.length?yn(e,co(t,2),Fn):i},Br.stubArray=yl,Br.stubFalse=gl,Br.stubObject=function(){return{}},Br.stubString=function(){return""},Br.stubTrue=function(){return!0},Br.multiply=Ol,Br.nth=function(e,t){return e&&e.length?$n(e,ms(t)):i},Br.noConflict=function(){return mt._===this&&(mt._=Ye),this},Br.noop=cl,Br.now=ka,Br.pad=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Wi(yt(i),r)+e+Wi(ht(i),r)},Br.padEnd=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;return t&&n<t?e+Wi(t-n,r):e},Br.padStart=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;return t&&n<t?Wi(t-n,r)+e:e},Br.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),xr(bs(e).replace(ae,""),t||0)},Br.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xo(e,t,r)&&(t=r=i),r===i&&("boolean"==typeof t?(r=t,t=i):"boolean"==typeof e&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=hs(e),t===i?(t=e,e=0):t=hs(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var o=wr();return br(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Zn(e,t)},Br.reduce=function(e,t,r){var n=Wa(e)?Rt:Zt,i=arguments.length<3;return n(e,co(t,4),r,i,pn)},Br.reduceRight=function(e,t,r){var n=Wa(e)?zt:Zt,i=arguments.length<3;return n(e,co(t,4),r,i,hn)},Br.repeat=function(e,t,r){return t=(r?xo(e,t,r):t===i)?1:ms(t),Xn(bs(e),t)},Br.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Br.result=function(e,t,r){var n=-1,o=(t=_i(t,e)).length;for(o||(o=1,e=i);++n<o;){var a=null==e?i:e[zo(t[n])];a===i&&(n=o,a=r),e=Ka(a)?a.call(e):a}return e}
vendor: 9,507 bytes, line 153
153,Br.round=jl,Br.runInContext=e,Br.sample=function(e){return(Wa(e)?Jr:Kn)(e)},Br.size=function(e){if(null==e)return 0;if(qa(e))return ls(e)?pr(e):e.length;var t=yo(e);return t==S||t==E?e.size:Rn(e).length},Br.snakeCase=Gs,Br.some=function(e,t,r){var n=Wa(e)?Ft:oi;return r&&xo(e,t,r)&&(t=i),n(e,co(t,3))},Br.sortedIndex=function(e,t){return ai(e,t)},Br.sortedIndexBy=function(e,t,r){return si(e,t,co(r,2))},Br.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=ai(e,t);if(n<r&&Ya(e[n],t))return n}return-1},Br.sortedLastIndex=function(e,t){return ai(e,t,!0)},Br.sortedLastIndexBy=function(e,t,r){return si(e,t,co(r,2),!0)},Br.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=ai(e,t,!0)-1;if(Ya(e[r],t))return r}return-1},Br.startCase=Zs,Br.startsWith=function(e,t,r){return e=bs(e),r=null==r?0:ln(ms(r),0,e.length),t=ui(t),e.slice(r,r+t.length)==t},Br.subtract=Sl,Br.sum=function(e){return e&&e.length?Xt(e,il):0},Br.sumBy=function(e,t){return e&&e.length?Xt(e,co(t,2)):0},Br.template=function(e,t,r){var n=Br.templateSettings;r&&xo(e,t,r)&&(t=i),e=bs(e),t=ws({},t,n,Qi);var o,a,s=ws({},t.imports,n.imports,Qi),l=Ls(s),c=er(s,l),u=0,d=t.interpolate||we,f="__p += '",p=Pe((t.escape||we).source+"|"+d.source+"|"+(d===ee?he:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Ne.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(p,function(t,r,n,i,s,l){return n||(n=i),f+=e.slice(u,l).replace(Oe,ar),r&&(o=!0,f+="' +\n__e("+r+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),f+="';\n";var m=Ne.call(t,"variable")&&t.variable;if(m){if(fe.test(m))throw new je("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(W,""):f).replace(V,"$1").replace(q,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var y=Qs(function(){return Se(l,h+"return "+f).apply(i,c)});if(y.source=f,Ja(y))throw y;return y},Br.times=function(e,t){if((e=ms(e))<1||e>h)return[];var r=y,n=br(e,y);t=co(t),e-=y;for(var i=Jt(n,t);++r<e;)t(r);return i},Br.toFinite=hs,Br.toInteger=ms,Br.toLength=ys,Br.toLower=function(e){return bs(e).toLowerCase()},Br.toNumber=gs,Br.toSafeInteger=function(e){return e?ln(ms(e),-9007199254740991,h):0===e?e:0},Br.toString=bs,Br.toUpper=function(e){return bs(e).toUpperCase()},Br.trim=function(e,t,r){if((e=bs(e))&&(r||t===i))return Kt(e);if(!e||!(t=ui(t)))return e;var n=hr(e),o=hr(t);return wi(n,rr(n,o),nr(n,o)+1).join("")},Br.trimEnd=function(e,t,r){if((e=bs(e))&&(r||t===i))return e.slice(0,mr(e)+1);if(!e||!(t=ui(t)))return e;var n=hr(e);return wi(n,0,nr(n,hr(t))+1).join("")},Br.trimStart=function(e,t,r){if((e=bs(e))&&(r||t===i))return e.replace(ae,"");if(!e||!(t=ui(t)))return e;var n=hr(e);return wi(n,rr(n,hr(t))).join("")},Br.truncate=function(e,t){var r=30,n="...";if(ts(t)){var o="separator"in t?t.separator:o;r="length"in t?ms(t.length):r,n="omission"in t?ui(t.omission):n}var a=(e=bs(e)).length;if(sr(e)){var s=hr(e);a=s.length}if(r>=a)return e;var l=r-pr(n);if(l<1)return n;var c=s?wi(s,0,l).join(""):e.slice(0,l);if(o===i)return c+n;if(s&&(l+=c.length-l),as(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Pe(o.source,bs(me.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var f=u.index;c=c.slice(0,f===i?l:f)}}else if(e.indexOf(ui(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+n},Br.unescape=function(e){return(e=bs(e))&&X.test(e)?e.replace(G,yr):e},Br.uniqueId=function(e){var t=++Re;return bs(e)+t},Br.upperCase=Xs,Br.upperFirst=Js,Br.each=ba,Br.eachRight=_a,Br.first=qo,ll(Br,(wl={},xn(Br,function(e,t){Ne.call(Br.prototype,t)||(wl[t]=e)}),wl),{chain:!1}),Br.VERSION="4.17.23",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Br[e].placeholder=Br}),Tt(["drop","take"],function(e,t){$r.prototype[e]=function(r){r=r===i?1:vr(ms(r),0);var n=this.__filtered__&&!t?new $r(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,y),type:e+(n.__dir__<0?"Right":"")}),n},$r.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Tt(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;$r.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),Tt(["head","last"],function(e,t){var r="take"+(t?"Right":"");$r.prototype[e]=function(){return this[r](1).value()[0]}}),Tt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");$r.prototype[e]=function(){return this.__filtered__?new $r(this):this[r](1)}}),$r.prototype.compact=function(){return this.filter(il)},$r.prototype.find=function(e){return this.filter(e).head()},$r.prototype.findLast=function(e){return this.reverse().find(e)},$r.prototype.invokeMap=Jn(function(e,t){return"function"==typeof e?new $r(this):this.map(function(r){return Cn(r,e,t)})}),$r.prototype.reject=function(e){return this.filter(Na(co(e)))},$r.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new $r(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},$r.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},$r.prototype.toArray=function(){return this.take(y)},xn($r.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),o=Br[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);o&&(Br.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof $r,c=s[0],u=l||Wa(t),d=function(e){var t=o.apply(Br,Nt([e],s));return n&&f?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=l&&!p;if(!a&&u){t=m?t:new $r(this);var y=e.apply(t,s);return y.__actions__.push({func:ha,args:[d],thisArg:i}),new Hr(y,f)}return h&&m?e.apply(this,s):(y=this.thru(d),h?n?y.value()[0]:y.value():y)})}),Tt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ce[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Br.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Wa(i)?i:[],e)}return this[r](function(r){return t.apply(Wa(r)?r:[],e)})}}),xn($r.prototype,function(e,t){var r=Br[t];if(r){var n=r.name+"";Ne.call(Cr,n)||(Cr[n]=[]),Cr[n].push({name:t,func:r})}}),Cr[Yi(i,2).name]=[{name:"wrapper",func:i}],$r.prototype.clone=function(){var e=new $r(this.__wrapped__);return e.__actions__=Ei(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ei(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ei(this.__views__),e},$r.prototype.reverse=function(){if(this.__filtered__){var e=new $r(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},$r.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Wa(e),n=t<0,i=r?e.length:0,o=function(e,t,r){var n=-1,i=r.length;for(;++n<i;){var o=r[n],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=br(t,e+a);break;case"takeRight":e=vr(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=n?s:a-1,u=this.__iteratees__,d=u.length,f=0,p=br(l,this.__takeCount__);if(!r||!n&&i==l&&p==l)return mi(e,this.__actions__);var h=[];e:for(;l--&&f<p;){for(var m=-1,y=e[c+=t];++m<d;){var g=u[m],v=g.iteratee,b=g.type,_=v(y);if(2==b)y=_;else if(!_){if(1==b)continue e;break e}}h[f++]=y}return h},Br.prototype.at=ma,Br.prototype.chain=function(){return pa(this)},Br.prototype.commit=function(){return new Hr(this.value(),this.__chain__)},Br.prototype.next=function(){this.__values__===i&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Br.prototype.plant=function(e){for(var t,r=this;r instanceof Ur;){var n=Bo(r);n.__index__=0,n.__values__=i,t?o.__wrapped__=n:t=n;var o=n;r=r.__wrapped__}return o.__wrapped__=e,t},Br.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof $r){var t=e;return this.__actions__.length&&(t=new $r(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:i}),new Hr(t,this.__chain__)}return this.thru(ta)},Br.prototype.toJSON=Br.prototype.valueOf=Br.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Br.prototype.first=Br.prototype.head,Ke&&(Br.prototype[Ke]=function(){return this}),Br}();mt._=gr,(n=function(){return gr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},12852:function(e,t,r){var n=r(19122),i=r(30407),o=r(40394),a=r(92807);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},91294:function(e,t,r){var n=r(91342),i=r(11911),o=r(30407);e.exports=function(e,t){var r={};return t=o(t,3),i(e,function(e,i,o){n(r,i,t(e,i,o))}),r}},42604:function(e,t,r){var n=r(79929),i=r(64097),o=r(88314);e.exports=function(e){return e&&e.length?n(e,o,i):void 0}},38674:function(e,t,r){var n=r(73907);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}
153i.Cache=n,e.exports=i},88066:function(e,t,r){var n=r(79929),i=r(68126),o=r(88314);e.exports=function(e){return e&&e.length?n(e,o,i):void 0}},65976:function(e){e.exports=function(){}},26874:function(e,t,r){var n=r(85783);e.exports=function(){return n.Date.now()}},54201:function(e,t,r){var n=r(98383),i=r(67617),o=r(83756),a=r(43399);e.exports=function(e){return o(e)?n(a(e)):i(e)}},21331:function(e,t,r){var n=r(28770)();e.exports=n},88936:function(e,t,r){var n=r(74701),i=r(30407),o=r(47858),a=r(92807),s=r(18226);e.exports=function(e,t,r){var l=a(e)?n:o;return r&&s(e,t,r)&&(t=void 0),l(e,i(t,3))}},35165:function(e,t,r){var n=r(47466),i=r(77445),o=r(34452),a=r(18226),s=o(function(e,t){if(null==e)return[];var r=t.length;return r>1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,n(t,1),[])});e.exports=s},27051:function(e){e.exports=function(){return[]}},45849:function(e){e.exports=function(){return!1}},58652:function(e,t,r){var n=r(90675),i=r(81927);e.exports=function(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}},94282:function(e,t,r){var n=r(51516),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},18883:function(e,t,r){var n=r(94282);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},51516:function(e,t,r){var n=r(52037),i=r(81927),o=r(52472),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},30024:function(e,t,r){var n=r(31662);e.exports=function(e){return null==e?"":n(e)}},59724:function(e,t,r){var n=r(30407),i=r(65959);e.exports=function(e,t){return e&&e.length?i(e,n(t,2)):[]}},60646:function(e,t,r){var n=r(91025)("toUpperCase");e.exports=n},49789:function(e,t,r){"use strict";r.d(t,{A:function(){return ov}});var n,i=r(19974).hp,o=r(72067);if("undefined"==typeof window){var a={hostname:""};n={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:a,referrer:""},screen:{width:0,height:0},location:a,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else n=window;var s="__mp_targeting",l="__mp_recorder";function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function d(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){u(o,n,i,a,s,"next",e)}function s(e){u(o,n,i,a,s,"throw",e)}a(void 0)})}}function f(e,t,r){return f=w()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&b(i,r.prototype),i},f.apply(null,arguments)}function p(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function g(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function v(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function x(e){var t="function"==typeof Map?new Map:void 0;return x=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},x(e)}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}function O(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
153function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function S(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var M,k=Object.defineProperty,P=function(e,t,r){return function(e,t,r){return t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":_(t))?t+"":t,r)},T=Object.defineProperty,E=function(e,t,r){return function(e,t,r){return t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":_(t))?t+"":t,r)},C=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(C||{}),L={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},A={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},D={};function I(e){if(D[e])return D[e];var t=globalThis[e],r=t.prototype,n=e in L?L[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}
153)),o=e in A?A[e]:void 0,a=Boolean(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&a&&!globalThis.Zone)return D[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?D[e]=c:r}catch(e){return r}}var N={};function R(e,t,r){var n,i=e+"."+String(r);if(N[i])return N[i].call(t);var o=I(e),a=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return a?(N[i]=a,a.call(t)):t[r]}var z={};function F(e,t,r){var n=e+"."+String(r);if(z[n])return z[n].bind(t);var i=I(e)[r];return"function"!=typeof i?t[r]:(z[n]=i,i.bind(t))}var B={childNodes:function(e){return R("Node",e,"childNodes")},parentNode:function(e){return R("Node",e,"parentNode")},parentElement:function(e){return R("Node",e,"parentElement")},textContent:function(e){return R("Node",e,"textContent")},contains:function(e,t){return F("Node",e,"contains")(t)},getRootNode:function(e){return F("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?R("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?R("Element",e,"shadowRoot"):null},querySelector:function(e,t){return R("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return R("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return I("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}};function Y(e){return e.nodeType===e.ELEMENT_NODE}function U(e){var t=e&&"host"in e&&"mode"in e&&B.host(e)||null;return Boolean(t&&"shadowRoot"in t&&B.shadowRoot(t)===e)}function H(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function $(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href);var n=Array.from(t,function(e){return W(e,r)}).join("");return(i=n).includes(" background-clip: text;")&&!i.includes(" -webkit-background-clip: text;")&&(i=i.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),i}catch(e){return null}var i}function W(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=$(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}return e.styleSheet.href?re(r,e.styleSheet.href):r}var n,i=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,i=i.replace(n,"$1\\$2")),t?re(i,t):i}var V=function(){function e(){E(this,"idNodeMap",new Map),E(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e,t){var r=this;void 0===t&&(t=!1);var n=this.getId(e);this.idNodeMap.delete(n),t&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(e){return r.removeNodeFromMap(e,t)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function q(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,a=e.maskInputFn,s=o||"",l=i&&G(i);return(r[n.toLowerCase()]||l&&r[l])&&(s=a?a(s,t):"*".repeat(s.length)),s}function G(e){return e.toLowerCase()}var Z="__rrweb_original__";function X(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?G(t):null}function J(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}var n,i=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==i?void 0:i[1])?n:null}var K=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Q=/^(?:[a-z+]+:)?\/\//i,ee=/^www\..*/i,te=/^(data:)([^,]*),(.*)/i;function re(e,t){return(e||"").replace(K,function(e,r,n,i,o,a){var s,l=n||o||a,c=r||i||"";if(!l)return e;
153if(Q.test(l)||ee.test(l))return"url("+c+l+c+")";if(te.test(l))return"url("+c+l+c+")";if("/"===l[0])return"url("+c+(((s=t).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+l)+c+")";var u=t.split("/"),d=l.split("/");u.pop();for(var f,p=O(d);!(f=p()).done;){var h=f.value;"."!==h&&(".."===h?u.pop():u.push(h))}return"url("+c+u.join("/")+c+")"})}function ne(e,t){return void 0===t&&(t=!1),t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function ie(e,t){return function(e,t,r){void 0===r&&(r=!1);var n=Array.from(t.childNodes),i=[],o=0;if(n.length>1&&e&&"string"==typeof e)for(var a=ne(e,r),s=a.length/e.length,l=1;l<n.length;l++)if(n[l].textContent&&"string"==typeof n[l].textContent){for(var c=ne(n[l].textContent,r),u=3;u<c.length&&(c[u].match(/[a-zA-Z0-9]/)||-1!==c.indexOf(c.substring(0,u),1));u++);for(;u<c.length;u++){var d=c.substring(0,u),f=a.split(d),p=-1;if(2===f.length)p=f[0].length;else if(f.length>2&&""===f[0]&&""!==n[l-1].textContent)p=a.indexOf(d,1);else if(1===f.length){if(d=d.substring(0,d.length-1),(f=a.split(d)).length<=1)return i.push(e),i;u=101}else u===c.length-1&&(p=a.indexOf(d));if(f.length>=2&&u>100){var h=n[l-1].textContent;if(h&&"string"==typeof h){var m=ne(h).length;p=a.indexOf(d,m)}-1===p&&(p=f[0].length)}if(-1!==p){for(var y=Math.floor(p/s);y>0&&y<e.length;){if((o+=1)>50*n.length)return i.push(e),i;var g=ne(e.substring(0,y),r);if(g.length===p){i.push(e.substring(0,y)),e=e.substring(y),a=a.substring(p);break}g.length<p?y+=Math.max(1,Math.floor((p-g.length)/s)):y-=Math.max(1,Math.floor((g.length-p)*s))}break}}}return i.push(e),i}(e,t).join("/* rr_split */")}var oe,ae,se=1,le=new RegExp("[^a-z0-9-_:]");function ce(){return se++}var ue=/^[^ \t\n\r\u000c]+/,de=/^[, \t\n\r\u000c]+/;var fe=new WeakMap;function pe(e,t){return t&&""!==t.trim()?me(e,t):t}function he(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function me(e,t){var r=fe.get(e);if(r||(r=e.createElement("a"),fe.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ye(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?pe(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}for(var i=[];n(de),!(r>=t.length);){var o=n(ue);if(","===o.slice(-1))o=pe(e,o.substring(0,o.length-1)),i.push(o);else{var a="";o=pe(e,o);for(var s=!1;;){var l=t.charAt(r);if(""===l){i.push((o+a).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){r+=1,i.push((o+a).trim());break}"("===l&&(s=!0)}a+=l,r+=1}}}return i.join(", ")}(e,n):"style"===r?re(n,me(e)):"object"===t&&"data"===r?pe(e,n):n:pe(e,n):n}function ge(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function ve(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&ve(B.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&ve(B.parentNode(e),t,r)}function be(e,t,r,n){var i;if(Y(e)){if(i=e,!B.childNodes(i).length)return!1}else{if(null===B.parentElement(e))return!1;i=B.parentElement(e)}try{if("string"==typeof t){if(n){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(ve(i,t,n))return!0;if(r)if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}catch(e){}return!1}function _e(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,a=t.needsMask,s=t.inlineStylesheet,l=t.maskInputOptions,c=void 0===l?{}:l,u=t.maskTextFn,d=t.maskInputFn,f=t.dataURLOptions,p=void 0===f?{}:f,h=t.inlineImages,m=t.recordCanvas,y=t.keepIframeSrcFn,v=t.newlyAddedElement,b=void 0!==v&&v,_=t.cssCaptured,x=void 0!==_&&_,w=function(e,t){if(!t.hasNode(e))return;var r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:C.Document,childNodes:[],compatMode:e.compatMode}:{type:C.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:C.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,i=t.blockClass,o=t.blockSelector,a=t.inlineStylesheet,s=t.maskInputOptions,l=void 0===s?{}:s,c=t.maskInputFn,u=t.dataURLOptions,d=void 0===u?{}:u,f=t.inlineImages,p=t.recordCanvas,h=t.keepIframeSrcFn,m=t.newlyAddedElement,y=void 0!==m&&m,v=t.rootId,b=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,i,o),_=function(e){if(g(e,HTMLFormElement))return"form";var t=G(e.tagName);return le.test(t)?"div":t}(e),x={},w=e.attributes.length,O=0;O<w;O++){var j=e.attributes[O];ge(_,j.name,j.value)||(x[j.name]=ye(n,_,G(j.name),j.value))}if("link"===_&&a){var S=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),M=null;S&&(M=$(S)),M&&(delete x.rel,delete x.href,x._cssText=M)}if("style"===_&&e.sheet){var k=$(e.sheet);k&&(e.childNodes.length>1&&(k=ie(k,e)),x._cssText=k)}if("input"===_||"textarea"===_||"select"===_){var P=e.value,T=e.checked;"radio"!==x.type&&"checkbox"!==x.type&&"submit"!==x.type&&"button"!==x.type&&P?x.value=q({element:e,type:X(e),tagName:_,value:P,maskInputOptions:l,maskInputFn:c}):T&&(x.checked=T)}"option"===_&&(e.selected&&!l.select?x.selected=!0:delete x.selected);
vendor: 8,425 bytes, line 153
153"dialog"===_&&e.open&&(x.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal");if("canvas"===_&&p)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData,o=Z in i?i[Z]:i;if(new Uint32Array(o.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(x.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){var E=e.toDataURL(d.type,d.quality),L=n.createElement("canvas");L.width=e.width,L.height=e.height,E!==L.toDataURL(d.type,d.quality)&&(x.rr_dataURL=E)}if("img"===_&&f){oe||(oe=n.createElement("canvas"),ae=oe.getContext("2d"));var A=e,D=A.currentSrc||A.getAttribute("src")||"<unknown-src>",I=A.crossOrigin,N=function(){A.removeEventListener("load",N);try{oe.width=A.naturalWidth,oe.height=A.naturalHeight,ae.drawImage(A,0,0),x.rr_dataURL=oe.toDataURL(d.type,d.quality)}catch(e){if("anonymous"!==A.crossOrigin)return A.crossOrigin="anonymous",void(A.complete&&0!==A.naturalWidth?N():A.addEventListener("load",N));console.warn("Cannot inline img src="+D+"! Error: "+e)}"anonymous"===A.crossOrigin&&(I?x.crossOrigin=I:A.removeAttribute("crossorigin"))};A.complete&&0!==A.naturalWidth?N():A.addEventListener("load",N)}if("audio"===_||"video"===_){var R=x;R.rr_mediaState=e.paused?"paused":"played",R.rr_mediaCurrentTime=e.currentTime,R.rr_mediaPlaybackRate=e.playbackRate,R.rr_mediaMuted=e.muted,R.rr_mediaLoop=e.loop,R.rr_mediaVolume=e.volume}y||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop));if(b){var z=e.getBoundingClientRect(),F=z.width,B=z.height;x={class:x.class,rr_width:F+"px",rr_height:B+"px"}}"iframe"!==_||h(x.src)||(e.contentDocument||(x.rr_src=x.src),delete x.src);try{customElements.get(_)&&(r=!0)}catch(e){}return{type:C.Element,tagName:_,attributes:x,childNodes:[],isSVG:he(e)||void 0,needBlock:b,rootId:v,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:o,inlineStylesheet:s,maskInputOptions:c,maskInputFn:d,dataURLOptions:p,inlineImages:h,recordCanvas:m,keepIframeSrcFn:y,newlyAddedElement:b,rootId:w});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,i=t.rootId,o=t.cssCaptured,a=B.parentNode(e),s=a&&a.tagName,l="",c="STYLE"===s||void 0,u="SCRIPT"===s||void 0;u?l="SCRIPT_PLACEHOLDER":o||(l=B.textContent(e),c&&l&&(l=re(l,me(t.doc))));!c&&!u&&l&&r&&(l=n?n(l,B.parentElement(e)):l.replace(/[\S]/g,"*"));return{type:C.Text,textContent:l||"",rootId:i}}(e,{doc:r,needsMask:a,maskTextFn:u,rootId:w,cssCaptured:x});case e.CDATA_SECTION_NODE:return{type:C.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:C.Comment,textContent:B.textContent(e)||"",rootId:w};default:return!1}}function xe(e){return null==e?"":e.toLowerCase()}function we(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,a=t.maskTextClass,s=t.maskTextSelector,l=t.skipChild,c=void 0!==l&&l,u=t.inlineStylesheet,d=void 0===u||u,f=t.maskInputOptions,p=void 0===f?{}:f,h=t.maskTextFn,m=t.maskInputFn,y=t.slimDOMOptions,g=t.dataURLOptions,v=void 0===g?{}:g,b=t.inlineImages,_=void 0!==b&&b,x=t.recordCanvas,w=void 0!==x&&x,j=t.onSerialize,S=t.onIframeLoad,M=t.iframeLoadTimeout,k=void 0===M?5e3:M,P=t.onStylesheetLoad,T=t.stylesheetLoadTimeout,E=void 0===T?5e3:T,L=t.keepIframeSrcFn,A=void 0===L?function(){return!1}:L,D=t.newlyAddedElement,I=void 0!==D&&D,N=t.cssCaptured,R=void 0!==N&&N,z=t.needsMask,F=t.preserveWhiteSpace,$=void 0===F||F;z||(z=be(e,a,s,void 0===z));var W,V=_e(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,inlineStylesheet:d,maskInputOptions:p,maskTextFn:h,maskInputFn:m,dataURLOptions:v,inlineImages:_,recordCanvas:w,keepIframeSrcFn:A,newlyAddedElement:I,cssCaptured:R});if(!V)return console.warn(e,"not serialized"),null;W=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===C.Comment)return!0;if(e.type===C.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===J(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(xe(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===xe(e.attributes.name)||"icon"===xe(e.attributes.rel)||"apple-touch-icon"===xe(e.attributes.rel)||"shortcut icon"===xe(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&xe(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(xe(e.attributes.property).match(/^(og|twitter|fb):/)||xe(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===xe(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===xe(e.attributes.name)||"googlebot"===xe(e.attributes.name)||"bingbot"===xe(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===xe(e.attributes.name)||"generator"===xe(e.attributes.name)||"framework"===xe(e.attributes.name)||"publisher"===xe(e.attributes.name)||"progid"===xe(e.attributes.name)||xe(e.attributes.property).match(/^article:/)||xe(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===xe(e.attributes.name)||"yandex-verification"===xe(e.attributes.name)||"csrf-token"===xe(e.attributes.name)||"p:domain_verify"===xe(e.attributes.name)||"verify-v1"===xe(e.attributes.name)||"verification"===xe(e.attributes.name)||"shopify-checkout-api-token"===xe(e.attributes.name)))return!0}}return!1}(V,y)||!$&&V.type===C.Text&&!V.textContent.replace(/^\s+|\s+$/gm,"").length?-2:ce();var q=Object.assign(V,{id:W});if(n.add(e,q),-2===W)return null;j&&j(e);var G=!c;if(q.type===C.Element){G=G&&!q.needBlock,delete q.needBlock;var Z=B.shadowRoot(e);Z&&H(Z)&&(q.isShadowHost=!0)}if((q.type===C.Document||q.type===C.Element)&&G){y.headWhitespace&&q.type===C.Element&&"head"===q.tagName&&($=!1);var X={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:c,inlineStylesheet:d,maskInputOptions:p,maskTextFn:h,maskInputFn:m,slimDOMOptions:y,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:$,onSerialize:j,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:P,stylesheetLoadTimeout:E,keepIframeSrcFn:A,cssCaptured:!1};if(q.type===C.Element&&"textarea"===q.tagName&&void 0!==q.attributes.value);else{q.type===C.Element&&void 0!==q.attributes._cssText&&"string"==typeof q.attributes._cssText&&(X.cssCaptured=!0);for(var K,Q=O(Array.from(B.childNodes(e)));!(K=Q()).done;){var ee=we(K.value,X);ee&&q.childNodes.push(ee)}}var te=null;if(Y(e)&&(te=B.shadowRoot(e)))for(var re,ne=O(Array.from(B.childNodes(te)));!(re=ne()).done;){var ie=we(re.value,X);ie&&(H(te)&&(ie.isShadow=!0),q.childNodes.push(ie))}}var oe=B.parentNode(e);return oe&&U(oe)&&H(oe)&&(q.isShadow=!0),q.type===C.Element&&"iframe"===q.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var i,o=!1;try{i=n.document.readyState}catch(e){return}if("complete"===i){var a="about:blank";if(n.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var s=setTimeout(function(){o||(t(),o=!0)},r);e.addEventListener("load",function(){clearTimeout(s),o=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&S){var r=we(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:h,maskInputFn:m,slimDOMOptions:y,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:$,onSerialize:j,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:P,stylesheetLoadTimeout:E,keepIframeSrcFn:A});r&&S(e,r)}},k),q.type===C.Element&&"link"===q.tagName&&"string"==typeof q.attributes.rel&&("stylesheet"===q.attributes.rel||"preload"===q.attributes.rel&&"string"==typeof q.attributes.href&&"css"===J(q.attributes.href))&&function(e,t,r){var n,i=!1;try{n=e.sheet}catch(e){return}if(!n){var o=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(o),i=!0,t()})}}(e,function(){if(P){var t=we(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:
153h,maskInputFn:m,slimDOMOptions:y,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:$,onSerialize:j,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:P,stylesheetLoadTimeout:E,keepIframeSrcFn:A});t&&P(e,t)}},E),q}function Oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function je(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return g(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var Se={exports:{}},Me=String,ke=function(){return{isColorSupported:!1,reset:Me,bold:Me,dim:Me,italic:Me,underline:Me,inverse:Me,hidden:Me,strikethrough:Me,black:Me,red:Me,green:Me,yellow:Me,blue:Me,magenta:Me,cyan:Me,white:Me,gray:Me,bgBlack:Me,bgRed:Me,bgGreen:Me,bgYellow:Me,bgBlue:Me,bgMagenta:Me,bgCyan:Me,bgWhite:Me}};Se.exports=ke(),Se.exports.createColors=ke;var Pe=Se.exports,Te=je(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Ee=Pe,Ce=Te,Le=function(e){function t(r,n,i,o,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),s&&(l.plugin=s),void 0!==n&&void 0!==i&&("number"==typeof n?(l.line=n,l.column=i):(l.line=n.line,l.column=n.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}y(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Ee.isColorSupported),Ce&&e&&(r=Ce(r));var n,i,o=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,o.length),l=String(s).length;if(e){var c=Ee.createColors(!0),u=c.bold,d=c.gray,f=c.red;n=function(e){return u(f(e))},i=function(e){return d(e)}}else n=i=function(e){return e};return o.slice(a,s).map(function(e,r){var o=a+1+r,s=" "+(" "+o).slice(-l)+" | ";if(o===t.line){var c=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(s)+e+"\n "+c+n("^")}return" "+i(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(x(Error)),Ae=Le;Le.default=Le;var De={};De.isClean=Symbol("isClean"),De.my=Symbol("my");var Ie={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var Ne=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Ie[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](o,e):o.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=Ie[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Re=Ne;Ne.default=Ne;var ze=Re;function Fe(e,t){new ze(t).stringify(e)}var Be=Fe;Fe.default=Fe;var Ye=De.isClean,Ue=De.my,He=Ae,$e=Re,We=Be;function Ve(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o=void 0===i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return Ve(e,r)}):("object"===o&&null!==i&&(i=Ve(i)),r[n]=i)}return r}var qe=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Ye]=!1,this[Ue]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=O(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Ve(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new He(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Ye]){this[Ye]=!1;for(var e=this;e=e.parent;)e[Ye]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
153else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new $e).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,a=O(t);!(n=a()).done;){var s=n.value;s===this?o=!0:o?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var a=this[o];if(Array.isArray(a))r[o]=a.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":_(a))&&a.toJSON)r[o]=a.toJSON(null,t);else if("source"===o){var s=t.get(a.input);null==s&&(s=i,t.set(a.input,i),i++),r[o]={end:a.end,inputId:s,start:a.start}}else r[o]=a}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=We),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},p(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ge=qe;qe.default=qe;var Ze=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return y(t,e),p(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ge),Xe=Ze;Ze.default=Ze;var Je=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Ke=Te.SourceMapConsumer,Qe=Te.SourceMapGenerator,et=Te.existsSync,tt=Te.readFileSync,rt=Te.dirname,nt=Te.join;var it=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=rt(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Ke(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),i?i.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":_(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
153if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=rt(e),et(e))return this.mapFile=e,tt(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(g(t,Ke))return Qe.fromSourceMap(t).toString();if(g(t,Qe))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=nt(rt(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),ot=it;it.default=it;var at=Te.SourceMapConsumer,st=Te.SourceMapGenerator,lt=Te.fileURLToPath,ct=Te.pathToFileURL,ut=Te.isAbsolute,dt=Te.resolve,ft=Je,pt=Te,ht=Ae,mt=ot,yt=Symbol("fromOffsetCac
153he"),gt=Boolean(at&&st),vt=Boolean(dt&&ut),bt=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!vt||/^\w+:\/\//.test(t.from)||ut(t.from)?this.file=t.from:this.file=dt(t.from)),vt&>){var r=new mt(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ft(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":_(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);o=u.line,a=u.col}else o=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var f=this.origin(t,r,o,a);return(i=f?new ht(e,void 0===f.endLine?f.line:{column:f.column,line:f.line},void 0===f.endLine?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):new ht(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:a,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:o,line:t,source:this.css},this.file&&(ct&&(i.input.url=ct(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[yt])t=this[yt];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[yt]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:dt(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(i=a.originalPositionFor({column:n,line:r})),o=ut(s.source)?ct(s.source):new URL(s.source,this.map.consumer().sourceRoot||ct(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:o.toString()};if("file:"===o.protocol){if(!lt)throw new Error("file: protocol is not available in this PostCSS build");l.file=lt(o)}var c=a.sourceContentFor(s.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},p(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),_t=bt;bt.default=bt,pt&&pt.registerInput&&pt.registerInput(bt);var xt=Te.SourceMapConsumer,wt=Te.SourceMapGenerator,Ot=Te.dirname,jt=Te.relative,St=Te.resolve,Mt=Te.sep,kt=Te.pathToFileURL,Pt=_t,Tt=Boolean(xt&&wt),Et=Boolean(Ot&&St&&jt&&Mt),Ct=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=O(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||Ot(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new xt(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),Et&&Tt&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=wt.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new wt({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new wt({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=i-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),i=s.length-r):i+=s.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=i-2,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=i-1,e.map.addMapping(a)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?Ot(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Ot(St(r,this.mapOpts.annotation)));var n=jt(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new Pt(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return i?i.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(kt){var r=kt(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===Mt&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Lt=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return y(t,e),t}(Ge),At=Lt;Lt.default=Lt;var Dt,It,Nt,Rt,zt=De.isClean,Ft=De.my,Bt=Xe,Yt=At;
153function Ut(e){return e.map(function(e){return e.nodes&&(e.nodes=Ut(e.nodes)),delete e.source,e})}function Ht(e){if(e[zt]=!1,e.proxyOf.nodes)for(var t,r=O(e.proxyOf.nodes);!(t=r()).done;){Ht(t.value)}}var $t=function(e){function t(){return e.apply(this,arguments)||this}y(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t);!(n=i()).done;)for(var o,a=n.value,s=O(this.normalize(a,this.last));!(o=s()).done;){var l=o.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=O(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,a=O(i);!(o=a()).done;){var s=o.value;this.proxyOf.nodes.splice(n+1,0,s)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var a,s=O(o);!(a=s()).done;){var l=a.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=Ut(Dt(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=O(e=e.slice(0));!(i=o()).done;){var a=i.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=O(e=e.nodes.slice(0));!(s=l()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Bt(e)]}else if(e.selector)e=[new It(e)];else if(e.name)e=[new Nt(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Yt(e)]}var u=e.map(function(e){return e[Ft]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[zt]&&Ht(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t=t.reverse());!(n=i()).done;){for(var o,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=O(s);!(o=l()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=O(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
153,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},p(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Ge);$t.registerParse=function(e){Dt=e},$t.registerRule=function(e){It=e},$t.registerAtRule=function(e){Nt=e},$t.registerRoot=function(e){Rt=e};var Wt=$t;$t.default=$t,$t.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Nt.prototype):"rule"===e.type?Object.setPrototypeOf(e,It.prototype):"decl"===e.type?Object.setPrototypeOf(e,Bt.prototype):"comment"===e.type?Object.setPrototypeOf(e,Yt.prototype):"root"===e.type&&Object.setPrototypeOf(e,Rt.prototype),e[Ft]=!0,e.nodes&&e.nodes.forEach(function(e){$t.rebuild(e)})};var Vt,qt,Gt=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return y(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Vt(new qt,this,e).stringify()},t}(Wt);Gt.registerLazyResult=function(e){Vt=e},Gt.registerProcessor=function(e){qt=e};var Zt=Gt;Gt.default=Gt;var Xt=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Jt=Xt;Xt.default=Xt;var Kt=Jt,Qt=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new Kt(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},p(e,[{key:"content",get:function(){return this.css}}]),e}(),er=Qt;Qt.default=Qt;var tr="'".charCodeAt(0),rr='"'.charCodeAt(0),nr="\\".charCodeAt(0),ir="/".charCodeAt(0),or="\n".charCodeAt(0),ar=" ".charCodeAt(0),sr="\f".charCodeAt(0),lr="\t".charCodeAt(0),cr="\r".charCodeAt(0),ur="[".charCodeAt(0),dr="]".charCodeAt(0),fr="(".charCodeAt(0),pr=")".charCodeAt(0),hr="{".charCodeAt(0),mr="}".charCodeAt(0),yr=";".charCodeAt(0),gr="*".charCodeAt(0),vr=":".charCodeAt(0),br="@".charCodeAt(0),_r=/[\t\n\f\r "#'()/;[\\\]{}]/g,xr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,wr=/.[\r\n"'(/\\]/,Or=/[\da-f]/i,jr=Wt,Sr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}y(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(jr),Mr=Sr;Sr.default=Sr,jr.registerAtRule(Sr);var kr,Pr,Tr=Wt,Er=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}y(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,a=O(i);!(o=a()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new kr(new Pr,this,e).stringify()},t}(Tr);Er.registerLazyResult=function(e){kr=e},Er.registerProcessor=function(e){Pr=e};var Cr=Er;Er.default=Er,Tr.registerRoot(Er);var Lr={comma:function(e){return Lr.split(e,[","],!0)},space:function(e){return Lr.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",a=!1,s=0,l=!1,c="",u=!1,d=O(e);!(n=d()).done;){var f=n.value;u?u=!1:"\\"===f?u=!0:l?f===c&&(l=!1):'"'===f||"'"===f?(l=!0,c=f):"("===f?s+=1:")"===f?s>0&&(s-=1):0===s&&t.includes(f)&&(a=!0),a?(""!==o&&i.push(o.trim()),o="",a=!1):o+=f}return(r||""!==o)&&i.push(o.trim()),i}}
vendor: 8,909 bytes, line 153
153,Ar=Lr;Lr.default=Lr;var Dr=Wt,Ir=Ar,Nr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return y(t,e),p(t,[{key:"selectors",get:function(){return Ir.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Dr),Rr=Nr;Nr.default=Nr,Dr.registerRule(Nr);var zr=Xe,Fr=function(e,t){void 0===t&&(t={});var r,n,i,o,a,s,l,c,u,d,f=e.css.valueOf(),p=t.ignoreErrors,h=f.length,m=0,y=[],g=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){g.push(e)},endOfFile:function(){return 0===g.length&&m>=h},nextToken:function(e){if(g.length)return g.pop();if(!(m>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=f.charCodeAt(m)){case or:case ar:case lr:case cr:case sr:n=m;do{n+=1,r=f.charCodeAt(n)}while(r===ar||r===or||r===lr||r===cr||r===sr);d=["space",f.slice(m,n)],m=n-1;break;case ur:case dr:case hr:case mr:case vr:case yr:case pr:var b=String.fromCharCode(r);d=[b,b,m];break;case fr:if(c=y.length?y.pop()[1]:"",u=f.charCodeAt(m+1),"url"===c&&u!==tr&&u!==rr&&u!==ar&&u!==or&&u!==lr&&u!==sr&&u!==cr){n=m;do{if(s=!1,-1===(n=f.indexOf(")",n+1))){if(p||t){n=m;break}v("bracket")}for(l=n;f.charCodeAt(l-1)===nr;)l-=1,s=!s}while(s);d=["brackets",f.slice(m,n+1),m,n],m=n}else n=f.indexOf(")",m+1),o=f.slice(m,n+1),-1===n||wr.test(o)?d=["(","(",m]:(d=["brackets",o,m,n],m=n);break;case tr:case rr:i=r===tr?"'":'"',n=m;do{if(s=!1,-1===(n=f.indexOf(i,n+1))){if(p||t){n=m+1;break}v("string")}for(l=n;f.charCodeAt(l-1)===nr;)l-=1,s=!s}while(s);d=["string",f.slice(m,n+1),m,n],m=n;break;case br:_r.lastIndex=m+1,_r.test(f),n=0===_r.lastIndex?f.length-1:_r.lastIndex-2,d=["at-word",f.slice(m,n+1),m,n],m=n;break;case nr:for(n=m,a=!0;f.charCodeAt(n+1)===nr;)n+=1,a=!a;if(r=f.charCodeAt(n+1),a&&r!==ir&&r!==ar&&r!==or&&r!==lr&&r!==cr&&r!==sr&&(n+=1,Or.test(f.charAt(n)))){for(;Or.test(f.charAt(n+1));)n+=1;f.charCodeAt(n+1)===ar&&(n+=1)}d=["word",f.slice(m,n+1),m,n],m=n;break;default:r===ir&&f.charCodeAt(m+1)===gr?(0===(n=f.indexOf("*/",m+2)+1)&&(p||t?n=f.length:v("comment")),d=["comment",f.slice(m,n+1),m,n],m=n):(xr.lastIndex=m+1,xr.test(f),n=0===xr.lastIndex?f.length-1:xr.lastIndex-2,d=["word",f.slice(m,n+1),m,n],y.push(d),m=n)}return m++,d}},position:function(){return m}}},Br=At,Yr=Mr,Ur=Cr,Hr=Rr,$r={empty:!0,space:!0};var Wr=function(){function e(e){this.input=e,this.root=new Ur,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new Yr;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,a=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),o&&(e=s[s.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,a=O(e.entries());!(i=a()).done;){var s=i.value,l=s[0];if("("===(r=(t=s[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Br;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=Fr(this.input)},t.decl=function(e,t){var r=new zr;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),d="",f=l;f>0;f--){var p=u[f][0];if(0===d.trim().indexOf("!")&&"space"!==p)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new Hr;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(o=(i=r[d])[0])||d!==l-1||n?"comment"===o?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",$r[s]||$r[a]||","===c.slice(-1)?u=!1:c+=i[1]):c+=i[1]:u=!1;if(!u){var f=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:f,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new Hr;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";
153e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Vr=Wt,qr=Wr,Gr=_t;function Zr(e,t){var r=new Gr(e,t),n=new qr(r);try{n.parse()}catch(e){throw e}return n.root}var Xr=Zr;Zr.default=Zr,Vr.registerParse(Zr);var Jr=De.isClean,Kr=De.my,Qr=Ct,en=Be,tn=Wt,rn=Zt,nn=er,on=Xr,an=Cr,sn={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ln={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},cn={Once:!0,postcssPlugin:!0,prepare:!0};function un(e){return"object"===(void 0===e?"undefined":_(e))&&"function"==typeof e.then}function dn(e){var t=!1,r=sn[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function fn(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:dn(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function pn(e){return e[Jr]=!1,e.nodes&&e.nodes.forEach(function(e){return pn(e)}),e}var hn={},mn=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(g(r,e)||g(r,nn))i=pn(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=on;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{i=a(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[Kr]&&tn.rebuild(i)}else i=pn(r);this.result=new nn(t,i,n),this.helpers=h({},hn,{postcss:hn,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=O(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":_(i)))for(var o in i){if(!ln[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!cn[o])if("object"===_(i[o]))for(var a in i[o])r(i,"*"===a?o:o+"-"+a.toLowerCase(),i[o][a]);else"function"==typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return d(function(){var t,r,n,i,o,a,s,l,c,u,d,f;return j(this,function(p){switch(p.label){case 0:e.plugin=0,t=0,p.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!un(n=e.runOnRoot(r)))return[3,5];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,n];case 3:return p.sent(),[3,5];case 4:throw i=p.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,p.label=7;case 7:if(o[Jr])return[3,14];o[Jr]=!0,a=[fn(o)],p.label=8;case 8:if(!(a.length>0))return[3,13];if(!un(s=e.visitTick(a)))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,s];case 10:return p.sent(),[3,12];case 11:throw l=p.sent(),c=a[a.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,i,a;return j(this,function(s){switch(s.label){case 0:t=f.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=O(e.listeners.OnceExit),p.label=15;case 15:return(f=d()).done?[3,18]:[5,S(u())];case 16:p.sent(),p.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return un(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=en;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Qr(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=O(this.plugins);!(e=t()).done;){var r=e.value;if(un(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Jr];)n[Jr]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=O(n.nodes);!(i=o()).done;){var a=i.value;this.visitSync(this.listeners.OnceExit,a)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=O(e);!(r=n()).done;){var i=r.value,o=i[0],a=i[1];this.result.lastPlugin=o;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
153if(un(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],a=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[Jr])return s[Jr]=!0,void e.push(fn(s));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[Jr]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Jr]=!0;for(var r,n=O(dn(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[Jr]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},p(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();mn.registerPostcss=function(e){hn=e};var yn=mn;mn.default=mn,an.registerLazyResult(mn),rn.registerLazyResult(mn);var gn=Ct,vn=Be,bn=Xr,_n=er,xn=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=vn;this.result=new _n(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var a=new gn(i,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},p(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=bn;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),wn=xn;xn.default=xn;var On=wn,jn=yn,Sn=Zt,Mn=Cr,kn=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=O(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new jn(this,e,t):new On(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Pn=kn;kn.default=kn,Mn.registerProcessor(kn),Sn.registerProcessor(kn);var Tn=Xe,En=ot,Cn=At,Ln=Mr,An=_t,Dn=Cr,In=Rr;function Nn(e,t){if(Array.isArray(e))return e.map(function(e){return Nn(e)});
153var r=e.inputs,n=v(e,["inputs"]);if(r){t=[];for(var i,o=O(r);!(i=o()).done;){var a=h({},i.value,{__proto__:An.prototype});a.map&&(a.map=h({},a.map,{__proto__:En.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Nn(e,t)})),n.source){var s=n.source,l=s.inputId,c=v(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Dn(n);if("decl"===n.type)return new Tn(n);if("rule"===n.type)return new In(n);if("comment"===n.type)return new Cn(n);if("atrule"===n.type)return new Ln(n);throw new Error("Unknown node type: "+e.type)}var Rn=Nn;Nn.default=Nn;var zn=Ae,Fn=Xe,Bn=yn,Yn=Wt,Un=Pn,Hn=Be,$n=Rn,Wn=Zt,Vn=Jt,qn=At,Gn=Mr,Zn=er,Xn=_t,Jn=Xr,Kn=Ar,Qn=Rr,ei=Cr,ti=Ge;function ri(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new Un(t)}ri.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),o.env.LANG&&o.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new Un).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return ri([i(r)]).process(e,t)},i},ri.stringify=Hn,ri.parse=Jn,ri.fromJSON=$n,ri.list=Kn,ri.comment=function(e){return new qn(e)},ri.atRule=function(e){return new Gn(e)},ri.decl=function(e){return new Fn(e)},ri.rule=function(e){return new Qn(e)},ri.root=function(e){return new ei(e)},ri.document=function(e){return new Wn(e)},ri.CssSyntaxError=zn,ri.Declaration=Fn,ri.Container=Yn,ri.Processor=Un,ri.Document=Wn,ri.Comment=qn,ri.Warning=Vn,ri.AtRule=Gn,ri.Result=Zn,ri.Input=Xn,ri.Rule=Qn,ri.Root=ei,ri.Node=ti,Bn.registerPostcss(ri);var ni=ri;ri.default=ri;var ii=Oe(ni);ii.stringify,ii.fromJSON,ii.plugin,ii.parse,ii.list,ii.document,ii.comment,
153ii.atRule,ii.rule,ii.decl,ii.root,ii.CssSyntaxError,ii.Declaration,ii.Container,ii.Processor,ii.Document,ii.Comment,ii.Warning,ii.AtRule,ii.Result,ii.Input,ii.Rule,ii.Root,ii.Node;var oi=Object.defineProperty,ai=function(e,t,r){return function(e,t,r){return t in e?oi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":_(t))?t+"":t,r)};function si(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function li(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return g(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var ci={exports:{}},ui=String,di=function(){return{isColorSupported:!1,reset:ui,bold:ui,dim:ui,italic:ui,underline:ui,inverse:ui,hidden:ui,strikethrough:ui,black:ui,red:ui,green:ui,yellow:ui,blue:ui,magenta:ui,cyan:ui,white:ui,gray:ui,bgBlack:ui,bgRed:ui,bgGreen:ui,bgYellow:ui,bgBlue:ui,bgMagenta:ui,bgCyan:ui,bgWhite:ui}};ci.exports=di(),ci.exports.createColors=di;var fi=ci.exports,pi=li(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),hi=fi,mi=pi,yi=function(e){function t(r,n,i,o,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),s&&(l.plugin=s),void 0!==n&&void 0!==i&&("number"==typeof n?(l.line=n,l.column=i):(l.line=n.line,l.column=n.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}y(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=hi.isColorSupported),mi&&e&&(r=mi(r));var n,i,o=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,o.length),l=String(s).length;if(e){var c=hi.createColors(!0),u=c.bold,d=c.gray,f=c.red;n=function(e){return u(f(e))},i=function(e){return d(e)}}else n=i=function(e){return e};return o.slice(a,s).map(function(e,r){var o=a+1+r,s=" "+(" "+o).slice(-l)+" | ";if(o===t.line){var c=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(s)+e+"\n "+c+n("^")}return" "+i(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(x(Error)),gi=yi;yi.default=yi;var vi={};vi.isClean=Symbol("isClean"),vi.my=Symbol("my");var bi={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var _i=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return bi[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](o,e):o.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=bi[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),xi=_i;_i.default=_i;var wi=xi;function Oi(e,t){new wi(t).stringify(e)}var ji=Oi;Oi.default=Oi;var Si=vi.isClean,Mi=vi.my,ki=gi,Pi=xi,Ti=ji;function Ei(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o=void 0===i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return Ei(e,r)}):("object"===o&&null!==i&&(i=Ei(i)),r[n]=i)}return r}var Ci=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Si]=!1,this[Mi]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=O(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Ei(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new ki(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Si]){this[Si]=!1;for(var e=this;e=e.parent;)e[Si]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
153else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new Pi).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,a=O(t);!(n=a()).done;){var s=n.value;s===this?o=!0:o?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var a=this[o];if(Array.isArray(a))r[o]=a.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":_(a))&&a.toJSON)r[o]=a.toJSON(null,t);else if("source"===o){var s=t.get(a.input);null==s&&(s=i,t.set(a.input,i),i++),r[o]={end:a.end,inputId:s,start:a.start}}else r[o]=a}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=Ti),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},p(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Li=Ci;Ci.default=Ci;var Ai=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return y(t,e),p(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Li),Di=Ai;Ai.default=Ai;var Ii=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Ni=pi.SourceMapConsumer,Ri=pi.SourceMapGenerator,zi=pi.existsSync,Fi=pi.readFileSync,Bi=pi.dirname,Yi=pi.join;var Ui=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Bi(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Ni(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),i?i.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":_(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
153if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Bi(e),zi(e))return this.mapFile=e,Fi(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(g(t,Ni))return Ri.fromSourceMap(t).toString();if(g(t,Ri))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=Yi(Bi(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Hi=Ui;Ui.default=Ui;var $i=pi.SourceMapConsumer,Wi=pi.SourceMapGenerator,Vi=pi.fileURLToPath,qi=pi.pathToFileURL,Gi=pi.isAbsolute,Zi=pi.resolve,Xi=Ii,Ji=pi,Ki=gi,Qi=Hi,eo=Symbol("fromOffsetCac
153he"),to=Boolean($i&&Wi),ro=Boolean(Zi&&Gi),no=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!ro||/^\w+:\/\//.test(t.from)||Gi(t.from)?this.file=t.from:this.file=Zi(t.from)),ro&&to){var r=new Qi(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Xi(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":_(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);o=u.line,a=u.col}else o=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var f=this.origin(t,r,o,a);return(i=f?new Ki(e,void 0===f.endLine?f.line:{column:f.column,line:f.line},void 0===f.endLine?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):new Ki(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:a,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:o,line:t,source:this.css},this.file&&(qi&&(i.input.url=qi(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[eo])t=this[eo];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[eo]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Zi(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(i=a.originalPositionFor({column:n,line:r})),o=Gi(s.source)?qi(s.source):new URL(s.source,this.map.consumer().sourceRoot||qi(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:o.toString()};if("file:"===o.protocol){if(!Vi)throw new Error("file: protocol is not available in this PostCSS build");l.file=Vi(o)}var c=a.sourceContentFor(s.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},p(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),io=no;no.default=no,Ji&&Ji.registerInput&&Ji.registerInput(no);var oo=pi.SourceMapConsumer,ao=pi.SourceMapGenerator,so=pi.dirname,lo=pi.relative,co=pi.resolve,uo=pi.sep,fo=pi.pathToFileURL,po=io,ho=Boolean(oo&&ao),mo=Boolean(so&&co&&lo&&uo),yo=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=O(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||so(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new oo(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),mo&&ho&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ao.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ao({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new ao({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=i-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),i=s.length-r):i+=s.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=i-2,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=i-1,e.map.addMapping(a)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?so(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=so(co(r,this.mapOpts.annotation)));var n=lo(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new po(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return i?i.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(fo){var r=fo(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===uo&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),go=yo,vo=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return y(t,e),t}(Li),bo=vo;vo.default=vo;var _o,xo,wo,Oo,jo=vi.isClean,So=vi.my,Mo=Di,ko=bo;
153function Po(e){return e.map(function(e){return e.nodes&&(e.nodes=Po(e.nodes)),delete e.source,e})}function To(e){if(e[jo]=!1,e.proxyOf.nodes)for(var t,r=O(e.proxyOf.nodes);!(t=r()).done;){To(t.value)}}var Eo=function(e){function t(){return e.apply(this,arguments)||this}y(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t);!(n=i()).done;)for(var o,a=n.value,s=O(this.normalize(a,this.last));!(o=s()).done;){var l=o.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=O(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,a=O(i);!(o=a()).done;){var s=o.value;this.proxyOf.nodes.splice(n+1,0,s)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var a,s=O(o);!(a=s()).done;){var l=a.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=Po(_o(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=O(e=e.slice(0));!(i=o()).done;){var a=i.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=O(e=e.nodes.slice(0));!(s=l()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Mo(e)]}else if(e.selector)e=[new xo(e)];else if(e.name)e=[new wo(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new ko(e)]}var u=e.map(function(e){return e[So]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[jo]&&To(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t=t.reverse());!(n=i()).done;){for(var o,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=O(s);!(o=l()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=O(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
153,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},p(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Li);Eo.registerParse=function(e){_o=e},Eo.registerRule=function(e){xo=e},Eo.registerAtRule=function(e){wo=e},Eo.registerRoot=function(e){Oo=e};var Co=Eo;Eo.default=Eo,Eo.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,wo.prototype):"rule"===e.type?Object.setPrototypeOf(e,xo.prototype):"decl"===e.type?Object.setPrototypeOf(e,Mo.prototype):"comment"===e.type?Object.setPrototypeOf(e,ko.prototype):"root"===e.type&&Object.setPrototypeOf(e,Oo.prototype),e[So]=!0,e.nodes&&e.nodes.forEach(function(e){Eo.rebuild(e)})};var Lo,Ao,Do=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return y(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Lo(new Ao,this,e).stringify()},t}(Co);Do.registerLazyResult=function(e){Lo=e},Do.registerProcessor=function(e){Ao=e};var Io=Do;Do.default=Do;var No=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Ro=No;No.default=No;var zo=Ro,Fo=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new zo(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},p(e,[{key:"content",get:function(){return this.css}}]),e}(),Bo=Fo;Fo.default=Fo;var Yo="'".charCodeAt(0),Uo='"'.charCodeAt(0),Ho="\\".charCodeAt(0),$o="/".charCodeAt(0),Wo="\n".charCodeAt(0),Vo=" ".charCodeAt(0),qo="\f".charCodeAt(0),Go="\t".charCodeAt(0),Zo="\r".charCodeAt(0),Xo="[".charCodeAt(0),Jo="]".charCodeAt(0),Ko="(".charCodeAt(0),Qo=")".charCodeAt(0),ea="{".charCodeAt(0),ta="}".charCodeAt(0),ra=";".charCodeAt(0),na="*".charCodeAt(0),ia=":".charCodeAt(0),oa="@".charCodeAt(0),aa=/[\t\n\f\r "#'()/;[\\\]{}]/g,sa=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,la=/.[\r\n"'(/\\]/,ca=/[\da-f]/i,ua=Co,da=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}y(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(ua),fa=da;da.default=da,ua.registerAtRule(da);var pa,ha,ma=Co,ya=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}y(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,a=O(i);!(o=a()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new pa(new ha,this,e).stringify()},t}(ma);ya.registerLazyResult=function(e){pa=e},ya.registerProcessor=function(e){ha=e};var ga=ya;ya.default=ya,ma.registerRoot(ya);var va={comma:function(e){return va.split(e,[","],!0)},space:function(e){return va.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",a=!1,s=0,l=!1,c="",u=!1,d=O(e);!(n=d()).done;){var f=n.value;u?u=!1:"\\"===f?u=!0:l?f===c&&(l=!1):'"'===f||"'"===f?(l=!0,c=f):"("===f?s+=1:")"===f?s>0&&(s-=1):0===s&&t.includes(f)&&(a=!0),a?(""!==o&&i.push(o.trim()),o="",a=!1):o+=f}return(r||""!==o)&&i.push(o.trim()),i}},ba=va;va.default=va;var _a=Co,xa=ba,wa=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return y(t,e),p(t,[{key:"selectors",get:function(){return xa.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(_a),Oa=wa;wa.default=wa,_a.registerRule(wa);var ja=Di,Sa=function(e,t){void 0===t&&(t={});var r,n,i,o,a,s,l,c,u,d,f=e.css.valueOf(),p=t.ignoreErrors,h=f.length,m=0,y=[],g=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){g.push(e)},endOfFile:function(){return 0===g.length&&m>=h},nextToken:function(e){if(g.length)return g.pop();if(!(m>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=f.charCodeAt(m)){case Wo:case Vo:case Go:case Zo:case qo:n=m;do{n+=1,r=f.charCodeAt(n)}while(r===Vo||r===Wo||r===Go||r===Zo||r===qo);d=["space",f.slice(m,n)],m=n-1;break;case Xo:case Jo:case ea:case ta:case ia:case ra:case Qo:var b=String.fromCharCode(r);d=[b,b,m];break;case Ko:if(c=y.length?y.pop()[1]:"",u=f.charCodeAt(m+1),"url"===c&&u!==Yo&&u!==Uo&&u!==Vo&&u!==Wo&&u!==Go&&u!==qo&&u!==Zo){n=m;do{if(s=!1,-1===(n=f.indexOf(")",n+1))){if(p||t){n=m;break}v("bracket")}for(l=n;f.charCodeAt(l-1)===Ho;)l-=1,s=!s}while(s);d=["brackets",f.slice(m,n+1),m,n],m=n}else n=f.indexOf(")",m+1),o=f.slice(m,n+1),-1===n||la.test(o)?d=["(","(",m]:(d=["brackets",o,m,n],m=n);break;case Yo:case Uo:i=r===Yo?"'":'"',n=m;do{if(s=!1,-1===(n=f.indexOf(i,n+1))){if(p||t){n=m+1;break}v("string")}for(l=n;f.charCodeAt(l-1)===Ho;)l-=1,s=!s}while(s);d=["string",f.slice(m,n+1),m,n],m=n;break;case oa:aa.lastIndex=m+1,aa.test(f),n=0===aa.lastIndex?f.length-1:aa.lastIndex-2,d=["at-word",f.slice(m,n+1),m,n],m=n;break;case Ho:for(n=m,a=!0;f.charCodeAt(n+1)===Ho;)n+=1,a=!a;if(r=f.charCodeAt(n+1),a&&r!==$o&&r!==Vo&&r!==Wo&&r!==Go&&r!==Zo&&r!==qo&&(n+=1,ca.test(f.charAt(n)))){for(;ca.test(f.charAt(n+1));)n+=1;f.charCodeAt(n+1)===Vo&&(n+=1)}d=["word",f.slice(m,n+1),m,n],m=n;break;default:r===$o&&f.charCodeAt(m+1)===na?(0===(n=f.indexOf("*/",m+2)+1)&&(p||t?n=f.length:v("comment")),d=["comment",f.slice(m,n+1),m,n],m=n):(sa.lastIndex=m+1,sa.test(f),n=0===sa.lastIndex?f.length-1:sa.lastIndex-2,d=["word",f.slice(m,n+1),m,n],y.push(d),m=n)}return m++,d}
vendor: 5,482 bytes, line 153
153},position:function(){return m}}},Ma=bo,ka=fa,Pa=ga,Ta=Oa,Ea={empty:!0,space:!0};var Ca=function(){function e(e){this.input=e,this.root=new Pa,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new ka;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,a=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),o&&(e=s[s.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,a=O(e.entries());!(i=a()).done;){var s=i.value,l=s[0];if("("===(r=(t=s[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Ma;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=Sa(this.input)},t.decl=function(e,t){var r=new ja;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),d="",f=l;f>0;f--){var p=u[f][0];if(0===d.trim().indexOf("!")&&"space"!==p)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new Ta;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}
153if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(o=(i=r[d])[0])||d!==l-1||n?"comment"===o?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",Ea[s]||Ea[a]||","===c.slice(-1)?u=!1:c+=i[1]):c+=i[1]:u=!1;if(!u){var f=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:f,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new Ta;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),La=Co,Aa=Ca,Da=io;function Ia(e,t){var r=new Da(e,t),n=new Aa(r);try{n.parse()}catch(e){throw e}return n.root}var Na=Ia;Ia.default=Ia,La.registerParse(Ia);var Ra=vi.isClean,za=vi.my,Fa=go,Ba=ji,Ya=Co,Ua=Io,Ha=Bo,$a=Na,Wa=ga,Va={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},qa={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Ga={Once:!0,postcssPlugin:!0,prepare:!0};function Za(e){return"object"===(void 0===e?"undefined":_(e))&&"function"==typeof e.then}function Xa(e){var t=!1,r=Va[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Ja(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Xa(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Ka(e){return e[Ra]=!1,e.nodes&&e.nodes.forEach(function(e){return Ka(e)}),e}var Qa={},es=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(g(r,e)||g(r,Ha))i=Ka(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=$a;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{i=a(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[za]&&Ya.rebuild(i)}else i=Ka(r);this.result=new Ha(t,i,n),this.helpers=h({},Qa,{postcss:Qa,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=O(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":_(i)))for(var o in i){if(!qa[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
153sion+" now).");if(!Ga[o])if("object"===_(i[o]))for(var a in i[o])r(i,"*"===a?o:o+"-"+a.toLowerCase(),i[o][a]);else"function"==typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return d(function(){var t,r,n,i,o,a,s,l,c,u,d,f;return j(this,function(p){switch(p.label){case 0:e.plugin=0,t=0,p.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Za(n=e.runOnRoot(r)))return[3,5];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,n];case 3:return p.sent(),[3,5];case 4:throw i=p.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,p.label=7;case 7:if(o[Ra])return[3,14];o[Ra]=!0,a=[Ja(o)],p.label=8;case 8:if(!(a.length>0))return[3,13];if(!Za(s=e.visitTick(a)))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,s];case 10:return p.sent(),[3,12];case 11:throw l=p.sent(),c=a[a.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,i,a;return j(this,function(s){switch(s.label){case 0:t=f.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=O(e.listeners.OnceExit),p.label=15;case 15:return(f=d()).done?[3,18]:[5,S(u())];case 16:p.sent(),p.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Za(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Ba;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Fa(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=O(this.plugins);!(e=t()).done;){var r=e.value;if(Za(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Ra];)n[Ra]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=O(n.nodes);!(i=o()).done;){var a=i.value;this.visitSync(this.listeners.OnceExit,a)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=O(e);!(r=n()).done;){var i=r.value,o=i[0],a=i[1];this.result.lastPlugin=o;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Za(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],a=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[Ra])return s[Ra]=!0,void e.push(Ja(s));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[Ra]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Ra]=!0;for(var r,n=O(Xa(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[Ra]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
153,p(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();es.registerPostcss=function(e){Qa=e};var ts=es;es.default=es,Wa.registerLazyResult(es),Ua.registerLazyResult(es);var rs=go,ns=ji,is=Na,os=Bo,as=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=ns;this.result=new os(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var a=new rs(i,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},p(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=is;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),ss=as;as.default=as;var ls=ss,cs=ts,us=Io,ds=ga,fs=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=O(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new cs(this,e,t):new ls(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),ps=fs;fs.default=fs,ds.registerProcessor(fs),us.registerProcessor(fs);var hs=Di,ms=Hi,ys=bo,gs=fa,vs=io,bs=ga,_s=Oa;function xs(e,t){if(Array.isArray(e))return e.map(function(e){return xs(e)});var r=e.inputs,n=v(e,["inputs"]);if(r){t=[];for(var i,o=O(r);!(i=o()).done;){var a=h({},i.value,{__proto__:vs.prototype});a.map&&(a.map=h({},a.map,{__proto__:ms.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return xs(e,t)})),n.source){var s=n.source,l=s.inputId,c=v(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new bs(n);if("decl"===n.type)return new hs(n);if("rule"===n.type)return new _s(n);if("comment"===n.type)return new ys(n);if("atrule"===n.type)return new gs(n);throw new Error("Unknown node type: "+e.type)}var ws=xs;xs.default=xs;var Os=gi,js=Di,Ss=ts,Ms=Co,ks=ps,Ps=ji,Ts=ws,Es=Io,Cs=Ro,Ls=bo,As=fa,Ds=Bo,Is=io,Ns=Na,Rs=ba,zs=Oa,Fs=ga,Bs=Li;function Ys(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new ks(t)}Ys.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),o.env.LANG&&o.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new ks).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return Ys([i(r)]).process(e,t)},i}
153,Ys.stringify=Ps,Ys.parse=Ns,Ys.fromJSON=Ts,Ys.list=Rs,Ys.comment=function(e){return new Ls(e)},Ys.atRule=function(e){return new As(e)},Ys.decl=function(e){return new js(e)},Ys.rule=function(e){return new zs(e)},Ys.root=function(e){return new Fs(e)},Ys.document=function(e){return new Es(e)},Ys.CssSyntaxError=Os,Ys.Declaration=js,Ys.Container=Ms,Ys.Processor=ks,Ys.Document=Es,Ys.Comment=Ls,Ys.Warning=Cs,Ys.AtRule=As,Ys.Result=Ds,Ys.Input=Is,Ys.Rule=zs,Ys.Root=Fs,Ys.Node=Bs,Ss.registerPostcss(Ys);var Us=Ys;Ys.default=Ys;var Hs=si(Us);Hs.stringify,Hs.fromJSON,Hs.plugin,Hs.parse,Hs.list,Hs.document,Hs.comment,Hs.atRule,Hs.rule,Hs.decl,Hs.root,Hs.CssSyntaxError,Hs.Declaration,Hs.Container,Hs.Processor,Hs.Document,Hs.Comment,Hs.Warning,Hs.AtRule,Hs.Result,Hs.Input,Hs.Rule,Hs.Root,Hs.Node;var $s=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ai(this,"parentElement",null),ai(this,"parentNode",null),ai(this,"ownerDocument"),ai(this,"firstChild",null),ai(this,"lastChild",null),ai(this,"previousSibling",null),ai(this,"nextSibling",null),ai(this,"ELEMENT_NODE",1),ai(this,"TEXT_NODE",3),ai(this,"nodeType"),ai(this,"nodeName"),ai(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!g(t,e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},p(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),Ws={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Vs={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},qs={};function Gs(e){if(qs[e])return qs[e];var t=globalThis[e],r=t.prototype,n=e in Ws?Ws[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}
vendor: 4,329 bytes, line 153
153)),o=e in Vs?Vs[e]:void 0,a=Boolean(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&a&&!globalThis.Zone)return qs[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?qs[e]=c:r}catch(e){return r}}var Zs={};function Xs(e,t,r){var n,i=e+"."+String(r);if(Zs[i])return Zs[i].call(t);var o=Gs(e),a=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return a?(Zs[i]=a,a.call(t)):t[r]}var Js={};function Ks(e,t,r){var n=e+"."+String(r);if(Js[n])return Js[n].bind(t);var i=Gs(e)[r];return"function"!=typeof i?t[r]:(Js[n]=i,i.bind(t))}function Qs(){return Gs("MutationObserver").constructor}function el(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}var tl={childNodes:function(e){return Xs("Node",e,"childNodes")},parentNode:function(e){return Xs("Node",e,"parentNode")},parentElement:function(e){return Xs("Node",e,"parentElement")},textContent:function(e){return Xs("Node",e,"textContent")},contains:function(e,t){return Ks("Node",e,"contains")(t)},getRootNode:function(e){return Ks("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Xs("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Xs("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Xs("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Xs("Element",e,"querySelectorAll")(t)},mutationObserver:Qs,patch:el};function rl(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var nl="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",il={map:{},getId:function(){return console.error(nl),-1},getNode:function(){return console.error(nl),null},removeNodeFromMap:function(){console.error(nl)},has:function(){return console.error(nl),!1},reset:function(){console.error(nl)}};function ol(e,t,r){void 0===r&&(r={});var n=null,i=0;return function(){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];var l=Date.now();i||!1!==r.leading||(i=l);var c=t-(l-i),u=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),i=l,e.apply(u,a)):n||!1===r.trailing||(n=setTimeout(function(){i=!1===r.leading?0:Date.now(),n=null,e.apply(u,a)},c))}}function al(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),o&&o.set&&o.set.call(this,e)}}),function(){return al(e,t,o||{},!0)}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(il=new Proxy(il,{get:function(e,t,r){return"map"===t&&console.error(nl),Reflect.get(e,t,r)}}));var sl=Date.now;function ll(e){var t,r,n,i,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=tl.parentElement(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=tl.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function cl(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ul(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function dl(e){return e?e.nodeType===e.ELEMENT_NODE?e:tl.parentElement(e):null}function fl(e,t,r,n){if(!e)return!1;var i=dl(e);if(!i)return!1;try{if("string"==typeof t){if(i.classList.contains(t))return!0;
153if(n&&null!==i.closest("."+t))return!0}else if(ve(i,t,n))return!0}catch(e){}if(r){if(i.matches(r))return!0;if(n&&null!==i.closest(r))return!0}return!1}function pl(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function hl(e,t){if(U(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=tl.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||hl(n,t))}function ml(e){return Boolean(e.changedTouches)}function yl(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function gl(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function vl(e){return!!e&&(g(e,$s)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(tl.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(sl=function(){return(new Date).getTime()});var bl=function(){function e(){P(this,"id",1),P(this,"styleIDMap",new WeakMap),P(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var r},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},t.remove=function(e){var t=this.styleIDMap.get(e);return void 0!==t&&(this.styleIDMap.delete(e),this.idStyleMap.delete(t),!0)},e}();function _l(e){var t,r=null;return"getRootNode"in e&&(null==(t=tl.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&tl.host(tl.getRootNode(e))&&(r=tl.host(tl.getRootNode(e))),r}function xl(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=_l(r);)r=t;return r}(e);return tl.contains(t,r)}function wl(e){var t=e.ownerDocument;return!!t&&(tl.contains(t,e)||xl(e))}var Ol=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(Ol||{}),jl=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(jl||{}),Sl=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(Sl||{}),Ml=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Ml||{}),kl=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(kl||{}),Pl=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(Pl||{}),Tl=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(Tl||{});function El(e){return"__ln"in e}var Cl,Ll=function(){function e(){P(this,"length",0),P(this,"head",null),P(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&El(e.previousSibling)){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&El(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;
vendor: 5,566 bytes, line 153
153this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),Al=function(e,t){return e+"@"+t},Dl=function(){function e(){var e=this;P(this,"frozen",!1),P(this,"locked",!1),P(this,"texts",[]),P(this,"attributes",[]),P(this,"attributeMap",new WeakMap),P(this,"removes",[]),P(this,"mapRemoves",[]),P(this,"movedMap",{}),P(this,"addedSet",new Set),P(this,"movedSet",new Set),P(this,"droppedSet",new Set),P(this,"removesSubTreeCache",new Set),P(this,"mutationCb"),P(this,"blockClass"),P(this,"blockSelector"),P(this,"maskTextClass"),P(this,"maskTextSelector"),P(this,"inlineStylesheet"),P(this,"maskInputOptions"),P(this,"maskTextFn"),P(this,"maskInputFn"),P(this,"keepIframeSrcFn"),P(this,"recordCanvas"),P(this,"inlineImages"),P(this,"slimDOMOptions"),P(this,"dataURLOptions"),P(this,"doc"),P(this,"mirror"),P(this,"iframeManager"),P(this,"stylesheetManager"),P(this,"shadowDomManager"),P(this,"canvasManager"),P(this,"processedNodeManager"),P(this,"unattachedDoc"),P(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),P(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Ll,i=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},o=function(o){var a=tl.parentNode(o);if(a&&wl(o)){var s=!1;if(o.nodeType===Node.TEXT_NODE){var l=a.tagName;if("TEXTAREA"===l)return;"STYLE"===l&&e.addedSet.has(a)&&(s=!0)}var c=U(a)?e.mirror.getId(_l(o)):e.mirror.getId(a),u=i(o);if(-1===c||-1===u)return n.addNode(o);var d=we(o,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){yl(t,e.mirror)&&e.iframeManager.addIframe(t),gl(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),vl(o)&&e.shadowDomManager.addShadowRoot(tl.shadowRoot(o),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:s});d&&(t.push({parentId:c,nextId:u,node:d}),r.add(d.id))}};e.mapRemoves.length;){var a=e.mapRemoves.shift();if("IFRAME"===a.nodeName)try{e.iframeManager.removeIframe(a)}catch(e){}else e.stylesheetManager.cleanupStylesheetsForRemovedNode(a);e.mirror.removeNodeFromMap(a)}for(var s,l=O(e.movedSet);!(s=l()).done;){var c=s.value;Nl(e.removesSubTreeCache,c,e.mirror)&&!e.movedSet.has(tl.parentNode(c))||o(c)}for(var u,d=O(e.addedSet);!(u=d()).done;){var f=u.value;Rl(e.droppedSet,f)||Nl(e.removesSubTreeCache,f,e.mirror)?Rl(e.movedSet,f)?o(f):e.droppedSet.add(f):o(f)}for(var p=null;n.length;){var h=null;if(p){var m=e.mirror.getId(tl.parentNode(p.value)),y=i(p.value);-1!==m&&-1!==y&&(h=p)}if(!h)for(var g=n.tail;g;){var v=g;if(g=g.previous,v){var b=e.mirror.getId(tl.parentNode(v.value));if(-1===i(v.value))continue;if(-1!==b){h=v;break}var _=v.value,x=tl.parentNode(_);if(x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var w=tl.host(x);if(-1!==e.mirror.getId(w)){h=v;break}}}}if(!h){for(;n.head;)n.removeNode(n.head.value);break}p=h.previous,n.removeNode(h.value),o(h.value)}var j={texts:e.texts.map(function(t){var r=t.node,n=tl.parentNode(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var r=t.attributes;if("string"==typeof r.style){var n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};(j.texts.length||j.attributes.length||j.removes.length||j.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(j))}}),P(this,"genTextAreaValueMutation",function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r));var n=Array.from(tl.childNodes(t),function(e){return tl.textContent(e)||""}).join("");r.attributes.value=q({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:X(t),value:n,maskInputFn:e.maskInputFn})}),P(this,"processMutation",function(t){if(!pl(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=tl.textContent(t.target);fl(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:be(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,dl(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,i=t.attributeName,o=t.target.getAttribute(i);if("value"===i){var a=X(n);o=q({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:a,value:o,maskInputFn:e.maskInputFn})}if(fl(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var s=e.attributeMap.get(t.target);
153if("IFRAME"===n.tagName&&"src"===i&&!e.keepIframeSrcFn(o)){if(n.contentDocument)return;i="rr_src"}if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(s),e.attributeMap.set(t.target,s)),"type"===i&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!ge(n.tagName,i))if(s.attributes[i]=ye(e.doc,G(n.tagName),G(i),o),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){e.unattachedDoc=e.doc}var l=e.unattachedDoc.createElement("span");t.oldValue&&l.setAttribute("style",t.oldValue);for(var c,u=O(Array.from(n.style));!(c=u()).done;){var d=c.value,f=n.style.getPropertyValue(d),p=n.style.getPropertyPriority(d);f!==l.style.getPropertyValue(d)||p!==l.style.getPropertyPriority(d)?s.styleDiff[d]=""===p?f:[f,p]:s._unchangedStyles[d]=[f,p]}for(var h,m=O(Array.from(l.style));!(h=m()).done;){var y=h.value;""===n.style.getPropertyValue(y)&&(s.styleDiff[y]=!1)}}else"open"===i&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break;case"childList":if(fl(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),i=U(t.target)?e.mirror.getId(tl.host(t.target)):e.mirror.getId(t.target);fl(t.target,e.blockClass,e.blockSelector,!1)||pl(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Il(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||hl(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[Al(n,i)]?Il(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!(!U(t.target)||!H(t.target))||void 0}),function(e,t){var r=[e];for(;r.length;){var n=r.pop();t.has(n)||(t.add(n),tl.childNodes(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),P(this,"genAdds",function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(pl(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[Al(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);fl(t,e.blockClass,e.blockSelector,!1)||(tl.childNodes(t).forEach(function(t){return e.genAdds(t)}),vl(t)&&tl.childNodes(tl.shadowRoot(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)}))}})}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(r){t[r]=e[r]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},t.getDoc=function(){return this.doc},e}();function Il(e,t){e.delete(t),tl.childNodes(t).forEach(function(t){return Il(e,t)})}function Nl(e,t,r){return 0!==e.size&&function(e,t){var r=tl.parentNode(t);return!!r&&e.has(r)}(e,t)}function Rl(e,t){return 0!==e.size&&zl(e,t)}function zl(e,t){var r=tl.parentNode(t);return!!r&&(!!e.has(r)||zl(e,r))}var Fl=function(e){if(!Cl)return e;return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(e){if(Cl&&!0===Cl(e))return;throw e}}},Bl=[];function Yl(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Ul(e,t){var r=new Dl;Bl.push(r),r.init(e);var n=new(Qs())(Fl(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Hl(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,a=e.sampling;if(!1===a.mouseInteraction)return function(){};var s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null;return Object.keys(Sl).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]}
153).forEach(function(e){var a=G(e),s=function(e){return function(r){var a=Yl(r);if(!fl(a,i,o,!0)){var s=null,l=e;if("pointerType"in r){switch(r.pointerType){case"mouse":s=Ml.Mouse;break;case"touch":s=Ml.Touch;break;case"pen":s=Ml.Pen}s===Ml.Touch?Sl[e]===Sl.MouseDown?l="TouchStart":Sl[e]===Sl.MouseUp&&(l="TouchEnd"):Ml.Pen}else ml(r)&&(s=Ml.Touch);null!==s?(c=s,(l.startsWith("Touch")&&s===Ml.Touch||l.startsWith("Mouse")&&s===Ml.Mouse)&&(s=null)):Sl[e]===Sl.Click&&(s=c,c=null);var u=ml(r)?r.changedTouches[0]:r;if(u){var d=n.getId(a),f=u.clientX,p=u.clientY;Fl(t)(h({type:Sl[l],id:d,x:f,y:p},null!==s&&{pointerType:s}))}}}}(e);if(window.PointerEvent)switch(Sl[e]){case Sl.MouseDown:case Sl.MouseUp:a=a.replace("mouse","pointer");break;case Sl.TouchStart:case Sl.TouchEnd:return}l.push(rl(a,s,r))}),Fl(function(){l.forEach(function(e){return e()})})}function $l(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,a=e.sampling;return rl("scroll",Fl(ol(Fl(function(e){var a=Yl(e);if(a&&!fl(a,i,o,!0)){var s=n.getId(a);if(a===r&&r.defaultView){var l=ll(r.defaultView);t({id:s,x:l.left,y:l.top})}else t({id:s,x:a.scrollLeft,y:a.scrollTop})}}),a.scroll||100)),r)}var Wl=["INPUT","TEXTAREA","SELECT"],Vl=new WeakMap;function ql(e){return function(e,t){if(Jl("CSSGroupingRule")&&g(e.parentRule,CSSGroupingRule)||Jl("CSSMediaRule")&&g(e.parentRule,CSSMediaRule)||Jl("CSSSupportsRule")&&g(e.parentRule,CSSSupportsRule)||Jl("CSSConditionRule")&&g(e.parentRule,CSSConditionRule)){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){var n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Gl(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Zl(e,t){var r,n,i,o=e.mirror,a=e.stylesheetManager,s=null;s="#document"===t.nodeName?o.getId(t):o.getId(tl.host(t));var l="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(i=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:i.ShadowRoot,c=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&l&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==s&&-1!==s)try{a.adoptStyleSheets(e,s)}catch(e){}return r}}),Fl(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function Xl(e,t){void 0===t&&(t={});var r,n=e.doc.defaultView;if(!n)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,i=e.mouseInteractionCb,o=e.scrollCb,a=e.viewportResizeCb,s=e.inputCb,l=e.mediaInteractionCb,c=e.styleSheetRuleCb,u=e.styleDeclarationCb,d=e.canvasMutationCb,f=e.fontCb,p=e.selectionCb,h=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o;t.mutation&&(o=t).mutation.apply(o,[].concat(n)),r.apply(void 0,[].concat(n))},e.mousemoveCb=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o;t.mousemove&&(o=t).mousemove.apply(o,[].concat(r)),n.apply(void 0,[].concat(r))},e.mouseInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.mouseInteraction&&(o=t).mouseInteraction.apply(o,[].concat(r)),i.apply(void 0,[].concat(r))},e.scrollCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.scroll&&(i=t).scroll.apply(i,[].concat(r)),o.apply(void 0,[].concat(r))},e.viewportResizeCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.viewportResize&&(i=t).viewportResize.apply(i,[].concat(r)),a.apply(void 0,[].concat(r))},e.inputCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.input&&(i=t).input.apply(i,[].concat(r)),s.apply(void 0,[].concat(r))},e.mediaInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.mediaInteaction&&(i=t).mediaInteaction.apply(i,[].concat(r)),l.apply(void 0,[].concat(r))},e.styleSheetRuleCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleSheetRule&&(i=t).styleSheetRule.apply(i,[].concat(r)),c.apply(void 0,[].concat(r))},e.styleDeclarationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleDeclaration&&(i=t).styleDeclaration.apply(i,[].concat(r)),u.apply(void 0,[].concat(r))},e.canvasMutationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.canvasMutation&&(i=t).canvasMutation.apply(i,[].concat(r)),d.apply(void 0,[].concat(r))},e.fontCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.font&&(i=t).font.apply(i,[].concat(r)),f.apply(void 0,[].concat(r))},e.selectionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.selection&&(i=t).selection.apply(i,[].concat(r)),p.apply(void 0,[].concat(r))},e.customElementCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.customElement&&(i=t).customElement.apply(i,[].concat(r)),h.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=Ul(e,e.doc));var i,o,a,s,l,c,u,d,f,p=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,i=e.mirror;if(!1===r.mousemove)return function(){};var o,a="number"==typeof r.mousemove?r.mousemove:50,s="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],c=ol(Fl(function(e){var r=Date.now()-o;t(l.map(function(e){return e.timeOffset-=r,e}),e),l=[],o=null}),s),u=Fl(ol(Fl(function(e){var t=Yl(e),r=ml(e)?e.changedTouches[0]:e,n=r.clientX,a=r.clientY;
153o||(o=sl()),l.push({x:n,y:a,id:i.getId(t),timeOffset:sl()-o}),c("undefined"!=typeof DragEvent&&g(e,DragEvent)?jl.Drag:g(e,MouseEvent)?jl.MouseMove:jl.TouchMove)}),a,{trailing:!1})),d=[rl("mousemove",u,n),rl("touchmove",u,n),rl("drag",u,n)];return Fl(function(){d.forEach(function(e){return e()})})}(e),m=Hl(e),y=$l(e),v=function(e,t){var r=e.viewportResizeCb,n=t.win,i=-1,o=-1;return rl("resize",Fl(ol(Fl(function(){var e=cl(),t=ul();i===e&&o===t||(r({width:Number(t),height:Number(e)}),i=e,o=t)}),200)),n)}(e,{win:n}),b=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,a=e.ignoreClass,s=e.ignoreSelector,l=e.maskInputOptions,c=e.maskInputFn,u=e.sampling,d=e.userTriggeredOnInput;function f(e){var t=Yl(e),n=e.isTrusted,u=t&&t.tagName;if(t&&"OPTION"===u&&(t=tl.parentElement(t)),t&&u&&!(Wl.indexOf(u)<0)&&!fl(t,i,o,!0)&&!(t.classList.contains(a)||s&&t.matches(s))){var f=t.value,h=!1,m=X(t)||"";"radio"===m||"checkbox"===m?h=t.checked:(l[u.toLowerCase()]||l[m])&&(f=q({element:t,maskInputOptions:l,tagName:u,type:m,value:f,maskInputFn:c})),p(t,d?{text:f,isChecked:h,userTriggered:n}:{text:f,isChecked:h});var y=t.name;"radio"===m&&y&&h&&r.querySelectorAll('input[type="radio"][name="'+y+'"]').forEach(function(e){if(e!==t){var r=e.value;p(e,d?{text:r,isChecked:!h,userTriggered:!1}:{text:r,isChecked:!h})}})}}function p(e,r){var i=Vl.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Vl.set(e,r);var o=n.getId(e);Fl(t)(h({},r,{id:o}))}}var m=("last"===u.input?["change"]:["input","change"]).map(function(e){return rl(e,Fl(f),r)}),y=r.defaultView;if(!y)return function(){m.forEach(function(e){return e()})};var g,v=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,"value"),b=[[y.HTMLInputElement.prototype,"value"],[y.HTMLInputElement.prototype,"checked"],[y.HTMLSelectElement.prototype,"value"],[y.HTMLTextAreaElement.prototype,"value"],[y.HTMLSelectElement.prototype,"selectedIndex"],[y.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&(g=m).push.apply(g,[].concat(b.map(function(e){return al(e[0],e[1],{set:function(){Fl(f)({target:this,isTrusted:!1})}},!1,y)}))),Fl(function(){m.forEach(function(e){return e()})})}(e),_=(o=(i=e).mediaInteractionCb,a=i.blockClass,s=i.blockSelector,l=i.mirror,c=i.sampling,u=i.doc,d=Fl(function(e){return ol(Fl(function(t){var r=Yl(t);if(r&&!fl(r,a,s,!0)){var n=r.currentTime,i=r.volume,c=r.muted,u=r.playbackRate,d=r.loop;o({type:e,id:l.getId(r),currentTime:n,volume:i,muted:c,playbackRate:u,loop:d})}}),c.media||500)}),f=[rl("play",d(Pl.Play),u),rl("pause",d(Pl.Pause),u),rl("seeked",d(Pl.Seeked),u),rl("volumechange",d(Pl.VolumeChange),u),rl("ratechange",d(Pl.RateChange),u)],Fl(function(){f.forEach(function(e){return e()})})),x=function(){},w=function(){},j=function(){},S=function(){};e.recordDOM&&(x=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,i=e.stylesheetManager,o=t.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var a=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:Fl(function(e,t,o){var a=o[0],s=o[1],l=Gl(t,n,i.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:a,index:s}]}),e.apply(t,o)})}),o.CSSStyleSheet.prototype.addRule=function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};var s,l,c=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:Fl(function(e,t,o){var a=o[0],s=Gl(t,n,i.styleMirror),l=s.id,c=s.styleId;
vendor: 1,570 bytes, line 153
153return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:a}]}),e.apply(t,o)})}),o.CSSStyleSheet.prototype.removeRule=function(e){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},o.CSSStyleSheet.prototype.replace&&(s=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Fl(function(e,t,o){var a=o[0],s=Gl(t,n,i.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replace:a}),e.apply(t,o)})})),o.CSSStyleSheet.prototype.replaceSync&&(l=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:Fl(function(e,t,o){var a=o[0],s=Gl(t,n,i.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replaceSync:a}),e.apply(t,o)})}));var u={};Kl("CSSGroupingRule")?u.CSSGroupingRule=o.CSSGroupingRule:(Kl("CSSMediaRule")&&(u.CSSMediaRule=o.CSSMediaRule),Kl("CSSConditionRule")&&(u.CSSConditionRule=o.CSSConditionRule),Kl("CSSSupportsRule")&&(u.CSSSupportsRule=o.CSSSupportsRule));var d={};return Object.entries(u).forEach(function(e){var t=e[0],o=e[1];d[t]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(d[t].insertRule,{apply:Fl(function(e,t,o){var a=o[0],s=o[1],l=Gl(t.parentStyleSheet,n,i.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:a,index:[].concat(ql(t),[s||0])}]}),e.apply(t,o)})}),o.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:Fl(function(e,t,o){var a=o[0],s=Gl(t.parentStyleSheet,n,i.styleMirror),l=s.id,c=s.styleId;
153return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:[].concat(ql(t),[a])}]}),e.apply(t,o)})})}),Fl(function(){o.CSSStyleSheet.prototype.insertRule=a,o.CSSStyleSheet.prototype.deleteRule=c,s&&(o.CSSStyleSheet.prototype.replace=s),l&&(o.CSSStyleSheet.prototype.replaceSync=l),Object.entries(u).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=d[t].insertRule,r.prototype.deleteRule=d[t].deleteRule})})}(e,{win:n}),w=Zl(e,e.doc),j=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,i=e.ignoreCSSAttributes,o=e.stylesheetManager,a=t.win,s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:Fl(function(e,t,a){var l,c=a[0],u=a[1],d=a[2];if(i.has(c))return s.apply(t,[c,u,d]);var f=Gl(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,o.styleMirror),p=f.id,h=f.styleId;return(p&&-1!==p||h&&-1!==h)&&r({id:p,styleId:h,set:{property:c,value:u,priority:d},index:ql(t.parentRule)}),e.apply(t,a)})});var l=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(l,{apply:Fl(function(e,t,a){var s,c=a[0];if(i.has(c))return l.apply(t,[c]);var u=Gl(null==(s=t.parentRule)?void 0:s.parentStyleSheet,n,o.styleMirror),d=u.id,f=u.styleId;return(d&&-1!==d||f&&-1!==f)&&r({id:d,styleId:f,remove:{property:c},index:ql(t.parentRule)}),e.apply(t,a)})}),Fl(function(){a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=l})}(e,{win:n}),e.collectFonts&&(S=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var i=[],o=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,r){var n=new a(e,t,r);return o.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var s=el(r.fonts,"add",function(e){return function(r){return setTimeout(Fl(function(){var e=o.get(r);e&&(t(e),o.delete(r))}),0),e.apply(this,[r])}});return i.push(function(){n.FontFace=a}),i.push(s),Fl(function(){i.forEach(function(e){return e()})})}(e)));for(var M,k=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,i=e.blockSelector,o=e.selectionCb,a=!0,s=Fl(function(){var e=t.getSelection();if(!(!e||a&&(null==e?void 0:e.isCollapsed))){a=e.isCollapsed||!1;for(var s=[],l=e.rangeCount||0,c=0;c<l;c++){var u=e.getRangeAt(c),d=u.startContainer,f=u.startOffset,p=u.endContainer,h=u.endOffset;fl(d,n,i,!0)||fl(p,n,i,!0)||s.push({start:r.getId(d),startOffset:f,end:r.getId(p),endOffset:h})}o({ranges:s})}});return s(),rl("selectionchange",s)}(e),P=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?el(n.customElements,"define",function(e){return function(t,n,i){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,i])}}):function(){}}(e),T=[],E=O(e.plugins);!(M=E()).done;){var C=M.value;T.push(C.observer(C.callback,n,C.options))}return Fl(function(){Bl.forEach(function(e){return e.reset()}),null==r||r.disconnect(),p(),m(),y(),v(),b(),_(),x(),w(),j(),S(),k(),P(),T.forEach(function(e){return e()})})}function Jl(e){return void 0!==window[e]}function Kl(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var Ql=function(){function e(e){P(this,"iframeIdToRemoteIdMap",new WeakMap),P(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getId(e,t,n,i)})},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;var i=n.get(t);return i||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);
153return t.map(function(t){return r.getRemoteId(e,t,n)})},t.reset=function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),ec=function(){function e(e){P(this,"iframes",new WeakMap),P(this,"crossOriginIframeMap",new WeakMap),P(this,"crossOriginIframeMirror",new Ql(ce)),P(this,"crossOriginIframeStyleMirror"),P(this,"crossOriginIframeRootIdMap",new WeakMap),P(this,"iframeContentDocumentMap",new WeakMap),P(this,"iframeObserverCleanupMap",new WeakMap),P(this,"mirror"),P(this,"mutationCb"),P(this,"wrappedEmit"),P(this,"loadListener"),P(this,"stylesheetManager"),P(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ql(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}
153,t.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},t.setObserverCleanup=function(e,t){this.iframeObserverCleanupMap.set(e,t)},t.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},t.removeIframe=function(e){var t=this.iframeContentDocumentMap.get(e);t&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(t),this.mirror.removeNodeFromMap(t,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var r=this.iframeObserverCleanupMap.get(e);if(r){try{r()}catch(e){}this.iframeObserverCleanupMap.delete(e)}},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case Ol.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:Ol.IncrementalSnapshot,data:{source:jl.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Ol.Meta:case Ol.Load:case Ol.DomContentLoaded:return!1;case Ol.Plugin:return t;case Ol.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Ol.IncrementalSnapshot:switch(t.data.source){case jl.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(function(t){n.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case jl.Drag:case jl.TouchMove:case jl.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case jl.ViewportResize:return!1;case jl.MediaInteraction:case jl.MouseInteraction:case jl.Scroll:case jl.CanvasMutation:case jl.Input:return this.replaceIds(t.data,e,["id"]),t;case jl.StyleSheetRule:case jl.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case jl.Font:return t;case jl.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case jl.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(function(t){n.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,r,n){for(var i,o=O(n);!(i=o()).done;){var a=i.value;(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(r,t[a]):t[a]=e.getId(r,t[a]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===Tl.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),tc=function(){function e(e){P(this,"shadowDoms",new WeakSet),P(this,"mutationCb"),P(this,"scrollCb"),P(this,"bypassOptions"),P(this,"mirror"),P(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(H(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=Ul(h({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push($l(h({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(tl.host(e))),r.restoreHandlers.push(Zl({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;
153this.restoreHandlers.push(el(e.prototype,"attachShadow",function(e){return function(n){var i=e.call(this,n),o=tl.shadowRoot(this);return o&&wl(this)&&r.addShadowRoot(o,t),i}}))},t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),rc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nc="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ic=0;ic<64;ic++)nc[rc.charCodeAt(ic)]=ic;var oc=new Map;var ac=function(e,t,r){if(e&&(cc(e,t)||"object"===(void 0===e?"undefined":_(e)))){var n=function(e,t){var r=oc.get(e);return r||(r=new Map,oc.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function sc(e,t,r){if(g(e,Array))return e.map(function(e){return sc(e,t,r)});if(null===e)return e;if(g(e,Float32Array)||g(e,Float64Array)||g(e,Int32Array)||g(e,Uint32Array)||g(e,Uint8Array)||g(e,Uint16Array)||g(e,Int16Array)||g(e,Int8Array)||g(e,Uint8ClampedArray))return{rr_type:e.constructor.name,args:[Object.values(e)]};if(g(e,ArrayBuffer))return{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=rc[r[t]>>2],i+=rc[(3&r[t])<<4|r[t+1]>>4],i+=rc[(15&r[t+1])<<2|r[t+2]>>6],i+=rc[63&r[t+2]];return n%3==2?i=i.substring(0,i.length-1)+"=":n%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e)};if(g(e,DataView))return{rr_type:e.constructor.name,args:[sc(e.buffer,t,r),e.byteOffset,e.byteLength]};if(g(e,HTMLImageElement))return{rr_type:e.constructor.name,src:e.src};if(g(e,HTMLCanvasElement)){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return g(e,ImageData)?{rr_type:e.constructor.name,args:[sc(e.data,t,r),e.width,e.height]}:cc(e,t)||"object"===(void 0===e?"undefined":_(e))?{rr_type:e.constructor.name,index:ac(e,t,r)}:e}var lc=function(e,t,r){return e.map(function(e){return sc(e,t,r)})},cc=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"==typeof t[e]});return Boolean(r.find(function(r){return g(e,t[r])}))};function uc(e,t,r,n){var i=[];try{var o=el(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(!fl(this,t,r,!0)){var l=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=l),n&&["webgl","webgl2"].includes(l))if(a[0]&&"object"===_(a[0])){var c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([i],a))}});i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){i.forEach(function(e){return e()})}}function dc(e,t,r,n,i,o){for(var a,s=function(){var s=a.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))return"continue";try{if("function"!=typeof e[s])return"continue";var c=el(e,s,function(e){return function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];var u=e.apply(this,l);if(ac(u,o,this),"tagName"in this.canvas&&!fl(this.canvas,n,i,!0)){var d=lc(l,o,this),f={type:t,property:s,args:d};r(this.canvas,f)}return u}});l.push(c)}catch(n){var u=al(e,s,{set:function(e){r(this.canvas,{type:t,property:s,args:[e],setter:!0})}});l.push(u)}},l=[],c=O(Object.getOwnPropertyNames(e));!(a=c()).done;)s();return l}var fc,pc="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
153yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",hc="undefined"!=typeof window&&window.Blob&&new Blob([(fc=pc,Uint8Array.from(atob(fc),function(e){return e.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function mc(e){var t;try{if(!(t=hc&&(window.URL||window.webkitURL).createObjectURL(hc)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch(t){return new Worker("data:text/javascript;base64,"+pc,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var yc,gc,vc,bc=function(){function e(e){var t=this;P(this,"pendingCanvasMutations",new Map),P(this,"rafStamps",{latestId:0,invokeId:null}),P(this,"mirror"),P(this,"mutationCb"),P(this,"resetObservers"),P(this,"frozen",!1),P(this,"locked",!1),P(this,"processMutation",function(e,r){!(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId)&&t.rafStamps.invokeId||(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)});var r=e.sampling,n=void 0===r?"all":r,i=e.win,o=e.blockClass,a=e.blockSelector,s=e.recordCanvas,l=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&"all"===n&&this.initCanvasMutationObserver(i,o,a),s&&"number"==typeof n&&this.initCanvasFPSObserver(n,i,o,a,{dataURLOptions:l})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,i){var o=this,a=uc(t,r,n,!0),s=new Map,l=new mc;l.onmessage=function(e){var t=e.data.id;if(s.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,a=r.width,l=r.height;o.mutationCb({id:t,type:kl["2D"],commands:[{property:"clearRect",args:[0,0,a,l]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})}};var c,u=1e3/e,f=0,p=function(e){if(f&&e-f<u)c=requestAnimationFrame(p);else{f=e;var a,h=o;(a=[],t.document.querySelectorAll("canvas").forEach(function(e){fl(e,r,n,!0)||a.push(e)}
153),a).forEach(d(function(e){var t,r,n,o;return j(this,function(a){switch(a.label){case 0:return r=h.mirror.getId(e),s.get(r)?[2]:0===e.width||0===e.height?[2]:(s.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(n=e.getContext(e.__context),!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return o=a.sent(),l.postMessage({id:r,bitmap:o,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[o]),[2]}})})),c=requestAnimationFrame(p)}};c=requestAnimationFrame(p),this.resetObservers=function(){a(),cancelAnimationFrame(c)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=uc(e,t,r,!1),i=function(e,t,r,n){for(var i,o=function(){var o=i.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])return"continue";var s=el(t.CanvasRenderingContext2D.prototype,o,function(i){return function(){for(var a=this,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return fl(this.canvas,r,n,!0)||setTimeout(function(){var r=lc(l,t,a);e(a.canvas,{type:kl["2D"],property:o,args:r})},0),i.apply(this,l)}});a.push(s)}catch(r){var l=al(t.CanvasRenderingContext2D.prototype,o,{set:function(t){e(this.canvas,{type:kl["2D"],property:o,args:[t],setter:!0})}});a.push(l)}},a=[],s=O(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(i=s()).done;)o();return function(){a.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),o=function(e,t,r,n){var i,o,a=[];return(i=a).push.apply(i,[].concat(dc(t.WebGLRenderingContext.prototype,kl.WebGL,e,r,n,t))),void 0!==t.WebGL2RenderingContext&&(o=a).push.apply(o,[].concat(dc(t.WebGL2RenderingContext.prototype,kl.WebGL2,e,r,n,t))),function(){a.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r);this.resetObservers=function(){n(),i(),o()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){return e.type,v(e,["type"])}),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),_c=function(){function e(e){P(this,"trackedLinkElements",new WeakSet),P(this,"mutationCb"),P(this,"adoptedStyleSheetCb"),P(this,"styleMirror",new bl),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var r,n=function(){var e=i.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),a.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:W(t,e.href),index:r}})})),o.styleIds.push(t)};if(0!==e.length){for(var i,o={id:t,styleIds:[]},a=[],s=O(e);!(i=s()).done;)r=this,n();a.length>0&&(o.styles=a),this.adoptedStyleSheetCb(o)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.cleanupStylesheetsForRemovedNode=function(e){var t=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var r=e;if(r.adoptedStyleSheets)for(var n,i=O(r.adoptedStyleSheets);!(n=i()).done;){var o=n.value;this.styleMirror.remove(o)}}if("STYLE"===e.nodeName){var a=e;a.sheet&&this.styleMirror.remove(a.sheet)}
153if("LINK"===e.nodeName&&"stylesheet"===e.rel){var s=e;s.sheet&&this.styleMirror.remove(s.sheet)}e.childNodes&&e.childNodes.forEach(function(e){t.cleanupStylesheetsForRemovedNode(e)})}catch(e){}},t.trackStylesheetInLinkElement=function(e){},e}(),xc=function(){function e(){P(this,"nodeMap",new WeakMap),P(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some(function(e){return e!==t})},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame(function(){r.nodeMap=new WeakMap,r.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),wc=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var Oc=document.createElement("iframe");document.body.appendChild(Oc),Array.from=(null==(M=Oc.contentWindow)?void 0:M.Array.from)||Array.from,document.body.removeChild(Oc)}}catch(e){console.debug("Unable to override Array.from",e)}var jc,Sc,Mc=new V;function kc(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,i=e.blockClass,o=void 0===i?"rr-block":i,a=e.blockSelector,s=void 0===a?null:a,l=e.ignoreClass,c=void 0===l?"rr-ignore":l,u=e.ignoreSelector,d=void 0===u?null:u,f=e.maskTextClass,p=void 0===f?"rr-mask":f,m=e.maskTextSelector,y=void 0===m?null:m,g=e.inlineStylesheet,v=void 0===g||g,b=e.maskAllInputs,_=e.maskInputOptions,x=e.slimDOMOptions,w=e.maskInputFn,j=e.maskTextFn,S=e.hooks,M=e.packFn,k=e.sampling,P=void 0===k?{}:k,T=e.dataURLOptions,E=void 0===T?{}:T,C=e.mousemoveWait,L=e.recordDOM,A=void 0===L||L,D=e.recordCanvas,I=void 0!==D&&D,N=e.recordCrossOriginIframes,R=void 0!==N&&N,z=e.recordAfter,F=void 0===z?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":z,B=e.userTriggeredOnInput,Y=void 0!==B&&B,U=e.collectFonts,H=void 0!==U&&U,$=e.inlineImages,W=void 0!==$&&$,q=e.plugins,G=e.keepIframeSrcFn,Z=void 0===G?function(){return!1}:G,X=e.ignoreCSSAttributes,J=void 0===X?new Set([]):X,K=e.errorHandler;Cl=K;var Q=!R||window.parent===window,ee=!1;if(!Q)try{window.parent.document&&(ee=!1)}catch(e){ee=!0}if(Q&&!t)throw new Error("emit function is required");if(!Q&&!ee)return function(){};void 0!==C&&void 0===P.mousemove&&(P.mousemove=C),Mc.reset();var te,re=!0===b?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:void 0!==_?_:{password:!0},ne=!0===x||"all"===x?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===x,headMetaDescKeywords:"all"===x,headTitleMutations:"all"===x}:x||{};!function(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var ie=0,oe=function(e){for(var t,r=O(q||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return M&&!ee&&(e=M(e)),e};yc=function(e,i){var o,a=e;if(a.timestamp=sl(),!(null==(o=Bl[0])?void 0:o.isFrozen())||a.type===Ol.FullSnapshot||a.type===Ol.IncrementalSnapshot&&a.data.source===jl.Mutation||Bl.forEach(function(e){return e.unfreeze()}),Q)null==t||t(oe(a),i);else if(ee){var s={type:"rrweb",event:oe(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(s,"*")}if(a.type===Ol.FullSnapshot)te=a,ie=0;else if(a.type===Ol.IncrementalSnapshot){if(a.data.source===jl.Mutation&&a.data.isAttachIframe)return;ie++;var l=n&&ie>=n,c=r&&a.timestamp-te.timestamp>r;(l||c)&&gc(!0)}};for(var ae,se=function(e){yc({type:Ol.IncrementalSnapshot,data:h({source:jl.Mutation},e)})},le=function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.Scroll},e)})},ce=function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.CanvasMutation},e)})},ue=new _c({mutationCb:se,adoptedStyleSheetCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.AdoptedStyleSheet},e)})}}),de=new ec({mirror:Mc,mutationCb:se,stylesheetManager:ue,recordCrossOriginIframes:R,wrappedEmit:yc}),fe=O(q||[]);!(ae=fe()).done;){var pe=ae.value;pe.getMirror&&pe.getMirror({nodeMirror:Mc,crossOriginIframeMirror:de.crossOriginIframeMirror,crossOriginIframeStyleMirror:de.crossOriginIframeStyleMirror})}var he=new xc;vc=new bc({recordCanvas:I,mutationCb:ce,win:window,blockClass:o,blockSelector:s,mirror:Mc,sampling:P.canvas,dataURLOptions:E});var me=new tc({mutationCb:se,scrollCb:le,bypassOptions:{blockClass:o,blockSelector:s,maskTextClass:p,maskTextSelector:y,inl
153ineStylesheet:v,maskInputOptions:re,dataURLOptions:E,maskTextFn:j,maskInputFn:w,recordCanvas:I,inlineImages:W,sampling:P,slimDOMOptions:ne,iframeManager:de,stylesheetManager:ue,canvasManager:vc,keepIframeSrcFn:Z,processedNodeManager:he},mirror:Mc});gc=function(e){if(void 0===e&&(e=!1),A){yc({type:Ol.Meta,data:{href:window.location.href,width:ul(),height:cl()}},e),ue.reset(),me.init(),Bl.forEach(function(e){return e.lock()});var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new V:n,o=r.blockClass,a=void 0===o?"rr-block":o,s=r.blockSelector,l=void 0===s?null:s,c=r.maskTextClass,u=void 0===c?"rr-mask":c,d=r.maskTextSelector,f=void 0===d?null:d,p=r.inlineStylesheet,h=void 0===p||p,m=r.inlineImages,y=void 0!==m&&m,g=r.recordCanvas,v=void 0!==g&&g,b=r.maskAllInputs,_=void 0!==b&&b,x=r.maskTextFn,w=r.maskInputFn,O=r.slimDOM,j=void 0!==O&&O,S=r.dataURLOptions,M=r.preserveWhiteSpace,k=r.onSerialize,P=r.onIframeLoad,T=r.iframeLoadTimeout,E=r.onStylesheetLoad,C=r.stylesheetLoadTimeout,L=r.keepIframeSrcFn;return we(e,{doc:e,mirror:i,blockClass:a,blockSelector:l,maskTextClass:u,maskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:!0===_?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:!1===_?{password:!0}:_,maskTextFn:x,maskInputFn:w,slimDOMOptions:!0===j||"all"===j?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===j,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===j?{}:j,dataURLOptions:S,inlineImages:y,recordCanvas:v,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:P,iframeLoadTimeout:T,onStylesheetLoad:E,stylesheetLoadTimeout:C,keepIframeSrcFn:void 0===L?function(){return!1}:L,newlyAddedElement:!1})}(document,{mirror:Mc,blockClass:o,blockSelector:s,maskTextClass:p,maskTextSelector:y,inlineStylesheet:v,maskAllInputs:re,maskTextFn:j,maskInputFn:w,slimDOM:ne,dataURLOptions:E,recordCanvas:I,inlineImages:W,onSerialize:function(e){yl(e,Mc)&&de.addIframe(e),gl(e,Mc)&&ue.trackLinkElement(e),vl(e)&&me.addShadowRoot(tl.shadowRoot(e),document)},onIframeLoad:function(e,t){de.attachIframe(e,t),me.observeAttachShadow(e)},onStylesheetLoad:function(e,t){ue.attachLinkElement(e,t)},keepIframeSrcFn:Z});if(!t)return console.warn("Failed to snapshot the document");yc({type:Ol.FullSnapshot,data:{node:t,initialOffset:ll(window)}},e),Bl.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ue.adoptStyleSheets(document.adoptedStyleSheets,Mc.getId(document))}};try{var ye=[],ge=function(e){var t;return Fl(Xl)({mutationCb:se,mousemoveCb:function(e,t){return yc({type:Ol.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.MouseInteraction},e)})},scrollCb:le,viewportResizeCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.ViewportResize},e)})},inputCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.Input},e)})},mediaInteractionCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.MediaInteraction},e)})},styleSheetRuleCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.StyleSheetRule},e)})},styleDeclarationCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.StyleDeclaration},e)})},canvasMutationCb:ce,fontCb:function(e){return yc({type:Ol.IncrementalSnapshot,data:h({source:jl.Font},e)})},selectionCb:function(e){yc({type:Ol.IncrementalSnapshot,data:h({source:jl.Selection},e)})},customElementCb:function(e){yc({type:Ol.IncrementalSnapshot,data:h({source:jl.CustomElement},e)})},blockClass:o,ignoreClass:c,ignoreSelector:d,maskTextClass:p,maskTextSelector:y,maskInputOptions:re,inlineStylesheet:v,sampling:P,recordDOM:A,recordCanvas:I,inlineImages:W,userTriggeredOnInput:Y,collectFonts:H,doc:e,maskInputFn:w,maskTextFn:j,keepIframeSrcFn:Z,blockSelector:s,slimDOMOptions:ne,dataURLOptions:E,mirror:Mc,iframeManager:de,stylesheetManager:ue,shadowDomManager:me,processedNodeManager:he,canvasManager:vc,ignoreCSSAttributes:J,plugins:(null==(t=null==q?void 0:q.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return yc({type:Ol.Plugin,data:{plugin:e.name,payload:t}}
153)}}}))||[]},S)};de.addLoadListener(function(e){try{var t=e.contentDocument,r=ge(t);ye.push(r);var n=de.getObserverCleanup(e);de.setObserverCleanup(e,function(){if(n)try{n()}catch(e){}try{r();var e=ye.indexOf(r);-1!==e&&ye.splice(e,1),function(e){for(var t=Bl.length-1;t>=0;t--)Bl[t].getDoc()===e&&Bl.splice(t,1)}(t)}catch(e){}})}catch(e){console.warn(e)}});var ve=function(){gc(),ye.push(ge(document)),wc=!0};return"interactive"===document.readyState||"complete"===document.readyState?ve():(ye.push(rl("DOMContentLoaded",function(){yc({type:Ol.DomContentLoaded,data:{}}),"DOMContentLoaded"===F&&ve()})),ye.push(rl("load",function(){yc({type:Ol.Load,data:{}}),"load"===F&&ve()},window))),function(){ye.forEach(function(e){try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")||console.warn(e)}}),he.destroy(),wc=!1,Cl=void 0}}catch(e){console.warn(e)}}kc.addCustomEvent=function(e,t){if(!wc)throw new Error("please add custom event after start recording");yc({type:Ol.Custom,data:{tag:e,payload:t}})},kc.freezePage=function(){Bl.forEach(function(e){return e.freeze()})},kc.takeFullSnapshot=function(e){if(!wc)throw new Error("please take full snapshot after start recording");gc(e)},kc.mirror=Mc,(Sc=jc||(jc={}))[Sc.NotStarted=0]="NotStarted",Sc[Sc.Running=1]="Running",Sc[Sc.Stopped=2]="Stopped",kc.addCustomEvent,kc.freezePage,kc.takeFullSnapshot;var Pc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Tc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ec={};function Cc(e){if(Ec[e])return Ec[e];var t=globalThis[e],r=t.prototype,n=e in Pc?Pc[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}
153)),o=e in Tc?Tc[e]:void 0,a=Boolean(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&a&&!globalThis.Zone)return Ec[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?Ec[e]=c:r}catch(e){return r}}var Lc={};function Ac(e,t,r){var n,i=e+"."+String(r);if(Lc[i])return Lc[i].call(t);var o=Cc(e),a=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return a?(Lc[i]=a,a.call(t)):t[r]}var Dc={};function Ic(e,t,r){var n=e+"."+String(r);if(Dc[n])return Dc[n].bind(t);var i=Cc(e)[r];return"function"!=typeof i?t[r]:(Dc[n]=i,i.bind(t))}var Nc={childNodes:function(e){return Ac("Node",e,"childNodes")},parentNode:function(e){return Ac("Node",e,"parentNode")},parentElement:function(e){return Ac("Node",e,"parentElement")},textContent:function(e){return Ac("Node",e,"textContent")},contains:function(e,t){return Ic("Node",e,"contains")(t)},getRootNode:function(e){return Ic("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Ac("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Ac("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Ac("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Ac("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Cc("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}};function Rc(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return Rc(Nc.parentNode(e),t);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return Rc(Nc.parentNode(e),t)}function zc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fc(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return g(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var Bc={exports:{}},Yc=String,Uc=function(){return{isColorSupported:!1,reset:Yc,bold:Yc,dim:Yc,italic:Yc,underline:Yc,inverse:Yc,hidden:Yc,strikethrough:Yc,black:Yc,red:Yc,green:Yc,yellow:Yc,blue:Yc,magenta:Yc,cyan:Yc,white:Yc,gray:Yc,bgBlack:Yc,bgRed:Yc,bgGreen:Yc,bgYellow:Yc,bgBlue:Yc,bgMagenta:Yc,bgCyan:Yc,bgWhite:Yc}};Bc.exports=Uc(),Bc.exports.createColors=Uc;var Hc=Bc.exports,$c=Fc(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Wc=Hc,Vc=$c,qc=function(e){function t(r,n,i,o,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),s&&(l.plugin=s),void 0!==n&&void 0!==i&&("number"==typeof n?(l.line=n,l.column=i):(l.line=n.line,l.column=n.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}y(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Wc.isColorSupported),Vc&&e&&(r=Vc(r));var n,i,o=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,o.length),l=String(s).length;if(e){var c=Wc.createColors(!0),u=c.bold,d=c.gray,f=c.red;n=function(e){return u(f(e))},i=function(e){return d(e)}}else n=i=function(e){return e};return o.slice(a,s).map(function(e,r){var o=a+1+r,s=" "+(" "+o).slice(-l)+" | ";if(o===t.line){var c=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(s)+e+"\n "+c+n("^")}return" "+i(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(x(Error)),Gc=qc;qc.default=qc;var Zc={};Zc.isClean=Symbol("isClean"),Zc.my=Symbol("my");var Xc={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var Jc=function(){function e(e){this.builder=e}var t=e.prototype;
153return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Xc[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](o,e):o.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=Xc[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Kc=Jc;Jc.default=Jc;var Qc=Kc;function eu(e,t){new Qc(t).stringify(e)}var tu=eu;eu.default=eu;var ru=Zc.isClean,nu=Zc.my,iu=Gc,ou=Kc,au=tu;function su(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o=void 0===i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return su(e,r)}):("object"===o&&null!==i&&(i=su(i)),r[n]=i)}return r}var lu=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[ru]=!1,this[nu]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=O(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=su(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new iu(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[ru]){this[ru]=!1;for(var e=this;e=e.parent;)e[ru]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
153else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new ou).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,a=O(t);!(n=a()).done;){var s=n.value;s===this?o=!0:o?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var a=this[o];if(Array.isArray(a))r[o]=a.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":_(a))&&a.toJSON)r[o]=a.toJSON(null,t);else if("source"===o){var s=t.get(a.input);null==s&&(s=i,t.set(a.input,i),i++),r[o]={end:a.end,inputId:s,start:a.start}}else r[o]=a}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=au),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},p(e,[{key:"proxyOf",get:function(){return this}}]),e}(),cu=lu;lu.default=lu;var uu=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return y(t,e),p(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(cu),du=uu;uu.default=uu;var fu=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},pu=$c.SourceMapConsumer,hu=$c.SourceMapGenerator,mu=$c.existsSync,yu=$c.readFileSync,gu=$c.dirname,vu=$c.join;var bu=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=gu(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new pu(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),i?i.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":_(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
153if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=gu(e),mu(e))return this.mapFile=e,yu(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(g(t,pu))return hu.fromSourceMap(t).toString();if(g(t,hu))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=vu(gu(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),_u=bu;bu.default=bu;var xu=$c.SourceMapConsumer,wu=$c.SourceMapGenerator,Ou=$c.fileURLToPath,ju=$c.pathToFileURL,Su=$c.isAbsolute,Mu=$c.resolve,ku=fu,Pu=$c,Tu=Gc,Eu=_u,Cu=Symbol("fromOffsetCac
153he"),Lu=Boolean(xu&&wu),Au=Boolean(Mu&&Su),Du=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Au||/^\w+:\/\//.test(t.from)||Su(t.from)?this.file=t.from:this.file=Mu(t.from)),Au&&Lu){var r=new Eu(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ku(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":_(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);o=u.line,a=u.col}else o=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var f=this.origin(t,r,o,a);return(i=f?new Tu(e,void 0===f.endLine?f.line:{column:f.column,line:f.line},void 0===f.endLine?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,n.plugin):new Tu(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:a,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:o,line:t,source:this.css},this.file&&(ju&&(i.input.url=ju(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Cu])t=this[Cu];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[Cu]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Mu(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(i=a.originalPositionFor({column:n,line:r})),o=Su(s.source)?ju(s.source):new URL(s.source,this.map.consumer().sourceRoot||ju(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:o.toString()};if("file:"===o.protocol){if(!Ou)throw new Error("file: protocol is not available in this PostCSS build");l.file=Ou(o)}var c=a.sourceContentFor(s.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},p(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Iu=Du;Du.default=Du,Pu&&Pu.registerInput&&Pu.registerInput(Du);var Nu=$c.SourceMapConsumer,Ru=$c.SourceMapGenerator,zu=$c.dirname,Fu=$c.relative,Bu=$c.resolve,Yu=$c.sep,Uu=$c.pathToFileURL,Hu=Iu,$u=Boolean(Nu&&Ru),Wu=Boolean(zu&&Bu&&Fu&&Yu),Vu=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=O(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||zu(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new Nu(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),Wu&&$u&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ru.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ru({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new Ru({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=i-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),i=s.length-r):i+=s.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=i-2,e.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=i-1,e.map.addMapping(a)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?zu(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=zu(Bu(r,this.mapOpts.annotation)));var n=Fu(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new Hu(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return i?i.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(Uu){var r=Uu(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===Yu&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),qu=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return y(t,e),t}(cu),Gu=qu;qu.default=qu;var Zu,Xu,Ju,Ku,Qu=Zc.isClean,ed=Zc.my,td=du,rd=Gu;
153function nd(e){return e.map(function(e){return e.nodes&&(e.nodes=nd(e.nodes)),delete e.source,e})}function id(e){if(e[Qu]=!1,e.proxyOf.nodes)for(var t,r=O(e.proxyOf.nodes);!(t=r()).done;){id(t.value)}}var od=function(e){function t(){return e.apply(this,arguments)||this}y(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t);!(n=i()).done;)for(var o,a=n.value,s=O(this.normalize(a,this.last));!(o=s()).done;){var l=o.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=O(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,a=O(i);!(o=a()).done;){var s=o.value;this.proxyOf.nodes.splice(n+1,0,s)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var a,s=O(o);!(a=s()).done;){var l=a.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=nd(Zu(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=O(e=e.slice(0));!(i=o()).done;){var a=i.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=O(e=e.nodes.slice(0));!(s=l()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new td(e)]}else if(e.selector)e=[new Xu(e)];else if(e.name)e=[new Ju(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new rd(e)]}var u=e.map(function(e){return e[ed]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Qu]&&id(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=O(t=t.reverse());!(n=i()).done;){for(var o,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=O(s);!(o=l()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=O(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
153,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?g(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},p(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(cu);od.registerParse=function(e){Zu=e},od.registerRule=function(e){Xu=e},od.registerAtRule=function(e){Ju=e},od.registerRoot=function(e){Ku=e};var ad=od;od.default=od,od.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Ju.prototype):"rule"===e.type?Object.setPrototypeOf(e,Xu.prototype):"decl"===e.type?Object.setPrototypeOf(e,td.prototype):"comment"===e.type?Object.setPrototypeOf(e,rd.prototype):"root"===e.type&&Object.setPrototypeOf(e,Ku.prototype),e[ed]=!0,e.nodes&&e.nodes.forEach(function(e){od.rebuild(e)})};var sd,ld,cd=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return y(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new sd(new ld,this,e).stringify()},t}(ad);cd.registerLazyResult=function(e){sd=e},cd.registerProcessor=function(e){ld=e};var ud=cd;cd.default=cd;var dd=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),fd=dd;dd.default=dd;var pd=fd,hd=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new pd(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},p(e,[{key:"content",get:function(){return this.css}}]),e}(),md=hd;hd.default=hd;var yd="'".charCodeAt(0),gd='"'.charCodeAt(0),vd="\\".charCodeAt(0),bd="/".charCodeAt(0),_d="\n".charCodeAt(0),xd=" ".charCodeAt(0),wd="\f".charCodeAt(0),Od="\t".charCodeAt(0),jd="\r".charCodeAt(0),Sd="[".charCodeAt(0),Md="]".charCodeAt(0),kd="(".charCodeAt(0),Pd=")".charCodeAt(0),Td="{".charCodeAt(0),Ed="}".charCodeAt(0),Cd=";".charCodeAt(0),Ld="*".charCodeAt(0),Ad=":".charCodeAt(0),Dd="@".charCodeAt(0),Id=/[\t\n\f\r "#'()/;[\\\]{}]/g,Nd=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Rd=/.[\r\n"'(/\\]/,zd=/[\da-f]/i,Fd=ad,Bd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}y(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(Fd),Yd=Bd;Bd.default=Bd,Fd.registerAtRule(Bd);var Ud,Hd,$d=ad,Wd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}y(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,a=O(i);!(o=a()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new Ud(new Hd,this,e).stringify()},t}($d);Wd.registerLazyResult=function(e){Ud=e},Wd.registerProcessor=function(e){Hd=e};var Vd=Wd;Wd.default=Wd,$d.registerRoot(Wd);var qd={comma:function(e){return qd.split(e,[","],!0)},space:function(e){return qd.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",a=!1,s=0,l=!1,c="",u=!1,d=O(e);!(n=d()).done;){var f=n.value;u?u=!1:"\\"===f?u=!0:l?f===c&&(l=!1):'"'===f||"'"===f?(l=!0,c=f):"("===f?s+=1:")"===f?s>0&&(s-=1):0===s&&t.includes(f)&&(a=!0),a?(""!==o&&i.push(o.trim()),o="",a=!1):o+=f}return(r||""!==o)&&i.push(o.trim()),i}},Gd=qd;qd.default=qd;var Zd=ad,Xd=Gd,Jd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return y(t,e),p(t,[{key:"selectors",get:function(){return Xd.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Zd),Kd=Jd;Jd.default=Jd,Zd.registerRule(Jd);var Qd=du,ef=function(e,t){void 0===t&&(t={});var r,n,i,o,a,s,l,c,u,d,f=e.css.valueOf(),p=t.ignoreErrors,h=f.length,m=0,y=[],g=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){g.push(e)},endOfFile:function(){return 0===g.length&&m>=h},nextToken:function(e){if(g.length)return g.pop();if(!(m>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=f.charCodeAt(m)){case _d:case xd:case Od:case jd:case wd:n=m;do{n+=1,r=f.charCodeAt(n)}while(r===xd||r===_d||r===Od||r===jd||r===wd);d=["space",f.slice(m,n)],m=n-1;break;case Sd:case Md:case Td:case Ed:case Ad:case Cd:case Pd:var b=String.fromCharCode(r);d=[b,b,m];break;case kd:if(c=y.length?y.pop()[1]:"",u=f.charCodeAt(m+1),"url"===c&&u!==yd&&u!==gd&&u!==xd&&u!==_d&&u!==Od&&u!==wd&&u!==jd){n=m;do{if(s=!1,-1===(n=f.indexOf(")",n+1))){if(p||t){n=m;break}v("bracket")}for(l=n;f.charCodeAt(l-1)===vd;)l-=1,s=!s}while(s);d=["brackets",f.slice(m,n+1),m,n],m=n}else n=f.indexOf(")",m+1),o=f.slice(m,n+1),-1===n||Rd.test(o)?d=["(","(",m]:(d=["brackets",o,m,n],m=n);break;case yd:case gd:i=r===yd?"'":'"',n=m;do{if(s=!1,-1===(n=f.indexOf(i,n+1))){if(p||t){n=m+1;break}v("string")}for(l=n;f.charCodeAt(l-1)===vd;)l-=1,s=!s}while(s);d=["string",f.slice(m,n+1),m,n],m=n;break;case Dd:Id.lastIndex=m+1,Id.test(f),n=0===Id.lastIndex?f.length-1:Id.lastIndex-2,d=["at-word",f.slice(m,n+1),m,n],m=n;break;case vd:for(n=m,a=!0;f.charCodeAt(n+1)===vd;)n+=1,a=!a;if(r=f.charCodeAt(n+1),a&&r!==bd&&r!==xd&&r!==_d&&r!==Od&&r!==jd&&r!==wd&&(n+=1,zd.test(f.charAt(n)))){for(;zd.test(f.charAt(n+1));)n+=1;f.charCodeAt(n+1)===xd&&(n+=1)}d=["word",f.slice(m,n+1),m,n],m=n;break;default:r===bd&&f.charCodeAt(m+1)===Ld?(0===(n=f.indexOf("*/",m+2)+1)&&(p||t?n=f.length:v("comment")),d=["comment",f.slice(m,n+1),m,n],m=n):(Nd.lastIndex=m+1,Nd.test(f),n=0===Nd.lastIndex?f.length-1:Nd.lastIndex-2,d=["word",f.slice(m,n+1),m,n],y.push(d),m=n)}return m++,d}
vendor: 5,482 bytes, line 153
153},position:function(){return m}}},tf=Gu,rf=Yd,nf=Vd,of=Kd,af={empty:!0,space:!0};var sf=function(){function e(e){this.input=e,this.root=new nf,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new rf;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,a=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),o&&(e=s[s.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,a=O(e.entries());!(i=a()).done;){var s=i.value,l=s[0];if("("===(r=(t=s[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new tf;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=ef(this.input)},t.decl=function(e,t){var r=new Qd;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),d="",f=l;f>0;f--){var p=u[f][0];if(0===d.trim().indexOf("!")&&"space"!==p)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new of;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}
153if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(o=(i=r[d])[0])||d!==l-1||n?"comment"===o?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",af[s]||af[a]||","===c.slice(-1)?u=!1:c+=i[1]):c+=i[1]:u=!1;if(!u){var f=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:f,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new of;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),lf=ad,cf=sf,uf=Iu;function df(e,t){var r=new uf(e,t),n=new cf(r);try{n.parse()}catch(e){throw e}return n.root}var ff=df;df.default=df,lf.registerParse(df);var pf=Zc.isClean,hf=Zc.my,mf=Vu,yf=tu,gf=ad,vf=ud,bf=md,_f=ff,xf=Vd,wf={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Of={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},jf={Once:!0,postcssPlugin:!0,prepare:!0};function Sf(e){return"object"===(void 0===e?"undefined":_(e))&&"function"==typeof e.then}function Mf(e){var t=!1,r=wf[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function kf(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Mf(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Pf(e){return e[pf]=!1,e.nodes&&e.nodes.forEach(function(e){return Pf(e)}),e}var Tf={},Ef=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(g(r,e)||g(r,bf))i=Pf(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=_f;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{i=a(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[hf]&&gf.rebuild(i)}else i=Pf(r);this.result=new bf(t,i,n),this.helpers=h({},Tf,{postcss:Tf,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=O(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":_(i)))for(var o in i){if(!Of[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
153sion+" now).");if(!jf[o])if("object"===_(i[o]))for(var a in i[o])r(i,"*"===a?o:o+"-"+a.toLowerCase(),i[o][a]);else"function"==typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return d(function(){var t,r,n,i,o,a,s,l,c,u,d,f;return j(this,function(p){switch(p.label){case 0:e.plugin=0,t=0,p.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Sf(n=e.runOnRoot(r)))return[3,5];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,n];case 3:return p.sent(),[3,5];case 4:throw i=p.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,p.label=7;case 7:if(o[pf])return[3,14];o[pf]=!0,a=[kf(o)],p.label=8;case 8:if(!(a.length>0))return[3,13];if(!Sf(s=e.visitTick(a)))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,s];case 10:return p.sent(),[3,12];case 11:throw l=p.sent(),c=a[a.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,i,a;return j(this,function(s){switch(s.label){case 0:t=f.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=O(e.listeners.OnceExit),p.label=15;case 15:return(f=d()).done?[3,18]:[5,S(u())];case 16:p.sent(),p.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Sf(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=yf;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new mf(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=O(this.plugins);!(e=t()).done;){var r=e.value;if(Sf(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[pf];)n[pf]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=O(n.nodes);!(i=o()).done;){var a=i.value;this.visitSync(this.listeners.OnceExit,a)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=O(e);!(r=n()).done;){var i=r.value,o=i[0],a=i[1];this.result.lastPlugin=o;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Sf(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],a=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[pf])return s[pf]=!0,void e.push(kf(s));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[pf]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[pf]=!0;for(var r,n=O(Mf(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[pf]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
153,p(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Ef.registerPostcss=function(e){Tf=e};var Cf=Ef;Ef.default=Ef,xf.registerLazyResult(Ef),vf.registerLazyResult(Ef);var Lf=Vu,Af=tu,Df=ff,If=md,Nf=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=Af;this.result=new If(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var a=new Lf(i,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},p(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=Df;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Rf=Nf;Nf.default=Nf;var zf=Rf,Ff=Cf,Bf=ud,Yf=Vd,Uf=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=O(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Ff(this,e,t):new zf(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Hf=Uf;Uf.default=Uf,Yf.registerProcessor(Uf),Bf.registerProcessor(Uf);var $f=du,Wf=_u,Vf=Gu,qf=Yd,Gf=Iu,Zf=Vd,Xf=Kd;function Jf(e,t){if(Array.isArray(e))return e.map(function(e){return Jf(e)});var r=e.inputs,n=v(e,["inputs"]);if(r){t=[];for(var i,o=O(r);!(i=o()).done;){var a=h({},i.value,{__proto__:Gf.prototype});a.map&&(a.map=h({},a.map,{__proto__:Wf.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Jf(e,t)})),n.source){var s=n.source,l=s.inputId,c=v(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Zf(n);if("decl"===n.type)return new $f(n);if("rule"===n.type)return new Xf(n);if("comment"===n.type)return new Vf(n);if("atrule"===n.type)return new qf(n);throw new Error("Unknown node type: "+e.type)}var Kf=Jf;Jf.default=Jf;var Qf=Gc,ep=du,tp=Cf,rp=ad,np=Hf,ip=tu,op=Kf,ap=ud,sp=fd,lp=Gu,cp=Yd,up=md,dp=Iu,fp=ff,pp=Gd,hp=Kd,mp=Vd,yp=cu;function gp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new np(t)}gp.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),o.env.LANG&&o.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new np).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return gp([i(r)]).process(e,t)},i},gp.stringify=ip,gp.parse=fp,gp.fromJSON=op,gp.list=pp,gp.comment=function(e){return new lp(e)},gp.atRule=function(e){return new cp(e)},gp.decl=function(e){return new ep(e)},gp.rule=function(e){return new hp(e)},gp.root=function(e){return new mp(e)},gp.document=function(e){return new ap(e)},gp.CssSyntaxError=Qf,gp.Declaration=ep,gp.Container=rp,gp.Processor=np,gp.Document=ap,gp.Comment=lp,gp.Warning=sp,gp.AtRule=cp,gp.Result=up,gp.Input=dp,gp.Rule=hp,gp.Root=mp,gp.Node=yp,tp.registerPostcss(gp);var vp=gp;gp.default=gp;var bp=zc(vp);bp.stringify,bp.fromJSON,bp.plugin,bp.parse,bp.list,bp.document,bp.comment,bp.atRule,bp.rule,bp.decl,bp.root,bp.CssSyntaxError,bp.Declaration,bp.Container,bp.Processor,bp.Document,bp.Comment,bp.Warning,bp.AtRule,bp.Result,bp.Input,bp.Rule,bp.Root,bp.Node;var _p=Object.defineProperty,xp=function(e,t,r){return function(e,t,r){return t in e?_p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":_(t))?t+"":t,r)};var wp=function(){function e(e){xp(this,"fileName"),xp(this,"functionName"),xp(this,"lineNumber"),xp(this,"columnNumber"),this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}return e.prototype.toString=function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t},e}
153(),Op=/(^|@)\S+:\d+/,jp=/^\s*at .*(\S+:\d+|\(native\))/m,Sp=/^(eval@)?(\[native code])?$/,Mp={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(jp)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: "+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(jp)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=r?t.replace(r[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:n.pop()),o=n.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new wp({functionName:o,fileName:a,lineNumber:i[1],columnNumber:i[2]})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(Sp)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new wp({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new wp({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),n=[],i=2,o=r.length;i<o;i+=2){var a=t.exec(r[i]);a&&n.push(new wp({fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],i=0,o=r.length;i<o;i+=2){var a=t.exec(r[i]);a&&n.push(new wp({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(Op)&&!e.match(/^Error created at/)},this).map(function(e){var t=e.split("@"),r=this.extractLocation(t.pop()),n=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new wp({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})},this)}};function kp(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var r=e.localName;if(!r)break;r=r.toLowerCase();var n=e.parentElement,i=[];if(n.children&&n.children.length>0)for(var o=0;o<n.children.length;o++){var a=n.children[o];a.localName&&a.localName.toLowerCase&&a.localName.toLowerCase()===r&&i.push(a)}i.length>1&&(r+=":eq("+i.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}function Pp(e){return"[object Object]"===Object.prototype.toString.call(e)}function Tp(e,t){if(0===t)return!0;for(var r,n=O(Object.keys(e));!(r=n()).done;){var i=r.value;if(Pp(e[i])&&Tp(e[i],t-1))return!0}return!1}function Ep(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],i=[];return JSON.stringify(e,function(e,t){if(n.length>0){var o=n.indexOf(this);~o?n.splice(o+1):n.push(this),~o?i.splice(o,1/0,e):i.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(function(e){if(Pp(e)&&Object.keys(e).length>r.numOfKeysLimit)return!0;if("function"==typeof e)return!0;if(Pp(e)&&Tp(e,r.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();r.stringLengthLimit&&t.length>r.stringLengthLimit&&(t=t.slice(0,r.stringLengthLimit)+"...");return t}(t);if("bigint"===(void 0===t?"undefined":_(t)))return t.toString()+"n";if(g(t,Event)){var a={};for(var s in t){var l=t[s];Array.isArray(l)?a[s]=kp(l.length?l[0]:null):a[s]=l}return a}return g(t,Node)?g(t,HTMLElement)?t?t.outerHTML:"":t.nodeName:g(t,Error)?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t})}var Cp={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","t
153ime","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Lp(e,t,r){var n,i=r?Object.assign({},Cp,r):Cp,o=i.logger;if(!o)return function(){};n="string"==typeof o?t[o]:o;var a=0,s=!1,l=[];if(i.level.includes("error")){var c=function(t){var r=t.message,n=t.error,o=Mp.parse(n).map(function(e){return e.toString()}),a=[Ep(r,i.stringifyOptions)];e({level:"error",trace:o,payload:a})};t.addEventListener("error",c),l.push(function(){t.removeEventListener("error",c)});var u=function(t){var r,n;g(t.reason,Error)?n=[Ep("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,i.stringifyOptions)]:(r=new Error,n=[Ep("Uncaught (in promise)",i.stringifyOptions),Ep(t.reason,i.stringifyOptions)]);var o=Mp.parse(r).map(function(e){return e.toString()});e({level:"error",trace:o,payload:n})};t.addEventListener("unhandledrejection",u),l.push(function(){t.removeEventListener("unhandledrejection",u)})}for(var d,f=O(i.level);!(d=f()).done;){var p=d.value;l.push(h(n,p))}return function(){l.forEach(function(e){return e()})};function h(t,r){var n=this;return t[r]?function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}(t,r,function(t){var o=n;return function(){for(var n=arguments.length,l=new Array(n),c=0;c<n;c++)l[c]=arguments[c];if(t.apply(o,l),!("assert"===r&&l[0]||s)){s=!0;try{var u=Mp.parse(new Error).map(function(e){return e.toString()}).splice(1),d=("assert"===r?l.slice(1):l).map(function(e){return Ep(e,i.stringifyOptions)});++a<i.lengthThreshold?e({level:r,trace:u,payload:d}):a===i.lengthThreshold&&e({level:"warn",trace:[],payload:[Ep("The number of log records reached the threshold.")]})}catch(e){t.apply(void 0,[].concat(["rrweb logger error:",e],l))}finally{s=!1}}}}):function(){}}}var Ap,Dp,Ip,Np=n.setImmediate,Rp=Object.prototype.toString,zp=void 0!==Np?function(e){return Np(e)}:setTimeout;try{Object.defineProperty({},"x",{}),Ap=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){Ap=function(e,t,r){return e[t]=r,e}}function Fp(e,t){Ip.add(e,t),Dp||(Dp=zp(Ip.drain))}function Bp(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"==typeof t&&t}function Yp(){for(var e=0;e<this.chain.length;e++)Up(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Up(e,t,r){var n,i;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=Bp(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function Hp(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=Bp(e))?Fp(function(){var n=new Vp(r);try{t.call(e,function(){Hp.apply(n,arguments)},function(){$p.apply(n,arguments)})}catch(e){$p.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&Fp(Yp,r))}catch(e){$p.call(new Vp(r),e)}}}function $p(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Fp(Yp,t))}function Wp(e,t,r,n){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){r(i,e)},n)})(i)}function Vp(e){this.def=e,this.triggered=!1}function qp(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Gp(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new qp(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&Fp(Yp,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){Hp.call(t,e)},function(e){$p.call(t,e)})}catch(e){$p.call(t,e)}}Ip=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,o){r=new n(i,o),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=Dp=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Zp,Xp=Ap({},"constructor",Gp,!1);Gp.prototype=Xp,Ap(Xp,"__NPO__",0,!1),Ap(Gp,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),Ap(Gp,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),Ap(Gp,"all",function(e){var t=this;return"[object Array]"!==Rp.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var i=e.length,o=Array(i),a=0;Wp(t,e,function(e,t){o[e]=t,++a===i&&r(o)},n)})}),Ap(Gp,"race",function(e){var t=this;return"[object Array]"!==Rp.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");Wp(t,e,function(e,t){r(t)},n)})}),Zp="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:Gp;var Jp,Kp,Qp,eh,th,rh,nh,ih,oh,ah,sh={DEBUG:!1,LIB_VERSION:"2.75.0"},lh=864e5,ch=8e3,uh=Array.prototype,dh=Function.prototype,fh=Object.prototype,ph=uh.slice,hh=fh.toString,mh=fh.hasOwnProperty,yh=n.console,gh=n.navigator,vh=n.document,bh=n.opera,_h=n.screen,xh=gh.userAgent,wh=dh.bind,Oh=uh.forEach,jh=uh.indexOf,Sh=uh.map,Mh=Array.isArray,kh={},Ph={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Th={log:function(){if(sh.DEBUG&&!Ph.isUndefined(yh)&&yh)try{yh.log.apply(yh,arguments)}catch(e){Ph.each(arguments,function(e){yh.log(e)})}},warn:function(){if(sh.DEBUG&&!Ph.isUndefined(yh)&&yh){var e=["Mixpanel warning:"].
153concat(Ph.toArray(arguments));try{yh.warn.apply(yh,e)}catch(t){Ph.each(e,function(e){yh.warn(e)})}}},error:function(){if(sh.DEBUG&&!Ph.isUndefined(yh)&&yh){var e=["Mixpanel error:"].concat(Ph.toArray(arguments));try{yh.error.apply(yh,e)}catch(t){Ph.each(e,function(e){yh.error(e)})}}},critical:function(){if(!Ph.isUndefined(yh)&&yh){var e=["Mixpanel error:"].concat(Ph.toArray(arguments));try{yh.error.apply(yh,e)}catch(t){Ph.each(e,function(e){yh.error(e)})}}}},Eh=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Th,arguments)}},Ch=function(e){return{log:Eh(Th.log,e),error:Eh(Th.error,e),critical:Eh(Th.critical,e)}},Lh=function(e){return function(){try{return e.apply(this,arguments)}catch(e){Th.critical("Implementation error. Please turn on debug and contact [email protected]."),sh.DEBUG&&Th.critical(e)}}},Ah=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=Lh(t[r]))};Ph.bind=function(e,t){var r,n;if(wh&&e.bind===wh)return wh.apply(e,ph.call(arguments,1));if(!Ph.isFunction(e))throw new TypeError;return r=ph.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(ph.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var a=e.apply(o,r.concat(ph.call(arguments)));return Object(a)===a?a:o},n},Ph.each=function(e,t,r){if(null!=e)if(Oh&&e.forEach===Oh)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n,e)===kh)return}else for(var o in e)if(mh.call(e,o)&&t.call(r,e[o],o,e)===kh)return},Ph.extend=function(e){return Ph.each(ph.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},Ph.isArray=Mh||function(e){return"[object Array]"===hh.call(e)},Ph.isFunction=function(e){return"function"==typeof e},Ph.isArguments=function(e){return!(!e||!mh.call(e,"callee"))},Ph.toArray=function(e){return e?e.toArray?e.toArray():Ph.isArray(e)||Ph.isArguments(e)?ph.call(e):Ph.values(e):[]},Ph.map=function(e,t,r){if(Sh&&e.map===Sh)return e.map(t,r);var n=[];return Ph.each(e,function(e){n.push(t.call(r,e))}),n},Ph.keys=function(e){var t=[];return null===e||Ph.each(e,function(e,r){t[t.length]=r}),t},Ph.values=function(e){var t=[];return null===e||Ph.each(e,function(e){t[t.length]=e}),t},Ph.include=function(e,t){var r=!1;return null===e?r:jh&&e.indexOf===jh?-1!=e.indexOf(t):(Ph.each(e,function(e){if(r||(r=e===t))return kh}),r)},Ph.includes=function(e,t){return-1!==e.indexOf(t)},Ph.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},Ph.isObject=function(e){return e===Object(e)&&!Ph.isArray(e)},Ph.isEmptyObject=function(e){if(Ph.isObject(e)){for(var t in e)if(mh.call(e,t))return!1;return!0}return!1},Ph.isUndefined=function(e){return void 0===e},Ph.isString=function(e){return"[object String]"==hh.call(e)},Ph.isDate=function(e){return"[object Date]"==hh.call(e)},Ph.isNumber=function(e){return"[object Number]"==hh.call(e)},Ph.isElement=function(e){return!(!e||1!==e.nodeType)},Ph.encodeDates=function(e){return Ph.each(e,function(t,r){Ph.isDate(t)?e[r]=Ph.formatDate(t):Ph.isObject(t)&&(e[r]=Ph.encodeDates(t))}),e},Ph.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Ph.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},Ph.strip_empty_properties=function(e){var t={};return Ph.each(e,function(e,r){Ph.isString(e)&&e.length>0&&(t[r]=e)}),t},Ph.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):Ph.isArray(e)?(r=[],Ph.each(e,function(e){r.push(Ph.truncate(e,t))})):Ph.isObject(e)?(r={},Ph.each(e,function(e,n){r[n]=Ph.truncate(e,t)})):r=e,r},Ph.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},r=function(e,n){var i="",o=0,a="",s="",l=0,c=i,u=[],d=n[e];
153switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof d){case"string":return t(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(i+=" ",u=[],"[object Array]"===hh.apply(d)){for(l=d.length,o=0;o<l;o+=1)u[o]=r(o,d)||"null";return s=0===u.length?"[]":i?"[\n"+i+u.join(",\n"+i)+"\n"+c+"]":"["+u.join(",")+"]",i=c,s}for(a in d)mh.call(d,a)&&(s=r(a,d))&&u.push(t(a)+(i?": ":":")+s);return s=0===u.length?"{}":i?"{"+u.join(",")+c+"}":"{"+u.join(",")+"}",i=c,s}};return r("",{"":e})},Ph.JSONDecode=(th={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},rh=function(e){var t=new SyntaxError(e);throw t.at=Jp,t.text=Qp,t},nh=function(e){return e&&e!==Kp&&rh("Expected '"+e+"' instead of '"+Kp+"'"),Kp=Qp.charAt(Jp),Jp+=1,Kp},ih=function(){var e,t="";for("-"===Kp&&(t="-",nh("-"));Kp>="0"&&Kp<="9";)t+=Kp,nh();if("."===Kp)for(t+=".";nh()&&Kp>="0"&&Kp<="9";)t+=Kp;if("e"===Kp||"E"===Kp)for(t+=Kp,nh(),"-"!==Kp&&"+"!==Kp||(t+=Kp,nh());Kp>="0"&&Kp<="9";)t+=Kp,nh();if(e=+t,isFinite(e))return e;rh("Bad number")},oh=function(){var e,t,r,n="";if('"'===Kp)for(;nh();){if('"'===Kp)return nh(),n;if("\\"===Kp)if(nh(),"u"===Kp){for(r=0,t=0;t<4&&(e=parseInt(nh(),16),isFinite(e));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else{if("string"!=typeof th[Kp])break;n+=th[Kp]}else n+=Kp}rh("Bad string")},ah=function(){for(;Kp&&Kp<=" ";)nh()},eh=function(){switch(ah(),Kp){case"{":return function(){var e,t={};if("{"===Kp){if(nh("{"),ah(),"}"===Kp)return nh("}"),t;for(;Kp;){if(e=oh(),ah(),nh(":"),Object.hasOwnProperty.call(t,e)&&rh('Duplicate key "'+e+'"'),t[e]=eh(),ah(),"}"===Kp)return nh("}"),t;nh(","),ah()}}rh("Bad object")}();case"[":return function(){var e=[];if("["===Kp){if(nh("["),ah(),"]"===Kp)return nh("]"),e;for(;Kp;){if(e.push(eh()),ah(),"]"===Kp)return nh("]"),e;nh(","),ah()}}rh("Bad array")}();case'"':return oh();case"-":return ih();default:return Kp>="0"&&Kp<="9"?ih():function(){switch(Kp){case"t":return nh("t"),nh("r"),nh("u"),nh("e"),!0;case"f":return nh("f"),nh("a"),nh("l"),nh("s"),nh("e"),!1;case"n":return nh("n"),nh("u"),nh("l"),nh("l"),null}rh('Unexpected "'+Kp+'"')}()}},function(e){var t;return Qp=e,Jp=0,Kp=" ",t=eh(),ah(),Kp&&rh("Syntax error"),t}),Ph.base64Encode=function(e){var t,r,n,i,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=Ph.utf8Encode(e);do{t=(o=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,r=o>>12&63,n=o>>6&63,i=63&o,u[l++]=a.charAt(t)+a.charAt(r)+a.charAt(n)+a.charAt(i)}while(s<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},Ph.utf8Encode=function(e){var t,r,n,i,o="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<n;i++){var a=e.charCodeAt(i),s=null;a<128?r++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==s&&(r>t&&(o+=e.substring(t,r)),o+=s,t=r=i+1)}return r>t&&(o+=e.substring(t,e.length)),o},Ph.UUID=function(){try{return n.crypto.randomUUID()}catch(r){for(var e=new Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",Ph.map(e,function(e){return e.toString(16)}).join("")}};var Dh=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];Ph.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<Dh.length;t++)if(-1!==e.indexOf(Dh[t]))return!0;return!1},Ph.HTTPBuildQuery=function(e,t){var r,n,i=[];return Ph.isUndefined(t)&&(t="&"),Ph.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r}),i.join(t)},Ph.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(e){Th.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},Ph.cookie={get:function(e){for(var t=e+"=",r=vh.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=Ph.JSONDecode(Ph.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,i,o,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=Zh(vh.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+1e3*r),l="; expires="+d.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),vh.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c},set:function(e,t,r,n,i,o,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=Zh(vh.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+24*r*60*60*1e3),l="; expires="+d.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var f=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c;return vh.cookie=f,f},remove:function(e,t,r){Ph.cookie.set(e,"",-1,t,!1,!1,r)}};var Ih=function(e){var t=!0;
153try{var r="__mplss_"+Wh(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},Nh=null,Rh=function(e,t){return null===Nh||t?Nh=Ih(e||n.localStorage):Nh},zh=null;function Fh(e,t,r){var n=function(e){Th.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||Th.error(t+" unsupported"),i},error:n,get:function(t){try{return e.getItem(t)}catch(e){n(e)}return null},parse:function(t){try{return Ph.JSONDecode(e.getItem(t))||{}}catch(e){}return null},set:function(t,r){try{e.setItem(t,r)}catch(e){n(e)}},remove:function(t){try{e.removeItem(t)}catch(e){n(e)}}}}var Bh=null,Yh=null;try{Bh=n.localStorage,Yh=n.sessionStorage}catch(e){}Ph.localStorage=Fh(Bh,"localStorage",Rh),Ph.sessionStorage=Fh(Yh,"sessionStorage",function(e,t){return null===zh||t?zh=Ih(e||n.sessionStorage):zh}),Ph.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,i,o,a){if(t)if(t.addEventListener&&!o)t.addEventListener(r,i,!!a);else{var s="on"+r,l=t[s];t[s]=function(t,r,i){var o=function(o){if(o=o||e(n.event)){var a,s,l=!0;return Ph.isFunction(i)&&(a=i(o)),s=r.call(t,o),!1!==a&&!1!==s||(l=!1),l}};return o}(t,i,l)}else Th.error("No valid element provided to register_event")}}();var Uh=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Ph.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(e,r){var n=" "+r+" ";return(" "+e.className+" ").replace(t," ").indexOf(n)>=0}function n(t){if(!vh.getElementsByTagName)return[];var n,i,o,a,s,l,c,u,d,f,p=t.split(" "),h=[vh];for(l=0;l<p.length;l++)if((n=p[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(i=n.split("#"))[0];var m=i[1],y=vh.getElementById(m);if(!y||o&&y.nodeName.toLowerCase()!=o)return[];h=[y]}else if(n.indexOf(".")>-1){o=(i=n.split("."))[0];var g=i[1];for(o||(o="*"),a=[],s=0,c=0;c<h.length;c++)for(d="*"==o?e(h[c]):h[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];for(h=[],f=0,c=0;c<a.length;c++)a[c].className&&Ph.isString(a[c].className)&&r(a[c],g)&&(h[f++]=a[c])}else{var v=n.match(Uh);if(v){o=v[1];var b,_=v[2],x=v[3],w=v[4];for(o||(o="*"),a=[],s=0,c=0;c<h.length;c++)for(d="*"==o?e(h[c]):h[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];switch(h=[],f=0,x){case"=":b=function(e){return e.getAttribute(_)==w};break;case"~":b=function(e){return e.getAttribute(_).match(new RegExp("\\b"+w+"\\b"))};break;case"|":b=function(e){return e.getAttribute(_).match(new RegExp("^"+w+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(_).indexOf(w)};break;case"$":b=function(e){return e.getAttribute(_).lastIndexOf(w)==e.getAttribute(_).length-w.length};break;case"*":b=function(e){return e.getAttribute(_).indexOf(w)>-1};break;default:b=function(e){return e.getAttribute(_)}}for(h=[],f=0,c=0;c<a.length;c++)b(a[c])&&(h[f++]=a[c])}else{for(o=n,a=[],s=0,c=0;c<h.length;c++)for(d=h[c].getElementsByTagName(o),u=0;u<d.length;u++)a[s++]=d[u];h=a}}return h}return function(e){return Ph.isElement(e)?[e]:Ph.isObject(e)&&!Ph.isUndefined(e.length)?e:n.call(this,e)}}();var Hh=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],$h=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Ph.info={campaignParams:function(e){var t="",r={};return Ph.each(Hh,function(n){(t=Ph.getQueryParam(vh.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return Ph.each($h,function(r){(e=Ph.getQueryParam(vh.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return Ph.extend(Ph.info.campaignParams(),Ph.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null}
153,searchInfo:function(e){var t=Ph.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var i=Ph.getQueryParam(e,r);i.length&&(n.mp_keyword=i)}return n},browser:function(e,t,r){return t=t||"",r||Ph.includes(e," OPR/")?Ph.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Ph.includes(e,"IEMobile")||Ph.includes(e,"WPDesktop")?"Internet Explorer Mobile":Ph.includes(e,"SamsungBrowser/")?"Samsung Internet":Ph.includes(e,"Edge")||Ph.includes(e,"Edg/")?"Microsoft Edge":Ph.includes(e,"FBIOS")?"Facebook Mobile":Ph.includes(e,"Whale/")?"Whale Browser":Ph.includes(e,"Chrome")?"Chrome":Ph.includes(e,"CriOS")?"Chrome iOS":Ph.includes(e,"UCWEB")||Ph.includes(e,"UCBrowser")?"UC Browser":Ph.includes(e,"FxiOS")?"Firefox iOS":Ph.includes(t,"Apple")?Ph.includes(e,"Mobile")?"Mobile Safari":"Safari":Ph.includes(e,"Android")?"Android Mobile":Ph.includes(e,"Konqueror")?"Konqueror":Ph.includes(e,"Firefox")?"Firefox":Ph.includes(e,"MSIE")||Ph.includes(e,"Trident/")?"Internet Explorer":Ph.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Ph.info.browser(e,t,r)];if(void 0===n)return null;var i=e.match(n);return i?parseFloat(i[i.length-2]):null},os:function(){var e=xh;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return n.location.href},properties:function(e){return"object"!=typeof e&&(e={}),Ph.extend(Ph.strip_empty_properties({$os:Ph.info.os(),$browser:Ph.info.browser(xh,gh.vendor,bh),$referrer:vh.referrer,$referring_domain:Ph.info.referringDomain(vh.referrer),$device:Ph.info.device(xh)}),{$current_url:Ph.info.currentUrl(),$browser_version:Ph.info.browserVersion(xh,gh.vendor,bh),$screen_height:_h.height,$screen_width:_h.width,mp_lib:"web",$lib_version:sh.LIB_VERSION,$insert_id:Wh(),time:Ph.timestamp()/1e3},Ph.strip_empty_properties(e))},people_properties:function(){return Ph.extend(Ph.strip_empty_properties({$os:Ph.info.os(),$browser:Ph.info.browser(xh,gh.vendor,bh)}),{$browser_version:Ph.info.browserVersion(xh,gh.vendor,bh)})},mpPageViewProperties:function(){return Ph.strip_empty_properties({current_page_title:vh.title,current_domain:n.location.hostname,current_url_path:n.location.pathname,current_url_protocol:n.location.protocol,current_url_search:n.location.search})}};var Wh=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},Vh=function(){return"00-"+Ph.UUID().replace(/-/g,"")+"-"+Ph.UUID().replace(/-/g,"").substring(0,16)+"-01"},qh=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Gh=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Zh=function(e){var t=Gh,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=qh);var i=e.match(t);return i?i[0]:""},Xh=function(){},Jh=null,Kh=null;"undefined"!=typeof JSON&&(Jh=JSON.stringify,Kh=JSON.parse),Jh=Jh||Ph.JSONEncode,Kh=Kh||Ph.JSONDecode;Ph.info=Ph.info,Ph.info.browser=Ph.info.browser,Ph.info.browserVersion=Ph.info.browserVersion,Ph.info.device=Ph.info.device,Ph.info.properties=Ph.info.properties,Ph.isBlockedUA=Ph.isBlockedUA,Ph.isEmptyObject=Ph.isEmptyObject,Ph.isObject=Ph.isObject,Ph.JSONDecode=Ph.JSONDecode,Ph.JSONEncode=Ph.JSONEncode,Ph.toArray=Ph.toArray,Ph.NPO=Gp;var Qh="mixpanelRecordingEvents",em="mixpanelRecordingRegistry",tm=[Qh,em],rm=function(e){this.dbPromise=null,this.storeName=e};rm.prototype._openDb=function(){return new Zp(function(e,t){var r=n.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;tm.forEach(function(e){t.createObjectStore(e)})}})},rm.prototype.init=function(){return n.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof n.IDBDatabase?Zp.resolve():Zp.reject(e)})):Zp.reject("indexedDB is not supported in this browser")},rm.prototype.isInitialized=function(){return!!this.dbPromise},rm.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Zp(function(i,o){var a=n.transaction(r,e);a.oncomplete=function(){i(a)},a.onabort=a.onerror=function(){o(a.error)},t(a.objectStore(r))})};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Zp.reject(e)}.bind(this))},rm.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},rm.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},rm.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},rm.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};function nm(e,t){hm(!0,e,t)}function im(e,t){hm(!1,e,t)}function om(e,t){return"1"===pm(e,t)}function am(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||n,r=t.navigator||{},i=!1;return Ph.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){Ph.includes([!0,1,"1","yes"],e)&&(i=!0)}),i}(t))return Th.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===pm(e,t);return r&&Th.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function sm(e){return mm(e,function(e){return this.get_config(e)})}function lm(e){return mm(e,function(e){return this._get_config(e)})}function cm(e){return mm(e,function(e){return this._get_config(e)})}function um(e,t){dm(t=t||{}).remove(fm(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function dm(e){return"localStorage"===(e=e||{}).persistenceType?Ph.localStorage:Ph.cookie}function fm(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function pm(e,t){return dm(t).get(fm(e,t))}function hm(e,t,r){Ph.isString(t)&&t.length?(dm(r=r||{}).set(fm(t,r),e?1:0,Ph.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})):Th.error("gdpr."+(e?"optIn":"optOut")+" called with an invali
153d token")}function mm(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),i=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),a=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");n&&(r=am(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:a,window:s}))}catch(e){Th.error("Unexpected error when checking tracking opt-out status: "+e)}if(!r)return e.apply(this,arguments);var l=arguments[arguments.length-1];"function"==typeof l&&l(0)}}var ym=Ch("lock"),gm=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||n.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Zp};gm.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(Ph.bind(function(r,n){var i=t||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),a=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,c=this.storage,u=a+":X",d=a+":Y",f=a+":Z",p=function(e){if((new Date).getTime()-o>l)return ym.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+i+"]"),c.removeItem(f),c.removeItem(d),void y();setTimeout(function(){try{e()}catch(e){n(e)}},s*(Math.random()+.1))},h=function(e,t){e()?t():p(function(){h(e,t)})},m=function(){var e=c.getItem(d);return(!e||e===i)&&(c.setItem(d,i),c.getItem(d)===i||(Rh(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),!1))},y=function(){c.setItem(u,i),h(m,function(){c.getItem(u)!==i?p(function(){c.getItem(d)===i?h(function(){return!c.getItem(f)},g):y()}):g()})},g=function(){c.setItem(f,"1");var t=function(){c.removeItem(f),c.getItem(d)===i&&c.removeItem(d),c.getItem(u)===i&&c.removeItem(u)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(!Rh(c,!0))throw new Error("localStorage support check failed");y()}catch(e){n(e)}},this))};var vm=function(e){this.storage=e||n.localStorage};vm.prototype.init=function(){return Zp.resolve()},vm.prototype.isInitialized=function(){return!0},vm.prototype.setItem=function(e,t){return new Zp(Ph.bind(function(r,n){try{this.storage.setItem(e,Jh(t))}catch(e){n(e)}r()},this))},vm.prototype.getItem=function(e){return new Zp(Ph.bind(function(t,r){var n;try{n=Kh(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},vm.prototype.removeItem=function(e){return new Zp(Ph.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var bm=Ch("batch"),_m=function(e,t){var r,i,o,a;t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new vm,this.lock=new gm(e,{storage:t.sharedLockStorage||n.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||Ph.bind(bm.error,bm),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=(r=Ph.bind(this._enqueuePersisted,this),i=t.enqueueThrottleMs,o=null,a=[],function(e){var t=this;return a.push(e),o||(o=new Zp(function(e){setTimeout(function(){var n=r.apply(t,[a]);o=null,a=[],e(n)},i)})),o}):this.enqueuePersisted=Ph.bind(function(e){return this._enqueuePersisted([e])},this)};_m.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?Zp.resolve():this.queueStorage.init().then(Ph.bind(function(){this.initialized=!0},this)).catch(Ph.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},_m.prototype.enqueue=function(e,t){var r={id:Wh(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Zp.resolve(!0))},_m.prototype._enqueuePersisted=function(e){var t=Ph.bind(function(){return this.ensureInit().then(Ph.bind(function(){return this.readFromStorage()},this)).then(Ph.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(Ph.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(Ph.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(Ph.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},_m.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(Ph.bind(function(){return this.readFromStorage()},this)).then(Ph.bind(function(r){if(r.length){var n={};Ph.each(t,function(e){n[e.id]=!0});for(var i=0;i<r.length;i++){var o=r[i];if((new Date).getTime()>o.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}return t},this)):Zp.resolve(t)};
vendor: 8,471 bytes, line 153
153var xm=function(e,t){var r=[];return Ph.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};_m.prototype.removeItemsByID=function(e){var t={};if(Ph.each(e,function(e){t[e]=!0}),this.memQueue=xm(this.memQueue,t),this.usePersistence){var r=Ph.bind(function(){return this.ensureInit().then(Ph.bind(function(){return this.readFromStorage()},this)).then(Ph.bind(function(e){return e=xm(e,t),this.saveToStorage(e)},this)).then(Ph.bind(function(){return this.readFromStorage()},this)).then(Ph.bind(function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw new Error("Item not removed from storage")}return!0},this)).catch(Ph.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(Ph.bind(function(e){return this.reportError("Error acquiring storage lock",e),!Rh(this.lock.storage,!0)&&r().then(Ph.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(Ph.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return Zp.resolve(!0)};var wm=function(e,t){var r=[];return Ph.each(e,function(e){var n=e.id;if(n in t){var i=t[n];null!==i&&(e.payload=i,r.push(e))}else r.push(e)}),r};_m.prototype.updatePayloads=function(e){return this.memQueue=wm(this.memQueue,e),this.usePersistence?this.lock.withLock(Ph.bind(function(){return this.ensureInit().then(Ph.bind(function(){return this.readFromStorage()},this)).then(Ph.bind(function(t){return t=wm(t,e),this.saveToStorage(t)},this)).catch(Ph.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(Ph.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):Zp.resolve(!0)},_m.prototype.readFromStorage=function(){return this.ensureInit().then(Ph.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(Ph.bind(function(e){return e&&(Ph.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(Ph.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},_m.prototype.saveToStorage=function(e){return this.ensureInit().then(Ph.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(Ph.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},_m.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Ph.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):Zp.resolve()};var Om=Ch("batch"),jm=function(e,t){this.errorReporter=t.errorReporter,this.queue=new _m(e,{errorReporter:Ph.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};jm.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},jm.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},jm.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},jm.prototype.clear=function(){return this.queue.clear()},jm.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},jm.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},jm.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(Ph.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},jm.prototype.sendRequestPromise=function(e,t){return new Zp(Ph.bind(function(r){this.sendRequest(e,t,r)},this))},jm.prototype.flush=function(e){if(this.requestInProgress)return Om.log("Flush: Request already in progress"),Zp.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),i=this.batchSize;return this.queue.fillBatch(i).then(Ph.bind(function(o){var a=o.length===i,s=[],l={};if(Ph.each(o,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=Ph.extend({},t.properties,{mp_sent_by_lib_version:sh.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&s.push(t)}l[e.id]=t},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),Zp.resolve();var c=Ph.bind(function(){return this.queue.removeItemsByID(Ph.map(o,function(e){return e.id})).then(Ph.bind(function(e){return Ph.each(o,Ph.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})},this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!a?(this.resetFlush(),Zp.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Zp.resolve())},this))},this),u=Ph.bind(function(a){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(l);if(Ph.isObject(a)&&"timeout"===a.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(Ph.isObject(a)&&(a.httpStatusCode>=500||429===a.httpStatusCode||a.httpStatusCode<=0&&(d=n.navigator.onLine,!Ph.isUndefined(d)&&!d)||"timeout"===a.error)){var s=2*this.flushInterval;return a.retryAfter&&(s=1e3*parseInt(a.retryAfter,10)||s),s=Math.min(6e5,s),this.reportError("Error; retry in "+s+" ms"),this.scheduleFlush(s),Zp.resolve()}if(Ph.isObject(a)&&413===a.httpStatusCode){if(o.length>1){var u=Math.max(1,Math.floor(i/2));return this.batchSize=Math.min(this.batchSize,u,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Zp.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),c()}return c()}catch(e){this.reportError("Error handling API response",e),this.resetFlush()}var d},this),d={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(d.transport="sendBeacon"),Om.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,d).then(u)},this)).catch(Ph.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},jm.prototype.reportError=function(e,t){if(Om.error.apply(Om.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){Om.error(t)}};var Sm=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},Mm="change",km="click",Pm="hashchange",Tm="load",Em="mp_locationchange",Cm="popstate",Lm="scrollend",Am="scroll",Dm="submit",Im="visibilitychange",Nm=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Rm=["mp-include"],zm=["mp-no-track"],Fm=zm.concat(["mp-sensitive"]),Bm=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Ym={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},Um={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},Hm={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},$m=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Wm=C
153h("autocapture");function Vm(e){for(var t={},r=qm(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function qm(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Gm(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!ey(e));return e}function Zm(e,t,r,n,i,o){var a={$classes:qm(e).split(" "),$tag_name:e.tagName.toLowerCase()},s=e.id;s&&(a.$id=s),iy(e,t,i,o)&&Ph.each(Bm.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);oy(n)&&(a["$attr-"+t]=n)}});for(var l=1,c=1,u=e;u=Gm(u);)l++,u.tagName===e.tagName&&c++;return a.$nth_child=l,a.$nth_of_type=c,a}function Xm(e,t){var r=t.allowElementCallback,i=t.allowSelectors||[],o=t.blockAttrs||[],a=t.blockElementCallback,s=t.blockSelectors||[],l=t.captureTextContent||!1,c=t.captureExtraAttrs||[],u=t.capturedForHeatMap||!1,d={};Ph.each(o,function(e){d[e]=!0});var f=null,p=void 0===e.target?e.srcElement:e.target;if(ry(p)&&(p=p.parentNode),function(e,t){if(!e||ty(e,"html")||!ey(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===Dm;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===Mm:t.type===km;case"select":case"textarea":return t.type===Mm;default:return t.type===km}}(p,e)&&Km(p,e,r,i)&&!Qm(p,e,a,s)){for(var h=[p],m=p;m.parentNode&&!ty(m,"body");)h.push(m.parentNode),m=m.parentNode;var y,g=[],v=!1;if(Ph.each(h,function(t){var n=iy(t,e,r,i);d.href||"a"!==t.tagName.toLowerCase()||(y=t.getAttribute("href"),y=n&&oy(y)&&y),Qm(t,e,a,s)&&(v=!0),g.push(Zm(t,e,d,c,r,i))},this),!v){var b=vh.documentElement;if(f={$event_type:e.type,$host:n.location.host,$pathname:n.location.pathname,$elements:g,$el_attr__href:y,$viewportHeight:Math.max(b.clientHeight,n.innerHeight||0),$viewportWidth:Math.max(b.clientWidth,n.innerWidth||0),$pageHeight:vh.body.offsetHeight||0,$pageWidth:vh.body.offsetWidth||0},Ph.each(c,function(e){if(!d[e]&&p.hasAttribute(e)){var t=p.getAttribute(e);oy(t)&&(f["$el_attr__"+e]=t)}}),l&&(_=Jm(p,e,r,i))&&_.length&&(f.$el_text=_),e.type===km&&(Ph.each(Nm,function(t){t in e&&(f["$"+t]=e[t])}),u&&(f.$captured_for_heatmap=!0),p=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var i=r[n];if(ty(i,"a")||ty(i,"button")||ty(i,"input")||ty(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),l){var _=Jm(p,e,r,i);_&&_.length&&(f.$el_text=_)}if(p){if(!Km(p,e,r,i)||Qm(p,e,a,s))return null;var x=Zm(p,e,d,c,r,i);f.$target=x,f.$el_classes=x.$classes,Ph.extend(f,Ph.strip_empty_properties({$el_id:x.$id,$el_tag_name:x.$tag_name}))}}}return f}function Jm(e,t,r,n){var i="";return iy(e,t,r,n)&&e.childNodes&&e.childNodes.length&&Ph.each(e.childNodes,function(e){ry(e)&&e.textContent&&(i+=Ph.trim(e.textContent).split(/(\s+)/).filter(oy).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Ph.trim(i)}function Km(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return Wm.critical("Error while checking element in allowElementCallback",e),!1}if(!n.length)return!0;for(var i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(e){Wm.critical("Error while checking selector: "+o,e)}}return!1}function Qm(e,t,r,n){var i;if(r)try{if(r(e,t))return!0}catch(e){return Wm.critical("Error while checking element in blockElementCallback",e),!0}if(n&&n.length)for(i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(e){Wm.critical("Error while checking selector: "+o,e)}}var a=Vm(e);for(i=0;i<zm.length;i++)if(a[zm[i]])return!0;return!1}function ey(e){return e&&1===e.nodeType}function ty(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function ry(e){return e&&3===e.nodeType}function ny(e){var t=(e.name||e.id||"").toString().toLowerCase();if("string"==typeof t){if(/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(t.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function iy(e,t,r,n){var i;if(!Km(e,t,r,n))return!1;for(var o=e;o.parentNode&&!ty(o,"body");o=o.parentNode){var a=Vm(o);for(i=0;i<Fm.length;
153i++)if(a[Fm[i]])return!1}var s=Vm(e);for(i=0;i<Rm.length;i++)if(s[Rm[i]])return!0;if(ty(e,"input")||ty(e,"select")||ty(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var l=e.type||"";if("string"==typeof l)switch(l.toLowerCase()){case"hidden":case"password":return!1}return!ny(e)}function oy(e){if(null===e||Ph.isUndefined(e))return!1;if("string"==typeof e){e=Ph.trim(e);if(/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}function ay(e){var t="onscrollend"in n,r=Lh(e),i=Lm;if(!t){var o=null;r=Lh(function(){clearTimeout(o),o=setTimeout(e,100)}),i=Am}return{listener:r,eventType:i}}function sy(e){var t=e.tagName.toLowerCase();return"button"===t||"input"===t||"select"===t||"textarea"===t||"details"===t||"dialog"===t||(!!e.isContentEditable||(!!(e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend)||(!!function(e){for(var t=0;t<$m.length;t++)if(e.hasAttribute($m[t]))return!0;return!1}(e)||(!!function(e){var t=e.getAttribute("role");if(!t)return!1;var r=t.trim().split(/\s+/)[0].toLowerCase();return Ym[r]}(e)||(!("a"!==t||!e.hasAttribute("href"))||!!e.hasAttribute("tabindex"))))))}function ly(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(Um[t])return!0;if(sy(e))return!1;for(var r=e.parentElement,n=0;r&&n<5;){if(sy(r))return!1;if(r.getRootNode&&r.getRootNode()!==vh){var i=r.getRootNode();if(i.host&&sy(i.host))return!1}r=r.parentElement,n++}return!!Hm[t]}function cy(e){return"composedPath"in e?e.composedPath():[]}function uy(e){var t=cy(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var dy=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",fy=["password","email","tel","hidden"];function py(e){return e?Array.isArray(e)?e:[e]:[]}function hy(e,t){return!!t&&!!e.closest(t)}function my(e,t){var r=(e.getAttribute("type")||"").toLowerCase();if(-1!==fy.indexOf(r))return!0;var n=(e.getAttribute("autocomplete")||"").toLowerCase();return!(!n||""===n||"off"===n)||(!!e.hasAttribute("data-rr-is-password")||(!!ny(e)||(t.input.maskAll?!hy(e,t.input.unmaskingSelector):!!hy(e,t.input.maskingSelector)||!!hy(e,dy))))}function yy(e,t){return!!e&&(!(!t.text._legacyClassRegex||!Rc(e,t.text._legacyClassRegex))||(t.text.maskAll?!hy(e,t.text.unmaskingSelector):!!hy(e,t.text.maskingSelector)||!!hy(e,dy)))}var gy=Ch("recorder"),vy=n.CompressionStream,by={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},_y=new Set([jl.MouseMove,jl.MouseInteraction,jl.Scroll,jl.ViewportResize,jl.Input,jl.TouchMove,jl.MediaInteraction,jl.Drag,jl.Selection]);var xy=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Xh,this._onMaxLengthReached=e.onMaxLengthReached||Xh,this._onBatchSent=e.onBatchSent||Xh,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=lh,this.recordMinMs=0;var t=Rh(e.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new rm(Qh),this.batcher=new jm(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:by,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};xy.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},xy.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
153).catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},xy.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},xy.prototype.get_config=function(e){return this.getConfig(e)},xy.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>lh&&(this.recordMaxMs=lh,gy.critical("record_max_ms cannot be greater than "+lh+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=Ph.info.currentUrl(),this.replayStartUrl=Ph.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=(new Date).getTime()+e}.bind(this);t();var r=this.getConfig("record_block_selector");""!==r&&null!==r||(r=void 0);var n,i=function(e){var t={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},r=e.get_config("record_mask_input_selector"),n=e.get_config("record_unmask_input_selector"),i=e.get_config("record_mask_all_inputs");t.input.maskingSelector=py(r).join(","),t.input.unmaskingSelector=py(n).join(","),void 0!==i&&(t.input.maskAll=i);var o=e.get_config("record_mask_text_selector"),a=e.get_config("record_unmask_text_selector"),s=e.get_config("record_mask_all_text"),l=e.get_config("record_mask_text_class"),c=py(o);if(l)if(l instanceof RegExp)t.text._legacyClassRegex=l;else{var u="."+l;-1===c.indexOf(u)&&c.push(u)}return t.text.maskingSelector=c.join(","),t.text.unmaskingSelector=py(a).join(","),void 0===s&&void 0!==o?t.text.maskAll=!1:void 0!==s&&(t.text.maskAll=s),t}(this._mixpanel);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(function(e){return e.type===Ol.IncrementalSnapshot&&_y.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e),(null===this.lastEventTimestamp||e.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=e.timestamp))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(my,i),maskTextFn:this._getMaskFn(yy,i),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:this.getConfig("record_console")?[(n={stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}},{name:"rrweb/console@1",observer:Lp,options:n})]:[]})}catch(e){this.reportError("Unexpected error when starting rrweb recording.",e)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var o=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),o)}else gy.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},xy.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError("Error with rrweb stopRecording",e)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},xy.prototype.isRrwebStopped=function(){return null===this._stopRecording},xy.prototype.flushEventsWithOptOut=function(e,t,r){var n=function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,r,n)},xy.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},xy.deserialize=function(e,t){return new xy(Ph.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},xy.prototype._sendRequest=function(e,t,r,i){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=Ph.info.currentUrl()),this._onBatchSent(),i({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this),a=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");n.fetch(a+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then(function(e){e.json().then(function(t){o(e,t)}).catch(function(e){i({error:e})})}).catch(function(e){i({error:e,httpStatusCode:0})})},xy.prototype._flushEvents=sm(function(e,t,r){var i=e.length;if(i>0){for(var o=this.replayId,a=1/0,s=-1/0,l=!1,c=0;c<i;c++)a=Math.min(a,e[c].timestamp),s=Math.max(s,e[c].timestamp),e[c].type===Ol.FullSnapshot&&(l=!0);if(0===this.seqNo){if(!l)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=a}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=a);var u=s-this.replayStartTime,d={$current_url:this.batchStartUrl,$lib_version:sh.LIB_VERSION,batch_start_time:a/1e3,mp_lib:"web",replay_id:o,replay_length_ms:u,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},f=JSON.stringify(e);if(Object.assign(d,this.getUserIdInfo()),function(e,t,r){if(!n.CompressionStream)return!1;var i=Ph.info.browser(e,t,r),o=Ph.info.browserVersion(e,t,r);return!(("Safari"===i||"Mobile Safari"===i)&&o>=16.4&&o<16.6)}(xh,gh.vendor,bh)){var p=new Blob([f],{type:"application/json"}).stream().pipeThrough(new vy("gzip"));new Response(p).blob().then(function(e){d.format="gzip",this._sendRequest(o,d,e,r)}.bind(this))}else d.format="body",this._sendRequest(o,d,f,r)}}),xy.prototype.reportError=function(e,t){gy.error.apply(gy.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){gy.error(t)}},xy.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},xy.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>ch?(gy.critical("record_min_ms cannot be greater than 8000ms. Capping value."),ch):e},xy.prototype._getMaskFn=function(e,t){return function(r,n){if(!r.trim().length)return"";var i=!0;try{i=e(n,t)}catch(e){this.reportError("Error checking if text should be masked, defaulting to masked",e)}if(i){var o=Math.min(r.length,1e4);return"*".repeat(o)}return r}.bind(this)};
153var wy=function(e){this.idb=new rm(em),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};wy.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},wy.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},wy.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return Zp.resolve();var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Zp.resolve())},wy.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return Sm(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):Zp.resolve(null)},wy.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},wy.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},wy.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):Zp.resolve()},wy.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter(function(e){return Sm(e)}).map(function(e){return xy.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return Zp.all(t)}.bind(this)).catch(this.handleError.bind(this)):Zp.resolve([])};var Oy=Ch("recorder"),jy=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||kc,this.sharedLockStorage=r,this.recordingRegistry=new wy({mixpanelInstance:this.mixpanelInstance,errorReporter:Oy.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};function Sy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}jy.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){Oy.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){Oy.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:Ph.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=xy.deserialize(e.activeSerializedRecording,i):this.activeRecording=new xy(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}Oy.log("Recording already in progress, skipping startRecording.")},jy.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},jy.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},jy.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return Zp.resolve()},jy.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Zp.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(Oy.log("No resumable recording found."),null)}.bind(this))},jy.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},jy.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(jy.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),n[l]=jy;var My,ky={exports:{}};var Py=(My||(My=1,function(e){e.exports=function(){function e(e){for(var t=[],r=0,n=e.length;r<n;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var t={}
153,r={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,r){return void 0===r?e<t:e<t&&t<r},"<=":function(e,t,r){return void 0===r?e<=t:e<=t&&t<=r},"!!":function(e){return t.truthy(e)},"!":function(e){return!t.truthy(e)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!(!t||void 0===t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,r){if(r<0){var n=String(e).substr(t);return n.substr(0,n.length+r)}return String(e).substr(t,r)},"+":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)+parseFloat(t,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)*parseFloat(t,10)})},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(e,t){return e.concat(t)},[])},var:function(e,t){var r=void 0===t?null:t,n=this;if(void 0===e||""===e||null===e)return n;for(var i=String(e).split("."),o=0;o<i.length;o++){if(null==n)return r;if(void 0===(n=n[i[o]]))return r}return n},missing:function(){for(var e=[],r=Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<r.length;n++){var i=r[n],o=t.apply({var:i},this);null!==o&&""!==o||e.push(i)}return e},missing_some:function(e,r){var n=t.apply({missing:r},this);return r.length-n.length>=e?[]:n}};return t.is_logic=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},t.truthy=function(e){return!(Array.isArray(e)&&0===e.length||!e)},t.get_operator=function(e){return Object.keys(e)[0]},t.get_values=function(e){return e[t.get_operator(e)]},t.apply=function(e,n){if(Array.isArray(e))return e.map(function(e){return t.apply(e,n)});if(!t.is_logic(e))return e;var i,o,a,s,l,c=t.get_operator(e),u=e[c];if(Array.isArray(u)||(u=[u]),"if"===c||"?:"==c){for(i=0;i<u.length-1;i+=2)if(t.truthy(t.apply(u[i],n)))return t.apply(u[i+1],n);return u.length===i+1?t.apply(u[i],n):null}if("and"===c){for(i=0;i<u.length;i+=1)if(o=t.apply(u[i],n),!t.truthy(o))return o;return o}if("or"===c){for(i=0;i<u.length;i+=1)if(o=t.apply(u[i],n),t.truthy(o))return o;return o}if("filter"===c)return s=t.apply(u[0],n),a=u[1],Array.isArray(s)?s.filter(function(e){return t.truthy(t.apply(a,e))}):[];if("map"===c)return s=t.apply(u[0],n),a=u[1],Array.isArray(s)?s.map(function(e){return t.apply(a,e)}):[];if("reduce"===c)return s=t.apply(u[0],n),a=u[1],l=void 0!==u[2]?t.apply(u[2],n):null,Array.isArray(s)?s.reduce(function(e,r){return t.apply(a,{current:r,accumulator:e})},l):l;if("all"===c){if(s=t.apply(u[0],n),a=u[1],!Array.isArray(s)||!s.length)return!1;for(i=0;i<s.length;i+=1)if(!t.truthy(t.apply(a,s[i])))return!1;return!0}if("none"===c){if(s=t.apply(u[0],n),a=u[1],!Array.isArray(s)||!s.length)return!0;for(i=0;i<s.length;i+=1)if(t.truthy(t.apply(a,s[i])))return!1;return!0}if("some"===c){if(s=t.apply(u[0],n),a=u[1],!Array.isArray(s)||!s.length)return!1;for(i=0;i<s.length;i+=1)if(t.truthy(t.apply(a,s[i])))return!0;return!1}if(u=u.map(function(e){return t.apply(e,n)}),r.hasOwnProperty(c)&&"function"==typeof r[c])return r[c].apply(n,u);if(c.indexOf(".")>0){var d=String(c).split("."),f=r;for(i=0;i<d.length;i++){if(!f.hasOwnProperty(d[i]))throw new Error("Unrecognized operation "+c+" (failed at "+d.slice(0,i+1).join(".")+")");f=f[d[i]]}return f.apply(n,u)}throw new Error("Unrecognized operation "+c)},t.uses_data=function(r){var n=[];if(t.is_logic(r)){var i=t.get_operator(r),o=r[i];Array.isArray(o)||(o=[o]),"var"===i?n.push(o[0]):o.forEach(function(e){n.push.apply(n,t.uses_data(e))})}return e(n)},t.add_operation=function(e,t){r[e]=t},t.rm_operation=function(e){delete r[e]},t.rule_like=function(e,r){if(r===e)return!0;if("@"===r)return!0;if("number"===r)return"number"==typeof e;if("string"===r)return"string"==typeof e;if("array"===r)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(r)){if(t.is_logic(e)){var n=t.get_operator(r),i=t.get_operator(e);
153if("@"===n||n===i)return t.rule_like(t.get_values(e,!1),t.get_values(r,!1))}return!1}if(Array.isArray(r)){if(Array.isArray(e)){if(r.length!==e.length)return!1;for(var o=0;o<r.length;o+=1)if(!t.rule_like(e[o],r[o]))return!1;return!0}return!1}return!1},t}()}(ky)),ky.exports),Ty=Sy(Py),Ey=function(e,t){if(null==e)return e;if("string"==typeof e)return e.toLowerCase();if(Array.isArray(e))return e.map(function(e){return Ey(e,t)});if(e===Object(e)){var r={};for(var n in e){if(e.hasOwnProperty(n))r[t&&"string"==typeof n?n.toLowerCase():n]=Ey(e[n],t)}return r}return e},Cy={};Cy.eventMatchesCriteria=function(e,t,r){if(e!==r.event_name)return{matches:!1};var n=r.property_filters,i=!0;if(n&&!Ph.isEmptyObject(n))try{var o=Ey(t||{},!0),a=function(e){return Ey(e,!1)}(n);i=Ty.apply(a,o)}catch(e){return{matches:!1,error:e.toString()}}return{matches:i}},n[s]=Promise.resolve(Cy);function Ly(){this.clicks=[]}function Ay(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}Ly.prototype.isRageClick=function(e,t){var r=(t=t||{}).threshold_px||30,n=t.timeout_ms||1e3,i=t.click_count||4;if(t.interactive_elements_only||false){var o=uy(e);if(!o||ly(o))return!1}var a=Date.now(),s=e.pageX,l=e.pageY,c=this.clicks[this.clicks.length-1];if(c&&a-c.timestamp<n&&Math.sqrt(Math.pow(s-c.x,2)+Math.pow(l-c.y,2))<r){if(this.clicks.push({x:s,y:l,timestamp:a}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:s,y:l,timestamp:a}];return!1},Ay.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return uy(e)},Ay.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=cy(e),r=0;r<t.length;r++){var n=t[r];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},Ay.prototype.observeShadowRoot=function(e){if(this.observedShadowRoots&&!this.observedShadowRoots.has(e)){var t=this;try{this.observedShadowRoots.add(e);var r=new window.MutationObserver(function(){t.changeCallback()});r.observe(e,this.observerConfig),this.shadowObservers.push(r)}catch(e){Wm.critical("Error while observing shadow root",e)}}},Ay.prototype.start=function(){this.observedShadowRoots||("undefined"!=typeof WeakSet?this.observedShadowRoots=new WeakSet:Wm.critical("Shadow DOM observation unavailable: WeakSet not supported"))},Ay.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(e){Wm.critical("Error while disconnecting shadow DOM observer",e)}this.shadowObservers=[],this.observedShadowRoots=null}};var Dy=[Mm,"input",Dm,"select","toggle"],Iy=[Lm],Ny=[Pm],Ry={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function zy(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}zy.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||ly(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},zy.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var r=this.addClick(e);return r&&this.triggerProcessing(t),r},zy.prototype.getDeadClicks=function(e){if(0===this.pendingClicks.length)return[];var t=e.timeout_ms,r=Date.now(),n=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],o=0;o<n.length;o++){var a=n[o];r-a.timestamp>=t?this.hasChangesAfter(a.timestamp)||i.push(a):this.pendingClicks.push(a)}return i},zy.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},zy.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},zy.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},zy.prototype.processRecursively=function(e){if(this.isTracking&&this.onDeadClickCallback){var t=e.timeout_ms,r=this;this.processingTimeout=setTimeout(function(){if(r.processingActive){for(var t=r.getDeadClicks(e),n=0;n<t.length;n++)r.onDeadClickCallback(t[n].event);r.pendingClicks.length>0?r.processRecursively(e):r.processingActive=!1}},t)}else this.processingActive=!1},zy.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;Dy.forEach(function(t){var r=function(){e.recordChangeEvent()};document.addEventListener(t,r,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:r,options:{capture:!0,passive:!0}})}),Ny.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r),e.eventListeners.push({target:window,event:t,handler:r})}),Iy.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:r,options:{passive:!0}})});var t=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",t),e.eventListeners.push({target:document,event:"selectionchange",handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,Ry)}catch(e){Wm.critical("Error while setting up mutation observer",e)}if(window.customElements)try{this.shadowDOMObserver=new Ay(function(){e.recordChangeEvent()},Ry),this.shadowDOMObserver.start()}catch(e){Wm.critical("Error while setting up shadow DOM observer",e),this.shadowDOMObserver=null}}},zy.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];try{t.target.removeEventListener(t.event,t.handler,t.options)}catch(e){Wm.critical("Error while removing event listener",e)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(e){Wm.critical("Error while disconnecting mutation observer",e)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(e){Wm.critical("Error while stopping shadow DOM observer",e)}this.shadowDOMObserver=null}}};var Fy="autocapture",By="full-url",Yy="allow_selectors",Uy="allow_url_regexes",Hy="block_attrs",$y="block_element_callback",Wy="block_selectors",Vy="block_url_regexes",qy="capture_extra_attrs",Gy="capture_text_content",Zy="scroll_capture_all",Xy="scroll_depth_percent_checkpoints",Jy="click",Ky="dead_click",Qy="input",eg="pageview",tg="rage_click",rg="scroll",ng="page_leave",ig="submit",og={};og[Yy]=[],og[Uy]=[],og[Hy]=[],og[$y]=null,og[Wy]=[],og[Vy]=[],og[qy]=[],og[Gy]=!1,og[Zy]=!1,og[Xy]=[25,50,75,100],og[Jy]=!0,og[Ky]=!0,og[Qy]=!0,og[eg]=By,og[tg]=!0,og[rg]=!0,og[ng]=!1,og[ig]=!0;var ag={$mp_autocapture:!0},sg="$mp_click",lg="$mp_dead_click",cg="$mp_rage_click",ug=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};ug.prototype.init=function(){!function(){try{return!!vh.createElement("div").matches}catch(e){return!1}}()?Wm.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking())},ug.prototype.getFullConfig=function(){var e=this.mp.get_config(Fy);return e?Ph.isObject(e)?Ph.extend({},og,e):og:{}},ug.prototype.getConfig=function(e){return this.getFullConfig()[e]},ug.prototype.currentUrlBlocked=function(){var e,t=Ph.info.currentUrl(),r=this.getConfig(Uy)||[];if(r.length){var n=!1;for(e=0;e<r.length;e++){var i=r[e];try{if(t.match(i)){n=!0;break}}catch(e){return Wm.critical("Error while checking block URL regex: "+i,e),!0}}if(!n)return!0}var o=this.getConfig(Vy)||[];if(!o||!o.length)return!1;for(e=0;e<o.length;e++)try{if(t.match(o[e]))return!0}catch(t){return Wm.critical("Error while checking block URL regex: "+o[e],t),!0}return!1},ug.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Fy)?this.getConfig(eg):this.mp.get_config("track_pageview")},ug.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=this.mp.is_recording_heatmap_data()&&(t===sg&&!this.getConfig(Jy)||t===cg&&!this._getClickTrackingConfig(tg)||t===lg&&!this._getClickTrackingConfig(Ky)),n=Xm(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(Yy),blockAttrs:this.getConfig(Hy),blockElementCallback:this.getConfig($y),blockSelectors:this.getConfig(Wy),captureExtraAttrs:this.getConfig(qy),captureTextContent:this.getConfig(Gy),captured
153ForHeatMap:r});n&&(Ph.extend(n,ag),this.mp.track(t,n))}},ug.prototype.initPageListeners=function(){if(n.removeEventListener(Cm,this.listenerPopstate),n.removeEventListener(Pm,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(ng)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){n.dispatchEvent(new Event(Em))},this.listenerHashchange=function(){n.dispatchEvent(new Event(Em))},n.addEventListener(Cm,this.listenerPopstate),n.addEventListener(Pm,this.listenerHashchange);var e=n.history.pushState;"function"==typeof e&&(n.history.pushState=function(t,r,i){e.call(n.history,t,r,i),n.dispatchEvent(new Event(Em))});var t=n.history.replaceState;"function"==typeof t&&(n.history.replaceState=function(e,r,i){t.call(n.history,e,r,i),n.dispatchEvent(new Event(Em))})}},ug.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"==typeof t?t:{}:null},ug.prototype._trackPageLeave=function(e,t,r){if(!this.hasTrackedScrollSession&&(this.getConfig(ng)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var i=Math.max(vh.documentElement.clientHeight,n.innerHeight||0),o=Math.round(Math.max(this.maxScrollViewDepth-i,0)/(r-i)*100),a=Math.round(i/r*100);r<=i&&(o=100,a=100);var s=Ph.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:o,$fold_line_percentage:a,$scroll_height:r,$event_type:e.type,$current_url:t||Ph.info.currentUrl(),$viewportHeight:i,$viewportWidth:Math.max(vh.documentElement.clientWidth,n.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},ag);this.mp.track("$mp_page_leave",s,{transport:"sendBeacon"})}},ug.prototype._initScrollDepthTracking=function(){if(n.removeEventListener(Am,this.listenerScrollDepth),n.removeEventListener(Lm,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){Wm.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(vh.documentElement.clientHeight,n.innerHeight||0);var e=ay(function(){if(!this.currentUrlBlocked()){var e=Math.max(vh.documentElement.clientHeight,n.innerHeight||0)+n.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=vh.body.scrollHeight}}.bind(this));this.listenerScrollDepth=e.listener,n.addEventListener(e.eventType,this.listenerScrollDepth)}},ug.prototype.initClickTracking=function(){n.removeEventListener(km,this.listenerClick),(this.getConfig(Jy)||this.mp.get_config("record_heatmap_data"))&&(Wm.log("Initializing click tracking"),this.listenerClick=function(e){(this.getConfig(Jy)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,sg)}.bind(this),n.addEventListener(km,this.listenerClick))},ug.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(Ky)||this.mp.get_config("record_heatmap_data")?(Wm.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new zy(function(e){this.trackDomEvent(e,lg)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(e){var t=this._getClickTrackingConfig(Ky);if((t||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var r=t||{};r.timeout_ms||(r.timeout_ms=500),this._deadClickTracker.trackClick(e,r)}}.bind(this),n.addEventListener(km,this.listenerDeadClick))):this.stopDeadClickTracking()},ug.prototype.initInputTracking=function(){n.removeEventListener(Mm,this.listenerChange),this.getConfig(Qy)&&(Wm.log("Initializing input tracking"),this.listenerChange=function(e){this.getConfig(Qy)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this),n.addEventListener(Mm,this.listenerChange))},ug.prototype.initPageviewTracking=function(){if(n.removeEventListener(Em,this.listenerLocationchange),this.pageviewTrackingConfig()){Wm.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(ag)),t&&(e=Ph.info.currentUrl()),this.listenerLocationchange=Lh(function(){if(!this.currentUrlBlocked()){var t=Ph.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(i===By?r=t!==e:"url-with-path-and-query-string"===i?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===i&&(r=n),r)this.mp.track_pageview(ag)&&(e=t),n&&(this.lastScrollCheckpoint=0,Wm.log("Path change: re-initializing scroll depth checkpoints"))}}.bind(this)),n.addEventListener(Em,this.listenerLocationchange)}},ug.prototype.initRageClickTracking=function(){n.removeEventListener(km,this.listenerRageClick),(this._getClickTrackingConfig(tg)||this.mp.get_config("record_heatmap_data"))&&(Wm.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Ly),this.listenerRageClick=function(e){var t=this._getClickTrackingConfig(tg);(t||this.mp.is_recording_heatmap_data())&&(this.currentUrlBlocked()||this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,cg))}.bind(this),n.addEventListener(km,this.listenerRageClick))},ug.prototype.initScrollTracking=function(){if(n.removeEventListener(Lm,this.listenerScroll),n.removeEventListener(Am,this.listenerScroll),this.getConfig(rg)){Wm.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=ay(function(){if(this.getConfig(rg)&&!this.currentUrlBlocked()){var e=this.getConfig(Zy),t=(this.getConfig(Xy)||[]).slice().sort(function(e,t){return e-t}
153),r=n.scrollY,i=Ph.extend({$scroll_top:r},ag);try{var o=vh.body.scrollHeight,a=Math.round(r/(o-n.innerHeight)*100);if(i.$scroll_height=o,i.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var s=0;s<t.length;s++){var l=t[s];a>=l&&this.lastScrollCheckpoint<l&&(i.$scroll_checkpoint=l,this.lastScrollCheckpoint=l,e=!0)}}catch(e){Wm.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",i)}}.bind(this));this.listenerScroll=e.listener,n.addEventListener(e.eventType,this.listenerScroll)}},ug.prototype.initSubmitTracking=function(){n.removeEventListener(Dm,this.listenerSubmit),this.getConfig(ig)&&(Wm.log("Initializing submit tracking"),this.listenerSubmit=function(e){this.getConfig(ig)&&this.trackDomEvent(e,"$mp_submit")}.bind(this),n.addEventListener(Dm,this.listenerSubmit))},ug.prototype.initPageLeaveTracking=function(){if(vh.removeEventListener(Im,this.listenerPageLeaveVisibilitychange),n.removeEventListener(Em,this.listenerPageLeaveLocationchange),n.removeEventListener(Tm,this.listenerPageLoad),this.getConfig(ng)||this.mp.get_config("record_heatmap_data")){Wm.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=Ph.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=vh.body.scrollHeight}.bind(this),n.addEventListener(Tm,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Lh(function(t){if(!this.currentUrlBlocked()){var r=Ph.info.currentUrl();r!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=r,this.maxScrollViewDepth=Math.max(vh.documentElement.clientHeight,n.innerHeight||0),this.previousScrollHeight=vh.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),n.addEventListener(Em,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(t){vh.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}.bind(this),vh.addEventListener(Im,this.listenerPageLeaveVisibilitychange)}},ug.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(n.removeEventListener(km,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},Ah(ug);var dg=Ch("flags"),fg="flags",pg="context",hg={};hg[pg]={};var mg=function(e){this.fetch=n.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc,this.loadExtraBundle=e.loadExtraBundle||function(){},this.targetingSrc=e.targetingSrc||""};mg.prototype.init=function(){this.minApisSupported()?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={}):dg.critical("Feature Flags unavailable: missing minimum required APIs")},mg.prototype.getFullConfig=function(){var e=this.getMpConfig(fg);return e?Ph.isObject(e)?Ph.extend({},hg,e):hg:{}},mg.prototype.getConfig=function(e){return this.getFullConfig()[e]},mg.prototype.isSystemEnabled=function(){return!!this.getMpConfig(fg)},mg.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return dg.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var r=this.getMpConfig(fg);Ph.isObject(r)||(r={});var n=t&&t.replace?{}:this.getConfig(pg);return r[pg]=Ph.extend({},n,e),this.setMpConfig(fg,r),this.fetchFlags()},mg.prototype.areFlagsReady=function(){return this.isSystemEnabled()||dg.error("Feature Flags not enabled"),!!this.flags},mg.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id"),r=Vh();dg.log("Fetching flags for distinct ID: "+e);var i=Ph.extend({distinct_id:e,device_id:t},this.getConfig(pg)),o=new URLSearchParams;o.set("context",JSON.stringify(i)),o.set("token",this.getMpConfig("token")),o.set("mp_lib","web"),o.set("$lib_version",sh.LIB_VERSION);var a=this.getFullApiRoute()+"?"+o.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(n,a,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r}}).then(function(e){return this.markFetchComplete(),e.json().then(function(e){var t=e.flags;if(!t)throw new Error("No flags in API response");var n=new Map,i={};Ph.each(t,function(e,t){var r=!1,i=t+":";if(Ph.each(this.activatedFirstTimeEvents,function(e,t){t.startsWith(i)&&(r=!0)}),r){var o=this.flags&&this.flags.get(t);o&&n.set(t,o)}else n.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester})},this);var o=e.pending_first_time_events;o&&o.length>0&&Ph.each(o,function(e){var t=e.flag_key,r=function(e,t){return e+":"+t}(t,e.first_time_event_hash);this.activatedFirstTimeEvents[r]||(i[r]={flag_key:t,flag_id:e.flag_id,project_id:e.project_id,first_time_event_hash:e.first_time_event_hash,event_name:e.event_name,property_filters:e.property_filters,pending_variant:e.pending_variant})},this),this.activatedFirstTimeEvents&&Ph.each(this.activatedFirstTimeEvents,function(e,t){var r=function(e){return e.split(":")[0]}(t);e&&!n.has(r)&&this.flags&&this.flags.has(r)&&n.set(r,this.flags.get(r))},this),this.flags=n,this.pendingFirstTimeEvents=i,this._traceparent=r,this._loadTargetingIfNeeded()}.bind(this)).catch(function(e){this.markFetchComplete(),dg.error(e)}.bind(this))}.bind(this)).catch(function(e){this.markFetchComplete(),dg.error(e)}.bind(this)),this.fetchPromise},mg.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):dg.error("Fetch in progress started time not set, cannot mark fetch complete")},mg.prototype._loadTargetingIfNeeded=function(){var e=!1;Ph.each(this.pendingFirstTimeEvents,function(t){t.property_filters&&!Ph.isEmptyObject(t.property_filters)&&(e=!0)}),e&&this.getTargeting().then(function(){dg.log("targeting loaded for property filter evaluation")})},mg.prototype.getTargeting=function(){return(e=this.loadExtraBundle.bind(this),t=this.targetingSrc,n[s]&&"function"==typeof n[s].then||(n[s]=new Promise(function(r){e(t,r)}).then(function(){var e=n[s];if(e&&"function"==typeof e.then)return e;throw new Error("targeting failed to load")}).catch(function(e){throw delete n[s],e})),n[s]).catch(function(e){dg.error("Failed to load targeting: "+e)}.bind(this));var e,t},mg.prototype.checkFirstTimeEvents=function(e,t){this.pendingFirstTimeEvents&&!Ph.isEmptyObject(this.pendingFirstTimeEvents)&&(n[s]&&Ph.isFunction(n[s].then)?n[s].then(function(r){this._processFirstTimeEventCheck(e,t,r)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(e,t,null)}.bind(this)):this._processFirstTimeEventCheck(e,t,null))},mg.prototype._processFirstTimeEventCheck=function(e,t,r){Ph.each(this.pendingFirstTimeEvents,function(n,i){if
153(!this.activatedFirstTimeEvents[i]){var o,a=n.flag_key;if(r||!n.property_filters||Ph.isEmptyObject(n.property_filters)){if(r){var s={event_name:n.event_name,property_filters:n.property_filters};o=r.eventMatchesCriteria(e,t,s)}else o={matches:e===n.event_name,error:null};if(o.error)dg.error('Error checking first-time event for flag "'+a+'": '+o.error);else if(o.matches){dg.log('First-time event matched for flag "'+a+'": '+e);var l={key:n.pending_variant.variant_key,value:n.pending_variant.variant_value,experiment_id:n.pending_variant.experiment_id,is_experiment_active:n.pending_variant.is_experiment_active};this.flags.set(a,l),this.activatedFirstTimeEvents[i]=!0,this.recordFirstTimeEvent(n.flag_id,n.project_id,n.first_time_event_hash)}}else dg.warn('Skipping event check for "'+a+'" - property filters require targeting library')}},this)},mg.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute()+"/"+e+"/first-time-events"},mg.prototype.recordFirstTimeEvent=function(e,t,r){var i=this.getMpProperty("distinct_id"),o=Vh(),a=new URLSearchParams;a.set("mp_lib","web"),a.set("$lib_version",sh.LIB_VERSION);var s=this.getFirstTimeEventApiRoute(e)+"?"+a.toString(),l={distinct_id:i,project_id:t,first_time_event_hash:r};dg.log("Recording first-time event for flag: "+e),this.fetch.call(n,s,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:o},body:JSON.stringify(l)}).catch(function(t){dg.error("Failed to record first-time event for flag "+e+": "+t)})},mg.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return dg.error(e),t}):new Promise(function(e){dg.critical("Feature Flags not initialized"),e(t)})},mg.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return dg.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(dg.log('No flag found: "'+e+'"'),t)},mg.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return dg.error(e),t})},mg.prototype.getFeatureData=function(e,t){return dg.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,t)},mg.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},mg.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return dg.error(e),t})},mg.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(dg.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},mg.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var r={"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};"undefined"!==t.experiment_id&&(r.$experiment_id=t.experiment_id),"undefined"!==t.is_experiment_active&&(r.$is_experiment_active=t.is_experiment_active),"undefined"!==t.is_qa_tester&&(r.$is_qa_tester=t.is_qa_tester),this.track("$experiment_started",r)}},mg.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set},Ah(mg),mg.prototype.are_flags_ready=mg.prototype.areFlagsReady,mg.prototype.get_variant=mg.prototype.getVariant,mg.prototype.get_variant_sync=mg.prototype.getVariantSync,mg.prototype.get_variant_value=mg.prototype.getVariantValue,mg.prototype.get_variant_value_sync=mg.prototype.getVariantValueSync,mg.prototype.is_enabled=mg.prototype.isEnabled,mg.prototype.is_enabled_sync=mg.prototype.isEnabledSync,mg.prototype.update_context=mg.prototype.updateContext,mg.prototype.get_feature_data=mg.prototype.getFeatureData,mg.prototype.getTargeting=mg.prototype.getTargeting;var yg=function(){};yg.prototype.create_properties=function(){},yg.prototype.event_handler=function(){},yg.prototype.after_track_handler=function(){},yg.prototype.init=function(e){return this.mp=e,this},yg.prototype.track=function(e,t,r,n){var i=this,o=Ph.dom_query(e);if(0!==o.length)return Ph.each(o,function(e){Ph.register_event(e,this.override_event,function(e){var o={},a=i.create_properties(r,this),s=i.mp.get_config("track_links_timeout");i.event_handler(e,this,o),window.setTimeout(i.track_callback(n,a,o,!0),s),i.mp.track(t,a,i.track_callback(n,a,o))})},this),!0;Th.error("The DOM query ("+e+") returned 0 elements")},yg.prototype.track_callback=function(e,t,r,n){n=n||!1;var i=this;return function(){r.callback_fired||(r.callback_fired=!0,e&&!1===e(n,t)||i.after_track_handler(t,r,n))}},yg.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):Ph.extend({},e)};var gg=function(){this.override_event="click"};Ph.inherit(gg,yg),gg.prototype.create_properties=function(e,t){var r=gg.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},gg.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},gg.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var vg=function(){this.override_event="submit"};Ph.inherit(vg,yg),vg.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},vg.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var bg="$set",_g="$set_once",xg="$unset",wg="$add",Og="$append",jg="$union",Sg="$remove",Mg={set_action:function(e,t){var r={},n={};return Ph.isObject(e)?Ph.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[bg]=n,r},unset_action:function(e){var t={},r=[];return Ph.isArray(e)||(e=[e]),Ph.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[xg]=r,t},set_once_action:function(e,t){var r={},n={};return Ph.isObject(e)?Ph.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[_g]=n,r},union_action:function(e,t){var r={},n={};return Ph.isObject(e)?Ph.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=Ph.isArray(e)?e:[e])},this):n[e]=Ph.isArray(t)?t:[t],r[jg]=n,r},append_action:function(e,t){var r={},n={};return Ph.isObject(e)?Ph.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Og]=n,r},remove_action:function(e,t){var r={},n={};return Ph.isObject(e)?Ph.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Sg]=n,r},delete_action:function(){var e={$delete:""};return e}},kg=function(){};Ph.extend(kg.prototype,Mg),kg.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},kg.prototype.set=cm(function(e,t,r){var n=this.set_action(e,t);return Ph.isObject(e)&&(r=t),this._send_request(n,r)}),kg.prototype.set_once=cm(function(e,t,r){var n=this.set_once_action(e,t);return Ph.isObject(e)&&(r=t),this._send_request(n,r)}),kg.prototype.unset=cm(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),kg.prototype.union=cm(function(e,t,r){Ph.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),kg.prototype.delete=cm(function(e){var t=this.delete_action();return this._send_request(t,e)}),kg.prototype.remove=cm(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),kg.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=Ph.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},kg.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},kg.prototype._get_config=function(e){return this._mixpanel.get_config(e)},kg.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},kg.prototype.remove=kg.prototype.remove,kg.prototype.set=kg.prototype.set,kg.prototype.set_once=kg.prototype.set_once,kg.prototype.union=kg.prototype.union,kg.prototype.unset=kg.prototype.unset,kg.prototype.toString=kg.prototype.toString;var Pg=function(){};Ph.extend(Pg.prototype,Mg),Pg.prototype._init=function(e){this._mixpanel=e},Pg.prototype.set=lm(function(e,t,r){var n=this.set_action(e,t);return Ph.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[bg]=Ph.extend({},Ph.info.people_properties(),n[bg]),this._send_request(n,r)}),Pg.prototype.set_once=lm(function(e,t,r){var n=this.set_once_action(e,t);return Ph.isObject(e)&&(r=t),this._send_request(n,r)}),Pg.prototype.unset=lm(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),Pg.prototype.increment=lm(function(e,t,r){var n={},i={};return Ph.isObject(e)?(Ph.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void Th.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}},this),r=t):(Ph.isUndefined(t)&&(t=1),i[e]=t),n[wg]=i,this._send_request(n,r)}),Pg.prototype.append=lm(function(e,t,r){Ph.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),Pg.prototype.remove=lm(function(e,t,r){Ph.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),Pg.prototype.union=lm(function(e,t,r){Ph.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),Pg.prototype.track_charge=lm(function(){Th.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),Pg.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},Pg.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}Th.error("mixpanel.people.delete_user() requires you to call identify() first")},Pg.prototype.toString=function(){return this._mixpanel.toString()+".people"},Pg.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),i&&(e.$had_persisted_distinct_id=i);var o=Ph.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),Ph.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),Ph.truncate(o,255))},Pg.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Pg.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Pg.prototype._enqueue=function(e){bg in e?this._mixpanel.persistence._add_to_people_queue(bg,e):_g in e?this._mixpanel.persistence._add_to_people_queue(_g,e):xg in e?this._mixpanel.persistence._add_to_people_queue(xg,e):wg in e?this._mixpanel.persistence._add_to_people_queue(wg,e):Og in e?this._mixpanel.persistence._add_to_people_queue(Og,e):Sg in e?this._mixpanel.persistence._add_to_people_queue(Sg,e):jg in e?this._mixpanel.persistence._add_to_people_queue(jg,e):Th.error("Invalid call to _enqueue():",e)},Pg.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=Ph.extend({},this._mixpanel.persistence.load_queue(e)),a=o;Ph.isUndefined(o)||!Ph.isObject(o)||Ph.isEmptyObject(o)||(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mi
153xpanel.persistence.save(),n&&(a=n(o)),t.call(i,a,function(t,n){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),Ph.isUndefined(r)||r(t,n)}))},Pg.prototype._flush=function(e,t,r,n,i,o,a){var s=this;this._flush_one_queue(bg,this.set,e),this._flush_one_queue(_g,this.set_once,n),this._flush_one_queue(xg,this.unset,o,function(e){return Ph.keys(e)}),this._flush_one_queue(wg,this.increment,t),this._flush_one_queue(jg,this.union,i);var l=this._mixpanel.persistence.load_queue(Og);if(!Ph.isUndefined(l)&&Ph.isArray(l)&&l.length)for(var c,u=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Og,c),Ph.isUndefined(r)||r(e,t)},d=l.length-1;d>=0;d--)l=this._mixpanel.persistence.load_queue(Og),c=l.pop(),s._mixpanel.persistence.save(),Ph.isEmptyObject(c)||s.append(c,u);var f=this._mixpanel.persistence.load_queue(Sg);if(!Ph.isUndefined(f)&&Ph.isArray(f)&&f.length)for(var p,h=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Sg,p),Ph.isUndefined(a)||a(e,t)},m=f.length-1;m>=0;m--)f=this._mixpanel.persistence.load_queue(Sg),p=f.pop(),s._mixpanel.persistence.save(),Ph.isEmptyObject(p)||s.remove(p,h)},Pg.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},Pg.prototype.set=Pg.prototype.set,Pg.prototype.set_once=Pg.prototype.set_once,Pg.prototype.unset=Pg.prototype.unset,Pg.prototype.increment=Pg.prototype.increment,Pg.prototype.append=Pg.prototype.append,Pg.prototype.remove=Pg.prototype.remove,Pg.prototype.union=Pg.prototype.union,Pg.prototype.track_charge=Pg.prototype.track_charge,Pg.prototype.clear_charges=Pg.prototype.clear_charges,Pg.prototype.delete_user=Pg.prototype.delete_user,Pg.prototype.toString=Pg.prototype.toString;var Tg,Eg="__mps",Cg="__mpso",Lg="__mpus",Ag="__mpa",Dg="__mpap",Ig="__mpr",Ng="__mpu",Rg="$people_distinct_id",zg="__alias",Fg="__timers",Bg=[Eg,Cg,Lg,Ag,Dg,Ig,Ng,Rg,zg,Fg],Yg=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(Th.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&Ph.localStorage.is_supported()?this.storage=Ph.localStorage:this.storage=Ph.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Yg.prototype.properties=function(){var e={};return this.load(),Ph.each(this.props,function(t,r){Ph.include(Bg,r)||(e[r]=t)}),e},Yg.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=Ph.extend({},e))}},Yg.prototype.upgrade=function(){var e,t;this.storage===Ph.localStorage?(e=Ph.cookie.parse(this.name),Ph.cookie.remove(this.name),Ph.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===Ph.cookie&&(t=Ph.localStorage.parse(this.name),Ph.localStorage.remove(this.name),t&&this.register_once(t))},Yg.prototype.save=function(){this.disabled||this.storage.set(this.name,Jh(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Yg.prototype.load_prop=function(e){return this.load(),this.props[e]},Yg.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Yg.prototype.clear=function(){this.remove(),this.props={}},Yg.prototype.register_once=function(e,t,r){return!!Ph.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),Ph.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},Yg.prototype.register=function(e,t){return!!Ph.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),Ph.extend(this.props,e),this.save(),!0)},Yg.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Yg.prototype.update_search_keyword=function(e){this.register(Ph.info.searchInfo(e))},Yg.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:Ph.info.referringDomain(e)||"$direct"},"")},Yg.prototype.get_referrer_info=function(){return Ph.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Yg.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Yg.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Yg.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Yg.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Yg.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Yg.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Yg.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Yg.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(bg),o=this._get_or_create_queue(_g),a=this._get_or_create_queue(xg),s=this._get_or_create_queue(wg),l=this._get_or_create_queue(jg),c=this._get_or_create_queue(Sg,[]),u=this._get_or_create_queue(Og,[]);r===Eg?(Ph.extend(i,n),this._pop_from_people_queue(wg,n),this._pop_from_people_queue(jg,n),this._pop_from_people_queue(xg,n)):r===Cg?(Ph.each(n,function(e,t){t in o||(o[t]=e)}),this._pop_from_people_queue(xg,n)):r===Lg?Ph.each(n,function(e){Ph.each([i,o,s,l],function(t){e in t&&delete t[e]}),Ph.each(u,function(t){e in t&&delete t[e]}),a[e]=!0}):r===Ag?(Ph.each(n,function(e,t){t in i?i[t]+=e:(t in s||(s[t]=0),s[t]+=e)},this),this._pop_from_people_queue(xg,n)):r===Ng?(Ph.each(n,function(e,t){Ph.isArray(e)&&(t in l||(l[t]=[]),Ph.each(e,function(e){Ph.include(l[t],e)||l[t].push(e)}))}),this._pop_from_people_queue(xg,n)):r===Ig?(c.push(n),this._pop_from_people_queue(Og,n)):r===Dg&&(u.push(n),this._pop_from_people_queue(xg,n)),Th.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Th.log(t),this.save()},Yg.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];Ph.isUndefined(r)||Ph.each(t,function(t,n){e===Og||e===Sg?Ph.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},Yg.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Yg.prototype._get_queue_key=function(e){return e===bg?Eg:e===_g?Cg:e===xg?Lg:e===wg?Ag:e===Og?Dg:e===Sg?Ig:e===jg?Ng:void Th.error("Invalid queue:",e)},Yg.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=Ph.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Yg.prototype.set_event_timer=function(e,t){var r=this.load_prop(Fg)||{};r[e]=t,this.props[Fg]=r,this.save()},Yg.prototype.remove_event_timer=function(e){var t=(this.load_prop(Fg)||{})[e];return Ph.isUndefined(t)||(delete this.props[Fg][e],this.save()),t};var Ug,Hg=function(e,t){throw new Error(e+" not available in this build.")},$g="mixpanel",Wg="base64",Vg="$device:",qg=n.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Gg=!qg&&-1===xh.indexOf("MSIE")&&-1===xh.indexOf("Mozilla"),Zg=null;gh.sendBeacon&&(Zg=function(){return gh.sendBeacon.apply(gh,arguments)});var Xg={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},Jg={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:Xg,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Wg,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Xh,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Xh,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose
153:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_inputs:!0,record_max_ms:lh,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js",targeting_src:"https://cdn.mxpnl.com/libs/mixpanel-targeting.min.js",remote_settings_mode:"disabled"},Kg=!1,Qg=function(){},ev=function(e,t,r){var i,o=r===$g?Ug:Ug[r];if(o&&0===Tg)i=o;else{if(o&&!Ph.isArray(o))return void Th.error("You have already initialized "+r);i=new Qg}if(i._cached_groups={},i._init(e,t,r),i.people=new Pg,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=Ph.info.campaignParams(null),s={},l=!1;Ph.each(a,function(e,t){s["initial_"+t]=e,e&&(l=!0)}),l&&i.people.set_once(s)}sh.DEBUG=sh.DEBUG||i.get_config("debug");var c=0===Tg?"module":"snippet";return n.dispatchEvent(new n.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:i,source:c,token:e,name:r,info:Ph.info}})),!Ph.isUndefined(o)&&Ph.isArray(o)&&(i._execute_array.call(i.people,o.people),i._execute_array(o)),i};Qg.prototype.init=function(e,t,r){if(Ph.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==$g){var n=ev(e,t,r);return Ug[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Qg.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var i={};"api_payload_format"in t||(t.api_host||Jg.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json");if(this.hooks={},this.set_config(Ph.extend({},Jg,i,t,{name:r,token:e,callback_fn:(r===$g?r:$g+"."+r)+"._jsc"})),this._jsc=Xh,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(Ph.localStorage.is_supported(!0)&&qg){if(this.init_batchers(),Zg&&n.addEventListener){var o=Ph.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);n.addEventListener("pagehide",function(e){e.persisted&&o()}),n.addEventListener("visibilitychange",function(){"hidden"===vh.visibilityState&&o()})}}else this._batch_requests=!1,Th.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Ph.each(this.get_batcher_configs(),function(e){Th.log("Clearing batch queue "+e.queue_key),Ph.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new Yg(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=Ph.UUID();this.get_distinct_id()||this.register_once({distinct_id:Vg+a,$device_id:a},""),this.flags=new mg({getFullApiRoute:Ph.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:Ph.bind(this.get_config,this),setConfigFunc:Ph.bind(this.set_config,this),getPropertyFunc:Ph.bind(this.get_property,this),trackingFunc:Ph.bind(this.track,this),loadExtraBundle:Hg,targetingSrc:this.get_config("targeting_src")}),this.flags.init(),this.flags=this.flags,this.autocapture=new ug(this),this.autocapture.init(),this._init_tab_id();var s=this.get_config("remote_settings_mode");"strict"===s||"fallback"===s?this._fetch_remote_settings(s).then(Ph.bind(function(){this._check_and_start_session_recording()},this)):this._check_and_start_session_recording()},Qg.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))Th.log("Tab ID initialization skipped due to disable_persistence config");
153else if(Ph.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;!Ph.sessionStorage.get(r)&&Ph.sessionStorage.get(t)||Ph.sessionStorage.set(t,"$tab-"+Ph.UUID()),Ph.sessionStorage.set(r,"1"),this.tab_id=Ph.sessionStorage.get(t),n.addEventListener("beforeunload",function(){Ph.sessionStorage.remove(r)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},Qg.prototype.get_tab_id=function(){return this.tab_id||null},Qg.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return Th.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var e=new rm(em),t=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(Sm(e[r])||e[r].tabId===t)return!0;return!1}).catch(Ph.bind(function(e){this.report_error("Error checking recording registry",e)},this))},Qg.prototype._check_and_start_session_recording=sm(function(e){if(n.MutationObserver){var t=Ph.bind(function(e){var t=Ph.bind(function(){this._recorder=this._recorder||new n[l](this),this._recorder.resumeRecording(e)},this);Ph.isUndefined(n[l])?Hg(this.get_config("recorder_src"),t):t()},this),r=this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent");e||r?t(!0):this._should_load_recorder().then(function(e){e&&t(!1)})}else Th.critical("Browser does not support MutationObserver; skipping session recording")}),Qg.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},Qg.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},Qg.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},Qg.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},Qg.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},Qg.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},Qg.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();t&&(e="https://mixpanel.com/projects/replay-redirect?"+Ph.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")}));return e},Qg.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Qg.prototype.__get_recorder=function(){return this._recorder},Qg.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=Ph.info.campaignParams(null);Ph.each(e,function(e,t){this.unregister(t)}.bind(this))}},Qg.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(vh.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Ph.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(vh.referrer)},Qg.prototype._dom_loaded=function(){Ph.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||Ph.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},Qg.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Kg)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},Qg.prototype._prepare_callback=function(e,t){if(Ph.isUndefined(e))return null;if(qg){return function(r){e(r,t)}}var r=this._jsc,n=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(i){delete r[n],e(i,t)},i},Qg.prototype._send_request=function(e,t,r,n){var i=!0;if(Gg)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
153:this.get_config("verbose")},a=null;n||!Ph.isFunction(r)&&"string"!=typeof r||(n=r,r=null),r=Ph.extend(o,r||{}),qg||(r.method="GET");var s="POST"===r.method,l=Zg&&s&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),qg||(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),s&&(a="data="+encodeURIComponent(t.data),delete t.data),Ph.extend(t,this.get_config("api_extra_query_params")),e+="?"+Ph.HTTPBuildQuery(t);var u=this;if("img"in t){var d=vh.createElement("img");d.src=e,vh.body.appendChild(d)}else if(l){try{i=Zg(e,a)}catch(e){u.report_error(e),i=!1}try{n&&n(i?1:0)}catch(e){u.report_error(e)}}else if(qg)try{var f=new XMLHttpRequest;f.open(r.method,e,!0);var p=this.get_config("xhr_headers");if(s&&(p["Content-Type"]="application/x-www-form-urlencoded"),Ph.each(p,function(e,t){f.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==f.timeout){f.timeout=r.timeout_ms;var h=(new Date).getTime()}f.withCredentials=!0,f.onreadystatechange=function(){var e;if(4===f.readyState)if(200===f.status){if(n)if(c){var t;try{t=Ph.JSONDecode(f.responseText)}catch(e){if(u.report_error(e),!r.ignore_json_errors)return;t=f.responseText}n(t)}else n(Number(f.responseText))}else if(e=f.timeout&&!f.status&&(new Date).getTime()-h>=f.timeout?"timeout":"Bad HTTP status: "+f.status+" "+f.statusText,u.report_error(e),n)if(c){var i=f.responseHeaders||{};n({status:0,httpStatusCode:f.status,error:e,retryAfter:i["Retry-After"]})}else n(0)},f.send(a)}catch(e){u.report_error(e),i=!1}else{var m=vh.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var y=vh.getElementsByTagName("script")[0];y.parentNode.insertBefore(m,y)}return i},Qg.prototype._fetch_remote_settings=function(e){var t=function(){"strict"===e&&a.set_config({record_sessions_percent:0})};if(!n.AbortController)return Th.critical("Remote settings unavailable: missing minimum required APIs"),t(),Promise.resolve();var r=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,i={$lib_version:sh.LIB_VERSION,mp_lib:"web",sdk_config:"1"},o=r+"?"+Ph.HTTPBuildQuery(i),a=this,s=new AbortController,l=setTimeout(function(){s.abort()},500),c={method:"GET",headers:{Authorization:"Basic "+btoa(a.get_config("token")+":")},signal:s.signal};return n.fetch(o,c).then(function(e){return clearTimeout(l),e.ok?e.json():(Th.critical("Network response was not ok"),void t())}).then(function(e){if(e&&e.sdk_config&&e.sdk_config.config){var r=e.sdk_config.config,n={};Ph.each(r,function(e,t){Jg.hasOwnProperty(t)&&(n[t]=e)}),Ph.isEmptyObject(n)?(Th.critical("No valid config keys found in remote settings."),t()):a.set_config(n)}else t()}).catch(function(e){clearTimeout(l),Th.critical("Failed to fetch remote settings",e),t()})},Qg.prototype._execute_array=function(e){var t,r=[],n=[],i=[];Ph.each(e,function(e){e&&(t=e[0],Ph.isArray(t)?i.push(e):"function"==typeof e?e.call(this):Ph.isArray(e)&&"alias"===t?r.push(e):Ph.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?i.push(e):n.push(e))},this);var o=function(e,t){Ph.each(e,function(e){if(Ph.isArray(e[0])){var r=t;Ph.each(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};o(r,this),o(n,this),o(i,this)},Qg.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Qg.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},Qg.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=Ph.bind(function(e){return new jm(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Ph.bind(function(t,r,n){var i=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+i[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))},this),beforeSendHook:Ph.bind(function(t){var r=this._run_hook("before_send_"+e.type,t);return r?r[0]:null},this),stopAllBatchingFunc:Ph.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},Qg.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Ph.each(this.request_batchers,function(e){e.start()}))},Qg.prototype.stop_batch_senders=function(){this._batch_requests=!1,Ph.each(this.request_batchers,function(e){e.stop(),e.clear()})},Qg.prototype.push=function(e){this._execute_array([e])},Qg.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},Qg.prototype._encode_data_for_request=function(e){var t=Jh(e);return this.get_config("api_payload_format")===Wg&&(t=Ph.base64Encode(t)),{data:t}},Qg.prototype._track_or_batch=function(e,t){var r=Ph.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,a=e.send_request_options||{};t=t||Xh;var s=!0,l=Ph.bind(function(){return a.skip_hooks||(r=this._run_hook("before_send_"+e.type,r))&&(r=r[0]),r?(Th.log("MIXPANEL REQUEST:"),Th.log(r),this._send_request(n,this._encode_data_for_request(r),a,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!o?i.enqueue(r).then(function(e){e?t(1,r):l()}):s=l(),s&&r},Qg.prototype.track=sm(function(e,t,r,n){var i;if(!r||!r.skip_hooks){if(null===(i=this._run_hook("before_track",e,t)))return;e=i[0],t=i[1]}n||"function"!=typeof r||(n=r,r=null);var o=(r=r||{}).transport;o&&(r.transport=o);var a=r.send_immediately;if("function"!=typeof n&&(n=Xh),Ph.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=Ph.extend({},t)).token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!Ph.isUndefined(s)){var l=(new Date).getTime()-s;t.$duration=parseFloat((l/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?Ph.info.marketingParams():{};t=Ph.extend({},Ph.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var u=this.get_config("property_blacklist");Ph.isArray(u)?Ph.each(u,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+u);var d={event:e,properties:t};return i=this._track_or_batch({type:"events",data:d,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:a,send_request_options:r},n),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,t),i}n(0)}}),Qg.prototype.set_group=sm(function(e,t,r){Ph.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),Qg.prototype.add_group=sm(function(e,t,r){var n=this.get_property(e),i={};return void 0===n?(i[e]=[t],this.register(i)):-1===n.indexOf(t)&&(n.push(t),i[e]=n,this.register(i)),this.people.union(e,t,r)}),Qg.prototype.remove_group=sm(function(e,t,r){var n=this.get_property(e);if(void 0!==n){var i=n.indexOf(t);i>-1&&(n.splice(i,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)}),Qg.prototype.track_with_groups=sm(function(e,t,r,n){var i=Ph.extend({},t||{});return Ph.each(r,function(e,t){null!=e&&(i[t]=e)}),this.track(e,i,n)}),Qg.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},Qg.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},Qg.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new kg)._init(this,e,t),this._cached_groups[r]=n),n},Qg.prototype.track_pageview=sm(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=Ph.extend(Ph.info.mpPageViewProperties(),Ph.info.campaignParams(),Ph.info.clickParams()),i=Ph.extend({},n,e);return this.track(r,i)}),Qg.prototype.track_links=function(){return this._track_dom.call(this,gg,arguments)},Qg.prototype.track_forms=function(){return this._track_dom.call(this,vg,arguments)},Qg.prototype.time_event=function(e){Ph.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var tv={persistent:!0},rv=function(e){var t;return t=Ph.isObject(e)?e:Ph.isUndefined(e)?{}:{days:e},Ph.extend({},tv,t)};Qg.prototype.register=function(e,t){var r=this._run_hook("before_register",e,t);if(null!==r){e=r[0],t=r[1];var n=rv(t);n.persistent?this.persistence.register(e,n.days):Ph.extend(this.unpersisted_superprops,e)}},Qg.prototype.register_once=function(e,t,r){var n=this._run_hook("before_register_once",e,t,r);if(null!==n){e=n[0],t=n[1],r=n[2];var i=rv(r);i.persistent?this.persistence.register_once(e,t,i.days):(void 0===t&&(t="None"),Ph.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))}},Qg.prototype.unregister=function(e,t){var r=this._run_hook("before_unregister",e,t);
153null!==r&&(e=r[0],t=r[1],(t=rv(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},Qg.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},Qg.prototype.identify=function(e,t,r,n,i,o,a,s){var l=this._run_hook("before_identify",e);if(null===l)return-1;e=l[0];var c=this.get_distinct_id();if(e&&c!==e){if("string"==typeof e&&0===e.indexOf(Vg))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var u=c;this.register_once({$had_persisted_distinct_id:!0,$device_id:u},"")}e!==c&&e!==this.get_property(zg)&&(this.unregister(zg),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,i,o,a,s),e!==c&&this.track("$identify",{distinct_id:e,$anon_distinct_id:c},{skip_hooks:!0}),e!==c&&this.flags.fetchFlags()},Qg.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=Ph.UUID();this.register_once({distinct_id:Vg+e,$device_id:e},""),this._check_and_start_session_recording()},Qg.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Qg.prototype.alias=function(e,t){if(e===this.get_property(Rg))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return Ph.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(zg,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},Qg.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},Qg.prototype.set_config=function(e){Ph.isObject(e)&&(Ph.extend(this.config,e),e.batch_size&&Ph.each(this.request_batchers,function(e){e.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),sh.DEBUG=sh.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),Ph.isObject(e.hooks)&&(this.hooks={},Ph.each(e.hooks,function(e,t){if(Ph.isFunction(e))this.hooks[t]=[e];else if(Ph.isArray(e)){this.hooks[t]=[];for(var r=0;r<e.length;r++)Ph.isFunction(e[r])||Th.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(e[r])}else Th.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},Qg.prototype.get_config=function(e){return this.config[e]},Qg.prototype._run_hook=function(e){var t=ph.call(arguments,1);return Ph.each(this.hooks[e],function(r){if(null===t)return null;var n=r.apply(this,t);void 0===n?(this.report_error(e+" hook did not return a valid value"),t=null):(Ph.isArray(n)||(n=[n]),t.splice.apply(t,[0,n.length].concat(n)))},this),t},Qg.prototype.get_property=function(e){return this.persistence.load_prop([e])},Qg.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},Qg.prototype.toString=function(){var e=this.get_config("name");return e!==$g&&(e=$g+"."+e),e},Qg.prototype._event_is_disabled=function(e){return Ph.isBlockedUA(xh)||this._flags.disable_all_events||Ph.include(this.__disabled_events,e)},Qg.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Ph.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!Ph.cookie.get("mp_optout")||(Ph.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Qg.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},Qg.prototype._gdpr_call_func=function(e,t){return t=Ph.extend({track:Ph.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),Ph.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie
153:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},Qg.prototype.opt_in_tracking=function(e){e=Ph.extend({enable_persistence:!0},e),this._gdpr_call_func(nm,e),this._gdpr_update_persistence(e)},Qg.prototype.opt_out_tracking=function(e){(e=Ph.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(im,e),this._gdpr_update_persistence(e)},Qg.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(om,e)},Qg.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(am,e)},Qg.prototype.clear_opt_in_out_tracking=function(e){e=Ph.extend({enable_persistence:!0},e),this._gdpr_call_func(um,e),this._gdpr_update_persistence(e)},Qg.prototype.report_error=function(e,t){Th.error.apply(Th.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){Th.error(t)}},Qg.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},Qg.prototype.remove_hook=function(e,t){var r;this.hooks[e]&&(-1!==(r=this.hooks[e].indexOf(t))?this.hooks[e].splice(r,1):Th.log("remove_hook failed. Matching hook was not found"))},Qg.prototype.init=Qg.prototype.init,Qg.prototype.reset=Qg.prototype.reset,Qg.prototype.disable=Qg.prototype.disable,Qg.prototype.time_event=Qg.prototype.time_event,Qg.prototype.track=Qg.prototype.track,Qg.prototype.track_links=Qg.prototype.track_links,Qg.prototype.track_forms=Qg.prototype.track_forms,Qg.prototype.track_pageview=Qg.prototype.track_pageview,Qg.prototype.register=Qg.prototype.register,Qg.prototype.register_once=Qg.prototype.register_once,Qg.prototype.unregister=Qg.prototype.unregister,Qg.prototype.identify=Qg.prototype.identify,Qg.prototype.alias=Qg.prototype.alias,Qg.prototype.name_tag=Qg.prototype.name_tag,Qg.prototype.set_config=Qg.prototype.set_config,Qg.prototype.get_config=Qg.prototype.get_config,Qg.prototype.get_api_host=Qg.prototype.get_api_host,Qg.prototype.get_property=Qg.prototype.get_property,Qg.prototype.get_distinct_id=Qg.prototype.get_distinct_id,Qg.prototype.toString=Qg.prototype.toString,Qg.prototype.opt_out_tracking=Qg.prototype.opt_out_tracking,Qg.prototype.opt_in_tracking=Qg.prototype.opt_in_tracking,Qg.prototype.has_opted_out_tracking=Qg.prototype.has_opted_out_tracking,Qg.prototype.has_opted_in_tracking=Qg.prototype.has_opted_in_tracking,Qg.prototype.clear_opt_in_out_tracking=Qg.prototype.clear_opt_in_out_tracking,Qg.prototype.get_group=Qg.prototype.get_group,Qg.prototype.set_group=Qg.prototype.set_group,Qg.prototype.add_group=Qg.prototype.add_group,Qg.prototype.remove_group=Qg.prototype.remove_group,Qg.prototype.add_hook=Qg.prototype.add_hook,Qg.prototype.remove_hook=Qg.prototype.remove_hook,Qg.prototype.track_with_groups=Qg.prototype.track_with_groups,Qg.prototype.start_batch_senders=Qg.prototype.start_batch_senders,Qg.prototype.stop_batch_senders=Qg.prototype.stop_batch_senders,Qg.prototype.start_session_recording=Qg.prototype.start_session_recording,Qg.prototype.stop_session_recording=Qg.prototype.stop_session_recording,Qg.prototype.pause_session_recording=Qg.prototype.pause_session_recording,Qg.prototype.resume_session_recording=Qg.prototype.resume_session_recording,Qg.prototype.get_session_recording_properties=Qg.prototype.get_session_recording_properties,Qg.prototype.get_session_replay_url=Qg.prototype.get_session_replay_url,Qg.prototype.get_tab_id=Qg.prototype.get_tab_id,Qg.prototype.DEFAULT_API_ROUTES=Xg,Qg.prototype.__get_recorder=Qg.prototype.__get_recorder,Yg.prototype.properties=Yg.prototype.properties,Yg.prototype.update_search_keyword=Yg.prototype.update_search_keyword,Yg.prototype.update_referrer_info=Yg.prototype.update_referrer_info,Yg.prototype.get_cross_subdomain=Yg.prototype.get_cross_subdomain,Yg.prototype.clear=Yg.prototype.clear;var nv={},iv=function(){Ug.init=function(e,t,r){if(r)return Ug[r]||(Ug[r]=nv[r]=ev(e,t,r),Ug[r]._loaded()),Ug[r];var i=Ug;nv[$g]?i=nv[$g]:e&&((i=ev(e,t,$g))._loaded(),nv[$g]=i),Ug=i,1===Tg&&(n[$g]=Ug),Ph.each(nv,function(e,t){t!==$g&&(Ug[t]=e)}),Ug._=Ph}};var ov=(Hg=function(e,t){t()},Tg=0,Ug=new Qg,iv(),Ug.init(),function(){function e(){e.done||(e.done=!0,Kg=!0,Gg=!1,Ph.each(nv,function(e){e._dom_loaded()}))}if(vh.addEventListener)"complete"===vh.readyState?e():vh.addEventListener("DOMContentLoaded",e,!1);else if(vh.attachEvent){vh.attachEvent("onreadystatechange",e);var t=!1;try{t=null===n.frameElement}catch(e){}vh.documentElement.doScroll&&t&&function t(){try{vh.documentElement.doScroll("left")}catch(e){return void setTimeout(t,1)}e()}()}Ph.register_event(n,"load",e,!0)}(),Ug)},95819:function(e,t,r){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"vm":"VM":r?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(74043))},21770:function(e,t,r){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},n=function(e){return function(n,i,o,a){var s=t(n),l=r[e][t(n)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,n)}},i=["جاÙÙÙ","ÙÙÙØ±Ù","Ù
ارس","Ø£ÙØ±ÙÙ","Ù
اÙ","Ø¬ÙØ§Ù","جÙÙÙÙØ©","Ø£ÙØª","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,r){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:0,doy:4}})}(r(74043))},33018:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-kw",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:0,doy:12}})}(r(74043))},53423:function(e,t,r){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},i=function(e){return function(t,i,o,a){var s=r(t),l=n[e][r(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,r){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(r(74043))},27334:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-ma",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(r(74043))},32149:function(e,t,r){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},r={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-ps",{months:"ÙØ§ÙÙÙ Ø§ÙØ«Ø§ÙÙ_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ØªØ´Ø±Ù Ø§ÙØ£ÙÙÙ_تشرÙÙ Ø§ÙØ«Ø§ÙÙ_ÙØ§ÙÙÙ Ø§ÙØ£ÙÙÙ".split("_"),monthsShort:"ÙÙ¢_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ت١_ت٢_ÙÙ¡".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,r){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return r[e]}).split("").reverse().join("").replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(r(74043))},26708:function(e,t,r){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},r={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-sa",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,r){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù
153",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(r(74043))},73718:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جاÙÙÙ_ÙÙÙØ±Ù_Ù
ارس_Ø£ÙØ±ÙÙ_Ù
اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),monthsShort:"جاÙÙÙ_ÙÙÙØ±Ù_Ù
ارس_Ø£ÙØ±ÙÙ_Ù
اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},week:{dow:1,doy:4}})}(r(74043))},80031:function(e,t,r){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},r={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},o=function(e){return function(t,r,o,a){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,r){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(r(74043))},5975:function(e,t,r){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ".split("_"),weekdaysShort:"Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn".split("_"),weekdaysMin:"Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gÉlÉn hÉftÉ] dddd [saat] LT",lastDay:"[dünÉn] LT",lastWeek:"[keçÉn hÉftÉ] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s ÉvvÉl",s:"bir neÃ§É saniyÉ",ss:"%d saniyÉ",m:"bir dÉqiqÉ",mm:"%d dÉqiqÉ",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecÉ|sÉhÉr|gündüz|axÅam/,isPM:function(e){return/^(gündüz|axÅam)$/.test(e)},meridiem:function(e,t,r){return e<4?"gecÉ":e<12?"sÉhÉr":e<17?"gündüz":"axÅam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var r=e%10,n=e%100-r,i=e>=100?100:null;return e+(t[r]||t[n]||t[i])},week:{dow:1,doy:7}})}(r(74043))},22305:function(e,t,r){!function(e){"use strict";function t(e,t){var r=e.split("_");
vendor: 12,368 bytes, line 153
153return t%10==1&&t%100!=11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){return"m"===n?r?"Ñ
вÑлÑна":"Ñ
вÑлÑнÑ":"h"===n?r?"гадзÑна":"гадзÑнÑ":e+" "+t({ss:r?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:r?"Ñ
вÑлÑна_Ñ
вÑлÑнÑ_Ñ
вÑлÑн":"Ñ
вÑлÑнÑ_Ñ
вÑлÑнÑ_Ñ
вÑлÑн",hh:r?"гадзÑна_гадзÑнÑ_гадзÑн":"гадзÑнÑ_гадзÑнÑ_гадзÑн",dd:"дзенÑ_днÑ_дзÑн",MM:"меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ",yy:"год_гадÑ_гадоÑ"}[n],+e)}e.defineLocale("be",{months:{format:"ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ".split("_"),standalone:"ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ".split("_")},monthsShort:"ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж".split("_"),weekdays:{format:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ".split("_"),standalone:"нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа".split("_"),isFormat:/\[ ?[УÑÑ] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/},weekdaysShort:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[СÑÐ½Ð½Ñ Ñ] LT",nextDay:"[ÐаÑÑÑа Ñ] LT",lastDay:"[УÑоÑа Ñ] LT",nextWeek:function(){return"[У] dddd [Ñ] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мÑнÑлÑÑ] dddd [Ñ] LT";case 1:case 2:case 4:return"[У мÑнÑлÑ] dddd [Ñ] LT"}},sameElse:"L"},relativeTime:{future:"пÑаз %s",past:"%s ÑамÑ",s:"некалÑÐºÑ ÑекÑнд",m:r,mm:r,h:r,hh:r,d:"дзенÑ",dd:r,M:"меÑÑÑ",MM:r,y:"год",yy:r},meridiemParse:/ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/,isPM:function(e){return/^(днÑ|веÑаÑа)$/.test(e)},meridiem:function(e,t,r){return e<4?"ноÑÑ":e<12?"ÑанÑÑÑ":e<17?"днÑ":"веÑаÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñ|Ñ|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-Ñ":e+"-Ñ";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(r(74043))},26783:function(e,t,r){!function(e){"use strict";e.defineLocale("bg",{months:"ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐ½ÐµÑ Ð²] LT",nextDay:"[УÑÑе в] LT",nextWeek:"dddd [в] LT",lastDay:"[ÐÑеÑа в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐиналаÑа] dddd [в] LT";case 1:case 2:case 4:case 5:return"[ÐиналиÑ] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"Ñлед %s",past:"пÑеди %s",s:"нÑколко ÑекÑнди",ss:"%d ÑекÑнди",m:"минÑÑа",mm:"%d минÑÑи",h:"ÑаÑ",hh:"%d ÑаÑа",d:"ден",dd:"%d дена",w:"ÑедмиÑа",ww:"%d ÑедмиÑи",M:"меÑеÑ",MM:"%d меÑеÑа",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(r(74043))},48601:function(e,t,r){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉkalo_ZuwÉnkalo_Zuluyekalo_Utikalo_SÉtanburukalo_ÉkutÉburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_MÉ_Zuw_Zul_Uti_SÉt_Éku_Now_Des".split("_"),weekdays:"Kari_NtÉnÉn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_NtÉ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lÉrÉ] HH:mm"},calendar:{sameDay:"[Bi lÉrÉ] LT",nextDay:"[Sini lÉrÉ] LT",nextWeek:"dddd [don lÉrÉ] LT",lastDay:"[Kunu lÉrÉ] LT",lastWeek:"dddd [tÉmÉnen lÉrÉ] LT",sameElse:"L"},relativeTime:{future:"%s kÉnÉ",past:"a bÉ %s bÉ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lÉrÉ kelen",hh:"lÉrÉ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(r(74043))},62971:function(e,t,r){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},r={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_à¦
à¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_à¦
à¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|à¦à§à¦°|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|সনà§à¦§à§à¦¯à¦¾|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"à¦à§à¦°"===t||"সà¦à¦¾à¦²"===t?e:"দà§à¦ªà§à¦°"===t?e>=3?e:e+12:"বিà¦à¦¾à¦²"===t||"সনà§à¦§à§à¦¯à¦¾"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"রাত":e<6?"à¦à§à¦°":e<12?"সà¦à¦¾à¦²":e<15?"দà§à¦ªà§à¦°":e<18?"বিà¦à¦¾à¦²":e<20?"সনà§à¦§à§à¦¯à¦¾":"রাত"},week:{dow:0,doy:6}})}(r(74043))},37600:function(e,t,r){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},r={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"à¦à¦¾à¦¨à§à§à¦¾à¦°à¦¿_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_à¦
à¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°".split("_"),monthsShort:"à¦à¦¾à¦¨à§_ফà§à¦¬à§à¦°à§_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦_à¦
à¦à§à¦à§_নà¦à§_ডিসà§".split("_"),weekdays:"রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার".split("_"),weekdaysShort:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি".split("_"),weekdaysMin:"রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹_শà§à¦à§à¦°_শনি".split("_"),longDateFormat:{LT:"A h:mm সমà§",LTS:"A h:mm:ss সমà§",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সমà§",LLLL:"dddd, D MMMM YYYY, A h:mm সমà§"},calendar:{sameDay:"[à¦à¦] LT",nextDay:"[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT",nextWeek:"dddd, LT",lastDay:"[à¦à¦¤à¦à¦¾à¦²] LT",lastWeek:"[à¦à¦¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরà§",past:"%s à¦à¦à§",s:"à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡",ss:"%d সà§à¦à§à¦¨à§à¦¡",m:"à¦à¦ মিনিà¦",mm:"%d মিনিà¦",h:"à¦à¦ à¦à¦¨à§à¦à¦¾",hh:"%d à¦à¦¨à§à¦à¦¾",d:"à¦à¦ দিন",dd:"%d দিন",M:"à¦à¦ মাস",MM:"%d মাস",y:"à¦à¦ বà¦à¦°",yy:"%d বà¦à¦°"},preparse:function(e){return e.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দà§à¦ªà§à¦°"===t&&e<5||"বিà¦à¦¾à¦²"===t?e+12:e},meridiem:function(e,t,r){return e<4?"রাত":e<10?"সà¦à¦¾à¦²":e<17?"দà§à¦ªà§à¦°":e<20?"বিà¦à¦¾à¦²":"রাত"},week:{dow:0,doy:6}})}(r(74043))},36375:function(e,t,r){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½à½
ིà½à¼à½_à½à¾³à¼à½à¼à½à½
ུà¼à½à½à½²à½¦à¼à½".split("_"),monthsShort:"à½à¾³à¼1_à½à¾³à¼2_à½à¾³à¼3_à½à¾³à¼4_à½à¾³à¼5_à½à¾³à¼6_à½à¾³à¼7_à½à¾³à¼8_à½à¾³à¼9_à½à¾³à¼10_à½à¾³à¼11_à½à¾³à¼12".split("_"),monthsShortRegex:/^(à½à¾³à¼\d{1,2})/,monthsParseExact:!0,weekdays:"à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼".split("_"),weekdaysShort:"à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼".split("_"),weekdaysMin:"à½à½²_à½à¾³_à½à½²à½_ལྷà½_à½à½´à½¢_སà½à½¦_སྤེà½".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à½à½²à¼à½¢à½²à½] LT",nextDay:"[སà½à¼à½à½²à½] LT",nextWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT",lastDay:"[à½à¼à½¦à½] LT",lastWeek:"[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལà¼",past:"%s སà¾à½à¼à½£",s:"ལà½à¼à½¦à½",ss:"%d སà¾à½¢à¼à½à¼",m:"སà¾à½¢à¼à½à¼à½à½
ིà½",mm:"%d སà¾à½¢à¼à½",h:"à½à½´à¼à½à½¼à½à¼à½à½
ིà½",hh:"%
153d à½à½´à¼à½à½¼à½",d:"à½à½²à½à¼à½à½
ིà½",dd:"%d à½à½²à½à¼",M:"à½à¾³à¼à½à¼à½à½
ིà½",MM:"%d à½à¾³à¼à½",y:"ལོà¼à½à½
ིà½",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/,meridiemHour:function(e,t){return 12===e&&(e=0),"à½à½à½à¼à½à½¼"===t&&e>=4||"à½à½²à½à¼à½à½´à½"===t&&e<5||"à½à½à½¼à½à¼à½à½"===t?e+12:e},meridiem:function(e,t,r){return e<4?"à½à½à½à¼à½à½¼":e<10?"à½à½¼à½à½¦à¼à½à½¦":e<17?"à½à½²à½à¼à½à½´à½":e<20?"à½à½à½¼à½à¼à½à½":"à½à½à½à¼à½à½¼"},week:{dow:0,doy:6}})}(r(74043))},36900:function(e,t,r){!function(e){"use strict";function t(e,t,r){return e+" "+i({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}function r(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function n(e){return e>9?n(e%10):e}function i(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],f=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:f,fullWeekdaysParse:u,shortWeekdaysParse:d,minWeekdaysParse:f,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:r},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,r){return e<12?"a.m.":"g.m."}})}(r(74043))},42571:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){if("m"===r)return t?"jedna minuta":n?"jednu minutu":"jedne minute"}function r(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return"jedan sat";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[proÅ¡lu] dddd [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:r,m:t,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},66564:function(e,t,r){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
153d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}})}(r(74043))},99966:function(e,t,r){!function(e){"use strict";var t={standalone:"leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),format:"ledna_února_bÅezna_dubna_kvÄtna_Äervna_Äervence_srpna_záÅÃ_ÅÃjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},r="led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bÅe/i,/^dub/i,/^kvÄ/i,/^(Ävn|Äerven$|Äervna)/i,/^(Ävc|Äervenec|Äervence)/i,/^srp/i,/^záÅ/i,/^ÅÃj/i,/^lis/i,/^pro/i],i=/^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(o(e)?"dny":"dnÃ"):i+"dny";case"M":return t||n?"mÄsÃc":"mÄsÃcem";case"MM":return t||n?i+(o(e)?"mÄsÃce":"mÄsÃců"):i+"mÄsÃci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(o(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zÃtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedÄli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve stÅedu v] LT";case 4:return"[ve Ätvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[vÄera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou nedÄli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou stÅedu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pÅed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},83105:function(e,t,r){!function(e){"use strict";e.defineLocale("cv",{months:"кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав".split("_"),monthsShort:"кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ".split("_"),weekdays:"вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн".split("_"),weekdaysShort:"вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм".split("_"),weekdaysMin:"вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ]",LLL:"YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ], HH:mm",LLLL:"dddd, YYYY [Ò«ÑлÑ
и] MMMM [ÑйÓÑ
Óн] D[-мÓÑÓ], HH:mm"},calendar:{sameDay:"[ÐаÑн] LT [ÑеÑ
еÑÑе]",nextDay:"[ЫÑан] LT [ÑеÑ
еÑÑе]",lastDay:"[ÓнеÑ] LT [ÑеÑ
еÑÑе]",nextWeek:"[ҪиÑеÑ] dddd LT [ÑеÑ
еÑÑе]",lastWeek:"[ÐÑÑнÓ] dddd LT [ÑеÑ
еÑÑе]",sameElse:"L"},relativeTime:{future:function(e){return e+(/ÑеÑ
еÑ$/i.exec(e)?"Ñен":/Ò«Ñл$/i.exec(e)?"Ñан":"Ñан")},past:"%s каÑлла",s:"пÓÑ-ик ҫеккÑнÑ",ss:"%d ҫеккÑнÑ",m:"пÓÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"пÓÑ ÑеÑ
еÑ",hh:"%
153d ÑеÑ
еÑ",d:"пÓÑ ÐºÑн",dd:"%d кÑн",M:"пÓÑ ÑйÓÑ
",MM:"%d ÑйÓÑ
",y:"пÓÑ Ò«Ñл",yy:"%d Ò«Ñл"},dayOfMonthOrdinalParse:/\d{1,2}-мÓÑ/,ordinal:"%d-мÓÑ",week:{dow:1,doy:7}})}(r(74043))},85260:function(e,t,r){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(r(74043))},71823:function(e,t,r){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"pÃ¥ dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"fÃ¥ sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"et Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},94785:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},39039:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%
153d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},18827:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},87134:function(e,t,r){!function(e){"use strict";var t=["ÞÞ¬ÞÞªÞÞ¦ÞÞ©","ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©","ÞÞ§ÞÞ¨ÞÞª","ÞÞÞÞ°ÞÞ©ÞÞª","ÞÞ","ÞÞ«ÞÞ°","ÞÞªÞÞ¦ÞÞ¨","ÞÞ¯ÞÞ¦ÞÞ°ÞÞª","ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª","ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª"],r=["ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦","ÞÞ¯ÞÞ¦","ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦","ÞÞªÞÞ¦","ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨","ÞÞªÞÞªÞÞª","ÞÞ®ÞÞ¨ÞÞ¨ÞÞª"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ÞÞ|ÞÞ/,isPM:function(e){return"ÞÞ"===e},meridiem:function(e,t,r){return e<12?"ÞÞ":"ÞÞ"},calendar:{sameDay:"[ÞÞ¨ÞÞ¦ÞÞª] LT",nextDay:"[ÞÞ§ÞÞ¦ÞÞ§] LT",nextWeek:"dddd LT",lastDay:"[ÞÞ¨ÞÞ°ÞÞ¬] LT",lastWeek:"[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT",sameElse:"L"},relativeTime:{future:"ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s",past:"ÞÞªÞÞ¨ÞÞ° %s",s:"ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ
Þ¬ÞÞ°",ss:"d% ÞÞ¨ÞÞªÞÞ°ÞÞª",m:"ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",mm:"ÞÞ¨ÞÞ¨ÞÞª %d",h:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°",hh:"ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d",d:"ÞÞªÞÞ¦ÞÞ¬ÞÞ°",dd:"ÞÞªÞÞ¦ÞÞ° %d",M:"ÞÞ¦ÞÞ¬ÞÞ°",MM:"ÞÞ¦ÞÞ° %d",y:"ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°",yy:"ÞÞ¦ÞÞ¦ÞÞª %d"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:7,doy:12}})}(r(74043))},38361:function(e,t,r){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"ÎανοÏ
άÏιοÏ_ΦεβÏοÏ
άÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏγοÏ
ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ".split("_"),monthsGenitiveEl:"ÎανοÏ
αÏίοÏ
_ΦεβÏοÏ
αÏίοÏ
_ÎαÏÏίοÏ
_ÎÏÏιλίοÏ
_ÎαÎοÏ
_ÎοÏ
νίοÏ
_ÎοÏ
λίοÏ
_ÎÏ
γοÏÏÏοÏ
_ΣεÏÏεμβÏίοÏ
_ÎκÏÏβÏίοÏ
_ÎοεμβÏίοÏ
_ÎεκεμβÏίοÏ
".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎοÏ
ν_ÎοÏ
λ_ÎÏ
γ_ΣεÏ_ÎκÏ_Îοε_Îεκ".split("_"),weekdays:"ÎÏ
Ïιακή_ÎεÏ
ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏκεÏ
ή_ΣάββαÏο".split("_"),weekdaysShort:"ÎÏ
Ï_ÎεÏ
_ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ".split("_"),weekdaysMin:"ÎÏ
_Îε_ΤÏ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,r){return e>11?r?"μμ":"ÎÎ":r?"Ïμ":"Î Î"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[Î Î]\.?Î?\.?/i,longDateFormat:{LT:"h:mm A",LT
vendor: 23,600 bytes, line 153
153S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[ΣήμεÏα {}] LT",nextDay:"[ÎÏÏιο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Î§Î¸ÎµÏ {}] LT",lastWeek:function(){return 6===this.day()?"[Ïο ÏÏοηγοÏμενο] dddd [{}] LT":"[Ïην ÏÏοηγοÏμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,r){var n=this._calendarEl[e],i=r&&r.hours();return t(n)&&(n=n.apply(r)),n.replace("{}",i%12==1?"ÏÏη":"ÏÏιÏ")},relativeTime:{future:"Ïε %s",past:"%s ÏÏιν",s:"λίγα δεÏ
ÏεÏÏλεÏÏα",ss:"%d δεÏ
ÏεÏÏλεÏÏα",m:"Îνα λεÏÏÏ",mm:"%d λεÏÏά",h:"μία ÏÏα",hh:"%d ÏÏεÏ",d:"μία μÎÏα",dd:"%d μÎÏεÏ",M:"ÎÎ½Î±Ï Î¼Î®Î½Î±Ï",MM:"%d μήνεÏ",y:"ÎÎ½Î±Ï ÏÏÏνοÏ",yy:"%d ÏÏÏνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(r(74043))},39894:function(e,t,r){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(r(74043))},3100:function(e,t,r){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r(74043))},46369:function(e,t,r){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},41566:function(e,t,r){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},92085:function(e,t,r){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r(74043))},76595:function(e,t,r){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(r(74043))},6088:function(e,t,r){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},88394:function(e,t,r){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},18080:function(e,t,r){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aÅg_sept_okt_nov_dec".split("_"),weekdays:"dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaÅ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[HodiaÅ je] LT",nextDay:"[MorgaÅ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[HieraÅ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaÅ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(r(74043))},68008:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},90928:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(r(74043))},71465:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(r(74043))},84132:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(r(74043))},47505:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},79618:function(e,t,r){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},24569:function(e,t,r){!function(e){"use strict";var t={1:"Û±",2:"Û²",3:"Û³",4:"Û´",5:"Ûµ",6:"Û¶",7:"Û·",8:"Û¸",9:"Û¹",0:"Û°"},r={"Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","Û°":"0"};e.defineLocale("fa",{months:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_Ù
ارس_Ø¢ÙØ±ÛÙ_Ù
Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتاÙ
بر_اکتبر_ÙÙØ§Ù
بر_دساÙ
بر".split("_"),monthsShort:"ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_Ù
ارس_Ø¢ÙØ±ÛÙ_Ù
Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتاÙ
بر_اکتبر_ÙÙØ§Ù
بر_دساÙ
بر".split("_"),weekdays:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_جÙ
عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysShort:"ÛÚ©âØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙâØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬âØ´ÙØ¨Ù_جÙ
عÙ_Ø´ÙØ¨Ù".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_ج_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/,isPM:function(e){return/بعد از Ø¸ÙØ±/.test(e)},meridiem:function(e,t,r){return e<12?"ÙØ¨Ù از Ø¸ÙØ±":"بعد از Ø¸ÙØ±"},calendar:{sameDay:"[اÙ
Ø±ÙØ² ساعت] LT",nextDay:"[ÙØ±Ø¯Ø§ ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[Ø¯ÛØ±Ùز ساعت] LT",lastWeek:"dddd [Ù¾ÛØ´] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s Ù¾ÛØ´",s:"ÚÙØ¯ ثاÙÛÙ",ss:"%d ثاÙÛÙ",m:"ÛÚ© دÙÛÙÙ",mm:"%d دÙÛÙÙ",h:"ÛÚ© ساعت",hh:"%
153d ساعت",d:"ÛÚ© Ø±ÙØ²",dd:"%d Ø±ÙØ²",M:"ÛÚ© Ù
اÙ",MM:"%d Ù
اÙ",y:"ÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/[Û°-Û¹]/g,function(e){return r[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},dayOfMonthOrdinalParse:/\d{1,2}Ù
/,ordinal:"%dÙ
",week:{dow:6,doy:12}})}(r(74043))},40801:function(e,t,r){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,t,r,n){var o="";switch(r){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":o=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":o=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":o=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":o=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":o=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":o=n?"vuoden":"vuotta"}return o=i(e,n)+" "+o}function i(e,n){return e<10?n?r[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},38793:function(e,t,r){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r(74043))},26459:function(e,t,r){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frÃ_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[à morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gjár kl.] LT",lastWeek:"[sÃðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s sÃðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tÃmi",hh:"%d tÃmar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},83937:function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(r(74043))},97450:function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r(74043))},20752:function(e,t,r){!function(e){"use strict";
vendor: 5,182 bytes, line 153
153var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:t,monthsShortStrictRegex:r,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdâhui à ] LT",nextDay:"[Demain à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[Hier à ] LT",lastWeek:"dddd [dernier à ] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r(74043))},19697:function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(74043))},33136:function(e,t,r){!function(e){"use strict";var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],r=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mÃ",MM:"%d mÃonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(74043))},50307:function(e,t,r){!function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Mà rt","An Giblean","An Cèitean","An t-Ãgmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dà mhair","An t-Samhain","An Dùbhlachd"],r=["Faoi","Gear","Mà rt","Gibl","Cèit","Ãgmh","Iuch","Lùn","Sult","Dà mh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimà irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà ","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-mà ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig]
153LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(74043))},84331:function(e,t,r){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},59854:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["थà¥à¤¡à¤¯à¤¾ सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥","थà¥à¤¡à¥ सà¥
à¤à¤à¤¡"],ss:[e+" सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥",e+" सà¥
à¤à¤à¤¡"],m:["à¤à¤à¤¾ मिणà¤à¤¾à¤¨","à¤à¤ मिनà¥à¤"],mm:[e+" मिणà¤à¤¾à¤à¤¨à¥",e+" मिणà¤à¤¾à¤"],h:["à¤à¤à¤¾ वरान","à¤à¤ वर"],hh:[e+" वराà¤à¤¨à¥",e+" वराà¤"],d:["à¤à¤à¤¾ दिसान","à¤à¤ दà¥à¤¸"],dd:[e+" दिसाà¤à¤¨à¥",e+" दà¥à¤¸"],M:["à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨","à¤à¤ मà¥à¤¹à¤¯à¤¨à¥"],MM:[e+" मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥",e+" मà¥à¤¹à¤¯à¤¨à¥"],y:["à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨","à¤à¤ वरà¥à¤¸"],yy:[e+" वरà¥à¤¸à¤¾à¤à¤¨à¥",e+" वरà¥à¤¸à¤¾à¤"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-deva",{months:{standalone:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),format:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à¤°_शà¥à¤¨à¤µà¤¾à¤°".split("_"),weekdaysShort:"à¤à¤¯à¤¤._सà¥à¤®._मà¤à¤à¤³._बà¥à¤§._बà¥à¤°à¥à¤¸à¥à¤¤._सà¥à¤à¥à¤°._शà¥à¤¨.".split("_"),weekdaysMin:"à¤_सà¥_मà¤_बà¥_बà¥à¤°à¥_सà¥_शà¥".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाà¤à¤¤à¤¾à¤]",LTS:"A h:mm:ss [वाà¤à¤¤à¤¾à¤]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाà¤à¤¤à¤¾à¤]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]",llll:"ddd, D MMM YYYY, A h:mm [वाà¤à¤¤à¤¾à¤]"}
vendor: 10,921 bytes, line 153
153,calendar:{sameDay:"[à¤à¤¯à¤] LT",nextDay:"[फालà¥à¤¯à¤¾à¤] LT",nextWeek:"[फà¥à¤¡à¤²à¥] dddd[,] LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[फाà¤à¤²à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s à¤à¤¦à¥à¤",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वà¥à¤°)/,ordinal:function(e,t){return"D"===t?e+"वà¥à¤°":e},week:{dow:0,doy:3},meridiemParse:/रातà¥|सà¤à¤¾à¤³à¥à¤|दनपाराà¤|साà¤à¤à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"रातà¥"===t?e<4?e:e+12:"सà¤à¤¾à¤³à¥à¤"===t?e:"दनपाराà¤"===t?e>12?e:e+12:"साà¤à¤à¥"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रातà¥":e<12?"सà¤à¤¾à¤³à¥à¤":e<16?"दनपाराà¤":e<20?"साà¤à¤à¥":"रातà¥"}})}(r(74043))},39945:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(r(74043))},37932:function(e,t,r){!function(e){"use strict";var t={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«",8:"à«®",9:"૯",0:"૦"},r={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«":"7","à«®":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"àªàª¾àª¨à«àª¯à«àªàª°à«_ફà«àª¬à«àª°à«àªàª°à«_મારà«àª_àªàªªà«àª°àª¿àª²_મà«_àªà«àª¨_àªà«àª²àª¾àª_àªàªàª¸à«àª_સપà«àªà«àª®à«àª¬àª°_àªàªà«àªà«àª¬àª°_નવà«àª®à«àª¬àª°_ડિસà«àª®à«àª¬àª°".split("_"),monthsShort:"àªàª¾àª¨à«àª¯à«._ફà«àª¬à«àª°à«._મારà«àª_àªàªªà«àª°àª¿._મà«_àªà«àª¨_àªà«àª²àª¾._àªàª._સપà«àªà«._àªàªà«àªà«._નવà«._ડિસà«.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સà«àª®àªµàª¾àª°_મàªàªàª³àªµàª¾àª°_બà«àª§à«àªµàª¾àª°_àªà«àª°à«àªµàª¾àª°_શà«àªà«àª°àªµàª¾àª°_શનિવાર".split("_"),weekdaysShort:"રવિ_સà«àª®_મàªàªàª³_બà«àª§à«_àªà«àª°à«_શà«àªà«àª°_શનિ".split("_"),weekdaysMin:"ર_સà«_મàª_બà«_àªà«_શà«_શ".split("_"),longDateFormat:{LT:"A h:mm વાàªà«àª¯à«",LTS:"A h:mm:ss વાàªà«àª¯à«",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાàªà«àª¯à«",LLLL:"dddd, D MMMM YYYY, A h:mm વાàªà«àª¯à«"},calendar:{sameDay:"[àªàª] LT",nextDay:"[àªàª¾àª²à«] LT",nextWeek:"dddd, LT",lastDay:"[àªàªàªàª¾àª²à«] LT",lastWeek:"[પાàªàª²àª¾] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહà«àª²àª¾",s:"àª
મà«àª પળà«",ss:"%d સà«àªàªàª¡",m:"àªàª મિનિàª",mm:"%d મિનિàª",h:"àªàª àªàª²àª¾àª",hh:"%d àªàª²àª¾àª",d:"àªàª દિવસ",dd:"%d દિવસ",M:"àªàª મહિનà«",MM:"%d મહિનà«",y:"àªàª વરà«àª·",yy:"%d વરà«àª·"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપà«àª°|સવાર|સાàªàª/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપà«àª°"===t?e>=10?e:e+12:"સાàªàª"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"રાત":e<10?"સવાર":e<17?"બપà«àª°":e<20?"સાàªàª":"રાત"},week:{dow:0,doy:6}})}(r(74043))},39551:function(e,t,r){!function(e){"use strict";e.defineLocale("he",{months:"×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר".split("_"),monthsShort:"×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳".split("_"),weekdays:"ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת".split("_"),weekdaysShort:"×׳_×׳_×׳_×׳_×׳_×׳_ש׳".split("_"),weekdaysMin:"×_×_×_×_×_×_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [×]MMMM YYYY",LLL:"D [×]MMMM YYYY HH:mm",LLLL:"dddd, D [×]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[×××× ×Ö¾]LT",nextDay:"[××ר ×Ö¾]LT",nextWeek:"dddd [×שע×] LT",lastDay:"[×ת××× ×Ö¾]LT",lastWeek:"[××××] dddd [×××ר×× ×שע×] LT",sameElse:"L"},relativeTime:{future:"××¢×× %s",past:"××¤× × %s",s:"×ספר ×©× ××ת",ss:"%d ×©× ××ת",m:"××§×",mm:"%d ××§×ת",h:"שע×",hh:function(e){return 2===e?"שעת×××":e+" שע×ת"},d:"×××",dd:function(e){return 2===e?"××××××":e+" ××××"},M:"×××ש",MM:function(e){return 2===e?"×××ש×××":e+" ×××ש××"},y:"×©× ×",yy:function(e){return 2===e?"×©× ×ª×××":e%10==0&&10!==e?e+" ×©× ×":e+" ×©× ××"}},meridiemParse:/×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i,isPM:function(e){return/^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(e)},meridiem:function(e,t,r){return e<5?"××¤× ×ת ××קר":e<10?"×××קר":e<12?r?'××¤× ×"צ':"××¤× × ×צ×ר×××":e<18?r?'×××"צ':"×××¨× ×צ×ר×××":"×ער×"}})}(r(74043))},49395:function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},n=[/^à¤à¤¨/i,/^फ़र|फर/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सितà¤|सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव|नवà¤/i,/^दिसà¤|दिस/i],i=[/^à¤à¤¨/i,/^फ़र/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव/i,/^दिस/i];e.defineLocale("hi",{months:{format:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),standalone:"à¤à¤¨à¤µà¤°à¥_फरवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितà¤à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवà¤à¤¬à¤°_दिसà¤à¤¬à¤°".split("_")},monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_à¤
पà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._à¤
à¤._सित._à¤
à¤à¥à¤à¥._नव._दिस.".split("_"),weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},monthsParse:n,longMonthsParse:n,shortMonthsParse:i,monthsRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsShortRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsStrictRegex:/^(à¤à¤¨à¤µà¤°à¥?|फ़रवरà¥|फरवरà¥?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤?|à¤
à¤à¤¸à¥à¤¤?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित?\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°?)/i,monthsShortStrictRegex:/^(à¤à¤¨\.?|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²\.?|à¤
à¤\.?|सित\.?|à¤
à¤à¥à¤à¥\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤²] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤²] LT",lastWeek:"[पिà¤à¤²à¥] dddd, LT",sameElse:"L"},relativeTime:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",ss:"%d सà¥à¤à¤à¤¡",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"राà
153¤¤"===t?e<4?e:e+12:"सà¥à¤¬à¤¹"===t?e:"दà¥à¤ªà¤¹à¤°"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रात":e<10?"सà¥à¤¬à¤¹":e<17?"दà¥à¤ªà¤¹à¤°":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(r(74043))},22062:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[proÅ¡lu] [nedjelju] [u] LT";case 3:return"[proÅ¡lu] [srijedu] [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},83215:function(e,t,r){!function(e){"use strict";var t="vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(e,t,r,n){var i=e;switch(r){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return i+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return i+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return i+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return i+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return i+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},52514:function(e,t,r){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö
Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«".split("_"),standalone:"Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö
Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö".split("_")},monthsShort:"Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö
Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿".split("_"),weekdays:"Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©".split("_"),weekdaysShort:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),weekdaysMin:"Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Õ©.",LLL:"D MMMM YYYY Õ©., HH:mm",LLLL:"dddd, D MMMM YYYY Õ©., HH:mm"},calendar:{sameDay:"[Õ¡ÕµÕ½Ö
Ö] LT",nextDay:"[Õ¾Õ¡Õ²Õ¨] LT",lastDay:"[Õ¥ÖÕ¥Õ¯] LT",nextWeek:function(){return"dddd [Ö
ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},lastWeek:function(){return"[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö
ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT"},sameElse:"L"},relativeTime:{future:"%s Õ°Õ¥Õ¿Õ¸",past:"%s Õ¡Õ¼Õ¡Õ»",s:"Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",ss:"%d Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶",m:"ÖÕ¸ÕºÕ¥",mm:"%d ÖÕ¸ÕºÕ¥",h:"ÕªÕ¡Õ´",hh:"%d ÕªÕ¡Õ´",d:"Ö
Ö",dd:"%d Ö
Ö",M:"Õ¡Õ´Õ«Õ½",MM:"%d Õ¡Õ´Õ«Õ½",y:"Õ¿Õ¡ÖÕ«",yy:"%d Õ¿Õ¡ÖÕ«"},meridiemParse:/Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/,isPM:function(e){return/^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(e)},meridiem:function(e){return e<4?"Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡":e<12?"Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡":e<17?"ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡":"Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-Õ«Õ¶":e+"-ÖÕ¤";default:return e}},week:{dow:1,doy:7}})}(r(74043))},37077:function(e,t,r){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(r(74043))},67056:function(e,t,r){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function r(e,r,n,i){var o=e+" ";switch(n){case"s":return r||i?"nokkrar sekúndur":"nokkrum sekúndum";
vendor: 11,320 bytes, line 153
153case"ss":return t(e)?o+(r||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return r?"mÃnúta":"mÃnútu";case"mm":return t(e)?o+(r||i?"mÃnútur":"mÃnútum"):r?o+"mÃnúta":o+"mÃnútu";case"hh":return t(e)?o+(r||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return t(e)?r?o+"dagar":o+(i?"daga":"dögum"):r?o+"dagur":o+(i?"dag":"degi");case"M":return r?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?r?o+"mánuðir":o+(i?"mánuði":"mánuðum"):r?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return r||i?"ár":"ári";case"yy":return t(e)?o+(r||i?"ár":"árum"):o+(r||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Ãr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[à dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[à gær kl.] LT",lastWeek:"[sÃðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s sÃðan",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},90497:function(e,t,r){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},15973:function(e,t,r){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},25349:function(e,t,r){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令å",narrow:"ã¿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"å¹³æ",narrow:"ã»",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"æå",narrow:"ã¼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大æ£",narrow:"ã½",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"ææ²»",narrow:"ã¾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西æ¦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"ç´å
å",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(å
|\d+)å¹´/,eraYearOrdinalParse:function(e,t){return"å
"===t[1]?1:parseInt(t[1]||e,10)},months:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥".split("_"),weekdaysShort:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),weekdaysMin:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥ dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥(ddd) HH:mm"},meridiemParse:/åå|åå¾/i,isPM:function(e){return"åå¾"===e},meridiem:function(e,t,r){return e<12?"åå":"åå¾"},calendar:{sameDay:"[仿¥] LT",nextDay:"[ææ¥] LT",nextWeek:function(e){return e.week()!==this.week()?"[æ¥é±]dddd LT":"dddd LT"},lastDay:"[æ¨æ¥] LT",lastWeek:function(e){return this.week()!==e.week()?"[å
é±]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}æ¥/,ordinal:function(e,t){switch(t){case"y":return 1===e?"å
å¹´":e+"å¹´";case"d":case"D":case"DDD":return e+"æ¥";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"æ°ç§",ss:"%dç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"}})}(r(74043))},94368:function(e,t,r){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(r(74043))},18572:function(e,t,r){!function(e){"use strict";e.defineLocale("ka",{months:"áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á".split("_"),monthsShort:"ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá".split("_"),weekdays:{standalone:"áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá".split("_"),format:"áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡".split("_"),isFormat:/(á¬ááá|á¨ááááá)/},weekdaysShort:"ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá".split("_"),weekdaysMin:"áá_áá _á¡á_áá_á®á£_áá_á¨á".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[áá¦áá¡] LT[-áá]",nextDay:"[á®ááá] LT[-áá]",lastDay:"[áá£á¨áá] LT[-áá]",nextWeek:"[á¨ááááá] dddd LT[-áá]",lastWeek:"[á¬ááá] dddd LT-áá",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(á¬áá|á¬á£á|á¡ááá|á¬áá|áá¦|áá)(á|á)/,function(e,t,r){return"á"===r?t+"á¨á":t+r+"á¨á"})},past:function(e){return/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(e)?e.replace(/(á|á)$/,"áá¡ á¬áá"):/á¬ááá/.test(e)?e.replace(/á¬ááá$/,"á¬ááá¡ á¬áá"):e},s:"á áááááááá á¬ááá",ss:"%d á¬ááá",m:"á¬á£áá",mm:"%d á¬á£áá",h:"á¡áááá",hh:"%d á¡áááá",d:"áá¦á",dd:"%d áá¦á",M:"ááá",MM:"%d ááá",y:"á¬ááá",yy:"%d á¬ááá"},dayOfMonthOrdinalParse:/0|1-áá|áá-\d{1,2}|\d{1,2}-á/,ordinal:function(e){return 0===e?e:1===e?e+"-áá":e<20||e<=100&&e%20==0||e%100==0?"áá-"+e:e+"-á"},week:{dow:1,doy:7}})}(r(74043))},26334:function(e,t,r){!function(e){"use strict";var t={0:"-ÑÑ",1:"-ÑÑ",2:"-ÑÑ",3:"-ÑÑ",4:"-ÑÑ",5:"-ÑÑ",6:"-ÑÑ",7:"-ÑÑ",8:"-ÑÑ",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÑ",60:"-ÑÑ",70:"-ÑÑ",80:"-ÑÑ",90:"-ÑÑ",100:"-ÑÑ"};e.defineLocale("kk",{months:"ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан".split("_"),monthsShort:"Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел".split("_"),weekdays:"жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ".split("_"),weekdaysShort:"жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен".split("_"),weekdaysMin:"жк_дй_Ñй_ÑÑ_бй_жм_Ñн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐүгÑн ÑаÒаÑ] LT",nextDay:"[ÐÑÑең ÑаÒаÑ] LT",nextWeek:"dddd [ÑаÒаÑ] LT",lastDay:"[ÐеÑе ÑаÒаÑ] LT",lastWeek:"[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT",sameElse:"L"},relativeTime:{future:"%s ÑÑÑнде",past:"%s бұÑÑн",s:"бÑÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"бÑÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"бÑÑ ÑаÒаÑ",hh:"%
153d ÑаÒаÑ",d:"бÑÑ ÐºÒ¯Ð½",dd:"%d күн",M:"бÑÑ Ð°Ð¹",MM:"%d ай",y:"бÑÑ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}})}(r(74043))},79336:function(e,t,r){!function(e){"use strict";var t={1:"á¡",2:"á¢",3:"á£",4:"á¤",5:"á¥",6:"á¦",7:"á§",8:"á¨",9:"á©",0:"á "},r={"á¡":"1","á¢":"2","á£":"3","á¤":"4","á¥":"5","á¦":"6","á§":"7","á¨":"8","á©":"9","á ":"0"};e.defineLocale("km",{months:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á
ááá·áá¶_áááá¼".split("_"),monthsShort:"áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á
ááá·áá¶_áááá¼".split("_"),weekdays:"á¢á¶áá·ááá_á
áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá
áá".split("_"),weekdaysShort:"á¢á¶_á
_á¢_á_ááá_áá»_á".split("_"),weekdaysMin:"á¢á¶_á
_á¢_á_ááá_áá»_á".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/áááá¹á|áááá¶á
/,isPM:function(e){return"áááá¶á
"===e},meridiem:function(e,t,r){return e<12?"áááá¹á":"áááá¶á
"},calendar:{sameDay:"[ááááááá áááá] LT",nextDay:"[ááá¢áá áááá] LT",nextWeek:"dddd [áááá] LT",lastDay:"[áááá·ááá·á áááá] LT",lastWeek:"dddd [ááááá¶á ááá»á] [áááá] LT",sameElse:"L"},relativeTime:{future:"%sááá",past:"%sáá»á",s:"ááá»áááá¶ááá·áá¶áá¸",ss:"%d áá·áá¶áá¸",m:"áá½ááá¶áá¸",mm:"%d áá¶áá¸",h:"áá½ááááá",hh:"%d áááá",d:"áá½ááááá",dd:"%d áááá",M:"áá½ááá",MM:"%d áá",y:"áá½ááááá¶á",yy:"%d áááá¶á"},dayOfMonthOrdinalParse:/áá¸\d{1,2}/,ordinal:"áá¸%d",preparse:function(e){return e.replace(/[á¡á¢á£á¤á¥á¦á§á¨á©á ]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(r(74043))},9473:function(e,t,r){!function(e){"use strict";var t={1:"à³§",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"à³",8:"à³®",9:"೯",0:"೦"},r={"à³§":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","à³":"7","à³®":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_à²
à²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³".split("_"),monthsShort:"à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²_à²
à²à³à²à³à³à³_ನವà³à²_ಡಿಸà³à²".split("_"),monthsParseExact:!0,weekdays:"à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ".split("_"),weekdaysShort:"à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ".split("_"),weekdaysMin:"à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à²à²à²¦à³] LT",nextDay:"[ನಾಳà³] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನà³à²¨à³] LT",lastWeek:"[à²à³à³à²¨à³à²¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನà²à²¤à²°",past:"%s ಹಿà²à²¦à³",s:"à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³",ss:"%d ಸà³à²à³à²à²¡à³à²à²³à³",m:"à²à²à²¦à³ ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"à²à²
153ದೠà²à²à²à³",hh:"%d à²à²à²à³",d:"à²à²à²¦à³ ದಿನ",dd:"%d ದಿನ",M:"à²à²à²¦à³ ತಿà²à²à²³à³",MM:"%d ತಿà²à²à²³à³",y:"à²à²à²¦à³ ವರà³à²·",yy:"%d ವರà³à²·"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತà³à²°à²¿"===t?e<4?e:e+12:"ಬà³à²³à²¿à²à³à²à³"===t?e:"ಮಧà³à²¯à²¾à²¹à³à²¨"===t?e>=10?e:e+12:"ಸà²à²à³"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ರಾತà³à²°à²¿":e<10?"ಬà³à²³à²¿à²à³à²à³":e<17?"ಮಧà³à²¯à²¾à²¹à³à²¨":e<20?"ಸà²à²à³":"ರಾತà³à²°à²¿"},dayOfMonthOrdinalParse:/\d{1,2}(ನà³à³)/,ordinal:function(e){return e+"ನà³à³"},week:{dow:0,doy:6}})}(r(74043))},55570:function(e,t,r){!function(e){"use strict";e.defineLocale("ko",{months:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),monthsShort:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),weekdays:"ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼".split("_"),weekdaysShort:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),weekdaysMin:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYYë
MMMM Dì¼",LLL:"YYYYë
MMMM Dì¼ A h:mm",LLLL:"YYYYë
MMMM Dì¼ dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYYë
MMMM Dì¼",lll:"YYYYë
MMMM Dì¼ A h:mm",llll:"YYYYë
MMMM Dì¼ dddd A h:mm"},calendar:{sameDay:"ì¤ë LT",nextDay:"ë´ì¼ LT",nextWeek:"dddd LT",lastDay:"ì´ì LT",lastWeek:"ì§ë주 dddd LT",sameElse:"L"},relativeTime:{future:"%s í",past:"%s ì ",s:"ëª ì´",ss:"%dì´",m:"1ë¶",mm:"%dë¶",h:"í ìê°",hh:"%dìê°",d:"í루",dd:"%dì¼",M:"í ë¬",MM:"%dë¬",y:"ì¼ ë
",yy:"%dë
"},dayOfMonthOrdinalParse:/\d{1,2}(ì¼|ì|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"ì¼";case"M":return e+"ì";case"w":case"W":return e+"주";default:return e}},meridiemParse:/ì¤ì |ì¤í/,isPM:function(e){return"ì¤í"===e},meridiem:function(e,t,r){return e<12?"ì¤ì ":"ì¤í"}})}(r(74043))},52623:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?i[r][0]:i[r][1]}function r(e){var t=(e=""+e).substring(e.length-1),r=e.length>1?e.substring(e.length-2):"";return 12==r||13==r||"2"!=t&&"3"!=t&&"50"!=r&&"70"!=t&&"80"!=t?"ê":"yê"}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Ãlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Ãlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"YekÅem_DuÅem_SêÅem_ÃarÅem_PêncÅem_Ãn_Åemî".split("_"),weekdaysShort:"Yek_Du_Sê_Ãar_Pên_Ãn_Åem".split("_"),weekdaysMin:"Ye_Du_Sê_Ãa_Pê_Ãn_Åe".split("_"),meridiem:function(e,t,r){return e<12?r?"bn":"BN":r?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Ãro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+r(e)},week:{dow:1,doy:4}})}(r(74043))},55248:function(e,t,r){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},r={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},n=["کاÙÙÙÛ Ø¯ÙÙÛÙ
","Ø´ÙØ¨Ø§Øª","ئازار","ÙÛØ³Ø§Ù","Ø¦Ø§ÛØ§Ø±","ØÙزÛÛØ±Ø§Ù","تÛÙ
Ù
ÙØ²","ئاب","ئÛÛÙÙÙÙ","تشرÛÙÛ ÛÛÙÛÙ
","تشرÛÙÛ Ø¯ÙÙÛÙ
","ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ
"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"ÛÙâÙØ´ÙâÙ
Ù
Ùâ_دÙÙØ´ÙâÙ
Ù
Ùâ_Ø³ÛØ´ÙâÙ
Ù
Ùâ_ÚÙØ§Ø±Ø´ÙâÙ
Ù
Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ
Ù
Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysShort:"ÛÙâÙØ´ÙâÙ
_دÙÙØ´ÙâÙ
_Ø³ÛØ´ÙâÙ
_ÚÙØ§Ø±Ø´ÙâÙ
_Ù¾ÛÙØ¬Ø´ÙâÙ
_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_Ù_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/,isPM:function(e){return/ئÛÙØ§Ø±Ùâ/.test(e)},meridiem:function(e,t,r){return e<12?"بÙâÛØ§ÙÛ":"ئÛÙØ§Ø±Ùâ"},calendar:{sameDay:"[ئÙâÙ
Ø±Û ÙØ§ØªÚÙ
ÛØ±] LT",nextDay:"[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",nextWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",lastDay:"[دÙÛÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",lastWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",sameElse:"L"},relativeTime:{future:"ÙÙâ %s",past:"%s",s:"ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ",ss:"ÚØ±ÙÙâ %d",m:"ÛÙâÙ Ø®ÙÙÙâÙ",mm:"%d Ø®ÙÙÙâÙ",h:"ÛÙâÙ ÙØ§ØªÚÙ
ÛØ±",hh:"%
153d ÙØ§ØªÚÙ
ÛØ±",d:"ÛÙâÙ ÚÛÚ",dd:"%d ÚÛÚ",M:"ÛÙâÙ Ù
اÙÚ¯",MM:"%d Ù
اÙÚ¯",y:"ÛÙâ٠ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:6,doy:12}})}(r(74043))},24068:function(e,t,r){!function(e){"use strict";var t={0:"-ÑÒ¯",1:"-Ñи",2:"-Ñи",3:"-ÑÒ¯",4:"-ÑÒ¯",5:"-Ñи",6:"-ÑÑ",7:"-Ñи",8:"-Ñи",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÒ¯",60:"-ÑÑ",70:"-Ñи",80:"-Ñи",90:"-ÑÑ",100:"-ÑÒ¯"};e.defineLocale("ky",{months:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби".split("_"),weekdaysShort:"Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе".split("_"),weekdaysMin:"Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ðүгүн ÑааÑ] LT",nextDay:"[ÐÑÑең ÑааÑ] LT",nextWeek:"dddd [ÑааÑ] LT",lastDay:"[ÐеÑÑÑ ÑааÑ] LT",lastWeek:"[Ó¨Ñкөн апÑанÑн] dddd [күнү] [ÑааÑ] LT",sameElse:"L"},relativeTime:{future:"%s иÑинде",past:"%s мÑÑÑн",s:"биÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ",mm:"%d мүнөÑ",h:"Ð±Ð¸Ñ ÑааÑ",hh:"%
153d ÑааÑ",d:"Ð±Ð¸Ñ ÐºÒ¯Ð½",dd:"%d күн",M:"Ð±Ð¸Ñ Ð°Ð¹",MM:"%d ай",y:"Ð±Ð¸Ñ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}})}(r(74043))},10154:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[r][0]:i[r][1]}function r(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function n(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},63069:function(e,t,r){!function(e){"use strict";e.defineLocale("lo",{months:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),monthsShort:"ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²".split("_"),weekdays:"àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysShort:"àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²".split("_"),weekdaysMin:"àº_àº_àºàº_àº_àºàº«_ສàº_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັàºdddd D MMMM YYYY HH:mm"},meridiemParse:/àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/,isPM:function(e){return"àºàºàºà»àº¥àº"===e},meridiem:function(e,t,r){return e<12?"àºàºàºà»àºàº»à»àº²":"àºàºàºà»àº¥àº"},calendar:{sameDay:"[ມືà»àºàºµà»à»àº§àº¥àº²] LT",nextDay:"[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT",nextWeek:"[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT",lastDay:"[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT",lastWeek:"[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT",sameElse:"L"},relativeTime:{future:"àºàºµàº %s",past:"%sàºà»àº²àºàº¡àº²",s:"àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ",ss:"%d ວິàºàº²àºàºµ",m:"1 àºàº²àºàºµ",mm:"%d àºàº²àºàºµ",h:"1 àºàº»à»àº§à»àº¡àº",hh:"%d àºàº»à»àº§à»àº¡àº",d:"1 ມືà»",dd:"%d ມືà»",M:"1 à»àºàº·àºàº",MM:"%d à»àºàº·àºàº",y:"1 àºàºµ",yy:"%d àºàºµ"},dayOfMonthOrdinalParse:/(àºàºµà»)\d{1,2}/,ordinal:function(e){return"àºàºµà»"+e}})}(r(74043))},94844:function(e,t,r){!function(e){"use strict";var t={ss:"sekundÄ_sekundžių_sekundes",m:"minutÄ_minutÄs_minutÄ",mm:"minutÄs_minuÄių_minutes",h:"valanda_valandos_valandÄ
",hh:"valandos_valandų_valandas",d:"diena_dienos_dienÄ
",dd:"dienos_die
153nų_dienas",M:"mÄnuo_mÄnesio_mÄnesį",MM:"mÄnesiai_mÄnesių_mÄnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(e,t,r,n){return t?"kelios sekundÄs":n?"kelių sekundžių":"kelias sekundes"}function n(e,t,r,n){return t?o(r)[0]:n?o(r)[1]:o(r)[2]}function i(e){return e%10==0||e>10&&e<20}function o(e){return t[e].split("_")}function a(e,t,r,a){var s=e+" ";return 1===e?s+n(e,t,r[0],a):t?s+(i(e)?o(r)[1]:o(r)[0]):a?s+o(r)[1]:s+(i(e)?o(r)[1]:o(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Å ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Å iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[PraÄjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieÅ¡ %s",s:r,ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(r(74043))},28550:function(e,t,r){!function(e){"use strict";var t={ss:"sekundes_sekundÄm_sekunde_sekundes".split("_"),m:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),mm:"minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes".split("_"),h:"stundas_stundÄm_stunda_stundas".split("_"),hh:"stundas_stundÄm_stunda_stundas".split("_"),d:"dienas_dienÄm_diena_dienas".split("_"),dd:"dienas_dienÄm_diena_dienas".split("_"),M:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),MM:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,i){return e+" "+r(t[i],e,n)}function i(e,n,i){return r(t[i],e,n)}function o(e,t){return t?"dažas sekundes":"dažÄm sekundÄm"}e.defineLocale("lv",{months:"janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec".split("_"),weekdays:"svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Å odien pulksten] LT",nextDay:"[RÄ«t pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[PagÄjuÅ¡Ä] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pÄc %s",past:"pirms %s",s:o,ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},68282:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i
vendor: 4,546 bytes, line 153
153)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedjelje] [u] LT","[proÅ¡log] [ponedjeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srijede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},4782:function(e,t,r){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei".split("_"),weekdaysShort:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),weekdaysMin:"Ta_Ma_TÅ«_We_TÄi_Pa_HÄ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hÄkona ruarua",ss:"%d hÄkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},40900:function(e,t,r){!function(e){"use strict";e.defineLocale("mk",{months:"ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи".split("_"),monthsShort:"Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек".split("_"),weekdays:"недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа".split("_"),weekdaysShort:"нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб".split("_"),weekdaysMin:"нe_пo_вÑ_ÑÑ_Ñе_пе_Ña".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT",nextDay:"[УÑÑе во] LT",nextWeek:"[Ðо] dddd [во] LT",lastDay:"[ÐÑеÑа во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[ÐзминаÑаÑа] dddd [во] LT";case 1:case 2:case 4:case 5:return"[ÐзминаÑиоÑ] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑед %s",s:"Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди",ss:"%d ÑекÑнди",m:"една минÑÑа",mm:"%d минÑÑи",h:"еден ÑаÑ",hh:"%d ÑаÑа",d:"еден ден",dd:"%d дена",M:"еден меÑеÑ",MM:"%d меÑеÑи",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-Ñи":1===t?e+"-ви":2===t?e+"-Ñи":7===t||8===t?e+"-ми":e+"-Ñи"},week:{dow:1,doy:7}})}(r(74043))},87921:function(e,t,r){!function(e){"use strict";e.defineLocale("ml",{months:"à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´à
153µ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼".split("_"),monthsShort:"à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.".split("_"),monthsParseExact:!0,weekdays:"à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´".split("_"),weekdaysShort:"à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി".split("_"),weekdaysMin:"à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶".split("_"),longDateFormat:{LT:"A h:mm -à´¨àµ",LTS:"A h:mm:ss -à´¨àµ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -à´¨àµ",LLLL:"dddd, D MMMM YYYY, A h:mm -à´¨àµ"},calendar:{sameDay:"[à´à´¨àµà´¨àµ] LT",nextDay:"[നാളàµ] LT",nextWeek:"dddd, LT",lastDay:"[à´à´¨àµà´¨à´²àµ] LT",lastWeek:"[à´à´´à´¿à´àµà´] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à´à´´à´¿à´àµà´àµ",past:"%s à´®àµàµ»à´ªàµ",s:"à´
ൽപ നിമിഷà´àµà´àµ¾",ss:"%d à´¸àµà´àµà´àµ»à´¡àµ",m:"à´à´°àµ മിനിറàµà´±àµ",mm:"%d മിനിറàµà´±àµ",h:"à´à´°àµ മണിà´àµà´àµàµ¼",hh:"%d മണിà´àµà´àµàµ¼",d:"à´à´°àµ ദിവസà´",dd:"%d ദിവസà´",M:"à´à´°àµ മാസà´",MM:"%d മാസà´",y:"à´à´°àµ വർഷà´",yy:"%d വർഷà´"},meridiemParse:/രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാതàµà´°à´¿"===t&&e>=4||"à´à´àµà´ à´à´´à´¿à´àµà´àµ"===t||"à´µàµà´àµà´¨àµà´¨àµà´°à´"===t?e+12:e},meridiem:function(e,t,r){return e<4?"രാതàµà´°à´¿":e<12?"രാവിലàµ":e<17?"à´à´àµà´ à´à´´à´¿à´àµà´àµ":e<20?"à´µàµà´àµà´¨àµà´¨àµà´°à´":"രാതàµà´°à´¿"}})}(r(74043))},58991:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){switch(r){case"s":return t?"Ñ
ÑдÑ
Ñн ÑекÑнд":"Ñ
ÑдÑ
Ñн ÑекÑндÑн";case"ss":return e+(t?" ÑекÑнд":" ÑекÑндÑн");case"m":case"mm":return e+(t?" минÑÑ":" минÑÑÑн");case"h":case"hh":return e+(t?" Ñаг":" Ñагийн");case"d":case"dd":return e+(t?" өдөÑ":" өдÑийн");case"M":case"MM":return e+(t?" ÑаÑ":" ÑаÑÑн");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"ÐÑгдүгÑÑÑ ÑаÑ_ХоÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÓ©ÑөвдүгÑÑÑ ÑаÑ_ТавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑÑгадÑÐ³Ð°Ð°Ñ ÑаÑ_ÐолдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐаймдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑдүгÑÑÑ ÑаÑ_ÐÑавдÑÐ³Ð°Ð°Ñ ÑаÑ_ÐÑван нÑгдүгÑÑÑ ÑаÑ_ÐÑван Ñ
оÑÑдÑÐ³Ð°Ð°Ñ ÑаÑ".split("_"),monthsShort:"1 ÑаÑ_2 ÑаÑ_3 ÑаÑ_4 ÑаÑ_5 ÑаÑ_6 ÑаÑ_7 ÑаÑ_8 ÑаÑ_9 ÑаÑ_10 ÑаÑ_11 ÑаÑ_12 ÑаÑ".split("_"),monthsParseExact:!0,weekdays:"ÐÑм_Ðаваа_ÐÑгмаÑ_ÐÑ
агва_ÐÒ¯ÑÑв_ÐааÑан_ÐÑмба".split("_"),weekdaysShort:"ÐÑм_Ðав_ÐÑг_ÐÑ
а_ÐÒ¯Ñ_Ðаа_ÐÑм".split("_"),weekdaysMin:"ÐÑ_Ðа_ÐÑ_ÐÑ
_ÐÒ¯_Ðа_ÐÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY Ð¾Ð½Ñ MMMMÑн D",LLL:"YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm",LLLL:"dddd, YYYY Ð¾Ð½Ñ MMMMÑн D HH:mm"},meridiemParse:/Ò®Ó¨|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,r){return e<12?"Ò®Ó¨":"ҮХ"},calendar:{sameDay:"[ӨнөөдөÑ] LT",nextDay:"[ÐаÑгааÑ] LT",nextWeek:"[ÐÑÑÑ
] dddd LT",lastDay:"[Ó¨ÑигдөÑ] LT",lastWeek:"[ӨнгөÑÑөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s даÑаа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөÑ/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөÑ";default:return e}}})}(r(74043))},59859:function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};function n(e,t,r,n){var i="";if(t)switch(r){case"s":i="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦";break;case"ss":i="%d सà¥à¤à¤à¤¦";break;case"m":i="à¤à¤ मिनिà¤";break;case"mm":i="%d मिनिà¤à¥";break;case"h":i="à¤à¤ तास";break;case"hh":i="%d तास";break;case"d":i="à¤à¤ दिवस";break;case"dd":i="%d दिवस";break;case"M":i="à¤à¤ महिना";break;case"MM":i="%d महिनà¥";break;case"y":i="à¤à¤ वरà¥à¤·";break;case"yy":i="%d वरà¥à¤·à¥"}
vendor: 7,601 bytes, line 153
153else switch(r){case"s":i="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à¤";break;case"ss":i="%d सà¥à¤à¤à¤¦à¤¾à¤";break;case"m":i="à¤à¤à¤¾ मिनिà¤à¤¾";break;case"mm":i="%d मिनिà¤à¤¾à¤";break;case"h":i="à¤à¤à¤¾ तासा";break;case"hh":i="%d तासाà¤";break;case"d":i="à¤à¤à¤¾ दिवसा";break;case"dd":i="%d दिवसाà¤";break;case"M":i="à¤à¤à¤¾ महिनà¥à¤¯à¤¾";break;case"MM":i="%d महिनà¥à¤¯à¤¾à¤";break;case"y":i="à¤à¤à¤¾ वरà¥à¤·à¤¾";break;case"yy":i="%d वरà¥à¤·à¤¾à¤"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm वाà¤à¤¤à¤¾",LTS:"A h:mm:ss वाà¤à¤¤à¤¾",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾",LLLL:"dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤¦à¥à¤¯à¤¾] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[माà¤à¥à¤²] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमधà¥à¤¯à¥",past:"%sपà¥à¤°à¥à¤µà¥",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाà¤à¥"===t||"सà¤à¤¾à¤³à¥"===t?e:"दà¥à¤ªà¤¾à¤°à¥"===t||"सायà¤à¤à¤¾à¤³à¥"===t||"रातà¥à¤°à¥"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,r){return e>=0&&e<6?"पहाà¤à¥":e<12?"सà¤à¤¾à¤³à¥":e<17?"दà¥à¤ªà¤¾à¤°à¥":e<20?"सायà¤à¤à¤¾à¤³à¥":"रातà¥à¤°à¥"},week:{dow:0,doy:6}})}(r(74043))},98191:function(e,t,r){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(74043))},59596:function(e,t,r){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(74043))},95129:function(e,t,r){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"fâ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},74302:function(e,t,r){!function(e){"use strict";var t={1:"á",2:"á",3:"á",4:"á",5:"á
",6:"á",7:"á",8:"á",9:"á",0:"á"},r={"á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á":"0"};e.defineLocale("my",{months:"áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á
ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬".split("_"),monthsShort:"áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á
ááº_á¡á±á¬ááº_ááá¯_áá®".split("_"),weekdays:"ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á
áá±".split("_"),weekdaysShort:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),weekdaysMin:"áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ááá±.] LT [áá¾á¬]",nextDay:"[ááááºáá¼ááº] LT [áá¾á¬]",nextWeek:"dddd LT [áá¾á¬]",lastDay:"[ááá±.á] LT [áá¾á¬]",lastWeek:"[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]",sameElse:"L"},relativeTime:{future:"áá¬áááºá· %s áá¾á¬",past:"áá½ááºáá²á·áá±á¬ %s á",s:"á
áá¹áááº.á¡ááá
153ºá¸áááº",ss:"%d á
áá¹ááá·áº",m:"áá
áºáááá
áº",mm:"%d áááá
áº",h:"áá
áºáá¬áá®",hh:"%d áá¬áá®",d:"áá
áºáááº",dd:"%d áááº",M:"áá
áºá",MM:"%d á",y:"áá
áºáá¾á
áº",yy:"%d áá¾á
áº"},preparse:function(e){return e.replace(/[ááááá
ááááá]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(r(74043))},85448:function(e,t,r){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},4797:function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_à¤
पà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°".split("_"),monthsShort:"à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤
पà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._à¤
à¤._सà¥à¤ªà¥à¤._à¤
à¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार".split("_"),weekdaysShort:"à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.".split("_"),weekdaysMin:"à¤._सà¥._मà¤._बà¥._बि._शà¥._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aà¤à¥ h:mm बà¤à¥",LTS:"Aà¤à¥ h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥"},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिà¤à¤à¤¸à¥"===t?e>=10?e:e+12:"साà¤à¤"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"राति":e<12?"बिहान":e<16?"दिà¤à¤à¤¸à¥":e<20?"साà¤à¤":"राति"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¥à¤²à¤¿] LT",nextWeek:"[à¤à¤à¤à¤¦à¥] dddd[,] LT",lastDay:"[हिà¤à¥] LT",lastWeek:"[à¤à¤à¤à¥] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s à¤
à¤à¤¾à¤¡à¤¿",s:"à¤à¥à¤¹à¥ à¤à¥à¤·à¤£",ss:"%d सà¥à¤à¥à¤£à¥à¤¡",m:"à¤à¤ मिनà¥à¤",mm:"%d मिनà¥à¤",h:"à¤à¤ à¤à¤£à¥à¤à¤¾",hh:"%d à¤à¤£à¥à¤à¤¾",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महिना",MM:"%d महिना",y:"à¤à¤ बरà¥à¤·",yy:"%d बरà¥à¤·"},week:{dow:0,doy:6}})}(r(74043))},30418:function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(74043))},36438:function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(74043))},89996:function(e,t,r){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._mÃ¥._t
153y._on._to._fr._lau.".split("_"),weekdaysMin:"su_mÃ¥_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I gÃ¥r klokka] LT",lastWeek:"[FøregÃ¥ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein mÃ¥nad",MM:"%d mÃ¥nader",y:"eit Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},13768:function(e,t,r){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquà %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}})}(r(74043))},92151:function(e,t,r){!function(e){"use strict";var t={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©",8:"à©®",9:"੯",0:"੦"},r={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©":"7","à©®":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_à¨
ਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_à¨
à¨à¨¸à¨¤_ਸਤੰਬਰ_à¨
à¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_à¨
ਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_à¨
à¨à¨¸à¨¤_ਸਤੰਬਰ_à¨
à¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°".split("_"),weekdaysShort:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),weekdaysMin:"à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©".split("_"),longDateFormat:{LT:"A h:mm ਵà¨à©",LTS:"A h:mm:ss ਵà¨à©",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵà¨à©",LLLL:"dddd, D MMMM YYYY, A h:mm ਵà¨à©"},calendar:{sameDay:"[à¨
à¨] LT",nextDay:"[à¨à¨²] LT",nextWeek:"[à¨
à¨à¨²à¨¾] dddd, LT",lastDay:"[à¨à¨²] LT",lastWeek:"[ਪਿà¨à¨²à©] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱà¨",past:"%s ਪਿà¨à¨²à©",s:"à¨à©à¨ ਸà¨à¨¿à©°à¨",ss:"%d ਸà¨à¨¿à©°à¨",m:"à¨à¨ ਮਿੰà¨",mm:"%d ਮਿੰà¨",h:"à¨à©±à¨ à¨à©°à¨à¨¾",hh:"%d à¨à©°à¨à©",d:"à¨à©±à¨ ਦਿਨ",dd:"%d ਦਿਨ",M:"à¨à©±à¨ ਮਹà©à¨¨à¨¾",MM:"%d ਮਹà©à¨¨à©",y:"à¨à©±à¨ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵà©à¨°"===t?e:"ਦà©à¨ªà¨¹à¨¿à¨°"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ਰਾਤ":e<10?"ਸਵà©à¨°":e<17?"ਦà©à¨ªà¨¹à¨¿à¨°":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(r(74043))},29208:function(e,t,r){!function(e){"use strict";
vendor: 4,255 bytes, line 153
153var t="styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,r){var n=e+" ";switch(r){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutÄ";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinÄ";case"hh":return n+(i(e)?"godziny":"godzin");case"ww":return n+(i(e)?"tygodnie":"tygodni");case"MM":return n+(i(e)?"miesiÄ
ce":"miesiÄcy");case"yy":return n+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ
tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_År_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_År_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DziÅ o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielÄ o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W ÅrodÄ o] LT";case 6:return"[W sobotÄ o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszÅÄ
niedzielÄ o] LT";case 3:return"[W zeszÅÄ
ÅrodÄ o] LT";case 6:return"[W zeszÅÄ
sobotÄ o] LT";default:return"[W zeszÅy] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzieÅ",dd:"%d dni",w:"tydzieÅ",ww:o,M:"miesiÄ
c",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},24913:function(e,t,r){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [à s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [à s] HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(r(74043))},79424:function(e,t,r){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje à s] LT",nextDay:"[Amanhã à s] LT",nextWeek:"dddd [à s] LT",lastDay:"[Ontem à s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Ãltimo] dddd [à s] LT":"[Ãltima] dddd [à s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
153d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(74043))},35719:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"sÄptÄmâni",MM:"luni",yy:"ani"}[r]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmÄ",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o orÄ",hh:t,d:"o zi",dd:t,w:"o sÄptÄmânÄ",ww:t,M:"o lunÄ",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(r(74043))},32545:function(e,t,r){!function(e){"use strict";function t(e,t){var r=e.split("_");return t%10==1&&t%100!=11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){return"m"===n?r?"минÑÑа":"минÑÑÑ":e+" "+t({ss:r?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:r?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",ww:"неделÑ_недели_неделÑ",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"}[n],+e)}var n=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i];e.defineLocale("ru",{months:{format:"ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),standalone:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_")},monthsShort:{format:"Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),standalone:"Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_")},weekdays:{standalone:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),format:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/},weekdaysShort:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|ок
vendor: 12,405 bytes, line 153
153Ñ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[СегоднÑ, в] LT",nextDay:"[ÐавÑÑа, в] LT",lastDay:"[ÐÑеÑа, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[Ð ÑледÑÑÑее] dddd, [в] LT";case 1:case 2:case 4:return"[Ð ÑледÑÑÑий] dddd, [в] LT";case 3:case 5:case 6:return"[Ð ÑледÑÑÑÑÑ] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[РпÑоÑлое] dddd, [в] LT";case 1:case 2:case 4:return"[РпÑоÑлÑй] dddd, [в] LT";case 3:case 5:case 6:return"[РпÑоÑлÑÑ] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",ss:r,m:r,mm:r,h:"ÑаÑ",hh:r,d:"денÑ",dd:r,w:"неделÑ",ww:r,M:"меÑÑÑ",MM:r,y:"год",yy:r},meridiemParse:/ноÑи|ÑÑÑа|днÑ|веÑеÑа/i,isPM:function(e){return/^(днÑ|веÑеÑа)$/.test(e)},meridiem:function(e,t,r){return e<4?"ноÑи":e<12?"ÑÑÑа":e<17?"днÑ":"веÑеÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|Ñ)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-Ñ";default:return e}},week:{dow:1,doy:4}})}(r(74043))},60479:function(e,t,r){!function(e){"use strict";var t=["جÙÙØ±Ù","ÙÙØ¨Ø±ÙرÙ","Ù
ارÚ","اپرÙÙ","Ù
ئÙ","جÙÙ","جÙÙØ§Ø¡Ù","آگسٽ","سÙپٽÙ
بر","Ø¢ÚªÙ½ÙØ¨Ø±","ÙÙÙ
بر","ÚØ³Ù
بر"],r=["Ø¢ÚØ±","سÙÙ
ر","اڱارÙ","اربع","Ø®Ù
ÙØ³","جÙ
ع","ÚÙÚØ±"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شاÙ
/,isPM:function(e){return"شاÙ
"===e},meridiem:function(e,t,r){return e<12?"صبØ":"شاÙ
"},calendar:{sameDay:"[اÚ] LT",nextDay:"[Ø³ÚØ§Ú»Ù] LT",nextWeek:"dddd [اڳÙÙ ÙÙØªÙ تÙ] LT",lastDay:"[ڪاÙÙÙ] LT",lastWeek:"[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT",sameElse:"L"},relativeTime:{future:"%s Ù¾ÙØ¡",past:"%s اڳ",s:"ÚÙØ¯ سÙÚªÙÚ",ss:"%d سÙÚªÙÚ",m:"ÙÚª Ù
ÙÙ½",mm:"%d Ù
ÙÙ½",h:"ÙÚª ÚªÙØ§Úª",hh:"%d ÚªÙØ§Úª",d:"ÙÚª ÚÙÙÙÙ",dd:"%d ÚÙÙÙÙ",M:"ÙÚª Ù
ÙÙÙÙ",MM:"%d Ù
ÙÙÙØ§",y:"ÙÚª ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(r(74043))},49160:function(e,t,r){!function(e){"use strict";e.defineLocale("se",{months:"oÄÄajagemánnu_guovvamánnu_njukÄamánnu_cuoÅománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maÅ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maÅit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},65100:function(e,t,r){!function(e){"use strict";e.defineLocale("si",{months:"ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶
à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶
à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·".split("_"),monthsShort:"ජන_à¶´à·à¶¶_මà·à¶»à·_à¶
à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶
à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·".split("_"),weekdays:"à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶
à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·".split("_"),weekdaysShort:"à¶à¶»à·_à·à¶³à·_à¶
à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±".split("_"),weekdaysMin:"à¶_à·_à¶
_à¶¶_à¶¶à·âà¶»_à·à·_à·à·".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss"},calendar:{sameDay:"[à¶
ද] LT[à¶§]",nextDay:"[à·à·à¶§] LT[à¶§]",nextWeek:"dddd LT[à¶§]",lastDay:"[à¶à¶ºà·] LT[à¶§]",lastWeek:"[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]",sameElse:"L"},relativeTime:{future:"%sà¶à·à¶±à·",past:"%sà¶à¶§ à¶´à·à¶»",s:"à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º",ss:"à¶à¶à·à¶´à¶» %d",m:"මà·à¶±à·à¶à·à¶à·à·",mm:"මà·à¶±à·à¶à·à¶à· %d",h:"à¶´à·à¶º",hh:"à¶´à·à¶º %d",d:"දà·à¶±à¶º",dd:"දà·à¶± %d",M:"මà·à·à¶º",MM:"මà·à· %d",y:"à·à·à¶»",yy:"à·à·à¶» %d"},dayOfMonthOrdinalParse:/\d{1,2} à·à·à¶±à·/,ordinal:function(e){return e+" à·à·à¶±à·"},meridiemParse:/à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./,isPM:function(e){return"à¶´.à·."===e||"à¶´à·à· à·à¶»à·"===e},meridiem:function(e,t,r){return e>11?r?"à¶´.à·.":"à¶´à·à· à·à¶»à·":r?"à¶´à·.à·.":"à¶´à·à¶» à·à¶»à·"}})}(r(74043))},76854:function(e,t,r){!function(e){"use strict";var t="január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function i(e,t,r,i){var o=e+" ";switch(r){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(n(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(n(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(n(e)?"hodiny":"hodÃn"):o+"hodinami";case"d":return t||i?"deÅ":"dÅom";case"dd":return t||i?o+(n(e)?"dni":"dnÃ"):o+"dÅami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(n(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(n(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_Å¡t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_Å¡t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo Å¡tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[vÄera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},70071:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami";case"d":return t||n?"en dan":"enim dnem";case"dd":return i+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi";case"M":return t||n?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci";case"y":return t||n?"eno leto":"enim letom";case"yy":return i+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._Äet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_Äe_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[vÄeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejÅ¡njo] [nedeljo] [ob] LT";case 3:return"[prejÅ¡njo] [sredo] [ob] LT";case 6:return"[prejÅ¡njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejÅ¡nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"Äez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},28068:function(e,t,r){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,r){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},76084:function(e,t,r){!function(e){"use strict";var t={words:{ss:["ÑекÑнда","ÑекÑнде","ÑекÑнди"],m:["Ñедан минÑÑ","Ñедног минÑÑа"],mm:["минÑÑ","минÑÑа","минÑÑа"],h:["Ñедан ÑаÑ","Ñедног ÑаÑа"],hh:["ÑаÑ","ÑаÑа","ÑаÑи"],d:["Ñедан дан","Ñедног дана"],dd:["дан","дана","дана"],M:["Ñедан меÑеÑ","Ñедног меÑеÑа"],MM:["меÑеÑ","меÑеÑа","меÑеÑи"],y:["ÑÐµÐ´Ð½Ñ Ð³Ð¾Ð´Ð¸Ð½Ñ","Ñедне године"],yy:["годинÑ","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var o,a=t.words[n];return 1===n.length?"y"===n&&r?"Ñедна година":i||r?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===n&&r&&"годинÑ"===o?e+" година":e+" "+o)}};e.defineLocale("sr-cyrl",{months:"ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_ок
153ÑобаÑ_новембаÑ_деÑембаÑ".split("_"),monthsShort:"Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.".split("_"),monthsParseExact:!0,weekdays:"недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа".split("_"),weekdaysShort:"нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.".split("_"),weekdaysMin:"не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[Ð´Ð°Ð½Ð°Ñ Ñ] LT",nextDay:"[ÑÑÑÑа Ñ] LT",nextWeek:function(){switch(this.day()){case 0:return"[Ñ] [недеÑÑ] [Ñ] LT";case 3:return"[Ñ] [ÑÑедÑ] [Ñ] LT";case 6:return"[Ñ] [ÑÑбоÑÑ] [Ñ] LT";case 1:case 2:case 4:case 5:return"[Ñ] dddd [Ñ] LT"}},lastDay:"[ÑÑÑе Ñ] LT",lastWeek:function(){return["[пÑоÑле] [недеÑе] [Ñ] LT","[пÑоÑлог] [понедеÑка] [Ñ] LT","[пÑоÑлог] [ÑÑоÑка] [Ñ] LT","[пÑоÑле] [ÑÑеде] [Ñ] LT","[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT","[пÑоÑлог] [пеÑка] [Ñ] LT","[пÑоÑле] [ÑÑбоÑе] [Ñ] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пÑе %s",s:"неколико ÑекÑнди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},75949:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var o,a=t.words[n];return 1===n.length?"y"===n&&r?"jedna godina":i||r?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===n&&r&&"godinu"===o?e+" godina":e+" "+o)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄe u] LT",lastWeek:function(){return["[proÅ¡le] [nedelje] [u] LT","[proÅ¡log] [ponedeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srede] [u] LT","[proÅ¡log] [Äetvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(74043))},26638:function(e,t,r){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 9,957 bytes, line 153
153S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(r(74043))},58193:function(e,t,r){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mÃ¥n_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_mÃ¥_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[IgÃ¥r] LT",nextWeek:"[PÃ¥] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"nÃ¥gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en mÃ¥nad",MM:"%d mÃ¥nader",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(r(74043))},90306:function(e,t,r){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(r(74043))},47647:function(e,t,r){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"à¯",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","à¯":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à®
à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),monthsShort:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à®
à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".split("_"),weekdays:"à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯".split("_"),weekdaysShort:"à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿".split("_"),weekdaysMin:"à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[à®à®©à¯à®±à¯] LT",nextDay:"[நாளà¯] LT",nextWeek:"dddd, LT",lastDay:"[நà¯à®±à¯à®±à¯] LT",lastWeek:"[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à®à®²à¯",past:"%s à®®à¯à®©à¯",s:"à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯",ss:"%d விநாà®à®¿à®à®³à¯",m:"à®à®°à¯ நிமிà®à®®à¯",mm:"%d நிமிà®à®à¯à®à®³à¯",h:"à®à®°à¯ மணி நà¯à®°à®®à¯",hh:"%d மணி நà¯à®°à®®à¯",d:"à®à®°à¯ நாளà¯",dd:"%d நாà®à¯à®à®³à¯",M:"à®à®°à¯ மாதமà¯",MM:"%d மாதà®à¯à®à®³à¯",y:"à®à®°à¯ வரà¯à®à®®à¯",yy:"%d à®à®£à¯à®à¯à®à®³à¯"},dayOfMonthOrdinalParse:/\d{1,2}வதà¯/,ordinal:function(e){return e+"வதà¯"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/,meridiem:function(e,t,r){return e<2?" யாமமà¯":e<6?" வà¯à®à®±à¯":e<10?" à®à®¾à®²à¯":e<14?" நணà¯à®ªà®à®²à¯":e<18?" à®à®±à¯à®ªà®¾à®à¯":e<22?" மாலà¯":" யாமமà¯"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமமà¯"===t?e<2?e:e+12:"வà¯à®à®±à¯"===t||"à®à®¾à®²à¯"===t||"நணà¯à®ªà®à®²à¯"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(r(74043))},52123:function(e,t,r){!function(e){"use strict";e.defineLocale("te",{months:"à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à°
à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±".split("_"),monthsShort:"à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±_à°à°._à°¸à±à°ªà±._à°
à°à±à°à±._నవ._à°¡à°¿à°¸à±.".split("_"),monthsParseExact:!0,weekdays:"à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°".split("_"),weekdaysShort:"à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని".split("_"),weekdaysMin:"à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[à°¨à±à°¡à±] LT",nextDay:"[à°°à±à°ªà±] LT",nextWeek:"dddd, LT",lastDay:"[నినà±à°¨] LT",lastWeek:"[à°à°¤] dddd, LT",sameElse:"L"},relativeTime:{future:"%s à°²à±",past:"%s à°à±à°°à°¿à°¤à°",s:"à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±",ss:"%d à°¸à±à°à°¨à±à°²à±",m:"à°à° నిమిషà°",mm:"%d నిమిషాలà±",h:"à°à° à°à°à°",hh:"%d à°à°à°à°²à±",d:"à°à° à°°à±à°à±",dd:"%d à°°à±à°à±à°²à±",M:"à°à° à°¨à±à°²",MM:"%d à°¨à±à°²à°²à±",y:"à°à° à°¸à°à°µà°¤à±à°¸à°°à°",yy:"%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాతà±à°°à°¿"===t?e<4?e:e+12:"à°à°¦à°¯à°"===t?e:"మధà±à°¯à°¾à°¹à±à°¨à°"===t?e>=10?e:e+12:"సాయà°à°¤à±à°°à°"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"రాతà±à°°à°¿":e<10?"à°à°¦à°¯à°":e<17?"మధà±à°¯à°¾à°¹à±à°¨à°":e<20?"సాయà°à°¤à±à°°à°":"రాతà±à°°à°¿"},week:{dow:0,doy:6}})}(r(74043))},2063:function(e,t,r){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},50717:function(e,t,r){!function(e){"use strict";var t={0:"-Ñм",1:"-Ñм",2:"-Ñм",3:"-Ñм",4:"-Ñм",5:"-Ñм",6:"-Ñм",7:"-Ñм",8:"-Ñм",9:"-Ñм",10:"-Ñм",12:"-Ñм",13:"-Ñм",20:"-Ñм",30:"-Ñм",40:"-Ñм",50:"-Ñм",60:"-Ñм",70:"-Ñм",80:"-Ñм",90:"-Ñм",100:"-Ñм"};e.defineLocale("tg",{months:{format:"ÑнваÑи_ÑевÑали_маÑÑи_апÑели_майи_иÑни_иÑли_авгÑÑÑи_ÑенÑÑбÑи_окÑÑбÑи_ноÑбÑи_декабÑи".split("_"),standalone:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_")},monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"Ñ
153кÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе".split("_"),weekdaysShort:"ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб".split("_"),weekdaysMin:"ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐмÑӯз ÑоаÑи] LT",nextDay:"[ФаÑдо ÑоаÑи] LT",lastDay:"[ÐиÑӯз ÑоаÑи] LT",nextWeek:"dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT",lastWeek:"dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT",sameElse:"L"},relativeTime:{future:"баÑди %s",past:"%s пеÑ",s:"ÑкÑанд ÑониÑ",m:"Ñк даÒиÒа",mm:"%d даÒиÒа",h:"Ñк ÑоаÑ",hh:"%d ÑоаÑ",d:"Ñк Ñӯз",dd:"%d Ñӯз",M:"Ñк моҳ",MM:"%d моҳ",y:"Ñк Ñол",yy:"%d Ñол"},meridiemParse:/Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"Ñаб"===t?e<4?e:e+12:"ÑÑбҳ"===t?e:"Ñӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"Ñаб":e<11?"ÑÑбҳ":e<16?"Ñӯз":e<19?"бегоҳ":"Ñаб"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñм|Ñм)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}})}(r(74043))},15936:function(e,t,r){!function(e){"use strict";e.defineLocale("th",{months:"มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡".split("_"),monthsShort:"ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.".split("_"),monthsParseExact:!0,weekdays:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysShort:"à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹".split("_"),weekdaysMin:"à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY à¹à¸§à¸¥à¸² H:mm",LLLL:"วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM:function(e){return"หลัà¸à¹à¸à¸µà¹à¸¢à¸"===e},meridiem:function(e,t,r){return e<12?"à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸":"หลัà¸à¹à¸à¸µà¹à¸¢à¸"},calendar:{sameDay:"[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextDay:"[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",nextWeek:"dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT",lastDay:"[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT",lastWeek:"[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT",sameElse:"L"},relativeTime:{future:"à¸à¸µà¸ %s",past:"%sà¸à¸µà¹à¹à¸¥à¹à¸§",s:"à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ",ss:"%d วิà¸à¸²à¸à¸µ",m:"1 à¸à¸²à¸à¸µ",mm:"%d à¸à¸²à¸à¸µ",h:"1 à¸à¸±à¹à¸§à¹à¸¡à¸",hh:"%d à¸à¸±à¹à¸§à¹à¸¡à¸",d:"1 วัà¸",dd:"%d วัà¸",w:"1 สัà¸à¸à¸²à¸«à¹",ww:"%d สัà¸à¸à¸²à¸«à¹",M:"1 à¹à¸à¸·à¸à¸",MM:"%d à¹à¸à¸·à¸à¸",y:"1 à¸à¸µ",yy:"%d à¸à¸µ"}})}(r(74043))},50233:function(e,t,r){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ãanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ãan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"ÃekÅenbe_DuÅenbe_SiÅenbe_ÃarÅenbe_PenÅenbe_Anna_Åenbe".split("_"),weekdaysShort:"Ãek_DuÅ_SiÅ_Ãar_Pen_Ann_Åen".split("_"),weekdaysMin:"Ãk_DÅ_SÅ_Ãr_Pn_An_Ån".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
vendor: 10,516 bytes, line 153
153,calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soÅ",past:"%s öÅ",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10,i=e%100-n,o=e>=100?100:null;return e+(t[n]||t[i]||t[o])}},week:{dow:1,doy:7}})}(r(74043))},86617:function(e,t,r){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r(74043))},13342:function(e,t,r){!function(e){"use strict";var t="pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Huâ":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function i(e,t,r,n){var i=o(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function o(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,o="";return r>0&&(o+=t[r]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+t[n]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}e.defineLocale("tlh",{months:"teraâ jar waâ_teraâ jar chaâ_teraâ jar wej_teraâ jar loS_teraâ jar vagh_teraâ jar jav_teraâ jar Soch_teraâ jar chorgh_teraâ jar Hut_teraâ jar waâmaH_teraâ jar waâmaH waâ_teraâ jar waâmaH chaâ".split("_"),monthsShort:"jar waâ_jar chaâ_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar waâmaH_jar waâmaH waâ_jar waâmaH chaâ".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waâleS] LT",nextWeek:"LLL",lastDay:"[waâHuâ] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:r,past:n,s:"puS lup",ss:i,m:"waâ tup",mm:i,h:"waâ rep",hh:i,d:"waâ jaj",dd:i,M:"waâ jar",MM:i,y:"waâ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},77474:function(e,t,r){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Ãar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ãa_Pe_Cu_Ct".split("_"),meridiem:function(e,t,r){return e<12?r?"öö":"ÃÃ":r?"ös":"ÃS"},meridiemParse:/öö|ÃÃ|ös|ÃS/,isPM:function(e){return"ös"===e||"ÃS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10,i=e%100-n,o=e>=100?100:null;return e+(t[n]||t[i]||t[o])}},week:{dow:1,doy:7}})}(r(74043))},63540:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n mÃut","'iens mÃut"],mm:[e+" mÃuts",e+" mÃuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?i[r][0]:i[r][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,r){return e>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à ] LT",nextDay:"[demà à ] LT",nextWeek:"dddd [à ] LT",lastDay:"[ieiri à ] LT",lastWeek:"[sür el] dddd [lasteu à ] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(74043))},93805:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuá¸",mm:"%d minuá¸",h:"saÉa",hh:"%d tassaÉin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(r(74043))},27835:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm",{months:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),monthsShort:"âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ".split("_"),weekdays:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysShort:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),weekdaysMin:"â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[â´°âµâ´·âµ
â´´] LT",nextDay:"[â´°âµâ´½â´° â´´] LT",nextWeek:"dddd [â´´] LT",lastDay:"[â´°âµâ´°âµâµ â´´] LT",lastWeek:"dddd [â´´] LT",sameElse:"L"},relativeTime:{future:"â´·â´°â´·âµ
ⵠⵢⴰⵠ%s",past:"ⵢⴰⵠ%s",s:"âµâµâµâ´½",ss:"%d âµâµâµâ´½",m:"âµâµâµâµâ´º",mm:"%d âµâµâµâµâ´º",h:"âµâ´°âµâ´°",hh:"%d âµâ´°âµâµâ´°âµâµâµ",d:"â´°âµâµ",dd:"%d oâµâµâ´°âµ",M:"â´°âµ¢oâµâµ",MM:"%d âµâµ¢âµ¢âµâµâµ",y:"â´°âµâ´³â´°âµ",yy:"%d âµâµâ´³â´°âµâµ"},week:{dow:6,doy:12}})}(r(74043))},52388:function(e,t,r){!function(e){"use strict";e.defineLocale("ug-cn",{months:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),monthsShort:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),weekdays:"ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ
Û_Ø´ÛÙØ¨Û".split("_"),weekdaysShort:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),weekdaysMin:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ",LLL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm",LLLL:"ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm"},meridiemParse:/ÙÛØ±ÙÙ
ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ÙÛØ±ÙÙ
ÙÛÚÛ"===t||"سÛÚ¾ÛØ±"===t||"ÚÛØ´ØªÙÙ
153 Ø¨ÛØ±ÛÙ"===t?e:"ÚÛØ´ØªÙÙ ÙÛÙÙÙ"===t||"ÙÛÚ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"ÙÛØ±ÙÙ
ÙÛÚÛ":n<900?"سÛÚ¾ÛØ±":n<1130?"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ":n<1230?"ÚÛØ´":n<1800?"ÚÛØ´ØªÙÙ ÙÛÙÙÙ":"ÙÛÚ"},calendar:{sameDay:"[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT",nextDay:"[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT",nextWeek:"[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",lastDay:"[تÛÙÛÚ¯ÛÙ] LT",lastWeek:"[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",sameElse:"L"},relativeTime:{future:"%s ÙÛÙÙÙ",past:"%s Ø¨ÛØ±ÛÙ",s:"ÙÛÚÚÛ Ø³ÛÙÙÙØª",ss:"%d سÛÙÙÙØª",m:"Ø¨ÙØ± Ù
ÙÙÛØª",mm:"%d Ù
ÙÙÛØª",h:"Ø¨ÙØ± Ø³Ø§Ø¦ÛØª",hh:"%d Ø³Ø§Ø¦ÛØª",d:"Ø¨ÙØ± ÙÛÙ",dd:"%d ÙÛÙ",M:"Ø¨ÙØ± ئاÙ",MM:"%d ئاÙ",y:"Ø¨ÙØ± ÙÙÙ",yy:"%d ÙÙÙ"},dayOfMonthOrdinalParse:/\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-ÙÛÙÙ";case"w":case"W":return e+"-Ú¾ÛپتÛ";default:return e}},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:7}})}(r(74043))},77980:function(e,t,r){!function(e){"use strict";function t(e,t){var r=e.split("_");return t%10==1&&t%100!=11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){return"m"===n?r?"Ñ
вилина":"Ñ
вилинÑ":"h"===n?r?"година":"годинÑ":e+" "+t({ss:r?"ÑекÑнда_ÑекÑнди_ÑекÑнд":"ÑекÑндÑ_ÑекÑнди_ÑекÑнд",mm:r?"Ñ
вилина_Ñ
вилини_Ñ
вилин":"Ñ
вилинÑ_Ñ
вилини_Ñ
вилин",hh:r?"година_години_годин":"годинÑ_години_годин",dd:"денÑ_днÑ_днÑв",MM:"мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв",yy:"ÑÑк_Ñоки_ÑокÑв"}[n],+e)}function n(e,t){var r={nominative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа".split("_"),accusative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ".split("_"),genitive:"недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи".split("_")};return!0===e?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):e?r[/(\[[ÐвУÑ]\]) ?dddd/.test(t)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:r.nominative}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ".split("_"),standalone:"ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ".split("_")},monthsShort:"ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Ñ.",LLL:"D MMMM YYYY Ñ., HH:mm",LLLL:"dddd, D MMMM YYYY Ñ., HH:mm"},calendar:{sameDay:i("[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ "),nextDay:i("[ÐавÑÑа "),lastDay:i("[ÐÑоÑа "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[ÐинÑлоÑ] dddd [").call(this);case 1:case 2:case 4:return i("[ÐинÑлого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s ÑомÑ",s:"декÑлÑка ÑекÑнд",ss:r,m:r,mm:r,h:"годинÑ",hh:r,d:"денÑ",dd:r,M:"мÑÑÑÑÑ",MM:r,y:"ÑÑк",yy:r},meridiemParse:/ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/,isPM:function(e){return/^(днÑ|веÑоÑа)$/.test(e)},meridiem:function(e,t,r){return e<4?"ноÑÑ":e<12?"ÑанкÑ":e<17?"днÑ":"веÑоÑа"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(r(74043))},24315:function(e,t,r){!function(e){"use strict";var t=["جÙÙØ±Û","ÙØ±ÙرÛ","Ù
ارÚ","اپرÛÙ","Ù
ئÛ","جÙÙ","جÙÙØ§Ø¦Û","اگست","ستÙ
بر","Ø§Ú©ØªÙØ¨Ø±","ÙÙÙ
بر","دسÙ
بر"],r=["Ø§ØªÙØ§Ø±","Ù¾ÛØ±","Ù
ÙÚ¯Ù","بدھ","جÙ
عرات","جÙ
عÛ","ÛÙØªÛ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ddddØ D MMMM YYYY HH:mm"},meridiemParse:/صبØ|شاÙ
/,isPM:function(e){return"شاÙ
"===e},meridiem:function(e,t,r){return e<12?"صبØ":"شاÙ
"},calendar:{sameDay:"[آج بÙÙØª] LT",nextDay:"[ک٠بÙÙØª] LT",nextWeek:"dddd [بÙÙØª] LT",lastDay:"[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT",lastWeek:"[گذشتÛ] dddd [بÙÙØª] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s ÙØ¨Ù",s:"ÚÙØ¯ سÛÚ©ÙÚ",ss:"%d سÛÚ©ÙÚ",m:"اÛÚ© Ù
ÙÙ¹",mm:"%d Ù
ÙÙ¹",h:"اÛÚ© Ú¯Ú¾ÙÙ¹Û",hh:"%d Ú¯Ú¾ÙÙ¹Û",d:"اÛÚ© دÙ",dd:"%d دÙ",M:"اÛÚ© Ù
اÛ",MM:"%d Ù
اÛ",y:"اÛÚ© ساÙ",yy:"%d ساÙ"},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:4}})}(r(74043))},8101:function(e,t,r){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(r(74043))},13331:function(e,t,r){!function(e){"use strict";e.defineLocale("uz",{months:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_"),monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба".split("_"),weekdaysShort:"ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан".split("_"),weekdaysMin:"Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[ÐÑгÑн ÑоаÑ] LT [да]",nextDay:"[ÐÑÑага] LT [да]",nextWeek:"dddd [кÑни ÑоаÑ] LT [да]",lastDay:"[ÐеÑа ÑоаÑ] LT [да]",lastWeek:"[УÑган] dddd [кÑни ÑоаÑ] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s иÑида",past:"ÐÐ¸Ñ Ð½ÐµÑа %s олдин",s:"ÑÑÑÑаÑ",ss:"%d ÑÑÑÑаÑ",m:"Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°",mm:"%d дакика",h:"Ð±Ð¸Ñ ÑоаÑ",hh:"%
153d ÑоаÑ",d:"Ð±Ð¸Ñ ÐºÑн",dd:"%d кÑн",M:"Ð±Ð¸Ñ Ð¾Ð¹",MM:"%d ой",y:"Ð±Ð¸Ñ Ð¹Ð¸Ð»",yy:"%d йил"},week:{dow:1,doy:7}})}(r(74043))},49713:function(e,t,r){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [nÄm] YYYY",LLL:"D MMMM [nÄm] YYYY HH:mm",LLLL:"dddd, D MMMM [nÄm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngà y mai lúc] LT",nextWeek:"dddd [tuần tá»i lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trưá»c lúc] LT",sameElse:"L"},relativeTime:{future:"%s tá»i",past:"%s trưá»c",s:"và i giây",ss:"%d giây",m:"má»t phút",mm:"%d phút",h:"má»t giá»",hh:"%d giá»",d:"má»t ngà y",dd:"%d ngà y",w:"má»t tuần",ww:"%d tuần",M:"má»t tháng",MM:"%d tháng",y:"má»t nÄm",yy:"%d nÄm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r(74043))},21729:function(e,t,r){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Ãp~rÃl_~Máý_~Júñé~_Júl~ý_Ãú~gúst~_Sép~témb~ér_Ã~ctób~ér_Ã~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ã~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"Ã~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~mÃñ~út
153é",mm:"%d m~Ãñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(74043))},32644:function(e,t,r){!function(e){"use strict";e.defineLocale("yo",{months:"SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ".split("_"),monthsShort:"SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ".split("_"),weekdays:"AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta".split("_"),weekdaysShort:"AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ".split("_"),weekdaysMin:"AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[OÌniÌ ni] LT",nextDay:"[á»Ìla ni] LT",nextWeek:"dddd [á»sáº¹Ì toÌn'bá»] [ni] LT",lastDay:"[AÌna ni] LT",lastWeek:"dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT",sameElse:"L"},relativeTime:{future:"niÌ %s",past:"%s ká»jaÌ",s:"iÌsẹjuÌ aayaÌ die",ss:"aayaÌ %d",m:"iÌsẹjuÌ kan",mm:"iÌsẹjuÌ %d",h:"waÌkati kan",hh:"waÌkati %d",d:"á»já»Ì kan",dd:"á»já»Ì %d",M:"osuÌ kan",MM:"osuÌ %d",y:"á»duÌn kan",yy:"á»duÌn %d"},dayOfMonthOrdinalParse:/á»já»Ì\s\d{1,2}/,ordinal:"á»já»Ì %d",week:{dow:1,doy:4}})}(r(74043))},52094:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-cn",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t||"æä¸"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"忍":n<900?"æ©ä¸":n<1130?"ä¸å":n<1230?"ä¸å":n<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:function(e){return e.week()!==this.week()?"[ä¸]dddLT":"[æ¬]dddLT"},lastDay:"[æ¨å¤©]LT",lastWeek:function(e){return this.week()!==e.week()?"[ä¸]dddLT":"[æ¬]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"å¨";default:return e}},relativeTime:{future:"%så",past:"%så",s:"å ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",w:"1 å¨",ww:"%d å¨",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},week:{dow:1,doy:4}})}(r(74043))},65090:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-hk",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;
vendor: 4,982 bytes, line 153
153return n<600?"忍":n<900?"æ©ä¸":n<1200?"ä¸å":1200===n?"ä¸å":n<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:"[ä¸]ddddLT",lastDay:"[æ¨å¤©]LT",lastWeek:"[ä¸]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(r(74043))},10551:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-mo",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"D/M/YYYY",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"忍":n<900?"æ©ä¸":n<1130?"ä¸å":n<1230?"ä¸å":n<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så
§",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(r(74043))},34122:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-tw",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"忍":n<900?"æ©ä¸":n<1130?"ä¸å":n<1230?"ä¸å":n<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(r(74043))},74043:function(e,t,r){(e=r.nmd(e)).exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function u(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function h(e,t){for(var r in t)l(t,r)&&(e[r]=t[r]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,r,n){return Gr(e,t,r,n,!0).utc()}function y(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 61,103 bytes, line 153
153dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=y()),e._pf}function v(e){var t=null,r=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=g(e),r=n.call(t.parsedDateParts,function(e){return null!=e}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function b(e){var t=m(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var _=i.momentProperties=[],x=!1;function w(e,t){var r,n,i,o=_.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)u(i=t[n=_[r]])||(e[n]=i);return e}function O(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,i.updateOffset(this),x=!1)}function j(e){return e instanceof O||null!=e&&null!=e._isAMomentObject}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var r=!0;return h(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),r){var n,o,a,s=[],c=arguments.length;for(o=0;o<c;o++){if(n="","object"==typeof arguments[o]){for(a in n+="\n["+o+"] ",arguments[0])l(arguments[0],a)&&(n+=a+": "+arguments[0][a]+", ");n=n.slice(0,-2)}else n=arguments[o];s.push(n)}S(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}var k,P={};function T(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(S(t),P[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,r;for(r in e)l(e,r)&&(E(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(e,t){var r,n=h({},e);for(r in t)l(t,r)&&(s(e[r])&&s(t[r])?(n[r]={},h(n[r],e[r]),h(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)l(e,r)&&!l(t,r)&&s(e[r])&&(n[r]=h({},n[r]));return n}function A(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)l(e,t)&&r.push(t);return r};var D={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return E(n)?n.call(t,r):n}function N(e,t,r){var n=""+Math.abs(e),i=t-n.length;return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function Y(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),r&&(B[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,r,n=e.match(R);for(t=0,r=n.length;t<r;t++)B[n[t]]?n[t]=B[n[t]]:n[t]=U(n[t]);return function(t){var i,o="";for(i=0;i<r;i++)o+=E(n[i])?n[i].call(t,e):n[i];return o}}function $(e,t){return e.isValid()?(t=W(t,e.localeData()),F[t]=F[t]||H(t),F[t](e)):e.localeData().invalidDate()}function W(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(z.lastIndex=0;r>=0&&z.test(e);)e=e.replace(z,n),z.lastIndex=0,r-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(R).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var G="Invalid date";function Z(){return this._invalidDate}var X="%d",J=/\d{1,2}/;function K(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,r,n){var i=this._relativeTime[r];return E(i)?i(e,t,r,n):i.replace(/%d/i,e)}function te(e,t){var r=this._relativeTime[e>0?"future":"past"];return E(r)?r(t):r.replace(/%s/i,t)}var re={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?re[e]||re[e.toLowerCase()]:void 0}function ie(e){var t,r,n={};for(r in e)l(e,r)&&(t=ne(r))&&(n[t]=e[r]);return n}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ae(e){var t,r=[];for(t in e)l(e,t)&&r.push({unit:t,priority:oe[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}var se,le=/\d/,ce=/\d\d/,ue=/\d{3}/,de=/\d{4}/,fe=/[+-]?\d{6}/,pe=/\d\d?/,he=/\d\d\d\d?/,me=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ge=/\d{1,4}/,ve=/[+-]?\d{1,6}/,be=/\d+/,_e=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[+-]?\d+(\.\d{1,3})?/,je=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Se=/^[1-9]\d?/,Me=/^([1-9]\d|\d)/;function ke(e,t,r){se[e]=E(t)?t:function(e,n){return e&&r?r:t}}function Pe(e,t){return l(se,e)?se[e](t._strict,t._locale):new RegExp(Te(e))}function Te(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i}))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Ce(t)),r}se={};var Ae={};function De(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),d(t)&&(i=function(e,r){r[t]=Le(e)}),n=e.length,r=0;r<n;r++)Ae[e[r]]=i}function Ie(e,t){De(e,function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)})}function Ne(e,t,r){null!=t&&l(Ae,e)&&Ae[e](t,r._a,r,e)}function Re(e){return e%4==0&&e%100!=0||e%400==0}var ze=0,Fe=1,Be=2,Ye=3,Ue=4,He=5,$e=6,We=7,Ve=8;function qe(e){return Re(e)?366:365}Y("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),ke("Y",_e),ke("YY",pe,ce),ke("YYYY",ge,de),ke("YYYYY",ve,fe),ke("YYYYYY",ve,fe),De(["YYYYY","YYYYYY"],ze),De("YYYY",function(e,t){t[ze]=2===e.length?i.parseTwoDigitYear(e):Le(e)}),De("YY",function(e,t){t[ze]=i.parseTwoDigitYear(e)}),De("Y",function(e,t){t[ze]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};var Ge,Ze=Je("FullYear",!0);function Xe(){return Re(this.year())}function Je(e,t){return function(r){return null!=r?(Qe(this,e,r),i.updateOffset(this,t),this):Ke(this,e)}}function Ke(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Qe(e,t,r){var n,i,o,a,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=e.month(),s=29!==(s=e.date())||1!==a||Re(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function et(e){return E(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var r,n=ae(e=ie(e)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(E(this[e=ne(e)]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=rt(t,12);return e+=(t-r)/12,1===r?Re(e)?29:28:31-r%7%2}Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),ke("M",pe,Se),ke("MM",pe,ce),ke("MMM",function(e,t){return t.monthsShortRegex(e)}),ke("MMMM",function(e,t){return t.monthsRegex(e)}),De(["M","MM"],function(e,t){t[Fe]=Le(e)-1}),De(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Fe]=i:g(r).invalidMonth=e});var it="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=je,lt=je;function ct(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ut(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=m([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ge.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,a))||-1!==(i=Ge.call(this._longMonthsParse,a))?i:null:-1!==(i=Ge.call(this._longMonthsParse,a))||-1!==(i=Ge.call(this._shortMonthsParse,a))?i:null}function ft(e,t,r){var n,i,o;if(this._monthsParseExact)return dt.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=m([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function pt(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Le(t);else if(!d(t=e.localeData().monthsParse(t)))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,nt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function ht(e){return null!=e?(pt(this,e),i.updateOffset(this,!0),this):Ke(this,"Month")}function mt(){return nt(this.year(),this.month())}function yt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||vt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=st),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||vt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function vt(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=m([2e3,t]),n=Ee(this.monthsShort(r,"")),i=Ee(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function bt(e,t,r,n,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,o,a),s}function _t(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,r){var n=7+t-r;return-(7+_t(e,0,n).getUTCDay()-t)%7+n-1}function wt(e,t,r,n,i){var o,a,s=1+7*(t-1)+(7+r-n)%7+xt(e,n,i);return s<=0?a=qe(o=e-1)+s:s>qe(e)?(o=e+1,a=s-qe(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ot(e,t,r){var n,i,o=xt(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+jt(i=e.year()-1,t,r):a>jt(e.year(),t,r)?(n=a-jt(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function jt(e,t,r){var n=xt(e,t,r),i=xt(e+1,t,r);return(qe(e)-n+i)/7}function St(e){return Ot(e,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),ke("w",pe,Se),ke("ww",pe,ce),ke("W",pe,Se),ke("WW",pe,ce),Ie(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Le(e)});var Mt={dow:0,doy:6};function kt(){return this._week.dow}function Pt(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=Ot(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),ke("d",pe),ke("e",pe),ke("E",pe),ke("dd",function(e,t){return t.weekdaysMinRegex(e)}),ke("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ke("dddd",function(e,t){return t.weekdaysRegex(e)}),Ie(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),Ie(["d","e","E"],function(e,t,r,n){t[n]=Le(e)});var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=je,zt=je,Ft=je;function Bt(e,t){var r=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?At(r,this._week.dow):e?r[e.day()]:r}function Yt(e){return!0===e?At(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?At(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,a))||-1!==(i=Ge.call(this._shortWeekdaysParse,a))||-1!==(i=Ge.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,a))||-1!==(i=Ge.call(this._weekdaysParse,a))||-1!==(i=Ge.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,a))||-1!==(i=Ge.call(this._weekdaysParse,a))||-1!==(i=Ge.call(this._shortWeekdaysParse,a))?i:null}function $t(e,t,r){var n,i,o;if(this._weekdaysParseExact)return Ht.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=m([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=Ke(this,"Day");return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,r,n,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)r=m([2e3,1]).day(t),n=Ee(this.weekdaysMin(r,"")),i=Ee(this.weekdaysShort(r,"")),o=Ee(this.weekdays(r,"")),a.push(n),s.push(i),l.push(o),c.push(n),c.push(i),c.push(o);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function er(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tr(e,t){return t._meridiemParse}function rr(e){return"p"===(e+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Kt),Y("k",["kk",2],0,Qt),Y("hmm",0,0,function(){return""+Kt.apply(this)+N(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Kt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),er("a",!0),er("A",!1),ke("a",tr),ke("A",tr),ke("H",pe,Me),ke("h",pe,Se),ke("k",pe,Se),ke("HH",pe,ce),ke("hh",pe,ce),ke("kk",pe,ce),ke("hmm",he),ke("hmmss",me),ke("Hmm",he),ke("Hmmss",me),De(["H","HH"],Ye),De(["k","kk"],function(e,t,r){var n=Le(e);t[Ye]=24===n?0:n}),De(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),De(["h","hh"],function(e,t,r){t[Ye]=Le(e),g(r).bigHour=!0}),De("hmm",function(e,t,r){var n=e.length-2;t[Ye]=Le(e.substr(0,n)),t[Ue]=Le(e.substr(n)),g(r).bigHour=!0}),De("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ye]=Le(e.substr(0,n)),t[Ue]=Le(e.substr(n,2)),t[He]=Le(e.substr(i)),g(r).bigHour=!0}),De("Hmm",function(e,t,r){var n=e.length-2;t[Ye]=Le(e.substr(0,n)),t[Ue]=Le(e.substr(n))}),De("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[Ye]=Le(e.substr(0,n)),t[Ue]=Le(e.substr(n,2)),t[He]=Le(e.substr(i))});var nr=/[ap]\.?m?\.?/i,ir=Je("Hours",!0);function or(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ar,sr={calendar:D,longDateFormat:V,invalidDate:G,ordinal:X,dayOfMonthOrdinalParse:J,relativeTime:Q,months:it,monthsShort:ot,week:Mt,weekdays:Dt,weekdaysMin:Nt,weekdaysShort:It,meridiemParse:nr},lr={},cr={};function ur(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function dr(e){return e?e.toLowerCase().replace("_","-"):e}function fr(e){for(var t,r,n,i,o=0;o<e.length;){for(t=(i=dr(e[o]).split("-")).length,r=(r=dr(e[o+1]))?r.split("-"):null;t>0;){if(n=hr(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&ur(i,r)>=t-1)break;t--}o++}return ar}function pr(e){return!(!e||!e.match("^[^/\\\\]*$"))}function hr(t){var n=null;if(void 0===lr[t]&&e&&e.exports&&pr(t))try{n=ar._abbr,r(60745)("./"+t),mr(n)}catch(e){lr[t]=null}return lr[t]}function mr(e,t){var r;return e&&((r=u(t)?vr(e):yr(e,t))?ar=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ar._abbr}function yr(e,t){if(null!==t){var r,n=sr;if(t.abbr=e,null!=lr[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=lr[e]._config;else if(null!=t.parentLocale)if(null!=lr[t.parentLocale])n=lr[t.parentLocale]._config;else{if(null==(r=hr(t.parentLocale)))return cr[t.parentLocale]||(cr[t.parentLocale]=[]),cr[t.parentLocale].push({name:e,config:t}),null;n=r._config}return lr[e]=new A(L(n,t)),cr[e]&&cr[e].forEach(function(e){yr(e.name,e.config)}),mr(e),lr[e]}return delete lr[e],null}function gr(e,t){if(null!=t){var r,n,i=sr;null!=lr[e]&&null!=lr[e].parentLocale?lr[e].set(L(lr[e]._config,t)):(null!=(n=hr(e))&&(i=n._config),t=L(i,t),null==n&&(t.abbr=e),(r=new A(t)).parentLocale=lr[e],lr[e]=r),mr(e)}else null!=lr[e]&&(null!=lr[e].parentLocale?(lr[e]=lr[e].parentLocale,e===mr()&&mr(e)):null!=lr[e]&&delete lr[e]);return lr[e]}function vr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ar;if(!a(e)){if(t=hr(e))return t;e=[e]}return fr(e)}function br(){return k(lr)}function _r(e){var t,r=e._a;return r&&-2===g(e).overflow&&(t=r[Fe]<0||r[Fe]>11?Fe:r[Be]<1||r[Be]>nt(r[ze],r[Fe])?Be:r[Ye]<0||r[Ye]>24||24===r[Ye]&&(0!==r[Ue]||0!==r[He]||0!==r[$e])?Ye:r[Ue]<0||r[Ue]>59?Ue:r[He]<0||r[He]>59?He:r[$e]<0||r[$e]>999?$e:-1,g(e)._overflowDayOfYear&&(t<ze||t>Be)&&(t=Be),g(e)._overflowWeeks&&-1===t&&(t=We),g(e)._overflowWeekday&&-1===t&&(t=Ve),g(e).overflow=t),e}var xr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Or=/Z|[+-]\d\d(?::?\d\d)?/,jr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mr=/^\/?Date\((-?\d+)/i,kr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Pr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tr(e){var t,r,n,i,o,a,s=e._i,l=xr.exec(s)||wr.exec(s),c=jr.length,u=Sr.length;if(l){for(g(e).iso=!0,t=0,r=c;t<r;t++)if(jr[t][1].exec(l[1])){i=jr[t][0],n=!1!==jr[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,r=u;t<r;t++)if(Sr[t][1].exec(l[3])){o=(l[2]||" ")+Sr[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Or.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Yr(e)}else e._isValid=!1}function Er(e,t,r,n,i,o){var a=[Cr(e),ot.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Cr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Lr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ar(e,t,r){return!e||It.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(r).weekdayMismatch=!0,r._isValid=!1,!1)}function Dr(e,t,r){if(e)return Pr[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}function Ir(e){var t,r=kr.exec(Lr(e._i));if(r){if(t=Er(r[4],r[3],r[2],r[5],r[6],r[7]),!Ar(r[1],t,e))return;e._a=t,e._tzm=Dr(r[8],r[9],r[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Nr(e){var t=Mr.exec(e._i);null===t?(Tr(e),!1===e._isValid&&(delete e._isValid,Ir(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Rr(e,t,r){return null!=e?e:null!=t?t:r}function zr(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fr(e){var t,r,n,i,o,a=[];if(!e._d){for(n=zr(e),e._w&&null==e._a[Be]&&null==e._a[Fe]&&Br(e),null!=e._dayOfYear&&(o=Rr(e._a[ze],n[ze]),(e._dayOfYear>qe(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),r=_t(o,0,e._dayOfYear),e._a[Fe]=r.getUTCMonth(),e._a[Be]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ye]&&0===e._a[Ue]&&0===e._a[He]&&0===e._a[$e]&&(e._nextDay=!0,e._a[Ye]=0),e._d=(e._useUTC?_t:bt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Br(e){var t,r,n,i,o,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,r=Rr(t.GG,e._a[ze],Ot(Zr(),1,4).year),n=Rr(t.W,1),((i=Rr(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=Ot(Zr(),o,a),r=Rr(t.gg,e._a[ze],c.year),n=Rr(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),n<1||n>jt(r,o,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=wt(r,n,i,o,a),e._a[ze]=s.year,e._dayOfYear=s.dayOfYear)}function Yr(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,r,n,o,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(n=W(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)o=n[t],(r=(c.match(Pe(o,e))||[])[0])&&((a=c.substr(0,c.indexOf(r))).length>0&&g(e).unusedInput.push(a),c=c.slice(c.indexOf(r)+r.length),d+=r.length),B[o]?(r?g(e).empty=!1:g(e).unusedTokens.push(o),Ne(o,r,e)):e._strict&&!r&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),e._a[Ye]<=12&&!0===g(e).bigHour&&e._a[Ye]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ye]=Ur(e._locale,e._a[Ye],e._meridiem),null!==(s=g(e).era)&&(e._a[ze]=e._locale.erasConvertYear(s,e._a[ze])),Fr(e),_r(e)}else Ir(e);else Tr(e)}function Ur(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Hr(e){var t,r,n,i,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)o=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Yr(t),v(t)&&(a=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));h(e,r||t)}function $r(e){if(!e._d){var t=ie(e._i),r=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Fr(e)}}function Wr(e){var t=new O(_r(Vr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vr(e){var t=e._i,r=e._f;return e._locale=e._locale||vr(e._l),null===t||void 0===r&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),j(t)?new O(_r(t)):(f(t)?e._d=t:a(r)?Hr(e):r?Yr(e):qr(e),v(e)||(e._d=null),e))}function qr(e){var t=e._i;u(t)?e._d=new Date(i.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Nr(e):a(t)?(e._a=p(t.slice(0),function(e){return parseInt(e,10)}),Fr(e)):s(t)?$r(e):d(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Gr(e,t,r,n,i){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(s(e)&&c(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=e,o._f=t,o._strict=n,Wr(o)}function Zr(e,t,r,n){return Gr(e,t,r,n,!1)}i.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Xr=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Zr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()}),Jr=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Zr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()});function Kr(e,t){var r,n;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Zr();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}function Qr(){return Kr("isBefore",[].slice.call(arguments,0))}function en(){return Kr("isAfter",[].slice.call(arguments,0))}var tn=function(){return Date.now?Date.now():+new Date},rn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nn(e){var t,r,n=!1,i=rn.length;for(t in e)if(l(e,t)&&(-1===Ge.call(rn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[rn[r]]){if(n)return!1;parseFloat(e[rn[r]])!==Le(e[rn[r]])&&(n=!0)}return!0}function on(){return this._isValid}function an(){return Tn(NaN)}function sn(e){var t=ie(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=nn(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=vr(),this._bubble()}function ln(e){return e instanceof sn}function cn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function un(e,t,r){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&Le(e[n])!==Le(t[n]))&&a++;return a+o}function dn(e,t){Y(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+N(~~(e/60),2)+t+N(~~e%60,2)})}dn("Z",":"),dn("ZZ",""),ke("Z",we),ke("ZZ",we),De(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=pn(we,e)});var fn=/([\+\-]|\d\d)/gi;function pn(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(fn)||["-",0,0])[1]+Le(r[2]))?0:"+"===r[0]?n:-n}function hn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(j(e)||f(e)?e.valueOf():Zr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),i.updateOffset(r,!1),r):Zr(e).local()}function mn(e){return-Math.round(e._d.getTimezoneOffset())}function yn(e,t,r){var n,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=pn(we,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=mn(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==e&&(!t||this._changeInProgress?Dn(this,Tn(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mn(this)}function gn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vn(e){return this.utcOffset(0,e)}function bn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=pn(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xn(e){return!!this.isValid()&&(e=e?Zr(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function wn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function On(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Vr(t))._a?(e=t._isUTC?m(t._a):Zr(t._a),this._isDSTShifted=this.isValid()&&un(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function Mn(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Pn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tn(e,t){var r,n,i,o=e,a=null;return ln(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=kn.exec(e))?(r="-"===a[1]?-1:1,o={y:0,d:Le(a[Be])*r,h:Le(a[Ye])*r,m:Le(a[Ue])*r,s:Le(a[He])*r,ms:Le(cn(1e3*a[$e]))*r}):(a=Pn.exec(e))?(r="-"===a[1]?-1:1,o={y:En(a[2],r),M:En(a[3],r),w:En(a[4],r),d:En(a[5],r),h:En(a[6],r),m:En(a[7],r),s:En(a[8],r)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ln(Zr(o.from),Zr(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),n=new sn(o),ln(e)&&l(e,"_locale")&&(n._locale=e._locale),ln(e)&&l(e,"_isValid")&&(n._isValid=e._isValid),n}function En(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Cn(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ln(e,t){var r;return e.isValid()&&t.isValid()?(t=hn(t,e),e.isBefore(t)?r=Cn(e,t):((r=Cn(t,e)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function An(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),Dn(this,Tn(r,n),e),this}}function Dn(e,t,r,n){var o=t._milliseconds,a=cn(t._days),s=cn(t._months);e.isValid()&&(n=null==n||n,s&&pt(e,Ke(e,"Month")+s*r),a&&Qe(e,"Date",Ke(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),n&&i.updateOffset(e,a||s))}Tn.fn=sn.prototype,Tn.invalid=an;var In=An(1,"add"),Nn=An(-1,"subtract");function Rn(e){return"string"==typeof e||e instanceof String}function zn(e){return j(e)||f(e)||Rn(e)||d(e)||Bn(e)||Fn(e)||null==e}function Fn(e){var t,r,n=s(e)&&!c(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)r=o[t],i=i||l(e,r);return n&&i}function Bn(e){var t=a(e),r=!1;return t&&(r=0===e.filter(function(t){return!d(t)&&Rn(e)}).length),t&&r}function Yn(e){var t,r,n=s(e)&&!c(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=o[t],i=i||l(e,r);return n&&i}function Un(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Hn(e,t){1===arguments.length&&(arguments[0]?zn(arguments[0])?(e=arguments[0],t=void 0):Yn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Zr(),n=hn(r,this).startOf("day"),o=i.calendarFormat(this,n)||"sameElse",a=t&&(E(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Zr(r)))}function $n(){return new O(this)}function Wn(e,t){var r=j(e)?e:Zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function Vn(e,t){var r=j(e)?e:Zr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function qn(e,t,r,n){var i=j(e)?e:Zr(e),o=j(t)?t:Zr(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r))}function Gn(e,t){var r,n=j(e)?e:Zr(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function Zn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jn(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=hn(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=ne(t)){case"year":o=Kn(this,n)/12;break;case"month":o=Kn(this,n);break;case"quarter":o=Kn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Ce(o)}function Kn(e,t){if(e.date()<t.date())return-Kn(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(r+1,"months")-n)))||0}function Qn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?$(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(r,"Z")):$(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+r+n)}function ri(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=$(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(j(e)&&e.isValid()||Zr(e).isValid())?Tn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Zr(),e)}function oi(e,t){return this.isValid()&&(j(e)&&e.isValid()||Zr(e).isValid())?Tn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.to(Zr(),e)}function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vr(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ci(){return this._locale}var ui=1e3,di=60*ui,fi=60*di,pi=3506328*fi;function hi(e,t){return(e%t+t)%t}function mi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-pi:new Date(e,t,r).valueOf()}function yi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-pi:Date.UTC(e,t,r)}function gi(e){var t,r;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?yi:mi,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*di),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,di);break;case"second":t=this._d.valueOf(),t-=hi(t,ui)}return this._d.setTime(t),i.updateOffset(this,!0),this}function vi(e){var t,r;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?yi:mi,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*di),fi)-1;break;case"minute":t=this._d.valueOf(),t+=di-hi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-hi(t,ui)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function _i(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function wi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Oi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ji(){return this.isValid()?this.toISOString():null}function Si(){return v(this)}function Mi(){return h({},g(this))}function ki(){return g(this).overflow}function Pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ti(e,t){var r,n,o,a=this._eras||vr("en")._eras;for(r=0,n=a.length;r<n;++r)switch("string"==typeof a[r].since&&(o=i(a[r].since).startOf("day"),a[r].since=o.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=i(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}return a}function Ei(e,t,r){var n,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if([o,a,s].indexOf(e)>=0)return l[n]}function Ci(e,t){var r=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*r}function Li(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}function Ai(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Di(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""}function Ii(){var e,t,r,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=o[e].since<=o[e].until?1:-1,n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until||o[e].until<=n&&n<=o[e].since)return(this.year()-i(o[e].since).year())*r+o[e].offset;return this.year()}function Ni(e){return l(this,"_erasNameRegex")||Hi.call(this),e?this._erasNameRegex:this._erasRegex}function Ri(e){return l(this,"_erasAbbrRegex")||Hi.call(this),e?this._erasAbbrRegex:this._erasRegex}function zi(e){return l(this,"_erasNarrowRegex")||Hi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Bi(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||be}function Hi(){var e,t,r,n,i,o=[],a=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)r=Ee(c[e].name),n=Ee(c[e].abbr),i=Ee(c[e].narrow),a.push(r),o.push(n),s.push(i),l.push(r),l.push(n),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function $i(e,t){Y(0,[e,e.length],0,t)}function Wi(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qi(){return jt(this.year(),1,4)}function Gi(){return jt(this.isoWeekYear(),1,4)}function Zi(){var e=this.localeData()._week;return jt(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return jt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,r,n,i){var o;return null==e?Ot(this,n,i).year:(t>(o=jt(e,n,i))&&(t=o),Ki.call(this,e,t,r,n,i))}function Ki(e,t,r,n,i){var o=wt(e,t,r,n,i),a=_t(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),ke("N",Fi),ke("NN",Fi),ke("NNN",Fi),ke("NNNN",Bi),ke("NNNNN",Yi),De(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?g(r).era=i:g(r).invalidEra=e}),ke("y",be),ke("yy",be),ke("yyy",be),ke("yyyy",be),ke("yo",Ui),De(["y","yy","yyy","yyyy"],ze),De(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ze]=r._locale.eraYearOrdinalParse(e,i):t[ze]=parseInt(e,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$i("gggg","weekYear"),$i("ggggg","weekYear"),$i("GGGG","isoWeekYear"),$i("GGGGG","isoWeekYear"),ke("G",_e),ke("g",_e),ke("GG",pe,ce),ke("gg",pe,ce),ke("GGGG",ge,de),ke("gggg",ge,de),ke("GGGGG",ve,fe),ke("ggggg",ve,fe),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=Le(e)}),Ie(["gg","GG"],function(e,t,r,n){t[n]=i.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),ke("Q",le),De("Q",function(e,t){t[Fe]=3*(Le(e)-1)}),Y("D",["DD",2],"Do","date"),ke("D",pe,Se),ke("DD",pe,ce),ke("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),De(["D","DD"],Be),De("Do",function(e,t){t[Be]=Le(e.match(pe)[0])});var eo=Je("Date",!0);function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}Y("DDD",["DDDD",3],"DDDo","dayOfYear"),ke("DDD",ye),ke("DDDD",ue),De(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Le(e)}),Y("m",["mm",2],0,"minute"),ke("m",pe,Me),ke("mm",pe,ce),De(["m","mm"],Ue);var ro=Je("Minutes",!1);Y("s",["ss",2],0,"second"),ke("s",pe,Me),ke("ss",pe,ce),De(["s","ss"],He);var no,io,oo=Je("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ke("S",ye,le),ke("SS",ye,ce),ke("SSS",ye,ue),no="SSSS";no.length<=9;no+="S")ke(no,be);function ao(e,t){t[$e]=Le(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")De(no,ao);function so(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=Je("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var co=O.prototype;function uo(e){return Zr(1e3*e)}function fo(){return Zr.apply(null,arguments).parseZone()}function po(e){return e}co.add=In,co.calendar=Hn,co.clone=$n,co.diff=Jn,co.endOf=vi,co.format=ri,co.from=ni,co.fromNow=ii,co.to=oi,co.toNow=ai,co.get=et,co.invalidAt=ki,co.isAfter=Wn,co.isBefore=Vn,co.isBetween=qn,co.isSame=Gn,co.isSameOrAfter=Zn,co.isSameOrBefore=Xn,co.isValid=Si,co.lang=li,co.locale=si,co.localeData=ci,co.max=Jr,co.min=Xr,co.parsingFlags=Mi,co.set=tt,co.startOf=gi,co.subtract=Nn,co.toArray=wi,co.toObject=Oi,co.toDate=xi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=ji,co.toString=Qn,co.unix=_i,co.valueOf=bi,co.creationData=Pi,co.eraName=Li,co.eraNarrow=Ai,co.eraAbbr=Di,co.eraYear=Ii,co.year=Ze,co.isLeapYear=Xe,co.weekYear=Wi,co.isoWeekYear=Vi,co.quarter=co.quarters=Qi,co.month=ht,co.daysInMonth=mt,co.week=co.weeks=Tt,co.isoWeek=co.isoWeeks=Et,co.weeksInYear=Zi,co.weeksInWeekYear=Xi,co.isoWeeksInYear=qi,co.isoWeeksInISOWeekYear=Gi,co.date=eo,co.day=co.days=Wt,co.weekday=Vt,co.isoWeekday=qt,co.dayOfYear=to,co.hour=co.hours=ir,co.minute=co.minutes=ro,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=yn,co.utc=vn,co.local=bn,co.parseZone=_n,co.hasAlignedHourOffset=xn,co.isDST=wn,co.isLocal=jn,co.isUtcOffset=Sn,co.isUtc=Mn,co.isUTC=Mn,co.zoneAbbr=so,co.zoneName=lo,co.dates=M("dates accessor is deprecated. Use date instead.",eo),co.months=M("months accessor is deprecated. Use month instead",ht),co.years=M("years accessor is deprecated. Use year instead",Ze),co.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),co.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",On);var ho=A.prototype;function mo(e,t,r,n){var i=vr(),o=m().set(n,t);return i[r](o,e)}function yo(e,t,r){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=mo(e,n,r,"month");return i}function go(e,t,r,n){"boolean"==typeof e?(d(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,d(t)&&(r=t,t=void 0),t=t||"");var i,o=vr(),a=e?o._week.dow:0,s=[];if(null!=r)return mo(t,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=mo(t,(i+a)%7,n,"day");return s}function vo(e,t){return yo(e,t,"months")}function bo(e,t){return yo(e,t,"monthsShort")}function _o(e,t,r){return go(e,t,r,"weekdays")}function xo(e,t,r){return go(e,t,r,"weekdaysShort")}function wo(e,t,r){return go(e,t,r,"weekdaysMin")}ho.calendar=I,ho.longDateFormat=q,ho.invalidDate=Z,ho.ordinal=K,ho.preparse=po,ho.postformat=po,ho.relativeTime=ee,ho.pastFuture=te,ho.set=C,ho.eras=Ti,ho.erasParse=Ei,ho.erasConvertYear=Ci,ho.erasAbbrRegex=Ri,ho.erasNameRegex=Ni,ho.erasNarrowRegex=zi,ho.months=ct,ho.monthsShort=ut,ho.monthsParse=ft,ho.monthsRegex=gt,ho.monthsShortRegex=yt,ho.week=St,ho.firstDayOfYear=Pt,ho.firstDayOfWeek=kt,ho.weekdays=Bt,ho.weekdaysMin=Ut,ho.weekdaysShort=Yt,ho.weekdaysParse=$t,ho.weekdaysRegex=Gt,ho.weekdaysShortRegex=Zt,ho.weekdaysMinRegex=Xt,ho.isPM=rr,ho.meridiem=or,mr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=M("moment.lang is deprecated. Use moment.locale instead.",mr),i.langData=M("moment.langData is deprecated. Use moment.localeData instead.",vr);var Oo=Math.abs;function jo(){var e=this._data;return this._milliseconds=Oo(this._milliseconds),this._days=Oo(this._days),this._months=Oo(this._months),e.milliseconds=Oo(e.milliseconds),e.seconds=Oo(e.seconds),e.minutes=Oo(e.minutes),e.hours=Oo(e.hours),e.months=Oo(e.months),e.years=Oo(e.years),this}function So(e,t,r,n){var i=Tn(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Mo(e,t){return So(this,e,t,1)}function ko(e,t){return So(this,e,t,-1)}function Po(e){return e<0?Math.floor(e):Math.ceil(e)}function To(){var e,t,r,n,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Po(Co(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=Ce(o/1e3),l.seconds=e%60,t=Ce(e/60),l.minutes=t%60,r=Ce(t/60),l.hours=r%24,a+=Ce(r/24),s+=i=Ce(Eo(a)),a-=Po(Co(i)),n=Ce(s/12),s%=12,l.days=a,l.months=s,l.years=n,this}function Eo(e){return 4800*e/146097}function Co(e){return 146097*e/4800}function Lo(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Eo(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Co(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Ao(e){return function(){return this.as(e)}}var Do=Ao("ms"),Io=Ao("s"),No=Ao("m"),Ro=Ao("h"),zo=Ao("d"),Fo=Ao("w"),Bo=Ao("M"),Yo=Ao("Q"),Uo=Ao("y"),Ho=Do;function $o(){return Tn(this)}function Wo(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var qo=Vo("milliseconds"),Go=Vo("seconds"),Zo=Vo("minutes"),Xo=Vo("hours"),Jo=Vo("days"),Ko=Vo("months"),Qo=Vo("years");function ea(){return Ce(this.days()/7)}var ta=Math.round,ra={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function ia(e,t,r,n){var i=Tn(e).abs(),o=ta(i.as("s")),a=ta(i.as("m")),s=ta(i.as("h")),l=ta(i.as("d")),c=ta(i.as("M")),u=ta(i.as("w")),d=ta(i.as("y")),f=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l];return null!=r.w&&(f=f||u<=1&&["w"]||u<r.w&&["ww",u]),(f=f||c<=1&&["M"]||c<r.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=n,na.apply(null,f)}function oa(e){return void 0===e?ta:"function"==typeof e&&(ta=e,!0)}function aa(e,t){return void 0!==ra[e]&&(void 0===t?ra[e]:(ra[e]=t,"s"===e&&(ra.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=ra;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},ra,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=ia(this,!i,o,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var la=Math.abs;function ca(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,l=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=Ce(l/60),t=Ce(e/60),l%=60,e%=60,r=Ce(u/12),u%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",i+"P"+(r?o+r+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var da=sn.prototype;return da.isValid=on,da.abs=jo,da.add=Mo,da.subtract=ko,da.as=Lo,da.asMilliseconds=Do,da.asSeconds=Io,da.asMinutes=No,da.asHours=Ro,da.asDays=zo,da.asWeeks=Fo,da.asMonths=Bo,da.asQuarters=Yo,da.asYears=Uo,da.valueOf=Ho,da._bubble=To,da.clone=$o,da.get=Wo,da.milliseconds=qo,da.seconds=Go,da.minutes=Zo,da.hours=Xo,da.days=Jo,da.weeks=ea,da.months=Ko,da.years=Qo,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=si,da.localeData=ci,da.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=li,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),ke("x",_e),ke("X",Oe),De("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),De("x",function(e,t,r){r._d=new Date(Le(e))}),i.version="2.30.1",o(Zr),i.fn=co,i.min=Qr,i.max=en,i.now=tn,i.utc=m,i.unix=uo,i.months=vo,i.isDate=f,i.locale=mr,i.invalid=b,i.duration=Tn,i.isMoment=j,i.weekdays=_o,i.parseZone=fo,i.localeData=vr,i.isDuration=ln,i.monthsShort=bo,i.weekdaysMin=wo,i.defineLocale=yr,i.updateLocale=gr,i.locales=br,i.weekdaysShort=xo,i.normalizeUnits=ne,i.relativeTimeRounding=oa,i.relativeTimeThreshold=aa,i.calendarFormat=Un,i.prototype=co,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},61942:function(e){"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))r.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)n.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},21989:function(e,t,r){"use strict";r.d(t,{A:function(){return x}});var n=r(40809),i=r(19894),o=r.n(i),a=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
153for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}var u=function(e){var t,r;function i(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(l(t)),t.handleErrored=t.handleErrored.bind(l(t)),t.handleChange=t.handleChange.bind(l(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(l(t)),t}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var o=i.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,a));return n.createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},i}(n.Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:o().string.isRequired,onChange:o().func,grecaptcha:o().object,theme:o().oneOf(["dark","light"]),type:o().oneOf(["image","audio"]),tabindex:o().number,onExpired:o().func,onErrored:o().func,size:o().oneOf(["compact","normal","invisible"]),stoken:o().string,hl:o().string,badge:o().oneOf(["bottomright","bottomleft","inline"]),isolated:o().bool},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var d=r(11572),f=r.n(d);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var h={},m=0;var y="onloadcallback";function g(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var v,b,_=(v=function(){var e=g(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+y+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+y+"&render=explicit"},b=(b={callbackName:y,globalName:"grecaptcha",attributes:g().nonce?{nonce:g().nonce}:{}})||{}
153,function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,i;function o(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}i=t,(r=o).prototype=Object.create(i.prototype),r.prototype.constructor=r,r.__proto__=i;var a=o.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+m++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof v?v():v,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=h[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[b.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=b,i=n.globalName,o=n.callbackName,a=n.scriptId;if(i&&void 0!==window[i]&&(h[t]={loaded:!0,observers:{}}),h[t]){var s=h[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},h[t]={loaded:!1,observers:l};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,b.attributes)c.setAttribute(u,b.attributes[u]);a&&(c.id=a);var d=function(e){if(h[t]){var r=h[t].observers;for(var n in r)e(r[n])&&delete r[n]}};o&&"undefined"!=typeof window&&(window[o]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=h[t];e&&(e.loaded=!0,d(function(t){return!o&&(t(e),!0)}))},c.onerror=function(){var e=h[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===b.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=h[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===b.removeOnUnmount&&delete h[e])},a.render=function(){var t=b.globalName,r=this.props,i=(r.asyncScriptOnLoad,r.forwardedRef),o=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=i,(0,n.createElement)(e,o)},o}(n.Component),i=(0,n.forwardRef)(function(e,t){return(0,n.createElement)(r,p({},e,{forwardedRef:t}))});return i.displayName="AsyncScriptLoader("+t+")",i.propTypes={asyncScriptOnLoad:o().func},f()(i,e)})(u),x=_},36111:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=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"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case f:case s:return e;default:return t}}case n:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=c,t.Fragment=i,t.Lazy=p,t.Memo=f,t.Portal=n,t.Profiler=a,t.StrictMode=o,t.Suspense=u,t.SuspenseList=d,t.isContextConsumer=function(e){return y(e)===s},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===c},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===p},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===n},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===o},t.isSuspense=function(e){return y(e)===u},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)},t.typeOf=y},76333:function(e,t,r){"use strict";e.exports=r(36111)},19603:function(e,t,r){(()=>{var t={296:(e,t,r)=>{var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var r=o.test(e);return r||a.test(e)?s(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,o,a,s,l,c=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=n,o=i;return n=i=void 0,c=t,a=e.apply(o,r)}function b(e){var r=e-l;return void 0===l||r>=t||r<0||d&&e-c>=o}function _(){var e=h();if(b(e))return x(e);s=setTimeout(_,function(e){var r=t-(e-l);return d?p(r,o-(e-c)):r}(e))}function x(e){return s=void 0,g&&n?v(e):(n=i=void 0,a)}function w(){var e=h(),r=b(e);
153if(n=arguments,i=this,l=e,r){if(void 0===s)return function(e){return c=e,s=setTimeout(_,t),u?v(e):a}(l);if(d)return s=setTimeout(_,t),v(l)}return void 0===s&&(s=setTimeout(_,t)),a}return t=y(t)||0,m(r)&&(u=!!r.leading,o=(d="maxWait"in r)?f(y(r.maxWait)||0,t):o,g="trailing"in r?!!r.trailing:g),w.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=i=s=void 0},w.flush=function(){return void 0===s?a:x(h())},w}},96:(e,t,r)=>{var n="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),f=Object.prototype.toString,p=Math.max,h=Math.min,m=function(){return d.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=a.test(e);return r||s.test(e)?l(e.slice(2),r?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),function(e,t,r){var i,o,a,s,l,c,u=0,d=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var r=i,n=o;return i=o=void 0,u=t,s=e.apply(n,r)}function _(e){var r=e-c;return void 0===c||r>=t||r<0||f&&e-u>=a}function x(){var e=m();if(_(e))return w(e);l=setTimeout(x,function(e){var r=t-(e-c);return f?h(r,a-(e-u)):r}(e))}function w(e){return l=void 0,v&&i?b(e):(i=o=void 0,s)}function O(){var e=m(),r=_(e);if(i=arguments,o=this,c=e,r){if(void 0===l)return function(e){return u=e,l=setTimeout(x,t),d?b(e):s}(c);if(f)return l=setTimeout(x,t),b(c)}return void 0===l&&(l=setTimeout(x,t)),s}return t=g(t)||0,y(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(g(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v),O.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},O.flush=function(){return void 0===l?s:w(m())},O}(e,t,{leading:i,maxWait:t,trailing:o})}},703:(e,t,r)=>{"use strict";var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
153;return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},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 r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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 o={};(()=>{"use strict";i.r(o),i.d(o,{LazyLoadComponent:()=>$,LazyLoadImage:()=>te,trackWindowScroll:()=>A});const e=r(40809);var t=i.n(e),n=i(697);function a(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function d(e){var t=function(e){if("object"!==s(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var h=function(e){e.forEach(function(e){e.isIntersecting&&e.target.onVisible()})},m={},y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(y,e);var r,n,i,o,d=(i=y,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(i);if(o){var r=p(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function y(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&a(),t.supportsObserver){var r=e.threshold;t.observer=function(e){return m[e]=m[e]||new IntersectionObserver(h,{rootMargin:e+"px"}),m[e]}(r)}return t}return r=y,n=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),r=this.placeholder.style,n=parseInt(r.getPropertyValue("margin-left"),10)||0,i=parseInt(r.getPropertyValue("margin-top"),10)||0;return{bottom:e.y+t.bottom+i,left:e.x+t.left+n,right:e.x+t.right+n,top:e.y+t.to
153p+i}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,r=e.threshold,n=this.getPlaceholderBoundingBox(t),i=t.y+window.innerHeight,o=t.x,a=t.x+window.innerWidth,s=t.y;return Boolean(s-r<=n.bottom&&i+r>=n.top&&o-r<=n.right&&a+r>=n.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,r=this.props,n=r.className,i=r.height,o=r.placeholder,a=r.style,s=r.width;if(o&&"function"!=typeof o.type)return t().cloneElement(o,{ref:function(t){return e.placeholder=t}});var u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({display:"inline-block"},a);return void 0!==s&&(u.width=s),void 0!==i&&(u.height=i),t().createElement("span",{className:n,ref:function(t){return e.placeholder=t},style:u},o)}}],n&&u(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),y}(t().Component);y.propTypes={onVisible:n.PropTypes.func.isRequired,className:n.PropTypes.string,height:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]),placeholder:n.PropTypes.element,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,scrollPosition:n.PropTypes.shape({x:n.PropTypes.number.isRequired,y:n.PropTypes.number.isRequired}),width:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string])},y.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const g=y;var v=i(296),b=i.n(v),_=i(96),x=i.n(_),w=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")};const O=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(w(t)))return t;t=t.parentNode}return window};function j(e){return j="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},j(e)}var S=["delayMethod","delayTime"];function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},M.apply(this,arguments)}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}function P(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var C=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},L=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset};const A=function(e){var r=function(r){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}(c,r);var n,i,o,s,l=(o=c,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=E(o);if(s){var r=E(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return P(this,e)});function c(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=l.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&a(),r.useIntersectionObserver)return P(r);var n=r.onChangeScroll.bind(T(r));return"debounce"===e.delayMethod?r.delayedScroll=b()(n,e.delayTime):"throttle"===e.delayMethod&&(r.delayedScroll=x()(n,e.delayTime)),r.state={scrollPosition:{x:C(),y:L()}},r.baseComponentRef=t().createRef(),r}return n=c,(i=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||O(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=O(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:C(),y:L()}})}},{key:"render",value:function(){var r=this.props,n=(r.delayMethod,r.delayTime,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,S)),i=this.useIntersectionObserver?null:this.state.scrollPosition;return t().createElement(e,M({forwardRef:this.baseComponentRef,scrollPosition:i},n))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(i=function(e){if("object"!==j(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===j(i)?i:String(i)),n)}var i}
153(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),c}(t().Component);return r.propTypes={delayMethod:n.PropTypes.oneOf(["debounce","throttle"]),delayTime:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool},r.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},r};function D(e){return D="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},D(e)}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}(s,e);var r,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=N(i);if(o){var r=N(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,e)}return r=s,(n=[{key:"render",value:function(){return t().createElement(g,this.props)}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(i=function(e){if("object"!==D(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===D(i)?i:String(i)),n)}var i}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),s}(t().Component);const z=A(R);function F(e){return F="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},F(e)}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(l,e);var r,n,i,o,s=(i=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=U(i);if(o){var r=U(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Y(e)}(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=s.call(this,e);var r=e.afterLoad,n=e.beforeLoad,i=e.scrollPosition,o=e.visibleByDefault;return t.state={visible:o},o&&(n(),r()),t.onVisible=t.onVisible.bind(Y(t)),t.isScrollTracked=Boolean(i&&Number.isFinite(i.x)&&i.x>=0&&Number.isFinite(i.y)&&i.y>=0),t}return r=l,(n=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,r=e.className,n=e.delayMethod,i=e.delayTime,o=e.height,s=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,d=e.useIntersectionObserver,f=e.width;return this.isScrollTracked||d&&a()?t().createElement(g,{className:r,height:o,onVisible:this.onVisible,placeholder:s,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:d,width:f}):t().createElement(z,{className:r,delayMethod:n,delayTime:i,height:o,onVisible:this.onVisible,placeholder:s,style:c,threshold:u,width:f})}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(i=function(e){if("object"!==F(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===F(i)?i:String(i)),n)}var i}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),l}(t().Component);H.propTypes={afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool},H.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $=H;function W(e){return W="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},W(e)}var V=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?q(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Z(e,t,r){return(t=J(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X.apply(this,arguments)}function J(e){var t=function(e){if("object"!==W(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==W(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===W(t)?t:String(t)}function K(e,t){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},K(e,t)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K(e,t)}(s,e);var r,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Q(i);if(o){var r=Q(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===W(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={loaded:!1},t}return r=s,(n=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(t){e.props.onLoad(t),e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,r=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,V));return t().createElement("img",X({},r,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var e=this.props,r=e.beforeLoad,n=e.className,i=e.delayMethod,o=e.delayTime,a=e.height,s=e.placeholder,l=e.scrollPosition,c=e.style,u=e.threshold,d=e.useIntersectionObserver,f=e.visibleByDefault,p=e.width;return t().createElement($,{beforeLoad:r,className:n,delayMethod:i,delayTime:o,height:a,placeholder:s,scrollPosition:l,style:c,threshold:u,useIntersectionObserver:d,visibleByDefault:f,width:p},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var r=this.props,n=r.effect,i=r.height,o=r.placeholderSrc,a=r.width,s=r.wrapperClassName,l=r.wrapperProps,c=this.state.loaded,u=c?" lazy-load-image-loaded":"",d=c||!o?{}:{backgroundImage:"url(".concat(o,")"),backgroundSize:"100% 100%"};return t().createElement("span",X({className:s+" lazy-load-image-background "+n+u,style:G(G({},d),{},{color:"transparent",display:"inline-block",height:i,width:a})},l),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,r=e.placeholderSrc,n=e.visibleByDefault,i=e.wrapperClassName,o=e.wrapperProps,a=this.getLazyLoadImage();return(t||r)&&!n||i||o?this.getWrappedLazyLoadImage(a):a}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,J(n.key),n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),s}(t().Component);ee.propTypes={onLoad:n.PropTypes.func,afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,delayMethod:n.PropTypes.string,delayTime:n.PropTypes.number,effect:n.PropTypes.string,placeholderSrc:n.PropTypes.string,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool,wrapperClassName:n.PropTypes.string,wrapperProps:n.PropTypes.object},ee.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const te=ee})(),e.exports=o})()},75123:function(e,t,r){(()=>{var t={556:(e,t,r)=>{e.exports=r(694)()},694:(e,t,r)=>{"use strict";var n=r(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
153: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:i};return r.PropTypes=r,r}},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},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 r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 o={};(()=>{"use strict";i.r(o),i.d(o,{OutbrainWidget:()=>c});var e=i(556),t=i.n(e);const n=r(40809);var a=i.n(n);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(null,arguments)}var l=function(e){var t=e.attrs;return a().createElement("div",s({className:"OUTBRAIN"},t))},c=a().memo(function(e){var t,r=e.dataSrc,i=e.dataWidgetId,o=e.obUserId,s=void 0===o?"":o,c=e.obInstallationKey,u=void 0===c?"":c,d=e.obInstallationType,f=void 0===d?"":d,p=e.obAppVer,h=void 0===p?"":p,m=e.isSecured,y=void 0===m?"":m,g=e.obContentUrl,v=void 0===g?null:g,b=e.obPortalUrl,_=void 0===b?null:b,x=e.obBundleUrl,w=void 0===x?null:x,O=e.obLanguage,j=void 0===O?null:O,S=e.obPsub,M=void 0===S?null:S,k=e.obAppId,P=void 0===k?null:k,T=e.externalId,E=void 0===T?null:T,C=e.obDarkMode,L=void 0===C?null:C,A=(0,n.useRef)(null),D=(t={"data-src":r,"data-widget-id":i,"data-ob-user-id":s,"data-ob-installation-key":u,"data-ob-installation-type":f,"data-ob-app-ver":h,"data-is-secured":y,"data-ob-contenturl":v,"data-ob-portalurl":_,"data-ob-bundleurl":w,"data-ob-language":j,"data-ob-psub":M,"data-ob-app-id":P,"data-external-id":E,"data-dark-mode":L},Object.keys(t).reduce(function(e,r){return null!==t[r]&&""!==t[r]&&(e[r]=t[r]),e},{})),I=r||v||_||w;return(0,n.useEffect)(function(){var e,t,r;(e=A.current.querySelector(".OUTBRAIN"))&&e.getAttribute("data-ob-mark")||(t=I,(r=window.OBR)&&r.extern&&"function"==typeof r.extern.renderSpaWidgets&&r.extern.renderSpaWidgets(t))},[D]),a().createElement("div",{ref:A,className:"OB-REACT-WRAPPER"},a().createElement(l,{key:Date.now(),attrs:D}))});c.propTypes={dataSrc:t().string.isRequired,dataWidgetId:t().string.isRequired,obUserId:t().string,obInstallationKey:t().string,obInstallationType:t().string,obAppVer:t().string,isSecured:t().string,obContentUrl:t().string,obPortalUrl:t().string,obBundleUrl:t().string,obLanguage:t().string,obPsub:t().string,obAppId:t().string,externalId:t().string,obDarkMode:t().string}})(),e.exports=o})()},42417:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var i=s(r(40809)),o=s(r(56687)),a=r(12571);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=m(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function h(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:String(t)}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=b();return function(){var r,i=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}t.PrevArrow=function(e){y(r,e);var t=v(r);function r(){return f(this,r),t.apply(this,arguments)}return h(r,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var r={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,u(u({},r),n)):i.default.createElement("button",l({key:"0",type:"button"},r)," ","Previous")}}]),r}(i.default.PureComponent),t.NextArrow=function(e){y(r,e);var t=v(r);function r(){return f(this,r),t.apply(this,arguments)}return h(r,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var r={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,u(u({},r),n)):i.default.createElement("button",l({key:"1",type:"button"},r)," ","Next")}}]),r}(i.default.PureComponent)},58737:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(40809))&&n.__esModule?n:{default:n};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};t.default=o},43907:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var i=s(r(40809)),o=s(r(56687)),a=r(12571);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function d(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:String(t)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=h();return function(){var r,i=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}t.Dots=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,r,n,s=p(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),s.apply(this,arguments)}return t=d,r=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,r=t.onMouseEnter,n=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,f=t.slidesToShow,p=t.slideCount,h=t.currentSlide,m=(e={slideCount:p,slidesToScroll:d,slidesToShow:f,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,y={onMouseEnter:r,onMouseOver:n,onMouseLeave:s},g=[],v=0;v<m;v++){var b=(v+1)*d-1,_=u?b:(0,a.clamp)(b,0,p-1),x=_-(d-1),w=u?x:(0,a.clamp)(x,0,p-1),O=(0,o.default)({"slick-active":u?h>=w&&h<=_:h===w}),j={message:"dots",index:v,slidesToScroll:d,currentSlide:h},S=this.clickHandler.bind(this,j);g=g.concat(i.default.createElement("li",{key:v,className:O},i.default.cloneElement(this.props.customPaging(v),{onClick:S})))}return i.default.cloneElement(this.props.appendDots(g),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:this.props.dotsClass},y))}}],r&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(i.default.PureComponent)},1307:function(e,t,r){"use strict";t.A=void 0;var n,i=(n=r(94374))&&n.__esModule?n:{default:n};t.A=i.default},75:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},36457:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var n=f(r(40809)),i=f(r(75)),o=f(r(69307)),a=f(r(56687)),s=r(12571),l=r(19964),c=r(43907),u=r(42417),d=f(r(80437));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="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},p(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){j(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,S(n.key),n)}}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){var t=w();return function(){var r,n=O(e);if(t){var i=O(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}(this,r)}}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function j(e,t,r){return(t=S(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:String(t)}t.InnerSlider=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(w,e);var t,r,f,y=_(w);function w(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),j(x(t=y.call(this,e)),"listRefHandler",function(e){return t.list=e}),j(x(t),"trackRefHandler",function(e){return t.track=e}),j(x(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}}),j(x(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(g(g({},t.props),t.state));e.length>0&&(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e))}
153var r=g({listRef:t.list,trackRef:t.track},t.props);t.updateState(r,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),j(x(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(e){return clearTimeout(e)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),j(x(t),"componentDidUpdate",function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var r=(0,s.getOnDemandLazySlides)(g(g({},t.props),t.state));r.length>0&&(t.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(r)}}),t.props.onLazyLoad&&t.props.onLazyLoad(r))}t.adaptHeight();var i=g(g({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,function(){t.state.currentSlide>=n.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:n.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),j(x(t),"onWindowResized",function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)(function(){return t.resizeWindow(e)},50),t.debouncedResize()}),j(x(t),"resizeWindow",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var r=g(g({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),j(x(t),"updateState",function(e,r,i){var o=(0,s.initializedState)(e);e=g(g(g({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=g(g({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(r||n.default.Children.count(t.props.children)!==n.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)}),j(x(t),"ssrInit",function(){if(t.props.variableWidth){var e=0,r=0,i=[],o=(0,s.getPreClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(t){i.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<o;l++)r+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)r+=i[u];var d={width:e+"px",left:-r+"px"};if(t.props.centerMode){var f="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var p=n.default.Children.count(t.props.children),h=g(g(g({},t.props),t.state),{},{slideCount:p}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,y=100/t.props.slidesToShow*m,v=100/m,b=-v*((0,s.getPreClones)(h)+t.state.currentSlide)*y/100;return t.props.centerMode&&(b+=(100-v*y/100)/2),{slideWidth:v+"%",trackStyle:{width:y+"%",left:b+"%"}}}),j(x(t),"checkImagesLoad",function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],r=e.length,n=0;Array.prototype.forEach.call(e,function(e){var i=function(){return++n&&n>=r&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(t){o(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),j(x(t),"progressiveLazyLoad",function(){for(var e=[],r=g(g({},t.props),t.state),n=t.state.currentSlide;n<t.state.slideCount+(0,s.getPostClones)(r);n++)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(r);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),j(x(t),"slideHandler",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.props,i=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,l=n.speed,c=n.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(g(g(g({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!r})),f=d.state,p=d.nextState;if(f){o&&o(u,f.currentSlide);var h=f.lazyLoadedList.filter(function(e){return t.state.lazyLoadedList.indexOf(e)<0});a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout(function(){var e=p.animating,r=m(p,["animating"]);t.setState(r,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:e})},10)),c&&c(f.currentSlide),delete t.animationEndCallback})},l))})}}),j(x(t),"changeSlide",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=g(g({},t.props),t.state),i=(0,s.changeSlide)(n,e);if((0===i||i)&&(!0===r?t.slideHandler(i,r):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),j(x(t),"clickHandler",function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0}),j(x(t),"keyHandler",function(e){var r=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==r&&t.changeSlide({message:r})}),j(x(t),"selectHandler",function(e){t.changeSlide(e)}),j(x(t),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),j(x(t),"enableBodyScroll",function(){window.ontouchmove=null}),j(x(t),"swipeStart",function(e){t.props.verticalSwiping&&t.disableBodyScroll();var r=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==r&&t.setState(r)}),j(x(t),"swipeMove",function(e){var r=(0,s.swipeMove)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));r&&(r.swiping&&(t.clickable=!1),t.setState(r))}),j(x(t),"swipeEnd",function(e){var r=(0,s.swipeEnd)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(r){var n=r.triggerSlideHandler;delete r.triggerSlideHandler,t.setState(r),void 0!==n&&(t.slideHandler(n),t.props.verticalSwiping&&t.enableBodyScroll())}}),j(x(t),"touchEnd",function(e){t.swipeEnd(e),t.clickable=!0}),j(x(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),j(x(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),j(x(t),"slickGoTo",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},r)},0))}),j(x(t),"play",function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(g(g({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)}),j(x(t),"autoPlay",function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var r=t.state.autoplaying;if("update"===e){if("hovered"===r||"focused"===r||"paused"===r)return}else if("leave"===e){if("paused"===r||"focused"===r)return}else if("blur"===e&&("paused"===r||"hovered"===r))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({auto
153playing:"playing"})}),j(x(t),"pause",function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var r=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==r&&"playing"!==r||t.setState({autoplaying:"focused"}):"playing"===r&&t.setState({autoplaying:"hovered"})}),j(x(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),j(x(t),"onDotsLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),j(x(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),j(x(t),"onTrackLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),j(x(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),j(x(t),"onSlideBlur",function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")}),j(x(t),"render",function(){var e,r,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=g(g({},t.props),t.state),f=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(f=g(g({},f),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;m=g(g({},m),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=n.default.createElement(c.Dots,m)}var v=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=t.changeSlide,t.props.arrows&&(r=n.default.createElement(u.PrevArrow,v),i=n.default.createElement(u.NextArrow,v));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var _=null;!1===t.props.vertical?!0===t.props.centerMode&&(_={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(_={padding:t.props.centerPadding+" 0px"});var x=g(g({},b),_),w=t.props.touchMove,O={className:"slick-list",style:x,onClick:t.clickHandler,onMouseDown:w?t.swipeStart:null,onMouseMove:t.state.dragging&&w?t.swipeMove:null,onMouseUp:w?t.swipeEnd:null,onMouseLeave:t.state.dragging&&w?t.swipeEnd:null,onTouchStart:w?t.swipeStart:null,onTouchMove:t.state.dragging&&w?t.swipeMove:null,onTouchEnd:w?t.touchEnd:null,onTouchCancel:t.state.dragging&&w?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},j={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(O={className:"slick-list"},j={className:o}),n.default.createElement("div",j,t.props.unslick?"":r,n.default.createElement("div",h({ref:t.listRefHandler},O),n.default.createElement(l.Track,h({ref:t.trackRefHandler},f),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)}),t.list=null,t.track=null,t.state=g(g({},i.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:n.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var r=t.ssrInit();return t.state=g(g({},t.state),r),t}return t=w,(r=[{key:"didPropsChange",value:function(e){for(var t=!1,r=0,i=Object.keys(this.props);r<i.length;r++){var o=i[r];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==p(e[o])&&"function"!=typeof e[o]&&!isNaN(e[o])&&e[o]!==this.props[o]){t=!0;break}}return t||n.default.Children.count(this.props.children)!==n.default.Children.count(e.children)}}])&&v(t.prototype,r),f&&v(t,f),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.default.Component)},94374:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(40809)),i=r(36457),o=l(r(55431)),a=l(r(58737)),s=r(12571);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=g();return function(){var r,n=v(e);if(t){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}(this,r)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(g=function(){return!!e})()}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}var x=(0,s.canUseDOM)()&&r(65028);t.default=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(d,e);var t,r,l,c=m(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),b(y(t=c.call(this,e)),"innerSliderRefHandler",function(e){return t.innerSlider=e}),b(y(t),"slickPrev",function(){return t.innerSlider.slickPrev()}),b(y(t),"slickNext",function(){return t.innerSlider.slickNext()}),b(y(t),"slickGoTo",function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,r)}),b(y(t),"slickPause",function(){return t.innerSlider.pause("paused")}),b(y(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(r=[{key:"media",value:function(e,t){x.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(r,n){var i;i=0===n?(0,o.default)({minWidth:0,maxWidth:r}):(0,o.default)({minWidth:t[n-1]+1,maxWidth:r}),(0,s.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:r})})});var r=(0,o.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(r,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
153h(function(e){x.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,r=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===r.state.breakpoint}))[0].settings?"unslick":f(f(f({},a.default),this.props),t[0].settings):f(f({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=n.default.Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,d=0;d<o.length;d+=e.rows*e.slidesPerRow){for(var p=[],h=d;h<d+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var m=[],y=h;y<h+e.slidesPerRow&&(e.variableWidth&&o[y].props.style&&(c=o[y].props.style.width),!(y>=o.length));y+=1)m.push(n.default.cloneElement(o[y],{key:100*d+10*h+y,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(n.default.createElement("div",{key:10*d+h},m))}e.variableWidth?l.push(n.default.createElement("div",{key:d,style:{width:c}},p)):l.push(n.default.createElement("div",{key:d},p))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:g},o)}return l.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),n.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(e)),l)}}])&&p(t.prototype,r),l&&p(t,l),Object.defineProperty(t,"prototype",{writable:!1}),d}(n.default.Component)},19964:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=a(r(40809)),i=a(r(56687)),o=r(12571);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=p();return function(){var r,n=h(e);if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,r)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}var b=function(e){var t,r,n,i,o;return n=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),r=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":r,"slick-cloned":n,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},_=function(e,t){return e.key||t},x=function(e){var t,r=[],a=[],s=[],l=n.default.Children.count(e.children),c=(0,o.lazyStartIndex)(e),u=(0,o.lazyEndIndex)(e);
153return n.default.Children.forEach(e.children,function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:n.default.createElement("div",null);var m=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(y(y({},e),{},{index:f})),g=p.props.className||"",v=b(y(y({},e),{},{index:f}));if(r.push(n.default.cloneElement(p,{key:"original"+_(p,f),"data-index":f,className:(0,i.default)(v,g),tabIndex:"-1","aria-hidden":!v["slick-active"],style:y(y({outline:"none"},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var x=l-f;x<=(0,o.getPreClones)(e)&&((t=-x)>=c&&(p=d),v=b(y(y({},e),{},{index:t})),a.push(n.default.cloneElement(p,{key:"precloned"+_(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(v,g),"aria-hidden":!v["slick-active"],style:y(y({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),(t=l+f)<u&&(p=d),v=b(y(y({},e),{},{index:t})),s.push(n.default.cloneElement(p,{key:"postcloned"+_(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(v,g),"aria-hidden":!v["slick-active"],style:y(y({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))}}),e.rtl?a.concat(r,s).reverse():a.concat(r,s)};t.Track=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,r,i,o=d(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return g(f(e=o.call.apply(o,[this].concat(r))),"node",null),g(f(e),"handleRef",function(t){e.node=t}),e}return t=a,(r=[{key:"render",value:function(){var e=x(this.props),t=this.props,r={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},r),e)}}])&&c(t.prototype,r),i&&c(t,i),Object.defineProperty(t,"prototype",{writable:!1}),a}(n.default.PureComponent)},12571:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=u,t.extractObject=void 0,t.filterSettings=function(e){return D.reduce(function(t,r){return e.hasOwnProperty(r)&&(t[r]=e[r]),t},{})},t.validSettings=t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=void 0;var n=o(r(40809)),i=o(r(58737));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){var n;return n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r){return Math.max(t,Math.min(e,r))}var d=t.safePreventDefault=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},f=t.getOnDemandLazySlides=function(e){for(var t=[],r=p(e),n=h(e),i=r;i<n;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},p=(t.getRequiredLazySlides=function(e){for(var t=[],r=p(e),n=h(e),i=r;i<n;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-m(e)}),h=t.lazyEndIndex=function(e){return e.currentSlide+y(e)},m=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},y=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},g=t.getWidth=function(e){return e&&e.offsetWidth||0},v=t.getHeight=function(e){return e&&e.offsetHeight||0},b=t.getSwipeDirection=function(e){var t,r,n,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,r=e.startY-e.curY,n=Math.atan2(r,t),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},_=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},x=(t.extractObject=function(e,t){var r={};return t.forEach(function(t){return r[t]=e[t]}),r},t.initializedState=function(e){var t,r=n.default.Children.count(e.children),i=e.listRef,o=Math.ceil(g(i)),a=e.trackRef&&e.trackRef.node,s=Math.ceil(g(a));if(e.vertical)t=o;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=o/100),t=Math.ceil((o-c)/e.slidesToShow)}var u=i&&v(i.querySelector('[data-index="0"]')),d=u*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=r-1-e.initialSlide);var h=e.lazyLoadedList||[],m=f(l(l({},e),{},{currentSlide:p,lazyLoadedList:h})),y={slideCount:r,slideWidth:t,listWidth:o,trackWidth:s,currentSlide:p,slideHeight:u,listHeight:d,lazyLoadedList:h=h.concat(m)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y},t.slideHandler=function(e){var t=e.waitForAnimate,r=e.animating,n=e.fade,i=e.infinite,o=e.index,a=e.slideCount,s=e.lazyLoad,c=e.currentSlide,d=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,y=e.lazyLoadedList;if(t&&r)return{};var g,v,b,x=o,w={},O={},j=i?o:u(o,0,a-1);if(n){if(!i&&(o<0||o>=a))return{};o<0?x=o+a:o>=a&&(x=o-a),s&&y.indexOf(x)<0&&(y=y.concat(x)),w={animating:!0,currentSlide:x,lazyLoadedList:y,targetSlide:x},O={animating:!1,targetSlide:x}}else g=x,x<0?(g=x+a,i?a%p!==0&&(g=a-a%p):g=0):!_(e)&&x>c?x=g=c:d&&x>=a?(x=i?a:a-1,g=i?0:a-1):x>=a&&(g=x-a,i?a%p!==0&&(g=0):g=a-h),!i&&x+h>=a&&(g=a-h),v=k(l(l({},e),{},{slideIndex:x})),b=k(l(l({},e),{},{slideIndex:g})),i||(v===b&&(x=g),v=b),s&&(y=y.concat(f(l(l({},e),{},{currentSlide:x})))),m?(w={animating:!0,currentSlide:g,trackStyle:M(l(l({},e),{},{left:v})),lazyLoadedList:y,targetSlide:j},O={animating:!1,currentSlide:g,trackStyle:S(l(l({},e),{},{left:b})),swipeLeft:null,targetSlide:j}):w={currentSlide:g,trackStyle:S(l(l({},e),{},{left:b})),lazyLoadedList:y,targetSlide:j};return{state:w,nextState:O}},t.changeSlide=function(e,t){var r,n,i,o,a=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(r=c%a!==0?0:(c-u)%a,"previous"===t.message)o=u-(i=0===r?a:s-r),f&&!p&&(o=-1===(n=u-i)?c-1:n),p||(o=d-a);else if("next"===t.message)o=u+(i=0===r?a:r),f&&!p&&(o=(u+a)%c+r),p||(o=d+a);
153else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,p){var h=C(l(l({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=c:o<t.currentSlide&&"right"===h&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o},t.keyHandler=function(e,t,r){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?r?"next":"previous":39===e.keyCode?r?"previous":"next":""},t.swipeStart=function(e,t,r){return"IMG"===e.target.tagName&&d(e),!t||!r&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var r=t.scrolling,n=t.animating,i=t.vertical,o=t.swipeToSlide,a=t.verticalSwiping,s=t.rtl,c=t.currentSlide,u=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,m=t.swiping,y=t.slideCount,g=t.slidesToScroll,v=t.infinite,x=t.touchObject,w=t.swipeEvent,O=t.listHeight,j=t.listWidth;if(!r){if(n)return d(e);i&&o&&a&&d(e);var M,P={},T=k(t);x.curX=e.touches?e.touches[0].pageX:e.clientX,x.curY=e.touches?e.touches[0].pageY:e.clientY,x.swipeLength=Math.round(Math.sqrt(Math.pow(x.curX-x.startX,2)));var E=Math.round(Math.sqrt(Math.pow(x.curY-x.startY,2)));if(!a&&!m&&E>10)return{scrolling:!0};a&&(x.swipeLength=E);var C=(s?-1:1)*(x.curX>x.startX?1:-1);a&&(C=x.curY>x.startY?1:-1);var L=Math.ceil(y/g),A=b(t.touchObject,a),D=x.swipeLength;return v||(0===c&&("right"===A||"down"===A)||c+1>=L&&("left"===A||"up"===A)||!_(t)&&("left"===A||"up"===A))&&(D=x.swipeLength*u,!1===f&&p&&(p(A),P.edgeDragged=!0)),!h&&w&&(w(A),P.swiped=!0),M=i?T+D*(O/j)*C:s?T-D*C:T+D*C,a&&(M=T+D*C),P=l(l({},P),{},{touchObject:x,swipeLeft:M,trackStyle:S(l(l({},t),{},{left:M}))}),Math.abs(x.curX-x.startX)<.8*Math.abs(x.curY-x.startY)?P:(x.swipeLength>10&&(P.swiping=!0,d(e)),P)}},t.swipeEnd=function(e,t){var r=t.dragging,n=t.swipe,i=t.touchObject,o=t.listWidth,a=t.touchThreshold,s=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,m=t.currentSlide,y=t.infinite;if(!r)return n&&d(e),{};var g=s?c/a:o/a,v=b(i,s),_={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return _;if(!i.swipeLength)return _;if(i.swipeLength>g){var x,j;d(e),p&&p(v);var S=y?m:h;switch(v){case"left":case"up":j=S+O(t),x=u?w(t,j):j,_.currentDirection=0;break;case"right":case"down":j=S-O(t),x=u?w(t,j):j,_.currentDirection=1;break;default:x=S}_.triggerSlideHandler=x}else{var P=k(t);_.trackStyle=M(l(l({},t),{},{left:P}))}return _},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,r=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,i=[];r<t;)i.push(r),r=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return i}),w=t.checkNavigable=function(e,t){var r=x(e),n=0;if(t>r[r.length-1])t=r[r.length-1];else for(var i in r){if(t<r[i]){t=n;break}n=r[i]}return t},O=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var r,n=e.listRef,i=n.querySelectorAll&&n.querySelectorAll(".slick-slide")||[];if(Array.from(i).every(function(n){if(e.vertical){if(n.offsetTop+v(n)/2>-1*e.swipeLeft)return r=n,!1}else if(n.offsetLeft-t+g(n)/2>-1*e.swipeLeft)return r=n,!1;return!0}),!r)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(r.dataset.index-o)||1}return e.slidesToScroll},j=t.checkSpecKeys=function(e,t){return t.reduce(function(t,r){return t&&e.hasOwnProperty(r)},!0)?null:console.error("Keys Missing:",e)},S=t.getTrackCSS=function(e){var t,r;j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n=e.slideCount+2*e.slidesToShow;e.vertical?r=n*e.slideHeight:t=E(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=l(l({},i),{},{WebkitTransform:o,transform:a,msTransform:s})}
153else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),r&&(i.height=r),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},M=t.getTrackAnimateCSS=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=S(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},k=t.getTrackLeft=function(e){if(e.unslick)return 0;j(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,r,n=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,h=e.fade,m=e.vertical;if(h||1===e.slideCount)return 0;var y=0;if(o?(y=-P(e),s%c!==0&&n+c>s&&(y=-(n>s?l-(n-s):s%c)),a&&(y+=parseInt(l/2))):(s%c!==0&&n+c>s&&(y=l-s%c),a&&(y=parseInt(l/2))),t=m?n*p*-1+y*p:n*u*-1+y*u,!0===f){var g,v=i&&i.node;if(g=n+P(e),t=(r=v&&v.childNodes[g])?-1*r.offsetLeft:0,!0===a){g=o?n+P(e):n,r=v&&v.children[g],t=0;for(var b=0;b<g;b++)t-=v&&v.children[b]&&v.children[b].offsetWidth;t-=parseInt(e.centerPadding),t+=r&&(d-r.offsetWidth)/2}}return t},P=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},T=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},E=t.getTotalSlides=function(e){return 1===e.slideCount?1:P(e)+e.slideCount+T(e)},C=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+L(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"},L=t.slidesOnRight=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),n&&t%2==0&&(o+=1),o}return n?0:t-1},A=t.slidesOnLeft=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),n||t%2!=0||(o+=1),o}return n?t-1:0},D=(t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},t.validSettings=Object.keys(i.default))},33724:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedStyle=void 0;const o=i(r(56687)),a=i(r(40809));t.EmbedStyle=e=>{var t=n(e,[]);return a.default.createElement("style",Object.assign({},t,{className:(0,o.default)(t.className),style:Object.assign({},t.style)}),"\n .rsme-embed .rsme-d-none {\n display: none;\n }\n \n .rsme-embed .twitter-tweet {\n margin: 0 !important;\n }\n \n .rsme-embed blockquote {\n margin: 0 !important;\n padding: 0 !important;\n }\n\n .rsme-embed.rsme-facebook-embed .fb-post iframe {\n width: 100% !important;\n }\n\n .rsme-embed.rsme-facebook-embed .fb-post span {\n width: 100% !important;\n }\n ")}},70681:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}
153,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FacebookEmbed=void 0;const o=i(r(56687)),a=i(r(40809)),s=r(98916),l=r(16969),c=r(35462),u=r(33724),d=r(37568),f="check-script",p="load-script",h="confirm-script-loaded",m="process-embed",y="confirm-embed-success",g="retrying",v="embed-success";t.FacebookEmbed=e=>{var t,r,{url:i,width:b,height:_,linkText:x="View post on Facebook",placeholderImageUrl:w,placeholderSpinner:O,placeholderSpinnerDisabled:j=!1,placeholderProps:S,embedPlaceholder:M,placeholderDisabled:k=!1,scriptLoadDisabled:P=!1,retryDelay:T=5e3,retryDisabled:E=!1,frame:C,debug:L=!1}=e,A=n(e,["url","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled","scriptLoadDisabled","retryDelay","retryDisabled","frame","debug"]);const[D,I]=a.default.useState(f),N=a.default.useMemo(()=>D===v,[D]),R=a.default.useRef((0,c.generateUUID)()),[z,F]=a.default.useState(Date.now()),B=a.default.useMemo(()=>`${R.current}-${z}`,[z]),Y=(0,s.useFrame)(C);a.default.useEffect(()=>{L&&console.log(`[${(new Date).toISOString()}]: ${D}`)},[L,D]),a.default.useEffect(()=>{var e,t,r;D===f&&((null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.FB)||void 0===t?void 0:t.XFBML)||void 0===r?void 0:r.parse)?I(m):P?console.error("Facebook embed script not found. Unable to process Facebook embed:",i):I(p))},[P,D,i,Y.window]),a.default.useEffect(()=>{if(D===p&&Y.document){const e=Y.document.createElement("script");e.setAttribute("src","https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v16.0"),Y.document.head.appendChild(e),I(h)}},[D,Y.document]),a.default.useEffect(()=>{const e=new d.Subs;return D===h&&e.setInterval(()=>{var e,t,r;(null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.FB)||void 0===t?void 0:t.XFBML)||void 0===r?void 0:r.parse)&&I(m)},1),e.createCleanup()},[D,Y.window]),a.default.useEffect(()=>{var e,t,r;if(D===m){const n=null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.FB)||void 0===t?void 0:t.XFBML)||void 0===r?void 0:r.parse;n?(n(),I(y)):console.error("Facebook embed script not found. Unable to process Facebook embed:",i)}},[D,i,Y.window]),a.default.useEffect(()=>{const e=new d.Subs;return D===y&&(e.setInterval(()=>{if(Y.document){const e=Y.document.getElementById(R.current);if(e){const t=e.getElementsByClassName("fb-post")[0];t&&t.children.length>0&&I(v)}}},1),E||e.setTimeout(()=>{I(g)},T)),e.createCleanup()},[E,T,D,Y.document]),a.default.useEffect(()=>{D===g&&(F(Date.now()),I(m))},[D]);const U=!!(null==b?void 0:b.toString().includes("%")),H=!!(null==_?void 0:_.toString().includes("%")),$={maxWidth:U?void 0:550,width:void 0!==b?U?"100%":b:"100%",height:H?"100%":void 0!==_?_:void 0!==(null===(t=A.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=A.style)||void 0===r?void 0:r.maxHeight)?"100%":372,border:"1px solid #dee2e6",borderRadius:3},W=null!=M?M:a.default.createElement(l.PlaceholderEmbed,Object.assign({url:i,imageUrl:w,linkText:x,spinner:O,spinnerDisabled:j},S,{style:Object.assign(Object.assign({},$),null==S?void 0:S.style)}));return a.default.createElement("div",Object.assign({},A,{className:(0,o.default)("rsme-embed rsme-facebook-embed",A.className),style:Object.assign({overflow:"hidden",width:null!=b?b:void 0,height:null!=_?_:void 0,borderRadius:3},A.style)}),a.default.createElement(u.EmbedStyle,null),a.default.createElement("div",{id:R.current,className:(0,o.default)(!N&&"rsme-d-none")},a.default.createElement("div",{key:B,className:"fb-post","data-href":i,"data-width":U?"100%":null!=b?b:550,style:{width:U?"100%":null!=b?b:550,height:H?"100%":null!=_?_:void 0}})),!N&&!k&&W)}},69495:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
153),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InstagramEmbed=void 0;const l=s(r(56687)),c=o(r(40809)),u=r(37568),d=r(98916),f=r(16969),p=r(35462),h=r(33724),m="check-script",y="load-script",g="confirm-script-loaded",v="process-embed",b="confirm-embed-success",_="retrying";t.InstagramEmbed=e=>{var t,r,{url:n,width:i,height:o,linkText:s="View post on Instagram",captioned:x=!1,placeholderImageUrl:w,placeholderSpinner:O,placeholderSpinnerDisabled:j=!1,placeholderProps:S,embedPlaceholder:M,placeholderDisabled:k=!1,scriptLoadDisabled:P=!1,retryDelay:T=5e3,retryDisabled:E=!1,igVersion:C="14",frame:L,debug:A=!1}=e,D=a(e,["url","width","height","linkText","captioned","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled","scriptLoadDisabled","retryDelay","retryDisabled","igVersion","frame","debug"]);const[I,N]=c.useState(m),R=c.useRef((0,p.generateUUID)()),[z,F]=c.useState(Date.now()),B=c.useMemo(()=>`${R.current}-${z}`,[z]),Y=(0,d.useFrame)(L);c.useEffect(()=>{A&&console.log(`[${(new Date).toISOString()}]: ${I}`)},[A,I]),c.useEffect(()=>{var e,t,r;I===m&&((null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.instgrm)||void 0===t?void 0:t.Embeds)||void 0===r?void 0:r.process)?N(v):P?console.error("Instagram embed script not found. Unable to process Instagram embed:",n):N(y))},[P,I,n,Y.window]),c.useEffect(()=>{if(I===y&&Y.document){const e=Y.document.createElement("script");e.setAttribute("src","https://www.instagram.com/embed.js"),Y.document.head.appendChild(e),N(g)}},[I,Y.document]),c.useEffect(()=>{const e=new u.Subs;return I===g&&e.setInterval(()=>{var e,t,r;(null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.instgrm)||void 0===t?void 0:t.Embeds)||void 0===r?void 0:r.process)&&N(v)},1),e.createCleanup()},[I,Y.window]),c.useEffect(()=>{var e,t,r;if(I===v){const i=null===(r=null===(t=null===(e=Y.window)||void 0===e?void 0:e.instgrm)||void 0===t?void 0:t.Embeds)||void 0===r?void 0:r.process;i?(i(),N(b)):console.error("Instagram embed script not found. Unable to process Instagram embed:",n)}},[I,Y.window,n]),c.useEffect(()=>{const e=new u.Subs;return I===b&&(e.setInterval(()=>{if(Y.document){Y.document.getElementById(R.current)||N("embed-success")}},1),E||e.setTimeout(()=>{N(_)},T)),e.createCleanup()},[T,E,I,Y.document]),c.useEffect(()=>{I===_&&(F(Date.now()),N(v))},[I]);const U=n.split(/[?#]/)[0].replace(/\.com\/.*?\/p/,".com/p").replace(/\.com\/.*?\/reel/,".com/reel"),H=`${U}${U.endsWith("/")?"":"/"}`,$=!!(null==i?void 0:i.toString().includes("%")),W={minWidth:$?void 0:328,width:void 0!==i?$?"100%":i:"100%",height:!!(null==o?void 0:o.toString().includes("%"))?"100%":void 0!==o?o:void 0!==(null===(t=D.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=D.style)||void 0===r?void 0:r.maxHeight)?"100%":372,border:"1px solid #dee2e6",borderRadius:3},V=null!=M?M:c.createElement(f.PlaceholderEmbed,Object.assign({url:H,imageUrl:w,linkText:s,spinner:O,spinnerDisabled:j},S,{style:Object.assign(Object.assign({},W),null==S?void 0:S.style)}));return c.createElement("div",Object.assign({},D,{className:(0,l.default)("rsme-embed rsme-instagram-embed",R.current,D.className),style:Object.assign(Object.assign({overflow:"hidden",width:null!=i?i:void 0,height:null!=o?o:void 0,borderRadius:3},D.style),{position:"relative"})}),c.createElement(h.EmbedStyle,null),c.createElement("blockquote",{key:B,className:"instagram-media","data-instgrm-permalink":`${H}?utm_source=ig_embed&utm_campaign=loading`,"data-instgrm-version":C,"data-instgrm-captioned":x||void 0,"data-width":$?"100%":null!=i?i:void 0,style:{width:"calc(100% - 2px)"}},!k&&V,c.createElement("div",{id:R.current,className:"instagram-media-pre-embed rsme-d-none"},"Â ")))}},56731:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
153i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedInEmbed=void 0;const l=s(r(56687)),c=o(r(40809)),u=r(16969),d=r(33724);t.LinkedInEmbed=e=>{var t,r,{url:n,postUrl:i,width:o,height:s=500,linkText:f="View post on LinkedIn",placeholderImageUrl:p,placeholderSpinner:h,placeholderSpinnerDisabled:m=!1,placeholderProps:y,embedPlaceholder:g,placeholderDisabled:v=!1}=e,b=a(e,["url","postUrl","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled"]);const[_,x]=c.useState(!1),w={minWidth:250,maxWidth:550,width:void 0!==o?o:"100%",height:void 0!==s?s:void 0!==(null===(t=b.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=b.style)||void 0===r?void 0:r.maxHeight)?"100%":550,border:"solid 1px rgba(0, 0, 0, 0.15)",borderRadius:8},O=null!=g?g:c.createElement(u.PlaceholderEmbed,Object.assign({url:null!=i?i:n,imageUrl:p,linkText:f,spinner:h,spinnerDisabled:m},y,{style:Object.assign(Object.assign({},w),null==y?void 0:y.style)}));return c.createElement("div",Object.assign({},b,{className:(0,l.default)("rsme-embed rsme-linkedin-embed",b.className),style:Object.assign({overflow:"hidden",width:null!=o?o:void 0,height:null!=s?s:void 0,borderRadius:8},b.style)}),c.createElement(d.EmbedStyle,null),c.createElement("iframe",{className:(0,l.default)("linkedin-post",!_&&"rsme-d-none"),src:n,width:"100%",height:_?s:0,frameBorder:"0",onLoad:()=>x(!0)}),!_&&!v&&O)}},57401:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PinterestEmbed=void 0;const l=s(r(56687)),c=o(r(40809)),u=r(16969),d=r(33724);t.PinterestEmbed=e=>{var t,r,n,{url:i,postUrl:o,width:s,height:f=500,linkText:p="View post on Pinterest",placeholderImageUrl:h,placeholderSpinner:m,placeholderSpinnerDisabled:y=!1,placeholderProps:g,embedPlaceholder:v,placeholderDisabled:b=!1}=e,_=a(e,["url","postUrl","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled"]);const[x,w]=c.useState(!1),O={minWidth:250,maxWidth:550,width:void 0!==s?s:"100%",height:void 0!==f?f:void 0!==(null===(t=_.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=_.style)||void 0===r?void 0:r.maxHeight)?"100%":550,border:"solid 1px rgba(0, 0, 0, 0.15)",borderRadius:8},j=null!=v?v:c.createElement(u.PlaceholderEmbed,Object.assign({url:null!=o?o:i,imageUrl:h,linkText:p,spinner:m,spinnerDisabled:y},g,{style:Object.assign(Object.assign({},O),null==g?void 0:g.style)})),S=null===(n=i.match(/pin\/([\w\d_-]+)/))||void 0===n?void 0:n[1],M=null!=S?S:"000000000000000000";return c.createElement("div",Object.assign({},_,{className:(0,l.default)("rsme-embed rsme-pinterest-embed",_.className),style:Object.assign({overflow:"hidden",
153width:null!=s?s:void 0,height:null!=f?f:void 0,borderRadius:8},_.style)}),c.createElement(d.EmbedStyle,null),c.createElement("iframe",{className:(0,l.default)("pinterest-post",!x&&"rsme-d-none"),src:`https://assets.pinterest.com/ext/embed.html?id=${M}`,width:"100%",height:x?f:0,frameBorder:"0",scrolling:"no",onLoad:()=>w(!0)}),!x&&!b&&j)}},11599:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TikTokEmbed=void 0;const o=i(r(56687)),a=i(r(40809)),s=r(37568),l=r(98916),c=r(16969),u=r(35462),d=r(33724),f="process-embed",p="confirm-embed-success",h="retrying";t.TikTokEmbed=e=>{var t,r,{url:i,width:m,height:y,linkText:g="View post on TikTok",placeholderImageUrl:v,placeholderSpinner:b,placeholderSpinnerDisabled:_=!1,placeholderProps:x,embedPlaceholder:w,placeholderDisabled:O=!1,scriptLoadDisabled:j=!1,retryDelay:S=5e3,retryDisabled:M=!1,frame:k,debug:P=!1}=e,T=n(e,["url","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled","scriptLoadDisabled","retryDelay","retryDisabled","frame","debug"]);const[E,C]=a.default.useState(f),L=a.default.useRef((0,u.generateUUID)()),[A,D]=a.default.useState(Date.now()),I=a.default.useMemo(()=>`${L.current}-${A}`,[A]),N=(0,l.useFrame)(k);a.default.useEffect(()=>{P&&console.log(`[${(new Date).toISOString()}]: ${E}`)},[P,E]),a.default.useEffect(()=>{if(E===f&&N.document&&!j){const e="tiktok-embed-script",t=N.document.getElementById(e);t&&t.remove();const r=N.document.createElement("script");r.setAttribute("src",`https://www.tiktok.com/embed.js?t=${Date.now()}`),r.setAttribute("id",e),N.document.head.appendChild(r),C(p)}},[j,E,N.document]),a.default.useEffect(()=>{const e=new s.Subs;return E===p&&(e.setInterval(()=>{if(N.document){N.document.getElementById(L.current)||C("embed-success")}},1),M||e.setTimeout(()=>{C(h)},S)),e.createCleanup()},[S,M,E,N.document]),a.default.useEffect(()=>{E===h&&(D(Date.now()),C(f))},[E]);const R=i.replace(/[?].*$/,"").replace(/^.+\//,""),z={minWidth:325,maxWidth:480,width:void 0!==m?m:"100%",height:void 0!==y?y:void 0!==(null===(t=T.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=T.style)||void 0===r?void 0:r.maxHeight)?"100%":550,border:"solid 1px rgba(22,24,35,0.12)",borderRadius:8},F=null!=w?w:a.default.createElement(c.PlaceholderEmbed,Object.assign({url:i,imageUrl:v,linkText:g,spinner:b,spinnerDisabled:_},x,{style:Object.assign(Object.assign({},z),null==x?void 0:x.style)}));return a.default.createElement("div",Object.assign({},T,{className:(0,o.default)("rsme-embed rsme-tiktok-embed",T.className),style:Object.assign({overflow:"hidden",width:null!=m?m:void 0,height:null!=y?y:void 0,borderRadius:8},T.style)}),a.default.createElement(d.EmbedStyle,null),a.default.createElement("div",{className:"tiktok-embed-container"},a.default.createElement("blockquote",{key:I,className:"tiktok-embed",cite:i,"data-video-id":R},O?a.default.createElement("div",{id:L.current,style:{display:"none"}},"Â "):a.default.createElement("div",{id:L.current,style:{display:"flex",justifyContent:"center"}},F))))}},68278:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterEmbed=void 0;const n=r(75619);t.TwitterEmbed=n.XEmbed},75619:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
153),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.XEmbed=void 0;const l=s(r(56687)),c=o(r(40809)),u=r(37540),d=r(16969),f=r(33724);t.XEmbed=e=>{var t,r,{url:n,width:i,height:o,linkText:s="View post on X",placeholderImageUrl:p,placeholderSpinner:h,placeholderSpinnerDisabled:m=!1,placeholderProps:y,embedPlaceholder:g,placeholderDisabled:v,twitterTweetEmbedProps:b}=e,_=a(e,["url","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled","twitterTweetEmbedProps"]);const x=n.substring(n.lastIndexOf("/")+1).replace(/[?].*$/,""),w=!!(null==i?void 0:i.toString().includes("%")),O={minWidth:250,maxWidth:550,width:void 0!==i?w?"100%":i:"100%",height:!!(null==o?void 0:o.toString().includes("%"))?"100%":void 0!==o?o:void 0!==(null===(t=_.style)||void 0===t?void 0:t.height)||void 0!==(null===(r=_.style)||void 0===r?void 0:r.maxHeight)?"100%":350,border:"solid 1px #c9d4d9",borderRadius:12},j=null!=g?g:c.createElement(d.PlaceholderEmbed,Object.assign({url:n,imageUrl:p,linkText:s,spinner:h,spinnerDisabled:m},y,{style:Object.assign(Object.assign({},O),null==y?void 0:y.style)}));return c.createElement("div",Object.assign({},_,{className:(0,l.default)("rsme-embed rsme-twitter-embed",_.className),style:Object.assign({overflow:"hidden",width:null!=i?i:void 0,height:null!=o?o:void 0,borderRadius:12},_.style)}),c.createElement(f.EmbedStyle,null),c.createElement(u.TwitterTweetEmbed,Object.assign({tweetId:x,placeholder:v?void 0:j},b)))}},96636:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;const l=s(r(56687)),c=o(r(40809)),u=s(r(53727)),d=r(16969),f=r(33724);t.YouTubeEmbed=e=>{var t,r,n,i,o,s,p,h,m,y,g,v,b,{url:_,width:x,height:w,linkText:O="Watch on YouTube",placeholderImageUrl:j,placeholderSpinner:S,placeholderSpinnerDisabled:M=!1,placeholderProps:k,embedPlaceholder:P,placeholderDisabled:T,youTubeProps:E}=e,C=a(e,["url","width","height","linkText","placeholderImageUrl","placeholderSpinner","placeholderSpinnerDisabled","placeholderProps","embedPlaceholder","placeholderDisabled","youTubeProps"]);const[L,A]=c.useState(!1),D=null===(t=_.match(/[?&]v=(.+?)(?:$|[&?])/))||void 0===t?void 0:t[1],I=null===(r=_.match(/https:\/\/(?:www\.)?youtube\.com\/shorts\/(.+?)(?:$|[&?])/))||void 0===r?void 0:r[1],N=null===(n=_.match(/https:\/\/youtu\.be\/(.+?)(?:$|[&?])/))||void 0===n?void 0:n[1],R=null===(i=_.match(/https:\/\/(?:www\.)youtube(-nocookie)?\.com\/embed\/(.+?)(?:$|[&?])/))||void 0===i?void 0:i[2],z=null!==(p=null!==(s=null!==(o=null!=D?D:I)&&void 0!==o?o:N)&&void 0!==s?s:R)&&void 0!==p?p:"00000000",F=+(null!==(m=null===(h=_.match(/(.+?)(?:$|[&?])start=(\d+)/))||void 0===h?void 0:h[2])&&void 0!==m?m:0),B=!!(null==x?void 0:x.toString().includes("%")),Y=!!(null==w?void 0:w.toString().includes("%"));let U={};F&&(U.playerVars={start:F}),void 0!==x&&(U.width=B?"100%":`${x}`),void 0!==w&&(U.height=Y?"100%":`${w}`),U=Object.assign(Object.assign({},U),null==E?void 0:E.opts);const H={maxWidth:B?void 0:640,width:void 0!==x?B?"100%":x:"100%",height:Y?"100%":void 0!==w?w:void 0!==(null===(y=C.style)||void 0===y?void 0:y.height)||void 0!==(null===(g=C.style)||void 0===g?void 0:g.maxHeight)?"100%":360,border:"1px solid #dee2e6",borderRadius:0},$=null!=P?P:c.createElement(d.PlaceholderEmbed,Object.assign({url:_,imageUrl:j,linkText:O,spinner:S,spinnerDisabled:M},k,{style:Object.assign(Object.assign({},H),null==k?void 0:k.style)}));return c.createElement("div",Object.assign({},C,{className:(0,l.default)("rsme-embed rsme-youtube-embed",C.className),style:Object.assign({overflow:"hidden",
153width:null!=x?x:void 0,height:null!=w?w:void 0,borderRadius:0},C.style)}),c.createElement(f.EmbedStyle,null),c.createElement("div",{className:(0,l.default)(!L&&"rsme-d-none")},c.createElement(u.default,Object.assign({},E,{className:null!==(v=null==E?void 0:E.className)&&void 0!==v?v:"youtube-iframe",videoId:null!==(b=null==E?void 0:E.videoId)&&void 0!==b?b:z,opts:U,onReady:e=>{A(!0),E&&E.onReady&&(null==E||E.onReady(e))}}))),!L&&!T&&$)}},98916:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFrame=void 0;const i=n(r(40809));t.useFrame=e=>i.default.useMemo(()=>e||{document:"undefined"!=typeof document?document:void 0,window:"undefined"!=typeof window?window:void 0},[e])},16969:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PlaceholderEmbed=void 0;const o=i(r(56687)),a=i(r(40809)),s=r(33724),l=r(76109),c=r(17448),u=r(90798),d=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;t.PlaceholderEmbed=e=>{var t,{url:r,linkText:i="View post",imageUrl:f,spinner:p=a.default.createElement(l.BorderSpinner,null),allowJavaScriptUrls:h=!0,spinnerDisabled:m}=e,y=n(e,["url","linkText","imageUrl","spinner","allowJavaScriptUrls","spinnerDisabled"]);return d.test(r)&&!h?(console.warn("PlaceholderEmbed has blocked a javascript: URL as a security precaution"),null):a.default.createElement("div",Object.assign({},y,{className:(0,o.default)(y.className),style:Object.assign({overflow:"hidden",border:"1px solid #dee2e6",backgroundColor:"#ffffff",borderRadius:0,boxSizing:"border-box",position:"relative"},y.style)}),a.default.createElement(s.EmbedStyle,null),a.default.createElement("a",{href:r,style:{textDecoration:"none"},target:"_blank",rel:"noopener noreferrer"},!f&&a.default.createElement("div",{style:{position:"absolute",top:0,left:0,display:"flex",justifyContent:"space-between",alignItems:"start",paddingLeft:16,paddingRight:16,paddingTop:16,paddingBottom:16,zIndex:2,backgroundColor:"#ffffff"}},a.default.createElement(u.ProfilePlaceholder,null)),a.default.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:f?"start":"center",height:"100%",width:"100%"}},!f&&a.default.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",rowGap:16,zIndex:3,padding:8,backgroundColor:"#ffffff"}},!m&&p,!!i&&a.default.createElement("div",{style:{color:"#000000",fontFamily:"Arial,sans-serif",fontSize:"14px",fontStyle:"normal",fontWeight:550,lineHeight:"18px",textAlign:"center"}},i)),f&&(void 0!==(null===(t=y.style)||void 0===t?void 0:t.height)?a.default.createElement("div",{style:{width:"100%",height:"100%",background:`url("${f}")`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",marginBottom:"40"}}):a.default.createElement("div",{style:{width:"100%",marginBottom:40}},a.default.createElement("img",{src:f,style:{width:"100%"}})))),a.default.createElement("div",{style:{position:"absolute",bottom:0,left:0,height:40,width:"100%",backgroundColor:"#ffffff",zIndex:1}},!f&&a.default.createElement(c.EngagementIconsPlaceholder,{style:{marginLeft:16}}),f&&a.default.createElement("div",{style:{display:"flex",height:"100%",alignItems:"center",justifyContent:"space-between",columnGap:16}},a.default.createElement("div",{style:{color:"#0095f6",fontWeight:600,fontFamily:"Arial,sans-serif",fontSize:"14px",fontStyle:"normal",whiteSpace:"nowrap",marginLeft:16}},i),!m&&a.default.createElement("div",{style:{marginRight:16}},p)))))}},76109:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}
153,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSpinner=void 0;const o=i(r(56687)),a=i(r(40809));t.BorderSpinner=e=>{var t=n(e,[]);return a.default.createElement(a.default.Fragment,null,a.default.createElement("style",null,"\n .rsme-spinner {\n border: 3px solid rgba(0,0,0,0.75);\n border-right-color: transparent;\n border-radius: 50%;\n animation: rsme-spin 1s linear infinite;\n }\n @keyframes rsme-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n } \n "),a.default.createElement("div",Object.assign({},t,{className:(0,o.default)("rsme-spinner",t.className),style:Object.assign({width:10,height:10},t.style)})))}},17448:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ShareArrowIcon=t.ChatBubbleIcon=t.HeartIcon=t.EngagementIconsPlaceholder=void 0;const o=i(r(56687)),a=i(r(40809));t.EngagementIconsPlaceholder=e=>{var r=n(e,[]);return a.default.createElement("div",Object.assign({},r,{className:(0,o.default)(r.className),style:Object.assign({display:"flex",alignItems:"center",columnGap:14},r.style)}),a.default.createElement(t.HeartIcon,null),a.default.createElement(t.ChatBubbleIcon,null),a.default.createElement(t.ShareArrowIcon,null))};t.HeartIcon=e=>a.default.createElement("div",Object.assign({},e),a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"12.5px",width:"12.5px",transform:"translateX(0px) translateY(7px)"}}),a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",height:"12.5px",transform:"rotate(-45deg) translateX(3px) translateY(1px)",width:"12.5px",flexGrow:0,marginRight:"6px",marginLeft:"2px"}}),a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"12.5px",width:"12.5px",transform:"translateX(9px) translateY(-18px)"}}));t.ChatBubbleIcon=e=>a.default.createElement("div",Object.assign({},e),a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:"50%",height:"20px",width:"20px"}}),a.default.createElement("div",{style:{width:0,height:0,borderTop:"2px solid transparent",borderLeft:"6px solid #f4f4f4",borderBottom:"2px solid transparent",transform:"translateX(16px) translateY(-4px) rotate(30deg)"}}));t.ShareArrowIcon=e=>a.default.createElement("div",Object.assign({},e,{style:{height:25,width:25,transform:"translateX(0px) translateY(-2px)"}}),a.default.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",xmlSpace:"preserve"},a.default.createElement("path",{style:{fill:"#F4F4F4"},d:"M295.204,180.593C132.168,180.593,0,312.759,0,475.796\nc51.398-130.047,184.869-203.22,317.483-183.603L295.204,180.593z"}),a.default.createElement("path",{style:{fill:"#F4F4F4"},d:"M512,253L295.204,36.204v217.818C159.946,249.655,34.992,339.262,0,475.794\nc59.905-109.171,178.724-165.463,295.204-151.033v145.035L512,253z"})))},90798:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProfilePlaceholder=void 0;const o=i(r(56687)),a=i(r(40809));t.ProfilePlaceholder=e=>{var t=n(e,[]);return a.default.createElement("div",Object.assign({},t,{className:(0,o.default)(t.className),style:Object.assign({},t.style)}
153),a.default.createElement("div",{style:{display:"flex",columnGap:14}},a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:"50%",width:40,height:40}}),a.default.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",rowGap:6}},a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:4,width:100,height:14}}),a.default.createElement("div",{style:{backgroundColor:"#F4F4F4",borderRadius:4,width:60,height:14}}))))}},35462:function(e,t){"use strict";t.generateUUID=void 0;t.generateUUID=()=>{let e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"===r?n:3&n|8).toString(16)})}},39480:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(70681),t),i(r(69495),t),i(r(56731),t),i(r(57401),t),i(r(11599),t),i(r(68278),t),i(r(75619),t),i(r(96636),t),i(r(16969),t),i(r(76109),t)},37540:function(e,t,r){"use strict";r.d(t,{TwitterTweetEmbed:function(){return s}});var n=r(40809),i=r.n(n),o="https://platform.twitter.com/widgets.js",a="createTweet",s=function(e){var t=i().useRef(null),n=i().useState(!0),s=n[0],l=n[1];return i().useEffect(function(){var n=!0;return r(6253)(o,"twitter-embed",function(){if(window.twttr){if(n){if(!window.twttr.widgets[a])return void console.error("Method "+a+" is not present anymore in twttr.widget api");window.twttr.widgets[a](e.tweetId,null==t?void 0:t.current,e.options).then(function(t){l(!1),e.onLoad&&e.onLoad(t)})}}else console.error("Failure to load window.twttr, aborting load")}),function(){n=!1}},[]),i().createElement(i().Fragment,null,s&&i().createElement(i().Fragment,null,e.placeholder),i().createElement("div",{ref:t}))}},37568:function(e,t){"use strict";t.Subs=void 0;class r{static subscribe(e){try{return e()}catch(e){console.error(e)}return()=>{}}static subscribeEvent(e,t,r){return e.addListener(t,r),()=>{e.removeListener(t,r)}}static subscribeDOMEvent(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}static setTimeout(e,t,...r){const n=setTimeout(e,t,r);return()=>clearTimeout(n)}static setInterval(e,t,...r){const n=setInterval(e,t,r);return()=>clearInterval(n)}static unsubAll(e){if(Array.isArray(e))e.forEach(e=>{try{e()}catch(e){console.error(e)}});else try{e()}catch(e){console.error(e)}}static createCleanup(e){return()=>r.unsubAll(e)}}t.Subs=class{constructor(e=[]){this.list=e}subscribe(e){const t=r.subscribe(e);return this.push(t),t}subscribeEvent(e,t,n){const i=r.subscribeEvent(e,t,n);return this.push(i),i}subscribeDOMEvent(e,t,n){const i=r.subscribeDOMEvent(e,t,n);return this.push(i),i}setTimeout(e,t,...r){const n=setTimeout(e,t,r),i=()=>clearTimeout(n);return this.push(i),i}setInterval(e,t,...r){const n=setInterval(e,t,r),i=()=>clearInterval(n);return this.push(i),i}push(e){this.list.push(e)}unsubAll(){r.unsubAll(this.list),this.list.splice(0,this.list.length)}createCleanup(){return()=>{this.unsubAll()}}}},1232:function(e,t,r){"use strict";r.r(t),r.d(t,{CSSTransition:function(){return S},ReplaceTransition:function(){return I},SwitchTransition:function(){return U},Transition:function(){return w},TransitionGroup:function(){return C},config:function(){return f}});var n=r(15574);function i(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}r(19894);
vendor: 8,441 bytes, line 153
153function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=r(40809),c=r.n(l),u=r(91565),d=r.n(u),f={disabled:!1},p=c().createContext(null),h=function(e){return e.scrollTop},m="unmounted",y="exited",g="entering",v="entered",b="exiting",_=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var i,o=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?o?(i=y,n.appearStatus=g):i=v:i=t.unmountOnExit||t.mountOnEnter?m:y,n.state={status:i},n.nextCallback=null,n}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===m?{status:y}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==g&&r!==v&&(t=g):r!==g&&r!==v||(t=b)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===g){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:d().findDOMNode(this);r&&h(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===y&&this.setState({status:m})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[d().findDOMNode(this),n],o=i[0],a=i[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||f.disabled?this.safeSetState({status:v},function(){t.props.onEntered(o)}):(this.props.onEnter(o,a),this.safeSetState({status:g},function(){t.props.onEntering(o,a),t.onTransitionEnd(l,function(){t.safeSetState({status:v},function(){t.props.onEntered(o,a)})})}))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:d().findDOMNode(this);t&&!f.disabled?(this.props.onExit(n),this.safeSetState({status:b},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:y},function(){e.props.onExited(n)})})})):this.safeSetState({status:y},function(){e.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:d().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===m)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,i(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return c().createElement(p.Provider,{value:null},"function"==typeof r?r(e,n):c().cloneElement(c().Children.only(r),n))},t}(c().Component);function x(){}_.contextType=p,_.propTypes={},_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},_.UNMOUNTED=m,_.EXITED=y,_.ENTERING=g,_.ENTERED=v,_.EXITING=b;var w=_,O=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return n=t,void((r=e).classList?r.classList.remove(n):"string"==typeof r.className?r.className=s(r.className,n):r.setAttribute("class",s(r.className&&r.className.baseVal||"",n)));var r,n})},j=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,r){var n=t.resolveArguments(e,r),i=n[0],o=n[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.resolveArguments(e,r),i=n[0],o=n[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.resolveArguments(e,r),i=n[0],o=n[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"appear"),t.removeClasses(r,"enter"),t.addClass(r,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.resolveArguments(e)[0];t.addClass(r,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"exit"),t.addClass(r,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,r){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,r]},t.getClassNames=function(e){var r=t.props.classNames,n="string"==typeof r,i=n?""+(n&&r?r+"-":"")+e:r[e];return{baseClassName:i,activeClassName:n?i+"-active":r[e+"Active"],doneClassName:n?i+"-done":r[e+"Done"]}},t}a(t,e);var r=t.prototype;return r.addClass=function(e,t,r){var n=this.getClassNames(t)[r+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===r&&i&&(n+=" "+i),"active"===r&&e&&h(e),n&&(this.appliedClasses[t][r]=n,function(e,t){e&&t&&t.split(" ").forEach(function(t){return n=t,void((r=e).classList?r.classList.add(n):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(r,n)||("string"==typeof r.className?r.className=r.className+" "+n:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+n)));var r,n})}(e,n))},r.removeClasses=function(e,t){var r=this.appliedClasses[t],n=r.base,i=r.active,o=r.done;this.appliedClasses[t]={},n&&O(e,n),i&&O(e,i),o&&O(e,o)},r.render=function(){var e=this.props,t=(e.classNames,i(e,["classNames"]));return c().createElement(w,(0,n.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c().Component);j.defaultProps={classNames:""},j.propTypes={};var S=j;function M(e,t){var r=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)}),r}function k(e,t,r){return null!=r[t]?r[t]:e.props[t]}function P(e,t,r){var n=M(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var c=i[l][n];s[i[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(t,n);return Object.keys(i).forEach(function(o){var a=i[o];if((0,l.isValidElement)(a)){var s=o in t,c=o in n,u=t[o],d=(0,l.isValidElement)(u)&&!u.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,l.isValidElement)(u)&&(i[o]=(0,l.cloneElement)(a,{onExited:r.bind(null,a),in:u.props.in,exit:k(a,"exit",e),enter:k(a,"enter",e)})):i[o]=(0,l.cloneElement)(a,{in:!1}):i[o]=(0,l.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:k(a,"exit",e),enter:k(a,"enter",e)})}}),i}var T=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},E=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}a(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,o=t.handleExited;
153return{children:t.firstRender?(r=e,n=o,M(r.children,function(e){return(0,l.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:k(e,"appear",r),enter:k(e,"enter",r),exit:k(e,"exit",r)})})):P(e,i,o),firstRender:!1}},r.handleExited=function(e,t){var r=M(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,n.A)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=i(e,["component","childFactory"]),o=this.state.contextValue,a=T(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?c().createElement(p.Provider,{value:o},a):c().createElement(p.Provider,{value:o},c().createElement(t,n,a))},t}(c().Component);E.propTypes={},E.defaultProps={component:"div",childFactory:function(e){return e}};var C=E,L=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).handleEnter=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEnter",0,r)},t.handleEntering=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntering",0,r)},t.handleEntered=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onEntered",0,r)},t.handleExit=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExit",1,r)},t.handleExiting=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExiting",1,r)},t.handleExited=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.handleLifecycle("onExited",1,r)},t}a(t,e);var r=t.prototype;return r.handleLifecycle=function(e,t,r){var n,i=this.props.children,o=c().Children.toArray(i)[t];if(o.props[e]&&(n=o.props)[e].apply(n,r),this.props[e]){var a=o.props.nodeRef?void 0:d().findDOMNode(this);this.props[e](a)}},r.render=function(){var e=this.props,t=e.children,r=e.in,n=i(e,["children","in"]),o=c().Children.toArray(t),a=o[0],s=o[1];return delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,c().createElement(C,n,r?c().cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):c().cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(c().Component);L.propTypes={};var A,D,I=L;var N="out-in",R="in-out",z=function(e,t,r){return function(){var n;e.props[t]&&(n=e.props)[t].apply(n,arguments),r()}},F=((A={})[N]=function(e){var t=e.current,r=e.changeState;return c().cloneElement(t,{in:!1,onExited:z(t,"onExited",function(){r(g,null)})})},A[R]=function(e){var t=e.current,r=e.changeState,n=e.children;return[t,c().cloneElement(n,{in:!0,onEntered:z(n,"onEntered",function(){r(g)})})]},A),B=((D={})[N]=function(e){var t=e.children,r=e.changeState;return c().cloneElement(t,{in:!0,onEntered:z(t,"onEntered",function(){r(v,c().cloneElement(t,{in:!0}))})})},D[R]=function(e){var t=e.current,r=e.children,n=e.changeState;return[c().cloneElement(t,{in:!1,onExited:z(t,"onExited",function(){n(v,c().cloneElement(r,{in:!0}))})}),c().cloneElement(r,{in:!0})]},D),Y=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state={status:v,current:null},t.appeared=!1,t.changeState=function(e,r){void 0===r&&(r=t.state.current),t.setState({status:e,current:r})},t}a(t,e);var r=t.prototype;return r.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===g&&e.mode===R?{status:g}:!t.current||(r=t.current,n=e.children,r===n||c().isValidElement(r)&&c().isValidElement(n)&&null!=r.key&&r.key===n.key)?{current:c().cloneElement(e.children,{in:!0})}:{status:b};var r,n},r.render=function(){var e,t=this.props,r=t.children,n=t.mode,i=this.state,o=i.status,a=i.current,s={children:r,current:a,changeState:this.changeState,status:o};switch(o){case g:e=B[n](s);break;case b:e=F[n](s);break;case v:e=a}return c().createElement(p.Provider,{value:{isMounting:!this.appeared}},e)},t}(c().Component);Y.propTypes={},Y.defaultProps={mode:N};var U=Y},53727:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return j}});var n=r(19894),i=r.n(n),o=r(40809),a=r.n(o),s=r(23259),l=r.n(s),c=r(14307),u=r.n(c),d=Object.defineProperty,f=Object.defineProperties,p=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>
153{for(var r in t||(t={}))m.call(t,r)&&g(e,r,t[r]);if(h)for(var r of h(t))y.call(t,r)&&g(e,r,t[r]);return e},b=(e,t)=>f(e,p(t));function _(e={}){return b(v({},e),{height:0,width:0,playerVars:b(v({},e.playerVars),{autoplay:0,start:0,end:0})})}var x={videoId:i().string,id:i().string,className:i().string,iframeClassName:i().string,style:i().object,title:i().string,loading:i().oneOf(["lazy","eager"]),opts:i().objectOf(i().any),onReady:i().func,onError:i().func,onPlay:i().func,onPause:i().func,onEnd:i().func,onStateChange:i().func,onPlaybackRateChange:i().func,onPlaybackQualityChange:i().func},w=class extends a().Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,r;return null==(r=(t=this.props).onReady)?void 0:r.call(t,e)},this.onPlayerError=e=>{var t,r;return null==(r=(t=this.props).onError)?void 0:r.call(t,e)},this.onPlayerStateChange=e=>{var t,r,n,i,o,a,s,l;switch(null==(r=(t=this.props).onStateChange)||r.call(t,e),e.data){case w.PlayerState.ENDED:null==(i=(n=this.props).onEnd)||i.call(n,e);break;case w.PlayerState.PLAYING:null==(a=(o=this.props).onPlay)||a.call(o,e);break;case w.PlayerState.PAUSED:null==(l=(s=this.props).onPause)||l.call(s,e)}},this.onPlayerPlaybackRateChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackRateChange)?void 0:r.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackQualityChange)?void 0:r.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("undefined"==typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);const e=b(v({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=u()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then(e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,r,n;if(void 0===this.props.videoId||null===this.props.videoId)return void(null==(e=this.internalPlayer)||e.stopVideo());let i=!1;const o={videoId:this.props.videoId};(null==(t=this.props.opts)?void 0:t.playerVars)&&(i=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(o.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(o.endSeconds=this.props.opts.playerVars.end)),i?null==(r=this.internalPlayer)||r.loadVideoById(o):null==(n=this.internalPlayer)||n.cueVideoById(o)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){return t=this,r=null,n=function*(){(function(e,t){var r,n,i,o;return e.id!==t.id||e.className!==t.className||(null==(r=e.opts)?void 0:r.width)!==(null==(n=t.opts)?void 0:n.width)||(null==(i=e.opts)?void 0:i.height)!==(null==(o=t.opts)?void 0:o.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title})(e,this.props)&&this.updatePlayer(),function(e,t){return e.videoId!==t.videoId||!l()(_(e.opts),_(t.opts))}(e,this.props)&&(yield this.resetPlayer()),function(e,t){var r,n;if(e.videoId!==t.videoId)return!0;const i=(null==(r=e.opts)?void 0:r.playerVars)||{},o=(null==(n=t.opts)?void 0:n.playerVars)||{};return i.start!==o.start||i.end!==o.end}(e,this.props)&&this.updateVideo()},new Promise((e,i)=>{var o=e=>
153{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,a);s((n=n.apply(t,r)).next())});var t,r,n}componentWillUnmount(){this.destroyPlayer()}render(){return a().createElement("div",{className:this.props.className,style:this.props.style},a().createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}},O=w;O.propTypes=x,O.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},O.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var j=O},79148:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(e,t,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return t=n.ref,{$$typeof:r,type:e,key:i,ref:void 0!==t?t:null,props:n}}t.Fragment=n,t.jsx=i,t.jsxs=i},34766:function(e,t,r){"use strict";e.exports=r(79148)},27241:function(e,t){"use strict";var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.isFragment=function(e){return g(e)===o}},97925:function(e,t,r){"use strict";e.exports=r(27241)},80437:function(e,t,r){"use strict";r.r(t);var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,i=0;function o(){r&&(r=!1,e()),n&&l()}function s(){a(o)}function l(){var e=Date.now();if(r){if(e-i<2)return;n=!0}else r=!0,n=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
153w e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=v(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+p(e["border-"+r+"-width"])},0)}function m(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return f;var n=d(e).getComputedStyle(e),i=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=e["padding-"+i];t[i]=p(o)}return t}(n),o=i.left+i.right,a=i.top+i.bottom,s=p(n.width),l=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+o)!==t&&(s-=h(n,"left","right")+o),Math.round(l+a)!==r&&(l-=h(n,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return v(i.left,i.top,s,l)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?y(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):m(e):f}function v(e,t,r,n){return{x:e,y:t,width:r,height:n}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var r,n,i,o,a,s,l,c=(n=(r=t).x,i=r.y,o=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:n,y:i,width:o,height:a,top:i,right:n+o,bottom:a+i,left:n}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new _(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=c.getInstance(),n=new x(t,r,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){O.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var j=void 0!==o.ResizeObserver?o.ResizeObserver:O;t.default=j},6253:function(e,t,r){var n,i,o;o=function(){var e,t,r=document,n=r.getElementsByTagName("head")[0],i="push",o="readyState",a="onreadystatechange",s={},l={},c={},u={};function d(e,t){for(var r=0,n=e.length;r<n;++r)if(!t(e[r]))return!1;return 1}function f(e,t){d(e,function(e){return t(e),1})}function p(t,r,n){t=t[i]?t:[t];var o=r&&r.call,a=o?r:n,m=o?t.join(""):r,y=t.length;function g(e){return e.call?e():s[e]}function v(){if(! --y)for(var e in s[m]=1,a&&a(),c)d(e.split("|"),g)&&!f(c[e],g)&&(c[e]=[])}return setTimeout(function(){f(t,function t(r,n){return null===r?v():(n||/^https?:\/\//.test(r)||!e||(r=-1===r.indexOf(".js")?e+r+".js":e+r),u[r]?(m&&(l[m]=1),2==u[r]?v():setTimeout(function(){t(r,!0)},0)):(u[r]=1,m&&(l[m]=1),void h(r,v)))})},0),p}function h(e,i){var s,l=r.createElement("script");l.onload=l.onerror=l[a]=function(){l[o]&&!/^c|loade/.test(l[o])||s||(l.onload=l[a]=null,
153s=1,u[e]=2,i())},l.async=1,l.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,n.insertBefore(l,n.lastChild)}return p.get=h,p.order=function(e,t,r){!function n(i){i=e.shift(),e.length?p(i,n):p(i,t,r)}()},p.path=function(t){e=t},p.urlArgs=function(e){t=e},p.ready=function(e,t,r){e=e[i]?e:[e];var n,o=[];return!f(e,function(e){s[e]||o[i](e)})&&d(e,function(e){return s[e]})?t():(n=e.join("|"),c[n]=c[n]||[],c[n][i](t),r&&r(o)),p},p.done=function(e){p([null],e)},p},e.exports?e.exports=o():void 0===(i="function"==typeof(n=o)?n.call(t,r,t,e):n)||(e.exports=i)},37696:function(e){"use strict";var t;t=function(){var e={},t={};return e.on=function(e,r){var n={name:e,handler:r};return t[e]=t[e]||[],t[e].unshift(n),n},e.off=function(e){var r=t[e.name].indexOf(e);-1!==r&&t[e.name].splice(r,1)},e.trigger=function(e,r){var n,i=t[e];if(i)for(n=i.length;n--;)i[n].handler(r)},e},e.exports=t},75186:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},55804:function(e,t,r){e.exports=r(65576)},6335:function(e,t,r){e.exports=r(94595)},49083:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slice=t.map=void 0;var r=Array.prototype,n=r.slice;t.slice=n;var i=r.map;t.map=i},5816:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}},33619:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=s.default,t=a.default,r=u.default;function d(n){Array.isArray(n)||(n=Array.from(n));var o,s,u,d=n.length,f=new Array(d);for(o=0;o<d;++o)f[o]=e(n[o],o,n);var p=t(f),h=p[0],m=p[1],y=r(f,h,m);if(!Array.isArray(y)){const e=m,r=+y;if(t===a.default&&([h,m]=(0,l.default)(h,m,r)),(y=(0,c.default)(h,m,r))[0]<=h&&(u=(0,c.tickIncrement)(h,m,r)),y[y.length-1]>=m)if(e>=m&&t===a.default){const e=(0,c.tickIncrement)(h,m,r);isFinite(e)&&(e>0?m=(Math.floor(m/e)+1)*e:e<0&&(m=(Math.ceil(m*-e)+1)/-e))}else y.pop()}for(var g=y.length;y[0]<=h;)y.shift(),--g;for(;y[g-1]>m;)y.pop(),--g;var v,b=new Array(g+1);for(o=0;o<=g;++o)(v=b[o]=[]).x0=o>0?y[o-1]:h,v.x1=o<g?y[o]:m;if(isFinite(u)){if(u>0)for(o=0;o<d;++o)null!=(s=f[o])&&h<=s&&s<=m&&b[Math.min(g,Math.floor((s-h)/u))].push(n[o]);else if(u<0)for(o=0;o<d;++o)if(null!=(s=f[o])&&h<=s&&s<=m){const e=Math.floor((h-s)*u);b[Math.min(g,e+(y[e]<=s))].push(n[o])}}else for(o=0;o<d;++o)null!=(s=f[o])&&h<=s&&s<=m&&b[(0,i.default)(y,s,0,g)].push(n[o]);return b}return d.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.default)(t),d):e},d.domain=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.default)([e[0],e[1]]),d):t},d.thresholds=function(e){return arguments.length?(r="function"==typeof e?e:Array.isArray(e)?(0,o.default)(n.slice.call(e)):(0,o.default)(e),d):r},d};var n=r(49083),i=f(r(21550)),o=f(r(21160)),a=f(r(54228)),s=f(r(29282)),l=f(r(57681)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(77956)),u=f(r(63571));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}},21550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.bisectRight=t.bisectLeft=t.bisectCenter=void 0;var n=a(r(5816)),i=a(r(36635)),o=a(r(39833));function a(e){return e&&e.__esModule?e:{default:e}}const s=(0,i.default)(n.default),l=s.right;t.bisectRight=l;const c=s.left;t.bisectLeft=c;const u=(0,i.default)(o.default).center;t.bisectCenter=u;var d=l;t.default=d},36635:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t,r,o;2!==e.length?(t=n.default,r=(t,r)=>(0,n.default)(e(t),r),o=(t,r)=>e(t)-r):(t=e===n.default||e===i.default?e:a,r=e,o=e);
153function s(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<0?i=t+1:o=t}while(i<o)}return i}return{left:s,center:function(e,t,r=0,n=e.length){const i=s(e,t,r,n-1);return i>r&&o(e[i-1],t)>-o(e[i],t)?i-1:i},right:function(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<=0?i=t+1:o=t}while(i<o)}return i}}};var n=o(r(5816)),i=o(r(61250));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return 0}},21160:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return()=>e}},1609:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&++r;else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(i=+i)>=i&&++r}return r}},14654:function(e,t){"use strict";function r(e){return 0|e.length}function n(e){return!(e>0)}function i(e){return"object"!=typeof e||"length"in e?e:Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){const t="function"==typeof e[e.length-1]&&function(e){return t=>e(...t)}(e.pop()),o=(e=e.map(i)).map(r),a=e.length-1,s=new Array(a+1).fill(0),l=[];if(a<0||o.some(n))return l;for(;;){l.push(s.map((t,r)=>e[r][t]));let r=a;for(;++s[r]===o[r];){if(0===r)return t?l.map(t):l;s[r--]=0}}}},24166:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=0,n=0;return Float64Array.from(e,void 0===t?e=>r+=+e||0:i=>r+=+t(i,n++,e)||0)}},61250:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}},44097:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,i.default)(e,t);return r?Math.sqrt(r):r};var n,i=(n=r(20567))&&n.__esModule?n:{default:n}},22167:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){e=new n.InternSet(e);for(const r of t)for(const t of r)e.delete(t);return e};var n=r(83573)},47432:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t[Symbol.iterator](),i=new n.InternSet;for(const t of e){if(i.has(t))return!1;let e,n;for(;({value:e,done:n}=r.next())&&!n;){if(Object.is(t,e))return!1;i.add(e)}}return!0};var n=r(83573)},35813:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("function"!=typeof t)throw new TypeError("test is not a function");let r=-1;for(const n of e)if(!t(n,++r,e))return!1;return!0}},54228:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r,n;if(void 0===t)for(const t of e)null!=t&&(void 0===r?t>=t&&(r=n=t):(r>t&&(r=t),n<t&&(n=t)));else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(void 0===r?o>=o&&(r=n=o):(r>o&&(r=o),n<o&&(n=o)))}return[r,n]}},66434:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("function"!=typeof t)throw new TypeError("test is not a function");const r=[];let n=-1;for(const i of e)t(i,++n,e)&&r.push(i);return r}},38609:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Adder=void 0,t.fcumsum=function(e,t){const n=new r;let i=-1;return Float64Array.from(e,void 0===t?e=>n.add(+e||0):r=>n.add(+t(r,++i,e)||0))},t.fsum=function(e,t){const n=new r;if(void 0===t)for(let t of e)(t=+t)&&n.add(t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&n.add(i)}return+n};class r{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let r=0;for(let n=0;n<this._n&&n<32;n++){const i=t[n],o=e+i,a=Math.abs(e)<Math.abs(i)?e-(o-i):i-(o-e);a&&(t[r++]=a),e=o}return t[r]=e,this._n=r+1,this}valueOf(){const e=this._partials;let t,r,n,i=this._n,o=0;if(i>0){for(o=e[--i];i>0&&(t=o,r=e[--i],o=t+r,n=r-(o-t),!n););i>0&&(n<0&&e[i-1]<0||n>0&&e[i-1]>0)&&(r=2*n,t=o+r,r==t-o&&(o=t))}return o}}t.Adder=r},14531:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=i.default){let r,n=!1;if(1===t.length){let o;for(const a of e){const e=t(a);(n?(0,i.default)(e,o)>0:0===(0,i.default)(e,e))&&(r=a,o=e,n=!0)}}else for(const i of e)(n?t(i,r)>0:0===t(i,i))&&(r=i,n=!0);return r};var n,i=(n=r(5816))&&n.__esModule?n:{default:n}},93655:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=n.default){if(1===t.length)return(0,i.default)(e,t);let r,o=-1,a=-1;for(const n of e)++a,(o<0?0===t(n,n):t(n,r)>0)&&(r=n,o=a);return o};var n=o(r(5816)),i=o(r(18654));function o(e){return e&&e.__esModule?e:{default:e}}},2449:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){return u(e,o.default,o.default,t)},t.flatGroup=function(e,...t){return s(a(e,...t),t)},t.flatRollup=function(e,t,...r){return s(l(e,t,...r),r)},t.groups=a,t.index=function(e,...t){return u(e,o.default,c,t)},t.indexes=function(e,...t){return u(e,Array.from,c,t)},t.rollup=function(e,t,...r){return u(e,o.default,t,r)},t.rollups=l;var n,i=r(83573),o=(n=r(29282))&&n.__esModule?n:{default:n};function a(e,...t){return u(e,Array.from,o.default,t)}function s(e,t){for(let r=1,n=t.length;r<n;++r)e=e.flatMap(e=>e.pop().map(([t,r])=>[...e,t,r]));return e}function l(e,t,...r){return u(e,Array.from,t,r)}function c(e){if(1!==e.length)throw new Error("duplicate key");return e[0]}function u(e,t,r,n){return function e(o,a){if(a>=n.length)return r(o);const s=new i.InternMap,l=n[a++];let c=-1;for(const e of o){const t=l(e,++c,o),r=s.get(t);r?r.push(e):s.set(t,[e])}for(const[t,r]of s)s.set(t,e(r,a));return t(s)}(e,0)}},93969:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(2!==t.length?(0,o.default)((0,i.rollup)(e,t,r),([e,t],[r,i])=>(0,n.default)(t,i)||(0,n.default)(e,r)):(0,o.default)((0,i.default)(e,r),([e,r],[i,o])=>t(r,o)||(0,n.default)(e,i))).map(([e])=>e)};var n=s(r(5816)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(2449)),o=s(r(28852));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function s(e){return e&&e.__esModule?e:{default:e}}},29282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},35334:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Adder",{enumerable:!0,get:function(){return f.Adder}}),Object.defineProperty(t,"InternMap",{enumerable:!0,get:function(){return ie.InternMap}}),Object.defineProperty(t,"InternSet",{enumerable:!0,get:function(){return ie.InternSet}}),Object.defineProperty(t,"ascending",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"bin",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"bisect",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"bisectCenter",{enumerable:!0,get:function(){return n.bisectCenter}}),Object.defineProperty(t,"bisectLeft",{enumerable:!0,get:function(){return n.bisectLeft}}),Object.defineProperty(t,"bisectRight",{enumerable:!0,get:function(){return n.bisectRight}}),Object.defineProperty(t,"bisector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"count",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"cross",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"cumsum",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"descending",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"deviation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"difference",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"disjoint",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"every",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"extent",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"fcumsum",{enumerable:!0,get:function(){return f.fcumsum}}),Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"flatGroup",{enumerable:!0,get:function(){return p.flatGroup}}),Object.defineProperty(t,"flatRollup",{enumerable:!0,get:function(){return p.flatRollup}}),Object.defineProperty(t,"fsum",{enumerable:!0,get:function(){return f.fsum}}),Object.defineProperty(t,"greatest",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"greatestIndex",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"group",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"groupSort",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"groups",{enumerable:!0,get:function(){return p.groups}}),Object.defineProperty(t,"histogram",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"index",{enumerable:!0,get:function(){return p.index}}),Object.defineProperty(t,"indexes",{enumerable:!0,get:function(){return p.indexes}}),Object.defineProperty(t,"intersection",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"least",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"leastIndex",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"map",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"maxIndex",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"mean",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"median",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"minIndex",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"mode",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"nice",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"permute",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"quantileSorted",{enumerable:!0,get:function(){return E.quantileSorted}}),Object.defineProperty(t,"quickselect",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"range",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"rank",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"reverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"rollup",{enumerable:!0,get:function(){return p.rollup}}),Object.defineProperty(t,"rollups",{enumerable:!0,get:function(){return p.rollups}}),Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"shuffle",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"shuffler",{enumerable:!0,get:function(){return F.shuffler}}),Object.defineProperty(t,"some",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"sort",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"subset",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"sum",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"superset",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"thresholdFreedmanDiaconis",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"thresholdScott",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"thresholdSturges",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"tickIncrement",{enumerable:!0,get:function(){return Y.tickIncrement}}),Object.defineProperty(t,"tickStep",{enumerable:!0,get:function(){return Y.tickStep}}),Object.defineProperty(t,"ticks",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"transpose",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"union",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"variance",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return $.default}});
153var n=se(r(21550)),i=oe(r(5816)),o=oe(r(36635)),a=oe(r(1609)),s=oe(r(14654)),l=oe(r(24166)),c=oe(r(61250)),u=oe(r(44097)),d=oe(r(54228)),f=r(38609),p=se(r(2449)),h=oe(r(93969)),m=oe(r(33619)),y=oe(r(33804)),g=oe(r(92873)),v=oe(r(63571)),b=oe(r(27332)),_=oe(r(18654)),x=oe(r(56269)),w=oe(r(4446)),O=oe(r(70974)),j=oe(r(83754)),S=oe(r(1220)),M=oe(r(88340)),k=oe(r(57681)),P=oe(r(2291)),T=oe(r(45180)),E=se(r(81106)),C=oe(r(17917)),L=oe(r(53883)),A=oe(r(56086)),D=oe(r(65839)),I=oe(r(92755)),N=oe(r(14531)),R=oe(r(93655)),z=oe(r(93865)),F=se(r(13887)),B=oe(r(96885)),Y=se(r(77956)),U=oe(r(68397)),H=oe(r(20567)),$=oe(r(62041)),W=oe(r(35813)),V=oe(r(94736)),q=oe(r(66434)),G=oe(r(60412)),Z=oe(r(45786)),X=oe(r(22536)),J=oe(r(28852)),K=oe(r(22167)),Q=oe(r(47432)),ee=oe(r(70621)),te=oe(r(74450)),re=oe(r(49141)),ne=oe(r(43257)),ie=r(83573);function oe(e){return e&&e.__esModule?e:{default:e}}function ae(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(ae=function(e){return e?r:t})(e)}function se(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=ae(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}},70621:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){e=new n.InternSet(e),t=t.map(i);e:for(const r of e)for(const n of t)if(!n.has(r)){e.delete(r);continue e}return e};var n=r(83573);function i(e){return e instanceof n.InternSet?e:new n.InternSet(e)}},65839:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=i.default){let r,n=!1;if(1===t.length){let o;for(const a of e){const e=t(a);(n?(0,i.default)(e,o)<0:0===(0,i.default)(e,e))&&(r=a,o=e,n=!0)}}else for(const i of e)(n?t(i,r)<0:0===t(i,i))&&(r=i,n=!0);return r};var n,i=(n=r(5816))&&n.__esModule?n:{default:n}},92755:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=n.default){if(1===t.length)return(0,i.default)(e,t);let r,o=-1,a=-1;for(const n of e)++a,(o<0?0===t(n,n):t(n,r)<0)&&(r=n,o=a);return o};var n=o(r(5816)),i=o(r(1220));function o(e){return e&&e.__esModule?e:{default:e}}},60412:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof t)throw new TypeError("mapper is not a function");return Array.from(e,(r,n)=>t(r,n,e))}},27332:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r;if(void 0===t)for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}},18654:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r,n=-1,i=-1;if(void 0===t)for(const t of e)++i,null!=t&&(r<t||void 0===r&&t>=t)&&(r=t,n=i);else for(let o of e)null!=(o=t(o,++i,e))&&(r<o||void 0===r&&o>=o)&&(r=o,n=i);return n}},56269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=0,n=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(++r,n+=t);else{let i=-1;for(let o of e)null!=(o=t(o,++i,e))&&(o=+o)>=o&&(++r,n+=o)}if(r)return n/r}},4446:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,.5,t)};var n,i=(n=r(81106))&&n.__esModule?n:{default:n}},70974:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.from(function*(e){for(const t of e)yield*t}(e))}},83754:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r;if(void 0===t)for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}},1220:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r,n=-1,i=-1;if(void 0===t)for(const t of e)++i,null!=t&&(r>t||void 0===r&&t>=t)&&(r=t,n=i);else for(let o of e)null!=(o=t(o,++i,e))&&(r>o||void 0===r&&o>=o)&&(r=o,n=i);return n}},88340:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=new n.InternMap;if(void 0===t)for(let t of e)null!=t&&t>=t&&r.set(t,(r.get(t)||0)+1);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&i>=i&&r.set(i,(r.get(i)||0)+1)}let i,o=0;for(const[e,t]of r)t>o&&(o=t,i=e);return i};var n=r(83573)},57681:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let i;for(;;){const o=(0,n.tickIncrement)(e,t,r);if(o===i||0===o||!isFinite(o))return[e,t];o>0?(e=Math.floor(e/o)*o,t=Math.ceil(t/o)*o):o<0&&(e=Math.ceil(e*o)/o,t=Math.floor(t*o)/o),i=o}};var n=r(77956)},39833:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e?NaN:+e},t.numbers=function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}},2291:function(e,t){"use strict";function r(e,t){return[e,t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=r){const n=[];let i,o=!1;for(const r of e)o&&n.push(t(i,r)),i=r,o=!0;return n},t.pair=r},45180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.from(t,t=>e[t])}},81106:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(e=Float64Array.from((0,a.numbers)(e,r)),!(s=e.length))return;if((t=+t)<=0||s<2)return(0,i.default)(e);if(t>=1)return(0,n.default)(e);var s,l=(s-1)*t,c=Math.floor(l),u=(0,n.default)((0,o.default)(e,c).subarray(0,c+1)),d=(0,i.default)(e.subarray(c+1));return u+(d-u)*(l-c)},t.quantileSorted=function(e,t,r=a.default){if(!(n=e.length))return;if((t=+t)<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),s=+r(e[o],o,e),l=+r(e[o+1],o+1,e);return s+(l-s)*(i-o)};var n=l(r(27332)),i=l(r(83754)),o=l(r(17917)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(39833));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}},17917:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o=0,a=t.length-1,s){s=void 0===s?n.ascendingDefined:(0,n.compareDefined)(s);for(;a>o;){if(a-o>600){const n=a-o+1,i=r-o+1,l=Math.log(n),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(n-c)/n)*(i-n/2<0?-1:1),d=Math.max(o,Math.floor(r-i*c/n+u)),f=Math.min(a,Math.floor(r+(n-i)*c/n+u));e(t,r,d,f,s)}const n=t[r];let l=o,c=a;for(i(t,o,r),s(t[a],n)>0&&i(t,o,a);l<c;){for(i(t,l,c),++l,--c;s(t[l],n)<0;)++l;for(;s(t[c],n)>0;)--c}0===s(t[o],n)?i(t,o,c):(++c,i(t,c,a)),c<=r&&(o=c+1),r<=c&&(a=c-1)}return t};var n=r(28852);function i(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}},53883:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);for(;++n<i;)o[n]=e+n*r;return o}},56086:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=i.default){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(e);const n=new Float64Array(r.length);2!==t.length&&(r=r.map(t),t=i.default);const a=(e,n)=>t(r[e],r[n]);let s,l;return Uint32Array.from(r,(e,t)=>t).sort(t===i.default?(e,t)=>
153(0,o.ascendingDefined)(r[e],r[t]):(0,o.compareDefined)(a)).forEach((e,t)=>{const r=a(e,void 0===s?e:s);r>=0?((void 0===s||r>0)&&(s=e,l=t),n[e]=l):n[e]=NaN}),n};var n,i=(n=r(5816))&&n.__esModule?n:{default:n},o=r(28852)},45786:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if("function"!=typeof t)throw new TypeError("reducer is not a function");const n=e[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:r}=n.next()),i)return;++a}for(;({done:i,value:o}=n.next()),!i;)r=t(r,o,++a,e);return r}},22536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(e).reverse()}},93865:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,i.default)(e,t);return r<0?void 0:r};var n,i=(n=r(92755))&&n.__esModule?n:{default:n}},13887:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.shuffler=n;var r=n(Math.random);function n(e){return function(t,r=0,n=t.length){let i=n-(r=+r);for(;i;){const n=e()*i--|0,o=t[i+r];t[i+r]=t[n+r],t[n+r]=o}return t}}t.default=r},94736:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("function"!=typeof t)throw new TypeError("test is not a function");let r=-1;for(const n of e)if(t(n,++r,e))return!0;return!1}},28852:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ascendingDefined=s,t.compareDefined=a,t.default=function(e,...t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");e=Array.from(e);let[r]=t;if(r&&2!==r.length||t.length>1){const n=Uint32Array.from(e,(e,t)=>t);return t.length>1?(t=t.map(t=>e.map(t)),n.sort((e,r)=>{for(const n of t){const t=s(n[e],n[r]);if(t)return t}})):(r=e.map(r),n.sort((e,t)=>s(r[e],r[t]))),(0,i.default)(e,n)}return e.sort(a(r))};var n=o(r(5816)),i=o(r(45180));function o(e){return e&&e.__esModule?e:{default:e}}function a(e=n.default){if(e===n.default)return s;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}function s(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}},74450:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(t,e)};var n,i=(n=r(49141))&&n.__esModule?n:{default:n}},96885:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=0;if(void 0===t)for(let t of e)(t=+t)&&(r+=t);else{let n=-1;for(let i of e)(i=+t(i,++n,e))&&(r+=i)}return r}},49141:function(e,t){"use strict";function r(e){return null!==e&&"object"==typeof e?e.valueOf():e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e[Symbol.iterator](),i=new Set;for(const e of t){const t=r(e);if(i.has(t))continue;let o,a;for(;({value:o,done:a}=n.next());){if(a)return!1;const e=r(o);if(i.add(e),Object.is(t,e))break}}return!0}},33804:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return Math.ceil((r-t)/(2*((0,i.default)(e,.75)-(0,i.default)(e,.25))*Math.pow((0,n.default)(e),-1/3)))};var n=o(r(1609)),i=o(r(81106));function o(e){return e&&e.__esModule?e:{default:e}}},92873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return Math.ceil((r-t)*Math.cbrt((0,n.default)(e))/(3.49*(0,i.default)(e)))};var n=o(r(1609)),i=o(r(44097));function o(e){return e&&e.__esModule?e:{default:e}}},63571:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.ceil(Math.log((0,i.default)(e))/Math.LN2)+1};var n,i=(n=r(1609))&&n.__esModule?n:{default:n}},77956:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n,i,a,s,l=-1;if(r=+r,(e=+e)===(t=+t)&&r>0)return[e];(n=t<e)&&(i=e,e=t,t=i);if(0===(s=o(e,t,r))||!isFinite(s))return[];if(s>0){let r=Math.round(e/s),n=Math.round(t/s);for(r*s<e&&++r,n*s>t&&--n,a=new Array(i=n-r+1);++l<i;)a[l]=(r+l)*s}else{s=-s;let r=Math.round(e*s),n=Math.round(t*s);for(r/s<e&&++r,n/s>t&&--n,a=new Array(i=n-r+1);++l<i;)a[l]=(r+l)/s}n&&a.reverse();return a},t.tickIncrement=o,t.tickStep=function(e,t,o){var a=Math.abs(t-e)/Math.max(0,o),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),l=a/s;l>=r?s*=10:l>=n?s*=5:l>=i&&(s*=2);return t<e?-s:s};var r=Math.sqrt(50),n=Math.sqrt(10),i=Math.sqrt(2);function o(e,t,o){var a=(t-e)/Math.max(0,o),s=Math.floor(Math.log(a)/Math.LN10),l=a/Math.pow(10,s);return s>=0?(l>=r?10:l>=n?5:l>=i?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=n?5:l>=i?2:1)}},68397:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(a=e.length))return[];for(var t=-1,r=(0,i.default)(e,o),n=new Array(r);++t<r;)for(var a,s=-1,l=n[t]=new Array(a);++s<a;)l[s]=e[s][t];return n};var n,i=(n=r(83754))&&n.__esModule?n:{default:n};function o(e){return e.length}},43257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){const t=new n.InternSet;for(const r of e)for(const e of r)t.add(e);return t};var n=r(83573)},20567:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r,n=0,i=0,o=0;if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(r=t-i,i+=r/++n,o+=r*(t-i));else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(s=+s)>=s&&(r=s-i,i+=r/++n,o+=r*(s-i))}if(n>1)return o/(n-1)}},62041:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)(arguments)};var n,i=(n=r(68397))&&n.__esModule?n:{default:n}},80763:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Color=o,t.Rgb=M,t.darker=t.brighter=void 0,t.default=x,t.hsl=D,t.hslConvert=A,t.rgb=S,t.rgbConvert=j;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(24905));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function o(){}var a=.7;t.darker=a;var s=1/a;t.brighter=s;var l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp(`^rgb\\(${l},${l},${l}\\)$`),p=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),h=new RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),m=new RegExp(`^rgba\\(${u},${u},${u},${c}\\)$`),y=new RegExp(`^hsl\\(${c},${u},${u}\\)$`),g=new RegExp(`^hsla\\(${c},${u},${u},${c}\\)$`),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function _(){return this.rgb().formatRgb()}function x(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=d.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?w(t):3===r?new M(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?O(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?O(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new M(t[1],t[2],t[3],1):(t=p.exec(e))?new M(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?O(t[1],t[2],t[3],t[4]):(t=m.exec(e))?O(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?L(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?L(t[1],t[2]/100,t[3]/100,t[4]):v.hasOwnProperty(e)?w(v[e]):"transparent"===e?new M(NaN,NaN,NaN,0):null}function w(e){return new M(e>>16&255,e>>8&255,255&e,1)}function O(e,t,r,n){return n<=0&&(e=t=r=NaN),new M(e,t,r,n)}function j(e){return e instanceof o||(e=x(e)),e?new M((e=e.rgb()).r,e.g,e.b,e.opacity):new M}function S(e,t,r,n){return 1===arguments.length?j(e):new M(e,t,r,null==n?1:n)}function M(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function k(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function P(){const e=T(this.opacity);return`${1===e?"rgb(":"rgba("}${E(this.r)}, ${E(this.g)}, ${E(this.b)}${1===e?")":`, ${e})`}`}function T(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function E(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function C(e){return((e=E(e))<16?"0":"")+e.toString(16)}function L(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,r,n)}function A(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=x(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),s=NaN,l=a-i,c=(a+i)/2;return l?(s=t===a?(r-n)/l+6*(r<n):r===a?(n-t)/l+2:(t-r)/l+4,l/=c<.5?a+i:2-a-i,s*=60):l=c>0&&c<1?0:s,new I(s,l,c,e.opacity)}function D(e,t,r,n){return 1===arguments.length?A(e):new I(e,t,r,null==n?1:n)}function I(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function N(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function z(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}(0,n.default)(o,x,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return A(this).formatHsl()},formatRgb:_,toString:_}),(0,n.default)(M,S,(0,n.extend)(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new M(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new M(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new M(E(this.r),E(this.g),E(this.b),T(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:k,formatHex:k,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:P,toString:P})),(0,n.default)(I,D,(0,n.extend)(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new M(z(e>=240?e-240:e+120,i,n),z(e,i,n),z(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new I(N(this.h),R(this.s),R(this.l),T(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=T(this.opacity);return`${1===e?"hsl(":"hsla("}${N(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}}))},84739:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.Cubehelix=y,t.default=m;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(24905)),i=r(80763),o=r(40608);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var s=-.14861,l=1.78277,c=-.29227,u=-.90649,d=1.97294,f=d*u,p=d*l,h=l*c-u*s;function m(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof y)return new y(e.h,e.s,e.l,e.opacity);e instanceof i.Rgb||(e=(0,i.rgbConvert)(e));var t=e.r/255,r=e.g/255,n=e.b/255,a=(h*n+f*t-p*r)/(h+f-p),s=n-a,l=(d*(r-a)-c*s)/u,m=Math.sqrt(l*l+s*s)/(d*a*(1-a)),g=m?Math.atan2(l,s)*o.degrees-120:NaN;return new y(g<0?g+360:g,m,a,e.opacity)}(e):new y(e,t,r,null==n?1:n)}function y(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}(0,n.default)(y,m,(0,n.extend)(i.Color,{brighter(e){return e=null==e?i.brighter:Math.pow(i.brighter,e),new y(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?i.darker:Math.pow(i.darker,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*o.radians,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),a=Math.sin(e);return new i.Rgb(255*(t+r*(s*n+l*a)),255*(t+r*(c*n+u*a)),255*(t+r*(d*n)),this.opacity)}}))},24905:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){e.prototype=t.prototype=r,r.constructor=e},t.extend=function(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}},69108:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"cubehelix",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"gray",{enumerable:!0,get:function(){return o.gray}}),Object.defineProperty(t,"hcl",{enumerable:!0,get:function(){return o.hcl}}),Object.defineProperty(t,"hsl",{enumerable:!0,get:function(){return i.hsl}}),Object.defineProperty(t,"lab",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"lch",{enumerable:!0,get:function(){return o.lch}}),Object.defineProperty(t,"rgb",{enumerable:!0,get:function(){return i.rgb}});var n,i=l(r(80763)),o=l(r(62703)),a=(n=r(84739))&&n.__esModule?n:{default:n};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}},62703:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hcl=O,t.Lab=y,t.default=m,t.gray=function(e,t){return new y(e,0,0,null==t?1:t)},t.hcl=w,t.lch=function(e,t,r,n){return 1===arguments.length?x(e):new O(r,t,e,null==n?1:n)};var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(24905)),i=r(80763),o=r(40608);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}const s=.96422,l=1,c=.82521,u=4/29,d=6/29,f=3*d*d,p=d*d*d;function h(e){if(e instanceof y)return new y(e.l,e.a,e.b,e.opacity);if(e instanceof O)return j(e);e instanceof i.Rgb||(e=(0,i.rgbConvert)(e));var t,r,n=_(e.r),o=_(e.g),a=_(e.b),u=g((.2225045*n+.7168786*o+.0606169*a)/l);return n===o&&o===a?t=r=u:(t=g((.4360747*n+.3850649*o+.1430804*a)/s),r=g((.0139322*n+.0971045*o+.7141733*a)/c)),new y(116*u-16,500*(t-u),200*(u-r),e.opacity)}function m(e,t,r,n){return 1===arguments.length?h(e):new y(e,t,r,null==n?1:n)}function y(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function g(e){return e>p?Math.pow(e,1/3):e/f+u}function v(e){return e>d?e*e*e:f*(e-u)}
153function b(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function _(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function x(e){if(e instanceof O)return new O(e.h,e.c,e.l,e.opacity);if(e instanceof y||(e=h(e)),0===e.a&&0===e.b)return new O(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*o.degrees;return new O(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function w(e,t,r,n){return 1===arguments.length?x(e):new O(e,t,r,null==n?1:n)}function O(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function j(e){if(isNaN(e.h))return new y(e.l,0,0,e.opacity);var t=e.h*o.radians;return new y(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}(0,n.default)(y,m,(0,n.extend)(i.Color,{brighter(e){return new y(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new y(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=s*v(t),e=l*v(e),r=c*v(r),new i.Rgb(b(3.1338561*t-1.6168667*e-.4906146*r),b(-.9787684*t+1.9161415*e+.033454*r),b(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),(0,n.default)(O,w,(0,n.extend)(i.Color,{brighter(e){return new O(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new O(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return j(this).rgb()}}))},40608:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radians=t.degrees=void 0;const r=Math.PI/180;t.radians=r;const n=180/Math.PI;t.degrees=n},11815:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l,t.formatPrefix=t.format=void 0;var n,i,o,a,s=(n=r(17652))&&n.__esModule?n:{default:n};function l(e){return i=(0,s.default)(e),t.format=o=i.format,t.formatPrefix=a=i.formatPrefix,i}t.format=o,t.formatPrefix=a,l({thousands:",",grouping:[3],currency:["$",""]})},94561:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(0,n.formatDecimalParts)(Math.abs(e)))?e[1]:NaN};var n=r(56362)},56362:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},t.formatDecimalParts=function(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}},614:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(r,n){for(var i=r.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(r.substring(i-=s,i+s)),!((l+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}},77682:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},81306:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,r){var o=(0,i.formatDecimalParts)(e,r);if(!o)return e+"";var a=o[0],s=o[1],l=s-(t.prefixExponent=n=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,c=a.length;return l===c?a:l>c?a+new Array(l-c+1).join("0"):l>0?a.slice(0,l)+"."+a.slice(l):"0."+new Array(1-l).join("0")+(0,i.formatDecimalParts)(e,Math.max(0,r+l-1))[0]},t.prefixExponent=void 0;var n,i=r(56362);t.prefixExponent=n},81792:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,n.formatDecimalParts)(e,t);if(!r)return e+"";var i=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")};var n=r(56362)},64521:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormatSpecifier=i,t.default=n;var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function n(e){if(!(t=r.exec(e)))throw new Error("invalid format: "+e);var t;return new i({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function i(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}n.prototype=i.prototype,i.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
153:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},74005:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}},76304:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(56362)),i=a(r(81306)),o=a(r(81792));function a(e){return e&&e.__esModule?e:{default:e}}var s={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:n.default,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>(0,o.default)(100*e,t),r:o.default,s:i.default,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};t.default=s},73256:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},80752:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormatSpecifier",{enumerable:!0,get:function(){return o.FormatSpecifier}}),Object.defineProperty(t,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(t,"formatDefaultLocale",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"formatLocale",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"formatPrefix",{enumerable:!0,get:function(){return n.formatPrefix}}),Object.defineProperty(t,"formatSpecifier",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"precisionFixed",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"precisionPrefix",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"precisionRound",{enumerable:!0,get:function(){return l.default}});var n=d(r(11815)),i=c(r(17652)),o=d(r(64521)),a=c(r(8984)),s=c(r(49568)),l=c(r(5038));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}},17652:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0===e.grouping||void 0===e.thousands?u.default:(0,i.default)(f.call(e.grouping,Number),e.thousands+""),r=void 0===e.currency?"":e.currency[0]+"",d=void 0===e.currency?"":e.currency[1]+"",h=void 0===e.decimal?".":e.decimal+"",m=void 0===e.numerals?u.default:(0,o.default)(f.call(e.numerals,String)),y=void 0===e.percent?"%":e.percent+"",g=void 0===e.minus?"â":e.minus+"",v=void 0===e.nan?"NaN":e.nan+"";function b(e){var n=(e=(0,a.default)(e)).fill,i=e.align,o=e.sign,u=e.symbol,f=e.zero,b=e.width,_=e.comma,x=e.precision,w=e.trim,O=e.type;"n"===O?(_=!0,O="g"):l.default[O]||(void 0===x&&(x=12),w=!0,O="g"),(f||"0"===n&&"="===i)&&(f=!0,n="0",i="=");var j="$"===u?r:"#"===u&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",S="$"===u?d:/[%p]/.test(O)?y:"",M=l.default[O],k=/[defgprs%]/.test(O);function P(e){var r,a,l,u=j,d=S;if("c"===O)d=M(e)+d,e="";else{var y=(e=+e)<0||1/e<0;
153if(e=isNaN(e)?v:M(Math.abs(e),x),w&&(e=(0,s.default)(e)),y&&0===+e&&"+"!==o&&(y=!1),u=(y?"("===o?o:g:"-"===o||"("===o?"":o)+u,d=("s"===O?p[8+c.prefixExponent/3]:"")+d+(y&&"("===o?")":""),k)for(r=-1,a=e.length;++r<a;)if(48>(l=e.charCodeAt(r))||l>57){d=(46===l?h+e.slice(r+1):e.slice(r))+d,e=e.slice(0,r);break}}_&&!f&&(e=t(e,1/0));var P=u.length+e.length+d.length,T=P<b?new Array(b-P+1).join(n):"";switch(_&&f&&(e=t(T+e,T.length?b-d.length:1/0),T=""),i){case"<":e=u+e+d+T;break;case"=":e=u+T+e+d;break;case"^":e=T.slice(0,P=T.length>>1)+u+e+d+T.slice(P);break;default:e=T+u+e+d}return m(e)}return x=void 0===x?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),P.toString=function(){return e+""},P}return{format:b,formatPrefix:function(e,t){var r=b(((e=(0,a.default)(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor((0,n.default)(t)/3))),o=Math.pow(10,-i),s=p[8+i/3];return function(e){return r(o*e)+s}}}};var n=d(r(94561)),i=d(r(614)),o=d(r(77682)),a=d(r(64521)),s=d(r(74005)),l=d(r(76304)),c=r(81306),u=d(r(73256));function d(e){return e&&e.__esModule?e:{default:e}}var f=Array.prototype.map,p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]},8984:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(0,-(0,i.default)(Math.abs(e)))};var n,i=(n=r(94561))&&n.__esModule?n:{default:n}},49568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.default)(t)/3)))-(0,i.default)(Math.abs(e)))};var n,i=(n=r(94561))&&n.__esModule?n:{default:n}},5038:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,i.default)(t)-(0,i.default)(e))+1};var n,i=(n=r(94561))&&n.__esModule?n:{default:n}},48681:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return((0,o.isNumberArray)(t)?o.default:s)(e,t)},t.genericArray=s;var n,i=(n=r(34005))&&n.__esModule?n:{default:n},o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(99766));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function s(e,t){var r,n=t?t.length:0,o=e?Math.min(n,e.length):0,a=new Array(o),s=new Array(n);for(r=0;r<o;++r)a[r]=(0,i.default)(e[r],t[r]);for(;r<n;++r)s[r]=t[r];return function(e){for(r=0;r<o;++r)s[r]=a[r](e);return s}}},72614:function(e,t){"use strict";function r(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.basis=r,t.default=function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],a=e[i+1],s=i>0?e[i-1]:2*o-a,l=i<t-1?e[i+2]:2*a-o;return r((n-i/t)*t,s,o,a,l)}}},61398:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*t),o=e[(i+t-1)%t],a=e[i%t],s=e[(i+1)%t],l=e[(i+2)%t];return(0,n.basis)((r-i/t)*t,o,a,s,l)}};var n=r(72614)},423:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.gamma=function(e){return 1===(e=+e)?a:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):(0,i.default)(isNaN(t)?r:t)}},t.hue=function(e,t){var r=t-e;return r?o(e,r>180||r<-180?r-360*Math.round(r/360):r):(0,i.default)(isNaN(e)?t:e)};var n,i=(n=r(19918))&&n.__esModule?n:{default:n};function o(e,t){return function(r){return e+r*t}}function a(e,t){var r=t-e;return r?o(e,r):(0,i.default)(isNaN(e)?t:e)}},19918:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=e=>()=>e},44167:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.cubehelixLong=void 0;var n=r(69108),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(423));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function a(e){return function t(r){function o(t,o){var a=e((t=(0,n.cubehelix)(t)).h,(o=(0,n.cubehelix)(o)).h),s=(0,i.default)(t.s,o.s),l=(0,i.default)(t.l,o.l),c=(0,i.default)(t.opacity,o.opacity);return function(e){return t.h=a(e),t.s=s(e),t.l=l(Math.pow(e,r)),t.opacity=c(e),t+""}}return r=+r,o.gamma=t,o}(1)}var s=a(i.hue);t.default=s;var l=a(i.default);t.cubehelixLong=l},54010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}},41709:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}},94591:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hclLong=t.default=void 0;var n=r(69108),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(423));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function a(e){return function(t,r){var o=e((t=(0,n.hcl)(t)).h,(r=(0,n.hcl)(r)).h),a=(0,i.default)(t.c,r.c),s=(0,i.default)(t.l,r.l),l=(0,i.default)(t.opacity,r.opacity);return function(e){return t.h=o(e),t.c=a(e),t.l=s(e),t.opacity=l(e),t+""}}}var s=a(i.hue);t.default=s;var l=a(i.default);t.hclLong=l},36463:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hslLong=t.default=void 0;var n=r(69108),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(423));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function a(e){return function(t,r){var o=e((t=(0,n.hsl)(t)).h,(r=(0,n.hsl)(r)).h),a=(0,i.default)(t.s,r.s),s=(0,i.default)(t.l,r.l),l=(0,i.default)(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=a(e),t.l=s(e),t.opacity=l(e),t+""}}}var s=a(i.hue);t.default=s;var l=a(i.default);t.hslLong=l},17034:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,n.hue)(+e,+t);return function(e){var t=r(e);return t-360*Math.floor(t/360)}};var n=r(423)},19248:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolate",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"interpolateArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"interpolateBasis",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"interpolateBasisClosed",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"interpolateCubehelix",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"interpolateCubehelixLong",{enumerable:!0,get:function(){return x.cubehelixLong}}),Object.defineProperty(t,"interpolateDate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"interpolateDiscrete",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"interpolateHcl",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"interpolateHclLong",{enumerable:!0,get:function(){return _.hclLong}}),Object.defineProperty(t,"interpolateHsl",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"interpolateHslLong",{enumerable:!0,get:function(){return v.hslLong}}),Object.defineProperty(t,"interpolateHue",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"interpolateLab",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"interpolateNumber",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"interpolateNumberArray",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"interpolateObject",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"interpolateRgb",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"interpolateRgbBasis",{enumerable:!0,get:function(){return g.rgbBasis}}),Object.defineProperty(t,"interpolateRgbBasisClosed",{enumerable:!0,get:function(){return g.rgbBasisClosed}}),Object.defineProperty(t,"interpolateRound",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"interpolateString",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"interpolateTransformCss",{enumerable:!0,get:function(){return m.interpolateTransformCss}}),Object.defineProperty(t,"interpolateTransformSvg",{enumerable:!0,get:function(){return m.interpolateTransformSvg}}),Object.defineProperty(t,"interpolateZoom",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"piecewise",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"quantize",{enumerable:!0,get:function(){return O.default}});var n=M(r(34005)),i=M(r(48681)),o=M(r(72614)),a=M(r(61398)),s=M(r(54010)),l=M(r(41709)),c=M(r(17034)),u=M(r(44335)),d=M(r(99766)),f=M(r(23365)),p=M(r(42504)),h=M(r
153(14175)),m=r(36311),y=M(r(21725)),g=S(r(79171)),v=S(r(36463)),b=M(r(25899)),_=S(r(94591)),x=S(r(44167)),w=M(r(85558)),O=M(r(69689));function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(j=function(e){return e?r:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=j(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function M(e){return e&&e.__esModule?e:{default:e}}},25899:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,o.default)((e=(0,i.lab)(e)).l,(t=(0,i.lab)(t)).l),n=(0,o.default)(e.a,t.a),a=(0,o.default)(e.b,t.b),s=(0,o.default)(e.opacity,t.opacity);return function(t){return e.l=r(t),e.a=n(t),e.b=a(t),e.opacity=s(t),e+""}};var n,i=r(69108),o=(n=r(423))&&n.__esModule?n:{default:n}},44335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}},99766:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}},t.isNumberArray=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}},23365:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n={},o={};null!==e&&"object"==typeof e||(e={});null!==t&&"object"==typeof t||(t={});for(r in t)r in e?n[r]=(0,i.default)(e[r],t[r]):o[r]=t[r];return function(e){for(r in n)o[r]=n[r](e);return o}};var n,i=(n=r(34005))&&n.__esModule?n:{default:n}},85558:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=e,e=i.default);var r=0,n=t.length-1,o=t[0],a=new Array(n<0?0:n);for(;r<n;)a[r]=e(o,o=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return a[t](e-t)}};var n,i=(n=r(34005))&&n.__esModule?n:{default:n}},69689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}},79171:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgbBasisClosed=t.rgbBasis=t.default=void 0;var n=r(69108),i=l(r(72614)),o=l(r(61398)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(423));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}var c=function e(t){var r=(0,a.gamma)(t);function i(e,t){var i=r((e=(0,n.rgb)(e)).r,(t=(0,n.rgb)(t)).r),o=r(e.g,t.g),s=r(e.b,t.b),l=(0,a.default)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=l(t),e+""}}return i.gamma=e,i}(1);function u(e){return function(t){var r,i,o=t.length,a=new Array(o),s=new Array(o),l=new Array(o);for(r=0;r<o;++r)i=(0,n.rgb)(t[r]),a[r]=i.r||0,s[r]=i.g||0,l[r]=i.b||0;return a=e(a),s=e(s),l=e(l),i.opacity=1,function(e){return i.r=a(e),i.g=s(e),i.b=l(e),i+""}}}t.default=c;var d=u(i.default);t.rgbBasis=d;var f=u(o.default);t.rgbBasisClosed=f},42504:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}},14175:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n,s,l=o.lastIndex=a.lastIndex=0,c=-1,u=[],d=[];e+="",t+="";for(;(r=o.exec(e))&&(n=a.exec(t));)(s=n.index)>l&&(s=t.slice(l,s),u[c]?u[c]+=s:u[++c]=s),(r=r[0])===(n=n[0])?u[c]?u[c]+=n:u[++c]=n:(u[++c]=null,d.push({i:c,x:(0,i.default)(r,n)})),l=a.lastIndex;l<t.length&&(s=t.slice(l),u[c]?u[c]+=s:u[++c]=s);return u.length<2?d[0]?function(e){return function(t){return e(t)+""}}(d[0].x):function(e){return function(){return e}}(t):(t=d.length,function(e){for(var r,n=0;n<t;++n)u[(r=d[n]).i]=r.x(e);return u.join("")})};var n,i=(n=r(44335))&&n.__esModule?n:{default:n};var o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(o.source,"g")},27546:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,o,a){var s,l,c;(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s);(c=e*n+t*i)&&(n-=e*c,i-=t*c);(l=Math.sqrt(n*n+i*i))&&(n/=l,i/=l,c/=l);e*i<t*n&&(e=-e,t=-t,c=-c,s=-s);return{translateX:o,translateY:a,rotate:Math.atan2(t,e)*r,skewX:Math.atan(c)*r,scaleX:s,scaleY:l}},t.identity=void 0;var r=180/Math.PI;t.identity={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}},36311:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interpolateTransformSvg=t.interpolateTransformCss=void 0;var n,i=(n=r(44335))&&n.__esModule?n:{default:n},o=r(29296);function a(e,t,r,n){function o(e){return e.length?e.pop()+" ":""}return function(a,s){var l=[],c=[];return a=e(a),s=e(s),function(e,n,o,a,s,l){if(e!==o||n!==a){var c=s.push("translate(",null,t,null,r);l.push({i:c-4,x:(0,i.default)(e,o)},{i:c-2,x:(0,i.default)(n,a)})}else(o||a)&&s.push("translate("+o+t+a+r)}(a.translateX,a.translateY,s.translateX,s.translateY,l,c),function(e,t,r,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:r.push(o(r)+"rotate(",null,n)-2,x:(0,i.default)(e,t)})):t&&r.push(o(r)+"rotate("+t+n)}(a.rotate,s.rotate,l,c),function(e,t,r,a){e!==t?a.push({i:r.push(o(r)+"skewX(",
153null,n)-2,x:(0,i.default)(e,t)}):t&&r.push(o(r)+"skewX("+t+n)}(a.skewX,s.skewX,l,c),function(e,t,r,n,a,s){if(e!==r||t!==n){var l=a.push(o(a)+"scale(",null,",",null,")");s.push({i:l-4,x:(0,i.default)(e,r)},{i:l-2,x:(0,i.default)(t,n)})}else 1===r&&1===n||a.push(o(a)+"scale("+r+","+n+")")}(a.scaleX,a.scaleY,s.scaleX,s.scaleY,l,c),a=s=null,function(e){for(var t,r=-1,n=c.length;++r<n;)l[(t=c[r]).i]=t.x(e);return l.join("")}}}var s=a(o.parseCss,"px, ","px)","deg)");t.interpolateTransformCss=s;var l=a(o.parseSvg,", ",")",")");t.interpolateTransformSvg=l},29296:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCss=function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?i.identity:(0,i.default)(t.a,t.b,t.c,t.d,t.e,t.f)},t.parseSvg=function(e){if(null==e)return i.identity;n||(n=document.createElementNS("http://www.w3.org/2000/svg","g"));return n.setAttribute("transform",e),(e=n.transform.baseVal.consolidate())?(e=e.matrix,(0,i.default)(e.a,e.b,e.c,e.d,e.e,e.f)):i.identity};var n,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(27546));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}},34005:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,f=typeof t;return null==t||"boolean"===f?(0,u.default)(t):("number"===f?s.default:"string"===f?(r=(0,n.color)(t))?(t=r,i.default):c.default:t instanceof n.color?i.default:t instanceof Date?a.default:(0,d.isNumberArray)(t)?d.default:Array.isArray(t)?o.genericArray:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?l.default:s.default)(e,t)};var n=r(69108),i=p(r(79171)),o=r(48681),a=p(r(54010)),s=p(r(44335)),l=p(r(23365)),c=p(r(14175)),u=p(r(19918)),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(99766));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}},21725:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function r(e){return((e=Math.exp(e))+1/e)/2}var n=function e(t,n,i){function o(e,o){var a,s,l=e[0],c=e[1],u=e[2],d=o[0],f=o[1],p=o[2],h=d-l,m=f-c,y=h*h+m*m;if(y<1e-12)s=Math.log(p/u)/t,a=function(e){return[l+e*h,c+e*m,u*Math.exp(t*e*s)]};else{var g=Math.sqrt(y),v=(p*p-u*u+i*y)/(2*u*n*g),b=(p*p-u*u-i*y)/(2*p*n*g),_=Math.log(Math.sqrt(v*v+1)-v),x=Math.log(Math.sqrt(b*b+1)-b);s=(x-_)/t,a=function(e){var i,o=e*s,a=r(_),d=u/(n*g)*(a*(i=t*o+_,((i=Math.exp(2*i))-1)/(i+1))-function(e){return((e=Math.exp(e))-1/e)/2}(_));return[l+d*h,c+d*m,u*a/r(t*o+_)]}}return a.duration=1e3*s*t/Math.SQRT2,a}return o.rho=function(t){var r=Math.max(.001,+t),n=r*r;return e(r,n,n*n)},o}(Math.SQRT2,2,4);t.default=n},30296:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"path",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(17873))&&n.__esModule?n:{default:n}},17873:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=Math.PI,n=2*r,i=1e-6,o=n-i;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new a}a.prototype=s.prototype={constructor:a,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,o,a){e=+e,t=+t,n=+n,o=+o,a=+a;var s=this._x1,l=this._y1,c=n-e,u=o-t,d=s-e,f=l-t,p=d*d+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(p>i)if(Math.abs(f*c-u*d)>i&&a){var h=n-s,m=o-l,y=c*c+u*u,g=h*h+m*m,v=Math.sqrt(y),b=Math.sqrt(p),_=a*Math.tan((r-Math.acos((y+p-g)/(2*v*b)))/2),x=_/b,w=_/v;Math.abs(x-1)>i&&(this._+="L"+(e+x*d)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*h>d*m)+","+(this._x1=e+w*c)+","+(this._y1=t+w*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,a,s,l,c){e=+e,t=+t,c=!!c;var u=(a=+a)*Math.cos(s),d=a*Math.sin(s),f=e+u,p=t+d,h=1^c,m=c?s-l:l-s;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>i||Math.abs(this._y1-p)>i)&&(this._+="L"+f+","+p),a&&(m<0&&(m=m%n+n),m>o?this._+="A"+a+","+a+",0,1,"+h+","+(e-u)+","+(t-d)+"A"+a+","+a+",0,1,"+h+","+(this._x1=f)+","+(this._y1=p):m>i&&(this._+="A"+a+","+a+",0,"+ +(m>=r)+","+h+","+(this._x1=e+a*Math.cos(l))+","+(this._y1=t+a*Math.sin(l))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var l=s;t.default=l},986:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=s,t.point=function(){return l(s.apply(null,arguments).paddingInner(1))};var n,i=r(35334),o=r(33199),a=(n=r(94764))&&n.__esModule?n:{default:n};function s(){var e,t,r=(0,a.default)().unknown(void 0),n=r.domain,l=r.range,c=0,u=1,d=!1,f=0,p=0,h=.5;function m(){var r=n().length,o=u<c,a=o?u:c,s=o?c:u;e=(s-a)/Math.max(1,r-f+2*p),d&&(e=Math.floor(e)),a+=(s-a-e*(r-f))*h,t=e*(1-f),d&&(a=Math.round(a),t=Math.round(t));var m=(0,i.range)(r).map(function(t){return a+e*t});return l(o?m.reverse():m)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),m()):n()},r.range=function(e){return arguments.length?([c,u]=e,c=+c,u=+u,m()):[c,u]},r.rangeRound=function(e){return[c,u]=e,c=+c,u=+u,d=!0,m()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(d=!!e,m()):d},r.padding=function(e){return arguments.length?(f=Math.min(1,p=+e),m()):f},r.paddingInner=function(e){return arguments.length?(f=Math.min(1,e),m()):f},r.paddingOuter=function(e){return arguments.length?(p=+e,m()):p},r.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),m()):h},r.copy=function(){return s(n(),[c,u]).round(d).paddingInner(f).paddingOuter(p).align(h)},o.initRange.apply(m(),arguments)}function l(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return l(t())},e}},79253:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},73174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copy=function(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())},t.default=function(){return p()(c,c)},t.identity=c,t.transformer=p;var n=r(35334),i=r(19248),o=s(r(79253)),a=s(r(4052));function s(e){return e&&e.__esModule?e:{default:e}}var l=[0,1];function c(e){return e}function u(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(0,o.default)(isNaN(t)?NaN:.5)}function d(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=u(i,n),o=r(a,o)):(n=u(n,i),o=r(o,a)),function(e){return o(n(e))}}function f(e,t,r){var i=Math.min(e.length,t.length)-1,o=new Array(i),a=new Array(i),s=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<i;)o[s]=u(e[s],e[s+1]),a[s]=r(t[s],t[s+1]);return function(t){var r=(0,n.bisect)(e,t,1,i)-1;return a[r](o[r](t))}}function p(){var e,t,r,n,o,s,u=l,p=l,h=i.interpolate,m=c;function y(){var e,t,r,i=Math.min(u.length,p.length);return m!==c&&(e=u[0],t=u[i-1],e>t&&(r=e,e=t,t=r),m=function(r){return Math.max(e,Math.min(t,r))}),n=i>2?f:d,o=s=null,g}function g(t){return null==t||isNaN(t=+t)?r:(o||(o=n(u.map(e),p,h)))(e(m(t)))}return g.invert=function(r){return m(t((s||(s=n(p,u.map(e),i.interpolateNumber)))(r)))},g.domain=function(e){return arguments.length?(u=Array.from(e,a.default),y()):u.slice()},g.range=function(e){return arguments.length?(p=Array.from(e),y()):p.slice()},g.rangeRound=function(e){return p=Array.from(e),h=i.interpolateRound,y()},g.clamp=function(e){return arguments.length?(m=!!e||c,y()):m!==c},g.interpolate=function(e){return arguments.length?(h=e,y()):h},g.unknown=function(e){return arguments.length?(r=e,g):r},function(r,n){return e=r,t=n,y()}}},91526:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=(0,a.linearish)(d()(i.identity));return t.copy=function(){return(0,l.copy)(t,e())},o.initInterpolator.apply(t,arguments)},t.divergingLog=function e(){var t=(0,s.loggish)(d()).domain([.1,1,10]);return t.copy=function(){return(0,l.copy)(t,e()).base(t.base())},o.initInterpolator.apply(t,arguments)},t.divergingPow=f,t.divergingSqrt=function(){return f.apply(null,arguments).exponent(.5)},t.divergingSymlog=function e(){var t=(0,c.symlogish)(d());return t.copy=function(){return(0,l.copy)(t,e()).constant(t.constant())},o.initInterpolator.apply(t,arguments)};var n=r(19248),i=r(73174),o=r(33199),a=r(18600),s=r(32959),l=r(17190),c=r(87742),u=r(19515);function d(){var e,t,r,o,a,s,l,c=0,u=.5,d=1,f=1,p=i.identity,h=!1;function m(e){return isNaN(e=+e)?l:(e=.5+((e=+s(e))-t)*(f*e<f*t?o:a),p(h?Math.max(0,Math.min(1,e)):e))}function y(e){return function(t){var r,i,o;return arguments.length?([r,i,o]=t,p=(0,n.piecewise)(e,[r,i,o]),m):[p(0),p(.5),p(1)]}}return m.domain=function(n){return arguments.length?([c,u,d]=n,e=s(c=+c),t=s(u=+u),r=s(d=+d),o=e===t?0:.5/(t-e),a=t===r?0:.5/(r-t),f=t<e?-1:1,m):[c,u,d]},m.clamp=function(e){return arguments.length?(h=!!e,m):h},m.interpolator=function(e){return arguments.length?(p=e,m):p},m.range=y(n.interpolate),m.rangeRound=y(n.interpolateRound),m.unknown=function(e){return arguments.length?(l=e,m):l},function(n){return s=n,e=n(c),t=n(u),r=n(d),o=e===t?0:.5/(t-e),a=t===r?0:.5/(r-t),f=t<e?-1:1,m}}function f(){var e=(0,u.powish)(d());return e.copy=function(){return(0,l.copy)(e,f()).exponent(e.exponent())},o.initInterpolator.apply(e,arguments)}},68983:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r;function n(e){return null==e||isNaN(e=+e)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,o.default),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,o.default):[0,1],(0,i.linearish)(n)};var n,i=r(18600),o=(n=r(4052))&&n.__esModule?n:{default:n}},29305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"scaleBand",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"scaleDiverging",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"scaleDivergingLog",{enumerable:!0,get:function(){return v.divergingLog}}),Object.defineProperty(t,"scaleDivergingPow",{enumerable:!0,get:function(){return v.divergingPow}}),Object.defineProperty(t,"scaleDivergingSqrt",{enumerable:!0,get:function(){return v.divergingSqrt}}),Object.defineProperty(t,"scaleDivergingSymlog",{enumerable:!0,get:function(){return v.divergingSymlog}}),Object.defineProperty(t,"scaleIdentity",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"scaleImplicit",{enumerable:!0,get:function(){return l.implicit}}),Object.defineProperty(t,"scaleLinear",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"scaleLog",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"scaleOrdinal",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"scalePoint",{enumerable:!0,get:function(){return n.point}}),Object.defineProperty(t,"scalePow",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"scaleQuantile",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"scaleQuantize",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"scaleRadial",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"scaleSequential",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"scaleSequentialLog",{enumerable:!0,get:function(){return y.sequentialLog}}),Object.defineProperty(t,"scaleSequentialPow",{enumerable:!0,get:function(){return y.sequentialPow}}),Object.defineProperty(t,"scaleSequentialQuantile",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"scaleSequentialSqrt",{enumerable:!0,get:function(){return y.sequentialSqrt}}),Object.defineProperty(t,"scaleSequentialSymlog",{enumerable:!0,get:function(){return y.sequentialSymlog}}),Object.defineProperty(t,"scaleSqrt",{enumerable:!0,get:function(){return c.sqrt}}),Object.defineProperty(t,"scaleSymlog",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"scaleThreshold",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"scaleTime",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"scaleUtc",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"tickFormat",{enumerable:!0,get:function(){return b.default}});var n=w(r(986)),i=_(r(68983)),o=_(r(18600)),a=_(r(32959)),s=_(r(87742)),l=w(r(94764)),c=w(r(19515)),u=_(r(64458)),d=_(r(34036)),f=_(r(19798)),p=_(r(43046)),h=_(r(80136)),m=_(r(86490)),y=w(r(17190)),g=_(r(85603)),v=w(r(91526)),b=_(r(13135));function _(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(x=function(e){return e?r:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=x(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}},33199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initInterpolator=function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},t.initRange=function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}},18600:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=(0,o.default)();return t.copy=function(){return(0,o.copy)(t,e())},a.initRange.apply(t,arguments),c(t)},t.linearish=c;var n,i=r(35334),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(73174)),a=r(33199),s=(n=r(13135))&&n.__esModule?n:{default:n};function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(e){var t=e.domain;return e.ticks=function(e){var r=t();return(0,i.ticks)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return(0,s.default)(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,o,a=t(),s=0,l=a.length-1,c=a[s],u=a[l],d=10;for(u<c&&(o=c,c=u,u=o,o=s,s=l,l=o);d-- >0;){if((o=(0,i.tickIncrement)(c,u,r))===n)return a[s]=c,a[l]=u,t(a);if(o>0)c=Math.floor(c/o)*o,u=Math.ceil(u/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,u=Math.floor(u*o)/o}n=o}return e},e}},32959:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){const t=m((0,s.transformer)()).domain([1,10]);return t.copy=()=>(0,s.copy)(t,e()).base(t.base()),l.initRange.apply(t,arguments),t},t.loggish=m;var n,i=r(35334),o=r(80752),a=(n=r(24776))&&n.__esModule?n:{default:n},s=r(73174),l=r(33199);function c(e){return Math.log(e)}function u(e){return Math.exp(e)}function d(e){return-Math.log(-e)}function f(e){return-Math.exp(-e)}function p(e){return isFinite(e)?+("1e"+e):e<0?0:e}function h(e){return(t,r)=>-e(-t,r)}function m(e){const t=e(c,u),r=t.domain;let n,s,l=10;function m(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(l),s=function(e){return 10===e?p:e===Math.E?Math.exp:t=>Math.pow(e,t)}(l),r()[0]<0?(n=h(n),s=h(s),e(d,f)):e(c,u),t}return t.base=function(e){return arguments.length?(l=+e,m()):l},t.domain=function(e){return arguments.length?(r(e),m()):r()},t.ticks=e=>{const t=r();let o=t[0],a=t[t.length-1];const c=a<o;c&&([o,a]=[a,o]);let u,d,f=n(o),p=n(a);const h=null==e?10:+e;let m=[];if(!(l%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),o>0){for(;f<=p;++f)for(u=1;u<l;++u)if(d=f<0?u/s(-f):u*s(f),!(d<o)){if(d>a)break;m.push(d)}}else for(;f<=p;++f)for(u=l-1;u>=1;--u)if(d=f>0?u/s(-f):u*s(f),!(d<o)){if(d>a)break;m.push(d)}2*m.length<h&&(m=(0,i.ticks)(o,a,h))}else m=(0,i.ticks)(f,p,Math.min(p-f,h)).map(s);return c?m.reverse():m},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===l?"s":","),"function"!=typeof r&&(l%1||null!=(r=(0,o.formatSpecifier)(r)).precision||(r.trim=!0),r=(0,o.format)(r)),e===1/0)return r;const i=Math.max(1,l*e/t.ticks().length);return e=>{let t=e/s(Math.round(n(e)));return t*l<l-.5&&(t*=l),t<=i?r(e):""}},t.nice=()=>r((0,a.default)(r(),{floor:e=>s(Math.floor(n(e))),ceil:e=>s(Math.ceil(n(e)))})),t}},24776:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e=e.slice();var r,n=0,i=e.length-1,o=e[n],a=e[i];a<o&&(r=n,n=i,i=r,r=o,o=a,a=r);return e[n]=t.floor(o),e[i]=t.ceil(a),e}},4052:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return+e}},94764:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=new n.InternMap,r=[],a=[],s=o;function l(e){let n=t.get(e);if(void 0===n){if(s!==o)return s;t.set(e,n=r.push(e)-1)}return a[n%a.length]}return l.domain=function(e){if(!arguments.length)return r.slice();r=[],t=new n.InternMap;for(const n of e)t.has(n)||t.set(n,r.push(n)-1);return l},l.range=function(e){return arguments.length?(a=Array.from(e),l):a.slice()},l.unknown=function(e){return arguments.length?(s=e,l):s},l.copy=function(){return e(r,a).unknown(s)},i.initRange.apply(l,arguments),l},t.implicit=void 0;var n=r(35334),i=r(33199);
153const o=Symbol("implicit");t.implicit=o},19515:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,t.powish=c,t.sqrt=function(){return u.apply(null,arguments).exponent(.5)};var n=r(18600),i=r(73174),o=r(33199);function a(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function s(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function l(e){return e<0?-e*e:e*e}function c(e){var t=e(i.identity,i.identity),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(i.identity,i.identity):.5===r?e(s,l):e(a(r),a(1/r)):r},(0,n.linearish)(t)}function u(){var e=c((0,i.transformer)());return e.copy=function(){return(0,i.copy)(e,u()).exponent(e.exponent())},o.initRange.apply(e,arguments),e}},34036:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t,r=[],o=[],a=[];function s(){var e=0,t=Math.max(1,o.length);for(a=new Array(t-1);++e<t;)a[e-1]=(0,n.quantileSorted)(r,e/t);return l}function l(e){return null==e||isNaN(e=+e)?t:o[(0,n.bisect)(a,e)]}return l.invertExtent=function(e){var t=o.indexOf(e);return t<0?[NaN,NaN]:[t>0?a[t-1]:r[0],t<a.length?a[t]:r[r.length-1]]},l.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(n.ascending),s()},l.range=function(e){return arguments.length?(o=Array.from(e),s()):o.slice()},l.unknown=function(e){return arguments.length?(t=e,l):t},l.quantiles=function(){return a.slice()},l.copy=function(){return e().domain(r).range(o).unknown(t)},i.initRange.apply(l,arguments)};var n=r(35334),i=r(33199)},19798:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t,r=0,a=1,s=1,l=[.5],c=[0,1];function u(e){return null!=e&&e<=e?c[(0,n.bisect)(l,e,0,s)]:t}function d(){var e=-1;for(l=new Array(s);++e<s;)l[e]=((e+1)*a-(e-s)*r)/(s+1);return u}return u.domain=function(e){return arguments.length?([r,a]=e,r=+r,a=+a,d()):[r,a]},u.range=function(e){return arguments.length?(s=(c=Array.from(e)).length-1,d()):c.slice()},u.invertExtent=function(e){var t=c.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,l[0]]:t>=s?[l[s-1],a]:[l[t-1],l[t]]},u.unknown=function(e){return arguments.length?(t=e,u):u},u.thresholds=function(){return l.slice()},u.copy=function(){return e().domain([r,a]).range(c).unknown(t)},o.initRange.apply((0,i.linearish)(u),arguments)};var n=r(35334),i=r(18600),o=r(33199)},64458:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t,r=(0,n.default)(),s=[0,1],c=!1;function u(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:c?Math.round(n):n}return u.invert=function(e){return r.invert(l(e))},u.domain=function(e){return arguments.length?(r.domain(e),u):r.domain()},u.range=function(e){return arguments.length?(r.range((s=Array.from(e,a.default)).map(l)),u):s.slice()},u.rangeRound=function(e){return u.range(e).round(!0)},u.round=function(e){return arguments.length?(c=!!e,u):c},u.clamp=function(e){return arguments.length?(r.clamp(e),u):r.clamp()},u.unknown=function(e){return arguments.length?(t=e,u):t},u.copy=function(){return e(r.domain(),s).round(c).clamp(r.clamp()).unknown(t)},i.initRange.apply(u,arguments),(0,o.linearish)(u)};var n=s(r(73174)),i=r(33199),o=r(18600),a=s(r(4052));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return Math.sign(e)*e*e}},17190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copy=d,t.default=function e(){var t=(0,a.linearish)(u()(i.identity));return t.copy=function(){return d(t,e())},o.initInterpolator.apply(t,arguments)},t.sequentialLog=function e(){var t=(0,s.loggish)(u()).domain([1,10]);return t.copy=function(){return d(t,e()).base(t.base())},o.initInterpolator.apply(t,arguments)},t.sequentialPow=f,t.sequentialSqrt=function(){return f.apply(null,arguments).exponent(.5)},t.sequentialSymlog=function e(){var t=(0,l.symlogish)(u());return t.copy=function(){return d(t,e()).constant(t.constant())},o.initInterpolator.apply(t,arguments)};var n=r(19248),i=r(73174),o=r(33199),a=r(18600),s=r(32959),l=r(87742),c=r(19515);function u(){var e,t,r,o,a,s=0,l=1,c=i.identity,u=!1;function d(t){return null==t||isNaN(t=+t)?a:c(0===r?.5:(t=(o(t)-e)*r,u?Math.max(0,Math.min(1,t)):t))}function f(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),d):[c(0),c(1)]}}return d.domain=function(n){return arguments.length?([s,l]=n,e=o(s=+s),t=o(l=+l),r=e===t?0:1/(t-e),d):[s,l]},d.clamp=function(e){return arguments.length?(u=!!e,d):u},d.interpolator=function(e){return arguments.length?(c=e,d):c}
153,d.range=f(n.interpolate),d.rangeRound=f(n.interpolateRound),d.unknown=function(e){return arguments.length?(a=e,d):a},function(n){return o=n,e=n(s),t=n(l),r=e===t?0:1/(t-e),d}}function d(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function f(){var e=(0,c.powish)(u());return e.copy=function(){return d(e,f()).exponent(e.exponent())},o.initInterpolator.apply(e,arguments)}},85603:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=[],r=i.identity;function a(e){if(null!=e&&!isNaN(e=+e))return r(((0,n.bisect)(t,e,1)-1)/(t.length-1))}return a.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(n.ascending),a},a.interpolator=function(e){return arguments.length?(r=e,a):r},a.range=function(){return t.map((e,n)=>r(n/(t.length-1)))},a.quantiles=function(e){return Array.from({length:e+1},(r,i)=>(0,n.quantile)(t,i/e))},a.copy=function(){return e(r).domain(t)},o.initInterpolator.apply(a,arguments)};var n=r(35334),i=r(73174),o=r(33199)},87742:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=l((0,i.transformer)());return t.copy=function(){return(0,i.copy)(t,e()).constant(t.constant())},o.initRange.apply(t,arguments)},t.symlogish=l;var n=r(18600),i=r(73174),o=r(33199);function a(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function s(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function l(e){var t=1,r=e(a(t),s(t));return r.constant=function(r){return arguments.length?e(a(t=+r),s(t)):t},(0,n.linearish)(r)}},43046:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t,r=[.5],o=[0,1],a=1;function s(e){return null!=e&&e<=e?o[(0,n.bisect)(r,e,0,a)]:t}return s.domain=function(e){return arguments.length?(r=Array.from(e),a=Math.min(r.length,o.length-1),s):r.slice()},s.range=function(e){return arguments.length?(o=Array.from(e),a=Math.min(r.length,o.length-1),s):o.slice()},s.invertExtent=function(e){var t=o.indexOf(e);return[r[t-1],r[t]]},s.unknown=function(e){return arguments.length?(t=e,s):t},s.copy=function(){return e().domain(r).range(o).unknown(t)},i.initRange.apply(s,arguments)};var n=r(35334),i=r(33199)},13135:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){var a,s=(0,n.tickStep)(e,t,r);switch((o=(0,i.formatSpecifier)(null==o?",f":o)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(t));return null!=o.precision||isNaN(a=(0,i.precisionPrefix)(s,l))||(o.precision=a),(0,i.formatPrefix)(o,l);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(a=(0,i.precisionRound)(s,Math.max(Math.abs(e),Math.abs(t))))||(o.precision=a-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(a=(0,i.precisionFixed)(s))||(o.precision=a-2*("%"===o.type))}return(0,i.format)(o)};var n=r(35334),i=r(80752)},80136:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calendar=f,t.default=function(){return s.initRange.apply(f(i.timeTicks,i.timeTickInterval,i.timeYear,i.timeMonth,i.timeWeek,i.timeDay,i.timeHour,i.timeMinute,i.timeSecond,o.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)};var n,i=r(26486),o=r(68384),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(73174)),s=r(33199),l=(n=r(24776))&&n.__esModule?n:{default:n};function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(e){return new Date(e)}function d(e){return e instanceof Date?+e:+new Date(+e)}function f(e,t,r,n,i,o,s,c,p,h){var m=(0,a.default)(),y=m.invert,g=m.domain,v=h(".%L"),b=h(":%S"),_=h("%I:%M"),x=h("
153%I %p"),w=h("%a %d"),O=h("%b %d"),j=h("%B"),S=h("%Y");function M(e){return(p(e)<e?v:c(e)<e?b:s(e)<e?_:o(e)<e?x:n(e)<e?i(e)<e?w:O:r(e)<e?j:S)(e)}return m.invert=function(e){return new Date(y(e))},m.domain=function(e){return arguments.length?g(Array.from(e,d)):g().map(u)},m.ticks=function(t){var r=g();return e(r[0],r[r.length-1],null==t?10:t)},m.tickFormat=function(e,t){return null==t?M:h(t)},m.nice=function(e){var r=g();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?g((0,l.default)(r,e)):m},m.copy=function(){return(0,a.copy)(m,f(e,t,r,n,i,o,s,c,p,h))},m}},86490:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a.initRange.apply((0,o.calendar)(n.utcTicks,n.utcTickInterval,n.utcYear,n.utcMonth,n.utcWeek,n.utcDay,n.utcHour,n.utcMinute,n.utcSecond,i.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)};var n=r(26486),i=r(68384),o=r(80136),a=r(33199)},71166:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=s,t=l,r=(0,o.default)(0),n=null,p=c,h=u,m=d,y=null;function g(){var o,s,l=+e.apply(this,arguments),c=+t.apply(this,arguments),u=p.apply(this,arguments)-a.halfPi,d=h.apply(this,arguments)-a.halfPi,g=(0,a.abs)(d-u),v=d>u;if(y||(y=o=(0,i.path)()),c<l&&(s=c,c=l,l=s),c>a.epsilon)if(g>a.tau-a.epsilon)y.moveTo(c*(0,a.cos)(u),c*(0,a.sin)(u)),y.arc(0,0,c,u,d,!v),l>a.epsilon&&(y.moveTo(l*(0,a.cos)(d),l*(0,a.sin)(d)),y.arc(0,0,l,d,u,v));else{var b,_,x=u,w=d,O=u,j=d,S=g,M=g,k=m.apply(this,arguments)/2,P=k>a.epsilon&&(n?+n.apply(this,arguments):(0,a.sqrt)(l*l+c*c)),T=(0,a.min)((0,a.abs)(c-l)/2,+r.apply(this,arguments)),E=T,C=T;if(P>a.epsilon){var L=(0,a.asin)(P/l*(0,a.sin)(k)),A=(0,a.asin)(P/c*(0,a.sin)(k));(S-=2*L)>a.epsilon?(O+=L*=v?1:-1,j-=L):(S=0,O=j=(u+d)/2),(M-=2*A)>a.epsilon?(x+=A*=v?1:-1,w-=A):(M=0,x=w=(u+d)/2)}var D=c*(0,a.cos)(x),I=c*(0,a.sin)(x),N=l*(0,a.cos)(j),R=l*(0,a.sin)(j);if(T>a.epsilon){var z,F=c*(0,a.cos)(w),B=c*(0,a.sin)(w),Y=l*(0,a.cos)(O),U=l*(0,a.sin)(O);if(g<a.pi&&(z=function(e,t,r,n,i,o,s,l){var c=r-e,u=n-t,d=s-i,f=l-o,p=f*c-d*u;if(p*p<a.epsilon)return;return[e+(p=(d*(t-o)-f*(e-i))/p)*c,t+p*u]}(D,I,Y,U,F,B,N,R))){var H=D-z[0],$=I-z[1],W=F-z[0],V=B-z[1],q=1/(0,a.sin)((0,a.acos)((H*W+$*V)/((0,a.sqrt)(H*H+$*$)*(0,a.sqrt)(W*W+V*V)))/2),G=(0,a.sqrt)(z[0]*z[0]+z[1]*z[1]);E=(0,a.min)(T,(l-G)/(q-1)),C=(0,a.min)(T,(c-G)/(q+1))}}M>a.epsilon?C>a.epsilon?(b=f(Y,U,D,I,c,C,v),_=f(F,B,N,R,c,C,v),y.moveTo(b.cx+b.x01,b.cy+b.y01),C<T?y.arc(b.cx,b.cy,C,(0,a.atan2)(b.y01,b.x01),(0,a.atan2)(_.y01,_.x01),!v):(y.arc(b.cx,b.cy,C,(0,a.atan2)(b.y01,b.x01),(0,a.atan2)(b.y11,b.x11),!v),y.arc(0,0,c,(0,a.atan2)(b.cy+b.y11,b.cx+b.x11),(0,a.atan2)(_.cy+_.y11,_.cx+_.x11),!v),y.arc(_.cx,_.cy,C,(0,a.atan2)(_.y11,_.x11),(0,a.atan2)(_.y01,_.x01),!v))):(y.moveTo(D,I),y.arc(0,0,c,x,w,!v)):y.moveTo(D,I),l>a.epsilon&&S>a.epsilon?E>a.epsilon?(b=f(N,R,F,B,l,-E,v),_=f(D,I,Y,U,l,-E,v),y.lineTo(b.cx+b.x01,b.cy+b.y01),E<T?y.arc(b.cx,b.cy,E,(0,a.atan2)(b.y01,b.x01),(0,a.atan2)(_.y01,_.x01),!v):(y.arc(b.cx,b.cy,E,(0,a.atan2)(b.y01,b.x01),(0,a.atan2)(b.y11,b.x11),!v),y.arc(0,0,l,(0,a.atan2)(b.cy+b.y11,b.cx+b.x11),(0,a.atan2)(_.cy+_.y11,_.cx+_.x11),v),y.arc(_.cx,_.cy,E,(0,a.atan2)(_.y11,_.x11),(0,a.atan2)(_.y01,_.x01),!v))):y.arc(0,0,l,j,O,v):y.lineTo(N,R)}else y.moveTo(0,0);if(y.closePath(),o)return y=null,o+""||null}return g.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+p.apply(this,arguments)+ +h.apply(this,arguments))/2-a.pi/2;return[(0,a.cos)(n)*r,(0,a.sin)(n)*r]},g.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.default)(+t),g):e},g.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.default)(+e),g):t},g.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(+e),g):r},g.padRadius=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,o.default)(+e),g):n},g.startAngle=function(e){return arguments.length?(p="function"==typeof e?e:(0,o.default)(+e),g):p},g.endAngle=function(e){return arguments.length?(h="function"==typeof e?e:(0,o.default)(+e),g):h},g.padAngle=function(e){return arguments.length?(m="function"==typeof e?e:(0,o.default)(+e),g):m},g.context=function(e){return arguments.length?(y=null==e?null:e,g):y},g};var n,i=r(30296),o=(n=r(88644))&&n.__esModule?n:{default:n},a=r(58510);function s(e){return e.innerRadius}function l(e){return e.outerRadius}function c(e){return e.startAngle}function u(e){return e.endAngle}function d(e){return e&&e.padAngle}function f(e,t,r,n,i,o,s){var l=e-r,c=t-n,u=(s?o:-o)/(0,a.sqrt)(l*l+c*c),d=u*c,f=-u*l,p=e+d,h=t+f,m=r+d,y=n+f,g=(p+m)/2,v=(h+y)/2,b=m-p,_=y-h,x=b*b+_*_,w=i-o,O=p*y-m*h,j=(_<0?-1:1)*(0,a.sqrt)((0,a.max)(0,w*w*x-O*O)),S=(O*_-b*j)/x,M=(-O*b-_*j)/x,k=(O*_+b*j)/x,P=(-O*b+_*j)/x,T=S-g,E=M-v,C=k-g,L=P-v;return T*T+E*E>C*C+L*L&&(S=k,M=P),{cx:S,cy:M,x01:-d,y01:-f,x11:S*(i/w-1),y11:M*(i/w-1)}}},46857:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var c=null,u=(0,o.default)(!0),d=null,f=a.default,p=null;function h(o){var a,s,l,h,m,y=(o=(0,i.default)(o)).length,g=!1,v=new Array(y),b=new Array(y);for(null==d&&(p=f(m=(0,n.path)())),a=0;a<=y;++a){if(!(a<y&&u(h=o[a],a,o))===g)if(g=!g)s=a,p.areaStart(),p.lineStart();else{for(p.lineEnd(),p.lineStart(),l=a-1;l>=s;--l)p.point(v[l],b[l]);p.lineEnd(),p.areaEnd()}g&&(v[a]=+e(h,a,o),b[a]=+t(h,a,o),p.point(c?+c(h,a,o):v[a],r?+r(h,a,o):b[a]))}if(m)return p=null,m+""||null}function m(){return(0,s.default)().defined(u).curve(f).context(d)}return e="function"==typeof e?e:void 0===e?l.x:(0,o.default)(+e),t="function"==typeof t?t:void 0===t?(0,o.default)(0):(0,o.default)(+t),r="function"==typeof r?r:void 0===r?l.y:(0,o.default)(+r),h.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.default)(+t),c=null,h):e},h.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.default)(+t),h):e},h.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:(0,o.default)(+e),h):c},h.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.default)(+e),r=null,h):t},h.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.default)(+e),h):t},h.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,o.default)(+e),h):r},h.lineX0=h.lineY0=function(){return m().x(e).y(t)},h.lineY1=function(){return m().x(e).y(r)},h.lineX1=function(){return m().x(c).y(t)},h.defined=function(e){return arguments.length?(u="function"==typeof e?e:(0,o.default)(!!e),h):u},h.curve=function(e){return arguments.length?(f=e,null!=d&&(p=f(d)),h):f},h.context=function(e){return arguments.length?(null==e?d=p=null:p=f(d=e),h):d},h};var n=r(30296),i=c(r(27255)),o=c(r(88644)),a=c(r(56333)),s=c(r(5762)),l=r(7643);function c(e){return e&&e.__esModule?e:{default:e}}},41062:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().curve(i.curveRadialLinear),t=e.curve,r=e.lineX0,n=e.lineX1,s=e.lineY0,l=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return(0,a.lineRadial)(r())},delete e.lineX0,e.lineEndAngle=function(){return(0,a.lineRadial)(n())},delete e.lineX1,e.lineInnerRadius=function(){return(0,a.lineRadial)(s())},delete e.lineY0,e.lineOuterRadius=function(){return(0,a.lineRadial)(l())},delete e.lineY1,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e};var n,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(9387)),o=(n=r(46857))&&n.__esModule?n:{default:n},a=r(14869);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}},27255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==typeof e&&"length"in e?e:Array.from(e)},t.slice=void 0;var r=Array.prototype.slice;t.slice=r},88644:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){return e}}},59404:function(e,t){"use strict";function r(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function n(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.Basis=n,t.default=function(e){return new n(e)},t.point=r,n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},96216:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new a(e)};var n,i=(n=r(79820))&&n.__esModule?n:{default:n},o=r(59404);function a(e){this._context=e}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},64e3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new i(e)};var n=r(59404);function i(e){this._context=e}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:(0,n.point)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},61160:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bumpRadial=function(e){return new a(e)},t.bumpX=function(e){return new o(e,!0)},t.bumpY=function(e){return new o(e,!1)};var n,i=(n=r(37687))&&n.__esModule?n:{default:n};class o{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}class a{constructor(e){this._context=e}lineStart(){this._point=0}lineEnd(){}point(e,t){if(e=+e,t=+t,0===this._point++)this._x0=e,this._y0=t;else{const r=(0,i.default)(this._x0,this._y0),n=(0,i.default)(this._x0,this._y0=(this._y0+t)/2),o=(0,i.default)(e,this._y0),a=(0,i.default)(e,t);this._context.moveTo(...r),this._context.bezierCurveTo(...n,...o,...a)}}}},73196:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(59404);function i(e,t){this._basis=new n.Basis(e),this._beta=t}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1;if(r>0)for(var n,i=e[0],o=t[0],a=e[r]-i,s=t[r]-o,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+n*a),this._beta*t[l]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var o=function e(t){function r(e){return 1===t?new n.Basis(e):new i(e,t)}return r.beta=function(t){return e(+t)},r}(.85);t.default=o},64156:function(e,t){"use strict";function r(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function n(e,t){this._context=e,this._k=(1-t)/6}Object.defineProperty(t,"__esModule",{value:!0}),t.Cardinal=n,t.default=void 0,t.point=r,n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var i=function e(t){function r(e){return new n(e,t)}return r.tension=function(t){return e(+t)},r}(0);t.default=i},17704:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalClosed=a,t.default=void 0;var n,i=(n=r(79820))&&n.__esModule?n:{default:n},o=r(64156);function a(e,t){this._context=e,this._k=(1-t)/6}a.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,o.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s=function e(t){function r(e){return new a(e,t)}return r.tension=function(t){return e(+t)},r}(0);t.default=s},11536:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardinalOpen=i,t.default=void 0;var n=r(64156);function i(e,t){this._context=e,this._k=(1-t)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,n.point)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var o=function e(t){function r(e){return new i(e,t)}return r.tension=function(t){return e(+t)},r}(0);t.default=o},78632:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.point=o;var n=r(58510),i=r(64156);function o(e,t,r){var i=e._x1,o=e._y1,a=e._x2,s=e._y2;if(e._l01_a>n.epsilon){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,o=(o*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>n.epsilon){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-t*e._l12_2a)/d,s=(s*u+e._y1*e._l23_2a-r*e._l12_2a)/d}e._context.bezierCurveTo(i,o,a,s,e._x2,e._y2)}function a(e,t){this._context=e,this._alpha=t}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s=function e(t){function r(e){return t?new a(e,t):new i.Cardinal(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);t.default=s},58932:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(17704),o=(n=r(79820))&&n.__esModule?n:{default:n},a=r(78632);function s(e,t){this._context=e,this._alpha=t}s.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,a.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var l=function e(t){function r(e){return t?new s(e,t):new i.CardinalClosed(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);t.default=l},10180:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(11536),i=r(78632);function o(e,t){this._context=e,this._alpha=t}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,i.point)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var a=function e(t){function r(e){return t?new o(e,t):new n.CardinalOpen(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);t.default=a},56333:function(e,t){"use strict";function r(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new r(e)},r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},93585:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new o(e)};var n,i=(n=r(79820))&&n.__esModule?n:{default:n};function o(e){this._context=e}o.prototype={areaStart:i.default,areaEnd:i.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},77583:function(e,t){"use strict";function r(e){return e<0?-1:1}function n(e,t,n){var i=e._x1-e._x0,o=t-e._x1,a=(e._y1-e._y0)/(i||o<0&&-0),s=(n-e._y1)/(o||i<0&&-0),l=(a*o+s*i)/(i+o);return(r(a)+r(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function i(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function o(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-n)/3;e._context.bezierCurveTo(n+s,i+s*t,o-s,a-s*r,o,a)}function a(e){this._context=e}function s(e){this._context=new l(e)}function l(e){this._context=e}Object.defineProperty(t,"__esModule",{value:!0}),t.monotoneX=function(e){return new a(e)},t.monotoneY=function(e){return new s(e)},a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o(this,i(this,r=n(this,e,t)),r);break;default:o(this,this._t0,r=n(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(s.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},l.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}}},85363:function(e,t){"use strict";function r(e){this._context=e}function n(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new r(e)},r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var i=n(e),o=n(t),a=0,s=1;s<r;++a,++s)this._context.bezierCurveTo(i[0][a],o[0][a],i[1][a],o[1][a],e[s],t[s]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}}},9387:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.curveRadialLinear=void 0,t.default=a;var i=a(((n=r(56333))&&n.__esModule?n:{default:n}).default);function o(e){this._curve=e}function a(e){function t(t){return new o(e(t))}return t._curve=e,t}t.curveRadialLinear=i,o.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},17070:function(e,t){"use strict";function r(e,t){this._context=e,this._t=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new r(e,.5)},t.stepAfter=function(e){return new r(e,1)},t.stepBefore=function(e){return new r(e,0)},r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}}},88862:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}},37342:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},14746:function(e,t,r){"use strict";Object.defineProperty(t,"area",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"curveBasis",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"curveBasisClosed",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"curveBasisOpen",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"curveBumpX",{enumerable:!0,get:function(){return P.bumpX}}),Object.defineProperty(t,"curveBumpY",{enumerable:!0,get:function(){return P.bumpY}}),Object.defineProperty(t,"curveLinear",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"curveLinearClosed",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"curveMonotoneX",{enumerable:!0,get:function(){return z.monotoneX}}),Object.defineProperty(t,"curveMonotoneY",{enumerable:!0,get:function(){return z.monotoneY}}),Object.defineProperty(t,"curveNatural",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"curveStep",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"curveStepAfter",{enumerable:!0,get:function(){return B.stepAfter}}),Object.defineProperty(t,"curveStepBefore",{enumerable:!0,get:function(){return B.stepBefore}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"stack",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"stackOffsetExpand",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"stackOffsetNone",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"stackOffsetSilhouette",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"stackOffsetWiggle",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"stackOrderNone",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"symbol",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"symbolCircle",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"symbolCross",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"symbolDiamond",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"symbolSquare",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"symbolStar",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"symbolTriangle",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"symbolWye",{enumerable:!0,get:function(){return O.default}});var n=te(r(71166)),i=te(r(46857)),o=te(r(5762)),a=te(r(59332)),s=te(r(41062)),l=te(r(14869)),c=te(r(37687)),u=r(33532),d=ee(r(38952)),f=te(r(70767)),p=te(r(85511)),h=te(r(86163)),m=te(r(57903)),y=te(r(37753)),g=te(r(16747)),v=te(r(45816)),b=te(r(14768)),_=te(r(56971)),x=te(r(36695)),w=te(r(81489)),O=te(r(56324)),j=te(r(19763)),S=te(r(96216)),M=te(r(64e3)),k=te(r(59404)),P=r(61160),T=te(r(73196)),E=te(r(17704)),C=te(r(11536)),L=te(r(64156)),A=te(r(58932)),D=te(r(10180)),I=te(r(78632)),N=te(r(93585)),R=te(r(56333)),z=r(77583),F=te(r(85363)),B=ee(r(17070)),Y=te(r(3294)),U=te(r(84026)),H=te(r(55375)),$=te(r(30680)),W=te(r(27040)),V=te(r(51327)),q=te(r(13139)),G=te(r(80196)),Z=te(r(26099)),X=te(r(86089)),J=te(r(89171)),K=te(r(43631));function Q(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Q=function(e){return e?r:t})(e)}
153function ee(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=Q(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function te(e){return e&&e.__esModule?e:{default:e}}},5762:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,o.default)(!0),l=null,c=a.default,u=null;function d(o){var a,s,d,f=(o=(0,i.default)(o)).length,p=!1;for(null==l&&(u=c(d=(0,n.path)())),a=0;a<=f;++a)!(a<f&&r(s=o[a],a,o))===p&&((p=!p)?u.lineStart():u.lineEnd()),p&&u.point(+e(s,a,o),+t(s,a,o));if(d)return u=null,d+""||null}return e="function"==typeof e?e:void 0===e?s.x:(0,o.default)(e),t="function"==typeof t?t:void 0===t?s.y:(0,o.default)(t),d.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.default)(+t),d):e},d.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.default)(+e),d):t},d.defined=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.default)(!!e),d):r},d.curve=function(e){return arguments.length?(c=e,null!=l&&(u=c(l)),d):c},d.context=function(e){return arguments.length?(null==e?l=u=null:u=c(l=e),d):l},d};var n=r(30296),i=l(r(27255)),o=l(r(88644)),a=l(r(56333)),s=r(7643);function l(e){return e&&e.__esModule?e:{default:e}}},14869:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return s((0,o.default)().curve(i.curveRadialLinear))},t.lineRadial=s;var n,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(9387)),o=(n=r(5762))&&n.__esModule?n:{default:n};function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function s(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t((0,i.default)(e)):t()._curve},e}},33532:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=d,t.linkHorizontal=function(){return d(s.bumpX)},t.linkRadial=function(){const e=d(s.bumpRadial);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e},t.linkVertical=function(){return d(s.bumpY)};var n,i=r(30296),o=r(27255),a=(n=r(88644))&&n.__esModule?n:{default:n},s=r(61160),l=r(7643);function c(e){return e.source}function u(e){return e.target}function d(e){let t=c,r=u,n=l.x,s=l.y,d=null,f=null;function p(){let a;const l=o.slice.call(arguments),c=t.apply(this,l),u=r.apply(this,l);if(null==d&&(f=e(a=(0,i.path)())),f.lineStart(),l[0]=c,f.point(+n.apply(this,l),+s.apply(this,l)),l[0]=u,f.point(+n.apply(this,l),+s.apply(this,l)),f.lineEnd(),a)return f=null,a+""||null}return p.source=function(e){return arguments.length?(t=e,p):t},p.target=function(e){return arguments.length?(r=e,p):r},p.x=function(e){return arguments.length?(n="function"==typeof e?e:(0,a.default)(+e),p):n},p.y=function(e){return arguments.length?(s="function"==typeof e?e:(0,a.default)(+e),p):s},p.context=function(t){return arguments.length?(null==t?d=f=null:f=e(d=t),p):d},p}},58510:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.abs=void 0,t.acos=function(e){return e>1?0:e<-1?c:Math.acos(e)},t.asin=function(e){return e>=1?u:e<=-1?-u:Math.asin(e)},t.tau=t.sqrt=t.sin=t.pi=t.min=t.max=t.halfPi=t.epsilon=t.cos=t.atan2=void 0;const r=Math.abs;t.abs=r;const n=Math.atan2;t.atan2=n;const i=Math.cos;t.cos=i;const o=Math.max;t.max=o;const a=Math.min;t.min=a;const s=Math.sin;t.sin=s;const l=Math.sqrt;t.sqrt=l;t.epsilon=1e-12;const c=Math.PI;t.pi=c;const u=c/2;t.halfPi=u;const d=2*c;t.tau=d},79820:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},55375:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!((s=e.length)>0))return;for(var r,n,i,o,a,s,l=0,c=e[t[0]].length;l<c;++l)for(o=a=0,r=0;r<s;++r)(i=(n=e[t[r]][l])[1]-n[0])>0?(n[0]=o,n[1]=o+=i):i<0?(n[1]=a,n[0]=a+=i):(n[0]=0,n[1]=i)}},84026:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!((n=e.length)>0))return;for(var r,n,o,a=0,s=e[0].length;a<s;++a){for(o=r=0;r<n;++r)o+=e[r][a][1]||0;if(o)for(r=0;r<n;++r)e[r][a][1]/=o}(0,i.default)(e,t)};var n,i=(n=r(30680))&&n.__esModule?n:{default:n}},30680:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!((i=e.length)>1))return;for(var r,n,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}},27040:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!((r=e.length)>0))return;for(var r,n=0,o=e[t[0]],a=o.length;n<a;++n){for(var s=0,l=0;s<r;++s)l+=e[s][n][1]||0;o[n][1]+=o[n][0]=-l/2}(0,i.default)(e,t)};var n,i=(n=r(30680))&&n.__esModule?n:{default:n}},51327:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!((o=e.length)>0&&(n=(r=e[t[0]]).length)>0))return;for(var r,n,o,a=0,s=1;s<n;++s){for(var l=0,c=0,u=0;l<o;++l){for(var d=e[t[l]],f=d[s][1]||0,p=(f-(d[s-1][1]||0))/2,h=0;h<l;++h){var m=e[t[h]];p+=(m[s][1]||0)-(m[s-1][1]||0)}c+=f,u+=p*f}r[s-1][1]+=r[s-1][0]=a,c&&(a-=u/c)}r[s-1][1]+=r[s-1][0]=a,(0,i.default)(e,t)};var n,i=(n=r(30680))&&n.__esModule?n:{default:n}},13139:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,r){return t[e]-t[r]})};var n,i=(n=r(89171))&&n.__esModule?n:{default:n};function o(e){for(var t,r=-1,n=0,i=e.length,o=-1/0;++r<i;)(t=+e[r][1])>o&&(o=t,n=r);return n}},80196:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.map(o);return(0,i.default)(e).sort(function(e,r){return t[e]-t[r]})},t.sum=o;var n,i=(n=r(89171))&&n.__esModule?n:{default:n};function o(e){for(var t,r=0,n=-1,i=e.length;++n<i;)(t=+e[n][1])&&(r+=t);return r}},26099:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e).reverse()};var n,i=(n=r(80196))&&n.__esModule?n:{default:n}},86089:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r,n=e.length,a=e.map(o.sum),s=(0,i.default)(e),l=0,c=0,u=[],d=[];for(t=0;t<n;++t)r=s[t],l<c?(l+=a[r],u.push(r)):(c+=a[r],d.push(r));return d.reverse().concat(u)};var n,i=(n=r(13139))&&n.__esModule?n:{default:n},o=r(80196)},89171:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.length,r=new Array(t);for(;--t>=0;)r[t]=t;return r}},43631:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e).reverse()};var n,i=(n=r(89171))&&n.__esModule?n:{default:n}},59332:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=a.default,t=o.default,r=null,l=(0,i.default)(0),c=(0,i.default)(s.tau),u=(0,i.default)(0);function d(i){var o,a,d,f,p,h=(i=(0,n.default)(i)).length,m=0,y=new Array(h),g=new Array(h),v=+l.apply(this,arguments),b=Math.min(s.tau,Math.max(-s.tau,c.apply(this,arguments)-v)),_=Math.min(Math.abs(b)/h,u.apply(this,arguments)),x=_*(b<0?-1:1);for(o=0;o<h;++o)(p=g[y[o]=o]=+e(i[o],o,i))>0&&(m+=p);for(null!=t?y.sort(function(e,r){return t(g[e],g[r])}):null!=r&&y.sort(function(e,t){return r(i[e],i[t])}),o=0,d=m?(b-h*x)/m:0;o<h;++o,v=f)a=y[o],f=v+((p=g[a])>0?p*d:0)+x,g[a]={data:i[a],index:o,value:p,startAngle:v,endAngle:f,padAngle:_};return g}return d.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(+t),d):e},d.sortValues=function(e){return arguments.length?(t=e,r=null,d):t},d.sort=function(e){return arguments.length?(r=e,t=null,d):r},d.startAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.default)(+e),d):l},d.endAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,i.default)(+e),d):c},d.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.default)(+e),d):u},d};var n=l(r(27255)),i=l(r(88644)),o=l(r(88862)),a=l(r(37342)),s=r(58510);
153function l(e){return e&&e.__esModule?e:{default:e}}},7643:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.x=function(e){return e[0]},t.y=function(e){return e[1]}},37687:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},3294:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)([]),t=a.default,r=o.default,s=l;function u(i){var o,a,l=Array.from(e.apply(this,arguments),c),u=l.length,d=-1;for(const e of i)for(o=0,++d;o<u;++o)(l[o][d]=[0,+s(e,l[o].key,d,i)]).data=e;for(o=0,a=(0,n.default)(t(l));o<u;++o)l[a[o]].index=o;return r(l,a),l}return u.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(Array.from(t)),u):e},u.value=function(e){return arguments.length?(s="function"==typeof e?e:(0,i.default)(+e),u):s},u.order=function(e){return arguments.length?(t=null==e?a.default:"function"==typeof e?e:(0,i.default)(Array.from(e)),u):t},u.offset=function(e){return arguments.length?(r=null==e?o.default:e,u):r},u};var n=s(r(27255)),i=s(r(88644)),o=s(r(30680)),a=s(r(89171));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return e[t]}function c(e){const t=[];return t.key=e,t}},38952:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=null;function o(){let i;if(r||(r=i=(0,n.path)()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:(0,i.default)(e||a.default),t="function"==typeof t?t:(0,i.default)(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.default)(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.default)(+e),o):t},o.context=function(e){return arguments.length?(r=null==e?null:e,o):r},o},t.symbolsStroke=t.symbolsFill=void 0;var n=r(30296),i=v(r(88644)),o=v(r(70767)),a=v(r(85511)),s=v(r(86163)),l=v(r(57903)),c=v(r(37753)),u=v(r(16747)),d=v(r(45816)),f=v(r(14768)),p=v(r(56971)),h=v(r(36695)),m=v(r(81489)),y=v(r(56324)),g=v(r(19763));function v(e){return e&&e.__esModule?e:{default:e}}const b=[a.default,s.default,l.default,d.default,p.default,h.default,y.default];t.symbolsFill=b;const _=[a.default,u.default,g.default,m.default,o.default,f.default,c.default];t.symbolsStroke=_},70767:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=(0,n.sqrt)(3);var o={draw(e,t){const r=.59436*(0,n.sqrt)(t+(0,n.min)(t/28,.75)),o=r/2,a=o*i;e.moveTo(0,r),e.lineTo(0,-r),e.moveTo(-a,-o),e.lineTo(a,o),e.moveTo(-a,o),e.lineTo(a,-o)}};t.default=o},85511:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=(0,n.sqrt)(t/n.pi);e.moveTo(r,0),e.arc(0,0,r,0,n.tau)}};t.default=i},86163:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=(0,n.sqrt)(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};t.default=i},57903:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=(0,n.sqrt)(1/3),o=2*i;var a={draw(e,t){const r=(0,n.sqrt)(t/o),a=r*i;e.moveTo(0,-r),e.lineTo(a,0),e.lineTo(0,r),e.lineTo(-a,0),e.closePath()}};t.default=a},37753:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=.62625*(0,n.sqrt)(t);e.moveTo(0,-r),e.lineTo(r,0),e.lineTo(0,r),e.lineTo(-r,0),e.closePath()}};t.default=i},16747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=.87559*(0,n.sqrt)(t-(0,n.min)(t/7,2));e.moveTo(-r,0),e.lineTo(r,0),e.moveTo(0,r),e.lineTo(0,-r)}};t.default=i},45816:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=(0,n.sqrt)(t),i=-r/2;e.rect(i,i,r,r)}};t.default=i},14768:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=.4431*(0,n.sqrt)(t);e.moveTo(r,r),e.lineTo(r,-r),e.lineTo(-r,-r),e.lineTo(-r,r),e.closePath()}};t.default=i},56971:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=(0,n.sin)(n.pi/10)/(0,n.sin)(7*n.pi/10),o=(0,n.sin)(n.tau/10)*i,a=-(0,n.cos)(n.tau/10)*i;var s={draw(e,t){const r=(0,n.sqrt)(.8908130915292852*t),i=o*r,s=a*r;e.moveTo(0,-r),e.lineTo(i,s);for(let t=1;t<5;++t){const o=n.tau*t/5,a=(0,n.cos)(o),l=(0,n.sin)(o);e.lineTo(l*r,-a*r),e.lineTo(a*i-l*s,l*i+a*s)}e.closePath()}};t.default=s},36695:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=(0,n.sqrt)(3);var o={draw(e,t){const r=-(0,n.sqrt)(t/(3*i));e.moveTo(0,2*r),e.lineTo(-i*r,-r),e.lineTo(i*r,-r),e.closePath()}};t.default=o},81489:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=(0,n.sqrt)(3);var o={draw(e,t){const r=.6824*(0,n.sqrt)(t),o=r/2,a=r*i/2;e.moveTo(0,-r),e.lineTo(a,o),e.lineTo(-a,o),e.closePath()}};t.default=o},56324:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510);const i=-.5,o=(0,n.sqrt)(3)/2,a=1/(0,n.sqrt)(12),s=3*(a/2+1);var l={draw(e,t){const r=(0,n.sqrt)(t/s),l=r/2,c=r*a,u=l,d=r*a+r,f=-u,p=d;e.moveTo(l,c),e.lineTo(u,d),e.lineTo(f,p),e.lineTo(i*l-o*c,o*l+i*c),e.lineTo(i*u-o*d,o*u+i*d),e.lineTo(i*f-o*p,o*f+i*p),e.lineTo(i*l+o*c,i*c-o*l),e.lineTo(i*u+o*d,i*d-o*u),e.lineTo(i*f+o*p,i*p-o*f),e.closePath()}};t.default=l},19763:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58510),i={draw(e,t){const r=.6189*(0,n.sqrt)(t-(0,n.min)(t/6,1.7));e.moveTo(-r,-r),e.lineTo(r,r),e.moveTo(-r,r),e.lineTo(r,-r)}};t.default=i},30007:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,t.utcParse=t.utcFormat=t.timeParse=t.timeFormat=void 0;var n,i,o,a,s,l,c=(n=r(51396))&&n.__esModule?n:{default:n};function u(e){return i=(0,c.default)(e),t.timeFormat=o=i.format,t.timeParse=a=i.parse,t.utcFormat=s=i.utcFormat,t.utcParse=l=i.utcParse,i}t.timeFormat=o,t.timeParse=a,t.utcFormat=s,t.utcParse=l,u({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},68384:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isoFormat",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"isoParse",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"timeFormat",{enumerable:!0,get:function(){return n.timeFormat}}),Object.defineProperty(t,"timeFormatDefaultLocale",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"timeFormatLocale",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"timeParse",{enumerable:!0,get:function(){return n.timeParse}}),Object.defineProperty(t,"utcFormat",{enumerable:!0,get:function(){return n.utcFormat}}),Object.defineProperty(t,"utcParse",{enumerable:!0,get:function(){return n.utcParse}});var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,r&&r.set(e,n);return n}(r(30007)),i=s(r(51396)),o=s(r(44350)),a=s(r(75834));
153function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}},44350:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isoSpecifier=t.default=void 0;var n=r(30007),i="%Y-%m-%dT%H:%M:%S.%LZ";t.isoSpecifier=i;var o=Date.prototype.toISOString?function(e){return e.toISOString()}:(0,n.utcFormat)(i);t.default=o},75834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(44350),i=r(30007);var o=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:(0,i.utcParse)(n.isoSpecifier);t.default=o},51396:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dateTime,r=e.date,l=e.time,c=e.periods,u=e.days,d=e.shortDays,f=e.months,V=e.shortMonths,fe=p(c),je=h(c),Se=p(u),Me=h(u),ke=p(d),Pe=h(d),Te=p(f),Ee=h(f),Ce=p(V),Le=h(V),Ae={a:function(e){return d[e.getDay()]},A:function(e){return u[e.getDay()]},b:function(e){return V[e.getMonth()]},B:function(e){return f[e.getMonth()]},c:null,d:I,e:I,f:B,g:J,G:Q,H:N,I:R,j:z,L:F,m:Y,M:U,p:function(e){return c[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:we,s:Oe,S:H,u:$,U:W,V:q,w:G,W:Z,x:null,X:null,y:X,Y:K,Z:ee,"%":xe},De={a:function(e){return d[e.getUTCDay()]},A:function(e){return u[e.getUTCDay()]},b:function(e){return V[e.getUTCMonth()]},B:function(e){return f[e.getUTCMonth()]},c:null,d:te,e:te,f:ae,g:ge,G:be,H:re,I:ne,j:ie,L:oe,m:se,M:le,p:function(e){return c[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:we,s:Oe,S:ce,u:ue,U:de,V:pe,w:he,W:me,x:null,X:null,y:ye,Y:ve,Z:_e,"%":xe},Ie={a:function(e,t,r){var n=ke.exec(t.slice(r));return n?(e.w=Pe.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=Se.exec(t.slice(r));return n?(e.w=Me.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=Ce.exec(t.slice(r));return n?(e.m=Le.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=Te.exec(t.slice(r));return n?(e.m=Ee.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return ze(e,t,r,n)},d:S,e:S,f:C,g:x,G:_,H:k,I:k,j:M,L:E,m:j,M:P,p:function(e,t,r){var n=fe.exec(t.slice(r));return n?(e.p=je.get(n[0].toLowerCase()),r+n[0].length):-1},q:O,Q:A,s:D,S:T,u:y,U:g,V:v,w:m,W:b,x:function(e,t,n){return ze(e,r,t,n)},X:function(e,t,r){return ze(e,l,t,r)},y:x,Y:_,Z:w,"%":L};function Ne(e,t){return function(r){var n,i,o,a=[],l=-1,c=0,u=e.length;for(r instanceof Date||(r=new Date(+r));++l<u;)37===e.charCodeAt(l)&&(a.push(e.slice(c,l)),null!=(i=s[n=e.charAt(++l)])?n=e.charAt(++l):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),c=l+1);return a.push(e.slice(c,l)),a.join("")}}function Re(e,t){return function(r){var s,l,c=a(1900,void 0,1);if(ze(c,e,r+="",0)!=r.length)return null;if("Q"in c)return new Date(c.Q);if("s"in c)return new Date(1e3*c.s+("L"in c?c.L:0));if(t&&!("Z"in c)&&(c.Z=0),"p"in c&&(c.H=c.H%12+12*c.p),void 0===c.m&&(c.m="q"in c?c.q:0),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(l=(s=o(a(c.y,0,1))).getUTCDay(),s=l>4||0===l?n.utcMonday.ceil(s):(0,n.utcMonday)(s),s=n.utcDay.offset(s,7*(c.V-1)),c.y=s.getUTCFullYear(),c.m=s.getUTCMonth(),c.d=s.getUTCDate()+(c.w+6)%7):(l=(s=i(a(c.y,0,1))).getDay(),s=l>4||0===l?n.timeMonday.ceil(s):(0,n.timeMonday)(s),s=n.timeDay.offset(s,7*(c.V-1)),c.y=s.getFullYear(),c.m=s.getMonth(),c.d=s.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),l="Z"in c?o(a(c.y,0,1)).getUTCDay():i(a(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(l+5)%7:c.w+7*c.U-(l+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,o(c)):i(c)}}function ze(e,t,r,n){for(var i,o,a=0,l=t.length,c=r.length;a<l;){if(n>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=Ie[i in s?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return Ae.x=Ne(r,Ae),Ae.X=Ne(l,Ae),Ae.c=Ne(t,Ae),De.x=Ne(r,De),De.X=Ne(l,De),De.c=Ne(t,De),{format:function(e){var t=Ne(e+="",Ae);return t.toString=function(){return e},t},parse:function(e){var t=Re(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Ne(e+="",De);return t.toString=function(){return e},t},utcParse:function(e){var t=Re(e+="",!0);return t.toString=function(){return e},t}}};var n=r(26486);function i(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function a(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var s={"-":"",_:" ",0:"0"},l=/^\s*\d+/,c=/^%/,u=/[\\^$*+?|[\]().{}]/g;function d(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function f(e){return e.replace(u,"\\$&")}function p(e){return new RegExp("^(?:"+e.map(f).join("|")+")","i")}function h(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function m(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function y(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function g(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function v(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function b(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function _(e,t,r){var n=l.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function x(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function w(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function O(e,t,r){var n=l.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function j(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function S(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function M(e,t,r){var n=l.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function k(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function P(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function T(e,t,r){var n=l.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function E(e,t,r){var n=l.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function C(e,t,r){var n=l.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function L(e,t,r){var n=c.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function A(e,t,r){var n=l.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function D(e,t,r){var n=l.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function I(e,t){return d(e.getDate(),t,2)}function N(e,t){return d(e.getHours(),t,2)}function R(e,t){return d(e.getHours()%12||12,t,2)}function z(e,t){return d(1+n.timeDay.count((0,n.timeYear)(e),e),t,3)}function F(e,t){return d(e.getMilliseconds(),t,3)}function B(e,t){return F(e,t)+"000"}function Y(e,t){return d(e.getMonth()+1,t,2)}function U(e,t){return d(e.getMinutes(),t,2)}function H(e,t){return d(e.getSeconds(),t,2)}function $(e){var t=e.getDay();return 0===t?7:t}function W(e,t){return d(n.timeSunday.count((0,n.timeYear)(e)-1,e),t,2)}function V(e){var t=e.getDay();return t>=4||0===t?(0,n.timeThursday)(e):n.timeThursday.ceil(e)}function q(e,t){return e=V(e),d(n.timeThursday.count((0,n.timeYear)(e),e)+(4===(0,n.timeYear)(e).getDay()),t,2)}function G(e){return e.getDay()}function Z(e,t){return d(n.timeMonday.count((0,n.timeYear)(e)-1,e),t,2)}function X(e,t){return d(e.getFullYear()%100,t,2)}function J(e,t){return d((e=V(e)).getFullYear()%100,t,2)}function K(e,t){return d(e.getFullYear()%1e4,t,4)}function Q(e,t){var r=e.getDay();return d((e=r>=4||0===r?(0,n.timeThursday)(e):n.timeThursday.ceil(e)).getFullYear()%1e4,t,4)}function ee(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+d(t/60|0,"0",2)+d(t%60,"0",2)}function te(e,t){return d(e.getUTCDate(),t,2)}function re(e,t){return d(e.getUTCHours(),t,2)}function ne(e,t){return d(e.getUTCHours()%12||12,t,2)}function ie(e,t){return d(1+n.utcDay.count((0,n.utcYear)(e),e),t,3)}function oe(e,t){return d(e.getUTCMilliseconds(),t,3)}function ae(e,t){return oe(e,t)+"000"}function se(e,t){return d(e.getUTCMonth()+1,t,2)}function le(e,t){return d(e.getUTCMinutes(),t,2)}function ce(e,t){return d(e.getUTCSeconds(),t,2)}function ue(e){var t=e.getUTCDay();return 0===t?7:t}function de(e,t){return d(n.utcSunday.count((0,n.utcYear)(e)-1,e),t,2)}function fe(e){var t=e.getUTCDay();return t>=4||0===t?(0,n.utcThursday)(e):n.utcThursday.ceil(e)}function pe(e,t){return e=fe(e),d(n.utcThursday.count((0,n.utcYear)(e),e)+(4===(0,n.utcYear)(e).getUTCDay()),t,2)}function he(e){return e.getUTCDay()}function me(e,t){return d(n.utcMonday.count((0,n.utcYear)(e)-1,e),t,2)}function ye(e,t){return d(e.getUTCFullYear()%100,t,2)}function ge(e,t){return d((e=fe(e)).getUTCFullYear()%100,t,2)}function ve(e,t){return d(e.getUTCFullYear()%1e4,t,4)}function be(e,t){var r=e.getUTCDay();return d((e=r>=4||0===r?(0,n.utcThursday)(e):n.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function _e(){return"+0000"}function xe(){return"%"}function we(e){return+e}function Oe(e){return Math.floor(+e/1e3)}},30832:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.days=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationDay,e=>e.getDate()-1),s=a;t.default=s;var l=a.range;t.days=l},39208:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.durationYear=t.durationWeek=t.durationSecond=t.durationMonth=t.durationMinute=t.durationHour=t.durationDay=void 0;t.durationSecond=1e3;t.durationMinute=6e4;const r=36e5;t.durationHour=r;const n=864e5;t.durationDay=n;t.durationWeek=6048e5;t.durationMonth=2592e6;t.durationYear=31536e6},83522:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hours=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*o.durationSecond-e.getMinutes()*o.durationMinute)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getHours()}),s=a;t.default=s;var l=a.range;t.hours=l},26486:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"timeDay",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"timeDays",{enumerable:!0,get:function(){return c.days}}),Object.defineProperty(t,"timeFriday",{enumerable:!0,get:function(){return u.friday}}),Object.defineProperty(t,"timeFridays",{enumerable:!0,get:function(){return u.fridays}}),Object.defineProperty(t,"timeHour",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"timeHours",{enumerable:!0,get:function(){return l.hours}}),Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"timeMillisecond",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"timeMilliseconds",{enumerable:!0,get:function(){return o.milliseconds}}),Object.defineProperty(t,"timeMinute",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"timeMinutes",{enumerable:!0,get:function(){return s.minutes}}),Object.defineProperty(t,"timeMonday",{enumerable:!0,get:function(){return u.monday}}),Object.defineProperty(t,"timeMondays",{enumerable:!0,get:function(){return u.mondays}}),Object.defineProperty(t,"timeMonth",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"timeMonths",{enumerable:!0,get:function(){return d.months}}),Object.defineProperty(t,"timeSaturday",{enumerable:!0,get:function(){return u.saturday}}),Object.defineProperty(t,"timeSaturdays",{enumerable:!0,get:function(){return u.saturdays}}),Object.defineProperty(t,"timeSecond",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"timeSeconds",{enumerable:!0,get:function(){return a.seconds}}),Object.defineProperty(t,"timeSunday",{enumerable:!0,get:function(){return u.sunday}}),Object.defineProperty(t,"timeSundays",{enumerable:!0,get:function(){return u.sundays}}),Object.defineProperty(t,"timeThursday",{enumerable:!0,get:function(){return u.thursday}}),Object.defineProperty(t,"timeThursdays",{enumerable:!0,get:function(){return u.thursdays}}),Object.defineProperty(t,"timeTickInterval",{enumerable:!0,get:function(){return b.timeTickInterval}}),Object.defineProperty(t,"timeTicks",{enumerable:!0,get:function(){return b.timeTicks}}),Object.defineProperty(t,"timeTuesday",{enumerable:!0,get:function(){return u.tuesday}}),Object.defineProperty(t,"timeTuesdays",{enumerable:!0,get:function(){return u.tuesdays}}),Object.defineProperty(t,"timeWednesday",{enumerable:!0,get:function(){return u.wednesday}}),Object.defineProperty(t,"timeWednesdays",{enumerable:!0,get:function(){return u.wednesdays}}),Object.defineProperty(t,"timeWeek",{enumerable:!0,get:function(){return u.sunday}}),Object.defineProperty(t,"timeWeeks",{enumerable:!0,get:function(){return u.sundays}}),Object.defineProperty(t,"timeYear",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"timeYears",{enumerable:!0,get:function(){return f.years}}),Object.defineProperty(t,"utcDay",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"utcDays",{enumerable:!0,get:function(){return m.utcDays}}),Object.defineProperty(t,"utcFriday",{enumerable:!0,get:function(){return y.utcFriday}}),Object.defineProperty(t,"utcFridays",{enumerable:!0,get:function(){return y.utcFridays}}),Object.defineProperty(t,"utcHour",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"utcHours",{enumerable:!0,get:function(){return h.utcHours}}),Object.defineProperty(t,"utcMillisecond",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"utcMilliseconds",{enumerable:!0,get:function(){return o.milliseconds}}),Object.defineProperty(t,"utcMinute",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"utcMinutes",{enumerable:!0,get:function(){return p.utcMinutes}}),Object.defineProperty(t,"utcMonday",{enumerable:!0,get:function(){return y.utcMonday}}),Object.defineProperty(t,"utcMondays",{enumerable:!0,get:function(){return y.utcMondays}}),Object.defineProperty(t,"utcMonth",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"utcMonths",{enumerable:!0,get:function(){return g.utcMonths}}),Object.defineProperty(t,"utcSaturday",{enumerable:!0,get:function(){return y.utcSaturday}}),Object.defineProperty(t,"utcSaturdays",{enumerable:!0,get:function(){return y.utcSaturdays}}),Object.defineProperty(t,"utcSecond",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"utcSeconds",{enumerable:!0,get:function(){return a.seconds}}),Object.defineProperty(t,"utcSunday",{enumerable:!0,get:function(){return y.utcSunday}}),Object.defineProperty(t,"utcSundays",{enumerable:!0,get:function(){return y.utcSundays}}),Object.defineProperty(t,"utcThursday",{enumerable:!0,get:function(){return y.utcThursday}}),Object.defineProperty(t,"utcThursdays",{enumerable:!0,get:function(){return y.utcThursdays}}),Object.defineProperty(t,"utcTickInterval",{enumerable:!0,get:function(){return b.utcTickInterval}}),Object.defineProperty(t,"utcTicks",{enumerable:!0,get:function(){return b.utcTicks}}),Object.defineProperty(t,"utcTuesday",{enumerable:!0,get:function(){return y.utcTuesday}}),Object.defineProperty(t,"utcTuesdays",{enumerable:!0,get:function(){return y.utcTuesdays}}),Object.defineProperty(t,"utcWednesday",{enumerable:!0,get:function(){return y.utcWednesday}}),Object.defineProperty(t,"utcWednesdays",{enumerable:!0,get:function(){return y.utcWednesdays}}),Object.defineProperty(t,"utcWeek",{enumerable:!0,get:function(){return y.utcSunday}}),Object.defineProperty(t,"utcWeeks",{enumerable:!0,get:function(){return y.utcSundays}}),Object.defineProperty(t,"utcYear",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"utcYears",{enumerable:!0,get:function(){return v.utcYears}});var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=x(r(24311)),a=x(r(6948)),s=x(r(66372)),l=x(r(83522)),c=x(r(30832)),u=r(88012),d=x(r(98744)),f=x(r(94501)),p=x(r(50148)),h=x(r(25538)),m=x(r(3504)),y=r(67116),g=x(r(29944)),v=x(r(91525)),b=r(24340);function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_=function(e){return e?r:t})(e)}
153function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}},54785:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,i,o,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(e){return t(e=new Date(e-1)),i(e,1),t(e),e},s.round=function(e){var t=s(e),r=s.ceil(e);return e-t<r-e?t:r},s.offset=function(e,t){return i(e=new Date(+e),null==t?1:Math.floor(t)),e},s.range=function(e,r,n){var o,a=[];if(e=s.ceil(e),n=null==n?1:Math.floor(n),!(e<r&&n>0))return a;do{a.push(o=new Date(+e)),i(e,n),t(e)}while(o<e&&e<r);return a},s.filter=function(r){return e(function(e){if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;i(e,-1),!r(e););else for(;--t>=0;)for(;i(e,1),!r(e););})},o&&(s.count=function(e,i){return r.setTime(+e),n.setTime(+i),t(r),t(n),Math.floor(o(r,n))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e===0}:function(t){return s.count(0,t)%e===0}):s:null});return s};var r=new Date,n=new Date},24311:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.milliseconds=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n};var o=(0,i.default)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,i.default)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):o:null};var a=o;t.default=a;var s=o.range;t.milliseconds=s},66372:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minutes=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*o.durationSecond)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getMinutes()}),s=a;t.default=s;var l=a.range;t.minutes=l},98744:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.months=t.default=void 0;var i=(0,((n=r(54785))&&n.__esModule?n:{default:n}).default)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),o=i;t.default=o;var a=i.range;t.months=a},6948:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seconds=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*o.durationSecond)},function(e,t){return(t-e)/o.durationSecond},function(e){return e.getUTCSeconds()}),s=a;t.default=s;var l=a.range;t.seconds=l},24340:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcTicks=t.utcTickInterval=t.timeTicks=t.timeTickInterval=void 0;var n=r(35334),i=r(39208),o=b(r(24311)),a=b(r(6948)),s=b(r(66372)),l=b(r(83522)),c=b(r(30832)),u=r(88012),d=b(r(98744)),f=b(r(94501)),p=b(r(50148)),h=b(r(25538)),m=b(r(3504)),y=r(67116),g=b(r(29944)),v=b(r(91525));function b(e){return e&&e.__esModule?e:{default:e}}function _(e,t,r,s,l,c){const u=[[a.default,1,i.durationSecond],[a.default,5,5*i.durationSecond],[a.default,15,15*i.durationSecond],[a.default,30,30*i.durationSecond],[c,1,i.durationMinute],[c,5,5*i.durationMinute],[c,15,15*i.durationMinute],[c,30,30*i.durationMinute],[l,1,i.durationHour],[l,3,3*i.durationHour],[l,6,6*i.durationHour],[l,12,12*i.durationHour],[s,1,i.durationDay],[s,2,2*i.durationDay],[r,1,i.durationWeek],[t,1,i.durationMonth],[t,3,3*i.durationMonth],[e,1,i.durationYear]];function d(t,r,a){const s=Math.abs(r-t)/a,l=(0,n.bisector)(([,,e])=>e).right(u,s);if(l===u.length)return e.every((0,n.tickStep)(t/i.durationYear,r/i.durationYear,a));if(0===l)return o.default.every(Math.max((0,n.tickStep)(t,r,a),1));const[c,d]=u[s/u[l-1][2]<u[l][2]/s?l-1:l];return c.every(d)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:d(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},d]}const[x,w]=_(v.default,g.default,y.utcSunday,m.default,h.default,p.default);t.utcTickInterval=w,t.utcTicks=x;const[O,j]=_(f.default,d.default,u.sunday,c.default,l.default,s.default);t.timeTickInterval=j,t.timeTicks=O},3504:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.utcDays=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.durationDay},function(e){return e.getUTCDate()-1}),s=a;t.default=s;var l=a.range;t.utcDays=l},25538:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcHours=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.durationHour)},function(e,t){return(t-e)/o.durationHour},function(e){return e.getUTCHours()}),s=a;t.default=s;var l=a.range;t.utcHours=l},50148:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcMinutes=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);var a=(0,i.default)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.durationMinute)},function(e,t){return(t-e)/o.durationMinute},function(e){return e.getUTCMinutes()}),s=a;t.default=s;var l=a.range;t.utcMinutes=l},29944:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.utcMonths=t.default=void 0;var i=(0,((n=r(54785))&&n.__esModule?n:{default:n}).default)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),o=i;t.default=o;var a=i.range;t.utcMonths=a},67116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcWednesdays=t.utcWednesday=t.utcTuesdays=t.utcTuesday=t.utcThursdays=t.utcThursday=t.utcSundays=t.utcSunday=t.utcSaturdays=t.utcSaturday=t.utcMondays=t.utcMonday=t.utcFridays=t.utcFriday=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);function a(e){return(0,i.default)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/o.durationWeek})}var s=a(0);t.utcSunday=s;var l=a(1);t.utcMonday=l;var c=a(2);t.utcTuesday=c;var u=a(3);t.utcWednesday=u;var d=a(4);t.utcThursday=d;var f=a(5);t.utcFriday=f;var p=a(6);t.utcSaturday=p;var h=s.range;t.utcSundays=h;var m=l.range;t.utcMondays=m;var y=c.range;t.utcTuesdays=y;var g=u.range;t.utcWednesdays=g;var v=d.range;t.utcThursdays=v;var b=f.range;t.utcFridays=b;var _=p.range;t.utcSaturdays=_},91525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utcYears=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n};var o=(0,i.default)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null};var a=o;t.default=a;var s=o.range;t.utcYears=s},88012:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wednesdays=t.wednesday=t.tuesdays=t.tuesday=t.thursdays=t.thursday=t.sundays=t.sunday=t.saturdays=t.saturday=t.mondays=t.monday=t.fridays=t.friday=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n},o=r(39208);function a(e){return(0,i.default)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.durationMinute)/o.durationWeek})}var s=a(0);t.sunday=s;var l=a(1);t.monday=l;var c=a(2);t.tuesday=c;var u=a(3);t.wednesday=u;var d=a(4);t.thursday=d;var f=a(5);t.friday=f;var p=a(6);t.saturday=p;var h=s.range;t.sundays=h;var m=l.range;t.mondays=m;var y=c.range;t.tuesdays=y;var g=u.range;t.wednesdays=g;var v=d.range;t.thursdays=v;var b=f.range;t.fridays=b;var _=p.range;t.saturdays=_},94501:function(e,t,r){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.years=t.default=void 0;var n,i=(n=r(54785))&&n.__esModule?n:{default:n};var o=(0,i.default)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,i.default)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)}):null};var a=o;t.default=a;var s=o.range;t.years=s},83573:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternSet=t.InternMap=void 0;class r extends Map{constructor(e,t=s){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(o(this,e),t)}delete(e){return super.delete(a(this,e))}}t.InternMap=r;class n extends Set{constructor(e,t=s){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const t of e)this.add(t)}has(e){return super.has(i(this,e))}add(e){return super.add(o(this,e))}delete(e){return super.delete(a(this,e))}}function i({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function o({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function a({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function s(e){return null!==e&&"object"==typeof e?e.valueOf():e}t.InternSet=n},65576:function(e,t,r){e.exports=r(29305)},94595:function(e,t,r){e.exports=r(14746)},28720:function(e,t,r){"use strict";r.d(t,{$z:function(){return x},Ay:function(){return ut},D$:function(){return ne},Fi:function(){return H},K0:function(){return he},Q5:function(){return ge},Tz:function(){return T},Vg:function(){return O},as:function(){return Ue},bo:function(){return B},l6:function(){return M},oF:function(){return w},wt:function(){return ye}});var n=r(40809),i=r(20021),o=r(91565);const a=["buttons"],s=["children"],l=["label","className","icon","renderIcon","onClick","style"],c=["style","className"],u=["className","children","onFocus","onBlur"],d=["children"],f=["easing"],p=["easing"],h=["carousel","animation","render","toolbar","controller","noScroll","on","plugins","slides","index"],m=["animation","carousel","render","toolbar","controller","noScroll","on","slides","index","plugins"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const _="yarl__";function x(...e){return e.filter(Boolean).join(" ")}function w(e){return`${_}${e}`}function O(e){return`--${_}${e}`}function j(e,t){return`${e}${t?`_${t}`:""}`}function S(e){return t=>j(e,t)}function M(e,t){var r;return null!==(r=null==e?void 0:e[t])&&void 0!==r?r:t}function k(e,t,r){return M(e,"{index} of {total}").replace(/\{index}/g,`${I(r,t.length)+1}`).replace(/\{total}/g,`${t.length}`)}function P(...e){return()=>
153{e.forEach(e=>{e()})}}function T(e,t,r){return()=>{const i=n.useContext(r);if(!i)throw new Error(`${e} must be used within a ${t}.Provider`);return i}}function E(){return"undefined"!=typeof window}function C(e){return void 0===e.type||"image"===e.type}function L(e){return"string"==typeof e?Number.parseInt(e,10):e}function A(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){const t=L(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function D(e,t){const r=A(t),n=void 0!==r.percent?e.width/100*r.percent:r.pixel;return{width:Math.max(e.width-2*n,0),height:Math.max(e.height-2*n,0)}}function I(e,t){return t>0?(e%t+t)%t:0}function N(e){return e.length>0}function R(e,t){return e[I(t,e.length)]}function z(e,t){return N(e)?R(e,t):void 0}function F(e){return C(e)?e.src:void 0}function B(e,t,r){if(!r)return e;const{buttons:i}=e,o=b(e,a),s=i.findIndex(e=>e===t),l=n.isValidElement(r)?n.cloneElement(r,{key:t},null):r;if(s>=0){const e=[...i];return e.splice(s,1,l),g({buttons:e},o)}return g({buttons:[l,...i]},o)}const Y=Number(n.version.split(".")[0])>=19;const U={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[i.C]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:i.Td,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function H(e,t){return{name:e,component:t}}function $(e,t){return{module:e,children:t}}function W(e,t,r){return e.module.name===t?r(e):e.children?[$(e.module,e.children.flatMap(e=>{var n;return null!==(n=W(e,t,r))&&void 0!==n?n:[]}))]:[e]}function V(e,t,r){return e.flatMap(e=>{var n;return null!==(n=W(e,t,r))&&void 0!==n?n:[]})}const q=n.createContext(null),G=T("useA11yContext","A11yContext",q);function Z({children:e}){const[t,r]=n.useState(!1),[i,o]=n.useState(!1),a=n.useMemo(()=>({focusWithin:t,trackFocusWithin:(e,t)=>{const n=n=>i=>{var o;i.currentTarget.contains(i.relatedTarget)||r(n),null===(o=n?e:t)||void 0===o||o(i)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:i,setAutoPlaying:o}),[t,i]);return n.createElement(q.Provider,{value:a},e)}const X=n.createContext(null),J=T("useDocument","DocumentContext",X);function K({nodeRef:e,children:t}){const r=n.useMemo(()=>{const t=t=>{var r;return(null===(r=t||e.current)||void 0===r?void 0:r.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var r;return(null===(r=t(e))||void 0===r?void 0:r.defaultView)||window}}},[e]);return n.createElement(X.Provider,{value:r},t)}const Q=n.createContext(null),ee=T("useEvents","EventsContext",Q);function te({children:e}){const[t]=n.useState({});n.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);const r=n.useMemo(()=>{const e=(e,r)=>{var n;null===(n=t[e])||void 0===n||n.splice(0,t[e].length,...t[e].filter(e=>e!==r))};return{publish:(...[e,r])=>{var n;null===(n=t[e])||void 0===n||n.forEach(e=>e(r))},subscribe:(r,n)=>(t[r]||(t[r]=[]),t[r].push(n),()=>e(r,n)),unsubscribe:e}},[t]);return n.createElement(Q.Provider,{value:r},e)}const re=n.createContext(null),ne=T("useLightboxProps","LightboxPropsContext",re);function ie(e){let{children:t}=e,r=b(e,s);return n.createElement(re.Provider,{value:r},t)}const oe=n.createContext(null),ae=T("useLightboxState","LightboxStateContext",oe),se=n.createContext(null),le=T("useLightboxDispatch","LightboxDispatchContext",se);function ce(e,t){switch(t.type){case"swipe":{const{slides:r}=e,n=(null==t?void 0:t.increment)||0,i=e.globalIndex+n,o=I(i,r.length);return{slides:r,currentIndex:o,globalIndex:i,currentSlide:z(r,o),animation:n||void 0!==t.duration?{increment:n,duration:t.duration,easing:t.easing}:void 0}}case"update":return t.slides!==e.slides||t.index!==e.currentIndex?{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:z(t.slides,t.index)}:e;default:throw new Error(i.V)}}function ue({slides:e,index:t,children:r}){const[i,o]=n.useReducer(ce,{slides:e,currentIndex:t,globalIndex:t,currentSlide:z(e,t)});n.useEffect(()=>{o({type:"update",slides:e,index:t})},[e,t]);const a=n.useMemo(()=>g(g({},i),{},{state:i,dispatch:o}),[i,o]);return n.createElement(se.Provider,{value:o},n.createElement(oe.Provider,{value:a},r))}const de=n.createContext(null),fe=T("useTimeouts","TimeoutsContext",de);function pe({children:e}){const[t]=n.useState([]);n.useEffect(()=>()=>
153{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);const r=n.useMemo(()=>{const e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(r,n)=>{const i=window.setTimeout(()=>{e(i),r()},n);return t.push(i),i},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return n.createElement(de.Provider,{value:r},e)}const he=n.forwardRef(function(e,t){let{label:r,className:o,icon:a,renderIcon:s,onClick:c,style:u}=e,d=b(e,l);const{styles:f,labels:p}=ne(),h=M(p,r);return n.createElement("button",g({ref:t,type:"button",title:h,"aria-label":h,className:x(w(i.Uj),o),onClick:c,style:g(g({},u),f.button)},d),s?s():n.createElement(a,{className:w(i.jR),style:f.icon}))});function me(e,t){const r=e=>n.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},e),t);return r.displayName=e,r}function ye(e,t){return me(e,n.createElement("g",{fill:"currentColor"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ge(e,t){return me(e,n.createElement(n.Fragment,null,n.createElement("defs",null,n.createElement("mask",{id:"strike"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),n.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),n.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),n.createElement("g",{fill:"currentColor",mask:"url(#strike)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}const ve=ye("Close",n.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),be=ye("Previous",n.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),_e=ye("Next",n.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),xe=ye("Loading",n.createElement(n.Fragment,null,Array.from({length:8}).map((e,t,r)=>n.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/r.length*(t+1),transform:`rotate(${360/r.length*t}, 12, 12)`})))),we=ye("Error",n.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),Oe=E()?n.useLayoutEffect:n.useEffect;function je(){const[e,t]=n.useState(!1);return n.useEffect(()=>{var e,r;const n=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==n?void 0:n.matches);const i=e=>t(e.matches);return null===(r=null==n?void 0:n.addEventListener)||void 0===r||r.call(n,"change",i
153),()=>{var e;return null===(e=null==n?void 0:n.removeEventListener)||void 0===e?void 0:e.call(n,"change",i)}},[]),e}function Se(e,t){const r=n.useRef(void 0),i=n.useRef(void 0),o=je();return Oe(()=>{var n,a,s;if(e.current&&void 0!==r.current&&!o){const{keyframes:o,duration:l,easing:c,onfinish:u}=t(r.current,e.current.getBoundingClientRect(),function(e){let t=0,r=0,n=0;const i=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(i){const e=i[1].split(",").map(L);6===e.length?(t=e[4],r=e[5]):16===e.length&&(t=e[12],r=e[13],n=e[14])}return{x:t,y:r,z:n}}(e.current))||{};if(o&&l){null===(n=i.current)||void 0===n||n.cancel(),i.current=void 0;try{i.current=null===(s=(a=e.current).animate)||void 0===s?void 0:s.call(a,o,{duration:l,easing:c})}catch(e){console.error(e)}i.current&&(i.current.onfinish=()=>{i.current=void 0,null==u||u()})}}r.current=void 0}),{prepareAnimation:e=>{r.current=e},isAnimationPlaying:()=>{var e;return"running"===(null===(e=i.current)||void 0===e?void 0:e.playState)}}}function Me(){const e=n.useRef(null),t=n.useRef(void 0),[r,i]=n.useState();return{setContainerRef:n.useCallback(r=>{e.current=r,t.current&&(t.current.disconnect(),t.current=void 0);const n=()=>
153{if(r){const e=window.getComputedStyle(r),t=e=>parseFloat(e)||0;i({width:Math.round(r.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(r.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else i(void 0)};n(),r&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(n),t.current.observe(r))},[]),containerRef:e,containerRect:r}}function ke(){const e=n.useRef(void 0),{setTimeout:t,clearTimeout:r}=fe();return n.useCallback((n,i)=>{r(e.current),e.current=t(n,i>0?i:0)},[t,r])}function Pe(e){const t=n.useRef(e);return Oe(()=>{t.current=e}),n.useCallback((...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}function Te(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Ee(e,t){return n.useMemo(()=>null==e&&null==t?null:r=>{Te(e,r),Te(t,r)},[e,t])}function Ce(){const[e,t]=n.useState(!1);return Oe(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function Le(e,t){const r=n.useRef(0),i=ke(),o=Pe((...t)=>{r.current=Date.now(),e(t)});return n.useCallback((...e)=>{i(()=>{o(e)},t-(Date.now()-r.current))},[t,o,i])}const Ae=S("slide"),De=S("slide_image");function Ie({slide:e,offset:t,render:r,rect:o,imageFit:a,imageProps:s,onClick:l,onLoad:u,onError:d,style:f}){var p,h,m,y,v,_,O,j;const[S,M]=n.useState(i.Qo),{publish:k}=ee(),{setTimeout:P}=fe(),T=n.useRef(null);n.useEffect(()=>{0===t&&k((0,i.EC)(S))},[t,S,k]);const C=Pe(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(M(i.P9),P(()=>{null==u||u(e)},0))})}),L=n.useCallback(e=>{T.current=e,(null==e?void 0:e.complete)&&C(e)},[C]),A=n.useCallback(e=>{C(e.currentTarget)},[C]),D=Pe(()=>{M(i.I1),null==d||d()}),I=function(e,t){return e.imageFit===i.e7||e.imageFit!==i.Td&&t===i.e7}(e,a),N=(e,t)=>Number.isFinite(e)?e:t,R=N(Math.max(...(null!==(h=null===(p=e.srcSet)||void 0===p?void 0:p.map(e=>e.width))&&void 0!==h?h:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(m=T.current)||void 0===m?void 0:m.naturalWidth)||0),z=N(Math.max(...(null!==(v=null===(y=e.srcSet)||void 0===y?void 0:y.map(e=>e.height))&&void 0!==v?v:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(_=T.current)||void 0===_?void 0:_.naturalHeight)||0),F=R&&z?{maxWidth:`min(${R}px, 100%)`,maxHeight:`min(${z}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},B=null===(O=e.srcSet)||void 0===O?void 0:O.slice().sort((e,t)=>e.width-t.width).map(e=>`${e.src}
153 ${e.width}w`).join(", "),Y=B&&o&&E()?`${Math.round(Math.min(o&&!I&&e.width&&e.height?o.height/e.height*e.width:Number.MAX_VALUE,o.width))}px`:void 0,U=("function"==typeof s?s(e):s)||{},{style:H,className:$}=U,W=b(U,c);return n.createElement(n.Fragment,null,n.createElement("img",g(g({ref:L,onLoad:A,onError:D,onClick:l,draggable:!1,className:x(w(De()),I&&w(De("cover")),S!==i.P9&&w(De("loading")),$),style:g(g(g({},F),f),H)},W),{},{alt:null!==(j=e.alt)&&void 0!==j?j:"",sizes:Y,srcSet:B,src:e.src})),S!==i.P9&&n.createElement("div",{className:w(Ae(i.Bv))},S===i.Qo&&((null==r?void 0:r.iconLoading)?r.iconLoading():n.createElement(xe,{className:x(w(i.jR),w(Ae(i.Qo)))})),S===i.I1&&((null==r?void 0:r.iconError)?r.iconError():n.createElement(we,{className:x(w(i.jR),w(Ae(i.I1)))}))))}const Ne=n.forwardRef(function(e,t){let{className:r,children:i,onFocus:o,onBlur:a}=e,s=b(e,u);const l=n.useRef(null),{trackFocusWithin:c}=G();return n.createElement(K,{nodeRef:l},n.createElement("div",g(g({ref:Ee(t,l),className:x(w("root"),r)},c(o,a)),s),i))});var Re,ze;!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(Re||(Re={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(ze||(ze={}));function Fe({disableSwipeNavigation:e,closeOnBackdropClick:t},r,o,a,s,l,c,u,d,f,p,h,m,y,g,v){const b=n.useRef(0),_=n.useRef([]),x=n.useRef(void 0),O=n.useRef(0),j=n.useRef(ze.NONE),S=n.useCallback(e=>{x.current===e.pointerId&&(x.current=void 0,j.current=ze.NONE);const t=_.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=n.useCallback(e=>{S(e),e.persist(),_.current.push(e)},[S]),k=n.useCallback(e=>_.current.find(({pointerId:t})=>e.pointerId===t),[]),T=Pe(e=>{M(e)}),E=(e,t)=>p&&e>t||f&&e<-t,C=Pe(e=>{const r=k(e);if(r)if(x.current===e.pointerId){const e=Date.now()-O.current,t=b.current;j.current===ze.SWIPE?Math.abs(t)>.3*a||Math.abs(t)>5&&e<s?u(t,e):d(t):j.current===ze.PULL&&(E(t,60)?y(t,e):g(t)),b.current=0,j.current=ze.NONE}else{const{target:n}=e;t&&n instanceof HTMLElement&&n===r.target&&(n.classList.contains(w(i.h0))||n.classList.contains(w(i.pc)))&&v()}S(e)});!function(e,t,r,o,a){n.useEffect(()=>a?()=>{}:P(e(i.qq,t),e(i.RK,r),e(i.tu,o),e(i.tD,o),e(i.s,o)),[e,t,r,o,a])}(r,T,Pe(t=>{const r=k(t);if(r){const n=x.current===t.pointerId;if(0===t.buttons)return void(n&&0!==b.current?C(t):S(r));const i=t.clientX-r.clientX,a=t.clientY-r.clientY;if(void 0===x.current){const r=e=>{M(t),x.current=t.pointerId,O.current=Date.now(),j.current=e};Math.abs(i)>Math.abs(a)&&Math.abs(i)>30&&o(i)?e||(r(ze.SWIPE),l()):Math.abs(a)>Math.abs(i)&&E(a,30)&&(r(ze.PULL),h())}else n&&(j.current===ze.SWIPE?(b.current=i,c(i)):j.current===ze.PULL&&(b.current=a,m(a)))}}),C)}const Be=S("container"),Ye=n.createContext(null),Ue=T("useController","ControllerContext",Ye);const He=H(i.Kv,function(e){let{children:t}=e,r=b(e,d);var o;const{carousel:a,animation:s,controller:l,on:c,styles:u,render:f}=r,{closeOnPullUp:p,closeOnPullDown:h,preventDefaultWheelX:m,preventDefaultWheelY:y}=l,[v,_]=n.useState(),j=ae(),S=le(),[M,k]=n.useState(Re.NONE),T=n.useRef(0),E=n.useRef(0),C=n.useRef(1),{registerSensors:L,subscribeSensors:I}=function(){const[e]=n.useState({}),t=n.useCallback((t,r)=>{var n;null===(n=e[t])||void 0===n||n.forEach(e=>{r.isPropagationStopped()||e(r)})},[e]);return{registerSensors:n.useMemo(()=>({onPointerDown:e=>t(i.qq,e),onPointerMove:e=>t(i.RK,e),onPointerUp:e=>t(i.tu,e),onPointerLeave:e=>t(i.tD,e),onPointerCancel:e=>t(i.s,e),onKeyDown:e=>t(i.uF,e),onKeyUp:e=>t(i.t$,e),onWheel:e=>t(i.j7,e)}),[t]),subscribeSensors:n.useCallback((t,r)=>(e[t]||(e[t]=[]),e[t].unshift(r),()=>{const n=e[t];n&&n.splice(0,n.length,...n.filter(e=>e!==r))}),[e])}}(),{subscribe:N,publish:R}=ee(),z=ke(),F=ke(),B=ke(),{containerRef:Y,setContainerRef:U,containerRect:H}=Me(),$=Ee(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){const r=n.useRef(null),i=Pe(r=>{const n=Math.abs(r.deltaX)>Math.abs(r.deltaY);(n&&e||!n&&t||r.ctrlKey)&&r.preventDefault()});return n.useCallback(e=>{var t;e?e.addEventListener("wheel",i,{passive:!1}):null===(t=r.current)||void 0===t||t.removeEventListener("wheel",i),r.current=e},[i])}({preventDefaultWheelX:m,preventDefaultWheelY:y}),U),W=n.useRef(null),V=Ee(W,void 0),{getOwnerDocument:q}=J(),G=Ce(),Z=e=>(G?-1:1)*("number"==typeof e?e:1),X=Pe(()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.focus()}),K=Pe(()=>r),Q=Pe(()=>j),te=n.useCallback(e=>R(i.zn,e),[R]),re=n.useCallback(e=>R(i.Nc,e),[R]),ne=n.useCallback(()=>R(i.C),[R]),ie=e=>!(a.finite&&(Z(e)>0&&0===j.currentIndex||Z(e)<0&&j.currentIndex===j.slides.length-1)),oe=e=>{var t;T.current=e,null===(t=Y.current)||void 0===t||t.style.setProperty(O("swipe_offset"),`${Math.round(e)}px`)},se=e=>{var t,r;E.current=e,C.current=(()=>{const t=h&&e>0?e:p&&e<0?-e:0;return Math.min(Math.max(function(e,t=0){const r=10**t;return Math.round((e+Number.EPSILON)*r)/r}(1-t/60*.5,2),.5),1)})(),null===(t=Y.current)||void 0===t||t.style.setProperty(O("pull_offset"),`${Math.round(e)}px`),null===(r=Y.current)||void 0===r||r.style.setProperty(O("pull_opacity"),`${C.current}`)},{prepareAnimation:ce}=Se(W,(e,t,r)=>{if(W.current&&H)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+r.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:s.easing.fade}}),ue=(e,t)=>
153{if(p||h){se(e);let r=0;W.current&&(r=s.fade*(t?2:1),ce({rect:W.current.getBoundingClientRect(),opacity:C.current,duration:r})),B(()=>{se(0),k(Re.NONE)},r),k(Re.ANIMATION),t||ne()}},{prepareAnimation:de,isAnimationPlaying:pe}=Se(W,(e,t,r)=>{var n;if(W.current&&H&&(null===(n=j.animation)||void 0===n?void 0:n.duration)){const n=A(a.spacing),i=(n.percent?n.percent*H.width/100:n.pixel)||0;return{keyframes:[{transform:`translate(${Z(j.globalIndex-e.index)*(H.width+i)+e.rect.x-t.x+r.x}px, 0)`},{transform:"translate(0, 0)"}],duration:j.animation.duration,easing:j.animation.easing}}}),he=Pe(e=>{var t,r;const n=e.offset||0,o=n?s.swipe:null!==(t=s.navigation)&&void 0!==t?t:s.swipe,a=n||pe()?s.easing.swipe:s.easing.navigation;let{direction:l}=e;const c=null!==(r=e.count)&&void 0!==r?r:1;let u=Re.ANIMATION,d=o*c;if(!l){const t=null==H?void 0:H.width,r=e.duration||0,a=t?o/t*Math.abs(n):o;0!==c?(r<a?d=d/a*Math.max(r,a/5):t&&(d=o/t*(t-Math.abs(n))),l=Z(n)>0?i.zn:i.Nc):d=o/2}let f=0;l===i.zn?ie(Z(1))?f=-c:(u=Re.NONE,d=o):l===i.Nc&&(ie(Z(-1))?f=c:(u=Re.NONE,d=o)),d=Math.round(d),F(()=>{oe(0),k(Re.NONE)},d),W.current&&de({rect:W.current.getBoundingClientRect(),index:j.globalIndex}),k(u),R(i.sI,{type:"swipe",increment:f,duration:d,easing:a})});n.useEffect(()=>{var e,t;(null===(e=j.animation)||void 0===e?void 0:e.increment)&&(null===(t=j.animation)||void 0===t?void 0:t.duration)&&z(()=>S({type:"swipe",increment:0}),j.animation.duration)},[j.animation,S,z]);const me=[I,ie,(null==H?void 0:H.width)||0,s.swipe,()=>k(Re.SWIPE),e=>oe(e),(e,t)=>he({offset:e,duration:t,count:1}),e=>he({offset:e,count:0})],ye=[()=>{h&&k(Re.PULL)},e=>se(e),e=>ue(e),e=>ue(e,!0)];Fe(l,...me,p,h,...ye,ne),function(e,t,r,o,a,s,l,c,u){const d=n.useRef(0),f=n.useRef(0),p=n.useRef(void 0),h=n.useRef(void 0),m=n.useRef(0),y=n.useRef(void 0),g=n.useRef(0),{setTimeout:v,clearTimeout:b}=fe(),_=n.useCallback(()=>{p.current&&(b(p.current),p.current=void 0)},[b]),x=n.useCallback(()=>{h.current&&(b(h.current),h.current=void 0)},[b]),w=Pe(()=>{e!==Re.SWIPE&&(d.current=0,g.current=0,_(),x())});n.useEffect(w,[e,w]);const O=Pe(e=>{h.current=void 0,d.current===e&&u(d.current)}),j=Pe(t=>{if(t.ctrlKey)return;if(Math.abs(t.deltaY)>Math.abs(t.deltaX))return;const n=e=>{m.current=e,b(y.current),y.current=e>0?v(()=>{m.current=0,y.current=void 0},300):void 0};if(e===Re.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current))return void n(t.deltaX);if(!r(-t.deltaX))return;if(f.current+=t.deltaX,_(),Math.abs(f.current)>30)f.current=0,n(0),g.current=Date.now(),s();else{const e=f.current;p.current=v(()=>{p.current=void 0,e===f.current&&(f.current=0)},a)}}else if(e===Re.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),o)*Math.sign(e),d.current=e,l(e),x(),Math.abs(e)>.2*o)return n(t.deltaX),void c(e,Date.now()-g.current);h.current=v(()=>O(e),2*a)}else n(t.deltaX)});n.useEffect(()=>t(i.j7,j),[t,j])}(M,...me);const ge=Pe(()=>{l.focus&&q().querySelector(`.${w(i.kJ)} .${w(Be())}`)&&X()});n.useEffect(ge,[ge]);const ve=Pe(()=>{var e;null===(e=c.view)||void 0===e||e.call(c,{index:j.currentIndex})});n.useEffect(ve,[j.globalIndex,ve]),n.useEffect(()=>P(N(i.zn,e=>he(g({direction:i.zn},e))),N(i.Nc,e=>he(g({direction:i.Nc},e))),N(i.sI,e=>S(e))),[N,he,S]);const be=n.useMemo(()=>({prev:te,next:re,close:ne,focus:X,slideRect:H?D(H,a.padding):{width:0,height:0},containerRect:H||{width:0,height:0},subscribeSensors:I,containerRef:Y,setCarouselRef:V,toolbarWidth:v,setToolbarWidth:_}),[te,re,ne,X,I,H,Y,V,v,_,a.padding]);return n.useImperativeHandle(l.ref,()=>({prev:te,next:re,close:ne,focus:X,getLightboxProps:K,getLightboxState:Q}),[te,re,ne,X,K,Q]),n.createElement("div",g({ref:$,className:x(w(Be()),w(i.tC)),style:g(g(g(g({},M===Re.SWIPE?{[O("swipe_offset")]:`${Math.round(T.current)}px`}:null),M===Re.PULL?{[O("pull_offset")]:`${Math.round(E.current)}px`,[O("pull_opacity")]:`${C.current}`}:null),"none"!==l.touchAction?{[O("controller_touch_action")]:l.touchAction}:null),u.container),tabIndex:-1},L),H&&n.createElement(Ye.Provider,{value:be},t,null===(o=f.controls)||void 0===o?void 0:o.call(f)))});function $e(e){return j(i.mY,e)}function We(e){return j(i.h0,e)}function Ve({slide:e,offset:t}){const r=n.useRef(null),{currentIndex:o,slides:a}=ae(),{slideRect:s,focus:l}=Ue(),{render:c,carousel:{imageFit:u,imageProps:d},on:{click:f},styles:{slide:p},labels:h}=ne(),{getOwnerDocument:m}=J(),y=0!==t;n.useEffect(()=>{var e;y&&(null===(e=r.current)||void 0===e?void 0:e.contains(m().activeElement))&&l()},[y,l,m]);return n.createElement("div",g(g({ref:r,className:x(w(We()),!y&&w(We("current")),w(i.tC))},(v=y,{inert:Y?v:v?"":void 0})),{},{style:p,role:"group","aria-roledescription":M(h,"Slide"),"aria-label":k(h,a,o+t)}),(()=>{var r,i,a,l;let p=null===(r=c.slide)||void 0===r?void 0:r.call(c,{slide:e,offset:t,rect:s});return!p&&C(e)&&(p=n.createElement(Ie,{slide:e,offset:t,render:c,rect:s,imageFit:u,imageProps:d,onClick:y?void 0:()=>null==f?void 0:f({index:o})})),p?n.createElement(n.Fragment,null,null===(i=c.slideHeader)||void 0===i?void 0:i.call(c,{slide:e}),(null!==(a=c.slideContainer)&&void 0!==a?a:({children:e})=>e)({slide:e,children:p}),null===(l=c.slideFooter)||void 0===l?void 0:l.call(c,{slide:e})):null})());var v}function qe(){const e=ne().styles.slide;return n.createElement("div",{className:w(i.h0),style:e})}const Ge=H(i.mY,function({carousel:e,labels:t}){const{slides:r,currentIndex:i,globalIndex:o}=ae(),{setCarouselRef:a}=Ue(),{autoPlaying:s,focusWithin:l}=G(),c=A(e.spacing),u=A(e.padding),d=function(e,t,r=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),r))}(e,r,1),f=[];if(N(r))for(let t=i-d;t<=i+d;t+=1){const n=R(r,t),a=o-i+t,s=e.finite&&(t<0||t>r.length-1);f.push(s?{key:a}:{key:[`${a}
153`,F(n)].filter(Boolean).join("|"),offset:t-i,slide:n})}return n.createElement("div",{ref:a,className:x(w($e()),f.length>0&&w($e("with_slides"))),style:{[`${O($e("slides_count"))}`]:f.length,[`${O($e("spacing_px"))}`]:c.pixel||0,[`${O($e("spacing_percent"))}`]:c.percent||0,[`${O($e("padding_px"))}`]:u.pixel||0,[`${O($e("padding_percent"))}`]:u.percent||0},role:"region","aria-live":s&&!l?"off":"polite","aria-roledescription":M(t,"Carousel"),"aria-label":M(t,"Photo gallery")},f.map(({key:e,slide:t,offset:r})=>t?n.createElement(Ve,{key:e,slide:t,offset:r}):n.createElement(qe,{key:e})))});function Ze(){const{carousel:e}=ne(),{slides:t,currentIndex:r}=ae();return{prevDisabled:0===t.length||e.finite&&0===r,nextDisabled:0===t.length||e.finite&&r===t.length-1}}function Xe({label:e,icon:t,renderIcon:r,action:i,onClick:o,disabled:a,style:s}){return n.createElement(he,g({label:e,icon:t,renderIcon:r,className:w(`navigation_${i}`),disabled:a,onClick:o,style:s},function(e,t=!1){const r=n.useRef(!1);return Oe(()=>{t&&r.current&&(r.current=!1,e())},[t,e]),{onFocus:n.useCallback(()=>{r.current=!0},[]),onBlur:n.useCallback(()=>{r.current=!1},[])}}(Ue().focus,a)))}const Je=H(i.Ky,function({render:{buttonPrev:e,buttonNext:t,iconPrev:r,iconNext:o},styles:a}){const{prev:s,next:l,subscribeSensors:c}=Ue(),{prevDisabled:u,nextDisabled:d}=Ze();return function(e){var t;const r=Ce(),{publish:o}=ee(),{animation:a}=ne(),{prevDisabled:s,nextDisabled:l}=Ze(),c=(null!==(t=a.navigation)&&void 0!==t?t:a.swipe)/2,u=Le(()=>o(i.zn),c),d=Le(()=>o(i.Nc),c),f=Pe(e=>{switch(e.key){case i.or:o(i.C);break;case i.A9:(r?l:s)||(r?d:u)();break;case i.jn:(r?s:l)||(r?u:d)()}});n.useEffect(()=>e(i.uF,f),[e,f])}(c),n.createElement(n.Fragment,null,e?e():n.createElement(Xe,{label:"Previous",action:i.zn,icon:be,renderIcon:r,style:a.navigationPrev,disabled:u,onClick:s}),t?t():n.createElement(Xe,{label:"Next",action:i.Nc,icon:_e,renderIcon:o,style:a.navigationNext,disabled:d,onClick:l}))}),Ke=w(i.HR),Qe=w(i.vg);function et(e){return"style"in e}function tt(e,t,r){const n=window.getComputedStyle(e),i=r?"padding-left":"padding-right",o=r?n.paddingLeft:n.paddingRight,a=e.style.getPropertyValue(i);return e.style.setProperty(i,`${(L(o)||0)+t}px`),()=>{a?e.style.setProperty(i,a):e.style.removeProperty(i)}}const rt=H(i.b6,function({noScroll:{disabled:e},children:t}){const r=Ce(),{getOwnerDocument:i,getOwnerWindow:o}=J();return n.useEffect(()=>{if(e)return()=>{};const t=[],n=o(),{body:a,documentElement:s}=i(),l=Math.round(n.innerWidth-s.clientWidth);if(l>0){t.push(tt(a,l,r));const e=a.getElementsByTagName("*");for(let i=0;i<e.length;i+=1){const o=e[i];et(o)&&"fixed"===n.getComputedStyle(o).getPropertyValue("position")&&!o.classList.contains(Qe)&&t.push(tt(o,l,r))}}return a.classList.add(Ke),()=>{a.classList.remove(Ke),t.forEach(e=>e())}},[r,e,i,o]),n.createElement(n.Fragment,null,t)});function nt(e){return j(i.kJ,e)}function it(e,t,r){const n=e.getAttribute(t);return e.setAttribute(t,r),()=>{n?e.setAttribute(t,n):e.removeAttribute(t)}}const ot=H(i.kJ,function({children:e,animation:t,styles:r,className:a,on:s,portal:l,close:c,labels:u}){const[d,f]=n.useState(!1),[p,h]=n.useState(!1),m=n.useRef([]),y=n.useRef(null),{setTimeout:v}=fe(),{subscribe:b}=ee(),_=je()?0:t.fade;n.useEffect(()=>(f(!0),()=>{f(!1),h(!1)}),[]);const j=Pe(()=>{m.current.forEach(e=>e()),m.current=[]}),S=Pe(()=>{var e;h(!1),j(),null===(e=s.exiting)||void 0===e||e.call(s),v(()=>{var e;null===(e=s.exited)||void 0===e||e.call(s),c()},_)});n.useEffect(()=>b(i.C,S),[b,S]);const k=Pe(e=>{var t,r,n;!function(e){e.scrollTop}(e),h(!0),null===(t=s.entering)||void 0===t||t.call(s);const i=null!==(n=null===(r=e.parentNode)||void 0===r?void 0:r.children)&&void 0!==n?n:[];for(let t=0;t<i.length;t+=1){const r=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(r.tagName)&&r!==e&&(m.current.push(it(r,"inert","")),m.current.push(it(r,"aria-hidden","true")))}m.current.push(()=>{var e,t;null===(t=null===(e=y.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),v(()=>{var e;null===(e=s.entered)||void 0===e||e.call(s)},_)}),P=n.useCallback(e=>{e?k(e):j()},[k,j]);return d?(0,o.createPortal)(n.createElement(Ne,{ref:P,className:x(a,w(nt()),w(i.vg),p&&w(nt("open"))),"aria-modal":!0,role:"dialog","aria-label":M(u,"Lightbox"),style:g(g(g
153({},t.fade!==U.animation.fade?{[O("fade_animation_duration")]:`${_}ms`}:null),t.easing.fade!==U.animation.easing.fade?{[O("fade_animation_timing_function")]:t.easing.fade}:null),r.root),onFocus:e=>{y.current||(y.current=e.relatedTarget)}},e),l.root||document.body):null});const at=H(i.OT,function({children:e}){return n.createElement(n.Fragment,null,e)});const st=H(i.pq,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:r},styles:o}){const{close:a,setToolbarWidth:s}=Ue(),{setContainerRef:l,containerRect:c}=Me();return Oe(()=>{s(null==c?void 0:c.width)},[s,null==c?void 0:c.width]),n.createElement("div",{ref:l,style:o.toolbar,className:w(j(i.pq,u))},null==e?void 0:e.map(e=>e===i.C?t?t():n.createElement(he,{key:i.C,label:"Close",icon:ve,renderIcon:r,onClick:a}):e));var u});function lt(e,t){var r;return n.createElement(e.module.component,g({key:e.module.name},t),null===(r=e.children)||void 0===r?void 0:r.map(e=>lt(e,t)))}function ct(e,t={}){const{easing:r}=e,n=b(e,f),{easing:i}=t,o=b(t,p);return g(g({easing:g(g({},r),i)},n),o)}function ut(e){let{carousel:t,animation:r,render:o,toolbar:a,controller:s,noScroll:l,on:c,plugins:u,slides:d,index:f}=e,p=b(e,h);const{animation:y,carousel:v,render:_,toolbar:x,controller:w,noScroll:O,on:j,slides:S,index:M,plugins:k}=U,P=b(U,m),{config:T,augmentation:E}=function(e,t=[],r=[]){let n=e;const o=e=>{const t=[...n];for(;t.length>0;){const r=t.pop();if((null==r?void 0:r.module.name)===e)return!0;(null==r?void 0:r.children)&&t.push(...r.children)}return!1},a=(e,t)=>{n=""!==e?V(n,e,e=>[$(t,[e])]):[$(t,n)]},s=(e,t)=>{n=V(n,e,e=>[$(e.module,[$(t,e.children)])])},l=(e,t,r)=>{n=V(n,e,e=>{var n;return[$(e.module,[...r?[$(t)]:[],...null!==(n=e.children)&&void 0!==n?n:[],...r?[]:[$(t)]])]})},c=(e,t,r)=>{n=V(n,e,e=>[...r?[$(t)]:[],e,...r?[]:[$(t)]])},u=e=>{s(i.Kv,e)},d=(e,t)=>{n=V(n,e,e=>[$(t,e.children)])},f=e=>{n=V(n,e,e=>e.children)},p=e=>{r.push(e)};return t.forEach(e=>{e({contains:o,addParent:a,append:s,addChild:l,addSibling:c,addModule:u,replace:d,remove:f,augment:p})}),{config:n,augmentation:e=>r.reduce((e,t)=>t(e),e)}}([$(ot,[$(rt,[$(He,[$(Ge),$(st),$(Je)])])])],u||k),C=E(g(g({animation:ct(y,r),carousel:g(g({},v),t),render:g(g({},_),o),toolbar:g(g({},x),a),controller:g(g({},w),s),noScroll:g(g({},O),l),on:g(g({},j),c)},P),p));return C.open?n.createElement(ie,g({},C),n.createElement(ue,{slides:d||S,index:L(f||M)},n.createElement(pe,null,n.createElement(te,null,n.createElement(Z,null,lt($(at,T),C)))))):null}},36971:function(e,t,r){"use strict";r.d(t,{A:function(){return j}});var n=r(40809),i=r(28720),o=r(20021);const a=["slideFooter"],s=["captions","render","toolbar"];function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=e=>(0,i.oF)(`slide_${e}`),p={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1,hidden:!1},h=e=>u(u({},p),e);const m=n.createContext(null),y=(0,i.Tz)("useCaptions","CaptionsContext",m);function g({captions:e,children:t}){const{ref:r,hidden:i}=h(e),[o,a]=n.useState(!i),s=n.useMemo(()=>({visible:o,show:()=>a(!0),hide:()=>a(!1)}),[o]);return n.useImperativeHandle(r,()=>s,[s]),n.createElement(m.Provider,{value:s},t)}function v({title:e}){const{toolbarWidth:t}=(0,i.as)(),{styles:r}=(0,i.D$)(),{visible:o}=y();return o?n.createElement("div",{role:"heading","aria-level":2,style:r.captionsTitleContainer,className:(0,i.$z)(f("captions_container"),f("title_container"))},n.createElement("div",{className:f("title"),style:u(u({},t?{[(0,i.Vg)("toolbar_width")]:`${t}px`}:null),r.captionsTitle)},e)):null}function b({description:e}){const{descriptionTextAlign:t,descriptionMaxLines:r}=function(){const{captions:e}=(0,i.D$)();return h(e)}(),{styles:o,labels:a}=(0,i.D$)(),{visible:s}=y();return s?n.createElement("div",{style:o.captionsDescriptionContainer,className:(0,i.$z)(f("captions_container"),f("description_container"))},n.createElement("div",{className:f("description"),style:u(u({},t!==p.descriptionTextAlign||r!==p.descriptionMaxLines?{[(0,i.Vg)("slide_description_text_align")]:t,[(0,i.Vg)("slide_description_max_lines")]:r}:null),o.captionsDescription),role:"paragraph","aria-roledescription":(0,i.l6)(a,"Caption")},"string"==typeof e?e.split("\n").flatMap((e,t)=>[...t>0?[n.createElement("br",{key:t})]:[],e]):e)):null}const _=()=>n.createElement(n.Fragment,null,n.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),n.createElement("path",{d:"M7 15h3c.55 0 1-.45 1-1v-1H9.5v.5h-2v-3h2v.5H11v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7 0h3c.55 0 1-.45 1-1v-1h-1.5v.5h-2v-3h2v.5H18v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"})),x=(0,i.wt)("CaptionsVisible",_()),w=(0,i.Q5)("CaptionsVisible",_());function O(){const{visible:e,show:t,hide:r}=y(),{render:o}=(0,i.D$)();return o.buttonCaptions?n.createElement(n.Fragment,null,o.buttonCaptions({visible:e,show:t,hide:r})):n.createElement(i.K0,{label:e?"Hide captions":"Show captions",icon:e?x:w,renderIcon:e?o.iconCaptionsVisible:o.iconCaptions
153Hidden,onClick:e?r:t})}function j({augment:e,addModule:t}){e(e=>{let{captions:t,render:{slideFooter:r},toolbar:c}=e,d=l(e.render,a),f=l(e,s);const p=h(t);return u({render:u({slideFooter:({slide:e})=>n.createElement(n.Fragment,null,null==r?void 0:r({slide:e}),e.title&&n.createElement(v,{title:e.title}),e.description&&n.createElement(b,{description:e.description}))},d),toolbar:(0,i.bo)(c,o.Ev,p.showToggle?n.createElement(O,null):null),captions:p},f)}),t((0,i.Fi)(o.Ev,g))}},20021:function(e,t,r){"use strict";r.d(t,{A9:function(){return D},Bv:function(){return h},C:function(){return j},EC:function(){return m},Ev:function(){return u},HR:function(){return g},I1:function(){return f},Kv:function(){return i},Ky:function(){return o},Nc:function(){return w},OT:function(){return l},P9:function(){return p},Qo:function(){return d},RK:function(){return M},Td:function(){return z},Uj:function(){return N},V:function(){return B},b6:function(){return a},e7:function(){return F},h0:function(){return b},j7:function(){return L},jR:function(){return R},jn:function(){return I},kJ:function(){return s},mY:function(){return n},or:function(){return A},pc:function(){return _},pq:function(){return c},qq:function(){return S},s:function(){return T},sI:function(){return O},t$:function(){return C},tC:function(){return y},tD:function(){return P},tu:function(){return k},uF:function(){return E},vg:function(){return v},zn:function(){return x}});const n="carousel",i="controller",o="navigation",a="no-scroll",s="portal",l="root",c="toolbar",u="captions",d="loading",f="error",p="complete",h="placeholder",m=e=>`active-slide-${e}`,y=(m(d),m("playing"),m(f),m(p),"flex_center"),g="no_scroll",v="no_scroll_padding",b="slide",_="slide_wrapper",x="prev",w="next",O="swipe",j="close",S="onPointerDown",M="onPointerMove",k="onPointerUp",P="onPointerLeave",T="onPointerCancel",E="onKeyDown",C="onKeyUp",L="onWheel",A="Escape",D="ArrowLeft",I="ArrowRight",N="button",R="icon",z="contain",F="cover",B="Unknown action type"},82418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(88754),o=(n=i)&&n.__esModule?n:{default:n};t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},13027:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(16432)),i=s(r(87828)),o=s(r(51383)),a=s(r(82418));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("youtube-player"),c={proxyEvents:function(e){var t={},r=function(r){var n="on"+r.slice(0,1).toUpperCase()+r.slice(1);t[n]=function(t){l('event "%s"',n,t),e.trigger(r,t)}},n=!0,i=!1,a=void 0;try{for(var s,c=o.default[Symbol.iterator]();!(n=(s=c.next()).done);n=!0){r(s.value)}}catch(e){i=!0,a=e}finally{try{!n&&c.return&&c.return()}finally{if(i)throw a}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=function(n){t&&a.default[n]?r[n]=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.then(function(e){var t=a.default[n],i=e.getPlayerState(),o=e[n].apply(e,r);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(i)?new Promise(function(r){e.addEventListener("onStateChange",function n(){var i=e.getPlayerState(),o=void 0;"number"==typeof t.timeout&&(o=setTimeout(function(){e.removeEventListener("onStateChange",n),r()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(i)&&(e.removeEventListener("onStateChange",n),clearTimeout(o),r())})}).then(function(){return o}):o})}:r[n]=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.then(function(e){return e[n].apply(e,r)})}},o=!0,s=!1,l=void 0;try{for(var c,u=i.default[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){n(c.value)}}catch(e){s=!0,l=e}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return r}};t.default=c,e.exports=t.default},88754:function(e,t){"use strict";
153Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},51383:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},87828:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},14307:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},i=s(r(37696)),o=s(r(51424)),a=s(r(13027));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,i.default)();if(l||(l=(0,o.default)(s)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(s);var c=new Promise(function(r){"object"===(void 0===e?"undefined":n(e))&&e.playVideo instanceof Function?r(e):l.then(function(n){var i=new n.Player(e,t);return s.on("ready",function(){r(i)}),null})}),u=a.default.promisifyPlayer(c,r);return u.on=s.on,u.off=s.off,u},e.exports=t.default},51424:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(31365),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var r="http:"===window.location.protocol?"http:":"https:";(0,o.default)(r+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){n&&n(),t(window.YT)}}})},e.exports=t.default},16432:function(e,t,r){var n=r(72067);function i(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG),e}(t=e.exports=r(61819)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),!r)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,n)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=i,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())},61819:function(e,t,r){var n;function i(e){function r(){if(r.enabled){var e=r,i=+new Date,o=i-(n||i);e.diff=o,e.prev=n,e.curr=i,n=i;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(r,n){if("%%"===r)return r;l++;var i=t.formatters[n];if("function"==typeof i){var o=a[l];r=i.call(e,o),a.splice(l,1),l--}return r}),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}(e),"function"==typeof t.init&&t.init(r),r}
153(t=e.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length,i=0;i<n;i++)r[i]&&("-"===(e=r[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(11070),t.names=[],t.skips=[],t.formatters={}},11070:function(e){var t=1e3,r=60*t,n=60*r,i=24*n,o=365.25*i;function a(e,t,r){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,i,"day")||a(l,n,"hour")||a(l,r,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=n)return Math.round(e/n)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},59692:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);const a="article-right-element";function s({children:e,customFields:t}){const{top:r,right:n,bottom:i,left:s}=t,l=[a,r&&`${a}--space-top`,n&&`${a}--space-right`,i&&`${a}--space-bottom`,s&&`${a}
153--space-left`].filter(Boolean).join(" ");return(0,o.jsx)("div",{className:l,children:e})}s.label="Article Right Element",s.defaultProps={children:[]},s.propTypes={children:i().arrayOf(i().node),customFields:i().shape({top:i().bool.tag({name:"Top space",defaultValue:!0}),right:i().bool.tag({name:"Right space",defaultValue:!0}),bottom:i().bool.tag({name:"Bottom space",defaultValue:!0}),left:i().bool.tag({name:"Left space",defaultValue:!0})}).isRequired},t.default=s},51898:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return ue}});var n=r(40809),i=r(19894),o=r.n(i),a=r(4321),s=r(14375),l=r(7430),c=r(34135),u=r(23322),d=r(49789),f=r(21989),p=r(76706),h=r(64006),m=r(15074),y=r(60661),g=r(79634),v=r(34766);function b(){const e=(0,n.useRef)(null),{globalContent:t}=(0,a.useAppContext)(),r=t.canonical_url,{isMobile:i,isTablet:o}=(0,m.Qo)(),[s,l]=(0,n.useState)((0,y.A)()||""),b=(0,g.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey_invisV2")),[_,x]=(0,n.useState)(!1);let w=!1,O=!1;t&&t.taxonomy&&t.taxonomy.tags&&(w=(0,h.Om)(t.taxonomy.tags),O=(0,h.fy)(t.taxonomy.tags));const j=(0,p.Ei)(r,w,O);return(0,v.jsx)("div",{className:"newsletter-test-a",children:(0,v.jsx)("div",{className:"newsletter-box",children:(0,v.jsxs)("div",{className:"row inside-box",children:[i||o?(0,v.jsx)("div",{className:"col-12",children:(0,v.jsxs)("div",{style:{justifyContent:"center",textAlign:"center"},className:"row",children:[(0,v.jsx)("div",{className:"col-4",children:(0,v.jsx)("hr",{})}),(0,v.jsx)("div",{style:{textAlign:"center",transform:"rotate(-40deg)"},className:"send-out-icon col-4",children:(0,v.jsx)(c.A,{})}),(0,v.jsx)("div",{className:"col-4",children:(0,v.jsx)("hr",{})})]})}):(0,v.jsx)("div",{style:{marginTop:"1.7rem",paddingLeft:"1.5rem",transform:"rotate(-40deg)"},className:"send-out-icon col-1",children:(0,v.jsx)(c.A,{fontSize:"large"})}),(0,v.jsxs)("h4",{style:{fontSize:"1rem"},className:"col-lg-5 col-md-12 col-sm-12",children:[(0,v.jsx)("span",{style:{color:"#E50815"},children:`Get ${j.title} newsletter. `}),` ${j.desc}`]}),(0,v.jsx)("div",{style:{marginTop:i?"1.6rem":"0rem"},className:"col-lg-6 col-sm-12",children:(0,v.jsxs)("form",{onSubmit:async t=>{t.preventDefault(),e.current.reset(),e.current.executeAsync().then(e=>{u.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:s,interests:[j.id],token:e,env:"INVISIBLE"}).then(e=>{"Success!"===e.data.message&&(d.A.track(`newsletter-signup-inarticle-${j.analytics}`),x(!0),l(""))}).catch(()=>{x(!1),alert("Looks like you are already subscribed!"),console.log(response)})}).catch(e=>console.log("ERROR: ",e))},name:"iterable_test_a",children:[(0,v.jsxs)("div",{style:{justifyContent:"center",textAlign:"center"},className:"row container",children:[(0,v.jsx)("div",{className:"col-lg-8 col-md-8 col-sm-12",children:(0,v.jsx)("input",{required:!0,type:"email",id:"email-address",name:"email",placeholder:"Enter a valid email",value:s,onChange:e=>l(e.target.value),style:{width:i?"16rem":"90%",marginTop:i?"0":"1.95rem"}})}),(0,v.jsx)("div",{style:{marginTop:i?"1.2rem":"1.6rem"},className:"col-lg-4 col-md-4 col-sm-12",children:(0,v.jsx)("button",{id:`newsletter-signup-button-a newsletter-signup-a-${j.analytics}`,style:{width:i?"16rem":"90%"},className:"signup-button",type:"submit",children:_?"Subscribed!":"SIGN UP NOW"})})]}),(0,v.jsx)(f.A,{sitekey:b,asyncScriptOnLoad:()=>{console.log("loaded")},ref:e,size:"invisible"}),(0,v.jsx)("p",{className:"recaptcha-attribution",dangerouslySetInnerHTML:{__html:'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.'}})]})})]})})})}b.label="Newsletter Test A";var _=b,x=r(45557);var w=function(){return(0,v.jsx)("aside",{className:"whatsapp-channel-prompt","aria-label":"Canal de WhatsApp de The Salt Lake Tribune",children:(0,v.jsxs)("div",{className:"whatsapp-channel-prompt__header",children:[(0,v.jsx)("div",{className:"whatsapp-channel-prompt__icon-shell","aria-hidden":"true",children:(0,v.jsx)(x.A,{className:"whatsapp-channel-prompt__icon"})}),(0,v.jsxs)("div",{className:"whatsapp-channel-prompt__titles",children:[(0,v.jsx)("p",{className:"whatsapp-channel-prompt__eyebrow",dangerouslySetInnerHTML:{__html:"¡Ahora <em>The Tribune</em> está en WhatsApp!"}}),(0,v.jsx)("h3",{className:"whatsapp-channel-prompt__headline",dangerouslySetInnerHTML:{__html:"Encuentra más noticias, eventos y recursos de la comunidad en nuestro nuevo canal â <em>Nuestra Comunidad en Utah</em>"}}),(0,v.jsx)("a",{className:"whatsapp-channel-prompt__subhead",href:"https://www.whatsapp.com/channel/0029Vb6xpUn59PwMyE4V9H34?utm_source=WhatsApp+Channel&utm_medium=In-house+ad&utm_id=Article",target:"_blank",rel:"noopener noreferrer",children:"Haz clÃc aquà para abrir el canal en WhatsApp."})]})]})})},O=[{type:"text",content:'<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="/">Vestibulum</a> lobortis dui vel eros varius feugiat at non est. <a href="/">VMauris imperdiet sit amet diam ut laoreet</a>. Aenean quis eleifend ipsum, non varius nulla. Etiam eget augue a metus eleifend maximus ac quis purus. Ut quis fermentum sapien. Nullam vel mi sem. Pellentesque et ante pulvinar, lacinia libero at, porttitor purus. Etiam fringilla urna laoreet iaculis tincidunt. Aenean mi sapien, porta non eleifend dictum, porta tincidunt enim. Morbi id consectetur lacus. Nulla facilisi. Pellentesque ullamcorper laoreet arcu sed dapibus. Maecenas nec dui sit amet diam venenatis elementum quis vitae lorem. Mauris non urna ultricies, ornare ligula ac, semper odio. Fusce odio arcu, volutpat in posuere vel, auctor sed arcu.</div>'},{type:"text",content:"<div>Pellentesque lobortis porta metus ut tempus. Pellentesque sollicitudin diam ullamcorper ipsum ultrices, at semper velit accumsan. Quisque pretium sapien turpis, c
153ondimentum accumsan mi ornare tempus. Sed erat erat, hendrerit quis pharetra in, semper eget justo. Nunc posuere accumsan neque, quis facilisis nunc egestas a. Curabitur ornare mi sit amet consectetur porttitor. Maecenas dignissim nunc in efficitur suscipit.</div>"},{type:"text",content:"<div>Nunc vehicula nibh vel lectus tempus, nec consectetur lorem malesuada. Sed a nulla et lectus vestibulum pulvinar."},{type:"text",content:"<div>Praesent varius ante vel turpis viverra, et semper nisi mollis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nibh lorem, aliquam a sem mattis, mollis efficitur arcu. Aliquam ut dapibus felis, eget bibendum mauris. Sed ut sapien porttitor, aliquam orci ut, pellentesque dui. Nunc egestas, orci nec molestie posuere, augue nulla commodo risus, sit amet faucibus sem lorem in eros. Nulla facilisi. Nunc molestie non enim et suscipit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ex elit, lacinia et erat id, gravida commodo augue. In hac habitasse platea dictumst. In varius gravida turpis, et sagittis ante rhoncus at.</div>"},{type:"text",content:"<div>Vestibulum bibendum ante ullamcorper, ultrices mi ac, hendrerit elit. Donec scelerisque mollis ipsum et tristique. Nunc at tortor tellus. Cras at odio vel enim volutpat finibus eu quis justo.</div>"},{type:"text",content:"<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum lobortis dui vel eros varius feugiat at non est. Mauris imperdiet sit amet diam ut laoreet. Aenean quis eleifend ipsum, non varius nulla."},{type:"text",content:"Etiam at auctor nisl, vitae iaculis lacus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Etiam mattis dui tortor, et suscipit velit lobortis vel. Fusce nec condimentum nulla. Pellentesque egestas molestie imperdiet. Cras nec laoreet turpis. Suspendisse vulputate nibh elementum, sollicitudin risus ac, volutpat nunc. Nam iaculis commodo augue, quis sollicitudin felis auctor ac. Aliquam et diam ut ex fermentum tempor quis pellentesque diam."},{type:"text",content:"Donec eu dapibus risus, id suscipit magna. Praesent pharetra augue magna, non facilisis purus malesuada sodales. Pellentesque ultricies nunc non eros euismod, quis auctor diam porta. Etiam vulputate, orci id rutrum gravida, lectus magna tristique augue, nec tempor nisi purus et sem. Praesent suscipit tellus nulla, sed volutpat dolor elementum quis."},{type:"text",content:"Quisque blandit sit amet mi et gravida. Cras efficitur, quam nec porttitor interdum, lacus dolor venenatis enim, eu dapibus risus ipsum ut justo. Integer placerat nibh vel turpis aliquet, vitae lobortis massa tempor. Vestibulum id pharetra ligula. Duis sed mauris sed risus elementum mattis ac quis diam."},{type:"text",content:"Interdum et malesuada fames ac ante ipsum primis in faucibus. Nam tempus molestie congue. Phasellus consectetur lectus id lacus vehicula sodales. Pellentesque aliquam lacus eget lorem maximus, ut vestibulum eros accumsan. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse sollicitudin, neque sit amet blandit dignissim, nisi eros dapibus est, eget commodo diam mi vel nisl. Phasellus ut elementum neque. Morbi diam purus, rutrum at augue et, porta tincidunt nibh. Sed id feugiat lacus, ultrices auctor ex. Vestibulum eros massa, sagittis vel sapien vitae, venenatis faucibus orci."},{type:"text",content:"Donec eu dapibus risus, id suscipit magna. Praesent pharetra augue magna, non facilisis purus malesuada sodales. Pellentesque ultricies nunc non eros euismod, quis auctor diam porta. Etiam vulputate, orci id rutrum gravida, lectus magna tristique augue, nec tempor nisi purus et sem. Praesent suscipit tellus nulla, sed volutpat dolor elementum quis."}],j=r(67592),S=r.n(j),M=r(39480),k=r(23797),P=r(2975),T=r(67365),E=r(752),C=r(8907),L=r(11204),A=r(41537),D=r(93745),I=r(71381),N=r(41422),R=r(97133),z=r(22875),F=r(26858),B=r(23874),Y=r(15109);const U=[480,768,1080,1440],H=new Set,$=e=>{if("undefined"==typeof document||H.has(e))return;H.add(e);const t=document.createElement("script");t.src=e,t.async=!0,document.body.appendChild(t)},W=(e,t)=>e.map(e=>"text"===e.type?(0,v.jsx)("li",{dangerouslySetInnerHTML:{__html:S().sanitize(e.content)}},e._id):(0,v.jsx)(V,{items:e.items,ordered:t},e._id));function V({items:e,ordered:t}){return t?(0,v.jsx)("ol",{type:"1",children:e.map(e=>(0,v.jsx)("li",{children:e.content},e._id))}):(0,v.jsx)("ul",{children:e.map(e=>(0,v.jsx)("li",{children:e.content},e._id))})}function q({element:e}){const t="ordered"===e.list_type;return(0,v.jsx)("div",{children:t?(0,v.jsx)("ol",{type:"1",children:W(e.items,!0)}):(0,v.jsx)("ul",{children:W(e.items,!1)})})}function G({element:e}){return(0,v.jsx)("div",{className:"article-body-element",children:(0,v.jsx)(P.A,{data:e.content_elements,citation:e.citation})})}V.defaultProps={ordered:!1,items:[]},V.propTypes={ordered:o().bool,items:o().arrayOf(o().shape({_id:o().string,content:o().string}))},q.propTypes={element:o().shape({list_type:o().string,items:o().arrayOf(o().shape({}))}).isRequired}
153,G.propTypes={element:o().shape({content_elements:o().arrayOf(o().shape({})),citation:o().shape({})}).isRequired};const Z=[{match:"facebook",render:e=>(0,v.jsx)(M.FacebookEmbed,{url:e._id,width:e.width,scriptLoadDisabled:!0})},{match:"instagram",render:e=>(0,v.jsx)(M.InstagramEmbed,{url:e._id,width:e.width})},{match:"linkedin",render:e=>(0,v.jsx)(M.LinkedInEmbed,{url:e._id,width:e.width})},{match:"twitter",render:e=>(0,v.jsx)(M.XEmbed,{url:e._id,width:e.width})},{match:"pinterest",render:e=>(0,v.jsx)(M.PinterestEmbed,{url:e._id,width:e.width})}],X=/<iframe.*?src="(.*?)"/,J=/<blockquote.*?>([\s\S]*?)<\/blockquote>/;function K({element:e}){const t=e.raw_oembed;if(!t||!t.html)return null;const{html:r}=t;if(r.includes("youtube")){const t=X.exec(r);return t?(0,v.jsx)(z.A,{id:e._id,src:t[1]}):null}const n=Z.find(e=>r.includes(e.match));if(n)return(0,v.jsx)("div",{className:"social-media-embed",children:n.render(t)});if(r.includes("reddit")){$("https://embed.reddit.com/widgets.js");const e=J.exec(r);return e?(0,v.jsx)("div",{dangerouslySetInnerHTML:{__html:e[0]}}):null}return(0,v.jsx)(T.A,{data:t})}K.propTypes={element:o().shape({_id:o().string,raw_oembed:o().shape({html:o().string})}).isRequired};function Q({element:e,authHash:t}){const{imgUrl:r,srcSet:n,sizes:i,displayWidth:o}=((e,t)=>{const{url:r,auth:n,owner:i,width:o,height:a}=e,s=Boolean(n&&n[1])?n[1]:t,l=(0,F.yx)(r),c=i?i.id:void 0,u=(0,Y.v)(o,a,848);return{displayWidth:u,imgUrl:(0,B.Kg)(!1,u||750,l,s,c),srcSet:(0,B.$8)(l,s,c,u?(0,Y._H)(u,o):U),sizes:u?(0,Y.nJ)(u):"(max-width: 767px) 100vw, 750px"}})(e,t);return r?(0,v.jsx)("div",{className:"article-body-element article-body-image",style:o?(0,Y.Cv)(o):void 0,children:(0,v.jsx)(E.A,{alt:e.alt_text||e.caption||e.subtitle,caption:e.caption,url:r,srcSet:n,sizes:i,intrinsicWidth:e.width,intrinsicHeight:e.height})}):null}function ee({galleryData:e}){const t=e?.contentRequest?.content_elements;return t?(0,v.jsx)("div",{className:"article-body-element",children:(0,v.jsx)(C.A,{data:t})}):null}Q.defaultProps={authHash:""},Q.propTypes={element:o().shape({url:o().string,alt_text:o().string,caption:o().string,subtitle:o().string,width:o().number,height:o().number,auth:o().shape({}),owner:o().shape({id:o().string})}).isRequired,authHash:o().string},ee.defaultProps={galleryData:null},ee.propTypes={galleryData:o().shape({contentRequest:o().shape({content_elements:o().arrayOf(o().shape({}))})})};const te=/<script[^>]*>.*?<\/script>/gi;function re({element:e}){const{content:t,_id:r}=e;return t.includes('id="news-letter"')?null:t.includes("flourish")?($("https://public.flourish.studio/resources/embed.js"),(0,v.jsx)("div",{dangerouslySetInnerHTML:{__html:t.replace(te,"")}})):(0,v.jsx)("div",{id:r,children:(0,v.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:t}})})}re.propTypes={element:o().shape({_id:o().string,content:o().string}).isRequired};const ne={"tile-gallery":e=>(0,v.jsx)(L.A,{data:e}),audio:e=>(0,v.jsx)(A.A,{data:e}),"trib-audio":e=>(0,v.jsx)(D.A,{data:e}),"take-action":e=>(0,v.jsx)(I.A,{data:e}),diptych:e=>(0,v.jsx)(N.A,{data:e}),"loop-video":e=>(0,v.jsx)(R.A,{data:e})},ie=new Set(["diptych","loop-video"]);function oe({subtype:e,embed:t}){const r=ne[e];return r?"take-action"===e?(0,v.jsx)("div",{className:"take-action-box-container",children:r(t)}):(0,v.jsx)("div",{className:ie.has(e)?"article-body-element":void 0,children:r(t)}):null}function ae({element:e}){return(0,v.jsx)(k.A,{element:e})}oe.defaultProps={embed:null},oe.propTypes={subtype:o().string.isRequired,embed:o().shape({})},ae.propTypes={element:o().shape({}).isRequired};const se="related-articles",le=(e,{authHashes:t,galleries:r,relatedArticles:n})=>{const{type:i,list_type:o,subtype:a,_id:s}=e;if("list"===i&&o)return(0,v.jsx)(q,{element:e});if("quote"===i)return(0,v.jsx)(G,{element:e});if("oembed_response"===i)return(0,v.jsx)(K,{element:e});if("image"===i)return(0,v.jsx)(Q,{element:e,authHash:t[s]});if("gallery"===i)return(0,v.jsx)(ee,{galleryData:r[s]});if("text"===i)return(0,v.jsx)(ae,{element:e});if("raw_html"===i)return(0,v.jsx)(re,{element:e});if(i===se)return n;const l=(e=>(e||"").toLowerCase().replace(/\s+/g,"-"))(a);return ne[l]?(0,v.jsx)(oe,{subtype:l,embed:e.embed}):(0,v.jsx)(ae,{element:e})};function ce({customFields:e,children:t}){const{showNewsletter:r,showDonation:i,newSletterPosition:o,donationAmount1Label:c,donationAmount2Label:u,donationAmount3Label:d,showTakeActionDonationAsk:f,cacheValleyReporterImageUrl:p,cacheValleyReporterImageAlt:h}=e,{globalContent:m}=(0,a.useAppContext)(),y="Sponsored"===m?.taxonomy?.primary_section?.name;if((0,n.useEffect)(()=>{y&&(document.body.classList.add("sponsored"),document.querySelector(".article-head")?.classList.add("sponsored"),document.querySelectorAll(".article-byline-author").forEach(e
153=>e.classList.add("sponsored")))},[y]),!m)return(0,v.jsx)(v.Fragment,{children:"Content not available"});const g=m.content_elements,b="es"===m.language,x=g?.length?g:O,j=(x||[]).filter(e=>!("image"!==e.type||e.auth&&e.auth[1])).map(e=>e._id),S=(x||[]).filter(e=>"gallery"===e.type).map(e=>e._id),M={};j.forEach(e=>{const t=(0,s.useContent)({source:"arc-signing-service",query:{id:e}});M[e]=t?.hash||null});const k={};S.forEach(e=>{const t=(0,s.useContent)({source:"arc-photo-center-gal-id-v2",query:{galleryId:e}});k[e]=t});let P=t&&t.length>=1?(e=>{const t=Math.floor(e.length/2);return[...e.slice(0,t),{_id:"relatedarticles",type:se},...e.slice(t)]})(x):x;"raw_html"===x[0].type&&x[0].content?.includes("<iframe")&&(P=P.slice(1));const T=b?(e=>{const t=e.reduce((e,t,r)=>("text"===t.type&&e.push(r),e),[]);return t.length?t[Math.min(2,t.length-1)]:-1})(P):-1,E={authHashes:M,galleries:k,relatedArticles:t};return(0,v.jsxs)("div",{className:"article-body-container"+(y?" sponsored":""),itemProp:"articleBody",children:[P.map((e,t)=>(0,v.jsxs)(n.Fragment,{children:[le(e,E),t===o&&r&&(0,v.jsx)(_,{}),t===T&&(0,v.jsx)("div",{className:"article-body-element article-body-whatsapp-prompt",children:(0,v.jsx)(w,{})})]},e._id)),i&&(0,v.jsx)(l.default,{amount1Label:c,amount2Label:u,amount3Label:d,takeActionAskEnabled:f,reporterImageUrl:p,reporterImageAlt:h})]})}ce.label="Article Body",ce.defaultProps={children:[]},ce.propTypes={children:o().arrayOf(o().oneOfType([o().node])),customFields:o().shape({showNewsletter:o().bool.tag({name:"Show Newsletter A/B test",defaultValue:!1}),showDonation:o().bool.tag({name:"Show Donation A/B test",defaultValue:!1}),newSletterPosition:o().number.tag({name:"Newsletter Position",defaultValue:7}),donationAmount1Label:o().string.tag({name:"Donation Ask â Amount 1 button label",description:'Defaults to "$15". Clear to hide this button entirely.',defaultValue:"$15"}),donationAmount2Label:o().string.tag({name:"Donation Ask â Amount 2 button label",description:'Defaults to "$25". Clear to hide this button entirely.',defaultValue:"$25"}),donationAmount3Label:o().string.tag({name:"Donation Ask â Amount 3 button label",description:'Defaults to "$35". Clear to hide this button entirely.',defaultValue:"$35"}),showTakeActionDonationAsk:o().bool.tag({name:"Donation Ask â use the Take Action version for readers who acted",description:'Off by default. When on, a reader who used a "What you can do" box in the last 14 days sees the "Help others take the next step" ask instead of the standard one. Leave off until the newsroom signs off on fundraising off the back of the tool â turning it on is a save here, no deploy.',defaultValue:!1}),cacheValleyReporterImageUrl:o().string.tag({name:"Cache Valley â Reporter avatar URL",description:"Optional. Circular reporter photo shown floated in the bio paragraph of the Cache Valley donation ask. Hidden if blank."}),cacheValleyReporterImageAlt:o().string.tag({name:"Cache Valley â Reporter avatar alt text",description:'Alt text for the Cache Valley reporter avatar. Defaults to "Brock Marchant".'})}).isRequired};var ue=ce},54499:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsx)("div",{className:"article-head",children:e})}a.label="Article Head",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},63876:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e,customFields:t}){const{maxWidth:r}=t;return(0,o.jsx)("div",{style:{width:"100%",display:"flex",justifyContent:"center",paddingRight:"20px",paddingLeft:"20px"},children:(0,o.jsx)("div",{style:{maxWidth:r||1550},children:e})})}a.defaultProps={children:[],customFields:{}},a.propTypes={children:i().arrayOf(i().oneOfType([i().node])),customFields:i().shape({maxWidth:i().number})},a.label="Centered Container",t.default=a},25651:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsx)("div",{className:"global-footer",children:(0,o.jsx)("div",{className:"with-copy container",children:e})})}a.label="Footer and copyright",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},59644:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsx)("div",{className:"fullwidthcontainer",children:e})}a.label="Full Width Section",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},81981:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){const t=e[0],r=e[1],n=e[2];return(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"row grid-one-two",style:{maxWidth:"1200px",margin:"auto"},children:[(0,o.jsx)("div",{className:"col-12 col-md-8 col-lg-8 top-story-left",style:{padding:"0px 16px"},children:(0,o.jsx)("div",{style:{height:"100%"},children:t})}),(0,o.jsxs)("div",{className:"col-12 col-md-4 col-lg-4 ",style:{padding:"0px 16px"},children:[(0,o.jsx)("div",{className:"move-down-mobile margin-auto",style:{maxWidth:"360px"},children:r}),(0,o.jsx)("div",{className:"margin-auto",style:{marginTop:"32px",maxWidth:"360px"},children:n})]})]})})}a.label="Grid 1-2",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},73445:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){const t=e[0],r=e[1],n=e[2];return(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"row grid-two-one",style:{marginTop:"32px"},children:[(0,o.jsxs)("div",{className:"col-12 col-md-4 col-lg-4 top-story-left",children:[(0,o.jsx)("div",{className:"margin-auto",style:{maxWidth:"360px"},children:r}),(0,o.jsx)("div",{className:"margin-auto",style:{marginTop:"16px",maxWidth:"360px"},children:n})]}),(0,o.jsx)("div",{className:"col-12 col-md-8 col-lg-8 top-story-left move-down-mobile",children:(0,o.jsx)("div",{style:{height:"100%"},children:t})})]})})}a.label="Grid 2-1",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},40756:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){const t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10];return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"grid-breaking",children:t}),(0,o.jsxs)("div",{className:"row move-up-mobile",children:[(0,o.jsxs)("div",{className:"col-12 col-lg-8 top-story-left vertical-separator-a",children:[(0,o.jsx)("div",{className:"first-story",children:r}),(0,o.jsx)("div",{className:"grid-ad-container-1",style:{marginTop:"16px"},children:n}),(0,o.jsx)("div",{children:i}),(0,o.jsx)("div",{children:a})]}),(0,o.jsxs)("div",{className:"col-12 col-lg-4 middle-story move-down-mobile",children:[(0,o.jsx)("div",{className:"grid-ad-container-2",children:(0,o.jsx)("div",{style:{paddingBottom:"16
153px"},children:s})}),(0,o.jsx)("div",{className:"move-down-tablet",children:l}),(0,o.jsx)("div",{children:c}),(0,o.jsx)("div",{children:u}),(0,o.jsx)("div",{children:d}),(0,o.jsx)("div",{children:f})]})]})]})}a.label="Breaking News",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},89728:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(15074),a=r(34766);function s({children:e}){const{isMobile:t}=(0,o.Qo)(),r=e[0],n=e[1],i=e[2],s=e[3],l=e[4],c=e[5],u=e[6],d=e[7],f=e[8],p=e[9],h=e[10],m=e[11];return(0,a.jsxs)("div",{className:"container row grid-section",children:[(0,a.jsxs)("div",{className:"col-12 col-md-4 col-lg-3 col-sm-12 top-story-left vertical-separator-a",children:[t?(0,a.jsx)("div",{children:s}):null,(0,a.jsx)("div",{className:"grid-ad-container-1",children:n}),(0,a.jsx)("div",{className:"first-story",children:r}),(0,a.jsx)("div",{children:i})]}),(0,a.jsxs)("div",{className:"col-12 col-md-8 col-lg-5 col-sm-12 middle-story vertical-separator-b move-down-mobile",children:[t?null:(0,a.jsx)("div",{children:s}),(0,a.jsx)("div",{className:"move-up-mobile",children:l}),(0,a.jsx)("div",{children:c}),(0,a.jsx)("div",{children:u})]}),(0,a.jsxs)("div",{className:"col-12 col-md-12 col-lg-4 col-sm-12 top-story-right",style:{marginTop:"16px"},children:[(0,a.jsx)("div",{className:"col-md-12 grid-ad-container-2 move-down-tablet",children:(0,a.jsx)("div",{children:d})}),(0,a.jsx)("div",{style:{marginTop:"16px"},children:f}),(0,a.jsx)("div",{children:p}),(0,a.jsx)("div",{children:h}),(0,a.jsx)("div",{children:m})]})]})}s.label="Grid 8",s.propTypes={children:i().arrayOf(i().node).isRequired},t.default=s},60391:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-3 mast-first",children:e[0]}),(0,o.jsx)("div",{className:"col-6 mast-second",children:e[1]}),(0,o.jsx)("div",{className:"col-3"})]}),(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"horizontal-separator mast-line"})})]})}a.label="Masthead",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},31188:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);const a={root:{display:"flex",flexDirection:"column",marginBottom:40}};function s({children:e}){return(0,o.jsx)("div",{style:a.root,children:e[0]})}s.label="Mobile Ad Container",s.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=s},67285:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsxs)("div",{className:"row two-columns-layout",children:[(0,o.jsx)("div",{className:"col-12 col-md-6 first-column v-space",children:e[0]}),(0,o.jsx)("div",{className:"col-12 col-md-6 second-column v-space",children:e[1]})]})}a.label="Section 2 Col no hr",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},39638:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsxs)("div",{className:"row two-columns-layout",children:[(0,o.jsx)("div",{className:"col-12 col-md-6 first-column v-space",children:e[0]}),(0,o.jsx)("div",{className:"col-12 col-md-6 second-column v-space v-separator-hidden-lg-down",children:e[1]})]})}a.label="Section 2 Columns",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},23104:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"row",style:{maxWidth:"1200px",margin:"auto",paddingRight:"20px",paddingLeft:"20px",marginTop:"16px"},children:[(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-4 first-column v-space",children:e[0]}),(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-4 second-column v-space",children:e[1]}),(0,o.jsx)("div",{className:"col-12 col-lg-4 third-column v-space",style:{display:"flex",justifyContent:"center",alignItems:"flex-start"},children:e[2]})]}),(0,o.jsx)("div",{className:"hidden-md-down"})]})}a.label="Section 3 Col no hr",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},72922:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(15074),a=r(34766);function s({children:e}){const{isDesktop:t}=(0,o.Qo)();return(0,a.jsxs)("div",{className:"section-3-colunms-with-ad-on-third",children:[(0,a.jsxs)("div",{className:"container row",children:[(0,a.jsx)("div",{className:"col-12 col-md-6 col-lg-4 first-column vertical-separator v-space",children:e[0]}),(0,a.jsx)("div",{className:"col-12 col-md-6 col-lg-4 second-column vertical-separator v-space v-separator-hidden-lg-down",children:e[1]}),(0,a.jsxs)("div",{className:"col-12 col-lg-4 third-column v-space",style:{display:"block",justifyContent:"center",alignItems:"flex-start"},children:[e[2],t?(0,a.jsx)("div",{children:e[3]}):null]})]}),(0,a.jsx)("div",{className:"horizontal-separator hidden-md-down"})]})}s.label="Section 3 Columns with Ad on Third",s.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=s},16335:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e,customFields:t}){const{bgColorThirdColumn:r}=t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"container row",children:[(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-4 first-column vertical-separator v-space",children:e[0]}),(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-4 second-column vertical-separator v-space v-separator-hidden-lg-down",children:e[1]}),(0,o.jsx)("div",{className:"col-12 col-lg-4 third-column v-space",style:{backgroundColor:r||"white"},children:e.slice(2)})]}),(0,o.jsx)("div",{className:"horizontal-separator hidden-md-down"})]})}a.label="Section 3 Columns",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired,customFields:i().shape({bgColorThirdColumn:i().string.tag({name:"background color on third column"})}).isRequired},t.default=a},23306:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsxs)("div",{className:"two-columns-layout-comments ",children:[(0,o.jsx)("div",{className:"comment-left-rail",children:e[0]}),(0,o.jsx)("div",{className:"comment-left-rail",children:e[1]})]})}a.label="Section Comments",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},87775:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(59626),s=r.n(a),l=r(23874),c=r(26858),u=r(752),d=r(2975),f=r(67365),p=r(49533),h=r(22875),m=r(23797),y=r(52553),g=r(46182),v=r(94923),b=r(34766);function _({customFields:e,children:t}){const{dataConfig:r,title:n,link1Text:i,link1Url:a,link2Text:_,link2Url:x,link3Text:w,link3Url:O}=e,{contentService:j,contentConfigValues:S}=r,M=(0,o.useContent)({source:j,query:S,transform:e=>e?"arc-single-story"===j||"single-story-v2"===j?e:e.content_elements[0]:null});if(!M)return(0,b.jsx)("h1",{children:"Story not available"});const k=M.headlines.basic,P=M.subheadlines.basic,T=M?M.promo_items:void 0;if(!T)return null;const{url:E,caption:C,subtitle:L,created_date:A,alt_text:D,auth:I}=T.basic,N=M.canonical_url,{imageOptimization:R}
153=e||"none",z=l.FG[R],F=z?(0,l.$X)(z.width,(0,c.Jg)(M),I[1],z?.owner?.id):E,B=M.publish_date||"",Y=M.last_updated_date||"",U=(0,y.B)(B),H=(0,y.u)(B,Y),$=M.credits||"",{by:W}=$||g.A,V=W.length>1?W.filter(e=>"salt-lake-tribune"!==e._id):W,q=V.map((e,t)=>{const r={name:`,  ${e.name}`,id:t,link:e._id};return 0===t&&(r.name.includes("Brought to you by")?r.name=e.name:r.name=`By ${e.name}`),V.length>1&&t===V.length-1&&(r.name=`  and  ${e.name}`),r}),G=t?(0,v.WX)(M.content_elements):M.content_elements;return(0,b.jsxs)("div",{className:"single-story",children:[(0,b.jsx)("h1",{style:{letterSpacing:"3px",color:"#333333",fontSize:"3rem",marginBottom:"1.2%"},children:n||"Politics"}),a?(0,b.jsxs)("ul",{style:{fontSize:"1.2rem"},children:[(0,b.jsx)("li",{children:(0,b.jsx)("a",{href:a,children:i||"link"})}),x?(0,b.jsx)("li",{style:{marginLeft:"1.2%"},children:(0,b.jsx)("a",{href:x,children:_||"link"})}):null,O?(0,b.jsx)("li",{style:{marginLeft:"1.2%"},children:(0,b.jsx)("a",{href:O,children:w||"link"})}):null]}):null,(0,b.jsx)("hr",{style:{marginRight:"2%"}}),(0,b.jsx)("h4",{className:"headline",children:k||"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,b.jsx)("h4",{className:"article-subheadline",children:P||""}),I&&(0,b.jsx)(u.A,{url:F,alt:D||C||L||k,caption:C,startLeft:!0,canonicalUrl:N,createdDate:A}),(0,b.jsx)("div",{className:"bylinev2",children:(0,b.jsxs)("div",{className:"row",children:[q.map(e=>{const{id:t,link:r,name:n}=e;return r?(0,b.jsx)("div",{children:(0,b.jsx)("a",{href:`/author/${r}`,children:(0,b.jsx)("div",{className:"article-byline-author",children:n})})},t):(0,b.jsx)("div",{children:(0,b.jsx)("div",{className:"article-byline-author",children:n},n)},t)}),(0,b.jsx)("div",{className:"author-container",children:(0,b.jsx)("span",{className:"article-byline-author",children:`  | ${U}`})}),H&&(0,b.jsx)("div",{className:"author-container",children:(0,b.jsx)("span",{className:"article-byline-author",children:` | Updated: ${H}`})})]})}),(0,b.jsx)("div",{className:"article-body-container",itemProp:"articleBody",children:G.map(e=>{const{_id:r,type:n,content_elements:i,citation:o,raw_oembed:a,content:y,subtitle:g,caption:v,alt_text:_,pos:x}=e,w=_||v||g;if("quote"===n)return(0,b.jsx)("div",{className:"article-body-element",children:(0,b.jsx)(d.A,{data:i,citation:o})},r);if("oembed_response"===n&&a&&a.html){if(a.html.includes("youtube")){const e=/<iframe.*?src="(.*?)"/.exec(a.html)[1];return(0,b.jsx)(h.A,{id:r,src:e})}return a.html.includes("facebook")?(0,b.jsx)("div",{className:"social-media-embed",dangerouslySetInnerHTML:{__html:a.html}},r):(0,b.jsx)(f.A,{data:a},r)}return"image"===n?(0,b.jsx)("div",{className:"article-body-element",children:(0,b.jsx)(u.A,{alt:w,caption:v,url:(0,l.$X)(900,(0,c.yx)(e.url),e.auth[1])})},r):"gallery"===n?(0,b.jsx)("div",{className:"article-body-element",children:(0,b.jsx)(p.A,{data:i})},r):"ad"===n?(0,b.jsxs)("div",{"data-testid":"ad",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[x<3&&(t[x]||t[0]),x>=3&&(t[3]||t[0])]},r):"text"===n?(0,b.jsx)(m.A,{element:e},r):"raw_html"===n?(0,b.jsx)(s(),{id:r,children:(0,b.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:y}})},r):(0,b.jsx)(m.A,{element:e},r)})}),(0,b.jsx)("hr",{})]})}_.label="Single Ariticle",_.defaultProps={children:[]},_.propTypes={children:i().arrayOf(i().oneOfType([i().node])),customFields:i().shape({dataConfig:i().contentConfig("stories"),title:i().string.tag({name:"Title"}),imageOptimization:i().oneOf(Object.keys(l.FG)).tag({name:"Image optimization"}),link1Text:i().string.tag({name:"Link1 Text"}),link1Url:i().string.tag({name:"Link1 Url"}),link2Text:i().string.tag({name:"Link2 Text"}),link2Url:i().string.tag({name:"Link2 Url"}),link3Text:i().string.tag({name:"Link3 Text"}),link3Url:i().string.tag({name:"Link3 Url"})}).isRequired},t.default=_},10541:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(34766);function s({children:e}){const[t,r]=(0,n.useState)(!1);return(0,a.jsxs)("div",{className:t?"stickyAd display-none":"stickyAd","data-test":"sticky-ad",children:[(0,a.jsx)("div",{className:"btn-close",children:(0,a.jsx)("button",{onClick:()=>{r(!0)},type:"button","data-test":"close-button",children:(0,a.jsx)("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1
153MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=",alt:"Close ad"})})}),e]})}s.label="Sticky Ad Container / InfoLink",s.defaultProps={children:[]},s.propTypes={children:o().arrayOf(o().node)},t.default=s},88735:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(34766);function s({children:e}){const[t,r]=(0,n.useState)(!1);return(0,a.jsxs)("div",{className:t?"stickyTopAd display-none":"stickyTopAd","data-test":"sticky-ad",children:[(0,a.jsx)("div",{className:"btn-close",children:(0,a.jsx)("button",{onClick:()=>(()=>{freestar.deleteAdSlots("sltrib-promo-99");const e=document.getElementById("sltrib-promo-99");e&&e.remove(),r(!0)})(),type:"button","data-test":"close-button",children:(0,a.jsx)("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=",alt:"Close ad"})})}),e]})}s.label="Sticky Top Ad Container",s.defaultProps={children:[]},s.propTypes={children:o().arrayOf(o().node)},t.default=s},87912:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({children:e}){return(0,o.jsx)("div",{className:"row stories-row",children:e.map((e,t)=>(0,o.jsx)("div",{className:"col-12 col-md-4 story-in-row",children:e},t))})}a.label="Stories Row",a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired,customFields:i().shape({forceVertical:i().bool.tag({name:"Vertical on narrow",description:"Override horizontal stories when screen is narrow",defaultValue:!0})}).isRequired},t.default=a},55344:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(4321),o=r(14375),a=r(19894),s=r.n(a),l=r(94923),c=r(26858),u=r(23874),d=r(34766);function f({children:e}){let t=[],r="";const{globalContent:a}=(0,i.useAppContext)(),s=new URL(window.location.href);let f=s.pathname;const p=f.charAt(f.length-1);f="/"===p?f.substring(0,f.length-1):f;
153const[h,m]=(0,n.useState)(10),y=(0,o.useContent)({source:"siteServiceAPI",query:{sectionId:f}});if(a){const{content_elements:e}=a;if(e&&0!==e.length&&e[0].taxonomy.primary_section){t=(0,l.oG)(e,5);const n=s.pathname.split("/");r=n[n.length-2],"utah-hockey-club"===r&&(r="utah-mammoth"),r=r.replaceAll("-"," ")}else{if(!e||0===e.length||!e[0].taxonomy.tags)return(0,d.jsx)("div",{children:"Data not available"});t=(0,l.oG)(e,5),r=e[0].taxonomy.tags[0].description,r=r.replaceAll("-"," ")}}return(0,d.jsxs)("div",{className:"subsection-container",children:[(0,d.jsxs)("div",{className:"section-title",children:[(0,d.jsx)("h1",{style:{letterSpacing:"2px",color:"#333333"},children:r}),y?.site?.sponsor_logo&&(0,d.jsxs)("div",{className:"sponsored-section",children:[(0,d.jsx)("p",{className:"supported-text",children:"Supported by"}),(0,d.jsx)("a",{href:y?.site?.sponsor_web_url,target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{src:y?.site?.sponsor_logo,alt:"Sponsor Logo",width:"90",height:"40",className:"logo-sponsor"})})]})]}),t.slice(0,h).map(t=>{if(t.renderAd)return(0,d.jsx)("div",{className:"Ads",children:e[0]},t._id);const[r,n,i,o,a]=(0,c.iM)(t),s=`${n}/`,l="/"!==n[n.length-1]?s:n;let f="";i&&i.auth&&(f=i.auth[1]);const p=i&&i.auth&&(0,u.L)(300,200,(0,c.Jg)(t),f,i?.owner?.id,i)||null;return(0,d.jsx)("div",{className:"story",children:(0,d.jsxs)("a",{href:l,children:[(0,d.jsxs)("div",{className:"row",children:[p?(0,d.jsx)("div",{className:"col-4 col-lg-3",children:(0,d.jsx)("img",{src:p,alt:`${i.caption||"image"}`,className:"img",width:"300",height:"200"})}):null,(0,d.jsxs)("div",{className:""!==i.caption&&p?"col-8 col-lg-9 right-container":"col-12 right-container no-padding",children:[(0,d.jsx)("div",{children:(0,d.jsx)("h4",{className:"secondary-text",style:""!==i.caption?{}:{marginBottom:16},children:r})}),(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("p",{children:[`${o} | `,(0,d.jsx)("span",{className:"date",children:a})]})})]})]}),(0,d.jsx)("div",{className:"horizontal-separator"})]})},t._id)}),t.length>=h&&(0,d.jsx)("button",{className:"more-stories-button",type:"button",onClick:()=>m(e=>e+10),children:"More Stories"})]})}f.defaultProps={children:[]},f.propTypes={children:s().arrayOf(s().oneOfType([s().node]))},f.label="Sub Section",t.default=f},61703:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){const t=e[0],r=e[1],n=e[2];return(0,o.jsx)("div",{className:"three-story-row",children:(0,o.jsxs)("div",{className:"row three-story-row",children:[(0,o.jsx)("div",{className:"col-12 col-lg-4",style:{marginTop:"16px"},children:(0,o.jsx)("div",{className:"left-card",style:{height:"100%",maxWidth:"360px"},children:t})}),(0,o.jsx)("div",{className:"col-12 col-lg-4",style:{marginTop:"16px"},children:(0,o.jsx)("div",{style:{height:"100%",maxWidth:"360px"},className:"middle-card",children:r})}),(0,o.jsx)("div",{className:"col-12 col-lg-4",style:{marginTop:"16px"},children:(0,o.jsx)("div",{className:"right-card",style:{height:"100%",maxWidth:"360px"},children:n})})]})})}a.label="Three Story Row",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},94931:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({children:e}){const t=e[0],r=[...e];return r.shift(),(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-8 top-story-left vertical-separator",children:t}),(0,o.jsx)("div",{className:"col-12 col-md-6 col-lg-4 top-story-right",children:r})]})}a.label="Top Stories Section",a.propTypes={children:i().arrayOf(i().node).isRequired},t.default=a},55726:function(e,t,r){"use strict";r.r(t);var n=r(14375),i=r(19674),o=r.n(i),a=r(4321),s=r(59626),l=r.n(s),c=r(752),u=r(23874),d=r(26858),f=r(15109),p=r(34766);function h({customFields:e}){const{globalContent:t,isAdmin:r}=(0,a.useAppContext)();if(t&&t.content_elements&&t.content_elements.length>0&&"raw_html"===t.content_elements[0].type&&t.content_elements[0].content.includes("<iframe"))return(0,p.jsx)(l(),{id:t.content_elements[0].content,children:(0,p.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:t.content_elements[0].content},style:{marginBottom:"2%"}})},t.content_elements[0].content);const i=!(!t||!t.content_elements)&&["gallery","raw_html"].includes(t.content_elements[0].type),o=t?t.promo_items:void 0;if(r)return(0,p.jsx)(c.A,{url:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/SQHWAT5PRRDHFCLJVBW3CDACAM.jpg",alt:"test",caption:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis dictum nisl id tempor. Praesent feugiat nulla et elit fringilla pretium. Aenean eget euismod erat, non fermentum magna. Maecenas rhoncus orci augue, posuere cursus arcu ornare eu.",startLeft:!0,width:840,height:558});if(!o)return null;const{caption:s,subtitle:h,created_date:m,alt_text:y}=o.basic,g=t.canonical_url,v=t.headlines?t.headlines.basic:"",{imageOptimization:b,runLocal:_}=e||"none",x=u.FG[b],w=o.basic?o.basic._id:null,O=(0,n.useContent)({source:"arc-signing-service",query:w?{id:w}:null}),j=_?o.basic.auth[1]:O&&O.hash,S=(0,d.Jg)(t),M=(0,f.v)(o.basic.width,o.basic.height,920),k=(0,u.$X)(M||x.width,S,j,t.owner.id),P=M?(0,u.$8)(S,j,t.owner.id,(0,f._H)(M,o.basic.width)):(0,u.$8)(S,j,t.owner.id);return i?null:k&&(0,p.jsx)("div",{className:"lead-art",style:M?(0,f.Cv)(M):void 0,children:(0,p.jsx)(c.A,{url:k,srcSet:P,sizes:M?(0,f.nJ)(M):"(max-width: 767px) 100v
153w, 1024px",alt:y||s||h||v,caption:s,startLeft:!0,canonicalUrl:g,createdDate:m,eager:!0,intrinsicWidth:o.basic.width,intrinsicHeight:o.basic.height})})}h.label="Article Image global",h.propTypes={customFields:o().shape({imageOptimization:o().oneOf(Object.keys(u.FG)).tag({name:"Image optimization"}),runLocal:o().boolean.tag({name:"Run LOCAL",defaultValue:!1})})},t.default=h},84983:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return q}});var n=r(40809),i=r.n(n),o=r(19674),a=r.n(o),s=r(4321),l=r(87724),c=r.n(l),u=r(71831),d=r.n(u),f=r(32070),p=r.n(f),h=r(43993),m=r(23322),y=r(79634);const g=(e,t,r,n,i)=>{const o=document,a=document.getElementById("sltrib_ssc");if(i&&a){const e=`https://${(0,y.yv)(document.getElementById("sltrib_ssc").getAttribute("coral_url"))}`,i=o.createElement("script");i.src=`${e}/assets/js/embed.js`,i.async=!1,i.defer=!0,(o.head||o.body).appendChild(i),i.onload=r?()=>{Coral.createStreamEmbed({id:"coral_thread",autoRender:!0,rootURL:e,storyID:t,storyURL:n,events(e){e.on("loginPrompt",function(){window.flipPay.signIn()})}})}:()=>{Coral.createStreamEmbed({id:"coral_thread",autoRender:!0,rootURL:e,storyID:t,events(e){e.on("loginPrompt",function(){e.on("loginPrompt",function(){window.flipPay.signIn()})})}})}}if(a&&!1===i){const i=`https://${(0,y.yv)(document.getElementById("sltrib_ssc").getAttribute("coral_url"))}`,a=o.createElement("script");a.src=`${i}/assets/js/embed.js`,a.async=!1,a.defer=!0,(o.head||o.body).appendChild(a),a.onload=r?()=>{Coral.createStreamEmbed({id:"coral_thread",autoRender:!0,rootURL:i,accessToken:e,storyID:t,storyURL:n})}:()=>{Coral.createStreamEmbed({id:"coral_thread",autoRender:!0,rootURL:i,accessToken:e,storyID:t})}}};var v=r(15074),b=r(94923),_=r(39765),x=r(12063),w=r.n(x),O=r(90672),j=r.n(O),S=r(42876),M=r.n(S),k=r(20799),P=r.n(k),T=r(55702),E=r.n(T),C=r(74727),L=r(48911),A=r(34766);const D="DrawerItems",I={list:`${D}-list`,drawItem:`${D}-drawItem`,search:`${D}-search`},N=(0,_.styled)("div")({[`&.${I.list}`]:{width:300,padding:20},[`& .${I.drawItem}`]:{fontFamily:"Helvetica",fontStyle:"normal",fontWeight:"bold",fontSize:24,lineHeight:28,letterSpacing:"0.1em",color:"#333333"},[`& .${I.search}`]:{display:"flex",justifyContent:"space-between"}});function R({text:e,link:t,toogle:r,color:n}){return(0,A.jsx)(M(),{button:!0,onClick:()=>{r(!1),window.open(t,"_self")},children:(0,A.jsx)(P(),{primary:e,style:{color:n||"black",fontWeight:"bold"}})},e)}var z=function({toogle:e}){const[t,r]=(0,n.useState)(null),{isMobile:i}=(0,v.Qo)(),o=(0,s.useAppContext)(),{deployment:a,contextPath:l}=o,c=()=>{window.open(`/search/?query=${t}`,"_self")};return(0,A.jsxs)(N,{className:I.list,role:"presentation","data-testid":"items-container",onKeyDown:e(!1),children:[(0,A.jsx)("div",{className:I.search,children:i?(0,A.jsx)("label",{htmlFor:"queryly_toggle",children:(0,A.jsx)("img",{alt:"queryly-instant-search",style:{width:"24px",cursor:"pointer",backgroundColor:"#111",padding:"4px",borderRadius:"5px",marginTop:"8px",marginLeft:"13px"},className:"queryly_search_button",src:a?a(`${l}/resources/img/whitesearchicon.png`):"https://www.queryly.com/images/whitesearchicon.png",onClick:e(!1)})}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(E(),{"aria-label":"search-button",onClick:e(!1),size:"large",children:(0,A.jsx)(L.A,{style:{fontSize:30}})}),(0,A.jsx)("input",{type:"text",placeholder:"Advanced Search",className:"search-input",style:{textAlign:"center"},onChange:e=>{r(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&t&&c()},"data-testid":"search-input"}),(0,A.jsx)(E(),{"aria-label":"search-button",onClick:c,"data-testid":"srch-btn",size:"large",children:(0,A.jsx)(C.A,{style:{fontSize:30}})})]})}),(0,A.jsxs)(w(),{children:[(0,A.jsx)(R,{text:"E-EDITION",link:"https://eedition.sltrib.com/",toogle:e}),(0,A.jsx)(R,{text:"LOCAL NEWS",link:"/news/",toogle:e}),(0,A.jsx)(R,{text:"POLITICS",link:"/politics/",toogle:e}),(0,A.jsx)(R,{text:"RELIGION",link:"/religion/",toogle:e}),(0,A.jsx)(R,{text:"OPINION",link:"/opinion/",toogle:e}),(0,A.jsx)(R,{text:"SOUTHERN UTAH",link:"/southern-utah/",toogle:e}),(0,A.jsx)(R,{text:"BUSINESS",link:"/news/business/",toogle:e}),(0,A.jsx)(R,{text:"EDUCATION",link:"/news/education/",toogle:e}),(0,A.jsx)(R,{text:"SPORTS",link:"/sports/",toogle:e}),(0,A.jsx)(R,{text:"CULTURE",link:"/artsliving/",toogle:e}),(0,A.jsx)(R,{text:"SOLUTIONS",link:"/solutions/",toogle:e}
153),(0,A.jsx)(R,{text:"PODCASTS",link:"/podcasts/",toogle:e}),(0,A.jsx)(R,{text:"NEWSLETTERS",link:"/newsletters/",toogle:e}),(0,A.jsx)(R,{text:"AMPLIFY UTAH",link:"/amplify-utah/",toogle:e}),(0,A.jsx)(R,{text:"ARCHIVES",link:"https://digitalnewspapers.org/newspaper/?paper=Salt%20Lake%20Tribune",toogle:e}),(0,A.jsx)(R,{text:"OBITUARIES",link:"https://www.legacy.com/obituaries/saltlaketribune",toogle:e}),(0,A.jsx)(R,{text:"EN ESPAÃOL",link:"/en-espanol/",toogle:e})]}),(0,A.jsx)(j(),{}),(0,A.jsxs)(w(),{children:[(0,A.jsx)(R,{text:"DONATE",link:"/donate/",toogle:e,color:"rgb(194,46,39)"}),(0,A.jsx)(R,{text:"PRINT ACCOUNT",link:"https://sltiservices.navigacloud.com/cmo_slt-c-cmdb-01/subscriber/web/signin.html",toogle:e}),(0,A.jsx)(R,{text:"TRIBUNE STORE",link:"https://store.sltrib.com",toogle:e}),(0,A.jsx)(R,{text:"STORY TIP LINE",link:"/tips/",toogle:e}),(0,A.jsx)(R,{text:"ABOUT US",link:"/about-us/",toogle:e}),(0,A.jsx)(R,{text:"LEGAL NOTICES",link:"/legal-notices/",toogle:e}),(0,A.jsx)(R,{text:"JOBS",link:"/jobs/",toogle:e})]})]})},F=r(67711),B=r(19894),Y=r.n(B);function U({items:e}){return(0,A.jsx)("div",{className:"subheader-container-2 hidden-md-down",children:e.map((t,r)=>(0,A.jsx)("a",{href:t.url,className:(e.length,"subnav-item-2"),children:t.label},t.label))})}U.propTypes={items:Y().arrayOf(Y().shape({label:Y().string,url:Y().string})).isRequired};var H=U,$=r(49789);const W=e=>{e.fp_id&&($.A.identify(e.email),$.A.people.set({$name:`${e.name||""}`,$email:e.email,active_member:e.active_member,logged_in:!0,fp_id:e.fp_id}))};function V({customFields:e}){const{globalContent:t,isAdmin:r}=(0,s.useAppContext)(),{subHeaderContent:o,fixedText:a,navVersion:l,hideDonate:u,hideBanner:f,mixpanelDebug:_}=e,x="undefined"!=typeof document?document.getElementById("sltrib_ssc1"):null,w=x?.getAttribute("sltrib_deployment")||"",O=(0,n.useRef)([]),[j,S]=(0,n.useState)(null);r||(t._id?((e,t)=>{$.A.init(h.MIXPANEL_TOKEN,{autocapture:{click:!0,input:!0,scroll:!0,submit:!0,pageview:!1,capture_text_content:!1},track_pageview:!1,debug:e||!1,record_sessions_percent:.2,api_host:h.MIXPANEL_PROXY_SERVER}),$.A.track_pageview({content_id:t})})(_,t._id):(e=>{$.A.init(h.MIXPANEL_TOKEN,{autocapture:!0,track_pageview:!0,debug:e||!1,record_sessions_percent:.2,api_host:h.MIXPANEL_PROXY_SERVER})})(_));let M="https://www.sltrib.com";"sandbox"===w&&(M="https://sltrib-sandbox.cdn.arcpublishing.com");const k=t&&t.canonical_url?`${M}${t.canonical_url}/`:"",{isMobile:P}=(0,v.Qo)(),T=(0,s.useAppContext)(),E=T.metaValue("run-coral")||!1,{deployment:C,contextPath:L}=T,D=C?C(`${L}/resources/svg/Trib_masthead_top_000000.svg`):"",I=C?C(`${L}/resources/svg/menu.svg`):"",N=C?C(`${L}/resources/svg/person.svg`):"",[R,B]=(0,n.useState)(!1),[Y,U]=i().useState(null),[V]=(0,n.useState)((()=>{if(o&&""!==o)try{return JSON.parse(o)}catch(e){return[]}return[]})()),[q,G]=(0,n.useState)(null),[Z,X]=(0,n.useState)(null),[J,K]=(0,n.useState)(null),[Q,ee]=(0,n.use
153State)(null),te=e=>{let t=!1;return e.forEach(e=>{e.subscription&&(t=!0)}),t};let re=!1;T.globalContent&&(re=void 0!==T.globalContent.copyright);const[ne,ie]=(0,n.useState)(""),[oe,ae]=(0,n.useState)(null),[se,le]=(0,n.useState)(localStorage.getItem("fp_access_token")||""),ce=(0,n.useRef)(!1),ue=()=>{const{pageYOffset:e}=(0,v.Qo)();(0,b.Ez)(e),(0,b.vx)(e)},de=T.globalContent._id;(0,n.useEffect)(()=>(window&&ne&&freestar&&freestar.queue&&(freestar.queue.push(()=>{freestar.identity.setIdentity(convertEmailToHashes(ne))}),window.fsPPID=convertEmailToHashes(ne).hashes.sha256),window.addEventListener("scroll",ue),()=>{window.removeEventListener("scroll",ue),O.current.forEach(e=>{clearTimeout(e)}),O.current=[]}),[]),(0,n.useEffect)(()=>{ce.current||(ce.current=!0,(window.flipPay=window.flipPay||[]).push("init")),document.addEventListener("fp_event_tracker",e=>{let t=null;if(e.detail&&e.detail.object&&"purchase"===e.detail.object_type&&(G(e.detail.object.data.user_id),X(e.detail.object.data.amount),K(e.detail.object.data.item_group_code),ee(e.detail.object.data.renewable)),"sdk_auth_state_ready"===e.detail.event_type){e.detail.object&&e.detail.object.access_token||(g(j,de,re,k,!0),ae(!1)),le(e.detail.object.access_token),localStorage.setItem("fp_access_token",e.detail.object.access_token);const r=(0,y.$n)(e.detail.object.id_token);if(!r||e.detail.object&&e.detail.object.access_token){if(e.detail.object.access_token){const r={url:`${h.FLIPPAY_API_BASE}/v1/customers/me/active_access`,method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${e.detail.object.access_token}`}};(0,m.A)(r).then(({data:r})=>{t={fp_id:r.customer.id,email:r.customer.email,name:r.customer.name,active_member:te(r.purchases),logged_in:!0},W(t),"v2"===l&&E&&((e=>{if(!e||0===e.length)return!1;const t=Date.now();return e.some(e=>!("commenting"!==e.code||e.site_code&&"sltrib.com"!==e.site_code||e.start_at&&Date.parse(e.start_at)>t||e.finish_at&&Date.parse(e.finish_at)<t))})(r.entitlements)?(((e,t)=>{const r=new Headers;r.append("Content-Type","application/json");const n={method:"POST",headers:r,body:JSON.stringify({access_token:e}),redirect:"follow"};fetch(h.CORAL_LAMBDA_FP,n).then(e=>e.json()).then(e=>t(e)).catch(e=>console.error(e))})(e.detail.object.access_token,e=>{e&&e.token?S(e.token):e.token||S(null)}),runGAPaywallStopforNonSubcribers(T)):(g(null,de,re,k,!0),ae(!0))),ie(r.customer.email)})}}else t={uid:r.sub,email:r.email,name:r.name,active_member:!1,logged_in:!1},W(t)}})},[se,ne,k,re,l,E,T,()=>T.globalContent&&T.globalContent.comments&&!T.globalContent.comments.display_comments?T.globalContent.comments.display_comments:"null_cases",de,j]);const fe=e=>{U(e.currentTarget)},pe=e=>t=>{"keydown"===t.type&&"Escape"!==t.key||B(e)};if(!l)return(0,A.jsx)("h1",{children:"Please pick a version of navs"});if("Invisible"===l)return null;if(!r&&null!==oe&&!j){const e=window._cbq=window._cbq||[];oe?(e.push(["_acct","lgdin"]),window.dataLayer.push({subscriber:"lgdin"})):(e.push(["_acct","anon"]),window.dataLayer.push({subscriber:"anon"}))}if(!r&&j){g(j,de,re,k,!1);(window._cbq=window._cbq||[]).push(["_acct","paid"]),window.dataLayer.push({subscriber:"paid"})}return!r&&q&&Z&&J&&null!==Q&&((e,t,r,n,i)=>{$.A.init(h.MIXPANEL_TOKEN,{autocapture:{click:!1,input:!1,scroll:!1,submit:!1,pageview:!1,capture_text_content:!1},track_pageview:!1,debug:i||!1,api_host:h.MIXPANEL_PROXY_SERVER}),$.A.track("donation_conversion",{user_id:e,amount:t,item_group_code:r,renewable:n})})(q,Z,J,Q,_),(0,A.jsx)("div",{className:"header-nav-combined",children:(0,A.jsxs)("div",{className:"v4"===l?"header-nav-v4":"header-nav-v2",children:[(0,A.jsxs)("div",{className:"row toolbar",children:[(0,A.jsxs)("div",{className:"col-12 toolbar-row",children:[(0,A.jsxs)("div",{className:"toolbar-group",children:[(0,A.jsx)("button",{type:"button",className:"no-mat-burg-btn",start:"false","aria-label":"menu","data-testid":"burger",onClick:pe(!0),children:"v4"===!l?(0,A.jsx)("div",{children:(0,A.jsx)("img",{src:I,alt:"search-menu",style:{width:"20px"},width:"35",height:"25",className:"white-images"})}):(0,A.jsx)("div",{children:(0,A.jsx)("img",{src:I,alt:"search-menu",width:"35",height:"28",style:{width:"20px"},className:"white-images"})})}),P?null:(0,A.jsx)("label",{htmlFor:"queryly_toggle",children:(0,A.jsx)("img",{alt:"queryly-instant-search",width:"24",height:"24",style:{width:"24px",cursor:"pointer",backgroundColor:"#FFFFFF",padding:"4px",borderRadius:"5px",marginTop:"8px",marginLeft:"-6px",color:"#000000"},className:"queryly_search_button",src:C?C(`${L}/resources/img/search-black.svg`):"https://www.queryly.com/images/searchicon.png"})})]}),(0,A.jsx)("div",{className:"v4"===l?"new-logo-wrapper":"toolbar-group logo "+(a?"always-visible":"sltrib-head"),children:(0,A.jsx)("a",{href:"/",children:(0,A.jsx)("img",{src:D,width:"160",height:"100",alt:"The Salt Lake Tribune Logo Top",className:"tribheadlogo"})})}),"v4"===l?(0,A.jsxs)("div",{className:"hidden-lg-down mission-wrapper",children:[(0,A.jsx)("p",{className:"mission-info-1 hidden-lg-down",style:{marginBottom:"4px",marginTop:"20px"},children:"Truth. Empowerment. Community."}),(0,A.jsx)("p",{style:{marginTop:"1.2px"},className:"mission-info-2",children:"Pulitzer Prize Winner"})]}):null,(0,A.jsxs)("div",{className:"toolbar-group",children:[!se&&(0,A.jsx)("a",{href:"/give/",className:"new-desk-subscribe hidden-lg-down",children:"DONATE"}),!u&&se?(0,A.jsx)("a",{href:"/give/",className:"new-desk-subscribe hidden-lg-down",id:"donation-button-desktop-header",children:"DONATE"}):null,(0,A.jsx)("button",{className:"login-btn-new hidden-lg-down",type:"button",onClick:fe,children:se?"ACCOUNT":(0,A.jsx)("div",{className:"fp-sign-in","data-testid":"mobilesignin",children:"LOG IN"})}),!f&&(0,A.jsx)("a",{href:"/give/",className:"new-donate hidden-lg-up",id:"donation-button-banner-header",children:"DONATE"}),se&&f&&(0,A.jsx)("a",{href:"/give/",className:"new-donate hidden-lg-up",id:"donation-button-mobile-header",children:"DONATE"}),f&&!se&&(0,A.jsx)("a",{href:"/give/",className:"new-donate hidden-lg-up",children:"DONATE"}),(0,A.jsx)("button",{className:"hidden-lg-up no-mat-btn",type:"button",start:"false","aria-label":"account","data-testid":"account-mobile-button",onClick:fe,children:"v2"===l?(0,A.jsx)("img",{src:N,alt:"login icon",style:{width:"20px"},className:"white-images",width:"18",height:"18"}):(0,A.jsx)("img",{src:N,alt:"login-button",style:{width:"20px"},className:"white-images",width:"18",height:"18"})}),(0,A.jsxs)(c(),{id:"simple-menu",anchorEl:Y,keepMounted:!0,open:Boolean(Y),onClose:()=>{U(null)},anchorOrigin:{vertical:"top",horizontal:"left"},children:[(0,A.jsxs)("div",{children:[(0,A.jsx)(d(),{className:"fp-sign-in","data-testid":"mobilesignin",children:"Sign in"}),(0,A.jsx)(d(),{className:"fp-member-center","data-testid":"mobileaccount",children:"Account"})]}),(0,A.jsx)("div",{children:(0,A.jsxs)(d(),{className:"fp-sign-out","data-testid":"mobilesignout",children:[localStorage.removeItem("fp_access_token"),localStorage.removeItem("userEmail"),"Sign Out"]})})]})]})]}),!f&&(0,A.jsx)("div",{className:"subscribe-banner hidden-lg-up",children:(0,A.jsx)("a",{href:"/give/",children:"DONATE NOW"})}),"v2"===l&&V.length>0&&(0,A.jsx)(F.A,{items:V})]}),"v4"===l&&V.length>0&&(0,A.jsx)(H,{items:V}),(0,A.jsx)(p(),{anchor:"left",open:R,onClose:pe(!1),children:(0,A.jsx)(z,{"data-testid":"drawer-items",toogle:pe})})]})})}V.label="Header Navigation Combined global",V.propTypes={customFields:a().shape({hideBanner:a().bool.tag({name:"Hide Subscribe Banner"}),hideDonate:a().bool.tag({name:"Hide Donate",defaultValue:!1}),fixedText:a().bool.tag({name:"Fixed text (v2)",defaultValue:!0}),subHeaderContent:a().string.tag({name:"Sub Header Content"}),navVersion:a().oneOf(["v2","v4","Invisible"]).tag({name:"navigation version",defaultValue:"v2",description:"v2 is for a story and v4 is for the homepage"}
153),mixpanelDebug:a().bool.tag({name:"Mixpanel Debug",defaultValue:!1})}).isRequired};var q=V},71931:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(74043),s=r.n(a),l=r(34766);function c(){return(0,l.jsx)(l.Fragment,{children:"Latest Articles not available"})}function u(e,t,r){const n=(e=>e.taxonomy&&e.taxonomy.sites.length>1?`${e.taxonomy.sites.map(e=>e.name).join(" + ")}`:`${e.taxonomy.sites[0].name}`)(e),i=e.headlines.basic,o=(a=e[t||"display_date"],s()(a).fromNow());var a;const c=(u=e).credits&&u.credits.by.length>1?`By ${u.credits.by.map(e=>e.name).join(" | ")}`:`By ${u.credits.by[0].name}`;var u;return(0,l.jsx)("div",{className:"col col-12 col-sm-12 col-md-4 col-lg-4 feed-item","data-article":"item",children:(0,l.jsxs)("a",{href:e.website_url,className:"d-flex position-relative w-100 article-link",children:[(0,l.jsx)("div",{className:"feed-item-num d-flex align-items-center justify-content-center",children:(0,l.jsx)("span",{className:"num-span helv-bold latest-color-dark","data-article":"index",children:r+1})}),(0,l.jsxs)("div",{className:"feed-item-content d-flex flex-column align-self-stretch justify-content-between w-100",children:[(0,l.jsxs)("div",{className:"section-and-title d-flex flex-column",children:[(0,l.jsx)("span",{className:"helv-bold feed-item-section text-uppercase news-color","data-article":"sites",children:n}),(0,l.jsx)("h3",{className:"feed-item-title","data-article":"title",children:i})]}),(0,l.jsxs)("div",{className:"author-container",children:[(0,l.jsx)("span",{"data-article":"by",className:"byline",children:c}),(0,l.jsx)("span",{className:"dot",children:"·"}),(0,l.jsx)("span",{className:"top-story-date","data-article":"date",children:o})]})]})]})},e._id)}function d({customFields:e}){const{dataConfig:t,dateType:r}=e;if(!t)return(0,l.jsx)(c,{});const{contentService:n,contentConfigValues:i}=t,a=(0,o.useContent)({source:n,query:i});return a&&a.content_elements&&0!==a.content_elements.length?(0,l.jsx)("div",{className:"latest-articles container",children:(0,l.jsx)("div",{className:"row",children:a.content_elements.map((e,t)=>u(e,r,t))})}):(0,l.jsx)(c,{})}d.label="Latest Articles global",d.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),dateType:i().oneOf(["last_updated_date","display_date","publish_date"])}).isRequired},t.default=d},14242:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(34766);function s(e){const t=(0,o.useContent)({source:e.customFields.dataConfig.contentService,query:e.contentConfig.contentConfigValues,transform:e=>e});return t&&0!==t.length?(0,a.jsxs)("div",{className:"members-card",style:{maxWidth:"1200px",marginLeft:"auto",marginRight:"auto"},children:[(0,a.jsx)("h1",{style:{marginLeft:"16px",marginTop:"100px",fontFamily:"Helvetica",fontWeight:"24px",letterSpacing:"2px"},children:t.title}),(0,a.jsx)("div",{className:"row",children:t.members.map(e=>(0,a.jsx)("div",{className:"column",style:{fontSize:"1vw"},children:(0,a.jsxs)("div",{className:"card",style:{height:"90%",margin:"16px",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[e.imageUrl?(0,a.jsx)("img",{src:e.imageUrl,alt:e.imageUrl,style:{width:"100%"}}):null,(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("h2",{className:"advisory-name",children:e.name}),(0,a.jsx)("p",{style:{paddingBottom:"10px"},className:"title",children:e.title})]})]})},e.id))})]}):(0,a.jsx)("h1",{children:"not available"})}s.label="Members cards Global",s.propTypes={customFields:i().shape({dataConfig:i().contentConfig("member")}).isRequired},t.default=s},58782:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(75123),a=r(34766);function s({customFields:e}){const{config:t}=e,r=window.location.href||"sltrib.com";return(0,a.jsx)(o.OutbrainWidget,{dataSrc:r,dataWidgetId:t})}s.label="Outbrain Ad Global",s.propTypes={customFields:i().shape({config:i().string.tag({defaultValue:"AR_1"})}).isRequired},t.default=s},67049:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(4321),s=r(44003),l=r(91008),c=r(28031),u=r(34766);function d(){const{globalContent:e}=(0,a.useAppContext)(),t=e&&e._id?e._id:-1,r=(0,o.useContent)({source:"arc-related-content",query:{articleId:t},transform:e=>e?e.basic.filter(e=>"story"===e.type):null})||s.A,n={titleOnly:!0};return 0===r.length?(0,u.jsx)(u.Fragment,{}):(0,u.jsxs)("div",{children:[(0,u.jsx)(c.default,{customFields:{link:"#",headingTitle:"RELATED STORIES"}}),r.map(e=>(0,u.jsx)("div",{style:{marginTop:16},children:(0,u.jsx)(l.A,{data:e,customFields:n,isSimpleArticle:!0})},e._id))]})}d.label="Related articles global",d.propTypes={globalContent:i().shape({_id:i().string,website_url:i().string})},t.default=d},36959:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(75306),s=r.n(a),l=r(14355),c=r.n(l),u=r(79877),d=r.n(u),f=r(15074),p=r(91008),h=r(94923),m=r(23874),y=r(34766);function g({customFields:e}){const{dataConfig:t,style:r,spaceTop:n,spaceBottom:i}
153=e,{hideImageOnMobile:a,hideBylineOnMobile:l,displaySeparator:u}=e,m="mobile"===(0,f.Ur)(),g=void 0!==r&&r.includes("No image"),v=l&&m,b=a&&m||g,_=!!u&&(u.includes("Mobile")&&!m),{contentService:x,contentConfigValues:w}=t,O=(0,o.useContent)({source:x,query:w,transform:e=>e?e.content_elements:[]});return O?(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(s(),{style:{paddingTop:n||"0px",paddingBottom:i||"0px"},children:(0,y.jsx)(c(),{container:!0,spacing:2,alignItems:"stretch",children:O.map(t=>(0,y.jsx)(c(),{item:!0,xs:12,md:6,lg:4,children:(0,y.jsx)(d(),{style:{height:"100%",margin:"16px",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:(0,y.jsx)(p.A,{data:t,customFields:e,isSimpleArticle:b,noByline:v,hideSeparator:null===u||_})})},`${t._id}${(0,h.gZ)()}`))})})}):""}g.label="Section 3 Columns Stories Cards Global",g.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),largeScreenStories:i().number.tag({name:"# Stories on large screens",description:"If you want to see less or more articles than the requested size"}),mobileStories:i().number.tag({name:"# Stories on mobile",description:"If you want to see less or more articles than the requested size"}),headingTitle:i().string.tag({name:"Section header"}),link:i().string.tag({name:"Section link",description:"It could be any valid section like /sports or any valid url like https://some-url.com"}),moreText:i().string.tag({name:"More text"}),moreLink:i().string.tag({name:"More link",description:"If present a MORE link will appear"}),titleOverride:i().string.tag({name:"Title (override)",description:"Override the title fetched from Composer"}),tagOverride:i().string.tag({name:"Tag (override)",description:"Override the TAG fetched from Composer"}),urlOverride:i().string.tag({name:"URL (override)",description:"Take the user to a different url when clicking on an article"}),overrideStoryOne:i().string.tag({name:"Override story #1",description:"Will replace the content of the story #1"}),overrideStoryTwo:i().string.tag({name:"Override story #2",description:"Will replace the content of the story #2"}),overrideStoryThree:i().string.tag({name:"Override story #3",description:"Will replace the content of the story #3"}),overrideStoryFour:i().string.tag({name:"Override story #4",description:"Will replace the content of the story #4"}),overrideStoryFive:i().string.tag({name:"Override story #5",description:"Will replace the content of the story #5"}),imageOptimization:i().oneOf(Object.keys(m.FG)).tag({name:"Image optimization"}),hideByline:i().oneOf(["No","Yes","Starting at element #2"]).tag({name:"Hide byline",defaultValue:"No"}),style:i().oneOf(["Vertical image","Horizontal image","No image"]).tag({name:"Display style",defaultValue:"Vertical image"}),displaySeparator:i().oneOf(["Always","Mobile only"]).tag({name:"Horizontal separator",defaultValue:"Always"}),hideImageOnMobile:i().bool.tag({name:"Hide image on mobile",description:"On mobile screens the article image will not display"}),hideBylineOnMobile:i().bool.tag({name:"Hide byline on mobile"}),imageFirst:i().bool.tag({name:"Place image first",description:"Swap position with another article if the frist one has no image"}),verticalOnTablet:i().bool.tag({name:"Vertical on tablet",description:"Overrides the -Display style- property to be always vertical"}),darkText:i().bool.tag({name:"Darker text"}),shortDate:i().bool.tag({name:"Short date"}),titleOnly:i().bool.tag({name:"Title only"}),stickOut:i().bool.tag({name:"Stick out"}),hideSeparator:i().bool.tag({name:"Hide Horizontal Separator"}),moveLeft:i().bool.tag({name:"Move Left"}),moveH3Down:i().bool.tag({name:"Move H3 Down"}),lowerMargin:i().bool.tag({name:"Add padding below byline"}),hideTags:i().bool.tag({name:"Hide Tags"}),spaceTop:i().string.tag({name:"Space Top",description:'Example input "10px", "3%" and etc'}),spaceBottom:i().string.tag({name:"Space Bottom",description:'Example input "10px", "3%" and etc'})}).isRequired},t.default=g},50264:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(75306),s=r.n(a),l=r(14355),c=r.n(l),u=r(15074),d=r(91008),f=r(94923),p=r(23874),h=r(34766);function m({customFields:e}){const{dataConfig:t,style:r,spaceTop:n,spaceBottom:i,title:a,urlText:l,url:p}=e;if(!t)return null;
153const{hideImageOnMobile:m,hideBylineOnMobile:y,displaySeparator:g}=e,v="mobile"===(0,u.Ur)(),b=void 0!==r&&r.includes("No image"),_=y&&v,x=m&&v||b,w=!!g&&(g.includes("Mobile")&&!v),{contentService:O,contentConfigValues:j}=t,S=(0,o.useContent)({source:O,query:j,transform:e=>e?e.content_elements:[]});return S?(0,h.jsxs)(s(),{style:{paddingTop:n||"0px",paddingBottom:i||"0px"},children:[(0,h.jsxs)(c(),{container:!0,spacing:2,children:[(0,h.jsx)(c(),{item:!0,xs:6,md:6,lg:6,children:(0,h.jsx)("h1",{style:{fontSize:"1.2rem"},children:a})}),(0,h.jsx)(c(),{item:!0,xs:6,md:6,lg:6,children:(0,h.jsx)("a",{href:p||"https://www.sltrib.com/",children:(0,h.jsx)("p",{style:{color:"gray",float:"right",marginTop:"18px",fontSize:"0.8rem"},children:l})})})]}),(0,h.jsx)(c(),{container:!0,spacing:2,alignItems:"stretch",children:S.map(t=>(0,h.jsx)(c(),{item:!0,xs:6,md:6,lg:3,children:(0,h.jsx)(d.A,{data:t,customFields:e,isSimpleArticle:x,noByline:_,hideSeparator:null===g||w})},`${t._id}${(0,f.gZ)()}`))})]}):""}m.label="Section 4 Columns Stories Global",m.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),largeScreenStories:i().number.tag({name:"# Stories on large screens",description:"If you want to see less or more articles than the requested size"}),mobileStories:i().number.tag({name:"# Stories on mobile",description:"If you want to see less or more articles than the requested size"}),headingTitle:i().string.tag({name:"Section header"}),link:i().string.tag({name:"Section link",description:"It could be any valid section like /sports or any valid url like https://some-url.com"}),moreText:i().string.tag({name:"More text"}),moreLink:i().string.tag({name:"More link",description:"If present a MORE link will appear"}),titleOverride:i().string.tag({name:"Title (override)",description:"Override the title fetched from Composer"}),tagOverride:i().string.tag({name:"Tag (override)",description:"Override the TAG fetched from Composer"}),urlOverride:i().string.tag({name:"URL (override)",description:"Take the user to a different url when clicking on an article"}),imageOptimization:i().oneOf(Object.keys(p.FG)).tag({name:"Image optimization"}),hideByline:i().oneOf(["No","Yes","Starting at element #2"]).tag({name:"Hide byline",defaultValue:"No"}),style:i().oneOf(["Vertical image","Horizontal image","No image"]).tag({name:"Display style",defaultValue:"Vertical image"}),displaySeparator:i().oneOf(["Always","Mobile only"]).tag({name:"Horizontal separator",defaultValue:"Always"}),hideImageOnMobile:i().bool.tag({name:"Hide image on mobile",description:"On mobile screens the article image will not display"}),hideBylineOnMobile:i().bool.tag({name:"Hide byline on mobile"}),imageFirst:i().bool.tag({name:"Place image first",description:"Swap position with another article if the frist one has no image"}),verticalOnTablet:i().bool.tag({name:"Vertical on tablet",description:"Overrides the -Display style- property to be always vertical"}),darkText:i().bool.tag({name:"Darker text"}),shortDate:i().bool.tag({name:"Short date"}),titleOnly:i().bool.tag({name:"Title only"}),stickOut:i().bool.tag({name:"Stick out"}),hideSeparator:i().bool.tag({name:"Hide Horizontal Separator"}),moveLeft:i().bool.tag({name:"Move Left"}),moveH3Down:i().bool.tag({name:"Move H3 Down"}),lowerMargin:i().bool.tag({name:"Add padding below byline"}),hideTags:i().bool.tag({name:"Hide Tags",defaultValue:""}),title:i().string.tag({name:"title"}),urlText:i().string.tag({name:" url text"}),url:i().string.tag({name:"url"}),spaceTop:i().string.tag({name:"Space Top",description:'Example input "10px", "3%" and etc'}),spaceBottom:i().string.tag({name:"Space Bottom",description:'Example input "10px", "3%" and etc'})}).isRequired},t.default=m},70545:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s({customFields:e}){const{globalContent:t}=(0,o.useAppContext)(),{logoHeight:r,textForLogo:n,logoSpaceTop:i,logoSpacebottom:s}=e;if(!t||!t.taxonomy||!t.taxonomy.stock_symbols||t.taxonomy.stock_symbols.length<2)return null;const l=t.taxonomy.stock_symbols[0],c=t.taxonomy.stock_symbols[1];return(0,a.jsxs)("div",{style:{paddingLeft:"0px",paddingTop:i||"0.8%",paddingBottom:s||"0.2%"},className:"sponsored-logo-container ",children:[(0,a.jsx)("p",{style:{margin:"0 6px 0 0"},children:n||""}),(0,a.jsx)("a",{href:l,children:(0,a.jsx)("img",{style:{width:"auto",height:r||"60px",marginLeft:"0px",paddingLeft:"0px"},src:c,alt:c})})]})}s.label="Global Sponsored Logo",s.defaultProps={customFields:{}},s.propTypes={customFields:i().shape({logoHeight:i().string.tag({name:"Logo Image Height",description:"example input
153: 10px, 2%"}),logoWidth:i().string.tag({name:"Logo Image Width",description:"example input: 10px, 2% (this is required for amp)"}),textForLogo:i().string.tag({name:"Logo Text"}),logoSpaceTop:i().string.tag({name:"Logo Space Top",description:"example input: 10px, 2%"}),logoSpacebottom:i().string.tag({name:"Logo Space bottom",description:"example input: 10px, 2%"})})},t.default=s},63313:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(14375),s=r(26858),l=r(23874),c=r(15074),u=r(28031),d=r(91008),f=r(34766);function p({customFields:e}){const{dataConfig:t,style:r,moreText:i,moreLink:o,headingTitle:l,link:p}=e,{imageFirst:h,largeScreenStories:m,mobileStories:y}=e,{hideImageOnMobile:g,hideBylineOnMobile:v,displaySeparator:b}=e,_=void 0!==r&&r.includes("No image"),x="mobile"===(0,c.Ur)(),w=g&&x||_,O=g&&x,j=v&&x,S=!!b&&(b.includes("Mobile")&&!x),{contentService:M,contentConfigValues:k}=t,{overrideStoryOne:P,overrideStoryTwo:T,overrideStoryThree:E}=e,{overrideStoryFour:C,overrideStoryFive:L}=e,A=(0,a.useContent)({source:M,query:k,transform:e=>e?"arc-stories-elastic-search7-v2"===M?h?(0,s.xL)(e.content_elements):e.content_elements:[e]:[]}),D=(e,t)=>{const r=(0,a.useContent)({source:"single-story-v2",query:{articlePath:t}});r&&(A[e]=r)};P&&""!==P&&" "!==P&&D(0,P),T&&""!==T&&" "!==T&&D(1,T),E&&""!==E&&" "!==E&&D(2,E),C&&""!==C&&" "!==C&&D(3,C),L&&""!==L&&" "!==L&&D(4,L);const I=(0,c.Qo)(),[N]=(0,n.useState)(I.width);if(!A||0===A.length)return(0,f.jsx)("p",{children:"..."});const R=m>0||y>0,z=m||A.length,F=y||A.length,B=N<=768?F:z,Y=R?[...A].splice(0,B):[...A],U=Y[0],H=[...Y];return H.shift(),(0,f.jsxs)("div",{className:"top-stories",children:[l&&(0,f.jsx)(u.default,{customFields:{link:p||"#",headingTitle:l,noVspace:O}}),U&&(0,f.jsx)("div",{children:(0,f.jsx)(d.A,{data:U,customFields:e,isSimpleArticle:w,noByline:j,hideSeparator:null===b||S})},U._id||"top-story-first"),H.map((t,r)=>t?(0,f.jsx)("div",{children:(0,f.jsx)(d.A,{data:t,customFields:e,isSimpleArticle:!0,hideSeparator:H.length>1&&H.length-1===r,noOverride:A.length>1})},t._id||`top-story-${r+1}`):null),o&&(0,f.jsx)("div",{className:"morelinksection",children:(0,f.jsx)("a",{href:o,children:i})})]})}p.label="Stories global",p.propTypes={customFields:o().shape({dataConfig:o().contentConfig("stories"),largeScreenStories:o().number.tag({name:"# Stories on large screens",description:"If you want to see less or more articles than the requested size"}),mobileStories:o().number.tag({name:"# Stories on mobile",description:"If you want to see less or more articles than the requested size"}),headingTitle:o().string.tag({name:"Section header"}),link:o().string.tag({name:"Section link",description:"It could be any valid section like /sports or any valid url like https://some-url.com"}),moreText:o().string.tag({name:"More text"}),moreLink:o().string.tag({name:"More link",description:"If present a MORE link will appear"}),titleOverride:o().string.tag({name:"Title (override)",description:"Override the title fetched from Composer"}),tagOverride:o().string.tag({name:"Tag (override)",description:"Override the TAG fetched from Composer"}),urlOverride:o().string.tag({name:"URL (override)",description:"Take the user to a different url when clicking on an article"}),overrideStoryOne:o().string.tag({name:"Override story #1",description:"Will replace the content of the story #1"}),overrideStoryTwo:o().string.tag({name:"Override story #2",description:"Will replace the content of the story #2"}),overrideStoryThree:o().string.tag({name:"Override story #3",description:"Will replace the content of the story #3"}),overrideStoryFour:o().string.tag({name:"Override story #4",description:"Will replace the content of the story #4"}),overrideStoryFive:o().string.tag({name:"Override story #5",description:"Will replace the content of the story #5"}),imageOptimization:o().oneOf(Object.keys(l.FG)).tag({name:"Image optimization"}),hideByline:o().oneOf(["No","Yes","Starting at element #2"]).tag({name:"Hide byline",defaultValue:"No"}),style:o().oneOf(["Vertical image","Horizontal image","No image"]).tag({name:"Display style",defaultValue:"Vertical image"}),displaySeparator:o().oneOf(["Always","Mobile only"]).tag({name:"Horizontal separator",defaultValue:"Always"}),hideImageOnMobile:o().bool.tag({name:"Hide image on mobile",description:"On mobile screens the article image will not display"}
153),hideBylineOnMobile:o().bool.tag({name:"Hide byline on mobile"}),imageFirst:o().bool.tag({name:"Place image first",description:"Swap position with another article if the frist one has no image"}),verticalOnTablet:o().bool.tag({name:"Vertical on tablet",description:"Overrides the -Display style- property to be always vertical"}),darkText:o().bool.tag({name:"Darker text"}),shortDate:o().bool.tag({name:"Short date"}),titleOnly:o().bool.tag({name:"Title only"}),stickOut:o().bool.tag({name:"Stick out"}),hideTags:o().bool.tag({name:"Hide Tags"})}).isRequired},t.default=p},78593:function(e,t,r){"use strict";r.r(t);var n=r(14375),i=r(19674),o=r.n(i),a=r(58887),s=r(34766);function l({customFields:e}){const{dataConfig:t,filterMonth:r,filterYear:i,headline:o,showCurrentDateArticles:l}=e;if("chart-beat"!==t.contentService)return(0,s.jsx)(a.A,{"data-testid":"conf"});const{contentService:c,contentConfigValues:u}=t,d=(0,n.useContent)({source:c,query:u,transform:e=>e?{list:[...e.pages]}:[]}),{list:f=[]}=d,p=[];return f.forEach(e=>{!e.path.match(/comments/)&&!e.path.match(/.html/)&&!e.path.match(/footer/)&&!e.path.match("archive.sltrib.com")&&"Article"===e.stats.type&&e.title&&function(e,t,r){if(void 0===t)return!0;const n=r||1,i=/\d{4}/,o=e.split("/"),a=(new Date).getFullYear();for(let e=0;e<o.length;e+=1)if(o[e].match(i)){const r=o[e]===a.toString()?parseInt(n):1;return o[e]>=t&&parseInt(o[e+1])>=r}return!0}(e.path,i,r)&&p.length<t.contentConfigValues.size&&!((e,t)=>{if(!t){const t=(new Date).getDate(),r=/\d{4}/,n=e.split("/");for(let e=0;e<n.length;e+=1)if(n[e].match(r)&&t===parseInt(n[e+2]))return!0}return!1})(e.path,l)&&p.push(e)}),(0,s.jsxs)("div",{className:"trending-articles-global-wrapper",children:[(0,s.jsx)("h1",{className:"title",children:o}),p.map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)("a",{className:"article-link",href:`https://${e.path}`,children:(0,s.jsx)("h3",{className:"headline-item",children:e.title.length>=100?`${e.title}...`:e.title})})},`chart-beat-article ${t}`))]})}l.label="Trending Articles Global",l.propTypes={customFields:o().shape({dataConfig:o().contentConfig("stories"),headline:o().string.tag({name:"Title",defaultValue:"Trending"}),showCurrentDateArticles:o().bool.tag({name:"Show Current Date Article",defaultValue:!1,description:"By checking this box, will show the current date articles"}),filterYear:o().string.tag({name:"Filter Year",description:'Filter year will display data from input year to current year. Example input: "2011", "2020"',defaultValue:""}),filterMonth:o().string.tag({name:"Filter Month",description:'Filter month works effectively when filter year is set to current year. Example input: "01-12" or "1-12"',defaultValue:""})}).isRequired},t.default=l},81053:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(4321),o=r(21348),a=r(94923),s=r(15074),l=r(34766);function c(){const{isAdmin:e}=(0,i.useAppContext)(),{isMobile:t}=(0,s.Qo)(),r=()=>{const{pageYOffset:e}=(0,s.Qo)();(0,a.ZU)(e)};return(0,n.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[]),e?(0,l.jsx)(o.A,{dimensions:"300x250"}):(0,l.jsx)("div",{className:"video-ad-container",id:"video-ad",children:t?(0,l.jsx)("div",{id:"FreeStarVideoAdContainer_Mobile",children:(0,l.jsx)("div",{id:"freestar-video-parent",children:(0,l.jsx)("div",{id:"freestar-video-child"})})}):(0,l.jsx)("div",{id:"FreeStarVideoAdContainer",children:(0,l.jsx)("div",{id:"freestar-video-parent",children:(0,l.jsx)("div",{id:"freestar-video-child"})})})})}c.label="Ad (Video) Freestar SC",t.default=c},44119:function(e,t,r){"use strict";r.r(t);var n=r(15074),i=r(34766);function o(){const{isMobile:e}=(0,n.Qo)();return(0,i.jsx)("div",{id:"video-ad",children:e?(0,i.jsx)("div",{id:"FreeStarVideoAdContainer_Mobile",style:{width:"100%"},children:(0,i.jsx)("div",{id:"freestar-video-parent",children:(0,i.jsx)("div",{id:"freestar-video-child"})})}):(0,i.jsx)("div",{id:"FreeStarVideoAdContainer",style:{width:"575px"},children:(0,i.jsx)("div",{id:"freestar-video-parent",children:(0,i.jsx)("div",{id:"freestar-video-child"})})})})}o.label="Ad (Video) Freestar",t.default=o},403:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(4321),s=r(94923),l=r(58887),c=r(21348),u=r(73360),d=r(15074),f=r(64006),p=r(34766);const h=["0x0","160x600","320x50","300x250","300x600","375x125","728x90","970x250","970x90","1140x90"];function m(e){let t=(0,d.Ur)();const{customFields:r}=e,{isAdmin:i,siteProperties:o,requestUri:h,globalContent:m}=(0,a.useAppContext)(),{newSLTribAdUnit:y}=o;let g="",v="";const b=m&&m.slug?m.slug:"none";b.includes("sponsored")?(v=b.split("."),g=`${y}
153/Sponsor/${v[1]}`):g=(0,f.Om)(m&&m.taxonomy&&m.taxonomy.tags?m.taxonomy.tags:[])?`${y}/Cache_Valley`:r.overrideAdUnit||(0,u.en)(y,h);const _=r.id&&0!==r.id?r.id:(0,s.gZ)(),[x]=(0,n.useState)(`sltrib-promo-${_}`),[w]=(0,n.useState)(r),O=(0,n.useRef)(null),j=(0,n.useRef)([]),S=(0,n.useRef)(!0),M=(0,n.useRef)(0);let k,P,T;const{smallSize:E,mediumSize:C,largeSize:L}=r,{notMobile:A,notTablet:D,notDesktop:I}=r;if("mobile"===(0,d.Ur)()&&A||"tablet"===(0,d.Ur)()&&D||"desktop"===(0,d.Ur)()&&I)return"";const N=()=>{const{isMobile:e,isTablet:t,isDesktop:r}=(0,d.Qo)();if(e&&(k=E),t&&(k=C),r&&(k=L),P=k?Number(k.split("x")[0]):0,T=k?Number(k.split("x")[1]):0,k||(k="0x0"),"undefined"!=typeof document){const e=document.getElementById(x);e&&(e.style.width=`${P}px`,e.style.height=`${T}px`)}};N();return(0,n.useEffect)(()=>{const e=()=>{const r=setTimeout(()=>{if(!S.current)return;if(!window.googletag)return M.current+=1,void(M.current<6&&e());M.current=0;const r=(0,d.Ur)();if("mobile"===r&&!A||"tablet"===r&&!D||"desktop"===r&&!I){const e=(0,u.yu)(x,w,g);O.current=(e=>()=>{const r=(0,d.Ur)();r!==t&&(("mobile"===r&&!A||"tablet"===r&&!D||"desktop"===r&&!I)&&(0,u.XZ)(e),N(),t=r)})(e),window.addEventListener("resize",O.current)}},2e3);j.current.push(r)};return S.current=!0,i||e(),()=>{S.current=!1,j.current.forEach(e=>clearTimeout(e)),j.current=[],O.current&&(window.removeEventListener("resize",O.current),O.current=null)}},[]),E&&C&&L?i?(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"hidden-md-up",children:(0,p.jsx)(c.A,{dimensions:E})}),(0,p.jsx)("div",{className:"hidden-md-down hidden-lg-up",children:(0,p.jsx)(c.A,{dimensions:C})}),(0,p.jsx)("div",{className:"hidden-lg-down",children:(0,p.jsx)(c.A,{dimensions:L})})]}):(0,p.jsx)("div",{id:x,style:{width:P,height:T,backgroundColor:"#F7F7F7"}}):(0,p.jsx)(l.A,{"data-testid":"conf"})}m.label="Ad With Screen Options",m.propTypes={customFields:o().shape({notMobile:o().bool.tag({name:"Not render ad on Mobile",defaultValue:!1}),notTablet:o().bool.tag({name:"Not render ad on Tablet",defaultValue:!1}),notDesktop:o().bool.tag({name:"Not render ad on Desktop",defaultValue:!1}),id:o().number.tag({name:"Ad ID",description:"Enter the div id. Each div id needs to be unique. If id is 0 then the id will be set to a random number. If you are not sure, then leave as 0."}),smallSize:o().oneOf(h).tag({group:"Ad Size",name:"Dimensions Small Screen"}),mediumSize:o().oneOf(h).tag({group:"Ad Size",name:"Dimensions Medium Screen"}),largeSize:o().oneOf(h).tag({group:"Ad Size",name:"Dimensions Large Screen"}),smallValueId:o().string.tag({group:"Key-Value",name:"Small Value ID",description:"Value from DFP that will be used for mobile ads"}),mediumValueId:o().string.tag({group:"Key-Value",name:"Medium Value ID",description:"Value from DFP that will be used for medium sized screens"}),largeValueId:o().string.tag({group:"Key-Value",name:"Large Value ID",description:"Value from DFP that will be used for large sized screens"}),overrideAdUnit:o().string.tag({name:"Override Ad Unit",description:"Specify a different ad unit path instead of the standard"})}).isRequired,siteProperties:o().shape({newSLTribAdUnit:o().string})},t.default=m},44364:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const t=e||{},{anchorId:r,scrollMargin:n}=t;if(!r)return null;const i=r.startsWith("#")?r.slice(1):r;if(!i)return null;const a=n?{scrollMarginTop:n}:void 0;return(0,o.jsx)("div",{id:i,className:"anchor-target",style:a,"aria-hidden":"true"})}a.label="Anchor Target",a.propTypes={customFields:i().shape({anchorId:i().string.tag({label:"Anchor ID",description:'The id to jump to from a Page TOC link (e.g., "benefits"). Leading "#" is stripped automatically. Required â leave blank to disable.'}),scrollMargin:i().string.tag({label:"Scroll offset (top)",description:'CSS length added above the anchor so the section title isn\'t hidden by the sticky Page TOC. Default of "96px" works for both desktop and mobile with the standard slim TOC. Override (e.g., "0px" or "140px") if you have a taller header above this section.',defaultValue:"96px"})}).isRequired},t.default=a},28673:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-lg-6 col-md-6 col-sm-12",children:(0,n.jsx)("a",{href:"https://archive.sltrib.com/article.php?id=4072975&itype=CMSID",children:(0,n.jsx)("img",{alt:"ArchiveLinkForSexEd",src:"https://local.sltrib.com/images/2022/pricephoto.jpg",style:{maxWidth:"90%"}})})}),(0,n.jsxs)("div",{className:"col-lg-6 col-md-6 col-sm-12",children:[(0,n.jsx)("h2",{style:{fontSize:"1.5rem"},children:(0,n.jsx)("a",{href:"https://archive.sltrib.com/article.php?id=4072975&itype=CMSID",children:"'We kind of all ignored it before'"})}),(0,n.jsxs)("p",{className:"relatedtext",children:['In "The Talk," educator Tomi Lasley recalls a sexual assault investigation at Utah State University Eastern when Lasley was a student there. An alert from USU, Lasley recalled, "came through on all of our phones that morning. I had within 24 hours, six girls tell me that the same thing had happened to them and that they needed help and they didn\'t know how to get that." Read The Salt Lake Tribune\'s coverage of the case:',(0,n.jsx)("a",{href:"https://archive.sltrib.com/article.php?id=4072975&itype=CMSID",children:" An alleged sex assault at a small Utah campus exposed a community's struggle\n to understand consent"})]})]})]})})}i.label="Archive Link For SexEd",t.default=i},74278:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(58906),o=r(34766);function a(){const{globalContent:e}=(0,n.useAppContext)();let t="";return e&&e.content_elements&&(t=e.content_elements.find(e=>"image"===e.type)),t?(0,o.jsx)("div",{className:"article-banner-container",children:(0,o.jsx)("div",{className:"article-banner",children:(0,o.jsx)(i.A,{imageURL:t.url,width:"1600"})})}):null}a.label="Article Banner",t.default=a},39053:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(14375),o=r(45356),a=r(27487),s=r(58906),l=r(34766);function c({author:e}){const t=(0,i.useContent)({source:"arc-author-by-id",query:e._id?{id:e._id}:null}),r=t?.byline||e.name||"",n=t?.bio||"",c=e?.image?.url||t?.image,u=t?.pinterest||"",d=t?.email||e.social_links?.find(e=>"email"===e.site)?.url||"",f=t?.twitter||e.social_links?.find(e=>"twitter"===e.site)?.url||"",p=t?.facebook||"";return e._id?(0,l.jsxs)("div",{className:"author-card",children:[c&&(0,l.jsx)("div",{className:"author-card__photo",children:(0,l.jsx)(s.A,{cName:"author-card__img",imageURL:c,width:160})}),(0,l.jsxs)("div",{className:"author-card__info",children:[(0,l.jsx)("a",{href:`/author/${e._id}`,className:"author-card__name",children:r}),u&&(0,l.jsx)("span",{className:"author-card__title",children:u}),n&&(0,l.jsx)("p",{className:"author-card__bio",children:n}),(0,l.jsxs)("div",{className:"author-card__social",children:[d&&(0,l.jsx)("a",{href:`mailto:${d}`,className:"author-card__social-link","aria-label":"Email",children:(0,l.jsx)(o.A,{style:{fontSize:20}})}),f&&(0,l.jsx)("a",{href:`https://twitter.com/${f}`,className:"author-card__social-link",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter",children:(0,l.jsx)("img",{src:"https://local.sltrib.com/icons/twitter_logos/t-1.png",alt:"Twitter",width:"18",height:"18"})}),p&&(0,l.jsx)("a",{href:p,className:"author-card__social-link",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",children:(0,l.jsx)(a.A,{style:{fontSize:20}})})]})]})]}):(0,l.jsx)("span",{className:"author-card__name--plain",children:r.includes("Brought to you by")?r:`By ${r}`})}function u(){const{globalContent:e}=(0,n.useAppContext)(),{credits:t}=e||{},{by:r}=t||{by:[{_id:1,name:"John Doe",social_links:[],image:{url:"https://placehold.co/80/png?text=A"}}]};return(0,l.jsxs)("div",{className:"article-byline-bottom",children:[(0,l.jsx)("div",{className:"article-byline-bottom__separator"}),(0,l.jsx)("div",{className:"article-byline-bottom__authors",children:r.map(e=>(0,l.jsx)(c,{author:e},e._id||e.name))})]})}u.label="Article Byline Bottom",t.default=u},77636:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(52553),o=r(46182),a=r(34766);function s(){const{globalContent:e}=(0,n.useAppContext)(),t=e?e.first_publish_date:"",r=e?e.last_updated_date:"",s=(0,i.B)(t),l=(0,i.u)(t,r),c=e?e.credits:void 0,{by:u}=c||o.A,d=u.length>1?u.filter(e=>"salt-lake-tribune"!==e._id):u,f=d.map((e,t)=>{const r={name:`,  ${e.name}`,id:t,link:e._id};return 0===t&&(r.name.includes("Brought to you by")?r.name=e.name:r.name=`By ${e.name}`),d.length>1&&t===d.length-1&&(r.name=`  and  ${e.name}`),r});return(0,a.jsx)("div",{className:"bylinev2",children:(0,a.jsxs)("div",{className:"row",children:[f.map(e=>{const{id:t,link:r,name:n}=e;return r?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:`/author/${r}`,children:(0,a.jsx)("div",{className:"article-byline-author",children:n})})},t):(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"article-byline-author",children:n},n)},t)}),(0,a.jsx)("div",{className:"author-container",children:(0,a.jsx)("span",{className:"article-byline-author",children:`  | ${s}`})}),l&&(0,a.jsx)("div",{className:"author-container",children:(0,a.jsx)("span",{className:"article-byline-author",children:` | Updated: ${l}`})})]})})}s.label="Article Byline v2",t.default=s},92021:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(52553),o=r(58906),a=r(46182),s=r(34766);const l=e=>{if(!e)return"";const t=new Date(e);if(isNaN(t.getTime()))return"";const r=t.getDate(),n=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"][t.getMonth()],i=t.getFullYear();let o=t.getHours();const a=o>=12?"p.m.":"a.m.";return o%=12,o=o||12,`${r} de ${n} del ${i}, ${o}:${t.getMinutes().toString().padStart(2,"0")} ${a}`};function c({author:e}){return(0,s.jsxs)("a",{className:"author-link",href:`https://${window.location.hostname}/staff/${e.link}`,target:"_blank",rel:"noreferrer",children:[(0,s.jsx)(o.A,{cName:"thumbnail",imageURL:e.image,width:80,spaceTop:"0px"}),e.name]})}function u({authors:e,isSpanish:t}){const r=e.length,n=t?"Por ":"By ",i=t?"y":"and";return 1===r?(0,s.jsxs)("div",{className:"article-byline-author",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)(c,{author:e[0]})]}):2===r?(0,s.jsxs)("div",{className:"article-byline-author",children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)(c,{author:e[0]}),(0,s.jsx)("span",{children:`  ${i} `}),(0,s.jsx)(c,{author:e[1]})]}):(0,s.jsx)("div",{className:"article-byline-author",children:e.map((t,r)=>0===e.length?(0,s.jsx)(s.Fragment,{}):0===r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:n}),(0,s.jsx)(c,{author:t})]}):r===e.length-1?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:`, ${i} `}),(0,s.jsx)(c,{author:t})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:", "}),(0,s.jsx)(c,{author:t})]}))})}function d(){const{globalContent:e}=(0,n.useAppContext)(),t="es"===e?.language,r=e?e.first_publish_date:"",o=e?e.last_updated_date:"",c=t?l(r):(0,i.B)(r),d=t&&o?l(o):(0,i.u)(r,o),f=e?e.credits:void 0,{by:p}=f||a.A,h=(p.length>1?p.filter(e=>"salt-lake-tribune"!==e._id):p).map((e,t)=>({name:` ${e.name}`,id:t,link:e._id,image:void 0!==e?.image?.url?e.image.url:"https://placehold.co/80/png?text=A"}));return(0,s.jsx)("div",{className:"bylinev2new",children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)(u,{authors:h,isSpanish:t}),(0,s.jsx)("div",{className:"author-container",children:(0,s.jsx)("span",{className:"article-byline-author",children:` | ${c}`})}),d&&(0,s.jsx)("div",{className:"author-container",children:(0,s.jsx)("span",{className:"article-byline-author",children:` | ${t?"Actualizado":"Updated"}: ${d}`})})]})})}d.label="Article Byline v2 New",t.default=d},6499:function(e,t,r){"use strict";r.r(t);var n=r(48896),i=r(34766);function o(){return(0,i.jsx)("div",{className:"article-group-icons",children:(0,i.jsx)("div",{className:"group-buttons",children:(0,i.jsxs)("button",{className:"article-icon",onClick:()=>{"undefined"!=typeof window&&window.open("https://www.google.com/preferences/source?q=sltrib.com","_blank","noopener,noreferrer")},type:"button","aria-label":"Follow",id:"google-preferred",children:[(0,i.jsx)(n.A,{style:{fontSize:"1.25em"}}),(0,i.jsx)("p",{children:"Add as Preferred Source"})]})})})}o.label="Article Group Icons No Comments",t.default=o},57815:function(e,t,r){"use strict";r.r(t);var n=r(48896),i=r(99850),o=r(18035),a=r(4321),s=r(29851),l=r(34766);function c(){const{globalContent:e}=(0,a.useAppContext)()||{},t=(e&&e.content_elements||[]).some(e=>e&&"take-action"===e.subtype);function r(e){const t=document.getElementsByClassName(e)[0];t&&t.scrollIntoView()}return(0,l.jsx)("div",{className:"article-group-icons",children:(0,l.jsxs)("div",{className:"group-buttons",children:[(0,l.jsxs)("button",{className:"article-icon",onClick:()=>r("comments"),"aria-hidden":"true",type:"button",children:[(0,l.jsx)(i.A,{style:{fontSize:"1.25em"}}),(0,l.jsx)("p",{children:"Comment"})]}),t?(0,l.jsxs)("button",{className:"article-icon",onClick:()=>{(0,s.sx)("take-action-jump",{story_id:e&&e._id||""}),r("take-action-box")}
153,type:"button","aria-label":"Jump to what you can do about this story",id:"take-action-jump",children:[(0,l.jsx)(o.A,{style:{fontSize:"1.25em"}}),(0,l.jsx)("p",{children:"What you can do"})]}):null,(0,l.jsxs)("button",{className:"article-icon",onClick:()=>{"undefined"!=typeof window&&window.open("https://www.google.com/preferences/source?q=sltrib.com","_blank","noopener,noreferrer")},type:"button","aria-label":"Follow",id:"google-preferred",children:[(0,l.jsx)(n.A,{style:{fontSize:"1.25em"}}),(0,l.jsx)("p",{children:"Add as Preferred Source"})]})]})})}c.label="Article Group Icons",t.default=c},29309:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s(){const{globalContent:e}=(0,o.useAppContext)(),t=e&&e.headlines?e.headlines:void 0,r=t?t.basic:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.";return(0,a.jsx)("h1",{className:"headline",children:r})}s.label="Article Headlines",s.defaultProps={customFields:{}},s.propTypes={customFields:i().shape({showSubHeadline:i().bool.tag({name:"Show SubHeadline"})})},t.default=s},85939:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(26858),o=r(34766);function a(){const{globalContent:e}=(0,n.useAppContext)(),t=e&&e.taxonomy?(0,i.IY)(e):"SECTION";return(0,o.jsx)("h1",{className:"art-section",children:t})}a.label="Article section",t.default=a},67467:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(73360),s=r(34766);function l({customFields:e}){const{globalContent:t}=(0,o.useAppContext)(),{tagName:r,customText:n,logo:i,url:l}=e;let c="";const u=t&&t.taxonomy&&t.taxonomy.tags?t.taxonomy.tags:[];return c=u?(0,a.UP)(u):"",c.includes(r)?(0,s.jsx)(s.Fragment,{children:c.includes(r)?(0,s.jsxs)("div",{className:"sponsor-for-article",children:[(0,s.jsx)("p",{className:"support-text",children:n||"Supported by"}),(0,s.jsx)("a",{href:l||"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",children:(0,s.jsx)("img",{alt:"sponsor logo",className:"sponsorship-logo",src:i||"https://cloudfront-us-east-1.images.arcpublishing.com/sandbox.sltrib/HZZDDJAI75A5TNV4KJ4NH7KKGI.png"})})]}):null}):(0,s.jsx)(s.Fragment,{})}l.label="Article Sponsor Tag",l.propTypes={customFields:i().shape({customText:i().string.tag({name:"Custom text",description:"Text to have other than supported by"}),logo:i().string.tag({name:"Logo Url",description:"Sponsor Url for the logo"}),url:i().string.tag({name:"Url to Link",description:"Sponsor Url to link out to"}),tagName:i().string.tag({name:"tag from globalContent",description:"tag from global content"})}).isRequired},t.default=l},70944:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s({customFields:e}){const{globalContent:t}=(0,o.useAppContext)(),{pathName:r,customText:n,logo:i,url:s}=e;return r?(0,a.jsx)(a.Fragment,{children:(l=t,c=r,l?.taxonomy?.primary_site.path===c?(0,a.jsxs)("div",{className:"sponsor-for-article",children:[(0,a.jsx)("p",{className:"support-text",children:n||"Supported by"}),(0,a.jsx)("a",{href:s||"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",children:(0,a.jsx)("img",{alt:"sponsor logo",className:"sponsorship-logo",src:i||"https://cloudfront-us-east-1.images.arcpublishing.com/sandbox.sltrib/HZZDDJAI75A5TNV4KJ4NH7KKGI.png"})})]}):null)}):(0,a.jsx)(a.Fragment,{});var l,c}s.label="Article Sponsor",s.propTypes={customFields:i().shape({customText:i().string.tag({name:"Custom text",description:"Text to have other than supported by"}),logo:i().string.tag({name:"Logo Url",description:"Sponsor Url for the logo"}),url:i().string.tag({name:"Url to Link",description:"Sponsor Url to link out to"}),pathName:i().string.tag({name:"path from globalContent",description:"path from global content"})}).isRequired},t.default=s},22704:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(34766);function o(){const{globalContent:e}=(0,n.useAppContext)(),t=e&&e.subheadlines?e.subheadlines:void 0,r=t?t.basic:"PLACEHOLDER SUB HEADLINE";return(0,i.jsx)("h2",{className:"article-subheadline",children:r})}o.label="Article Sub HeadLines",t.default=o},21798:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(26858),s=r(94923),l=r(23874),c=r(35899),u=r(34766);function d({customFields:e}){const{dataConfig:t}=e,r=t?t.contentService:"",n=t?t.contentConfigValues:"",i=(0,o.useContent)({source:r,query:n});let d=[];if(!i)return(0,u.jsx)("div",{children:"Data not available"});d=(0,s.oG)(i.content_elements,5);const f={placementName:e.FreestarPlacementName||"sltrib_leaderboard_category_incontent",adID:0};return(0,u.jsx)("div",{className:"author-feed-freestar",children:d.map(e=>{if(e.renderAd)return(0,u.jsx)("div",{className:"story",children:(0,u.jsx)(c.default,{customFields:f})},e._id);const[t,r,n,i,o]=(0,a.iM)(e);let s="";return n.auth&&(s=(0,l.L)(300,200,(0,a.Jg)(e),n.auth[1],n?.owner?.id,n)),(0,u.jsx)("div",{children:(0,u.jsx)("div",{className:"story",children:(0,u.jsxs)("a",{href:`${r}/`,children:[(0,u.jsxs)("div",{className:"row",children:[""!==n.caption&&s&&(0,u.jsx)("div",{className:"col-3",children:(0,u.jsx)("img",{src:s,alt:`${n.caption}`,className:"img",width:"300",height:"200"})}),(0,u.jsxs)("div",{className:"col-9 right-container",children:[(0,u.jsx)("div",{children:(0,u.jsx)("h4",{className:"secondary-text",children:t})}),(0,u.jsx)("div",{className:"row",style:{marginTop:"10px"},children:(0,u.jsxs)("p",{style:{marginTop:"10px"},children:[`${i} | `,(0,u.jsx)("span",{className:"date",children:o})]})})]})]}),(0,u.jsx)("div",{className:"horizontal-separator"})]})},e._id)})})})}d.label="Simple Author Feed Freestar",d.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),FreestarPlacementName:i().string.tag({name:"freestar placementName",defaultValue:"sltrib_leaderboard_category_incontent",description:'If leave this blank the default value will be "sltrib_leaderboard_category_incontent"'})}).isRequired},t.default=d},87675:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(4321),s=r(26858),l=r(94923),c=r(23874),u=r(35899),d=r(34766);function f({customFields:e}){const{requestUri:t}=(0,a.useAppContext)(),{dataConfig:r}=e,n=r?r.contentService:"",i=r?r.contentConfigValues:"",f=(0,o.useContent)({source:n,query:i});let p=[];if(!f||!f.content_elements)return(0,d.jsx)("div",{children:"Data not available"});p=(0,l.oG)(f.content_elements,5);const h={placementName:e.freestarPlacementName||"sltrib_leaderboard_category_incontent",adID:0},m=t.split("/")[2],y=f.content_elements.length>0;return(0,d.jsx)("div",{className:"author-section-page-freestar",children:(0,d.jsxs)("div",{children:[p.map(e=>{if(e.renderAd)return(0,d.jsx)("div",{className:"story",children:(0,d.jsx)(u.default,{customFields:h})},e._id);const[t,r,n,i,o]=(0,s.iM)(e);let a="";return n&&n.auth&&(a=(0,c.L)(300,200,(0,s.Jg)(e),n.auth[1],n?.owner?.id,n)||null),(0,d.jsx)("div",{children:(0,d.jsx)("div",{className:"story",children:(0,d.jsxs)("a",{href:`${r}/`,children:[(0,d.jsxs)("div",{className:"row",children:[""!==n.caption&&a&&(0,d.jsx)("div",{className:"col-3",children:(0,d.jsx)("img",{src:a,alt:`${n.caption}`,className:"img",width:"300",height:"200"})}),(0,d.jsxs)("div",{className:"col-9 right-container",children:[(0,d.jsx)("div",{children:(0,d.jsx)("h4",{className:"secondary-text",children:t})}),(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("p",{style:{marginTop:"10px"},children:[`${i} | `,(0,d.jsx)("span",{className:"date",children:o})]})})]})]}),(0,d.jsx)("div",{className:"horizontal-separator"})]})},e._id)})}),y&&(0,d.jsx)("a",{href:`/author/articles/${m}`,children:(0,d.jsx)("button",{className:"sign-up-button",type:"button",children:"MORE STORIES"})})]})})}f.label="Author Stories Freestar",f.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),freestarPlacementName:i().string.tag({name:"freestar placementName",defaultValue:"sltrib_leaderboard_category_incontent",description:'If leave this blank the default value will be "sltrib_leaderboard_category_incontent"'})}).isRequired},t.default=f},96172:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(19674),i=r.n(n),o=r(14375),a=r(1307),s=r(74043),l=r.n(s),c=r(27487),u=r(26858),d=r(87983),f=r.n(d);const p=e=>{if("undefined"!=typeof window){const{canonical_url:t}=e;return`${window.location.href}${t}`}return"/"},h=e=>{const{headlines:t}=e,r=p(e);return`https://twitter.com/share?text=${t.basic.replace(/ /g,"%20")}&url=${r}`},m=e=>{const{fbAppId:t}=f()();return`https://www.facebook.com/dialog/share?app_id=${t}&display=page&href=${p(e)}`};var y=r(15074),g=r(23874),v=r(34766);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?b(Object(r),!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w({customFields:e}){const{isDesktop:t}=(0,y.Qo)(),r={dots:!1,arrows:!1,infinite:!0,autoplay:!0,centerMode:!1,autoplaySpeed:4500,speed:5e3,slidesToShow:t?3:1,slidesToScroll:1},{dataConfig:n}=e;if(!n)return(0,v.jsx)(v.Fragment,{children:"Content not available"});const{contentService:i,contentConfigValues:s}=n,d=(0,o.useContent)({source:i,query:s});return d&&d.content_elements&&0!==d.content_elements.length?(0,v.jsx)("div",{className:"bagley-section v-space",children:(0,v.jsx)(a.A,_(_({},r),{},{children:d.content_elements.map(e=>{const t=`'${e.headlines.basic}'`,r=e.promo_items&&e.promo_items.basic&&e.promo_items.basic.url&&e.promo_items.basic.auth,n=r?(0,g.$X)(400,(0,u.Jg)(e),e.promo_items.basic.auth[1],e.owner.id):null,i=r?(0,g.$8)((0,u.Jg)(e),e.promo_items.basic.auth[1],e.owner.id,[400,800]):null;return(0,v.jsxs)("div",{className:"bagley-item","data-testid":"bagley-story",children:[(0,v.jsx)("div",{className:"bagley-date","data-bagley":"date",children:l()(e.publish_date).format("dddd, MMMM Do, YYYY")}),(0,v.jsxs)("a",{href:e.canonical_url,"data-bagley":"link",children:[r&&(0,v.jsx)("img",{src:n,srcSet:i,sizes:"400px",alt:"bagley item",width:400,height:283,style:{objectFit:"contain"}}),(0,v.jsx)("div",{className:"bagley-title-wrapper",children:(0,v.jsx)("h3",{className:"bagley-title","data-bagley":"title",children:t})})]},e._id),(0,v.jsxs)("div",{className:"bagley-share v-space",children:[(0,v.jsx)("a",{href:h(e),"data-testid":"sm-twitter",className:"soc-med-item",children:(0,v.jsx)("div",{id:"twitter_logo",alt:"twitter-logo",style:{color:"rgb(45,79,138)",marginTop:"2px"}})}),(0,v.jsx)("a",{href:m(e),"data-testid":"sm-facebook",className:"soc-med-item","aria-label":"Facebook",children:(0,v.jsx)(c.A,{style:{color:"rgb(45,79,138)",fontSize:24}})})]})]},e.headlines.basic)})}))}):(0,v.jsx)(v.Fragment,{children:"Content not available"})}w.label="Bagley Section",w.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories")}).isRequired};var O=w},22352:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(34766);function s({customFields:e}){const{title:t,supportText:r,link:i,buttonText:o,showAllUsers:s}=e,[l]=(0,n.useState)(localStorage.getItem("loggedIn")||localStorage.getItem("user")||!1),[c,u]=(0,n.use
153State)(!1);return(0,n.useEffect)(()=>{(!1===l||!0===s)&&u(!0)},[l,s]),c&&(0,a.jsx)("a",{href:i||"#",target:"_blank",rel:"noreferrer",children:(0,a.jsxs)("div",{className:"banner-offer-container",id:"membership-button-homepage-header",children:[(0,a.jsx)("p",{className:"offer-title",children:t||""}),(0,a.jsx)("p",{className:"offer-text",children:r||""}),(0,a.jsx)("button",{className:"offer-button",id:"membership-button-homepage-header",type:"button",children:o||"SUBSCRIBE"})]})})}s.label="Banner Offer",s.propTypes={customFields:o().shape({showAllUsers:o().bool.tag({name:"Show All Users",defaultValue:!1}),title:o().string.tag({name:"Title of Offer"}),link:o().string.tag({name:"link",description:"It could be any valid url like https://some-url.com"}),supportText:o().string.tag({name:"Text to support offer"}),buttonText:o().string.tag({name:"Button text"})}).isRequired},t.default=s},61836:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(45356),o=r(27487),a=r(47415),s=r(58906),l=r(34766);function c(){const{globalContent:e}=(0,n.useAppContext)(),{id:t,custom_sltrib_phone:r,bio:c,image:u,location:d}=e,f=d||"",p=c||"",h=r||"",m=u||"https://s3.amazonaws.com/arc-authors/sltrib/559f3fee-d65c-4cfc-b7b6-97a4acb822d9.png";return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"biopage-container",children:(0,l.jsxs)("div",{className:"photos-text-wrapper",children:[(0,l.jsx)("div",{className:"photo-wrapper",children:(0,l.jsx)(s.A,{cName:"",imageURL:m,width:300,spaceTop:"60px"})}),(0,l.jsxs)("div",{className:"headings-wrapper",children:[(0,l.jsx)("h1",{className:"heading",children:e.byline}),f?(0,l.jsx)("p",{style:{color:"#808080",marginTop:"-2.5vh",marginBottom:"1vh",fontSize:"1.45em"},children:f}):null,(0,l.jsx)("h2",{className:"title",children:e.pinterest}),(0,l.jsx)("br",{})]})]})},t),(0,l.jsxs)("div",{className:"icon-group-wrapper",style:{display:"flex",justifyContent:"space-between",width:"300px",margin:"auto",marginBottom:"20px"},children:[(0,l.jsx)("a",{href:`https://www.twitter.com/${e.twitter}`,children:(0,l.jsx)("div",{className:"icon-wrapper",children:e.twitter&&(0,l.jsx)("img",{src:"https://local.sltrib.com/icons/twitter_logos/t-1.png",alt:"twitter-logo",width:"28",height:"28",style:{backgroundColor:"white"}})})}),(0,l.jsx)("a",{href:`mailto:${e.email}`,children:(0,l.jsx)("div",{className:"icon-wrapper",children:e.email&&(0,l.jsx)(i.A,{"data-testid":"email-btn",style:{color:"#555555"}})})}),(0,l.jsx)("a",{href:e.facebook,children:(0,l.jsx)("div",{className:"icon-wrapper",children:e.facebook&&(0,l.jsx)(o.A,{"data-testid":"facebook-btn",style:{color:"#555555"}})})}),(0,l.jsx)("a",{href:`tel:${h}`,children:(0,l.jsx)("div",{className:"icon-wrapper",children:e.custom_sltrib_phone&&(0,l.jsx)(a.A,{"data-testid":"phone-icon",style:{color:"#555555"}})})})]}),(0,l.jsxs)("div",{className:"bio-wrapper",style:{maxWidth:"600px",margin:"auto",lineHeight:"1.5",fontSize:"18px",fontWeight:"200",color:"#333333",marginBottom:"20px",fontFamily:"Georgia"},children:[(0,l.jsx)("p",{children:(0,l.jsx)("span",{className:"short-bio",children:p})}),(0,l.jsx)("br",{})]})]})}c.label="Bio Page",t.default=c},74795:function(e,t,r){"use strict";r.r(t);var n=r(59626),i=r.n(n),o=r(34766);const a=r(19894);function s(e){return(0,o.jsx)(i(),{id:"simple-HTML",children:(0,o.jsx)("div",{children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e.customFields.html}})})})}s.propTypes={customFields:a.shape({html:a.string}).isRequired},s.label="Blank HTML",t.default=s},51921:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({customFields:e}){const{mainHeading:t,url:r}=e;return(0,o.jsx)("div",{className:"breaking-news-msg",style:{marginBottom:"-18px",color:"#FF5733"},children:(0,o.jsx)("a",{href:r,children:(0,o.jsx)("h1",{className:"heading",children:t})})})}a.propTypes={customFields:i().shape({mainHeading:i().string,url:i().string}).isRequired},a.label="Breaking News Msg",t.default=a},2044:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(40809),i=r.n(n),o=r(61942),a=r.n(o);var s=({url:e,allowFullScreen:t,position:r,display:n,height:o,width:s,overflow:l,styles:c,onLoad:u,onMouseOver:d,onMouseOut:f,scrolling:p,id:h,frameBorder:m,ariaHidden:y,sandbox:g,allow:v,className:b,title:_,ariaLabel:x,ariaLabelledby:w,name:O,target:j,loading:S,importance:M,referrerpolicy:k,allowpaymentrequest:P,src:T,key:E})=>{const C=a()({src:T||e,target:j||null,style:{position:r||null,display:n||"initial",overflow:l||null},scrolling:p||null,allowpaymentrequest:P||null,importance:M||null,sandbox:g&&[...g].join(" ")||null,loading:S||null,styles:c||null,
153name:O||null,className:b||null,allowFullScreen:"allowFullScreen",referrerpolicy:k||null,title:_||null,allow:v||null,id:h||null,"aria-labelledby":w||null,"aria-hidden":y||null,"aria-label":x||null,width:s||null,height:o||null,onLoad:u||null,onMouseOver:d||null,onMouseOut:f||null,key:E||"iframe"});let L=Object.create(null);for(let e of Object.keys(C))null!=C[e]&&(L[e]=C[e]);for(let e of Object.keys(L.style))null==L.style[e]&&delete L.style[e];if(L.styles)for(let e of Object.keys(L.styles))L.styles.hasOwnProperty(e)&&(L.style[e]=L.styles[e]),Object.keys(L.styles).pop()==e&&delete L.styles;if(t)if("allow"in L){const e=L.allow.replace("fullscreen","");L.allow=`fullscreen ${e.trim()}`.trim()}else L.allow="fullscreen";return m>=0&&(L.style.hasOwnProperty("border")||(L.style.border=m)),i().createElement("iframe",Object.assign({},L))},l=r(34766);function c(){return(0,l.jsx)("div",{style:{marginBottom:"20px"},children:(0,l.jsx)(s,{url:"https://www.nowplayingutah.com/?syndicated_data&apid=176808&aplang=eng&apoutput=iframe",width:"100%",height:"600px",id:"myCalender",className:"calenderClass",display:"initial",position:"relative",loading:"http://local.sltrib.com/aiframe/img/Spinner-1s-200px.gif"})})}c.label="Calender";var u=c},92298:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return d}});var n=r(19894),i=r.n(n),o=r(40809),a=r(16054),s=r(34766);function l({question:e,answer:t}){const[r,n]=(0,o.useState)(!1);return(0,s.jsx)("div",{className:"collapsible-questions-section",children:(0,s.jsx)("section",{className:"trivia-question"+(r?" is-open":""),children:(0,s.jsxs)("div",{className:"collapse-container",children:[(0,s.jsx)("div",{className:"button-and-text",children:(0,s.jsxs)("button",{className:"collapse","aria-label":"open-collapsible","aria-expanded":r,type:"button",onClick:()=>n(!r),children:[(0,s.jsx)("div",{className:"collapse-question",dangerouslySetInnerHTML:{__html:e}}),(0,s.jsx)(a.A,{className:"collapse-chevron"})]})}),r&&(0,s.jsx)("div",{className:"hidden-content",children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})})]})})})}l.label="Collapsible Section",l.propTypes={question:i().string.isRequired,answer:i().string.isRequired};var c=l;function u({customFields:{questions:e,answers:t,heading:r}}){return(0,s.jsxs)("div",{className:"collapsible",children:[(0,s.jsx)("h1",{className:"collapsible-question-title",children:r}),(0,s.jsx)("div",{className:"collapsible-questions-section",children:e.map((e,r)=>(0,s.jsx)(c,{question:e,answer:t[r]}))})]})}u.label="Collapsible Section",u.propTypes={customFields:i().shape({questions:i().list,answers:i().list,heading:i().string.tag({heading:"Section Heading"})}).isRequired};var d=u},35322:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(4321),s=r(26858),l=r(23874),c=r(35330),u=r(34766);function d({customFields:e}){const{globalContent:t,requestUri:r}=(0,a.useAppContext)(),{dataConfig:n,sectionTitle:i,imageFirst:d}=e,f=n?n.contentService:"",p=n?n.contentConfigValues:"",h=(0,o.useContent)({source:f,query:p}),m=h?h.content_elements:t.content_elements,y=h||t.content_elements?m:c.A,g=d?(0,s.xL)(y):y,v=g[0].taxonomy&&g[0].taxonomy.primary_section?g[0].taxonomy.primary_section.name:"",b=g.map(e=>(0,s.vz)(e)),_=r&&r.includes("/tag/")?(e=>{const t=e.replace("/tag/","");return"/"===t[t.length-1]?t.replace("/",""):t})(r):void 0;return(0,u.jsxs)("div",{className:"column-sections",children:[(0,u.jsx)("div",{children:(0,u.jsx)("h1",{className:"section-title",children:i||_||v})}),b.map(e=>(0,u.jsxs)("div",{children:[(0,u.jsxs)("a",{href:e.url,style:{display:"flex",alignItems:"center"},children:[e.image&&e.image.auth&&(0,u.jsx)("div",{style:{marginRight:"10px"},children:(0,u.jsx)("img",{src:(0,l.L)(100,67,(0,s.yx)(e.image.url),e.image.auth[1],e.image?.owner?.id,e.image),alt:e.image.caption,width:"100",height:"67"})}),(0,u.jsxs)("div",{children:[(0,u.jsx)("h3",{children:e.title}),(0,u.jsx)("p",{children:(0,u.jsx)("span",{children:`${e.authors} | ${e.date}`})})]})]}),(0,u.jsx)("div",{})]},e))]})}d.label="Column Stories",d.defaultProps={customFields:{}},d.propTypes={customFields:i().shape({sectionTitle:i().string.tag({name:"Section title",description:"e.g. SPORTS, RELIGION,"}),imageFirst:i().bool.tag({name:"Place image first",description:"Swap position with another article if the first one has no image"}),dataConfig:i().contentConfig("stories")})},t.default=d},8465:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(26858),s=r(23874),l=r(34766);function c({customFields:e}){const{headingTitle:t,dataConfig:r}=e,{contentService:n,contentConfigValues:i}=r,c=(0,o.useContent)({source:n,query:i});return c&&c.content_elements?(0,l.jsxs)("div",{style:{maxWidth:400},children:[(0,l.jsx)("h2",{children:t}),c.content_elements.map((e,t)=>{const r=e.headlines.basic,{alt:n}=(0,a.ZP)(e);let i="";return 0===t?(e&&e.promo_items&&e.promo_items.basic&&e.promo_items.basic.auth&&(i=(0,s.L)(600,400,(0,a.Jg)(e),e.promo_items.basic.auth[1],e.promo_items.basic?.owner?.id,e.promo_items.basic)),(0,l.jsxs)("div",{children:[i&&(0,l.jsx)("img",{src:i,alt:n,width:"600",height:"400",style:{width:"100%",height:"auto"}}),(0,l.jsx)("h3",{children:r})]},e._id)):(0,l.jsx)("div",{style:{paddingTop:16,paddingBottom:16,fontSize:14},children:(0,l.jsx)("h3",{children:r})},e._id)})]}):(0,l.jsx)("div",{children:"Data not available"})}c.label="Column",c.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),headingTitle:i().string.tag({name:"Section header"})}).isRequired},t.default=c},85876:function(e,t,r){"use strict";r.r(t);var n=r(59626),i=r.n(n),o=r(34766);function a(){return(0,o.jsx)("div",{children:(0,o.jsxs)(i(),{id:"community-feature",children:[(0,o.jsx)("div",{id:"twt-community-table"}),(0,o.jsx)("script",{id:"twt-script",language:"JavaScript",src:"https://app.worldtable.co/the-world-table.js","twt-site-id":"0000015796634641_9dfc3d5","twt-comments-delay":"50",async:!0})]})})}a.label="Community",t.default=a},3644:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(34766);function o(){const{deployment:e,contextPath:t}=(0,n.useAppContext)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),(0,i.jsxs)("div",{className:"contact-cs hidden-md-down",children:[(0,i.jsxs)("p",{children:["Report a missed paper by emailing ",(0,i.jsx)("a",{href:"mailto:[email protected] ",className:"contact-link",children:"[email protected]"})," or calling ",(0,i.jsx)("a",{href:"tel:801-237-2900",className:"contact-link",children:"801-237-2900"})]}),(0,i.jsxs)("p",{children:["For e-edition questions or comments, contact customer support ",(0,i.jsx)("a",{href:"tel:801-237-2900",className:"contact-link",children:"801-237-2900"})," or email ",(0,i.jsx)("a",{href:"mailto:[email protected]",className:"contact-link",children:"[email protected]"})]})]}),(0,i.jsxs)("div",{className:"copy-container row hidden-md-down",children:[(0,i.jsx)("div",{className:"col-12 col-md-6 logo-column",children:(0,i.jsx)("a",{href:"/",children:(0,i.jsx)("img",{src:e(`${t}/resources/svg/sltrib-logo.svg`),alt:"The Salt Lake Tribune Logo",width:"250",height:"46",className:"trib-svg-white"})})}),(0,i.jsx)("div",{className:"col-12 col-md-6 copy-column",children:(0,i.jsxs)("p",{className:"copy",children:["sltrib.com ©
1531996-",`${(new Date).getFullYear()} `,"The Salt Lake Tribune. All rights reserved."]})})]}),(0,i.jsx)("div",{className:"hidden-md-up v-space mobile-copyright",children:(0,i.jsx)("a",{href:"/",children:(0,i.jsx)("img",{src:e(`${t}/resources/svg/Trib_masthead_top_000000.svg`),alt:"The Salt Lake Tribune Logo",width:"300",height:"46"})})})]})}o.label="Copyright",t.default=o},13465:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s({customFields:e}){const{globalContent:t}=(0,o.useAppContext)(),{comments:r}=t;return!r||e.isShow&&r.display_comments?(0,a.jsx)("div",{id:"coral-static",children:(0,a.jsx)("div",{id:"coral_thread"})}):null}s.label="Coral Comments",s.propTypes={customFields:i().shape({isShow:i().bool.tag({name:"show comments",defaultValue:!0})}).isRequired},t.default=s},55335:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(75306),a=r.n(o),s=r(14355),l=r.n(s),c=r(15074),u=r(34766);function d({customFields:e}){const{vidUrl:t,title:r,content:n,logoLeftImageUrl:i,logoLeftGotoUrl:o,logoRightImageUrl:s,logoRightGotoUrl:d,logoMobileWidth:f,logoDesktopWight:p,positionMobile:h,positionDesktop:m,spaceBottomMobile:y,spaceBottomDesktop:g}=e,{isMobile:v}=(0,c.Qo)();return(0,u.jsxs)("div",{style:{marginBottom:v?y:g},className:"display-vid",children:[(0,u.jsx)("video",{id:"m_video",autoPlay:!0,muted:!0,loop:!0,playsinline:!0,children:(0,u.jsx)("source",{src:t,type:"video/mp4"})}),r||n?(0,u.jsx)("div",{className:"content",style:{marginTop:v?h:m},children:(0,u.jsxs)("div",{style:{textAlign:"center"},children:[(0,u.jsx)("h1",{style:{fontSize:"8vw",marginBottom:"0px"},children:r}),(0,u.jsx)("p",{style:{fontSize:"2vw"},children:n}),i&&o||s&&d?(0,u.jsx)("div",{className:"logoes",children:(0,u.jsx)(a(),{children:(0,u.jsxs)(l(),{container:!0,spacing:0,children:[(0,u.jsx)(l(),{item:!0,xs:6,children:i&&o?(0,u.jsx)("a",{href:o,children:(0,u.jsx)("img",{style:{width:v?f:p},src:i,alt:i})}):null}),(0,u.jsx)(l(),{item:!0,xs:6,children:s&&d?(0,u.jsx)("a",{style:{marginLeft:"3%"},href:d,children:(0,u.jsx)("img",{style:{width:v?f:p},src:s,alt:s})}):null})]})})}):null]})}):null]})}d.label="Display Video",d.propTypes={customFields:i().shape({vidUrl:i().string.tag({name:"Video Url",defaultValue:""}),title:i().string.tag({name:"Title",defaultValue:""}),content:i().string.tag({name:"Content",defaultValue:""}),logoLeftImageUrl:i().string.tag({name:"Left logo Url",defaultValue:""}),logoLeftGotoUrl:i().string.tag({name:"Left logo Link",defaultValue:""}),logoRightImageUrl:i().string.tag({name:"Right logo Url",defaultValue:""}),logoRightGotoUrl:i().string.tag({name:"Right logo Link",defaultValue:""}),logoMobileWidth:i().string.tag({name:"Logo Mobile Width",defaultValue:""}),logoDesktopWight:i().string.tag({name:"Logo Destop Width",defaultValue:""}),positionMobile:i().string.tag({name:"Position Mobile",defaultValue:""}),positionDesktop:i().string.tag({name:"Position Desktop",defaultValue:""}),spaceBottomMobile:i().string.tag({name:"Space Bottom Mobile",defaultValue:""}),spaceBottomDesktop:i().string.tag({name:"Space Bottom Desktop",defaultValue:""})}).isRequired},t.default=d},24631:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const{variant:t="hero",eyebrow:r,lede:n,body:i,secondaryBody:a}=e||{},s="section"===t;if(!(r||n||i||a))return null;const l="donate-intro"+(s?" donate-intro--section":""),c=s?"h2":"div";return(0,o.jsx)("section",{className:l,children:(0,o.jsxs)("div",{className:"donate-intro__inner",children:[!s&&r&&(0,o.jsx)("p",{className:"donate-intro__eyebrow",children:r}),n&&(0,o.jsx)(c,{className:"donate-intro__lede",dangerouslySetInnerHTML:{__html:n}}),i&&(0,o.jsx)("div",{className:"donate-intro__body",dangerouslySetInnerHTML:{__html:i}}),!s&&a&&(0,o.jsx)("div",{className:"donate-intro__secondary",dangerouslySetInnerHTML:{__html:a}})]})})}a.label="Donate Intro",a.propTypes={customFields:i().shape({variant:i().oneOf(["hero","section"]).tag({label:"Layout variant",description:"Hero: full-width intro with red top border, gradient background, eyebrow + big bold lede. Section: compact title + body styled to match FAQ / Ways to Give (32px centered serif heading with red underline accent). Defaults to Hero.",defaultValue:"hero"}),eyebrow:i().string.tag({label:"Eyebrow (Hero variant only)",description:'Optional small uppercase label above the intro (e.g., "SUPPORT THE TRIBUNE"). Rendered in brand red. Ignored in Section variant.'}),lede:i().string.tag({label:"Lede / Section heading",description:"Hero variant: 1â2 short sentences in large bold serif type. Section variant: rendered as the centered section heading. HTML allowed; keep it inline (avoid block elements like <p> in the section variant)."}),body:i().string.tag({label:"Body paragraph",description:"Supporting paragraph below the lede / heading. HTML allowed (links, line breaks)."}),secondaryBody:i().string.tag({label:"Secondary paragraph (Hero variant only)",description:'Optional second paragraph for the Hero variant (e.g., "Scroll down to donate onlineâ¦"). HTML allowed. Ignored in Section variant.'})}).isRequired},t.default=a},44469:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r(19674),i=r.n(n),o=r(4321);r(26858);const a=e=>{let t=!1;
153return e&&e.taxonomy&&e.taxonomy.tags&&e.taxonomy.tags.forEach(e=>{"election-ask"===e.slug&&(t=!0)}),t};var s=r(34766);function l(){const{globalContent:e}=(0,o.useAppContext)();return(0,s.jsx)(s.Fragment,{children:a(e)?(0,s.jsxs)("div",{className:"donation-ask",children:[(0,s.jsx)("h3",{className:"ask-title",children:"Help Utahns have access to trusted reporting this election year"}),(0,s.jsxs)("p",{className:"ask-description",children:["The Salt Lake Tribuneâs 2024 election coverage is free thanks to the generous support of",(0,s.jsx)("a",{href:"https://www.sltrib.com/election-reporting-supporters/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)("em",{children:" donors. "})}),"Give today to help continue this critical reporting."]}),(0,s.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",children:(0,s.jsx)("button",{className:"donate-button",type:"button",children:"Donate now."})})]}):null})}l.label="Donation Ask Election",l.propTypes={customFields:i().shape({html:i().string}).isRequired};var c=l},7430:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19894),o=r.n(i),a=r(4321),s=r(43993),l=r(64006),c=r(9240),u=r(34766);function d(e,t){const r=new URLSearchParams({contribution_option:"once_off"});return t&&r.set("contribution_amount",String(t)),`${e}?${r.toString()}`}function f(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"donation-header",children:(0,u.jsx)("strong",{children:" Support free news for Utah"})}),(0,u.jsx)("p",{className:"donation-text",children:"sltrib.com is now free to access â no subscription required. We made this decision because we believe access to trustworthy, independent news shouldnât depend on what you can afford â especially as misinformation and AI-generated content continue to rise."}),(0,u.jsx)("p",{className:"donation-text",children:"Free to read doesnât mean free to produce. Our reporters show up every day to ask hard questions and hold powerful institutions to account. That work takes resources. As a nonprofit newsroom, we rely on support from people who believe it matters. Make a donation today to fund local news that serves Utah communities."}),(0,u.jsx)("p",{className:"donation-text",children:(0,u.jsx)("strong",{children:"You can help us bring more local news to more communities today."})})]})}function p({reporterImageUrl:e,reporterImageAlt:t}){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"donation-header",children:(0,u.jsx)("strong",{children:"You can help us bring more local news to Cache Valley."})}),(0,u.jsxs)("p",{className:"donation-text",children:[e?(0,u.jsx)("img",{src:e,alt:t,className:"reporter-avatar"}):null,"Iâm Brock Marchant, The Salt Lake Tribuneâs Cache Valley reporter in partnership with Utah Public Radio. As a valley native, Iâve seen firsthand the issues that people face everywhere from Richmond to Avon â unaffordable housing, dwindling open space and a rapidly increasing population that has cities struggling to keep up. I want to explore local problems by reporting on the ground, not just quote elected officials and news releases. As residents work diligently to overcome challenges, I want to tell their stories and share their solutions. Smart, hard-working people have built the valleyâs history, and Iâm certain they will frame its future."]}),(0,u.jsx)("p",{className:"donation-text",children:"As a nonprofit newsroom we rely on donations from readers like you to make this work possible. Donate today to support this reporting."})]})}function h(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"donation-header",children:[(0,u.jsx)("strong",{children:"Help others take the next step"}),(0,u.jsx)("br",{}),(0,u.jsx)("strong",{children:"Keep The Tribune innovating"})]}),(0,u.jsx)("p",{className:"donation-text",children:"Not long ago, you used our new âwhat you can doâ tool."}),(0,u.jsx)("p",{className:"donation-text",children:"Every day we work to provide you with the information you need. In response to your feedback, weâre also helping you put what youâve learned into action. The Salt Lake Tribune is a
153nonprofit newsroom, and tools like this exist because readers help us fund them. If our reporting helped you take that next step, help us make it possible for more Utahns to take theirs."})]})}p.propTypes={reporterImageUrl:o().string,reporterImageAlt:o().string},p.defaultProps={reporterImageUrl:"",reporterImageAlt:"Brock Marchant"};const m=[{name:"take-action",match:(e,t)=>Boolean(t&&t.askEnabled&&t.tookAction),rootClass:"donation-take-action",idSuffix:"-take-action",slotConfig:[{defaultLabel:"$15",defaultAmount:15},{defaultLabel:"$25",defaultAmount:25},{defaultLabel:"$35",defaultAmount:35}],renderCopy:()=>(0,u.jsx)(h,{})},{name:"cache-valley",match:e=>(0,l.Om)(e?.taxonomy?.tags)&&(0,l.w)(e?.credits?.by),rootClass:"donation-cache-valley",idSuffix:"-cache-valley",slotConfig:[{defaultLabel:"$15",defaultAmount:15},{defaultLabel:"$25",defaultAmount:25},{defaultLabel:"$50",defaultAmount:50}],renderCopy:({reporterImageUrl:e,reporterImageAlt:t})=>(0,u.jsx)(p,{reporterImageUrl:e,reporterImageAlt:t})},{name:"default",match:()=>!0,rootClass:"donation-a-test",idSuffix:"",slotConfig:[{defaultLabel:"$15",defaultAmount:15},{defaultLabel:"$25",defaultAmount:25},{defaultLabel:"$35",defaultAmount:35}],renderCopy:()=>(0,u.jsx)(f,{})}];function y({amount1Label:e,amount2Label:t,amount3Label:r,takeActionAskEnabled:i,reporterImageUrl:o,reporterImageAlt:l}){const{globalContent:f,siteProperties:p}=(0,a.useAppContext)()||{},h=s.FLIPPAY_GIVE_BASE||p&&p.flippayGiveBase||"",y=!0===i,[g,v]=(0,n.useState)(!1);(0,n.useEffect)(()=>{y&&(0,c.rR)()&&v(!0)},[y]);const b=function(e,t){return m.find(r=>r.match(e,t))||m[m.length-1]}(f,{tookAction:g,askEnabled:y}),_=[e,t,r],x=b.slotConfig.map((e,t)=>{const r=_[t]??e.defaultLabel;if(!r)return null;const n=function(e){const t=String(e).match(/\d[\d,]*/);if(!t)return null;const r=Number(t[0].replace(/,/g,""));return Number.isFinite(r)&&r>0?r:null}(r),i=n??e.defaultAmount,o=null!=n?String(n):function(e){return String(e).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}(r)||`slot-${t+1}`;return{id:`donation-a-${o}${b.idSuffix} donation-button-story-epic-a-${o}${b.idSuffix}-onetime`,label:r,url:d(h,i)}}).filter(Boolean),w=d(h),O=`donation-a-other${b.idSuffix} donation-button-story-epic-a-other${b.idSuffix}-onetime`;return(0,u.jsx)("div",{className:b.rootClass,children:(0,u.jsxs)("div",{className:"donation-banner",children:[b.renderCopy({reporterImageUrl:o,reporterImageAlt:l}),(0,u.jsx)("div",{className:"donation-box",children:(0,u.jsxs)("div",{className:"donation-buttons",children:[x.map(e=>(0,u.jsx)("a",{href:e.url,className:"donation-button",id:e.id,target:"_blank",rel:"noreferrer",children:e.label},e.id)),(0,u.jsx)("a",{href:w,target:"_blank",rel:"noreferrer",className:"donate-today-button",id:O,children:"DONATE TODAY"})]})})]})})}y.label="Donation Ask Test A",y.defaultProps={amount1Label:void 0,amount2Label:void 0,amount3Label:void 0,takeActionAskEnabled:!1,reporterImageUrl:"",reporterImageAlt:"Brock Marchant"},y.propTypes={amount1Label:o().string,amount2Label:o().string,amount3Label:o().string,takeActionAskEnabled:o().bool,reporterImageUrl:o().string,reporterImageAlt:o().string},t.default=y},88393:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a(){return(0,o.jsx)("div",{className:"donation-b-test",children:(0,o.jsxs)("div",{className:"donation-banner",children:[(0,o.jsx)("div",{className:"donation-header",children:(0,o.jsx)("strong",{children:"Help all Utahns have access to local journalism"})}),(0,o.jsx)("p",{className:"donation-text",children:"Thank you for reading this article from The Tribune. As CEO & Executive Editor, I am proud to lead our team of journalists as they tell the stories others canât â or wonât."}),(0,o.jsx)("p",{className:"donation-text",children:"We have been Utahâs independent voice for 154 years. Tribune reporters are dedicated to shining a light on how Utah works. From daily reporting that empowers Utahns to make informed decisions about their communities to longer investigative projects on the power structures in this state."}),(0,o.jsx)("p",{className:"donation-text",children:(0,o.jsx)("b",{children:"The critical work we do wouldnât be possible without people like you â individuals who understand the power of local, independent journalism."})}),(0,o.jsx)("p",{className:"donation-text",children:"Now, we want to bring that journalism to more Utahns."}),(0,o.jsx)("p",{className:"donation-text",children:"We want to make sltrib.com free to access in 2026., remov
153ing the barriers, financial or otherwise, that can prevent access to the news."}),(0,o.jsx)("p",{className:"donation-text",children:"However, we can only do this with your help."}),(0,o.jsx)("p",{className:"donation-text",children:"In order to make The Tribune free we need to raise $1,000,000."}),(0,o.jsx)("p",{className:"donation-text",children:"We can ensure every Utahn can access independent, local reporting. We can ensure that everyone has the information they need to make informed decisions about their communities. With your help, this vision can become a reality."}),(0,o.jsx)("p",{className:"donation-text",children:"When you support the nonprofit Salt Lake Tribune, youâre doing more than making a donation: youâre investing in a future where transparency, accountability, and community thrive."}),(0,o.jsx)("p",{className:"donation-text",children:"Join us in this work."}),(0,o.jsx)("p",{className:"donation-text",children:"Donate today."}),(0,o.jsxs)("div",{className:"editor-section",children:[(0,o.jsx)("img",{src:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/LQUKRGJQVRF3RIRT32UZUOXUW4.JPG",alt:"Editor portrait",className:"editor-image"}),(0,o.jsxs)("p",{className:"editor-caption",children:["Sincerely,",(0,o.jsx)("br",{}),(0,o.jsx)("strong",{children:"Lauren Gustus, CEO & Executive Editor"})]})]}),(0,o.jsx)("div",{className:"donation-box",children:(0,o.jsxs)("div",{className:"donation-buttons",children:[(0,o.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?amount=10&campaign=701Rn00000UErO9IAL",className:"donation-button",id:"donation-b-10 donation-button-story-epic-b-10-onetime",target:"_blank",rel:"noreferrer",children:"$10"}),(0,o.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?amount=20&campaign=701Rn00000UErO9IAL",className:"donation-button",id:"donation-b-20 donation-button-story-epic-b-20-onetime",target:"_blank",rel:"noreferrer",children:"$20"}),(0,o.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?amount=30&campaign=701Rn00000UErO9IAL",className:"donation-button",id:"donation-b-30 donation-button-story-epic-b-30-onetime",target:"_blank",rel:"noreferrer",children:"$30"}),(0,o.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn00000UErO9IAL",className:"donate-today-button",id:"donation-b-other donation-button-story-epic-b-other-onetime",target:"_blank",rel:"noreferrer",children:"DONATE TODAY"})]})})]})})}a.label="Donation Ask Test B",a.propTypes={customFields:i().shape({html:i().string}).isRequired},t.default=a},93081:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a(){return(0,o.jsxs)("div",{className:"donation-ask",children:[(0,o.jsx)("h3",{className:"ask-title",children:"Help Utahns have access to trusted reporting this election year"}),(0,o.jsxs)("p",{className:"ask-description",children:["The Salt Lake Tribuneâs 2024 election coverage is free thanks to the generous support of",(0,o.jsx)("a",{href:"https://www.sltrib.com/election-reporting-supporters/",target:"_blank",rel:"noreferrer",children:(0,o.jsx)("em",{children:" donors. "})}),"Give today to help continue this critical reporting."]}),(0,o.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",children:(0,o.jsx)("button",{className:"donate-button",type:"button",children:"Donate now."})})]})}a.label="Donation Ask Election Standalone",a.propTypes={customFields:i().shape({html:i().string}).isRequired},t.default=a},66293:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsx)("div",{id:"container",className:"educators-page-container",children:(0,n.jsxs)("div",{id:"mainContent",children:[(0,n.jsx)("h1",{className:"heading",children:"The Role of Local Journalism"}),(0,n.jsx)("h6",{children:"Defending the truth. Â And our democracy."}),(0,n.jsx)("p",{children:"The right to a free press is fundamental to our freedom. Thatâs why the Founders codified it in the First Amendment of our Constitution. Government canât function properly without its citizens being informed and engaged."}),(0,n.jsx)("p",{children:"The same is true for local government and the local press. Independent local journalism helps us fight for the things that matter in our
153communities. It informs us about important issues and helps us find common ground. It chronicles the positions of candidates, sheds light on ballot initiatives, and encourages voter turnout."}),(0,n.jsx)("p",{children:"Local journalism acts as an essential watchdog, keeping our government, institutions and corporations accountable and transparent."}),(0,n.jsx)("p",{children:"And it ignites action."}),(0,n.jsx)("h6",{children:"We need local journalism. Now more than ever."}),(0,n.jsx)("p",{children:"Local journalism is the bedrock of our democracy. But newspapers everywhere are facing huge challenges. More than 2,000 have closed since 2004. That number is even more distressing when you consider that when local news coverage drops, civic engagement does too. People become apathetic. Fewer candidates run for office. Partisanship goes up. And voter turnout, along with split ticket voting, goes down."}),(0,n.jsxs)("p",{className:"emphasized-content",children:['"When local news coverage drops, civic engagement does too."',(0,n.jsx)("br",{}),"Source: Scientific American"]}),(0,n.jsx)("br",{}),(0,n.jsx)("p",{children:"Local journalism has the power to build community. Itâs where we capture our history. Where we share stories about our people, culture, arts, sports teams, schools and businesses. And where we can all have a voice."}),(0,n.jsx)("p",{children:"Local journalism enlightens us. Delights us. Inspires us. And unites us."}),(0,n.jsx)("h6",{children:"Learning how to tell the difference between fake news and real journalism is crucial for our democracy. Let us know how we can help."}),(0,n.jsx)("p",{children:"We now live in an environment where it can be tough to separate reliable information from deliberately misleading or false stories. Weâre bombarded with millions of sources of information everyday, from news websites to videos to social media platforms."}),(0,n.jsx)("p",{children:"Itâs up to consumers to decide which news sources are trustworthy and which are not. And increasingly, thatâs not easy."}),(0,n.jsx)("p",{children:"A core part of our nonprofit mission is to support media literacy and education efforts. To help parents, teachers, students â all of us, really â understand how journalism works, The Salt Lake Tribune has prepared a couple of resources for you to use."}),(0,n.jsx)("br",{}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"pdf-box",children:[(0,n.jsxs)("p",{className:"list-text",children:[(0,n.jsx)("span",{children:"·"}),"A"," ",(0,n.jsx)("a",{href:"https://local.sltrib.com/real_news_and_you/real_news_and_you_page.pdf",children:(0,n.jsx)("span",{className:"links",children:"downloadable PDF"})})," ","illustrating the reporting process."]}),(0,n.jsx)("a",{href:"https://local.sltrib.com/real_news_and_you/real_news_and_you_page.pdf",children:(0,n.jsx)("img",{className:"large-icon",src:"https://local.sltrib.com/real_news_and_you/real_news_pdf_icon.png",alt:"download the pdf"})})]}),(0,n.jsxs)("div",{className:"video-container",children:[(0,n.jsxs)("p",{className:"list-text",children:[(0,n.jsx)("span",{children:"·"}),"And a"," ",(0,n.jsx)("a",{href:"https://www.youtube.com/watch?v=Qmo-GhrCiwc",id:"pdf-a",children:(0,n.jsx)("span",{className:"links",children:"2-minute video"})})," ","explaining how news is different from gossip and rumors."]}),(0,n.jsx)("br",{}),(0,n.jsx)("iframe",{width:"100%",height:"220px",title:"tribune educators video",src:"https://www.youtube.com/embed/Qmo-GhrCiwc",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]}),(0,n.jsx)("br",{}),(0,n.jsxs)("p",{children:["Tribune reporters and editors stand ready to visit with school groups, college students, clubs, businesses, civic organizations and anyone interested in learning more about journalism. To schedule a newsroom tour or request a guest speaker for your next gathering, email Lauren Gustus,",(0,n.jsx)("a",{href:"mailto:[email protected]",className:"links",children:(0,n.jsx)("span",{className:"links",children:" [email protected]"})}),"."]}),(0,n.jsx)("br",{})]})]})})}i.label="Educator Page Feature",t.default=i},53571:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(4321),s=r(79877),l=r.n(s),c=r(72125),u=r.n(c),d=r(92749),f=r.n(d),p=r(85013),h=r.n(p),m=r(79304),y=r.n(m),g=r(40775),v=r.n(g),b=r(903),_=r.n(b),x=r(72721),w=r.n(x),O=r(75306),j=r.n(O),S=r(10808),M=r(94923),k=r(34766);function P({customFields:e}){const{globalContent:t,isAdmin:r}=(0,a.useAppContext)(),{year:i}=e;if(!t||r)return(0,k.jsx)(k.Fragment,{children:"Not Available"});const{pathname:o}
153=window.location,s=o.split("/"),c=s[s.length-2],[d]=(0,n.useState)(c.replace(/-/g," "));let p=0;return(0,k.jsxs)(j(),{children:[(0,k.jsx)("div",{className:"election-individual-county",children:(0,k.jsx)("a",{href:"/politics/election/",children:(0,k.jsx)("h1",{children:`Election ${i}`})})}),(0,k.jsx)("h2",{children:`${d.replace(/-/g," ")}`}),(0,k.jsxs)("select",{onChange:({target:{value:e}})=>{window.location.href=`/politics/election/${e}/`},className:"form-select",value:d,children:[(0,k.jsx)("option",{value:d,children:d}),(0,k.jsx)("option",{value:"Beaver-County",children:"Beaver County"}),(0,k.jsx)("option",{value:"Box-Elder-County",children:"Box Elder County"}),(0,k.jsx)("option",{value:"Cache-County",children:"Cache County"}),(0,k.jsx)("option",{value:"Carbon-County",children:"Carbon County"}),(0,k.jsx)("option",{value:"Daggett-County",children:"Daggett County"}),(0,k.jsx)("option",{value:"Davis-County",children:"Davis County"}),(0,k.jsx)("option",{value:"Duchesne-County",children:"Duchesne County"}),(0,k.jsx)("option",{value:"Emery-County",children:"Emery County"}),(0,k.jsx)("option",{value:"Garfield-County",children:"Garfield County"}),(0,k.jsx)("option",{value:"Grand-County",children:"Grand County"}),(0,k.jsx)("option",{value:"Iron-County",children:"Iron County"}),(0,k.jsx)("option",{value:"Juab-County",children:"Juab County"}),(0,k.jsx)("option",{value:"Kane-County",children:"Kane County"}),(0,k.jsx)("option",{value:"Millard-County",children:"Millard County"}),(0,k.jsx)("option",{value:"Morgan-County",children:"Morgan County"}),(0,k.jsx)("option",{value:"Piute-County",children:"Piute County"}),(0,k.jsx)("option",{value:"Rich-County",children:"Rich County"}),(0,k.jsx)("option",{value:"Salt-Lake-County",children:"Salt Lake County"}),(0,k.jsx)("option",{value:"San-Juan-County",children:"San Juan County"}),(0,k.jsx)("option",{value:"Sanpete-County",children:"Sanpete County"}),(0,k.jsx)("option",{value:"Sevier-County",children:"Sevier County"}),(0,k.jsx)("option",{value:"Summit-County",children:"Summit County"}),(0,k.jsx)("option",{value:"Tooele-County",children:"Tooele County"}),(0,k.jsx)("option",{value:"Uintah-County",children:"Uintah County"}),(0,k.jsx)("option",{value:"Utah-County",children:"Utah County"}),(0,k.jsx)("option",{value:"Wasatch-County",children:"Wasatch County"}),(0,k.jsx)("option",{value:"Washington-County",children:"Washington County"}),(0,k.jsx)("option",{value:"Wayne-County",children:"Wayne County"}),(0,k.jsx)("option",{value:"Weber-County",children:"Weber County"})]}),(0,k.jsx)("div",{className:"row",style:{marginBottom:"2rem"},children:t.ballotItems.map(e=>(0,k.jsx)("div",{style:{marginTop:"16px"},className:"col-lg-6 col-md-6 col-sm-12",children:(0,k.jsx)(l(),{style:{height:"100%",width:"98%",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:(0,k.jsxs)("div",{style:{marginLeft:"10px",marginRight:"10px"},children:[(0,k.jsx)("h3",{style:{marginBottom:"2px"},children:`${e.name} (Vote for ${e.voteFor})`}),(0,k.jsx)("hr",{style:{marginLeft:"0px",marginRight:"0px",height:"0.2px"}}),(0,k.jsx)(y(),{children:(0,k.jsxs)(u(),{"aria-label":"election table",children:[(0,k.jsxs)(v(),{children:["RankChoice"===e.contestType&&(0,k.jsx)(_(),{children:(0,k.jsx)(h(),{style:{fontWeight:"900"},children:"Ranked Choice Contest"})}),(0,k.jsxs)(_(),{children:[(0,k.jsx)(h(),{children:(0,k.jsx)("div",{className:"thicker-font",children:"Candidate Name"})}),(0,k.jsx)(h(),{align:"left",children:(0,k.jsx)("div",{className:"thicker-font",children:"Votes"})}),(0,k.jsx)(h(),{align:"right",children:(0,k.jsx)("div",{className:"thicker-font",children:"%"})})]})]}),(0,k.jsx)(f(),{children:"RankChoice"===e.contestType&&null!==e.rankedChoiceResults?e.rankedChoiceResults.map(e=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(_(),{style:{backgroundColor:"white"},className:"thicker-font",children:[(0,k.jsx)(h(),{style:{fontWeight:"900"},children:`Round: ${e.round}`}),(0,k.jsx)(h(),{})]},`${e.name}_${(0,M.gZ)()}`),e.ballotOptions.map(t=>(p=(0,S.B0)(e),(0,k.jsxs)(_(),{style:{backgroundColor:"white"},children:[(0,k.jsx)(h(),{children:`${t.name} ${t.isElected?"(Winner)":""}`}),(0,k.jsx)(h(),{children:t.isEliminated?"Eliminated":t.voteCount}),(0,k.jsxs)(h(),{children:[t.voteCount?`${(0,S.uU)(t.voteCount,p)}%`:"0",(0,k.jsx)(w(),{variant:"determinate",value:(0,S.uU)(t.voteCount,p)||0})]})]},`${t.name}_${(0,M.gZ)()}`)))]})):e.ballotOptions.map(t=>(0,k.jsxs)(_(),{style:{backgroundColor:"white"},sx:{"&:last-child td, &:last-child th":{border:0}},children:["YES"===t.name||"NO"===t.name?(0,k.jsx)(h(),{component:"th",scope:"row",children:t.name}):(0,k.jsx)(h(),{component:"th",scope:"row",children:`${t.name} ${t.politicalParty?`(${t.politicalParty})`:""}`}),(0,k.jsx)(h(),{component:"th",scope:"row",children:t.voteCount}),(0,k.jsxs)(h(),{component:"th",scope:"row",children:[t.voteCount?`${(0,S.uU)(t.voteCount,(0,S.B0)(e))}%`:"0",(0,k.jsx)(w(),{variant:"determinate",value:(0,S.uU)(t.voteCount,(0,S.B0)(e))||0})]})]},`${t.name}_${(0,M.gZ)()}`))})]})})]})})},`${e.name}_${(0,M.gZ)()}`))})]})}P.label="Individual Election County",P.propTypes={customFields:o().shape({year:o().number.tag({name:"Year",defaultValue:2025})}).isRequired},t.default=P},92989:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(14375),o=r(19674),a=r.n(o),s=r(79877),l=r.n(s),c=r(72125),u=r.n(c),d=r(92749),f=r.n(d),p=r(85013),h=r.n(p),m=r(79304),y=r.n(m),g=r(40775),v=r.n(g),b=r(903),_=r.n(b),x=r(72721),w=r.n(x),O=r(63703),j=r.n(O),S=r(31134),M=r.n(S),k=r(55212),P=r.n(k),T=r(10808),E=r(94923),C=r(34766);const L=["children","value","index"];function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?A(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function I(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e){const{children:t,value:r,index:n}=e,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,L);return(0,C.jsx)("div",D(D({role:"tabpanel",hidden:r!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`},i),{},{children:r===n&&(0,C.jsx)(P(),{sx:{p:3},children:t})}))}function R({customFields:e}){const{title:t,subtitle:r,rawHtml:o,dataPath:a}=e,[s,c]=(0,n.useState)(0),[d]=(0,n.useState)("Salt Lake County"),p=(0,i.useContent)({source:"get-json-data",query:{path:a}});if(!a||!p)return(0,C.jsx)(C.Fragment,{});const m=p||null,g=()=>{window.location.href="/politics/election/Salt-Lake-County/"};let b=0;return(0,C.jsxs)("div",{className:"general-election-data",style:{marginLeft:"2%",marginRight:"2%"},children:[(0,C.jsxs)("div",{className:"title-subtitle",children:[t?(0,C.jsx)("h1",{style:{marginBottom:"`15px"},children:t}):null,r?(0,C.jsx)("p",{className:"container",children:r}):null,o?(0,C.jsx)("div",{dangerouslySetInnerHTML:{__html:o}}):null]}),(0,C.jsxs)(P(),{sx:{width:"100%",marginTop:"2%"},children:[(0,C.jsx)(P(),{sx:{borderBottom:1,borderColor:"divider"},children:(0,C.jsxs)(j(),{variant:"scrollable",scrollButtons:!0,allowScrollButtonsMobile:!0,value:s,onChange:e=>{c(e)},"aria-label":"basic tabs",indicatorColor:"secondary",textColor:"inherit",children:[(0,C.jsx)(M(),{label:"State Races",onClick:()=>g()}),(0,C.jsx)(M(),{label:"counties",onClick:()=>g()})]})}),(0,C.jsx)(N,{value:s,index:0,children:(0,C.jsx)("div",{className:"row",children:m.ballotItems.map(e=>(0,C.jsx)("div",{style:{marginTop:"16px"},className:"col-lg-6 col-md-6 col-sm-12",children:(0,C.jsx)(l(),{style:{height:"100%",width:"98%",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:(0,C.jsxs)("div",{style:{marginLeft:"10px",marginRight:"10px"},children:[(0,C.jsx)("h3",{style:{marginBottom:"2px"},children:`${e.name} (Vote for ${e.voteFor})`}),(0,C.jsx)("hr",{style:{marginLeft:"0px",marginRight:"0px",height:"0.2px"}}),(0,C.jsx)(y(),{children:(0,C.jsxs)(u(),{"aria-label":"election table",children:[(0,C.jsxs)(v(),{children:["RankChoice"===e.contestType&&(0,C.jsx)(_(),{children:(0,C.jsx)(h(),{style:{fontWeight:"900"},children:"Ranked Choice Contest"})}),(0,C.jsxs)(_(),{children:[(0,C.jsx)(h(),{children:(0,C.jsx)("div",{className:"thicker-font",children:"Candidate Name"})}),(0,C.jsx)(h(),{align:"left",children:(0,C.jsx)("div",{className:"thicker-font",children:"Votes"})}),(0,C.jsx)(h(),{align:"right",children:(0,C.jsx)("div",{className:"thicker-font",children:"%"})})]})]}),(0,C.jsx)(f(),{children:"RankChoice"===e.contestType&&null!==e.rankedChoiceResults?e.rankedChoiceResults.map(e=>(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(_(),{style:{backgroundColor:"white"},className:"thicker-font",children:[(0,C.jsx)(h(),{style:{fontWeight:"900"},children:`Round: ${e.round}`}),(0,C.jsx)(h(),{})]},`${e.name}_${(0,E.gZ)()}`),e.ballotOptions.map(t=>(b=(0,T.B0)(e),(0,C.jsxs)(_(),{style:{backgroundColor:"white"},children:[(0,C.jsx)(h(),{children:`${t.name} ${t.isElected?"(Winner)":""}`}),(0,C.jsx)(h(),{children:t.isEliminated?"Eliminated":t.voteCount}),(0,C.jsxs)(h(),{children:[t.voteCount?`${(0,T.uU)(t.voteCount,b)}%`:"0",(0,C.jsx)(w(),{variant:"determinate",value:(0,T.uU)(t.voteCount,b)||0})]})]},`${t.name}_${(0,E.gZ)()}`)))]})):e.ballotOptions.map(t=>(0,C.jsxs)(_(),{style:{backgroundColor:"white"},sx:{"&:last-child td, &:last-child th":{border:0}},children:["YES"===t.name||"NO"===t.name?(0,C.jsx)(h(),{component:"th",scope:"row",children:t.name}):(0,C.jsx)(h(),{component:"th",scope:"row",children:`${t.name} ${t.politicalParty?`(${t.politicalParty})`:""}`}),(0,C.jsx)(h(),{component:"th",scope:"row",children:t.voteCount}),(0,C.jsxs)(h(),{component:"th",scope:"row",children:[t.voteCount?`${(0,T.uU)(t.voteCount,(0,T.B0)(e))}%`:"0",(0,C.jsx)(w(),{variant:"determinate",value:(0,T.uU)(t.voteCount,(0,T.B0)(e))||0})]})]},`${t.name}_${(0,E.gZ)()}`))})]})})]})})},`${e.name}_${(0,E.gZ)()}`))})}),(0,C.jsxs)(N,{value:s,index:1,children:[(0,C.jsxs)("select",{onChange:({target:{value:e}})=>{window.location.href=`/politics/election/${e}/`},className:"form-select",value:d,children:[(0,C.jsx)("option",{value:d,children:d}),(0,C.jsx)("option",{value:"Beaver-County",children:"Beaver County"}),(0,C.jsx)("option",{value:"Box-Elder-County",children:"Box Elder County"}),(0,C.jsx)("option",{value:"Cache-County",children:"Cache County"}),(0,C.jsx)("option",{value:"Carbon-County",children:"Carbon County"}),(0,C.jsx)("option",{value:"Daggett-County",children:"Daggett County"}),(0,C.jsx)("option",{value:"Davis-County",children:"Davis County"}),(0,C.jsx)("option",{value:"Duchesne-County",children:"Duchesne County"}),(0,C.jsx)("option",{value:"Emery-County",children:"Emery County"}),(0,C.jsx)("option",{value:"Garfield-County",children:"Garfield County"}),(0,C.jsx)("option",{value:"Grand-County",children:"Grand County"}),(0,C.jsx)("option",{value:"Iron-County",children:"Iron County"}),(0,C.jsx)("option",{value:"Juab-County",children:"Juab County"}),(0,C.jsx)("option",{value:"Kane-County",children:"Kane County"}),(0,C.jsx)("option",{value:"Millard-County",children:"Millard County"}),(0,C.jsx)("option",{value:"Morgan-County",children:"Morgan County"}),(0,C.jsx)("option",{value:"Piute-County",children:"Piute County"}),(0,C.jsx)("option",{value:"Rich-County",children:"Rich County"}),(0,C.jsx)("option",{value:"Salt-Lake-County",children:"Salt Lake County"}),(0,C.jsx)("option",{value:"San-Juan-County",children:"San Juan County"}),(0,C.jsx)("option",{value:"Sanpete-County",children:"Sanpete County"}),(0,C.jsx)("option",{value:"Sevier-County",children:"Sevier County"}),(0,C.jsx)("option",{value:"Summit-County",children:"Summit County"}),(0,C.jsx)("option",{value:"Tooele-County",children:"Tooele County"}),(0,C.jsx)("option",{value:"Uintah-County",children:"Uintah County"}),(0,C.jsx)("option",{value:"Utah-County",children:"Utah County"}),(0,C.jsx)("option",{value:"Wasatch-County",children:"Wasatch County"}),(0,C.jsx)("option",{value:"Washington-County",children:"Washington County"}),(0,C.jsx)("option",{value:"Wayne-County",children:"Wayne County"}),(0,C.jsx)("option",{value:"Weber-County",children:"Weber County"})]}),(0,C.jsx)("div",{className:"row"})]})]})]})}R.label="Election Data",R.propTypes={customFields:a().shape({title:a().string.tag({name:"Title",defaultValue:""}),subtitle:a().string.tag({name:"Sub Title",defaultValue:""}),rawHtml:a().string.tag({name:"Raw HTML"}),dataPath:a().text.tag({name:"Data Path",defaultValue:"https://local.sltrib.com/elections/2024/Results.json"})}).isRequired},t.default=R},4597:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(22875),o=r(34766);t.default=function(){const{globalContent:e}=(0,n.useAppContext)(),t=e.content_elements.filter(e=>"text"===e.type),r=e.content_elements.filter(e=>"header"===e.type),{raw_oembed:a,_id:s}=e.content_elements.find(e=>"oembed_response"===e.type),l=/<iframe.*?src="(.*?)"/.exec(a.html)[1];return(0,o.jsx)("div",{className:"vid-container",children:(0,o.jsxs)("div",{className:"video-container",children:[(0,o.jsxs)("div",{className:"vid-text-container",children:[(0,o.jsx)("p",{className:"text-paragraph",children:t[0].content}),(0,o.jsx)("p",{className:"text-paragraph",children:t[1].content}),(0,o.jsx)("p",{className:"text-paragraph",children:t[2].content})]}),(0,o.jsxs)("div",{className:"video",children:[(0,o.jsx)("h1",{className:"header-title",children:r[0].content}),(0,o.jsx)(i.A,{id:s,src:l})]})]})})}},6669:function(e,t,r){"use strict";r.r(t);
153var n=r(19894),i=r.n(n),o=r(59626),a=r.n(o),s=r(34766);function l({customFields:e}){const{VerifyRedirect1:t,ScopeGroup1:r,ClientId1:n,DataText1:i,VerifyRedirect2:o,ScopeGroup2:l,ClientId2:c,DataText2:u,VerifyRedirect3:d,ScopeGroup3:f,ClientId3:p,DataText3:h}=e;return(0,s.jsxs)("div",{className:"essential-workers-container",children:[(0,s.jsx)("br",{}),(0,s.jsx)("h1",{className:"main-heading",style:{textAlign:"center"},children:"Teacher, emergency personnel and military digital subscriptions"}),(0,s.jsxs)("div",{className:"sub-heads-wrapper",children:[(0,s.jsx)("p",{className:"sub-heads",children:"To honor K-12 teachers and administrators, emergency personnel and the military, The Tribune offers a $35 yearly subscription, a savings of more than 50% off the basic subscription rate."}),(0,s.jsx)("p",{className:"sub-heads",children:"Each subscription is valid for one year and will not auto-renew. Renewals require re-verification of status."}),(0,s.jsxs)("p",{className:"sub-heads",children:["Subscribers receive all the benefits of full-price subscriptions, including unlimited access to Pulitzer Prize-winning journalism on",(0,s.jsx)("a",{className:"links",href:"https://www.sltrib.com/",children:"Â SLTrib.com"}),"Â and our Top Stories weekday newsletter."]}),(0,s.jsxs)("p",{className:"sub-heads",children:["Verification of status must be made through a third party, ID.me. To get the rate, click the",(0,s.jsx)("b",{children:"Â click the Verify with ID.me button"}),"Â below."]})]}),(0,s.jsx)("div",{className:"cards-section",children:(0,s.jsxs)("div",{className:"cards-container",children:[(0,s.jsxs)("div",{className:"card1 card-outer",children:[(0,s.jsx)("br",{}),(0,s.jsxs)("p",{className:"my-card-heading",children:["Military",(0,s.jsx)("br",{}),"Personnel"]}),(0,s.jsx)("div",{className:"price-section-wrapper",style:{marginTop:"-30px"},children:(0,s.jsx)("div",{className:"price-section",children:(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"price",children:"$35"}),(0,s.jsx)("span",{className:"time-period",children:"/year"})]})})}),(0,s.jsx)("p",{className:"card-text",style:{marginTop:"-10px"},children:"Unlimited digital access"}),(0,s.jsx)(a(),{id:"button1",children:(0,s.jsx)("div",{className:"idme-wrapper",children:(0,s.jsxs)("div",{className:"inner-wrapper",children:[(0,s.jsx)("span",{id:"idme-wallet-button","data-scope":r,"data-client-id":n,"data-redirect":t,"data-response":"token","data-text":i,"data-show-verify":"true","data-op":"signin","data-type":"fullpage"}),(0,s.jsx)("script",{type:"text/javascript",src:"https://s3.amazonaws.com/idme/developer/idme-buttons/assets/js/idme-wallet-button.js"})]})})})]}),(0,s.jsxs)("div",{className:"card2 card-outer",children:[(0,s.jsx)("br",{}),(0,s.jsx)("p",{className:"my-card-heading",children:"K-12 Teachers and Administrators"}),(0,s.jsx)("div",{className:"price-section-wrapper",style:{marginTop:"-30px"},children:(0,s.jsx)("div",{className:"price-section",children:(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"price",children:"$35"}),(0,s.jsx)("span",{className:"time-period",children:"/year"})]})})}),(0,s.jsx)("p",{className:"card-text",style:{marginTop:"-10px"},children:"Unlimited digital access"}),(0,s.jsx)(a(),{id:"button2",children:(0,s.jsx)("div",{className:"idme-wrapper",children:(0,s.jsxs)("div",{className:"inner-wrapper",children:[(0,s.jsx)("span",{id:"idme-wallet-button","data-scope":l,"data-client-id":c,"data-redirect":o,"data-response":"token","data-text":u,"data-show-verify":"true","data-op":"signin","data-type":"fullpage"}),(0,s.jsx)("script",{type:"text/javascript",src:"https://s3.amazonaws.com/idme/developer/idme-buttons/assets/js/idme-wallet-button.js"})]})})})]}),(0,s.jsxs)("div",{className:"card3 card-outer",children:[(0,s.jsx)("br",{}),(0,s.jsxs)("p",{className:"my-card-heading",children:["Emergency",(0,s.jsx)("br",{}),"Personnel"]}),(0,s.jsx)("div",{className:"price-section-wrapper",style:{marginTop:"-30px"},children:(0,s.jsx)("div",{className:"price-section",children:(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"price",children:"$35"}),(0,s.jsx)("span",{className:"time-period",children:"/year"})]})})}),(0,s.jsx)("p",{className:"card-text",style:{marginTop:"-10px"},children:"Unlimited digital access"}),(0,s.jsx)(a(),{id:"button3",children:(0,s.jsx)("div",{className:"idme-wrapper",children:(0,s.jsxs)("div",{className:"inner
153-wrapper",children:[(0,s.jsx)("span",{id:"idme-wallet-button","data-scope":f,"data-client-id":p,"data-redirect":d,"data-response":"token","data-text":h,"data-show-verify":"true","data-op":"signin","data-type":"fullpage"}),(0,s.jsx)("script",{type:"text/javascript",src:"https://s3.amazonaws.com/idme/developer/idme-buttons/assets/js/idme-wallet-button.js"})]})})})]})]})})]})}l.label="Essential Workers IDme",l.propTypes={customFields:i().shape({VerifyRedirect1:i().string,ScopeGroup1:i().string,ClientId1:i().string,DataText1:i().string,VerifyRedirect2:i().string,ScopeGroup2:i().string,ClientId2:i().string,DataText2:i().string,VerifyRedirect3:i().string,ScopeGroup3:i().string,ClientId3:i().string,DataText3:i().string}).isRequired},t.default=l},41322:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(59271),o=r.n(i),a=r(99850),s=r(34766);function l(){const{globalContent:e}=(0,n.useAppContext)();return(0,s.jsxs)("div",{id:"article-featured-comments",className:"article-featured-comments",style:{marginTop:24,marginBottom:24},children:[(0,s.jsxs)(o(),{href:`${e.canonical_url}/comments/#twt-comments`,style:{width:"100%",marginBottom:"20px"},startIcon:(0,s.jsx)(a.A,{}),variant:"outlined",children:[(0,s.jsx)("span",{children:"Comments: Â ("}),(0,s.jsx)("span",{"twt-comment-count":"true","twt-article-id":e._id,children:"0"}),")"]}),(0,s.jsx)("div",{id:"twt-featured-comments"})]})}l.label="Featured Comments",t.default=l},31008:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(59626),o=r.n(i),a=r(34766);function s(){return(0,n.useEffect)(()=>{window.flippxp=window.flippxp||{run:[]},document.documentElement.clientWidth<500?window.flippxp.run.push(function(){window.flippxp.registerSlot("#flipp-ux-slot-123te4st","Salt Lake Tribune Standard",1268586,[304372],{startCompact:!0,dwellExpandable:!0})}):window.flippxp.run.push(function(){window.flippxp.registerSlot("#flipp-ux-slot-345st6te","Salt Lake Tribune Standard",1268586,[304372],{startCompact:!0,dwellExpandable:!0})})}),(0,a.jsx)("div",{children:(0,a.jsxs)(o(),{id:"flipp-widget",children:[(0,a.jsx)("script",{async:!0,src:"https://cdn-gateflipp.flippback.com/tag/js/flipptag.js?site_id=1268586"}),(0,a.jsx)("div",{id:"flipp-ux-slot-123te4st"}),(0,a.jsx)("div",{id:"flipp-ux-slot-345st6te"})]})})}s.label="Flipp Compact Story Widget",t.default=s},83680:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(59626),o=r.n(i),a=r(34766);function s(){return(0,n.useEffect)(()=>{window.flippxp=window.flippxp||{run:[]},window.flippxp.run.push(function(){window.flippxp.registerSlot("#flipp-ux-slot-afka38199","Salt Lake Tribune Compact",1273321,[305351],{startCompact:!0,dwellExpandable:!0})})}),(0,a.jsx)("div",{children:(0,a.jsxs)(o(),{id:"flipp-compact-widget",children:[(0,a.jsx)("script",{async:!0,src:"https://cdn-gateflipp.flippback.com/tag/js/flipptag.js?site_id=1273321"}),(0,a.jsx)("div",{id:"flipp-ux-slot-afka38199"})]})})}s.label="Flipp Compact Widget",t.default=s},83952:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(59626),o=r.n(i),a=r(34766);function s(){return(0,n.useEffect)(()=>{window.flippxp=window.flippxp||{run:[]},window.flippxp.run.push(function(){window.flippxp.registerSlot("#flipp-ux-slot-mbn8238112","Salt Lake Tribune Standard",1268586,[304372])},[])}),(0,a.jsx)("div",{children:(0,a.jsxs)(o(),{id:"flipp-widget",children:[(0,a.jsx)("script",{async:!0,src:"https://cdn-gateflipp.flippback.com/tag/js/flipptag.js?site_id=1268586"}),(0,a.jsx)("div",{id:"flipp-ux-slot-mbn8238112",children:(0,a.jsx)("div",{className:"flipp-ux-header",style:{display:"none"},children:(0,a.jsx)("h2",{children:"Featured Local Savings"})})})]})})}s.label="Flipp Standard Widget",t.default=s},64502:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(59626),o=r.n(i),a=r(19674),s=r.n(a),l=r(34766);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f({customFields:e}){const{embedId:t,placeholderLabel:r,dataAttributes:i,wrapperClassName:a,minHeight:s,maxWidth:c}=e||{},[d,f]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{if(!t||"undefined"==typeof window)return;const e=window.document.getElementById(t);if(!e)return;if(e.children.length>0||e.textContent.trim().length>0)return void f(!0);const r=new window.MutationObserver(()=>{(e.children.length>0||e.textContent.trim().length>0)&&(f(!0),r.disconnect())});return r.observe(e,{childList:!0,characterData:!0,subtree:!0}),()=>r.disconnect()},[t]),!t)return null;const p=(h=i)?h.split("\n").map(e=>e.trim()).filter(Boolean).reduce((e,t)=>{const r=t.indexOf("=");if(-1===r)return e;const n=t.slice(0,r).trim(),i=t.slice(r+1).trim();return n?(e[n.startsWith("data-")?n:`data-${n}`]=i,e):e},{}):{};var h;const m=s?{minHeight:s}:void 0,y=c?{maxWidth:c}:void 0,g=r&&!d;return(0,l.jsxs)("div",{className:`flippay-embed ${a||""}`.trim(),style:y,children:[g&&(0,l.jsx)("div",{className:"flippay-embed__placeholder","aria-hidden":"true",children:r}),(0,l.jsx)(o(),{id:`flippay-${t}`,children:(0,l.jsx)("div",u({id:t,className:"flippay-embed__target",style:m},p))})]})}f.label="Flippay Embed",f.propTypes={customFields:s().shape({embedId:s().string.tag({label:"Embed ID",description:"The div id Flippay's script targets when injecting the donation widget. Required â leave blank to hide this embed."}
153),placeholderLabel:s().string.tag({label:"Placeholder text",description:"Shown briefly until Flippay's script replaces the contents on page load.",defaultValue:"Loading donation widgetâ¦"}),dataAttributes:s().string.tag({label:"Data attributes",description:'Optional. One per line as key=value (e.g. campaign=annual). "data-" prefix is added automatically if missing.'}),wrapperClassName:s().string.tag({label:"Extra wrapper class",description:"Optional CSS class added to the outer container for layout tweaks."}),minHeight:s().string.tag({label:"Reserved height",description:'Optional CSS height (e.g. "400px") to reserve space and prevent layout shift while Flippay loads.'}),maxWidth:s().string.tag({label:"Max width",description:'Optional CSS max-width for the embed wrapper (e.g. "1100px", "900px", "100%"). Leave blank to fill the parent container â use a value if Flippay\'s widget is stacking or wrapping when it should be horizontal.'})}).isRequired},t.default=f},42076:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var n=r(19674),i=r.n(n),o=r(4321),a=r(50399),s=r(27487),l=r(42718),c=r(82691),u=r(34766);function d(){return(0,u.jsx)("img",{style:{height:"40px",padding:"4px"},src:"https://www.sltrib.com/resizer/v2/YGK4MOY7CNFNRMYWMTTPFDOMCI.png?auth=7c8ecd93d3eb36d6fdde2400ab3650dc88d52714be2fda9155a5f4abe0b43e8c&width=200&quality=100"})}function f(){return(0,u.jsx)("img",{style:{height:"40px",width:"98.6px",marginTop:"-10px"},src:"https://www.sltrib.com/resizer/v2/PI6RFGVVV5CYLIXIYBETYQIUYY.png?auth=06db741726c8486e67a60a0529a1ea780a7e7d896eb72e0f6b4d9dc6a8369618&width=200&quality=100"})}var p=[{heading:"CONNECT",items:[{icon:(0,u.jsx)(s.A,{}),text:"Facebook",url:"https://www.facebook.com/saltlaketribune/"},{icon:(0,u.jsx)("img",{src:"https://www.sltrib.com/resizer/v2/S2JRURVUNZBUXGAJVY67HBTE6A.png?auth=6f97694ee8a43d294e97af9ab645cc3719955d95936eeab8cff5ebc501db5b08&height=100&quality=88",alt:"twitter-logo",width:"18",height:"18",style:{backgroundColor:"white",borderRadius:"4px",marginLeft:"3px",marginRight:"2px"}}),text:"X",url:"https://x.com/sltrib/"},{icon:(0,u.jsx)(a.A,{}),text:"Instagram",url:"https://www.instagram.com/sltrib/"},{icon:(0,u.jsx)(l.A,{}),text:"YouTube",url:"https://www.youtube.com/user/sltrib/"},{icon:(0,u.jsx)(c.A,{}),text:"RSS",url:"/rss/"},{icon:(0,u.jsx)(d,{}),url:"https://apps.apple.com/ai/app/salt-lake-tribune-eedition/id995297003"},{icon:(0,u.jsx)(f,{}),url:"https://play.google.com/store/apps/details?id=com.saltlaketribune.android.prod&hl=en_US&gl=US"}]},{heading:"MEMBERSHIP",items:[{text:"Get a Print Edition",url:"https://sltiservices.navigacloud.com/cmo_slt-c-cmdb-01/subscriber/web/startoffers.html"},{text:"Donate",url:"/donate/"},{text:"Email Newsletters",url:"/newsletters/"},{text:"Login to your Print Account",url:"https://sltiservices.navigacloud.com/cmo_slt-c-cmdb-01/subscriber/web/signin.html"},{text:"Login to your Digital Account",url:"/myaccount/"},{text:"Supporter FAQs",url:"/digital-subscriptions-faq/"},{text:"Print & Account FAQ",url:"/print-faq/"},{text:"Help and Contact Info",url:"/contact-us/"}]},{heading:"ABOUT US",items:[{text:"History and Mission",url:"/about-us/#our-history"},{text:"Our Nonprofit Model",url:"/about-us/#nonprofit"},{text:"Board and Advisers",url:"/board-and-advisers/"},{text:"Officers and Staff",url:"/staff/"},{text:"Supporters",url:"/supporters/"},{text:"Tax Filing and Governance",url:"/reports/"},{text:"Share Your Opinion",url:"/opinion/submission/"},{text:"Meet the Editorial Board",url:"/opinion/editorial-board/"},{text:"Privacy Policy",url:"/privacy-policy/"},{text:"California Privacy",url:"/privacy-policy/#california"},{text:"Editorial Policies and Ethics",url:"/policies-and-ethics/"}]},{heading:"MORE",items:[{text:"Advertise with Us",url:"/advertising/"},{text:"Legal Notices",url:"/legal-notices/"},{text:"Jobs listings",url:"/jobs/"},{text:"Store",url:"https://store.sltrib.com/"},{text:"Archives",url:"https://digitalnewspapers.org/newspaper/?paper=Salt%20Lake%20Tribune"},{text:"Story Tips",url:"/tips/"},{text:"Support The Tribune",url:"/giving/"},{text:"Join The First Amendment Society",url:"/fas/"},{text:"Gift Acceptance Policy",url:"https://www.sltrib.com/gift-policy/"},{text:"Cookie Preferences",url:"#",onClick:()=>{Osano.cm.showDrawer("osano-cm-dom-info-dialog-open")}},{text:"Commenting Policy",url:"/commenting-policy/"}]}],h=r(94923);function m({text:e,children:t}){return(0,u.jsxs)("div",{className:"footer-column",children:[(0,u.jsx)("h5",{className:"footer-heading",children:e}),t]})}function y({collection:e}){return(0,u.jsx)("ul",{className:"footer-list",children:e.map(({icon:e,text:t,url:r,onClick:n})=>(0,u.jsx)("li",{children:(0,u.jsxs)("a",{href:r,className:"footer-item",onClick:n,children:[e,e?(0,u.jsx)(u.Fragment,{children:" "}):(0,u.jsx)(u.Fragment,{}),(0,u.jsx)("span",{className:"foot-indv-item",children:t})]})},`${t}_${(0,h.gZ)()}`))})}function g({customFields:e}){const{twitter:t,facebook:r,instagram:n}=e,{metaValue:i,deployment:l,contextPath:c}=(0,o.useAppContext)(),d=i("ballantine-id-1"),f=i("ballantine-id-2"),g=l(`${c}/resources/js/ballantine.js`),v=l(`${c}/resources/img/t-1.png`),b=l(`${c}/resources/img/googleplay.png`),_=l(`${c}/resources/img/applestore.png`);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("script",{async:!0,src:g,"id-1":d,"id-2":f}),(0,u.jsx)("div",{className:"row hidden-md-down",children:p.map(({heading:e,items:t})=>(0,u.jsx)("div",{className:"footer-block col-6 col-md-3",children:(0,u.jsx)(m,{text:e,children:(0,u.jsx)(y,{collection:t})},`${e}_${(0,h.gZ)()}`)},`${e}_${(0,h.gZ)()}`))}),(0,u.jsxs)("div",{className:"hidden-md-up",style:{width:"100%"},children:[(0,u.jsx)("div",{className:"horizontal-separator"}),(0,u.jsxs)("div",{className:"row v-space",children:[(0,u.jsxs)("div",{className:"col-6 links-foot-col",children:[(0,u.jsx)("a",{href:"/about-us/",className:"foot-link",children:"ABOUT US"}),(0,u.jsx)("a",{href:"/terms-of-service/",className:"foot-link",children:"TERMS OF SERVICE"}),(0,u.jsx)("a",{href:"/privacy-policy/",className:"foot-link",children:"PRIVACY POLICY"}),(0,u.jsx)("a",{href:"/policies-and-ethics/",className:"foot-link",children:"EDITORIAL POLICY"}),(0,u.jsx)("a",{href:"/tips/",className:"foot-link",children:"NEWS TIPS"}),(0,u.jsx)("a",{href:"/advertising/",className:"foot-link",children:"ADVERTISE"}),(0,u.jsx)("a",{href:"/contact-us/",className:"foot-link",children:"CONTACT US/HELP"}),(0,u.jsx)("a",{href:"/opinion/editorial-board/",className:"foot-link",children:"MEET THE EDITORIAL BOARD"}),(0,u.jsx)("a",{href:"/gift-policy/",className:"foot-link",children:"GIFT ACCEPTANCE POLICY"})]}),(0,u.jsxs)("div",{className:"col-6 links-foot-col",children:[(0,u.jsx)("a",{href:"/donate/",className:"foot-link",children:"DONATE"}),(0,u.jsx)("a",{href:"/digital-subsciptions-faq/",className:"foot-link",children:"SUPPORTERS FAQ"}),(0,u.jsx)("a",{href:"/print-faq/",className:"foot-link",children:"PRINT FAQ"}),(0,u.jsx)("a",{href:"https://sltiservices.navigacloud.com/cmo_slt-c-cmdb-01/subscriber/web/startoffers.html",className:"foot-link",children:"PRINT EDITION"}),(0,u.jsx)("a",{href:"/newsletters/",className:"foot-link",children:"EMAIL NEWSLETTERS"}),(0,u.jsx)("a",{href:"/fas/",className:"foot-link",children:"JOIN THE FIRST AMENDMENT SOCIETY"}),(0,u.jsx)("a",{href:"/giving/",className:"foot-link",children:"SUPPORT THE TRIBUNE"}),(0,u.jsx)("a",{href:"/opinion/submission/",className:"foot-link",children:"SHARE YOUR OPINION"}),(0,u.jsx)("a",{href:"#",className:"foot-link",onClick:()=>Osano.cm.showDrawer("osano-cm-dom-info-dialog-open"),children:"COOKIE PREFERENCES"})]})]}),(0,u.jsxs)("div",{className:"socialm-foot",children:[(0,u.jsx)("a",{href:t,"data-testid":"sm-twitter",className:"soc-med-item",children:(0,u.jsx)("img",{src:v,alt:"twitter-logo",width:"26",height:"26",style:{backgroundColor:"white"}})}),(0,u.jsx)("a",{href:n,"data-testid":"sm-instagram",className:"soc-med-item","aria-label":"Instagram",children:(0,u.jsx)(a.A,{style:{color:"rgb(255,76,60)",fontSize:26}})}),(0,u.jsx)("a",{href:r,"data-testid":"sm-facebook",className:"soc-med-item","aria-label":"Facebook",children:(0,u.jsx)(s.A,{style:{color:"rgb(45,79,138)",fontSize:26}})})]}),(0,u.jsxs)("div",{className:"row v-space",style:{display:"flex",justifyContent:"center"},children:[(0,u.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.saltlaketribune.android.prod&hl=en_US&gl=US",target:"_blank",rel:"noreferrer",children:(0,u.jsx)("img",{height:"40px",alt:"google-play-badge",src:b})}),(0,u.jsx)("a",{href:"https://apps.apple.com/ai/app/salt-lake-tribune-eedition/id995297003",target:"_blank",rel:"noreferrer",children:(0,u.jsx)("img",{className:"apple-download-badge",he
153ight:"40px",alt:"apple-store-badge",src:_})})]}),(0,u.jsx)("div",{className:"horizontal-separator last-sep-foot"})]})]})}g.label="Footer",g.propTypes={customFields:i().shape({twitter:i().string,facebook:i().string,instagram:i().string}).isRequired};var v=g},36293:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(59626),a=r.n(o),s=r(34766);function l({customFields:e}){const{scriptURL:t}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(a(),{id:"formstack-newsletters-1",children:(0,s.jsx)("script",{type:"text/javascript",src:t})})})}l.propTypes={customFields:i().shape({scriptURL:i().string}).isRequired},l.label="Form Stack",t.default=l},36098:function(e,t,r){"use strict";r.r(t);var n=r(15074),i=r(34766);function o(){const{isMobile:e}=(0,n.Qo)();return e?(0,i.jsx)("div",{id:"FreeStarVideoAdContainerHomepage_Mobile",children:(0,i.jsx)("div",{id:"freestar-video-parent4",children:(0,i.jsx)("div",{id:"freestar-video-child"})})}):(0,i.jsx)("div",{id:"FreeStarVideoAdContainerHomepage",children:(0,i.jsx)("div",{id:"freestar-video-parent3",children:(0,i.jsx)("div",{id:"freestar-video-child"})})})}o.label="Freestar Ad HomePage",t.default=o},44418:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return y}});var n=r(40809),i=r(80312),o=r.n(i),a=r(19674),s=r.n(a),l=r(4321),c=r(73360),u=r(15074);const d=e=>{let t=[];return e?(t=e.split("/"),t.length>3?t.slice(3).join("/"):"Home"):"Home"};var f=r(64006),p=r(94873),h=r(34766);function m({customFields:e}){const{placementName:t,adID:r,additionHeight:i,scrollAble:a,scrollSpaceTop:s,scrollAdSpace:m,scrollAdSpaceBottom:y,customWidth:g,customMaxWidth:v,subtractSpace:b,showDebug:_}=e,{width:x}=(0,u.Qo)(),[w,O]=(0,n.useState)(window.pageYOffset),[j,S]=(0,n.useState)(0),M=()=>{O(window.pageYOffset)},{siteProperties:k,requestUri:P,globalContent:T,isAdmin:E,metaValue:C}=(0,l.useAppContext)();let L=1;T&&T.content_elements&&(L=T.content_elements.length<8?0:Math.floor(T.content_elements.length/5)),(0,n.useEffect)(()=>{let e=0;if(a&&x>v&&window&&document){const t=document.getElementById("article-bottom");t&&(e=t.offsetTop-e||0),L>0&&(e+=L*m);S(e-b*e)}},[j,v,L,a,m,y,b,x,w]),(0,n.useEffect)(()=>(a&&x>v&&window.addEventListener("scroll",M),()=>window.removeEventListener("scroll",M)),[v,a,x]);const A=(e=>{let t=0;const{isMobile:r}=(0,u.Qo)();return"sltrib_adhesion"===e?t=r?100:90:"sltrib_billboard_1"===e||"sltrib_billboard_2_"===e||"sltrib_billboard_3"===e||"sltrib_billboard_4"===e||"sltrib_billboard_atf"===e||"sltrib_billboard_incontent_1"===e||"sltrib_billboard_incontent_2"===e||"sltrib_billboard_incontent_3"===e||"sltrib_billboard_incontent_4"===e?t=250:"sltrib_direct_banner"===e?t=r?250:280:"sltrib_dynamic_incontent"===e?t=r?250:90:"sltrib_homepage_medrec_mobile_atf"===e?t=r?250:0:"sltrib_homepage_medrec_sidebar_atf"===e?t=r?250:280:"sltrib_homepage_medrec_sidebar_btf"===e?t=r?250:600:"sltrib_leaderboard_category_incontent"===e?t=r?50:90:"sltrib_medrec_sidebar_atf"===e||"sltrib_medrec_sidebar_btf"===e?t=r?0:600:"sltrib-com_direct_375x125"===e?t=r?0:125:"sltrib_medrec_brandedcontent"===e&&(t=r?0:600),t})(t),D=A+i,I=Math.floor(1e3*Math.random())+100,{newSLTribAdUnit:N}=k,R=(0,p.M5)(C,T,P);let z="",F="",B="",Y="",U="";const H=T&&T.slug?T.slug:"none";H.includes("sponsored")?(U=H.split("."),Y=`${N}/Sponsor/${U[1]}`):Y=(0,f.Om)(T&&T.taxonomy&&T.taxonomy.tags?T.taxonomy.tags:[])?`${N}/Cache_Valley`:(0,f.fy)(T&&T.taxonomy&&T.taxonomy.tags?T.taxonomy.tags:[])?`${N}/Southern_Utah`:(0,c.en)(N,P);const $=T&&T.taxonomy&&T.taxonomy.tags?T.taxonomy.tags:[];(0,c.F3)($)&&(z=(0,c.F3)($));const W=T&&T.taxonomy&&T.taxonomy.seo_keywords?T.taxonomy.seo_keywords:[];(0,c.KM)(W)&&(F=(0,c.KM)(W));B=T&&T.taxonomy&&T.taxonomy.primary_site.name?T.taxonomy.primary_site.name:[];let V={"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?I:r}`};z&&F?V={utah_contextual:z,pagetags:z,keywords:F,section:B,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?I:r}`}:!z&&F?V={keywords:F,section:B,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?I:r}`}:z&&!F?V={utah_contextual:z,pagetags:z,section:B,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?I:r}`}:z||F||(V={section:B,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?I:r}`}),V.page=R;const q=!("sltrib_medrec_sidebar_btf"===t&&window.innerWidth<1208);return(0,h.jsx)(h.Fragment,{children:E||!q?null:(0,h.jsxs)("div",{className:t,style:{height:0===A?"0px":`${D}px`,display:"flex",justifyContent:"center",placeItems:"center",position:a&&x>v&&w>s&&w<j?"fixed":"static",width:g&&x>v?g:"100%",textAlign:a&&x>v&&w>s&&w<j?"center":"justify",top:a&&x>v&&w>s&&w<j?"200px":"0px"},children:[0!==A&&(0,h.jsx)(o(),{publisher:"sltrib-com",channel:d(Y),slotId:`sltrib-promo-${0===r||void 0===r?I:r}`,targeting:V,placementName:t}),_&&(0,h.jsxs)("div",{children:[(0,h.jsxs)("div",{children:["bottomArticle",` ${j}`]}),(0,h.jsxs)("div",{children:["yOffset",` ${w}`]})]})]})})}m.label="Freestar-Ad-With-Heights",m.propTypes={customFields:s().shape({placementName:s().string.tag({name:"placementName",defaultValue:""}),adID:s().number.tag({name:"AD ID",defaultValue:0}),additionHeight:s().number.tag({name:"Addition Height",defaultValue:0}),scrollAble:s().boolean.tag({name:"Scroll Able",defaultValue:!1}),scrollSpaceTop:s().number.tag({name:"Scroll Space Top",defaultValue:1400}),scrollAdSpace:s().number.tag({name:"Ad space",defaultValue:100}),scrollAdSpaceBottom:s().number.tag({name:"Ad space Bottom",defaultValue:100}),subtractSpace:s().number.tag({name:"Subtract Space on Bottom",description:"When the ad is moving to much to the bottom of the page, this value will subtract from the bottom space and the valide value should be Example: 0.1, 0.2, 0.3, 0.4, 0.5 this value will be multiplied by the bottom space and subtracted from the bottom space",defaultValue:0}),showDebug:s().boolean.tag({name:"Show Debug",defaultValue:!1}),customWidth:s().string.tag({name:"Custom Width",defaultValue:"100%"}
153),customMaxWidth:s().number.tag({name:"Custom max Width",description:"The value of isDesktop is 992",defaultValue:0})}).isRequired};var y=m},35899:function(e,t,r){"use strict";r.r(t);var n=r(80312),i=r.n(n),o=r(19674),a=r.n(o),s=r(4321),l=r(64006),c=r(94873),u=r(73360),d=r(34766);function f({customFields:e}){const{placementName:t,adID:r}=e,n=Math.floor(1e3*Math.random())+100,{siteProperties:o,requestUri:a,globalContent:f,isAdmin:p,metaValue:h}=(0,s.useAppContext)(),{newSLTribAdUnit:m}=o,y=(0,c.M5)(h,f,a);let g="",v="",b="",_="",x="";const w=f&&f.slug?f.slug:"none";w.includes("sponsored")?(x=w.split("."),_=`${m}/Sponsor/${x[1]}`):_=(0,l.Om)(f&&f.taxonomy&&f.taxonomy.tags?f.taxonomy.tags:[])?`${m}/Cache_Valley`:(0,l.fy)(f&&f.taxonomy&&f.taxonomy.tags?f.taxonomy.tags:[])?`${m}/Southern_Utah`:(0,u.en)(m,a);const O=f&&f.taxonomy&&f.taxonomy.tags?f.taxonomy.tags:[];(0,u.F3)(O)&&(g=(0,u.F3)(O));const j=f&&f.taxonomy&&f.taxonomy.seo_keywords?f.taxonomy.seo_keywords:[];(0,u.KM)(j)&&(v=(0,u.KM)(j));b=f&&f.taxonomy&&f.taxonomy.primary_site.name?f.taxonomy.primary_site.name:"";let S={"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?n:r}`};g&&v?S={utah_contextual:g,pagetags:g,keywords:v,section:b,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?n:r}`}:!g&&v?S={keywords:v,section:b,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?n:r}`}:g&&!v?S={utah_contextual:g,pagetags:g,section:b,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?n:r}`}:g||v||(S={section:b,"SLT-NEW-POS":t,div:`sltrib-promo-${0===r||void 0===r?n:r}`}),S.page=y;const M=!("sltrib_medrec_sidebar_btf"===t&&window.innerWidth<1208);return(0,d.jsx)(d.Fragment,{children:p||!M?null:(0,d.jsx)(i(),{publisher:"sltrib-com",channel:(e=>{let t=[];return e?(t=e.split("/"),t.length>3?t.slice(3).join("/"):"Home"):"Home"})(_),slotId:`sltrib-promo-${0===r||void 0===r?n:r}`,targeting:S,placementName:t})})}f.label="Freestar-Ad",f.propTypes={customFields:a().shape({placementName:a().string.tag({name:"placementName"}),adID:a().number.tag({name:"AD ID",defaultValue:0})}).isRequired},t.default=f},68180:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);const a="$15",s="https://saltlaketribune.fundjournalism.org/donate/?amount=15&campaign=701Rn00000UDxYuIAL",l="$25",c="https://saltlaketribune.fundjournalism.org/donate/?amount=25&campaign=701Rn00000UDxYuIAL",u="$50",d="https://saltlaketribune.fundjournalism.org/donate/?amount=50&campaign=701Rn00000UDxYuIAL",f="https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn00000UDxYuIAL";function p({customFields:e}){const{customTitle:t,customDescription:r,amount1Label:n=a,amount1Url:i=s,amount2Label:p=l,amount2Url:h=c,amount3Label:m=u,amount3Url:y=d,urlDonate:g=f}=e||{},v=t||"Support Independent Journalism in Utah",b=r||(0,o.jsx)(o.Fragment,{children:"The Salt Lake Tribune is a nonprofit newsroom dedicated to uncovering the truth and holding power accountable. Your donation makes this work possible."}),_=[{label:n,url:i},{label:p,url:h},{label:m,url:y}].filter(e=>e.label&&e.url);return(0,o.jsx)("div",{className:"trib-full-donation",children:(0,o.jsxs)("div",{className:"trib-full-donation__container",children:[(0,o.jsxs)("div",{className:"trib-full-donation__text-col",children:[(0,o.jsx)("h2",{className:"trib-full-donation__headline",children:v}),(0,o.jsx)("p",{className:"trib-full-donation__description",children:b})]}),(0,o.jsx)("div",{className:"trib-full-donation__action-col",children:(0,o.jsxs)("div",{className:"trib-full-donation__button-group",children:[_.map(e=>(0,o.jsx)("a",{href:e.url,className:"trib-full-donation__amount-btn",target:"_blank",rel:"noreferrer",children:e.label},e.label)),(0,o.jsx)("a",{href:g,className:"trib-full-donation__main-btn",target:"_blank",rel:"noreferrer",children:"Donate Today"})]})})]})})}p.label="Full Width Donation Banner",p.propTypes={customFields:i().shape({customTitle:i().string.tag({name:"Headline",defaultValue:"Support Independent Journalism in Utah"}),customDescription:i().string.tag({name:"Description Text",description:"Short persuasive text appearing under the headline."}),amount1Label:i().string.tag({name:"Amount 1 â Button label",description:'Visible text on the first amount button (e.g. "$15"). Leave blank to hide this button.',defaultValue:a}),amount1Url:i().string.tag({name:"Amount 1 â Destination URL",description:"FlipPay (or other) URL for the first amount button.",defaultValue:s}),amount2Label:i().string.tag({name:"Amount 2 â Button label",description:'Visible text on the second amount button (e.g. "$25"). Leave blank to hide this button.',defaultValue:l}),amount2Url:i().string.tag({name:"Amount 2 â Destination URL",description:"FlipPay (or other) URL for the second amount button.",defaultValue:c}),amount3Label:i().string.tag({name:"Amount 3 â Button label",description:'Visible text on the third amount button (e.g. "$50"). Leave blank to hide this button.',defaultValue:u}),amount3Url:i().string.tag({name:"Amount 3 â Destination URL",description:"FlipPay (or other) URL for the third amount button.",defaultValue:d}),urlDonate:i().string.tag({name:"Donate Today button URL",description:'FlipPay (or other) URL for the main "Donate Today" button (no preset amount).',defaultValue:f})}).isRequired},t.default=p},55970:function(e,t,r){"use strict";r.r(t);var n=r(59626),i=r.n(n),o=r(34766);function a(){return(0,o.jsx)("div",{children:(0,o.jsx)(i(),{id:"games-feature",children:(0,o.jsx)("meta",{httpEquiv:"refresh",content:"0; url=https://games.sltrib.com/"})})})}a.label="Games",t.default=a},64364:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(1307),s=r(23874),l=r(26858),c=r(36385),u=r(34766);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h({customFields:{galleryId:e,mainText:t,mainText2:r,mainText3:n,displayText1:i,displayText2:d,displayText3:p,fontWt:h}}){const m=(0,o.useContent)({source:"arc-photo-center-gal-id-v2",query:{galleryId:e}}),y=(0,c.A)(),g=m&&m.contentRequest&&m.contentRequest.content_elements?m.contentRequest.content_elements:null,v=m&&m.contentRequest&&m.contentRequest.owner?m.contentRequest.owner.id:null;return(0,u.jsxs)("div",{className:"hero-banner-slider-v2-new",style:{margin:"0 auto"},children:[g&&(0,u.jsx)(a.A,f(f({},{dots:!1,arrows:!1,infinite:!0,autoplay:!0,centerMode:!1,autoplaySpeed:2e3,speed:5e3,slidesToShow:1,slidesToScroll:1}),{},{children:g&&v?g.map(e=>(0,u.jsx)("div",{children:(0,u.jsx)("img",{style:{width:"85vw",height:"100%",marginLeft:"7.5%"},alt:"carousel-img-inno-lab",src:(0,s.L)(Math.round(.85*y.windowWidth),Math.round(.85*y.windowHeight),(0,l.yx)(e.url),e.auth[1],v,e)||"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYb6ow-P9bZN6SN9ud_bt3-ew2UJ3V3MFuBQ&usqp=CAU"})},e._id)):null})),(0,u.jsxs)("div",{className:"text-h2s",children:[(0,u.jsx)("h2",{style:{fontSize:"24px",fontWeight:"300",display:i||""},children:t}),(0,u.jsx)("h2",{style:{fontSize:"40px",fontWeight:h,display:d||""},children:r}),(0,u.jsx)("h2",{style:{fontSize:"40px",fontWeight:h,display:p||""},children:n})]})]})}h.label="HeroBanner Gallery Slider V2",h.propTypes={customFields:i().shape({galleryId:i().string.tag({name:"Gallery ID"}),mainText:i().string.tag({name:"Main Text",description:"Copy and Paste main text here"}),displayText1:i().string.tag({name:"Display Prop for Text 1",description:"eg. block, inline-block, none, flex, grid"}),mainText2:i().string.tag({name:"Main Text 2",description:"Copy and Paste main text here"}),displayText2:i().string.tag({name:"Display Prop for Text 2",description:"eg. block, inline-block, none, flex, grid"}),mainText3:i().string.tag({name:"Main Text 3",description:"Copy and Paste main text here"}),displayText3:i().string.tag({name:"Display Prop for Text 3",description:"eg. block, inline-block, none, flex, grid"}),fontWt:i().string.tag({name:"How bold should text be?",description:"Use this to chose the weight of the font. Example inputs: 400"})}).isRequired},t.default=h},93471:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(75306),a=r.n(o),s=r(14355),l=r.n(s),c=r(15074),u=r(34766);function d({customFields:e}){const{screenSize:t,textAboveLogo:r,imgPath:n,topSpace:i,spaceBetweenTitleAndLogos:o,bottomSpace:s,darkNess:d,tallNess:f,textColor:p,logoLeftImageUrl:h,logoLeftUrl:m,logoLeftText:y,logoCenterImageUrl:g,logoCenterUrl:v,logoCenterText:b,logoRightImageUrl:_,logoRightUrl:x,logoRightText:w,title:O,titleSize:j}=e,{isMobile:S}=(0,c.Qo)();return(0,u.jsx)("div",{className:"hero-banner-content-with-logos-url",style:{paddingBottom:s||"0px"},children:(0,u.jsx)("div",{style:{height:`${t||100}vh `,color:`${p||"white"}`},children:(0,u.jsx)("div",{style:{background:`linear-gradient(rgba(0, 0, 0, 0.${d||1}), rgba(0, 0, 0, 0.${d||1})), url('${n||"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYb6ow-P9bZN6SN9ud_bt3-ew2UJ3V3MFuBQ&usqp=CAU"}')`,backgroundRepeat:"no-repeat",height:`${f||100}vh`,backgroundSize:"cover",backgroundPosition:"center center"},children:(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:(0,u.jsxs)("div",{style:{paddingTop:i||"10vh"},className:"title",children:[O?(0,u.jsx)("h3",{style:{marginBottom:"0px",fontSize:j||"2.3rem"},children:O}):null,(0,u.jsxs)("div",{style:{marginTop:o||"100px"},className:"partners",children:[r&&(0,u.jsx)("p",{style:{textAlign:"center",fontSize:"1.5vh"},children:r}),(0,u.jsx)(a(),{children:(0,u.jsxs)(l(),{container:!0,spacing:0,children:[(0,u.jsxs)(l(),{item:!0,xs:4,children:[h&&m?(0,u.jsx)("a",{href:m,children:(0,u.jsx)("img",{src:h,alt:h})}):null,y&&!S?(0,u.jsx)("a",{href:m,children:(0,u.jsx)("p",{className:"logo-text",children:y})}):null]}),(0,u.jsxs)(l(),{item:!0,xs:4,children:[g&&v?(0,u.jsx)("a",{style:{marginLeft:"3%"},href:v,children:(0,u.jsx)("img",{src:g,alt:g})}):null,b&&!S?(0,u.jsx)("a",{href:v,children:(0,u.jsx)("p",{className:"logo-text",children:b})}):null]}),(0,u.jsxs)(l(),{item:!0,xs:4,children:[_&&x?(0,u.jsx)("a",{style:{marginLeft:"3%"},href:x,children:(0,u.jsx)("img",{src:_,alt:_})}):null,w&&!S?(0,u.jsx)("a",{href:x,children:(0,u.jsx)("p",{className:"logo-text",children:w})}):null]})]})})]})]})})})})})})}d.label="Hero-banner with circle logos url ",d.propTypes={customFields:i().shape({screenSize:i().number.tag({name:"Screen Size"}),imgPath:i().string.tag({name:"Image Path"}),title:i().string.tag({name:"Title"}),textAboveLogo:i().string.tag({name:"Text Above Logo"}),topSpace:i().string.tag({name:"Top Space"}),bottomSpace:i().string.tag({name:"Bottom Space",description:'Example input "10px", "3%" and etc'}),spaceBetweenTitleAndLogos:i().string.tag({name:"Space between Title and Logos",description:'Example input "10px", "3%" and etc'}),textColor:i().string.tag({name:"Text Color",description:"Example inputs: red, #CD5C5C, rgb(205, 92, 92). Default is set to white"}),titleSize:i().string.tag({name:"Title Size",description:"Example inputs: 50px, 2rem and etc"}),darkNess:i().number.tag({name:"Darkness",description:"Value 0 - 9 from light to dark default value is 1"}),tallNess:i().number.tag({name:"Tallness",description:"Adjust how tall of the image from value 1-100. The default value is 100"}),logoLeftImageUrl:i().string.tag({name:"Logo Left Image Url"}),logoLeftUrl:i().string.tag({name:"Logo Left Url"}),logoLeftText:i().string.tag({name:"Text below Logo Left"}),logoCenterImageUrl:i().string.tag({name:"Logo Center Image Url"}),logoCenterUrl:i().string.tag({name:"Logo Center Url"}),logoCenterText:i().string.tag({name:"Text below Logo Center"}),logoRightImageUrl:i().string.tag({name:"Logo Right Image Url"}),logoRightUrl:i().string.tag({name:"Logo Right Url"}),logoRightText:i().string.tag({name:"Text below Logo Right"})}).isRequired},t.default=d},78411:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({customFields:e}){return(0,o.jsx)("div",{style:{marginTop:"40px;"},children:(0,o.jsx)("iframe",{title:"Home Prices",src:e.url,frameBorder:"0",scrolling:"no",height:"1050",width:"1024"})})}a.label="Home Prices",a.propTypes={customFields:i().shape({url:i().string}).isRequired},t.default=a},76204:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(23874),s=r(26858),l=r(34766);function c({customFields:e}
153){const{featurePageID:t,imgID:r,imgWidth:n,spaceLeft:i,logoDisp:c,size:u,bgColor:d,containerHt:f}=e;if(!r)return(0,l.jsx)(l.Fragment,{});const p=(0,o.useContent)({source:"get-photo-by-id",query:{photoID:r}});let h="";return p&&(h=(0,a.$X)(n||900,(0,s.yx)(p.contentRequest.url),p.contentRequest.auth[1],"sltrib")),(0,l.jsx)("div",{id:t,style:{display:"flex",alignContent:"center",flexDirection:"column",height:f||"550px",justifyContent:"space-around",backgroundColor:d||"white",marginLeft:i},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column",maxWidth:"700px",margin:"auto",padding:"0px 20px"},children:(0,l.jsx)("div",{style:{display:c},children:(0,l.jsx)("img",{src:h,alt:"logo-banner",style:{width:`${u}%`}})})})})}c.label="Image V2",c.propTypes={customFields:i().shape({featurePageID:i().string.tag({name:"Give this feature an ID string no spaces to help move to spots around page"}),imgID:i().string.tag({name:"Image ID"}),imgWidth:i().number.tag({name:"Image width, this is the width for resizerV2 (defaultValue is 420)",defaultValue:900}),size:i().number.tag({name:"Size(%)",description:"To adjust the size of the logo image by percentage. The default is set to 100%",defaultValue:100}),spaceLeft:i().string.tag({name:"Space Left",defaultValue:"0px"}),logoDisp:i().string.tag({name:"Logo Div Display",description:"Set to none, flex, block etc"}),bgColor:i().string.tag({name:"Background Color",description:"When adjust the Tallness of image Background Color will show. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),containerHt:i().string.tag({name:"Height of the Main Container",description:"Put in something like: 600px. Default value is 550px"})}).isRequired},t.default=c},14497:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(14375),o=r(19894),a=r.n(o),s=r(23322),l=r(21989),c=r(23874),u=r(26858),d=r(752),f=r(76706),p=r(79634),h=r(60661),m=r(34766);const y={id:-1,title:"Title",description:"Brought to you every weekday morning, The Rundown is your best resource to stay informed on Utah politics.",imgUrl:"https://www.sltrib.com/pf/resources/svg/Trib_masthead_top_000000.svg?d=339"};function g({customFields:e}){const t=(0,p.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey")),{newSletterKey:r,imgUrl:o,customDescription:a,customTitle:g}=e,[v,b]=(0,n.useState)(!1),_=f.FN[r]||y,x=(0,i.useContent)({source:"get-photo-by-id",query:{photoID:_.pid}});let w="";x&&(w=(0,c.$X)(420,(0,u.yx)(x.contentRequest.url),x.contentRequest.auth[1],"sltrib"));const[O,j]=(0,n.useState)((0,h.A)()||""),S=(0,n.useRef)(null);return(0,m.jsxs)("div",{className:"single-newsletter-iterable",children:[(0,m.jsx)("div",{className:"single-image",children:(0,m.jsx)(d.A,{className:"newsletter-image",url:w||_.imgUrl||o})}),(0,m.jsx)("h1",{children:g||`Join our ${_.title} Newsletter. Support our journalism`}),(0,m.jsx)("h4",{children:a||_.description}),(0,m.jsxs)("form",{onSubmit:async e=>{const t=S.current.getValue();S.current.reset(),e.preventDefault(),t?s.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:O,interests:[_.id],token:t,env:"PROD"}).then(e=>{"Success!"===e.data.message&&(b(!0),j(""),alert("Form submission successful!"))}).catch(()=>{b(!1)}):alert("Please verify the reCAPTCHA!")},name:"iterable_optin",children:[(0,m.jsx)("input",{required:!0,type:"email",id:"email-address",name:"email",placeholder:"Enter a valid email",value:O,onChange:e=>j(e.target.value)}),(0,m.jsx)("div",{style:{textAlign:"center"},children:(0,m.jsx)(l.A,{sitekey:t,ref:S,className:"recaptcha"})}),(0,m.jsx)("button",{type:"submit",className:v?"subscribed-button":"signup-button",id:`newsletter-individual-signup newsletter-individual-signup-${_.analytics}`,children:v?"Subscribed!":"Sign Up"})]})]})}g.label="Individual Newsletter Iterable",g.propTypes={customFields:a().shape({newSletterKey:a().string.tag({name:"Newsletter Key",description:"Example: the_daily_buzz, innovation_lab, eye_on_the_y, how_bout_this_jazz, tribute, breaking_news, top_stories, utah_eats, mormon_land, eedition_email"}),customDescription:a().string.tag({name:"Custom description",description:"If desired, describe the nature of the newsletter, otherwise description on pref page will be used."}),customTitle:a().string.tag({name:"Custom Title",description:"If desired, add a heading to the newsletter, otherwise a generic one will be used."}),imgUrl:a().string.tag({name:"Image URL"}),imgWidth:a().number.tag({name:"Image Width"}),imgHeigth:a().number.tag({name:"Image Height"})}).isRequired},t.default=g},797:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(59271),a=r.n(o),s=r(34766);function l({customFields:e}){const{featurePageID:t,logoPath:r,logoDisp:n,size:i,bgColor:o,mainText:l,displayText1:c,mainText2:u,displayText2:d,mainText3:f,displayText3:p,mainTextColor:h,textFontSize:m,FontWt:y,buttonDisp:g,buttonHref1:v,buttonText1:b,buttonColor1:_,buttonBg1:x,button2Display:w,buttonHref2:O,buttonText2:j,buttonColor2:S,buttonBg2:M,containerHt:k}=e;return(0,s.jsx)("div",{className:"InnovationLab-wrapper-2",id:t,style:{display:"flex",alignContent:"center",flexDirection:"column",height:k||"550px",justifyContent:"space-around",backgroundColor:o||"white"},children:(0,s.jsx)("div",{className:"text-button-wrapper",style:{display:"flex",justifyContent:"center",flexDirection:"column",alignContent:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column",maxWidth:"900px",margin:"auto",padding:"0px 20px"},children:[(0,s.jsx)("div",{style:{backgroundColor:o||"white",lineHeight:"1.5",display:"flex",fontSize:m||"24px",flexDirection:"column",color:h||"black",fontFamily:"Helvetica",marginTop:"20px"},children:(0,s.jsxs)("div",{className:"text-h2s",children:[(0,s.jsx)("h2",{style:{fontSize:"24px",marginBottom:"-40px",fontWeight:"300",display:c||""},children:l}),(0,s.jsx)("h2",{style:{fontWeight:y,display:d||""},children:u}),(0,s.jsx)("h2",{style:{fontWeight:y,display:p,marginTop:"-60px"},children:f})]})}),(0,s.jsx)("div",{style:{marginTop:"-40px",display:n},children:(0,s.jsx)("img",{src:r,alt:"logo-banner",style:{width:`${i}%`}})}),(0,s.jsxs)("div",{className:"buttons-wrapper",style:{display:g,marginTop:"40px"},children:[(0,s.jsx)(a(),{href:v,variant:"contained",style:{backgroundColor:x||"white",color:_||"black",letterSpacing:"2px",fontWeight:500},children:b}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(a(),{href:O,variant:"contained",style:{backgroundColor:M||"white",color:S||"black",display:w,marginLeft:"16
153px",letterSpacing:"2px",fontWeight:500},children:j})]})]})})})}l.label="Innovation Lab 2",l.propTypes={customFields:i().shape({featurePageID:i().string.tag({name:"Give this feature an ID string no spaces to help move to spots around page"}),logoPath:i().string.tag({name:"Logo Path"}),logoDisp:i().string.tag({name:"Logo Div Display",description:"Set to none, flex, block etc"}),size:i().number.tag({name:"Size(%)",description:"To adjust the size of the logo image by percentage. The default is set to 100%"}),bgColor:i().string.tag({name:"Background Color",description:"When adjust the Tallness of image Background Color will show. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),mainText:i().string.tag({name:"Main Text",description:"Copy and Paste main text here"}),displayText1:i().string.tag({name:"Display Prop for Text 1"}),mainText2:i().string.tag({name:"Main Text 2",description:"Copy and Paste main text here"}),displayText2:i().string.tag({name:"Display Prop for Text 2"}),mainText3:i().string.tag({name:"Main Text 3",description:"Copy and Paste main text here"}),displayText3:i().string.tag({name:"Display Prop for Text 3"}),mainTextColor:i().string.tag({name:"Color for Main Text",description:"Use this to chose the of the main text. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),FontWt:i().string.tag({name:"How bold should text be?",description:"Use this to chose the weight of the font. Example inputs: 400"}),textFontSize:i().string.tag({name:"What size should text be example 1rem?"}),buttonHref1:i().string.tag({name:"URL for the first button"}),buttonDisp:i().string.tag({name:"Display property for button group",description:"use none, flex, block, etc"}),buttonText1:i().string.tag({name:"Text for button 1"}),buttonColor1:i().string.tag({name:"Text Color button 1"}),buttonBg1:i().string.tag({name:"Background color button 1"}),button2Display:i().string.tag({name:"Display prop for button 2"}),buttonHref2:i().string.tag({name:"URL for the second button"}),buttonText2:i().string.tag({name:"Text for button 2"}),buttonColor2:i().string.tag({name:"Text Color button 2"}),buttonBg2:i().string.tag({name:"Background color button 2"}),containerHt:i().string.tag({name:"Height of the Main Container",description:"Put in something like: 600px. Default value is 550px"})}).isRequired},t.default=l},52440:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(59271),a=r.n(o),s=r(34766);function l({customFields:e}){const{featurePageID:t,logoPath:r,logoDisp:n,size:i,bgColor:o,mainText1:l,displayText1:c,mainText2:u,displayText2:d,mainText3:f,mainText4:p,mainText5:h,mainText6:m,mainText7:y,mainText8:g,mainText9:v,displayText3:b,displayText4:_,displayText5:x,displayText6:w,displayText7:O,displayText8:j,displayText9:S,mainTextColor:M,textFontSize:k,fontWeight1:P,fontWeight2:T,fontWeight3:E,fontWeight4:C,fontWeight5:L,fontWeight6:A,fontWeight7:D,fontWeight8:I,fontWeight9:N,buttonDisp:R,buttonHref1:z,buttonText1:F,buttonColor1:B,buttonBg1:Y,button2Display:U,buttonHref2:H,buttonText2:$,buttonColor2:W,buttonBg2:V,containerHt:q}=e;return(0,s.jsx)("div",{className:"InnovationLab-wrapper-3",id:t,style:{display:"flex",alignContent:"center",flexDirection:"column",height:q||"550px",justifyContent:"space-around",backgroundColor:o||"white"},children:(0,s.jsx)("div",{className:"text-button-wrapper",style:{display:"flex",justifyContent:"center",flexDirection:"column",alignContent:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column",maxWidth:"640px",margin:"auto",padding:"20px"},children:[(0,s.jsx)("div",{style:{display:n},children:(0,s.jsx)("img",{src:r,alt:"logo-banner",style:{width:`${i}%`}})}),(0,s.jsxs)("div",{style:{backgroundColor:o||"white",lineHeight:"1.6",display:"flex",fontSize:k||"24px",flexDirection:"column",color:M||"black",fontFamily:"Georgia"},children:[(0,s.jsx)("h2",{style:{marginTop:"40px",fontSize:"22px",fontWeight:P,display:c||"",color:"#333333",lineHeight:"40px",fontFamily:"Helvetica",letterSpacing:"2px"},children:l}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:T,display:d||""},children:u}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:E,display:b||""},children:f}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:C,display:_||""},children:p}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:L,display:x||""},children:h}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:A,display:w||""},children:m}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:D,display:O||""},children:y}
153),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:I,display:j||""},children:g}),(0,s.jsx)("h2",{style:{color:"#333333",fontWeight:N,display:S||""},children:v})]}),(0,s.jsxs)("div",{className:"buttons-wrapper",style:{display:R},children:[(0,s.jsx)(a(),{href:z,variant:"contained",style:{backgroundColor:Y||"white",color:B||"black"},children:F}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(a(),{href:H,variant:"contained",style:{backgroundColor:V||"white",color:W||"black",display:U},children:$})]})]})})})}l.label="Innovation Lab 3",l.propTypes={customFields:i().shape({featurePageID:i().string.tag({name:"Give this feature an ID string no spaces to help move to spots around page"}),logoPath:i().string.tag({name:"Logo Path"}),logoDisp:i().string.tag({name:"Logo Div Display",description:"Set to none, flex, block etc"}),size:i().number.tag({name:"Size(%)",description:"To adjust the size of the logo image by percentage. The default is set to 100%"}),bgColor:i().string.tag({name:"Background Color",description:"When adjust the Tallness of image Background Color will show. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),mainText1:i().string.tag({name:"Main Text",description:"Copy and Paste main text 1 here"}),fontWeight1:i().string.tag({name:"Font weight text 1",description:"Font weight text 1"}),displayText1:i().string.tag({name:"Display Prop for Text 1"}),mainText2:i().string.tag({name:"Main Text 2",description:"Copy and Paste main text 2 here"}),fontWeight2:i().string.tag({name:"Font weight text 2",description:"Font weight text 2"}),displayText2:i().string.tag({name:"Display Prop for Text 2"}),mainText3:i().string.tag({name:"Main Text 3",description:"Copy and Paste main 3 text here"}),displayText3:i().string.tag({name:"Display Prop for Text 3"}),fontWeight3:i().string.tag({name:"Font weight text 3",description:"Font weight text 3"}),mainText4:i().string.tag({name:"Main Text 4",description:"Copy and Paste main 4 text here"}),displayText4:i().string.tag({name:"Display Prop for Text 4"}),fontWeight4:i().string.tag({name:"Font weight text 4",description:"Font weight text 4"}),mainText5:i().string.tag({name:"Main Text 5",description:"Copy and Paste main 5 text here"}),displayText5:i().string.tag({name:"Display Prop for Text 5"}),fontWeight5:i().string.tag({name:"Font weight text 5",description:"Font weight text 5"}),mainText6:i().string.tag({name:"Main Text 6",description:"Copy and Paste main 6 text here"}),displayText6:i().string.tag({name:"Display Prop for Text 6"}),fontWeight6:i().string.tag({name:"Font weight text 6",description:"Font weight text 6"}),mainText7:i().string.tag({name:"Main Text 7",description:"Copy and Paste main text 7 here"}),displayText7:i().string.tag({name:"Display Prop for Text 7"}),fontWeight7:i().string.tag({name:"Font weight text 7",description:"Font weight text 7"}),mainText8:i().string.tag({name:"Main Text 8",description:"Copy and Paste main text 8 here"}),displayText8:i().string.tag({name:"Display Prop for Text 8"}),fontWeight8:i().string.tag({name:"Font weight text 8",description:"Font weight text 8"}),mainText9:i().string.tag({name:"Main Text 9",description:"Copy and Paste main text 8 here"}),displayText9:i().string.tag({name:"Display Prop for Text 9"}),fontWeight9:i().string.tag({name:"Font weight text 9",description:"Font weight text 9"}),mainTextColor:i().string.tag({name:"Color for Main Text",description:"Use this to chose the of the main text. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),FontWt1:i().string.tag({name:"How bold should text be?",description:"Use this to chose the weight of the font. Example inputs: 400"}),textFontSize:i().string.tag({name:"What size should text be example 1rem?"}),buttonHref1:i().string.tag({name:"URL for the first button"}),buttonDisp:i().string.tag({name:"Display property for button group",description:"use none, flex, block, etc"}),buttonText1:i().string.tag({name:"Text for button 1"}),buttonColor1:i().string.tag({name:"Text Color button 1"}),buttonBg1:i().string.tag({name:"Background color button 1"}),button2Display:i().string.tag({name:"Display prop for button 2"}),buttonHref2:i().string.tag({name:"URL for the second button"}),buttonText2:i().string.tag({name:"Text for button 2"}),buttonColor2:i().string.tag({name:"Text Color button 2"}
153),buttonBg2:i().string.tag({name:"Background color button 2"}),containerHt:i().string.tag({name:"Height of the Main Container",description:"Put in something like: 600px. Default value is 550px"})}).isRequired},t.default=l},55044:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(59271),a=r.n(o),s=r(34766);function l({customFields:e}){const{featurePageID:t,logoPath:r,logoDisp:n,size:i,bgColor:o,mainText:l,displayText1:c,mainText2:u,displayText2:d,mainText3:f,displayText3:p,mainTextColor:h,textFontSize:m,FontWt:y,buttonDisp:g,buttonHref1:v,buttonText1:b,buttonColor1:_,buttonBg1:x,button2Display:w,buttonHref2:O,buttonText2:j,buttonColor2:S,buttonBg2:M,containerHt:k}=e;return(0,s.jsx)("div",{className:"InnovationLab-wrapper",id:t,style:{display:"flex",alignContent:"center",flexDirection:"column",height:k||"550px",justifyContent:"space-around",backgroundColor:o||"white"},children:(0,s.jsx)("div",{className:"text-button-wrapper",style:{display:"flex",justifyContent:"center",flexDirection:"column",alignContent:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column",maxWidth:"700px",margin:"auto",padding:"0px 20px"},children:[(0,s.jsx)("div",{style:{display:n},children:(0,s.jsx)("img",{src:r,alt:"logo-banner",style:{width:`${i}%`}})}),(0,s.jsxs)("div",{style:{backgroundColor:o||"white",lineHeight:"1.5",display:"flex",fontSize:m||"24px",flexDirection:"column",color:h||"black",fontFamily:"Helvetica"},children:[(0,s.jsx)("h2",{style:{fontWeight:y,display:c||""},children:l}),(0,s.jsx)("h2",{style:{fontWeight:y,display:d||""},children:u}),(0,s.jsx)("h2",{style:{fontWeight:y,display:p||""},children:f})]}),(0,s.jsxs)("div",{className:"buttons-wrapper",style:{display:g},children:[(0,s.jsx)(a(),{href:v,variant:"contained",style:{backgroundColor:x||"white",color:_||"black"},children:b}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(a(),{href:O,variant:"contained",style:{backgroundColor:M||"white",color:S||"black",display:w},children:j})]})]})})})}l.label="Innovation Lab",l.propTypes={customFields:i().shape({featurePageID:i().string.tag({name:"Give this feature an ID string no spaces to help move to spots around page"}),logoPath:i().string.tag({name:"Logo Path"}),logoDisp:i().string.tag({name:"Logo Div Display",description:"Set to none, flex, block etc"}),size:i().number.tag({name:"Size(%)",description:"To adjust the size of the logo image by percentage. The default is set to 100%"}),bgColor:i().string.tag({name:"Background Color",description:"When adjust the Tallness of image Background Color will show. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),mainText:i().string.tag({name:"Main Text",description:"Copy and Paste main text here"}),displayText1:i().string.tag({name:"Display Prop for Text 1"}),mainText2:i().string.tag({name:"Main Text 2",description:"Copy and Paste main text here"}),displayText2:i().string.tag({name:"Display Prop for Text 2"}),mainText3:i().string.tag({name:"Main Text 3",description:"Copy and Paste main text here"}),displayText3:i().string.tag({name:"Display Prop for Text 3"}),mainTextColor:i().string.tag({name:"Color for Main Text",description:"Use this to chose the of the main text. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),FontWt:i().string.tag({name:"How bold should text be?",description:"Use this to chose the weight of the font. Example inputs: 400"}),textFontSize:i().string.tag({name:"What size should text be example 1rem?"}),buttonHref1:i().string.tag({name:"URL for the first button"}),buttonDisp:i().string.tag({name:"Display property for button group",description:"use none, flex, block, etc"}),buttonText1:i().string.tag({name:"Text for button 1"}),buttonColor1:i().string.tag({name:"Text Color button 1"}),buttonBg1:i().string.tag({name:"Background color button 1"}),button2Display:i().string.tag({name:"Display prop for button 2"}),buttonHref2:i().string.tag({name:"URL for the second button"}),buttonText2:i().string.tag({name:"Text for button 2"}),buttonColor2:i().string.tag({name:"Text Color button 2"}
153),buttonBg2:i().string.tag({name:"Background color button 2"}),containerHt:i().string.tag({name:"Height of the Main Container",description:"Put in something like: 600px. Default value is 550px"})}).isRequired},t.default=l},87147:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsxs)("div",{className:"innovation-staff",style:{maxWidth:"1200px",marginLeft:"auto",marginRight:"auto"},children:[(0,n.jsx)("h1",{style:{marginLeft:"16px",marginTop:"100px",fontFamily:"Helvetica",fontWeight:"24px",letterSpacing:"2px",marginBottom:"0px"},children:"OUR TEAM"}),(0,n.jsx)("div",{className:"row",children:[{id:1,name:"Sofia Jeremias",title:"Innovation Lab Reporter",bio:"Sofia Jeremias focuses on solutions-oriented stories for the Innovation Lab. She reports on health care, housing, and homelessness. She earned her master's degree from the Columbia Journalism School and previously reported on the West for WyoFile and the Deseret News.",contactName:"Sofia",email:"[email protected]",photo:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/NWCSE4WPQRAN7PNE4MMHSRIK44.jpg"},{id:2,name:"Megan Banta",title:"Data Enterprise Reporter",bio:"Megan Banta takes a data-driven approach to her solutions-based journalism. She works in collaboration with the nonprofit Kem C. Gardner Policy Institute, and also mines data from many other sources. She has been a government watchdog reporter with the Eugene (Ore.) Register-Guard, and a reporter at the Lansing (Mich.) State Journal and The Bloomington (Ind.) Herald-Times. Megan graduated with a BA degree in journalism from Franklin College in Indiana.",contactName:"Megan",email:"[email protected]",photo:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/BBP25N7DIVD5BB4A243JT5U2YY.jpg"}].map(e=>(0,n.jsx)("div",{className:"column",children:(0,n.jsx)("div",{style:{height:"100%"},className:"card",children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("h2",{className:"staff-name",children:e.name}),(0,n.jsx)("p",{className:"title",children:e.title}),(0,n.jsx)("div",{className:"thumbnail",children:(0,n.jsx)("img",{className:"reporter-image",src:e.photo,alt:"Reporter"})}),(0,n.jsx)("p",{className:"bio",children:e.bio}),(0,n.jsxs)("p",{children:["Contact",` ${e.contactName}: `,(0,n.jsx)("a",{href:`mailto: ${e.email}`,children:e.email})]})]})})},1))})]})}i.label="innovation staff",t.default=i},55038:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(59626),o=r.n(i),a=r(34766);function s(){return(0,n.useEffect)(()=>{const e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://magnetapi.klangoo.com/w/Widgets_397.js";const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},[]),(0,a.jsx)("div",{children:(0,a.jsx)(o(),{id:"klangoo-widget",children:(0,a.jsx)("div",{"data-widget-id":"recom_397-1"})})})}s.label="Klangoo Widget",t.default=s},49912:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(74043),s=r.n(a),l=r(34766);function c(){return(0,l.jsx)(l.Fragment,{children:"Latest Articles not available"})}function u(e,t,r){const n=(e=>e.taxonomy&&e.taxonomy.sites.length>1?`${e.taxonomy.sites.map(e=>e.name).join(" + ")}`:`${e.taxonomy.sites[0].name}`)(e),i=e.headlines.basic,o=(a=e[t||"display_date"],s()(a).fromNow());var a;const c=(u=e).credits&&u.credits.by.length>1?`By ${u.credits.by.map(e=>e.name).join(" | ")}`:`By ${u.credits.by[0].name}`;var u;return(0,l.jsx)("div",{className:"col col-12 col-sm-12 col-md-4 col-lg-4 feed-item","data-article":"item",children:(0,l.jsxs)("a",{href:e.website_url,className:"d-flex position-relative w-100 article-link",children:[(0,l.jsx)("div",{className:"feed-item-num d-flex align-items-center justify-content-center",children:(0,l.jsx)("span",{className:"num-span helv-bold latest-color-dark","data-article":"index",children:r+1})}),(0,l.jsxs)("div",{className:"feed-item-content d-flex flex-column align-self-stretch justify-content-between w-100",children:[(0,l.jsxs)("div",{className:"section-and-title d-flex flex-column",children:[(0,l.jsx)("span",{className:"helv-bold feed-item-section text-uppercase news-color","data-article":"sites",children:n}),(0,l.jsx)("h3",{className:"feed-item-title","data-article":"title",children:i})]}),(0,l.jsxs)("div",{className:"author-container",children:[(0,l.jsx)("span",{"data-article":"by",className:"byline",children:c}),(0,l.jsx)("span",{className:"dot",children:"·"}),(0,l.jsx)("span",{className:"top-story-date","data-article":"date",children:o})]})]})]})},e._id)}function d({customFields:e}){const{dataConfig:t,dateType:r}=e;if(!t)return(0,l.jsx)(c,{});const{contentService:n,contentConfigValues:i}=t,a=(0,o.useContent)({source:n,query:i});return a&&a.content_elements&&0!==a.content_elements.length?(0,l.jsx)("div",{className:"latest-articles container",children:(0,l.jsx)("div",{className:"row",children:a.content_elements.map((e,t)=>u(e,r,t))})}):(0,l.jsx)(c,{})}d.label="Latest Articles",d.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),dateType:i().oneOf(["last_updated_date","display_date","publish_date"])}).isRequired},t.default=d},34176:function(e,t,r){"use strict";r.r(t);var n=r(39765),i=r(59271),o=r.n(i),a=r(34766);const s={root:"LegalNotices-root"},l=(0,n.styled)("div")(({theme:e})=>({[`& .${s.root}`]:{"& > *":{margin:e.spacing(1)}}}));function c(){return(0,a.jsx)(l,{className:"legal-notices-container",children:(0,a.jsx)("div",{id:"container",children:(0,a.jsxs)("div",{id:"mainContent",children:[(0,a.jsx)("h1",{className:"heading",children:"Submit A Legal Notice"}),(0,a.jsxs)("p",{children:["To Submit A Legal or Public Notice in Legal Liner Format or Display Format. Please send an email with the following information to:",(0,a.jsxs)("a",{href:"mailto:[email protected]",className:"links",children:[(0,a.jsx)("br",{}),"[email protected]"]})]}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:"The names, address and telephone number of the billing party"}),(0,a.jsx)("li",{children:"Your name and contact information (if different than billing party)"}),(0,a.jsx)("li",{children:"The day or days you want the notice to publish"}),(0,a.jsx)("li",{children:"Which newspaper you want notice published in- Deseret News, The Salt Tribune or both."}),(0,a.jsx)("li",{children:"If you require a price quote. (Any request to publish without request for quote prior to publication will be published if we are not contacted within a reasonable period of time before first publication)"}),(0,a.jsx)("li",{children:"A document attachment containing the text and format (if special formatting required)"})]}),(0,a.jsxs)("p",{children:["You may also fax your publication request to 801-204-6292 Attn: Legal Notices Department. Please call us at",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801-204-6245"})," to ensure receipt."]}),(0,a.jsx)("h6",{className:"major-heading",children:"Contact Us"}),(0,a.jsxs)("p",{children:["For rates and other information about Utah Media Group Legal and Public Notices contact us directly at",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"})," or send us an email:",(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"links",children:"[email protected]"}),"."]}),(0,a.jsx)("h6",{className:"major-heading",children:"Deadlines (Standard Non-Holiday--Non Display)"}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:" Monday - 12 Noon for Thursday Publication"}),(0,a.jsx)("li",{children:"Tuesday - 12 Noon for Friday Publication"}),(0,a.jsx)("li",{children:"Wednesday - 12 Noon for Saturday/Sunday Publication"}),(0,a.jsx)("li",{children:"Thursday - 12 Noon for Monday Publication"}),(0,a.jsx)("li",{children:"Monday - 12 Noon for Thursday Publication"}),(0,a.jsx)("li",{children:"Friday - 12 Noon for Tuesday/Wednesday Run"})]}),(0,a.jsxs)("p",{children:["*These deadlines are a guideline only. It is now possible to have Notices published with one- or two-day advance notice. Any Notice requiring publication outside standard deadlines requires proof to customer and approval (if required) by Noon prior to first publication - with the exception of Sunday or Monday publications - which must be requested and approved by 12:00 Noon Friday. PLEASE NOTE: Notices or adds in display format require additional time for development and placement. Please",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" contact us"})," for further information or questions."]}),(0,a.jsx)("h6",{className:"major-heading",children:"Value Statement"}),(0,a.jsx)("p",{children:"Public and Legal Notices inform citizens of the everyday activities of government. From spending to developing new policies, it is important for people to be informed of actions taken by public officials that affect citizens' everyday lives. Public Notices are essential to a democracy and an informed citizenry."}),(0,a.jsx)("br",{}),(0,a.jsx)("hr",{}),(0,a.jsx)("br",{}),(0,a.jsx)("h6",{className:"major-heading",children:"Utah Media Group: OneStop Solution for Legal and Public Notices"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Simplify your Ordering and Payable Processes"})," by using a single provider to publish all of your notices. Utah Media Group qualifies for meeting general circulation requirements in more Utah counties (24 out of 29) than any other newspapers as required by Utah Code 45-1-101."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Pricing you can count on"})," Same price for each day of the week for either Deseret News or The Salt Lake Tribune, our flat pricing across the state reduces confusion and creates a single point-of-contact. Call",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801-204-6245"})," for custom pricing."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Our Value Proposition"})," At Utah Media Group we strive to provide the highest value possible by using publishing practices that keep your costs down and reach the widest audience possible every day of the week with largest reach in the state."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Confirmation and quote"})," Receive an order confirmation and formal quote within 24 hours of Request for Publication or Quote."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Affidavit of publication"})," Receive proof of publication, including formal tear sheet of ad, within 7-10 business days of the completion of the final publishing date. Digital copies are also available!"]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Deadlines"})," By listening to our clients needs we have created the capability to accommodate a request for next day - or day after publication without any additional fees or costs."]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Online Access"})," All of our Legal and Public Notices are available on-line  ",(0,a.jsx)("a",{href:"https://www.sltrib.com/",children:"SLTrib.com"})," - Utah's #1 News Website at no cost"]}),(0,a.jsx)("h6",{className:"major-heading",children:"Customer Care Contacts"}),(0,a.jsxs)("ul",{className:"smaller-li",children:[(0,a.jsxs)("li",{className:"small-li",children:["For Questions or Correspondence on New or Existing Notices:",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"links",children:"[email protected]"})]}),(0,a.jsxs)("li",{className:"small-li",children:["To Pay for Individual Notices by Credit Card:",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"})," For security purposes do not fax or email credit card information"]}),(0,a.jsxs)("li",{className:"small-li",children:["Credit Department / Statement Questions / Payment:",(0,a.jsx)("a",{href:"tel:801-204-6910",className:"links",children:" 801.204.6910"})]}),(0,a.jsxs)("li",{className:"small-li",children:["Affidavits Proof of Publication/Invoices:",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"})]}),(0,a.jsxs)("li",{className:"small-li",children:["For Legal Services Advertising:",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"[email protected]",className:"links",children:"[email protected]"})]}),(0,a.jsx)("li",{className:"small-li",children:"Legal Notices Department FAX: 801.204.6292"}),(0,a.jsxs)("li",{className:"small-li",children:["Circulation & Readership Questions:",(0,a.jsx)("a",{href:"tel:801-204-6245",className:"links",children:" 801.204.6245"}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"[email protected]",className:"links",children:"[email protected]"})]})]}),(0,a.jsx)("br",{}),(0,a.jsx)("hr",{}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:s.root,children:[(0,a.jsx)(o(),{href:"https://local.sltrib.com/legal-notices/Legal-Notices-and-Advertising.pdf",variant:"outlined",color:"default",children:"LEGAL NOTICES"}),(0,a.jsx)(o(),{href:"https://utahmediagroup.com/",variant:"outlined",color:"default",children:"UTAH MEDIA GROUP"}),(0,a.jsx)(o(),{href:"https://local.sltrib.com/legal-notices/SLTRIB-LEGAL-NOTICES-TEAR-SHEET-1-15.pdf",variant:"outlined",color:"default",children:"SAMPLE LEGAL NOTICE"})]}),(0,a.jsx)("br",{}),(0,a.jsx)("hr",{}),(0,a.jsx)("br",{})]})})})}c.label="Z Legal Notices",t.default=c},178:function(e,t,r){"use strict";r.r(t);var n=r(39765),i=r(4321),o=r(19894),a=r.n(o),s=r(72125),l=r.n(s),c=r(92749),u=r.n(c),d=r(85013),f=r.n(d),p=r(79304),h=r.n(p),m=r(40775),y=r.n(m),g=r(903),v=r.n(g),b=r(72155),_=r.n(b),x=r(14355),w=r.n(x),O=r(34766);const j="UtahLegBill",S={root:`${j}-root`,table:`${j}-table`,paper:`${j}-paper`},M=(0,n.styled)("div")(({theme:e})=>({[`& .${S.root}`]:{flexGrow:1},[`& .${S.table}`]:{minWidth:650},[`& .${S.paper}`]:{padding:e.spacing(2),textAlign:"center",color:e.palette.text.secondary,height:"100%",display:"flex",alignItems:"center"}}));function k(){const{globalContent:e}=(0,i.useAppContext)(),t=e,r=t?.actionhistory,n=[{apiAction:"House/ passed 3rd reading",displayAction:"House Passed"},{apiAction:"Senate/ passed 3rd reading",displayAction:"Senate Passed"},{apiAction:"Senate/ passed 2nd & 3rd readings/ suspension",displayAction:"Senate Passed"},{apiAction:"Governor Signed",displayAction:"Governor Signed"}];return(0,O.jsxs)(M,{className:"main-legislation-bill",children:[(0,O.jsx)("input",{className:"back-button",type:"button",onClick:()=>{window.location.href="/utah-bill-tracker"},value:"Go Back to Table"}),(0,O.jsx)("h1",{children:`${t?.bill}: ${t?.shorttitle}`}),(0,O.jsx)("div",{className:"action-histories",children:t?.actionhistory.reverse().reduce((e,t)=>
153(-1===e.findIndex(e=>e.action===t.action)&&e.push(t),e),[]).map(e=>{const t=n.find(t=>t.apiAction===e.action);return t?(0,O.jsxs)("div",{className:"action-step",children:[(0,O.jsx)("div",{className:"step-title",children:(0,O.jsx)("p",{children:`â
${t.displayAction}`})}),(0,O.jsx)("div",{className:"step-date",children:new Date(e?.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]}):null})}),(0,O.jsx)("div",{children:(0,O.jsx)("span",{children:t?.generalprovisions})}),(0,O.jsx)("hr",{}),(0,O.jsxs)("div",{children:[(0,O.jsx)("div",{className:"sponsor",children:(0,O.jsx)("span",{children:`Sponsor: ${t?.sponsor.formatName||"No sponsor available"}, Party: ${t?.sponsor.party||"No Party available"}`})}),(0,O.jsx)("div",{className:"summary",children:(0,O.jsxs)("figure",{children:[(0,O.jsx)("p",{children:`Summary: ${t?.summary||"No summary available."}`}),(0,O.jsx)("figcaption",{className:"figure-caption",children:"Summaries are created in partnership with Seer, which uses artificial intelligence to simplify each billâs language."})]})})]}),(0,O.jsx)("div",{className:S.root,children:(0,O.jsxs)(w(),{container:!0,spacing:1,children:[(0,O.jsx)(w(),{item:!0,xs:12,sm:6,children:(0,O.jsxs)(_(),{className:S.paper,children:[(0,O.jsx)("p",{children:"Full Bill Text:Â "}),(0,O.jsx)("a",{href:t?.pdf,target:"_blank",rel:"noreferrer",className:"bill-text",children:"Available here"})]})}),(0,O.jsx)(w(),{item:!0,xs:12,sm:6,children:(0,O.jsx)(_(),{className:S.paper,children:(0,O.jsx)("p",{children:`Attorney: ${t?.attorney||"No attorney available."}`})})}),(0,O.jsx)(w(),{item:!0,xs:12,sm:6,children:(0,O.jsx)(_(),{className:S.paper,children:(0,O.jsx)("p",{children:`Fiscal Analyst: ${t?.fiscalanalyst||"No Fiscal Analyst Available"}`})})})]})}),(0,O.jsxs)("div",{className:"legeslative-actions",children:[(0,O.jsx)("h3",{children:"Legislative Actions"}),(0,O.jsx)(h(),{component:_(),children:(0,O.jsxs)(l(),{className:S.table,"aria-label":"simple table",children:[(0,O.jsx)(y(),{children:(0,O.jsxs)(v(),{children:[(0,O.jsx)(f(),{children:"Date"}),(0,O.jsx)(f(),{children:"Action"})]})}),(0,O.jsx)(u(),{children:r?.sort((e,t)=>new Date(t.date)-new Date(e.date)).map((e,t)=>(0,O.jsxs)(v(),{children:[(0,O.jsx)(f(),{children:new Date(e?.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),(0,O.jsx)(f(),{children:e?.action})]},t))})]})})]}),(0,O.jsxs)("div",{className:"donation-ask",children:[(0,O.jsx)("h3",{className:"ask-title",children:"Help Utahns have access to trusted reporting this election year"}),(0,O.jsxs)("p",{className:"ask-description",children:["The Salt Lake Tribuneâs election coverage is free during the 2024 primaries thanks to the generous support of",(0,O.jsx)("a",{href:"https://www.sltrib.com/election-reporting-supporters/",target:"_blank",rel:"noreferrer",children:(0,O.jsx)("em",{children:" donors. "})}),"Join them with a gift to our independent, nonprofit newsroom and ensure we can continue to make this critical reporting free to all Utahns this year."]}),(0,O.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",children:(0,O.jsx)("button",{className:"donate-button",type:"button",children:"Donate now"})})]})]})}k.label="Utah Single Legislation Bill",k.propTypes={customFields:a().shape({config:a().contentConfig()}).isRequired},t.default=k},30003:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r.n(n),o=r(19894),a=r.n(o),s=r(14375),l=r(39765),c=r(72125),u=r.n(c),d=r(92749),f=r.n(d),p=r(85013),h=r.n(p),m=r(40775),y=r.n(m),g=r(55212),v=r.n(g),b=r(79304),_=r.n(b),x=r(34318),w=r.n(x),O=r(35857),j=r.n(O),S=r(903),M=r.n(S),k=r(72155),P=r.n(k),T=r(55702),E=r.n(T),C=r(44906),L=r(4436),A=r(6639),D=r(89588),I=r(83649),N=r.n(I),R=r(34766);const z=[{apiAction:"House/ passed 3rd reading",displayAction:"House"},{apiAction:"Senate/ passed 3rd reading",displayAction:"Senate"},{apiAction:"Senate/ passed 2nd & 3rd readings/ suspension",displayAction:"Senate"},{apiAction:"Governor Signed",displayAction:"Governor"}];function F(e){const t=(0,l.styled)("div")(({theme:e})=>({flexShrink:0,marginLeft:e.spacing(2.5)})),{count:r,page:n,rowsPerPage:i,onPageChange:o}=e,a=(0,l.useTheme)();return(0,R.jsxs)(t,{children:[(0,R.jsx)(E(),{onClick:e=>{o(e,0)},disabled:0===n,"aria-label":"first page",size:"large",children:"rtl"===a.direction?(0,R.jsx)(D.A,{}):(0,R.jsx)(C.A,{})}),(0,R.jsx)(E(),{onClick:e=>{o(e,n-1)},disabled:0===n,"aria-label":"previous page",size:"large",children:"rtl"===a.direction?(0,R.jsx)(A.A,{}):(0,R.jsx)(L.A,{})}),(0,R.jsx)(E(),{onClick:e=>{o(e,n+1)},disabled:n>=Math.ceil(r/i)-1,"aria-label":"next page",size:"large",children:"rtl"===a.direction?(0,R.jsx)(L.A,{}):(0,R.jsx)(A.A,{})}),(0,R.jsx)(E(),{onClick:e=>{o(e,Math.max(0,Math.ceil(r/i)-1))},disabled:n>=Math.ceil(r/i)-1,"aria-label":"last page",size:"large",children:"rtl"===a.direction?(0,R.jsx)(C.A,{}):(0,R.jsx)(D.A,{})})]})}function B({customFields:e}){const{config:t}=e,r=(0,l.styled)(u())({minWidth:500}
153),[o,a]=i().useState(0),[c,d]=i().useState(10),[p,m]=(0,n.useState)([]),[g,b]=(0,n.useState)(""),[x,O]=(0,n.useState)(""),[S,k]=(0,n.useState)(!0),T=(0,s.useContent)({source:t.contentService,query:{query:x}});(0,n.useEffect)(()=>{m(T),k(!1)},[T]);const E=c-Math.min(c,p?.length??0-o*c),C=()=>{O(g),k(!0)};return(0,R.jsxs)("div",{className:"main-legislation-bills",children:[(0,R.jsx)("h1",{children:"2024 Utah Bill Tracker"}),(0,R.jsx)("h2",{children:"The lawmakers and bills of the Utah Legislature"}),(0,R.jsxs)("h3",{children:["A digital guide by The Salt Lake Tribune |"," ",(0,R.jsx)("a",{href:"https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn000005DpLEIA0",target:"_blank",rel:"noreferrer",className:"support-link",style:{color:"#e50815"},children:(0,R.jsx)("em",{children:"Support our Work"})})]}),(0,R.jsxs)("div",{className:"seer-mention",children:[(0,R.jsx)("a",{href:"https://www.withseer.ai/",target:"_blank",rel:"noreferrer",children:(0,R.jsx)("img",{src:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/LI5A6NFNPJBJDBEEUDR4XFO6WY.png",alt:"Seer Logo",width:"60px",height:"20px",style:{margin:"5px"}})}),(0,R.jsx)("h4",{children:"Search through hundreds of bills by issue or number. Click on the bill name to read a summary of the legislation. Summaries are created in partnership with Seer, which uses artificial intelligence to simplify each billâs language."})]}),(0,R.jsxs)("div",{className:"info-box",children:[(0,R.jsx)("a",{href:"https://le.utah.gov/lrgc/billtolaw.pdf",target:"_blank",rel:"noreferrer",children:(0,R.jsx)("em",{children:"How bills move through Utah Legislature"})}),(0,R.jsx)("a",{href:"https://house.utleg.gov/house-members/",target:"_blank",rel:"noreferrer",children:(0,R.jsx)("em",{children:"House Roster"})}),(0,R.jsx)("a",{href:"https://senate.utah.gov/senate-roster/",target:"_blank",rel:"noreferrer",children:(0,R.jsx)("em",{children:"Senate Roster"})})]}),(0,R.jsx)("hr",{}),(0,R.jsxs)("div",{className:"form-options",children:[(0,R.jsx)("input",{placeholder:"Search Bills",value:g,onChange:e=>b(e.target.value),onKeyDown:e=>{"Enter"===e.key&&C()},type:"text"}),(0,R.jsx)("button",{className:"search-button",type:"submit",onClick:async()=>{await C()},children:"Search"}),(0,R.jsx)("p",{children:"Ex: K-12 school funding."})]}),(0,R.jsxs)("div",{children:[(0,R.jsx)("h3",{children:"All Bills"}),(0,R.jsx)(v(),{sx:{overflow:"auto"},children:(0,R.jsx)(v(),{sx:{width:"100%",display:"table",tableLayout:"fixed"},children:(0,R.jsx)(_(),{component:P(),children:(0,R.jsxs)(r,{"aria-label":"custom pagination table",children:[(0,R.jsx)(y(),{children:(0,R.jsxs)(M(),{children:[(0,R.jsx)(h(),{children:"Bill #"}),(0,R.jsx)(h(),{children:"Title"}),(0,R.jsx)(h(),{children:"General Provisions"}),(0,R.jsx)(h(),{children:"Sponsor"}),(0,R.jsx)(h(),{children:"Actions"})]})}),S?(0,R.jsx)(f(),{style:{height:530},children:(0,R.jsx)(h(),{colSpan:6,children:(0,R.jsx)(v(),{sx:{display:"flex",justifyContent:"center"},children:(0,R.jsx)(N(),{})})})}):(0,R.jsxs)(f(),{children:[(c>0?p?.slice(o*c,o*c+c):p)?.map(e=>(0,R.jsxs)(M(),{className:"bill-table-row",onClick:()=>(e=>{window.location.assign(`${window.location.origin}/utah-bill-tracker/${e}`)})(e.bill),children:[(0,R.jsx)(h(),{component:"th",scope:"row",children:e.bill}),(0,R.jsx)(h(),{component:"th",scope:"row",children:e.shorttitle}),(0,R.jsx)(h(),{component:"th",scope:"row",children:e.generalprovisions}),(0,R.jsx)(h(),{component:"th",scope:"row",children:e.sponsor.formatName}),(0,R.jsx)(h(),{component:"th",scope:"row",children:(0,R.jsx)("ul",{children:e.actionhistory.reduce((e,t)=>(-1===e.findIndex(e=>e.action===t.action)&&e.push(t),e),[]).map(e=>{const t=z.find(t=>t.apiAction===e.action);return t?(0,R.jsxs)("li",{children:["â
",t.displayAction]}):null})})})]},e.trackingid)),E>0&&(0,R.jsx)(M(),{style:{height:53*E},children:(0,R.jsx)(h(),{colSpan:6})})]}),(0,R.jsx)(w(),{children:(0,R.jsx)(M(),{children:(0,R.jsx)(j(),{rowsPerPageOptions:[10,25,{label:"All",value:-1}],colSpan:3,count:p?.length??0,rowsPerPage:c,page:o,slotProps:{select:{inputProps:{"aria-label":"rows per page"},native:!0}},onPageChange:(e,t)=>
153{a(t)},onRowsPerPageChange:e=>{d(parseInt(e.target.value,10)),a(0)},ActionsComponent:F})})})]})})})})]})]})}F.propTypes={count:a().number.isRequired,onPageChange:a().func.isRequired,page:a().number.isRequired,rowsPerPage:a().number.isRequired},t.default=B,B.propTypes={customFields:a().shape({config:a().contentConfig()}).isRequired}},6740:function(e,t,r){"use strict";r.r(t);var n=r(75306),i=r.n(n),o=r(34766);function a(){return(0,o.jsx)("div",{style:{textAlign:"center"},children:(0,o.jsx)(i(),{children:(0,o.jsxs)("p",{children:["Listen to Sent Away on  ",(0,o.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/sent-away/id1612081678",children:"Apple Podcasts"}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)("a",{href:"https://open.spotify.com/show/0MlV9p4QQTOqBuuZMzzXrU",children:"Spotify"}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)("a",{href:"https://radiopublic.com/sent-away-G45xgm",children:"RadioPublic"}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)("a",{href:"https://music.amazon.com/podcasts/0ae8c624-f25d-4e5f-948c-9d13d29b8dbb/sent-away?",children:"Amazon Music"}),"or wherever you get your podcasts."]})})})}a.label="Listen To (sent away)",t.default=a},94451:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const{logoPath:t,size:r,positions:n,bgColor:i,spaceTop:a,spaceBottom:s}=e;return(0,o.jsx)("div",{style:{textAlign:n||"center",backgroundColor:i||"white",paddingTop:a||"0px",paddingBottom:s||"0px",margin:"0px"},children:""!==t?(0,o.jsx)("img",{src:t,alt:"logo-banner",style:{width:r?`${r}vw`:"100vw"}}):(0,o.jsx)("img",{src:"https://local.sltrib.com/innovation_lab/Innovation-Lab-Logo-Hrz.png",alt:"logo-banner-default",style:{width:r?`${r}vw`:"100vw"}})})}a.label="logo-banner",a.propTypes={customFields:i().shape({logoPath:i().string.tag({name:"Logo Path"}),size:i().number.tag({name:"Size(%)",description:"To adjust the size of the logo image by percentage. The default is set to 100%"}),positions:i().oneOf(["left","right","center"]).tag({name:"Positions",description:"Will not see the different if the Size is set to 100%"}),bgColor:i().string.tag({name:"Background Color",description:"When adjust the Tallness of image Background Color will show. Example inputs: red, #CD5C5C, rgb(205, 92, 92)"}),spaceTop:i().string.tag({name:"Space Top",defaultValue:"0px",description:' Style format EX: "3%", "15px", "2rem"'}),spaceBottom:i().string.tag({name:"Space Bottom",defaultValue:"0px",description:' Style format EX: "3%", "15px", "2rem"'})}).isRequired},t.default=a},78201:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var n=r(40809),i=r(19674),o=r.n(i),a=r(14375),s=r(4321),l=r(26858),c=r(23874),u=r(35330),d=r(67711),f=r(15074);let p=0;var h=r(34766);const m=e=>e?"/"!==e[e.length-1]?`${e}/`:e:"#",y=e=>e?(0,l.iM)(e):["","",{caption:""},"",""];function g({customFields:e}){const{globalContent:t,requestUri:r}=(0,s.useAppContext)(),{dataConfig:i,sectionTitle:o,imageFirst:g,sponsorLogo:v,sponsorURL:b}=e,_=i?i.contentService:"",x=i?i.contentConfigValues:"",w=(0,a.useContent)({source:_,query:x}),O=w?w.content_elements:t.content_elements,j=w||t.content_elements?O:u.A,S=j.length>4?j.slice(0,4):j,M=g?(0,l.xL)(S):S,k=M[0],P=M[1],T=M[2],E=M[3],C=k&&k.taxonomy&&k.taxonomy.primary_section?k.taxonomy.primary_section.name:"",[L,A,D,I,N]=y(k),[R,z,F,B,Y]=y(P),[U,H]=y(T),[$,W]=y(E),V=m(A),q=m(z),G=m(H),Z=m(W),X=r&&r.includes("/tag/")?(e=>{const t=e.replace("/tag/","");return"/"===t[t.length-1]?t.replace("/",""):t})(r):void 0,J=D?.auth?.[1]?(0,c.L)(600,400,(0,l.Jg)(k),D.auth[1],D?.owner?.id,D):null,K=F?.auth?.[1]?(0,c.L)(400,267,(0,l.Jg)(P),F.auth[1],F?.owner?.id,F):null,Q=Boolean(J&&!J.includes("placeholder")),ee=Boolean(K&&!K.includes("placeholder")),[te]=(0,n.useState)((()=>{if(e.subHeaderContent&&""!==e.subHeaderContent)try{return JSON.parse(e.subHeaderContent)}catch(e){return[]}return[]})()),re=()=>{const{pageYOffset:e}=(0,f.Qo)();(e=>{let t=!1;const r=document.getElementById("subheader-menu");if(r){const n=r.offsetTop,i=(0,f.Ur)();let o=0;"mobile"===i&&(o=82),"tablet"===i&&(o=122),"desktop"===i&&(o=282),1===e&&(p=n),p<=32&&0===n&&e>o&&(p=o),e>n&&(r?(r.classList.add("submenu-sticky"),t=!0):t=!1),e<=p&&r&&r.classList.remove("submenu-sticky")}window})(e),(e=>{const t=document.getElementById("subheader-menu");t&&(e-282>=72?t.classList.add("animate"):t.classList.remove("animate"))})(e)};return(0,n.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("scroll",re),()=>window.removeEventListener("scroll",re)),[]),(0,h.jsxs)("div",{className:"main-stories-section-page",children:[(0,h.jsxs)("div",{className:"title-container",children:[(0,h.jsxs)("div",{className:"title-and-logo",children:[(0,h.jsx)("h1",{className:"title",children:o||X||C}),v&&b&&(0,h.jsx)("a",{href:b,children:(0,h.jsx)("img",{src:v,alt:"Sponsor Logo",width:"90",height:"40",className:"logo-sponsor"})})]}),(0,h.jsx)("div",{className:"subheader-menu",id:"subheader-menu",children:(0,h.jsx)(d.A,{items:te})})]}),(0,h.jsxs)("div",{className:"row",children:[k&&(0,h.jsxs)("div",{className:"col-12 col-md-7 col
153-lg-9 main-story section",children:[(0,h.jsx)("a",{href:V,children:(0,h.jsxs)("div",{className:"row",children:[Q&&(0,h.jsx)("div",{className:"col-12 col-lg-8",children:(0,h.jsx)("img",{src:J,alt:D.caption,width:"600",height:"400"})}),(0,h.jsxs)("div",{className:Q?"col-12 col-lg-4 main-story-text left-pad":"col-12 main-story-text",children:[(0,h.jsx)("h2",{children:L}),(0,h.jsxs)("p",{children:[(0,h.jsx)("span",{children:`${I} | `}),(0,h.jsx)("span",{className:"date",children:N})]})]})]})}),(0,h.jsx)("div",{className:"horizontal-separator first-separator hidden-md-up"})]}),(0,h.jsxs)("div",{className:"col-12 col-md-5 col-lg-3 secondary-stories section",children:[P&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("a",{href:q,children:[ee&&(0,h.jsx)("img",{src:K,alt:F.caption,width:"400",height:"267"}),(0,h.jsx)("h3",{children:R}),(0,h.jsxs)("p",{children:[(0,h.jsx)("span",{children:`${B} | `}),(0,h.jsx)("span",{className:"date",children:Y})]})]}),(0,h.jsx)("div",{className:"horizontal-separator"})]}),T&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("a",{href:G,children:(0,h.jsx)("h3",{children:U})}),(0,h.jsx)("div",{className:"horizontal-separator"})]}),E&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("a",{href:Z,children:(0,h.jsx)("h3",{children:$})}),(0,h.jsx)("div",{className:"horizontal-separator hidden-md-up"})]})]}),(0,h.jsx)("div",{className:"col-12 section hidden-md-down",children:(0,h.jsx)("div",{className:"horizontal-separator",style:{margin:0}})})]})]})}g.label="Main Stories Section Page",g.defaultProps={customFields:{}},g.propTypes={customFields:o().shape({sectionTitle:o().string.tag({name:"Section title",description:"e.g. SPORTS, RELIGION,"}),sponsorLogo:o().string.tag({name:"Image URL for sponsor logo"}),sponsorURL:o().string.tag({name:"URL for sponsor logo"}),subHeaderContent:o().string.tag({name:"Sub Header Content"}),imageFirst:o().bool.tag({name:"Place image first",description:"Swap position with another article if the first one has no image"}),dataConfig:o().contentConfig("stories")})};var v=g},12453:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(34766);function o(){const{globalContent:e}=(0,n.useAppContext)(),t=e&&e.headlines?e.headlines:void 0,r=e&&e.subheadlines?e.subheadlines:void 0,o="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",a=t?t.basic:o,s=r?r.basic:o;return(0,i.jsxs)("div",{className:"map-article-headlines",children:[(0,i.jsx)("h1",{className:"article-headline",children:a}),(0,i.jsx)("h2",{className:"article-subheadline",children:s})]})}o.label="Map Article Headlines",o.defaultProps={customFields:{}},t.default=o},14589:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(14375),o=r(19894),a=r.n(o),s=r(23322),l=r(15301),c=r.n(l),u=r(34766);function d({customFields:{config:e}}){let t={};t=(0,i.useContent)({source:e.contentService,query:e.contentConfigValues});
153const r=(0,n.useRef)(null),o=(0,n.useRef)(null),[a,l]=(0,n.useState)(-96),[d,f]=(0,n.useState)(37.8),[p,h]=(0,n.useState)(3);c().accessToken=t.MAPBOXGL_ACCESS_TOKEN;const[m,y]=(0,n.useState)(!1),g=e=>{const t=e.features[0].geometry.coordinates.slice(),r=e.features[0].properties.Acreage,n=e.features[0].properties.City,i=e.features[0].properties.State,a=e.features[0].properties.Address,s=e.features[0].properties.TotalAssessedValue,l=`<p><strong>Address:</strong> ${a} ${n} ${i} <strong>Acreage:</strong> ${r} <strong>Value:</strong> ${+s>0?(u=s,`$${u.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}`):""}</p>`;for(var u;Math.abs(e.lngLat.lng-t[0])>180;)t[0]+=e.lngLat.lng>t[0]?360:-360;new(c().Popup)({closeButton:!1}).setLngLat(t).setHTML(l).addTo(o.current)},v=()=>{o.current.getCanvas().style.cursor="pointer"},b=()=>{o.current.getCanvas().style.cursor=""};return(0,n.useEffect)(()=>{if(!m)return;(async()=>{let e=!0,t="",r=0;const n=[];for(;e;){const i=t.length>0?{lastEvaluatedKey:t}:{},a=await s.A.get("https://7diyzxr62f.execute-api.us-east-1.amazonaws.com/prod/mapDataGeoJson",{params:i});e=a.data.hasLastEvaluatedKey,t=a.data.lastEvaluatedKey,o.current.addSource(`LDS-${r}`,{type:"geojson",data:a.data.geoJson}),o.current.addLayer({id:`LDS-${r}`,type:"symbol",source:`LDS-${r}`,layout:{"icon-image":"marker","icon-size":.5,"icon-allow-overlap":!0},paint:{"icon-color":["match",["get","AssetCategory"],"Agricultural","#7FC97F","Commercial General/Misc.","#7FC97F","Easements/Personal Prop/Other","#BDAED4","Industrial","#FDBF85","Hospital
153ity","#FDBF85","Mixed Use","#FFFF99","Multifamily","#386CB0","Office","#F0027F","Public & Semi-Public","#F0027F","Retail","#BE5B17","Special Purpose","#666666","Vacant Land","#666666","#0E86D4"]}}),n.push(`LDS-${r}`),r>0&&(o.current.off("click",n,g),o.current.off("mouseenter",n,v),o.current.off("mouseleave",n,b)),r+=1,o.current.on("click",n,g),o.current.on("mouseenter",n,v),o.current.on("mouseleave",n,b)}})()},[o.current]),(0,n.useEffect)(()=>{if(o.current||!t.MAPBOXGL_ACCESS_TOKEN)return;o.current=new(c().Map)({container:r.current,style:"mapbox://styles/mapbox/streets-v11",center:[a,d],zoom:p}),o.current.on("move",()=>{l(o.current.getCenter().lng.toFixed(4)),f(o.current.getCenter().lat.toFixed(4)),h(o.current.getZoom().toFixed(2))});const e=new(c().NavigationControl);o.current.addControl(e,"top-right"),o.current.on("load",()=>{o.current.loadImage("https://sltrib-marker-bucket.s3.amazonaws.com/mapbox-marker-icon-20px-blue.png",(e,t)=>{if(e)throw e;o.current.addImage("marker",t,{sdf:!0}),y(!0)})})},[t]),(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{className:"sidebar",children:["Longitude: ",a," | Latitude: ",d," | Zoom: ",p]}),(0,u.jsx)("div",{ref:r,style:{height:"100vh",width:"100vw"}}),(0,u.jsxs)("div",{id:"state-legend",className:"legend",children:[(0,u.jsx)("h4",{children:"Asset Category"}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#7FC97F"}}),"Agricultural"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#7FC97F"}}),"Commercial General/Misc."]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#BDAED4"}}),"Easements/Personal Prop/Other"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#FDBF85"}}),"Hospitality"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#FDBF85"}}),"Industrial"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#FFFF99"}}),"Mixed Use"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#386CB0"}}),"Multifamily"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#F0027F"}}),"Office"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#F0027F"}}),"Public and Semi-Public"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#BE5B17"}}),"Retail"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#666666"}}),"Special Purpose"]}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{backgroundColor:"#666666"}}),"Vacant Land"]})]})]})}d.propTypes={children:a().arrayOf(a().oneOfType([a().node])),customFields:a().shape({config:a().contentConfig()}).isRequired},t.default=d},12649:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s({customFields:e}){const{deployment:t,contextPath:r}=(0,o.useAppContext)(),n=t(`${r}/resources/svg/Trib_masthead_top_000000.svg`),{twitter:i,instagram:s,facebook:l}=e,c=t?t(`${r}/resources/svg/instagram.svg`):"",u=t?t(`${r}/resources/svg/facebook.svg`):"";return(0,a.jsxs)("div",{className:"mastheadv2",children:[(0,a.jsxs)("div",{className:"left",children:[(0,a.jsx)("div",{children:"Pulitzer Prize winner"}),(0,a.jsx)("a",{href:"/donatenow",className:"masthv2donate",children:"DONATE"})]}),(0,a.jsxs)("div",{style:{width:"100%"},children:[(0,a.jsx)("h1",{className:"mastheadv2triblogo",style:{color:"transparent",background:`url("${n}") no-repeat center`,backgroundSize:"500px 285px",height:78,width:"100%",marginTop:0,marginBottom:0},children:"The Salt Lake Tribune"}),(0,a.jsx)("p",{style:{marginTop:0},children:"Truth. Empowerment. Community."})]}),(0,a.jsxs)("div",{className:"right",children:[(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"/newsletters",className:"newslettlink",children:"Newsletter signup"})}),(0,a.jsxs)("div",{className:"row social",children:[(0,a.jsx)("a",{href:s,"data-testid":"sm-instragram",className:"icon",children:(0,a.jsx)("img",{width:"24",height:"24",alt:"sltrib-twitter-link",src:c})}),(0,a.jsx)("a",{href:i,"data-testid":"sm-twitter",className:"icon",children:(0,a.jsx)("img",{src:"https://local.sltrib.com/icons/twitter_logos/t-1.png",alt:"twitter-logo",width:"21",height:"21",style:{backgroundColor:"white"}})}),(0,a.jsx)("a",{href:l,"data-testid":"sm-facebook",className:"icon",children:(0,a.jsx)("img",{width:"24",height:"24",alt:"sltrib-twitter-link",src:u})})]})]})]})}
153s.label="Masthead v2",s.propTypes={customFields:i().shape({twitter:i().string,instagram:i().string,facebook:i().string}).isRequired},t.default=s},62789:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(34766);function s({customFields:e}){const{bgColor:t,textColor:r,spaceTop:n,spaceBottom:i,widthOfscreen:s,buttonText:l,buttonUrl:c,dataPath:u}=e,d=(0,o.useContent)({source:"get-json-data",query:{path:u}});return d&&0!==d.length?(0,a.jsxs)("div",{className:"members-list",style:{maxWidth:s||"1200px",backgroundColor:t||"white",color:r||"black",paddingTop:n||"0px",paddingBottom:i||"0px"},children:[(0,a.jsx)("h1",{style:{fontFamily:"Helvetica",fontWeight:"24px",letterSpacing:"2px",fontSize:"2.3vh"},children:d.title}),(0,a.jsx)("ul",{className:"no-bullets",style:{backgroundColor:t||"white"},children:d.members.map(e=>(0,a.jsx)("li",{style:{fontSize:"1.5vh"},children:(0,a.jsxs)("div",{children:[e.imageUrl?(0,a.jsx)("img",{src:e.imageUrl,alt:e.imageUrl,style:{width:"100%"}}):null,(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{style:{paddingBottom:"0px",marginBottom:"3px",marginTop:"2%"},children:e.name}),(0,a.jsx)("p",{style:{marginTop:"0px",color:"gray",fontStyle:"oblique"},children:e.title})]})]})},e.id))}),l?(0,a.jsx)("div",{style:{paddingTop:"2%"},children:(0,a.jsx)("a",{style:{fontSize:"1.8vh",color:r||"black",backgroundColor:"#ffffff"},href:c,className:"button",children:l})}):null]}):(0,a.jsx)("h1",{children:"not available"})}s.label="Members list",s.propTypes={customFields:i().shape({bgColor:i().string.tag({name:"Background Color",description:'Example inputs: "red", "#CD5C5C", "rgb(205, 92, 92)"'}),textColor:i().string.tag({name:"Text Color",description:'Example inputs: "red", "#CD5C5C", "rgb(205, 92, 92)"'}),widthOfscreen:i().string.tag({name:"Width of Screen",description:'Example inputs: "1200px", "50%", etc',defaultValue:"900px"}),buttonText:i().string.tag({name:"Text for button"}),buttonUrl:i().string.tag({name:"Url for button"}),spaceTop:i().string.tag({name:"Space Top",description:'Example inputs: "1.2rem", "2%", "15px", etc'}),spaceBottom:i().string.tag({name:"Space Bottom",description:'Example inputs: "1.2rem", "2%", "15px", etc'}),dataPath:i().text.tag({name:"Member List Json Path",defaultValue:"https://local.sltrib.com/amplify-utah/members.json"})}).isRequired},t.default=s},84859:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(86247),s=r(34766);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=[1,2,3,4];function f({name:e,badge:t,inheritsLabel:r,benefitsHtml:n,highlight:i,flippayEmbedId:o,url:l,openInNewTab:c}){if(!e)return null;const u=("membership-tiers__card "+(i?"membership-tiers__card--highlight":"")).trim(),d=Bo
153olean(l)&&!o,f=(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)("span",{className:"membership-tiers__card-badge",children:t}),(0,s.jsx)("h3",{className:"membership-tiers__card-name",children:e}),r&&(0,s.jsxs)("div",{className:"membership-tiers__card-inherits","aria-label":r,children:[(0,s.jsx)(a.A,{className:"membership-tiers__card-inherits-icon",fontSize:"inherit","aria-hidden":"true"}),(0,s.jsx)("span",{className:"membership-tiers__card-inherits-label",children:r})]}),n&&(0,s.jsx)("div",{className:"membership-tiers__card-benefits",dangerouslySetInnerHTML:{__html:n}}),o&&(0,s.jsx)("div",{id:o,className:"membership-tiers__card-flippay","data-flippay-tier":e})]});return d?(0,s.jsx)("a",{className:u,href:l,target:c?"_blank":void 0,rel:c?"noopener noreferrer":void 0,children:f}):(0,s.jsx)("div",{className:u,children:f})}f.propTypes={name:o().string,badge:o().string,inheritsLabel:o().string,benefitsHtml:o().string,highlight:o().bool,flippayEmbedId:o().string,url:o().string,openInNewTab:o().bool},f.defaultProps={name:"",badge:"",inheritsLabel:"",benefitsHtml:"",highlight:!1,flippayEmbedId:"",url:"",openInNewTab:!1};const p="Monthly",h="Annual",m="Make a One-Time Contribution",y="If you would like to make a one-time contribution instead of a recurring donation, please click the button below. Thank you for your support!",g="Make a Contribution";function v({customFields:e}){const t=e||{},{heading:r,intro:i,footnote:o,ctaLabel:a,ctaUrl:l,showOneTimeContribution:c,oneTimeHeading:u,oneTimeBody:v,oneTimeButtonLabel:b,oneTimeButtonUrl:_,oneTimeButtonOpenInNewTab:x,monthlyLabel:w,annualLabel:O,defaultBillingPeriod:j}=t,S=d.map(e=>({key:e,nameMonthly:t[`tier${e}Name`],nameAnnual:t[`tier${e}NameAnnual`],badge:t[`tier${e}Badge`],inheritsLabel:t[`tier${e}InheritsLabel`],benefitsHtml:t[`tier${e}BenefitsHtml`],highlight:t[`tier${e}Highlight`],flippayEmbedId:t[`tier${e}FlippayEmbedId`],urlMonthly:t[`tier${e}Url`],urlAnnual:t[`tier${e}UrlAnnual`],openInNewTab:t[`tier${e}OpenInNewTab`]})).filter(e=>e.nameMonthly||e.nameAnnual),M=S.some(e=>e.urlMonthly&&e.urlAnnual||e.nameMonthly&&e.nameAnnual),k="annual"===j?"annual":"monthly",[P,T]=(0,n.useState)(k),E=e=>e.urlMonthly&&e.urlAnnual?"annual"===P?e.urlAnnual:e.urlMonthly:e.urlMonthly||e.urlAnnual,C=e=>"annual"===P?e.nameAnnual||e.nameMonthly:e.nameMonthly||e.nameAnnual,L=w||p,A=O||h;return r||0!==S.length?(0,s.jsxs)("section",{className:"membership-tiers",children:[r&&(0,s.jsx)("h2",{className:"membership-tiers__heading",children:r}),i&&(0,s.jsx)("div",{className:"membership-tiers__intro",dangerouslySetInnerHTML:{__html:i}}),M&&(0,s.jsx)("div",{className:"membership-tiers__billing-toggle-wrap",children:(0,s.jsxs)("div",{className:"membership-tiers__billing-toggle",role:"group","aria-label":"Billing period",children:[(0,s.jsx)("button",{type:"button",className:"membership-tiers__billing-toggle-option"+("monthly"===P?" membership-tiers__billing-toggle-option--active":""),onClick:()=>T("monthly"),"aria-pressed":"monthly"===P,children:L}),(0,s.jsx)("button",{type:"button",className:"membership-tiers__billing-toggle-option"+("annual"===P?" membership-tiers__billing-toggle-option--active":""),onClick:()=>T("annual"),"aria-pressed":"annual"===P,children:A})]})}),S.length>0&&(0,s.jsx)("div",{className:`membership-tiers__cards membership-tiers__cards--count-${S.length}`,children:S.map(e=>(0,s.jsx)(f,{name:C(e),badge:e.badge,inheritsLabel:e.inheritsLabel,benefitsHtml:e.benefitsHtml,highlight:e.highlight,flippayEmbedId:e.flippayEmbedId,url:E(e),openInNewTab:e.openInNewTab},e.key))}),o&&(0,s.jsx)("div",{className:"membership-tiers__footnote",dangerouslySetInnerHTML:{__html:o}}),c&&(0,s.jsxs)("div",{className:"membership-tiers__one-time",children:[(0,s.jsx)("h3",{className:"membership-tiers__one-time-heading",children:u||m}),(0,s.jsx)("div",{className:"membership-tiers__one-time-body",dangerouslySetInnerHTML:{__html:v||y}}),_&&(0,s.jsx)("a",{className:"membership-tiers__one-time-cta",href:_,target:x?"_blank":void 0,rel:x?"noopener noreferrer":void 0,children:b||g})]}),a&&l&&(0,s.jsx)("div",{className:"membership-tiers__cta-wrap",children:(0,s.jsx)("a",{className:"membership-tiers__cta",href:l,children:a})})]}):null}v.label="Membership Tiers";const b=e=>({[`tier${e}Name`]:o().string.tag({label:`Tier ${e} â Name (monthly)`,description:`Tier ${e} headline (e.g., "$5/month" or "Byline â $100/month"). Treated as the MONTHLY name when an Annual name is also configured (the top-level Monthly/Annual toggle then switches between them). Leave blank to hide this tier.`}),[`tier${e}NameAnnual`]:o().string.tag({label:`Tier ${e}
153 â Name (annual)`,description:'Optional. Annual-billing headline (e.g., "$60/year" or "Byline â $1,200/year"). If both monthly and annual names are set for any tier, the top-level "Monthly | Annual" toggle appears above the cards and switches every tier\'s visible name between the two. Tiers with only a monthly name keep that name regardless of the toggle.'}),[`tier${e}Badge`]:o().string.tag({label:`Tier ${e} â Badge`,description:'Optional small ribbon label on the card (e.g., "MOST POPULAR", "BEST VALUE", "RECOMMENDED").'}),[`tier${e}InheritsLabel`]:o().string.tag({label:`Tier ${e} â Inherits-from label`,description:'Optional band shown above the benefits to make it visually obvious this tier includes everything in the prior tier (e.g., "Everything in Byline, plus:"). Leave blank for the lowest tier.'}),[`tier${e}BenefitsHtml`]:o().string.tag({label:`Tier ${e} â Benefits HTML`,description:`Tier ${e} benefits list. HTML allowed â typically a <ul> of bullets.`}),[`tier${e}Highlight`]:o().bool.tag({label:`Tier ${e} â Highlight`,description:`Visually highlight tier ${e} (accent border, used for FAS callout).`,defaultValue:!1}),[`tier${e}FlippayEmbedId`]:o().string.tag({label:`Tier ${e} â Flippay embed ID`,description:`Optional. If a Flippay donate button should live inside tier ${e}'s card, the div id Flippay's script targets. NOTE: if a Flippay embed is set, the per-tier URL is ignored (you can't nest interactive embeds inside a clickable card).`}),[`tier${e}Url`]:o().string.tag({label:`Tier ${e} â Card link URL (monthly)`,description:`Optional. If set, the entire tier ${e} card becomes clickable and routes to this URL. Treated as the MONTHLY URL when an Annual URL is also configured (the top-level Monthly/Annual toggle then switches between them). Ignored if a Flippay embed ID is set.`}),[`tier${e}UrlAnnual`]:o().string.tag({label:`Tier ${e} â Card link URL (annual)`,description:'Optional. Annual-billing destination. If both monthly and annual URLs are set for any tier, a top-level "Monthly | Annual" toggle appears above the cards and switches every tier\'s link between the two. Ignored if a Flippay embed ID is set.'}),[`tier${e}OpenInNewTab`]:o().bool.tag({label:`Tier ${e} â Open link in new tab`,description:`If enabled, clicking the tier ${e} card opens its URL in a new browser tab (target="_blank"). Only applies when Card link URL is set. Off by default.`,defaultValue:!1})});v.propTypes={customFields:o().shape(c(c(c(c(c({heading:o().string.tag({label:"Section heading",description:'e.g., "Member benefits" or "First Amendment Society".'}),intro:o().string.tag({label:"Section intro HTML",description:"Optional intro paragraph above the tier cards. HTML allowed."}),monthlyLabel:o().string.tag({label:"Billing toggle â Monthly label",description:'Text on the "Monthly" side of the billing-period toggle. Only visible when at least one tier has both a monthly and annual variant configured (either name or URL). Defaults to "Monthly".',defaultValue:p}),annualLabel:o().string.tag({label:"Billing toggle â Annual label",description:'Text on the "Annual" side of the billing-period toggle. Defaults to "Annual".',defaultValue:h}),defaultBillingPeriod:o().oneOf(["monthly","annual"]).tag({label:"Billing toggle â Default selection",description:"Which billing period is selected when the page first loads. Defaults to Monthly.",defaultValue:"monthly"})},b(1)),b(2)),b(3)),b(4)),{},{footnote:o().string.tag({label:"Footnote HTML",description:"Optional small-text note below the cards (e.g., the print-edition tax-deductibility disclaimer). HTML allowed."}),showOneTimeContribution:o().bool.tag({label:"Show one-time contribution block",description:'Toggle the "Make a One-Time Contribution" callout below the tier cards (heading + body + red button). Off by default.',defaultValue:!1}),oneTimeHeading:o().string.tag({label:"One-time contribution â heading",description:'Heading for the one-time contribution callout. Defaults to "Make a One-Time Contribution".',defaultValue:m}),oneTimeBody:o().string.tag({label:"One-time contribution â body HTML",description:"Explanatory paragraph for the one-time contribution callout. HTML allowed. Defaults to standard copy.",defaultValue:y}),oneTimeButtonLabel:o().string.tag({label:"One-time contribution â button label",description:'Text on the red button. Defaults to "Make a Contribution".',defaultValue:g}),oneTimeButtonUrl:o().string.tag({label:"One-time contribution â button URL",description:"URL the red button links to. Required for the button to render. Leave blank to hide the button (heading + body still show)."}),oneTimeButtonOpenInNewTab:o().bool.tag({label:"One-time contribution â open button in new tab",description:'If enabled, the contribution button opens in a new tab (target="_blank"). Only applies when the button URL is set. Off by default.',defaultValue:!1}),ctaLabel:o().string.tag({label:"Bottom CTA label",description:'Optional call-to-action label below the cards (e.g., "Read more about FAS").'}),ctaUrl:o().string.tag({label:"Bottom CTA URL",description:"URL for the bottom CTA. Required if CTA label is set."})})).isRequired},t.default=v},2551:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(35899),s=r(2975),l=r(67365),c=r(752),u=r(49533),d=r(23797),f=r(34766);function p({customFields:e}){const{missStatementUrl:t,placementName:r}=e,n=(0,o.useContent)({source:"arc-stories",query:{articlePath:t}}),i={placementName:r,adID:0};return(0,f.jsx)("div",{className:"mission-statement-ad",children:(0,f.jsxs)("div",{className:"row",children:[(0,f.jsx)("div",{className:"col-12 col-md-6 col-lg-12 mission-container vertical-separator v-separator-hidden-lg-up",children:(0,f.jsxs)("div",{className:"composer-mission-statement",children:[n&&n.content_elements.map(e=>{const{_id:t,type:r,content_elements:n,citation:i}=e,{raw_oembed:o,url:a,subtitle:p,caption:h}=e,m=p,y=h,g=n;return"quote"===r?(0,f.jsx)(s.A,{data:g,citation:i},t):"oembed_response"===r?(0,f.jsx)(l.A,{data:o},t):"image"===r?(0,f.jsx)(c.A,{alt:m||" ",caption:y,url:a,width:300,height:250},t):"gallery"===r?(0,f.jsx)(u.A,{data:g},t):(0,f.jsx)(d.A,{element:e},t)}),!n&&(0,f.jsx)(f.Fragment,{children:"Custom fields are required"})]})}),r&&i?(0,f.jsx)("div",{className:"col-12 col-md-6 col-lg-12 ms-img-container",children:(0,f.jsx)("div",{children:(0,f.jsx)(a.default,{customFields:i})})}):null]})})}p.label="Mission Statement Ad",p.propTypes={customFields:i().shape({missStatementUrl:i().string.tag({name:"Mission Statement URL",description:"Should be the canonical url of an article on composer like: /mission/01/01/2020/etc"}),placementName:i().string.tag({name:"freestar placementName"})}).isRequired},t.default=p},36625:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(2975),s=r(67365),l=r(752),c=r(21348),u=r(49533),d=r(23797),f=r(34766);function p({customFields:e}){const{missStatementUrl:t,imageUrl:r,imageLink:n}=e,i=(0,o.useContent)({source:"arc-stories",query:{articlePath:t}});return(0,f.jsx)("div",{className:"row",children:(0,f.jsxs)("div",{className:"col-12 mission-container vertical-separator v-separator-hidden-lg-up",children:[(0,f.jsxs)("div",{className:"composer-mission-statement",children:[i&&i.content_elements.map(e=>{const{_id:t,type:r,content_elements:n,citation:i}=e,{raw_oembed:o,url:c,subtitle:p,caption:h}=e,m=p,y=h,g=n;return"quote"===r?(0,f.jsx)(a.A,{data:g,citation:i},t):"oembed_response"===r?(0,f.jsx)(s.A,{data:o},t):"image"===r?(0,f.jsx)(l.A,{alt:m||"",caption:y,url:c,width:300,height:250},t):"gallery"===r?(0,f.jsx)(u.A,{data:g},t):(0,f.jsx)(d.A,{element:e},t)}),!i&&(0,f.jsx)(f.Fragment,{children:"Custom fields are required"})]}),(0,f.jsxs)("div",{className:"col-12 ms-img-container",children:[r&&(0,f.jsx)("a",{href:n||"#",children:(0,f.jsx)(l.A,{alt:"Mission Statement Image",width:300,height:250,url:r})}),!r&&(0,f.jsx)(c.A,{dimensions:"300x250"})]})]})})}p.label="Mission Statement Wide",p.propTypes={customFields:i().shape({missStatementUrl:i().string.tag({name:"Mission Statement URL",description:"Should be the canonical url of an article on composer like: /mission/01/01/2020/etc"}),imageUrl:i().string.tag({name:"Image Url"}),imageLink:i().string.tag({name:"Image Redirection Link"})}).isRequired},t.default=p},20017:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(2975),s=r(67365),l=r(752),c=r(21348),u=r(49533),d=r(23797),f=r(34766);function p({customFields:e}){const{missStatementUrl:t,imageUrl:r,imageLink:n}=e,i=(0,o.useContent)({source:"arc-stories",query:{articlePath:t}});return(0,f.jsxs)("div",{className:"row",children:[(0,f.jsx)("div",{className:"col-12 col-md-6 col-lg-12 mission-container vertical-separator v-separator-hidden-lg-up",children:(0,f.jsxs)("div",{className:"composer-mission-statement",children:[i&&i.content_elements.map(e=>{const{_id:t,type:r,content_elements:n,citation:i}=e,{raw_oembed:o,url:c,subtitle:p,caption:h}=e,m=p,y=h,g=n;return"quote"===r?(0,f.jsx)(a.A,{data:g,citation:i},t):"oembed_response"===r?(0,f.jsx)(s.A,{data:o},t):"image"===r?(0,f.jsx)(l.A,{alt:m||" ",caption:y,url:c,width:300,height:250},t):"gallery"===r?(0,f.jsx)(u.A,{data:g},t):(0,f.jsx)(d.A,{element:e},t)}),!i&&(0,f.jsx)(f.Fragment,{children:"Custom fields are required"})]})}),(0,f.jsxs)("div",{className:"col-12 col-md-6 col-lg-12 ms-img-container",children:[r&&(0,f.jsx)("a",{href:n||"#",children:(0,f.jsx)(l.A,{alt:"Mission Statement Image",width:300,height:250,url:r})}),!r&&(0,f.jsx)(c.A,{dimensions:"300x250"})]})]})}p.label="Mission Statement",p.propTypes={customFields:i().shape({missStatementUrl:i().string.tag({name:"Mission Statement URL",description:"Should be the canonical url of an article on composer like: /mission/01/01/2020/etc"}),imageUrl:i().string.tag({name:"Image Url"}),imageLink:i().string.tag({name:"Image Redirection Link"})}).isRequired},t.default=p},76256:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var n=r(14375),i=r(94923);var o=r(34766);var a=function(){const e=(0,n.useContent)({source:"chart-beat",query:{section:"",type:"v",size:6}});if(!e||!e.pages)return(0,o.jsx)(o.Fragment,{});const t=(e=>{const t=[];
153return e.forEach(e=>{const r={path:e.path,host:e.host,title:e.title,stats:e.stats,sections:e.sections,authors:e.authors};e.authors.includes("the new york times")||(e.authors.includes("the times-independent")&&r.path.replace("sltrib.com","moabtimes.com"),e.authors.includes("kpcw")&&r.path.replace("sltrib.com","kpcw.org"),e.authors.includes("kstu")&&r.path.replace("sltrib.com","fox13now.com"),e.authors.includes("fox 13")&&r.path.replace("sltrib.com","fox13now.com"),e.authors.includes("kuer")&&r.path.replace("sltrib.com","kuer.org"),t.push(r))}),t})((e=>{const t=[];return e.forEach(e=>{"LandingPage"===e.stats.type||e.sections.includes("archive")||t.push(e)}),t})(e.pages));return(0,o.jsxs)("div",{className:"chart-beat-most-view-engaging",children:[(0,o.jsx)("hr",{}),(0,o.jsx)("h1",{className:"title",children:"MOST VIEWED"}),t.map((e,t)=>(0,o.jsx)("div",{id:"most-view-comoponent",className:"cb-item",children:(0,o.jsx)("a",{href:`https://www.${e.path}`,children:(0,o.jsxs)("div",{className:"cb-row",children:[(0,o.jsx)("h3",{id:"most-view-link",className:"cb-rank",children:`${t+1}`}),(0,o.jsx)("h4",{id:"most-view-link",className:"cb-title",children:`${e.title}`})]})})},`${e.path}-${(0,i.gZ)()}`)),(0,o.jsx)("hr",{})]})};function s(){return(0,o.jsx)(a,{})}s.label="Most View Engageing With Resolve Component";var l=s},73056:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19894),o=r.n(i),a=r(34135),s=r(23322),l=r(49789),c=r(21989),u=r(76706),d=r(60661),f=r(79634),p=r(34766);const h={id:-1,title:"Top Stories",description:"The dayâs biggest stories every morning, delivered right to your inbox.",analytics:"top-stories"};function m({customFields:e}){const{newSletterKey:t,customTitle:r,customDescription:i}=e,o=u.FN[t]||u.FN.top_stories||h,m=(0,n.useRef)(null),[y,g]=(0,n.useState)((0,d.A)()||""),v=(0,f.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey_invisV2")),[b,_]=(0,n.useState)(!1);return(0,p.jsx)("div",{className:"newsletter-ask-wide",children:(0,p.jsx)("div",{className:"newsletter-box",children:(0,p.jsxs)("div",{className:"naw-content",children:[(0,p.jsxs)("div",{className:"naw-text",children:[(0,p.jsxs)("span",{className:"naw-kicker",children:[(0,p.jsx)(a.A,{className:"naw-kicker-icon"}),"Newsletter"]}),(0,p.jsx)("h3",{className:"naw-title",children:r||`Get the ${o.title} newsletter.`}),(0,p.jsx)("p",{className:"naw-desc",children:i||o.description})]}),(0,p.jsxs)("form",{className:"naw-form",onSubmit:async e=>{e.preventDefault(),m.current.reset(),m.current.executeAsync().then(e=>{s.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:y,interests:[o.id],token:e,env:"INVISIBLE"}).then(e=>{"Success!"===e.data.message&&(l.A.track(`newsletter-signup-sectionpage-${o.analytics}`),_(!0),g(""))}).catch(()=>{_(!1),alert("Looks like you are already subscribed!")})}).catch(e=>console.log("ERROR: ",e))},name:"iterable_ask_wide",children:[(0,p.jsxs)("div",{className:"naw-fields",children:[(0,p.jsx)("input",{required:!0,type:"email",id:"email-address",name:"email",className:"naw-input",placeholder:"Enter a valid email",value:y,onChange:e=>g(e.target.value)}),(0,p.jsx)("button",{id:`newsletter-signup-button-wide newsletter-signup-wide-${o.analytics}`,className:"signup-button",type:"submit",children:b?"Subscribed!":"Sign Up Now"})]}),(0,p.jsx)(c.A,{sitekey:v,ref:m,size:"invisible"}),(0,p.jsx)("p",{className:"recaptcha-attribution",dangerouslySetInnerHTML:{__html:'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.'}})]})]})})})}m.label="Newsletter Ask Wide",m.propTypes={customFields:o().shape({newSletterKey:o().string.tag({name:"Newsletter Key",description:"Which newsletter to promote. Example: the_daily_buzz, innovation_lab, eye_on_the_y, how_bout_this_jazz, tribute, breaking_news, top_stories, utah_eats, mormon_land, eedition_email. Defaults to top_stories if left blank."}),customTitle:o().string.tag({name:"Custom Title",description:"Optional override for the heading text of the newsletter."}),customDescription:o().string.tag({name:"Custom Description",description:"Optional override for the description text of the newsletter."})}).isRequired},t.default=m},67577:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(86247),a=r(97028),s=r(752),l=r(34766);function c({delivery:e,title:t,description:r,imgSource:n,onClick:i,checked:c}){return(0,l.jsx)("section",{className:"newsletter-card",role:"button",tabIndex:0,onClick:i,onKeyDown:i,children:(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"newsletter-image",children:(0,l.jsx)(s.A,{url:n,height:82,width:82,alt:"newsletter-image"})}),(0,l.jsx)("h3",{children:t}),(0,l.jsx)("p",{className:"frequency",children:e}),(0,l.jsx)("p",{children:r})]}),(0,l.jsx)("div",{className:"plus-icon",children:c?(0,l.jsx)(o.A,{htmlColor:"green"}):(0,l.jsx)(a.A,{})})]})})}c.propTypes={delivery:i().string,title:i().string,description:i().string,imgSource:i().string,onClick:i().func,checked:i().bool}.isRequired,t.default=c},22299:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(21989),o=r(23322),a=r(60661),s=r(67577),l=r(79634),c=r(34766);function u(){const e=(0,l.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey")),t=[{imgId:"DYX4HY2EEJC6NPXXJOLWCT262Y",id:94725,published:!0,delivery:"Daily",title:"Top Stories",description:"Sent every morning, we bring you the dayâs biggest stories, quick hits and info y
153ou might have missed.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/DYX4HY2EEJC6NPXXJOLWCT262Y.JPG"},{imgId:"GXDMV5VMMNA3VKUFKO5LFLRIBE",id:94727,published:!0,delivery:"Weekdays",title:"The Daily Buzz",description:"Sign up for The Daily Buzz, a newsletter that will take you inside our newsroom to understand the dayâs latest political news, sent every weekday evening.",imgUrl:"https://local.sltrib.com/marketing/The_Daily_Buzz_logo_01.jpg"},{imgId:"RFNEI2NQ55EVFOM6Z3GT2ZHGXU",id:94726,published:!0,delivery:"Several per Week",title:"News Alert",description:"When the most significant news breaks, the Tribune brings it straight to your inbox to keep you informed.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/RFNEI2NQ55EVFOM6Z3GT2ZHGXU.JPG"},{imgId:"EE42HJTLXJAZRECIFMPH67LRB4",id:94728,published:!0,delivery:"Weekly",title:"Utah Eats",description:"Every Wednesday, we bring you what you need to know about Utahâs bar and restaurant scene.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/EE42HJTLXJAZRECIFMPH67LRB4.JPG"},{imgId:"TLVNWQZXDZFCPJNJFJXPE6B6WY",id:94729,published:!0,delivery:"Weekly",title:"Mormon Land",description:"Sent Thursdays, we explore news in and about The Church of Jesus Christ of Latter-day Saints.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/TLVNWQZXDZFCPJNJFJXPE6B6WY.JPG"},{imgId:"GXDMV5VMMNA3VKUFKO5LFLRIBE",id:94730,published:!0,delivery:"Weekly",title:"How 'Bout This Jazz",description:"Every week, the Tribuneâs Jazz reporting team shares their insights, analysis and even some hot takes.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/GXDMV5VMMNA3VKUFKO5LFLRIBE.JPG"},{imgId:"G6TKNS5RKBBXLCOSSQ3OLSSYUE",id:94731,published:!0,delivery:"Weekly",title:"The TribUte",description:"Sent Fridays, TribUte is the go-to source for Utah sports fans who canât get enough of their favorite teams.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/G6TKNS5RKBBXLCOSSQ3OLSSYUE.JPG"},{imgId:"BQ3BN2FAZRGUBPPN3E7RE57X3Y",id:94732,published:!0,delivery:"Weekly",title:"Eye on the Y",description:"Every Tuesday, Eye on the Y takes BYU fans behind the headlines for a deeper look at the Cougars.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/BQ3BN2FAZRGUBPPN3E7RE57X3Y.JPG"},{imgId:"SG4JA3T46VHXRFNK236B47UHII",id:97158,published:!0,delivery:"weekly",title:"Open Lands",description:"A weekly newsletter watching Utah's most valuable resource.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/SG4JA3T46VHXRFNK236B47UHII.jpg"},{imgId:"XAQTBJ65ABDFBMATLMXE5CIOUY",id:102103,published:!0,delivery:"Daily",title:"E-edition Email Notification",description:"A daily email that will notify you when the day's new e-edition is available.",imgUrl:"https://www.sltrib.com/resizer/Wau8pWphelaCqI_VI-bFfwZs5-M=/arc-anglerfish-arc2-prod-sltrib/public/XAQTBJ65ABDFBMATLMXE5CIOUY.jpg"},{imgId:"XFHVHKPZT5DMXDT4YKUP4R4ONM",id:103370,published:!0,delivery:"Weekly",title:"Obituaries Newsletter",description:"Sent Thursdays, the latest of The Salt Lake Tribune obituaries and death notices from funeral homes and families is sent to your inbox.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/resizer/iYlhcv2C0GC9gA15qvYONvcQVww=/arc-anglerfish-arc2-prod-sltrib/public/XFHVHKPZT5DMXDT4YKUP4R4ONM.jpeg"},{imgId:"O4YZWSBTD5A5LOFR7PJBO3E4DQ",id:115300,published:!0,delivery:"Twice a Week",title:"New To Utah",description:"The New to Utah newsletter takes you on a journey where youâll learn all the ins and outs of Utah. Everything from politics to religion to culture and dining.",imgUrl:"https://www.sltrib.com/resizer/FxVlIt-_hUikWgLL_VoFqhVIqtY=/arc-anglerfish-arc2-prod-sltrib/public/O4YZWSBTD5A5LOFR7PJBO3E4DQ.jpg"},{imgId:"QHBCV7QT35EKNCCZIDJWCM3KHY",id:135325,published:!0,delivery:"Weekly",title:"Inside Voices",description:"Inside Voices is a weekly collection of ideas, perspectives and solutions from across Utah.",imgUrl:"https://www.sltrib.com/resizer/llOOUNPB3hcBbGp-CujFs4JNIzU=/arc-anglerfish-arc2-prod-sltrib/public/QHBCV7QT35EKNCCZIDJWCM3KHY.png"},{imgId:"YAH6KED4G5BNDK4WIRCZQRYCQA",id:148461,published:!0,delivery:"Weekly",title:"The Cache Crop",description:"Love Cache Valley? So do we. Cache Valley news, stories and events straight to your inbox every week.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/X3LXFBGQPVDJTJ32JYITEIFHRY.png"},{imgId:"BCDOZ2GUANHARKXEU4W53ARQZ4",id:171069,published:!0,delivery:"Weekly",title:"Red Rock Roundup",description:"Red Rock Roundup brings the biggest stories in Washington County to your inbox every week.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/BCDOZ2GUANHARKXEU4W53ARQZ4.png"}
153,{imgId:"Q4BSQH65XVDX3EPI2HFGQ73DFU",id:117526,published:!0,delivery:"Weekly",title:"This Week in Moab",description:"A weekly roundup of the biggest local stories from The Times-Independent.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/2Q5PR4CAPREWBLRBZWRHBCXLIQ.png"}],[r,u]=(0,n.useState)((0,a.A)()||""),[d,f]=(0,n.useState)([]),[p,h]=(0,n.useState)(!1),m=(0,n.useRef)(null);return(0,c.jsxs)("div",{className:"iterable-newsletter-page",children:[(0,c.jsxs)("header",{className:"sign-up-header",children:[(0,c.jsx)("h1",{children:"Newsletters"}),(0,c.jsx)("h2",{children:"Get the best of The Tribuneâstraight to your inbox"}),(0,c.jsx)("h3",{className:"newsletter-paragraph",children:"Select all the newsletters you would like to add to your inbox. Once checked, enter your email and click sign up to subscribe."}),(0,c.jsx)("hr",{})]}),(0,c.jsxs)("div",{className:"newsletter-grid-container",children:[(0,c.jsx)("article",{className:"newsletter-grid",children:t.map(e=>(0,c.jsx)(s.default,{onClick:()=>(e=>{if(d.includes(e)){const t=d.filter(t=>t!==e);return void f(t)}const t=[...d];t.push(e),f(t)})(e.id),title:e.title,delivery:e.delivery,description:e.description,imgSource:e.imgUrl,checked:d.includes(e.id)},e.id))}),(0,c.jsx)("input",{type:"email",id:"email-address",name:"email",placeholder:"Enter a valid email",value:r,onChange:({target:{value:e}})=>{u(e)}}),(0,c.jsx)(i.A,{sitekey:e,ref:m,className:"recaptcha"}),(0,c.jsxs)("p",{className:"disclaimer",children:["By signing up, I consent to receive email communications from The Salt Lake Tribune. See privacy policy",(0,c.jsx)("a",{href:"https://www.sltrib.com/privacy-policy/",children:" here."})]})]}),(0,c.jsx)("button",{type:"button",className:p?"subscribed-button":"signup-button",onClick:()=>(async()=>{const e=m.current.getValue();m.current.reset(),e?o.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:r,interests:d,token:e,env:"PROD"}).then(e=>{"Success!"===e.data.message&&(h(!0),u(""),alert("Form submission successful!"))}).catch(()=>{h(!1)}):alert("Please verify the reCAPTCHA!")})(),children:p?"Subscribed!":"Sign Up"})]})}u.label="Iterable Newsletter",t.default=u},76104:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19894),o=r.n(i),a=r(23322),s=r(49789),l=r(21989),c=r(34135),u=r(76706),d=r(79634),f=r(60661),p=r(34766);const h={id:-1,title:"Newsletter",desc:"Stay updated with the latest stories and updates.",imgUrl:"https://www.sltrib.com/pf/resources/svg/Trib_masthead_top_000000.svg?d=339"};function m({customFields:e}){const{newSletterKey:t,customTitle:r,customDescription:i}=e,o=u.FN[t]||h,m=(0,d.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey_invisV2")),y=(0,n.useRef)(null),g=window.location.search,v=new URLSearchParams(g),[b]=(0,n.useState)(v.get("email")),[_,x]=(0,n.useState)((0,f.A)()||b||""),[w,O]=(0,n.useState)(!1);return(0,p.jsx)("div",{className:"newsletter-standalone",children:(0,p.jsx)("div",{className:"newsletter-box",children:(0,p.jsxs)("div",{className:"newsletter-content",children:[(0,p.jsx)(c.A,{className:"newsletter-icon"}),(0,p.jsx)("h2",{children:r||`Get the ${o.title} Newsletter`}),(0,p.jsx)("p",{className:"newsletter-desc",children:i||o.description}),(0,p.jsxs)("form",{onSubmit:async e=>{e.preventDefault(),y.current.reset();try{const e=await y.current.executeAsync();"Success!"===(await a.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:_,interests:[o.id],token:e,env:"INVISIBLE"})).data.message&&(s.A.track(`newsletter-signup-singlepage-${o.analytics}`),O(!0),x(""))}catch(e){O(!1),alert("Looks like you are already subscribed!"),console.log(e)}},name:"iterable_form",children:[(0,p.jsx)("input",{required:!0,type:"email",name:"email",placeholder:"Enter a valid email",value:_,onChange:e=>x(e.target.value)}),(0,p.jsx)("button",{type:"submit",className:"signup-button",children:w?"Subscribed!":"Sign Up Now"}),(0,p.jsx)(l.A,{sitekey:m,size:"invisible",ref:y,className:"recaptcha"}),(0,p.jsx)("p",{className:"recaptcha-attribution",dangerouslySetInnerHTML:{__html:'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.'}})]})]})})})}m.label="Newsletter Standalone",m.propTypes={customFields:o().shape({newSletterKey:o().string.tag({name:"Newsletter Key",description:"Example: the_daily_buzz, innovation_lab, eye_on_the_y, how_bout_this_jazz, tribute, breaking_news, top_stories, utah_eats, mormon_land, eedition_email"}),customDescription:o().string.tag({name:"Custom Description",description:"Optional override for the description text of the newsletter."}),customTitle:o().string.tag({name:"Custom Title",description:"Optional override for the heading text of the newsletter."})}).isRequired},t.default=m},78329:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(75123),a=r(34766);function s({customFields:e}){const{config:t}=e;return(0,a.jsx)(o.OutbrainWidget,{dataSrc:"sltrib.com",dataWidgetId:t})}s.label="Outbrain Ad",s.propTypes={customFields:i().shape({config:i().string.tag({defaultValue:"AR_1"})}).isRequired},t.default=s},27379:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a(e){if("undefined"==typeof document)return;const t=e.currentTarget.getAttribute("href")||"";if(!t.startsWith("#")||t.length<2)return;const r=document.getElementById(t.slice(1));r&&(e.preventDefault(),r.scrollIntoView({behavior:"smooth",block:"start"}),"undefined"!=typeof window&&window.history&&window.history.pushState&&window.history.pushState(null,"",t))}function s({customFields:e}){const t=e||{},{heading:r,sticky:n,itemLabels:i,itemAnchors:s}=t,l=function(e,t){const r=Array.isArray(e)?e:[],n=Array.isArray(t)?t:[],i=Math.max(r.length,n.length),o=[];for(let e=0;e<i;e+=1){const t=r[e],i=n[e];t&&i&&o.push({key:e,label:t,anchor:i})}return o}(i,s);if(0===l.length)return null;const c=("page-toc "+(n?"page-toc--sticky":"")).trim();return(0,o.jsx)("nav",{className:c,"aria-label":r||"Page sections",children:(0,o.jsxs)("div",{className:"page-toc__inner",children:[r&&(0,o.jsx)("span",{className:"page-toc__heading",children:r}),(0,o.jsx)("ul",{className:"page-toc__list",children:l.map(e=>{const t=e.anchor.startsWith("#")?e.anchor:`#${e.anchor}`;return(0,o.jsx)("li",{className:"page-toc__item",children:(0,o.jsx)("a",{className:"page-toc__link",href:t,onClick:a,children:e.label})},e.key)})})]})})}s.label="Page TOC",s.propTypes={customFields:i().shape({heading:i().string.tag({label:"Heading",description:'Optional small label before the links (e.g., "Jump to:").'}),sticky:i().bool.tag({label:"Stick to top on scroll",description:"When enabled, the index pins to the top of the viewport as readers scroll the page.",defaultValue:!1}),itemLabels:i().list.tag({label:"Item labels",description:'List of labels shown in the index, in order (e.g., "Membership benefits", "Ways to give").'}),itemAnchors:i().list.tag({label:"Item anchors",description:'List of section ids to jump to (with or without leading "#"), parallel to the labels list above. Item N\'s anchor must be at index N.'})}).isRequired},t.default=s},63178:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[1,2,3,4,5];function u({url:e,alt:t,caption:r,slot:n}){return e?(0,o.jsxs)("figure",{className:`photo-mosaic__cell photo-mosaic__cell--${n}`,children:[(0,o.jsx)("img",{src:e,alt:t||"",loading:"lazy",className:"photo-mosaic__image"}),r&&(0,o.jsx)("figcaption",{className:"photo-mosaic__caption",children:r})]}):null}function d({customFields:e}){const t=e||{},{heading:r,intro:n}=t,i=c.map(e=>({key:e,url:t[`image${e}Url`],alt:t[`image${e}Alt`],caption:t[`image${e}Caption`],slot:1===e?"featured":"small"})).filter(e=>e.url);return r||0!==i.length?(0,o.jsxs)("section",{className:"photo-mosaic",children:[r&&(0,o.jsx)("h2",{className:"photo-mosaic__heading",children:r}),n&&(0,o.jsx)("div",{className:"photo-mosaic__intro",dangerouslySetInnerHTML:{__html:n}}),i.length>0&&(0,o.jsx)("div",{className:`photo-mosaic__grid photo-mosaic__grid--count-${i.length}`,children:i.map(e=>(0,o.jsx)(u,{url:e.url,alt:e.alt,caption:e.caption,slot:e.slot},e.key))})]}):null}u.propTypes={url:i().string,alt:i().string,caption:i().string,slot:i().oneOf(["featured","small"]).isRequired},u.defaultProps={url:"",alt:"",caption:""},d.label="Photo Mosaic";const f=(e,t)=>({[`image${e}Url`]:i().string.tag({label:`Image ${e} â URL${t?" (featured/large)":""}`,description:t?"The large featured image (top-left, 2x2 cells). Recommended landscape ~1200x900.":`Supporting image ${e}. Recommended ~600x600. Best results with all 5 images filled.`}),[`image${e}Alt`]:i().string.tag({label:`Image ${e} â Alt text`}),[`image${e}Caption`]:i().string.tag({label:`Image ${e} â Caption`,description:"Optional. Overlaid at the bottom of the image with a dark gradient."})});d.propTypes={customFields:i().shape(s(s(s(s(s({heading:i().string.tag({label:"Section heading",description:"Optional."}),intro:i().string.tag({label:"Section intro HTML",description:"Optional intro paragraph above the mosaic. HTML allowed."})},f(1,!0)),f(2,!1)),f(3,!1)),f(4,!1)),f(5,!1))).isRequired},t.default=d},90030:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[1,2,3,4];function u({imageUrl:e,imageAlt:t,quote:r,caption:n,attributionName:i,attributionRole:a}){return e||r||n?(0,o.jsxs)("figure",{className:"photo-quote-cards__card",children:[e&&(0,o.jsx)("div",{className:"photo-quote-cards__media",children:(0,o.jsx)("img",{src:e,alt:t||"",loading:"lazy",className:"photo-quote-cards__image"})}),(0,o.jsxs)("div",{className:"photo-quote-cards__body",children:[r&&(0,o.jsx)("blockquote",{className:"photo-quote-cards__quote",children:(0,o.jsx)("p",{children:r})}),!r&&n&&(0,o.jsx)("p",{className:"photo-quote-cards__caption",children:n}),(i||a)&&(0,o.jsxs)("figcaption",{className:"photo-quote-cards__attribution",children:[i&&(0,o.jsx)("cite",{className:"photo-quote-cards__attribution-name",children:i}),a&&(0,o.jsx)("span",{className:"photo-quote-cards__attribution-role",children:a})]})]})]}):null}function d({customFields:e}){const t=e||{},{heading:r,intro:n}=t,i=c.map(e=>({key:e,imageUrl:t[`card${e}ImageUrl`],imageAlt:t[`card${e}ImageAlt`],quote:t[`card${e}Quote`],caption:t[`card${e}Caption`],attributionName:t[`card${e}AttributionName`],attributionRole:t[`card${e}AttributionRole`]})).filter(e=>e.imageUrl||e.quote||e.caption);return r||0!==i.length?(0,o.jsxs)("section",{className:"photo-quote-cards",children:[r&&(0,o.jsx)("h2",{className:"photo-quote-cards__heading",children:r}),n&&(0,o.jsx)("div",{className:"photo-quote-cards__intro",dangerouslySetInnerHTML:{__html:n}}),i.length>0&&(0,o.jsx)("div",{className:`photo-quote-cards__grid photo-quote-cards__grid--count-${i.length}`,children:i.map(e=>(0,o.jsx)(u,{imageUrl:e.imageUrl,imageAlt:e.imageAlt,quote:e.quote,caption:e.caption,attributionName:e.attributionName,attributionRole:e.attributionRole},e.key))})]}):null}u.propTypes={imageUrl:i().string,imageAlt:i().string,quote:i().string,caption:i().string,attributionName:i().string,attributionRole:i().string},u.defaultProps={imageUrl:"",imageAlt:"",quote:"",caption:"",attributionName:"",attributionRole:""},d.label="Photo + Quote Cards";const f=e=>({[`card${e}ImageUrl`]:i().string.tag({label:`Card ${e} â Image URL`,description:`Card ${e} portrait. Square or 4:5 portrait works best.`}),[`card${e}ImageAlt`]:i().string.tag({label:`Card ${e} â Image alt text`}),[`card${e}Quote`]:i().string.tag({label:`Card ${e}
153 â Quote`,description:"What they said. Quotation marks are added visually. Takes precedence over Caption."}),[`card${e}Caption`]:i().string.tag({label:`Card ${e} â Caption (fallback)`,description:`Plain short caption shown only when Card ${e} Quote is left blank. Use this for quick text when you don't have a full quote yet.`}),[`card${e}AttributionName`]:i().string.tag({label:`Card ${e} â Attribution name`,description:'e.g., "Andy Larsen"'}),[`card${e}AttributionRole`]:i().string.tag({label:`Card ${e} â Attribution role`,description:'e.g., "Politics reporter"'})});d.propTypes={customFields:i().shape(s(s(s(s({heading:i().string.tag({label:"Section heading",description:'Optional. e.g., "Meet the reporters you\'re funding".'}),intro:i().string.tag({label:"Section intro HTML",description:"Optional intro paragraph above the cards. HTML allowed."})},f(1)),f(2)),f(3)),f(4))).isRequired},t.default=d},28388:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(19674),o=r.n(i),a=r(34766);function s(){const{globalContent:e}=(0,n.useAppContext)(),t=e.channel.item;return(0,a.jsx)("div",{className:"podcast-episode-container",children:t.map(function(e){return(0,a.jsxs)("div",{className:"episode",children:[(0,a.jsx)("h3",{className:"title","data-testid":"title",children:e.title}),(0,a.jsx)("h4",{className:"description","data-testid":"description",children:e.description}),(0,a.jsxs)("h5",{className:"the-date","data-testid":"date",children:[e.pubDate.substring(8,e.pubDate.length-19),e.pubDate.substring(4,e.pubDate.length-24),", ",e.pubDate.substring(12,e.pubDate.length-14)]}),(0,a.jsx)("audio",{controls:!0,className:"audio-player","data-testid":"audio-player",children:(0,a.jsx)("source",{src:e.enclosure.attributes.url})}),(0,a.jsx)("hr",{className:"break"})]},e.guid)})})}s.label="Podcast Episodes",s.propTypes={globalContent:o().shape({channel:o().shape({item:o().arrayOf({title:o().string,description:o().string,enclosure:o().object})})})},t.default=s},23012:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const{name:t,description:r,imgsrc:n,var1:i,link1:a,var2:s,link2:l,var3:c,link3:u,var4:d,link4:f}=e;return(0,o.jsx)("div",{className:"podcast-header-container-2",children:(0,o.jsxs)("div",{className:"content-wrapper",children:[(0,o.jsx)("h1",{className:"podcast-heading",children:t}),(0,o.jsxs)("div",{className:"top-heading-section",children:[(0,o.jsx)("div",{className:"image-wrapper",children:(0,o.jsx)("img",{alt:"podcast logo",src:n,style:{width:"300px",margin:"auto"}})}),(0,o.jsxs)("div",{className:"description-wrapper",children:[(0,o.jsx)("div",{className:"text-description",children:(0,o.jsx)("h2",{children:r})}),(0,o.jsx)("div",{className:"buttons-wrapper",children:(0,o.jsxs)("p",{children:[(0,o.jsx)("span",{className:"subscribe-free",children:"Subscribe for free:"}),(0,o.jsx)("br",{}),(0,o.jsx)("a",{href:a,"data-testid":"link1",children:(0,o.jsx)("span",{className:"links",children:i})}),l&&s?(0,o.jsxs)("a",{href:l,"data-testid":"link2",children:["  |  ",(0,o.jsx)("span",{className:"links",children:s})]}):null,u&&c?(0,o.jsxs)("a",{href:u,"data-testid":"link3",children:["  |  ",(0,o.jsx)("span",{className:"links",children:c})]}):null,f&&d?(0,o.jsxs)("a",{href:f,"data-testid":"link4",children:["  |  ",(0,o.jsx)("span",{className:"links",children:d})]}):null]})})]})]})]})})}a.propTypes={customFields:i().shape({name:i().string,description:i().string,var1:i().string,link1:i().string,var2:i().string,link2:i().string,var3:i().string,link3:i().string,var4:i().string,link4:i().string,imgsrc:i().string})},a.label="PodCast Header 2",t.default=a},67153:function(e,t,r){"use strict";r.r(t);
153var n=r(19674),i=r.n(n),o=r(14355),a=r.n(o),s=r(34766);function l({customFields:e}){const{name:t,description:r,soundCloud:n,iTunes:i,Spotify:o,imgsrc:l}=e;return(0,s.jsxs)("div",{className:"podcast-header-container",children:[(0,s.jsx)(a(),{container:!0,spacing:2,className:"titleArea",children:(0,s.jsxs)(a(),{item:!0,xs:12,sm:12,md:12,lg:12,children:[(0,s.jsx)("h1",{"data-testid":"name",className:"name-styles",children:t}),(0,s.jsx)("hr",{className:"break"})]})}),(0,s.jsxs)(a(),{container:!0,spacing:3,className:"description",children:[(0,s.jsx)(a(),{item:!0,xs:12,sm:12,md:5,lg:4,children:(0,s.jsx)("img",{src:l,alt:"podcast logo","data-testid":"image"})}),(0,s.jsxs)(a(),{item:!0,xs:12,sm:12,md:7,lg:8,children:[(0,s.jsx)("h2",{className:"description-details","data-testid":"description",children:r}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"subscribe-free",children:"Subscribe for free:"}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)("a",{href:n,"data-testid":"soundCloud",children:(0,s.jsx)("span",{className:"links",children:"Soundcloud"})}),"Â |Â ",(0,s.jsx)("a",{href:i,"data-testid":"iTunes",children:(0,s.jsx)("span",{className:"links",children:"iTunes"})}),"Â |Â ",(0,s.jsx)("a",{href:o,"data-testid":"Spotify",children:(0,s.jsx)("span",{className:"links",children:"Spotify"})}),(0,s.jsx)("br",{}),(0,s.jsx)("hr",{})]})]})]})}l.propTypes={customFields:i().shape({name:i().string,soundCloud:i().string,iTunes:i().string,Spotify:i().string,imgsrc:i().string,description:i().string})},l.label="Podcast Header",t.default=l},49910:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsx)("div",{style:{marginTop:"1.2rem"},className:"container",children:(0,n.jsxs)("div",{className:"podcast-page-container",children:[(0,n.jsx)("h1",{className:"podcast-heading",children:"PODCASTS"}),(0,n.jsx)("div",{className:"row",children:[{id:0,titleLink:"/podcasts/thedailybuzz/",imgLink:"",title:"The Daily Buzz",desc:"A podcast hosted by Tribune journalists who will go behind the reporting on the dayâs biggest story and talk about the news they are chasing. New episodes will be published weekdays at 5 a.m.",imageUrl:"https://local.sltrib.com/marketing/The_Daily_Buzz_podcast_logo.png",imageAlt:"The Daily Buzz logo",buttonText:"DAILY BUZZ PODCAST",buttonLink:""},{id:1,titleLink:"https://www.sltrib.com/podcasts/utah_politics/",imgLink:"",title:"UTAH POLITICS",desc:"Veteran political journalist Bryan Schott brings you conversations with Utah newsmakers, national political experts and authors. He also discusses the latest Utah news with reporters and political figures.",imageUrl:"https://local.sltrib.com/marketing/schott-podcast-logo-sm.jpg",imageAlt:"Salt Lake Tribune Utah Politics Podcast logo",buttonText:"UTAH POLITICS PODCAST",buttonLink:""},{id:2,titleLink:"https://www.sltrib.com/podcasts/mormonland/",imgLink:"",title:"MORMONLAND",desc:"Mormon Land explores the contours and complexities of LDS news. It is hosted by award-winning religion writer Peggy Fletcher Stack and Managing Editor David Noyce.",imageUrl:"https://local.sltrib.com/marketing/mormonland_350.png",imageAlt:"Salt Lake Tribune Mormonland Podcast logo",buttonText:"MORMONLAND PODCAST",buttonLink:""},{id:3,titleLink:"https://www.sltrib.com/podcasts/bout_jazz/",imgLink:"",title:"HOW 'BOUT THIS JAZZ",desc:"Andy Larsen, Eric Walden and Xoel Cardenas will be talking about the latest Jazz news, matchup analysis, as well as give you their take on what else is happening in the Association.",imageUrl:"https://local.sltrib.com/marketing/jazzpod350.jpg",imageAlt:"Salt Lake Tribune Jazz Weekly Run Podcast logo",buttonText:"HOW 'BOUT THIS JAZZ PODCAST",buttonLink:""},{id:4,titleLink:"https://www.sltrib.com/podcasts/trib_talk/",imgLink:"",title:"TRIB TALK PODCAST",desc:'"Trib Talk" is an occasional podcast that features Salt Lake Tribune reporters and invited guests discussing the latest news, as well as some recorded Tribune events with panelist.',imageUrl:"https://local.sltrib.com/marketing/trib_talk_350.png",imageAlt:"Salt Lake Tribune Utah Trib Talk Podcast logo",buttonText:"TRIB TALK PODCAST",buttonLink:""},{id:5,titleLink:"https://www.sltrib.com/podcasts/utah_booze_news/",imgLink:"",title:"UTAH BOOZE NEWS",desc:"Monthly updates on Utah's quirky and often-ridiculed alcohol laws with The Salt Lake Tribune reporter Kathy Stephenson and FOX 13 KSTU-TV reporter Ben Winslow.",imageUrl:"https://local.sltrib.com/marketing/booze_news_350.png",imageAlt:"Salt Lake Tribune Utah Politics Utah Booze News logo",buttonText:"BOOZE NEWS PODCAST",buttonLink:""},{id:6,titleLink:"https://tribconnect.com/podcast/",imgLink:"",title:"TRIB CONNECTED",desc:"Join Chris Stegman and his team as they explore the heart and soul of the Salt Lake business community. Hear about local start-up stories, how companies persevered through challenges, and tap discussions about issues impacting local businesses. Our podcast is y
153our connection to the Salt Lake business community.",imageUrl:"https://local.sltrib.com/marketing/PodcastCover.png",imageAlt:"Salt Lake Tribune Trib Connected Podcast logo",buttonText:"TRIB CONNECTED PODCAST",buttonLink:""},{id:7,titleLink:"https://www.sltrib.com/support",imgLink:"https://store.sltrib.com/",title:"SUPPORT THE TRIBUNE",desc:"Help ensure that Utah's independent voice is never silenced Become a Supporting Subscriber of The Salt Lake Tribune today.",imageUrl:"https://local.sltrib.com/marketing/trib-mug.jpg",imageAlt:"Support the Salt Lake Tribune voting graphic",buttonText:"SUBSCRIBE",buttonLink:"https://www.sltrib.com/support"}].map(e=>(0,n.jsx)("div",{className:"col-md-6 col-lg-4 col-sm-12",children:(0,n.jsxs)("article",{style:{height:"96%",marginTop:"1%"},children:[e.imgLink?(0,n.jsx)("a",{href:e.imgLink,children:(0,n.jsx)("img",{alt:e.imageAlt,src:e.imageUrl})}):(0,n.jsx)("img",{alt:e.imageAlt,src:e.imageUrl}),(0,n.jsxs)("div",{className:"card-content-group",children:[(0,n.jsx)("a",{href:e.titleLink,children:(0,n.jsx)("h2",{className:"podcast-title",children:e.title})}),(0,n.jsx)("h3",{className:"podcast-description",children:e.desc}),(0,n.jsx)("div",{className:"button-wrapper",children:(0,n.jsx)("a",{href:e.buttonLink||e.titleLink,children:(0,n.jsx)("button",{type:"button",className:"podcast-button",children:e.buttonText})})})]})]})},e.id))})]})})}i.label="Podcast Page 2",t.default=i},66239:function(e,t,r){"use strict";r.r(t);var n=r(39765),i=r(14355),o=r.n(i),a=r(79877),s=r.n(a),l=r(51534),c=r.n(l),u=r(33076),d=r.n(u),f=r(83606),p=r.n(f),h=r(63199),m=r.n(h),y=r(59271),g=r.n(y),v=r(92778),b=r.n(v),_=r(34766);const x="PodcastPage",w={root:`${x}-root`,media:`${x}-media`},O=(0,n.styled)("div")({[`& .${w.root}`]:{maxWidth:345,margin:"auto"},[`& .${w.media}`]:{height:345}});function j(){return(0,_.jsxs)(O,{className:"podcast-page-container",children:[(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsxs)("div",{className:"test",children:[(0,_.jsxs)(o(),{container:!0,spacing:3,children:[(0,_.jsx)(o(),{item:!0,xs:12,sm:6,md:4,children:(0,_.jsxs)(s(),{className:w.root,children:[(0,_.jsxs)(c(),{children:[(0,_.jsx)(m(),{className:w.media,image:"https://local.sltrib.com/marketing/trib_talk_350.png",title:"Tribtalk Podcast"}),(0,_.jsxs)(p(),{children:[(0,_.jsx)(b(),{gutterBottom:!0,variant:"h5",component:"h2",className:"label",children:"TRIB TALK"}),(0,_.jsxs)(b(),{variant:"body2",color:"textSecondary",component:"p",children:['âTrib Talk" is an occasional podcast that features Salt Lake Tribune reporters reporters and invited guests discussing the latest news, as well as some recorded Tribune events with panelist.',(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsx)("span",{style:{fontSize:"16px"},children:"Subscribe for free:"}),(0,_.jsx)("br",{}),(0,_.jsx)("a",{href:"https://soundcloud.com/tribtalk",children:(0,_.jsx)("span",{className:"links",children:"Soundcloud"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://itunes.apple.com/us/podcast/trib-talk/id1375059933?mt=2",children:(0,_.jsx)("span",{className:"links",children:"iTunes"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://www.stitcher.com/podcast/the-salt-lake-tribune-2/trib-talk",children:(0,_.jsx)("span",{className:"links",children:"Stitcher"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://open.spotify.com/show/5jAdERJd9NtLKges5d8pag",children:(0,_.jsx)("span",{className:"links",children:"Spotify"})})]})]})]}),(0,_.jsx)(d(),{children:(0,_.jsx)(g(),{style:{backgroundColor:"#ffffff",marginLeft:"10px",marginTop:"-10px",fontWeight:"600"},size:"small",variant:"contained",href:"https://itunes.apple.com/us/podcast/trib-talk/id1375059933?mt=2",children:"LISTEN FOR FREE"})})]})}),(0,_.jsx)(o(),{item:!0,xs:12,sm:6,md:4,children:(0,_.jsxs)(s(),{className:w.root,children:[(0,_.jsxs)(c(),{children:[(0,_.jsx)(m(),{className:w.media,image:"https://local.sltrib.com/marketing/schott-podcast-logo-sm.jpg",title:"Utah Politics Podcast"}),(0,_.jsxs)(p(),{children:[(0,_.jsx)(b(),{gutterBottom:!0,variant:"h5",component:"h2",className:"label",children:"UTAH POLITICS"}),(0,_.jsxs)(b(),{variant:"body2",color:"textSecondary",component:"p",children:["Veteran political journalist Bryan Schott brings you conversations with Utah newsmakers, national political experts and authors. He also discusses the latest Utah news with reporters and political figures..",(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsx)("span",{style:{fontSize:"16px"},children:"Subscribe for free:"}),(0,_.jsx)("br",{}),(0,_.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/utah-p
153olitics-with-bryan-schott/id1529164823",children:(0,_.jsx)("span",{className:"links",children:"iTunes"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://open.spotify.com/show/6PeE1T28oHeaq7CjxPz1wW",children:(0,_.jsx)("span",{className:"links",children:"Spotify"})})]})]})]}),(0,_.jsx)(d(),{children:(0,_.jsx)(g(),{style:{backgroundColor:"#ffffff",marginLeft:"10px",marginTop:"-10px",fontWeight:"600"},size:"small",variant:"contained",href:"https://utahpolitics.buzzsprout.com/",children:"LISTEN FOR FREE"})})]})}),(0,_.jsx)(o(),{item:!0,xs:12,sm:6,md:4,children:(0,_.jsxs)(s(),{className:w.root,children:[(0,_.jsxs)(c(),{children:[(0,_.jsx)(m(),{className:w.media,image:"https://local.sltrib.com/marketing/mormonland_350.png",title:"Mormonland Podcast"}),(0,_.jsxs)(p(),{children:[(0,_.jsx)(b(),{gutterBottom:!0,variant:"h5",component:"h2",className:"label",children:"MORMONLAND"}),(0,_.jsxs)(b(),{variant:"body2",color:"textSecondary",component:"p",children:["Mormon Land explores the contours and complexities of LDS news. It is hosted by award-winning religion writer Peggy Fletcher Stack and Managing Editor David Noyce.",(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsx)("span",{style:{fontSize:"16px"},children:"Subscribe for free:"}),(0,_.jsx)("br",{}),(0,_.jsx)("a",{href:"https://soundcloud.com/mormonland",children:(0,_.jsx)("span",{className:"links",children:"Soundcloud"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/mormon-land/id1289043118",children:(0,_.jsx)("span",{className:"links",children:"iTunes"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://open.spotify.com/show/45611F1TBuDE8X0lUaSFDY",children:(0,_.jsx)("span",{className:"links",children:"Spotify"})})]})]})]}),(0,_.jsx)(d(),{children:(0,_.jsx)(g(),{style:{backgroundColor:"#ffffff",marginLeft:"10px",marginTop:"-10px",fontWeight:"600"},size:"small",variant:"contained",href:"https://podcasts.apple.com/us/podcast/mormon-land/id1289043118",children:"LISTEN FOR FREE"})})]})}),(0,_.jsx)(o(),{item:!0,xs:12,sm:6,md:4,children:(0,_.jsxs)(s(),{className:w.root,children:[(0,_.jsxs)(c(),{children:[(0,_.jsx)(m(),{className:w.media,image:"https://local.sltrib.com/marketing/booze_news_350.png",title:"Booze News Podcast"}),(0,_.jsxs)(p(),{children:[(0,_.jsx)(b(),{gutterBottom:!0,variant:"h5",component:"h2",className:"label",children:"UTAH BOOZE NEWS"}),(0,_.jsxs)(b(),{variant:"body2",color:"textSecondary",component:"p",children:["Monthly updates on Utah's quirky and often-ridiculed alcohol laws with The Salt Lake Tribune reporter Kathy Stephenson and FOX 13 KSTU-TV reporter Ben Winslow.",(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsx)("span",{style:{fontSize:"16px"},children:"Subscribe for free:"}),(0,_.jsx)("br",{}),(0,_.jsx)("a",{href:"https://www.stitcher.com/podcast/kstu/utah-booze-news",children:(0,_.jsx)("span",{className:"links",children:"Stitcher"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://open.spotify.com/show/2DBtk02AnCTdTORTvxZi8M",children:(0,_.jsx)("span",{className:"links",children:"Spotify"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://play.google.com/music/listen?u=0#/ps/It7ueg32hatq4qqlz4khmafpesy",children:(0,_.jsx)("span",{className:"links",children:"Google Play"})})]})]})]}),(0,_.jsx)(d(),{children:(0,_.jsx)(g(),{style:{backgroundColor:"#ffffff",marginLeft:"10px",marginTop:"-10px",fontWeight:"600"},size:"small",variant:"contained",href:"https://open.spotify.com/show/2DBtk02AnCTdTORTvxZi8M",children:"LISTEN FOR FREE"})})]})}),(0,_.jsx)(o(),{item:!0,xs:12,sm:6,md:4,children:(0,_.jsxs)(s(),{className:w.root,children:[(0,_.jsxs)(c(),{children:[(0,_.jsx)(m(),{className:w.media,image:"https://local.sltrib.com/marketing/weekly_run_350.png",title:"Weekly Run Podcast"}),(0,_.jsxs)(p(),{children:[(0,_.jsx)(b(),{gutterBottom:!0,variant:"h5",component:"h2",className:"label",children:"THE JAZZ WEEKLY RUN"}),(0,_.jsxs)(b(),{variant:"body2",color:"textSecondary",component:"p",children:["Utah Jazz player insights, front-office gossip and game predictions, hosted by Salt Lake Tribune sportswriters Andy Larsen and Eric Walden.",(0,_.jsx)("br",{}),(0,_.jsx)("br",{}),(0,_.jsx)("span",{style:{fontSize:"16px"},children:"Subscribe for free:"}),(0,_.jsx)("br",{}),(0,_.jsx)("a",{href:"https://soundcloud.com/user-128756549",children:(0,_.jsx)("span",{className:"links",children:"Soundcloud"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://podcasts.apple.com/us/podcast/the-tribjazz-podcast/id1161462
153010?mt=2",children:(0,_.jsx)("span",{className:"links",children:"iTunes"})}),"Â |Â ",(0,_.jsx)("a",{href:"https://open.spotify.com/show/37BIPxOj2Z7pdlTsgCSqRo",children:(0,_.jsx)("span",{className:"links",children:"Spotify"})})]})]})]}),(0,_.jsx)(d(),{children:(0,_.jsx)(g(),{style:{backgroundColor:"#ffffff",marginLeft:"10px",marginTop:"-10px",fontWeight:"600"},size:"small",variant:"contained",href:"https://podcasts.apple.com/us/podcast/the-tribjazz-podcast/id1161462010?mt=2",children:"LISTEN FOR FREE"})})]})})]}),(0,_.jsx)("br",{}),(0,_.jsx)("br",{})]})]})}j.label="Z Podcast Page",t.default=j},64309:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(23322),o=r(34766);function a(){const e=window.location.search,t=new URLSearchParams(e),[r,a]=(0,n.useState)([]),[s,l]=(0,n.useState)(!1),[c]=(0,n.useState)(t.get("email")),[u,d]=(0,n.useState)(!1);(0,n.useEffect)(()=>{i.A.post("https://ujljzou7kf.execute-api.us-east-1.amazonaws.com/prod/user/getUser",{email:c}).then(e=>{a(t=>[...t,...e.data.currentSubscriptions]),l(!0)})},[]);return(0,o.jsx)("div",{className:"preferrences-page-container",children:(0,o.jsxs)("div",{id:"main-content",children:[(0,o.jsx)("h1",{className:"email-pref-heading",children:"Update Your Email Subscription Preferences"}),(0,o.jsx)("p",{className:"email",children:c}),(0,o.jsxs)("ul",{className:"preferrences-text",children:[(0,o.jsxs)("li",{children:["Select each newsletter to",(0,o.jsx)("strong",{children:" subscribe."}),"To",(0,o.jsx)("strong",{children:" unsubscribe "}),"from newsletters, uncheck the boxes."]}),(0,o.jsxs)("li",{children:["To",(0,o.jsx)("strong",{children:" unsubscribe "}),"from sales and marketing, check the box âUnsubscribe from all marketing emails.â"]}),(0,o.jsx)("li",{children:"Click the âUpdate Preferencesâ button at the bottom to save your changes."})]}),s?(0,o.jsx)("div",{className:"card-body",children:[{id:94726,value:"News Alert",shortDescription:"Get several newsletters per week about significant news breaks."},{id:94732,value:"Eye on the Y",shortDescription:"Delivered every Tuesday, this newsletter takes BYU fans behind the headlines for a look at the Cougars."},{id:94730,value:"How Bout This Jazz",shortDescription:"Weekly newsletter, the Tribune's Jazz team shares insights, analysis, and hot takes."}
153,{id:94729,value:"Mormon Land",shortDescription:"Every Thursday, explore the news about The Church of Jesus Christ of Latter-day Saints."},{id:94731,value:"The TribUte",shortDescription:"Every Friday, TribUte is your go-to source for Utah Sports fans."},{id:94725,value:"Top Stories",shortDescription:"Sent daily, this newsletter brings you the day's biggest stories."},{id:94728,value:"Utah Eats",shortDescription:"Every Wednesday, news on Utahâs bar and restaurant scene."},{id:94727,value:"The Daily Buzz",shortDescription:"Sent weekday mornings, this newsletter will take you inside our newsroom to understand the latest political news."},{id:97158,value:"Open Lands",shortDescription:"A weekly newsletter on land, water, and air in Utah."},{id:102103,value:"E-edition Email Notification",shortDescription:"A daily email delivering the digital version of The Salt Lake Tribuneâs print paper."},{id:103370,value:"Obituaries Newsletter",shortDescription:"A Thursday email of The Salt Lake Tribune obituaries and death notices from funeral homes and families."},{id:115300,value:"New To Utah",shortDescription:"Twice a week for nine weeks, this email series brings you the ins and outs of Utah culture."},{id:135325,value:"Inside Voices",shortDescription:"Inside Voices is a weekly collection of ideas, perspectives and solutions from across Utah."},{id:148461,value:"The Cache Crop",shortDescription:"Love Cache Valley? So do we. Cache Valley news, stories and events straight to your inbox every week."},{id:167245,value:"Red Rock Roundup",shortDescription:"Get the Red Rock Roundup, your source for Washington County news every week."}
153,{id:117526,value:"Moab Times",shortDescription:"A weekly roundup of the biggest local stories from The Times-Independent."},{id:74033,value:"Unsubscribe from all marketing emails",shortDescription:"Check this box to no longer receive any marketing emails except important account info. If newsletters options are checked on this page, you will continue to receive those."}].map(e=>(0,o.jsxs)("label",{htmlFor:"newsletters",className:"email-preferences",children:[(0,o.jsx)("span",{className:"email-pref-checkbox",children:(0,o.jsx)("input",{type:"checkbox",name:"newsletters",value:e.value,onChange:t=>((e,t)=>{if(e.target.checked)a(e=>[...e,t]);else{const e=r.filter(e=>e!==t);a(e)}})(t,e.id),checked:r.includes(e.id)})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"email-pref-label",children:e.value}),(0,o.jsx)("p",{children:e.shortDescription})]})]},e.id))}):(0,o.jsx)("p",{children:"Loading email preferences"}),(0,o.jsx)("div",{className:"email-button-container",children:(0,o.jsx)("button",{type:"submit",className:u?"subscribed-button":"signup-button",onClick:!s||u?()=>{}:()=>(async()=>{d(!0);const e=r.includes(74033),t=r.filter(e=>74033!==e);await i.A.post("https://ujljzou7kf.execute-api.us-east-1.amazonaws.com/prod/user/updateUserPrefs",{email:c,interests:t,unsubscribeChannel:e})})(),children:u?"Preferences Updated!":"Update Email Preferences"})})]})})}a.label="Preferrences Page Feature",t.default=a},35565:function(e,t,r){"use strict";r.r(t),r.d(t,{getValueForSort:function(){return R},makePercentag:function(){return N}});var n=r(4321),i=r(40809),o=r(19674),a=r.n(o),s=r(79877),l=r.n(s),c=r(72125),u=r.n(c),d=r(92749),f=r.n(d),p=r(85013),h=r.n(p),m=r(79304),y=r.n(m),g=r(40775),v=r.n(g),b=r(903),_=r.n(b),x=r(72721),w=r.n(x),O=r(63703),j=r.n(O),S=r(31134),M=r.n(S),k=r(55212),P=r.n(k),T=r(94923),E=r(34766);const C=["children","value","index"];function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach(function(t){D(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function D(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e){const{children:t,value:r,index:n}=e,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,C);return(0,E.jsx)("div",A(A({role:"tabpanel",hidden:r!==n,id:`simple-tabpanel-${n}`,"aria-labelledby":`simple-tab-${n}`},i),{},{children:r===n&&(0,E.jsx)(P(),{sx:{p:3},children:t})}))}const N=(e,t)=>{if(0===e)return 0;const r=(e/t).toFixed(2);return Math.round(100*r)},R=e=>{if(!e)return 0;const t=e.replace(/\(Multi-County\)/g,"").trim().match(/(\d+)\s*$/);return t?Number(t[1]):0};function z({customFields:e}){const{globalContent:t}=(0,n.useAppContext)(),{title:r,subtitle:o,rawHtml:a}=e,[s,c]=(0,i.useState)(0),[d,p]=(0,i.useState)("Salt Lake"),m=t.data||null;if(!m)return(0,E.jsx)("p",{children:"Data is not available"});const g=[],b=[],x=[],O=[],S=[],k=[],C=[];m.forEach(e=>{if("Federal Offices"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),g.push(t)}else if("State Senate"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),b.push(t)}else if("State House"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),x.push(t)}else if("School Board"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),O.push(t)}else if("County Offices"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),S.push(t)}else if("Ballot Questions"===e.RaceType){let t={};t=e,t.value=R(t.RaceName),k.push(t)}else if("Judicial Offices"===e.RaceType){let t={};t=e,t.value=0,C.push(e)}});return(0,E.jsx)("div",{className:"primary-election-data",style:{marginLeft:"2%",marginRight:"2%"},children:(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{className:"title-subtitle",children:[r?(0,E.jsx)("h1",{style:{marginBottom:"`15px"},children:r}):null,o?(0,E.jsx)("p",{className:"container",children:o}):null,a?(0,E.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}):null]}),(0,E.jsxs)(P(),{sx:{width:"100%",marginTop:"2%"},children:[(0,E.jsx)(P(),{sx:{borderBottom:1,borderColor:"divider"},children:(0,E.jsx)(j(),{value:s,onChange:e=>{c(e)},"aria-label":"basic tabs",indicatorColor:"secondary",textColor:"inherit",children:(0,E.jsx)(M(),{label:"Federal Offices",onClick:()=>{c(0)}})})}),(0,E.jsxs)(I,{value:s,index:s,children:[4===s?(0,E.jsxs)("select",{onChange:({target:{value:e}})=>{p(e)},className:"form-select",value:d,children:[(0,E.jsx)("option",{value:d,children:d}),(0,E.jsx)("option",{value:"Beaver",children:"Beaver"}),(0,E.jsx)("option",{value:"Box Elder",children:"Box Elder"}),(0,E.jsx)("option",{value:"Cache",children:"Cache"}),(0,E.jsx)("option",{value:"Carbon",children:"Carbon"}),(0,E.jsx)("option",{value:"Daggett",children:"Daggett"}),(0,E.jsx)("option",{value:"Davis",children:"Davis"}),(0,E.jsx)("option",{value:"Duchesne",children:"Duchesne"}),(0,E.jsx)("option",{value:"Emery",children:"Emery"}),(0,E.jsx)("option",{value:"Garfield",children:"Garfield"}),(0,E.jsx)("option",{value:"Grand",children:"Grand"}),(0,E.jsx)("option",{value:"Iron",children:"Iron"}),(0,E.jsx)("option",{value:"Juab",children:"Juab"}),(0,E.jsx)("option",{value:"Kane",children:"Kane"}),(0,E.jsx)("option",{value:"Millard",children:"Millard"}),(0,E.jsx)("option",{value:"Morgan",children:"Morgan"}),(0,E.jsx)("option",{value:"Piute",children:"Piute"}),(0,E.jsx)("option",{value:"Rich",children:"Rich"}),(0,E.jsx)("option",{value:"Salt Lake",children:"Salt Lake"}),(0,E.jsx)("option",{value:"San Juan",children:"San Juan"}),(0,E.jsx)("option",{value:"Sanpete",children:"Sanpete"}),(0,E.jsx)("option",{value:"Sevier",children:"Sevier"}),(0,E.jsx)("option",{value:"Summit",children:"Summit"}),(0,E.jsx)("option",{value:"Tooele",children:"Tooele"}),(0,E.jsx)("option",{value:"Uintah",children:"Uintah"}),(0,E.jsx)("option",{value:"Utah",children:"Utah"}),(0,E.jsx)("option",{value:"Wasatch",children:"Wasatch"}),(0,E.jsx)("option",{value:"Washington",children:"Washington"}),(0,E.jsx)("option",{value:"Wayne",children:"Wayne"}),(0,E.jsx)("option",{value:"Weber",children:"Weber"})]}):null,(0,E.jsx)("div",{className:"row",children:(L=s,0===L?g:1===L?b:2===L?x:3===L?O:4===L?S.filter(e=>e.CountyName===d):5===L?k:6===L?C:null).sort((e,t)=>
153e.value-t.value).map(e=>(0,E.jsx)("div",{style:{marginTop:"16px"},className:"col-12 col-lg-6 col-md-6 col-sm-12",children:(0,E.jsx)(l(),{style:{height:"100%",width:"98%",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:(0,E.jsxs)("div",{style:{marginLeft:"10px",marginRight:"10px"},children:[(0,E.jsxs)("h3",{style:{marginBottom:"2px"},children:[4===s?(0,E.jsx)("span",{children:`${e.CountyName}: `}):null,e.RaceName]}),(0,E.jsx)("hr",{style:{marginLeft:"0px",marginRight:"0px",height:"0.2px"}}),(0,E.jsx)(y(),{children:(0,E.jsxs)(u(),{"aria-label":"election table",children:[(0,E.jsx)(v(),{children:(0,E.jsxs)(_(),{children:[5===s||6===s?(0,E.jsx)(h(),{}):(0,E.jsx)(h(),{children:(0,E.jsx)("div",{className:"thicker-font",children:"Candidate Name"})}),(0,E.jsx)(h(),{align:"right",children:(0,E.jsx)("div",{className:"thicker-font",children:"Votes"})}),(0,E.jsx)(h(),{align:"right",children:(0,E.jsx)("div",{className:"thicker-font",children:"%"})})]})}),6!==s?(0,E.jsx)(f(),{children:e.Candidates.sort((e,t)=>t.Votes-e.Votes).map(t=>(0,E.jsxs)(_(),{style:{backgroundColor:"white"},sx:{"&:last-child td, &:last-child th":{border:0}},children:["YES"===t.CandidateName||"NO"===t.CandidateName?(0,E.jsx)(h(),{component:"th",scope:"row",children:t.CandidateName}):(0,E.jsx)(h(),{component:"th",scope:"row",children:`${t.CandidateName} ${t.Party?`(${t.Party})`:""}`}),(0,E.jsx)(h(),{align:"right",children:t.Votes.toLocaleString()||"0"}),(0,E.jsxs)(h(),{align:"right",children:[t.Votes?`${N(t.Votes,e.Votes)}%`:"0",(0,E.jsx)(w(),{variant:"determinate",value:N(t.Votes,e.Votes)||0})]})]},t.CandidateName))}):(0,E.jsxs)(f(),{children:[(0,E.jsxs)(_(),{style:{backgroundColor:"white"},sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,E.jsx)(h(),{component:"th",scope:"row",children:e.Candidates[1].CandidateName}),(0,E.jsx)(h(),{align:"right",children:e.Candidates[1].Votes.toLocaleString()||"0"}),(0,E.jsxs)(h(),{align:"right",children:[e.Candidates[1].Votes?`${N(e.Candidates[1].Votes,e.Votes)}%`:"0",(0,E.jsx)(w(),{variant:"determinate",value:N(e.Candidates[1].Votes,e.Votes)||0})]})]},e.Candidates[1].CandidateName),(0,E.jsxs)(_(),{style:{backgroundColor:"white"},sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,E.jsx)(h(),{component:"th",scope:"row",children:e.Candidates[0].CandidateName}),(0,E.jsx)(h(),{align:"right",children:e.Candidates[0].Votes.toLocaleString()||"0"}),(0,E.jsxs)(h(),{align:"right",children:[e.Candidates[0].Votes?`${N(e.Candidates[0].Votes,e.Votes)}%`:"0",(0,E.jsx)(w(),{variant:"determinate",value:N(e.Candidates[0].Votes,e.Votes)||0})]})]},e.Candidates[0].CandidateName)]})]})})]})})},`${e.RaceName}_${(0,T.gZ)()}`))})]})]})]})});var L}z.label="Primary Election Data",z.propTypes={customFields:a().shape({title:a().string.tag({name:"Title",defaultValue:""}),subtitle:a().string.tag({name:"Sub Title",defaultValue:""}),rawHtml:a().string.tag({name:"Raw HTML"})}).isRequired},t.default=z},87179:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsx)("div",{className:"queryly-advanced-container",children:(0,n.jsxs)("div",{id:"queryly_advanced_container",children:[(0,n.jsx)("div",{id:"faceteddata"}),(0,n.jsx)("div",{id:"resultdata"})]})})}i.label="Query Advanced Search",t.default=i},72716:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(4321),s=r(29851),l=r(34766);function c({url:e,iosUrl:t,androidUrl:r}){return e||t||r||""}function u(){if("undefined"==typeof window)return"web";const e=window.navigator&&window.navigator.userAgent||"";return/iPad|iPhone|iPod/i.test(e)?"ios":/Android/i.test(e)?"android":"web"}function d({text:e,url:t,openInNewTab:r,variant:i,iosUrl:o,androidUrl:a,onClickTrack:s}){const[d,f]=(0,n.useState)(c({url:t,iosUrl:o,androidUrl:a}));if((0,n.useEffect)(()=>{(o||a)&&f(function({url:e,iosUrl:t,androidUrl:r}){if("undefined"==typeof window)return c({url:e,iosUrl:t,androidUrl:r});const n=u();return t&&"ios"===n?t:r&&"android"===n?r:c({url:e,iosUrl:t,androidUrl:r})}({url:t,iosUrl:o,androidUrl:a}))},[t,o,a]),!e||!d)return null;const p=r?"noopener noreferrer":void 0,h=r?"_blank":void 0;return(0,l.jsx)("a",{className:`reader-tool-card__cta reader-tool-card__cta--${i}`,href:d,target:h,rel:p,onClick:()=>s({variant:i,ctaText:e,resolvedUrl:d}),children:e})}function f({customFields:e}
153){const{eyebrow:t,title:r,description:n,imageUrl:i,imageAlt:o,primaryCtaText:c,primaryCtaUrl:f,primaryCtaNewTab:p,primaryCtaIosUrl:h,primaryCtaAndroidUrl:m,secondaryCtaText:y,secondaryCtaUrl:g,secondaryCtaNewTab:v,trackingLabel:b}=e||{},{requestUri:_}=(0,a.useAppContext)()||{},x=({variant:e,ctaText:t,resolvedUrl:n})=>{const i={component:"reader-tool-card",variant:e,title:r||"",cta_text:t,resolved_url:n,device:u()};b&&(i.tracking_label=b),(0,s.sx)("reader-tool-cta-click",(0,s.EZ)(_,i))};return r||c?(0,l.jsxs)("div",{className:"reader-tool-card",children:[i&&(0,l.jsx)("div",{className:"reader-tool-card__media",children:(0,l.jsx)("img",{src:i,alt:o||"",loading:"lazy",className:"reader-tool-card__image"})}),(0,l.jsxs)("div",{className:"reader-tool-card__body",children:[t&&(0,l.jsx)("p",{className:"reader-tool-card__eyebrow",children:t}),r&&(0,l.jsx)("h3",{className:"reader-tool-card__title",children:r}),n&&(0,l.jsx)("p",{className:"reader-tool-card__description",children:n}),(f||h||m||g)&&(0,l.jsxs)("div",{className:"reader-tool-card__ctas",children:[(0,l.jsx)(d,{text:c,url:f,openInNewTab:p,variant:"primary",iosUrl:h,androidUrl:m,onClickTrack:x}),(0,l.jsx)(d,{text:y,url:g,openInNewTab:v,variant:"secondary",onClickTrack:x})]})]})]}):null}d.propTypes={text:o().string,url:o().string,openInNewTab:o().bool,variant:o().oneOf(["primary","secondary"]).isRequired,iosUrl:o().string,androidUrl:o().string,onClickTrack:o().func},d.defaultProps={text:"",url:"",openInNewTab:!1,iosUrl:"",androidUrl:"",onClickTrack:()=>{}},f.label="Reader Tool Card",f.propTypes={customFields:o().shape({eyebrow:o().string.tag({label:"Eyebrow",description:"Short label above the title (e.g., GET THE APP)"}),title:o().string.tag({label:"Title"}),description:o().string.tag({label:"Description"}),imageUrl:o().string.tag({label:"Image URL",description:"Optional icon or graphic shown above the title"}),imageAlt:o().string.tag({label:"Image alt text"}),primaryCtaText:o().string.tag({label:"Primary CTA text"}),primaryCtaUrl:o().string.tag({label:"Primary CTA URL",description:"Desktop / fallback URL. Optional when iOS and Android URLs are set â desktop visitors will get the iOS URL by default."}),primaryCtaNewTab:o().bool.tag({label:"Open primary CTA in new tab",defaultValue:!0}),primaryCtaIosUrl:o().string.tag({label:"Primary CTA iOS URL",description:"When set, iOS visitors are routed here on click instead of the Primary CTA URL (e.g., App Store link)."}),primaryCtaAndroidUrl:o().string.tag({label:"Primary CTA Android URL",description:"When set, Android visitors are routed here on click instead of the Primary CTA URL (e.g., Google Play link)."}),secondaryCtaText:o().string.tag({label:"Secondary CTA text",description:"Optional second button (e.g., Google Play next to App Store)"}),secondaryCtaUrl:o().string.tag({label:"Secondary CTA URL"}),secondaryCtaNewTab:o().bool.tag({label:"Open secondary CTA in new tab",defaultValue:!0}),trackingLabel:o().string.tag({label:"Tracking label",description:"Slug used to distinguish this card in Mixpanel (e.g., app-download, epaper, donate). Sent as tracking_label on reader-tool-cta-click events. Leave blank to omit."})}).isRequired},t.default=f},76641:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(34766);function s({customFields:e}){const{contentService:t,contentConfigValues:r}=e.dataConfig,n=(0,o.useContent)({source:t,query:r});return n?(0,a.jsxs)("div",{className:"pat-bagley-cartoons",children:[n.content_elements.map(e=>(0,a.jsx)("h3",{children:(0,a.jsx)("a",{className:"bagley-item",href:e.canonical_url,children:e.headlines.basic})},e._id)),(0,a.jsxs)("h3",{className:"bagley-facebook",children:["Want more Bagley? Become a fan on",(0,a.jsx)("a",{href:"https://www.facebook.com/notrobertkirby",children:(0,a.jsx)("span",{className:"facebook-link",children:"Â Facebook"})}),"."]})]}):(0,a.jsx)("div",{children:"Fill in the custom fields"})}s.label="Recent Bagley Stories",s.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories")}).isRequired},t.default=s},15719:function(e,t,r){"use strict";r.r(t);var n=r(14375),i=r(19674),o=r.n(i),a=r(4321),s=r(59626),l=r.n(s),c=r(752),u=r(23874),d=r(26858),f=r(34766);function p({customFields:e}){const{globalContent:t,isAdmin:r}=(0,a.useAppContext)();if(t&&t.content_elements&&t.content_elements.length>0&&"raw_html"===t.content_elements[0].type&&t.content_elements[0].content.includes("<iframe"))return(0,f.jsx)(l(),{id:t.content_elements[0].content,children:(0,f.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:t.content_elements[0].content},style:{marginBottom:"2%"}})},t.content_elements[0].content);const i=!(!t||!t.content_elements)&&["gallery","raw_html"].includes(t.content_elements[0].type),o=t?t.promo_items:void 0;if(r)return(0,f.jsx)(c.A,{url:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/SQHWAT5PRRDHFCLJVBW3CDACAM.jpg",alt:"test",caption:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis dictum nisl id tempor. Praesent feugiat nulla et elit fringilla pretium. Aenean eget euismod erat, non fermentum magna. Maecenas rhoncus orci augue, posuere cursus arcu ornare eu.",startLeft:!0,width:840,height:558});if(!o)return null;const{caption:s,subtitle:p,created_date:h,alt_text:m}=o.basic,y=t.canonical_url,g=t._id;let v=!1;y.length>1&&(v=!0);const b=t.headlines?t.headlines.basic:"",{imageOptimization:_,runLocal:x}
153=e||"none",w=u.FG[_],O=(0,n.useContent)({source:"single-story-v2-with-id-pub",query:{_id:g,"arc-site":"sltrib",isPublished:v}}),j=x?t:O,S=(0,u.L)(w.width,w.height,(0,d.Jg)(j),j.promo_items.basic.auth[1],t.owner.id,j.promo_items.basic);return i?null:S&&(0,f.jsx)(c.A,{url:S,alt:m||s||p||b,caption:s,startLeft:!0,canonicalUrl:y,createdDate:h})}p.label="Article Image global",p.propTypes={customFields:o().shape({imageOptimization:o().oneOf(Object.keys(u.FG)).tag({name:"Image optimization"}),runLocal:o().boolean.tag({name:"Run LOCAL",defaultValue:!1})})},t.default=p},23336:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(14375),a=r(4321),s=r(44003),l=r(91008),c=r(28031),u=r(34766);function d(){const{globalContent:e}=(0,a.useAppContext)(),t=e&&e._id?e._id:-1,r=(0,o.useContent)({source:"arc-related-content",query:{articleId:t},transform:e=>e?e.basic.filter(e=>"story"===e.type):null})||s.A,n={titleOnly:!0};return 0===r.length?(0,u.jsx)(u.Fragment,{}):(0,u.jsxs)("div",{children:[(0,u.jsx)(c.default,{customFields:{link:"#",headingTitle:"RELATED STORIES"}}),r.map(e=>(0,u.jsx)("div",{style:{marginTop:16},children:(0,u.jsx)(l.A,{data:e,customFields:n,isSimpleArticle:!0})},e._id))]})}d.label="Related articles",d.propTypes={globalContent:i().shape({_id:i().string,website_url:i().string})},t.default=d},25418:function(e,t,r){"use strict";r.r(t);var n=r(34766);function i(){return(0,n.jsx)("div",{id:"container",className:"reports-container",children:(0,n.jsxs)("div",{id:"mainContent",children:[(0,n.jsx)("h1",{className:"heading",children:"Legal and Financial Information"}),(0,n.jsx)("h6",{children:"IRS documentation"}),(0,n.jsxs)("p",{children:["The Salt Lake Tribune is the first daily metropolitan newspaper to be awarded nonprofit status by the Internal Revenue Service. We are delighted to share our application to the IRS, called a 1023, with the public. You may",(0,n.jsx)("a",{href:"https://local.sltrib.com/nonprofit/sltrib_pledge.pdf",children:(0,n.jsx)("span",{className:"links",children:"Â download a copy of the application here"})}),". A copy of the",(0,n.jsx)("a",{href:"https://local.sltrib.com/nonprofit/IRS_Ruling_Letter.pdf",children:(0,n.jsx)("span",{className:"links",children:"Â letter awarded us 501(c)(3) public charity status can be downloaded here"})}),"."]}),(0,n.jsx)("h6",{children:"Gift Acceptance Policies"}),(0,n.jsxs)("p",{children:["The Salt Lake Tribuneâs core value is journalistic excellence. As a 501(c)(3) nonprofit news organization, The Tribune holds independence and accountability to the public as its guiding principles. The executive editor of The Salt Lake Tribune has full editorial control on all stories, columns and photographs published by The Tribune. Story ideas, complaints and news tips must be funneled through the executive editor. You may",(0,n.jsx)("a",{href:"https://local.sltrib.com/nonprofit/IRS_Ruling_Letter.pdf",children:(0,n.jsx)("span",{className:"links",children:"Â download our Gift acceptance Policies"})}),", Â which describes the values, standards and practices pursued by The Tribune when seeking financial support."]}),(0,n.jsx)("h6",{children:"Donors"}),(0,n.jsx)("p",{children:"As Utahâs independent voice, The Tribune makes every effort to be transparent about its relationships with readers and supporters. Coming soon: All donors who give $5,000 or more annually will be listed at sltrib.com. All donors giving up to $5,000 will be listed on The Salt Lake Tribuneâs website unless they affirmatively elect to be listed as anonymous. This report will be updated each quarter."}),(0,n.jsx)("h6",{children:"Professional standards and ethics"}),(0,n.jsxs)("p",{children:["The Salt Lake Tribune adheres to the",(0,n.jsx)("a",{href:"https://www.spj.org/ethicscode.asp",children:(0,n.jsx)("span",{className:"links",children:"Â Society of Professional Journalists' Code of Ethics"})}),"Â as well as additional internal standards outlined in The Tribune Professional Standards Guide. In short, The Tribune strives to ensure that its reporting methods are fair and thorough, and its reports accurate and transparent."]}),(0,n.jsx)("h6",{children:"Bylaws"}),(0,n.jsxs)("p",{children:["You may",(0,n.jsx)("a",{href:"https://local.sltrib.com/nonprofit/sltrib_bylaws.pdf",children:(0,n.jsx)("span",{className:"links",children:"Â download a copy of our Bylaws here."})})]}),(0,n.jsx)("h6",{children:"IRS Form 990"}),(0,n.jsx)("p",{children:"As a new organization, we have yet to file our first 990."}),(0,n.jsx)("div",{className:"photo-wrapper",children:(0,n.jsx)("img",{src:"https://local.sltrib.com/marketing/sltrib_member_bagley_sm.jpg",alt:"cartoon of tribune reporter"})})]})})}i.label="Reports Page",t.default=i},81402:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(4321),a=r(79877),s=r.n(a),l=r(91008),c=r(34766);function u(){const{globalContent:e}=(0,o.useAppContext)(),t=window.location.href.split("basic:")[1],r=e.content_elements.length;return(0,c.jsxs)("div",{className:"results-container",children:[0===r&&(0,c.jsx)("h1",{className:"result-heading",children:`No results for: ${t}`}),r>0&&(0,c.jsx)("h1",{className:"result-heading",children:`Results of your search: ${t}`}),e.content_elements.map(e=>(0,c.jsx)("div",{style:{maxWidth:600,margin:8},children:(0,c.jsx)(s(),{children:(0,c.jsx)(l.A,{data:e,hideSeparator:!0})})},e._id))]})}u.label="Article Search Results",u.propTypes={globalContent:i().shape({content_elements:i().arrayOf(i().shape({_id:i().string,canonical_url:i().string,headlines:i().shape({basic:i().string}),promo_items:i().shape({basic:i().shape({url:i().string})})}))}).isRequired},t.default=u},28031:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const{headingTitle:t,link:r,noVspace:n}=e;return(0,o.jsx)("a",{href:r||"#",className:"section-title "+(n?"no-v-space":""),"data-testid":"sec-head-link",children:(0,o.jsx)("h2",{children:t||"Here the title"})})}a.label="Section Header",a.propTypes={customFields:i().shape({headingTitle:i().string.tag({name:"Section Header"}),link:i().string.tag({name:"Link",description:"It could be any valid section like /sports or any valid url like https://some-url.com"}),noVspace:i().bool.tag({name:"No vertical space"})}).isRequired},t.default=a},57734:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(14355),s=r.n(a),l=r(91008),c=r(34766);function u({customFields:e}){const{contentService:t,contentConfigValues:r}=e.dataConfig,n=(0,o.useContent)({source:t,query:r}),i=n?n.content_elements:[];return(0,c.jsx)("div",{className:"s122-feature",children:(0,c.jsxs)(s(),{container:!0,spacing:3,className:"grid-item",children:[(0,c.jsx)(s(),{item:!0,xs:12,sm:12,md:6,lg:6,children:(0,c.jsx)(l.A,{data:i[0],customFields:{hideTags:!0}})}),(0,c.jsxs)(s(),{item:!0,xs:12,sm:12,md:4,lg:3,children:[(0,c.jsx)(l.A,{data:i[1],customFields:{hideTags:!0}}),(0,c.jsx)(l.A,{data:i[2],customFields:{hideTags:!0}})]}),(0,c.jsxs)(s(),{item:!0,xs:12,sm:12,md:4,lg:3,children:[(0,c.jsx)(l.A,{data:i[3],customFields:{hideTags:!0}}),(0,c.jsx)(l.A,{data:i[4],customFields:{hideTags:!0}})]})]})})}u.label="Section 1-2-2",u.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories")}).isRequired},t.default=u},73731:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({customFields:e}){const{mainHeading:t,imgPath:r,imgDescription:n,someText:i}=e;return(0,o.jsxs)("div",{className:"simple-img-msg-container",children:[(0,o.jsx)("h1",{className:"heading",children:t}),(0,o.jsx)("div",{className:"photo-wrapper",children:(0,o.jsx)("img",{src:r,alt:n})}),(0,o.jsx)("div",{className:"some-text",children:(0,o.jsx)("p",{children:i})})]})}a.propTypes={customFields:i().shape({mainHeading:i().string,imgPath:i().string,imgDescription:i().string,
153someText:i().string}).isRequired},a.label="Simple Image Page",t.default=a},73985:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(34766);function s({customFields:e}){const{twitter:t,instagram:r,facebook:n,mail:i}=e,{deployment:s,contextPath:l}=(0,o.useAppContext)(),c=s?s(`${l}/resources/svg/instagram.svg`):"",u=s?s(`${l}/resources/svg/facebook.svg`):"",d=s?s(`${l}/resources/svg/newsletter.svg`):"";return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("a",{href:t,"data-testid":"sm-twitter",className:"icon",children:(0,a.jsx)("img",{src:"https://local.sltrib.com/icons/twitter_logos/t-1.png",alt:"twitter-logo",width:"21",height:"21",style:{backgroundColor:"white"}})}),(0,a.jsx)("a",{href:r,"data-testid":"sm-instragram",className:"icon",children:(0,a.jsx)("img",{width:"32",height:"32",alt:"sltrib-twitter-link",src:c})}),(0,a.jsx)("a",{href:n,"data-testid":"sm-facebook",className:"icon",children:(0,a.jsx)("img",{width:"32",height:"32",alt:"sltrib-twitter-link",src:u})}),(0,a.jsx)("a",{href:i,"data-testid":"sm-mail",className:"icon",children:(0,a.jsx)("img",{width:"32",height:"32",alt:"sltrib-twitter-link",src:d})})]})}s.label="Social Media Bar",s.propTypes={customFields:i().shape({twitter:i().string,instagram:i().string,facebook:i().string,mail:i().string}).isRequired},t.default=s},44369:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(50399),a=r(27487),s=r(34766);function l({customFields:e}){const{bgColor:t,spaceTop:r,spaceBottom:n,twitterLink:i,instagramLink:l,facebookLink:c}=e;return(0,s.jsxs)("div",{className:"socialm-foot",style:{backgroundColor:t||"white",paddingTop:r||"0px",paddingBottom:n||"0px"},children:[(0,s.jsx)("a",{href:i||"https://twitter.com/sltrib/","data-testid":"sm-twitter",className:"soc-med-item",children:(0,s.jsx)("img",{src:"https://local.sltrib.com/icons/twitter_logos/t-1.png",alt:"twitter-logo",width:"37",height:"37",style:{backgroundColor:"white",marginTop:"5px",marginRight:"5px"}})}),(0,s.jsx)("a",{href:l||"https://www.instagram.com/sltrib/","data-testid":"sm-instagram",className:"soc-med-item","aria-label":"Instagram",children:(0,s.jsx)(o.A,{style:{color:"rgb(255,76,60)",fontSize:46}})}),(0,s.jsx)("a",{href:c||"https://www.facebook.com/saltlaketribune/","data-testid":"sm-facebook",className:"soc-med-item","aria-label":"Facebook",children:(0,s.jsx)(a.A,{style:{color:"rgb(45,79,138)",fontSize:46}})})]})}l.label="Social Media",l.propTypes={customFields:i().shape({bgColor:i().string.tag({name:"Background Color",defaultValue:"white",description:' Coler Style format EX: "rgb(45,79,138)", "black", "#F7F7F7"'}),spaceTop:i().string.tag({name:"Space Top",defaultValue:"0px",description:' Style format EX: "3%", "15px", "2rem"'}),spaceBottom:i().string.tag({name:"Space Bottom",defaultValue:"0px",description:' Style format EX: "3%", "15px", "2rem"'}),twitterLink:i().string.tag({name:"Twitter Url",defaultValue:"https://twitter.com/sltrib/"}),facebookLink:i().string.tag({name:"Facebook Url",defaultValue:"https://www.facebook.com/saltlaketribune/"}),instagramLink:i().string.tag({name:"Instagram Url",defaultValue:"https://www.instagram.com/sltrib/"})}).isRequired},t.default=l},44375:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(4321),o=r(14375),a=r(59626),s=r.n(a),l=r(74043),c=r.n(l),u=r(19894),d=r.n(u),f=r(23797),p=r(752),h=r(8907),m=r(67365),y=r(2975),g=r(11204),v=r(41537),b=r(93745),_=r(71381),x=r(41422),w=r(97133),O=r(26858),j=r(23874),S=r(34766);const M=750,k=938,P=1600,T=686,E=[1,1.5],C=[480,900,1350,1800];function L({article:e}){const[t,r]=(0,n.useState)(!1),i=e.headlines?e.headlines.basic:"";return(0,S.jsxs)("div",{className:"special-action-row",children:[(0,S.jsxs)("button",{type:"button",className:"special-action-pill",onClick:()=>{const t=`${window.location.origin}${e.canonical_url||""}`;navigator.share?navigator.share({title:i,url:t}).catch(()=>{}):navigator.clipboard.writeText(t).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})},children:[(0,S.jsx)("svg",{viewBox:"0 0 24 24",width:"15",height:"15","aria-hidden":"true",children:(0,S.jsx)("path",{d:"M13 5.83V17h-2V5.83L8.41 8.41 7 7l5-5 5 5-1.41 1.41L13 5.83zM5 10v10h14V10h2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10h2z",fill:"
153currentColor"})}),t?"Link copied!":"Share"]}),(0,S.jsxs)("a",{className:"special-action-pill",href:"#coral-static",children:[(0,S.jsx)("svg",{viewBox:"0 0 24 24",width:"15",height:"15","aria-hidden":"true",children:(0,S.jsx)("path",{d:"M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z",fill:"currentColor"})}),"Comments"]})]})}function A(){const{globalContent:e}=(0,i.useAppContext)(),t=e||{},r=t.content_elements||[],n=r.length>0&&"raw_html"===r[0].type&&r[0].content.includes("<iframe"),a=n?r.slice(1):r,l=t.promo_items?t.promo_items:null,u=l&&l.basic?l.basic._id:null,d=(0,o.useContent)({source:"arc-signing-service",query:u?{id:u}:null}),A=l&&l.basic&&l.basic.auth?l.basic.auth[1]:null,D=d&&d.hash||A,I=a.filter(e=>!("image"!==e.type||e.auth&&e.auth[1])).map(e=>e._id),N={};I.forEach(e=>{const t=(0,o.useContent)({source:"arc-signing-service",query:{id:e}});N[e]=t&&t.hash});const R=a.filter(e=>"gallery"===e.type).map(e=>e._id),z={};if(R.forEach(e=>{z[e]=(0,o.useContent)({source:"arc-photo-center-gal-id-v2",query:{galleryId:e}})}),!t.promo_items||!t.promo_items.basic)return(0,S.jsx)("p",{children:"Not Available"});const{caption:F,alt_text:B}=l.basic,Y=(0,O.Jg)(t),U=t.owner?t.owner.id:void 0;return(0,S.jsxs)("div",{className:"special-article-container",children:[(0,S.jsxs)("div",{className:"hero-art",children:[n?(0,S.jsx)(s(),{id:r[0].content,children:(0,S.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:r[0].content}})},r[0].content):D&&(0,S.jsxs)("picture",{children:[(0,S.jsx)("source",{media:"(min-width: 768px)",srcSet:(0,j.VI)(P,T,Y,D,U,l.basic,E)}),(0,S.jsx)("img",{src:(0,j.L)(M,k,Y,D,U,l.basic),srcSet:(0,j.VI)(M,k,Y,D,U,l.basic,E),alt:B||F||t.headlines.basic})]}),F&&(0,S.jsx)("p",{className:"caption-credit",children:F})]}),(0,S.jsxs)("div",{className:"special-article-meta",children:[(0,S.jsx)("h1",{className:"special-headline",children:t.headlines.basic}),t.subheadlines&&t.subheadlines.basic&&(0,S.jsx)("h2",{className:"special-article-subhead",children:t.subheadlines.basic}),t.credits&&t.credits.by&&t.credits.by[0]&&(0,S.jsx)("h3",{className:"special-byline",children:`By ${t.credits.by[0].name}`}),(0,S.jsx)(L,{article:t}),t.publish_date&&(0,S.jsx)("p",{className:"special-publish-date",children:`Published, ${c()(t.publish_date).format("MMM. D, YYYY")}`})]}),a.map(e=>{const{_id:t,type:r}=e;if("text"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(f.A,{element:e})},t);if("image"===r){const r=e.auth&&e.auth[1]?e.auth[1]:N[e._id];if(!r)return null;const n=(0,O.yx)(e.url),i=e.owner?e.owner.id:void 0,o=(0,j.Kg)(!1,900,n,r,i),a=(0,j.$8)(n,r,i,C);return(0,S.jsx)("div",{className:"special-body-element",children:o&&(0,S.jsx)(p.A,{alt:e.alt_text||e.caption,caption:e.caption,url:o,srcSet:a,sizes:"(max-width: 900px) 100vw, 900px",intrinsicWidth:e.width,intrinsicHeight:e.height})},t)}if("gallery"===r){const e=z[t],r=e&&e.contentRequest&&e.contentRequest.content_elements;return r?(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(h.A,{data:r})},t):null}if("oembed_response"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(m.A,{data:e.raw_oembed})},t);if("quote"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(y.A,{data:e.content_elements,citation:e.citation})},t);if("divider"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)("hr",{className:"special-body-divider"})},t);if("raw_html"===r){const{content:r}=e;if(r&&r.includes('id="news-letter"'))return null;if(r&&r.includes("flourish")&&"undefined"!=typeof document){const e=document.createElement("script");return e.src="https://public.flourish.studio/resources/embed.js",e.async=!0,document.body.appendChild(e),(0,S.jsx)("div",{className:"special-body-element",dangerouslySetInnerHTML:{__html:r.replace(/<script[^>]*>.*?<\/script>/gi,"")}},t)}return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)("div",{className:"raw-item",dangerouslySetInnerHTML:{__html:r}})},t)}if("custom_embed"===r){const r=(e.subtype||"").toLowerCase().replace(/\s+/g,"-");if("diptych"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(x.A,{data:e.embed})},t);
153if("loop-video"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(w.A,{data:e.embed})},t);if("tile-gallery"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(g.A,{data:e.embed})},t);if("audio"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(v.A,{data:e.embed})},t);if("trib-audio"===r)return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(b.A,{data:e.embed})},t);if("take-action"===r)return(0,S.jsx)("div",{className:"take-action-box-container",children:(0,S.jsx)(_.A,{data:e.embed})},t)}return(0,S.jsx)("div",{className:"special-body-element",children:(0,S.jsx)(f.A,{element:e})},t)})]})}L.propTypes={article:d().object.isRequired},A.label="Special Article",t.default=A},67541:function(e,t,r){"use strict";r.r(t);var n=r(1307),i=r(14375),o=r(19894),a=r.n(o),s=r(15074),l=r(23874),c=r(26858),u=r(34766);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h({customFields:e}){const{galleryId:t}=e,{isDesktop:r}=(0,s.Qo)(),o={dots:!1,arrows:!1,infinite:!0,autoplay:!0,centerMode:!1,autoplaySpeed:3e3,speed:5e3,slidesToShow:r?4:1,slidesToScroll:1};if(!t)return(0,u.jsx)(u.Fragment,{});const a=(0,i.useContent)({source:"arc-photo-center-gal-id-v2",query:{galleryId:t}});if(!a||!a.contentRequest||!a.contentRequest.content_elements)return(0,u.jsx)(u.Fragment,{});const d=a&&a.contentRequest?a.contentRequest.owner.id:null;return(0,u.jsxs)("div",{className:"sponsor-slider-v3",style:{margin:"0 auto",width:"100%",textAlign:"center"},children:[(0,u.jsx)("h2",{style:{textAlign:"center",fontFamily:"Helvetica Neue LT Pro, Helvetica, Arial, sans-serif",fontWeight:"700",color:"#121212",lineHeight:"23px",fontSize:"20px",letterSpacing:"0.1em",textTransform:"uppercase",marginBottom:"1.8rem"},children:"Thank You to our Supporters:"}),(0,u.jsx)(n.A,f(f({},o),{},{children:(e=>{const t=[];return e.forEach(e=>{e&&e.auth&&e.auth[1]&&e.subtitle&&t.push(e)}),t})(a.contentRequest.content_elements).map(e=>e&&(0,u.jsx)("a",{style:{marginLeft:r?"0":"4.5rem"},href:e.subtitle,children:(0,u.jsx)("img",{className:"logo-image",width:"78%",height:"78%",alt:"carousel-img",src:(0,l.$X)(750,(0,c.yx)(e.url),e.auth[1],d)||"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYb6ow-P9bZN6SN9ud_bt3-ew2UJ3V3MFuBQ&usqp=CAU"})},e._id))}))]})}h.label="Sponsor Gallery Slider V2",h.propTypes={customFields:a().shape({galleryId:a().string.tag({name:"Gallery ID"})}).isRequired},t.default=h},22845:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(34766);function s({customFields:e}){const{dataConfig:t}=e,{contentService:r,contentConfigValues:n}=t,[i]=(0,o.useContent)({source:r,query:n,transform:e=>e?"arc-stories-elastic-search7-v2"===r?e.content_elements:[e]:[]});if(!i)return null;const s=i?.headlines?.basic||"Sponsored Story",l=i?.subheadlines?.basic||"Sponsored: Learn more about this opportunity.",c=i?.website_url||"#";return(0,a.jsxs)("div",{className:"sponsored-card",children:[(0,a.jsx)("div",{className:"sponsored-card__top-bar"}),(0,a.jsxs)("div",{className:"sponsored-card__content",children:[(0,a.jsx)("h2",{className:"sponsored-card__label",children:"Sponsored Story"}),(0,a.jsxs)("a",{href:c,type:"text","aria-label":"foo",target:"_blank",rel:"noopener noreferrer",className:"sponsored-card__headline-link",children:[(0,a.jsx)("h3",{className:"sponsored-card__headline",id:"sponsored-article-link",children:s}),(0,a.jsx)("p",{className:"sponsored-card__text",id:"sponsored-article-link",children:l})]})]}),(0,a.jsx)("div",{className:"sponsored-card__bottom-bar"})]})}s.label="Sponsored Single Story",s.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories")}).isRequired},t.default=s},18138:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a({customFields:e}){const{showIdOrUrl:t,heading:r}=e,n=(e=>{if(!e)return null;
153const t=String(e).trim(),r=(e=>{const t=e.match(/spotify:show:([A-Za-z0-9]+)/);if(t)return t[1];const r=e.match(/open\.spotify\.com\/(?:embed\/)?show\/([A-Za-z0-9]+)/i);return r?r[1]:/^[A-Za-z0-9]{22}$/.test(e)?e:""})(t);if(r)return{src:`https://open.spotify.com/embed/show/${r}`,height:232,defaultTitle:"Spotify podcast"};const n=(e=>{const t=e.match(/<iframe[^>]+src=["']([^"']*podbean\.com[^"']+)["']/i);return t?t[1]:/^https?:\/\/(?:www\.)?podbean\.com\/player-v2\//i.test(e)?e:""})(t);return n?{src:n,height:315,defaultTitle:"Podbean podcast episodes"}:null})(t);if(!n)return null;const i=r&&r.trim();return(0,o.jsxs)("section",{className:"podcast-show-embed",children:[i?(0,o.jsx)("h2",{className:"podcast-show-embed__heading",children:i}):null,(0,o.jsx)("iframe",{className:"podcast-show-embed__iframe",src:n.src,width:"100%",height:n.height,frameBorder:"0",loading:"lazy",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",title:i||n.defaultTitle})]})}a.label="Podcast Show Embed",a.propTypes={customFields:i().shape({showIdOrUrl:i().string.tag({name:"Spotify or Podbean show URL",description:'Paste a Spotify show URL/ID or a Podbean iframe/URL. NOTE: Spotify\'s show embed only shows a single "play latest episode" card â Spotify removed multi-episode list embeds. For a scrollable list of episodes, paste the Podbean iframe code instead.'}),heading:i().string.tag({name:"Heading (optional)",description:"Optional heading shown above the embed."})}).isRequired},t.default=a},96570:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(74043),s=r.n(a),l=r(28031),c=r(34766);function u(){return(0,c.jsx)(c.Fragment,{children:"Article not available"})}const d=e=>s()(e).fromNow(),f=e=>e.taxonomy&&e.taxonomy.sites.length>1?`Main Story for ${e.taxonomy.sites.map(e=>e.name).join(" + ")}`:`Main Story for ${e.taxonomy.sites[0].name}`,p=e=>e.credits&&e.credits.by.length>1?`By ${e.credits.by.map(e=>e.name).join(" | ")}`:`By ${e.credits.by[0].name}`;function h(e,t){const r=`More ${t}`;return(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"col",children:(0,c.jsx)("div",{className:"d-flex justify-content-center",children:(0,c.jsx)("div",{className:"read-more d-flex",children:(0,c.jsx)("a",{href:e.taxonomy.sites[0].path,children:r})})})})})}const m=(e,t)=>{const r=(e=>e.promo_items?e.promo_items.basic.url:"https://placehold.co/300x300/png")(e),n=f(e),i=e.headlines.basic,o=d(e[t||"display_date"]),a=p(e);return(0,c.jsxs)("a",{href:e.website_url,"data-article":"item",className:"stucked-item flex-column",children:[(0,c.jsx)("img",{src:r,alt:n,"data-article":"image"}),(0,c.jsx)("h2",{"data-article":"title",children:i}),(0,c.jsxs)("div",{className:"author-container",children:[(0,c.jsx)("span",{"data-article":"by",children:a}),(0,c.jsx)("span",{className:"dot",children:"·"}),(0,c.jsx)("span",{className:"top-story-date","data-article":"date",children:o})]})]})};function y({customFields:e}){const{dataConfig:t,dateType:r,hasReadmoreButton:n,section:i}=e;if(!t)return(0,c.jsx)(u,{});const{contentService:a,contentConfigValues:s}=t,y=(0,o.useContent)({source:a,query:s});if(!y||!y.content_elements||0===y.content_elements.length)return(0,c.jsx)(u,{});const g=y.content_elements[0],v=y.content_elements.filter((e,t)=>0!==t);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l.default,{customFields:{headingTitle:i}}),(0,c.jsxs)("div",{className:"container",children:[(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"col",children:(0,c.jsx)("div",{className:"main-story",children:m(g,r)})})}),(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"col",children:(0,c.jsx)("div",{className:"secondary-story",children:v.map(e=>((e,t)=>{const r=(e=>e.promo_items?e.promo_items.basic.url:"https://placehold.co/100x100/png")(e),n=f(e),i=e.headlines.basic,o=d(e[t||"display_date"]),a=p(e);return(0,c.jsx)("div",{children:(0,c.jsxs)("a",{href:e.website_url,"data-article":"item",className:"stucked-item d-flex",children:[(0,c.jsx)("img",{src:r,alt:n,"data-article":"image"}),(0,c.jsxs)("div",{className:"article-container",children:[(0,c.jsx)("h2",{"data-article":"title",children:i}),(0,c.jsxs)("div",{className:"author-container",children:[(0,c.jsx)("span",{"data-article":"by",children:a}),(0,c.jsx)("span",{className:"dot",children:"·"}),(0,c.jsx)("span",{className:"top-story-date","data-article":"date",children:o})]})]})]})},e._id)})(e,r))})})}),(0,c.jsx)("div",{"data-article":"readmore",children:n?h(g,i):""})]})]})}y.label="Stacked Sections",y.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories"),section:i().oneOf(["The Latests","Coronavirus","News","Opinion","Sports","Arts & Living","Video & Photography","Trending","Must Reads"]).tag({name:"Section Name"}),hasReadmoreButton:i().boolean.tag({name:"Show More Button"}),dateType:i().oneOf(["last_updated_date","display_date","publish_date"]).tag({name:"Date type"})}).isRequired},t.default=y},2534:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(19894),i=r.n(n),o=r(14375),a=r(59626),s=r.n(a),l=r(34766);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){const{customFields:t}=e,r=(0,o.useContent)({source:"arc-authors-endpoint",query:{},transform:e=>e.filter(e=>e.role===t.role).map(e=>u(u({},e),{},{thumbnail:e.image})).sort((e,t)=>e.lastName>t.lastName?1:-1)});return(0,l.jsx)(s(),{id:t.role,children:(0,l.jsxs)("div",{className:"staff-simple",children:[(0,l.jsx)("h1",{className:"main-heading",children:t.section}),(0,l.jsx)("div",{className:"row",children:r.map(e=>(0,l.jsx)("div",{className:"column",children:(0,l.jsx)("a",{href:`/staff/${e._id}`,children:(0,l.jsxs)("div",{style:{overflow:"hidden"},children:[(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("a",{href:`/staff/${e._id}`,children:(0,l.jsx)("h2",{children:e.byline})}),(0,l.jsx)("p",{className:"title",children:e.pinterest}),e.email&&(0,l.jsx)("a",{href:`mailto:${e.email}`,children:(0,l.jsx)("div",{className:"icon-wrapper",children:(0,l.jsx)("span",{className:"contact-data",children:e.email})})})]}),(0,l.jsx)("br",{})]})})},e._id))})]})})}f.propTypes={customFields:i().shape({role:i().string,section:i().string}).isRequired},f.label="Staff Simple"},76545:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(19894),i=r.n(n),o=r(14375),a=r(59626),s=r.n(a),l=r(34766);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){const{customFields:t}=e,r=(0,o.useContent)({source:"arc-authors-endpoint",query:{},transform:e=>e.filter(e=>e.role===t.role).map(e=>u(u({},e),{},{thumbnail:e.image})).sort((e,t)=>e.lastName>t.lastName?1:-1)});return(0,l.jsx)(s(),{id:t.role,children:(0,l.jsxs)("div",{className:"staff-container",children:[(0,l.jsx)("h1",{className:"main-heading",children:t.section}),(0,l.jsx)("div",{className:"row",children:r.map(e=>(0,l.jsx)("div",{className:"column",children:(0,l.jsx)("a",{href:`/staff/${e._id}`,children:(0,l.jsxs)("div",{style:{overflow:"hidden"},children:[(0,l.jsx)("img",{src:e.thumbnail,width:"400",height:"400",alt:e.byline}),(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("h2",{children:e.byline}),(0,l.jsx)("p",{className:"title",children:e.pinterest}),(0,l.jsx)("br",{})]})]})})},e._id))})]})})}f.propTypes={customFields:i().shape({role:i().string,section:i().string}).isRequired},f.label="Staff Page"},67445:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(59626),a=r.n(o),s=r(34766);function l({customFields:e}){const{VerifyRedirect:t,ScopeGroup:r,ClientId:n,DataText:i}=e;return(0,s.jsxs)("div",{className:"student-subscription-container",children:[(0,s.jsx)("h1",{className:"main-heading",children:"Student Subscriptions"}),(0,s.jsxs)("div",{className:"sub-heads-wrapper",children:[(0,s.jsxs)("p",{className:"sub-heads",children:["Student subscribers receive all the benefits of full-price subscriptions, including unlimited access to Pulitzer Prize-winning journalism on",(0,s.jsx)("a",{className:"links",href:"https://www.sltrib.com/",children:"Â SLTrib.com"}),"Â This offer is open to all current students at accredited schools inside or outside Utah. To get the student rate,",(0,s.jsx)("b",{children:"Â click the Verify with ID.me button"}),"Â below."]}),(0,s.jsx)("div",{className:"photo-wrapper",children:(0,s.jsx)("img",{src:"https://local.sltrib.com/marketing/reporter_sm2.jpg",style:{width:"350px"},alt:"Pat Bagley cartoon of tribune reporter"})})]}),(0,s.jsxs)("div",{className:"card-outer",children:[(0,s.jsx)("br",{}),(0,s.jsx)("p",{className:"my-card-heading",children:"Student Subscriptions"}),(0,s.jsx)("div",{className:"price-section-wrapper",children:(0,s.jsx)("div",{className:"price-section",children:(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"price",children:"$20"}),(0,s.jsx)("span",{className:"time-period",children:"/year"})]})})}),(0,s.jsx)("p",{className:"card-text",style:{marginTop:"-10px"},children:"Unlimited access"}),(0,s.jsx)("p",{className:"card-text",children:"You save $59"}),(0,s.jsx)(a(),{id:"student-subscribe-id",children:(0,s.jsx)("div",{className:"idme-wrapper",children:(0,s.jsxs)("div",{className:"inner
153-wrapper",children:[(0,s.jsx)("span",{id:"idme-wallet-button","data-scope":r,"data-client-id":n,"data-redirect":t,"data-response":"token","data-text":i,"data-show-verify":"true","data-op":"signin","data-type":"fullpage"}),(0,s.jsx)("script",{type:"text/javascript",src:"https://s3.amazonaws.com/idme/developer/idme-buttons/assets/js/idme-wallet-button.js"})]})})})]}),(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"list-wrapper",children:(0,s.jsx)("div",{className:"listy",children:(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["Unlimited digital access to",(0,s.jsx)("a",{className:"links",href:"https://www.sltrib.com/",children:"Â SLTrib.com"})]}),(0,s.jsx)("li",{children:"Our Top Stories weekday newsletter"}),(0,s.jsx)("li",{children:"Each subscription is valid for one year and will not auto-renew. Renewals require re-verification of student status."})]})})})}),(0,s.jsx)("hr",{className:"only-mobile"})]})}l.propTypes={customFields:i().shape({VerifyRedirect:i().string,ScopeGroup:i().string,ClientId:i().string,DataText:i().string}).isRequired},l.label="Z Student Subscriptions",t.default=l},10530:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(19674),o=r.n(i),a=r(34766);function s({customFields:e}){const{buttonName:t,buttonUrl:r}=e,{globalContent:i}=(0,n.useAppContext)(),o=i.content_elements.filter(e=>"SUPPORT OUR WORK"===e.content),s=i.content_elements.filter(e=>"text"===e.type);return(0,a.jsx)("div",{className:"support-our-work-container",children:(0,a.jsx)("div",{className:"support-container",children:(0,a.jsxs)("div",{className:"text-container",children:[(0,a.jsx)("h1",{className:"header-title",children:o[0].content}),(0,a.jsx)("p",{className:"text-paragraph",children:s[3].content}),(0,a.jsx)("button",{type:"button",className:"donate-button",children:(0,a.jsx)("div",{children:t?(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:r,className:"button-link",children:t})}):null})})]})})})}s.label="Support-Our-Work",s.propTypes={customFields:o().shape({buttonName:o().string.tag({name:"Text for button",defaultValue:""}),buttonUrl:o().string.tag({name:"Url for button",defaultValue:""})}).isRequired},t.default=s},21191:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(34766);function s({customFields:{imgPaths:e,caption:t,link:r}}){const[i,o]=(0,n.useState)([]);return(0,n.useEffect)(()=>{o(e??[])},[e]),(0,a.jsx)("div",{className:"tab-gallery-container",children:(0,a.jsx)("ul",{className:"grid",children:i?.map((e,n)=>(0,a.jsx)("li",{children:(0,a.jsxs)("figure",{className:"grid__figure",children:[(0,a.jsx)("a",{href:r[n],target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("img",{alt:"tabGallery",src:e||"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYb6ow-P9bZN6SN9ud_bt3-ew2UJ3V3MFuBQ&usqp=CAU"})}),(0,a.jsx)("figcaption",{children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t[n]}})})]})},"1"))})})}s.propTypes={customFields:o().shape({imgPaths:o().list,caption:o().list,link:o().list}).isRequired},t.default=s},73159:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19894),o=r.n(i),a=r(23322),s=r(21989),l=r(76706),c=r(60661),u=r(79634),d=r(34766);const f={id:-1,title:"Title",description:"Brought to you every weekday morning, The Rundown is your best resource to stay informed on Utah politics.",imgUrl:"https://www.sltrib.com/pf/resources/svg/Trib_masthead_top_000000.svg?d=339"};function p({customFields:e}){const t=(0,u.yv)(document.getElementById("sltrib_ssc1").getAttribute("sitekey")),{newSletterKey:r,customDescription:i,customTitle:o}=e,[p,h]=(0,n.useState)((0,c.A)()||""),[m,y]=(0,n.useState)(!1),g=(0,n.useRef)(null),v=l.FN[r]||f,b=(0,n.useRef)(null);return(0,d.jsx)("div",{className:"table-single-newsletter-iterable",children:(0,d.jsxs)("section",{className:"sign-up-section",ref:g,children:[(0,d.jsx)("h1",{children:o||`Join our ${v.title} Newsletter. Support our journalism`}),(0,d.jsx)("h4",{children:i||v.description}),(0,d.jsxs)("form",{onSubmit:async e=>{const t=b.current.getValue();b.current.reset(),e.preventDefault(),t?await a.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:p,interests:[v.id],token:t,env:"PROD"}).then(e=>{"Success!"===e.data.message&&(y(!0),h(""),alert("Form submission successful!"))}).catch(()=>{y(!1)}):alert("Please verify the reCAPTCHA!")},name:"iterable_optin",children:[(0,d.jsx)("input",{required:!0,type:"email",id:"email-address",name:"email",placeholder:"Enter a valid email",value:p,onChange:e=>h(e.target.value)}),(0,d.jsx)(s.A,{sitekey:t,ref:b,className:"recaptcha"}),(0,d.jsx)("div",{style:{textAlign:"center"},children:(0,d.jsx)("button",{type:"submit",className:m?"subscribed-button":"signup-button",children:m?"Subscribed!":"Sign Up"})})]})]})})}p.label="Indiv. Newsletter Iterable No Image",p.propTypes={customFields:o().shape({newSletterKey:o().string.tag({name:"Newsletter Key",description:"Example: the_daily_buzz, innovation_lab, eye_on_the_y, how_bout_this_jazz, tribute, breaking_news, top_stories, utah_eats, mormon_land, eedition_email"}),customDescription:o().string.tag({name:"Custom description",description:"If desired, describe the nature of the newsletter, otherwise description on pref page will be used."}),customTitle:o().string.tag({name:"Custom Title",description:"If desired, add a heading to the newsletter, otherwise a generic one will be used."})}).isRequired},t.default=p},81480:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(34766);function s({customFields:{sectionText:e,sectionTitle:t,customFontSize:r}}
153){const[i,o]=(0,n.useState)([]),[s,l]=(0,n.useState)([]);return(0,n.useEffect)(()=>{o(e??[]),l(t??[])},[e,t]),(0,a.jsx)("div",{className:"text-section-container",children:(0,a.jsx)("div",{className:"section-container",children:(0,a.jsx)("div",{className:"text-container",children:s.map((e,t)=>(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"header-title",children:e}),(0,a.jsx)("div",{style:{fontSize:r||"16px"},dangerouslySetInnerHTML:{__html:i[t]}})]},e))})})})}s.label="Text Container",s.propTypes={customFields:o().shape({sectionText:o().list,sectionTitle:o().list,customFontSize:o().list}).isRequired},t.default=s},16466:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(34766);t.default=function(){const{globalContent:e}=(0,n.useAppContext)(),t=e.content_elements.filter(e=>"THE TEAM"===e.content),r=e.content_elements.filter(e=>"The Salt Lake Tribune"===e.content),o=e.content_elements.filter(e=>"FRONTLINE"===e.content),a=e.content_elements.filter(e=>"list"===e.type);return(0,i.jsx)("div",{className:"team-container",children:(0,i.jsxs)("div",{className:"text-container",children:[(0,i.jsx)("h1",{className:"header-title",children:t[0].content}),(0,i.jsxs)("div",{className:"lists-container",children:[(0,i.jsxs)("div",{className:"list-container",children:[(0,i.jsx)("h3",{className:"header-title",children:r[0].content}),(0,i.jsx)("ul",{className:"list",children:a[0].items.map(e=>(0,i.jsx)("li",{children:e.content}))})]}),(0,i.jsxs)("div",{className:"list-container",children:[(0,i.jsx)("h3",{className:"header-title",children:o[0].content}),(0,i.jsx)("ul",{className:"list",children:a[1].items.map(e=>(0,i.jsx)("li",{children:e.content}))})]})]})]})})}},1713:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(74043),s=r.n(a),l=r(23874),c=r(27442),u=r(26858),d=r(34766);function f({customFields:e}){const{dataConfig:t,makeBold:r,smText:n,displayLabel:i,myLabel:a,moveUp:f,labelLink:p,customTag:h,hideTags:m,hideByline:y,shortDate:g,isShowDate:v}=e,b=t?t.contentService:"",_=t?t.contentConfigValues:"",x=(0,o.useContent)({source:b,query:_});let w=[];x&&(w="arc-stories-elastic-search7-v2"===b?x.content_elements:[x]);const O=r?"make-bold":"",j=n?"small-text":"",S=i?"show-label":"no-show",M=f?"move-up":"";return(0,d.jsxs)("div",{className:"thumbnail-for-homepage",children:[(0,d.jsx)("a",{href:p,children:(0,d.jsx)("h2",{className:`label-class ${S}`,children:a})}),w.map(e=>{const[t,r,n]=(0,u.iM)(e),i=`${r}/`,o="/"!==r[r.length-1]?i:r;let a="";n&&n.auth&&(a=n.auth[1]);const f=a?(0,l.L)(111,74,(0,u.Jg)(e),a,e.owner.id,n):"",p=a?(0,l.VI)(111,74,(0,u.Jg)(e),a,e.owner.id,n):"",b=n.alt_text||n.caption,_=!e.last_updated_date||e.publish_date,x=(S=_,k=g?"MMM. D, YYYY, h:mm a":"MMMM D, YYYY, h:mm a",s()(S,"YYYY-MM-DDTHH:mm:ss.SSSZ").format(k));var S,k;const P=(0,u.EQ)(e),T=(0,u.bH)(e);let E=!1;return w&&w.length>0&&w.forEach(e=>{e&&e.taxonomy&&e.taxonomy.primary_section&&"Sponsored"===e.taxonomy.primary_section.name&&(E=!0)}),(0,d.jsx)("article",{className:`story ${M}`,children:E?(0,d.jsx)("a",{rel:"sponsored",href:`${o}${o&&"/"!==o.charAt(o.length-1)?"/":""}`,children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap",alignContent:"left",maxWidth:"35rem"},children:[!f.includes("placehold.co")&&a?(0,d.jsx)("div",{className:""!==n.caption?"has-photo article-latest":"",children:(0,d.jsx)("img",{src:f,srcSet:p,alt:b||"",width:"111",height:"74"})}):null,(0,d.jsxs)("div",{className:"title-section",children:[h&&!m||T&&!m?(0,d.jsx)("p",{style:{marginBottom:"2px",fontSize:"11px",fontStyle:"uppercase",fontFamily:"Helvetica",letterSpacing:"1px",color:"#666666"},className:""!==n.caption?`no-photo title article-latest ${O} ${j}`:`col-12 ${O} ${j}`,children:h||T}):null,(0,d.jsx)("div",{className:""!==n.caption?`no-photo title article-latest ${O} ${j}`:`col-12 ${O} ${j}`,children:t}),y?null:(0,d.jsx)("div",{style:{marginLeft:"15px"},children:(0,d.jsx)(c.A,{by:P,date:x,isShowDate:v})})]})]})})}):(0,d.jsx)("a",{href:o,children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap",alignContent:"left",maxWidth:"35rem"},children:[!f.includes("placehold.co")&&a?(0,d.jsx)("div",{className:""!==n.caption?"has-photo article-latest":"",children:(0,d.jsx)("img",{src:f,srcSet:p,alt:b||"",width:"111",height:"74"})}):null,(0,d.jsxs)("div",{className:"title-section",children:[h&&!m||T&&!m?(0,d.jsx)("p",{style:{marginBottom:"2px",fontSize:"11px",fontStyle:"uppercase",fontFamily:"Helvetica",letterSpacing:"1px",color:"#666666"},className:""!==n.caption?`no-photo title article-latest ${O} ${j}`:`col-12 ${O} ${j}`,children:h||T}):null,(0,d.jsx)("div",{className:""!==n.caption?`no-photo title article-latest ${O} ${j}`:`col-12 ${O} ${j}`,children:t}),y?null:(0,d.jsx)("div",{style:{marginLeft:"15px"},children:(0,d.jsx)(c.A,{by:P,date:x,isShowDate:v})})]})]})})})},e._id)})]})}f.propTypes={customFields:i().shape({makeBold:i().bool,hideByline:i().bool.tag({name:"Hide byline",defaultValue:!0}),isShowDate:i().bool.tag({name:"Show Date",defaultValue:!1}),hideTags:i().bool.tag({name:"Hide Tags"}),shortDate:i().bool,smText:i().bool,displayLabel:i().bool,moveUp:i().bool,myLabel:i().string,labelLink:i().string,customTag:i().string,dataConfig:i().contentConfig("stories")}).isRequired}
153,f.label="Thumbnail for Article Page",t.default=f},3732:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(26858),s=r(23874),l=r(34766);function c({customFields:e}){const{dataConfig:t,makeBold:r,smText:n,displayLabel:i,myLabel:c,moveUp:u,labelLink:d}=e,f=t?t.contentService:"",p=t?t.contentConfigValues:"",h=(0,o.useContent)({source:f,query:p});let m=[];h&&(m="arc-stories-elastic-search7-v2"===f?h.content_elements:[h]);const y=r?"make-bold":"",g=n?"small-text":"",v=i?"show-label":"no-show",b=u?"move-up":"";return(0,l.jsxs)("div",{className:"thumbnail-for-bagley",children:[(0,l.jsx)("a",{href:d,children:(0,l.jsx)("h2",{className:`label-class ${v}`,children:c})}),m.map(e=>{const[t,r,n,i,o]=(0,a.iM)(e);let c="";n&&n.auth&&(c=(0,s.$X)(130,(0,a.Jg)(e),n.auth[1],n?.owner?.id));const u=n.alt_text||n.caption;return(0,l.jsx)("article",{className:`story ${b}`,children:(0,l.jsx)("a",{href:r,children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap",alignContent:"left",maxWidth:"35rem"},children:[(0,l.jsx)("div",{className:""!==n.caption?"has-photo":"",children:n&&n.auth&&(0,l.jsx)("img",{src:c,alt:u})}),(0,l.jsxs)("div",{className:""!==n.caption?`no-photo title ${y} ${g}`:`col-12 ${y} ${g}`,children:[t,(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("p",{children:[(0,l.jsx)("span",{style:{display:"none"},children:i}),(0,l.jsx)("span",{className:"date",children:o})]})})]})]})})})},e._id)})]})}c.propTypes={customFields:i().shape({makeBold:i().bool,smText:i().bool,displayLabel:i().bool,moveUp:i().bool,myLabel:i().string,labelLink:i().string,dataConfig:i().contentConfig("stories")}).isRequired},c.label="Thumbnail for Bagley Page",t.default=c},37868:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(74043),s=r.n(a),l=r(23874),c=r(27442),u=r(26858),d=r(34766);function f({customFields:e}){const{dataConfig:t,makeBold:r,smText:n,displayLabel:i,myLabel:a,moveUp:f,labelLink:p,customTag:h,hideTags:m,hideByline:y,shortDate:g,isShowDate:v}=e,b=t?t.contentService:"",_=t?t.contentConfigValues:"",x=(0,o.useContent)({source:b,query:_});let w=[];x&&(w="arc-stories-elastic-search7-v2"===b?x.content_elements:[x]);const O=r?"make-bold":"",j=n?"small-text":"",S=i?"show-label":"no-show",M=f?"move-up":"";return(0,d.jsxs)("div",{className:"thumbnail-for-homepage",children:[(0,d.jsx)("a",{href:p,children:(0,d.jsx)("h2",{className:`label-class ${S}`,children:a})}),w.map(e=>{const[t,r,n]=(0,u.iM)(e),i=`${r}/`,o="/"!==r[r.length-1]?i:r;let a="";n&&n.auth&&(a=n.auth[1]);const f=a?(0,l.L)(111,74,(0,u.Jg)(e),a,e.owner.id,n):"",p=a?(0,l.VI)(111,74,(0,u.Jg)(e),a,e.owner.id,n):"",b=n.alt_text||n.caption,_=!e.last_updated_date||e.publish_date,x=(S=_,k=g?"MMM. D, YYYY, h:mm a":"MMMM D, YYYY, h:mm a",s()(S,"YYYY-MM-DDTHH:mm:ss.SSSZ").format(k));var S,k;const P=(0,u.EQ)(e),T=(0,u.bH)(e);let E=!1;return w&&w.length>0&&w.forEach(e=>{e&&e.taxonomy&&e.taxonomy.primary_section&&"Sponsored"===e.taxonomy.primary_section.name&&(E=!0)}),(0,d.jsx)("article",{className:`story ${M}`,children:E?(0,d.jsx)("a",{rel:"sponsored",href:`${o}${o&&"/"!==o.charAt(o.length-1)?"/":""}`,children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap"},children:[!f.includes("placehold.co")&&a?(0,d.jsx)("div",{className:""!==n.caption?"has-photo":"",children:(0,d.jsx)("img",{src:f,srcSet:p,alt:b||"",width:"111",height:"74"})}):null,(0,d.jsxs)("div",{className:"title-section",children:[h&&!m||T&&!m?(0,d.jsx)("p",{style:{marginBottom:"2px",fontSize:"11px",fontStyle:"uppercase",fontFamily:"Helvetica",letterSpacing:"1px",color:"#666666"},className:""!==n.caption?`no-photo title ${O} ${j}`:`col-12 ${O} ${j}`,children:h||T}):null,(0,d.jsx)("div",{className:""!==n.caption?`no-photo title ${O} ${j}`:`col-12 ${O} ${j}`,children:t}),y?null:(0,d.jsx)("div",{style:{marginLeft:"15px"},children:(0,d.jsx)(c.A,{by:P,date:x,isShowDate:v})})]})]})})}):(0,d.jsx)("a",{href:o,children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap"},children:[!f.includes("placehold.co")&&a?(0,d.jsx)("div",{className:""!==n.caption?"has-photo":"",children:(0,d.jsx)("img",{src:f,srcSet:p,alt:b||"",width:"111",height:"74"})}):null,(0,d.jsxs)("div",{className:"title-section",children:[h&&!m||T&&!m?(0,d.jsx)("p",{style:{marginBottom:"2px",fontSize:"11px",fontStyle:"uppercase",fontFamily:"Helvetica",letterSpacing:"1px",color:"#666666"},className:""!==n.caption?`no-photo title ${O} ${j}`:`col-12 ${O} ${j}`,children:h||T}):null,(0,d.jsx)("div",{className:""!==n.caption?`no-photo title ${O} ${j}`:`col-12 ${O} ${j}`,children:t}),y?null:(0,d.jsx)("div",{style:{marginLeft:"15px"},children:(0,d.jsx)(c.A,{by:P,date:x,isShowDate:v})})]})]})})})},e._id)})]})}f.propTypes={customFields:i().shape({makeBold:i().bool,hideByline:i().bool.tag({name:"Hide byline",defaultValue:!0}),isShowDate:i().bool.tag({name:"Show Date",defaultValue:!1}),hideTags:i().bool.tag({name:"Hide Tags"}),shortDate:i().bool,smText:i().bool,displayLabel:i().bool,moveUp:i().bool,myLabel:i().string,labelLink:i().string,customTag:i().string,dataConfig:i().contentConfig("stories")}).isRequired}
153,f.label="Thumbnail for Homepage",t.default=f},95593:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(14375),a=r(26858),s=r(23874),l=r(34766);function c({customFields:e}){const{dataConfig:t}=e,r=t?t.contentService:"",n=t?t.contentConfigValues:"",i=(0,o.useContent)({source:r,query:n}).content_elements;return(0,l.jsx)("div",{className:"thumbnail-small-container",children:i.map(e=>{const[t,r,n]=(0,a.iM)(e);let i="";n&&n.auth&&(i=n.auth[1]);const o=i?(0,s.L)(111,74,(0,a.Jg)(e),i,n?.owner?.id,n):"",c=n.alt_text||n.caption;return(0,l.jsx)("div",{className:"story",children:(0,l.jsx)("a",{href:r,children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"row",style:{flexDirection:"row",flexWrap:"nowrap",alignContent:"left",maxWidth:"30rem"},children:[i&&(0,l.jsx)("div",{className:""!==n.caption?"col-4":"",children:(0,l.jsx)("img",{src:o,alt:c,width:"111",height:"74"})}),(0,l.jsx)("div",{className:""!==n.caption?"col-8 title":"col-12 title",children:t})]}),(0,l.jsx)("div",{className:"horizontal-separator"})]})})},e._id)})})}c.propTypes={customFields:i().shape({dataConfig:i().contentConfig("stories")}).isRequired},c.label="Thumbnail Small",t.default=c},35013:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(19674),o=r.n(i),a=r(26858),s=r(94923),l=r(23874),c=r(35330),u=r(35899),d=r(34766);function f(e){const{globalContent:t}=(0,n.useAppContext)(),{content_elements:r}=t,i=r||c.A;let o;o=e.customFields.showFirstData||i.length<4?i:i.slice(4);const f=(0,s.oG)(o,5),p={placementName:e.customFields.FreestarPlacementName||"sltrib_leaderboard_category_incontent",adID:0};return(0,d.jsxs)("div",{className:"thumbnails-section-page-freestar",children:[(0,d.jsx)("h2",{className:"latest-style",children:"Latest Stories"}),f.map(e=>{if(e.renderAd)return(0,d.jsx)("div",{className:"story ad",children:(0,d.jsx)(u.default,{customFields:p})},e._id);const[t,r,n,i,o,s]=(0,a.iM)(e),c=`${r}/`,f="/"!==r[r.length-1]?c:r,h=n&&n.auth&&(0,l.L)(239,159,(0,a.Jg)(e),n.auth[1],n?.owner?.id,n)||null,m=n.alt_text||n.caption;return(0,d.jsxs)("div",{className:"story",children:[(0,d.jsx)("div",{className:"individual-story",children:(0,d.jsx)("a",{href:f,children:null!==h&&(0,d.jsx)("img",{src:h,alt:m,className:"img",width:"239",height:"159"})})}),(0,d.jsx)("div",{className:"promo-content",children:(0,d.jsxs)("a",{href:f,children:[(0,d.jsx)("h4",{className:"secondary-text",style:""!==n.caption?{}:{marginBottom:16},children:t}),(0,d.jsx)("h4",{className:"subheadline-text",children:s}),(0,d.jsx)("div",{className:"date-and-author",children:(0,d.jsxs)("p",{children:[`${i} | `,(0,d.jsx)("span",{className:"date",children:o})]})})]})})]},e._id)})]})}f.label="Thumbnails Section Page Freestar",f.propTypes={customFields:o().shape({showFirstData:o().bool.tag({name:"Show First Data",defaultValue:!1,description:"By checking this box, it will get the first data instead of the fifth data unless the length of data is less than 4"}),FreestarPlacementName:o().string.tag({name:"freestar placementName",defaultValue:"sltrib_leaderboard_category_incontent",description:'If leave this blank the default value will be "sltrib_leaderboard_category_incontent"'})}).isRequired},t.default=f},65132:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(34766);function a({customFields:e}){const{bgColor:t,title:r,titleFontSize:n,titleSpaceBottom:i,centerTitle:a,centerElement:s,BoldTitle:l,subTitle:c,paragraph:u,textColor:d,buttonSpaceTop:f,buttonBgColor:p,button1Text:h,button1Url:m,button2Url:y,button2Text:g,customTextButton:v,customURLButton:b,spaceTop:_,spaceBottom:x,fontFam:w,widthOfscreen:O,linkContent:j,linkUrl:S,linkFontsize:M,rawHtml:k,autoMarginLeftAndRight:P}=e;return(0,o.jsx)("div",{style:{marginTop:"0px",backgroundColor:t||"white",paddingTop:_||"0px",paddingBottom:x||"0px",fontFamily:w||"Helvetica"},children:(0,o.jsxs)("div",{style:{maxWidth:O||"900px",marginLeft:P?"auto":"0px",marginRight:P?"auto":"0px"},className:"title-paragraph-buttonspage ",children:[(0,o.jsxs)("div",{style:{color:d||"black"},children:[r?(0,o.jsx)("h1",{style:{margin:"0px",fontSize:n||"2.5vh",paddingBottom:i||"5%",textAlign:a?"center":{},fontWeight:l?"bold":"500"},children:r}):null,c?(0,o.jsx)("h4",{style:{fontSize:"1.4rem",justifyContent:"space-around",letterSpacing:"2px"},children:c}):null,u?(0,o.jsx)("p",{style:{fontSize:"1.1rem"},children:u}):null]}),(0,o.jsxs)("div",{className:"row",style:{display:"inline-flex",justifyContent:s?"center":"flex-start"},children:[h?(0,o.jsx)("div",{style:{paddingTop:f||"0px"},children:(0,o.jsx)("a",{style:{fontSize:"1.8vh",color:d||"black",backgroundColor:p||"#ffffff"},href:m,className:"button",children:h})}):null,g?(0,o.jsx)("div",{style:{marginTop:f||"0px",margintLeft:"2%"},children:(0,o.jsx)("a",{style:{fontSize:"1.8vh",color:d||"black",backgroundColor:p||"#ffffff"},href:y,className:"button",children:g})}):null,v?(0,o.jsx)("button",{type:"button",className:"custom-button",children:(0,o.jsx)("div",{children:v?(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:b,style:{color:"black"},children:v})}):null})}):null,j&&S?(0,o.jsx)("div",{style:{fontSize:M||"2.5vh"},children:(0,o.jsx)("a",{href:S,children:j})}):null,k?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:k}}):null]})]})})}a.label="Title-Paragraph-Buttons",a.propTypes={customFields:i().shape({bgColor:i().string.tag({name:"Backgroun
153d Color",description:'Example inputs: "red", "#CD5C5C", "rgb(205, 92, 92)"'}),title:i().string.tag({name:"Title"}),linkContent:i().string.tag({name:"Link Content"}),linkUrl:i().string.tag({name:"Link Url"}),linkFontsize:i().string.tag({name:"Link Font Size"}),rawHtml:i().string.tag({name:"Raw HTML"}),titleFontSize:i().string.tag({name:"Title Font Size"}),titleSpaceBottom:i().string.tag({name:"Title Space Bottom"}),centerTitle:i().boolean.tag({name:"Center Title"}),centerElement:i().boolean.tag({name:"Center Element"}),BoldTitle:i().boolean.tag({name:"Bold Title"}),subTitle:i().string.tag({name:"SubTitle"}),paragraph:i().string.tag({name:"Paragraph"}),textColor:i().string.tag({name:"Text Color",description:'Example inputs: "red", "#CD5C5C", "rgb(205, 92, 92)"'}),buttonSpaceTop:i().string.tag({name:"Button Space Top",description:'Example inputs: "1.2rem", "2%", "15px", etc'}),buttonBgColor:i().string.tag({name:"Button Background Color",description:'Example inputs: "red", "#CD5C5C", "rgb(205, 92, 92)"'}),button1Text:i().string.tag({name:"Text for button1"}),button1Url:i().string.tag({name:"Url for button1"}),button2Text:i().string.tag({name:"Text for button2"}),button2Url:i().string.tag({name:"Url for button2"}),customTextButton:i().string.tag({name:"Custom Text Button"}),customURLButton:i().string.tag({name:"Custom Url Button"}),spaceTop:i().string.tag({name:"Space Top",description:'Example inputs: "1.2rem", "2%", "15px", etc'}),spaceBottom:i().string.tag({name:"Space Bottom",description:'Example inputs: "1.2rem", "2%", "15px", etc'}),fontFam:i().string.tag({name:"Font Family",description:'Example inputs: "Helvetica", "Georgia", etc'}),widthOfscreen:i().string.tag({name:"Width of Screen",description:'Example inputs: "1200px", "50%", etc',defaultValue:"900px"}),autoMarginLeftAndRight:i().boolean.tag({name:"auto margin left and right",defaultValue:!0})}).isRequired},t.default=a},80667:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(14375),s=r(26858),l=r(94923),c=r(23874),u=r(15074),d=r(28031),f=r(91008),p=r(34766);function h(){return(0,p.jsx)(p.Fragment,{children:"Top stories not available"})}function m({customFields:e}){const{dataConfig:t,style:r,moreText:i,moreLink:o,headingTitle:c,link:m}=e,{imageFirst:y,largeScreenStories:g,mobileStories:v}=e,{hideImageOnMobile:b,hideBylineOnMobile:_,displaySeparator:x}=e,w=void 0!==r&&r.includes("No image"),O="mobile"===(0,u.Ur)(),j=b&&O||w,S=b&&O,M=_&&O,k=!!x&&(x.includes("Mobile")&&!O),{contentService:P,contentConfigValues:T}=t,{overrideStoryOne:E,overrideStoryTwo:C,overrideStoryThree:L}=e,{overrideStoryFour:A,overrideStoryFive:D}=e,I=(0,a.useContent)({source:P,query:T,transform:e=>e?""===P||"arc-stories-elastic-search7-v2"===P?y?(0,s.xL)(e.content_elements):e.content_elements:[e]:[]}),N=(e,t)=>{const r=(0,a.useContent)({source:"single-story-v2",query:{articlePath:t}});r&&(I[e]=r)};E&&""!==E&&" "!==E&&N(0,E),C&&""!==C&&" "!==C&&N(1,C),L&&""!==L&&" "!==L&&N(2,L),A&&""!==A&&" "!==A&&N(3,A),D&&""!==D&&" "!==D&&N(4,D);const R=(0,u.Qo)(),[z,F]=(0,n.useState)(R.width);if(!I||0===I.length)return(0,p.jsx)(h,{});const B=g>0||v>0,Y=g||I.length,U=v||I.length,H=z<=768?U:Y,$=B?[...I].splice(0,H):[...I],W=$[0],V=[...$];V.shift();const q=()=>{const e=(0,u.Qo)();F(e.width)};return"undefined"!=typeof window&&window.addEventListener("resize",q),(0,p.jsxs)("div",{className:"top-stories-card",children:[c&&(0,p.jsx)(d.default,{style:{fontFamily:"Helvetica"},customFields:{link:m||"#",headingTitle:c,noVspace:S}}),W&&(0,p.jsx)("div",{children:(0,p.jsx)(f.A,{data:W,customFields:e,isSimpleArticle:j,noByline:M,hideSeparator:null===x||k})},`${W._id}${(0,l.gZ)()}`),V.map((t,r)=>t?(0,p.jsx)("div",{children:(0,p.jsx)(f.A,{data:t,customFields:e,isSimpleArticle:!0,hideSeparator:V.length>1&&V.length-1===r,noOverride:I.length>1})},`${t._id}${(0,l.gZ)()}`):null),o&&(0,p.jsx)("div",{className:"morelinksection",children:(0,p.jsx)("a",{href:o,children:i})})]})}m.label="Top Story Card",m.propTypes={customFields:o().shape({dataConfig:o().contentConfig("stories"),largeScreenStories:o().number.tag({name:"# Stories on large screens",description:"If you want to see less or more articles than the requested size"}),mobileStories:o().number.tag({name:"# Stories on mobile",description:"If you want to see less or more articles than the requested size"}),headingTitle:o().string.tag({name:"Section header"}),link:o().string.tag({name:"Section link",description:"It could be any valid section like /sports or any valid url like https://some-url.com"}),moreText:o().string.tag({name:"More text"}),moreLink:o().string.tag({name:"More link",description:"If present a MORE link will appear"}
153),titleOverride:o().string.tag({name:"Title (override)",description:"Override the title fetched from Composer"}),tagOverride:o().string.tag({name:"Tag (override)",description:"Override the TAG fetched from Composer"}),urlOverride:o().string.tag({name:"URL (override)",description:"Take the user to a different url when clicking on an article"}),overrideStoryOne:o().string.tag({name:"Override story #1",description:"Will replace the content of the story #1"}),overrideStoryTwo:o().string.tag({name:"Override story #2",description:"Will replace the content of the story #2"}),overrideStoryThree:o().string.tag({name:"Override story #3",description:"Will replace the content of the story #3"}),overrideStoryFour:o().string.tag({name:"Override story #4",description:"Will replace the content of the story #4"}),overrideStoryFive:o().string.tag({name:"Override story #5",description:"Will replace the content of the story #5"}),imageOptimization:o().oneOf(Object.keys(c.FG)).tag({name:"Image optimization"}),hideByline:o().oneOf(["No","Yes","Starting at element #2"]).tag({name:"Hide byline",defaultValue:"No"}),style:o().oneOf(["Vertical image","Horizontal image","No image"]).tag({name:"Display style",defaultValue:"Vertical image"}),displaySeparator:o().oneOf(["Always","Mobile only"]).tag({name:"Horizontal separator",defaultValue:"Always"}),hideImageOnMobile:o().bool.tag({name:"Hide image on mobile",description:"On mobile screens the article image will not display"}),hideBylineOnMobile:o().bool.tag({name:"Hide byline on mobile"}),imageFirst:o().bool.tag({name:"Place image first",description:"Swap position with another article if the frist one has no image"}),verticalOnTablet:o().bool.tag({name:"Vertical on tablet",description:"Overrides the -Display style- property to be always vertical"}),darkText:o().bool.tag({name:"Darker text"}),shortDate:o().bool.tag({name:"Short date"}),titleOnly:o().bool.tag({name:"Title only"}),stickOut:o().bool.tag({name:"Stick out"}),hideSeparator:o().bool.tag({name:"Hide Horizontal Separator"}),moveLeft:o().bool.tag({name:"Move Left"}),moveH3Down:o().bool.tag({name:"Move H3 Down"}),lowerMargin:o().bool.tag({name:"Add padding below byline"}),hideTags:o().bool.tag({name:"Hide Tags"})}).isRequired},t.default=m},97696:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var n=r(40809),i=r(19674),o=r.n(i),a=r(14375),s=r(26858),l=r(23874),c=r(15074),u=r(28031),d=r(91008),f=r(19894),p=r.n(f),h=r(34766);function m({customFields:e}){const{sectionTitle:t="News",donationUrl:r="https://saltlaketribune.fundjournalism.org/donate/?campaign=701Rn00000UDxYuIAL",customTitle:n,customDescription:i}=e||{},o=n||`Support ${t} Reporting`,a=i||(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("strong",{children:"Help The Tribune report the stories others canâtâor wonât."}),(0,h.jsx)("br",{}),(0,h.jsx)("br",{}),"As a nonprofit newsroom, every donation fuels our mission and keeps independent journalism alive in Utah."]});return(0,h.jsx)("div",{className:"trib-donation",children:(0,h.jsxs)("div",{className:"trib-donation__content",children:[(0,h.jsx)("h3",{className:"trib-donation__headline",children:o}),(0,h.jsx)("p",{className:"trib-donation__description",children:a}),(0,h.jsx)("a",{href:r,className:"trib-donation__button",target:"_blank",rel:"noreferrer",children:"Donate Today"})]})})}m.propTypes={customFields:p().shape({sectionTitle:p().string,donationUrl:p().string,customTitle:p().string,customDescription:p().string}).isRequired};var y=m,g=r(4321),v=r(23322),b=r(21989),_=r(76706),x=r(79634),w=r(60661),O=r(29851);function j({customFields:e}){const{requestUri:t}=(0,g.useAppContext)(),{sectionTitle:r="News",newsletterKey:i,customTitle:o,customDescription:a}=e||{},s=_.FN[i]||{id:-1,title:r,description:"Stay updated with the latest stories and updates.",analytics:"default-signup"},l=o||`Get ${r} Alerts`,c=a||s.description||"Top stories and breaking news delivered to your inbox.",[u,d]=(0,n.useState)((0,w.A)()||""),[f,p]=(0,n.useState)(!1),[m,y]=(0,n.useState)(!1),[j,S]=(0,n.useState)(null),M=(0,n.useRef)(null);(0,n.useEffect)(()=>
153{if("undefined"!=typeof document){const e=document.getElementById("sltrib_ssc1");e&&S((0,x.yv)(e.getAttribute("sitekey_invisV2")))}if("undefined"!=typeof window){const e=window.localStorage.getItem("userEmail");e&&d(e)}},[]);return(0,h.jsx)("div",{className:"trib-newsletter",children:(0,h.jsxs)("div",{className:"trib-newsletter__content",children:[(0,h.jsx)("h3",{className:"trib-newsletter__headline",children:l}),(0,h.jsx)("p",{className:"trib-newsletter__description",children:c}),f?(0,h.jsxs)("div",{className:"trib-newsletter__message trib-newsletter__message--success",children:[(0,h.jsx)("strong",{children:"Youre subscribed!"}),(0,h.jsx)("br",{}),"Thanks for reading The Tribune."]}):(0,h.jsxs)("form",{className:"trib-newsletter__form",onSubmit:async e=>{e.preventDefault(),(0,O.sx)("newsletter-signup-singlepage",(0,O.EZ)(t,{component:"column-newsletter",section_title:r,newsletter_key:i||"default",newsletter_id:s.id})),y(!0);try{const e=await(M.current?.executeAsync());M.current?.reset();"Success!"===(await v.A.post("https://d7gozbxrpk.execute-api.us-east-1.amazonaws.com/prod/newsletter/subscribe",{email:u,interests:[s.id],token:e,env:"INVISIBLE"})).data.message&&((0,O.sx)(`newsletter-signup-column-${s.analytics}`,(0,O.EZ)(t)),p(!0),d(""))}catch(e){console.error(e),alert("Looks like you are already subscribed or there was an error!")}finally{y(!1)}},children:[(0,h.jsxs)("div",{className:"trib-newsletter__input-group",children:[(0,h.jsx)("label",{htmlFor:`email-${r}`,className:"trib-newsletter__label",children:"Email Address"}),(0,h.jsx)("input",{id:`email-${r}`,type:"email",className:"trib-newsletter__input",placeholder:"[email protected]",value:u,onChange:e=>d(e.target.value),disabled:m,required:!0})]}),(0,h.jsx)("button",{type:"submit",className:"trib-newsletter__button",disabled:m,children:m?"Processing...":"Sign Up"}),j&&(0,h.jsx)(b.A,{ref:M,size:"invisible",sitekey:j}),(0,h.jsx)("p",{className:"recaptcha-attribution",dangerouslySetInnerHTML:{__html:'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.'}})]})]})})}j.propTypes={customFields:p().shape({sectionTitle:p().string,newsletterKey:p().string,customTitle:p().string,customDescription:p().string}).isRequired};var S=j;function M({customFields:e}){const{dataConfig:t,style:r,moreText:i,moreLink:o,headingTitle:l,link:f}=e,{imageFirst:p,largeScreenStories:m,mobileStories:g}=e,{hideImageOnMobile:v,hideBylineOnMobile:b,displaySeparator:_}=e,{showNewsletter:x,newsletterKey:w,newsletterTitle:O,newsletterDesc:j,showDonation:M,donationUrl:k,donationTitle:P,donationDesc:T}=e,E=void 0!==r&&r.includes("No image"),C="mobile"===(0,c.Ur)(),L=v&&C||E,A=v&&C,D=b&&C,I=!!_&&(_.includes("Mobile")&&!C),{contentService:N,contentConfigValues:R}=t,{overrideStoryOne:z,overrideStoryTwo:F,overrideStoryThree:B}=e,{overrideStoryFour:Y,overrideStoryFive:U}=e,H=(0,a.useContent)({source:N,query:R,transform:e=>e?"arc-stories-elastic-search7-v2"===N?p?(0,s.xL)(e.content_elements):e.content_elements:[e]:[]}),$=(e,t)=>{const r=(0,a.useContent)({source:"arc-single-story",query:{articlePath:t}});r&&(H[e]=r)};z&&""!==z&&" "!==z&&$(0,z),F&&""!==F&&" "!==F&&$(1,F),B&&""!==B&&" "!==B&&$(2,B),Y&&""!==Y&&" "!==Y&&$(3,Y),U&&""!==U&&" "!==U&&$(4,U);const W=(0,c.Qo)(),[V]=(0,n.useState)(W.width);if(!H||0===H.length)return(0,h.jsx)("p",{children:"not available"});const q=m>0||g>0,G=m||H.length,Z=g||H.length,X=V<=768?Z:G,J=q?[...H].splice(0,X):[...H],K=J[0],Q=[...J];return Q.shift(),(0,h.jsxs)("div",{className:"top-stories",children:[l&&(0,h.jsx)(u.default,{customFields:{link:f||"#",headingTitle:l,noVspace:A}}),K&&(0,h.jsx)("div",{children:(0,h.jsx)(d.A,{data:K,customFields:e,isSimpleArticle:L,noByline:D,hideSeparator:null===_||I})},K._id||"top-story-first"),Q.map((t,r)=>t?(0,h.jsx)("div",{children:(0,h.jsx)(d.A,{data:t,customFields:e,isSimpleArticle:!0,hideSeparator:Q.length>1&&Q.length-1===r,noOverride:H.length>1})},t._id||`top-story-${r+1}`):null),x&&(0,h.jsx)(S,{customFields:{sectionTitle:l||"News",newsletterKey:w,customTitle:O,customDescription:j}}),M&&(0,h.jsx)(y,{customFields:{sectionTitle:l||"News",donationUrl:k,customTitle:P,customDescription:T}}),o&&(0,h.jsx)("div",{className:"morelinksection",children:(0,h.jsx)("a",{href:o,children:i})})]})}M.label="Stories",M.propTypes={customFields:o().shape({dataConfig:o().contentConfig("stories"),largeScreenStories:o().number.tag({name:"# Stories on large screens"}),mobileStories:o().number.tag({name:"# Stories on mobile"}),headingTitle:o().string.tag({name:"Section header"}),link:o().string.tag({name:"Section link"}),showNewsletter:o().bool.tag({name:"Show Newsletter Signup",defaultValue:!1,group:"Newsletter Config"}),newsletterKey:o().string.tag({name:"Newsletter Key",description:'Key from newSlettersData (e.g. "breaking_news")',group:"Newsletter Config"}),newsletterTitle:o().string.tag({name:"Newsletter Title Override",group:"Newsletter Config"}),newsletterDesc:o().string.tag({name:"Newsletter Description Override",group:"Newsletter Config"}),showDonation:o().bool.tag({name:"Show Donation Ask",defaultValue:!1,group:"Donation Config"}),donationUrl:o().string.tag({name:"Donation URL Override",description:"Leave empty to use default campaign link",group:"Donation Config"}),donationTitle:o().string.tag({name:"Donation Title Override",group:"Donation Config"}),donationDesc:o().string.tag({name:"Donation Description Override",group:"Donation Config"}),moreText:o().string.tag({name:"More text"}),moreLink:o().string.tag({name:"More link"}),titleOverride:o().string.tag({name:"Title (override)"}),tagOverride:o().string.tag({name:"Tag (override)"}),urlOverride:o().string.tag({name:"URL (override)"}),overrideStoryOne:o().string.tag({name:"Override story #1"}),overrideStoryTwo:o().string.tag({name:"Override story #2"}),overrideStoryThree:o().string.tag({name:"Override story #3"}),overrideStoryFour:o().string.tag({name:"Override story #4"}),overrideStoryFive:o().string.tag({name:"Override story #5"}),imageOptimization:o().oneOf(Object.keys(l.FG)).tag({name:"Image optimization"}),hideByline:o().oneOf(["No","Yes","Starting at element #2"]).tag({name:"Hide byline",defaultValue:"No"}),style:o().oneOf(["Vertical image","Horizontal image","No image"]).tag({name:"Display style",defaultValue:"Vertical image"}),displaySeparator:o().oneOf(["Always","Mobile only"]).tag({name:"Horizontal separator",defaultValue:"Always"}),hideImageOnMobile:o().bool.tag({name:"Hide image on mobile"}
153),hideBylineOnMobile:o().bool.tag({name:"Hide byline on mobile"}),imageFirst:o().bool.tag({name:"Place image first"}),verticalOnTablet:o().bool.tag({name:"Vertical on tablet"}),darkText:o().bool.tag({name:"Darker text"}),shortDate:o().bool.tag({name:"Short date"}),titleOnly:o().bool.tag({name:"Title only"}),stickOut:o().bool.tag({name:"Stick out"}),hideTags:o().bool.tag({name:"Hide Tags"})}).isRequired};var k=M},69024:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(19894),i=r.n(n),o=r(40809),a=r(34766);function s({question:e,answer:t}){const[r,n]=(0,o.useState)(!1);return(0,a.jsx)("div",{className:"trivia-questions-section",children:(0,a.jsxs)("section",{className:"trivia-question",children:[(0,a.jsx)("h3",{className:"question",children:e}),(0,a.jsx)("div",{id:"container",children:(0,a.jsxs)("button",{className:"view-answer",type:"button",onClick:()=>n(e=>!e),children:[(0,a.jsx)("span",{className:"circle","aria-hidden":"true",children:(0,a.jsx)("span",{className:"icon arrow"})}),(0,a.jsx)("span",{className:"button-text",children:"View Answer"})]})}),r&&(0,a.jsx)("div",{className:"answer",children:(0,a.jsx)("p",{children:t})})]})})}s.label="Trivia Question",s.propTypes={question:i().string.isRequired,answer:i().string.isRequired};var l=s;function c({customFields:{questions:e,answers:t}}){return(0,a.jsxs)("div",{className:"trivia",children:[(0,a.jsx)("h1",{className:"question-title",children:"Trivia Questions"}),(0,a.jsx)("div",{className:"trivia-questions-section",children:e.map((e,r)=>(0,a.jsx)(l,{question:e,answer:t[r]}))})]})}c.label="Trivia",c.propTypes={customFields:i().shape({questions:i().list,answers:i().list}).isRequired};var u=c},91676:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return nf}});var n=r(19894),i=r.n(n),o=r(14375),a=r(40809),s=r.n(a),l=r(14355),c=r.n(l),u=r(37318),d=r.n(u),f=r(75306),p=r.n(f),h=r(91813),m=r.n(h),y=r(82784),g=r.n(y),v=r(21331),b=r.n(v),_=r(7674),x=r.n(_),w=r(35165),O=r.n(w),j=r(58652),S=r.n(j),M=r(44173),k="Invariant failed";function P(e,t){if(!e)throw new Error(k)}var T=r(59121),E=r.n(T),C=r(81927),L=r.n(C),A=r(97925),D=r(44411),I=r.n(D),N=r(83853),R=r.n(N),z=function(e){return 0===e?0:e>0?1:-1},F=function(e){return E()(e)&&e.indexOf("%")===e.length-1},B=function(e){return R()(e)&&!I()(e)},Y=function(e){return B(e)||E()(e)},U=0,H=function(e){var t=++U;return"".concat(e||"").concat(t)},$=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!B(e)&&!E()(e))return n;if(F(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return I()(r)&&(r=n),i&&r>t&&(r=t),r},W=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},V=function(e,t){return B(e)&&B(t)?function(r){return e+r*(t-e)}:function(){return t}};function q(e,t,r){return e&&e.length?e.find(function(e){return e&&("function"==typeof t?t(e):x()(e,t))===r}):null}var G=function(e,t){return B(e)&&B(t)?e-t:E()(e)&&E()(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))};function Z(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function X(e){return X="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},X(e)}var J=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
153dering","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","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","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","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],K=["points","pathLength"],Q={svg:["viewBox","children"],polygon:K,polyline:K},ee=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
153Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],te=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,a.isValidElement)(e)&&(r=e.props),!L()(r))return null;var n={};return Object.keys(r).forEach(function(e){ee.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})}),n},re=function(e,t,r){if(!L()(e)||"object"!==X(e))return null;var n=null;return Object.keys(e).forEach(function(i){var o=e[i];ee.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))}),n},ne=["children"],ie=["children"];function oe(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ae(e){return ae="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},ae(e)}var se={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},le=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},ce=null,ue=null,de=function e(t){if(t===ce&&Array.isArray(ue))return ue;var r=[];return a.Children.forEach(t,function(t){m()(t)||((0,A.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))}),ue=r,ce=t,r};function fe(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map(function(e){return le(e)}):[le(t)],de(e).forEach(function(e){var t=x()(e,"type.displayName")||x()(e,"type.name");-1!==n.indexOf(t)&&r.push(e)}),r}function pe(e,t){var r=fe(e,t);return r&&r[0]}var he=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!B(r)||r<=0||!B(n)||n<=0)},me=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ye=function(e){return e&&e.type&&E()(e.type)&&me.indexOf(e.type)>=0},ge=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,a.isValidElement)(e)&&(n=e.props),!L()(n))return null;var i={};
153return Object.keys(n).forEach(function(e){var o;(function(e,t,r,n){var i,o=null!==(i=null==Q?void 0:Q[n])&&void 0!==i?i:[];return t.startsWith("data-")||!g()(e)&&(n&&o.includes(t)||J.includes(t))||r&&ee.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])}),i},ve=function e(t,r){if(t===r)return!0;var n=a.Children.count(t);if(n!==a.Children.count(r))return!1;if(0===n)return!0;if(1===n)return be(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=t[i],s=r[i];if(Array.isArray(o)||Array.isArray(s)){if(!e(o,s))return!1}else if(!be(o,s))return!1}return!0},be=function(e,t){if(m()(e)&&m()(t))return!0;if(!m()(e)&&!m()(t)){var r=e.props||{},n=r.children,i=oe(r,ne),o=t.props||{},a=o.children,s=oe(o,ie);return n&&a?Z(i,s)&&ve(n,a):!n&&!a&&Z(i,s)}return!1},_e=function(e,t){var r=[],n={};return de(e).forEach(function(e,i){if(ye(e))r.push(e);else if(e){var o=le(e.type),a=t[o]||{},s=a.handler,l=a.once;if(s&&(!l||!n[o])){var c=s(e,o,i);r.push(c),n[o]=!0}}}),r},xe=["children","width","height","viewBox","className","style","title","desc"];function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},we.apply(this,arguments)}function Oe(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function je(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,o=e.className,a=e.style,l=e.title,c=e.desc,u=Oe(e,xe),d=i||{width:r,height:n,x:0,y:0},f=(0,M.default)("recharts-surface",o);return s().createElement("svg",we({},ge(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),s().createElement("title",null,l),s().createElement("desc",null,c),t)}var Se=["children","className"];function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}function ke(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Pe=s().forwardRef(function(e,t){var r=e.children,n=e.className,i=ke(e,Se),o=(0,M.default)("recharts-layer",n);return s().createElement("g",Me({className:o},ge(i,!0),{ref:t}),r)});function Te(e){return Te="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},Te(e)}function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Le(e,t)}
153(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach(function(t){Ie(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ie(e,t,r){var n;return n=function(e,t){if("object"!=Te(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Te(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e){return Array.isArray(e)&&Y(e[0])&&Y(e[1])?e.join(" ~ "):e}var Re=function(e){var t=e.separator,r=void 0===t?" : ":t,n=e.contentStyle,i=void 0===n?{}:n,o=e.itemStyle,a=void 0===o?{}:o,l=e.labelStyle,c=void 0===l?{}:l,u=e.payload,d=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,y=e.label,g=e.labelFormatter,v=e.accessibilityLayer,b=void 0!==v&&v,_=De({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),x=De({margin:0},c),w=!m()(y),j=w?y:"",S=(0,M.default)("recharts-default-tooltip",p),k=(0,M.default)("recharts-tooltip-label",h);w&&g&&null!=u&&(j=g(y,u));var P=b?{role:"status","aria-live":"assertive"}:{};return s().createElement("div",Ee({className:S,style:_},P),s().createElement("p",{className:k,style:x},s().isValidElement(j)?j:"".concat(j)),function(){if(u&&u.length){var e=(f?O()(u,f):u).map(function(e,t){if("none"===e.type)return null;var n=De({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||d||Ne,o=e.value,l=e.name,c=o,f=l;if(i&&null!=c&&null!=f){var p=i(o,l,e,t,u);if(Array.isArray(p)){var h=Ce(p,2);c=h[0],f=h[1]}else c=p}return s().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:n},Y(f)?s().createElement("span",{className:"recharts-tooltip-item-name"},f):null,Y(f)?s().createElement("span",{className:"recharts-tooltip-item-separator"},r):null,s().createElement("span",{className:"recharts-tooltip-item-value"},c),s().createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return s().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function ze(e){return ze="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},ze(e)}function Fe(e,t,r){var n;return n=function(e,t){if("object"!=ze(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ze(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ze(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Be="recharts-tooltip-wrapper",Ye={visibility:"hidden"};function Ue(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return(0,M.default)(Be,Fe(Fe(Fe(Fe({},"".concat(Be,"-right"),B(r)&&t&&B(t.x)&&r>=t.x),"".concat(Be,"-left"),B(r)&&t&&B(t.x)&&r<t.x),"".concat(Be,"-bottom"),B(n)&&t&&B(t.y)&&n>=t.y),"".concat(Be,"-top"),B(n)&&t&&B(t.y)&&n<t.y))}function He(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,s=e.tooltipDimension,l=e.viewBox,c=e.viewBoxDimension;if(o&&B(o[n]))return o[n];var u=r[n]-s-i,d=r[n]+i;return t[n]?a[n]?u:d:a[n]?u<l[n]?Math.max(d,l[n]):Math.max(u,l[n]):d+s>l[n]+c?Math.max(u,l[n]):Math.max(d,l[n])}function $e(e){return $e="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)}function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?We(Object(r),!0).forEach(function(t){Ke(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Qe(n.key),n)}}function Ge(e,t,r){return t=Xe(t),function(e,t){if(t&&("object"===$e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ze()?Reflect.construct(t,r||[],Xe(e).constructor):t.apply(e,r))}function Ze(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ze=function(){return!!e})()}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}function Je(e,t){return Je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Je(e,t)}function Ke(e,t,r){return(t=Qe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qe(e){var t=function(e,t){if("object"!=$e(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$e(t)?t:t+""}var et=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Ke(e=Ge(this,t,[].concat(n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Ke(e,"handleKeyDown",function(t){var r,n,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=e.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Je(e,t)}(t,e),r=t,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,l=t.coordinate,c=t.hasPayload,u=t.isAnimationActive,d=t.offset,f=t.position,p=t.reverseDirection,h=t.useTranslate3d,m=t.viewBox,y=t.wrapperStyle,g=function(e){var t,r,n=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,s=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,r=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:t=He({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:l.width,viewBox:u,viewBoxDimension:u.width}),translateY:r=He({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:l.height,viewBox:u,viewBoxDimension:u.he
153ight}),useTranslate3d:c}):Ye,cssClasses:Ue({translateX:t,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:l,offsetTopLeft:d,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:m}),v=g.cssClasses,b=g.cssProperties,_=Ve(Ve({transition:u&&r?"transform ".concat(i,"ms ").concat(o):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&c?"visible":"hidden",position:"absolute",top:0,left:0},y);return s().createElement("div",{tabIndex:-1,className:v,style:_,ref:function(t){e.wrapperNode=t}},a)}}])&&qe(r.prototype,n),i&&qe(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.PureComponent),tt={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return tt[e]},set:function(e,t){if("string"==typeof e)tt[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach(function(t){tt[t]=e[t]})}}},rt=r(59724),nt=r.n(rt);function it(e,t,r){return!0===t?nt()(e,r):g()(t)?nt()(e,t):e}function ot(e){return ot="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},ot(e)}function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach(function(t){pt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function lt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ht(n.key),n)}}function ct(e,t,r){return t=dt(t),function(e,t){if(t&&("object"===ot(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ut()?Reflect.construct(t,r||[],dt(e).constructor):t.apply(e,r))}function ut(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ut=function(){return!!e})()}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dt(e)}function ft(e,t){return ft=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ft(e,t)}function pt(e,t,r){return(t=ht(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ht(e){var t=function(e,t){if("object"!=ot(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ot(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ot(t)?t:t+""}function mt(e){return e.dataKey}var yt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ct(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ft(e,t)}(t,e),r=t,n=[{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,l=t.coordinate,c=t.filterNull,u=t.isAnimationActive,d=t.offset,f=t.payload,p=t.payloadUniqBy,h=t.position,m=t.reverseDirection,y=t.useTranslate3d,g=t.viewBox,v=t.wrapperStyle,b=null!=f?f:[];c&&b.length&&(b=it(f.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),p,mt));var _=b.length>0;return s().createElement(et,{allowEscapeViewBox:n,animationDuration:i,animationEasing:o,isAnimationActive:u,active:r,coordinate:l,hasPayload:_,offset:d,position:h,reverseDirection:m,useTranslate3d:y,viewBox:g,wrapperStyle:v},function(e,t){return s().isValidElement(e)?s().cloneElement(e,t):"function"==typeof e?s().createElement(e,t):s().createElement(Re,t)}(a,st(st({},this.props),{},{payload:b})))}}],n&<(r.prototype,n),i&<(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}
153(a.PureComponent);pt(yt,"displayName","Tooltip"),pt(yt,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!tt.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var gt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]},vt=r(60646),bt=r.n(vt),_t=r(6335);function xt(e){return xt="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},xt(e)}var wt=["type","size","sizeType"];function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ot.apply(this,arguments)}function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function St(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach(function(t){Mt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Mt(e,t,r){var n;return n=function(e,t){if("object"!=xt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=xt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==xt(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kt(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Pt={symbolCircle:_t.symbolCircle,symbolCross:_t.symbolCross,symbolDiamond:_t.symbolDiamond,symbolSquare:_t.symbolSquare,symbolStar:_t.symbolStar,symbolTriangle:_t.symbolTriangle,symbolWye:_t.symbolWye},Tt=Math.PI/180,Et=function(e){var t,r,n=e.type,i=void 0===n?"circle":n,o=e.size,a=void 0===o?64:o,l=e.sizeType,c=void 0===l?"area":l,u=St(St({},kt(e,wt)),{},{type:i,size:a,sizeType:c}),d=u.className,f=u.cx,p=u.cy,h=ge(u,!0);return f===+f&&p===+p&&a===+a?s().createElement("path",Ot({}
153,h,{className:(0,M.default)("recharts-symbols",d),transform:"translate(".concat(f,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(bt()(e));return Pt[t]||_t.symbolCircle}(i),r=(0,_t.symbol)().type(t).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*Tt;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,c,i)),r())})):null};function Ct(e){return Ct="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},Ct(e)}function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lt.apply(this,arguments)}function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Dt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bt(n.key),n)}}function It(e,t,r){return t=Rt(t),function(e,t){if(t&&("object"===Ct(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Nt()?Reflect.construct(t,r||[],Rt(e).constructor):t.apply(e,r))}function Nt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nt=function(){return!!e})()}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rt(e)}function zt(e,t){return zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zt(e,t)}function Ft(e,t,r){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bt(e){var t=function(e,t){if("object"!=Ct(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ct(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ct(t)?t:t+""}Et.registerSymbol=function(e,t){Pt["symbol".concat(bt()(e))]=t};var Yt=32,Ut=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),It(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zt(e,t)}(t,e),r=t,n=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Yt/6,i=Yt/3,o=e.inactive?t:e.color;if("plainline"===e.type)return s().createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Yt,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return s().createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Yt,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return s().createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Yt,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(s().isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?At(Object(r),!0).forEach(function(t){Ft(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e);return delete a.legendIcon,s().cloneElement(e.legendIcon,a)}return s().createElement(Et,{fill:o,cx:r,cy:r,size:Yt,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,l={x:0,y:0,width:Yt,height:Yt},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(t,r){var i=t.formatter||o,d=(0,M.default)(Ft(Ft({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=g()(t.value)?null:t.value;gt(!g()(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=t.inactive?a:t.color;return s().createElement("li",Lt({className:d,style:c,key:"legend-item-".concat(r)},re(e.props,t,r)),s().createElement(je,{width:n,height:n,viewBox:l,style:u},e.renderIcon(t)),s().createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,t,r):f))})}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return s().createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&Dt(r.prototype,n),i&&Dt(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.PureComponent);function Ht(e){return Ht="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},Ht(e)}Ft(Ut,"displayName","Legend"),Ft(Ut,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var $t=["ref"];function Wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(r),!0).forEach(function(t){Kt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Qt(n.key),n)}}function Gt(e,t,r){return t=Xt(t),function(e,t){if(t&&("object"===Ht(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zt()?Reflect.construct(t,r||[],Xt(e).constructor):t.apply(e,r))}function Zt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zt=function(){return!!e})()}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xt(e)}function Jt(e,t){return Jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jt(e,t)}function Kt(e,t,r){return(t=Qt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qt(e){var t=function(e,t){if("object"!=Ht(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ht(t)?t:t+""}function er(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function tr(e){return e.value}var rr=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Kt(e=Gt(this,t,[].concat(n)),"lastBoundingBox",{width:-1,height:-1}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jt(e,t)}(t,e),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=Vt(Vt({},this.defaultProps),e.props).layout;return"vertical"===r&&B(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();
153t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Vt({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,s=n.margin,l=n.chartWidth,c=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),Vt(Vt({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,l=t.payload,c=Vt(Vt({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return s().createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,t){if(s().isValidElement(e))return s().cloneElement(e,t);if("function"==typeof e)return s().createElement(e,t);t.ref;var r=er(t,$t);return s().createElement(Ut,r)}(r,Vt(Vt({},this.props),{},{payload:it(l,a,tr)})))}}])&&qt(r.prototype,n),i&&qt(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.PureComponent);function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nr.apply(this,arguments)}Kt(rr,"displayName","Legend"),Kt(rr,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var ir=function(e){var t=e.cx,r=e.cy,n=e.r,i=e.className,o=(0,M.default)("recharts-dot",i);return t===+t&&r===+r&&n===+n?a.createElement("circle",nr({},ge(e,!1),te(e),{className:o,cx:t,cy:r,r:n})):null},or=r(92499);function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)})}function sr(e){return sr="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},sr(e)}function lr(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return cr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cr(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ur(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=lr(n),o=i[0],a=i.slice(1);return"number"==typeof o?void ar(r.bind(null,a),o):(r(o),void ar(r.bind(null,a)))}"object"===sr(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function dr(e){return dr="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},dr(e)}function fr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?fr(Object(r),!0).forEach(function(t){hr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function hr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==dr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==dr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===dr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mr=function(e){return e},yr=function(e,t){return Object.keys(t).reduce(function(r,n){return pr(pr({},r),{},hr({},n,e(n,t[n])))},{})},gr=function(e,t,r){return e.map(function(e){return"".concat((n=e,n.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())}))," ").concat(t,"ms ").concat(r);var n}).join(",")};function vr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||_r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function br(e){return function(e){if(Array.isArray(e))return xr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _r(e,t){if(e){if("string"==typeof e)return xr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xr(e,t):void 0}}function xr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var wr=1e-4,Or=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},jr=function(e,t){return e.map(function(e,r){return e*Math.pow(t,r)}).reduce(function(e,t){return e+t})},Sr=function(e,t){return function(r){var n=Or(e,t);return jr(n,r)}},Mr=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var s=t[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var l=vr(s[1].split(")")[0].split(",").map(function(e){return parseFloat(e)}),4);n=l[0],i=l[1],o=l[2],a=l[3]}}[n,o,i,a].every(function(e){return"number"==typeof e&&e>=0&&e<=1});var c,u,d=Sr(n,o),f=Sr(i,a),p=(c=n,u=o,function(e){var t=Or(c,u),r=[].concat(br(t.map(function(e,t){return e*t}).slice(1)),[0]);return jr(r,e)}),h=function(e){return e>1?1:e<0?0:e},m=function(e){for(var t=e>1?1:e,r=t,n=0;n<8;++n){var i=d(r)-t,o=p(r);if(Math.abs(i-t)<wr||o<wr)return f(r);r=h(r-i/o)}return f(r)};return m.isStepper=!1,m},kr=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Mr(n);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,s=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,s=n*a/1e3+e;return Math.abs(s-t)<wr&&Math.abs(o)<wr?[t,0]:[s,o]};return s.isStepper=!0,s.dt=a,s}();
153default:if("cubic-bezier"===n.split("(")[0])return Mr(n)}return"function"==typeof n?n:null};function Pr(e){return Pr="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},Pr(e)}function Tr(e){return function(e){if(Array.isArray(e))return Ir(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Dr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach(function(t){Lr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Lr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Pr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Pr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Pr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ar(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Dr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dr(e,t){if(e){if("string"==typeof e)return Ir(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ir(e,t):void 0}}function Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Nr=function(e,t,r){return e+(t-e)*r},Rr=function(e){return e.from!==e.to},zr=function e(t,r,n){var i=yr(function(e,r){if(Rr(r)){var n=Ar(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return Cr(Cr({},r),{},{from:i,velocity:o})}return r},r);return n<1?yr(function(e,t){return Rr(t)?Cr(Cr({},t),{},{velocity:Nr(t.velocity,i[e].velocity,n),from:Nr(t.from,i[e].from,n)}):t},r):e(t,i,n-1)},Fr=function(e,t,r,n,i){var o,a,s,l,c=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})})),u=c.reduce(function(r,n){return Cr(Cr({},r),{},Lr({},n,[e[n],t[n]]))},{}),d=c.reduce(function(r,n){return Cr(Cr({},r),{},Lr({},n,{from:e[n],velocity:0,to:t[n]}))},{}),f=-1,p=function(){return null};return p=r.isStepper?function(n){s||(s=n);var o=(n-s)/r.dt;d=zr(r,d,o),i(Cr(Cr(Cr({},e),t),yr(function(e,t){return t.from},d))),s=n,Object.values(d).filter(Rr).length&&(f=requestAnimationFrame(p))}:function(o){l||(l=o);var a=(o-l)/n,s=yr(function(e,t){return Nr.apply(void 0,Tr(t).concat([r(a)]))},u);if(i(Cr(Cr(Cr({},e),t),s)),a<1)f=requestAnimationFrame(p);else{var c=yr(function(e,t){return Nr.apply(void 0,Tr(t).concat([r(1)]))},u);i(Cr(Cr(Cr({},e),t),c))}},function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}};function Br(e){return Br="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},Br(e)}var Yr=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Ur(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Hr(e){return function(e){if(Array.isArray(e))return $r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $r(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?Wr(Object(r),!0).forEach(function(t){qr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qr(e,t,r){return(t=Zr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Zr(n.key),n)}}function Zr(e){var t=function(e,t){if("object"!==Br(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Br(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Br(t)?t:String(t)}function Xr(e,t){return Xr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xr(e,t)}function Jr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=en(e);if(t){var i=en(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Kr(this,r)}}function Kr(e,t){if(t&&("object"===Br(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qr(e)}function Qr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},en(e)}var tn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xr(e,t)}(o,e);var t,r,n,i=Jr(o);function o(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var n=(r=i.call(this,e,t)).props,a=n.isActive,s=n.attributeName,l=n.from,c=n.to,u=n.steps,d=n.children,f=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(Qr(r)),r.changeStyle=r.changeStyle.bind(Qr(r)),!a||f<=0)return r.state={style:{}},"function"==typeof d&&(r.state={style:c}),Kr(r);if(u&&u.length)r.state={style:u[0].style};else if(l){if("function"==typeof d)return r.state={style:l},Kr(r);r.state={style:s?qr({},s,l):l}}else r.state={style:{}};return r}return t=o,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,s=t.from,l=this.state.style;if(n)if(r){if(!((0,or.deepEqual)(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||o?s:e.to;if(this.state&&l){var d={style:i?qr({},i,u):u};(i&&l[i]!==u||!i&&l!==u)&&this.setState(d)}this.runAnimation(Vr(Vr({},this.props),{},{from:u,begin:0}))}}else{var f={style:i?qr({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,s=e.onAnimationEnd,l=e.onAnimationStart,c=Fr(r,n,kr(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=c()},i,s])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,s=o.duration,l=void 0===s?0:s;return this.manager.start([i].concat(Hr(r.reduce(function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,s=void 0===a?"ease":a,l=n.style,c=n.properties,u=n.onAnimationEnd,d=i>0?r[i-1]:n,f=c||Object.keys(l);if("function"==typeof s||"spring"===s)return[].concat(Hr(e),[t.runJSAnimation.bind(t,{from:d.style,to:l,duration:o,easing:s}),o]);var p=gr(f,o,s),h=Vr(Vr(Vr({},d.style),l),{},{transition:p});return[].concat(Hr(e),[h,o,u]).filter(mr)},[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=ur());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,s=e.onAnimationEnd,l=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof c&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var d=n?qr({},n,i):i,f=gr(Object.keys(d),r,o);u.start([a,t,Vr(Vr({},d),{},{transition:f}),r,s])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration),n=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,Ur(e,Yr)),o=a.Children.count(t),l=this.state.style;if("function"==typeof t)return t(l);
153if(!n||0===o||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,o=t.className;return(0,a.cloneElement)(e,Vr(Vr({},i),{},{style:Vr(Vr({},n),l),className:o}))};return 1===o?c(a.Children.only(t)):s().createElement("div",null,a.Children.map(t,function(e){return c(e)}))}}])&&Gr(t.prototype,r),n&&Gr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(a.PureComponent);tn.displayName="Animate",tn.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tn.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};var rn=tn;function nn(e){return nn="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},nn(e)}function on(){return on=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},on.apply(this,arguments)}function an(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return sn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(r),!0).forEach(function(t){un(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ln(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function un(e,t,r){var n;return n=function(e,t){if("object"!=nn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==nn(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dn=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),s=n>=0?1:-1,l=r>=0?1:-1,c=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=i[d]>a?a:i[d];o="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(o+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+l*u[0],",").concat(t)),o+="L ".concat(e+r-l*u[1],",").concat(t),u[1]>0&&(o+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+r,",").concat(t+s*u[1])),o+="L ".concat(e+r,",").concat(t+n-s*u[2]),u[2]>0&&(o+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+r-l*u[2],",").concat(t+n)),o+="L ".concat(e+l*u[3],",").concat(t+n),u[3]>0&&(o+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+n-s*u[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var f=Math.min(a,i);o="M ".concat(e,",").concat(t+s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+l*f,",").concat(t,"\n L ").concat(e+r-l*f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+r,",").concat(t+s*f,"\n L ").concat(e+r,",").concat(t+n-s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+r-l*f,",").concat(t+n,"\n L ").concat(e+l*f,",").concat(t+n,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+n-s*f," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},fn=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(i,i+a),c=Math.max(i,i+a),u=Math.min(o,o+s),d=Math.max(o,o+s);return r>=l&&r<=c&&n>=u&&n<=d}return!1},pn={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},hn=function(e){var t=cn(cn({},pn),e),r=(0,a.useRef)(),n=an((0,a.useState)(-1),2),i=n[0],o=n[1];(0,a.useEffect)(function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}},[]);var l=t.x,c=t.y,u=t.width,d=t.height,f=t.radius,p=t.className,h=t.animationEasing,m=t.animationDuration,y=t.animationBegin,g=t.isAnimationActive,v=t.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||d!==+d||0===u||0===d)return null;var b=(0,M.default)("recharts-rectangle",p);return v?s().createElement(rn,{canBegin:i>0,from:{width:u,height:d,x:l,y:c},to:{width:u,height:d,x:l,y:c},duration:m,animationEasing:h,isActive:v},function(e){var n=e.width,o=e.height,a=e.x,l=e.y;return s().createElement(rn,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:y,duration:m,isActive:g,easing:h},s().createElement("path",on({},ge(t,!0),{className:b,d:dn(a,l,n,o,f),ref:r})))}):s().createElement("path",on({},ge(t,!0),{className:b,d:dn(l,c,u,d,f)}))},mn=r(55804);function yn(e){return yn="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},yn(e)}function gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function vn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?gn(Object(r),!0).forEach(function(t){bn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function bn(e,t,r){var n;return n=function(e,t){if("object"!=yn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==yn(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _n={widthCache:{},cacheCount:0},xn={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},wn="recharts_measurement_span";var On=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||tt.isSsr)return{width:0,height:0};var r,n=(r=vn({},t),Object.keys(r).forEach(function(e){r[e]||delete r[e]}),r),i=JSON.stringify({text:e,copyStyle:n});if(_n.widthCache[i])return _n.widthCache[i];try{var o=document.getElementById(wn);o||((o=document.createElement("span")).setAttribute("id",wn),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=vn(vn({},xn),n);Object.assign(o.style,a),o.textContent="".concat(e);var s=o.getBoundingClientRect(),l={width:s.width,height:s.height};return _n.widthCache[i]=l,++_n.cacheCount>2e3&&(_n.cacheCount=0,_n.widthCache={}),l}catch(e){return{width:0,height:0}}};function jn(e){return jn="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},jn(e)}function Sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Mn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function kn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Pn(n.key),n)}}function Pn(e){var t=function(e,t){if("object"!=jn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=jn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jn(t)?t:t+""}var Tn=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,En=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Cn=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Ln=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,An={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Dn=Object.keys(An),In="NaN";var Nn=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),""===r||Cn.test(r)||(this.num=NaN,this.unit=""),Dn.includes(r)&&(this.num=function(e,t){return e*An[t]}(t,r),this.unit="px")}return t=e,n=[{key:"parse",value:function(t){var r,n=Sn(null!==(r=Ln.exec(t))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new e(parseFloat(i),null!=o?o:"")}}],(r=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&kn(t.prototype,r),n&&kn(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();function Rn(e){if(e.includes(In))return In;for(var t=e;t.includes("*")||t.includes("/");){var r,n=Sn(null!==(r=Tn.exec(t))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],s=Nn.parse(null!=i?i:""),l=Nn.parse(null!=a?a:""),c="*"===o?s.multiply(l):s.divide(l);if(c.isNaN())return In;t=t.replace(Tn,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=Sn(null!==(u=En.exec(t))&&void 0!==u?u:[],4),f=d[1],p=d[2],h=d[3],m=Nn.parse(null!=f?f:""),y=Nn.parse(null!=h?h:""),g="+"===p?m.add(y):m.subtract(y);if(g.isNaN())return In;t=t.replace(En,g.toString())}return t}var zn=/\(([^()]*)\)/;function Fn(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=Sn(zn.exec(t),2)[1];t=t.replace(zn,Rn(r))}return t}(t),t=Rn(t)}function Bn(e){var t=function(e){try{return Fn(e)}catch(e){return In}}(e.slice(5,-1));return t===In?"":t}var Yn=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Un=["dx","dy","angle","className","breakAll"];function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
153for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hn.apply(this,arguments)}function $n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Wn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var qn=/[ \f\n\r\t\v\u2028\u2029]+/,Gn=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return m()(t)||(i=r?t.toString().split(""):t.toString().split(qn)),{wordsWithComputedWidth:i.map(function(e){return{word:e,width:On(e,n).width}}),spaceWidth:r?0:On(" ",n).width}}catch(e){return null}},Zn=function(e){return[{words:m()(e)?[]:e.toString().split(qn)}]},Xn=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!tt.isSsr){var s=Gn({breakAll:o,children:n,style:i});return s?function(e,t,r,n,i){var o=e.maxLines,a=e.children,s=e.style,l=e.breakAll,c=B(o),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,t){var o=t.word,a=t.width,s=e[e.length-1];if(s&&(null==n||i||s.width+a+r<Number(n)))s.words.push(o),s.width+=a+r;else{var l={words:[o],width:a};e.push(l)}return e},[])},f=d(t);if(!c)return f;for(var p,h=function(e){var t=u.slice(0,e),r=Gn({breakAll:l,style:s,children:t+"â¦"}).wordsWithComputedWidth,i=d(r),a=i.length>o||function(e){return e.reduce(function(e,t){return e.width>t.width?e:t})}(i).width>Number(n);return[a,i]},m=0,y=u.length-1,g=0;m<=y&&g<=u.length-1;){var v=Math.floor((m+y)/2),b=Wn(h(v-1),2),_=b[0],x=b[1],w=Wn(h(v),1)[0];if(_||w||(m=v+1),_&&w&&(y=v-1),!_&&w){p=x;break}g++}return p||f}({breakAll:o,children:n,maxLines:a,style:i},s.wordsWithComputedWidth,s.spaceWidth,t,r):Zn(n)}return Zn(n)},Jn="#808080",Kn=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.lineHeight,l=void 0===o?"1em":o,c=e.capHeight,u=void 0===c?"0.71em":c,d=e.scaleToFit,f=void 0!==d&&d,p=e.textAnchor,h=void 0===p?"start":p,m=e.verticalAnchor,y=void 0===m?"end":m,g=e.fill,v=void 0===g?Jn:g,b=$n(e,Yn),_=(0,a.useMemo)(function(){return Xn({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:f,style:b.style,width:b.width})},[b.breakAll,b.children,b.maxLines,f,b.style,b.width]),x=b.dx,w=b.dy,O=b.angle,j=b.className,S=b.breakAll,k=$n(b,Un);if(!Y(r)||!Y(i))return null;var P,T=r+(B(x)?x:0),E=i+(B(w)?w:0);switch(y){case"start":P=Bn("calc(".concat(u,")"));break;case"middle":P=Bn("calc(".concat((_.length-1)/2," * -").concat(l," + (").concat(u," / 2))"));break;default:P=Bn("calc(".concat(_.length-1," * -").concat(l,")"))}var C=[];if(f){var L=_[0].width,A=b.width;C.push("scale(".concat((B(A)?A/L:1)/L,")"))}return O&&C.push("rotate(".concat(O,", ").concat(T,", ").concat(E,")")),C.length&&(k.transform=C.join(" ")),s().createElement("text",Hn({},ge(k,!0),{x:T,y:E,className:(0,M.default)("recharts-text",j),textAnchor:h,fill:v.includes("url")?Jn:v}),_.map(function(e,t){var r=e.words.join(S?"":" ");return s().createElement("tspan",{x:T,dy:0===t?P:l,key:"".concat(r,"-").concat(t)},r)}))},Qn=r(42604),ei=r.n(Qn),ti=r(88066),ri=r.n(ti),ni=r(55705),ii=r.n(ni),oi=r(34442),ai=r.n(oi),si=r(85289),li=r.n(si);function ci(e){return function(e){if(Array.isArray(e))return ui(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ui(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ui(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var di=function(e){return e},fi={"@@functional/placeholder":!0},pi=function(e){return e===fi},hi=function(e){return function t(){return 0===arguments.length||1===arguments.length&&pi(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},mi=function e(t,r){return 1===t?r:hi(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(e){return e!==fi}).length;return a>=t?r.apply(void 0,i):e(t-a,hi(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map(function(e){return pi(e)?t.shift():e});return r.apply(void 0,ci(o).concat(t))}))})},yi=function(e){return mi(e.length,e)},gi=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},vi=yi(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),bi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return di;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(e,t){return t(e)},i.apply(void 0,arguments))}},_i=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},xi=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every(function(e,r){return e===t[r]})?r:(t=i,r=e.apply(void 0,i))}};var wi={rangeStep:function(e,t,r){for(var n=new(li())(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new(li())(e).abs().log(10).toNumber())+1},interpolateNumber:yi(function(e,t,r){var n=+e;return n+r*(+t-n)}),uninterpolateNumber:yi(function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)}),uninterpolateTruncation:yi(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})};function Oi(e){return function(e){if(Array.isArray(e))return Mi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Si(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ji(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||Si(e,t)||function(){throw new TypeError("Invalid attempt to de
153structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Si(e,t){if(e){if("string"==typeof e)return Mi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mi(e,t):void 0}}function Mi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ki(e){var t=ji(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Pi(e,t,r){if(e.lte(0))return new(li())(0);var n=wi.getDigitCount(e.toNumber()),i=new(li())(10).pow(n),o=e.div(i),a=1!==n?.05:.1,s=new(li())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?s:new(li())(Math.ceil(s))}function Ti(e,t,r){var n=1,i=new(li())(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new(li())(10).pow(wi.getDigitCount(e)-1),i=new(li())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(li())(Math.floor(e)))}else 0===e?i=new(li())(Math.floor((t-1)/2)):r||(i=new(li())(Math.floor(e)));var a=Math.floor((t-1)/2);return bi(vi(function(e){return i.add(new(li())(e-a).mul(n)).toNumber()}),gi)(0,t)}function Ei(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new(li())(0),tickMin:new(li())(0),tickMax:new(li())(0)};var o,a=Pi(new(li())(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new(li())(0):(o=new(li())(e).add(t).div(2)).sub(new(li())(o).mod(a));var s=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new(li())(t).sub(o).div(a).toNumber()),c=s+l+1;return c>r?Ei(e,t,r,n,i+1):(c<r&&(l=t>0?l+(r-c):l,s=t>0?s:s+(r-c)),{step:a,tickMin:o.sub(new(li())(s).mul(a)),tickMax:o.add(new(li())(l).mul(a))})}var Ci=xi(function(e){var t=ji(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=ji(ki([r,n]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0){var u=c===1/0?[l].concat(Oi(gi(0,i-1).map(function(){return 1/0}))):[].concat(Oi(gi(0,i-1).map(function(){return-1/0})),[c]);return r>n?_i(u):u}if(l===c)return Ti(l,i,o);var d=Ei(l,c,a,o),f=d.step,p=d.tickMin,h=d.tickMax,m=wi.rangeStep(p,h.add(new(li())(.1).mul(f)),f);return r>n?_i(m):m}),Li=(xi(function(e){var t=ji(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=ji(ki([r,n]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[r,n];if(l===c)return Ti(l,i,o);var u=Pi(new(li())(c).sub(l).div(a-1),o,0),d=bi(vi(function(e){return new(li())(l).add(new(li())(e).mul(u)).toNumber()}),gi)(0,a).filter(function(e){return e>=l&&e<=c});return r>n?_i(d):d}),xi(function(e,t){var r=ji(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=ji(ki([n,i]),2),s=a[0],l=a[1];if(s===-1/0||l===1/0)return[n,i];if(s===l)return[s];var c=Math.max(t,2),u=Pi(new(li())(l).sub(s).div(c-1),o,0),d=[].concat(Oi(wi.rangeStep(new(li())(s),new(li())(l).sub(new(li())(.99).mul(u)),u)),[l]);return n>i?_i(d):d})),Ai=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Di(e){return Di="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},Di(e)}function Ii(){return Ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ii.apply(this,arguments)}function Ni(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
153finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ri(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ri(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zi(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Fi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Wi(n.key),n)}}function Bi(e,t,r){return t=Ui(t),function(e,t){if(t&&("object"===Di(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Yi()?Reflect.construct(t,r||[],Ui(e).constructor):t.apply(e,r))}function Yi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yi=function(){return!!e})()}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ui(e)}function Hi(e,t){return Hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hi(e,t)}function $i(e,t,r){return(t=Wi(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){var t=function(e,t){if("object"!=Di(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Di(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Di(t)?t:t+""}var Vi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bi(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hi(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){var e=this.props,t=e.offset,r=e.layout,n=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,l=e.xAxis,c=e.yAxis,u=zi(e,Ai),d=ge(u,!1);"x"===this.props.direction&&"number"!==l.type&&P(!1);var f=o.map(function(e){var o=a(e,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var m,y,g=[];if(Array.isArray(h)){var v=Ni(h,2);m=v[0],y=v[1]}else m=y=h;if("vertical"===r){var b=l.scale,_=f+t,x=_+n,w=_-n,O=b(p-m),j=b(p+y);g.push({x1:j,y1:x,x2:j,y2:w}),g.push({x1:O,y1:_,x2:j,y2:_}),g.push({x1:O,y1:x,x2:O,y2:w})}else if("horizontal"===r){var S=c.scale,M=u+t,k=M-n,P=M+n,T=S(p-m),E=S(p+y);g.push({x1:k,y1:E,x2:P,y2:E}),g.push({x1:M,y1:T,x2:M,y2:E}),g.push({x1:k,y1:T,x2:P,y2:T})}return s().createElement(Pe,Ii({className:"recharts-errorBar",key:"bar-".concat(g.map(function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))},d),g.map(function(e){return s().createElement("line",Ii({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))}))});return s().createElement(Pe,{className:"recharts-errorBars"},f)}}])&&Fi(r.prototype,n),i&&Fi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(s().Component);function qi(e){return qi="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},qi(e)}function Gi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Zi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?Gi(Object(r),!0).forEach(function(t){Xi(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Xi(e,t,r){var n;return n=function(e,t){if("object"!=qi(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=qi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==qi(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}$i(Vi,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),$i(Vi,"displayName","ErrorBar");var Ji=function(e){var t=e.children,r=e.formattedGraphicalItems,n=e.legendWidth,i=e.legendContent,o=pe(t,rr);if(!o)return null;var a,s=rr.defaultProps,l=void 0!==s?Zi(Zi({},s),o.props):{};return a=o.props&&o.props.payload?o.props&&o.props.payload:"children"===i?(r||[]).reduce(function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map(function(e){return{type:o.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(r||[]).map(function(e){var t=e.item,r=t.type.defaultProps,n=void 0!==r?Zi(Zi({},r),t.props):{},i=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:i,type:l.iconType||a||"square",color:ao(t),value:o||i,payload:n}}),Zi(Zi(Zi({},l),rr.getWithHeight(o,n)),{},{payload:a,item:o})};function Ki(e){return Ki="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},Ki(e)}function Qi(e){return function(e){if(Array.isArray(e))return eo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return eo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eo(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function to(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ro(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?to(Object(r),!0).forEach(function(t){no(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):to(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function no(e,t,r){var n;return n=function(e,t){if("object"!=Ki(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ki(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Ki(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function io(e,t,r){return m()(e)||m()(t)?r:Y(t)?x()(e,t,r):g()(t)?t(e):r}function oo(e,t,r,n){var i=ii()(e,function(e){return io(e,t)});if("number"===r){var o=i.filter(function(e){return B(e)||parseFloat(e)});return o.length?[ri()(o),ei()(o)]:[1/0,-1/0]}return(n?i.filter(function(e){return!m()(e)}):i).map(function(e){return Y(e)||e instanceof Date?e:""})}var ao=function(e){var t,r,n=e.type.displayName,i=null!==(t=e.type)&&void 0!==t&&t.defaultProps?ro(ro({},e.type.defaultProps),e.props):e.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},so=function(e,t,r,n,i){var o=fe(t.props.children,Vi).filter(function(e){return function(e,t,r){return!!m()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===r?"xAxis"===t:"y"!==r||"yAxis"===t)}(n,i,e.props.direction)});if(o&&o.length){var a=o.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var n=io(t,r);if(m()(n))return e;var i=Array.isArray(n)?[ri()(n),ei()(n)]:[n,n],o=a.reduce(function(e,r){var n=io(t,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]},[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]},[1/0,-1/0])}return null},lo=function(e,t,r,n,i){var o=t.map(function(t){var o=t.props.dataKey;return"number"===r&&o&&so(e,t,o,n)||oo(e,o,r,i)});if("number"===r)return o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var a={};return o.reduce(function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e},[])},co=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},uo=function(e,t,r,n){if(n)return e.map(function(e){return e.coordinate});var i,o,a=e.map(function(e){return e.coordinate===t&&(i=!0),e.coordinate===r&&(o=!0),e.coordinate});return i||a.push(t),o||a.push(r),a},fo=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,s="scaleBand"===e.realScaleType?n.bandwidth()/2:2,l=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/s:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*z(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map(function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+l,value:e,offset:l}}).filter(function(e){return!I()(e.coordinate)}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:n(e)+l,value:e,index:t,offset:l}}):n.ticks&&!r?n.ticks(e.tickCount).map(function(e){return{coordinate:n(e)+l,value:e,offset:l}}):n.domain().map(function(e,t){return{coordinate:n(e)+l,value:i?i[e]:e,index:t,offset:l}})},po=new WeakMap,ho=function(e,t){if("function"!=typeof t)return e;po.has(e)||po.set(e,new WeakMap);var r=po.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},mo=1e-4,yo={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;
153++a){var s=I()(e[a][r][1])?e[a][r][0]:e[a][r][1];s>=0?(e[a][r][0]=i,e[a][r][1]=i+s,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+s,o=e[a][r][1])}},expand:_t.stackOffsetExpand,none:_t.stackOffsetNone,silhouette:_t.stackOffsetSilhouette,wiggle:_t.stackOffsetWiggle,positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=I()(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},go=function(e,t,r){var n=t.map(function(e){return e.props.dataKey}),i=yo[r];return(0,_t.stack)().keys(n).value(function(e,t){return+io(e,t,0)}).order(_t.stackOrderNone).offset(i)(e)};function vo(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!m()(i[t.dataKey])){var s=q(r,"value",i[t.dataKey]);if(s)return s.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=io(i,m()(a)?t.dataKey:a);return m()(l)?null:t.scale(l)}var bo=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var s=io(o,t.dataKey,t.domain[a]);return m()(s)?null:t.scale(s)-i/2+n},_o=function(e,t,r){return Object.keys(e).reduce(function(n,i){var o=e[i].stackedData.reduce(function(e,n){var i=n.slice(t,r+1).reduce(function(e,t){return[ri()(t.concat([e[0]]).filter(B)),ei()(t.concat([e[1]]).filter(B))]},[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},xo=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,wo=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Oo=function(e,t,r){if(g()(e))return e(t,r);
153if(!Array.isArray(e))return t;var n=[];if(B(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(xo.test(e[0])){var i=+xo.exec(e[0])[1];n[0]=t[0]-i}else g()(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(B(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(wo.test(e[1])){var o=+wo.exec(e[1])[1];n[1]=t[1]+o}else g()(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},jo=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=O()(t,function(e){return e.coordinate}),o=1/0,a=1,s=i.length;a<s;a++){var l=i[a],c=i[a-1];o=Math.min((l.coordinate||0)-(c.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},So=function(e,t,r){return e&&e.length?ai()(e,x()(r,"type.defaultProps.domain"))?t:e:t},Mo=function(e,t){var r=e.type.defaultProps?ro(ro({},e.type.defaultProps),e.props):e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,s=r.tooltipType,l=r.chartType,c=r.hide;return ro(ro({},ge(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:ao(e),value:io(t,n),type:s,payload:t,chartType:l,hide:c})};function ko(e){return ko="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},ko(e)}function Po(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function To(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(r),!0).forEach(function(t){Eo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Po(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Eo(e,t,r){var n;return n=function(e,t){if("object"!=ko(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ko(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ko(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Co=["Webkit","Moz","O","ms"];function Lo(e){return Lo="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},Lo(e)}function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ao.apply(this,arguments)}function Do(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Io(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(r),!0).forEach(function(t){Yo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Do(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function No(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Uo(n.key),n)}}function Ro(e,t,r){return t=Fo(t),function(e,t){if(t&&("object"===Lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zo()?Reflect.construct(t,r||[],Fo(e).constructor):t.apply(e,r))}function zo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!e})()}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fo(e)}
153function Bo(e,t){return Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bo(e,t)}function Yo(e,t,r){return(t=Uo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){var t=function(e,t){if("object"!=Lo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Lo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Lo(t)?t:t+""}var Ho=function(e){return e.changedTouches&&!!e.changedTouches.length},$o=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Yo(r=Ro(this,t,[e]),"handleDrag",function(e){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(e):r.state.isSlideMoving&&r.handleSlideDrag(e)}),Yo(r,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])}),Yo(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var e=r.props,t=e.endIndex,n=e.onDragEnd,i=e.startIndex;null==n||n({endIndex:t,startIndex:i})}),r.detachDragEndListener()}),Yo(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),Yo(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),Yo(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),Yo(r,"handleSlideDragStart",function(e){var t=Ho(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bo(e,t)}(t,e),r=t,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var r=e.startX,n=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,s=o.data.length-1,l=Math.min(r,n),c=Math.max(r,n),u=t.getIndexInRange(i,l),d=t.getIndexInRange(i,c);return{startIndex:u-u%a,endIndex:d===s?s:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=io(r[e],i,e);return g()(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,s=o.width,l=o.travellerWidth,c=o.startIndex,u=o.endIndex,d=o.onChange,f=e.pageX-r;f>0?f=Math.min(f,a+s-l-i,a+s-l-n):f<0&&(f=Math.max(f,a-n,a-i));var p=this.getIndex({startX:n+f,endX:i+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:n+f,endX:i+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=Ho(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[n],s=this.props,l=s.x,c=s.width,u=s.travellerWidth,d=s.onChange,f=s.gap,p=s.data,h={startX:this.state.startX,endX:this.state.endX},m=e.pageX-r;m>0?m=Math.min(m,l+c-u-a):m<0&&(m=Math.max(m,l-a)),h[n]=a+m;var y=this.getIndex(h),g=y.startIndex,v=y.endIndex;this.setState(Yo(Yo({},n,a+m),"brushMoveStartX",e.pageX),function(){var e;d&&(e=p.length-1,("startX"===n&&(i>o?g%f===0:v%f===0)||i<o&&v===e||"endX"===n&&(i>o?v%f===0:g%f===0)||i>o&&v===e)&&d(y))})}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,s=this.state[t],l=i.indexOf(s);if(-1!==l){var c=l+e;if(!(-1===c||c>=i.length)){var u=i[c];"startX"===t&&u>=a||"endX"===t&&u<=o||this.setState(Yo({},t,u),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
153state.endX}))})}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.fill,a=e.stroke;return s().createElement("rect",{stroke:a,fill:o,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.data,l=e.children,c=e.padding,u=a.Children.only(l);return u?s().cloneElement(u,{x:t,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,r){var n,i,o=this,a=this.props,l=a.y,c=a.travellerWidth,u=a.height,d=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,m=a.endIndex,y=Math.max(e,this.props.x),g=Io(Io({},ge(this.props,!1)),{},{x:y,y:l,width:c,height:u}),v=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[m])||void 0===i?void 0:i.name);return s().createElement(Pe,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,g))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,l=Math.min(e,t)+a,c=Math.max(Math.abs(t-e)-a,0);return s().createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:l,y:n,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,l=this.state,c=l.startX,u=l.endX,d={pointerEvents:"none",fill:a};return s().createElement(Pe,{className:"recharts-brush-texts"},s().createElement(Kn,Ao({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:n+i/2},d),this.getTextOfTick(t)),s().createElement(Kn,Ao({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+o+5,y:n+i/2},d),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,o=e.y,a=e.width,l=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,m=u.isTravellerMoving,y=u.isTravellerFocused;if(!t||!t.length||!B(i)||!B(o)||!B(a)||!B(l)||a<=0||l<=0)return null;var g=(0,M.default)("recharts-brush",r),v=1===s().Children.count(n),b=function(e,t){if(!e)return null;var r=e.replace(/(\w)/,function(e){return e.toUpperCase()}),n=Co.reduce(function(e,n){return To(To({},e),{},Eo({},n+r,t))},{});return n[e]=t,n}("userSelect","none");return s().createElement(Pe,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),v&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||m||y||c)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.stroke,a=Math.floor(r+i/2)-1;return s().createElement(s().Fragment,null,s().createElement("rect",{x:t,y:r,width:n,height:i,fill:o,stroke:"none"}),s().createElement("line",{x1:t+1,y1:a,x2:t+n-1,y2:a,fill:"none",stroke:"#fff"}),s().createElement("line",{x1:t+1,y1:a+2,x2:t+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return s().isValidElement(e)?s().cloneElement(e,r):g()(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,s=e.startIndex,l=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return Io({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,l=(0,mn.scalePoint)().domain(b()(0,s)).range([i,i+o-a]),c=l.domain().map(function(e){return l(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:c}}({data:r,width:n,x:i,travellerWidth:o,startIndex:s,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var c=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],n&&No(r.prototype,n),i&&No(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}
153(a.PureComponent);function Wo(e){return Wo="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},Wo(e)}function Vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function qo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(r),!0).forEach(function(t){Go(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Go(e,t,r){var n;return n=function(e,t){if("object"!=Wo(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Wo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Wo(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Yo($o,"displayName","Brush"),Yo($o,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Zo=Math.PI/180,Xo=function(e){return 180*e/Math.PI},Jo=function(e,t,r,n){return{x:e+Math.cos(-Zo*n)*r,y:t+Math.sin(-Zo*n)*r}},Ko=function(e,t){var r,n,i,o,a,s,l=e.x,c=e.y,u=t.cx,d=t.cy,f=(n={x:u,y:d},i=(r={x:l,y:c}).x,o=r.y,a=n.x,s=n.y,Math.sqrt(Math.pow(i-a,2)+Math.pow(o-s,2)));if(f<=0)return{radius:f};var p=(l-u)/f,h=Math.acos(p);return c>d&&(h=2*Math.PI-h),{radius:f,angle:Xo(h),angleInRadian:h}},Qo=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},ea=function(e,t){var r=e.x,n=e.y,i=Ko({x:r,y:n},t),o=i.radius,a=i.angle,s=t.innerRadius,l=t.outerRadius;if(o<s||o>l)return!1;if(0===o)return!0;var c,u=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),d=u.startAngle,f=u.endAngle,p=a;if(d<=f){for(;p>f;)p-=360;for(;p<d;)p+=360;c=p>=d&&p<=f}else{for(;p>d;)p-=360;for(;p<f;)p+=360;c=p>=f&&p<=d}return c?qo(qo({},t),{},{radius:o,angle:Qo(p,t)}):null};function ta(e){return ta="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},ta(e)}var ra=["offset"];function na(e){return function(e){if(Array.isArray(e))return ia(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ia(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ia(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ia(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oa(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?aa(Object(r),!0).forEach(function(t){la(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aa(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function la(e,t,r){var n;return n=function(e,t){if("object"!=ta(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ta(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(){return ca=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ca.apply(this,arguments)}var ua=function(e,t,r){var n,i,o=e.position,a=e.viewBox,l=e.offset,c=e.className,u=a,d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,y=u.startAngle,g=u.endAngle,v=u.clockWise,b=(p+h)/2,_=function(e,t){return z(t-e)*Math.min(Math.abs(t-e),360)}(y,g),x=_>=0?1:-1;"insideStart"===o?(n=y+x*l,i=v):"insideEnd"===o?(n=g-x*l,i=!v):"end"===o&&(n=g+x*l,i=v),i=_<=0?i:!i;var w=Jo(d,f,b,n),O=Jo(d,f,b,n+359*(i?1:-1)),j="M".concat(w.x,",").concat(w.y,"\n A").concat(b,",").concat(b,",0,1,").concat(i?0:1,",\n ").concat(O.x,",").concat(O.y),S=m()(e.id)?H("recharts-radial-line-"):e.id;return s().createElement("text",ca({},r,{dominantBaseline:"central",className:(0,M.default)("recharts-radial-bar-label",c)}),s().createElement("defs",null,s().createElement("path",{id:S,d:j})),s().createElement("textPath",{xlinkHref:"#".concat(S)},t))};function da(e){var t,r=e.offset,n=sa({offset:void 0===r?5:r},oa(e,ra)),i=n.viewBox,o=n.position,l=n.value,c=n.children,u=n.content,d=n.className,f=void 0===d?"":d,p=n.textBreakAll;if(!i||m()(l)&&m()(c)&&!(0,a.isValidElement)(u)&&!g()(u))return null;if((0,a.isValidElement)(u))return(0,a.cloneElement)(u,n);if(g()(u)){if(t=(0,a.createElement)(u,n),(0,a.isValidElement)(t))return t}else t=function(e){var t=e.value,r=e.formatter,n=m()(e.children)?t:e.children;return g()(r)?r(n):n}(n);var h=function(e){return"cx"in e&&B(e.cx)}(i),y=ge(n,!0);if(h&&("insideStart"===o||"insideEnd"===o||"end"===o))return ua(n,t,y);var v=h?function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,s=i.innerRadius,l=i.outerRadius,c=(i.startAngle+i.endAngle)/2;if("outside"===n){var u=Jo(o,a,l+r,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=Jo(o,a,(s+l)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}}(n):function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,s=o.y,l=o.width,c=o.height,u=c>=0?1:-1,d=u*n,f=u>0?"end":"start",p=u>0?"start":"end",h=l>=0?1:-1,m=h*n,y=h>0?"end":"start",g=h>0?"start":"end";if("top"===i)return sa(sa({},{x:a+l/2,y:s-u*n,textAnchor:"middle",verticalAnchor:f}),r?{height:Math.max(s-r.y,0),width:l}:{});if("bottom"===i)return sa(sa({},{x:a+l/2,y:s+c+d,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(s+c),0),width:l}:{});if("left"===i){var v={x:a-m,y:s+c/2,textAnchor:y,verticalAnchor:"middle"};return sa(sa({},v),r?{width:Math.max(v.x-r.x,0),height:c}:{})}if("right"===i){var b={x:a+l+m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"};return sa(sa({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:c}:{})}var _=r?{width:l,height:c}:{};return"insideLeft"===i?sa({x:a+m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"},_):"insideRight"===i?sa({x:a+l-m,y:s+c/2,textAnchor:y,verticalAnchor:"middle"},_):"insideTop"===i?sa({x:a+l/2,y:s+d,textAnchor:"middle",verticalAnchor:p},_):"insideBottom"===i?sa({x:a+l/2,y:s+c-d,textAnchor:"middle",verticalAnchor:f},_):"insideTopLeft"===i?sa({x:a+m,y:s+d,textAnchor:g,verticalAnchor:p},_):"insideTopRight"===i?sa({x:a+l-m,y:s+d,textAnchor:y,verticalAnchor:p},_):"insideBottomLeft"===i?sa({x:a+m,y:s+c-d,textAnchor:g,verticalAnchor:f},_):"insideBottomRight"===i?sa({x:a+l-m,y:s+c-d,textAnchor:y,verticalAnchor:f}
153,_):L()(i)&&(B(i.x)||F(i.x))&&(B(i.y)||F(i.y))?sa({x:a+$(i.x,l),y:s+$(i.y,c),textAnchor:"end",verticalAnchor:"end"},_):sa({x:a+l/2,y:s+c/2,textAnchor:"middle",verticalAnchor:"middle"},_)}(n);return s().createElement(Kn,ca({className:(0,M.default)("recharts-label",f)},y,v,{breakAll:p}),t)}da.displayName="Label";var fa=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,s=e.radius,l=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,h=e.width,m=e.height,y=e.clockWise,g=e.labelViewBox;if(g)return g;if(B(h)&&B(m)){if(B(u)&&B(d))return{x:u,y:d,width:h,height:m};if(B(f)&&B(p))return{x:f,y:p,width:h,height:m}}return B(u)&&B(d)?{x:u,y:d,width:0,height:0}:B(t)&&B(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:c||s||a||0,clockWise:y}:e.viewBox?e.viewBox:{}};da.parseViewBox=fa,da.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=fa(e),o=fe(n,da).map(function(e,r){return(0,a.cloneElement)(e,{viewBox:t||i,key:"label-".concat(r)})});if(!r)return o;var l=function(e,t){return e?!0===e?s().createElement(da,{key:"label-implicit",viewBox:t}):Y(e)?s().createElement(da,{key:"label-implicit",viewBox:t,value:e}):(0,a.isValidElement)(e)?e.type===da?(0,a.cloneElement)(e,{key:"label-implicit",viewBox:t}):s().createElement(da,{key:"label-implicit",content:e,viewBox:t}):g()(e)?s().createElement(da,{key:"label-implicit",content:e,viewBox:t}):L()(e)?s().createElement(da,ca({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[l].concat(na(o))};var pa=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},ha=r(91294),ma=r.n(ha),ya=r(78781),ga=r.n(ya),va=function(e){return null};va.displayName="Cell";var ba=r(70660),_a=r.n(ba);function xa(e){return xa="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},xa(e)}var wa=["valueAccessor"],Oa=["data","dataKey","clockWise","id","textBreakAll"];function ja(e){return function(e){if(Array.isArray(e))return Sa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Sa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ma(){return Ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ma.apply(this,arguments)}function ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Pa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(r),!0).forEach(function(t){Ta(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ta(e,t,r){var n;return n=function(e,t){if("object"!=xa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=xa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==xa(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ca=function(e){return Array.isArray(e.value)?_a()(e.value):e.value};function La(e){var t=e.valueAccessor,r=void 0===t?Ca:t,n=Ea(e,wa),i=n.data,o=n.dataKey,a=n.clockWise,l=n.id,c=n.textBreakAll,u=Ea(n,Oa);return i&&i.length?s().createElement(Pe,{className:"recharts-label-list"},i.map(function(e,t){var n=m()(o)?r(e,t):io(e&&e.payload,o),i=m()(l)?{}:{id:"".concat(l,"-").concat(t)};return s().createElement(da,Ma({},ge(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:c,viewBox:da.parseViewBox(m()(a)?e:Pa(Pa({},e),{},{clockWise:a}
153)),key:"label-".concat(t),index:t}))})):null}La.displayName="LabelList",La.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=fe(e.children,La).map(function(e,r){return(0,a.cloneElement)(e,{data:t,key:"labelList-".concat(r)})});return r?[function(e,t){return e?!0===e?s().createElement(La,{key:"labelList-implicit",data:t}):s().isValidElement(e)||g()(e)?s().createElement(La,{key:"labelList-implicit",data:t,content:e}):L()(e)?s().createElement(La,Ma({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(ja(n)):n};var Aa=r(41493),Da=r.n(Aa),Ia=r(26738),Na=r.n(Ia);function Ra(e){return Ra="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},Ra(e)}function za(){return za=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},za.apply(this,arguments)}function Fa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ba(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ba(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ba(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ya(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ya(Object(r),!0).forEach(function(t){Ha(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ya(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ha(e,t,r){var n;return n=function(e,t){if("object"!=Ra(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ra(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Ra(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $a=function(e,t,r,n,i){var o,a=r-n;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+r,",").concat(t),o+="L ".concat(e+r-a/2,",").concat(t+i),o+="L ".concat(e+r-a/2-n,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},Wa={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Va=function(e){var t=Ua(Ua({},Wa),e),r=(0,a.useRef)(),n=Fa((0,a.useState)(-1),2),i=n[0],o=n[1];(0,a.useEffect)(function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}},[]);var l=t.x,c=t.y,u=t.upperWidth,d=t.lowerWidth,f=t.height,p=t.className,h=t.animationEasing,m=t.animationDuration,y=t.animationBegin,g=t.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||d!==+d||f!==+f||0===u&&0===d||0===f)return null;var v=(0,M.default)("recharts-trapezoid",p);return g?s().createElement(rn,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:f,x:l,y:c},to:{upperWidth:u,lowerWidth:d,height:f,x:l,y:c},duration:m,animationEasing:h,isActive:g},function(e){var n=e.upperWidth,o=e.lowerWidth,a=e.height,l=e.x,c=e.y;return s().createElement(rn,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:y,duration:m,easing:h},s().createElement("path",za({},ge(t,!0),{className:v,d:$a(l,c,n,o,a),ref:r})))}):s().createElement("g",null,s().createElement("path",za({},ge(t,!0),{className:v,d:$a(l,c,u,d,f)})))};function qa(e){return qa="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},qa(e)}function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
153for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ga.apply(this,arguments)}function Za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Xa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(r),!0).forEach(function(t){Ja(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Za(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ja(e,t,r){var n;return n=function(e,t){if("object"!=qa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=qa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==qa(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ka=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,s=e.cornerRadius,l=e.cornerIsExternal,c=s*(a?1:-1)+n,u=Math.asin(s/c)/Zo,d=l?i:i+o*u,f=l?i-o*u:i;return{center:Jo(t,r,c,d),circleTangency:Jo(t,r,n,d),lineTangency:Jo(t,r,c*Math.cos(u*Zo),f),theta:u}},Qa=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return z(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),s=o+a,l=Jo(t,r,i,o),c=Jo(t,r,i,s),u="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n ").concat(c.x,",").concat(c.y,"\n ");if(n>0){var d=Jo(t,r,n,o),f=Jo(t,r,n,s);u+="L ".concat(f.x,",").concat(f.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(r," Z");return u},es={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},ts=function(e){var t=Xa(Xa({},es),e),r=t.cx,n=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,l=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,d=t.endAngle,f=t.className;if(o<i||u===d)return null;var p,h=(0,M.default)("recharts-sector",f),m=o-i,y=$(a,m,0,!0);return p=y>0&&Math.abs(u-d)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,l=e.startAngle,c=e.endAngle,u=z(c-l),d=Ka({cx:t,cy:r,radius:i,angle:l,sign:u,cornerRadius:o,cornerIsExternal:s}),f=d.circleTangency,p=d.lineTangency,h=d.theta,m=Ka({cx:t,cy:r,radius:i,angle:c,sign:-u,cornerRadius:o,cornerIsExternal:s}),y=m.circleTangency,g=m.lineTangency,v=m.theta,b=s?Math.abs(l-c):Math.abs(l-c)-h-v;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):Qa({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:c});var _="M ".concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=Ka({cx:t,cy:r,radius:n,angle:l,sign:u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),w=x.circleTangency,O=x.lineTangency,j=x.theta,S=Ka({cx:t,cy:r,radius:n,angle:c,sign:-u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),M=S.circleTangency,k=S.lineTangency,P=S.theta,T=s?Math.abs(l-c):Math.abs(l-c)-j-P;if(T<0&&0===o)return"".concat(_,"L").concat(t,",").concat(r,"Z");_+="L".concat(k.x,",").concat(k.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(M.x,",").concat(M.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(u>0),",").concat(w.x,",").concat(w.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(O.x,",").concat(O.y,"Z")}else _+="L".concat(t,",").concat(r,"Z");return _}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,m/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:u,endAngle:d}):Qa({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:d}),s().createElement("path",Ga({},ge(t,!0),{className:h,d:p,role:"img"}))},rs=["option","shapeType","propTransformer","activeClassName","isActive"];function ns(e){return ns="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},ns(e)}function is(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function as(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?os(Object(r),!0).forEach(function(t){ss(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ss(e,t,r){var n;return n=function(e,t){if("object"!=ns(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ns(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ns(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e,t){return as(as({},t),e)}function cs(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return s().createElement(hn,r);case"trapezoid":return s().createElement(Va,r);case"sector":return s().createElement(ts,r);case"symbols":if(function(e){return"symbols"===e}(t))return s().createElement(Et,r);break;default:return null}}function us(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?ls:i,l=e.activeClassName,c=void 0===l?"recharts-active-shape":l,u=e.isActive,d=is(e,rs);if((0,a.isValidElement)(r))t=(0,a.cloneElement)(r,as(as({},d),function(e){return(0,a.isValidElement)(e)?e.props:e}(r)));else if(g()(r))t=r(d);else if(Da()(r)&&!Na()(r)){var f=o(r,d);t=s().createElement(cs,{shapeType:n,elementProps:f})}else{var p=d;t=s().createElement(cs,{shapeType:n,elementProps:p})}return u?s().createElement(Pe,{className:c},t):t}function ds(e,t){return null!=t&&"trapezoids"in e.props}function fs(e,t){return null!=t&&"sectors"in e.props}function ps(e,t){return null!=t&&"points"in e.props}function hs(e,t){var r,n,i=e.x===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.x)||e.x===t.x,o=e.y===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.y)||e.y===t.y;return i&&o}function ms(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function ys(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function gs(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return ds(e,t)?r="trapezoids":fs(e,t)?r="sectors":ps(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return ds(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:fs(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:ps(e,t)?t.payload:{}}(r,t),a=n.filter(function(e,n){var a=ai()(o,e),s=r.props[i].filter(function(e){var n=function(e,t){var r;return ds(e,t)?r=hs:fs(e,t)?r=ms:ps(e,t)&&(r=ys),r}(r,t);return n(e,t)}),l=r.props[i].indexOf(s[s.length-1]);return a&&n===l});return n.indexOf(a[a.length-1])}var vs=["x","y"];function bs(e){return bs="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},bs(e)}function _s(){return _s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_s.apply(this,arguments)}function xs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ws(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xs(Object(r),!0).forEach(function(t){Os(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xs(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Os(e,t,r){var n;return n=function(e,t){if("object"!=bs(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=bs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==bs(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ss(e,t){var r=e.x,n=e.y,i=js(e,vs),o="".concat(r),a=parseInt(o,10),s="".concat(n),l=parseInt(s,10),c="".concat(t.height||i.height),u=parseInt(c,10),d="".concat(t.width||i.width),f=parseInt(d,10);return ws(ws(ws(ws(ws({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:f,name:t.name,radius:t.radius})}function Ms(e){return s().createElement(us,_s({shapeType:"rectangle",propTransformer:Ss,activeClassName:"recharts-active-bar"},e))}var ks,Ps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var i=B(r)||function(e){return m()(e)}(r);return i?e(r,n):(i||P(!1),t)}},Ts=["value","background"];function Es(e){return Es="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},Es(e)}function Cs(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
153for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ls.apply(this,arguments)}function As(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?As(Object(r),!0).forEach(function(t){Bs(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):As(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Is(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ys(n.key),n)}}function Ns(e,t,r){return t=zs(t),function(e,t){if(t&&("object"===Es(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Rs()?Reflect.construct(t,r||[],zs(e).constructor):t.apply(e,r))}function Rs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rs=function(){return!!e})()}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zs(e)}function Fs(e,t){return Fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fs(e,t)}function Bs(e,t,r){return(t=Ys(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){var t=function(e,t){if("object"!=Es(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Es(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Es(t)?t:t+""}var Us=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Bs(e=Ns(this,t,[].concat(n)),"state",{isAnimationFinished:!1}),Bs(e,"id",H("recharts-bar-")),Bs(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()}),Bs(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fs(e,t)}(t,e),r=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],(n=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,l=ge(this.props,!1);return e&&e.map(function(e,r){var c=r===o,u=c?a:n,d=Ds(Ds(Ds({},l),e),{},{isActive:c,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return s().createElement(Pe,Ls({className:"recharts-bar-rectangle"},re(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(r)}),s().createElement(Ms,d))})}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,l=t.animationEasing,c=t.animationId,u=this.state.prevData;return s().createElement(rn,{begin:o,duration:a,isActive:i,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var i=t.t,o=r.map(function(e,t){var r=u&&u[t];if(r){var o=V(r.x,e.x),a=V(r.y,e.y),s=V(r.width,e.width),l=V(r.height,e.height);return Ds(Ds({},e),{},{x:o(i),y:a(i),width:s(i),height:l(i)})}if("horizontal"===n){var c=V(0,e.height)(i);return Ds(Ds({},e),{},{y:e.y+e.height-c,height:c})}var d=V(0,e.width)(i);return Ds(Ds({},e),{},{width:d})});return s().createElement(Pe,null,e.renderRectanglesStatically(o))})}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&ai()(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}}
153,{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,n=t.dataKey,i=t.activeIndex,o=ge(this.props.background,!1);return r.map(function(t,r){t.value;var a=t.background,l=Cs(t,Ts);if(!a)return null;var c=Ds(Ds(Ds(Ds(Ds({},l),{},{fill:"#eee"},a),o),re(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return s().createElement(Ms,Ls({key:"background-bar-".concat(r),option:e.props.background,isActive:r===i},c))})}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,l=fe(r.children,Vi);if(!l)return null;var c="vertical"===a?n[0].height/2:n[0].width/2,u=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:io(e,t)}},d={clipPath:e?"url(#clipPath-".concat(t,")"):null};return s().createElement(Pe,d,l.map(function(e){return s().cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:c,dataPointFormatter:u})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,o=e.yAxis,a=e.left,l=e.top,c=e.width,u=e.height,d=e.isAnimationActive,f=e.background,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,y=(0,M.default)("recharts-bar",n),g=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,b=g||v,_=m()(p)?this.id:p;return s().createElement(Pe,{className:y},g||v?s().createElement("defs",null,s().createElement("clipPath",{id:"clipPath-".concat(_)},s().createElement("rect",{x:g?a:a-c/2,y:v?l:l-u/2,width:g?c:2*c,height:v?u:2*u}))):null,s().createElement(Pe,{className:"recharts-bar-rectangles",clipPath:b?"url(#clipPath-".concat(_,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(b,_),(!d||h)&&La.renderCallByParent(this.props,r))}}])&&Is(r.prototype,n),i&&Is(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.PureComponent);function Hs(e){return Hs="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},Hs(e)}function $s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Gs(n.key),n)}}function Ws(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ws(Object(r),!0).forEach(function(t){qs(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ws(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qs(e,t,r){return(t=Gs(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e){var t=function(e,t){if("object"!=Hs(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Hs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hs(t)?t:t+""}ks=Us,Bs(Us,"displayName","Bar"),Bs(Us,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!tt.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Bs(Us,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,s=e.xAxisTicks,l=e.yAxisTicks,c=e.stackedData,u=e.dataStartIndex,d=e.displayedData,f=e.offset,p=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!p)return null;var h=t.layout,m=r.type.defaultProps,y=void 0!==m?Ds(Ds({},m),r.props):r.props,g=y.dataKey,v=y.children,b=y.minPointSize,_="horizontal"===h?a:o,x=c?_.scale.domain():null,w=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:_}),O=fe(v,va),j=d.map(function(e,t){var n,d,f,m,y,v;c?n=function(e,t){if(!t||2!==t.length||!B(t[0])||!B(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!B(e[0])||e[0]<r)&&(i[0]=r),(!B(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(c[u+t],x):(n=io(e,g),Array.isArray(n)||(n=[w,n]));var _=Ps(b,ks.defaultProps.minPointSize)(n[1],t);
153if("horizontal"===h){var j,S=[a.scale(n[0]),a.scale(n[1])],M=S[0],k=S[1];d=bo({axis:o,ticks:s,bandSize:i,offset:p.offset,entry:e,index:t}),f=null!==(j=null!=k?k:M)&&void 0!==j?j:void 0,m=p.size;var P=M-k;if(y=Number.isNaN(P)?0:P,v={x:d,y:a.y,width:m,height:a.height},Math.abs(_)>0&&Math.abs(y)<Math.abs(_)){var T=z(y||_)*(Math.abs(_)-Math.abs(y));f-=T,y+=T}}else{var E=[o.scale(n[0]),o.scale(n[1])],C=E[0],L=E[1];if(d=C,f=bo({axis:a,ticks:l,bandSize:i,offset:p.offset,entry:e,index:t}),m=L-C,y=p.size,v={x:o.x,y:f,width:o.width,height:y},Math.abs(_)>0&&Math.abs(m)<Math.abs(_))m+=z(m||_)*(Math.abs(_)-Math.abs(m))}return Ds(Ds(Ds({},e),{},{x:d,y:f,width:m,height:y,value:c?n:n[1],payload:e,background:v},O&&O[t]&&O[t].props),{},{tooltipPayload:[Mo(r,e)],tooltipPosition:{x:d+m/2,y:f+y/2}})});return Ds({data:j,layout:h},f)});var Zs=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},Xs=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}return t=e,r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],n=[{key:"create",value:function(t){return new e(t)}}],r&&$s(t.prototype,r),n&&$s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();qs(Xs,"EPS",1e-4);var Js=function(e){var t=Object.keys(e).reduce(function(t,r){return Vs(Vs({},t),{},qs({},r,Xs.create(e[r])))},{});return Vs(Vs({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return ma()(e,function(e,r){return t[r].apply(e,{bandAware:n,position:i})})},isInRange:function(e){return ga()(e,function(e,r){return t[r].isInRange(e)})}})};function Ks(){return Ks=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ks.apply(this,arguments)}function Qs(e){return Qs="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},Qs(e)}function el(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?el(Object(r),!0).forEach(function(t){sl(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):el(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function rl(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ll(n.key),n)}}function nl(e,t,r){return t=ol(t),function(e,t){if(t&&("object"===Qs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,il()?Reflect.construct(t,r||[],ol(e).constructor):t.apply(e,r))}function il(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(il=function(){return!!e})()}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ol(e)}function al(e,t){return al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},al(e,t)}function sl(e,t,r){return(t=ll(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){var t=function(e,t){if("object"!=Qs(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Qs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Qs(t)?t:t+""}var cl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),nl(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&al(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){var e=this.props,r=e.x,n=e.y,i=e.r,o=e.alwaysShow,a=e.clipPathId,l=Y(r),c=Y(n);if(gt(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!c)return null;var u=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Js({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return pa(e,"discard")&&!o.isInRange(a)?null:a}(this.props);if(!u)return null;var d=u.x,f=u.y,p=this.props,h=p.shape,m=p.className,y=tl(tl({clipPath:pa(this.props,"hidden")?"url(#".concat(a,")"):void 0},ge(this.props,!0)),{},{cx:d,cy:f});return s().createElement(Pe,{className:(0,M.default)("recharts-reference-dot",m)},t.renderDot(h,y),da.renderCallByParent(this.props,{x:d-i,y:f-i,width:2*i,height:2*i}))}}])&&rl(r.prototype,n),i&&rl(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(s().Component);sl(cl,"displayName","ReferenceDot"),sl(cl,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),sl(cl,"renderDot",function(e,t){return s().isValidElement(e)?s().cloneElement(e,t):g()(e)?e
153(t):s().createElement(ir,Ks({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))});var ul=r(88936),dl=r.n(ul),fl=r(84315),pl=r.n(fl),hl=r(38674),ml=r.n(hl)()(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")});var yl=(0,a.createContext)(void 0),gl=(0,a.createContext)(void 0),vl=(0,a.createContext)(void 0),bl=(0,a.createContext)({}),_l=(0,a.createContext)(void 0),xl=(0,a.createContext)(0),wl=(0,a.createContext)(0),Ol=function(e){var t=e.state,r=t.xAxisMap,n=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,l=e.width,c=e.height,u=ml(i);return s().createElement(yl.Provider,{value:r},s().createElement(gl.Provider,{value:n},s().createElement(bl.Provider,{value:i},s().createElement(vl.Provider,{value:u},s().createElement(_l.Provider,{value:o},s().createElement(xl.Provider,{value:c},s().createElement(wl.Provider,{value:l},a)))))))};var jl=function(e){var t=(0,a.useContext)(yl);null==t&&P(!1);var r=t[e];return null==r&&P(!1),r},Sl=function(e){var t=(0,a.useContext)(gl);null==t&&P(!1);var r=t[e];return null==r&&P(!1),r},Ml=function(){return(0,a.useContext)(wl)},kl=function(){return(0,a.useContext)(xl)};function Pl(e){return Pl="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},Pl(e)}function Tl(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rl(n.key),n)}}function El(e,t,r){return t=Ll(t),function(e,t){if(t&&("object"===Pl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cl()?Reflect.construct(t,r||[],Ll(e).constructor):t.apply(e,r))}function Cl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cl=function(){return!!e})()}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ll(e)}function Al(e,t){return Al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Al(e,t)}function Dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Il(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dl(Object(r),!0).forEach(function(t){Nl(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dl(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Nl(e,t,r){return(t=Rl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){var t=function(e,t){if("object"!=Pl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Pl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pl(t)?t:t+""}function zl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Fl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fl(e,t)}
153(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Bl(){return Bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bl.apply(this,arguments)}function Yl(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,o=e.yAxisId,l=e.shape,c=e.className,u=e.alwaysShow,d=(0,a.useContext)(_l),f=jl(i),p=Sl(o),h=(0,a.useContext)(vl);if(!d||!h)return null;gt(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=function(e,t,r,n,i,o,a,s,l){var c=i.x,u=i.y,d=i.width,f=i.height;if(r){var p=l.y,h=e.y.apply(p,{position:o});if(pa(l,"discard")&&!e.y.isInRange(h))return null;var m=[{x:c+d,y:h},{x:c,y:h}];return"left"===s?m.reverse():m}if(t){var y=l.x,g=e.x.apply(y,{position:o});if(pa(l,"discard")&&!e.x.isInRange(g))return null;var v=[{x:g,y:u+f},{x:g,y:u}];return"top"===a?v.reverse():v}if(n){var b=l.segment.map(function(t){return e.apply(t,{position:o})});return pa(l,"discard")&&dl()(b,function(t){return!e.isInRange(t)})?null:b}return null}(Js({x:f.scale,y:p.scale}),Y(t),Y(r),n&&2===n.length,h,e.position,f.orientation,p.orientation,e);if(!m)return null;var y=zl(m,2),v=y[0],b=v.x,_=v.y,x=y[1],w=x.x,O=x.y,j=Il(Il({clipPath:pa(e,"hidden")?"url(#".concat(d,")"):void 0},ge(e,!0)),{},{x1:b,y1:_,x2:w,y2:O});return s().createElement(Pe,{className:(0,M.default)("recharts-reference-line",c)},function(e,t){return s().isValidElement(e)?s().cloneElement(e,t):g()(e)?e(t):s().createElement("line",Bl({},t,{className:"recharts-reference-line-line"}))}(l,j),da.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Zs({x:t,y:r},{x:n,y:i})}({x1:b,y1:_,x2:w,y2:O})))}var Ul=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),El(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Al(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){return s().createElement(Yl,this.props)}}])&&Tl(r.prototype,n),i&&Tl(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(s().Component);function Hl(){return Hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hl.apply(this,arguments)}function $l(e){return $l="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},$l(e)}function Wl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wl(Object(r),!0).forEach(function(t){Kl(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wl(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ql(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ql(n.key),n)}}function Gl(e,t,r){return t=Xl(t),function(e,t){if(t&&("object"===$l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zl()?Reflect.construct(t,r||[],Xl(e).constructor):t.apply(e,r))}function Zl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zl=function(){return!!e})()}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xl(e)}function Jl(e,t){return Jl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jl(e,t)}function Kl(e,t,r){return(t=Ql(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){var t=function(e,t){if("object"!=$l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$l(t)?t:t+""}Nl(Ul,"displayName","ReferenceLine"),Nl(Ul,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var ec=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Gl(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jl(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){var e=this.props,r=e.x1,n=e.x2,i=e.y1,o=e.y2,a=e.className,l=e.alwaysShow,c=e.clipPathId;gt(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var u=Y(r),d=Y(n),f=Y(i),p=Y(o),h=this.props.shape;if(!(u||d||f||p||h))return null;var m=function(e,t,r,n,i){var o=i.x1,a=i.x2,s=i.y1,l=i.y2,c=i.xAxis,u=i.yAxis;if(!c||!u)return null;var d=Js({x:c.scale,y:u.scale}),f={x:e?d.x.apply(o,{position:"start"}):d.x.rangeMin,y:r?d.y.apply(s,{position:"start"}):d.y.rangeMin},p={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:n?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!pa(i,"discard")||d.isInRange(f)&&d.isInRange(p)?Zs(f,p):null}(u,d,f,p,this.props);if(!m&&!h)return null;var y=pa(this.props,"hidden")?"url(#".concat(c,")"):void 0;return s().createElement(Pe,{className:(0,M.default)("recharts-reference-area",a)},t.renderRect(h,Vl(Vl({clipPath:y},ge(this.props,!0)),m)),da.renderCallByParent(this.props,m))}}])&&ql(r.prototype,n),i&&ql(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(s().Component);function tc(e){return function(e){if(Array.isArray(e))return rc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return rc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Kl(ec,"displayName","ReferenceArea"),Kl(ec,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),Kl(ec,"renderRect",function(e,t){return s().isValidElement(e)?s().cloneElement(e,t):g()(e)?e
153(t):s().createElement(hn,Hl({},t,{className:"recharts-reference-area-rect"}))});var nc=function(e,t,r,n,i){var o=fe(e,Ul),a=fe(e,cl),s=[].concat(tc(o),tc(a)),l=fe(e,ec),c="".concat(n,"Id"),u=n[0],d=t;if(s.length&&(d=s.reduce(function(e,t){if(t.props[c]===r&&pa(t.props,"extendDomain")&&B(t.props[u])){var n=t.props[u];return[Math.min(e[0],n),Math.max(e[1],n)]}return e},d)),l.length){var f="".concat(u,"1"),p="".concat(u,"2");d=l.reduce(function(e,t){if(t.props[c]===r&&pa(t.props,"extendDomain")&&B(t.props[f])&&B(t.props[p])){var n=t.props[f],i=t.props[p];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e},d)}return i&&i.length&&(d=i.reduce(function(e,t){return B(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},d)),d},ic=r(85182),oc=new(r.n(ic)()),ac="recharts.syncMouseEvents";function sc(e){return sc="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},sc(e)}function lc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,uc(n.key),n)}}function cc(e,t,r){return(t=uc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){var t=function(e,t){if("object"!=sc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sc(t)?t:t+""}var dc=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),cc(this,"activeIndex",0),cc(this,"coordinateList",[]),cc(this,"layout","horizontal")},(t=[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,i=e.container,o=void 0===i?null:i,a=e.layout,s=void 0===a?null:a,l=e.offset,c=void 0===l?null:l,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!=n?n:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=c?c:this.offset,this.mouseHandlerCallback=null!=d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=n+a+s,u=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:c,pageY:u})}}}])&&lc(e.prototype,t),r&&lc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function fc(e){return fc="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},fc(e)}function pc(){return pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pc.apply(this,arguments)}function hc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function mc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?hc(Object(r),!0).forEach(function(t){yc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function yc(e,t,r){var n;return n=function(e,t){if("object"!=fc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==fc(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gc={curveBasisClosed:_t.curveBasisClosed,curveBasisOpen:_t.curveBasisOpen,curveBasis:_t.curveBasis,curveBumpX:_t.curveBumpX,curveBumpY:_t.curveBumpY,curveLinearClosed:_t.curveLinearClosed,curveLinear:_t.curveLinear,curveMonotoneX:_t.curveMonotoneX,curveMonotoneY:_t.curveMonotoneY,curveNatural:_t.curveNatural,curveStep:_t.curveStep,curveStepAfter:_t.curveStepAfter,curveStepBefore:_t.curveStepBefore},vc=function(e){return e.x===+e.x&&e.y===+e.y},bc=function(e){return e.x},_c=function(e){return e.y},xc=function(e){var t,r=e.type,n=void 0===r?"linear":r,i=e.points,o=void 0===i?[]:i,a=e.baseLine,s=e.layout,l=e.connectNulls,c=void 0!==l&&l,u=function(e,t){if(g()(e))return e;var r="curve".concat(bt()(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?gc[r]||_t.curveLinear:gc["".concat(r).concat("vertical"===t?"Y":"X")]}(n,s),d=c?o.filter(function(e){return vc(e)}):o;if(Array.isArray(a)){var f=c?a.filter(function(e){return vc(e)}):a,p=d.map(function(e,t){return mc(mc({},e),{},{base:f[t]})});return(t="vertical"===s?(0,_t.area)().y(_c).x1(bc).x0(function(e){return e.base.x}):(0,_t.area)().x(bc).y1(_c).y0(function(e){return e.base.y})).defined(vc).curve(u),t(p)}return(t="vertical"===s&&B(a)?(0,_t.area)().y(_c).x1(bc).x0(a):B(a)?(0,_t.area)().x(bc).y1(_c).y0(a):(0,_t.line)().x(bc).y(_c)).defined(vc).curve(u),t(d)},wc=function(e){var t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?xc(e):n;return a.createElement("path",pc({},ge(e,!1),te(e),{className:(0,M.default)("recharts-curve",t),d:o,ref:i}))};function Oc(e){return Oc="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},Oc(e)}var jc=["x","y","top","left","width","height","className"];function Sc(){return Sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sc.apply(this,arguments)}function Mc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function kc(e,t,r){var n;return n=function(e,t){if("object"!=Oc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Oc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Oc(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Tc=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},Ec=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.top,a=void 0===o?0:o,l=e.left,c=void 0===l?0:l,u=e.width,d=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
153t%2?Mc(Object(r),!0).forEach(function(t){kc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({x:r,y:i,top:a,left:c,width:d,height:p},Pc(e,jc));return B(r)&&B(i)&&B(d)&&B(p)&&B(a)&&B(c)?s().createElement("path",Sc({},ge(m,!0),{className:(0,M.default)("recharts-cross",h),d:Tc(r,i,d,p,a,c)})):null};function Cc(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[Jo(t,r,n,i),Jo(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function Lc(e,t,r){var n,i,o,a;if("horizontal"===e)o=n=t.x,i=r.top,a=r.top+r.height;else if("vertical"===e)a=i=t.y,n=r.left,o=r.left+r.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return Cc(t);var s=t.cx,l=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=Jo(s,l,c,d),p=Jo(s,l,u,d);n=f.x,i=f.y,o=p.x,a=p.y}return[{x:n,y:i},{x:o,y:a}]}function Ac(e){return Ac="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},Ac(e)}function Dc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ic(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dc(Object(r),!0).forEach(function(t){Nc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Nc(e,t,r){var n;return n=function(e,t){if("object"!=Ac(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ac(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Ac(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){var t,r,n,i=e.element,o=e.tooltipEventType,s=e.isActive,l=e.activeCoordinate,c=e.activePayload,u=e.offset,d=e.activeTooltipIndex,f=e.tooltipAxisBandSize,p=e.layout,h=e.chartName,m=null!==(t=i.props.cursor)&&void 0!==t?t:null===(r=i.type.defaultProps)||void 0===r?void 0:r.cursor;if(!i||!m||!s||!l||"ScatterChart"!==h&&"axis"!==o)return null;var y=wc;if("ScatterChart"===h)n=l,y=Ec;else if("BarChart"===h)n=function(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:t.y-i,width:"horizontal"===e?n:r.width-1,height:"horizontal"===e?r.height-1:n}}(p,l,u,f),y=hn;else if("radial"===p){var g=Cc(l),v=g.cx,b=g.cy,_=g.radius;n={cx:v,cy:b,startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:_,outerRadius:_},y=ts}else n={points:Lc(p,l,u)},y=wc;var x=Ic(Ic(Ic(Ic({stroke:"#ccc",pointerEvents:"none"},u),n),ge(m,!1)),{},{payload:c,payloadIndex:d,className:(0,M.default)("recharts-tooltip-cursor",m.className)});return(0,a.isValidElement)(m)?(0,a.cloneElement)(m,x):(0,a.createElement)(y,x)}var zc=["item"],Fc=["children","className","width","height","style","compact","title","desc"];function Bc(e){return Bc="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},Bc(e)}function Yc(){return Yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yc.apply(this,arguments)}function Uc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
153finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Xc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hc(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function $c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tu(n.key),n)}}function Wc(e,t,r){return t=qc(t),function(e,t){if(t&&("object"===Bc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vc()?Reflect.construct(t,r||[],qc(e).constructor):t.apply(e,r))}function Vc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vc=function(){return!!e})()}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qc(e)}function Gc(e,t){return Gc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gc(e,t)}function Zc(e){return function(e){if(Array.isArray(e))return Jc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xc(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xc(e,t){if(e){if("string"==typeof e)return Jc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jc(e,t):void 0}}function Jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Kc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kc(Object(r),!0).forEach(function(t){eu(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eu(e,t,r){return(t=tu(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){var t=function(e,t){if("object"!=Bc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Bc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bc(t)?t:t+""}var ru={xAxis:["bottom","top"],yAxis:["left","right"]},nu={width:"100%",height:"100%"},iu={x:0,y:0};function ou(e){return e}var au=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,i=t.dataEndIndex,o=(null!=r?r:[]).reduce(function(e,t){var r=t.props.data;return r&&r.length?[].concat(Zc(e),Zc(r)):e},[]);return o.length>0?o:e&&e.length&&B(n)&&B(i)?e.slice(n,i+1):[]};function su(e){return"number"===e?[0,"auto"]:void 0}var lu=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=au(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,s){var l,c,u=null!==(l=s.props.data)&&void 0!==l?l:t;(u&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=r&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?c=q(void 0===u?a:u,o.dataKey,n):c=u&&u[r]||a[r];return c?[].concat(Zc(i),[Mo(s,c)]):i},[])},cu=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radiu
153s}(i,r),a=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,c=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,l=0;l<a;l++){var c=l>0?n[l-1].coordinate:n[a-1].coordinate,u=n[l].coordinate,d=l>=a-1?n[0].coordinate:n[l+1].coordinate,f=void 0;if(z(u-c)!==z(d-u)){var p=[];if(z(d-u)===z(s[1]-s[0])){f=d;var h=u+s[1]-s[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var m=d+s[1]-s[0];p[0]=Math.min(u,(m+u)/2),p[1]=Math.max(u,(m+u)/2)}var y=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>y[0]&&e<=y[1]||e>=p[0]&&e<=p[1]){o=n[l].index;break}}else{var g=Math.min(c,d),v=Math.max(c,d);if(e>(g+u)/2&&e<=(v+u)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,s);if(c>=0&&l){var u=l[c]&&l[c].value,d=lu(e,t,c,u),f=function(e,t,r,n){var i=t.find(function(e){return e&&e.index===r});if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return Qc(Qc(Qc({},n),Jo(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,l=n.angle;return Qc(Qc(Qc({},n),Jo(n.cx,n.cy,s,l)),{},{angle:l,radius:s})}return iu}(r,a,c,i);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},uu=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=co(c,i);return r.reduce(function(t,r){var p,h=void 0!==r.type.defaultProps?Qc(Qc({},r.type.defaultProps),r.props):r.props,y=h.type,g=h.dataKey,v=h.allowDataOverflow,_=h.allowDuplicatedCategory,x=h.scale,w=h.ticks,O=h.includeHidden,j=h[o];if(t[j])return t;var S,M,k,P=au(e.data,{graphicalItems:n.filter(function(e){var t;return(o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o])===j}),dataStartIndex:s,dataEndIndex:l}),T=P.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],i=null==e?void 0:e[1];if(n&&i&&B(n)&&B(i))return!0}return!1})(h.domain,v,y)&&(S=Oo(h.domain,null,v),!f||"number"!==y&&"auto"===x||(k=oo(P,g,"category")));var E=su(y);if(!S||0===S.length){var C,L=null!==(C=h.domain)&&void 0!==C?C:E;if(g){if(S=oo(P,g,y),"category"===y&&f){var A=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(S);_&&A?(M=S,S=b()(0,T)):_||(S=So(L,S,r).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(Zc(e),[t])},[]))}else if("category"===y)S=_?S.filter(function(e){return""!==e&&!m()(e)}):So(L,S,r).reduce(function(e,t){return e.indexOf(t)>=0||""===t||m()(t)?e:[].concat(Zc(e),[t])},[]);else if("number"===y){var D=function(e,t,r,n,i){var o=t.map(function(t){return so(e,t,r,i,n)}).filter(function(e){return!m()(e)});return o&&o.length?o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null}(P,n.filter(function(e){var t,r,n=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(r=e.type.defaultProps)||void 0===r?void 0:r.hide;return n===j&&(O||!i)}),g,i,c);D&&(S=D)}!f||"number"!==y&&"auto"===x||(k=oo(P,g,"category"))}else S=f?b()(0,T):a&&a[j]&&a[j].hasStack&&"number"===y?"expand"===d?[0,1]:_o(a[j].stackGroups,s,l):lo(P,n.filter(function(e){var t=o in e.props?e.props[o]:e.type.defaultProps[o],r="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===j&&(O||!r)}),y,c,!0);if("number"===y)S=nc(u,S,j,i,w),L&&(S=Oo(L,S,v));else if("category"===y&&L){var I=L;S.every(function(e){return I.indexOf(e)>=0})&&(S=I)}}return Qc(Qc({},t),{},eu({},j,Qc(Qc({},h),{},{axisType:i,domain:S,categoricalDomain:k,duplicateDomain:M,originalDomain:null!==(p=h.domain)&&void 0!==p?p:E,isCategorical:f,layout:c})))},{})},du=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.children,u="".concat(n,"Id"),d=fe(c,i),f={};return d&&d.length?f=uu(e,{axes:d,graphicalItems:o,axisType:n,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):o&&o.length&&(f=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=au(e.data,{graphicalItems:r,dataStartIndex:s,dataEndIndex:l}),f=d.length,p=co(c,i),h=-1;return r.reduce(function(e,t){var m,y=(void 0!==t.type.defaultProps?Qc(Qc({},t.type.defaultProps),t.props):t.props)[o],g=su("number");return e[y]?e:(h++,p?m=b()(0,f):a&&a[y]&&a[y].hasStack?(m=_o(a[y].stackGroups,s,l),m=nc(u,m,y,i)):(m=Oo(g,lo(d,r.filter(function(e){var t,r,n=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(r=e.type.defaultProps)||void 0===r?void 0:r.hide;return n===y&&!i}),"number",c),n.defaultProps.allowDataOverflow),m=nc(u,m,y,i)),Qc(Qc({},e),{},eu({},y,Qc(Qc({axisType:i},n.defaultProps),{},{hide:!0,orientation:x()(ru,"".concat(i,".").concat(h%2),null),domain:m,originalDomain:g,isCategorical:p,layout:c}))))},{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),f},fu=function(e){var t=e.children,r=e.defaultShowTooltip,n=pe(t,$o),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},pu=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},hu=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,s=r.width,l=r.height,c=r.children,u=r.margin||{},d=pe(c,$o),f=pe(c,rr),p=Object.keys(a).reduce(function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:Qc(Qc({},e),{},eu({},n,e[n]+r.width))},{left:u.left||0,right:u.right||0}),h=Object.keys(i).reduce(function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:Qc(Qc({},e),{},eu({},n,x()(e,"".concat(n))+r.height))},{top:u.top||0,bottom:u.bottom||0}),m=Qc(Qc({},h),p),y=m.bottom;d&&(m.bottom+=d.props.height||$o.defaultProps.height),f&&t&&(m=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,s=o-(a.left||0)-(a.right||0),l=Ji({children:i,legendWidth:s});if(l){var c=n||{},u=c.width,d=c.height,f=l.align,p=l.verticalAlign,h=l.layout;if(("vertical"===h||"horizontal"===h&&"middle"===p)&&"center"!==f&&B(e[f]))return ro(ro({},e),{},no({},f,e[f]+(u||0)));if(("horizontal"===h||"vertical"===h&&"center"===f)&&"middle"!==p&&B(e[p]))return ro(ro({},e),{},no({},p,e[p]+(d||0)))}return e}(m,0,r,t));var g=s-m.left-m.right,v=l-m.top-m.bottom;return Qc(Qc({brushBottom:y},m),{},{width:Math.max(g,0),height:Math.max(v,0)})},mu=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},yu=["type","layout","connectNulls","ref"],gu=["key"];function vu(e){return vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vu(e)}function bu(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function _u(){return _u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
153for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_u.apply(this,arguments)}function xu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function wu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(r),!0).forEach(function(t){Eu(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xu(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ou(e){return function(e){if(Array.isArray(e))return ju(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ju(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ju(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ju(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Su(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Cu(n.key),n)}}function Mu(e,t,r){return t=Pu(t),function(e,t){if(t&&("object"===vu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ku()?Reflect.construct(t,r||[],Pu(e).constructor):t.apply(e,r))}function ku(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ku=function(){return!!e})()}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pu(e)}function Tu(e,t){return Tu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tu(e,t)}function Eu(e,t,r){return(t=Cu(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){var t=function(e,t){if("object"!=vu(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vu(t)?t:t+""}var Lu=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Eu(e=Mu(this,t,[].concat(n)),"state",{isAnimationFinished:!0,totalLength:0}),Eu(e,"generateSimpleStrokeDasharray",function(e,t){return"".concat(t,"px ").concat(e-t,"px")}),Eu(e,"getStrokeDasharray",function(r,n,i){var o=i.reduce(function(e,t){return e+t});if(!o)return e.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),s=r%o,l=n-r,c=[],u=0,d=0;u<i.length;d+=i[u],++u)if(d+i[u]>s){c=[].concat(Ou(i.slice(0,u)),[s-d]);break}var f=c.length%2==0?[0,l]:[l];return[].concat(Ou(t.repeat(i,a)),Ou(c),f).map(function(e){return"".concat(e,"px")}).join(", ")}),Eu(e,"id",H("recharts-line-")),Eu(e,"pathRef",function(t){e.mainCurve=t}),Eu(e,"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),Eu(e,"handleAnimationStart",function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tu(e,t)}(t,e),r=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(Ou(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(Ou(n),Ou(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(s().isValidElement(e))r=s().cloneElement(e,t);else if(g()(e))r=e(t);else{var n=t.key,i=bu(t,gu),o=(0,M.default)("recharts-line-dot","boolean"!=typeof e?e.className:"");r=s().createElement(ir,_u({key:n},i,{className:o}))}return r}}],(n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,l=fe(r.children,Vi);if(!l)return null;var c=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:io(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return s().createElement(Pe,u,l.map(function(e){return s().cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:c})}))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,l=i.dataKey,c=ge(this.props,!1),u=ge(o,!0),d=a.map(function(e,r){var n=wu(wu(wu({key:"dot-".concat(r),r:3},c),u),{},{index:r,cx:e.x,cy:e.y,value:e.value,dataKey:l,payload:e.payload,points:a});return t.renderDotItem(o,n)}),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return s().createElement(Pe,_u({className:"recharts-line-dots",key:"dots"},f),d)}},{key:"renderCurveStatically",value:function(e,t,r,n){var i=this.props,o=i.type,a=i.layout,l=i.connectNulls,c=(i.ref,bu(i,yu)),u=wu(wu(wu({},ge(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},n),{},{type:o,layout:a,connectNulls:l});return s().createElement(wc,_u({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,l=n.animationBegin,c=n.animationDuration,u=n.animationEasing,d=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,m=this.state,y=m.prevPoints,g=m.totalLength;return s().createElement(rn,{begin:l,duration:c,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var a=n.t;if(y){var s=y.length/i.length,l=i.map(function(e,t){var r=Math.floor(t*s);if(y[r]){var n=y[r],i=V(n.x,e.x),o=V(n.y,e.y);return wu(wu({},e),{},{x:i(a),y:o(a)})}if(f){var l=V(2*p,e.x),c=V(h/2,e.y);return wu(wu({},e),{}
153,{x:l(a),y:c(a)})}return wu(wu({},e),{},{x:e.x,y:e.y})});return r.renderCurveStatically(l,e,t)}var c,u=V(0,g)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map(function(e){return parseFloat(e)});c=r.getStrokeDasharray(u,g,d)}else c=r.generateSimpleStrokeDasharray(g,u);return r.renderCurveStatically(i,e,t,{strokeDasharray:c})})}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,s=o.totalLength;return i&&n&&n.length&&(!a&&s>0||!ai()(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.xAxis,l=t.yAxis,c=t.top,u=t.left,d=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var y=this.state.isAnimationFinished,g=1===i.length,v=(0,M.default)("recharts-line",o),b=a&&a.allowDataOverflow,_=l&&l.allowDataOverflow,x=b||_,w=m()(h)?this.id:h,O=null!==(e=ge(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},j=O.r,S=void 0===j?3:j,k=O.strokeWidth,P=void 0===k?2:k,T=(function(e){return e&&"object"===ae(e)&&"clipDot"in e}(n)?n:{}).clipDot,E=void 0===T||T,C=2*S+P;return s().createElement(Pe,{className:v},b||_?s().createElement("defs",null,s().createElement("clipPath",{id:"clipPath-".concat(w)},s().createElement("rect",{x:b?u:u-d/2,y:_?c:c-f/2,width:b?d:2*d,height:_?f:2*f})),!E&&s().createElement("clipPath",{id:"clipPath-dots-".concat(w)},s().createElement("rect",{x:u-C/2,y:c-C/2,width:d+C,height:f+C}))):null,!g&&this.renderCurve(x,w),this.renderErrorBar(x,w),(g||n)&&this.renderDots(x,E,w),(!p||y)&&La.renderCallByParent(this.props,i))}}])&&Su(r.prototype,n),i&&Su(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.PureComponent);function Au(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],i=0;i<e.length;i+=t){if(void 0!==r&&!0!==r(e[i]))return;n.push(e[i])}return n}function Du(e,t,r){return function(e){var t=e.width,r=e.height,n=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/t),a=i>o&&i<Math.PI-o?r/Math.sin(i):t/Math.cos(i);return Math.abs(a)}({width:e.width+t.width,height:e.height+t.height},r)}function Iu(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-i)<=0}function Nu(e){return Nu="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},Nu(e)}function Ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function zu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ru(Object(r),!0).forEach(function(t){Fu(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ru(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Fu(e,t,r){var n;return n=function(e,t){if("object"!=Nu(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Nu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Nu(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e,t,r){var n=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,s=e.orientation,l=e.interval,c=e.tickFormatter,u=e.unit,d=e.angle;if(!i||!i.length||!n)return[];if(B(l)||tt.isSsr)return function(e,t){return Au(e,t+1)}(i,"number"==typeof l&&B(l)?l:0);var f=[],p="top"===s||"bottom"===s?"width":"height",h=u&&"width"===p?On(u,{fontSize:t,letterSpacing:r}):{width:0,height:0},m=function(e,n){var i=g()(c)?c(e.value,n):e.value;return"width"===p?Du(On(i,{fontSize:t,letterSpacing:r}),h,d):On(i,{fontSize:t,letterSpacing:r})[p]},y=i.length>=2?z(i[1].coordinate-i[0].coordinate):1,v=function(e,t,r){var n="width"===r,i=e.x,o=e.y,a=e.width,s=e.he
153ight;return 1===t?{start:n?i:o,end:n?i+a:o+s}:{start:n?i+a:o+s,end:n?i:o}}(o,y,p);return"equidistantPreserveStart"===l?function(e,t,r,n,i){for(var o,a=(n||[]).slice(),s=t.start,l=t.end,c=0,u=1,d=s,f=function(){var t=null==n?void 0:n[c];if(void 0===t)return{v:Au(n,u)};var o,a=c,f=function(){return void 0===o&&(o=r(t,a)),o},p=t.coordinate,h=0===c||Iu(e,p,f,d,l);h||(c=0,d=s,u+=1),h&&(d=p+e*(f()/2+i),c+=u)};u<=a.length;)if(o=f())return o.v;return[]}(y,v,m,i,a):(f="preserveStart"===l||"preserveStartEnd"===l?function(e,t,r,n,i,o){var a=(n||[]).slice(),s=a.length,l=t.start,c=t.end;if(o){var u=n[s-1],d=r(u,s-1),f=e*(u.coordinate+e*d/2-c);a[s-1]=u=zu(zu({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),Iu(e,u.tickCoord,function(){return d},l,c)&&(c=u.tickCoord-e*(d/2+i),a[s-1]=zu(zu({},u),{},{isShow:!0}))}for(var p=o?s-1:s,h=function(t){var n,o=a[t],s=function(){return void 0===n&&(n=r(o,t)),n};if(0===t){var u=e*(o.coordinate-e*s()/2-l);a[t]=o=zu(zu({},o),{},{tickCoord:u<0?o.coordinate-u*e:o.coordinate})}else a[t]=o=zu(zu({},o),{},{tickCoord:o.coordinate});Iu(e,o.tickCoord,s,l,c)&&(l=o.tickCoord+e*(s()/2+i),a[t]=zu(zu({},o),{},{isShow:!0}))},m=0;m<p;m++)h(m);return a}(y,v,m,i,a,"preserveStartEnd"===l):function(e,t,r,n,i){for(var o=(n||[]).slice(),a=o.length,s=t.start,l=t.end,c=function(t){var n,c=o[t],u=function(){return void 0===n&&(n=r(c,t)),n};if(t===a-1){var d=e*(c.coordinate+e*u()/2-l);o[t]=c=zu(zu({},c),{},{tickCoord:d>0?c.coordinate-d*e:c.coordinate})}else o[t]=c=zu(zu({},c),{},{tickCoord:c.coordinate});Iu(e,c.tickCoord,u,s,l)&&(l=c.tickCoord-e*(u()/2+i),o[t]=zu(zu({},c),{},{isShow:!0}))},u=a-1;u>=0;u--)c(u);return o}(y,v,m,i,a),f.filter(function(e){return e.isShow}))}Eu(Lu,"displayName","Line"),Eu(Lu,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!tt.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),Eu(Lu,"getComposedData",function(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,s=e.bandSize,l=e.displayedData,c=e.offset,u=t.layout;return wu({points:l.map(function(e,t){var l=io(e,a);return"horizontal"===u?{x:vo({axis:r,ticks:i,bandSize:s,entry:e,index:t}),y:m()(l)?null:n.scale(l),value:l,payload:e}:{x:m()(l)?null:r.scale(l),y:vo({axis:n,ticks:o,bandSize:s,entry:e,index:t}),value:l,payload:e}}),layout:u},c)});var Yu=["viewBox"],Uu=["viewBox"],Hu=["ticks"];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},$u(e)}function Wu(){return Wu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wu.apply(this,arguments)}function Vu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function qu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(r),!0).forEach(function(t){ed(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vu(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Gu(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Zu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,td(n.key),n)}}function Xu(e,t,r){return t=Ku(t),function(e,t){if(t&&("object"===$u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ju()?Reflect.construct(t,r||[],Ku(e).constructor):t.apply(e,r))}function Ju(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ju=function(){return!!e})()}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ku(e)}function Qu(e,t){return Qu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qu(e,t)}function ed(e,t,r){return(t=td(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function td(e){var t=function(e,t){if("object"!=$u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$u(t)?t:t+""}var rd=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=Xu(this,t,[e])).state={fontSize:"",letterSpacing:""},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qu(e,t)}(t,e),r=t,i=[{key:"renderTickItem",value:function(e,t,r){var n=(0,M.default)(t.className,"recharts-cartesian-axis-tick-value");return s().isValidElement(e)?s().cloneElement(e,qu(qu({},t),{},{className:n}
153)):g()(e)?e(qu(qu({},t),{},{className:n})):s().createElement(Kn,Wu({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=Gu(e,Yu),i=this.props,o=i.viewBox,a=Gu(i,Uu);return!Z(r,o)||!Z(n,a)||!Z(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,s=this.props,l=s.x,c=s.y,u=s.width,d=s.height,f=s.orientation,p=s.tickSize,h=s.mirror,m=s.tickMargin,y=h?-1:1,g=e.tickSize||p,v=B(e.tickCoord)?e.tickCoord:e.coordinate;switch(f){case"top":t=r=e.coordinate,a=(n=(i=c+ +!h*d)-y*g)-y*m,o=v;break;case"left":n=i=e.coordinate,o=(t=(r=l+ +!h*u)-y*g)-y*m,a=v;break;case"right":n=i=e.coordinate,o=(t=(r=l+ +h*u)+y*g)+y*m,a=v;break;default:t=r=e.coordinate,a=(n=(i=c+ +h*d)+y*g)+y*m,o=v}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.orientation,a=e.mirror,l=e.axisLine,c=qu(qu(qu({},ge(this.props,!1)),ge(l,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);c=qu(qu({},c),{},{x1:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var d=+("left"===o&&!a||"right"===o&&a);c=qu(qu({},c),{},{x1:t+d*n,y1:r,x2:t+d*n,y2:r+i})}return s().createElement("line",Wu({},c,{className:(0,M.default)("recharts-cartesian-axis-line",x()(l,"className"))}))}},{key:"renderTicks",value:function(e,r,n){var i=this,o=this.props,a=o.tickLine,l=o.stroke,c=o.tick,u=o.tickFormatter,d=o.unit,f=Bu(qu(qu({},this.props),{},{ticks:e}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),m=ge(this.props,!1),y=ge(c,!1),v=qu(qu({},m),{},{fill:"none"},ge(a,!1)),b=f.map(function(e,r){var n=i.getTickLineCoord(e),o=n.line,b=n.tick,_=qu(qu(qu(qu({textAnchor:p,verticalAnchor:h},m),{},{stroke:"none",fill:l},y),b),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return s().createElement(Pe,Wu({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},re(i.props,e,r)),a&&s().createElement("line",Wu({},v,o,{className:(0,M.default)("recharts-cartesian-axis-tick-line",x()(a,"className"))})),c&&t.renderTickItem(c,_,"".concat(g()(u)?u(e.value,r):e.value).concat(d||"")))});return s().createElement("g",{className:"recharts-cartesian-axis-ticks"},b)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,n=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var l=this.props,c=l.ticks,u=Gu(l,Hu),d=c;return g()(o)&&(d=c&&c.length>0?o(this.props):o(u)),n<=0||i<=0||!d||!d.length?null:s().createElement(Pe,{className:(0,M.default)("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(d,this.state.fontSize,this.state.letterSpacing),da.renderCallByParent(this.props))}}])&&Zu(r.prototype,n),i&&Zu(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.Component);function nd(e){return nd="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},nd(e)}function id(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ud(n.key),n)}}function od(e,t,r){return t=sd(t),function(e,t){if(t&&("object"===nd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ad()?Reflect.construct(t,r||[],sd(e).constructor):t.apply(e,r))}function ad(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ad=function(){return!!e})()}
153function sd(e){return sd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sd(e)}function ld(e,t){return ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ld(e,t)}function cd(e,t,r){return(t=ud(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ud(e){var t=function(e,t){if("object"!=nd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nd(t)?t:t+""}function dd(){return dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dd.apply(this,arguments)}function fd(e){var t=e.xAxisId,r=Ml(),n=kl(),i=jl(t);return null==i?null:a.createElement(rd,dd({},i,{className:(0,M.default)("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return fo(e,!0)}}))}ed(rd,"displayName","CartesianAxis"),ed(rd,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var pd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),od(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ld(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){return a.createElement(fd,this.props)}}])&&id(r.prototype,n),i&&id(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.Component);function hd(e){return hd="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},hd(e)}function md(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xd(n.key),n)}}function yd(e,t,r){return t=vd(t),function(e,t){if(t&&("object"===hd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gd()?Reflect.construct(t,r||[],vd(e).constructor):t.apply(e,r))}function gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gd=function(){return!!e})()}function vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vd(e)}function bd(e,t){return bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bd(e,t)}function _d(e,t,r){return(t=xd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xd(e){var t=function(e,t){if("object"!=hd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hd(t)?t:t+""}function wd(){return wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wd.apply(this,arguments)}cd(pd,"displayName","XAxis"),cd(pd,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});var Od=function(e){var t=e.yAxisId,r=Ml(),n=kl(),i=Sl(t);return null==i?null:a.createElement(rd,wd({},i,{className:(0,M.default)("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return fo(e,!0)}}))},jd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),yd(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bd(e,t)}(t,e),r=t,(n=[{key:"render",value:function(){return a.createElement(Od,this.props)}}])&&md(r.prototype,n),i&&md(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}
153(a.Component);_d(jd,"displayName","YAxis"),_d(jd,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var Sd=function(e){var t=e.chartName,r=e.GraphicalChild,n=e.defaultTooltipEventType,i=void 0===n?"axis":n,o=e.validateTooltipEventTypes,l=void 0===o?["axis"]:o,c=e.axisComponents,u=e.legendContent,d=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,s=t.dataEndIndex,l=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,p=e.maxBarSize,h=pu(u),y=h.numericAxisName,g=h.cateAxisName,v=function(e){return!(!e||!e.length)&&e.some(function(e){var t=le(e&&e.type);return t&&t.indexOf("Bar")>=0})}(r),b=[];return r.forEach(function(r,h){var _=au(e.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:s}),x=void 0!==r.type.defaultProps?Qc(Qc({},r.type.defaultProps),r.props):r.props,w=x.dataKey,O=x.maxBarSize,j=x["".concat(y,"Id")],S=x["".concat(g,"Id")],M=c.reduce(function(e,r){var n=t["".concat(r.axisType,"Map")],i=x["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||P(!1);var o=n[i];return Qc(Qc({},e),{},eu(eu({},r.axisType,o),"".concat(r.axisType,"Ticks"),fo(o)))},{}),k=M[g],T=M["".concat(g,"Ticks")],E=n&&n[j]&&n[j].hasStack&&function(e,t){var r,n=(null!==(r=e.type)&&void 0!==r&&r.defaultProps?ro(ro({},e.type.defaultProps),e.props):e.props).stackId;if(Y(n)){var i=t[n];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null}(r,n[j].stackGroups),C=le(r.type).indexOf("Bar")>=0,L=jo(k,T),A=[],D=v&&function(e){var t=e.barSize,r=e.totalSize,n=e.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),s=0,l=a.length;s<l;s++)for(var c=i[a[s]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var p=c[u[d]],h=p.items,y=p.cateAxisId,g=h.filter(function(e){return le(e.type).indexOf("Bar")>=0});if(g&&g.length){var v=g[0].type.defaultProps,b=void 0!==v?ro(ro({},v),g[0].props):g[0].props,_=b.barSize,x=b[y];o[x]||(o[x]=[]);var w=m()(_)?t:_;o[x].push({item:g[0],stackList:g.slice(1),barSize:m()(w)?void 0:$(w,r,0)})}}return o}({barSize:l,stackGroups:n,totalSize:mu(M,g)});if(C){var I,N,R=m()(O)?p:O,z=null!==(I=null!==(N=jo(k,T,!0))&&void 0!==N?N:R)&&void 0!==I?I:0;A=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,s=o.length;if(s<1)return null;var l,c=$(t,n,0,!0),u=[];if(o[0].barSize===+o[0].barSize){var d=!1,f=n/s,p=o.reduce(function(e,t){return e+t.barSize||0},0);(p+=(s-1)*c)>=n&&(p-=(s-1)*c,c=0),p>=n&&f>0&&(d=!0,p=s*(f*=.9));var h={offset:((n-p)/2|0)-c,size:0};l=o.reduce(function(e,t){var r={item:t.item,position:{offset:h.offset+h.size+c,size:d?f:t.barSize}},n=[].concat(Qi(e),[r]);return h=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:h})}),n},u)}else{var m=$(r,n,0,!0);n-2*m-(s-1)*c<=0&&(c=0);var y=(n-2*m-(s-1)*c)/s;y>1&&(y>>=0);var g=a===+a?Math.min(y,a):y;l=o.reduce(function(e,t,r){var n=[].concat(Qi(e),[{item:t.item,position:{offset:m+(y+c)*r+(y-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:n[n.length-1].position})}),n},u)}return l}({barGap:d,barCategoryGap:f,bandSize:z!==L?z:L,sizeList:D[S],maxBarSize:R}),z!==L&&(A=A.map(function(e){return Qc(Qc({},e),{},{position:Qc(Qc({},e.position),{},{offset:e.position.offset-z/2})})}))}var F,B,U=r&&r.type&&r.type.getComposedData;U&&b.push({props:Qc(Qc({},U(Qc(Qc({},M),{},{displayedData:_,props:e,dataKey:w,item:r,bandSize:L,barPosition:A,offset:i,stackedData:E,layout:u,dataStartIndex:a,dataEndIndex:s}))),{},eu(eu(eu({key:r.key||"item-".concat(h)},y,M[y]),g,M[g]),"animationId",o)),childIndex:(F=r,B=e.children,de(B).indexOf(F)),item:r})}),b},h=function(e,n){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,s=e.updateId;if(!he({props:i}))return null;var l=i.children,u=i.layout,f=i.stackOffset,h=i.data,m=i.reverseStackOrder,y=pu(u),g=y.numericAxisName,v=y.cateAxisName,b=fe(l,r),_=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce(function(e,t){var i,o=null!==(i=t.type)&&void 0!==i&&i.defaultProps?ro(ro({},t.type.defaultProps),t.props):t.props,a=o.stackId;if(o.hide)return e;var s=o[r],l=e[s]||{hasStack:!1,stackGroups:{}};if(Y(a)){var c=l.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};c.items.push(t),l.hasStack=!0,l.stackGroups[a]=c}else l.stackGroups[H("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return ro(ro({},e),{},no({},s,l))},{});return Object.keys(a).reduce(function(t,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,o){var a=s.stackGroups[o];return ro(ro({},t),{},no({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:go(e,a.items,i)}))},{})),ro(ro({},t),{},no({},o,s))},{})}(h,b,"".concat(g,"Id"),"".concat(v,"Id"),f,m),x=c.reduce(function(e,t){var r="".concat(t.axisType,"Map");return Qc(Qc({},e),{},eu({},r,du(i,Qc(Qc({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&_,dataStartIndex:o,dataEndIndex:a}))))},{}),w=hu(Qc(Qc({},x),{},{props:i,graphicalItems:b}),null==n?void 0:n.legendBBox);
153Object.keys(x).forEach(function(e){x[e]=d(i,x[e],w,e.replace("Map",""),t)});var j,S,M=x["".concat(v,"Map")],k=(j=W(M),{tooltipTicks:S=fo(j,!1,!0),orderedTooltipTicks:O()(S,function(e){return e.coordinate}),tooltipAxis:j,tooltipAxisBandSize:jo(j,S)}),P=p(i,Qc(Qc({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:s,graphicalItems:b,stackGroups:_,offset:w}));return Qc(Qc({formattedGraphicalItems:P,graphicalItems:b,offset:w,stackGroups:_},k),x)},y=function(e){function r(e){var n,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),eu(o=Wc(this,r,[e]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),eu(o,"accessibilityManager",new dc),eu(o,"handleLegendBBoxUpdate",function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(Qc({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},Qc(Qc({},o.state),{},{legendBBox:e}))))}}),eu(o,"handleReceiveSyncEvent",function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}}),eu(o,"handleBrushChange",function(e){var t=e.startIndex,r=e.endIndex;if(t!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState(function(){return Qc({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))}),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}}),eu(o,"handleMouseEnter",function(e){var t=o.getMouseInfo(e);if(t){var r=Qc(Qc({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;g()(n)&&n(r,e)}}),eu(o,"triggeredAfterMouseMove",function(e){var t=o.getMouseInfo(e),r=t?Qc(Qc({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;g()(n)&&n(r,e)}),eu(o,"handleItemMouseEnter",function(e){o.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),eu(o,"handleItemMouseLeave",function(){o.setState(function(){return{isTooltipActive:!1}})}),eu(o,"handleMouseMove",function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)}),eu(o,"handleMouseLeave",function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;g()(r)&&r(t,e)}),eu(o,"handleOuterEvent",function(e){var t,r=function(e){var t=e&&e.type;return t&&se[t]?se[t]:null}(e),n=x()(o.props,"".concat(r));r&&g()(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)}),eu(o,"handleClick",function(e){var t=o.getMouseInfo(e);if(t){var r=Qc(Qc({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;g()(n)&&n(r,e)}}),eu(o,"handleMouseDown",function(e){var t=o.props.onMouseDown;g()(t)&&t(o.getMouseInfo(e),e)}),eu(o,"handleMouseUp",function(e){var t=o.props.onMouseUp;g()(t)&&t(o.getMouseInfo(e),e)}),eu(o,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),eu(o,"handleTouchStart",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])}),eu(o,"handleTouchEnd",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])}),eu(o,"handleDoubleClick",function(e){var t=o.props.onDoubleClick;g()(t)&&t(o.getMouseInfo(e),e)}),eu(o,"handleContextMenu",function(e){var t=o.props.onContextMenu;g()(t)&&t(o.getMouseInfo(e),e)}),eu(o,"triggerSyncEvent",function(e){void 0!==o.props.syncId&&oc.emit(ac,o.props.syncId,e,o.eventEmitterSymbol)}),eu(o,"applySyncEvent",function(e){var t=o.props,r=t.layout,n=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,s=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(Qc({dataStartIndex:a,dataEndIndex:s},h({props:o.props,dataStartIndex:a,dataEndIndex:s,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=o.state,f=d.offset,p=d.tooltipTicks;if(!f)return;if("function"==typeof n)u=n(p,e);else if("value"===n){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var y=Qc(Qc({},f),{},{x:f.left,y:f.top}),g=Math.min(l,y.x+y.width),v=Math.min(c,y.y+y.height),b=p[u]&&p[u].value,_=lu(o.state,o.props.data,u),x=p[u]?{x:"horizontal"===r?p[u].coordinate:g,y:"horizontal"===r?v:p[u].coordinate}:iu;o.setState(Qc(Qc({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:_,activeTooltipIndex:u}))}else o.setState(e)}),eu(o,"renderCursor",function(e){var r,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,l=n.activePayload,c=n.offset,u=n.activeTooltipIndex,d=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(r=e.props.active)&&void 0!==r?r:i,h=o.props.layout,m=e.key||"_recharts-cursor";return s().createElement(Rc,{key:m,activeCoordinate:a,activePayload:l,activeTooltipIndex:u,chartName:t,element:e,isActive:p,layout:h,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})}),eu(o,"renderPolarAxis",function(e,t,r){var n=x()(e,"type.axisType"),i=x()(o.state,"".concat(n,"Map")),s=e.type.defaultProps,l=void 0!==s?Qc(Qc({},s),e.props):e.props,c=i&&i[l["".concat(n,"Id")]];return(0,a.cloneElement)(e,Qc(Qc({},c),{},{className:(0,M.default)(n,c.className),key:e.key||"".concat(t,"-").concat(r),ticks:fo(c,!0)}))}),eu(o,"renderPolarGrid",function(e){var t=e.props,r=t.radialLines,n=t.polarAngles,i=t.polarRadius,s=o.state,l=s.radiusAxisMap,c=s.angleAxisMap,u=W(l),d=W(c),f=d.cx,p=d.cy,h=d.innerRadius,m=d.outerRadius;return(0,a.cloneElement)(e,{polarAngles:Array.isArray(n)?n:fo(d,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(i)?i:fo(u,!0).map(function(e){return e.coordinate}),cx:f,cy:p,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:r})}),eu(o,"renderLegend",function(){var e=o.state.formattedGraphicalItems,t=o.props,r=t.children,n=t.width,i=t.height,s=o.props.margin||{},l=n-(s.left||0)-(s.right||0),c=Ji({children:r,formattedGraphicalItems:e,legendWidth:l,legendContent:u});if(!c)return null;var d=c.item,f=Hc(c,zc);return(0,a.cloneElement)(d,Qc(Qc({},f),{}
153,{chartWidth:n,chartHeight:i,margin:s,onBBoxUpdate:o.handleLegendBBoxUpdate}))}),eu(o,"renderTooltip",function(){var e,t=o.props,r=t.children,n=t.accessibilityLayer,i=pe(r,yt);if(!i)return null;var s=o.state,l=s.isTooltipActive,c=s.activeCoordinate,u=s.activePayload,d=s.activeLabel,f=s.offset,p=null!==(e=i.props.active)&&void 0!==e?e:l;return(0,a.cloneElement)(i,{viewBox:Qc(Qc({},f),{},{x:f.left,y:f.top}),active:p,label:d,payload:p?u:[],coordinate:c,accessibilityLayer:n})}),eu(o,"renderBrush",function(e){var t=o.props,r=t.margin,n=t.data,i=o.state,s=i.offset,l=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,a.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:ho(o.handleBrushChange,e.props.onChange),data:n,x:B(e.props.x)?e.props.x:s.left,y:B(e.props.y)?e.props.y:s.top+s.height+s.brushBottom-(r.bottom||0),width:B(e.props.width)?e.props.width:s.width,startIndex:l,endIndex:c,updateId:"brush-".concat(u)})}),eu(o,"renderReferenceElement",function(e,t,r){if(!e)return null;var n=o.clipPathId,i=o.state,s=i.xAxisMap,l=i.yAxisMap,c=i.offset,u=e.type.defaultProps||{},d=e.props,f=d.xAxisId,p=void 0===f?u.xAxisId:f,h=d.yAxisId,m=void 0===h?u.yAxisId:h;return(0,a.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:s[p],yAxis:l[m],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:n})}),eu(o,"renderActivePoints",function(e){var t=e.item,n=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,s=[],l=t.props.key,c=void 0!==t.item.type.defaultProps?Qc(Qc({},t.item.type.defaultProps),t.item.props):t.item.props,u=c.activeDot,d=Qc(Qc({index:o,dataKey:c.dataKey,cx:n.x,cy:n.y,r:4,fill:ao(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},ge(u,!1)),te(u));return s.push(r.renderActiveDot(u,d,"".concat(l,"-activePoint-").concat(o))),i?s.push(r.renderActiveDot(u,Qc(Qc({},d),{},{cx:i.x,cy:i.y}),"".concat(l,"-basePoint-").concat(o))):a&&s.push(null),s}),eu(o,"renderGraphicChild",function(e,t,r){var n=o.filterFormatItem(e,t,r);if(!n)return null;var i=o.getTooltipEventType(),s=o.state,l=s.isTooltipActive,c=s.tooltipAxis,u=s.activeTooltipIndex,d=s.activeLabel,f=pe(o.props.children,yt),p=n.props,h=p.points,y=p.isRange,g=p.baseLine,v=void 0!==n.item.type.defaultProps?Qc(Qc({},n.item.type.defaultProps),n.item.props):n.item.props,b=v.activeDot,_=v.hide,x=v.activeBar,w=v.activeShape,O=Boolean(!_&&l&&f&&(b||x||w)),j={};"axis"!==i&&f&&"click"===f.props.trigger?j={onClick:ho(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(j={onMouseLeave:ho(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:ho(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=(0,a.cloneElement)(e,Qc(Qc({},n.props),j));if(O){if(!(u>=0)){var M,k=(null!==(M=o.getItemByXY(o.state.activeCoordinate))&&void 0!==M?M:{graphicalItem:S}).graphicalItem,P=k.item,T=void 0===P?e:P,E=k.childIndex,C=Qc(Qc(Qc({},n.props),j),{},{activeIndex:E});return[(0,a.cloneElement)(T,C),null,null]}var L,A;if(c.dataKey&&!c.allowDuplicatedCategory){var D="function"==typeof c.dataKey?function(e){return"function"==typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());L=q(h,D,d),A=y&&g&&q(g,D,d)}else L=null==h?void 0:h[u],A=y&&g&&g[u];if(w||x){var I=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,a.cloneElement)(e,Qc(Qc(Qc({},n.props),j),{},{activeIndex:I})),null,null]}if(!m()(L))return[S].concat(Zc(o.renderActivePoints({item:n,activePoint:L,basePoint:A,childIndex:u,isRange:y})))}return y?[S,null,null]:[S,null]}),eu(o,"renderCustomized",function(e,t,r){return(0,a.cloneElement)(e,Qc(Qc({key:"recharts-customized-".concat(r)},o.props),o.state))}),eu(o,"renderMap",{CartesianGrid:{handler:ou,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:ou},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:ou},YAxis:{handler:ou},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!==(n=e.id)&&void 0!==n?n:H("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=S()(o.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gc(e,t)}(r,e),n=r,o=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.he
153ight,i=e.layout,o=pe(t,yt);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=lu(this.state,r,a,s),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+n)/2,d="horizontal"===i?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find(function(e){return"Scatter"===e.item.type.name});f&&(d=Qc(Qc({},d),f.props.points[a].tooltipPosition),l=f.props.points[a].tooltipPayload);var p={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:d};this.setState(p),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(e){ve([pe(e.children,yt)],[pe(this.props.children,yt)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=pe(this.props.children,yt);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return l.indexOf(t)>=0?t:i}return i}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r=this.container,n=r.getBoundingClientRect(),i={top:(t=n).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=n.width/r.offsetWidth||1,s=this.inRange(o.chartX,o.chartY,a);if(!s)return null;var l=this.state,c=l.xAxisMap,u=l.yAxisMap,d=this.getTooltipEventType(),f=cu(this.state,this.props.data,this.props.layout,s);if("axis"!==d&&c&&u){var p=W(c).scale,h=W(u).scale,m=p&&p.invert?p.invert(o.chartX):null,y=h&&h.invert?h.invert(o.chartY):null;return Qc(Qc({},o),{},{xValue:m,yValue:y},f)}return f?Qc(Qc({},o),f):null}},{key:"inRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=e/r,o=t/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var s=this.state,l=s.angleAxisMap,c=s.radiusAxisMap;if(l&&c){var u=W(l);return ea({x:i,y:o},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=pe(e,yt),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),Qc(Qc({},te(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){oc.on(ac,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){oc.removeListener(ac,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===le(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,o=t.width;return s().createElement("defs",null,s().createElement("clipPath",{id:e},s().createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var r=Uc(t,2),n=r[0],i=r[1];return Qc(Qc({},e),{},eu({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var r=Uc(t,2),n=r[0],i=r[1];return Qc(Qc({},e),{},eu({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],s=a.props,l=a.item,c=void 0!==l.type.defaultProps?Qc(Qc({},l.type.defaultProps),l.props):l.props,u=le(l.type);if("Bar"===u){var d=(s.data||[]).find(function(t){return fn(e,t)});if(d)return{graphicalItem:a,payload:d}}else if("RadialBar"===u){var f=(s.data||[]).find(function(t){return ea(e,t)});if(f)return{graphicalItem:a,payload:f}}else if(ds(a,n)||fs(a,n)||ps(a,n)){var p=gs({graphicalItem:a,activeTooltipItem:n,itemData:c.data}),h=void 0===c.activeIndex?p:c.activeIndex;return{graphicalItem:Qc(Qc({},a),{},{childIndex:h}),payload:ps(a,n)?c.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var e=this;if(!he(this))return null;var t,r,n=this.props,i=n.children,o=n.className,a=n.width,l=n.height,c=n.style,u=n.compact,d=n.title,f=n.desc,p=Hc(n,Fc),h=ge(p,!1);if(u)return s().createElement(Ol,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},s().createElement(je,Yc({},h,{width:a,height:l,title:d,desc:f}),this.renderClipPath(),_e(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return s().createElement(Ol,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},s().createElement("div",Yc({className:(0,M.default)("recharts-wrapper",o),style:Qc({position:"relative",curs
153or:"default",width:a,height:l},c)},m,{ref:function(t){e.container=t}}),s().createElement(je,Yc({},h,{width:a,height:l,title:d,desc:f,style:nu}),this.renderClipPath(),_e(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],o&&$c(n.prototype,o),c&&$c(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,c}(a.Component);eu(y,"displayName",t),eu(y,"defaultProps",Qc({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),eu(y,"getDerivedStateFromProps",function(e,t){var r=e.dataKey,n=e.data,i=e.children,o=e.width,a=e.height,s=e.layout,l=e.stackOffset,c=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var f=fu(e);return Qc(Qc(Qc({},f),{},{updateId:0},h(Qc(Qc({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:i})}if(r!==t.prevDataKey||n!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||s!==t.prevLayout||l!==t.prevStackOffset||!Z(c,t.prevMargin)){var p=fu(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},g=Qc(Qc({},cu(t,n,s)),{},{updateId:t.updateId+1}),v=Qc(Qc(Qc({},p),y),g);return Qc(Qc(Qc({},v),h(Qc({props:e},v),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:i})}if(!ve(i,t.prevChildren)){var b,_,x,w,O=pe(i,$o),j=O&&null!==(b=null===(_=O.props)||void 0===_?void 0:_.startIndex)&&void 0!==b?b:u,S=O&&null!==(x=null===(w=O.props)||void 0===w?void 0:w.endIndex)&&void 0!==x?x:d,M=j!==u||S!==d,k=!m()(n)&&!M?t.updateId:t.updateId+1;return Qc(Qc({updateId:k},h(Qc(Qc({props:e},t),{},{updateId:k,dataStartIndex:j,dataEndIndex:S}),t)),{},{prevChildren:i,dataStartIndex:j,dataEndIndex:S})}return null}),eu(y,"renderActiveDot",function(e,t,r){var n;return n=(0,a.isValidElement)(e)?(0,a.cloneElement)(e,t):g()(e)?e(t):s().createElement(ir,t),s().createElement(Pe,{className:"recharts-active-dot",key:r},n)});var v=(0,a.forwardRef)(function(e,t){return s().createElement(y,Yc({},e,{ref:t}))});return v.displayName=y.displayName,v}({chartName:"LineChart",GraphicalChild:Lu,axisComponents:[{axisType:"xAxis",AxisComp:pd},{axisType:"yAxis",AxisComp:jd}],formatAxisMap:function(e,t,r,n,i){var o=e.width,a=e.height,s=e.layout,l=e.children,c=Object.keys(t),u={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},d=!!pe(l,Us);return c.reduce(function(o,a){var l,c,f,p,h,m=t[a],y=m.orientation,v=m.domain,b=m.padding,_=void 0===b?{}:b,x=m.mirror,w=m.reversed,O="".concat(y).concat(x?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var j=v[1]-v[0],S=1/0,M=m.categoricalDomain.sort(G);if(M.forEach(function(e,t){t>0&&(S=Math.min((e||0)-(M[t-1]||0),S))}),Number.isFinite(S)){var k=S/j,P="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(l=k*P/2),"no-gap"===m.padding){var T=$(e.barCategoryGap,k*P),C=k*P/2;l=C-T-(C-T)/P*T}}}c="xAxis"===n?[r.left+(_.left||0)+(l||0),r.left+r.width-(_.right||0)-(l||0)]:"yAxis"===n?"horizontal"===s?[r.top+r.height-(_.bottom||0),r.top+(_.top||0)]:[r.top+(_.top||0)+(l||0),r.top+r.height-(_.bottom||0)-(l||0)]:m.range,w&&(c=[c[1],c[0]]);var L=function(e,t,r){var n=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:mn.scaleBand(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:mn.scaleLinear(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>
153=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:mn.scalePoint(),realScaleType:"point"}:"category"===i?{scale:mn.scaleBand(),realScaleType:"band"}:{scale:mn.scaleLinear(),realScaleType:"linear"};if(E()(n)){var s="scale".concat(bt()(n));return{scale:(mn[s]||mn.scalePoint)(),realScaleType:mn[s]?s:"point"}}return g()(n)?{scale:n}:{scale:mn.scalePoint(),realScaleType:"point"}}(m,i,d),A=L.scale,D=L.realScaleType;A.domain(v).range(c),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-mo,o=Math.max(n[0],n[1])+mo,a=e(t[0]),s=e(t[r-1]);(a<i||a>o||s<i||s>o)&&e.domain([t[0],t[r-1]])}}(A);var I=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,s=r||t.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var c=Ci(l,i,a);return e.domain([ri()(c),ei()(c)]),{niceTicks:c}}if(i&&"number"===n){var u=e.domain();return{niceTicks:Li(u,i,a)}}return null}(A,Vs(Vs({},m),{},{realScaleType:D}));"xAxis"===n?(h="top"===y&&!x||"bottom"===y&&x,f=r.left,p=u[O]-h*m.height):"yAxis"===n&&(h="left"===y&&!x||"right"===y&&x,f=u[O]-h*m.width,p=r.top);var N=Vs(Vs(Vs({},m),I),{},{realScaleType:D,x:f,y:p,scale:A,width:"xAxis"===n?r.width:m.width,height:"yAxis"===n?r.height:m.height});return N.bandSize=jo(N,I),m.hide||"xAxis"!==n?m.hide||(u[O]+=(h?-1:1)*N.width):u[O]+=(h?-1:1)*N.height,Vs(Vs({},o),{},qs({},a,N))},{})}}),Md=["x1","y1","x2","y2","key"],kd=["offset"];function Pd(e){return Pd="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},Pd(e)}function Td(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Td(Object(r),!0).forEach(function(t){Cd(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Td(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Cd(e,t,r){var n;return n=function(e,t){if("object"!=Pd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Pd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Pd(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ld.apply(this,arguments)}function Ad(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Dd=function(e){var t=e.fill;if(!t||"none"===t)return null;var r=e.fillOpacity,n=e.x,i=e.y,o=e.width,a=e.height,l=e.ry;return s().createElement("rect",{x:n,y:i,ry:l,width:o,height:a,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function Id(e,t){var r;if(s().isValidElement(e))r=s().cloneElement(e,t);else if(g()(e))r=e(t);else{var n=t.x1,i=t.y1,o=t.x2,a=t.y2,l=t.key,c=Ad(t,Md),u=ge(c,!1),d=(u.offset,Ad(u,kd));r=s().createElement("line",Ld({},d,{x1:n,y1:i,x2:o,y2:a,fill:"none",key:l}))}return r}function Nd(e){var t=e.x,r=e.width,n=e.horizontal,i=void 0===n||n,o=e.horizontalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(n,o){var a=Ed(Ed({},e),{},{x1:t,y1:n,x2:t+r,y2:n,key:"line-".concat(o),index:o});return Id(i,a)});return s().createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function Rd(e){var t=e.y,r=e.height,n=e.vertical,i=void 0===n||n,o=e.verticalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(n,o){var a=Ed(Ed({},e),{},{x1:n,y1:t,x2:n,y2:t+r,key:"line-".concat(o),index:o});return Id(i,a)});return s().createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function zd(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,i=e.y,o=e.width,a=e.height,l=e.horizontalPoints,c=e.horizontal;if(!(void 0===c||c)||!t||!t.length)return null;var u=l.map(function(e){return Math.round(e+i-i)}).sort(function(e,t){return e-t});i!==u[0]&&u.unshift(0);var d=u.map(function(e,l){var c=!u[l+1]?i+a-e:u[l+1]-e;if(c<=0)return null;var d=l%t.length;return s().createElement("rect",{key:"react-".concat(l),y:e,x:n,height:c,width:o,stroke:"none",fill:t[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return s().createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function Fd(e){var t=e.vertical,r=void 0===t||t,n=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.
153y,l=e.width,c=e.height,u=e.verticalPoints;if(!r||!n||!n.length)return null;var d=u.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==d[0]&&d.unshift(0);var f=d.map(function(e,t){var r=!d[t+1]?o+l-e:d[t+1]-e;if(r<=0)return null;var u=t%n.length;return s().createElement("rect",{key:"react-".concat(t),x:e,y:a,width:r,height:c,stroke:"none",fill:n[u],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return s().createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var Bd=function(e,t){var r=e.xAxis,n=e.width,i=e.height,o=e.offset;return uo(Bu(Ed(Ed(Ed({},rd.defaultProps),r),{},{ticks:fo(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.left,o.left+o.width,t)},Yd=function(e,t){var r=e.yAxis,n=e.width,i=e.height,o=e.offset;return uo(Bu(Ed(Ed(Ed({},rd.defaultProps),r),{},{ticks:fo(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.top,o.top+o.height,t)},Ud={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function Hd(e){var t,r,n,i,o,l,c,u,d=Ml(),f=kl(),p=(0,a.useContext)(bl),h=Ed(Ed({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:Ud.stroke,fill:null!==(r=e.fill)&&void 0!==r?r:Ud.fill,horizontal:null!==(n=e.horizontal)&&void 0!==n?n:Ud.horizontal,horizontalFill:null!==(i=e.horizontalFill)&&void 0!==i?i:Ud.horizontalFill,vertical:null!==(o=e.vertical)&&void 0!==o?o:Ud.vertical,verticalFill:null!==(l=e.verticalFill)&&void 0!==l?l:Ud.verticalFill,x:B(e.x)?e.x:p.left,y:B(e.y)?e.y:p.top,width:B(e.width)?e.width:p.width,height:B(e.height)?e.height:p.height}),m=h.x,y=h.y,v=h.width,b=h.height,_=h.syncWithTicks,x=h.horizontalValues,w=h.verticalValues,O=(c=(0,a.useContext)(yl),W(c)),j=(u=(0,a.useContext)(gl),pl()(u,function(e){return ga()(e.domain,Number.isFinite)})||W(u));if(!B(v)||v<=0||!B(b)||b<=0||!B(m)||m!==+m||!B(y)||y!==+y)return null;var S=h.verticalCoordinatesGenerator||Bd,M=h.horizontalCoordinatesGenerator||Yd,k=h.horizontalPoints,P=h.verticalPoints;if((!k||!k.length)&&g()(M)){var T=x&&x.length,E=M({yAxis:j?Ed(Ed({},j),{},{ticks:T?x:j.ticks}):void 0,width:d,height:f,offset:p},!!T||_);gt(Array.isArray(E),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Pd(E),"]")),Array.isArray(E)&&(k=E)}if((!P||!P.length)&&g()(S)){var C=w&&w.length,L=S({xAxis:O?Ed(Ed({},O),{},{ticks:C?w:O.ticks}):void 0,width:d,height:f,offset:p},!!C||_);gt(Array.isArray(L),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Pd(L),"]")),Array.isArray(L)&&(P=L)}return s().createElement("g",{className:"recharts-cartesian-grid"},s().createElement(Dd,{fill:h.fill,fillOpacity:h.fillOpacity,x:h.x,y:h.y,width:h.width,height:h.height,ry:h.ry}),s().createElement(Nd,Ld({},h,{offset:p,horizontalPoints:k,xAxis:O,yAxis:j})),s().createElement(Rd,Ld({},h,{offset:p,verticalPoints:P,xAxis:O,yAxis:j})),s().createElement(zd,Ld({},h,{horizontalPoints:k})),s().createElement(Fd,Ld({},h,{verticalPoints:P})))}function $d(e){return $d="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},$d(e)}function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach(function(t){qd(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qd(e,t,r){var n;return n=function(e,t){if("object"!=$d(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==$d(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
153finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zd(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Hd.displayName="CartesianGrid";var Xd=(0,a.forwardRef)(function(e,t){var r=e.aspect,n=e.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=e.width,l=void 0===o?"100%":o,c=e.height,u=void 0===c?"100%":c,d=e.minWidth,f=void 0===d?0:d,p=e.minHeight,h=e.maxHeight,m=e.children,y=e.debounce,g=void 0===y?0:y,v=e.id,b=e.className,_=e.onResize,x=e.style,w=void 0===x?{}:x,O=(0,a.useRef)(null),j=(0,a.useRef)();j.current=_,(0,a.useImperativeHandle)(t,function(){return Object.defineProperty(O.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),O.current},configurable:!0})});var k=Gd((0,a.useState)({containerWidth:i.width,containerHeight:i.height}),2),P=k[0],T=k[1],E=(0,a.useCallback)(function(e,t){T(function(r){var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,a.useEffect)(function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,i=r.height;E(n,i),null===(t=j.current)||void 0===t||t.call(j,n,i)};g>0&&(e=S()(e,g,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=O.current.getBoundingClientRect(),n=r.width,i=r.height;return E(n,i),t.observe(O.current),function(){t.disconnect()}},[E,g]);var C=(0,a.useMemo)(function(){var e=P.containerWidth,t=P.containerHeight;if(e<0||t<0)return null;gt(F(l)||F(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",l,u),gt(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=F(l)?e:l,i=F(u)?t:u;r&&r>0&&(n?i=n/r:i&&(n=i*r),h&&i>h&&(i=h)),gt(n>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,i,l,u,f,p,r);var o=!Array.isArray(m)&&le(m.type).endsWith("Chart");return s().Children.map(m,function(e){return s().isValidElement(e)?(0,a.cloneElement)(e,Vd({width:n,height:i},o?{style:Vd({height:"100%",width:"100%",maxHeight:i,maxWidth:n},e.props.style)}:{})):e})},[r,m,u,h,p,f,P,l]);return s().createElement("div",{id:v?"".concat(v):void 0,className:(0,M.default)("recharts-responsive-container",b),style:Vd(Vd({},w),{},{width:l,height:u,minWidth:f,minHeight:p,maxHeight:h}),ref:O},C)}),Jd=r(34766);function Kd(e){const{data:t,lineKey:r,XaxisKey:n,heightOfChart:i,screenSize:o,nameOfChart:a,lineColor:s,lineThickness:l}=e,c=t.length<60;let u=400;return"desktop"===o&&(u=700),"mobile"===o&&(u=380),"tablet"===o&&(u=400),(0,Jd.jsxs)("div",{style:{height:i||300,width:u},children:[(0,Jd.jsx)(p(),{children:(0,Jd.jsx)("p",{children:a})}),(0,Jd.jsx)(Xd,{children:(0,Jd.jsxs)(Sd,{width:u,height:i||300,data:t,margin:{top:5,right:40,bottom:20,left:0},children:[(0,Jd.jsx)(Hd,{strokeDasharray:"3 3"}),(0,Jd.jsx)(Lu,{type:"monotone",dataKey:r,stroke:s||"#8884d8",strokeWidth:l||1.5,dot:c}),(0,Jd.jsx)(pd,{tick:{fontSize:10},dataKey:n}),(0,Jd.jsx)(jd,{}),(0,Jd.jsx)(yt,{}),(0,Jd.jsx)(rr,{})]})})]})}Kd.label="Line Chart",Kd.defaultProps={nameOfChart:"name of chart",heightOfChart:300,screenSize:"desktop"},Sd.propTypes={data:i().arrayOf(i().object).isRequired,lineKey:i().string,lineColor:i().string,lineThickness:i().number,XaxisKey:i().string,nameOfChart:i().string,heightOfChart:i().number,screenSize:i().string};var Qd=Kd,ef=r(15074);const tf=e=>{const t=e.split("-");return`${t[1]}/${t[2]}/${t[0]}`};function rf({customFields:e}){const{heightOfChart:t,title:r,lineThickness:n,spaceBottom:i}=e,s=(0,o.useContent)({source:"utah-covid-data",transform:e=>e||null});if(!s||!s.actuals||!s.actualsTimeseries)return null;
153const l=s.actuals.hospitalBeds.capacity.toLocaleString("en-US"),u=s.actuals.hospitalBeds.currentUsageCovid.toLocaleString("en-US"),f=s.actuals.hospitalBeds.currentUsageTotal.toLocaleString("en-US"),h=s.actuals.icuBeds.capacity.toLocaleString("en-US"),m=s.actuals.icuBeds.currentUsageCovid.toLocaleString("en-US"),y=s.actuals.icuBeds.currentUsageTotal.toLocaleString("en-US"),g=100*s.metrics.testPositivityRatio,{cases:v,deaths:b,newCases:_,newDeaths:x,positiveTests:w,negativeTests:O,vaccinationsCompleted:j}=s.actuals,[S,M]=(0,a.useState)(7),k=((e,t)=>{let r=t;const n=[],i=e.actualsTimeseries;for(let e=i.length-1;e>=0;e-=1)if(i[e].newCases&&i[e].newDeaths&&(n.push(i[e]),r-=1),0===r)return n;return n})(s,S||7),P=((e,t)=>{let r=t;const n=[],i=e.metricsTimeseries;for(let e=i.length-1;e>=0;e-=1)if(i[e].testPositivityRatio&&(n.push(i[e]),r-=1),0===r)return n;return n})(s,S||7),T=(e=>{const t=[];for(let r=e.length-1;r>=0;r-=1)t.push({date:tf(e[r].date),cases:e[r].newCases});return t})(k),E=(e=>{const t=[];for(let r=e.length-1;r>=0;r-=1)t.push({date:tf(e[r].date),deaths:e[r].newDeaths});return t})(k),C=(e=>{const t=[];for(let r=e.length-1;r>=0;r-=1)t.push({date:tf(e[r].date),positiveRatio:100*e[r].testPositivityRatio});return t})(P),{isMobile:L,isDesktop:A,isTablet:D}=(0,ef.Qo)();let I="desktop";L&&(I="mobile"),A&&(I="desktop"),D&&(I="tablet");const N=(Math.round(100*g)/100).toFixed(2);return(0,Jd.jsxs)("div",{children:[(0,Jd.jsxs)("div",{style:{marginLeft:"2%",marginTop:"2%"},children:[(0,Jd.jsx)("h1",{children:r||`Covid Data for ${s.state}`}),(0,Jd.jsx)("p",{children:`Last Updated: ${tf(s.lastUpdatedDate)}`})]}),(0,Jd.jsxs)(c(),{container:!0,spacing:0,style:{paddingBottom:i||"100px"},children:[(0,Jd.jsx)(c(),{item:!0,xs:12,md:2,lg:2,children:(0,Jd.jsxs)("ul",{children:[(0,Jd.jsx)("h4",{style:{marginBottom:"15px"},children:"Covid Overall"}),(0,Jd.jsx)("li",{children:`Test Positivity Ratio ${N}%`}),(0,Jd.jsx)("li",{children:`Vaccinations Completed ${j.toLocaleString("en-US")}`}),(0,Jd.jsx)("li",{children:`Cases ${v.toLocaleString("en-US")}`}),(0,Jd.jsx)("li",{children:`Deaths ${b.toLocaleString("en-US")}`}),(0,Jd.jsx)("li",{children:`Positive Test ${w.toLocaleString("en-US")||"0"}`}),(0,Jd.jsx)("li",{children:`Negative Test ${O.toLocaleString("en-US")||"0"}`}),(0,Jd.jsx)("li",{children:`New Cases ${_.toLocaleString("en-US")}`}),(0,Jd.jsx)("li",{children:`New Deaths ${x.toLocaleString("en-US")}`})]})}),(0,Jd.jsxs)(c(),{item:!0,xs:12,md:2,lg:2,children:[(0,Jd.jsxs)("ul",{children:[(0,Jd.jsx)("h4",{style:{marginBottom:"15px"},children:"Hospital Beds"}),(0,Jd.jsx)("li",{children:`Capacity ${l}`}),(0,Jd.jsx)("li",{children:`Current Usage Covid ${u}`}),(0,Jd.jsx)("li",{children:`Current Usage Total ${f}`})]}),(0,Jd.jsxs)("ul",{children:[(0,Jd.jsx)("h4",{style:{marginBottom:"15px"},children:"ICU Beds"}),(0,Jd.jsx)("li",{children:`Capacity ${h}`}),(0,Jd.jsx)("li",{children:`Current Usage Covid ${m}`}),(0,Jd.jsx)("li",{children:`Current Usage Total ${y}`})]})]}),(0,Jd.jsxs)(c(),{item:!0,xs:12,md:8,lg:8,children:[(0,Jd.jsx)(p(),{children:(0,Jd.jsx)(d(),{disableFocusListener:!0,placement:"right",title:"365 days might take a moment to load",disableInteractive:!0,children:(0,Jd.jsxs)("select",{onChange:({target:{value:e}})=>{M("Last 7 days"===e?7:e)},children:[(0,Jd.jsx)("option",{defaultValue:7,children:"Last 7 days"}),(0,Jd.jsx)("option",{value:30,children:"Last 30 days"}),(0,Jd.jsx)("option",{value:60,children:"Last 60 days"}),(0,Jd.jsx)("option",{value:90,children:"Last 90 days"}),(0,Jd.jsx)("option",{value:365,children:"Last 365 days"})]})})}),(0,Jd.jsx)(Qd,{screenSize:I,data:T,XaxisKey:"date",lineKey:"cases",nameOfChart:"Covid Cases",heightOfChart:t||400,lineThickness:n||1.5,lineColor:"#7FFFD4"})]}),(0,Jd.jsx)(c(),{item:!0,xs:12,md:12,lg:6,children:(0,Jd.jsx)(Qd,{screenSize:I,data:E,XaxisKey:"date",lineKey:"deaths",nameOfChart:"Covid Deaths",heightOfChart:t||400,lineThickness:n||1.5,lineColor:"red"})}),(0,Jd.jsx)(c(),{item:!0,xs:12,md:12,lg:6,children:(0,Jd.jsx)(Qd,{screenSize:I,data:C,XaxisKey:"date",lineKey:"positiveRatio",nameOfChart:"Test Positive Ratio (%)",heightOfChart:t||400,lineThickness:n||1.5,lineColor:"#8884d8"})})]})]})}rf.label="Utah Covid",rf.propTypes={customFields:i().shape({heightOfChart:i().number.tag({name:"height of chart",description:"Example input
153: 300, 500, 600",defaultValue:400}),lineThickness:i().number.tag({name:"Line Thickness",description:"Example input: 1.5, 3, 5",defaultValue:1.5}),title:i().string.tag({name:"Title"}),spaceBottom:i().string.tag({name:"Space Bottom",description:"Example input: 10px, 15px, 20px",defaultValue:"25px"})}).isRequired};var nf=rf},34931:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(22875),a=r(34766);function s({customFields:e}){const{videoLink:t,title:r}=e;return(0,a.jsx)("div",{className:"individual-video-container",children:(0,a.jsx)("div",{className:"video-container",children:(0,a.jsx)("div",{className:"video-and-description",children:(0,a.jsx)(o.A,{id:r,src:(()=>{if(t.includes("youtube")){const e=t.split("watch?v=");return`${e[0]}embed/${e[1]}`}if(t.includes("vimeo")){const e=t.split("/");return console.log(e),`https://player.vimeo.com/video/${e[e.length-2]}?h=${e[e.length-1]}`}throw new Error("Improper video link")})(),className:"video"})})})})}s.label="Video Feature",s.propTypes={customFields:i().shape({videoLink:i().string,title:i().string,description:i().string}).isRequired},t.default=s},10353:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(15074),a=r(34766);function s({customFields:e}){const{videoLink:t,bgColor:r}=e;let n="0px";const{isDesktop:i}=(0,o.Qo)();return t?(n=i?"50%":"100%",(0,a.jsx)("div",{style:{position:"relative",overflow:"hidden",paddingTop:i?"3%":"1%",paddingBottom:i?"25%":"56.25%",paddingLeft:i?"25%":"0px",paddingRight:i?"25%":"
1530px",backgroundColor:r||"white"},children:(0,a.jsx)("iframe",{src:t,width:n,height:"100%",frameborder:"0",scrolling:"auto",title:"Untitled Manual Playlist",style:{position:"absolute"},allowfullscreen:!0})})):(0,a.jsx)("p",{style:{color:"yellow"},children:"need to filled out videoLink"})}s.label="Video Iframe",s.propTypes={customFields:i().shape({videoLink:i().string.tag({name:"Video Link"}),bgColor:i().string.tag({name:"background color"})}).isRequired},t.default=s},15852:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(3810),a=r(93088),s=r(61007),l=r(89952),c=r(63342),u=r(64103),d=r(20457),f=r(82915),p=r(52369),h=r(91034),m=r(18663),y=r(73431),g=r(66953),v=r(69551),b=r(45356),_=r(34766);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=[1,2,3,4,5,6],S={"account-balance":o.A,"show-chart":a.A,"trending-up":s.A,savings:l.A,handshake:c.A,"volunteer-activism":u.A,"favorite-border":d.A,"auto-stories":f.A,description:p.A,"real-estate-agent":h.A,"diversity-3":m.A,redeem:y.A,"card-giftcard":g.A,"monetization-on":v.A,"mail-outline":b.A},M=Object.keys(S);function k({customFields:e}){const t=e||{},{heading:r,intro:n,legalFootnote:i}=t,o=j.map(e=>{const r=t[`method${e}Name`];if(!r)return null;return{key:e,name:r,anchor:t[`method${e}Anchor`]||String(r).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),iconKey:t[`method${e}Icon`],bodyHtml:t[`method${e}BodyHtml`]}}).filter(Boolean);return r||0!==o.length?(0,_.jsxs)("section",{className:"ways-to-give",children:[r&&(0,_.jsx)("h2",{className:"ways-to-give__heading",children:r}),n&&(0,_.jsx)("div",{className:"ways-to-give__intro",dangerouslySetInnerHTML:{__html:n}}),o.length>0&&(0,_.jsx)("div",{className:"ways-to-give__methods",children:o.map(e=>{const t=S[e.iconKey]||u.A;return(0,_.jsxs)("section",{id:e.anchor,className:"ways-to-give__method",children:[(0,_.jsx)("span",{className:"ways-to-give__method-icon","aria-hidden":"true",children:(0,_.jsx)(t,{fontSize:"inherit"})}),(0,_.jsx)("h3",{className:"ways-to-give__method-name",children:e.name}),e.bodyHtml&&(0,_.jsx)("div",{className:"ways-to-give__method-body",dangerouslySetInnerHTML:{__html:e.bodyHtml}})]},e.key)})}),i&&(0,_.jsx)("div",{className:"ways-to-give__legal",dangerouslySetInnerHTML:{__html:i}})]}):null}k.label="Ways To Give";const P=e=>({[`method${e}Name`]:i().string.tag({label:`Method ${e} â Name`,description:`Method ${e} heading (e.g., "Donor-Advised Funds (DAFs)"). Leave blank to hide this method.`}),[`method${e}Anchor`]:i().string.tag({label:`Method ${e} â Anchor ID`,description:'Optional. URL anchor (e.g., "dafs"). Auto-derived from the name if blank. Used so the intro can link directly to this section.'}),[`method${e}Icon`]:i().oneOf(M).tag({label:`Method ${e} â Icon`,description:'Icon shown next to the method name. Falls back to a generic "giving" icon if not chosen. Suggested by method: DAFs â account-balance or handshake; QCDs â savings or redeem; Appreciated Stock â trending-up or show-chart; Planned Giving â auto-stories, favorite-border, or description. Other donation-flavored options: volunteer-activism, monetization-on, card-giftcard, real-estate-agent, diversity-3, mail-outline.'}),[`method${e}BodyHtml`]:i().string.tag({label:`Method ${e} â Body HTML`,description:`Method ${e} content. HTML allowed â typically multiple paragraphs with EIN, address, account numbers, etc.`})});k.propTypes={customFields:i().shape(w(w(w(w(w(w(w({heading:i().string.tag({label:"Section heading",description:'e.g., "Ways to give".'}),intro:i().string.tag({label:"Section intro HTML",description:'Optional intro paragraph. Use anch
153or links here (e.g., href="#dafs") to jump readers down to a specific method. HTML allowed.'})},P(1)),P(2)),P(3)),P(4)),P(5)),P(6)),{},{legalFootnote:i().string.tag({label:"Legal footnote HTML",description:'Optional small-text legal disclaimer at the bottom (e.g., the "Information contained herein..." block). HTML allowed.'})})).isRequired},t.default=k},83298:function(e,t,r){"use strict";r.r(t);var n=r(19674),i=r.n(n),o=r(4321),a=r(14375),s=r(34766);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({customFields:e}){const{deployment:t,contextPath:r}=(0,o.useAppContext)(),{contentService:n,contentConfigValues:i}=e.weatherWidgetConfig;if(!i||!i.latitude||!i.longitude)return(0,s.jsx)("div",{"data-testid":"empty"});const l=(0,a.useContent)({source:n,query:i,filter:"{ currently { icon temperature } }",transform:e=>{if(!e)return null;const{currently:t}=e;return{currently:c(c({},t),{},{temperature:Math.floor(t.temperature)})}}}),u=l?l.currently:{icon:"clear-day",temperature:"-"},{icon:d,temperature:f}=u;return(0,s.jsxs)("a",{href:"/weather/SaltLake/",children:[(0,s.jsx)("img",{className:"weather-icon",src:t(`${r}/resources/img/forecast_icons/${d}.png`),alt:"Weather Icon",width:"20",height:"auto"}),(0,s.jsx)("b",{className:"temperature",children:`${f}°`})]})}d.label="Weather widget",d.propTypes={customFields:i().shape({weatherWidgetConfig:i().contentConfig("weather")}).isRequired},t.default=d},72157:function(e,t,r){"use strict";r.r(t);var n=r(40809),i=r(19674),o=r.n(i),a=r(14375),s=r(4321),l=r(1307),c=r(27275),u=r.n(c),d=r(64320),f=r.n(d),p=r(55702),h=r.n(p),m=r(48911),y=r(29536),g=r(63953),v=r(33048),b=r(74043),_=r.n(b),x=r(29851),w=r(34766);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){S(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function S(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M=15;function k({className:e,style:t,onClick:r}){return(0,w.jsx)("button",{type:"button","aria-label":"Previous videos",className:`${e} youtube-video-feed__arrow youtube-video-feed__arrow--prev`,style:t,onClick:r,children:(0,w.jsx)(g.A,{fontSize:"inherit"})})}function P({className:e,style:t,onClick:r}){return(0,w.jsx)("button",{type:"button","aria-label":"Next videos",className:`${e} youtube-video-feed__arrow youtube-video-feed__arrow--next`,style:t,onClick:r,children:(0,w.jsx)(v.A,{fontSize:"inherit"})})}
153const T={className:o().string,style:o().shape({}),onClick:o().func};k.propTypes=T,P.propTypes=T,k.defaultProps={className:"",style:{},onClick:()=>{}},P.defaultProps={className:"",style:{},onClick:()=>{}};const E={dots:!1,arrows:!0,infinite:!1,speed:400,slidesToShow:4,slidesToScroll:3,prevArrow:(0,w.jsx)(k,{}),nextArrow:(0,w.jsx)(P,{}),responsive:[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:2}},{breakpoint:900,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:600,settings:{slidesToShow:1.2,slidesToScroll:1,arrows:!1}}]};function C({customFields:e}){const{headline:t="Watch Latest Videos",size:r=M,channelLinkText:i="See all on YouTube"}=e||{},[o,c]=(0,n.useState)(null),{requestUri:d}=(0,s.useAppContext)()||{},p=(0,a.useContent)({source:"youtube-videos",query:{size:r}}),g=(0,n.useCallback)((e,t)=>{c(e.videoId),(0,x.sx)("youtube-video-feed-play",(0,x.EZ)(d,{component:"youtube-video-feed",video_id:e.videoId,video_title:e.title,position:t}))},[d]),v=(0,n.useCallback)(()=>c(null),[]),b=(0,n.useCallback)(e=>{(0,x.sx)("youtube-video-feed-channel-click",(0,x.EZ)(d,{component:"youtube-video-feed",channel_url:e}))},[d]);if(!p||!Array.isArray(p.videos)||0===p.videos.length)return null;const{videos:O,channelUrl:S}=p;return(0,w.jsxs)("div",{className:"youtube-video-feed",children:[(0,w.jsxs)("div",{className:"youtube-video-feed__header",children:[(0,w.jsx)("h2",{className:"youtube-video-feed__headline",children:t}),S&&(0,w.jsxs)("a",{className:"youtube-video-feed__channel-link",href:S,target:"_blank",rel:"noopener noreferrer",onClick:()=>b(S),children:[i,(0,w.jsx)("span",{"aria-hidden":"true",children:" â"})]})]}),(0,w.jsx)(l.A,j(j({},E),{},{children:O.map((e,t)=>(0,w.jsx)("div",{className:"youtube-video-feed__slide",children:(0,w.jsxs)("button",{type:"button",className:"youtube-video-feed__card",onClick:()=>g(e,t),"aria-label":`Play video: ${e.title}`,children:[(0,w.jsxs)("div",{className:"youtube-video-feed__thumb",children:[e.thumbnailUrl&&(0,w.jsx)("img",{src:e.thumbnailUrl,alt:"",loading:"lazy",className:"youtube-video-feed__thumb-img"}),(0,w.jsx)("span",{className:"youtube-video-feed__play","aria-hidden":"true",children:(0,w.jsx)(y.A,{fontSize:"inherit"})})]}),(0,w.jsxs)("div",{className:"youtube-video-feed__meta",children:[(0,w.jsx)("p",{className:"youtube-video-feed__title",children:e.title}),e.publishedAt&&(0,w.jsx)("p",{className:"youtube-video-feed__date",children:_()(e.publishedAt).fromNow()})]})]})},e.videoId))})),(0,w.jsxs)(u(),{open:Boolean(o),onClose:v,maxWidth:"md",fullWidth:!0,"aria-labelledby":"youtube-video-feed-dialog",PaperProps:{className:"youtube-video-feed__dialog-paper"},children:[(0,w.jsx)(h(),{"aria-label":"Close video",onClick:v,className:"youtube-video-feed__dialog-close",size:"large",children:(0,w.jsx)(m.A,{})}),(0,w.jsx)(f(),{className:"youtube-video-feed__dialog-content",children:o&&(0,w.jsx)("div",{className:"youtube-video-feed__player",children:(0,w.jsx)("iframe",{title:"YouTube video player",src:`https://www.youtube.com/embed/${o}?autoplay=1&rel=0`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})})]})]})}C.label="YouTube Video Feed",C.propTypes={customFields:o().shape({headline:o().string.tag({label:"Section headline",defaultValue:"Watch Latest Videos"}),size:o().number.tag({label:"Number of videos to show",description:"YouTube RSS returns at most 15 videos per channel.",defaultValue:M,min:1,max:15}),channelLinkText:o().string.tag({label:"Channel link text",defaultValue:"See all on YouTube"})}).isRequired},t.default=C},41537:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);const a=e=>{const t=e.split(":");return`https://open.spotify.com/embed/${t[1]}/${t[2]}`};function s({data:e}){return(0,o.jsx)("iframe",{src:a(e.config.uri),width:"100%",height:"200",frameBorder:"0",allowtransparency:"true",allow:"encrypted-media"})}s.propTypes={data:i().shape({config:i().obj})}.isRequired,t.A=s},23797:function(e,t,r){"use strict";r.d(t,{A:function(){return y}});var n=r(19894),i=r.n(n),o=r(34766);function a({level:e,content:t}){const r=`h${e}`;return(0,o.jsx)(r,{dangerouslySetInnerHTML:{__html:t}})}a.propTypes={level:i().number.isRequired,content:i().node.isRequired};var s=a,l=r(42383);function c({type:e,items:t}){const r="ordered"===e?({children:e})=>(0,o.jsx)("ol",{children:e}):({children:e})=>(0,o.jsx)("ul",{children:e});return(0,o.jsx)(r,{children:t.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(l.A,{content:e.content})},e._id))})}c.propTypes={type:i().oneOf(["ordered","unordered"]).isRequired,items:i().arrayOf(i().shape({_id:i().string,content:i().string})).isRequired};var u=c,d=r(79877),f=r.n(d);function p({content:e}){return(0,o.jsx)("div",{className:"quote-container",children:(0,o.jsx)(f(),{className:"quote",children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})})}p.propTypes={content:i().string.isRequired};var h=p;function m({element:e}){const{type:t,content:r,level:n,items:i,list_type:a}=e;return"text"===t?(0,o.jsx)(l.A,{content:r}):"header"===t?(0,o.jsx)(s,{level:n,content:r}):"list"===t?(0,o.jsx)(u,{items:i,type:a}):"blockquote"===t?(0,o.jsx)(h,{content:r}):r&&r.match(/<[^>]*>/g)?(0,o.jsx)(l.A,{content:r}):(0,o.jsx)("p",{children:r})}
153m.propTypes={element:i().shape({_id:i().string,type:i().string,content:i().string,level:i().number,list_type:i().string,items:i().arrayOf(i().shape({_id:i().string,content:i().string}))}).isRequired};var y=m},27442:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);function a({by:e,date:t,isShowDate:r}){const n=r&&e.length<45&&Boolean(t);return(0,o.jsx)("div",{className:"by-section",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("span",{"data-testid":"by",children:e}),n?(0,o.jsxs)("span",{children:[(0,o.jsx)("span",{children:"Â |Â "}),(0,o.jsx)("span",{className:"top-story-date","data-testid":"date",children:t})]}):null]})})}a.propTypes={by:i().string.isRequired,isShowDate:i().bool,date:i().string.isRequired},t.A=a},58887:function(e,t,r){"use strict";var n=r(34766);t.A=function(){return(0,n.jsx)(n.Fragment,{children:"Please fill the custom fields"})}},41422:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(14375),a=r(23874),s=r(26858),l=r(34766);const c={2:{width:4,height:5},3:{width:1,height:1}},u=[360,700];function d({data:e}){const t=e&&e.config?e.config:{},r=(e=>{if(!e)return[];if(Array.isArray(e))return e.filter(Boolean).slice(0,3);const t=String(e).trim();try{const e=JSON.parse(t);if(Array.isArray(e))return e.filter(Boolean).slice(0,3)}catch(e){}return t.split(",").map(e=>e.trim()).filter(Boolean).slice(0,3)})(t.imageIds).map(e=>(0,o.useContent)({source:"get-photo-by-id",query:{photoID:e}})).map(e=>e&&e.contentRequest).filter(e=>e&&e.url&&e.auth&&e.auth[1]);if(r.length<2)return null;const n=c[r.length],i=t.caption||r.map(e=>e.caption).filter(Boolean).join(" | "),d=2===r.length?"(max-width: 767px) 50vw, 350px":"(max-width: 767px) 33vw, 233px";return(0,l.jsxs)("figure",{className:`diptych diptych-${r.length}`,children:[(0,l.jsx)("div",{className:"diptych-row",children:r.map(e=>{const t=(0,s.yx)(e.url),r=e.auth[1],i=e.owner?e.owner.id:void 0,o=u.map(o=>{const s=Math.round(o*n.height/n.width);return`${(0,a.L)(o,s,t,r,i,e)} ${o}w`}).join(", "),c=u[u.length-1];return(0,l.jsx)("img",{src:(0,a.L)(c,Math.round(c*n.height/n.width),t,r,i,e),srcSet:o,sizes:d,alt:e.alt_text||e.caption||"",loading:"lazy"},e._id)})}),i&&(0,l.jsx)("figcaption",{className:"caption-credit",children:i})]})}d.propTypes={data:i().shape({id:i().string,url:i().string,config:i().shape({imageIds:i().oneOfType([i().string,i().arrayOf(i().string)]),caption:i().string})}).isRequired},t.A=d},58906:function(e,t,r){"use strict";var n=r(19674),i=r.n(n),o=r(14375),a=r(23874),s=r(34766);function l({cName:e,imageURL:t,width:r,spaceTop:n}){const i=e||"",l=(0,o.useContent)({source:"arc-signing-service",query:t?{id:t}:null});return(0,s.jsx)(s.Fragment,{children:l&&l.hash&&(0,s.jsx)("img",{className:i,style:{marginTop:n||"0px"},src:(0,a.XF)(r||300,t,l.hash),alt:t})})}l.propTypes={imageURL:i().string,width:i().number,spaceTop:i().string},t.A=l},49533:function(e,t,r){"use strict";var n=r(40809),i=r(39765),o=r(19894),a=r.n(o),s=r(79877),l=r.n(s),c=r(83606),u=r.n(c),d=r(4321),f=r(96037),p=r(752),h=r(23874),m=r(26858),y=r(34766);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _="Gallery",x={root:`${_}-root`,items:`${_}-items`,item:`${_}-item`,navBtn:`${_}-navBtn`,controlsContainer:`${_}-controlsContainer`,selectedContainer:`${_}-selectedContainer`,control:`${_}-control`},w=(0,i.styled)("div")(()=>({[`&.${x.root}`]:{display:"flex",flexDirection:"column",marginTop:16,marginBottom:16},[`& .${x.items}`]:{display:"flex",overflow:"auto"},[`& .${x.item}`]:{display:"flex",alignItems:"center",justifyContent:"center",margin:4,minWidth:150,maxWidth:150,height:100,cursor:"pointer"},[`& .${x.navBtn}`]:{border:"solid 1px gainsboro"},[`& .${x.controlsContainer}`]:{width:"fit-content",position:"relative"},[`& .${x.selectedContainer}`]:{display:"flex",flexDirection:"column",alignItems:"center"},[`& .${x.control}`]:{position:"absolute",top:0,bottom:0,background:"none",height:"100%",zIndex:2,color:"#FFF",padding:5,outline:"none",border:0,cursor:"pointer",transition:"all .25s ease-in",opacity:.4,"&:hover":{opacity:1,background:"rgba(0,0,0,.2)"},"&::before":{content:'""',margin:"0 5px",display:"inline-block",borderTop:"8px solid transparent",borderBottom:"8px solid transparent"},"&.prev":{left:0,"&::before":{borderRight:"8px solid #FFF"}},"&.next":{right:0,"&::before":{borderLeft:"8px solid #FFF"}}}}));function O({data:e}){const{renderables:t,globalContent:r}=(0,d.useAppContext)(),i=e?e.map(e=>v(v({},e),{},{url:(0,h.$X)(700,(0,m.yx)(e.url),e.auth[1],e.owner.id),thumbnail:(0,h.$X)(150,(0,m.yx)(e.url),e.auth[1],e.owner.id)}
153)):[],[o,a]=(0,n.useState)(0),[s,c]=(0,n.useState)(i[o]),[g,b]=(0,n.useState)(i),_=e=>{a(e),c(g[e])},O=()=>{let e=o;o<g.length-1?e+=1:e=0,_(e)},j=()=>{let e=o;o>0?e-=1:e=g.length-1,_(e)},S=e=>()=>{_(e)};return(0,n.useEffect)(()=>{const e=(0,f.chunk)(i,4);e.filter(e=>4===e.length),b((0,f.flatten)(e))},[t,r]),(0,y.jsx)(w,{className:x.root,children:g&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:x.selectedContainer,children:[(0,y.jsxs)("div",{className:x.controlsContainer,children:[(0,y.jsx)("button",{type:"button","aria-label":"prev",className:`${x.control} prev`,onClick:j}),{image:(0,y.jsx)(p.A,{"data-testid":"selected",alt:s.subtitle||"",caption:s.caption,hideCaption:!0,url:s.url,startLeft:!0,createdDate:s.created_date})}[s.type],(0,y.jsx)("button",{type:"button","aria-label":"next",className:`${x.control} next`,onClick:O})]}),(0,y.jsx)("p",{className:"caption-credit",children:s.caption})]}),(0,y.jsxs)("div",{className:"gallery-navigation",children:[(0,y.jsx)("button",{className:x.navBtn,"data-testid":"prvbtn",type:"button",onClick:j,children:"<"}),(0,y.jsx)("div",{className:x.items,children:g.map(({_id:e,subtitle:t,caption:r,thumbnail:n,type:i},o)=>"image"===i&&(0,y.jsx)(l(),{onClick:S(o),"data-testid":`gallery-item${e}`,className:x.item,children:(0,y.jsx)(u(),{children:(0,y.jsx)(p.A,{alt:t||"",caption:r,url:n,hideCaption:!0,width:"auto",height:"auto"})})},e))}),(0,y.jsx)("button",{className:x.navBtn,"data-testid":"nxtbtn",type:"button",onClick:O,children:">"})]})]})})}O.propTypes={data:a().arrayOf(a().shape({_id:a().string,url:a().string,caption:a().string,subtitle:a().string})).isRequired},t.A=O},8907:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(1307),s=r(28720),l=r(36971),c=r(23874),u=r(26858),d=r(15074),f=(r(36338),r(79310),r(34766));function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=[480,768,1080,1440];function g({data:e}){const{isMobile:t,isDesktop:r}
153=(0,d.Qo)(),[i,o]=(0,n.useState)(!1),[p,m]=(0,n.useState)(0),g=[];e.forEach(e=>{if(e.auth&&e.auth[1]){const t=(0,u.yx)(e.url);g.push({_id:e._id,caption:e.caption,url:(0,c.$X)(1080,t,e.auth[1],e.owner.id),srcSet:(0,c.$8)(t,e.auth[1],e.owner.id,y),lightboxUrl:(0,c.$X)(1600,t,e.auth[1],e.owner.id)})}else{let t="https://www.sltrib.com";"sltrib"!==e.owner.id&&(t="https://sltrib-sandbox.cdn.arcpublishing.com");const r=`${t}${e.additional_properties.fullSizeResizeUrl}`;g.push({url:`${r}&width=1080&quality=88`,srcSet:y.map(e=>`${r}&width=${e}&quality=88 ${e}w`).join(", "),lightboxUrl:`${r}&width=1600&quality=88`,_id:e._id,caption:e.caption})}});const v={accessibility:!0,dots:!0,arrows:!0===r,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,autoplaySpeed:1e3,dotsClass:"slick-dots slick-thumb",fade:!0,adaptiveHeight:t};return(0,f.jsxs)("div",{className:"slider-container",children:[(0,f.jsx)(a.A,h(h({},v),{},{children:g.map((e,r)=>(0,f.jsxs)("div",{children:[(0,f.jsx)("button",{type:"button",className:"gal-image-button","aria-label":`Enlarge image: ${e.caption||"gallery image"}`,onClick:()=>(e=>{m(e),o(!0)})(r),children:(0,f.jsx)("img",{id:e._id,style:t?{width:"100%",height:"auto"}:{marginLeft:"auto",marginRight:"auto",height:"45vh"},alt:e.caption,src:e.url,srcSet:e.srcSet,sizes:t?"100vw":"80vh",loading:"lazy"})}),(0,f.jsx)("p",{className:"gal-caption",style:{display:"flex"},children:e.caption})]},e._id))})),(0,f.jsx)(s.Ay,{style:{zIndex:1500},open:i,index:p,close:()=>o(!1),slides:g.map(e=>({src:e.lightboxUrl,title:"",description:e.caption})),plugins:[l.A],captions:{descriptionMaxLines:3,descriptionTextAlign:"center"}})]})}g.propTypes={data:o().arrayOf(o().shape({_id:o().string,url:o().string,caption:o().string,subtitle:o().string})).isRequired},t.A=g},21348:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);const a={root:{display:"flex",justifyContent:"center"},rootLeft:{display:"flex",justifyContent:"flex-start"}};function s({dimensions:e,startLeft:t}){const[r,n]=e.split("x"),i=`https://placehold.co/${r}x${n}/png`;return(0,o.jsx)("div",{style:t?a.rootLeft:a.root,children:(0,o.jsx)("img",{src:i,alt:"placehold",width:r,height:n})})}s.defaultProps={startLeft:!1},s.propTypes={dimensions:i().string.isRequired,startLeft:i().bool},s.static=!0,t.A=s},752:function(e,t,r){"use strict";var n=r(39765),i=r(19894),o=r.n(i),a=r(19603),s=r(34766);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d="image",f={img:`${d}-img`,noHeight:`${d}-noHeight`,noWidth:`${d}-noWidth`,rootCenter:`${d}-rootCenter`,rootLeft:`${d}-rootLeft`},p=(0,n.styled)("div")(()=>({[`& .${f.img}`]:{width:"100%",height:"auto"},[`& .${f.noHeight}`]:{height:"auto"},[`& .${f.noWidth}`]:{width:"100%"}}));function h({url:e,alt:t,width:r,height:n,rounded:i,scrollPosition:o,srcSet:l,sizes:u,eager:d,intrinsicWidth:h,intrinsicHeight:m}){const y={borderRadius:i?50:0};return d?(0,s.jsx)(p,{children:(0,s.jsx)("img",{alt:t||"",className:f.img,src:e,srcSet:l,sizes:u,width:h||void 0,height:m||void 0,style:y,fetchPriority:"high"})}):r&&!n?(0,s.jsx)(a.LazyLoadImage,{alt:t||"",className:f.noHeight,src:e,srcSet:l,sizes:u,placeholderSrc:`${e}`,width:r,style:y,scrollPosition:o}):n&&!r?(0,s.jsx)(a.LazyLoadImage,{alt:t||"",className:f.noWidth,src:e,srcSet:l,sizes:u,placeholderSrc:`${e}`,height:n,style:y,scrollPosition:o}):r||n?(0,s.jsx)(a.LazyLoadImage,{alt:t||"",src:e,srcSet:l,sizes:u,placeholderSrc:`${e}`,height:n,width:r,style:y,scrollPosition:o}):h&&m?(0,s.jsx)(p,{children:(0,s.jsx)(a.LazyLoadImage,{alt:t||"",className:f.img,src:e,srcSet:l,sizes:u,width:"100%",placeholderSrc:`${e}`,style:c(c({},y),{},{width:"100%",height:"auto",aspectRatio:`${h} / ${m}`}),scrollPosition:o})}):(0,s.jsx)(p,{children:(0,s.jsx)(a.LazyLoadImage,{alt:t||"",className:f.img,src:e,srcSet:l,sizes:u,width:"600",height:"400",placeholderSrc:`${e}`,style:y,scrollPosition:o})})}function m({url:e,alt:t,caption:r,hideCaption:n,width:i,height:o,roun
153ded:a,startLeft:l,scrollPosition:c,srcSet:u,sizes:d,eager:p,intrinsicWidth:m,intrinsicHeight:y}){return(0,s.jsxs)("div",{className:l?f.rootLeft:f.rootCenter,children:[(0,s.jsx)(h,{url:e,alt:t||"",width:i,height:o,rounded:a,scrollPosition:c,srcSet:u,sizes:d,eager:p,intrinsicWidth:m,intrinsicHeight:y}),!n&&r&&(0,s.jsx)("p",{className:"caption-credit",children:r})]})}m.defaultProps={hideCaption:!1,caption:"",width:0,height:0,rounded:!1,startLeft:!1,alt:"Image",srcSet:void 0,sizes:void 0,eager:!1,intrinsicWidth:void 0,intrinsicHeight:void 0},m.propTypes={url:o().string.isRequired,alt:o().string,caption:o().string,hideCaption:o().bool,width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number]),rounded:o().bool,startLeft:o().bool,srcSet:o().string,sizes:o().string,eager:o().bool,intrinsicWidth:o().oneOfType([o().string,o().number]),intrinsicHeight:o().oneOfType([o().string,o().number])},t.A=(0,a.trackWindowScroll)(m)},97133:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);function a({data:e}){const t=e&&e.config?e.config:{},{videoUrl:r,posterUrl:n,caption:i}=t;return r?(0,o.jsxs)("figure",{className:"loop-video",children:[(0,o.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata",poster:n||void 0,src:r}),i&&(0,o.jsx)("figcaption",{className:"caption-credit",children:i})]}):null}a.propTypes={data:i().shape({id:i().string,url:i().string,config:i().shape({videoUrl:i().string,posterUrl:i().string,caption:i().string})}).isRequired},t.A=a},67365:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(42383),a=r(34766);function s({data:e}){const{height:t,html:r}=e;return(0,a.jsx)("div",{style:{display:"flex",justifyContent:"center",width:"100%"},children:(0,a.jsx)("div",{style:{width:"100%",height:t,marginBottom:"20px"},className:"embedded-container",children:(0,a.jsx)(o.A,{content:r})})})}s.propTypes={data:i().shape({width:i().number,height:i().number,html:i().string}).isRequired},t.A=s},2975:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(79877),a=r.n(o),s=r(23797),l=r(34766);function c({data:e,citation:t}){return(0,l.jsx)("div",{className:"quote-container",children:(0,l.jsxs)(a(),{className:"quote",children:[e.map(e=>(0,l.jsx)(s.A,{element:e},e._id)),(0,l.jsx)(s.A,{element:t})]})})}c.propTypes={data:i().arrayOf(i().shape({_id:i().string,type:i().string,content:i().string,level:i().number,list_type:i().string,items:i().arrayOf(i().shape({_id:i().string,content:i().string}))})).isRequired,citation:i().shape({type:i().string,content:i().string}).isRequired},t.A=c},42383:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);function a({content:e}){return(0,o.jsx)("p",{className:"body-raw",dangerouslySetInnerHTML:{__html:e}})}a.propTypes={content:i().string.isRequired},t.A=a},22875:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(34766);function a({id:e,src:t}){return(0,o.jsx)("div",{className:"resp-video",children:(0,o.jsx)("iframe",{title:e,src:t,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"})})}a.propTypes={id:i().string.isRequired,src:i().string.isRequired},t.A=a},91008:function(e,t,r){"use strict";var n=r(19894),i=r.n(n),o=r(74043),a=r.n(o),s=r(752),l=r(27442),c=r(26858),u=r(23874),d=r(34766);function f(e){const{data:t,isSimpleArticle:r,customFields:n,hideSeparator:i,noByline:o}=e,f=(0,c.bH)(t),{noOverride:p}=e,{noTagOverride:h}=e,{style:m,verticalOnTablet:y,darkText:g,shortDate:v,titleOnly:b}=n,_=m&&m.includes("Horizontal"),x=t.headlines.basic,w=v?"MMM. D, YYYY, h:mm a":"MMMM D, YYYY, h:mm a",O=t.publish_date||t.last_updated_date,j=O?(S=O,M=w,a()(S,"YYYY-MM-DDTHH:mm:ss.SSSZ").format(M)):"";var S,M;const k=(0,c.EQ)(t),{stickOut:P,moveLeft:T,moveH3Down:E,lowerMargin:C,hideTags:L,hideByline:A,imageOptimization:D,urlOverride:I}=n;let{titleOverride:N}=n;N=!N||p?x:N;let{tagOverride:R}=n;R=!R||h?"":R;const z=A&&"Yes"===A,F=A&&("Yes"===A||A.includes("#2")),{imgUrl:B,alt:Y}=(0,c.ZP)(t),U=u.FG[D];let H="center";U&&"256"===U.width&&"152"===U.height&&(H="left");const $=B;let W="";t.promo_items&&t.promo_items.basic.auth&&(W=t.promo_items.basic.auth);const V=U&&U.width?U.width:600,q=U&&U.height?U.height:400,G=W?(0,u.L)(V,q,(0,c.Jg)(t),W[1],t.owner.id,t.promo_items.basic):B,Z={marginBottom:"0px",paddingTop:"10px",fontSize:"11px",fontStyle:"uppercase",fontFamily:"Helvetica",letterSpacing:"1px",color:"#666666"},X="Sponsored"===t?.taxonomy?.primary_section?.name?"sponsored":void 0,J=!L&&Boolean(R||f);
153if(r){const e=I||t.website_url||"",r=`${e}/`,n="/"!==e[e.length-1]?r:e;return(0,d.jsxs)("a",{rel:X,className:"top-story","data-testid":"top-story",href:n,children:[J?(0,d.jsx)("p",{style:Z,children:R||f}):null,(0,d.jsx)("h3",{"data-testid":"title",className:"simple-title",style:J?{marginTop:2}:{marginTop:10},children:p?x:N}),!b&&!F&&(0,d.jsx)(l.A,{by:k,date:j,isShowDate:!0}),!i&&(0,d.jsx)("div",{className:"horizontal-separator"}),i&&(0,d.jsx)("div",{className:"horizontal-separator not-mobile"}),b&&(0,d.jsx)("div",{style:{marginBottom:18}})]})}const K="col-md-12 col-lg-12";let Q=_?"col-md-7 col-lg-6":K,ee=_?"col-md-5 col-lg-6 text-space":K;const te=P?"stick-out":"";y&&(Q="col-lg-6",ee="col-lg-6 text-space");const re=g?"complex-title":"simple-title",ne={marginLeft:T?16:0,marginRight:T?16:0,marginTop:L&&E?16:0,marginBottom:C?16:0},ie=I||t.website_url||"",oe=`${ie}/`,ae="/"!==ie[ie.length-1]?oe:ie;return(0,d.jsxs)("a",{rel:X,className:"top-story row","data-testid":"top-story",href:ae,children:[!$.includes("placeholder")&&(0,d.jsx)("div",{style:{textAlign:H},className:`story-image-container col-12 ${Q}`,children:(0,d.jsx)(s.A,{"data-testid":"img",url:G,alt:Y||"",intrinsicWidth:V,intrinsicHeight:q})}),(0,d.jsxs)("div",{className:`story-text-container col-12 ${ee} ${te}`,children:[J?(0,d.jsx)("p",{style:Z,children:R||f}):null,(0,d.jsx)("h3",{"data-testid":"title",className:re,style:ne,children:N}),(0,d.jsx)("div",{style:T?{marginLeft:16}:{},children:!b&&!o&&!z&&(0,d.jsx)(l.A,{by:k,date:j,isShowDate:!0})}),i?(0,d.jsx)("div",{className:"horizontal-separator"}):null]})]})}f.label="Story",f.defaultProps={noOverride:!1,noTagOverride:!1,noByline:!1},f.propTypes={data:i().shape({website_url:i().string,headlines:i().shape({basic:i().string}),last_updated_date:i().string,publish_date:i().string}).isRequired,isSimpleArticle:i().bool.isRequired,customFields:i().shape({darkText:i().bool,shortDate:i().bool,dateType:i().string,link:i().string,headingTitle:i().string,style:i().string,titleOverride:i().string,tagOverride:i().string,verticalOnTablet:i().bool,titleOnly:i().bool,stickOut:i().bool,moveLeft:i().bool,moveH3Down:i().bool,lowerMargin:i().bool,hideTags:i().bool,hideByline:i().oneOf(["No","Yes","Starting at element #2"]),imageOptimization:i().oneOf(Object.keys(u.FG)),urlOverride:i().string}),hideSeparator:i().bool,noOverride:i().bool,noTagOverride:i().bool,noByline:i().bool},t.A=f},67711:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(87724),s=r.n(a),l=r(71831),c=r.n(l),u=r(36385),d=r(34766);function f({items:e}){const t=(0,u.A)(),[r,i]=(0,n.useState)(!1),[o,a]=(0,n.useState)(null),l=(0,d.jsxs)(d.Fragment,{children:[e.slice(0,3).map((t,r)=>(0,d.jsx)("a",{href:t.url,className:r<e.length?"subnav-item":"",children:t.label},t.label)),(0,d.jsx)("button",{className:"more-button",type:"button",onClick:e=>{a(e.currentTarget)},children:"More"}),(0,d.jsx)(s(),{id:"sub-menu",anchorEl:o,open:Boolean(o),onClose:()=>{a(null)},getContentAnchorEl:null,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:e.slice(3).map((t,r)=>(0,d.jsx)(c(),{children:(0,d.jsx)("a",{style:{fontSize:"0.75rem",textDecoration:"none",fontFamily:["Helvetica Neue LT Pro","Helvetica","Arial","sans-serif"],color:"black",fontWeight:400},href:t.url,className:r<e.length?"subnav-item":"",children:t.label},t.label)}))})]});return(0,n.useEffect)(()=>{t.windowWidth<=585&&t.windowWidth>0?i(!0):i(!1)},[t.windowWidth]),(0,d.jsx)("div",{className:"subheader-container",children:r?l:e.map((t,r)=>(0,d.jsx)("a",{href:t.url,className:r<e.length?"subnav-item":"",children:t.label},t.label))})}f.propTypes={items:o().arrayOf(o().shape({label:o().string,url:o().string})).isRequired},t.A=f},71381:function(e,t,r){"use strict";r.d(t,{A:function(){return X}});var n=r(40809),i=r(19894),o=r.n(i),a=r(4321),s=r(14375),l=r(29851),c=r(9240);function u(e){return`${e.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric"})} · ${e.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit"})}`}function d(e){return String(e).padStart(2,"0")}function f(e){return`${e.getUTCFullYear()}${d(e.getUTCMonth()+1)}${d(e.getUTCDate())}T${d(e.getUTCHours())}${d(e.getUTCMinutes())}00Z`}const p=36e5;function h({title:e,start:t,details:r="",url:n=""}){const i=new Date(t.getTime()+p);return`https://calendar.google.com/calendar/render?${new URLSearchParams({action:"TEMPLATE",text:e,dates:`${f(t)}/${f(i)}`,details:n?`${r}\n\n${n}`.trim():r}).toString()}`}function m({title:e,start:t,details:r="",url:n="",uid:i=""}){const o=new Date(t.getTime()+p),a=f(t),s=e=>String(e).replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n"),l=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//The Salt Lake Tribune//Take Action//EN","BEGIN:VEVENT",`UID:${i||`take-
153action-${a}`}@sltrib.com`,`DTSTAMP:${a}`,`DTSTART:${a}`,`DTEND:${f(o)}`,`SUMMARY:${s(e)}`,r?`DESCRIPTION:${s(r)}`:"",n?`URL:${n}`:"","END:VEVENT","END:VCALENDAR"].filter(Boolean);return`data:text/calendar;charset=utf-8,${encodeURIComponent(l.join("\r\n"))}`}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=1080,_=1920,x=80,w=44,O="'Helvetica Neue', Helvetica, Arial, sans-serif",j="'TribDisplay', Georgia, 'Times New Roman', serif",S="#e50815";let M=null;function k(e="/pf/resources/svg/Trib_masthead_top.svg"){return M||("function"!=typeof fetch||"function"!=typeof Image?(M=Promise.resolve(null),M):(M=fetch(e).then(e=>e.ok?e.text():Promise.reject(new Error(`masthead ${e.status}`))).then(e=>new Promise((t,r)=>{const n=new Image;n.onload=()=>t(n),n.onerror=()=>r(new Error("masthead decode failed")),n.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(function(e){const t=(String(e).match(/<svg[^>]*>/)||[])[0];if(!t)return e;const r=(t.match(/viewBox="([^"]+)"/)||[])[1]||"",[,,n,i]=r.split(/[\s,]+/).map(Number),o=Number.isFinite(n)&&n>0?n:500,a=Number.isFinite(i)&&i>0?i:58,s=t.replace(/\s(?:width|height)="[^"]*"/g,"").replace("<svg",`<svg width="${o}" height="${a}"`);return e.replace(t,s)}(e))}`})).catch(()=>null),M))}const P=new Map;function T(e){if(!e)return Promise.resolve(null);if(P.has(e))return P.get(e);if("function"!=typeof Image)return Promise.resolve(null);const t=new Promise(t=>{const r=new Image;r.onload=()=>t(r),r.onerror=()=>t(null),r.src=e});return P.set(e,t),t}function E(e,t,r,n,i,o){e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+i,o),e.arcTo(t+n,r+i,t,r+i,o),e.arcTo(t,r+i,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}function C(e,t,r,n){const i=String(t).split(/\s+/).filter(Boolean),o=[];let a="";if(i.forEach(t=>{const n=a?`${a} ${t}`:t;e.measureText(n).width<=r||!a?a=n:(o.push(a),a=t)}),a&&o.push(a),o.length>n){const t=o.slice(0,n);let i=t[n-1];for(;i&&e.measureText(`${i}â¦`).width>r;)i=i.slice(0,-1).trimEnd();return t[n-1]=`${i}â¦`,t}return o}const L=[92,80,70,60,52];function A(e,t,r="rgba(255, 255, 255, 0.4)",n=2){e.strokeStyle=r,e.lineWidth=n,e.beginPath(),e.moveTo(x,t),e.lineTo(1e3,t),e.stroke()}function D(e,{items:t,pageTitle:r,tagline:n,taglineIsFiller:i,photo:o,credit:a,nameplateBottom:s}){const l=o=>{const l=o?null:function(e,t){const r=t.some(e=>e.done),n=832-(r?66:0),i=t.map(t=>{e.font=`600 42px ${O}`;const r=C(e,t.label,n,2);return g(g({},t),{},{lines:r,showTime:Boolean(t.time),height:50*r.length+(t.time?40:0)})}),o=140+i.reduce((e,t)=>e+t.height,0)+34*Math.max(0,i.length-1);return{rows:i,showChecks:r,labelW:n,height:o}}(e,t),c=l?l.height:62,u=o&&a?40:0,d=Boolean(n)&&!(o&&i);let f=0;d&&(e.font=`800 48px ${O}`,f=72+58*C(e,n,920,2).length);const p=(o?0:s)+c+f+56,h=o?40+u:0;let m=1610-p-h;if(o&&(m-=420),o&&m<120)return null;const y=r?function(e,t,r,n){let i=null;for(let o=0;o<L.length;o+=1){const a=L[o],s=Math.round(1.16*a),l=Math.max(1,Math.floor(n/s));e.font=`700 ${a}px ${j}`;const c=C(e,t,r,99);if(c.length<=l)return{size:a,leading:s,lines:c};i={size:a,leading:s,lines:C(e,t,r,l)}}return i}(e,r,920,Math.max(m,1)):null,v=y?y.lines.length*y.leading:0;let b=0;return o&&(b=Math.min(900,1610-p-h-v),b<420)?null:{measured:l,fit:y,photoH:b,creditH:u,showTagline:d}};return o&&l(!0)||l(!1)}function I(e,t,r,n,i,o){const{rows:a,showChecks:s,height:l}=i;E(e,t,r,n,l,28),e.fillStyle="rgba(255, 255, 255, 0.14)",e.fill(),function(e,t,r,n,i){e.font=`800 28px ${O}`,e.letterSpacing="2px";let o=String(n).toUpperCase();for(;o.length>1&&e.measureText(o).width>i;)o=`${o.slice(0,-2).trimEnd()}â¦`;e.fillStyle="rgba(255, 255, 255, 0.85)",e.fillText(o,t,r+28),e.letterSpacing="0px"}(e,t+w,r+w,o,n-88);const c=t+w+(s?66:0);let u=r+w+52;a.forEach((r,i)=>{s&&function(e,t,r,n){e.beginPath(),e.arc(t,r,22,0,2*Math.PI),n?(e.fillStyle="#fff",e.fill()):(e.strokeStyle="rgba(255, 255, 255, 0.55)",e.lineWidth=3,e.stroke()),n&&(e.strokeStyle=S,e.lineWidth=5,e.lineCap="round",e.beginPath(),e.moveTo(t-9,r+1),e.lineTo(t-2,r+8),e.lineTo(t+10,r-7),e.stroke())}(e,t+w+22,u+22,r.done);let o=u+38;e.fillStyle=r.done?"rgba(255, 255, 255, 0.75)":"#fff",e.font=`600 42px ${O}
153`,r.lines.forEach(t=>{e.fillText(t,c,o),o+=50}),r.showTime&&(e.font=`700 26px ${O}`,e.letterSpacing="1px",e.fillStyle="rgba(255, 255, 255, 0.8)",e.fillText((r.quick?`Quick · ${r.time}`:r.time).toUpperCase(),c,o-8),e.letterSpacing="0px"),u+=r.height+34,i<a.length-1&&(e.strokeStyle="rgba(255, 255, 255, 0.2)",e.lineWidth=2,e.beginPath(),e.moveTo(t+w,u-17),e.lineTo(t+n-w,u-17),e.stroke())})}function N({kicker:e,items:t,pageTitle:r="",tagline:n="",taglineIsFiller:i=!1,masthead:o=null,photo:a=null,photoCredit:s=""}){const l=document.createElement("canvas");l.width=b,l.height=_;const c=l.getContext("2d");if(!c)throw new Error("canvas unavailable");const u=c.createLinearGradient(0,0,0,_);u.addColorStop(0,S),u.addColorStop(1,"#8b060f"),c.fillStyle=u,c.fillRect(0,0,b,_);const d=o?620*(o.naturalWidth&&o.naturalHeight?o.naturalHeight/o.naturalWidth:.116):68,f=D(c,{items:t,pageTitle:r,tagline:n,taglineIsFiller:i,photo:a,credit:s,nameplateBottom:170+d+100}),{measured:p,fit:h,photoH:m,creditH:y,showTagline:g}=f;let v=170;m&&function(e,t,r,n,i){const o=n.naturalWidth||n.width,a=n.naturalHeight||n.height;if(!o||!a)return;const s=Math.max(b/o,r/a),l=o*s,c=a*s;e.save(),e.beginPath(),e.rect(0,t,b,r),e.clip(),e.drawImage(n,(b-l)/2,t+(r-c)/2,l,c);const u=e.createLinearGradient(0,t,0,t+Math.min(r,380));u.addColorStop(0,"rgba(0, 0, 0, 0.62)"),u.addColorStop(1,"rgba(0, 0, 0, 0)"),e.fillStyle=u,e.fillRect(0,t,b,Math.min(r,380));const d=e.createLinearGradient(0,t+r-120,0,t+r);if(d.addColorStop(0,"rgba(0, 0, 0, 0)"),d.addColorStop(1,"rgba(0, 0, 0, 0.45)"),e.fillStyle=d,e.fillRect(0,t+r-120,b,120),e.restore(),i){e.font=`400 24px ${O}`,e.fillStyle="rgba(255, 255, 255, 0.65)",e.textAlign="right";let n=i;for(;n.length>1&&e.measureText(n).width>920;)n=`${n.slice(0,-2).trimEnd()}â¦`;e.fillText(n,1e3,t+r-22),e.textAlign="left"}}(c,0,m,a,s),o?c.drawImage(o,230,v,620,d):(c.fillStyle="#fff",c.font=`700 58px ${j}`,c.textAlign="center",c.fillText("The Salt Lake Tribune",540,v+52),c.textAlign="left"),m?v=m+y+40:(A(c,v+d+40),v=170+d+100),h&&(c.fillStyle="#fff",c.font=`700 ${h.size}px ${j}`,h.lines.forEach(e=>{c.fillText(e,x,v+.82*h.size),v+=h.leading}),v+=56),p?(I(c,x,v,920,p,e),v+=p.height+72):(!function(e,t,r,n){e.font=`800 32px ${O}`,e.letterSpacing="2px";let i=String(n).toUpperCase();for(;i.length>1&&e.measureText(i).width>864;)i=`${i.slice(0,-2).trimEnd()}â¦`;const o=e.measureText(i).width+56;E(e,t,r,o,62,31),e.fillStyle="#fff",e.fill(),e.fillStyle=S,e.textBaseline="middle",e.fillText(i,t+28,r+31+2),e.textBaseline="alphabetic",e.letterSpacing="0px"}(c,x,v,e),v+=134),g&&(c.fillStyle="#fff",c.font=`800 48px ${O}`,C(c,n,920,2).forEach(e=>{c.fillText(e,x,v),v+=58}));const w=1730;return A(c,1610,"rgba(255, 255, 255, 0.35)"),c.fillStyle="#fff",c.font=`800 46px ${O}`,c.fillText("Read the full story at sltrib.com",x,1686),c.fillStyle="rgba(255, 255, 255, 0.8)",c.font=`400 30px ${O}`,c.fillText("Nonprofit news for Utah",x,w),l}function R(e,t=270){const r=document.createElement("canvas");r.width=t,r.height=Math.round(t*_/b);const n=r.getContext("2d");if(!n)throw new Error("canvas unavailable");return n.drawImage(e,0,0,r.width,r.height),r.toDataURL("image/png")}function z(e){return new Promise((t,r)=>{try{e.toBlob(e=>{e?t(new File([e],"sltrib-take-action.jpg",{type:"image/jpeg"})):r(new Error("toBlob failed"))},"image/jpeg",.92)}catch(e){r(e)}})}var F=r(34766);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){U(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function U(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e){if("string"!=typeof e)return!1;const t=e.match(/(\d+)\s*(?:[-â]\s*(\d+))?\s*min/i);if(!t)return!1;return parseInt(t[2]||t[1],10)<=15}function $(e){const t=function(e){if(!e)return null;const t=new Date(e);return Number.isNaN(t.getTime())?null:t}(e&&e.eventDate);return t?t.getTime()<Date.now()-864e5?null:t:null}const W="What you can do",V=[{value:"under 18",label:"Under 18"},{value:"18-28",label:"18â28"},{value:"29-44",label:"29â44"},{value:"45-64",label:"45â64"},{value:"65+",label:"65+"}],q=(e,t)=>
153e===t?`I did all ${t}. Your turn.`:`I did ${e} of these. Your turn.`,G=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Z({data:e}){const{siteProperties:t,deployment:r,contextPath:i,globalContent:o}=(0,a.useAppContext)(),d=t&&t.takeActionFeedbackEndpoint||"",f=o&&o.promo_items&&o.promo_items.basic||null,p=f?f._id:null,y=(0,s.useContent)({source:"arc-signing-service",query:p?{id:p}:null}),g=f&&f.url?f.url.split("/").pop():"",v=y&&y.hash||function(e){const t=e&&e.auth;if(!t||"object"!=typeof t)return"";const r=Object.keys(t).sort((e,t)=>Number(t)-Number(e));return r.length?t[r[0]]:""}(f),b=(x=v,(_=g)&&x?`/resizer/v2/${_}?auth=${encodeURIComponent(x)}&width=1080&height=720&quality=85&smart=true`:"");var _,x;const w=function(e){if(!e)return"";const t=String(e.caption||"").match(/^\s*\(([^)]{3,120})\)/);if(t)return t[1].trim();const r=(e.credits&&Array.isArray(e.credits.by)?e.credits.by:[]).map(e=>e&&(e.name||e.byline)||"").filter(Boolean);if(r.length)return r.join(", ");const n=String(e.copyright||"").replace(/^\s*©\s*\d{0,4}\s*/,"").trim();return n&&"None"!==n?n:""}(f),O="function"==typeof r&&i?r(`${i}/resources/svg/Trib_masthead_top.svg`):void 0,j=t&&t.aiPolicyUrl||"",S=e&&e.config?e.config:null,M=S&&S.headline||W,P=S&&S.description||"Real things you can do about this story, whether you have five minutes or an afternoon.",E=function(e){if(Array.isArray(e))return e;if("string"==typeof e)try{return JSON.parse(e)}catch(e){return[]}return[]}(S&&S.actions),C=S&&!1!==S.showAiDisclosure&&"false"!==S.showAiDisclosure,L=S&&S.watchFor||"",A=e&&e.id||"default",D=`take-action-feedback-${A}`,I=`take-action-checked-${A}`,B=`take-action-age-${A}
153`,[U,Z]=(0,n.useState)(!1),[X,J]=(0,n.useState)(null),[K,Q]=(0,n.useState)([]),[ee,te]=(0,n.useState)(null),[re,ne]=(0,n.useState)(!1),[ie,oe]=(0,n.useState)(null),[ae,se]=(0,n.useState)(null),[le,ce]=(0,n.useState)(null),[ue,de]=(0,n.useState)(!0),[fe,pe]=(0,n.useState)(!1),[he,me]=(0,n.useState)(null),[ye,ge]=(0,n.useState)(!1),[ve,be]=(0,n.useState)(!1),[_e,xe]=(0,n.useState)(""),[we,Oe]=(0,n.useState)(!1),[je,Se]=(0,n.useState)(""),[Me,ke]=(0,n.useState)(""),Pe=(0,n.useRef)(null),Te=(0,n.useRef)(!1),Ee=E.filter(e=>K.includes(e.label)).length;(0,n.useEffect)(()=>{try{localStorage.getItem(D)&&Z(!0);const e=JSON.parse(localStorage.getItem(I)||"[]");Array.isArray(e)&&e.length&&Q(e),localStorage.getItem(B)&&ge(!0)}catch(e){}},[D,I,B]);const Ce={story_id:S&&S.storyId||"",embed_id:e&&e.id||""};(0,n.useEffect)(()=>{const e=Pe.current;if(!e||Te.current)return;const t=()=>{Te.current||(Te.current=!0,(0,l.sx)("take-action-view",Y({total_actions:E.length},Ce)))};if("undefined"==typeof window||"function"!=typeof window.IntersectionObserver)return void t();const r=new window.IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(r.disconnect(),t())},{threshold:.3});return r.observe(e),()=>r.disconnect()},[]);const Le=e=>{Z(!0),pe(!0),ne(!1);try{localStorage.setItem(D,e?"yes":"no")}catch(e){}(0,l.sx)("take-action-feedback",Y({useful:e},Ce))},Ae=(e,t,r)=>{(0,l.sx)("take-action-calendar",Y({method:r,action_label:e.label,event_date:e.eventDate||"",position:t},Ce))},De=()=>(document.title||"").split(/\s+[|â]\s+|\s+-\s+/)[0].trim(),Ie=()=>{const e=De();var t;return`${`${Ee>0?`I just did ${1===(t=Ee)?"one":t} of these. Hereâs the list ð`:"Read this â turns out thereâs something we can actually do about it ð"}\n\n${e?`â${e}â`:M}`}\n\n${E.map(e=>{const t=(e=>{if(!e)return"";const t=String(e).match(/[^.!?]*[.!?]?/)[0].trim();return t.length>90?`${t.slice(0,89).trimEnd()}â¦`:t})(e.rationale),r=$(e),n=r?` â ${u(r)}`:"";return`⢠${e.label}${e.time?` (${e.time})`:""}${n}${t?`\n Why: ${t}`:""}${e.url?`\n ${e.url}`:""}`}).join("\n")}`},Ne=()=>{const e=ue?Ee:0;return{kicker:M===W?`${E.length} thing${1===E.length?"":"s"} you can do`:M,items:E.map(e=>({label:e.label,time:e.time||"",quick:H(e.time),done:ue&&K.includes(e.label)})),pageTitle:De(),tagline:e?q(e,E.length):"You can do something about this.",taglineIsFiller:!e,masthead:ae,photo:le,photoCredit:w}};(0,n.useEffect)(()=>{if(!re)return;let e=!0;return ae||k(O).then(t=>{e&&t&&se(t)}),!le&&b&&T(b).then(t=>{e&&t&&ce(t)}),()=>{e=!1}},[re,ae,O,le,b]),(0,n.useEffect)(()=>{if(re){try{const e=N(Ne());oe({canvas:e,url:R(e)})}catch(e){oe("error")}return()=>oe(null)}},[re,K,ue,ae,le]);(0,n.useEffect)(()=>{if(!re)return;const e=e=>{"Escape"===e.key&&ne(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[re]);const Re=async()=>{ne(!1);const e=window.location.href,t=Ie(),r={title:M,text:t,url:e};if(navigator.share){(0,l.sx)("take-action-share",Y({method:"native"},Ce));try{await navigator.share(r)}catch(e){}}else{(0,l.sx)("take-action-share",Y({method:"copy"},Ce));try{await navigator.clipboard.writeText(`${t}\n\n${e}`),te("copied"),setTimeout(()=>te(null),2e3)}catch(e){}}};if(!S||!E.length)return null;const ze=fe&&!ye&&!ve;return(0,F.jsxs)("aside",{className:"take-action-box","aria-label":"Take action",ref:Pe,children:[(0,F.jsxs)("div",{className:"take-action-box__header",children:[(0,F.jsx)("h3",{className:"take-action-box__headline",children:M}),Ee>0?(0,F.jsx)("span",{className:"take-action-box__progress"+(Ee===E.length?" take-action-box__progress--done":""),role:"status","aria-live":"polite",children:Ee===E.length?`You did all ${E.length} ð`:`${Ee} of ${E.length} done`}):null]}),(0,F.jsx)("p",{className:"take-action-box__description",children:P}),(0,F.jsx)("ul",{className:"take-action-box__list",children:E.map((e,t)=>{const r=K.includes(e.label),n=H(e.time),i=$(e);return(0,F.jsxs)("li",{className:"take-action-box__item"+(r?" take-action-box__item--checked":""),children:[(0,F.jsx)("button",{type:"button",className:"take-action-box__check","aria-pressed":r,"aria-label":r?`Mark "${e.label}" as not done`:`Mark "${e.label}" as done`,onClick:()=>((e,t)=>{const r=K.includes(e.label),n=r?K.filter(t=>t!==e.label):[...K,e.label];Q(n);try{localStorage.setItem(I,JSON.stringify(n))}catch(e){}r||(0,c.Dl)(S&&S.storyId||""),(0,l.sx)("take-action-check",Y({checked:!r,action_label:e.label,action_url:e.url,time_estimate:e.time||"",position:t,checked_count:n.length,total_actions:E.length},Ce)),r||n.length!==E.length||(0,l.sx)("take-action-complete",Y({total_actions:E.length},Ce));const i=_e.trim();if(ve&&i&&G.test(i)&&d)try{fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({update_only:!0,email:i,age_range:he,story_id:S&&S.storyId||"",checked_actions:n,total_actions:E.length,company_website:Me})}).catch(()=>{})}catch(e){}})(e,t),children:(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"
153currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})})}),(0,F.jsxs)("div",{className:"take-action-box__item-body",children:[(0,F.jsxs)("div",{className:"take-action-box__item-main",children:[(0,F.jsx)("span",{className:"take-action-box__time"+(n?" take-action-box__time--quick":""),children:n?`Quick · ${e.time}`:e.time}),(0,F.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>((e,t)=>{(0,l.sx)("take-action-click",Y({action_label:e.label,action_url:e.url,time_estimate:e.time||"",position:t,checked:K.includes(e.label)},Ce))})(e,t),children:e.label}),e.rationale?(0,F.jsx)("button",{type:"button",className:"take-action-box__why-toggle","aria-expanded":X===t,"aria-label":"Why this suggestion?",title:e.rationale,onClick:()=>J(X===t?null:t),children:(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"15",height:"15",fill:"currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M11 7h2v2h-2V7zm0 4h2v6h-2v-6zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})})}):null]}),i?(0,F.jsxs)("div",{className:"take-action-box__event",children:[(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M19 3h-1V1h-2v2H8V1H6v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 16H5V9h14v10zM5 7V5h14v2H5z"})}),(0,F.jsx)("span",{className:"take-action-box__event-date",children:u(i)}),(0,F.jsxs)("span",{className:"take-action-box__event-add",children:["Add to calendar: ",(0,F.jsx)("a",{href:h({title:e.label,start:i,details:e.rationale||"",url:e.url}),target:"_blank",rel:"noopener noreferrer",onClick:()=>Ae(e,t,"google"),children:"Google"})," · ",(0,F.jsx)("a",{href:m({title:e.label,start:i,details:e.rationale||"",url:e.url,uid:`${A}-${t}`}),download:"sltrib-take-action.ics",onClick:()=>Ae(e,t,"ics"),children:"Apple / Outlook"})]})]}):null,e.rationale&&X===t?(0,F.jsx)("p",{className:"take-action-box__rationale",children:e.rationale}):null]})]},e.label)})}),L?(0,F.jsxs)("p",{className:"take-action-box__watch",children:[(0,F.jsx)("strong",{children:"What to watch next:"}),` ${L}`]}):null,C?(0,F.jsxs)("p",{className:"take-action-box__note",children:["This list may have been compiled with the help of AI. A journalist has reviewed it.",j?(0,F.jsxs)(F.Fragment,{children:[" ",(0,F.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",children:"Read our AI policy"})]}):null]}):null,(0,F.jsxs)("div",{className:"take-action-box__footer",children:[(0,F.jsx)("div",{className:"take-action-box__feedback",children:U?(0,F.jsxs)("p",{className:"take-action-box__feedback-thanks",role:"status","aria-live":"polite",children:[(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"currentColor","aria-hidden":"true",className:"take-action-box__feedback-check",children:(0,F.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})}),ve?"Thanks for helping shape this ð":"Thanks for your feedback!"]}):(0,F.jsxs)("div",{className:"take-action-box__feedback-prompt",children:[(0,F.jsx)("span",{className:"take-action-box__feedback-question",children:"Were these suggestions helpful?"}),(0,F.jsx)("button",{type:"button",className:"take-action-box__feedback-btn","aria-label":"Yes, these suggestions were helpful",onClick:()=>Le(!0),children:(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M2 20h2V8H2v12zm20-11a2 2 0 0 0-2-2h-6.31l.95-4.57.03-.32a1.49 1.49 0 0 0-.44-1.06L13.17 0 6.59 6.59C6.22 6.95 6 7.45 6 8v10a2 2 0 0 0 2 2h9a2 2 0 0 0 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73V9z"})})}),(0,F.jsx)("button",{type:"button",className:"take-action-box__feedback-btn","aria-label":"No, these suggestions were not helpful",onClick:()=>Le(!1),children:(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M22 4h-2v12h2V4zm-4 12V6a2 2 0 0 0-2-2H7a2 2 0 0 0-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2a2 2 0 0 0 2 2h6.31l
153-.95 4.57-.03.32c0 .4.17.79.44 1.06L10.83 24l6.58-6.59c.37-.36.59-.86.59-1.41z"})})})]})}),ze?null:(0,F.jsxs)("button",{type:"button",className:"take-action-box__share","aria-label":"Share this list","aria-expanded":re,onClick:()=>{re||(0,l.sx)("take-action-share-open",Ce),ne(!re)},children:[(0,F.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor","aria-hidden":"true",children:(0,F.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"})}),"copied"===ee?"Link copied":"saved"===ee?"Image saved":"Share"]})]}),re?(0,F.jsxs)("div",{className:"take-action-box__share-menu",children:[Ee>0?(0,F.jsx)("p",{className:"take-action-box__share-lead",children:"You actually did something about this. Let people see that."}):null,(0,F.jsxs)("div",{className:"take-action-box__share-row",children:[ie&&"error"!==ie?(0,F.jsx)("img",{className:"take-action-box__share-thumb",src:ie.url,alt:"Preview of the story card you can post"}):null,(0,F.jsxs)("div",{className:"take-action-box__share-options",children:["error"!==ie?(0,F.jsxs)("button",{type:"button",className:"take-action-box__share-option",onClick:async()=>{let e;ne(!1);try{const[t,r]=await Promise.all([ae||k(O),le||T(b)]),n=N(Y(Y({},Ne()),{},{masthead:t||null,photo:r||null}));e=await z(n)}catch(e){return void Re()}try{await navigator.clipboard.writeText(function(e){try{const t=new URL(e);return t.searchParams.set("utm_source","take-action"),t.searchParams.set("utm_medium","story-card"),t.toString()}catch(t){return e}}(window.location.href))}catch(e){}if(navigator.share&&navigator.canShare&&navigator.canShare({files:[e]})){(0,l.sx)("take-action-share",Y({method:"story-card"},Ce));try{await navigator.share({files:[e],title:M})}catch(e){}}else{(0,l.sx)("take-action-share",Y({method:"story-card-save"},Ce));try{const t=document.createElement("a");t.href=URL.createObjectURL(e),t.download=e.name,t.click(),URL.revokeObjectURL(t.href),te("saved"),setTimeout(()=>te(null),2e3)}catch(e){}}},children:[(0,F.jsx)("span",{className:"take-action-box__share-option-title",children:"Add to your story"}),(0,F.jsx)("span",{className:"take-action-box__share-option-desc",children:"A Tribune card for your Instagram or Facebook story â 15 seconds"})]}):null,(0,F.jsxs)("button",{type:"button",className:"take-action-box__share-option",onClick:Re,children:[(0,F.jsx)("span",{className:"take-action-box__share-option-title",children:"Send to the group chat"}),(0,F.jsx)("span",{className:"take-action-box__share-option-desc",children:"Send it to the person whoâll actually do it with you â links included"})]})]})]}),"error"!==ie&&Ee>0?(0,F.jsxs)("label",{className:"take-action-box__share-toggle",htmlFor:`take-action-progress-toggle-${A}`,children:[(0,F.jsx)("input",{id:`take-action-progress-toggle-${A}`,type:"checkbox",checked:ue,onChange:e=>de(e.target.checked)}),"Show what Iâve done on the card"]}):null,"error"!==ie?(0,F.jsx)("p",{className:"take-action-box__share-hint",children:"Weâll copy the storyâs link too â in Instagram, add a âLinkâ sticker and paste it so people can tap through."}):null]}):null,(0,F.jsx)("div",{"aria-live":"polite",children:ze?(0,F.jsxs)("div",{className:"take-action-box__age",children:[he?null:(0,F.jsxs)("div",{className:"take-action-box__age-prompt",children:[(0,F.jsx)("button",{type:"button",className:"take-action-box__age-close","aria-label":"Dismiss age question",onClick:()=>{ge(!0);try{localStorage.setItem(B,"dismissed")}catch(e){}(0,l.sx)("take-action-age-dismiss",Ce)},children:(0,F.jsx)("span",{"aria-hidden":"true",children:"Ã"})}),(0,F.jsx)("span",{className:"take-action-box__age-question",children:"One quick question â are we reaching you?"}),(0,F.jsx)("div",{className:"take-action-box__age-options",role:"group","aria-label":"Your age group",children:V.map(e=>(0,F.jsx)("button",{type:"button",className:"take-action-box__age-chip",onClick:()=>(e=>{me(e);try{localStorage.setItem(B,e)}catch(e){}(0,l.p1)({age_range:e}),(0,l.Wb)({age_range:e}),(0,l.sx)("take-action-age",Y({age_range:e},Ce))})(e.value),children:e.label},e.value))})]}),he&&!ve?(0,F.jsxs)("div",{className:"take-action-box__research",children:[(0,F.jsx)("p",{className:"take-action-box__research-intro",children:"Thanks! Weâre talking with readers your age about features like this â anything youâd add?"}),(0,F.jsx)("textarea",{className:"take-action-box__research-note",rows:"2",placeholder:"What worked, what didnâtâ¦",value:je,onChange:e=>Se(e.target.value),"aria-label":"Tell us about your experience (optional)"}),(0,F.jsx)("input",{type:"email",className:"take-action-box__research-email"+(we?" take-action-box__research-email--error":""),placeholder:"Email, if youâd join a reader panel (optional)",value:_e,onChange:e=>{xe(e.target.value),we&&Oe(!1)},"aria-label":"Email to join a reader panel (optional)"}),we?(0,F.jsx)("span",{className:"take-action-box__research-hint",role:"alert",children:"That email doesnât look right."}):null,(0,F.jsx)("input",{type:"text",name:"company-website",className:"take-action-box__hp",tabIndex:-1,autoComplete:"off","aria-hidden":"true",placeholder:"Company website",value:Me,onChange:e=>ke(e.target.value)}),(0,F.jsxs)("div",{className:"take-action-box__research-actions",children:[(0,F.jsx)("button",{type:"button",className:"take-action-box__research-submit",onClick:()=>
153{if(Me)return void be(!0);const e=_e.trim(),t=je.trim();if(!e||G.test(e)){if((e||t)&&d)try{fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,note:t,age_range:he,story_id:S&&S.storyId||"",page_url:window.location.href,distinct_id:(0,l.yV)(),checked_actions:K,total_actions:E.length,company_website:Me})}).catch(()=>{})}catch(e){}(0,l.sx)("take-action-research-optin",Y({has_email:Boolean(e),has_note:Boolean(t),age_range:he},Ce)),be(!0)}else Oe(!0)},children:"Done"}),(0,F.jsx)("button",{type:"button",className:"take-action-box__research-skip",onClick:()=>{(0,l.sx)("take-action-research-skip",Y({age_range:he},Ce)),be(!0)},children:"No thanks"})]})]}):null]}):null})]})}Z.propTypes={data:o().shape({id:o().string,url:o().string,config:o().shape({storyId:o().string,headline:o().string,description:o().string,showAiDisclosure:o().oneOfType([o().bool,o().string]),watchFor:o().string,actions:o().oneOfType([o().string,o().arrayOf(o().shape({label:o().string.isRequired,url:o().string.isRequired,time:o().string.isRequired,rationale:o().string,eventDate:o().string}))])}).isRequired}).isRequired};var X=Z},11204:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(23322),s=r(28720),l=r(36971),c=r(83360),u=r.n(c),d=r(93219),f=r.n(d),p=r(75306),h=r.n(p),m=r(15074),y=r(23874),g=r(26858),v=(r(36338),r(79310),r(34766));function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w({data:e}){const{isDesktop:t}=(0,m.Qo)(),[r,i]=(0,n.useState)([]),[o,c]=(0,n.useState)(4),[d,p]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let t=!0;return(async()=>{try{const r=await a.A.get("https://nughp25km2.execute-api.us-east-1.amazonaws.com/prod/gallery",{params:{galleryId:e.id},headers:{Accept:"application/json"}});t&&i(r.data.gallery.content_elements)}catch(e){t&&i([])}})(),()=>{t=!1}},[e.id]);const b=r.map(e=>_(_({},e),{},{src:(0,y.$X)(e.width,(0,g.yx)(e.url),e?.auth[1],e?.owner?.id),title:"",description:e.caption}));return(0,v.jsxs)(h(),{children:[(0,v.jsx)(u(),{sx:{width:"100%",height:"100%"},cols:t?3:2,rowHeight:164,children:b.map((e,t)=>(0,v.jsx)("div",{children:(0,v.jsx)(f(),{style:{height:"100%"},onClick:()=>{c(t),p(!0)},children:(0,v.jsx)("img",{srcSet:`${e.src}`,src:`${e.src}`,alt:e.caption,loading:"lazy"})})},e._id))}),(0,v.jsx)(s.Ay,{style:{zIndex:1500},open:d,index:o,close:()=>p(!1),slides:b,plugins:[l.A],captions:{descriptionMaxLines:3,descriptionTextAlign:"center"}})]})}w.propTypes={data:o().shape({config:o().shape({headlines:o().string.isRequired}),id:o().string,url:o().string}).isRequired},t.A=w},93745:function(e,t,r){"use strict";var n=r(40809),i=r(19894),o=r.n(i),a=r(23322),s=r(29536),l=r(30073),c=r(34766);function u({data:e}){const[t,r]=(0,n.useState)(""),[i,o]=(0,n.useState)(0),[u,d]=(0,n.useState)(0),[f,p]=(0,n.useState)(!0),[h,m]=(0,n.use
153State)(!1),y=(0,n.useRef)(null),g=(0,n.useRef)(null),v=(0,n.useRef)(null),[b,_]=(0,n.useState)(!1),[x,w]=(0,n.useState)(0);(0,n.useEffect)(()=>{let t=!0;return(async()=>{try{const n=await a.A.get(e.url+e.id),i=URL.createObjectURL(function(e){const t=e.split(","),r=t[0].match(/:(.*?);/)[1],n=atob(t[1]);let i=n.length;const o=new Uint8Array(i);for(;i--;)o[i]=n.charCodeAt(i);return new Blob([o],{type:r})}(n.data));if(!t)return void URL.revokeObjectURL(i);v.current=i,r(i),m(!1)}catch(e){t&&m(!0)}finally{t&&p(!1)}})(),()=>{t=!1,g.current&&cancelAnimationFrame(g.current),v.current&&(URL.revokeObjectURL(v.current),v.current=null)}},[e.url,e.id]),(0,n.useEffect)(()=>{const e=y.current;if(!e)return;const t=()=>{_(!1)},r=()=>{o(e.duration||0)};return e.addEventListener("ended",t),e.addEventListener("durationchange",r),()=>{e.removeEventListener("ended",t),e.removeEventListener("durationchange",r)}},[t]),(0,n.useEffect)(()=>{w(u)},[u]);const O=()=>{d(y.current.currentTime),requestAnimationFrame(O)},j=()=>{_(!b);const{current:{paused:e}}=y;e?(y.current.play(),g.current=requestAnimationFrame(O)):(y.current.pause(),cancelAnimationFrame(g.current))},S=e=>{const t=(e=>Math.floor(e/3600))(e),r=(e=>{const t=Math.floor(e%60);return t<10?`0${t}`:t})(e),n=((e,t)=>{const r=Math.floor(e%3600/60);return t&&r<10?`0${r}`:r})(e,t>0);return t>0?`${t}:${n}:${r}`:`${n}:${r}`},M=({target:{value:e}})=>{y.current.currentTime=+e,d(+e),w(+e)};let k=(0,c.jsx)("div",{children:"Loading...."});return k=h?(0,c.jsx)("div",{children:"Audio unavailable."}):f||i<=0?(0,c.jsx)("div",{children:"Loading...."}):(0,c.jsxs)("div",{className:"audio-player",children:[(0,c.jsx)("button",{className:"play-pause",type:"button",onClick:j,children:b?(0,c.jsx)(l.A,{}):(0,c.jsx)(s.A,{className:"play"})}),(0,c.jsx)("div",{className:"current-time",children:`${S(u)}`}),(0,c.jsx)("div",{className:"input-holder",children:(0,c.jsx)("input",{className:"progress-bar",type:"range",value:x,onChange:M,max:i,min:0,style:{"--seek-before-width":x/i*100+"%"}})}),(0,c.jsx)("div",{className:"duration",children:`${S(i)}`})]}),(0,c.jsxs)("div",{className:"trib-audio",children:[(0,c.jsx)("audio",{ref:y,kind:"captions",controls:!0,source:"true",src:t||void 0,type:"audio/mp3"}),k]})}u.propTypes={data:o().shape}.isRequired,t.A=u},8997:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"article-layout-no-top-ad",children:[(0,o.jsx)("header",{id:"navbar",children:t[0]}),(0,o.jsx)("div",{className:"scrollable-content",children:(0,o.jsx)("div",{className:"banner",children:t[1]})}),(0,o.jsx)("div",{className:"scrollable-content half-container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"full-width article-left-rail",children:(0,o.jsx)("div",{className:"vertical",children:t[2]})}),(0,o.jsx)("div",{className:"disappear",children:(0,o.jsx)("div",{className:"vertical",children:t[3]})})]})}),(0,o.jsx)("div",{className:"half-container",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-12",children:t[4]})})}),(0,o.jsx)("div",{id:"article-bottom",className:"half-container",children:t[5]}),(0,o.jsx)("div",{id:"the-latest",className:"half-container",children:(0,o.jsx)("div",{className:"the-latest-ap",children:t[6]})}),(0,o.jsx)("div",{id:"comments",className:"comments half-container",children:t[7]}),(0,o.jsx)("footer",{children:t[8]})]})}a.sections=["Header","Banner","Left column","Right column","Outbrain AD","Slider Ad","The Latest","Comments","Footer","Ads for galleries"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},76553:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"article-layout",children:[(0,o.jsx)("div",{id:"topAd",className:"ad",children:t[0]}),(0,o.jsx)("header",{id:"navbar",children:t[1]}),(0,o.jsx)("div",{className:"scrollable-content",children:(0,o.jsx)("div",{className:"banner",children:t[2]})}),(0,o.jsx)("div",{className:"scrollable-content half-container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"full-width article-left-rail",children:(0,o.jsx)("div",{className:"vertical",children:t[3]})}),(0,o.jsx)("div",{className:"disappear",children:(0,o.jsx)("div",{className:"vertical",children:t[4]})})]})}),(0,o.jsx)("div",{className:"half-container",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-12",children:t[5]})})}),(0,o.jsx)("div",{id:"article-bottom",className:"art-sld-ad",children:t[6]}),(0,o.jsx)("div",{id:"the-latest",className:"row half-container",children:(0,o.jsx)("div",{className:"the-latest-ap",children:t[7]})}),(0,o.jsx)("div",{id:"comments",className:"comments half-container",children:t[8]}),(0,o.jsx)("footer",{children:t[9]})]})}a.sections=["Top Ad","Header","Banner","Left column","Right column","Outbrain AD","Slider Ad","The Latest","Comments","Footer","Ads for galleries"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},53209:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"homepage-layout",children:[(0,o.jsx)("header",{id:"navbar",children:t[0]}),(0,o.jsxs)("div",{className:"scrollable-content",children:[(0,o.jsx)("section",{className:"homepage-section-tight",children:t[1]}),(0,o.jsx)("section",{className:"container homepage-section",children:t[2]}),(0,o.jsx)("section",{className:"container homepage-section",children:t[3]}),(0,o.jsx)("section",{className:"ad",children:t[4]}),(0,o.jsx)("section",{className:"container homepage-section column-section",children:t[5]}),(0,o.jsx)("section",{className:"container homepage-section column-section",children:t[6]}),(0,o.jsx)("section",{className:"container homepage-section",children:t[7]}),(0,o.jsx)("section",{className:"homepage-section",children:t[8]}),(0,o.jsx)("section",{className:"container homepage-section-tight mobile-ads",children:t[9]}),(0,o.jsx)("footer",{children:t[10]})]})]})}a.sections=["Header Navigation","Social Media + Masthead","Top Stories","3 Stories Row","Ad","Story Columns","Bagley","Video Feed","Reader Tools","Dynamic Ads","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},10459:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"homepage-layout",children:[(0,o.jsx)("div",{id:"topAd",className:"ad hidden-sm-down",children:t[0]}),(0,o.jsx)("header",{id:"navbar",children:t[1]}),(0,o.jsxs)("div",{className:"scrollable-content",children:[(0,o.jsx)("section",{className:"homepage-section-tight",children:t[2]}),(0,o.jsx)("section",{className:"container homepage-section",children:t[3]}),(0,o.jsx)("hr",{className:"homepage-section-separator"}),(0,o.jsx)("section",{className:"container homepage-section",children:t[4]}),(0,o.jsx)("section",{className:"homepage-ad-slot",children:t[5]}),(0,o.jsx)("section",{className:"container homepage-section column-section",children:t[6]}),(0,o.jsx)("section",{className:"container homepage-section column-section",children:t[7]}),(0,o.jsx)("section",{className:"container homepage-section",children:t[8]}),(0,o.jsx)("section",{className:"homepage-section",children:t[9]}),(0,o.jsx)("section",{className:"container homepage-section-tight mobile-ads",children:t[10]}),(0,o.jsx)("footer",{children:t[11]})]})]})}a.sections=["Top Ad","Header Navigation","Social Media + Masthead","Top Stories","3 Stories Row","Ad","Story Columns","Bagley","Video Feed","Reader Tools","Dynamic Ads","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},20556:function(e,t,r){"use strict";r.r(t);var n=r(4321),i=r(19894),o=r.n(i),a=r(34766);function s(e){const{children:t}=e,{metaValue:r}=(0,n.useAppContext)(),i=r("bgColor")||"#F7F7F7";return(0,a.jsxs)("div",{style:{backgroundColor:i},children:[(0,a.jsx)("div",{id:"topAd",className:"ad",children:t[0]}),(0,a.jsx)("header",{id:"navbar",children:t[1]}),(0,a.jsx)("header",{id:"innovation-logo",children:t[2]}),(0,a.jsxs)("div",{className:"scrollable-content",children:[(0,a.jsx)("section",{className:"container v-space",style:{maxWidth:"1200px",marginTop:"32px"},children:t[3]}),(0,a.jsx)("section",{className:"container v-space",style:{maxWidth:"100%"}}),(0,a.jsx)("footer",{children:t[4]})]})]})}s.sections=["Top Ad","Header Navigation","Main-1","Main-2","Footer"],s.propTypes={children:o().arrayOf(o().oneOfType([o().node])).isRequired},t.default=s},5489:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{children:[(0,o.jsx)("header",{id:"navbar-map-page",children:t[0]}),(0,o.jsx)("div",{className:"scrollable-content article-section",children:t[1]}),(0,o.jsx)("footer",{id:"footer-map-page",children:t[2]})]})}a.sections=["Header Navigation","Article Section","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},91065:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"search-result-layout",children:[(0,o.jsx)("header",{id:"navbar",children:t[0]}),(0,o.jsxs)("div",{className:"scrollable-content",children:[(0,o.jsx)("div",{className:"container",children:t[1]}),(0,o.jsx)("footer",{children:t[2]})]})]})}a.sections=["Header Navigation","Results","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},15561:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"shots-fired-page",children:[(0,o.jsx)("header",{id:"navbar",children:t[0]}),(0,o.jsx)("div",{className:"scrollable-content banner-section",children:t[1]}),(0,o.jsx)("div",{className:"scrollable-content video-section",children:t[2]}),(0,o.jsx)("div",{className:"scrollable-content articles-section",children:t[3]}),(0,o.jsx)("div",{className:"scrollable-content content-section",children:t[4]}),(0,o.jsx)("footer",{id:"footer",children:t[5]})]})}a.sections=["Header Navigation","Banner Section","Video Section","Articles Section","Content Section","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},94051:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"special-article-page",children:[(0,o.jsx)("header",{id:"navbar",children:t[0]}),(0,o.jsx)("div",{className:"scrollable-content hero-banner-section",children:t[1]}),(0,o.jsx)("div",{className:"scrollable-content video-section",children:t[2]}),(0,o.jsx)("div",{className:"scrollable-content text-section",children:t[3]}),(0,o.jsx)("div",{className:"scrollable-content grid-content-section",children:t[4]}),(0,o.jsx)("footer",{id:"footer",children:t[5]})]})}a.sections=["Header Navigation","Hero Banner Section","Video Section","Text Section","Grid Content Section","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},28067:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"fix-width-static",children:[(0,o.jsx)("div",{id:"topAd",className:"ad",children:t[0]}),(0,o.jsx)("header",{id:"navbar",children:t[1]}),(0,o.jsxs)("div",{className:"scrollable-content",children:[(0,o.jsx)("div",{className:"container",style:{maxWidth:"600px",margin:"auto",fontSize:"1rem"},children:t[2]}),(0,o.jsx)("footer",{children:t[3]})]})]})}a.sections=["Top Ad","Header Navigation","Static Feature Content","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},7761:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(75306),a=r.n(o),s=r(34766);function l(e){const{children:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{id:"navbar",children:t[0]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(a(),{children:t[1]}),(0,s.jsx)("footer",{children:t[2]})]})]})}l.sections=["Header Navigation","Static Feature Content","Footer"],l.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=l},82061:function(e,t,r){"use strict";r.r(t);var n=r(19894),i=r.n(n),o=r(34766);function a(e){const{children:t}=e;return(0,o.jsxs)("div",{className:"static-layout",children:[(0,o.jsx)("div",{id:"topAd",className:"ad",children:t[0]}),(0,o.jsx)("header",{id:"navbar",children:t[1]}),(0,o.jsxs)("div",{className:"scrollable-content",children:[(0,o.jsx)("div",{className:"container",children:t[2]}),(0,o.jsx)("footer",{children:t[3]})]})]})}a.sections=["Top Ad","Header Navigation","Static Feature Content","Footer"],a.propTypes={children:i().arrayOf(i().oneOfType([i().node])).isRequired},t.default=a},73360:function(e,t,r){"use strict";r.d(t,{F3:function(){return i},KM:function(){return a},UP:function(){return o},XZ:function(){return l},en:function(){return n},yu:function(){return s}});const n=(e,t)=>{const r={"/homepage/":"Home","/homepage":"Home",Home:"Home",news:"News_Section",sports:"Sports_Section",opinion:"Opinion_Section",religion:"Religion_Section",artsliving:"Arts_Living_Section","must-reads":"Must_Reads_Section","things-to-do-in-utah":"ThingsUtah_Section",search:"Search_Results",sponsored:"Sponsor",ticket:"Ticket_Section","/jazz/":"Sports_Section/Utah_Jazz","/utah-utes/":"Sports_Section/Utah_Utes","/byu-cougars/":"Sports_Section/BYU_Cougars","/rsl/":"Sports_Section/RSL","/utah-state-sports/":"Sports_Section/USU_Aggies","/high-school-sports/":"Sports_Section/High_School","/tag/recreation/":"Sports_Section/recreation","/ski-n-board/":"Sports_Section/ski-n-board","/education/":"News_Section/Education","/environment/":"News_Section/Environment","/health/":"News_Section/health","/politics/":"News_Section/politics","/nation-world/":"News_Section/Nation_World","/commentary/":"Opinion_Section/Commentary","/letters/":"Opinion_Section/Letters","/editorials/":"Opinion_Section/Editorials","/bagley/":"Opinion_Section/Bagley","/arts/":"Arts_Living_Section/Arts","/food/":"Arts_Living_Section/Food","/movies/":"Arts_Living_Section/Movies","/music/":"Arts_Living_Section/Music","/outdoors/":"Arts_Living_Section/Outdoors","/tv/":"Arts_Living_Section/TV","/utah-hockey-club/":"Sports_Section/Utah_Hockey","/crime/":"News_Section","/southern-utah/":"Southern_Utah","/cache-valley/":"Cache_Valley","/tag/cache-valley/":"Cache_Valley",default:"Default_Section"};let n="default";
153return Object.keys(r).forEach(e=>{t.includes(e)&&(n=e)}),"/"===t&&(n="Home"),`${e}/${r[n]}`},i=e=>{let t="";return 0===e.length?t:1===e.length?e[0].text:(e.forEach(e=>{t+=e.text+","}),t=t.slice(0,-1),t)},o=e=>{let t="";return 0===e.length?t:1===e.length?e[0].slug:(e.forEach(e=>{t+=e.slug+","}),t=t.slice(0,-1),t)},a=e=>{let t="";return 0===e.length?t:1===e.length?e[0]:(e.forEach(e=>{t+=e+","}),t=t.slice(0,-1),t)},s=(e,t,r,n)=>{const{smallValueId:i,mediumValueId:o,largeValueId:a}=t,{smallSize:s,mediumSize:l,largeSize:c}=t;let u="0x0",d="0x0",f="0x0";s&&(u=s),l&&(d=l),c&&(f=c);const[p,h]=u.split("x"),[m,y]=d.split("x"),[g,v]=f.split("x"),b={small:{width:p,height:h},medium:{width:m,height:y},large:{width:g,height:v}};"sltrib-promo-99"===e||"sltrib-promo-1"===e||"sltrib-promo-2"===e?googletag.cmd.push(()=>{googletag.pubads().setCentering(!0),googletag.pubads().collapseEmptyDivs(),googletag.pubads().enableAsyncRendering()}):googletag.cmd.push(()=>{googletag.pubads().setCentering(!0),googletag.pubads().collapseEmptyDivs(),googletag.pubads().enableAsyncRendering(),googletag.pubads().enableLazyLoad({fetchMarginPercent:150,renderMarginPercent:150,mobileScaling:1.5})});const _="SLT-NEW-POS",x=[i,o,a].filter(String),w=(e=>{const t=parseInt(e.small.width),r=parseInt(e.small.height),n=parseInt(e.medium.width),i=parseInt(e.medium.height),o=parseInt(e.large.width),a=parseInt(e.large.height);return googletag.sizeMapping().addSize([0,0],[t,r]).addSize([768,0],[n,i]).addSize([992,0],[o,a]).addSize([1200,0],[o,a]).build()})(b),O=[[160,600],[300,250],[300,600],[728,90],[970,250]];let j;return"'none'"===n?googletag.cmd.push(function(){j=googletag.defineSlot(r,O,e).setTargeting(_,x).setTargeting("div",e).defineSizeMapping(w).addService(googletag.pubads()),googletag.enableServices()}):googletag.cmd.push(function(){j=googletag.defineSlot(r,O,e).setTargeting(_,x).setTargeting("div",e).setTargeting("utah_contextual",n
153).defineSizeMapping(w).addService(googletag.pubads()),googletag.enableServices()}),googletag.cmd.push(function(){googletag.display(e)}),((e,t,r,n)=>{if("undefined"==typeof apstag)return;const i=window?.innerWidth,o=[],a=function(e,t){let r=[];return r=t>992?[e.large.width,e.large.height]:t>767?[e.medium.width,e.medium.height]:[e.small.width,e.small.height],r}(t,i),s=function(e,t){let r=[];return r=t>992?e[2]:t>767?e[1]:e[0],r}(r,i);o.push({slotID:e,slotName:n+"/"+s,sizes:[a]}),apstag.fetchBids({slots:o,timeout:2e3},e=>{googletag.cmd.push(()=>{apstag.setDisplayBids()})})})(e,b,x,r),j},l=e=>(googletag.cmd.push(function(){googletag.pubads().refresh([e])}),!0)},29851:function(e,t,r){"use strict";r.d(t,{EZ:function(){return s},Wb:function(){return u},p1:function(){return c},sx:function(){return l},yV:function(){return d}});var n=r(49789);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){let t=e||"";t||"undefined"==typeof window||(t=window.location.pathname||"");const r=t.split("?")[0].split("#")[0]||"/",n="/"===r?"/":r.replace(/\/$/,""),i="/"===n;return{isHomepage:i,pagePath:n||"unknown",sourcePage:i?"homepage":n||"unknown"}}function s(e,t={}){const{isHomepage:r,pagePath:n,sourcePage:s}=a(e);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({source_page:s,page_path:n,page_type:r?"homepage":"section-or-article"},t)}function l(e,t={}){if(e)try{n.A?.track?.(e,t)}catch(e){}}function c(e={}){try{n.A?.register?.(e)}catch(e){}}function u(e={}){try{n.A?.people?.set?.(e)}catch(e){}}function d(){try{return n.A&&n.A.get_distinct_id&&n.A.get_distinct_id()||null}catch(e){return null}}},15109:function(e,t,r){"use strict";r.d(t,{Cv:function(){return a},_H:function(){return i},nJ:function(){return o},v:function(){return n}});const n=(e,t,r,n=700)=>{const i=Number(e),o=Number(t);if(!i||!o||i<=0||o<=0)return null;if(o/i>2)return null;const a=Math.round(n*i/o);return a<r?a:null},i=(e,t)=>{const r=Number(t)>0?Number(t):1/0,n=[e,2*e].map(e=>Math.min(e,r));return[...new Set(n)].sort((e,t)=>e-t)},o=e=>`(max-width: 767px) 100vw, ${e}px`,a=e=>({"--art-display-width":`${e}px`})},52553:function(e,t,r){"use strict";r.d(t,{B:function(){return l},u:function(){return s}});var n=r(74043),i=r.n(n),o=r(94923);i().updateLocale("en",{meridiem:(e,t,r)=>e>=12?r?"p.m.":"P.M.":r?"a.m.":"A.M."});const a=e=>{const t=new Date(e);return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes()]},s=(e,t)=>{const[r,n,s,l,c]=a(e),[u,d,f,p,h]=a(t);if(r===u&&n===d&&s===f&&l===p&&c===h)return null;if(r===u&&n===d&&s===f)return i()(t).format(o.DC);const m=[2,3,4,5,6].includes(d)?o.gx:o.B9;return i()(t).format(m)},l=e=>{const t=a(e),r=[2,3,4,5,6].includes(t[1])?o.gx:o.B9;return i()(t).format(r)}},10808:function(e,t,r){"use strict";r.d(t,{B0:function(){return i},uU:function(){return n}});const n=(e,t)=>{if(0===e)return 0;const r=(e/t).toFixed(2);return Math.round(100*r)},i=e=>{let t=0;return e.ballotOptions.forEach(e=>{t+=e.voteCount}),t}},60661:function(e,t,r){"use strict";var n=r(60667),i=r.n(n),o=r(79634);t.A=()=>{if("undefined"==typeof window||!i().get("fp.user"))return"";const e=JSON.parse(i().get("fp.user")),t=e.id_token,r=(0,o.$n)(t).email;return e.email||r||""}},23874:function(e,t,r){"use strict";r.d(t,{$8:function(){return u},$X:function(){return n},FG:function(){return d},Kg:function(){return i},L:function(){return s},VI:function(){return l},XF:function(){return o}});r(43993),r(14375),r(26858);const n=(e,t,r,n)=>{if(!r||!t)return null;let i="https://sltrib-sandbox.cdn.arcpublishing.com/resizer/v2/";return"sltrib"===n&&(i="https://www.sltrib.com/resizer/v2/"),`${i}${t}?auth=${r}&width=${e}&quality=88`},i=(e,t,r,n,i)=>{if(!n||!r)return null;let o="https://sltrib-sandbox.cdn.arcpublishing.com/resizer/v2/";return"sltrib"===i&&(o="https://www.sltrib.com/resizer/v2/"),e?`${o}${r}?auth=${n}&height=${t}&quality=88`:`${o}${r}?auth=${n}&width=${t}&quality=88`},o=(e,t,r)=>{let n="https://sltrib-sandbox.cdn.arcpublishing.com/resizer/v2/";return"production"===document.getElementById("sltrib_ssc1").getAttribute("sltrib_deployment")&&(n="https://www.sltrib.com/resizer/v2/"),`${n}${encodeURIComponent(t)}?auth=${r}&width=${e}`},a=e=>{const t=e?e.focal_point:null;return!(t&&Number.isFinite(t.x)&&Number.isFinite(t.y))||0===t.x&&0===t.y?"smart=true":`focal=${t.x},${t.y}`},s=(e,t,r,n,i,o)=>
153{if(!n||!r)return null;let s="https://sltrib-sandbox.cdn.arcpublishing.com/resizer/v2/";return"sltrib"===i&&(s="https://www.sltrib.com/resizer/v2/"),`${s}${r}?auth=${n}&width=${e}&height=${t}&quality=88&${a(o)}`},l=(e,t,r,n,i,o,a=[1,2])=>n&&r?a.map(a=>`${s(e*a,t*a,r,n,i,o)} ${a}x`).join(", "):null,c=[480,768,1080,1440,2048],u=(e,t,r,i=c)=>t&&e?i.map(i=>`${n(i,e,t,r)} ${i}w`).join(", "):null,d={"Homepage main story":{width:"600",height:"400"},"3 stories in row":{width:"200",height:"133"},"Story in column":{width:"366",height:"244"},"Stories for ads":{width:"256",height:"152"},"Article Page":{width:"1024",height:"650"},"Bagley Carousel":{width:"400",height:"283"},"Bagley Article Page":{width:"1024",height:"725"},"Card large":{width:"782",height:"521"},"Card small":{width:"380",height:"224"}}},79634:function(e,t,r){"use strict";r.d(t,{$n:function(){return o},yv:function(){return i}});const{TextEncoder:n}=r(56848),i=e=>atob(e);function o(e){if(!e)return null;const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(window.atob(t).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return JSON.parse(r)}},94923:function(e,t,r){"use strict";r.d(t,{B9:function(){return d},DC:function(){return f},Ez:function(){return a},WX:function(){return h},ZU:function(){return l},gZ:function(){return i},gx:function(){return u},oG:function(){return p},vx:function(){return c}});var n=r(15074);const i=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});let o=0;const a=e=>{let t=!1;const r=document.getElementById("navbar");if(r){const i=r.offsetTop,a=(0,n.Ur)();let s=0;"mobile"===a&&(s=82),"tablet"===a&&(s=122),"desktop"===a&&(s=282),1===e&&(o=i),o<=32&&0===i&&e>s&&(o=s),e>i&&(r?(r.classList.add("sticky"),t=!0):t=!1),e<=o&&r&&r.classList.remove("sticky")}return{isSticky:t,window:window}};let s=0;const l=e=>{const t=document.getElementById("video-ad"),r=document.getElementById("navbar"),i=document.getElementById("article-bottom"),o=(0,n.Ur)();if(r&&t){const r=t.offsetTop;t&&"desktop"===o&&e>r&&(0===s&&(s=e),t.classList.add("sticky-video")),t&&"desktop"===o&&e<=s&&t.classList.remove("sticky-video")}i&&e>=i.offsetTop?t.classList.add("invisible-video"):t.classList.remove("invisible-video")},c=e=>{const t=document.getElementById("navbar");t&&(e-282>=72?t.classList.add("animate"):t.classList.remove("animate"))},u="MMMM D, YYYY, h:mm a",d="MMM. D, YYYY, h:mm a",f="h:mm a",p=(e,t)=>{const r=[...e],n=[];let i=0;return r.forEach((e,r)=>{i+=1,i===t&&(n.push(r),i=0)}),n.forEach((e,t)=>r.splice(e+t+1,0,{_id:`AD${t}`,renderAd:!0})),r},h=e=>{const t=[...e],r=[];let n=0;return t.forEach((e,t)=>{"text"===e.type?(n+=1,5===n&&(r.push(t),n=0)):n=0}),r.forEach((e,r)=>{t.splice(e+r+1,0,{_id:`AD${r}`,type:"ad",pos:r})}),t}},46182:function(e,t){"use strict";t.A={by:[{_id:1,name:"John Doe"},{_id:2,name:"Jane Doe 2"},{_id:3,name:"John Doe 3"},{_id:4,name:"Guest author",social_links:[]}]}},44003:function(e,t){"use strict";t.A=[{_id:1,headlines:{basic:"Coronavirus in Utah: Cities from Logan to St. George hit hard, as average cases topped 300 for the whole week"},credits:{by:[]}},{_id:2,headlines:{basic:"University of Utah doctor leads national study on COVID-19 and pregnancy"},credits:{by:[]}},{_id:3,headlines:{basic:"9 dead at Utah veterans home; another 295 coronavirus cases found statewide"},credits:{by:[]}},{_id:4,headlines:{basic:"State extends TestUtah contract despite lab violations in federal audit"},credits:{by:[]}},{_id:5,headlines:{basic:"South Salt Lake DMV closes after employee tests positive for COVID-19"},credits:{by:[]}}]},76706:function(e,t,r){"use strict";r.d(t,{Ei:function(){return i},FN:function(){return n}});const n={the_daily_buzz:{id:94727,pid:"QFHAPGAMFZDZ7CB4CIPHSE5TMM",title:"The Daily Buzz",description:"The Daily Buzz is Utahâs community conversation hub. From breaking news to political slow-burns, we cover what Utahns are actually saying about the stories shaping the state.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/QFHAPGAMFZDZ7CB4CIPHSE5TMM.jpg",analytics:"the-daily-buzz"},innovation_lab:{id:94733,pid:"JWTNWMANYJGGLNPC6OBALIXCVY",title:"Innovation Lab",description:"Twice a month, the Innovation Lab shares its work to find solutions to Utahâs most pressing challenges.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/JWTNWMANYJGGLNPC6OBALIXCVY.JPG",anal
153ytics:"innovation-lab"},eye_on_the_y:{id:94732,pid:"BQ3BN2FAZRGUBPPN3E7RE57X3Y",title:"Eye on the Y",description:"Every Thursday, Eye on the Y takes BYU fans behind the headlines for a deeper look at the Cougars.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/BQ3BN2FAZRGUBPPN3E7RE57X3Y.JPG",analytics:"eye-on-the-y"},how_bout_this_jazz:{id:94730,pid:"GXDMV5VMMNA3VKUFKO5LFLRIBE",title:"How 'Bout This Jazz",description:"Every week, the Tribuneâs Jazz reporting team shares their insights, analysis and even some hot takes.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/GXDMV5VMMNA3VKUFKO5LFLRIBE.JPG",analytics:"how-bout-this-jazz"},tribute:{id:94731,pid:"G6TKNS5RKBBXLCOSSQ3OLSSYUE",title:"The TribUte",description:"Sent Thursdays, TribUte is the go-to source for Utah sports fans who canât get enough of their favorite teams.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/G6TKNS5RKBBXLCOSSQ3OLSSYUE.JPG",analytics:"tribute"},breaking_news:{id:94726,pid:"RFNEI2NQ55EVFOM6Z3GT2ZHGXU",title:"News Alert",description:"When the most significant news breaks, the Tribune brings it straight to your inbox to keep you informed.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/RFNEI2NQ55EVFOM6Z3GT2ZHGXU.JPG",analytics:"breaking-news"},top_stories:{id:94725,pid:"DYX4HY2EEJC6NPXXJOLWCT262Y",title:"Top Stories",description:"Sent every morning, we bring you the dayâs biggest stories, quick hits and info you might have missed.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/DYX4HY2EEJC6NPXXJOLWCT262Y.JPG",analytics:"top-stories"},utah_eats:{id:94728,pid:"EE42HJTLXJAZRECIFMPH67LRB4",title:"Utah Eats",description:"Every Wednesday, we bring you what you need to know about Utahâs bar and restaurant scene.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/EE42HJTLXJAZRECIFMPH67LRB4.JPG",analytics:"utah-eats"},mormon_land:{id:94729,pid:"TLVNWQZXDZFCPJNJFJXPE6B6WY",title:"Mormon Land",description:"Sent Thursdays, we explore news in and about The Church of Jesus Christ of Latter-day Saints.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/TLVNWQZXDZFCPJNJFJXPE6B6WY.JPG",analytics:"mormon-land"},open_lands:{id:97158,pid:"SG4JA3T46VHXRFNK236B47UHII",title:"Open Lands",description:"A weekly newsletter watching Utah's most valuable resource.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/SG4JA3T46VHXRFNK236B47UHII.jpg",analytics:"open-lands"},eedition_email:{id:102103,pid:"XAQTBJ65ABDFBMATLMXE5CIOUY",title:"E-edition email notification",description:"A daily email that will notify you when the e-edition is available.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/XAQTBJ65ABDFBMATLMXE5CIOUY.jpg",analytics:"eedition-email"},obituaries:{id:103370,pid:"XFHVHKPZT5DMXDT4YKUP4R4ONM",title:"Obituaries Newsletter",description:"A Thursday email of The Salt Lake Tribune obituaries and death notices from funeral homes and families.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/resizer/iYlhcv2C0GC9gA15qvYONvcQVww=/arc-anglerfish-arc2-prod-sltrib/public/XFHVHKPZT5DMXDT4YKUP4R4ONM.jpeg",analytics:"obituaries"},new_to_utah:{id:115300,pid:"O4YZWSBTD5A5LOFR7PJBO3E4DQ",title:"New To Utah",description:"Twice a week, New to Utah newsletter takes you on a journey where youâll learn all the ins and outs of Utah.",imgUrl:"https://www.sltrib.com/resizer/FxVlIt-_hUikWgLL_VoFqhVIqtY=/arc-anglerfish-arc2-prod-sltrib/public/O4YZWSBTD5A5LOFR7PJBO3E4DQ.jpg",analytics:"new-to-utah"},inside_voices:{id:135325,pid:"QHBCV7QT35EKNCCZIDJWCM3KHY",title:"Inside Voices",description:"Inside Voices is a weekly collection of ideas, perspectives and solutions from across Utah",imgUrl:"https://www.sltrib.com/resizer/llOOUNPB3hcBbGp-CujFs4JNIzU=/arc-anglerfish-arc2-prod-sltrib/public/QHBCV7QT35EKNCCZIDJWCM3KHY.png",analytics:"inside-voices"},the_cache_crop:{id:148461,pid:"YAH6KED4G5BNDK4WIRCZQRYCQA",title:"The Cache Crop",description:"Love Cache Valley? So do we. Cache Valley news, stories and events straight to your inbox every week.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/YAH6KED4G5BNDK4WIRCZQRYCQA.png",analytics:"the-cache-crop"},red_rock_roundup:{id:171069,pid:"BCDOZ2GUANHARKXEU4W53ARQZ4",title:"Red Rock Roundup",description:"Get the Red Rock Roundup, your source for Washington County news every week.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/BCDOZ2GUANHARKXEU4W53ARQZ4.png",analytics:"red-rock-roundup"},moab_times:{id:117526,pid:"DE5JVKJKPVFG7INJEXIHZXRGWQ",title:"This Week in Moab",description:"A weekly roundup of the biggest local stories from The Times-Independent.",imgUrl:"https://cloudfront-us-east-1.images.arcpublishing.com/sltrib/DE5JVKJKPVFG7INJEXIHZXRGWQ.png",analytics:"moab-times"}},i=(e,t,r)=>{if(t)return{title:"The Cache Crop",id:148461,desc:"Cache Valley news, stories and events straight to your inbox every week.",landingPage:"/cache/",analytics:"the-cache-crop"};if(r)return{title:"Red Rock Roundup",id:171069,desc:"Get the Red Rock Roundup, your source for Washington County news every week.",landingPage:"/washington-county/",analytics:"red-rock-roundup"};let n={title:"Top Stories",id:94725,desc:"The dayâs biggest stories every morning, delivered right to your inbox.",landingPage:"/top-stories/",analytics:"top-stories"};return e?(e.includes("/sports/jazz")?n={title:"How 'Bout This Jazz",id:94730,desc:"Utah Jazz post-game analysis and hot takes from The Tribuneâs Andy Larsen.",landingPage:"/how-bout-this-jazz/",analytics:"how-bout-this-jazz"}:e.includes("/sports/byu-cougars")?n={title:"Eye on the Y",id:94732,desc:"Every Tuesday we take BYU Cougars fans behind the headlines.",landingPage:"/eye-on-the-y/",analytics:"eye-on-the-y"}:e.includes("/sports/utah-utes")?n={title:"The TribUte",id:94731,desc:"The go-to source for U. of U. sports fans, delivered every Friday.",landingPage:"/tribute/",analytics:"tribute"}:e.includes("/news/politics")?n={title:"The Daily Buzz",id:94727,desc:"Utahâs latest political news in your inbox every weekday evening.",landingPage:"/the-daily-buzz/",analytics:"the-daily-buzz"}:e.includes("/news/environment")?n={title:"Open Lands",id:97158,desc:"A weekly newsletter watching Utah's most valuable resource.",landingPage:"/open-lands/",analytics:"open-lands"}:e.includes("/religion")?n={title:"Mormon Land",id:94729,desc:"Explore the news and culture of The Church of Jesus Christ of Latter-day Saints every Thursday.",landingPage:"/mormon-land/",analytics:"mormon-land"}:e.includes("/opinion")?n={title:"Inside Voices",id:135325,desc:"A weekly collection of ideas, perspectives and s
153olutions from across Utah.",landingPage:"/inside-voices/",analytics:"inside-voices"}:e.includes("/artsliving")&&(n={title:"Utah Eats",id:94728,desc:"Every Wednesday, we bring you what you need to know about Utahâs bar and restaurant scene.",landingPage:"/utah-eats/",analytics:"utah-eats"}),n):n}},94873:function(e,t,r){"use strict";r.d(t,{M5:function(){return i}});const n=["article","section","homepage"],i=(e,t,r)=>{const i="function"==typeof e?e("adtype"):void 0;if(n.includes(i))return i;const o=(r||"").split("?")[0].split("#")[0];return o&&"/"!==o?t&&"story"===t.type?"article":"section":"homepage"}},15074:function(e,t,r){"use strict";r.d(t,{Qo:function(){return n},Ur:function(){return i}});const n=()=>{let e=0,t=0,r=0;"undefined"!=typeof window&&(e=window.innerWidth,t=window.innerHeight,r=window.pageYOffset);return{width:e,height:t,pageYOffset:r,isMobile:e<768,isTablet:e>=768&&e<=992,isDesktop:e>992}},i=()=>{let e=0;if("undefined"==typeof window)return"not-available";e=window.innerWidth;let t="mobile";return e>=768&&e<=992&&(t="tablet"),e>992&&(t="desktop"),t}},35330:function(e,t){"use strict";const r=[];[...Array(10).keys()].forEach(e=>{const t={_id:e,headlines:{basic:`This is the test element #${e} for the section pages component`},promo_items:{basic:{url:"https://placehold.co/300x180/png?text=SLTrib",caption:`test-${e}`}},credits:{by:[{name:"John Doe"}]},taxonomy:{primary_section:{name:"NEWS"}}};r.push(t)}),t.A=r},26858:function(e,t,r){"use strict";r.d(t,{EQ:function(){return u},IY:function(){return l},Jg:function(){return h},ZP:function(){return c},bH:function(){return p},iM:function(){return y},vz:function(){return g},xL:function(){return d},yx:function(){return m}});var n=r(74043),i=r.n(n);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>e.taxonomy&&e.taxonomy.sites?e.primary_section?e.primary_section.name:e.taxonomy.sites[0].name:"",c=e=>{const t=e.promo_items;if(!t||!t.basic||!t.basic.url){return{imgUrl:"https://placehold.co/600x450/png?text=The Salt Lake Tribune",alt:"No Image Available"}}const{url:r,alt_text:n,caption:i}=t.basic;return{imgUrl:r,alt:void 0===n?i:n}},u=e=>{if(!e.credits.by||0===e.credits.by.length)return"";if(e.credits.by.length>1&&e.credits.by.includes("Brought to you by"))return e.credits.by.map(e=>e.name).join(" | ");if(e.credits.by.length>1)return`By ${e.credits.by.map(e=>e.name).join(" | ")}`;const t=e.credits.by[0];return t.name.includes("Brought to you by")?t.name:`By ${t.name}`},d=e=>{const t=a({},e[0]);let r=0;if(!t.promo_items||!t.promo_items.basic||!t.promo_items.basic.url){const n=[...e];if(n.forEach((e,t)=>{0===r&&e.promo_items&&e.promo_items.basic&&e.promo_items.basic.url&&(r=t)}),r>0){const e=a({},n[r]);return n[0]=e,n[r]=t,n}return e}return e},f=e=>{const t="YYYY-MM-DDTHH:mm:ss.SSSZ";if(!e.last_updated_date)return i()(e.display_date,t).format("MMMM D, YYYY, h:mm a");return(new Date(e.last_updated_date)-new Date(e.display_date))/864e5<7?i()(e.last_updated_date,t).format("MMMM D, YYYY, h:mm a"):i()(e.display_date,t).format("MMMM D, YYYY, h:mm a")},p=e=>{let t="";if(!e||!e.taxonomy||!e.taxonomy.tags)return t;const r=e.taxonomy.tags;
153return 0!==r.length&&r?(r.forEach(e=>{"sponsored-content"===e.slug&&(t="SPONSORED")}),t):t},h=e=>{let t="";if(e.promo_items&&e.promo_items.basic&&e.promo_items.basic.url){t=e.promo_items.basic.url.split("/");return t[t.length-1]}return t},m=e=>{let t="/";e&&(t=e.split("/"));return t[t.length-1]},y=e=>{const t=e.promo_items?e.promo_items.basic:{url:"https://placehold.co/300x180/png?text=SLTrib",caption:""},r=u(e),n=f(e),i=e.headlines.basic,o=e&&e.subheadlines&&e.subheadlines.basic?e.subheadlines.basic:"";return[i,e.canonical_url,t,r,n,o,l(e)]},g=e=>{const t=e.promo_items?e.promo_items.basic:{url:"https://placehold.co/300x180/png?text=SLTrib",caption:""},r=u(e),n=f(e);return{title:e.headlines.basic,url:e.canonical_url,image:t,authors:r,date:n,section:l(e)}}},64006:function(e,t,r){"use strict";r.d(t,{Om:function(){return n},fy:function(){return o},w:function(){return i}});const n=e=>{let t=!1;return e?(e.forEach(e=>{"cache-valley"!==e.slug&&"cache-county"!==e.slug||(t=!0)}),t):t},i=e=>{let t=!1;return e?(e.forEach(e=>{"[email protected]"===e._id&&(t=!0)}),t):t},o=e=>{let t=!1;return e?(e.forEach(e=>{"southern-utah"===e.slug&&(t=!0)}),t):t}},9240:function(e,t,r){"use strict";r.d(t,{Dl:function(){return o},rR:function(){return a}});const n="take-action-signal",i=14;function o(e){try{const t=JSON.parse(localStorage.getItem(n)||"{}");localStorage.setItem(n,JSON.stringify({count:(Number(t.count)||0)+1,lastAt:(new Date).toISOString(),lastStoryId:e||""}))}catch(e){}}function a(e=i){try{const t=localStorage.getItem(n);if(!t)return!1;const r=new Date(JSON.parse(t).lastAt).getTime();return!!Number.isFinite(r)&&Date.now()-r<24*e*60*60*1e3}catch(e){return!1}}},36385:function(e,t,r){"use strict";var n=r(40809);t.A=()=>{const[e,t]=(0,n.useState)({windowWidth:-1,windowHeight:-1});return(0,n.useEffect)(()=>{let e;function r(){t({windowWidth:window.innerWidth,windowHeight:window.innerHeight})}function n(){clearTimeout(e),e=setTimeout(r,150)}return window.addEventListener("resize",n),r(),()=>{window.removeEventListener("resize",n),clearTimeout(e)}},[]),e}},5905:function(e,t,r){"use strict";var n=r(33781),i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},92831:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),u=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t);1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(c(e,s,s+a>l?l:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function c(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(l(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},51613:function(e,t,r){"use strict";var n=r(762),i=r(63767),o=r(23499),a=r(76068);e.exports=a||n.call(o,i)},56580:function(e,t,r){"use strict";var n=r(762),i=r(63767),o=r(51613);e.exports=function(){return o(n,i,arguments)}},63767:function(e){"use strict";e.exports=Function.prototype.apply},23499:function(e){"use strict";e.exports=Function.prototype.call},67255:function(e,t,r){"use strict";var n=r(762),i=r(14500),o=r(23499),a=r(51613);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},76068:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},74418:function(e,t,r){"use strict";var n=r(76088),i=r(67050),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},67050:function(e,t,r){"use strict";var n=r(36084),i=r(77572),o=r(67255),a=r(56580);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},30934:function(e,t,r){"use strict";var n=r(77572),i=r(76315),o=r(14500),a=r(43264);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");
153if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},21055:function(e,t,r){"use strict";var n,i=r(67255),o=r(43264);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},77572:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},61774:function(e){"use strict";e.exports=EvalError},64470:function(e){"use strict";e.exports=Error},25675:function(e){"use strict";e.exports=RangeError},84407:function(e){"use strict";e.exports=ReferenceError},76315:function(e){"use strict";e.exports=SyntaxError},14500:function(e){"use strict";e.exports=TypeError},90836:function(e){"use strict";e.exports=URIError},7909:function(e){"use strict";e.exports=Object},11401:function(e,t,r){"use strict";var n=r(51657),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===i.call(e)?function(e,t,r){for(var n=0,i=e.length;n<i;n++)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,a):"string"==typeof e?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(e,t,a):function(e,t,r){for(var n in e)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,a)}},36434:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r}(arguments,1),s=r(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=i.apply(this,n(a,arguments));return Object(t)===t?t:this}return i.apply(e,n(a,arguments))}),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o}},762:function(e,t,r){"use strict";var n=r(36434);e.exports=Function.prototype.bind||n},76088:function(e,t,r){"use strict";var n,i=r(7909),o=r(64470),a=r(61774),s=r(25675),l=r(84407),c=r(76315),u=r(14500),d=r(90836),f=r(79047),p=r(28601),h=r(39609),m=r(70331),y=r(88785),g=Function,v=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},b=r(43264),_=r(77572),x=function(){throw new u},w=b?function(){try{return x}catch(e){try{return b(arguments,"callee").get}catch(e){return x}}}():x,O=r(75486)(),j=r(21055),S="function"==typeof Reflect&&Reflect.getPrototypeOf||i.getPrototypeOf||j,M=r(63767),k=r(23499),P={},T="undefined"!=typeof Uint8Array&&S?S(Uint8Array):n,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":O&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":P,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
153IteratorPrototype%":O&&S?S(S([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&O&&S?S((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&O&&S?S((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&S?S(""[Symbol.iterator]()):n,"%Symbol%":O?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":w,"%TypedArray%":T,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":M,"%Object.defineProperty%":_,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":y};if(S)try{null.error}catch(e){var C=S(S(e));E["%Error.prototype%"]=C}var L=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&S&&(r=S(i.prototype))}return E[t]=r,r},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=r(762),I=r(64002),N=D.call(k,Array.prototype.concat),R=D.call(M,Array.prototype.splice),z=D.call(k,String.prototype.replace),F=D.call(k,String.prototype.slice),B=D.call(k,RegExp.prototype.exec),Y=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,H=function(e,t){var r,n=e;if(I(A,n)&&(n="%"+(r=A[n])[0]+"%"),I(E,n)){var i=E[n];if(i===P&&(i=L(n)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===B(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=F(e,0,1),r=F(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,Y,function(e,t,r,i){n[n.length]=r?z(i,U,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",i=H("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],R(r,N([0,1],l)));for(var d=1,f=!0;d<r.length;d+=1){var p=r[d],h=F(p,0,1),m=F(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new c("property names with quotes must have matching quotes");if("constructor"!==p&&f||(s=!0),I(E,o="%"+(n+="."+p)+"%"))a=E[o];
153else if(null!=a){if(!(p in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(b&&d+1>=r.length){var y=b(a,p);a=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else f=I(a,p),a=a[p];f&&!s&&(E[o]=a)}}return a}},55556:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},43264:function(e,t,r){"use strict";var n=r(55556);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},1503:function(e,t,r){"use strict";var n=r(77572),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},75486:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(59444);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},59444:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},67505:function(e,t,r){"use strict";var n=r(59444);e.exports=function(){return n()&&!!Symbol.toStringTag}},64002:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(762);e.exports=o.call(n,i)},4590:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=c}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*m}},50967:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},38131:function(e,t,r){"use strict";var n=r(67505)(),i=r(74418)("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},51657:function(e){"use strict";var t,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i(function(){throw 42},null,t)}catch(e){e!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var f=document.all;l.call(f)===l.call(document.all)&&(d=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}
153e.exports=i?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},8089:function(e,t,r){"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(67505)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!l)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&l(t)}return l(e)===n}},18991:function(e,t,r){"use strict";var n=r(87506);e.exports=function(e){return!!n(e)}},79047:function(e){"use strict";e.exports=Math.abs},28601:function(e){"use strict";e.exports=Math.floor},39609:function(e){"use strict";e.exports=Math.max},70331:function(e){"use strict";e.exports=Math.min},88785:function(e){"use strict";e.exports=Math.pow},72067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n,i={exports:{}},o=i.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var c,u=[],d=!1,f=-1;function p(){d&&c&&(d=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!d){var e=l(p);d=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function y(){}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new m(e,t)),1!==u.length||d||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};var v=i.exports.browser,b=g,_=i.exports.binding,x=g,w={},O=g,j=g,S=g,M=g,k=g,P="browser",T="browser",E="browser",C=[],L={nextTick:i.exports.nextTick,title:i.exports.title,browser:v,env:i.exports.env,argv:i.exports.argv,version:i.exports.version,versions:i.exports.versions,on:i.exports.on,addListener:i.exports.addListener,once:i.exports.once,off:i.exports.off,removeListener:i.exports.removeListener,removeAllListeners:i.exports.removeAllListeners,emit:i.exports.emit,emitWarning:b,prependListener:i.exports.prependListener,prependOnceListener:i.exports.prependOnceListener,listeners:i.exports.listeners,binding:_,cwd:i.exports.cwd,chdir:i.exports.chdir,umask:i.exports.umask,exit:x,pid:1,features:w,kill:O,dlopen:j,uptime:S,memoryUsage:M,uvCounters:k,platform:P,arch:T,execPath:E,execArgv:C};t.addListener=i.exports.addListener,t.arch=T,t.argv=i.exports.argv,t.binding=_,t.browser=v,t.chdir=i.exports.chdir,t.cwd=i.exports.cwd,t.default=L,t.dlopen=j,t.emit=i.exports.emit,t.emitWarning=b,t.env=i.exports.env,t.execArgv=C,t.execPath=E,t.exit=x,t.features=w,t.kill=O,t.listeners=i.exports.listeners,t.memoryUsage=M,t.nextTick=i.exports.nextTick,t.off=i.exports.off,t.on=i.exports.on,t.once=i.exports.once,t.pid=1,t.platform=P,t.prependListener=i.exports.prependListener,t.prependOnceListener=i.exports.prependOnceListener,t.removeAllListeners=i.exports.removeAllListeners,t.removeListener=i.exports.removeListener,t.title=i.exports.title,t.umask=i.exports.umask,t.uptime=S,t.uvCounters=k,t.version=i.exports.version,t.versions=i.exports.versions,t=e.exports=L},19974:function(e,t,r){"use strict";var n=r(92831),i=r(4590),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;var a=2147483647;function s(e){if(e>
vendor: 4,660 bytes, line 153
153a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|m(e,t),n=s(r),i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Y(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var i=function(e){if(l.isBuffer(e)){var t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||U(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(i)return n?-1:z(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return M(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return T(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),U(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=r;o<s;
vendor: 4,646 bytes, line 153
153o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(c(e,o+f)!==c(t,f)){d=!1;break}if(d)return o}return-1}function _(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(U(s))return a;e[r+a]=s}return a}function x(e,t,r,n){return B(z(t,e.length-r),e,r,n)}function w(e,t,r,n){return B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function O(e,t,r,n){return B(F(t),e,r,n)}function j(e,t,r,n){return B(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function M(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=k));return r}(n)}l.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}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Y(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Y(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.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}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(Y(o,Uint8Array))i+o.length>n.length?l.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new 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},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new 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},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new 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},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):y.apply(this,arguments)}
vendor: 9,884 bytes, line 153
153,l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(Y(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),u=e.slice(t,r),d=0;d<s;++d)if(c[d]!==u[d]){o=c[d],a=u[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return w(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=H[e[o]];return i}function C(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function L(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function A(e,t,r,n,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(e,t,r,n,o){return t=+t,r>>>=0,o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function N(e,t,r,n,o){return t=+t,r>>>=0,o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||L(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||A(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||A(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||A(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},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||A(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},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,e,t,r,i-1,-i)}var o=r-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+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||A(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},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||A(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},l.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return N(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return N(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;
153if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var R=/[^+/0-9A-Za-z-_]/g;function z(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Y(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function U(e){return e!=e}var H=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},33781:function(e){"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},36084:function(e,t,r){"use strict";var n=r(76088),i=r(30934),o=r(1503)(),a=r(43264),s=r(14500),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(c=!1)}return(n||c||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},62864:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},47331:function(e,t,r){"use strict";var n=r(38131),i=r(8089),o=r(87506),a=r(18991);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===u(e)}function v(e){return"[object Set]"===u(e)}function b(e){return"[object WeakMap]"===u(e)}function _(e){return"[object WeakSet]"===u(e)}function x(e){return"[object ArrayBuffer]"===u(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function O(e){return"[object DataView]"===u(e)}function j(e){return"undefined"!=typeof DataView&&(O.working?O(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||j(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)}
vendor: 9,113 bytes, line 153
153,g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=w,O.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&O(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=j;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function M(e){return"[object SharedArrayBuffer]"===u(e)}function k(e){return void 0!==S&&(void 0===M.working&&(M.working=M(new S)),M.working?M(e):e instanceof S)}function P(e){return y(e,d)}function T(e){return y(e,f)}function E(e){return y(e,p)}function C(e){return l&&y(e,h)}function L(e){return c&&y(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===u(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===u(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===u(e)},t.isGeneratorObject=function(e){return"[object Generator]"===u(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===u(e)},t.isNumberObject=P,t.isStringObject=T,t.isBooleanObject=E,t.isBigIntObject=C,t.isSymbolObject=L,t.isBoxedPrimitive=function(e){return P(e)||T(e)||E(e)||C(e)||L(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})},56848:function(e,t,r){var n=r(72067),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r<i;s=n[++r])g(s)||!w(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var l=n.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+l+"$","i")}function c(e,r){var n={seen:[],stylize:d};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),f(n,e,n.depth)}function u(e,t){var r=c.styles[t];return r?"�["+c.colors[r][0]+"m"+e+"�["+c.colors[r][1]+"m":e}function d(e,t){return e}function f(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=f(e,i,n)),i}var o=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),j(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(S(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(O(r))return e.stylize(Date.prototype.toString.call(r),"date");if(j(r))return p(r)}var c,u="",d=!1,w=["{","}"];(m(r)&&(d=!0,w=["[","]"]),S(r))&&(u=" [Function"+(r.name?": "+r.name:"")+"]");return x(r)&&(u=" "+RegExp.prototype.toString.call(r)),O(r)&&(u=" "+Date.prototype.toUTCString.call(r)),j(r)&&(u=" "+p(r)),0!==a.length||d&&0!=r.length?n<0?x(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=d?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)T(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))}),o}(e,r,n,s,a):a.map(function(t){return h(e,r,n,s,t,d)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,u,w)):w[0]+u+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=g(r)?f(e,l.value,null):f(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function _(e){return void 0===e}function x(e){return w(e)&&"[object RegExp]"===M(e)}function w(e){return"object"==typeof e&&null!==e}function O(e){return w(e)&&"[object Date]"===M(e)}function j(e){return w(e)&&("[object Error]"===M(e)||e instanceof Error)}function S(e){return"function"==typeof e}function M(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(47331),t.isArray=m,t.isBoolean=y,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=x,t.types.isRegExp=x,t.isObject=w,t.isDate=O,t.types.isDate=O,t.isError=j,t.types.isNativeError=j,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(62864);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(50967),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var E="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(E&&e[E]){var t;if("function"!=typeof(t=e[E]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,E,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),E&&Object.defineProperty(t,E,{value:t,enumerable:!1,writable:!1,
153configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=E,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then(function(e){n.nextTick(a.bind(null,null,e))},function(e){n.nextTick(C.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},87506:function(e,t,r){"use strict";var n=r(11401),i=r(5905),o=r(67050),a=r(74418),s=r(43264),l=a("Object.prototype.toString"),c=r(67505)(),u="undefined"==typeof globalThis?r.g:globalThis,d=i(),f=a("String.prototype.slice"),p=Object.getPrototypeOf,h=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},m={__proto__:null};n(d,c&&s&&p?function(e){var t=new u[e];if(Symbol.toStringTag in t){var r=p(t),n=s(r,Symbol.toStringTag);if(!n){var i=p(r);n=s(i,Symbol.toStringTag)}m["$"+e]=o(n.get)}}:function(e){var t=new u[e],r=t.slice||t.set;r&&(m["$"+e]=o(r))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=f(l(e),8,-1);return h(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(m,function(r,n){if(!t)try{r(e),t=f(n,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return n(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=f(n,1))}catch(e){}}),t}(e):null}},69389:function(e,t){"use strict";t.Y=(e,...t)=>setTimeout(e,0,...t)},79310:function(){},36338:function(){},19674:function(t){"use strict";t.exports=e},19894:function(e){"use strict";e.exports=t},40809:function(e){"use strict";e.exports=r},91565:function(e){"use strict";e.exports=n},14375:function(e){"use strict";e.exports=i},4321:function(e){"use strict";e.exports=o},92986:function(e){"use strict";e.exports=a},71592:function(e){"use strict";e.exports=s},59626:function(e){"use strict";e.exports=l},43993:function(e){"use strict";e.exports=c},87983:function(e){"use strict";e.exports=u},1534:function(e){"use strict";e.exports=d}},p={};function h(e){var t=p[e];if(void 0!==t)return t.exports;var r=p[e]={id:e,loaded:!1,exports:{}};return f[e].call(r.exports,r,r.exports,h),r.loaded=!0,r.exports}return h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},h.d=function(e,t){for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},h(10742)}()});
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.