@visitscotland/component-library
Version:
VisitScotland Component Library
1 lines • 823 kB
JavaScript
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3777],{2076:function(t,e,r){"use strict";var i=r(69675),n=r(6537),o=r(13541),a=r(52875),s=function(){try{return delete[].length,!0}catch(t){return!1}}();t.exports=function(t,e,r,u){if(!n(t))throw new i("Assertion failed: `O` must be an Object");if(!o(e))throw new i("Assertion failed: `P` must be a Property Key");if("boolean"!=typeof u)throw new i("Assertion failed: `Throw` must be a Boolean");if(u){if(t[e]=r,s&&!a(t[e],r))throw new i("Attempted to assign to readonly property.");return!0}try{return t[e]=r,!s||a(t[e],r)}catch(t){return!1}}},2138:function(t,e,r){"use strict";var i=r(70453),n=r(58068),o=r(69675),a=r(77440),s=i("%Uint8Array%",!0),u=r(27881),l=r(25910),c=r(65015),p=r(84670),h=r(37070),f=r(9957),d=r(64097),m=r(45100),y=r(53795);t.exports=function(t,e,r,i,g,v){var _=h(t);if(!p(t)&&!_)throw new o("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!a(e)||e<0)throw new o("Assertion failed: `byteIndex` must be a non-negative integer");if("string"!=typeof r||!f(d.size,"$"+r))throw new o("Assertion failed: `type` must be one of "+d.choices);if("number"!=typeof i&&"bigint"!=typeof i)throw new o("Assertion failed: `value` must be a Number or a BigInt");if("boolean"!=typeof g)throw new o("Assertion failed: `isTypedArray` must be a boolean");if("SEQ-CST"!==v&&"UNORDERED"!==v&&"INIT"!==v)throw new o('Assertion failed: `order` must be `"SEQ-CST"`, `"UNORDERED"`, or `"INIT"`');if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("Assertion failed: `isLittleEndian` must be a boolean, if present");if(l(t))throw new o("Assertion failed: ArrayBuffer is detached");if(u(r)?"bigint"!=typeof i:"number"!=typeof i)throw new o("Assertion failed: `value` must be a BigInt if type is ~BIGINT64~ or ~BIGUINT64~, otherwise a Number");var x=d.size["$"+r],b=c(r,i,arguments.length>6?arguments[6]:"little"===m);if(_)throw new n("SharedArrayBuffer is not supported by this implementation");var w=new s(t,e,x);y(b,(function(t,e){w[e]=t}))}},2905:function(t,e,r){var i=r(8186),n=r(62792),o=r(29883);n instanceof Function||(n=n.default),t.exports=function(t){if(!t)return[];var e=n(i(t)),r=[];return e.features.forEach((function(t){t.geometry&&(r=r.concat(o(t.geometry.coordinates)))})),r}},4742:function(t,e,r){"use strict";var i=r(58068),n=r(69675),o=r(77440),a=r(25767),s=r(64097);t.exports=function(t){var e=a(t);if(!e)throw new n("Assertion failed: `O` must be a TypedArray");var r=s.size["$"+s.name["$"+e]];if(!o(r)||r<0)throw new i("Assertion failed: Unknown TypedArray type `"+e+"`");return r}},4761:function(t,e,r){"use strict";var i=r(36556),n=i("String.prototype.valueOf"),o=i("Object.prototype.toString"),a=r(49092)();t.exports=function(t){return"string"==typeof t||!(!t||"object"!=typeof t)&&(a?function(t){try{return n(t),!0}catch(t){return!1}}(t):"[object String]"===o(t))}},4915:function(t,e,r){"use strict";var i=r(75880);t.exports=function(t){var e=128&t[3]?-1:1,r=(127&t[3])<<1|t[2]>>7,n=(127&t[2])<<16|t[1]<<8|t[0];return 0===r&&0===n?1===e?0:-0:255===r&&0===n?1===e?1/0:-1/0:255===r&&0!==n?NaN:-127==(r-=127)?e*n*i(2,-149):e*(1+n*i(2,-23))*i(2,r)}},5388:function(t,e,r){"use strict";var i=r(69675);t.exports=function(t){if(null==t)throw new i(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t}},6537:function(t){"use strict";t.exports=function(t){return!!t&&("function"==typeof t||"object"==typeof t)}},6575:function(t,e,r){"use strict";var i=r(69675),n=r(36556),o=n("%ArrayBuffer.prototype.resizable%",!0),a=n("%SharedArrayBuffer.prototype.growable%",!0),s=r(84670),u=r(37070);t.exports=function(t){var e=s(t),r=u(t);if(!e&&!r)throw new i("Assertion failed: `arrayBuffer` must be an ArrayBuffer or SharedArrayBuffer");return e&&o?!o(t):!r||!a||!a(t)}},6966:function(t,e,r){"use strict";t.exports=r(69600)},8186:function(t){t.exports=function(t){if(!t||!t.type)return null;var r=e[t.type];return r?"geometry"===r?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===r?{type:"FeatureCollection",features:[t]}:"featurecollection"===r?t:void 0:null};var e={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"}},8410:function(t,e,r){"use strict";var i=r(70453),n=r(69675),o=i("%Number%"),a=r(86600),s=r(10866),u=r(8679);t.exports=function(t){var e=a(t)?t:s(t,o);if("symbol"==typeof e)throw new n("Cannot convert a Symbol value to a number");if("bigint"==typeof e)throw new n("Conversion from 'BigInt' to 'number' is not allowed.");return"string"==typeof e?u(e):+e}},8679:function(t,e,r){"use strict";var i=r(70453),n=i("%RegExp%"),o=r(69675),a=i("%parseInt%"),s=r(36556),u=r(99721),l=s("String.prototype.slice"),c=u(/^0b[01]+$/i),p=u(/^0o[0-7]+$/i),h=u(/^[-+]0x[0-9a-f]+$/i),f=u(new n("["+["
","",""].join("")+"]","g")),d=r(20214);t.exports=function t(e){if("string"!=typeof e)throw new o("Assertion failed: `argument` is not a String");if(c(e))return+a(l(e,2),2);if(p(e))return+a(l(e,2),8);if(f(e)||h(e))return NaN;var r=d(e);return r!==e?t(r):+e}},9693:function(t,e,r){"use strict";var i=r(70453)("%BigInt%",!0),n=r(69675),o=r(58068);t.exports=function(t){if("string"!=typeof t)throw new n("`argument` must be a string");if(!i)throw new o("BigInts are not supported in this environment");try{return i(t)}catch(t){return}}},10533:function(t,e,r){"use strict";t.exports=r(21412)},10866:function(t,e,r){"use strict";var i=r(95437);t.exports=function(t){return arguments.length>1?i(t,arguments[1]):i(t)}},11087:function(t,e,r){"use strict";t.exports=r(77440)},12648:function(t,e,r){"use strict";var i=r(70453),n=r(36556),o=i("%WeakSet%",!0),a=n("WeakSet.prototype.has",!0);if(a){var s=n("WeakMap.prototype.has",!0);t.exports=function(t){if(!t||"object"!=typeof t)return!1;try{if(a(t,a),s)try{s(t,s)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else t.exports=function(t){return!1}},13541:function(t){"use strict";t.exports=function(t){return"string"==typeof t||"symbol"==typeof t}},13557:function(t,e,r){"use strict";var i=r(54224),n=r(8410),o=r(63384),a=r(63331);t.exports=function(t){var e=n(t);if(!a(e)||0===e)return 0;var r=o(e),s=i(r,65536);return s>=32768?s-65536:s}},17030:function(t,e,r){"use strict";var i=r(69675),n=r(55701),o=r(52997);t.exports=function(t){if(void 0!==t&&!n(t))throw new i("Assertion failed: `Desc` must be a Property Descriptor");return o(t)}},17057:function(t,e,r){"use strict";var i=r(58068),n=r(69675),o=r(25767),a=r(39209)(),s=r(10533),u=r(17732),l=r(19531),c=r(82697);t.exports=function(t,e){if(0===a.length)throw new i("Assertion failed: Typed Arrays are not supported in this environment");var r=o(t);if(!r)throw new n("Assertion failed: exemplar must be a TypedArray");if(!s(e))throw new n("Assertion failed: `argumentList` must be a List");var p=c(r);if("function"!=typeof p)throw new i("Assertion failed: `constructor` of `exemplar` ("+r+") must exist. Please report this!");var h=u(t,p);return l(h,e)}},17732:function(t,e,r){"use strict";var i=r(70453)("%Symbol.species%",!0),n=r(69675),o=r(6537),a=r(34528);t.exports=function(t,e){if(!o(t))throw new n("Assertion failed: Type(O) is not Object");var r=t.constructor;if(void 0===r)return e;if(!o(r))throw new n("O.constructor is not an Object");var s=i?r[i]:void 0;if(null==s)return e;if(a(s))return s;throw new n("no constructor found")}},18173:function(t,e,r){"use strict";var i=r(36556)("WeakRef.prototype.deref",!0);t.exports="undefined"==typeof WeakRef?function(t){return!1}:function(t){if(!t||"object"!=typeof t)return!1;try{return i(t),!0}catch(t){return!1}}},18968:function(t,e,r){"use strict";var i=r(75880);t.exports=function(t){var e=128&t[7]?-1:1,r=(127&t[7])<<4|(240&t[6])>>4,n=281474976710656*(15&t[6])+1099511627776*t[5]+4294967296*t[4]+16777216*t[3]+65536*t[2]+256*t[1]+t[0];return 0===r&&0===n?0*e:2047===r&&0!==n?NaN:2047===r&&0===n?e*(1/0):-1023==(r-=1023)?e*n*5e-324:e*(1+n/4503599627370496)*i(2,r)}},19511:function(t,e,r){"use strict";var i=r(36556)("ArrayBuffer.prototype.byteLength",!0),n=r(84670);t.exports=function(t){return n(t)?i?i(t):t.byteLength:NaN}},19531:function(t,e,r){"use strict";var i=r(58068),n=r(69675),o=r(10533),a=r(34528),s=r(45291),u=r(21652),l=r(91509),c=r(39209)();t.exports=function(t,e){if(!a(t))throw new n("Assertion failed: `constructor` must be a constructor");if(!o(e))throw new n("Assertion failed: `argumentList` must be a List");if(0===c.length)throw new i("Assertion failed: Typed Arrays are not supported in this environment");var r;r=0===e.length?new t:1===e.length?new t(e[0]):2===e.length?new t(e[0],e[1]):new t(e[0],e[1],e[2]);var p=l(r,"SEQ-CST");if(1===e.length&&"number"==typeof e[0]){if(s(p))throw new n("new Typed Array is out of bounds");if(u(p)<e[0])throw new n("`argumentList[0]` must be <= `newTypedArray.length`")}return r}},19723:function(t,e,r){"use strict";var i=r(81539),n=r(60593),o=r(25767),a=r(64634),s=r(62120),u=r(14035),l=r(18173),c=r(23811),p=r(21482),h=r(48184),f=r(45351),d=r(36556),m=r(49092)()&&Symbol.toStringTag,y=Object,g=d("Promise.prototype.then",!0),v=function(t){return!!t&&"BigInt"!==t&&"Boolean"!==t&&"Null"!==t&&"Number"!==t&&"String"!==t&&"Symbol"!==t&&"Undefined"!==t&&"Math"!==t&&"JSON"!==t&&"Reflect"!==t&&"Atomics"!==t&&"Map"!==t&&"Set"!==t&&"WeakMap"!==t&&"WeakSet"!==t&&"BigInt64Array"!==t&&"BigUint64Array"!==t&&"Float32Array"!==t&&"Float64Array"!==t&&"Int16Array"!==t&&"Int32Array"!==t&&"Int8Array"!==t&&"Uint16Array"!==t&&"Uint32Array"!==t&&"Uint8Array"!==t&&"Uint8ClampedArray"!==t&&"Array"!==t&&"Date"!==t&&"FinalizationRegistry"!==t&&"Promise"!==t&&"RegExp"!==t&&"WeakRef"!==t&&"Function"!==t&&"GeneratorFunction"!==t&&"AsyncFunction"!==t};t.exports=function(t){if(null==t)return t;var e=i(y(t))||n(t)||o(t);if(e)return e;if(a(t))return"Array";if(s(t))return"Date";if(u(t))return"RegExp";if(l(t))return"WeakRef";if(c(t))return"FinalizationRegistry";if("function"==typeof t)return h(t)?"GeneratorFunction":f(t)?"AsyncFunction":"Function";if(function(t){if(!t||"object"!=typeof t||!g)return!1;try{return g(t,null,(function(){})),!0}catch(t){}return!1}(t))return"Promise";if(m&&m in t){var r=t[m];if(v(r))return r}if("function"==typeof t.constructor){var d=p(t.constructor);if(v(d))return d}return"Object"}},19887:function(t,e,r){"use strict";var i=r(70453)("%BigInt%",!0),n=r(75880),o=r(22964),a=r(99969),s=r(40122),u=i&&BigInt(n(2,32))*BigInt(n(2,32));t.exports=function(t){var e=o(t);return s(a,e,u)}},20214:function(t,e,r){"use strict";var i=r(10487),n=r(38452),o=r(5388),a=r(68206),s=r(74895),u=r(79377),l=i(s()),c=function(t){return o(t),l(t)};n(c,{getPolyfill:s,implementation:a,shim:u}),t.exports=c},21412:function(t,e,r){"use strict";var i=r(70453)("%Array%"),n=!i.isArray&&r(36556)("Object.prototype.toString");t.exports=i.isArray||function(t){return"[object Array]"===n(t)}},21482:function(t,e,r){"use strict";var i=r(38452),n=r(10487),o=r(60034),a=r(92747),s=r(68013),u=n(o);i(u,{getPolyfill:a,implementation:o,shim:s}),t.exports=u},21652:function(t,e,r){"use strict";var i=r(69675),n=r(55986),o=r(6575),a=r(45291),s=r(4742),u=r(69346),l=r(74372),c=r(72308),p=r(66058);t.exports=function(t){if(!u(t))throw new i("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");if(a(t))throw new i("Assertion failed: `taRecord` is out of bounds");var e=t["[[Object]]"],r=o(l(e)),h=r?p(e):"AUTO";if("AUTO"!==h)return h;if(r)throw new i("Assertion failed: array buffer is not fixed length");var f=c(e),d=s(e),m=t["[[CachedBufferByteLength]]"];if("DETACHED"===m)throw new i("Assertion failed: typed array is detached");return n((m-f)/d)}},21703:function(t,e,r){"use strict";var i=r(36556),n=i("Number.prototype.toString"),o=i("Object.prototype.toString"),a=r(49092)();t.exports=function(t){return"number"==typeof t||!(!t||"object"!=typeof t)&&(a?function(t){try{return n(t),!0}catch(t){return!1}}(t):"[object Number]"===o(t))}},22964:function(t,e,r){"use strict";var i=r(70453),n=i("%BigInt%",!0),o=i("%Number%"),a=r(69675),s=r(58068),u=r(9693),l=r(10866);t.exports=function(t){if(!n)throw new s("BigInts are not supported in this environment");var e=l(t,o);if(null==e)throw new a("Cannot convert null or undefined to a BigInt");if("boolean"==typeof e)return n(e?1:0);if("number"==typeof e)throw new a("Cannot convert a Number value to a BigInt");if("string"==typeof e){var r=u(e);if(void 0===r)throw new a("Failed to parse String to BigInt");return r}if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a BigInt");if("bigint"!=typeof e)throw new s("Assertion failed: unknown primitive type");return e}},23811:function(t,e,r){"use strict";var i=r(36556)("FinalizationRegistry.prototype.register",!0);t.exports=i?function(t){if(!t||"object"!=typeof t)return!1;try{return i(t,{},null),!0}catch(t){return!1}}:function(t){return!1}},24751:function(t,e,r){"use strict";var i=r(70453),n=i("%Number%"),o=i("%BigInt%",!0);t.exports=function(t,e,r){var i="bigint"==typeof t?o:n;t<0&&(t>>>=0);for(var a=[],s=0;s<e;s++)a[r?s:e-1-s]=n(t&i(255)),t>>=i(8);return a}},24810:function(t,e,r){"use strict";var i=r(70453)("%String%"),n=r(69675);t.exports=function(t){if("symbol"==typeof t)throw new n("Cannot convert a Symbol value to a string");return i(t)}},25879:function(t,e,r){var i=r(2905),n=r(36623),o=r(65233),a={features:["FeatureCollection"],coordinates:["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],geometry:["Feature"],geometries:["GeometryCollection"]},s=Object.keys(a);function u(t){for(var e=o(),r=i(t),n=0;n<r.length;n++)e.include(r[n]);return e}t.exports=function(t){return u(t).bbox()},t.exports.polygon=function(t){return u(t).polygon()},t.exports.bboxify=function(t){return n(t).map((function(t){t&&s.some((function(e){return!!t[e]&&-1!==a[e].indexOf(t.type)}))&&(t.bbox=u(t).bbox(),this.update(t))}))}},25910:function(t,e,r){"use strict";var i=r(69675),n=r(19511),o=r(39209)(),a=r(36556),s=r(84670),u=r(37070),l=a("SharedArrayBuffer.prototype.byteLength",!0);t.exports=function(t){var e=u(t);if(!s(t)&&!e)throw new i("Assertion failed: `arrayBuffer` must be an Object with an [[ArrayBufferData]] internal slot");if(0===(e?l:n)(t))try{new r.g[o[0]](t)}catch(t){return!!t&&"TypeError"===t.name}return!1}},26419:function(t,e,r){"use strict";var i=r(58068),n=r(69675),o=r(25767),a=r(64097);t.exports=function(t){var e=o(t);if(!e)throw new n("Assertion failed: `O` must be a TypedArray");var r=a.name["$"+e];if("string"!=typeof r)throw new i("Assertion failed: Unknown TypedArray type `"+e+"`");return r}},27149:function(t,e,r){"use strict";var i=r(69675),n=r(25910),o=r(84670),a=r(37070),s=r(19511),u=r(36556)("SharedArrayBuffer.prototype.byteLength",!0);t.exports=function(t,e){var r=a(t);if(!o(t)&&!r)throw new i("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if("SEQ-CST"!==e&&"UNORDERED"!==e)throw new i("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(n(t))throw new i("Assertion failed: `arrayBuffer` must not be detached");return r?u(t):s(t)}},27881:function(t){"use strict";t.exports=function(t){return"BIGUINT64"===t||"BIGINT64"===t}},28131:function(t,e,r){"use strict";var i=r(69675),n=r(9957),o=r(55701);t.exports=function(t){if(void 0===t)return!1;if(!o(t))throw new i("Assertion failed: `Desc` must be a Property Descriptor");return!(!n(t,"[[Value]]")&&!n(t,"[[Writable]]"))}},28894:function(t,e,r){"use strict";var i=r(70453)("%parseInt%"),n=r(71514),o=r(58968),a=r(98017),s=r(36556),u=s("String.prototype.indexOf"),l=s("String.prototype.slice"),c=r(99154),p=r(68213),h="11111111111",f="00000000000",d=f+f+f+f+"0000000";t.exports=function(t,e){var r,s,m=t<0||a(t)?"1":"0";if(isNaN(t))r=h,s="1"+d;else if(isFinite(t))if(0===t)r=f,s="0"+d;else{t=n(t);var y,g=o(t),v=p(g),_=c(t-g);if(v)r=v.length-1;else{var x=u(_,"1");x>-1&&(y=x+1),r=-y}s=v+_,r<0?(r<=-1023&&(y=1022),s=l(s,y)):s=l(s,1),r=l(f+p(r+1023),-11),s=l(s+d+"0",0,52)}else r=h,s="0"+d;for(var b=m+r+s,w=[],S=0;S<8;S++)w[e?8-S-1:S]=i(l(b,8*S,8*(S+1)),2);return w}},29790:function(t){"use strict";var e="undefined"!=typeof BigInt&&BigInt;t.exports=function(){return"function"==typeof e&&"function"==typeof BigInt&&"bigint"==typeof e(42)&&"bigint"==typeof BigInt(42)}},29883:function(t){t.exports=function(t){return function t(e){return Array.isArray(e)&&e.length&&"number"==typeof e[0]?[e]:e.reduce((function(e,r){return Array.isArray(r)&&Array.isArray(r[0])?e.concat(t(r)):(e.push(r),e)}),[])}(t)}},30113:function(t,e,r){"use strict";t.exports=r(81350)},32779:function(t,e,r){"use strict";var i=r(71514),n=r(58968),o=r(75880),a=r(63331),s=r(94459),u=r(98017);t.exports=function(t,e){if(s(t))return e?[0,0,192,127]:[127,192,0,0];var r;if(0===t)return r=u(t)?128:0,e?[0,0,0,r]:[r,0,0,0];if(i(t)>34028234663852886e22||!a(t))return r=t<0?255:127,e?[0,0,128,r]:[r,128,0,0];var l=t<0?1:0;t=i(t);for(var c=0;t>=2;)c+=1,t/=2;for(;t<1;)c-=1,t*=2;var p=t-1;p*=o(2,23)+.5,c+=127;var h=l<<31|(c<<=23)|(p=n(p)),f=255&h,d=255&(h>>=8),m=255&(h>>=8),y=255&(h>>=8);return e?[f,d,m,y]:[y,m,d,f]}},34528:function(t,e,r){"use strict";var i=r(61376)("%Reflect.construct%",!0),n=r(90893);try{n({},"",{"[[Get]]":function(){}})}catch(t){n=null}if(n&&i){var o={},a={};n(a,"length",{"[[Get]]":function(){throw o},"[[Enumerable]]":!0}),t.exports=function(t){try{i(t,a)}catch(t){return t===o}}}else t.exports=function(t){return"function"==typeof t&&!!t.prototype}},34770:function(t,e,r){"use strict";var i=r(54224),n=r(8410),o=r(63384),a=r(63331);t.exports=function(t){var e=n(t);if(!a(e)||0===e)return 0;var r=o(e),s=i(r,4294967296);return 0===s?0:s}},36039:function(t,e,r){"use strict";var i=r(63331),n=r(54224),o=r(8410),a=r(63384);t.exports=function(t){var e=o(t);if(!i(e)||0===e)return 0;var r=a(e);return n(r,256)}},36268:function(t,e,r){"use strict";var i=r(70453),n=r(6966),o=r(92702),a=r(19723),s=r(69675),u=r(93628),l=r(79612);t.exports=function(t){if(!o(t))throw new s("Reflect.getPrototypeOf called on non-object");if(u)return u(t);var e=a(t);if(e){var r=i("%"+e+".prototype%",!0);if(r)return r}return n(t.constructor)?t.constructor.prototype:t instanceof Object?l.prototype:null}},36623:function(t,e,r){"use strict";var i=r(25767),n=r(53432),o=r(75795);function a(t){return Object.prototype.toString.call(t)}var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function u(t,e){if(t.forEach)return t.forEach(e);for(var r=0;r<t.length;r++)e(t[r],r,t)}var l=Object.keys||function(t){var e=[];for(var r in t)e[e.length]=r;return e},c=Object.prototype.propertyIsEnumerable,p=Object.getOwnPropertySymbols;function h(t){var e=l(t);if(p)for(var r=p(t),i=0;i<r.length;i++)c.call(t,r[i])&&(e[e.length]=r[i]);return e}var f=Object.prototype.hasOwnProperty||function(t,e){return e in t};function d(t,e){if("object"==typeof t&&null!==t){var r;if(s(t))r=[];else if("[object Date]"===a(t))r=new Date(t.getTime?t.getTime():t);else if("[object RegExp]"===a(t))r=new RegExp(t);else if(function(t){return"[object Error]"===a(t)}(t))r={message:t.message};else if(function(t){return"[object Boolean]"===a(t)}(t)||function(t){return"[object Number]"===a(t)}(t)||function(t){return"[object String]"===a(t)}(t))r=Object(t);else{if(i(t))return n(t);if(Object.create&&Object.getPrototypeOf)r=Object.create(Object.getPrototypeOf(t));else if(t.constructor===Object)r={};else{var o=t.constructor&&t.constructor.prototype||t.__proto__||{},c=function(){};c.prototype=o,r=new c}}return u((e.includeSymbols?h:l)(t),(function(e){r[e]=t[e]})),r}return t}var m={__proto__:null};function y(t,e){var r=[],i=[],n=!0,a=arguments.length>2?arguments[2]:m,c=a.includeSymbols?h:l,p=!!a.immutable;return function t(l){var h=p?d(l,a):l,m={__proto__:null},y=!0,g={node:h,node_:l,path:[].concat(r),parent:i[i.length-1],parents:i,key:r[r.length-1],removedKeys:{__proto__:null},isRoot:0===r.length,level:r.length,circular:null,update:function(t,e){g.isRoot||(g.parent.node[g.key]=t),g.node=t,e&&(y=!1)},delete:function(t){delete g.parent.node[g.key],g.parent.removedKeys[g.key]=!0,t&&(y=!1)},remove:function(t){s(g.parent.node)?(g.parent.node.splice(g.key,1),g.parent.removedKeys[g.key]=!0,t&&(y=!1)):g.delete(t)},keys:null,before:function(t){m.before=t},after:function(t){m.after=t},pre:function(t){m.pre=t},post:function(t){m.post=t},stop:function(){n=!1},block:function(){y=!1}};if(!n)return g;function v(){if("object"==typeof g.node&&null!==g.node){g.keys&&g.node_===g.node||(g.keys=c(g.node)),g.isLeaf=0===g.keys.length;for(var t=0;t<i.length;t++)if(i[t].node_===l){g.circular=i[t];break}}else g.isLeaf=!0,g.keys=null;g.notLeaf=!g.isLeaf,g.notRoot=!g.isRoot}v();var _=e.call(g,g.node);return void 0!==_&&g.update&&g.update(_),m.before&&m.before.call(g,g.node),y?("object"!=typeof g.node||null===g.node||g.circular||(i[i.length]=g,v(),u(g.keys,(function(e,i){var n=i-1 in g.removedKeys;n&&(e=g.keys[i-1]),r[r.length]=e,m.pre&&m.pre.call(g,g.node[e],e);var a=t(g.node[e]);p&&f.call(g.node,e)&&!function(t,e){if("function"!=typeof o)return!0;var r=o(t,e);return!r||!r.writable}(g.node,e)&&!n&&(g.node[e]=a.node),a.isLast=i===g.keys.length-1,a.isFirst=0===i,m.post&&m.post.call(g,a),r.pop()})),i.pop()),m.after&&m.after.call(g,g.node),g):g}(t).node}function g(t){this.options=arguments.length>1?arguments[1]:m,this.value=t}function v(t){return new g(t,arguments.length>1?arguments[1]:m)}g.prototype.get=function(t){for(var e=this.value,r=0;e&&r<t.length;r++){var i=t[r];if(!f.call(e,i)||!this.options.includeSymbols&&"symbol"==typeof i)return;e=e[i]}return e},g.prototype.has=function(t){var e=this.value;if(!e&&t.length>0)return!1;for(var r=0;e&&r<t.length;r++){var i=t[r];if(!f.call(e,i)||!this.options.includeSymbols&&"symbol"==typeof i)return!1;e=e[i]}return!0},g.prototype.set=function(t,e){for(var r=this.value,i=0;i<t.length-1;i++){var n=t[i];f.call(r,n)||(r[n]={}),r=r[n]}return r[t[i]]=e,e},g.prototype.map=function(t){return y(this.value,t,{__proto__:null,immutable:!0,includeSymbols:!!this.options.includeSymbols})},g.prototype.forEach=function(t){return this.value=y(this.value,t,this.options),this.value},g.prototype.reduce=function(t,e){var r=1===arguments.length,i=r?this.value:e;return this.forEach((function(e){this.isRoot&&r||(i=t.call(this,i,e))})),i},g.prototype.paths=function(){var t=[];return this.forEach((function(){t[t.length]=this.path})),t},g.prototype.nodes=function(){var t=[];return this.forEach((function(){t[t.length]=this.node})),t},g.prototype.clone=function(){var t=[],e=[],r=this.options;return i(this.value)?n(this.value):function i(n){for(var o=0;o<t.length;o++)if(t[o]===n)return e[o];if("object"==typeof n&&null!==n){var a=d(n,r);return t[t.length]=n,e[e.length]=a,u((r.includeSymbols?h:l)(n),(function(t){a[t]=i(n[t])})),t.pop(),e.pop(),a}return n}(this.value)},u(h(g.prototype),(function(t){v[t]=function(e){var r=[].slice.call(arguments,1),i=new g(e);return i[t].apply(i,r)}})),t.exports=v},37070:function(t,e,r){"use strict";var i=r(36556)("SharedArrayBuffer.prototype.byteLength",!0);t.exports=i?function(t){if(!t||"object"!=typeof t)return!1;try{return i(t),!0}catch(t){return!1}}:function(t){return!1}},37196:function(t,e,r){"use strict";var i=r(8410),n=r(63384),o=r(94459),a=r(63331);t.exports=function(t){var e=i(t);return o(e)||0===e?0:a(e)?n(e):e}},38268:function(t,e,r){"use strict";var i=r(69675),n=r(60280),o=r(79901),a=r(25910),s=r(6188),u=r(68002),l=r(2076),c=r(2138),p=r(37196),h=r(24810),f=r(4742),d=r(26419),m=r(17057),y=r(91509),g=r(74372),v=r(72308);t.exports=function(t,e){var r=this;y(r,"SEQ-CST");var _,x=r.length,b=p(t);_=b===-1/0?0:b<0?s(x+b,0):u(b,x);var w,S=void 0===e?x:p(e);w=S===-1/0?0:S<0?s(x+S,0):u(S,x);var T=s(w-_,0),I=m(r,[T]);if(T>0){if(a(g(r)))throw new i("Cannot use a Typed Array with an underlying ArrayBuffer that is detached");if(d(r)===d(I))for(var A=g(r),E=g(I),z=f(r),P=_*z+v(r),C=v(I),k=C+T*z;C<k;){var M=o(A,P,"UINT8",!0,"UNORDERED");c(E,C,"UINT8",M,!0,"UNORDERED"),P+=1,C+=1}else for(var D=0;_<w;){var L=h(_),B=n(r,L);l(I,h(D),B,!0),_+=1,D+=1}}return I}},39803:function(t,e,r){"use strict";if(r(29790)()){var i=BigInt.prototype.valueOf;t.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||function(t){try{return i.call(t),!0}catch(t){}return!1}(t))}}else t.exports=function(t){return!1}},40122:function(t){"use strict";t.exports=function(t,e,r){var i=t(e,r);return i>=0?i:i+r}},42491:function(t,e,r){"use strict";var i=r(69675),n=r(9957),o=r(6537),a=r(13541);t.exports=function(t,e){if(!o(t))throw new i("Assertion failed: `O` must be an Object");if(!a(e))throw new i("Assertion failed: `P` must be a Property Key");return n(t,e)}},44138:function(t){"use strict";t.exports=function(t,e){for(var r=0;r<t.length;r+=1)if(!e(t[r],r,t))return!1;return!0}},44323:function(t){"use strict";t.exports=function(t){return!!t}},45100:function(t,e,r){"use strict";var i=r(70453),n=i("%Uint8Array%",!0),o=i("%Uint32Array%",!0),a=r(74372),s=o&&new o([305419896]),u=s&&new n(a(s));t.exports=u?120===u[0]?"little":18===u[0]?"big":52===u[0]?"mixed":"unknown":"indeterminate"},45291:function(t,e,r){"use strict";var i=r(69675),n=r(25910),o=r(6575),a=r(4742),s=r(69346),u=r(74372),l=r(72308),c=r(66058);t.exports=function(t){if(!s(t))throw new i("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");var e=t["[[Object]]"],r=t["[[CachedBufferByteLength]]"];if(n(u(e))&&"DETACHED"!==r)throw new i("Assertion failed: typed array is detached only if the byte length is ~DETACHED~");if("DETACHED"===r)return!0;var p,h=l(e),f=o(u(e))?c(e):"AUTO";return p="AUTO"===f?r:h+f*a(e),h>r||p>r}},45351:function(t,e,r){"use strict";var i=r(36556),n=r(99721),o=i("Object.prototype.toString"),a=i("Function.prototype.toString"),s=n(/^\s*async(?:\s+function(?:\s+|\()|\s*\()/),u=r(49092)(),l=r(93628),c=r(93870);t.exports=function(t){if("function"!=typeof t)return!1;if(s(a(t)))return!0;if(!u)return"[object AsyncFunction]"===o(t);if(!l)return!1;var e=c();return e&&e.prototype===l(t)}},49373:function(t){"use strict";t.exports=function(t){return"UINT8"===t||"UINT8C"===t||"UINT16"===t||"UINT32"===t||"BIGUINT64"===t}},52158:function(t){"use strict";t.exports=function(t){return"number"==typeof t&&t>=0&&t<=255&&(0|t)===t}},52521:function(t,e,r){"use strict";var i=r(38268);t.exports=function(){return"function"==typeof Uint8Array&&Uint8Array.prototype.slice||i}},52875:function(t,e,r){"use strict";var i=r(94459);t.exports=function(t,e){return t===e?0!==t||1/t==1/e:i(t)&&i(e)}},52997:function(t){"use strict";t.exports=function(t){if(void 0===t)return t;var e={};return"[[Value]]"in t&&(e.value=t["[[Value]]"]),"[[Writable]]"in t&&(e.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(e.get=t["[[Get]]"]),"[[Set]]"in t&&(e.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(e.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(e.configurable=!!t["[[Configurable]]"]),e}},53432:function(t,e,r){"use strict";var i=r(38452),n=r(10487),o=r(38268),a=r(52521),s=r(98599),u=n(a());i(u,{getPolyfill:a,implementation:o,shim:s}),t.exports=u},53795:function(t){"use strict";t.exports=function(t,e){for(var r=0;r<t.length;r+=1)e(t[r],r,t)}},54224:function(t,e,r){"use strict";var i=r(30113);t.exports=function(t,e){return i(t,e)}},55701:function(t,e,r){"use strict";var i=r(69675),n=r(9957),o={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};t.exports=function(t){if(!t||"object"!=typeof t)return!1;for(var e in t)if(n(t,e)&&!o[e])return!1;var r=n(t,"[[Value]]")||n(t,"[[Writable]]"),a=n(t,"[[Get]]")||n(t,"[[Set]]");if(r&&a)throw new i("Property Descriptors may not be both accessor and data descriptors");return!0}},55986:function(t,e,r){"use strict";var i=r(58968);t.exports=function(t){return"bigint"==typeof t?t:i(t)}},58859:function(t,e,r){var i="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&n&&"function"==typeof n.get?n.get:null,a=i&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,m=Object.prototype.toString,y=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,_=String.prototype.replace,x=String.prototype.toUpperCase,b=String.prototype.toLowerCase,w=RegExp.prototype.test,S=Array.prototype.concat,T=Array.prototype.join,I=Array.prototype.slice,A=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,z=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function L(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-A(-t):A(t);if(i!==t){var n=String(i),o=v.call(e,n.length+1);return _.call(n,r,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,r,"$&_")}var B=r(42634),R=B.custom,O=G(R)?R:null,F={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function V(t,e,r){var i=r.quoteStyle||e,n=F[i];return n+t+n}function N(t){return _.call(String(t),/"/g,""")}function j(t){return!k||!("object"==typeof t&&(k in t||void 0!==t[k]))}function q(t){return"[object Array]"===K(t)&&j(t)}function Z(t){return"[object RegExp]"===K(t)&&j(t)}function G(t){if(C)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!P)return!1;try{return P.call(t),!0}catch(t){}return!1}t.exports=function t(e,i,n,s){var u=i||{};if(X(u,"quoteStyle")&&!X(F,u.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!X(u,"customInspect")||u.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var x=u.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return J(e,u);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return x?L(e,w):w}if("bigint"==typeof e){var A=String(e)+"n";return x?L(e,A):A}var z=void 0===u.depth?5:u.depth;if(void 0===n&&(n=0),n>=z&&z>0&&"object"==typeof e)return q(e)?"[Array]":"[Object]";var R,U=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=T.call(Array(t.indent+1)," ")}return{base:r,prev:T.call(Array(e+1),r)}}(u,n);if(void 0===s)s=[];else if(H(s,e)>=0)return"[Circular]";function W(e,r,i){if(r&&(s=I.call(s)).push(r),i){var o={depth:u.depth};return X(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),t(e,o,n+1,s)}return t(e,u,n+1,s)}if("function"==typeof e&&!Z(e)){var Y=function(t){if(t.name)return t.name;var e=g.call(y.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),it=rt(e,W);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(it.length>0?" { "+T.call(it,", ")+" }":"")}if(G(e)){var nt=C?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(e);return"object"!=typeof e||C?nt:$(nt)}if((R=e)&&"object"==typeof R&&("undefined"!=typeof HTMLElement&&R instanceof HTMLElement||"string"==typeof R.nodeName&&"function"==typeof R.getAttribute)){for(var ot="<"+b.call(String(e.nodeName)),at=e.attributes||[],st=0;st<at.length;st++)ot+=" "+at[st].name+"="+V(N(at[st].value),"double",u);return ot+=">",e.childNodes&&e.childNodes.length&&(ot+="..."),ot+"</"+b.call(String(e.nodeName))+">"}if(q(e)){if(0===e.length)return"[]";var ut=rt(e,W);return U&&!function(t){for(var e=0;e<t.length;e++)if(H(t[e],"\n")>=0)return!1;return!0}(ut)?"["+et(ut,U)+"]":"[ "+T.call(ut,", ")+" ]"}if(function(t){return"[object Error]"===K(t)&&j(t)}(e)){var lt=rt(e,W);return"cause"in Error.prototype||!("cause"in e)||M.call(e,"cause")?0===lt.length?"["+String(e)+"]":"{ ["+String(e)+"] "+T.call(lt,", ")+" }":"{ ["+String(e)+"] "+T.call(S.call("[cause]: "+W(e.cause),lt),", ")+" }"}if("object"==typeof e&&m){if(O&&"function"==typeof e[O]&&B)return B(e,{depth:z-n});if("symbol"!==m&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ct=[];return a&&a.call(e,(function(t,r){ct.push(W(r,e,!0)+" => "+W(t,e))})),tt("Map",o.call(e),ct,U)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var pt=[];return c&&c.call(e,(function(t){pt.push(W(t,e))})),tt("Set",l.call(e),pt,U)}if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if(function(t){return"[object Number]"===K(t)&&j(t)}(e))return $(W(Number(e)));if(function(t){if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}(e))return $(W(E.call(e)));if(function(t){return"[object Boolean]"===K(t)&&j(t)}(e))return $(d.call(e));if(function(t){return"[object String]"===K(t)&&j(t)}(e))return $(W(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==r.g&&e===r.g)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===K(t)&&j(t)}(e)&&!Z(e)){var ht=rt(e,W),ft=D?D(e)===Object.prototype:e instanceof Object||e.constructor===Object,dt=e instanceof Object?"":"null prototype",mt=!ft&&k&&Object(e)===e&&k in e?v.call(K(e),8,-1):dt?"Object":"",yt=(ft||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(mt||dt?"["+T.call(S.call([],mt||[],dt||[]),": ")+"] ":"");return 0===ht.length?yt+"{}":U?yt+"{"+et(ht,U)+"}":yt+"{ "+T.call(ht,", ")+" }"}return String(e)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function X(t,e){return W.call(t,e)}function K(t){return m.call(t)}function H(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1}function J(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return J(v.call(t,0,e.maxStringLength),e)+i}var n=U[e.quoteStyle||"single"];return n.lastIndex=0,V(_.call(_.call(t,n,"\\$1"),/[\x00-\x1f]/g,Y),"single",e)}function Y(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function $(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function tt(t,e,r,i){return t+" ("+e+") {"+(i?et(r,i):T.call(r,", "))+"}"}function et(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+T.call(t,","+r)+"\n"+e.prev}function rt(t,e){var r=q(t),i=[];if(r){i.length=t.length;for(var n=0;n<t.length;n++)i[n]=X(t,n)?e(t[n],t):""}var o,a="function"==typeof z?z(t):[];if(C){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in t)X(t,u)&&(r&&String(Number(u))===u&&u<t.length||C&&o["$"+u]instanceof Symbol||(w.call(/[^\w$]/,u)?i.push(e(u,t)+": "+e(t[u],t)):i.push(u+": "+e(t[u],t))));if("function"==typeof z)for(var l=0;l<a.length;l++)M.call(t,a[l])&&i.push("["+e(a[l])+"]: "+e(t[a[l]],t));return i}},59719:function(t,e,r){"use strict";var i=r(69675),n=r(6188),o=r(68002);t.exports=function(t,e,r){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof r||!(e<=r))throw new i("Assertion failed: all three arguments must be MVs, and `lower` must be `<= upper`");return o(n(e,t),r)}},60034:function(t,e,r){"use strict";var i=r(69600),n=r(9957),o=r(74462)(),a=r(36556),s=a("Function.prototype.toString"),u=a("String.prototype.match"),l=a("Object.prototype.toString"),c=/^class /,p=/\s*function\s+([^(\s]*)\s*/,h=!(0 in[,]),f=Function.prototype,d=function(){return!1};if("object"==typeof document){var m=document.all;l(m)===l(document.all)&&(d=function(t){if((h||!t)&&(void 0===t||"object"==typeof t))try{var e=l(t);return("[object HTMLAllCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=function(){if(d(this)||!function(t){if(i(t))return!1;if("function"!=typeof t)return!1;try{return!!u(s(t),c)}catch(t){}return!1}(this)&&!i(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(o&&n(this,"name"))return this.name;if(this===f)return"";var t=s(this),e=u(t,p);return e&&e[1]}},60259:function(t,e,r){"use strict";var i=r(9957),n=r(69675),o=r(6537),a=r(6966),s=r(44323);t.exports=function(t){if(!o(t))throw new n("ToPropertyDescriptor requires an object");var e={};if(i(t,"enumerable")&&(e["[[Enumerable]]"]=s(t.enumerable)),i(t,"configurable")&&(e["[[Configurable]]"]=s(t.configurable)),i(t,"value")&&(e["[[Value]]"]=t.value),i(t,"writable")&&(e["[[Writable]]"]=s(t.writable)),i(t,"get")){var r=t.get;if(void 0!==r&&!a(r))throw new n("getter must be a function");e["[[Get]]"]=r}if(i(t,"set")){var u=t.set;if(void 0!==u&&!a(u))throw new n("setter must be a function");e["[[Set]]"]=u}if((i(e,"[[Get]]")||i(e,"[[Set]]"))&&(i(e,"[[Value]]")||i(e,"[[Writable]]")))throw new n("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return e}},60280:function(t,e,r){"use strict";var i=r(69675),n=r(58859),o=r(13541),a=r(6537);t.exports=function(t,e){if(!a(t))throw new i("Assertion failed: Type(O) is not Object");if(!o(e))throw new i("Assertion failed: P is not a Property Key, got "+n(e));return t[e]}},60593:function(t,e,r){"use strict";var i=r(83802),n=r(90256),o=r(87842),a=r(12648);t.exports=function(t){if(t&&"object"==typeof t){if(i(t))return"Map";if(n(t))return"Set";if(o(t))return"WeakMap";if(a(t))return"WeakSet"}return!1}},60842:function(t,e,r){var i=r(96763);t.exports=function(){"use strict";var t,e,r;function n(i,n){if(t)if(e){var o="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",a={};t(a),r=n(a),"undefined"!=typeof window&&(r.workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"})))}else e=n;else t=n}return n(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=n;function n(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}n.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},n.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},n.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},n.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},n.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var o=a;function a(t,e){this.x=t,this.y=e}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},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(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),n=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-i*(this.y-e.y),this.y=n,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t};var s="undefined"!=typeof self?self:{},u=Math.pow(2,53)-1;function l(t,e,i,n){var o=new r(t,e,i,n);return function(t){return o.solve(t)}}var c=l(.25,.1,.25,1);function p(t,e,r){return Math.min(r,Math.max(e,t))}function h(t,e,r){var i=r-e,n=((t-e)%i+i)%i+e;return n===e?r:n}function f(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}var d=1;function m(){return d++}function y(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function g(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function v(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function _(t,e){return-1!==t.indexOf(e,t.length-e.length)}function x(t,e,r){var i={};for(var n in t)i[n]=e.call(r||this,t[n],n,t);return i}function b(t,e,r){var i={};for(var n in t)e.call(r||this,t[n],n,t)&&(i[n]=t[n]);return i}function w(t){return Array.isArray(t)?t.map(w):"object"==typeof t&&t?x(t,w):t}var S={};function T(t){S[t]||(void 0!==i&&i.warn(t),S[t]=!0)}function I(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function A(t){for(var e=0,r=0,i=t.length,n=i-1,o=void 0,a=void 0;r<i;n=r++)e+=((a=t[n]).x-(o=t[r]).x)*(o.y+a.y);return e}function E(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function z(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,i,n){var o=i||n;return e[r]=!o||o.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}var P=null;function C(t){if(null==P){var e=t.navigator?t.navigator.userAgent:null;P=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return P}function k(t){try{var e=s[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var M,D,L,B,R=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),O=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,F=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,U={now:R,frame:function(t){var e=O(t);return{cancel:function(){return F(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var r=s.document.createElement("canvas"),i=r.getContext("2d");if(!i)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,i.drawImage(t,0,0,t.width,t.height),i.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return M||(M=s.document.createElement("a")),M.href=t,M.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return!!s.matchMedia&&(null==D&&(D=s.matchMedia("(prefers-reduced-motion: reduce)")),D.matches)}},V={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},N={supported:!1,testSupport:function(t){!j&&B&&(q?Z(t):L=t)}},j=!1,q=!1;function Z(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,B),t.isContextLost())return;N.supported=!0}catch(t){}t.deleteTexture(e),j=!0}s.document&&((B=s.document.createElement("img")).onload=function(){L&&Z(L),L=null,q=!0},B.onerror=function(){j=!0,L=null},B.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var G="01",W=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function X(t){return 0===t.indexOf("mapbox:")}W.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",G,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},W.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},W.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},W.prototype.normalizeStyleURL=function(t,e){if(!X(t))return t;var r=Y(t);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},W.prototype.normalizeGlyphsURL=function(t,e){if(!X(t))return t;var r=Y(t);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},W.prototype.normalizeSourceURL=function(t,e){if(!X(t))return t;var r=Y(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||e)},W.prototype.normalizeSpriteURL=function(t,e,r,i){var n=Y(t);return X(t)?(n.path="/styles/v1"+n.path+"/sprite"+e+r,this._makeAPIURL(n,this._customAccessToken||i)):(n.path+=""+e+r,$(n))},W.prototype.normalizeTileURL=function(t,e){if(this._isSkuTokenExpired()&&this._createSkuToken(),t&&!X(t))return t;var r=Y(t);r.path=r.path.replace(/(\.(png|jpg)\d*)(?=$)/,(U.devicePixelRatio>=2||512===e?"@2x":"")+(N.supported?".webp":"$1")),r.path=r.path.replace(/^.+\/v4\//,"/"),r.path="/v4"+r.path;var i=this._customAccessToken||function(t){for(var e=0,r=t;e<r.length;e+=1){var i=r[e].match(/^access_token=(.*)$/);if(i)return i[1]}return null}(r.params)||V.ACCESS_TOKEN;return V.REQUIRE_ACCESS_TOKEN&&i&&this._skuToken&&r.params.push("sku="+this._skuToken),this._makeAPIURL(r,i)},W.prototype.canonicalizeTileURL=function(t,e){var r=Y(t);if(!r.path.match(/(^\/v4\/)/)||!r.path.match(/\.[\w]+$/))return t;var i="mapbox://tiles/";i+=r.path.replace("/v4/","");var n=r.params;return e&&(n=n.filter((function(t){return!t.match(/^access_token=/)}))),n.length&&(i+="?"+n.join("&")),i},W.prototype.canonicalizeTileset=function(t,e){for(var r=!!e&&X(e),i=[],n=0,o=t.tiles||[];n<o.length;n+=1){var a=o[n];H(a)?i.push(this.canonicalizeTileURL(a,r)):i.push(a)}return i},W.prototype._makeAPIURL=function(t,e){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",i=Y(V.API_URL);if(t.protocol=i.protocol,t.authority=i.authority,"http"===t.protocol){var n=t.params.indexOf("secure");n>=0&&t.params.splice(n,1)}if("/"!==i.path&&(t.path=""+i.path+t.path),!V.REQUIRE_ACCESS_TOKEN)return $(t);if(!(e=e||V.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),$(t)};var K=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function H