UNPKG

ima-ad-player

Version:

Yet another Google IMA video ad player.

1 lines 50.7 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImaAdPlayer=e():t.ImaAdPlayer=e()}(self,(()=>(()=>{"use strict";var t={6058:(t,e,r)=>{r(4185),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6e3,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=window,o=document,i="script",a=null,s=function(e){n.clearTimeout(a),"function"==typeof t&&t(e)};if(n.google&&n.google.ima)return s(!0);var u=o.getElementsByTagName(i)[0],c=o.createElement(i);c.src="https://imasdk.googleapis.com/js/sdkloader/ima3"+(r?"_debug":"")+".js",c.async=!0,"function"==typeof t&&(c.onload=function(){s(!0)});u.parentNode.insertBefore(c,u),e&&(a=n.setTimeout((function(){s(!1)}),e))},r(6031)},3772:(t,e,r)=>{r(2675),r(9463),r(2259),r(3792),r(4185),r(6099),r(7764),r(2953),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(5700),r(9572),r(2892),r(6031);var n,o=r(5948),i=(n=r(9880))&&n.__esModule?n:{default:n};function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}e.default=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._configure(e),this._evt=new i.default,this._adRequesting=!1,this._adRequested=!1,this._o.vpaidMode&&google.ima.settings.setVpaidMode(this._resolvedVpaidMode),this._o.locale&&google.ima.settings.setLocale(this._o.locale),this._adDisplayContainer=new google.ima.AdDisplayContainer(this._o.displayContainer,this._o.video,this._o.clickTracking),this._adDisplayContainerInit=!1}return function(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"_configure",value:function(t){this._o={displayContainer:t.displayContainer,video:t.video,tag:t.tag},t.vpaidMode&&(this._o.vpaidMode=(0,o.makeNum)(t.vpaidMode,void 0)),t.maxDuration&&(this._o.maxDuration=(0,o.makeNum)(t.maxDuration,void 0)),this._o.locale=t.locale,this._o.clickTracking=t.clickTracking,this._o.adsRequestOptions=t.adsRequestOptions,this._o.adsRenderingOptions=t.adsRenderingOptions,this._o.nonLinearMaxDuration=(0,o.makeNum)(t.nonLinearMaxDuration,-1),this._o.adWillAutoPlay=!!(0,o.makeDefault)(t.adWillAutoPlay,!0),this._o.adWillPlayMuted=!!(0,o.makeDefault)(t.adWillPlayMuted,!1),this._o.continuousPlayback=t.continuousPlayback,this._o.restoreVideo=!!(0,o.makeDefault)(t.restoreVideo,!1)}},{key:"_setProperties",value:function(t,e){for(var r in e)void 0!==t[r]&&(t[r]=e[r])}},{key:"_resolvedVpaidMode",get:function(){return this._o.vpaidMode===t.vpaidMode.DISABLED?google.ima.ImaSdkSettings.VpaidMode.DISABLED:this._o.vpaidMode===t.vpaidMode.INSECURE?google.ima.ImaSdkSettings.VpaidMode.INSECURE:google.ima.ImaSdkSettings.VpaidMode.ENABLED}},{key:"on",value:function(t,e){this._evt.subscribe(t,e)}},{key:"off",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;null===e?this._evt.unsubscribeAll(t):this._evt.unsubscribe(t,e)}},{key:"play",value:function(){this._dispatch("ad_play_intent"),this._adPlayIntent=!0,this.initAdDisplayContainer(),this._requestAd()}},{key:"request",value:function(t){this._dispatch("ad_request_intent",t),this._requestAd(t)}},{key:"resize",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._adsManager&&(r||(r=google.ima.ViewMode.NORMAL),this._adsManager.resize(t,e,r))}},{key:"setVolume",value:function(t){this._adsManager&&this._adsManager.setVolume(t)}},{key:"getVolume",value:function(){return this._adsManager?this._adsManager.getVolume():null}},{key:"discardAdBreak",value:function(){this._adsManager&&this._adsManager.discardAdBreak()}},{key:"pause",value:function(){this._adsManager&&this._adsManager.pause()}},{key:"resume",value:function(){this._adsManager&&this._adsManager.resume()}},{key:"skip",value:function(){this._adsManager&&this._adsManager.skip()}},{key:"updateAdsRenderingSettings",value:function(t){this._adsManager&&this._adsManager.updateAdsRenderingSettings(t)}},{key:"configureAdsManager",value:function(t,e){this._adsManager&&this._adsManager.configureAdsManager(t,e)}},{key:"focus",value:function(){this._adsManager&&this._adsManager.focus()}},{key:"getDisplayContainer",value:function(){return this._o.displayContainer}},{key:"getCuePoints",value:function(){return this._adsManager?this._adsManager.getCuePoints():null}},{key:"getAdSkippableState",value:function(){return this._adsManager?this._adsManager.getAdSkippableState():null}},{key:"getRemainingTime",value:function(){return this._adsManager?this._adsManager.getRemainingTime():null}},{key:"isCustomClickTrackingUsed",value:function(){return this._adsManager?this._adsManager.isCustomClickTrackingUsed():null}},{key:"isCustomPlaybackUsed",value:function(){return this._adsManager?this._adsManager.isCustomPlaybackUsed():null}},{key:"setAdWillAutoPlay",value:function(t){this._o.adWillAutoPlay=t}},{key:"setAdWillPlayMuted",value:function(t){this._o.adWillPlayMuted=t}},{key:"setContinuousPlayback",value:function(t){this._o.continuousPlayback=t}},{key:"stop",value:function(){this._dispatch("ad_stop_intent"),this._stop()}},{key:"ended",value:function(){this._adsLoader&&this._adsLoader.contentComplete()}},{key:"initAdDisplayContainer",value:function(){this._adDisplayContainerInit||(this._adDisplayContainer.initialize(),this._adDisplayContainerInit=!0)}},{key:"destroy",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._adsManager&&this._adsManager.stop(),this._endAd(),t&&this._evt.unsubscribeAll(),this._destroyAdsManager(),this._destroyAdsLoader(),this._destroyAdDisplayContainer(),this._destroyOptions()}},{key:"_destroyAdsLoader",value:function(){this._adsLoader&&(this._adsLoader.destroy(),this._adsLoader=null,delete this._adsLoader)}},{key:"_destroyAdsManager",value:function(){this._adsManager&&(this._adsManager.destroy(),this._adsManager=null,delete this._adsManager)}},{key:"_destroyAdDisplayContainer",value:function(){this._adDisplayContainer&&(this._adDisplayContainer.destroy(),this._adDisplayContainer=null,delete this._adDisplayContainer)}},{key:"_destroyOptions",value:function(){this._o=null,delete this._o}},{key:"_stop",value:function(){this._dispatch("ad_stop"),this._adsManager?this._adsManager.stop():this._endAd()}},{key:"_makeAdsLoader",value:function(){var t=this;this._adsLoader=new google.ima.AdsLoader(this._adDisplayContainer),this._adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(e){t._onAdsManagerLoaded(e)})),this._adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){t._adRequested=!1,t._onAdError(e)}))}},{key:"_requestAd",value:function(t){if(!this._adRequesting)if(this._adRequested)this._adPlayIntent&&this._playAd();else{this._adRequesting=!0,this._adsLoader||this._makeAdsLoader();var e=new google.ima.AdsRequest;e.adTagUrl=this._o.tag,e.linearAdSlotWidth=this._o.video.offsetWidth,e.linearAdSlotHeight=this._o.video.offsetHeight,e.nonLinearAdSlotWidth=this._o.video.offsetWidth,e.nonLinearAdSlotHeight=this._o.video.offsetHeight,e.setAdWillAutoPlay(this._o.adWillAutoPlay),e.setAdWillPlayMuted(this._o.adWillPlayMuted),void 0!==this._o.continuousPlayback&&e.setContinuousPlayback(this._o.continuousPlayback);var r=t||this._o.adsRequestOptions;r&&this._setProperties(e,r),this._dispatch("ad_request",e),this._adsLoader.requestAds(e)}}},{key:"_bindAdsManagerEvents",value:function(){var t=this;this._adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){t._onAdError(e)})),this._adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,(function(e){t._adEnded=!1,t._dispatch("content_pause_requested",e),t._dispatch("ad_begin")})),this._adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,(function(e){t._dispatch("content_resume_requested",e),t._endAd()})),this._adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,(function(e){t._dispatch("started",e);var r=e.getAd();if(r.isLinear())t._o.maxDuration&&t._startMaxDurationTimer();else{var n=t._o.nonLinearMaxDuration;t._dispatch("ad_non_linear",{ad:r,duration:n}),t._o.nonLinearMaxDuration>0&&setTimeout((function(){t._adsManager&&t._adsManager.stop()}),t._o.nonLinearMaxDuration),t._endAd()}})),this._adsManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,(function(e){t._adRequested=!1,t._dispatch("all_ads_completed",e)}));var e={ad_break_ready:google.ima.AdEvent.Type.AD_BREAK_READY,ad_buffering:google.ima.AdEvent.Type.AD_BUFFERING,ad_metadata:google.ima.AdEvent.Type.AD_METADATA,ad_progress:google.ima.AdEvent.Type.AD_PROGRESS,click:google.ima.AdEvent.Type.CLICK,complete:google.ima.AdEvent.Type.COMPLETE,duration_change:google.ima.AdEvent.Type.DURATION_CHANGE,first_quartile:google.ima.AdEvent.Type.FIRST_QUARTILE,impression:google.ima.AdEvent.Type.IMPRESSION,interaction:google.ima.AdEvent.Type.INTERACTION,linear_changed:google.ima.AdEvent.Type.LINEAR_CHANGED,loaded:google.ima.AdEvent.Type.LOADED,log:google.ima.AdEvent.Type.LOG,midpoint:google.ima.AdEvent.Type.MIDPOINT,paused:google.ima.AdEvent.Type.PAUSED,resumed:google.ima.AdEvent.Type.RESUMED,skippable_state_changed:google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,skipped:google.ima.AdEvent.Type.SKIPPED,third_quartile:google.ima.AdEvent.Type.THIRD_QUARTILE,user_close:google.ima.AdEvent.Type.USER_CLOSE,video_clicked:google.ima.AdEvent.Type.VIDEO_CLICKED,video_icon_clicked:google.ima.AdEvent.Type.VIDEO_ICON_CLICKED,volume_changed:google.ima.AdEvent.Type.VOLUME_CHANGED,volume_muted:google.ima.AdEvent.Type.VOLUME_MUTED};google.ima.AdEvent.Type.AD_CAN_PLAY&&(e.ad_can_play=google.ima.AdEvent.Type.AD_CAN_PLAY),google.ima.AdEvent.Type.VIEWABLE_IMPRESSION&&(e.viewable_impression=google.ima.AdEvent.Type.VIEWABLE_IMPRESSION);var r=function(r){t._adsManager.addEventListener(e[r],(function(e){t._dispatch(r,e)}))};for(var n in e)r(n)}},{key:"_onAdsManagerLoaded",value:function(t){this._dispatch("ads_manager_loaded",t);var e=new google.ima.AdsRenderingSettings;e.restoreCustomPlaybackStateOnAdBreakComplete=this._o.restoreVideo,this._o.adsRenderingOptions&&this._setProperties(e,this._o.adsRenderingOptions),this._dispatch("ads_rendering_settings",e),this._destroyAdsManager(),this._adsManager=t.getAdsManager(this._o.video,e),this._bindAdsManagerEvents(),this._dispatch("ads_manager",this._adsManager),this._adRequesting=!1,this._adRequested=!0,this._adPlayIntent&&this._playAd()}},{key:"_onMaxDuration",value:function(){this._dispatch("error",new Error("Maximum duration of "+this._o.maxDuration+" ms reached")),this._stop()}},{key:"_startMaxDurationTimer",value:function(){var t=this;this._maxDurationTimer=setTimeout((function(){t._onMaxDuration()}),this._o.maxDuration)}},{key:"_resetMaxDurationTimer",value:function(){"number"==typeof this._maxDurationTimer&&(clearTimeout(this._maxDurationTimer),this._maxDurationTimer=void 0)}},{key:"_onAdError",value:function(t){this._dispatch("ad_error",t),this._endAd()}},{key:"_playAd",value:function(){try{this._dispatch("ad_play"),this._adEnded=!1,this._adsManager.init(this._o.video.offsetWidth,this._o.video.offsetHeight,google.ima.ViewMode.NORMAL),this._adsManager.start()}catch(t){this._dispatch("error",t),this._endAd()}}},{key:"_dispatch",value:function(t,e){this._evt.notify(t,{name:t,data:e,target:this})}},{key:"_endAd",value:function(){this._adEnded||(this._adEnded=!0,this._adPlayIntent=!1,this._adRequesting=!1,this._resetMaxDurationTimer(),this._dispatch("ad_end"))}}],[{key:"vpaidMode",get:function(){return{DISABLED:0,ENABLED:1,INSECURE:2}}}])}()},9880:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function i(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}r(2675),r(9463),r(2259),r(3792),r(4185),r(7764),r(2953),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(5700),r(1629),r(5276),r(4554),r(9572),r(2892),r(6099),r(3500);e.default=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.unsubscribeAll()},e=[{key:"subscribe",value:function(t,e){this.observers[t]||(this.observers[t]=[]),this.observers[t].push(e)}},{key:"unsubscribe",value:function(t,e){if(this.observers[t]){var r=this.observers[t].indexOf(e);-1!=r&&this.observers[t].splice(r,1)}}},{key:"unsubscribeAll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null===t?(this.observers=null,this.observers={}):this.observers[t]&&(this.observers[t]=null,delete this.observers[t])}},{key:"notify",value:function(t,e){this.observers[t]&&this.observers[t].forEach((function(t){return t(e)}))}}],e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()},5948:(t,e,r)=>{function n(t){return!isNaN(parseFloat(t))&&isFinite(t)}r(4185),Object.defineProperty(e,"__esModule",{value:!0}),e.isNumeric=n,e.makeDefault=function(t,e){return void 0===t?e:t},e.makeNum=function(t,e){return n(t)?t+0:e},r(8459)},9306:(t,e,r)=>{var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},3506:(t,e,r)=>{var n=r(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},6469:(t,e,r)=>{var n=r(8227),o=r(2360),i=r(4913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},8551:(t,e,r)=>{var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},5652:(t,e,r)=>{var n=r(9039);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},235:(t,e,r)=>{var n=r(9213).forEach,o=r(4598)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},9617:(t,e,r)=>{var n=r(5397),o=r(5610),i=r(6198),a=function(t){return function(e,r,a){var s=n(e),u=i(s);if(0===u)return!t&&-1;var c,f=o(a,u);if(t&&r!=r){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9213:(t,e,r)=>{var n=r(6080),o=r(9504),i=r(7055),a=r(8981),s=r(6198),u=r(1469),c=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,d=7===t,p=5===t||l;return function(v,y,g,h){for(var _,m,b=a(v),E=i(b),A=s(E),x=n(y,g),S=0,O=h||u,M=e?O(v,A):r||d?O(v,0):void 0;A>S;S++)if((p||S in E)&&(m=x(_=E[S],S,b),t))if(e)M[S]=m;else if(m)switch(t){case 3:return!0;case 5:return _;case 6:return S;case 2:c(M,_)}else switch(t){case 4:return!1;case 7:c(M,_)}return l?-1:o||f?f:M}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},597:(t,e,r)=>{var n=r(9039),o=r(8227),i=r(9519),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4598:(t,e,r)=>{var n=r(9039);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},4527:(t,e,r)=>{var n=r(3724),o=r(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680:(t,e,r)=>{var n=r(9504);t.exports=n([].slice)},7433:(t,e,r)=>{var n=r(4376),o=r(3517),i=r(34),a=r(8227)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},1469:(t,e,r)=>{var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},2195:(t,e,r)=>{var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955:(t,e,r)=>{var n=r(2140),o=r(4901),i=r(2195),a=r(8227)("toStringTag"),s=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7740:(t,e,r)=>{var n=r(9297),o=r(5031),i=r(7347),a=r(4913);t.exports=function(t,e,r){for(var s=o(e),u=a.f,c=i.f,f=0;f<s.length;f++){var l=s[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},2211:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2529:t=>{t.exports=function(t,e){return{value:t,done:e}}},6699:(t,e,r)=>{var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6980:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4659:(t,e,r)=>{var n=r(3724),o=r(4913),i=r(6980);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},3640:(t,e,r)=>{var n=r(8551),o=r(4270),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},2106:(t,e,r)=>{var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},6840:(t,e,r)=>{var n=r(4901),o=r(4913),i=r(283),a=r(9433);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&i(r,c,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},9433:(t,e,r)=>{var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},4606:(t,e,r)=>{var n=r(6823),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+n(e)+" of "+n(t))}},3724:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(t,e,r)=>{var n=r(4576),o=r(34),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6837:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7400:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(t,e,r)=>{var n=r(4055)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(t,e,r)=>{var n=r(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},9519:(t,e,r)=>{var n,o,i=r(4576),a=r(2839),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},4215:(t,e,r)=>{var n=r(4576),o=r(2839),i=r(2195),a=function(t){return o.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},6518:(t,e,r)=>{var n=r(4576),o=r(7347).f,i=r(6699),a=r(6840),s=r(9433),u=r(7740),c=r(2796);t.exports=function(t,e){var r,f,l,d,p,v=t.target,y=t.global,g=t.stat;if(r=y?n:g?n[v]||s(v,{}):n[v]&&n[v].prototype)for(f in e){if(d=e[f],l=t.dontCallGetSet?(p=o(r,f))&&p.value:r[f],!c(y?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof d==typeof l)continue;u(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),a(r,f,d,t)}}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},2744:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(t,e,r)=>{var n=r(616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},6080:(t,e,r)=>{var n=r(7476),o=r(9306),i=r(616),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},616:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,e,r)=>{var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:(t,e,r)=>{var n=r(3724),o=r(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},6706:(t,e,r)=>{var n=r(9504),o=r(9306);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},7476:(t,e,r)=>{var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},9504:(t,e,r)=>{var n=r(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},7751:(t,e,r)=>{var n=r(4576),o=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},6933:(t,e,r)=>{var n=r(9504),o=r(4376),i=r(4901),a=r(2195),s=r(655),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(r,s(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},5966:(t,e,r)=>{var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},4576:function(t,e,r){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,e,r)=>{var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:t=>{t.exports={}},397:(t,e,r)=>{var n=r(7751);t.exports=n("document","documentElement")},5917:(t,e,r)=>{var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(t,e,r)=>{var n=r(9504),o=r(9039),i=r(2195),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},3167:(t,e,r)=>{var n=r(4901),o=r(34),i=r(2967);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},3706:(t,e,r)=>{var n=r(9504),o=r(4901),i=r(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3451:(t,e,r)=>{var n=r(6518),o=r(9504),i=r(421),a=r(34),s=r(9297),u=r(4913).f,c=r(8480),f=r(298),l=r(4124),d=r(3392),p=r(2744),v=!1,y=d("meta"),g=0,h=function(t){u(t,y,{value:{objectID:"O"+g++,weakData:{}}})},_=t.exports={enable:function(){_.enable=function(){},v=!0;var t=c.f,e=o([].splice),r={};r[y]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===y){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,y)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[y].objectID},getWeakData:function(t,e){if(!s(t,y)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[y].weakData},onFreeze:function(t){return p&&v&&l(t)&&!s(t,y)&&h(t),t}};i[y]=!0},1181:(t,e,r)=>{var n,o,i,a=r(8622),s=r(4576),u=r(34),c=r(6699),f=r(9297),l=r(7629),d=r(6119),p=r(421),v="Object already initialized",y=s.TypeError,g=s.WeakMap;if(a||l.state){var h=l.state||(l.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,e){if(h.has(t))throw new y(v);return e.facade=t,h.set(t,e),e},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var _=d("state");p[_]=!0,n=function(t,e){if(f(t,_))throw new y(v);return e.facade=t,c(t,_,e),e},o=function(t){return f(t,_)?t[_]:{}},i=function(t){return f(t,_)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return r}}}},4376:(t,e,r)=>{var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},3517:(t,e,r)=>{var n=r(9504),o=r(9039),i=r(4901),a=r(6955),s=r(7751),u=r(3706),c=function(){},f=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=n(l.exec),p=!l.test(c),v=function(t){if(!i(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(l,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?y:v},2796:(t,e,r)=>{var n=r(9039),o=r(4901),i=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},4117:t=>{t.exports=function(t){return null==t}},34:(t,e,r)=>{var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925:(t,e,r)=>{var n=r(34);t.exports=function(t){return n(t)||null===t}},6395:t=>{t.exports=!1},757:(t,e,r)=>{var n=r(7751),o=r(4901),i=r(1625),a=r(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},3994:(t,e,r)=>{var n=r(7657).IteratorPrototype,o=r(2360),i=r(6980),a=r(687),s=r(6269),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,f,!1,!0),s[f]=u,t}},1088:(t,e,r)=>{var n=r(6518),o=r(9565),i=r(6395),a=r(350),s=r(4901),u=r(3994),c=r(2787),f=r(2967),l=r(687),d=r(6699),p=r(6840),v=r(8227),y=r(6269),g=r(7657),h=a.PROPER,_=a.CONFIGURABLE,m=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,E=v("iterator"),A="keys",x="values",S="entries",O=function(){return this};t.exports=function(t,e,r,a,v,g,M){u(r,e,a);var T,w,k,P=function(t){if(t===v&&R)return R;if(!b&&t&&t in j)return j[t];switch(t){case A:case x:case S:return function(){return new r(this,t)}}return function(){return new r(this)}},D=e+" Iterator",L=!1,j=t.prototype,I=j[E]||j["@@iterator"]||v&&j[v],R=!b&&I||P(v),C="Array"===e&&j.entries||I;if(C&&(T=c(C.call(new t)))!==Object.prototype&&T.next&&(i||c(T)===m||(f?f(T,m):s(T[E])||p(T,E,O)),l(T,D,!0,!0),i&&(y[D]=O)),h&&v===x&&I&&I.name!==x&&(!i&&_?d(j,"name",x):(L=!0,R=function(){return o(I,this)})),v)if(w={values:P(x),keys:g?R:P(A),entries:P(S)},M)for(k in w)(b||L||!(k in j))&&p(j,k,w[k]);else n({target:e,proto:!0,forced:b||L},w);return i&&!M||j[E]===R||p(j,E,R,{name:v}),y[e]=R,w}},7657:(t,e,r)=>{var n,o,i,a=r(9039),s=r(4901),u=r(34),c=r(2360),f=r(2787),l=r(6840),d=r(8227),p=r(6395),v=d("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):y=!0),!u(n)||a((function(){var t={};return n[v].call(t)!==t}))?n={}:p&&(n=c(n)),s(n[v])||l(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},6269:t=>{t.exports={}},6198:(t,e,r)=>{var n=r(8014);t.exports=function(t){return n(t.length)}},283:(t,e,r)=>{var n=r(9504),o=r(9039),i=r(4901),a=r(9297),s=r(3724),u=r(350).CONFIGURABLE,c=r(3706),f=r(1181),l=f.enforce,d=f.get,p=String,v=Object.defineProperty,y=n("".slice),g=n("".replace),h=n([].join),_=s&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),m=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===y(p(e),0,7)&&(e="["+g(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?v(t,"name",{value:e,configurable:!0}):t.name=e),_&&r&&a(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=h(m,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&d(this).source||c(this)}),"toString")},741:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3904:(t,e,r)=>{var n=r(4576),o=r(9039),i=r(9504),a=r(655),s=r(3802).trim,u=r(7452),c=i("".charAt),f=n.parseFloat,l=n.Symbol,d=l&&l.iterator,p=1/f(u+"-0")!=-1/0||d&&!o((function(){f(Object(d))}));t.exports=p?function(t){var e=s(a(t)),r=f(e);return 0===r&&"-"===c(e,0)?-0:r}:f},2360:(t,e,r)=>{var n,o=r(8551),i=r(6801),a=r(8727),s=r(421),u=r(397),c=r(4055),f=r(6119),l="prototype",d="script",p=f("IE_PROTO"),v=function(){},y=function(t){return"<"+d+">"+t+"</"+d+">"},g=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;h="undefined"!=typeof document?document.domain&&n?g(n):(e=c("iframe"),r="java"+d+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):g(n);for(var o=a.length;o--;)delete h[l][a[o]];return h()};s[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[l]=o(t),r=new v,v[l]=null,r[p]=t):r=h(),void 0===e?r:i.f(r,e)}},6801:(t,e,r)=>{var n=r(3724),o=r(8686),i=r(4913),a=r(8551),s=r(5397),u=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},4913:(t,e,r)=>{var n=r(3724),o=r(5917),i=r(8686),a=r(8551),s=r(6969),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=f(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},7347:(t,e,r)=>{var n=r(3724),o=r(9565),i=r(8773),a=r(6980),s=r(5397),u=r(6969),c=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},298:(t,e,r)=>{var n=r(2195),o=r(5397),i=r(8480).f,a=r(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},8480:(t,e,r)=>{var n=r(1828),o=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3717:(t,e)=>{e.f=Object.getOwnPropertySymbols},2787:(t,e,r)=>{var n=r(9297),o=r(4901),i=r(8981),a=r(6119),s=r(2211),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},4124:(t,e,r)=>{var n=r(9039),o=r(34),i=r(2195),a=r(5652),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},1625:(t,e,r)=>{var n=r(9504);t.exports=n({}.isPrototypeOf)},1828:(t,e,r)=>{var n=r(9504),o=r(9297),i=r(5397),a=r(9617).indexOf,s=r(421),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(s,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(f,r)||u(f,r));return f}},1072:(t,e,r)=>{var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},8773:(t,e)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2967:(t,e,r)=>{var n=r(6706),o=r(34),i=r(7750),a=r(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},3179:(t,e,r)=>{var n=r(2140),o=r(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(t,e,r)=>{var n=r(9565),o=r(4901),i=r(34),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},5031:(t,e,r)=>{var n=r(7751),o=r(9504),i=r(8480),a=r(3717),s=r(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},9167:(t,e,r)=>{var n=r(4576);t.exports=n},7750:(t,e,r)=>{var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},9472:(t,e,r)=>{var n,o=r(4576),i=r(8745),a=r(4901),s=r(4215),u=r(2839),c=r(7680),f=r(2812),l=o.Function,d=/MSIE .\./.test(u)||"BUN"===s&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));t.exports=function(t,e){var r=e?2:1;return d?function(n,o){var s=f(arguments.length,1)>r,u=a(n)?n:l(n),d=s?c(arguments,r):[],p=s?function(){i(u,this,d)}:u;return e?t(p,o):t(p)}:t}},687:(t,e,r)=>{var n=r(4913).f,o=r(9297),i=r(8227)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},6119:(t,e,r)=>{var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:(t,e,r)=>{var n=r(6395),o=r(4576),i=r(9433),a="__core-js_shared__",s=t.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,e,r)=>{var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},8183:(t,e,r)=>{var n=r(9504),o=r(1291),i=r(655),a=r(7750),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),d=o(r),p=l.length;return d<0||d>=p?t?"":void 0:(n=u(l,d))<55296||n>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?t?s(l,d):n:t?c(l,d,d+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},3802:(t,e,r)=>{var n=r(9504),o=r(7750),i=r(655),a=r(7452),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},4495:(t,e,r)=>{var n=r(9519),o=r(9039),i=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8242:(t,e,r)=>{var n=r(9565),o=r(7751),i=r(8227),a=r(6840);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},1296:(t,e,r)=>{var n=r(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1240:(t,e,r)=>{var n=r(9504);t.exports=n(1..valueOf)},5610:(t,e,r)=>{var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5397:(t,e,r)=>{var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},1291:(t,e,r)=>{var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014:(t,e,r)=>{var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8981:(t,e,r)=>{var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},2777:(t,e,r)=>{var n=r(9565),o=r(34),i=r(757),a=r(5966),s=r(4270),u=r(8227),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6969:(t,e,r)=>{var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},2140:(t,e,r)=>{var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:(t,e,r)=>{var n=r(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:(t,e,r)=>{var n=r(9504),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040:(t,e,r)=>{var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,e,r)=>{var n=r(3724),o=r(9039);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:t=>{var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},8622:(t,e,r)=>{var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},511:(t,e,r)=>{var n=r(9167),o=r(9297),i=r(1951),a=r(4913).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},1951:(t,e,r)=>{var n=r(8227);e.f=n},8227:(t,e,r)=>{var n=r(4576),o=r(5745),i=r(9297),a=r(3392),s=r(4495),u=r(7040),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=s&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},7452:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},1629:(t,e,r)=>{var n=r(6518),o=r(235);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},5276:(t,e,r)=>{var n=r(6518),o=r(7476),i=r(9617).indexOf,a=r(4598),s=o([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:i(this,t,e)}})},3792:(t,e,r)=>{var n=r(5397),o=r(6469),i=r(6269),a=r(1181),s=r(4913).f,u=r(1088),c=r(2529),f=r(6395),l=r(3724),d="Array Iterator",p=a.set,v=a.getterFor(d);t.exports=u(Array,"Array",(function(t,e){p(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=v(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==y.name)try{s(y,"name",{value:"values"})}catch(t){}},4554:(t,e,r)=>{var n=r(6518),o=r(8981),i=r(5610),a=r(1291),s=r(6198),u=r(4527),c=r(6837),f=r(1469),l=r(4659),d=r(4606),p=r(597)("splice"),v=Math.max,y=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var r,n,p,g,h,_,m=o(this),b=s(m),E=i(t,b),A=arguments.length;for(0===A?r=n=0:1===A?(r=0,n=b-E):(r=A-2,n=y(v(a(e),0),b-E)),c(b+r-n),p=f(m,n),g=0;g<n;g++)(h=E+g)in m&&l(p,g,m[h]);if(p.length=n,r<n){for(g=E;g<b-n;g++)_=g+r,(h=g+n)in m?m[_]=m[h]:d(m,_);for(g=b;g>b-n+r;g--)d(m,g-1)}else if(r>n)for(g=b-n;g>E;g--)_=g+r-1,(h=g+n-1)in m?m[_]=m[h]:d(m,_);for(g=0;g<r;g++)m[g+E]=arguments[g+2];return u(m,b-n+r),p}})},9572:(t,e,r)=>{var n=r(9297),o=r(6840),i=r(3640),a=r(8227)("toPrimitive"),s=Date.prototype;n(s,a)||o(s,a,i)},3110:(t,e,r)=>{var n=r(6518),o=r(7751),i=r(8745),a=r(9565),s=r(9504),u=r(9039),c=r(4901),f=r(757),l=r(7680),d=r(6933),p=r(4495),v=String,y=o("JSON","stringify"),g=s(/./.exec),h=s("".charAt),_=s("".charCodeAt),m=s("".replace),b=s(1..toString),E=/[\uD800-\uDFFF]/g,A=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,S=!p||u((function(){var t=o("Symbol")("stringify detection");return"[null]"!==y([t])||"{}"!==y({a:t})||"{}"!==y(Object(t))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),M=function(t,e){var r=l(arguments),n=d(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=a(n,this,v(t),e)),!f(e))return e},i(y,null,r)},T=function(t,e,r){var n=h(r,e-1),o=h(r,e+1);return g(A,t)&&!g(x,o)||g(x,t)&&!g(A,n)?"\\u"+b(_(t,0),16):t};y&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,e,r){var n=l(arguments),o=i(S?M:y,null,n);return O&&"string"==typeof o?m(o,E,T):o}})},2892:(t,e,r)=>{var n=r(6518),o=r(6395),i=r(3724),a=r(4576),s=r(9167),u=r(9504),c=r(2796),f=r(9297),l=r(3167),d=r(1625),p=r(757),v=r(2777),y=r(9039),g=r(8480).f,h=r(7347).f,_=r(4913).f,m=r(1240),b=r(3802).trim,E="Number",A=a[E],x=s[E],S=A.prototype,O=a.TypeError,M=u("".slice),T=u("".charCodeAt),w=function(t){var e,r,n,o,i,a,s,u,c=v(t,"number");if(p(c))throw new O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=b(c),43===(e=T(c,0))||45===e){if(88===(r=T(c,2))||120===r)return NaN}else if(48===e){switch(T(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=M(c,2)).length,s=0;s<a;s++)if((u=T(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},k=c(E,!A(" 0o1")||!A("0b1")||A("+0x1")),P=function(t){var e,r=arguments.length<1?0:A(function(t){var e=v(t,"number");return"bigint"==typeof e?e:w(e)}(t));return d(S,e=this)&&y((function(){m(e)}))?l(Object(r),this,P):r};P.prototype=S,k&&!o&&(S.constructor=P),n({global:!0,constructor:!0,wrap:!0,forced:k},{Number:P});var D=function(t,e){for(var r,n=i?g(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)f(e,r=n[o])&&!f(t,r)&&_(t,r,h(e,r))};o&&x&&D(s[E],x),(k||o)&&D(s[E],A)},4185:(t,e,r)=>{var n=r(6518),o=r(3724),i=r(4913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},2811:(t,e,r)=>{var n=r(6518),o=r(2744),i=r(9039),a=r(34),s=r(3451).onFreeze,u=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(s(t)):t}})},9773:(t,e,r)=>{var n=r(6518),o=r(4495),i=r(9039),a=r(3717),s=r(8981);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},6099:(t,e,r)=>{var n=r(2140),o=r(6840),i=r(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},8459:(t,e,r)=>{var n=r(6518),o=r(3904);n({global:!0,forced:parseFloat!==o},{parseFloat:o})},7764:(t,e,r)=>{var n=r(8183).charAt,o=r(655),i=r(1181),a=r(1088),s=r(2529),u="String Iterator",c=i.set,f=i.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))}))},6761:(t,e,r)=>{var n=r(6518),o=r(4576),i=r(9565),a=r(9504),s=r(6395),u=r(3724),c=r(4495),f=r(9039),l=r(9297),d=r(1625),p=r(8551),v=r(5397),y=r(6969),g=r(655),h=r(6980),_=r(2360),m=r(1072),b=r(8480),E=r(298),A=r(3717),x=r(7347),S=r(4913),O=r(6801),M=r(8773),T=r(6840),w=r(2106),k=r(5745),P=r(6119),D=r(421),L=r(3392),j=r(8227),I=r(1951),R=r(511),C=r(8242),N=r(687),F=r(1181),B=r(9213).forEach,U=P("hidden"),V="Symbol",W="prototype",q=F.set,G=F.getterFor(V),z=Object[W],H=o.Symbol,K=H&&H[W],Y=o.RangeError,$=o.TypeError,Q=o.QObject,X=x.f,J=S.f,Z=E.f,tt=M.f,et=a([].push),rt=k("symbols"),nt=k("op-symbols"),ot=k("wks"),it=!Q||!Q[W]||!Q[W].findChild,at=function(t,e,r){var n=X(z,e);n&&delete z[e],J(t,e,r),n&&t!==z&&J(z,e,n)},st=u&&f((function(){return 7!==_(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?at:J,ut=function(t,e){var r=rt[t]=_(K);return q(r,{type:V,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===z&&ct(nt,e,r),p(t);var n=y(e);return p(r),l(rt,n)?(r.enumerable?(l(t,U)&&t[U][n]&&(t[U][n]=!1),r=_(r,{enumerable:h(0,!1)})):(l(t,U)||J(t,U,h(1,_(null))),t[U][n]=!0),st(t,n,r)):J(t,n,r)},ft=function(t,e){p(t);var r=v(e),n=m(r).concat(vt(r));return B(n,(function(e){u&&!i(lt,r,e)||ct(t,e,r[e])})),t},lt=function(t){var e=y(t),r=i(tt,this,e);return!(this===z&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,U)&&this[U][e])||r)},dt=function(t,e){var r=v(t),n=y(e);if(r!==z||!l(rt,n)||l(nt,n)){var o=X(r,n);return!o||!l(rt,n)||l(r,U)&&r[U][n]||(o.enumerable=!0),o}},pt=function(t){var e=Z(v(t)),r=[];return B(e,(function(t){l(rt,t)||l(D,t)||et(r,t)})),r},vt=function(t){var e=t===z,r=Z(e?nt:v(t)),n=[];return B(r,(function(t){!l(rt,t)||e&&!l(z,t)||et(n,rt[t])})),n};c||(T(K=(H=function(){if(d(K,this))throw new $("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=L(t),r=function(t){var n=void 0===this?o:this;n===z&&i(r,nt,t),l(n,U)&&l(n[U],e)&&(n[U][e]=!1);var a=h(1,t);try{st(n,e,a)}catch(t){if(!(t instanceof Y))throw t;at(n,e,a)}};return u&&it&&st(z,e,{configurable:!0,set:r}),ut(e,t)})[W],"toString",(function(){return G(this).tag})),T(H,"withoutSetter",(function(t){return ut(L(t),t)})),M.f=lt,S.f=ct,O.f=ft,x.f=dt,b.f=E.f=pt,A.f=vt,I.f=function(t){return ut(j(t),t)},u&&(w(K,"description",{configurable:!0,get:function(){return G(this).description}}),s||T(z,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),B(m(ot),(function(t){R(t)})),n({target:V,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?_(t):ft(_(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:dt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pt}),C(),N(H,V),D[U]=!0},9463:(t,e,r)=>{var n=r(6518),o=r(3724),i=r(4576),a=r(9504),s=r(9297),u=r(4901),c=r(1625),f=r(655),l=r(2106),d=r(7740),p=i.Symbol,v=p&&p.prototype;if(o&&u(p)&&(!("description"in v)||void 0!==p().description)){var y={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=c(v,this)?new p(t):void 0===t?p():p(t);return""===t&&(y[e]=!0),e};d(g,p),g.prototype=v,v.constructor=g;var h="Symbol(description detection)"===String(p("description detection")),_=a(v.valueOf),m=a(v.toString),b=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),A=a("".slice);l(v,"description",{configurable:!0,get:function(){var t=_(this);if(s(y,t))return"";var e=m(t),r=h?A(e,7,-1):E(e,b,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},1510:(t,e,r)=>{var n=r(6518),o=r(7751),i=r(9297),a=r(655),s=r(5745),u=r(1296),c=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},2259:(t,e,r)=>{r(511)("iterator")},2675:(t,e,r)=>{r(6761),r(1510),r(7812),r(3110),r(9773)},7812:(t,e,r)=>{var n=r(6518),o=r(9297),i=r(757),a=r(6823),s=r(5745),u=r(1296),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},5700:(t,e,r)=>{var n=r(511),o=r(8242);n("toPrimitive"),o()},3500:(t,e,r)=>{var n=r(4576),o=r(7400),i=r(9296),a=r(235),s=r(6699),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var c in o)o[c]&&u(n[c]&&n[c].prototype);u(i)},2953:(t,e,r)=>{var n=r(4576),o=r(7400),i=r(9296),a=r(3792),s=r(6699),u=r(687),c=r(8227)("iterator"),f=a.values,l=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(u(t,e,!0),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in o)l(n[d]&&n[d].prototype,d);l(i,"DOMTokenList")},5575:(t,e,r)=>{var n=r(6518),o=r(4576),i=r(9472)(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(t,e,r)=>{var n=r(6518),o=r(4576),i=r(9472)(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(t,e,r)=>{r(5575),r(4599)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;