1/*! For license information please see 2876.70251b39.chunk.js.LICENSE.txt */ 2(self.webpackChunkotsufrontend=self.webpackChunkotsufrontend||[]).push([[2876],{7080:(t,e,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function s(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function a(t,e,r){return a=s()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&i(o,r.prototype),o},a.apply(null,arguments)}function c(t){var e="function"===typeof Map?new Map:void 0;return c=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return a(t,arguments,o(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,t)},c(t)}r.d(e,{by:()=>T});var u=function(t){var e,r;function n(e,r){var n;return void 0===r&&(r="Failed to resolve asset ID from source"),(n=t.call(this,r)||this).unresolvable=!0,n.input=e,n}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,i(e,r),n}(c(Error));function f(t){var e=t;return Boolean(e.unresolvable&&"input"in e)}function p(t){return function(){try{return t.apply(void 0,arguments)}catch(e){if(f(e))return;throw e}}}var l="https://cdn.sanity.io",h=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,d=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,y=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,v=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,b=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/;function g(t){return _(t)&&"string"===typeof t._ref}function m(t){return _(t)&&"string"===typeof t.path}function w(t){return _(t)&&"string"===typeof t.url}function O(t){var e=t;return _(e)&&e.asset&&"object"===typeof e.asset}function _(t){return null!==t&&!Array.isArray(t)&&"object"===typeof t}function E(t,e){var r=(null==e?void 0:e.projectId)||t.projectId,n=(null==e?void 0:e.dataset)||t.dataset;if(!r||!n)throw new Error("Project details (projectId and dataset) required to resolve path for file");var o="originalFilename"in t?t.originalFilename:void 0;return"files/"+r+"/"+n+"/"+t.assetId+"."+t.extension+C(o,t.vanityFilename,e)}function x(t){return O(t)?x(t.asset):g(t)?void 0:"string"===typeof t?(e=t,v.test(S(e)||"")?j(t):void 0):m(t)?t.path:w(t)?j(t.url):void 0;var e}function j(t){if(v.test(t))return t;if(!t.startsWith(l+"/"))throw new u('Failed to resolve path from URL "'+t+'"');var e=t.indexOf("?"),r=-1===e?void 0:e;return t.slice(l.length+1,r)}var S=p(j);function C(t,e,r){var n=e||t;return!1!==(null==r?void 0:r.useVanityName)&&n?"/"+n:""}function P(t){if(!d.test(t))throw new Error("Malformed file asset ID '"+t+'\'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"');var e=t.split("-");return{type:"file",assetId:e[1],extension:e[2]}}function T(t,e){var r,o,i=n({},e||q(t),{useVanityName:!1}),s=I(t),a=t.asset||t,c=P(s),u=c.assetId,f=c.extension,p=n({},function(t){return _(t)&&"sanity.fileAsset"===t._type}(t)?t:{},{_id:s,_type:"sanity.fileAsset",assetId:u,extension:f,metadata:a.metadata||{},url:"",path:""});return n({},p,{path:E(p,i),url:(r=p,o=i,l+"/"+E(r,o))})}function I(t){var e,r=O(t)?t.asset:t,n="";if("string"===typeof r?n=A(r):g(r)?n=r._ref:_(e=r)&&"string"===typeof e._id?n=r._id:m(r)?n=R(l+"/"+r.path):w(r)&&(n=R(r.url)),!(n&&b.test(n)))throw new u(t);return n}function A(t){if(b.test(t))return t;if(0===t.indexOf(l+"/images")||0===t.indexOf(l+"/files"))return R(t);if(v.test(t))return R(l+"/"+t);if(M(t))return R(l+"/files/a/b/"+t);if(D(t))return R(l+"/images/a/b/"+t);throw new u(t)}function R(t){var e=j(t).split("/"),r=e[0],n=e[3];return r.replace(/s$/,"")+"-"+n.replace(/\./g,"-")}function q(t){var e=x(t);if(!e)throw new u(t,"Failed to resolve project ID and dataset from source");var r=e.match(v)||[],n=r[2],o=r[3];if(!n||!o)throw new u(t,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:o}}function D(t){return y.test(t)}function M(t){return h.test(t)}},7143:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(c){a=!0,o=c}finally{try{s||null==r.return||r.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}
2(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(1725),s=r(3899),a=s.map,c=s.filter,u=r(307),f=r(5152);function p(t){this.client=t}function l(t,e){return"undefined"!==typeof window&&e instanceof window.File?i({filename:!1===t.preserveFilename?void 0:e.name,contentType:e.type},t):t}i(p.prototype,{upload:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};f.validateAssetType(t);var n=r.extract||void 0;n&&!n.length&&(n=["none"]);var o=f.hasDataset(this.client.clientConfig),i="image"===t?"images":"files",s=l(r,e),u=s.tag,p=s.label,h=s.title,d=s.description,y=s.creditLine,v=s.filename,b=s.source,g={label:p,title:h,description:d,filename:v,meta:n,creditLine:y};b&&(g.sourceId=b.id,g.sourceName=b.name,g.sourceUrl=b.url);var m=this.client._requestObservable({tag:u,method:"POST",timeout:s.timeout||0,uri:"/assets/".concat(i,"/").concat(o),headers:s.contentType?{"Content-Type":s.contentType}:{},query:g,body:e});return this.client.isPromiseAPI()?m.pipe(c((function(t){return"response"===t.type})),a((function(t){return t.body.document}))).toPromise():m},delete:function(t,e){console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");var r=e||"";return/^(image|file)-/.test(r)?t._id&&(r=t._id):r="".concat(t,"-").concat(r),f.hasDataset(this.client.clientConfig),this.client.delete(r)},getImageUrl:function(t,e){var r=t._ref||t;if("string"!==typeof r)throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(r))throw new Error('Unsupported asset ID "'.concat(r,'". URL generation only works for auto-generated IDs.'));var o=n(r.split("-"),4),i=o[1],s=o[2],a=o[3];f.hasDataset(this.client.clientConfig);var c=this.client.clientConfig,p=c.projectId,l=c.dataset,h=e?u(e):"";return"https://cdn.sanity.io/images/".concat(p,"/").concat(l,"/").concat(i,"-").concat(s,".").concat(a).concat(h)}}),t.exports=p},4284:(t,e,r)=>{"use strict";function n(t){this.client=t}r(1725)(n.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}}),t.exports=n},1897:(t,e,r)=>{"use strict";var n=r(1725),o=r(6537),i=r(5152),s=r(8277),a={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},c=["localhost","127.0.0.1","0.0.0.0"];e.defaultConfig=a,e.initConfig=function(t,r){var u=n({},r,t);u.apiVersion||s.printNoApiVersionSpecifiedWarning();var f=n({},a,u),p=f.useProjectHostname;if("undefined"===typeof Promise){var l=o("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(l))}if(p&&!f.projectId)throw new Error("Configuration must contain `projectId`");var h="undefined"!==typeof window&&window.location&&window.location.hostname,d=h&&function(t){return-1!==c.indexOf(t)}(window.location.hostname);h&&d&&f.token&&!0!==f.ignoreBrowserTokenWarning?s.printBrowserTokenWarning():"undefined"===typeof f.useCdn&&s.printCdnWarning(),p&&i.projectId(f.projectId),f.dataset&&i.dataset(f.dataset),"requestTagPrefix"in f&&(f.requestTagPrefix=f.requestTagPrefix?i.requestTag(f.requestTagPrefix).replace(/\.+$/,""):void 0),f.apiVersion="".concat(f.apiVersion).replace(/^v/,""),f.isDefaultApi=f.apiHost===a.apiHost,f.useCdn=Boolean(f.useCdn)&&!f.withCredentials,e.validateApiVersion(f.apiVersion);var y=f.apiHost.split("://",2),v=y[0],b=y[1],g=f.isDefaultApi?"apicdn.sanity.io":b;return f.useProjectHostname?(f.url="".concat(v,"://").concat(f.projectId,".").concat(b,"/v").concat(f.apiVersion),f.cdnUrl="".concat(v,"://").concat(f.projectId,".").concat(g,"/v").concat(f.apiVersion)):(f.url="".concat(f.apiHost,"/v").concat(f.apiVersion),f.cdnUrl=f.url),f},e.validateApiVersion=function(t){if("1"!==t&&"X"!==t){var e=new Date(t);if(!(/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}},693:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(1725),i=r(3899),s=i.map,a=i.filter,c=r(5152),u=r(4779),f=r(1186),p=r(9439),l=r(7285),h=r(5279),d=function(t,e){return!1===t?void 0:"undefined"===typeof t?e:t},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:d(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},v=function(t){return"response"===t.type},b=function(t){return t.body},g=function(t,e){return t.reduce((function(t,r){return t[e(r)]=r,t}),Object.create(null))},m=function(t){return t.toPromise()};t.exports={listen:h,getDataUrl:function(t,e){var r=this.clientConfig,n=c.hasDataset(r),o="/".concat(t,"/").concat(n),i=e?"".concat(o,"/").concat(e):o;return"/data".concat(i).replace(/\/($|\?)/,"$1")},fetch:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!1===r.filterResponse?function(t){return t}:function(t){return t.result},o=this._dataRequest("query",{query:t,params:e},r).pipe(s(n));return this.isPromiseAPI()?m(o):o},getDocument:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={uri:this.getDataUrl("doc",t),json:!0,tag:e.tag},n=this._requestObservable(r).pipe(a(v),s((function(t){return t.body.documents&&t.body.documents[0]})));return this.isPromiseAPI()?m(n):n},getDocuments:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:e.tag},n=this._requestObservable(r).pipe(a(v),s((function(e){var r=g(e.body.documents||[],(function(t){return t._id}));return t.map((function(t){return r[t]||null}))})));return this.isPromiseAPI()?m(n):n},create:function(t,e){return this._create(t,"create",e)},createIfNotExists:function(t,e){return c.requireDocumentId("createIfNotExists",t),this._create(t,"createIfNotExists",e)},createOrReplace:function(t,e){return c.requireDocumentId("createOrReplace",t),this._create(t,"createOrReplace",e)},patch:function(t,e){return new l(t,e,this)},delete:function(t,e){return this.dataRequest("mutate",{mutations:[{delete:u(t)}]},e)},mutate:function(t,e){var r=t instanceof l||t instanceof p?t.serialize():t,n=Array.isArray(r)?r:[r],o=e&&e.transactionId;return this.dataRequest("mutate",{mutations:n,transactionId:o},e)},transaction:function(t){return new p(t,this)},dataRequest:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this._dataRequest(t,e,r);return this.isPromiseAPI()?m(n):n},_dataRequest:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="mutate"===t,i="query"===t,c=!o&&f(e),u=!o&&c.length<11264,p=u?c:"",l=r.returnFirst,h=r.timeout,d=r.token,g=r.tag,m=r.headers,w=this.getDataUrl(t,p),O={method:u?"GET":"POST",uri:w,json:!0,body:u?void 0:e,query:o&&y(r),timeout:h,headers:m,token:d,tag:g,canUseCdn:i};return this._requestObservable(O).pipe(a(v),s(b),s((function(t){if(!o)return t;var e=t.results||[];if(r.returnDocuments)return l?e[0]&&e[0].document:e.map((function(t){return t.document}));var i=l?"documentId":"documentIds",s=l?e[0]&&e[0].id:e.map((function(t){return t.id}));return n({transactionId:t.transactionId,results:e},i,s)})))},_create:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n({},e,t),s=o({returnFirst:!0,returnDocuments:!0},r);return this.dataRequest("mutate",{mutations:[i]},s)}}},1186:t=>{"use strict";var e=["tag"];function r(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var n=encodeURIComponent;t.exports=function(t){var o=t.query,i=t.params,s=void 0===i?{}:i,a=t.options,c=void 0===a?{}
2:a,u=c.tag,f=r(c,e),p="query=".concat(n(o)),l=u?"?tag=".concat(n(u),"&").concat(p):"?".concat(p),h=Object.keys(s).reduce((function(t,e){return"".concat(t,"&").concat(n("$".concat(e)),"=").concat(n(JSON.stringify(s[e])))}),l);return Object.keys(f).reduce((function(t,e){return c[e]?"".concat(t,"&").concat(n(e),"=").concat(n(c[e])):t}),h)}},5279:(t,e,r)=>{"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(1725),a=r(3899).Observable,c=r(8879),u=r(581),f=r(7282),p=r(1186),l=c,h=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],d={includeResult:!0};function y(t){try{var e=t.data&&JSON.parse(t.data)||{};return s({type:t.type},e)}catch(r){return r}}function v(t){if(t instanceof Error)return t;var e=y(t);return e instanceof Error?e:new Error(function(t){if(!t.error)return t.message||"Unknown listener error";if(t.error.description)return t.error.description;return"string"===typeof t.error?t.error:JSON.stringify(t.error,null,2)}(e))}t.exports=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.clientConfig,i=n.url,s=n.token,c=n.withCredentials,b=n.requestTagPrefix,g=r.tag&&b?[b,r.tag].join("."):r.tag,m=o(o({},f(r,d)),{},{tag:g}),w=u(m,h),O=p({query:t,params:e,options:w,tag:g}),_="".concat(i).concat(this.getDataUrl("listen",O));if(_.length>14800)return new a((function(t){return t.error(new Error("Query too large for listener"))}));var E=m.events?m.events:["mutation"],x=-1!==E.indexOf("reconnect"),j={};return(s||c)&&(j.withCredentials=!0),s&&(j.headers={Authorization:"Bearer ".concat(s)}),new a((function(t){var e,r=u(),n=!1;function o(){n||(x&&t.next({type:"reconnect"}),n||r.readyState===l.CLOSED&&(c(),clearTimeout(e),e=setTimeout(f,100)))}function i(e){t.error(v(e))}function s(e){var r=y(e);return r instanceof Error?t.error(r):t.next(r)}function a(e){n=!0,c(),t.complete()}function c(){r.removeEventListener("error",o,!1),r.removeEventListener("channelError",i,!1),r.removeEventListener("disconnect",a,!1),E.forEach((function(t){return r.removeEventListener(t,s,!1)})),r.close()}function u(){var t=new l(_,j);return t.addEventListener("error",o,!1),t.addEventListener("channelError",i,!1),t.addEventListener("disconnect",a,!1),E.forEach((function(e){return t.addEventListener(e,s,!1)})),t}function f(){r=u()}return function(){n=!0,c()}}))}},7285:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(1725),i=r(4779),s=r(5152),a=s.validateObject,c=s.validateInsert;function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.selection=t,this.operations=o({},e),this.client=r}o(u.prototype,{clone:function(){return new u(this.selection,o({},this.operations),this.client)},set:function(t){return this._assign("set",t)},diffMatchPatch:function(t){return a("diffMatchPatch",t),this._assign("diffMatchPatch",t)},unset:function(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=o({},this.operations,{unset:t}),this},setIfMissing:function(t){return this._assign("setIfMissing",t)},replace:function(t){return a("replace",t),this._set("set",{$:t})},inc:function(t){return this._assign("inc",t)},dec:function(t){return this._assign("dec",t)},insert:function(t,e,r){var o;return c(t,e,r),this._assign("insert",(n(o={},t,e),n(o,"items",r),o))},append:function(t,e){return this.insert("after","".concat(t,"[-1]"),e)},prepend:function(t,e){return this.insert("before","".concat(t,"[0]"),e)},splice:function(t,e,r,n){var o=e<0?e-1:e,i="undefined"===typeof r||-1===r?-1:Math.max(0,e+r),s=o<0&&i>=0?"":i,a="".concat(t,"[").concat(o,":").concat(s,"]");return this.insert("replace",a,n||[])},ifRevisionId:function(t){return this.operations.ifRevisionID=t,this},serialize:function(){return o(i(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var e="string"===typeof this.selection,r=o({returnFirst:e,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},r)},reset:function(){return this.operations={},this},_set:function(t,e){return this._assign(t,e,!1)},_assign:function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a(t,e),this.operations=o({},this.operations,n({},t,o({},r&&this.operations[t]||{},e))),this}}),t.exports=u},9439:(t,e,r)=>{"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(1725),i=r(5152),s=r(7285),a={returnDocuments:!1};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;this.trxId=r,this.operations=t,this.client=e}o(c.prototype,{clone:function(){return new c(this.operations.slice(0),this.client,this.trxId)},create:function(t){return i.validateObject("create",t),this._add({create:t})},createIfNotExists:function(t){var e="createIfNotExists";return i.validateObject(e,t),i.requireDocumentId(e,t),this._add(n({},e,t))},createOrReplace:function(t){var e="createOrReplace";return i.validateObject(e,t),i.requireDocumentId(e,t),this._add(n({},e,t))},delete:function(t){return i.validateDocumentId("delete",t),this._add({delete:{id:t}})},patch:function(t,e){var r="function"===typeof e;if(t instanceof s)return this._add({patch:t.serialize()});if(r){var n=e(new s(t,{},this.client));if(!(n instanceof s))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:o({id:t},e)})},transactionId:function(t){return t?(this.trxId=t,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(t){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),o({transactionId:this.trxId},a,t||{}))},reset:function(){return this.operations=[],this},_add:function(t){return this.operations.push(t),this}}),t.exports=c},9806:(t,e,r)=>{"use strict";var n=r(1725),o=r(5152);function i(t){this.request=t.request.bind(t)}n(i.prototype,{create:function(t,e){return this._modify("PUT",t,e)},edit:function(t,e){return this._modify("PATCH",t,e)},delete:function(t){return this._modify("DELETE",t)},list:function(){return this.request({uri:"/datasets"})},_modify:function(t,e,r){return o.dataset(e),this.request({method:t,uri:"/datasets/".concat(e),body:r})}}),t.exports=i},6537:t=>{"use strict";
2t.exports=function(t){return"https://docs.sanity.io/help/"+t}},9402:t=>{"use strict";t.exports=[]},2093:(t,e,r)=>{"use strict";var n=r(1064),o=r(1725);function i(t){var e=a(t);i.super.call(this,e.message),o(this,e)}function s(t){var e=a(t);s.super.call(this,e.message),o(this,e)}function a(t){var e=t.body,r={response:t,statusCode:t.statusCode,responseBody:c(e,t)};return e.error&&e.message?(r.message="".concat(e.error," - ").concat(e.message),r):e.error&&e.error.description?(r.message=e.error.description,r.details=e.error,r):(r.message=e.error||e.message||function(t){var e=t.statusMessage?" ".concat(t.statusMessage):"";return"".concat(t.method,"-request to ").concat(t.url," resulted in HTTP ").concat(t.statusCode).concat(e)}(t),r)}function c(t,e){return-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(t,null,2):t}n(i),n(s),e.ClientError=i,e.ServerError=s},307:t=>{"use strict";t.exports=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t[r])));return e.length>0?"?".concat(e.join("&")):""}},2197:(t,e,r)=>{"use strict";var n=r(9434),o=r(1725),i=r(1947),s=r(337),a=r(9034),c=r(7173),u=r(3899).Observable,f=r(2093),p=f.ClientError,l=f.ServerError,h={onResponse:function(t){if(t.statusCode>=500)throw new l(t);if(t.statusCode>=400)throw new p(t);return t}},d={onResponse:function(t){var e=t.headers["x-sanity-warning"];return(Array.isArray(e)?e:[e]).filter(Boolean).forEach((function(t){return console.warn(t)})),t}},y=n(r(9402).concat([d,s(),a(),c(),h,i({implementation:u})]));function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;return e(o({maxRedirects:0},t))}v.defaultRequester=y,v.ClientError=p,v.ServerError=l,t.exports=v},7865:(t,e,r)=>{"use strict";var n=r(1725),o="X-Sanity-Project-ID";t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},i=e.token||t.token;i&&(r.Authorization="Bearer ".concat(i)),e.useGlobalApi||t.useProjectHostname||!t.projectId||(r[o]=t.projectId);var s=Boolean("undefined"===typeof e.withCredentials?t.token||t.withCredentials:e.withCredentials),a="undefined"===typeof e.timeout?t.timeout:e.timeout;return n({},e,{headers:n({},r,e.headers||{}),timeout:"undefined"===typeof a?3e5:a,proxy:e.proxy||t.proxy,json:!0,withCredentials:s})}},4709:(t,e,r)=>{"use strict";function n(t){this.client=t}r(1725)(n.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(t){return this.client.request({uri:"/projects/".concat(t)})}}),t.exports=n},8910:(t,e,r)=>{"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(1725),a=r(3899),c=a.Observable,u=a.map,f=a.filter,p=r(7285),l=r(9439),h=r(693),d=r(9806),y=r(4709),v=r(7143),b=r(631),g=r(4284),m=r(2197),w=r(7865),O=r(1897),_=O.defaultConfig,E=O.initConfig,x=r(5152);function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;if(!(this instanceof j))return new j(t);if(this.config(t),this.assets=new v(this),this.datasets=new d(this),this.projects=new y(this),this.users=new b(this),this.auth=new g(this),this.clientConfig.isPromiseAPI){var e=s({},this.clientConfig,{isPromiseAPI:!1});this.observable=new j(e)}}s(j.prototype,h),s(j.prototype,{clone:function(){return new j(this.config())},config:function(t){if("undefined"===typeof t)return s({},this.clientConfig);if(this.clientConfig&&!1===this.clientConfig.allowReconfigure)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){var e=s({},t,{isPromiseAPI:!1});this.observable.config(e)}return this.clientConfig=E(t,this.clientConfig||{}),this},withConfig:function(t){return new j(o(o({},this.config()),t))},getUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(r,"/").concat(t.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(t){var e=this,r=t.url||t.uri,n="undefined"===typeof t.canUseCdn?["GET","HEAD"].indexOf(t.method||"GET")>=0&&0===r.indexOf("/data/"):t.canUseCdn,i=this.clientConfig.useCdn&&n,a=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;a&&(t.query=o({tag:x.requestTag(a)},t.query));var u=w(this.clientConfig,s({},t,{url:this.getUrl(r,i)}));return new c((function(t){return m(u,e.clientConfig.requester).subscribe(t)}))},request:function(t){var e=this._requestObservable(t).pipe(f((function(t){return"response"===t.type})),u((function(t){return t.body})));return this.isPromiseAPI()?function(t){return t.toPromise()}(e):e}}),j.Patch=p,j.Transaction=l,j.ClientError=m.ClientError,j.ServerError=m.ServerError,j.requester=m.defaultRequester,t.exports=j},631:(t,e,r)=>{"use strict";function n(t){this.client=t}r(1725)(n.prototype,{getById:function(t){return this.client.request({uri:"/users/".concat(t)})}}),t.exports=n},7282:t=>{"use strict";
2t.exports=function(t,e){return Object.keys(e).concat(Object.keys(t)).reduce((function(r,n){return r[n]="undefined"===typeof t[n]?e[n]:t[n],r}),{})}},4779:t=>{"use strict";t.exports=function(t){if("string"===typeof t||Array.isArray(t))return{id:t};if(t&&t.query)return"params"in t?{query:t.query,params:t.params}:{query:t.query};var e=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join("\n");throw new Error("Unknown selection - must be one of:\n\n".concat(e))}},3899:(t,e,r)=>{"use strict";var n=r(5726).Observable,o=r(6736).filter,i=r(2601).map;t.exports={Observable:n,filter:o,map:i}},9541:t=>{"use strict";t.exports=function(t){var e,r=!1;return function(){return r||(e=t.apply(void 0,arguments),r=!0),e}}},581:t=>{"use strict";t.exports=function(t,e){return e.reduce((function(e,r){return"undefined"===typeof t[r]||(e[r]=t[r]),e}),{})}},5152:(t,e)=>{"use strict";function r(t){return r="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},r(t)}var n=["image","file"],o=["before","after","replace"];e.dataset=function(t){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e.projectId=function(t){if(!/^[-a-z0-9]+$/i.test(t))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},e.validateAssetType=function(t){if(-1===n.indexOf(t))throw new Error("Invalid asset type: ".concat(t,". Must be one of ").concat(n.join(", ")))},e.validateObject=function(t,e){if(null===e||"object"!==r(e)||Array.isArray(e))throw new Error("".concat(t,"() takes an object of properties"))},e.requireDocumentId=function(t,r){if(!r._id)throw new Error("".concat(t,'() requires that the document contains an ID ("_id" property)'));e.validateDocumentId(t,r._id)},e.validateDocumentId=function(t,e){if("string"!==typeof e||!/^[a-z0-9_.-]+$/i.test(e))throw new Error("".concat(t,'(): "').concat(e,'" is not a valid document ID'))},e.validateInsert=function(t,e,r){var n="insert(at, selector, items)";if(-1===o.indexOf(t)){var i=o.map((function(t){return'"'.concat(t,'"')})).join(", ");throw new Error("".concat(n,' takes an "at"-argument which is one of: ').concat(i))}if("string"!==typeof e)throw new Error("".concat(n,' takes a "selector"-argument which must be a string'));if(!Array.isArray(r))throw new Error("".concat(n,' takes an "items"-argument which must be an array'))},e.hasDataset=function(t){if(!t.dataset)throw new Error("`dataset` must be provided to perform queries");return t.dataset||""},e.requestTag=function(t){if("string"!==typeof t||!/^[a-z0-9._-]{1,75}$/i.test(t))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t}},8277:(t,e,r)=>{"use strict";var n=r(6537),o=r(9541),i=function(t){return o((function(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=console).warn.apply(e,[t.join(" ")].concat(n))}))};e.printCdnWarning=i(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and","cheaper. Think about it! For more info, see ".concat(n("js-client-cdn-configuration"),"."),"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),e.printBrowserTokenWarning=i(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(n("js-client-browser-token")," for more information and how to hide this warning.")]),e.printNoApiVersionSpecifiedWarning=i(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(n("js-client-api-version"))])},8879:(t,e,r)=>{var n=r(4048);t.exports=n.EventSourcePolyfill},9597:function(t){t.exports=function(){var t="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function e(e){var r=e.split("-"),n=r[1],o=r[2],i=r[3];if(!n||!o||!i)throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');var s=o.split("x"),a=+s[0],c=+s[1];if(!isFinite(a)||!isFinite(c))throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');return{id:n,width:a,height:c,format:i}}var r=function(t){return!!t&&"string"===typeof t._ref},n=function(t){return!!t&&"string"===typeof t._id},o=function(t){var e=t;return!(!e||!e.asset)&&"string"===typeof e.asset.url};function i(t){if(!t)return null;var e;if("string"===typeof t&&s(t))e={asset:{_ref:a(t)}};else if("string"===typeof t)e={asset:{_ref:t}};else if(r(t))e={asset:t};else if(n(t))e={asset:{_ref:t._id||""}};else if(o(t))e={asset:{_ref:a(t.asset.url)}};else{if("object"!==typeof t.asset)return null;e=t}var i=t;return i.crop&&(e.crop=i.crop),i.hotspot&&(e.hotspot=i.hotspot),c(e)}function s(t){return/^https?:\/\//.test(""+t)}function a(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function c(t){if(t.crop&&t.hotspot)return t;var e=Object.assign({},t);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}var u=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["
2invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]];function f(t){var r=Object.assign({},t||{}),n=r.source;delete r.source;var o=i(n);if(!o)throw new Error("Unable to resolve image URL from source ("+JSON.stringify(n)+")");var s=e(o.asset._ref||o.asset._id||""),a=Math.round(o.crop.left*s.width),c=Math.round(o.crop.top*s.height),u={left:a,top:c,width:Math.round(s.width-o.crop.right*s.width-a),height:Math.round(s.height-o.crop.bottom*s.height-c)},f=o.hotspot.height*s.height/2,h=o.hotspot.width*s.width/2,d=o.hotspot.x*s.width,y=o.hotspot.y*s.height,v={left:d-h,top:y-f,right:d+h,bottom:y+f};return r.rect||r.focalPoint||r.ignoreImageParams||r.crop||(r=Object.assign({},r,l({crop:u,hotspot:v},r))),p(Object.assign({},r,{asset:s}))}function p(t){var e=t.baseUrl||"https://cdn.sanity.io",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,n=e+"/images/"+t.projectId+"/"+t.dataset+"/"+r,o=[];if(t.rect){var i=t.rect,s=i.left,a=i.top,c=i.width,f=i.height;(0!==s||0!==a||f!==t.asset.height||c!==t.asset.width)&&o.push("rect="+s+","+a+","+c+","+f)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var p=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return p&&o.push("flip="+p),u.forEach((function(e){var r=e[0],n=e[1];"undefined"!==typeof t[r]?o.push(n+"="+encodeURIComponent(t[r])):"undefined"!==typeof t[n]&&o.push(n+"="+encodeURIComponent(t[n]))})),0===o.length?n:n+"?"+o.join("&")}function l(t,e){var r,n=e.width,o=e.height;if(!n||!o)return{width:n,height:o,rect:t.crop};var i=t.crop,s=t.hotspot,a=n/o;if(i.width/i.height>a){var c=Math.round(i.height),u=Math.round(c*a),f=Math.max(0,Math.round(i.top)),p=Math.round((s.right-s.left)/2+s.left),l=Math.max(0,Math.round(p-u/2));l<i.left?l=i.left:l+u>i.left+i.width&&(l=i.left+i.width-u),r={left:l,top:f,width:u,height:c}}else{var h=i.width,d=Math.round(h/a),y=Math.max(0,Math.round(i.left)),v=Math.round((s.bottom-s.top)/2+s.top),b=Math.max(0,Math.round(v-d/2));b<i.top?b=i.top:b+d>i.top+i.height&&(b=i.top+i.height-d),r={left:y,top:b,width:h,height:d}}return{width:n,height:o,rect:r}}var h=["clip","crop","fill","fillmax","max","scale","min"],d=["top","bottom","left","right","center","focalpoint","entropy"],y=["format"];function v(t){return!!t&&"object"===typeof t.clientConfig}function b(t){for(var e=0,r=u;e<r.length;e+=1){var n=r[e],o=n[0],i=n[1];if(t===o||t===i)return o}return t}function g(t){var e=t;if(v(e)){var r=e.clientConfig,n=r.apiHost,o=r.projectId,i=r.dataset;return new m(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:o,dataset:i})}return new m(null,t)}var m=function(t,e){this.options=t?Object.assign({},t.options||{},e||{}):Object.assign({},e||{})};return m.prototype.withOptions=function(t){var e=t.baseUrl||this.options.baseUrl,r={baseUrl:e};for(var n in t)t.hasOwnProperty(n)&&(r[b(n)]=t[n]);return new m(this,Object.assign({},{baseUrl:e},r))},m.prototype.image=function(t){return this.withOptions({source:t})},m.prototype.dataset=function(t){return this.withOptions({dataset:t})},m.prototype.projectId=function(t){return this.withOptions({projectId:t})},m.prototype.bg=function(t){return this.withOptions({bg:t})},m.prototype.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},m.prototype.width=function(t){return this.withOptions({width:t})},m.prototype.height=function(t){return this.withOptions({height:t})},m.prototype.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},m.prototype.maxWidth=function(t){return this.withOptions({maxWidth:t})},m.prototype.minWidth=function(t){return this.withOptions({minWidth:t})},m.prototype.maxHeight=function(t){return this.withOptions({maxHeight:t})},m.prototype.minHeight=function(t){return this.withOptions({minHeight:t})},m.prototype.size=function(t,e){return this.withOptions({width:t,height:e})},m.prototype.blur=function(t){return this.withOptions({blur:t})},m.prototype.sharpen=function(t){return this.withOptions({sharpen:t})},m.prototype.rect=function(t,e,r,n){return this.withOptions({rect:{left:t,top:e,width:r,height:n}})},m.prototype.format=function(t){return this.withOptions({format:t})},m.prototype.invert=function(t){return this.withOptions({invert:t})},m.prototype.orientation=function(t){return this.withOptions({orientation:t})},m.prototype.quality=function(t){return this.withOptions({quality:t})},m.prototype.forceDownload=function(t){return this.withOptions({download:t})},m.prototype.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},m.prototype.flipVertical=function(){return this.withOptions({flipVertical:!0})},m.prototype.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},m.prototype.fit=function(t){if(-1===h.indexOf(t))throw new Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},m.prototype.crop=function(t){if(-1===d.indexOf(t))throw new Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},m.prototype.saturation=function(t){return this.withOptions({saturation:t})},m.prototype.auto=function(t){if(-1===y.indexOf(t))throw new Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},m.prototype.pad=function(t){return this.withOptions({pad:t})},m.prototype.url=function(){return f(this.options)},m.prototype.toString=function(){return this.url()},g}()},4048:function(t,e){var r,n,o;!function(i){"use strict";var s=i.setTimeout,a=i.clearTimeout,c=i.XMLHttpRequest,u=i.XDomainRequest,f=i.ActiveXObject,p=i.EventSource,l=i.document,h=i.Promise,d=i.fetch,y=i.Response,v=i.TextDecoder,b=i.TextEncoder,g=i.AbortController;if("undefined"===typeof window||"undefined"===typeof l||"readyState"in l||null!=l.body||(l.readyState="loading",window.addEventListener("load",(function(t){l.readyState="complete"}),!1)),null==c&&null!=f&&(c=function(){return new f("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return(new Date).getTime()}),void 0==g){var m=d;d=function(t,e){var r=e.signal;return m(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then((function(t){var e=t.body.getReader();return r._reader=e,r._aborted&&r._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}}))},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function w(){this.bitsNeeded=0,this.codePoint=0}w.prototype.decode=function(t){function e(t,e,r){if(1===r)return t>=128>>e&&t<<e<=2047;if(2===r)return t>=2048>>e&&t<<e<=55295||t>=57344>>e&&t<<e<=65535;if(3===r)return t>=65536>>e&&t<<e<=1114111;throw new Error}function r(t,e){if(6===t)return e>>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var n=65533,o="",i=this.bitsNeeded,s=this.codePoint,a=0;a<t.length;a+=1){var c=t[a];0!==i&&(c<128||c>191||!e(s<<6|63&c,i-6,r(i,s)))&&(i=0,s=n,o+=String.fromCharCode(s)),0===i?(c>=0&&c<=127?(i=0,s=c):c>=192&&c<=223?(i=6,s=31&c):c>=224&&c<=239?(i=12,s=15&c):c>=240&&c<=247?(i=18,s=7&c):(i=0,s=n),0===i||e(s,i,r(i,s))||(i=0,s=n)):(i-=6,s=s<<6|63&c),0===i&&(s<=65535?o+=String.fromCharCode(s):(o+=String.fromCharCode(55296+(s-65535-1>>10)),o+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=s,o};void 0!=v&&void 0!=b&&function(){try{return"test"===(new v).decode((new b).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(v=w);var O=function(){};function _(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=O,this.onload=O,this.onerror=O,this.onreadystatechange=O,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=O}function E(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function x(t){for(var e=Object.create(null),r=t.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),s=o.join(": ");e[E(i)]=s}this._map=e}function j(){}function S(t){this._headers=t}function C(){}function P(){this._listeners=Object.create(null)}function T(t){s((function(){throw t}),0)}function I(t){this.type=t,this.target=void 0}function A(t,e){I.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function R(t,e){I.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function q(t,e){I.call(this,t),this.error=e.error}_.prototype.open=function(t,e){this._abort(!0);var r=this,n=this._xhr,o=1,i=0;this._abort=function(t){0!==r._sendTimeout&&(a(r._sendTimeout),r._sendTimeout=0),1!==o&&2!==o&&3!==o||(o=4,n.onload=O,n.onerror=O,n.onabort=O,
vendor: 1,268 bytes, line 2
2n.onprogress=O,n.onreadystatechange=O,n.abort(),0!==i&&(a(i),i=0),t||(r.readyState=4,r.onabort(null),r.onreadystatechange())),o=0};var u=function(){if(1===o){var t=0,e="",i=void 0;if("contentType"in n)t=200,e="OK",i=n.contentType;else try{t=n.status,e=n.statusText,i=n.getResponseHeader("Content-Type")}catch(s){t=0,e="",i=void 0}0!==t&&(o=2,r.readyState=2,r.status=t,r.statusText=e,r._contentType=i,r.onreadystatechange())}},f=function(){if(u(),2===o||3===o){o=3;var t="";try{t=n.responseText}catch(e){}r.readyState=3,r.responseText=t,r.onprogress()}},p=function(t,e){if(null!=e&&null!=e.preventDefault||(e={preventDefault:O}),f(),1===o||2===o||3===o){if(o=4,0!==i&&(a(i),i=0),r.readyState=4,"load"===t)r.onload(e);else if("error"===t)r.onerror(e);else{if("abort"!==t)throw new TypeError;r.onabort(e)}r.onreadystatechange()}},l=function(){i=s((function(){l()}),500),3===n.readyState&&f()};"onload"in n&&(n.onload=function(t){p("load",t)}),"onerror"in n&&(n.onerror=function(t){p("error",t)}),"onabort"in n&&(n.onabort=function(t){p("abort",t)}),"onprogress"in n&&(n.onprogress=f),"onreadystatechange"in n&&(n.onreadystatechange=function(t){!function(t){void 0!=n&&(4===n.readyState?"onload"in n&&"onerror"in n&&"onabort"in n||p(""===n.responseText?"error":"load",t):3
2===n.readyState?"onprogress"in n||f():2===n.readyState&&u())}(t)}),!("contentType"in n)&&"ontimeout"in c.prototype||(e+=(-1===e.indexOf("?")?"?":"&")+"padding=true"),n.open(t,e,!0),"readyState"in n&&(i=s((function(){l()}),0))},_.prototype.abort=function(){this._abort(!1)},_.prototype.getResponseHeader=function(t){return this._contentType},_.prototype.setRequestHeader=function(t,e){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(t,e)},_.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},_.prototype.send=function(){if("ontimeout"in c.prototype&&("sendAsBinary"in c.prototype||"mozAnon"in c.prototype)||void 0==l||void 0==l.readyState||"complete"===l.readyState){var t=this._xhr;"withCredentials"in t&&(t.withCredentials=this.withCredentials);try{t.send(void 0)}catch(r){throw r}}else{var e=this;e._sendTimeout=s((function(){e._sendTimeout=0,e.send()}),4)}},x.prototype.get=function(t){return this._map[E(t)]},null!=c&&null==c.HEADERS_RECEIVED&&(c.HEADERS_RECEIVED=2),j.prototype.open=function(t,e,r,n,o,i,s){t.open("GET",o);var a=0;for(var u in t.onprogress=function(){var e=t.responseText.slice(a);a+=e.length,r(e)},t.onerror=function(t){t.preventDefault(),n(new Error("NetworkError"))},t.onload=function(){n(null)},t.onabort=function(){n(null)},t.onreadystatechange=function(){if(t.readyState===c.HEADERS_RECEIVED){var r=t.status,n=t.statusText,o=t.getResponseHeader("Content-Type"),i=t.getAllResponseHeaders();e(r,n,o,new x(i))}},t.withCredentials=i,s)Object.prototype.hasOwnProperty.call(s,u)&&t.setRequestHeader(u,s[u]);return t.send(),t},S.prototype.get=function(t){return this._headers.get(t)},C.prototype.open=function(t,e,r,n,o,i,s){var a=null,c=new g,u=c.signal,f=new v;return d(o,{headers:s,credentials:i?"include":"same-origin",signal:u,cache:"no-store"}).then((function(t){return a=t.body.getReader(),e(t.status,t.statusText,t.headers.get("Content-Type"),new S(t.headers)),new h((function(t,e){var n=function(){a.read().then((function(e){if(e.done)t(void 0);else{var o=f.decode(e.value,{stream:!0});r(o),n()}})).catch((function(t){e(t)}))};n()}))})).catch((function(t){return"AbortError"===t.name?void 0:t})).then((function(t){n(t)})),{abort:function(){null!=a&&a.cancel(),c.abort()}}},P.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(void 0!=e)for(var r=e.length,n=0;n<r;n+=1){var o=e[n];try{"function"===typeof o.handleEvent?o.handleEvent(t):o.call(this,t)}catch(i){T(i)}}},P.prototype.addEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];void 0==n&&(n=[],r[t]=n);for(var o=!1,i=0;i<n.length;i+=1)n[i]===e&&(o=!0);o||n.push(e)},P.prototype.removeEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];if(void 0!=n){for(var o=[],i=0;i<n.length;i+=1)n[i]!==e&&o.push(n[i]);0===o.length?delete r[t]:r[t]=o}},A.prototype=Object.create(I.prototype),R.prototype=Object.create(I.prototype),q.prototype=Object.create(I.prototype);var D=-1,M=-1,U=/^text\/event\-stream(;.*)?$/i,k=function(t,e){var r=null==t?e:parseInt(t,10);return r!==r&&(r=e),H(r)},H=function(t){return Math.min(Math.max(t,1e3),18e6)},N=function(t,e,r){try{"function"===typeof e&&e.call(t,r)}catch(n){T(n)}};function z(t,e){P.call(this),e=e||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(t,e,r){e=String(e);var n=Boolean(r.withCredentials),o=r.lastEventIdQueryParameterName||"lastEventId",i=H(1e3),f=k(r.heartbeatTimeout,45e3),p="",l=i,h=!1,d=0,y=r.headers||{},v=r.Transport,b=L&&void 0==v?void 0:new _(void 0!=v?new v:void 0!=c&&"withCredentials"in c.prototype||void 0==u?new c:new u),g=null!=v&&"string"!==typeof v?new v:void 0==b?new C:new j,m=void 0,w=0,O=D,E="",x="",S="",P="",T=0,I=0,z=0,V=function(e,r,n,o){if(0===O)if(200===e&&void 0!=n&&U.test(n)){O=1,h=Date.now(),l=i,t.readyState=1;var s=new R("open",{status:e,statusText:r,headers:o});t.dispatchEvent(s),N(t,t.onopen,s)}else{var a="";200!==e?(r&&(r=r.replace(/\s+/g," ")),a="EventSource's response has a status "+e+" "+r+" that is not 200. Aborting the connection."):a="EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",B();s=new R("error",{status:e,statusText:r,headers:o});t.dispatchEvent(s),N(t,t.onerror,s),console.error(a)}},F=function(e){if(1===O){for(var r=-1,n=0;n<e.length;n+=1){(u=e.charCodeAt(n))!=="\n".charCodeAt(0)&&u!=="\r".charCodeAt(0)||(r=n)}var o=(-1!==r?P:"")+e.slice(0,r+1);P=(-1===r?P:"")+e.slice(r+1),""!==e&&(h=Date.now(),d+=e.length);for(var c=0;c<o.length;
2c+=1){var u=o.charCodeAt(c);if(T===M&&u==="\n".charCodeAt(0))T=0;else if(T===M&&(T=0),u==="\r".charCodeAt(0)||u==="\n".charCodeAt(0)){if(0!==T){1===T&&(z=c+1);var y=o.slice(I,z-1),v=o.slice(z+(z<c&&o.charCodeAt(z)===" ".charCodeAt(0)?1:0),c);"data"===y?(E+="\n",E+=v):"id"===y?x=v:"event"===y?S=v:"retry"===y?(i=k(v,i),l=i):"heartbeatTimeout"===y&&(f=k(v,f),0!==w&&(a(w),w=s((function(){X()}),f)))}if(0===T){if(""!==E){p=x,""===S&&(S="message");var b=new A(S,{data:E.slice(1),lastEventId:x});if(t.dispatchEvent(b),"open"===S?N(t,t.onopen,b):"message"===S?N(t,t.onmessage,b):"error"===S&&N(t,t.onerror,b),2===O)return}E="",S=""}T=u==="\r".charCodeAt(0)?M:0}else 0===T&&(I=c,T=1),1===T?u===":".charCodeAt(0)&&(z=c+1,T=2):2===T&&(T=3)}}},$=function(e){if(1===O||0===O){O=D,0!==w&&(a(w),w=0),w=s((function(){X()}),l),l=H(Math.min(16*i,2*l)),t.readyState=0;var r=new q("error",{error:e});t.dispatchEvent(r),N(t,t.onerror,r),void 0!=e&&console.error(e)}},B=function(){O=2,void 0!=m&&(m.abort(),m=void 0),0!==w&&(a(w),w=0),t.readyState=2},X=function(){if(w=0,O===D){h=!1,d=0,w=s((function(){X()}),f),O=0,E="",S="",x=p,P="",I=0,z=0,T=0;var r=e;if("data:"!==e.slice(0,5)&&"blob:"!==e.slice(0,5)&&""!==p){var n=e.indexOf("?");r=-1===n?e:e.slice(0,n+1)+e.slice(n+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(t,e){return e===o?"":t})),r+=(-1===e.indexOf("?")?"?":"&")+o+"="+encodeURIComponent(p)}var i=t.withCredentials,a={Accept:"text/event-stream"},c=t.headers;if(void 0!=c)for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&&(a[u]=c[u]);try{m=g.open(b,V,F,$,r,i,a)}catch(y){throw B(),y}}else if(h||void 0==m){var l=Math.max((h||Date.now())+f-Date.now(),1);h=!1,w=s((function(){X()}),l)}else $(new Error("No activity within "+f+" milliseconds. "+(0===O?"No response received.":d+" chars received.")+" Reconnecting.")),void 0!=m&&(m.abort(),m=void 0)};t.url=e,t.readyState=0,t.withCredentials=n,t.headers=y,t._close=B,X()}(this,t,e)}var L=void 0!=d&&void 0!=y&&"body"in y.prototype;z.prototype=Object.create(P.prototype),z.prototype.CONNECTING=0,z.prototype.OPEN=1,z.prototype.CLOSED=2,z.prototype.close=function(){this._close()},z.CONNECTING=0,z.OPEN=1,z.CLOSED=2,z.prototype.withCredentials=void 0;var V=p;void 0==c||void 0!=p&&"withCredentials"in p.prototype||(V=z),function(i){if("object"===typeof t.exports){var s=i(e);void 0!==s&&(t.exports=s)}else n=[e],void 0===(o="function"===typeof(r=i)?r.apply(e,n):r)||(t.exports=o)}((function(t){t.EventSourcePolyfill=z,t.NativeEventSource=p,t.EventSource=V}))}("undefined"===typeof globalThis?"undefined"!==typeof window?window:"undefined"!==typeof self?self:this:globalThis)},9434:(t,e,r)=>{t.exports=r(93)},93:(t,e,r)=>{"use strict";var n=r(9628),o=r(1258),i=r(1840),s=r(6255),a=r(5910),c=["request","response","progress","error","abort"],u=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];t.exports=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,f=[],p=u.reduce((function(t,e){return t[e]=t[e]||[],t}),{processOptions:[i],validateOptions:[s]});function l(t){var e=c.reduce((function(t,e){return t[e]=n(),t}),{}),i=o(p),s=i("processOptions",t);i("validateOptions",s);var a={options:s,channels:e,applyMiddleware:i},u=null,f=e.request.subscribe((function(t){u=r(t,(function(r,n){return function(t,n,o){var s=t,a=n;if(!s)try{a=i("onResponse",n,o)}catch(r){a=null,s=r}(s=s&&i("onError",s,o))?e.error.publish(s):a&&e.response.publish(a)}(r,n,t)}))}));e.abort.subscribe((function(){f(),u&&u.abort()}));var l=i("onReturn",e,a);return l===e&&e.request.publish(a),l}return l.use=function(t){if(!t)throw new Error("Tried to add middleware that resolved to falsey value");if("function"===typeof t)throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(t.onReturn&&p.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return u.forEach((function(e){t[e]&&p[e].push(t[e])}
2)),f.push(t),l},l.clone=function(){return t(f)},e.forEach(l.use),l}},1840:(t,e,r)=>{"use strict";var n=r(1725),o=r(5915),i="undefined"!==typeof navigator&&"ReactNative"===navigator.product,s=Object.prototype.hasOwnProperty,a={timeout:i?6e4:12e4};function c(t){var e=[];for(var r in t)s.call(t,r)&&n(r,t[r]);return e.length?e.join("&"):"";function n(t,r){Array.isArray(r)?r.forEach((function(e){return n(t,e)})):e.push([t,r].map(encodeURIComponent).join("="))}}function u(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;var e=Number(t);return isNaN(e)?u(a.timeout):{connect:e,socket:e}}t.exports=function(t){var e="string"===typeof t?n({url:t},a):n({},a,t),r=o(e.url,{},!0);return e.timeout=u(e.timeout),e.query&&(r.query=n({},r.query,function(t){var e={};for(var r in t)void 0!==t[r]&&(e[r]=t[r]);return e}(e.query))),e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e.url=r.toString(c),e}},6255:t=>{"use strict";var e=/^https?:\/\//i;t.exports=function(t){if(!e.test(t.url))throw new Error('"'.concat(t.url,'" is not a valid URL'))}},337:(t,e,r)=>{"use strict";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)}var o=r(1725),i=r(4807),s=["boolean","string","number"];t.exports=function(){return{processOptions:function(t){var e,r=t.body;return r&&!("function"===typeof r.pipe)&&!((e=r).constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))&&(-1!==s.indexOf(n(r))||Array.isArray(r)||i(r))?o({},t,{body:JSON.stringify(t.body),headers:o({},t.headers,{"Content-Type":"application/json"})}):t}}}},9034:(t,e,r)=>{"use strict";var n=r(1725);function o(t){try{return JSON.parse(t)}catch(e){throw e.message="Failed to parsed response body as JSON: ".concat(e.message),e}}t.exports=function(t){return{onResponse:function(e){var r=e.headers["content-type"]||"",i=t&&t.force||-1!==r.indexOf("application/json");return e.body&&r&&i?n({},e,{body:o(e.body)}):e},processOptions:function(t){return n({},t,{headers:n({Accept:"application/json"},t.headers)})}}}},1947:(t,e,r)=>{"use strict";var n=r(7193),o=r(1725);t.exports=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||n.Observable;if(!e)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(t,r){return new e((function(e){return t.error.subscribe((function(t){return e.error(t)})),t.progress.subscribe((function(t){return e.next(o({type:"progress"},t))})),t.response.subscribe((function(t){e.next(o({type:"response"},t)),e.complete()})),t.request.publish(r),function(){return t.abort.publish()}}))}}}},7791:t=>{"use strict";t.exports=function(){return{onRequest:function(t){if("xhr"===t.adapter){var e=t.request,r=t.context;"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=n("upload")),"onprogress"in e&&(e.onprogress=n("download"))}function n(t){return function(e){var n=e.lengthComputable?e.loaded/e.total*100:-1;r.channels.progress.publish({stage:t,percent:n,total:e.total,loaded:e.loaded,lengthComputable:e.lengthComputable})}}}}}},7173:(t,e,r)=>{"use strict";t.exports=r(7791)},4757:(t,e,r)=>{"use strict";var n=r(6784),o=r(9913),i=r(7390),s="undefined"===typeof window?void 0:window,a=s?"xhr":"fetch",c="function"===typeof XMLHttpRequest?XMLHttpRequest:function(){},u="withCredentials"in new c,f="undefined"===typeof XDomainRequest?void 0:XDomainRequest,p=u?c:f;s||(c=i,p=i),t.exports=function(t,e){var r=t.options,i=t.applyMiddleware("finalizeOptions",r),u={},f=s&&s.location&&!n(s.location.href,i.url),l=t.applyMiddleware("interceptRequest",void 0,{adapter:a,context:t});if(l){var h=setTimeout(e,0,null,l);return{abort:function(){return clearTimeout(h)}}}var d=f?new p:new c,y=s&&s.XDomainRequest&&d instanceof s.XDomainRequest,v=i.headers,b=i.timeout,g=!1,m=!1,w=!1;if(d.onerror=x,d.ontimeout=x,d.onabort=function(){E(!0),g=!0},d.onprogress=function(){},d[y?"onload":"onreadystatechange"]=function(){!function(){if(!b)return;E(),u.socket=setTimeout((function(){return _("ESOCKETTIMEDOUT")}),b.socket)}(),g||4!==d.readyState&&!y||0!==d.status&&function(){if(g||m||w)return;if(0===d.status)return void x(new Error("Unknown XHR error"));E(),m=!0,e(null,function(){var t=d.status,e=d.statusText;if(y&&void 0===t)t=200;else{if(t>12e3&&t<12156)return x();t=1223===d.status?204:d.status,e=1223===d.status?"No Content":e}return{body:d.response||d.responseText,url:i.url,method:i.method,headers:y?{}:o(d.getAllResponseHeaders()),statusCode:t,statusMessage:e}}())}()},d.open(i.method,i.url,!0),d.withCredentials=!!i.withCredentials,v&&d.setRequestHeader)for(var O in v)v.hasOwnProperty(O)&&d.setRequestHeader(O,v[O]);else if(v&&y)throw new Error("Headers cannot be set on an XDomainRequest object");return i.rawBody&&(d.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:i,adapter:a,request:d,c
2ontext:t}),d.send(i.body||null),b&&(u.connect=setTimeout((function(){return _("ETIMEDOUT")}),b.connect)),{abort:function(){g=!0,d&&d.abort()}};function _(e){w=!0,d.abort();var r=new Error("ESOCKETTIMEDOUT"===e?"Socket timed out on request to ".concat(i.url):"Connection timed out on request to ".concat(i.url));r.code=e,t.channels.error.publish(r)}function E(t){(t||g||d.readyState>=2&&u.connect)&&clearTimeout(u.connect),u.socket&&clearTimeout(u.socket)}function x(t){if(!m){E(!0),m=!0,d=null;var r=t||new Error("Network error while attempting to reach ".concat(i.url));r.isNetworkError=!0,r.request=i,e(r)}}}},7390:t=>{"use strict";function e(){this.readyState=0}e.prototype.open=function(t,e){this._method=t,this._url=e,this._resHeaders="",this.readyState=1,this.onreadystatechange()},e.prototype.abort=function(){this._controller&&this._controller.abort()},e.prototype.getAllResponseHeaders=function(){return this._resHeaders},e.prototype.setRequestHeader=function(t,e){this._headers=this._headers||{},this._headers[t]=e},e.prototype.send=function(t){var e=this,r=this._controller="function"===typeof AbortController&&new AbortController,n="arraybuffer"!==this.responseType,o={method:this._method,headers:this._headers,signal:r&&r.signal,body:t};"undefined"!==typeof window&&(o.credentials=this.withCredentials?"include":"omit"),fetch(this._url,o).then((function(t){return t.headers.forEach((function(t,r){e._resHeaders+="".concat(r,": ").concat(t,"\r\n")})),e.status=t.status,e.statusText=t.statusText,e.readyState=3,n?t.text():t.arrayBuffer()})).then((function(t){n?e.responseText=t:e.response=t,e.readyState=4,e.onreadystatechange()})).catch((function(t){"AbortError"!==t.name?e.onerror(t):e.onabort()}))},t.exports=e},5910:(t,e,r)=>{"use strict";t.exports=r(4757)},7193:(t,e,r)=>{"use strict";"undefined"!==typeof globalThis?t.exports=globalThis:"undefined"!==typeof window?t.exports=window:"undefined"!==typeof r.g?t.exports=r.g:"undefined"!==typeof self?t.exports=self:t.exports={}},1258:t=>{"use strict";t.exports=function(t){return function(e,r){for(var n="onError"===e,o=r,i=arguments.length,s=new Array(i>2?i-2:0),a=2;a<i;a++)s[a-2]=arguments[a];for(var c=0;c<t[e].length;c++){var u=t[e][c];if(o=u.apply(void 0,[o].concat(s)),n&&!o)break}return o}}},4807:(t,e,r)=>{"use strict";var n=r(8863);function o(t){return!0===n(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,r;return!1!==o(t)&&("function"===typeof(e=t.constructor)&&(!1!==o(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}},8863:t=>{"use strict";t.exports=function(t){return null!=t&&"object"===typeof t&&!1===Array.isArray(t)}},1064:(t,e)=>{"use strict";var r="undefined"!==typeof Reflect?Reflect.construct:void 0,n=Object.defineProperty,o=Error.captureStackTrace;function i(t){void 0!==t&&n(this,"message",{configurable:!0,value:t,writable:!0});var e=this.constructor.name;void 0!==e&&e!==this.name&&n(this,"name",{configurable:!0,value:e,writable:!0}),o(this,this.constructor)}void 0===o&&(o=function(t){var e=new Error;n(t,"stack",{configurable:!0,get:function(){var t=e.stack;return n(this,"stack",{configurable:!0,value:t,writable:!0}),t},set:function(e){n(t,"stack",{configurable:!0,value:e,writable:!0})}})}),i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var s=function(){function t(t,e){return n(t,"name",{configurable:!0,value:e})}try{var e=function(){};if(t(e,"foo"),"foo"===e.name)return t}catch(r){}}();(t.exports=function(t,e){if(null==e||e===Error)e=i;else if("function"!==typeof e)throw new TypeError("super_ should be a function");var n;if("string"===typeof t)n=t,t=void 0!==r?function(){return r(e,arguments,this.constructor)}:function(){e.apply(this,arguments)},void 0!==s&&(s(t,n),n=void 0);else if("function"!==typeof t)throw new TypeError("constructor should be either a string or a function");t.super_=t.super=e;var o={constructor:{configurable:!0,value:t,writable:!0}};return void 0!==n&&(o.name={configurable:!0,value:n,writable:!0}),t.prototype=Object.create(e.prototype,o),t}).BaseError=i},9628:t=>{t.exports=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}},publish:function(){for(var e=0;e<t.length;e++)t[e].apply(null,arguments)}}}},9913:t=>{var e=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var r,n={},o=e(t).split("\n"),i=0;i<o.length;i++){var s=o[i],a=s.indexOf(":"),c=e(s.slice(0,a)).toLowerCase(),u=e(s.slice(a+1));"undefined"===typeof n[c]?n[c]=u:(r=n[c],"[object Array]"===Object.prototype.toString.call(r)?n[c].push(u):n[c]=[n[c],u])}return n}},6962:(t,e)=>{"use strict";var r=Object.prototype.hasOwnProperty;function n(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function o(t){try{return encodeURIComponent(t)}catch(e){return null}}e.stringify=function(t,e){e=e||"";var n,i,s=[];for(i in"string"!==typeof e&&(e="?"),t)if(r.call(t,i)){if((n=t[i])||null!==n&&undefined!==n&&!isNaN(n)||(n=""),i=o(i),n=o(n),null===i||null===n)continue;s.push(i+"="+n)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,r=/([^=?#&]+)=?([^&]*)/g,o={};e=r.exec(t);){var i=n(e[1]),s=n(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}},3841:t=>{"use strict";
2t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},5726:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1895),o=r(900),i=r(9213),s=r(3440),a=r(7979),c=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=o.toSubscriber(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.config.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),n.canReportError(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=u(e))((function(e,n){var o;o=r.subscribe((function(e){try{t(e)}catch(r){n(r),o&&o.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=u(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function u(t){if(t||(t=a.config.Promise||Promise),!t)throw new Error("no Promise impl found");return t}e.Observable=c},8377:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7979),o=r(7776);e.empty={closed:!0,next:function(t){},error:function(t){if(n.config.useDeprecatedSynchronousErrorHandling)throw t;o.hostReportError(t)},complete:function(){}}},8883:function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(4629),i=r(8377),s=r(4974),a=r(7836),c=r(7979),u=r(7776),f=function(t){function e(r,n,o){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=i.empty;break;case 1:if(!r){s.destination=i.empty;break}if("object"===typeof r){r instanceof e?(s.syncErrorThrowable=r.syncErrorThrowable,s.destination=r,r.add(s)):(s.syncErrorThrowable=!0,s.destination=new p(s,r));break}default:s.syncErrorThrowable=!0,s.destination=new p(s,r,n,o)}return s}return n(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,r,n){var o=new e(t,r,n);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.Subscription);e.Subscriber=f;var p=function(t){function e(e,r,n,s){var a,c=t.call(this)||this;c._parentSubscriber=e;var u=c;return o.isFunction(r)?a=r:r&&(a=r.next,n=r.error,s=r.complete,r!==i.empty&&(u=Object.create(r),o.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=s,c}return n(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=c.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):u.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;u.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};c.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){if(this.unsubscribe(),c.config.useDeprecatedSynchronousErrorHandling)throw r;u.hostReportError(r)}},e.prototype.__tryOrSetError=function(t,e,r){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(n){return c.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(u.hostReportError(n),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(f);e.SafeSubscriber=p},4974:(t,e,r)=>{"use strict";
2Object.defineProperty(e,"__esModule",{value:!0});var n=r(7585),o=r(3911),i=r(4629),s=r(1355),a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,f=r._unsubscribe,p=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof t)a.remove(this);else if(null!==a)for(var l=0;l<a.length;++l){a[l].remove(this)}if(i.isFunction(f)){u&&(this._unsubscribe=void 0);try{f.call(this)}catch(y){e=y instanceof s.UnsubscriptionError?c(y.errors):[y]}}if(n.isArray(p)){l=-1;for(var h=p.length;++l<h;){var d=p[l];if(o.isObject(d))try{d.unsubscribe()}catch(y){e=e||[],y instanceof s.UnsubscriptionError?e=e.concat(c(y.errors)):e.push(y)}}}if(e)throw new s.UnsubscriptionError(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!==typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof t){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)}),[])}e.Subscription=a},7979:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},6736:function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(8883);e.filter=function(t,e){return function(r){return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.predicate=r,o.thisArg=n,o.count=0,o}return n(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}e&&this.destination.next(t)},e}(o.Subscriber)},2601:function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(8883);e.map=function(t,e){return function(r){if("function"!==typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new i(t,e))}};var i=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}();e.MapOperator=i;var s=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.project=r,o.count=0,o.thisArg=n||o,o}return n(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(o.Subscriber)},9213:(t,e)=>{"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.observable="function"===typeof Symbol&&Symbol.observable||"@@observable"},7836:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber="function"===typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),e.$$rxSubscriber=e.rxSubscriber},1355:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();e.UnsubscriptionError=r},1895:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(8883);e.canReportError=function(t){for(;t;){var e=t,r=e.closed,o=e.destination,i=e.isStopped;if(r||i)return!1;t=o&&o instanceof n.Subscriber?o:null}return!0}},7776:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hostReportError=function(t){setTimeout((function(){throw t}),0)}},2696:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.identity=function(t){return t}},7585:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=Array.isArray||function(t){return t&&"number"===typeof t.length}},4629:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return"function"===typeof t}},3911:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return null!==t&&"object"===typeof t}},3440:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2696);function o(t){return 0===t.length?n.identity:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}e.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)},e.pipeFromArray=o},900:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(8883),o=r(7836),i=r(8377);e.toSubscriber=function(t,e,r){if(t){if(t instanceof n.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new n.Subscriber(t,e,r):new n.Subscriber(i.empty)}},6784:(t,e,r)=>{"use strict";var n=r(9731);t.exports=function(t,e,r){if(t===e)return!0;var o=n.parse(t,!1,!0),i=n.parse(e,!1,!0),s=0|o.port||("https"===o.protocol?443:80),a=0|i.port||("https"===i.protocol?443:80),c={proto:o.protocol===i.protocol,hostname:o.hostname===i.hostname,port:s===a};return c.proto&&c.hostname&&(c.port||r)}},9731:t=>{"use strict";var e=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/;t.exports={regex:e,parse:function(t){var r=e.exec(t);return r?{protocol:(r[1]||"").toLowerCase()||void 0,hostname:(r[5]||"").toLowerCase()||void 0,port:r[6]||void 0}:{}}}},5915:(t,e,r)=>{"use strict";var n=r(3841),o=r(6962),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,f=/^[a-zA-Z]:/;function p(t){return(t||"").toString().replace(i,"")}var l=[["#","hash"],["?","query"],function(t,e){return y(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function d(t){var e,n=("undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{}).location||{},o={},i=typeof(t=t||n);if("blob:"===t.protocol)o=new b(unescape(t.pathname),{});else if("string"===i)for(e in o=new b(t,{}),h)delete o[e];else if("object"===i){for(e in t)e in h||(o[e]=t[e]);void 0===o.slashes&&(o.slashes=a.test(t.href))}return o}function y(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function v(t,e){t=(t=p(t)).replace(s,""),e=e||{};var r,n=u.exec(t),o=n[1]?n[1].toLowerCase():"",i=!!n[2],a=!!n[3],c=0;return i?a?(r=n[2]+n[3]+n[4],c=n[2].length+n[3].length):(r=n[2]+n[4],c=n[2].length):a?(r=n[3]+n[4],c=n[3].length):r=n[4],"file:"===o?c>=2&&(r=r.slice(2)):y(o)?r=n[4]:o?i&&(r=r.slice(2)):c>=2&&y(e.protocol)&&(r=n[4]),{protocol:o,slashes:i||y(o),slashesCount:c,rest:r}}function b(t,e,r){if(t=(t=p(t)).replace(s,""),!(this instanceof b))return new b(t,e,r);var i,a,c,u,h,g,m=l.slice(),w=typeof e,O=this,_=0;for("object"!==w&&"string"!==w&&(r=e,e=null),r&&"function"!==typeof r&&(r=o.parse),i=!(a=v(t||"",e=d(e))).protocol&&!a.slashes,O.slashes=a.slashes||i&&e.slashes,O.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||f.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!y(O.protocol)))&&(m[3]=[/(.*)/,"pathname"]);_<m.length;_++)"function"!==typeof(u=m[_])?(c=u[0],g=u[1],c!==c?O[g]=t:"string"===typeof c?~(h="@"===c?t.lastIndexOf(c):t.indexOf(c))&&("number"===typeof u[2]?(O[g]=t.slice(0,h),t=t.slice(h+u[2])):(O[g]=t.slice(h),t=t.slice(0,h))):(h=c.exec(t))&&(O[g]=h[1],t=t.slice(0,h.index)),O[g]=O[g]||i&&u[3]&&e[g]||"",u[4]&&(O[g]=O[g].toLowerCase())):t=u(t,O);r&&(O.query=r(O.query)),i&&e.slashes&&"/"!==O.pathname.charAt(0)&&(""!==O.pathname||""!==e.pathname)&&(O.pathname=function(t,e){if(""===t)return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,o=r[n-1],i=!1,s=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),s++):s&&(0===n&&(i=!0),r.splice(n,1),s--);return i&&r.unshift(""),"."!==o&&".."!==o||r.push(""),r.join("/")}(O.pathname,e.pathname)),"/"!==O.pathname.charAt(0)&&y(O.protocol)&&(O.pathname="/"+O.pathname),n(O.port,O.protocol)||(O.host=O.hostname,O.port=""),O.username=O.password="",O.auth&&(~(h=O.auth.indexOf(":"))?(O.username=O.auth.slice(0,h),O.username=encodeURIComponent(decodeURIComponent(O.username)),O.password=O.auth.slice(h+1),O.password=encodeURIComponent(decodeURIComponent(O.password))):O.username=encodeURIComponent(decodeURIComponent(O.auth)),O.auth=O.password?O.username+":"+O.password:O.username),O.origin="file:"!==O.protocol&&y(O.protocol)&&O.host?O.protocol+"//"+O.host:"null",O.href=O.toString()}b.prototype={set:function(t,e,r){var i=this;switch(t){case"query":"string"===typeof e&&e.length&&(e=(r||o.parse)(e)),i[t]=e;break;case"port":i[t]=e,n(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[t]="");break;case"hostname":i[t]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[t]=e,c.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!r;break;case"pathname":case"hash":if(e){var s="pathname"===t?"/":"#";i[t]=e.charAt(0)!==s?s+e:e}else i[t]=e;break;case"username":case"password":i[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var u=0;u<l.length;u++){var f=l[u];f[4]&&(i[f[1]]=i[f[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&y(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(t){t&&"function"===typeof t||(t=o.stringify);var e,r=this,n=r.host,i=r.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var s=i+(r.protocol&&r.slashes||y(r.protocol)?"//":"");return r.username?(s+=r.username,r.password&&(s+=":"+r.password),s+="@"):r.password?(s+=":"+r.password,s+="@"):"file:"!==r.protocol&&y(r.protocol)&&!n&&"/"!==r.pathname&&(s+="@"),(":"===n[n.length-1]||c.test(r.hostname)&&!r.port)&&(n+=":"),s+=n+r.pathname,(e="object"===typeof r.query?t(r.query):r.query)&&(s+="?"!==e.charAt(0)?"?"+e:e),r.hash&&(s+=r.hash),s}},b.extractProtocol=v,b.location=d,b.trimLeft=p,b.qs=o,t.exports=b}}]); 3//# sourceMappingURL=2876.70251b39.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.