@data-client/rest 0.16.4 → 0.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @data-client/rest
2
2
 
3
+ ## 0.16.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3868](https://github.com/reactive/data-client/pull/3868) [`8a7c8d9`](https://github.com/reactive/data-client/commit/8a7c8d9cc4228a6281849f56121699f237af4b0f) - Add `content` property to RestEndpoint for typed response parsing
8
+
9
+ Set `content` to control how the response body is parsed, with automatic return type inference:
10
+
11
+ ```ts
12
+ const downloadFile = new RestEndpoint({
13
+ path: '/files/:id/download',
14
+ content: 'blob',
15
+ dataExpiryLength: 0,
16
+ });
17
+ const blob: Blob = await ctrl.fetch(downloadFile, { id: '123' });
18
+ ```
19
+
20
+ Accepted values: `'json'`, `'blob'`, `'text'`, `'arrayBuffer'`, `'stream'`.
21
+
22
+ Non-JSON content types (`'blob'`, `'text'`, `'arrayBuffer'`, `'stream'`) constrain `schema` to
23
+ `undefined` at the type level, with a runtime check that throws if a normalizable schema is set.
24
+
25
+ When `content` is not set, auto-detection now handles binary Content-Types (`image/*`,
26
+ `application/octet-stream`, `application/pdf`, etc.) by returning `response.blob()` instead of
27
+ corrupting data via `.text()`.
28
+
29
+ - [#3904](https://github.com/reactive/data-client/pull/3904) [`8af3d5e`](https://github.com/reactive/data-client/commit/8af3d5ee3dbbb637805e99cbd01801d3587bedbd) - Export `CollectionOptions` from the public `@data-client/endpoint` and `@data-client/rest` entrypoints.
30
+
31
+ - [#3910](https://github.com/reactive/data-client/pull/3910) [`81c63a0`](https://github.com/reactive/data-client/commit/81c63a00c668d805b6b8d0d9efdf2aacb5d32253) - Fix [Collection](https://dataclient.io/rest/api/Collection) extender body types to match their HTTP method semantics
32
+
33
+ PATCH extenders (`.move`, `.remove`) now type their body as `Partial`, matching
34
+ [`partialUpdate`](https://dataclient.io/rest/api/resource#partialupdate). Previously they
35
+ required the full body type even though they are PATCH endpoints.
36
+
37
+ Standalone `RestEndpoint` without an explicit `body` option now derives a typed
38
+ body from the Collection's entity schema instead of falling back to `any`.
39
+
40
+ ```ts
41
+ const MyResource = resource({
42
+ path: '/articles/:id',
43
+ schema: Article,
44
+ body: {} as { title: string; content: string },
45
+ });
46
+
47
+ // move (PATCH) now accepts partial body
48
+ MyResource.getList.move({ id: '1' }, { title: 'new title' });
49
+
50
+ // push (POST) still requires full body
51
+ MyResource.getList.push({ title: 'hi', content: 'there' });
52
+ ```
53
+
54
+ - Updated dependencies [[`8af3d5e`](https://github.com/reactive/data-client/commit/8af3d5ee3dbbb637805e99cbd01801d3587bedbd)]:
55
+ - @data-client/endpoint@0.16.6
56
+
57
+ ## 0.16.5
58
+
59
+ ### Patch Changes
60
+
61
+ - [#3866](https://github.com/reactive/data-client/pull/3866) [`16f5d92`](https://github.com/reactive/data-client/commit/16f5d92598de05e92b88af98a9d63eecf27ab819) - Bundle `path-to-regexp` as tree-shaken ESM
62
+
63
+ Bundle only the functions we use (`compile`, `parse`, `pathToRegexp`) from
64
+ `path-to-regexp` into the ESM/browser build via rollup. This eliminates
65
+ the CJS/ESM boundary that broke StackBlitz WebContainers and reduces bundle
66
+ size by tree-shaking unused exports (`match`, `stringify`, and the `ID` regex).
67
+
3
68
  ## 0.16.4
4
69
 
5
70
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1,26 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var endpoint = require('@data-client/endpoint');
4
- var pathToRegexpModule = require('path-to-regexp');
5
-
6
- function _interopNamespaceDefault(e) {
7
- var n = Object.create(null);
8
- if (e) {
9
- Object.keys(e).forEach(function (k) {
10
- if (k !== 'default') {
11
- var d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: function () { return e[k]; }
15
- });
16
- }
17
- });
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
-
23
- var pathToRegexpModule__namespace = /*#__PURE__*/_interopNamespaceDefault(pathToRegexpModule);
4
+ var pathToRegexp = require('path-to-regexp');
24
5
 
25
6
  function extractCollection(s, mapper) {
26
7
  if (typeof s !== 'object' || s === undefined || Array.isArray(s)) return;
@@ -110,35 +91,24 @@ function paramsToString(searchParams) {
110
91
  return params.toString();
111
92
  }
112
93
 
113
- // Namespace import avoids webpack's per-export CJS validation, which fails in
114
- // StackBlitz WebContainers. Named imports (`import { compile }`) trigger
115
- // `importExportsPresence` checks that break there. `import *` defers property
116
- // access to runtime. No tree-shaking loss: CJS modules are included whole
117
- // regardless of import style, and webpack 5 traces static access on namespaces.
118
-
119
- const {
120
- compile,
121
- parse,
122
- pathToRegexp
123
- } = pathToRegexpModule__namespace;
124
94
  const urlBaseCache = Object.create(null);
125
95
  function getUrlBase(path) {
126
96
  if (!(path in urlBaseCache)) {
127
- urlBaseCache[path] = compile(path);
97
+ urlBaseCache[path] = pathToRegexp.compile(path);
128
98
  }
129
99
  return urlBaseCache[path];
130
100
  }
131
101
  const urlTokensCache = Object.create(null);
132
102
  function getUrlTokens(path) {
133
103
  if (!(path in urlTokensCache)) {
134
- urlTokensCache[path] = tokenMap(parse(path).tokens);
104
+ urlTokensCache[path] = tokenMap(pathToRegexp.parse(path).tokens);
135
105
  }
136
106
  return urlTokensCache[path];
137
107
  }
138
108
  const pathRegexCache = Object.create(null);
139
109
  function getPathRegex(path) {
140
110
  if (!(path in pathRegexCache)) {
141
- pathRegexCache[path] = pathToRegexp(path).regexp;
111
+ pathRegexCache[path] = pathToRegexp.pathToRegexp(path).regexp;
142
112
  }
143
113
  return pathRegexCache[path];
144
114
  }
@@ -175,6 +145,14 @@ function shortenPath(path) {
175
145
  return shortUrlRoot;
176
146
  }
177
147
 
148
+ const textLikeRe = /\btext\b|\bxml\b|\bhtml\b|\bjavascript\b|\bcss\b|\bcsv\b|\burlencoded\b/;
149
+ function jsonResponse(response) {
150
+ return response.json().catch(error => {
151
+ error.status = 400;
152
+ throw error;
153
+ });
154
+ }
155
+
178
156
  /** Simplifies endpoint definitions that follow REST patterns
179
157
  *
180
158
  * @see https://dataclient.io/rest/api/RestEndpoint
@@ -199,6 +177,13 @@ class RestEndpoint extends endpoint.Endpoint {
199
177
  this.urlPrefix = '';
200
178
  }
201
179
  this.#hasBody = (!('body' in this) || this.body !== undefined) && !['GET', 'DELETE'].includes(this.method);
180
+
181
+ /* istanbul ignore else */
182
+ if (process.env.NODE_ENV !== 'production') {
183
+ if (this.content && this.content !== 'json' && this.schema != null && typeof this.schema !== 'string' && typeof this.schema !== 'undefined') {
184
+ console.error(`content '${this.content}' is incompatible with schema. Binary/text responses cannot be normalized. Use schema: undefined.`);
185
+ }
186
+ }
202
187
  Object.defineProperty(this, 'name', {
203
188
  get() {
204
189
  // using 'in' to ensure inheritance lookup
@@ -277,41 +262,55 @@ class RestEndpoint extends endpoint.Endpoint {
277
262
  });
278
263
  }
279
264
  parseResponse(response) {
280
- var _response$headers$get;
281
- // this should not have any content to read
282
265
  if (response.status === 204) return Promise.resolve(null);
283
- if (!((_response$headers$get = response.headers.get('content-type')) != null && _response$headers$get.includes('json'))) {
284
- return response.text().then(text => {
285
- // string or 'not set' schema, are valid
286
- // when overriding process they might handle other cases, so we don't want to block on our logic
287
- if (['string', 'undefined'].includes(typeof this.schema) || this.schema === null || this.process !== RestEndpoint.prototype.process) return text;
288
- const error = new NetworkError(response);
289
- error.status = 404;
290
- error.message = `Unexpected text response for schema ${this.schema}`;
291
- // custom dev-only messages for more detailed cause
292
- /* istanbul ignore else */
293
- if (process.env.NODE_ENV !== 'production') {
294
- var _response$headers$get2;
295
- if (!((_response$headers$get2 = response.headers.get('content-type')) != null && _response$headers$get2.includes('html') || text.startsWith('<!doctype html>'))) {
296
- if (tryParse(text) !== undefined) {
297
- error.message = `"content-type" header does not include "json", but JSON response found.
266
+ if (this.content) {
267
+ /* istanbul ignore else */
268
+ if (process.env.NODE_ENV !== 'production') {
269
+ if (this.content !== 'json' && this.schema != null && typeof this.schema !== 'string' && typeof this.schema !== 'undefined') {
270
+ const error = new NetworkError(response);
271
+ error.status = 400;
272
+ error.message = `content '${this.content}' is incompatible with schema. Binary/text responses cannot be normalized. Use schema: undefined.`;
273
+ throw error;
274
+ }
275
+ }
276
+ if (this.content === 'stream') return Promise.resolve(response.body);
277
+ return this.content === 'json' ? jsonResponse(response) : response[this.content]();
278
+ }
279
+ const contentType = response.headers.get('content-type');
280
+ if (contentType != null && contentType.includes('json')) return jsonResponse(response);
281
+ const isBinary = contentType && !textLikeRe.test(contentType);
282
+ if (typeof this.schema === 'string' || typeof this.schema === 'undefined' || this.schema === null || this.process !== RestEndpoint.prototype.process) return isBinary ? response.blob() : response.text();
283
+ if (isBinary) {
284
+ const error = new NetworkError(response);
285
+ error.status = 400;
286
+ error.message = `Unexpected binary content-type for schema ${this.schema}`;
287
+ /* istanbul ignore else */
288
+ if (process.env.NODE_ENV !== 'production') {
289
+ error.message = `Unexpected binary content-type "${contentType}" for schema ${this.schema}. Binary responses cannot be normalized. Use schema: undefined or set content: 'blob'.`;
290
+ }
291
+ throw error;
292
+ }
293
+ return response.text().then(text => {
294
+ const error = new NetworkError(response);
295
+ error.status = 404;
296
+ error.message = `Unexpected text response for schema ${this.schema}`;
297
+ /* istanbul ignore else */
298
+ if (process.env.NODE_ENV !== 'production') {
299
+ if (!(contentType != null && contentType.includes('html') || text.startsWith('<!doctype html>'))) {
300
+ if (tryParse(text) !== undefined) {
301
+ error.message = `"content-type" header does not include "json", but JSON response found.
298
302
  See https://www.rfc-editor.org/rfc/rfc4627 for information on JSON responses
299
303
 
300
304
  Using parsed JSON.
301
305
  If text content was expected see https://dataclient.io/rest/api/RestEndpoint#parseResponse`;
302
- }
303
- } else {
304
- error.message = `Unexpected html response for schema ${this.schema}
306
+ }
307
+ } else {
308
+ error.message = `Unexpected html response for schema ${this.schema}
305
309
  This likely means no API endpoint was configured for this request, resulting in an HTML fallback.
306
310
 
307
311
  Response (first 300 characters): ${text.substring(0, 300)}`;
308
- }
309
312
  }
310
- throw error;
311
- });
312
- }
313
- return response.json().catch(error => {
314
- error.status = 400;
313
+ }
315
314
  throw error;
316
315
  });
317
316
  }
@@ -1 +1 @@
1
- !function(u,D){"object"==typeof exports&&"undefined"!=typeof module?D(exports):"function"==typeof define&&define.amd?define(["exports"],D):D((u="undefined"!=typeof globalThis?globalThis:u||self).Rest={})}(this,(function(u){"use strict";function D(u,D){return D.forEach((function(D){D&&"string"!=typeof D&&!Array.isArray(D)&&Object.keys(D).forEach((function(F){if("default"!==F&&!(F in u)){var e=Object.getOwnPropertyDescriptor(D,F);Object.defineProperty(u,F,e.get?e:{enumerable:!0,get:function(){return D[F]}})}}))})),Object.freeze(u)}function F(){return F=Object.assign?Object.assign.bind():function(u){for(var D=1;D<arguments.length;D++){var F=arguments[D];for(var e in F)({}).hasOwnProperty.call(F,e)&&(u[e]=F[e])}return u},F.apply(null,arguments)}function e(u,D){if(!{}.hasOwnProperty.call(u,D))throw new TypeError("attempted to use private field on non-instance");return u}var t=0;function C(u){return"__private_"+t+++"_"+u}function E(u){return!("function"!=typeof u.hasOwnProperty||!(Object.hasOwnProperty.call(u,"__ownerID")||u._map&&Object.hasOwnProperty.call(u._map,"__ownerID")))}class A{constructor(u,D){this.schema=void 0,D&&(this._schemaAttribute="string"==typeof D?u=>u[D]:D),this.define(u)}get isSingleSchema(){return!this._schemaAttribute}define(u){u._hoistable&&!this._schemaAttribute?(this.schema=u.schema,this._schemaAttribute=u._schemaAttribute):this.schema=u}getSchemaAttribute(u,D,F){return!this.isSingleSchema&&this._schemaAttribute(u,D,F)}inferSchema(u,D,F){if(this.isSingleSchema)return this.schema;const e=this.getSchemaAttribute(u,D,F);return this.schema[e]}schemaKey(){return this.isSingleSchema?this.schema.key:Object.values(this.schema).join(";")}normalizeValue(u,D,F,e,t){if(!u)return u;const C=this.isSingleSchema,E=C?this.schema:this.schema[this._schemaAttribute(u,D,F)];if(!E)return u;const A=t(E,u,D,F,e);return C||null==A?A:{id:A,schema:this._schemaAttribute(u,D,F)}}denormalizeValue(u,D){const F=this.isSingleSchema,e=!F&&u&&(E(u)?u.get("schema"):u.schema);if(!F&&!e){if("object"==typeof u&&null!==u){const F=this.inferSchema(u,void 0,void 0);if(F)return D(F,u)}return u}const t=F?void 0:E(u)?u.get("id"):u.id;return D(F?this.schema:this.schema[e],t||u)}}class n extends A{constructor(u,D){if(!D)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');super(u,D),this._hoistable=!0}normalize(u,D,F,e,t){return this.normalizeValue(u,D,F,e,t)}denormalize(u,D,F){return this.denormalizeValue(u,F)}queryKey(u,D){if(!u[0])return;const F=this.getSchemaAttribute(u[0],void 0,""),e=this.schema[F];if(e){const t=D(e,u);if(void 0===t)return;return{id:t,schema:F}}for(const F in this.schema){const e=D(this.schema[F],u);if(void 0!==e)return{id:e,schema:F}}}}class r extends A{normalize(u,D,F,e,t,C){const E={},A=Object.keys(u);for(let D=0;D<A.length;D++){const F=A[D],C=u[F];null!=C&&(E[F]=this.normalizeValue(C,u,F,e,t))}return E}denormalize(u,D,F){const e={},t=Object.keys(u);for(let D=0;D<t.length;D++){const C=t[D],E=u[C],A=this.denormalizeValue(E,F);A&&"symbol"!=typeof A&&(e[C]=A)}return e}queryKey(u,D,F){}}const s=u=>void 0!==u&&"symbol"!=typeof u;class i extends A{normalize(u,D,F,e,t){const C=(u=>Array.isArray(u)?u:Object.keys(u).map((D=>u[D])))(u);return C.map((u=>this.normalizeValue(u,D,F,e,t)))}denormalize(u,D,F){return u.map?u.map((u=>this.denormalizeValue(u,F))).filter(s):u}queryKey(u,D,F){}toJSON(){return[this.schema]}}class B extends i{constructor(u,D){super(u,D)}normalize(u,D,F,e,t){super.normalize(u,D,F,e,t)}queryKey(u,D,F){if(this.isSingleSchema){const u=F.getEntities(this.schema.key);return u?[...u.keys()]:F.INVALID}let e=!1;const t=Object.values(this.schema).flatMap((u=>{const D=F.getEntities(u.key);if(!D)return[];e=!0;const t=[];for(const[F,e]of D.entries())e&&"symbol"!=typeof e&&t.push({id:u.pk(e,void 0,F,[]),schema:this.getSchemaAttribute(e,void 0,F)});return t}));return e?t:F.INVALID}}function o(u,D,e,t){if(E(D))return function(u,D,F){let e;const t=Object.keys(u).reduce(((D,t)=>{const C=`${t}`,E=F(u[C],D.get(C));return"symbol"==typeof E&&(e=E),D.has(C)?D.set(C,E):D}),D);return null!=e?e:t}(u,D,t);const C=F({},D),A=Object.keys(u);for(let D=0;D<A.length;D++){const F=A[D],e=t(u[F],C[F]);if(void 0!==C[F]&&(C[F]=e),"symbol"==typeof e)return e}return C}class a{constructor(u){this.schema=void 0,this.define(u)}define(u){this.schema=Object.keys(u).reduce(((D,e)=>{const t=u[e];return F({},D,{[e]:t})}),this.schema||{})}normalize(...u){return((u,D,e,t,C,E)=>{const A=F({},D),n=Object.keys(u);for(let F=0;F<n.length;F++){const e=n[F],t=E(u[e],D[e],D,e,C);void 0===t?delete A[e]:A[e]=t}return A})(this.schema,...u)}denormalize(u,D,F){return o(this.schema,u,0,F)}queryKey(u,D){return function(u,D,F){const e={},t=Object.keys(u);for(let C=0;C<t.length;C++){const E=t[C];e[E]=F(u[E],D)}return e}(this.schema,u,D)}}let c=class extends A{constructor(u,D){super(u,D)}get key(){return this.schemaKey()}normalize(u,D,F,e,t,C){const E=this.inferSchema(u,D,F);if(!E)return u;let A;if("string"==typeof u||"number"==typeof u)A=u;else{const t=E.process(u,D,F,e);A=E.pk(null!=t?t:u,D,F,e)}return A=`${A}`,C.invalidate(E,A),this.isSingleSchema?A:{id:A,schema:this.getSchemaAttribute(u,D,F)}}queryKey(u,D,F){}denormalize(u,D,F){return this.denormalizeValue(u,F)}_denormalizeNullable(){return{}}_normalizeNullable(){return{}}};const h=(u,D)=>[...u,...D],l=(u,D)=>[...D,...u],f=(u,D)=>F({},u,D),m=(u,D)=>"object"==typeof u&&"object"==typeof D?u.id===D.id&&u.schema===D.schema:u===D,p=(u,D)=>u.filter((u=>!D.some((D=>m(u,D))))),d=(u,D)=>{const F=Object.values(D),e={};for(const[D,t]of Object.entries(u))F.some((u=>m(t,u)))||(e[D]=t);return e},y=u=>[...u],g=u=>F({},u);class b{addWith(u,D){return x(this,u,D)}moveWith(u){return w(this,u,this.schema instanceof i?p:d)}createCollectionFilter(...u){return D=>Object.entries(D).every((([D,F])=>{var e;return this.nonFilterArgumentKeys(D)||`${u[0][D]}`===F||`${null==(e=u[1])?void 0:e[D]}`===F}))}nonFilterArgumentKeys(u){return u.startsWith("order")}constructor(u,D){if(this.schema=Array.isArray(u)?new i(u[0]):u,D?"nestKey"in D?this.nestKey=D.nestKey:this.argsKey="argsKey"in D?D.argsKey:u=>F({},u):this.argsKey=u=>F({},u),this.key=function(u){if(u instanceof i)return`[${u.schemaKey()}]`;if(u instanceof r)return`{${u.schemaKey()}}`;return`(${u.schemaKey()})`}(this.schema),null!=D&&D.nonFilterArgumentKeys){const{nonFilterArgumentKeys:u}=D;"function"==typeof u?this.nonFilterArgumentKeys=u:u instanceof RegExp?this.nonFilterArgumentKeys=D=>u.test(D):this.nonFilterArgumentKeys=D=>u.includes(D)}else null!=D&&D.createCollectionFilter&&(this.createCollectionFilter=D.createCollectionFilter.bind(this));this.schema instanceof i?(this.createIfValid=y,this.push=x(this,h),this.unshift=x(this,l),this.remove=x(this,p),this.move=w(this,h,p)):u instanceof r&&(this.createIfValid=g,this.assign=x(this,f),this.remove=x(this,d),this.move=w(this,f,d))}get cacheWith(){return this.schema.schema}toString(){return this.key}toJSON(){return{key:this.key,schema:this.schema.schema}}pk(u,D,F,e){const t=this.argsKey?this.argsKey(...e):this.nestKey(D,F);for(const u in t)["number","boolean"].includes(typeof t[u])&&(t[u]=`${t[u]}`);return function(u){const D=Object.keys(u).sort(),F={};for(const e of D)F[e]=u[e];return JSON.stringify(F)}(t)}normalize(u,D,F,e,t,C){const E=this.schema.normalize(u,D,F,e,t,C),A=this.pk(E,D,F,e);return C.mergeEntity(this,A,E),A}merge(u,D){return D}shouldReorder(u,D,F,e){return D.fetchedAt<u.fetchedAt}mergeWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?this.merge(e,F):this.merge(F,e)}mergeMetaWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?u:D}queryKey(u,D,F){if(this.argsKey){const D=this.pk(void 0,void 0,"",u);if(F.getEntity(this.key,D))return D}}denormalize(u,D,F){return this.schema.denormalize(u,D,F)}}function v(u,D,F){const e={merge:{value:D},normalize:{value:F},queryKey:{value:k}};return u.schema instanceof i&&(e.createIfValid={value:$},e.denormalize={value:S}),e}function x(u,D,F){const e=v(u,D,O);return F&&(e.createCollectionFilter={value:F}),Object.create(u,e)}function k(){}function O(u,D,F,e,t,C){const E=this.schema.normalize(this.schema instanceof i&&!Array.isArray(u)?[u]:u,D,F,e,t,C),A=this.createCollectionFilter(...e),n=C.getEntities(this.key);if(n)for(const u of n.keys())A(JSON.parse(u))&&C.mergeEntity(this,u,E);return E}function w(u,D,F){return Object.create(u,v(u,D,(function(u,e,t,C,E,A){return j.call(this,D,F,u,e,t,C,E,A)})))}function j(u,D,e,t,C,E,A,n){const r=this.schema instanceof i,s=this.schema.schema,B=(r&&Array.isArray(e)?e:[e]).map((u=>{const D=s.process(u,t,C,E),F=`${s.pk(D,t,C,E)}`;return{pk:F,processed:D,existingEntity:F?n.getEntity(s.key,F):void 0}})),o=r?Array.isArray(e)?e:[e]:B[0].pk?{[B[0].pk]:e}:e,a=this.schema.normalize(o,t,C,E,A,n),c=E[E.length-1],h=Object.create(this,{merge:{value:u}}),l=Object.create(this,{merge:{value:D}}),f=n.getEntities(this.key);if(f)for(let u=0;u<B.length;u++){const{processed:D,existingEntity:e}=B[u],t=r?[a[u]]:a,C=r?F({},c,D):c,A=e?F({},e,C):C,s=e?this.createCollectionFilter(F({},E[0],e),e):void 0,i=this.createCollectionFilter(F({},E[0],C),A);for(const u of f.keys()){const D=JSON.parse(u),F=null==s?void 0:s(D),e=i(D);F&&!e?n.mergeEntity(l,u,t):e&&!F&&n.mergeEntity(h,u,t)}}return a}function $(u){return Array.isArray(u)?[...u]:F({},u)}function S(u,D,F){return Array.isArray(u)?this.schema.denormalize(u,D,F):this.schema.denormalize([u],D,F)[0]}function _(u,D){if(null==u)return{};var F={};for(var e in u)if({}.hasOwnProperty.call(u,e)){if(-1!==D.indexOf(e))continue;F[e]=u[e]}return F}const P=["pk","schema","key"];function z(u,D={}){class e extends u{static toString(){return this.key}static toJSON(){return{key:this.key,schema:this.schema}}static pk(u,D,F,e){return this.prototype.pk.call(u,D,F,e)}static shouldUpdate(u,D,F,e){return!0}static shouldReorder(u,D,F,e){return D.fetchedAt<u.fetchedAt}static merge(u,D){return F({},u,D)}static mergeWithStore(u,D,F,e){return this.shouldUpdate(u,D,F,e)?typeof e!=typeof F?e:this.shouldReorder(u,D,F,e)?this.merge(e,F):this.merge(F,e):F}static mergeMetaWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?u:D}static fromJS(u={}){const D=new this(u);return Object.assign(D,u),D}static createIfValid(u){if(!this.validate(u))return this.fromJS(u)}static process(u,D,e,t){return F({},u)}static normalize(u,D,F,e,t,C){const E=this.process(u,D,F,e);let A;if(void 0===E)return A=`${this.pk(u,D,F,e)}`,C.invalidate(this,A),A;if(A=this.pk(E,D,F,e),A=void 0===A||""===A||"undefined"===A?`MISS-${Math.random()}`:`${A}`,C.checkLoop(this.key,A,u))return A;!function(u){if(u){const D=new Error(u);throw D.status=400,D}}(this.validate(E));const n=Object.keys(this.schema);for(let u=0;u<n.length;u++){const D=n[u];Object.hasOwn(E,D)&&(E[D]=t(this.schema[D],E[D],E,D,e))}return C.mergeEntity(this,A,E),A}static validate(u){}static queryKey(u,D,F){if(!u[0])return;const e=function(u,D,F){if(["string","number"].includes(typeof D[0]))return`${D[0]}`;const e=u.pk(D[0],void 0,"",D);if(void 0!==e&&""!==e)return e;const t=(C=D[0],E=u.indexes,E?E.find((u=>Object.hasOwn(C,u))):void 0);var C,E;if(!t)return;const A=D[0][t];return F.getIndex(u.key,t,A)}(this,u,F);return e&&F.getEntity(this.key,e)?e:void 0}static denormalize(u,D,F){if("symbol"==typeof u)return u;for(const D of Object.keys(this.schema)){const e=F(this.schema[D],u[D]);if("symbol"==typeof e){if(this.defaults[D])return e;u[D]=void 0}else u[D]=e}return u}static get defaults(){return Object.hasOwn(this,"__defaults")||Object.defineProperty(this,"__defaults",{value:new this,writable:!0,configurable:!0}),this.__defaults}}const t=_(D,P);if(Object.assign(e,t),"schema"in D?e.schema=D.schema:u.schema||(e.schema={}),"pk"in D?"function"==typeof D.pk?e.prototype.pk=function(u,F){return D.pk(this,u,F)}:e.prototype.pk=function(){return this[D.pk]}:"function"!=typeof u.prototype.pk&&(e.prototype.pk=function(){return this.id}),"key"in D)Object.defineProperty(e,"key",{value:D.key,configurable:!0,writable:!0,enumerable:!0});else if(!("key"in u)){function C(u){Object.defineProperty(this,"key",{value:u,writable:!0,enumerable:!0,configurable:!0})}const E=function(){return"EntityMixin"===this.name?u.name:this.name},A="undefined"!=typeof document&&document.CLS_MANGLE?function(){return null==document.CLS_MANGLE||document.CLS_MANGLE(this),Object.defineProperty(e,"key",{get:E,set:C,enumerable:!0,configurable:!0}),E.call(this)}:E;Object.defineProperty(e,"key",{get:A,set:C,enumerable:!0,configurable:!0})}return e}class K{constructor(u,D){this.schema=u,this.process=D}normalize(...u){return this.schema.normalize(...u)}denormalize(u,D,F){const e=F(this.schema,u);return"symbol"==typeof e?e:this.process(e,...D)}queryKey(u,D){return D(this.schema,u)}}class T{constructor(u){this._query=void 0,this.schema=u}normalize(u,D,F,e,t,C){return t(this.schema,u,D,F,e)}denormalize(u,D,F){return u}queryKey(u,D,F){}get query(){return this._query||(this._query=new R(this.schema)),this._query}}class R{constructor(u){this.schema=u}denormalize(u,D,F){return F(this.schema,u)}queryKey(u,D,F){const e=this.schema;return"function"==typeof e.queryKey&&e.key?e.queryKey(u,D,F):u[0]}}var q=Object.freeze({__proto__:null,All:B,Array:i,Collection:b,Entity:z,EntityMixin:z,Invalidate:c,Lazy:T,Object:a,Query:K,Union:n,Values:r,unshift:l});const N=class{};class U extends(z(N)){static process(u,D,F,e){return super.process(u,D,F,e)}}var I;const M="undefined"!=typeof document;let L=M&&!(null!=(I=document.querySelector("meta[http-equiv='Content-Security-Policy']"))&&I.getAttribute("content"));try{L||Function()}catch(u){L=!0,M&&console.error("Content Security Policy: The previous CSP log can be safely ignored - @data-client/endpoint will use setPrototypeOf instead")}var V;class J extends Function{constructor(u,D){let F,e;return L?(F=(...u)=>F.fetch(...u),Object.setPrototypeOf(F,new.target.prototype)):(super("return arguments.callee.fetch.apply(arguments.callee, arguments)"),F=this),u&&(F.fetch=u),D&&"name"in D||!u||!u.name||"anonymous"===u.name||(e=u.name),Object.defineProperty(F,"name",{get(){return e||this.__name},set(u){this.__name=u}}),Object.assign(F,D),F}key(...u){return`${this.name} ${JSON.stringify(u)}`}testKey(u){return u.startsWith(this.name)}bind(u,...D){const F=this.fetch,e=this.key;return this.extend({fetch(){return F.apply(null!=u?u:this,D)},key(){return e.apply(this,D)}})}extend(u){class D extends this.constructor{}return Object.assign(D.prototype,this),new D(u.fetch,u)}}V=J,(()=>{if("undefined"!=typeof document&&document.FUNC_MANGLE){const u=V.prototype.key;V.prototype.key=function(...D){return null==document.FUNC_MANGLE||document.FUNC_MANGLE(this),this.prototype.key=u,u.call(this,...D)}}})();const W=J;function G(u,D){if("object"!=typeof u||void 0===u||Array.isArray(u))return;if(u instanceof b)return D(u);const e=F({},u instanceof a?u.schema:u);for(const u in e){if(!e[u])continue;const F=G(e[u],D);if(F)return F}}function H(u,D){if("object"!=typeof u||void 0===u)return u;if(u instanceof b)return D(u);const e=F({},u instanceof a?u.schema:u);for(const u in e)e[u]&&(e[u]=H(e[u],D));return e}Object.hasOwn=Object.hasOwn||function(u,D){return Object.prototype.hasOwnProperty.call(u,D)};class Z extends Error{constructor(u){super(`${u.url}: ${u.statusText||`Status not 'ok': ${u.status}`}`),this.name="NetworkError",this.status=u.status,this.response=u}toJSON(){return{name:this.name,status:this.status,message:this.message,url:this.response.url}}}function Q(u,D){const F=new Set(u),e=[...u];for(const u of D)F.has(u)||e.push(u);return e}var X,Y={};var uu=function(){if(X)return Y;X=1,Object.defineProperty(Y,"__esModule",{value:!0}),Y.PathError=Y.TokenData=void 0,Y.parse=n,Y.compile=function(D,F={}){const{encode:e=encodeURIComponent,delimiter:t=u}=F,C=r(("object"==typeof D?D:n(D,F)).tokens,t,e);return function(u={}){const D=[],F=C(u,D);if(D.length)throw new TypeError(`Missing parameters: ${D.join(", ")}`);return F}},Y.match=function(F,e={}){const{decode:t=decodeURIComponent,delimiter:C=u}=e,{regexp:E,keys:A}=s(F,e),n=A.map((u=>!1===t?D:"param"===u.type?t:u=>u.split(C).map(t)));return function(u){const D=E.exec(u);if(!D)return!1;const F=D[0],e=Object.create(null);for(let u=1;u<D.length;u++){if(void 0===D[u])continue;const F=A[u-1],t=n[u-1];e[F.name]=t(D[u])}return{path:F,params:e}}},Y.pathToRegexp=s,Y.stringify=function(u){return o(u.tokens,0)};const u="/",D=u=>u,F=/^(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u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u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFD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|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF2-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDEC0-\uDEDE\uDEE0-\uDEE2\uDEE4\uDEE5\uDEE7-\uDEED\uDEF0-\uDEF4\uDEFE\uDEFF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])$/,e=/^(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF65-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B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DC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDDB0-\uDDDB\uDDE0-\uDDE9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00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32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]|\uDB40[\uDD00-\uDDEF])$/,t=/^(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E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u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uF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uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDB0-\uDDDB\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD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uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDEC0-\uDEDE\uDEE0-\uDEE2\uDEE4\uDEE5\uDEE7-\uDEED\uDEF0-\uDEF4\uDEFE\uDEFF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF65-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCF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D00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDDB0-\uDDDB\uDDE0-\uDDE9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF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\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]|\uDB40[\uDD00-\uDDEF])*$/;function C(u){return u.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class E{constructor(u,D){this.tokens=u,this.originalPath=D}}Y.TokenData=E;class A extends TypeError{constructor(u,D){let F=u;D&&(F+=`: ${D}`),F+="; visit https://git.new/pathToRegexpError for info",super(F),this.originalPath=D}}function n(u,t={}){const{encodePath:C=D}=t,n=[...u];let r=0;return new E(function D(t){const E=[];let s="";function i(){s&&(E.push({type:"text",value:C(s)}),s="")}for(;r<n.length;){const C=n[r++];if(C===t)return i(),E;if("\\"!==C)if(":"!==C&&"*"!==C)if("{"!==C){if("}"===C||"("===C||")"===C||"["===C||"]"===C||"+"===C||"?"===C||"!"===C)throw new A(`Unexpected ${C} at index ${r-1}`,u);s+=C}else i(),E.push({type:"group",tokens:D("}")});else{const D=":"===C?"param":"wildcard";let t="";if(F.test(n[r]))do{t+=n[r++]}while(e.test(n[r]));else if('"'===n[r]){let D=r;for(;r<n.length;){if('"'===n[++r]){r++,D=0;break}"\\"===n[r]&&r++,t+=n[r]}if(D)throw new A(`Unterminated quote at index ${D}`,u)}if(!t)throw new A(`Missing parameter name at index ${r}`,u);i(),E.push({type:D,name:t})}else{if(r===n.length)throw new A(`Unexpected end after \\ at index ${r}`,u);s+=n[r++]}}if(t)throw new A(`Unexpected end at index ${r}, expected ${t}`,u);return i(),E}(""),u)}function r(u,F,e){const t=u.map((u=>function(u,F,e){if("text"===u.type)return()=>u.value;if("group"===u.type){const D=r(u.tokens,F,e);return(u,F)=>{const e=F.length,t=D(u,F);return F.length===e?t:(F.length=e,"")}}const t=e||D;if("wildcard"===u.type&&!1!==e)return(D,e)=>{const C=D[u.name];if(null==C)return e.push(u.name),"";if(!Array.isArray(C)||0===C.length)throw new TypeError(`Expected "${u.name}" to be a non-empty array`);let E="";for(let D=0;D<C.length;D++){if("string"!=typeof C[D])throw new TypeError(`Expected "${u.name}/${D}" to be a string`);D>0&&(E+=F),E+=t(C[D])}return E};return(D,F)=>{const e=D[u.name];if(null==e)return F.push(u.name),"";if("string"!=typeof e)throw new TypeError(`Expected "${u.name}" to be a string`);return t(e)}}(u,F,e)));return(u,D)=>{let F="";for(const e of t)F+=e(u,D);return F}}function s(D,F={}){const{delimiter:e=u,end:t=!0,sensitive:E=!1,trailing:r=!0}=F,s=[];let o="",a=0;!function u(D){if(Array.isArray(D)){for(const F of D)u(F);return}const t="object"==typeof D?D:n(D,F);i(t.tokens,0,[],(u=>{if(a>=256)throw new A("Too many path combinations",t.originalPath);a>0&&(o+="|"),o+=function(u,D,F,e){let t="",E="",n="",r=0,s=0,i=0;function o(F,e){for(;F<u.length;){const t=u[F++];if(t.type===e)return!0;if("text"===t.type&&t.value.includes(D))break}return!1}function a(D){let F="";for(;D<u.length;){const e=u[D++];if("text"!==e.type)break;F+=e.value}return F}for(;i<u.length;){const c=u[i++];if("text"!==c.type){if("param"!==c.type&&"wildcard"!==c.type)throw new TypeError(`Unknown token type: ${c.type}`);if(r&&!E)throw new A(`Missing text before "${c.name}" ${c.type}`,e);"param"===c.type?(t+=2&s?`(${B(D,E)}+)`:o(i,"wildcard")?`(${B(D,a(i))}+)`:1&s?`(${B(D,E)}+|${C(E)})`:`(${B(D,"")}+)`,s|=r=1):(t+=2&s?`(${B(E,"")}+)`:n?`(${B(n,"")}+|${B(D,"")}+)`:"([^]+)",n="",s|=r=2),F.push(c),E=""}else t+=C(c.value),E+=c.value,2===r&&(n+=c.value),c.value.includes(D)&&(s=0)}return t}(u,e,s,t.originalPath),a++}))}(D);let c=`^(?:${o})`;return r&&(c+="(?:"+C(e)+"$)?"),c+=t?"$":"(?="+C(e)+"|$)",{regexp:new RegExp(c,E?"":"i"),keys:s}}function i(u,D,F,e){for(;D<u.length;){const t=u[D++];if("group"!==t.type)F.push(t);else{const C=F.length;i(t.tokens,0,F,(F=>i(u,D,F,e))),F.length=C}}e(F)}function B(u,D){return D.length>u.length?B(D,u):(u===D&&(D=""),D.length>1?`(?:(?!${C(u)}|${C(D)})[^])`:u.length>1?`(?:(?!${C(u)})[^${C(D)}])`:`[^${C(u+D)}]`)}function o(u,D){let F="";for(;D<u.length;){const e=u[D++];if("text"!==e.type)if("group"!==e.type)if("param"!==e.type){if("wildcard"!==e.type)throw new TypeError(`Unknown token type: ${e.type}`);F+="*"+a(e.name,u[D])}else F+=":"+a(e.name,u[D]);else F+="{"+o(e.tokens,0)+"}";else F+=e.value.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}return F}function a(u,D){return t.test(u)?"text"===(null==D?void 0:D.type)&&e.test(D.value[0])?JSON.stringify(u):u:JSON.stringify(u)}return Y.PathError=A,Y}(),Du=D({__proto__:null},[uu]);const{compile:Fu,parse:eu,pathToRegexp:tu}=Du,Cu=Object.create(null);function Eu(u){return u in Cu||(Cu[u]=Fu(u)),Cu[u]}const Au=Object.create(null);function nu(u){return u in Au||(Au[u]=su(eu(u).tokens)),Au[u]}const ru=Object.create(null);function su(u){const D=new Set;for(const F of u)switch(F.type){case"param":case"wildcard":D.add(F.name);break;case"group":for(const u of su(F.tokens))D.add(u)}return D}const iu=Object.prototype,Bu=Object.getPrototypeOf;var ou=C("hasBody");class au extends J{constructor(u){var D;super(null!=(D=u.fetch)?D:async function(...u){const D=e(this,ou)[ou]&&u.length<2?{}:u[0]||{},F=e(this,ou)[ou]?u[u.length-1]:void 0;return this.fetchResponse(this.url(D),await this.getRequestInit(F)).then((u=>this.parseResponse(u))).then((D=>this.process(D,...u)))},u),Object.defineProperty(this,ou,{writable:!0,value:void 0}),(!("sideEffect"in this)||"method"in u&&!("sideEffect"in u))&&(this.sideEffect="GET"!==u.method&&void 0!==u.method||void 0),void 0===this.method&&(this.method=this.sideEffect?"POST":"GET"),void 0===this.urlPrefix&&(this.urlPrefix=""),e(this,ou)[ou]=!("body"in this&&void 0===this.body||["GET","DELETE"].includes(this.method)),Object.defineProperty(this,"name",{get(){return"__name"in this?this.__name:this.urlPrefix+this.path}})}key(...u){return`${this.method} ${this.url(e(this,ou)[ou]&&u.length<2?{}:u[0]||{})}`}url(u={}){const D=nu(this.path),F={},e={};Object.keys(u).forEach((t=>{D.has(t)?void 0!==u[t]&&(F[t]=Array.isArray(u[t])?u[t].map(String):String(u[t])):e[t]=u[t]}));const t=Eu(this.path)(F);return Object.keys(e).length?`${this.urlPrefix}${t}?${this.searchToString(e)}`:`${this.urlPrefix}${t}`}searchToString(u){return function(u){const D=new URLSearchParams(u);return D.sort(),D.toString()}(u)}getHeaders(u){return u}async getRequestInit(u){const D=null!==(e=u)&&"object"==typeof e&&Bu(e)===iu;var e;D&&(u=JSON.stringify(u));const t=F({},this.requestInit,{method:this.method,signal:this.signal,body:u});return u&&!D||(t.headers=F({"Content-Type":"application/json"},t.headers)),t.headers=await this.getHeaders(t.headers),t}fetchResponse(u,D){return fetch(u,D).then((u=>{if(!u.ok)throw new Z(u);return u})).catch((u=>{throw u instanceof TypeError&&(u.status=500),u}))}parseResponse(u){var D;return 204===u.status?Promise.resolve(null):null!=(D=u.headers.get("content-type"))&&D.includes("json")?u.json().catch((u=>{throw u.status=400,u})):u.text().then((D=>{if(["string","undefined"].includes(typeof this.schema)||null===this.schema||this.process!==au.prototype.process)return D;const F=new Z(u);throw F.status=404,F.message=`Unexpected text response for schema ${this.schema}`,F}))}process(u){return u}errorPolicy(u){return u.status>=500?"soft":void 0}get pathRegex(){return(u=this.path)in ru||(ru[u]=tu(u).regexp),ru[u];var u}testKey(u){const D=this.method+" "+this.urlPrefix;if(!u.startsWith(D))return!1;let F=u.lastIndexOf("?");return-1===F&&(F=void 0),this.pathRegex.test(u.substring(D.length,F))}extend(u){class D extends this.constructor{}return Object.assign(D.prototype,this),new D(F({fetch:this.fetch},u))}paginated(u){if("string"==typeof u){const D=u;u=u=>{let e=F({},(function(u){if(null==u)throw new TypeError("Cannot destructure "+u)}(u),u));return delete e[D],[e]}}let D=!1;const e=H(this.schema,(F=>(D=!0,function(u,D){return Object.create(D,{name:{value:`Pagination(${D.schema})`},merge:{value:Q},pk:{value:function(F,e,t,C){return D.pk.call(this,F,e,t,u(...C))}}})}(u,F))));if(!D)throw new Error("Missing Collection");const t=this;return this.extend({schema:e,key(...D){return t.key.call(this,...u(...D))},name:this.name+".getPage"})}get getPage(){return this.paginated(this.paginationField)}get push(){return this.extend({method:"POST",schema:G(this.schema,(u=>u.push)),name:this.name+".create"})}get unshift(){return this.extend({method:"POST",schema:G(this.schema,(u=>u.unshift)),name:this.name+".create"})}get assign(){return this.extend({method:"POST",schema:G(this.schema,(u=>u.assign)),name:this.name+".create"})}get remove(){return this.extend({method:"PATCH",schema:G(this.schema,(u=>u.remove)),name:this.name+".remove"})}get move(){const u={method:"PATCH",schema:G(this.schema,(u=>u.move)),searchParams:void 0,name:this.name+".partialUpdate"};return this.movePath&&(u.path=this.movePath),this.extend(u)}}const cu=["path","schema","Endpoint","Collection","optimistic","paginationField"],{Invalidate:hu,Collection:lu}=q;function fu(u){let{path:D,schema:e,Endpoint:t=au,Collection:C=lu,optimistic:E,paginationField:A}=u,n=_(u,cu);const r=function(u){const D=Math.max(u.lastIndexOf(":"),u.lastIndexOf("*"));if(-1===D)throw new Error("Resource path requires at least one :parameter or *wildcard");let F=u.substring(0,D);return"/"===F[F.length-1]&&(F=F.substring(0,F.length-1)),F}(D),s=u=>`${null==e?void 0:e.name}.${u}`;function i(u,D,F){u[D]=u[D].extend(F)}const B=F({},n),o=F({},n),a=new t(F({},n,{path:D,schema:e,name:s("get")}));E&&(B.getOptimisticResponse=mu,o.getOptimisticResponse=function(u){return function(D,e,t){const C=D.get(u,e);if(!C)throw D.abort;return F({},e,C,du(t))}}(e));const c=new t(F({},B,{paginationField:A,movePath:D,path:r,schema:new C([e]),name:s("getList")}));return{get:a,getList:c,create:c.push.extend({name:s("create")}),update:new t(F({},B,{path:D,schema:e,method:"PUT",name:s("update")})),partialUpdate:new t(F({},o,{path:D,schema:e,method:"PATCH",name:s("partialUpdate")})),delete:new t(F({},B,{path:D,schema:e.process||e._hoistable?new hu(e):e,method:"DELETE",name:s("delete"),process:(u,D)=>u&&Object.keys(u).length?u:D,getOptimisticResponse:E?pu:void 0})),extend(...u){if("string"==typeof u[0]){const[D,e]=u;if(D in this){const u=F({},this);return i(u,D,e),u}return F({},this,{[D]:this.get.extend(e)})}if("function"==typeof u[0]){return F({},this,u[0](this))}const D=u[0],e=F({},this);for(const u in D)i(e,u,D[u]);return e}}}function mu(u,D,e){return F({},D,du(e))}function pu(u,D){return D}function du(u){return u instanceof FormData?Object.fromEntries(u.entries()):u}u.All=B,u.Collection=b,u.Endpoint=J,u.Entity=U,u.EntityMixin=z,u.ExtendableEndpoint=W,u.Invalidate=c,u.Lazy=T,u.NetworkError=Z,u.Query=K,u.RestEndpoint=au,u.Union=n,u.Values=r,u.createResource=fu,u.getUrlBase=Eu,u.getUrlTokens=nu,u.hookifyResource=function(u,D){const F={};return Object.keys(u).forEach((e=>{const t=u[e];var C;void 0!==t.extend&&(F[`use${C=e,C.charAt(0).toUpperCase()+C.slice(1)}`]=()=>{const u=D();return t.extend({requestInit:u})})})),F},u.resource=fu,u.schema=q,u.unshift=l,u.validateRequired=function(u,D){let F="";if(Object.keys(D).some((D=>!Object.hasOwn(u,D)&&(F=D,!0))))return`Missing key ${F}`}}));
1
+ !function(u,D){"object"==typeof exports&&"undefined"!=typeof module?D(exports):"function"==typeof define&&define.amd?define(["exports"],D):D((u="undefined"!=typeof globalThis?globalThis:u||self).Rest={})}(this,(function(u){"use strict";function D(){return D=Object.assign?Object.assign.bind():function(u){for(var D=1;D<arguments.length;D++){var F=arguments[D];for(var e in F)({}).hasOwnProperty.call(F,e)&&(u[e]=F[e])}return u},D.apply(null,arguments)}function F(u,D){if(!{}.hasOwnProperty.call(u,D))throw new TypeError("attempted to use private field on non-instance");return u}var e=0;function t(u){return"__private_"+e+++"_"+u}function C(u){return!("function"!=typeof u.hasOwnProperty||!(Object.hasOwnProperty.call(u,"__ownerID")||u._map&&Object.hasOwnProperty.call(u._map,"__ownerID")))}class E{constructor(u,D){this.schema=void 0,D&&(this._schemaAttribute="string"==typeof D?u=>u[D]:D),this.define(u)}get isSingleSchema(){return!this._schemaAttribute}define(u){u._hoistable&&!this._schemaAttribute?(this.schema=u.schema,this._schemaAttribute=u._schemaAttribute):this.schema=u}getSchemaAttribute(u,D,F){return!this.isSingleSchema&&this._schemaAttribute(u,D,F)}inferSchema(u,D,F){if(this.isSingleSchema)return this.schema;const e=this.getSchemaAttribute(u,D,F);return this.schema[e]}schemaKey(){return this.isSingleSchema?this.schema.key:Object.values(this.schema).join(";")}normalizeValue(u,D,F,e,t){if(!u)return u;const C=this.isSingleSchema,E=C?this.schema:this.schema[this._schemaAttribute(u,D,F)];if(!E)return u;const A=t(E,u,D,F,e);return C||null==A?A:{id:A,schema:this._schemaAttribute(u,D,F)}}denormalizeValue(u,D){const F=this.isSingleSchema,e=!F&&u&&(C(u)?u.get("schema"):u.schema);if(!F&&!e){if("object"==typeof u&&null!==u){const F=this.inferSchema(u,void 0,void 0);if(F)return D(F,u)}return u}const t=F?void 0:C(u)?u.get("id"):u.id;return D(F?this.schema:this.schema[e],t||u)}}class A extends E{constructor(u,D){if(!D)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');super(u,D),this._hoistable=!0}normalize(u,D,F,e,t){return this.normalizeValue(u,D,F,e,t)}denormalize(u,D,F){return this.denormalizeValue(u,F)}queryKey(u,D){if(!u[0])return;const F=this.getSchemaAttribute(u[0],void 0,""),e=this.schema[F];if(e){const t=D(e,u);if(void 0===t)return;return{id:t,schema:F}}for(const F in this.schema){const e=D(this.schema[F],u);if(void 0!==e)return{id:e,schema:F}}}}class n extends E{normalize(u,D,F,e,t,C){const E={},A=Object.keys(u);for(let D=0;D<A.length;D++){const F=A[D],C=u[F];null!=C&&(E[F]=this.normalizeValue(C,u,F,e,t))}return E}denormalize(u,D,F){const e={},t=Object.keys(u);for(let D=0;D<t.length;D++){const C=t[D],E=u[C],A=this.denormalizeValue(E,F);A&&"symbol"!=typeof A&&(e[C]=A)}return e}queryKey(u,D,F){}}const r=u=>void 0!==u&&"symbol"!=typeof u;class s extends E{normalize(u,D,F,e,t){const C=(u=>Array.isArray(u)?u:Object.keys(u).map((D=>u[D])))(u);return C.map((u=>this.normalizeValue(u,D,F,e,t)))}denormalize(u,D,F){return u.map?u.map((u=>this.denormalizeValue(u,F))).filter(r):u}queryKey(u,D,F){}toJSON(){return[this.schema]}}class i extends s{constructor(u,D){super(u,D)}normalize(u,D,F,e,t){super.normalize(u,D,F,e,t)}queryKey(u,D,F){if(this.isSingleSchema){const u=F.getEntities(this.schema.key);return u?[...u.keys()]:F.INVALID}let e=!1;const t=Object.values(this.schema).flatMap((u=>{const D=F.getEntities(u.key);if(!D)return[];e=!0;const t=[];for(const[F,e]of D.entries())e&&"symbol"!=typeof e&&t.push({id:u.pk(e,void 0,F,[]),schema:this.getSchemaAttribute(e,void 0,F)});return t}));return e?t:F.INVALID}}function B(u,F,e,t){if(C(F))return function(u,D,F){let e;const t=Object.keys(u).reduce(((D,t)=>{const C=`${t}`,E=F(u[C],D.get(C));return"symbol"==typeof E&&(e=E),D.has(C)?D.set(C,E):D}),D);return null!=e?e:t}(u,F,t);const E=D({},F),A=Object.keys(u);for(let D=0;D<A.length;D++){const F=A[D],e=t(u[F],E[F]);if(void 0!==E[F]&&(E[F]=e),"symbol"==typeof e)return e}return E}class o{constructor(u){this.schema=void 0,this.define(u)}define(u){this.schema=Object.keys(u).reduce(((F,e)=>{const t=u[e];return D({},F,{[e]:t})}),this.schema||{})}normalize(...u){return((u,F,e,t,C,E)=>{const A=D({},F),n=Object.keys(u);for(let D=0;D<n.length;D++){const e=n[D],t=E(u[e],F[e],F,e,C);void 0===t?delete A[e]:A[e]=t}return A})(this.schema,...u)}denormalize(u,D,F){return B(this.schema,u,0,F)}queryKey(u,D){return function(u,D,F){const e={},t=Object.keys(u);for(let C=0;C<t.length;C++){const E=t[C];e[E]=F(u[E],D)}return e}(this.schema,u,D)}}let a=class extends E{constructor(u,D){super(u,D)}get key(){return this.schemaKey()}normalize(u,D,F,e,t,C){const E=this.inferSchema(u,D,F);if(!E)return u;let A;if("string"==typeof u||"number"==typeof u)A=u;else{const t=E.process(u,D,F,e);A=E.pk(null!=t?t:u,D,F,e)}return A=`${A}`,C.invalidate(E,A),this.isSingleSchema?A:{id:A,schema:this.getSchemaAttribute(u,D,F)}}queryKey(u,D,F){}denormalize(u,D,F){return this.denormalizeValue(u,F)}_denormalizeNullable(){return{}}_normalizeNullable(){return{}}};const c=(u,D)=>[...u,...D],h=(u,D)=>[...D,...u],l=(u,F)=>D({},u,F),f=(u,D)=>"object"==typeof u&&"object"==typeof D?u.id===D.id&&u.schema===D.schema:u===D,m=(u,D)=>u.filter((u=>!D.some((D=>f(u,D))))),p=(u,D)=>{const F=Object.values(D),e={};for(const[D,t]of Object.entries(u))F.some((u=>f(t,u)))||(e[D]=t);return e},d=u=>[...u],y=u=>D({},u);class g{addWith(u,D){return v(this,u,D)}moveWith(u){return w(this,u,this.schema instanceof s?m:p)}createCollectionFilter(...u){return D=>Object.entries(D).every((([D,F])=>{var e;return this.nonFilterArgumentKeys(D)||`${u[0][D]}`===F||`${null==(e=u[1])?void 0:e[D]}`===F}))}nonFilterArgumentKeys(u){return u.startsWith("order")}constructor(u,F){if(this.schema=Array.isArray(u)?new s(u[0]):u,F?"nestKey"in F?this.nestKey=F.nestKey:this.argsKey="argsKey"in F?F.argsKey:u=>D({},u):this.argsKey=u=>D({},u),this.key=function(u){if(u instanceof s)return`[${u.schemaKey()}]`;if(u instanceof n)return`{${u.schemaKey()}}`;return`(${u.schemaKey()})`}(this.schema),null!=F&&F.nonFilterArgumentKeys){const{nonFilterArgumentKeys:u}=F;"function"==typeof u?this.nonFilterArgumentKeys=u:u instanceof RegExp?this.nonFilterArgumentKeys=D=>u.test(D):this.nonFilterArgumentKeys=D=>u.includes(D)}else null!=F&&F.createCollectionFilter&&(this.createCollectionFilter=F.createCollectionFilter.bind(this));this.schema instanceof s?(this.createIfValid=d,this.push=v(this,c),this.unshift=v(this,h),this.remove=v(this,m),this.move=w(this,c,m)):u instanceof n&&(this.createIfValid=y,this.assign=v(this,l),this.remove=v(this,p),this.move=w(this,l,p))}get cacheWith(){return this.schema.schema}toString(){return this.key}toJSON(){return{key:this.key,schema:this.schema.schema}}pk(u,D,F,e){const t=this.argsKey?this.argsKey(...e):this.nestKey(D,F);for(const u in t)["number","boolean"].includes(typeof t[u])&&(t[u]=`${t[u]}`);return function(u){const D=Object.keys(u).sort(),F={};for(const e of D)F[e]=u[e];return JSON.stringify(F)}(t)}normalize(u,D,F,e,t,C){const E=this.schema.normalize(u,D,F,e,t,C),A=this.pk(E,D,F,e);return C.mergeEntity(this,A,E),A}merge(u,D){return D}shouldReorder(u,D,F,e){return D.fetchedAt<u.fetchedAt}mergeWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?this.merge(e,F):this.merge(F,e)}mergeMetaWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?u:D}queryKey(u,D,F){if(this.argsKey){const D=this.pk(void 0,void 0,"",u);if(F.getEntity(this.key,D))return D}}denormalize(u,D,F){return this.schema.denormalize(u,D,F)}}function b(u,D,F){const e={merge:{value:D},normalize:{value:F},queryKey:{value:x}};return u.schema instanceof s&&(e.createIfValid={value:j},e.denormalize={value:$}),e}function v(u,D,F){const e=b(u,D,k);return F&&(e.createCollectionFilter={value:F}),Object.create(u,e)}function x(){}function k(u,D,F,e,t,C){const E=this.schema.normalize(this.schema instanceof s&&!Array.isArray(u)?[u]:u,D,F,e,t,C),A=this.createCollectionFilter(...e),n=C.getEntities(this.key);if(n)for(const u of n.keys())A(JSON.parse(u))&&C.mergeEntity(this,u,E);return E}function w(u,D,F){const e=Object.create(u,b(u,D,(function(u,D,F,e,t,C){return O.call(this,this._removeSchema,u,D,F,e,t,C)})));return e._removeSchema=Object.create(e,{merge:{value:F}}),e}function O(u,F,e,t,C,E,A){const n=this.schema instanceof s,r=this.schema.schema,i=(n&&Array.isArray(F)?F:[F]).map((u=>{const D=r.process(u,e,t,C),F=`${r.pk(D,e,t,C)}`;return{pk:F,processed:D,existingEntity:F?A.getEntity(r.key,F):void 0}})),B=n?Array.isArray(F)?F:[F]:i[0].pk?{[i[0].pk]:F}:F,o=this.schema.normalize(B,e,t,C,E,A),a=C[C.length-1],c=A.getEntities(this.key);if(c)for(let F=0;F<i.length;F++){const{processed:e,existingEntity:t}=i[F],E=n?[o[F]]:o,r=n?D({},a,e):a,s=t?D({},t,r):r,B=t?this.createCollectionFilter(D({},C[0],t),t):void 0,h=this.createCollectionFilter(D({},C[0],r),s);for(const D of c.keys()){const F=JSON.parse(D),e=null==B?void 0:B(F),t=h(F);e&&!t?A.mergeEntity(u,D,E):t&&!e&&A.mergeEntity(this,D,E)}}return o}function j(u){return Array.isArray(u)?[...u]:D({},u)}function $(u,D,F){return Array.isArray(u)?this.schema.denormalize(u,D,F):this.schema.denormalize([u],D,F)[0]}function S(u,D){if(null==u)return{};var F={};for(var e in u)if({}.hasOwnProperty.call(u,e)){if(-1!==D.indexOf(e))continue;F[e]=u[e]}return F}const _=["pk","schema","key"];function P(u,F={}){class e extends u{static toString(){return this.key}static toJSON(){return{key:this.key,schema:this.schema}}static pk(u,D,F,e){return this.prototype.pk.call(u,D,F,e)}static shouldUpdate(u,D,F,e){return!0}static shouldReorder(u,D,F,e){return D.fetchedAt<u.fetchedAt}static merge(u,F){return D({},u,F)}static mergeWithStore(u,D,F,e){return this.shouldUpdate(u,D,F,e)?typeof e!=typeof F?e:this.shouldReorder(u,D,F,e)?this.merge(e,F):this.merge(F,e):F}static mergeMetaWithStore(u,D,F,e){return this.shouldReorder(u,D,F,e)?u:D}static fromJS(u={}){const D=new this(u);return Object.assign(D,u),D}static createIfValid(u){if(!this.validate(u))return this.fromJS(u)}static process(u,F,e,t){return D({},u)}static normalize(u,D,F,e,t,C){const E=this.process(u,D,F,e);let A;if(void 0===E)return A=`${this.pk(u,D,F,e)}`,C.invalidate(this,A),A;if(A=this.pk(E,D,F,e),A=void 0===A||""===A||"undefined"===A?`MISS-${Math.random()}`:`${A}`,C.checkLoop(this.key,A,u))return A;!function(u){if(u){const D=new Error(u);throw D.status=400,D}}(this.validate(E));const n=Object.keys(this.schema);for(let u=0;u<n.length;u++){const D=n[u];Object.hasOwn(E,D)&&(E[D]=t(this.schema[D],E[D],E,D,e))}return C.mergeEntity(this,A,E),A}static validate(u){}static queryKey(u,D,F){if(!u[0])return;const e=function(u,D,F){if(["string","number"].includes(typeof D[0]))return`${D[0]}`;const e=u.pk(D[0],void 0,"",D);if(void 0!==e&&""!==e)return e;const t=(C=D[0],E=u.indexes,E?E.find((u=>Object.hasOwn(C,u))):void 0);var C,E;if(!t)return;const A=D[0][t];return F.getIndex(u.key,t,A)}(this,u,F);return e&&F.getEntity(this.key,e)?e:void 0}static denormalize(u,D,F){if("symbol"==typeof u)return u;for(const D of Object.keys(this.schema)){const e=F(this.schema[D],u[D]);if("symbol"==typeof e){if(this.defaults[D])return e;u[D]=void 0}else u[D]=e}return u}static get defaults(){return Object.hasOwn(this,"__defaults")||Object.defineProperty(this,"__defaults",{value:new this,writable:!0,configurable:!0}),this.__defaults}}const t=S(F,_);if(Object.assign(e,t),"schema"in F?e.schema=F.schema:u.schema||(e.schema={}),"pk"in F?"function"==typeof F.pk?e.prototype.pk=function(u,D){return F.pk(this,u,D)}:e.prototype.pk=function(){return this[F.pk]}:"function"!=typeof u.prototype.pk&&(e.prototype.pk=function(){return this.id}),"key"in F)Object.defineProperty(e,"key",{value:F.key,configurable:!0,writable:!0,enumerable:!0});else if(!("key"in u)){function C(u){Object.defineProperty(this,"key",{value:u,writable:!0,enumerable:!0,configurable:!0})}const E=function(){return"EntityMixin"===this.name?u.name:this.name},A="undefined"!=typeof document&&document.CLS_MANGLE?function(){return null==document.CLS_MANGLE||document.CLS_MANGLE(this),Object.defineProperty(e,"key",{get:E,set:C,enumerable:!0,configurable:!0}),E.call(this)}:E;Object.defineProperty(e,"key",{get:A,set:C,enumerable:!0,configurable:!0})}return e}class z{constructor(u,D){this.schema=u,this.process=D}normalize(...u){return this.schema.normalize(...u)}denormalize(u,D,F){const e=F(this.schema,u);return"symbol"==typeof e?e:this.process(e,...D)}queryKey(u,D){return D(this.schema,u)}}class K{constructor(u){this._query=void 0,this.schema=u}normalize(u,D,F,e,t,C){return t(this.schema,u,D,F,e)}denormalize(u,D,F){return u}queryKey(u,D,F){}get query(){return this._query||(this._query=new T(this.schema)),this._query}}class T{constructor(u){this.schema=u}denormalize(u,D,F){return F(this.schema,u)}queryKey(u,D,F){const e=this.schema;return"function"==typeof e.queryKey&&e.key?e.queryKey(u,D,F):u[0]}}var R=Object.freeze({__proto__:null,All:i,Array:s,Collection:g,Entity:P,EntityMixin:P,Invalidate:a,Lazy:K,Object:o,Query:z,Union:A,Values:n,unshift:h});const q=class{};class N extends(P(q)){static process(u,D,F,e){return super.process(u,D,F,e)}}var U;const I="undefined"!=typeof document;let M=I&&!(null!=(U=document.querySelector("meta[http-equiv='Content-Security-Policy']"))&&U.getAttribute("content"));try{M||Function()}catch(u){M=!0,I&&console.error("Content Security Policy: The previous CSP log can be safely ignored - @data-client/endpoint will use setPrototypeOf instead")}var L;class V extends Function{constructor(u,D){let F,e;return M?(F=(...u)=>F.fetch(...u),Object.setPrototypeOf(F,new.target.prototype)):(super("return arguments.callee.fetch.apply(arguments.callee, arguments)"),F=this),u&&(F.fetch=u),D&&"name"in D||!u||!u.name||"anonymous"===u.name||(e=u.name),Object.defineProperty(F,"name",{get(){return e||this.__name},set(u){this.__name=u}}),Object.assign(F,D),F}key(...u){return`${this.name} ${JSON.stringify(u)}`}testKey(u){return u.startsWith(this.name)}bind(u,...D){const F=this.fetch,e=this.key;return this.extend({fetch(){return F.apply(null!=u?u:this,D)},key(){return e.apply(this,D)}})}extend(u){class D extends this.constructor{}return Object.assign(D.prototype,this),new D(u.fetch,u)}}L=V,(()=>{if("undefined"!=typeof document&&document.FUNC_MANGLE){const u=L.prototype.key;L.prototype.key=function(...D){return null==document.FUNC_MANGLE||document.FUNC_MANGLE(this),this.prototype.key=u,u.call(this,...D)}}})();const J=V;function W(u,F){if("object"!=typeof u||void 0===u||Array.isArray(u))return;if(u instanceof g)return F(u);const e=D({},u instanceof o?u.schema:u);for(const u in e){if(!e[u])continue;const D=W(e[u],F);if(D)return D}}function G(u,F){if("object"!=typeof u||void 0===u)return u;if(u instanceof g)return F(u);const e=D({},u instanceof o?u.schema:u);for(const u in e)e[u]&&(e[u]=G(e[u],F));return e}Object.hasOwn=Object.hasOwn||function(u,D){return Object.prototype.hasOwnProperty.call(u,D)};class H extends Error{constructor(u){super(`${u.url}: ${u.statusText||`Status not 'ok': ${u.status}`}`),this.name="NetworkError",this.status=u.status,this.response=u}toJSON(){return{name:this.name,status:this.status,message:this.message,url:this.response.url}}}function Z(u,D){const F=new Set(u),e=[...u];for(const u of D)F.has(u)||e.push(u);return e}var Q,X={};var Y=function(){if(Q)return X;Q=1,Object.defineProperty(X,"__esModule",{value:!0}),X.PathError=X.TokenData=void 0,X.parse=n,X.compile=function(D,F={}){const{encode:e=encodeURIComponent,delimiter:t=u}=F,C=r(("object"==typeof D?D:n(D,F)).tokens,t,e);return function(u={}){const D=[],F=C(u,D);if(D.length)throw new TypeError(`Missing parameters: ${D.join(", ")}`);return F}},X.match=function(F,e={}){const{decode:t=decodeURIComponent,delimiter:C=u}=e,{regexp:E,keys:A}=s(F,e),n=A.map((u=>!1===t?D:"param"===u.type?t:u=>u.split(C).map(t)));return function(u){const D=E.exec(u);if(!D)return!1;const F=D[0],e=Object.create(null);for(let u=1;u<D.length;u++){if(void 0===D[u])continue;const F=A[u-1],t=n[u-1];e[F.name]=t(D[u])}return{path:F,params:e}}},X.pathToRegexp=s,X.stringify=function(u){return o(u.tokens,0)};const u="/",D=u=>u,F=/^(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\u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F10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDB0-\uDDDB\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D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E21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])$/,e=/^(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\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EF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827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\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF9\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05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\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]|\uDB40[\uDD00-\uDDEF])$/,t=/^(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD40-\uDD59\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC7\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDB0-\uDDDB\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\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\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A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4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA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90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE7F\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDCF0-\uDCF9\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44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DFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]|\uDB40[\uDD00-\uDDEF])*$/;function C(u){return u.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class E{constructor(u,D){this.tokens=u,this.originalPath=D}}X.TokenData=E;class A extends TypeError{constructor(u,D){let F=u;D&&(F+=`: ${D}`),F+="; visit https://git.new/pathToRegexpError for info",super(F),this.originalPath=D}}function n(u,t={}){const{encodePath:C=D}=t,n=[...u];let r=0;return new E(function D(t){const E=[];let s="";function i(){s&&(E.push({type:"text",value:C(s)}),s="")}for(;r<n.length;){const C=n[r++];if(C===t)return i(),E;if("\\"!==C)if(":"!==C&&"*"!==C)if("{"!==C){if("}"===C||"("===C||")"===C||"["===C||"]"===C||"+"===C||"?"===C||"!"===C)throw new A(`Unexpected ${C} at index ${r-1}`,u);s+=C}else i(),E.push({type:"group",tokens:D("}")});else{const D=":"===C?"param":"wildcard";let t="";if(F.test(n[r]))do{t+=n[r++]}while(e.test(n[r]));else if('"'===n[r]){let D=r;for(;r<n.length;){if('"'===n[++r]){r++,D=0;break}"\\"===n[r]&&r++,t+=n[r]}if(D)throw new A(`Unterminated quote at index ${D}`,u)}if(!t)throw new A(`Missing parameter name at index ${r}`,u);i(),E.push({type:D,name:t})}else{if(r===n.length)throw new A(`Unexpected end after \\ at index ${r}`,u);s+=n[r++]}}if(t)throw new A(`Unexpected end at index ${r}, expected ${t}`,u);return i(),E}(""),u)}function r(u,F,e){const t=u.map((u=>function(u,F,e){if("text"===u.type)return()=>u.value;if("group"===u.type){const D=r(u.tokens,F,e);return(u,F)=>{const e=F.length,t=D(u,F);return F.length===e?t:(F.length=e,"")}}const t=e||D;if("wildcard"===u.type&&!1!==e)return(D,e)=>{const C=D[u.name];if(null==C)return e.push(u.name),"";if(!Array.isArray(C)||0===C.length)throw new TypeError(`Expected "${u.name}" to be a non-empty array`);let E="";for(let D=0;D<C.length;D++){if("string"!=typeof C[D])throw new TypeError(`Expected "${u.name}/${D}" to be a string`);D>0&&(E+=F),E+=t(C[D])}return E};return(D,F)=>{const e=D[u.name];if(null==e)return F.push(u.name),"";if("string"!=typeof e)throw new TypeError(`Expected "${u.name}" to be a string`);return t(e)}}(u,F,e)));return(u,D)=>{let F="";for(const e of t)F+=e(u,D);return F}}function s(D,F={}){const{delimiter:e=u,end:t=!0,sensitive:E=!1,trailing:r=!0}=F,s=[];let o="",a=0;!function u(D){if(Array.isArray(D)){for(const F of D)u(F);return}const t="object"==typeof D?D:n(D,F);i(t.tokens,0,[],(u=>{if(a>=256)throw new A("Too many path combinations",t.originalPath);a>0&&(o+="|"),o+=function(u,D,F,e){let t="",E="",n="",r=0,s=0,i=0;function o(F,e){for(;F<u.length;){const t=u[F++];if(t.type===e)return!0;if("text"===t.type&&t.value.includes(D))break}return!1}function a(D){let F="";for(;D<u.length;){const e=u[D++];if("text"!==e.type)break;F+=e.value}return F}for(;i<u.length;){const c=u[i++];if("text"!==c.type){if("param"!==c.type&&"wildcard"!==c.type)throw new TypeError(`Unknown token type: ${c.type}`);if(r&&!E)throw new A(`Missing text before "${c.name}" ${c.type}`,e);"param"===c.type?(t+=2&s?`(${B(D,E)}+)`:o(i,"wildcard")?`(${B(D,a(i))}+)`:1&s?`(${B(D,E)}+|${C(E)})`:`(${B(D,"")}+)`,s|=r=1):(t+=2&s?`(${B(E,"")}+)`:n?`(${B(n,"")}+|${B(D,"")}+)`:"([^]+)",n="",s|=r=2),F.push(c),E=""}else t+=C(c.value),E+=c.value,2===r&&(n+=c.value),c.value.includes(D)&&(s=0)}return t}(u,e,s,t.originalPath),a++}))}(D);let c=`^(?:${o})`;return r&&(c+="(?:"+C(e)+"$)?"),c+=t?"$":"(?="+C(e)+"|$)",{regexp:new RegExp(c,E?"":"i"),keys:s}}function i(u,D,F,e){for(;D<u.length;){const t=u[D++];if("group"!==t.type)F.push(t);else{const C=F.length;i(t.tokens,0,F,(F=>i(u,D,F,e))),F.length=C}}e(F)}function B(u,D){return D.length>u.length?B(D,u):(u===D&&(D=""),D.length>1?`(?:(?!${C(u)}|${C(D)})[^])`:u.length>1?`(?:(?!${C(u)})[^${C(D)}])`:`[^${C(u+D)}]`)}function o(u,D){let F="";for(;D<u.length;){const e=u[D++];if("text"!==e.type)if("group"!==e.type)if("param"!==e.type){if("wildcard"!==e.type)throw new TypeError(`Unknown token type: ${e.type}`);F+="*"+a(e.name,u[D])}else F+=":"+a(e.name,u[D]);else F+="{"+o(e.tokens,0)+"}";else F+=e.value.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}return F}function a(u,D){return t.test(u)?"text"===(null==D?void 0:D.type)&&e.test(D.value[0])?JSON.stringify(u):u:JSON.stringify(u)}return X.PathError=A,X}();const uu=Object.create(null);function Du(u){return u in uu||(uu[u]=Y.compile(u)),uu[u]}const Fu=Object.create(null);function eu(u){return u in Fu||(Fu[u]=Cu(Y.parse(u).tokens)),Fu[u]}const tu=Object.create(null);function Cu(u){const D=new Set;for(const F of u)switch(F.type){case"param":case"wildcard":D.add(F.name);break;case"group":for(const u of Cu(F.tokens))D.add(u)}return D}const Eu=Object.prototype,Au=Object.getPrototypeOf;const nu=/\btext\b|\bxml\b|\bhtml\b|\bjavascript\b|\bcss\b|\bcsv\b|\burlencoded\b/;function ru(u){return u.json().catch((u=>{throw u.status=400,u}))}var su=t("hasBody");class iu extends V{constructor(u){var D;super(null!=(D=u.fetch)?D:async function(...u){const D=F(this,su)[su]&&u.length<2?{}:u[0]||{},e=F(this,su)[su]?u[u.length-1]:void 0;return this.fetchResponse(this.url(D),await this.getRequestInit(e)).then((u=>this.parseResponse(u))).then((D=>this.process(D,...u)))},u),Object.defineProperty(this,su,{writable:!0,value:void 0}),(!("sideEffect"in this)||"method"in u&&!("sideEffect"in u))&&(this.sideEffect="GET"!==u.method&&void 0!==u.method||void 0),void 0===this.method&&(this.method=this.sideEffect?"POST":"GET"),void 0===this.urlPrefix&&(this.urlPrefix=""),F(this,su)[su]=!("body"in this&&void 0===this.body||["GET","DELETE"].includes(this.method)),Object.defineProperty(this,"name",{get(){return"__name"in this?this.__name:this.urlPrefix+this.path}})}key(...u){return`${this.method} ${this.url(F(this,su)[su]&&u.length<2?{}:u[0]||{})}`}url(u={}){const D=eu(this.path),F={},e={};Object.keys(u).forEach((t=>{D.has(t)?void 0!==u[t]&&(F[t]=Array.isArray(u[t])?u[t].map(String):String(u[t])):e[t]=u[t]}));const t=Du(this.path)(F);return Object.keys(e).length?`${this.urlPrefix}${t}?${this.searchToString(e)}`:`${this.urlPrefix}${t}`}searchToString(u){return function(u){const D=new URLSearchParams(u);return D.sort(),D.toString()}(u)}getHeaders(u){return u}async getRequestInit(u){const F=null!==(e=u)&&"object"==typeof e&&Au(e)===Eu;var e;F&&(u=JSON.stringify(u));const t=D({},this.requestInit,{method:this.method,signal:this.signal,body:u});return u&&!F||(t.headers=D({"Content-Type":"application/json"},t.headers)),t.headers=await this.getHeaders(t.headers),t}fetchResponse(u,D){return fetch(u,D).then((u=>{if(!u.ok)throw new H(u);return u})).catch((u=>{throw u instanceof TypeError&&(u.status=500),u}))}parseResponse(u){if(204===u.status)return Promise.resolve(null);if(this.content)return"stream"===this.content?Promise.resolve(u.body):"json"===this.content?ru(u):u[this.content]();const D=u.headers.get("content-type");if(null!=D&&D.includes("json"))return ru(u);const F=D&&!nu.test(D);if("string"==typeof this.schema||void 0===this.schema||null===this.schema||this.process!==iu.prototype.process)return F?u.blob():u.text();if(F){const D=new H(u);throw D.status=400,D.message=`Unexpected binary content-type for schema ${this.schema}`,D}return u.text().then((D=>{const F=new H(u);throw F.status=404,F.message=`Unexpected text response for schema ${this.schema}`,F}))}process(u){return u}errorPolicy(u){return u.status>=500?"soft":void 0}get pathRegex(){return(u=this.path)in tu||(tu[u]=Y.pathToRegexp(u).regexp),tu[u];var u}testKey(u){const D=this.method+" "+this.urlPrefix;if(!u.startsWith(D))return!1;let F=u.lastIndexOf("?");return-1===F&&(F=void 0),this.pathRegex.test(u.substring(D.length,F))}extend(u){class F extends this.constructor{}return Object.assign(F.prototype,this),new F(D({fetch:this.fetch},u))}paginated(u){if("string"==typeof u){const F=u;u=u=>{let e=D({},(function(u){if(null==u)throw new TypeError("Cannot destructure "+u)}(u),u));return delete e[F],[e]}}let F=!1;const e=G(this.schema,(D=>(F=!0,function(u,D){return Object.create(D,{name:{value:`Pagination(${D.schema})`},merge:{value:Z},pk:{value:function(F,e,t,C){return D.pk.call(this,F,e,t,u(...C))}}})}(u,D))));if(!F)throw new Error("Missing Collection");const t=this;return this.extend({schema:e,key(...D){return t.key.call(this,...u(...D))},name:this.name+".getPage"})}get getPage(){return this.paginated(this.paginationField)}get push(){return this.extend({method:"POST",schema:W(this.schema,(u=>u.push)),name:this.name+".create"})}get unshift(){return this.extend({method:"POST",schema:W(this.schema,(u=>u.unshift)),name:this.name+".create"})}get assign(){return this.extend({method:"POST",schema:W(this.schema,(u=>u.assign)),name:this.name+".create"})}get remove(){return this.extend({method:"PATCH",schema:W(this.schema,(u=>u.remove)),name:this.name+".remove"})}get move(){const u={method:"PATCH",schema:W(this.schema,(u=>u.move)),searchParams:void 0,name:this.name+".partialUpdate"};return this.movePath&&(u.path=this.movePath),this.extend(u)}}const Bu=["path","schema","Endpoint","Collection","optimistic","paginationField"],{Invalidate:ou,Collection:au}=R;function cu(u){let{path:F,schema:e,Endpoint:t=iu,Collection:C=au,optimistic:E,paginationField:A}=u,n=S(u,Bu);const r=function(u){const D=Math.max(u.lastIndexOf(":"),u.lastIndexOf("*"));if(-1===D)throw new Error("Resource path requires at least one :parameter or *wildcard");let F=u.substring(0,D);return"/"===F[F.length-1]&&(F=F.substring(0,F.length-1)),F}(F),s=u=>`${null==e?void 0:e.name}.${u}`;function i(u,D,F){u[D]=u[D].extend(F)}const B=D({},n),o=D({},n),a=new t(D({},n,{path:F,schema:e,name:s("get")}));E&&(B.getOptimisticResponse=hu,o.getOptimisticResponse=function(u){return function(F,e,t){const C=F.get(u,e);if(!C)throw F.abort;return D({},e,C,fu(t))}}(e));const c=new t(D({},B,{paginationField:A,movePath:F,path:r,schema:new C([e]),name:s("getList")}));return{get:a,getList:c,create:c.push.extend({name:s("create")}),update:new t(D({},B,{path:F,schema:e,method:"PUT",name:s("update")})),partialUpdate:new t(D({},o,{path:F,schema:e,method:"PATCH",name:s("partialUpdate")})),delete:new t(D({},B,{path:F,schema:e.process||e._hoistable?new ou(e):e,method:"DELETE",name:s("delete"),process:(u,D)=>u&&Object.keys(u).length?u:D,getOptimisticResponse:E?lu:void 0})),extend(...u){if("string"==typeof u[0]){const[F,e]=u;if(F in this){const u=D({},this);return i(u,F,e),u}return D({},this,{[F]:this.get.extend(e)})}if("function"==typeof u[0]){return D({},this,u[0](this))}const F=u[0],e=D({},this);for(const u in F)i(e,u,F[u]);return e}}}function hu(u,F,e){return D({},F,fu(e))}function lu(u,D){return D}function fu(u){return u instanceof FormData?Object.fromEntries(u.entries()):u}u.All=i,u.Collection=g,u.Endpoint=V,u.Entity=N,u.EntityMixin=P,u.ExtendableEndpoint=J,u.Invalidate=a,u.Lazy=K,u.NetworkError=H,u.Query=z,u.RestEndpoint=iu,u.Union=A,u.Values=n,u.createResource=cu,u.getUrlBase=Du,u.getUrlTokens=eu,u.hookifyResource=function(u,D){const F={};return Object.keys(u).forEach((e=>{const t=u[e];var C;void 0!==t.extend&&(F[`use${C=e,C.charAt(0).toUpperCase()+C.slice(1)}`]=()=>{const u=D();return t.extend({requestInit:u})})})),F},u.resource=cu,u.schema=R,u.unshift=h,u.validateRequired=function(u,D){let F="";if(Object.keys(D).some((D=>!Object.hasOwn(u,D)&&(F=D,!0))))return`Missing key ${F}`}}));