"use strict";var composition_bridge=(()=>{var vx=Object.defineProperty;var yx=(i,e,t)=>e in i?vx(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var T7=(i,e)=>()=>(i&&(e=i(i=0)),e);var D=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var lt=(i,e,t)=>(yx(i,typeof e!="symbol"?e+"":e,t),t),D7=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var ct=(i,e,t)=>(D7(i,e,"read from private field"),t?t.call(i):e.get(i)),Hs=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},S7=(i,e,t,n)=>(D7(i,e,"write to private field"),n?n.call(i,t):e.set(i,t),t);var A2=D(at=>{"use strict";h();m();function yn(i,e){return`${e&&e.context?e.context:"Value"} ${i}.`}function Ex(i){if(i===null)return"Null";switch(typeof i){case"undefined":return"Undefined";case"boolean":return"Boolean";case"number":return"Number";case"string":return"String";case"symbol":return"Symbol";case"object":case"function":default:return"Object"}}function gx(i){return i>0&&i%1===.5&&!(i&1)||i<0&&i%1===-.5&&(i&1)===1?Vc(Math.floor(i)):Vc(Math.round(i))}function _7(i){return Vc(Math.trunc(i))}function b7(i){return i<0?-1:1}function Ax(i,e){let t=i%e;return b7(e)!==b7(t)?t+e:t}function Vc(i){return i===0?0:i}function Ya(i,e){let t=!e.unsigned,n,r;i===64?(r=Math.pow(2,53)-1,n=t?-Math.pow(2,53)+1:0):t?(n=-Math.pow(2,i-1),r=Math.pow(2,i-1)-1):(n=0,r=Math.pow(2,i)-1);let a=Math.pow(2,i),s=Math.pow(2,i-1);return(o,u)=>{u===void 0&&(u={});let p=+o;if(p=Vc(p),u.enforceRange){if(!Number.isFinite(p))throw new TypeError(yn("is not a finite number",u));if(p=_7(p),pr)throw new TypeError(yn(`is outside the accepted range of ${n} to ${r}, inclusive`,u));return p}return!Number.isNaN(p)&&u.clamp?(p=Math.min(Math.max(p,n),r),p=gx(p),p):!Number.isFinite(p)||p===0?0:(p=_7(p),p>=n&&p<=r?p:(p=Ax(p,a),t&&p>=s?p-a:p))}}at.any=i=>i;at.void=function(){};at.boolean=function(i){return!!i};at.byte=Ya(8,{unsigned:!1});at.octet=Ya(8,{unsigned:!0});at.short=Ya(16,{unsigned:!1});at["unsigned short"]=Ya(16,{unsigned:!0});at.long=Ya(32,{unsigned:!1});at["unsigned long"]=Ya(32,{unsigned:!0});at["long long"]=Ya(64,{unsigned:!1});at["unsigned long long"]=Ya(64,{unsigned:!0});at.double=(i,e)=>{let t=+i;if(!Number.isFinite(t))throw new TypeError(yn("is not a finite floating-point value",e));return t};at["unrestricted double"]=i=>+i;at.float=(i,e)=>{let t=+i;if(!Number.isFinite(t))throw new TypeError(yn("is not a finite floating-point value",e));if(Object.is(t,-0))return t;let n=Math.fround(t);if(!Number.isFinite(n))throw new TypeError(yn("is outside the range of a single-precision floating-point value",e));return n};at["unrestricted float"]=i=>{let e=+i;return isNaN(e)||Object.is(e,-0)?e:Math.fround(e)};at.DOMString=function(i,e){if(e===void 0&&(e={}),e.treatNullAsEmptyString&&i===null)return"";if(typeof i=="symbol")throw new TypeError(yn("is a symbol, which cannot be converted to a string",e));return String(i)};at.ByteString=(i,e)=>{let t=at.DOMString(i,e),n;for(let r=0;(n=t.codePointAt(r))!==void 0;++r)if(n>255)throw new TypeError(yn("is not a valid ByteString",e));return t};at.USVString=(i,e)=>{let t=at.DOMString(i,e),n=t.length,r=[];for(let a=0;a57343)r.push(String.fromCodePoint(s));else if(56320<=s&&s<=57343)r.push(String.fromCodePoint(65533));else if(a===n-1)r.push(String.fromCodePoint(65533));else{let o=t.charCodeAt(a+1);if(56320<=o&&o<=57343){let u=s&1023,p=o&1023;r.push(String.fromCodePoint((2<<15)+(2<<9)*u+p)),++a}else r.push(String.fromCodePoint(65533))}}return r.join("")};at.object=(i,e)=>{if(Ex(i)!=="Object")throw new TypeError(yn("is not an object",e));return i};function I7(i,e){if(typeof i!="function")throw new TypeError(yn("is not a function",e));return i}[Error,ArrayBuffer,DataView,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(i=>{let e=i.name,t=/^[AEIOU]/.test(e)?"an":"a";at[e]=(n,r)=>{if(!(n instanceof i))throw new TypeError(yn(`is not ${t} ${e} object`,r));return n}});at.ArrayBufferView=(i,e)=>{if(!ArrayBuffer.isView(i))throw new TypeError(yn("is not a view on an ArrayBuffer object",e));return i};at.BufferSource=(i,e)=>{if(!(ArrayBuffer.isView(i)||i instanceof ArrayBuffer))throw new TypeError(yn("is not an ArrayBuffer object or a view on one",e));return i};at.DOMTimeStamp=at["unsigned long long"];at.Function=I7;at.VoidFunction=I7});var T2=D((w7,R7)=>{"use strict";h();m();function Tx(i){return typeof i=="object"&&i!==null||typeof i=="function"}function Dx(i,e){return Object.prototype.hasOwnProperty.call(i,e)}var Sx=typeof Object.getOwnPropertyDescriptors=="function"?Object.getOwnPropertyDescriptors:i=>{if(i==null)throw new TypeError("Cannot convert undefined or null to object");i=Object(i);let e=Reflect.ownKeys(i),t={};for(let n of e){let r=Reflect.getOwnPropertyDescriptor(i,n);r!==void 0&&Reflect.defineProperty(t,n,{value:r,writable:!0,enumerable:!0,configurable:!0})}return t},F7=Symbol("wrapper"),N7=Symbol("impl"),du=Symbol("SameObject caches");function _x(i,e,t){return i[du]||(i[du]=Object.create(null)),e in i[du]||(i[du][e]=t()),i[du][e]}function C7(i){return i?i[F7]:null}function O7(i){return i?i[N7]:null}function bx(i){let e=C7(i);return e||i}function Ix(i){let e=O7(i);return e||i}var Fx=Symbol("internal"),Nx=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Cx(i){if(typeof i!="string")return!1;let e=i>>>0;if(e===Math.pow(2,32)-1)return!1;let t=`${e}`;return i===t}var Ox=Symbol("supports property index"),wx=Symbol("supported property indices"),Rx=Symbol("supports property name"),Bx=Symbol("supported property names"),Lx=Symbol("indexed property get"),xx=Symbol("indexed property set new"),Px=Symbol("indexed property set existing"),$x=Symbol("named property get"),Vx=Symbol("named property set new"),kx=Symbol("named property set existing"),Mx=Symbol("named property delete");R7.exports=w7={isObject:Tx,hasOwn:Dx,getOwnPropertyDescriptors:Sx,wrapperSymbol:F7,implSymbol:N7,getSameObject:_x,wrapperForImpl:C7,implForWrapper:O7,tryWrapperForImpl:bx,tryImplForWrapper:Ix,iterInternalSymbol:Fx,IteratorPrototype:Nx,isArrayIndexPropName:Cx,supportsPropertyIndex:Ox,supportedPropertyIndices:wx,supportsPropertyName:Rx,supportedPropertyNames:Bx,indexedGet:Lx,indexedSetNew:xx,indexedSetExisting:Px,namedGet:$x,namedSetNew:Vx,namedSetExisting:kx,namedDelete:Mx}});var _2=D((uce,M7)=>{"use strict";h();m();var L7="-",Ux=/^xn--/,jx=/[^\0-\x7E]/,qx=/[\x2E\u3002\uFF0E\uFF61]/g,Gx={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D2=36-1,Rr=Math.floor,S2=String.fromCharCode;function Ys(i){throw new RangeError(Gx[i])}function Kx(i,e){let t=[],n=i.length;for(;n--;)t[n]=e(i[n]);return t}function x7(i,e){let t=i.split("@"),n="";t.length>1&&(n=t[0]+"@",i=t[1]),i=i.replace(qx,".");let r=i.split("."),a=Kx(r,e).join(".");return n+a}function P7(i){let e=[],t=0,n=i.length;for(;t=55296&&r<=56319&&tString.fromCodePoint(...i),Hx=function(i){return i-48<10?i-22:i-65<26?i-65:i-97<26?i-97:36},B7=function(i,e){return i+22+75*(i<26)-((e!=0)<<5)},$7=function(i,e,t){let n=0;for(i=t?Rr(i/700):i>>1,i+=Rr(i/e);i>D2*26>>1;n+=36)i=Rr(i/D2);return Rr(n+(D2+1)*i/(i+38))},V7=function(i){let e=[],t=i.length,n=0,r=128,a=72,s=i.lastIndexOf(L7);s<0&&(s=0);for(let o=0;o=128&&Ys("not-basic"),e.push(i.charCodeAt(o));for(let o=s>0?s+1:0;o=t&&Ys("invalid-input");let c=Hx(i.charCodeAt(o++));(c>=36||c>Rr((2147483647-n)/d))&&Ys("overflow"),n+=c*d;let v=l<=a?1:l>=a+26?26:l-a;if(cRr(2147483647/y)&&Ys("overflow"),d*=y}let p=e.length+1;a=$7(n-u,p,u==0),Rr(n/p)>2147483647-r&&Ys("overflow"),r+=Rr(n/p),n%=p,e.splice(n++,0,r)}return String.fromCodePoint(...e)},k7=function(i){let e=[];i=P7(i);let t=i.length,n=128,r=0,a=72;for(let u of i)u<128&&e.push(S2(u));let s=e.length,o=s;for(s&&e.push(L7);o=n&&dRr((2147483647-r)/p)&&Ys("overflow"),r+=(u-n)*p,n=u;for(let d of i)if(d2147483647&&Ys("overflow"),d==n){let l=r;for(let c=36;;c+=36){let v=c<=a?1:c>=a+26?26:c-a;if(l{"use strict";h();m();var Jx=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111CA}-\u{111CC}\u{1122C}-\u{11237}\u{1123E}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11435}-\u{11446}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F51}-\u{16F7E}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u,Xx=/[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0F84\u1039\u103A\u1714\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}]/u,Zx=/[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u08A0-\u08A9\u08AF\u08B0\u08B3\u08B4\u08B6-\u08B8\u08BA-\u08BD\u1807\u1820-\u1877\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110BD}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111CA}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{110BD}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111CA}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0855\u0860\u0862-\u0865\u0867-\u086A\u08A0-\u08AC\u08AE-\u08B4\u08B6-\u08BD\u1807\u1820-\u1877\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{1E900}-\u{1E943}]/u,eP=/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05F0-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A33}\u{10A40}-\u{10A47}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10CFF}\u{10E60}-\u{10E7E}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,tP=/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u055F\u0561-\u0587\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C7F\u0C80\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\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\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4B\u1B50-\u1B6A\u1B74-\u1B7C\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\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\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u3190-\u31BA\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FD\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BD-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB65\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11143}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C9}\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{11459}\u{1145B}\u{1145D}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116C0}-\u{116C9}\u{11700}-\u{11719}\u{11720}\u{11721}\u{11726}\u{11730}-\u{1173F}\u{118A0}-\u{118F2}\u{118FF}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A83}\u{11A86}-\u{11A89}\u{11A97}\u{11A9A}-\u{11A9C}\u{11A9E}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16F00}-\u{16F44}\u{16F50}-\u{16F7E}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{17000}-\u{187EC}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D360}-\u{1D371}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u,iP=/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05F0-\u05F4\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A33}\u{10A40}-\u{10A47}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10CFF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u,nP=/^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05F0-\u05F4\u0600-\u061C\u061E-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u0800-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180E\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20BF\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2426\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD2\u2BEC-\u2BEF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E49\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E3\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82B\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3F\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFD\uFE00-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019B}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A33}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A47}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10CFF}\u{10E60}-\u{10E7E}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111CA}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6DB}\u{1D715}\u{1D74F}\u{1D789}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94A}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10C}\u{1F16A}\u{1F16B}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D4}\u{1F6E0}-\u{1F6EC}\u{1F6F0}-\u{1F6F8}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D4}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F900}-\u{1F90B}\u{1F910}-\u{1F93E}\u{1F940}-\u{1F94C}\u{1F950}-\u{1F96B}\u{1F980}-\u{1F997}\u{1F9C0}\u{1F9D0}-\u{1F9E6}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u,rP=/[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05F0-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A33}\u{10A40}-\u{10A47}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10CFF}\u{10E60}-\u{10E7E}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111CA}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u,aP=/[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}]/u,sP=/[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u08E2\u{10E60}-\u{10E7E}]/u,oP=/^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u055F\u0561-\u0587\u0589\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FD\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-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\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-\u0BFA\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\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-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u180E\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ABE\u1B00-\u1B4B\u1B50-\u1B7C\u1B80-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C88\u1CC0-\u1CC7\u1CD0-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20BF\u20D0-\u20F0\u2100-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD2\u2BEC-\u2BEF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E49\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312E\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u32FE\u3300-\u4DB5\u4DC0-\u9FEA\uA000-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA82B\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA8FD\uA900-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB65\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E\uFD3F\uFDFD\uFE00-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019B}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{11000}-\u{1104D}\u{11052}-\u{1106F}\u{1107F}-\u{110C1}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11143}\u{11150}-\u{11176}\u{11180}-\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1123E}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133C}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11400}-\u{11459}\u{1145B}\u{1145D}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B7}\u{116C0}-\u{116C9}\u{11700}-\u{11719}\u{1171D}-\u{1172B}\u{11730}-\u{1173F}\u{118A0}-\u{118F2}\u{118FF}\u{11A00}-\u{11A47}\u{11A50}-\u{11A83}\u{11A86}-\u{11A9C}\u{11A9E}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16F00}-\u{16F44}\u{16F50}-\u{16F7E}\u{16F8F}-\u{16F9F}\u{16FE0}\u{16FE1}\u{17000}-\u{187EC}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1E8}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D360}-\u{1D371}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10C}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F16B}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D4}\u{1F6E0}-\u{1F6EC}\u{1F6F0}-\u{1F6F8}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D4}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F900}-\u{1F90B}\u{1F910}-\u{1F93E}\u{1F940}-\u{1F94C}\u{1F950}-\u{1F96B}\u{1F980}-\u{1F997}\u{1F9C0}\u{1F9D0}-\u{1F9E6}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u,uP=/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u055F\u0561-\u0587\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C7F\u0C80\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\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\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4B\u1B50-\u1B6A\u1B74-\u1B7C\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1CC0-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\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\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u3190-\u31BA\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u32FE\u3300-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FD\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BD-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB65\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11143}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C9}\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{11459}\u{1145B}\u{1145D}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116C0}-\u{116C9}\u{11700}-\u{11719}\u{11720}\u{11721}\u{11726}\u{11730}-\u{1173F}\u{118A0}-\u{118F2}\u{118FF}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A83}\u{11A86}-\u{11A89}\u{11A97}\u{11A9A}-\u{11A9C}\u{11A9E}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16F00}-\u{16F44}\u{16F50}-\u{16F7E}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{17000}-\u{187EC}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D360}-\u{1D371}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111CA}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u;U7.exports={combiningMarks:Jx,combiningClassVirama:Xx,validZWNJ:Zx,bidiDomain:eP,bidiS1LTR:tP,bidiS1RTL:iP,bidiS2:nP,bidiS3:rP,bidiS4EN:aP,bidiS4AN:sP,bidiS5:oP,bidiS6:uP}});var q7=D((mce,pP)=>{pP.exports=[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped","a"],[[66,66],"mapped","b"],[[67,67],"mapped","c"],[[68,68],"mapped","d"],[[69,69],"mapped","e"],[[70,70],"mapped","f"],[[71,71],"mapped","g"],[[72,72],"mapped","h"],[[73,73],"mapped","i"],[[74,74],"mapped","j"],[[75,75],"mapped","k"],[[76,76],"mapped","l"],[[77,77],"mapped","m"],[[78,78],"mapped","n"],[[79,79],"mapped","o"],[[80,80],"mapped","p"],[[81,81],"mapped","q"],[[82,82],"mapped","r"],[[83,83],"mapped","s"],[[84,84],"mapped","t"],[[85,85],"mapped","u"],[[86,86],"mapped","v"],[[87,87],"mapped","w"],[[88,88],"mapped","x"],[[89,89],"mapped","y"],[[90,90],"mapped","z"],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped"," "],[[161,167],"valid","","NV8"],[[168,168],"disallowed_STD3_mapped"," \u0308"],[[169,169],"valid","","NV8"],[[170,170],"mapped","a"],[[171,172],"valid","","NV8"],[[173,173],"ignored"],[[174,174],"valid","","NV8"],[[175,175],"disallowed_STD3_mapped"," \u0304"],[[176,177],"valid","","NV8"],[[178,178],"mapped","2"],[[179,179],"mapped","3"],[[180,180],"disallowed_STD3_mapped"," \u0301"],[[181,181],"mapped","\u03BC"],[[182,182],"valid","","NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped"," \u0327"],[[185,185],"mapped","1"],[[186,186],"mapped","o"],[[187,187],"valid","","NV8"],[[188,188],"mapped","1\u20444"],[[189,189],"mapped","1\u20442"],[[190,190],"mapped","3\u20444"],[[191,191],"valid","","NV8"],[[192,192],"mapped","\xE0"],[[193,193],"mapped","\xE1"],[[194,194],"mapped","\xE2"],[[195,195],"mapped","\xE3"],[[196,196],"mapped","\xE4"],[[197,197],"mapped","\xE5"],[[198,198],"mapped","\xE6"],[[199,199],"mapped","\xE7"],[[200,200],"mapped","\xE8"],[[201,201],"mapped","\xE9"],[[202,202],"mapped","\xEA"],[[203,203],"mapped","\xEB"],[[204,204],"mapped","\xEC"],[[205,205],"mapped","\xED"],[[206,206],"mapped","\xEE"],[[207,207],"mapped","\xEF"],[[208,208],"mapped","\xF0"],[[209,209],"mapped","\xF1"],[[210,210],"mapped","\xF2"],[[211,211],"mapped","\xF3"],[[212,212],"mapped","\xF4"],[[213,213],"mapped","\xF5"],[[214,214],"mapped","\xF6"],[[215,215],"valid","","NV8"],[[216,216],"mapped","\xF8"],[[217,217],"mapped","\xF9"],[[218,218],"mapped","\xFA"],[[219,219],"mapped","\xFB"],[[220,220],"mapped","\xFC"],[[221,221],"mapped","\xFD"],[[222,222],"mapped","\xFE"],[[223,223],"deviation","ss"],[[224,246],"valid"],[[247,247],"valid","","NV8"],[[248,255],"valid"],[[256,256],"mapped","\u0101"],[[257,257],"valid"],[[258,258],"mapped","\u0103"],[[259,259],"valid"],[[260,260],"mapped","\u0105"],[[261,261],"valid"],[[262,262],"mapped","\u0107"],[[263,263],"valid"],[[264,264],"mapped","\u0109"],[[265,265],"valid"],[[266,266],"mapped","\u010B"],[[267,267],"valid"],[[268,268],"mapped","\u010D"],[[269,269],"valid"],[[270,270],"mapped","\u010F"],[[271,271],"valid"],[[272,272],"mapped","\u0111"],[[273,273],"valid"],[[274,274],"mapped","\u0113"],[[275,275],"valid"],[[276,276],"mapped","\u0115"],[[277,277],"valid"],[[278,278],"mapped","\u0117"],[[279,279],"valid"],[[280,280],"mapped","\u0119"],[[281,281],"valid"],[[282,282],"mapped","\u011B"],[[283,283],"valid"],[[284,284],"mapped","\u011D"],[[285,285],"valid"],[[286,286],"mapped","\u011F"],[[287,287],"valid"],[[288,288],"mapped","\u0121"],[[289,289],"valid"],[[290,290],"mapped","\u0123"],[[291,291],"valid"],[[292,292],"mapped","\u0125"],[[293,293],"valid"],[[294,294],"mapped","\u0127"],[[295,295],"valid"],[[296,296],"mapped","\u0129"],[[297,297],"valid"],[[298,298],"mapped","\u012B"],[[299,299],"valid"],[[300,300],"mapped","\u012D"],[[301,301],"valid"],[[302,302],"mapped","\u012F"],[[303,303],"valid"],[[304,304],"mapped","i\u0307"],[[305,305],"valid"],[[306,307],"mapped","ij"],[[308,308],"mapped","\u0135"],[[309,309],"valid"],[[310,310],"mapped","\u0137"],[[311,312],"valid"],[[313,313],"mapped","\u013A"],[[314,314],"valid"],[[315,315],"mapped","\u013C"],[[316,316],"valid"],[[317,317],"mapped","\u013E"],[[318,318],"valid"],[[319,320],"mapped","l\xB7"],[[321,321],"mapped","\u0142"],[[322,322],"valid"],[[323,323],"mapped","\u0144"],[[324,324],"valid"],[[325,325],"mapped","\u0146"],[[326,326],"valid"],[[327,327],"mapped","\u0148"],[[328,328],"valid"],[[329,329],"mapped","\u02BCn"],[[330,330],"mapped","\u014B"],[[331,331],"valid"],[[332,332],"mapped","\u014D"],[[333,333],"valid"],[[334,334],"mapped","\u014F"],[[335,335],"valid"],[[336,336],"mapped","\u0151"],[[337,337],"valid"],[[338,338],"mapped","\u0153"],[[339,339],"valid"],[[340,340],"mapped","\u0155"],[[341,341],"valid"],[[342,342],"mapped","\u0157"],[[343,343],"valid"],[[344,344],"mapped","\u0159"],[[345,345],"valid"],[[346,346],"mapped","\u015B"],[[347,347],"valid"],[[348,348],"mapped","\u015D"],[[349,349],"valid"],[[350,350],"mapped","\u015F"],[[351,351],"valid"],[[352,352],"mapped","\u0161"],[[353,353],"valid"],[[354,354],"mapped","\u0163"],[[355,355],"valid"],[[356,356],"mapped","\u0165"],[[357,357],"valid"],[[358,358],"mapped","\u0167"],[[359,359],"valid"],[[360,360],"mapped","\u0169"],[[361,361],"valid"],[[362,362],"mapped","\u016B"],[[363,363],"valid"],[[364,364],"mapped","\u016D"],[[365,365],"valid"],[[366,366],"mapped","\u016F"],[[367,367],"valid"],[[368,368],"mapped","\u0171"],[[369,369],"valid"],[[370,370],"mapped","\u0173"],[[371,371],"valid"],[[372,372],"mapped","\u0175"],[[373,373],"valid"],[[374,374],"mapped","\u0177"],[[375,375],"valid"],[[376,376],"mapped","\xFF"],[[377,377],"mapped","\u017A"],[[378,378],"valid"],[[379,379],"mapped","\u017C"],[[380,380],"valid"],[[381,381],"mapped","\u017E"],[[382,382],"valid"],[[383,383],"mapped","s"],[[384,384],"valid"],[[385,385],"mapped","\u0253"],[[386,386],"mapped","\u0183"],[[387,387],"valid"],[[388,388],"mapped","\u0185"],[[389,389],"valid"],[[390,390],"mapped","\u0254"],[[391,391],"mapped","\u0188"],[[392,392],"valid"],[[393,393],"mapped","\u0256"],[[394,394],"mapped","\u0257"],[[395,395],"mapped","\u018C"],[[396,397],"valid"],[[398,398],"mapped","\u01DD"],[[399,399],"mapped","\u0259"],[[400,400],"mapped","\u025B"],[[401,401],"mapped","\u0192"],[[402,402],"valid"],[[403,403],"mapped","\u0260"],[[404,404],"mapped","\u0263"],[[405,405],"valid"],[[406,406],"mapped","\u0269"],[[407,407],"mapped","\u0268"],[[408,408],"mapped","\u0199"],[[409,411],"valid"],[[412,412],"mapped","\u026F"],[[413,413],"mapped","\u0272"],[[414,414],"valid"],[[415,415],"mapped","\u0275"],[[416,416],"mapped","\u01A1"],[[417,417],"valid"],[[418,418],"mapped","\u01A3"],[[419,419],"valid"],[[420,420],"mapped","\u01A5"],[[421,421],"valid"],[[422,422],"mapped","\u0280"],[[423,423],"mapped","\u01A8"],[[424,424],"valid"],[[425,425],"mapped","\u0283"],[[426,427],"valid"],[[428,428],"mapped","\u01AD"],[[429,429],"valid"],[[430,430],"mapped","\u0288"],[[431,431],"mapped","\u01B0"],[[432,432],"valid"],[[433,433],"mapped","\u028A"],[[434,434],"mapped","\u028B"],[[435,435],"mapped","\u01B4"],[[436,436],"valid"],[[437,437],"mapped","\u01B6"],[[438,438],"valid"],[[439,439],"mapped","\u0292"],[[440,440],"mapped","\u01B9"],[[441,443],"valid"],[[444,444],"mapped","\u01BD"],[[445,451],"valid"],[[452,454],"mapped","d\u017E"],[[455,457],"mapped","lj"],[[458,460],"mapped","nj"],[[461,461],"mapped","\u01CE"],[[462,462],"valid"],[[463,463],"mapped","\u01D0"],[[464,464],"valid"],[[465,465],"mapped","\u01D2"],[[466,466],"valid"],[[467,467],"mapped","\u01D4"],[[468,468],"valid"],[[469,469],"mapped","\u01D6"],[[470,470],"valid"],[[471,471],"mapped","\u01D8"],[[472,472],"valid"],[[473,473],"mapped","\u01DA"],[[474,474],"valid"],[[475,475],"mapped","\u01DC"],[[476,477],"valid"],[[478,478],"mapped","\u01DF"],[[479,479],"valid"],[[480,480],"mapped","\u01E1"],[[481,481],"valid"],[[482,482],"mapped","\u01E3"],[[483,483],"valid"],[[484,484],"mapped","\u01E5"],[[485,485],"valid"],[[486,486],"mapped","\u01E7"],[[487,487],"valid"],[[488,488],"mapped","\u01E9"],[[489,489],"valid"],[[490,490],"mapped","\u01EB"],[[491,491],"valid"],[[492,492],"mapped","\u01ED"],[[493,493],"valid"],[[494,494],"mapped","\u01EF"],[[495,496],"valid"],[[497,499],"mapped","dz"],[[500,500],"mapped","\u01F5"],[[501,501],"valid"],[[502,502],"mapped","\u0195"],[[503,503],"mapped","\u01BF"],[[504,504],"mapped","\u01F9"],[[505,505],"valid"],[[506,506],"mapped","\u01FB"],[[507,507],"valid"],[[508,508],"mapped","\u01FD"],[[509,509],"valid"],[[510,510],"mapped","\u01FF"],[[511,511],"valid"],[[512,512],"mapped","\u0201"],[[513,513],"valid"],[[514,514],"mapped","\u0203"],[[515,515],"valid"],[[516,516],"mapped","\u0205"],[[517,517],"valid"],[[518,518],"mapped","\u0207"],[[519,519],"valid"],[[520,520],"mapped","\u0209"],[[521,521],"valid"],[[522,522],"mapped","\u020B"],[[523,523],"valid"],[[524,524],"mapped","\u020D"],[[525,525],"valid"],[[526,526],"mapped","\u020F"],[[527,527],"valid"],[[528,528],"mapped","\u0211"],[[529,529],"valid"],[[530,530],"mapped","\u0213"],[[531,531],"valid"],[[532,532],"mapped","\u0215"],[[533,533],"valid"],[[534,534],"mapped","\u0217"],[[535,535],"valid"],[[536,536],"mapped","\u0219"],[[537,537],"valid"],[[538,538],"mapped","\u021B"],[[539,539],"valid"],[[540,540],"mapped","\u021D"],[[541,541],"valid"],[[542,542],"mapped","\u021F"],[[543,543],"valid"],[[544,544],"mapped","\u019E"],[[545,545],"valid"],[[546,546],"mapped","\u0223"],[[547,547],"valid"],[[548,548],"mapped","\u0225"],[[549,549],"valid"],[[550,550],"mapped","\u0227"],[[551,551],"valid"],[[552,552],"mapped","\u0229"],[[553,553],"valid"],[[554,554],"mapped","\u022B"],[[555,555],"valid"],[[556,556],"mapped","\u022D"],[[557,557],"valid"],[[558,558],"mapped","\u022F"],[[559,559],"valid"],[[560,560],"mapped","\u0231"],[[561,561],"valid"],[[562,562],"mapped","\u0233"],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped","\u2C65"],[[571,571],"mapped","\u023C"],[[572,572],"valid"],[[573,573],"mapped","\u019A"],[[574,574],"mapped","\u2C66"],[[575,576],"valid"],[[577,577],"mapped","\u0242"],[[578,578],"valid"],[[579,579],"mapped","\u0180"],[[580,580],"mapped","\u0289"],[[581,581],"mapped","\u028C"],[[582,582],"mapped","\u0247"],[[583,583],"valid"],[[584,584],"mapped","\u0249"],[[585,585],"valid"],[[586,586],"mapped","\u024B"],[[587,587],"valid"],[[588,588],"mapped","\u024D"],[[589,589],"valid"],[[590,590],"mapped","\u024F"],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped","h"],[[689,689],"mapped","\u0266"],[[690,690],"mapped","j"],[[691,691],"mapped","r"],[[692,692],"mapped","\u0279"],[[693,693],"mapped","\u027B"],[[694,694],"mapped","\u0281"],[[695,695],"mapped","w"],[[696,696],"mapped","y"],[[697,705],"valid"],[[706,709],"valid","","NV8"],[[710,721],"valid"],[[722,727],"valid","","NV8"],[[728,728],"disallowed_STD3_mapped"," \u0306"],[[729,729],"disallowed_STD3_mapped"," \u0307"],[[730,730],"disallowed_STD3_mapped"," \u030A"],[[731,731],"disallowed_STD3_mapped"," \u0328"],[[732,732],"disallowed_STD3_mapped"," \u0303"],[[733,733],"disallowed_STD3_mapped"," \u030B"],[[734,734],"valid","","NV8"],[[735,735],"valid","","NV8"],[[736,736],"mapped","\u0263"],[[737,737],"mapped","l"],[[738,738],"mapped","s"],[[739,739],"mapped","x"],[[740,740],"mapped","\u0295"],[[741,745],"valid","","NV8"],[[746,747],"valid","","NV8"],[[748,748],"valid"],[[749,749],"valid","","NV8"],[[750,750],"valid"],[[751,767],"valid","","NV8"],[[768,831],"valid"],[[832,832],"mapped","\u0300"],[[833,833],"mapped","\u0301"],[[834,834],"valid"],[[835,835],"mapped","\u0313"],[[836,836],"mapped","\u0308\u0301"],[[837,837],"mapped","\u03B9"],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped","\u0371"],[[881,881],"valid"],[[882,882],"mapped","\u0373"],[[883,883],"valid"],[[884,884],"mapped","\u02B9"],[[885,885],"valid"],[[886,886],"mapped","\u0377"],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped"," \u03B9"],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",";"],[[895,895],"mapped","\u03F3"],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped"," \u0301"],[[901,901],"disallowed_STD3_mapped"," \u0308\u0301"],[[902,902],"mapped","\u03AC"],[[903,903],"mapped","\xB7"],[[904,904],"mapped","\u03AD"],[[905,905],"mapped","\u03AE"],[[906,906],"mapped","\u03AF"],[[907,907],"disallowed"],[[908,908],"mapped","\u03CC"],[[909,909],"disallowed"],[[910,910],"mapped","\u03CD"],[[911,911],"mapped","\u03CE"],[[912,912],"valid"],[[913,913],"mapped","\u03B1"],[[914,914],"mapped","\u03B2"],[[915,915],"mapped","\u03B3"],[[916,916],"mapped","\u03B4"],[[917,917],"mapped","\u03B5"],[[918,918],"mapped","\u03B6"],[[919,919],"mapped","\u03B7"],[[920,920],"mapped","\u03B8"],[[921,921],"mapped","\u03B9"],[[922,922],"mapped","\u03BA"],[[923,923],"mapped","\u03BB"],[[924,924],"mapped","\u03BC"],[[925,925],"mapped","\u03BD"],[[926,926],"mapped","\u03BE"],[[927,927],"mapped","\u03BF"],[[928,928],"mapped","\u03C0"],[[929,929],"mapped","\u03C1"],[[930,930],"disallowed"],[[931,931],"mapped","\u03C3"],[[932,932],"mapped","\u03C4"],[[933,933],"mapped","\u03C5"],[[934,934],"mapped","\u03C6"],[[935,935],"mapped","\u03C7"],[[936,936],"mapped","\u03C8"],[[937,937],"mapped","\u03C9"],[[938,938],"mapped","\u03CA"],[[939,939],"mapped","\u03CB"],[[940,961],"valid"],[[962,962],"deviation","\u03C3"],[[963,974],"valid"],[[975,975],"mapped","\u03D7"],[[976,976],"mapped","\u03B2"],[[977,977],"mapped","\u03B8"],[[978,978],"mapped","\u03C5"],[[979,979],"mapped","\u03CD"],[[980,980],"mapped","\u03CB"],[[981,981],"mapped","\u03C6"],[[982,982],"mapped","\u03C0"],[[983,983],"valid"],[[984,984],"mapped","\u03D9"],[[985,985],"valid"],[[986,986],"mapped","\u03DB"],[[987,987],"valid"],[[988,988],"mapped","\u03DD"],[[989,989],"valid"],[[990,990],"mapped","\u03DF"],[[991,991],"valid"],[[992,992],"mapped","\u03E1"],[[993,993],"valid"],[[994,994],"mapped","\u03E3"],[[995,995],"valid"],[[996,996],"mapped","\u03E5"],[[997,997],"valid"],[[998,998],"mapped","\u03E7"],[[999,999],"valid"],[[1e3,1e3],"mapped","\u03E9"],[[1001,1001],"valid"],[[1002,1002],"mapped","\u03EB"],[[1003,1003],"valid"],[[1004,1004],"mapped","\u03ED"],[[1005,1005],"valid"],[[1006,1006],"mapped","\u03EF"],[[1007,1007],"valid"],[[1008,1008],"mapped","\u03BA"],[[1009,1009],"mapped","\u03C1"],[[1010,1010],"mapped","\u03C3"],[[1011,1011],"valid"],[[1012,1012],"mapped","\u03B8"],[[1013,1013],"mapped","\u03B5"],[[1014,1014],"valid","","NV8"],[[1015,1015],"mapped","\u03F8"],[[1016,1016],"valid"],[[1017,1017],"mapped","\u03C3"],[[1018,1018],"mapped","\u03FB"],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped","\u037B"],[[1022,1022],"mapped","\u037C"],[[1023,1023],"mapped","\u037D"],[[1024,1024],"mapped","\u0450"],[[1025,1025],"mapped","\u0451"],[[1026,1026],"mapped","\u0452"],[[1027,1027],"mapped","\u0453"],[[1028,1028],"mapped","\u0454"],[[1029,1029],"mapped","\u0455"],[[1030,1030],"mapped","\u0456"],[[1031,1031],"mapped","\u0457"],[[1032,1032],"mapped","\u0458"],[[1033,1033],"mapped","\u0459"],[[1034,1034],"mapped","\u045A"],[[1035,1035],"mapped","\u045B"],[[1036,1036],"mapped","\u045C"],[[1037,1037],"mapped","\u045D"],[[1038,1038],"mapped","\u045E"],[[1039,1039],"mapped","\u045F"],[[1040,1040],"mapped","\u0430"],[[1041,1041],"mapped","\u0431"],[[1042,1042],"mapped","\u0432"],[[1043,1043],"mapped","\u0433"],[[1044,1044],"mapped","\u0434"],[[1045,1045],"mapped","\u0435"],[[1046,1046],"mapped","\u0436"],[[1047,1047],"mapped","\u0437"],[[1048,1048],"mapped","\u0438"],[[1049,1049],"mapped","\u0439"],[[1050,1050],"mapped","\u043A"],[[1051,1051],"mapped","\u043B"],[[1052,1052],"mapped","\u043C"],[[1053,1053],"mapped","\u043D"],[[1054,1054],"mapped","\u043E"],[[1055,1055],"mapped","\u043F"],[[1056,1056],"mapped","\u0440"],[[1057,1057],"mapped","\u0441"],[[1058,1058],"mapped","\u0442"],[[1059,1059],"mapped","\u0443"],[[1060,1060],"mapped","\u0444"],[[1061,1061],"mapped","\u0445"],[[1062,1062],"mapped","\u0446"],[[1063,1063],"mapped","\u0447"],[[1064,1064],"mapped","\u0448"],[[1065,1065],"mapped","\u0449"],[[1066,1066],"mapped","\u044A"],[[1067,1067],"mapped","\u044B"],[[1068,1068],"mapped","\u044C"],[[1069,1069],"mapped","\u044D"],[[1070,1070],"mapped","\u044E"],[[1071,1071],"mapped","\u044F"],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped","\u0461"],[[1121,1121],"valid"],[[1122,1122],"mapped","\u0463"],[[1123,1123],"valid"],[[1124,1124],"mapped","\u0465"],[[1125,1125],"valid"],[[1126,1126],"mapped","\u0467"],[[1127,1127],"valid"],[[1128,1128],"mapped","\u0469"],[[1129,1129],"valid"],[[1130,1130],"mapped","\u046B"],[[1131,1131],"valid"],[[1132,1132],"mapped","\u046D"],[[1133,1133],"valid"],[[1134,1134],"mapped","\u046F"],[[1135,1135],"valid"],[[1136,1136],"mapped","\u0471"],[[1137,1137],"valid"],[[1138,1138],"mapped","\u0473"],[[1139,1139],"valid"],[[1140,1140],"mapped","\u0475"],[[1141,1141],"valid"],[[1142,1142],"mapped","\u0477"],[[1143,1143],"valid"],[[1144,1144],"mapped","\u0479"],[[1145,1145],"valid"],[[1146,1146],"mapped","\u047B"],[[1147,1147],"valid"],[[1148,1148],"mapped","\u047D"],[[1149,1149],"valid"],[[1150,1150],"mapped","\u047F"],[[1151,1151],"valid"],[[1152,1152],"mapped","\u0481"],[[1153,1153],"valid"],[[1154,1154],"valid","","NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid","","NV8"],[[1162,1162],"mapped","\u048B"],[[1163,1163],"valid"],[[1164,1164],"mapped","\u048D"],[[1165,1165],"valid"],[[1166,1166],"mapped","\u048F"],[[1167,1167],"valid"],[[1168,1168],"mapped","\u0491"],[[1169,1169],"valid"],[[1170,1170],"mapped","\u0493"],[[1171,1171],"valid"],[[1172,1172],"mapped","\u0495"],[[1173,1173],"valid"],[[1174,1174],"mapped","\u0497"],[[1175,1175],"valid"],[[1176,1176],"mapped","\u0499"],[[1177,1177],"valid"],[[1178,1178],"mapped","\u049B"],[[1179,1179],"valid"],[[1180,1180],"mapped","\u049D"],[[1181,1181],"valid"],[[1182,1182],"mapped","\u049F"],[[1183,1183],"valid"],[[1184,1184],"mapped","\u04A1"],[[1185,1185],"valid"],[[1186,1186],"mapped","\u04A3"],[[1187,1187],"valid"],[[1188,1188],"mapped","\u04A5"],[[1189,1189],"valid"],[[1190,1190],"mapped","\u04A7"],[[1191,1191],"valid"],[[1192,1192],"mapped","\u04A9"],[[1193,1193],"valid"],[[1194,1194],"mapped","\u04AB"],[[1195,1195],"valid"],[[1196,1196],"mapped","\u04AD"],[[1197,1197],"valid"],[[1198,1198],"mapped","\u04AF"],[[1199,1199],"valid"],[[1200,1200],"mapped","\u04B1"],[[1201,1201],"valid"],[[1202,1202],"mapped","\u04B3"],[[1203,1203],"valid"],[[1204,1204],"mapped","\u04B5"],[[1205,1205],"valid"],[[1206,1206],"mapped","\u04B7"],[[1207,1207],"valid"],[[1208,1208],"mapped","\u04B9"],[[1209,1209],"valid"],[[1210,1210],"mapped","\u04BB"],[[1211,1211],"valid"],[[1212,1212],"mapped","\u04BD"],[[1213,1213],"valid"],[[1214,1214],"mapped","\u04BF"],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped","\u04C2"],[[1218,1218],"valid"],[[1219,1219],"mapped","\u04C4"],[[1220,1220],"valid"],[[1221,1221],"mapped","\u04C6"],[[1222,1222],"valid"],[[1223,1223],"mapped","\u04C8"],[[1224,1224],"valid"],[[1225,1225],"mapped","\u04CA"],[[1226,1226],"valid"],[[1227,1227],"mapped","\u04CC"],[[1228,1228],"valid"],[[1229,1229],"mapped","\u04CE"],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped","\u04D1"],[[1233,1233],"valid"],[[1234,1234],"mapped","\u04D3"],[[1235,1235],"valid"],[[1236,1236],"mapped","\u04D5"],[[1237,1237],"valid"],[[1238,1238],"mapped","\u04D7"],[[1239,1239],"valid"],[[1240,1240],"mapped","\u04D9"],[[1241,1241],"valid"],[[1242,1242],"mapped","\u04DB"],[[1243,1243],"valid"],[[1244,1244],"mapped","\u04DD"],[[1245,1245],"valid"],[[1246,1246],"mapped","\u04DF"],[[1247,1247],"valid"],[[1248,1248],"mapped","\u04E1"],[[1249,1249],"valid"],[[1250,1250],"mapped","\u04E3"],[[1251,1251],"valid"],[[1252,1252],"mapped","\u04E5"],[[1253,1253],"valid"],[[1254,1254],"mapped","\u04E7"],[[1255,1255],"valid"],[[1256,1256],"mapped","\u04E9"],[[1257,1257],"valid"],[[1258,1258],"mapped","\u04EB"],[[1259,1259],"valid"],[[1260,1260],"mapped","\u04ED"],[[1261,1261],"valid"],[[1262,1262],"mapped","\u04EF"],[[1263,1263],"valid"],[[1264,1264],"mapped","\u04F1"],[[1265,1265],"valid"],[[1266,1266],"mapped","\u04F3"],[[1267,1267],"valid"],[[1268,1268],"mapped","\u04F5"],[[1269,1269],"valid"],[[1270,1270],"mapped","\u04F7"],[[1271,1271],"valid"],[[1272,1272],"mapped","\u04F9"],[[1273,1273],"valid"],[[1274,1274],"mapped","\u04FB"],[[1275,1275],"valid"],[[1276,1276],"mapped","\u04FD"],[[1277,1277],"valid"],[[1278,1278],"mapped","\u04FF"],[[1279,1279],"valid"],[[1280,1280],"mapped","\u0501"],[[1281,1281],"valid"],[[1282,1282],"mapped","\u0503"],[[1283,1283],"valid"],[[1284,1284],"mapped","\u0505"],[[1285,1285],"valid"],[[1286,1286],"mapped","\u0507"],[[1287,1287],"valid"],[[1288,1288],"mapped","\u0509"],[[1289,1289],"valid"],[[1290,1290],"mapped","\u050B"],[[1291,1291],"valid"],[[1292,1292],"mapped","\u050D"],[[1293,1293],"valid"],[[1294,1294],"mapped","\u050F"],[[1295,1295],"valid"],[[1296,1296],"mapped","\u0511"],[[1297,1297],"valid"],[[1298,1298],"mapped","\u0513"],[[1299,1299],"valid"],[[1300,1300],"mapped","\u0515"],[[1301,1301],"valid"],[[1302,1302],"mapped","\u0517"],[[1303,1303],"valid"],[[1304,1304],"mapped","\u0519"],[[1305,1305],"valid"],[[1306,1306],"mapped","\u051B"],[[1307,1307],"valid"],[[1308,1308],"mapped","\u051D"],[[1309,1309],"valid"],[[1310,1310],"mapped","\u051F"],[[1311,1311],"valid"],[[1312,1312],"mapped","\u0521"],[[1313,1313],"valid"],[[1314,1314],"mapped","\u0523"],[[1315,1315],"valid"],[[1316,1316],"mapped","\u0525"],[[1317,1317],"valid"],[[1318,1318],"mapped","\u0527"],[[1319,1319],"valid"],[[1320,1320],"mapped","\u0529"],[[1321,1321],"valid"],[[1322,1322],"mapped","\u052B"],[[1323,1323],"valid"],[[1324,1324],"mapped","\u052D"],[[1325,1325],"valid"],[[1326,1326],"mapped","\u052F"],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped","\u0561"],[[1330,1330],"mapped","\u0562"],[[1331,1331],"mapped","\u0563"],[[1332,1332],"mapped","\u0564"],[[1333,1333],"mapped","\u0565"],[[1334,1334],"mapped","\u0566"],[[1335,1335],"mapped","\u0567"],[[1336,1336],"mapped","\u0568"],[[1337,1337],"mapped","\u0569"],[[1338,1338],"mapped","\u056A"],[[1339,1339],"mapped","\u056B"],[[1340,1340],"mapped","\u056C"],[[1341,1341],"mapped","\u056D"],[[1342,1342],"mapped","\u056E"],[[1343,1343],"mapped","\u056F"],[[1344,1344],"mapped","\u0570"],[[1345,1345],"mapped","\u0571"],[[1346,1346],"mapped","\u0572"],[[1347,1347],"mapped","\u0573"],[[1348,1348],"mapped","\u0574"],[[1349,1349],"mapped","\u0575"],[[1350,1350],"mapped","\u0576"],[[1351,1351],"mapped","\u0577"],[[1352,1352],"mapped","\u0578"],[[1353,1353],"mapped","\u0579"],[[1354,1354],"mapped","\u057A"],[[1355,1355],"mapped","\u057B"],[[1356,1356],"mapped","\u057C"],[[1357,1357],"mapped","\u057D"],[[1358,1358],"mapped","\u057E"],[[1359,1359],"mapped","\u057F"],[[1360,1360],"mapped","\u0580"],[[1361,1361],"mapped","\u0581"],[[1362,1362],"mapped","\u0582"],[[1363,1363],"mapped","\u0583"],[[1364,1364],"mapped","\u0584"],[[1365,1365],"mapped","\u0585"],[[1366,1366],"mapped","\u0586"],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid","","NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped","\u0565\u0582"],[[1416,1416],"disallowed"],[[1417,1417],"valid","","NV8"],[[1418,1418],"valid","","NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid","","NV8"],[[1423,1423],"valid","","NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid","","NV8"],[[1471,1471],"valid"],[[1472,1472],"valid","","NV8"],[[1473,1474],"valid"],[[1475,1475],"valid","","NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid","","NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid","","NV8"],[[1547,1547],"valid","","NV8"],[[1548,1548],"valid","","NV8"],[[1549,1551],"valid","","NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid","","NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid","","NV8"],[[1567,1567],"valid","","NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid","","NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid","","NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped","\u0627\u0674"],[[1654,1654],"mapped","\u0648\u0674"],[[1655,1655],"mapped","\u06C7\u0674"],[[1656,1656],"mapped","\u064A\u0674"],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid","","NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid","","NV8"],[[1759,1768],"valid"],[[1769,1769],"valid","","NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid","","NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid","","NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid","","NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid","","NV8"],[[2143,2143],"disallowed"],[[2144,2154],"valid"],[[2155,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2229],"disallowed"],[[2230,2237],"valid"],[[2238,2259],"disallowed"],[[2260,2273],"valid"],[[2274,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped","\u0915\u093C"],[[2393,2393],"mapped","\u0916\u093C"],[[2394,2394],"mapped","\u0917\u093C"],[[2395,2395],"mapped","\u091C\u093C"],[[2396,2396],"mapped","\u0921\u093C"],[[2397,2397],"mapped","\u0922\u093C"],[[2398,2398],"mapped","\u092B\u093C"],[[2399,2399],"mapped","\u092F\u093C"],[[2400,2403],"valid"],[[2404,2405],"valid","","NV8"],[[2406,2415],"valid"],[[2416,2416],"valid","","NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped","\u09A1\u09BC"],[[2525,2525],"mapped","\u09A2\u09BC"],[[2526,2526],"disallowed"],[[2527,2527],"mapped","\u09AF\u09BC"],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid","","NV8"],[[2555,2555],"valid","","NV8"],[[2556,2556],"valid"],[[2557,2557],"valid","","NV8"],[[2558,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped","\u0A32\u0A3C"],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped","\u0A38\u0A3C"],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped","\u0A16\u0A3C"],[[2650,2650],"mapped","\u0A17\u0A3C"],[[2651,2651],"mapped","\u0A1C\u0A3C"],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped","\u0A2B\u0A3C"],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid","","NV8"],[[2801,2801],"valid","","NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2815],"valid"],[[2816,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped","\u0B21\u0B3C"],[[2909,2909],"mapped","\u0B22\u0B3C"],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid","","NV8"],[[2929,2929],"valid"],[[2930,2935],"valid","","NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid","","NV8"],[[3059,3066],"valid","","NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid","","NV8"],[[3200,3200],"valid"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3327],"disallowed"],[[3328,3328],"valid"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"valid"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3407],"valid","","NV8"],[[3408,3411],"disallowed"],[[3412,3414],"valid"],[[3415,3415],"valid"],[[3416,3422],"valid","","NV8"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid","","NV8"],[[3446,3448],"valid","","NV8"],[[3449,3449],"valid","","NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid","","NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped","\u0E4D\u0E32"],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid","","NV8"],[[3648,3662],"valid"],[[3663,3663],"valid","","NV8"],[[3664,3673],"valid"],[[3674,3675],"valid","","NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped","\u0ECD\u0EB2"],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped","\u0EAB\u0E99"],[[3805,3805],"mapped","\u0EAB\u0EA1"],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid","","NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped","\u0F0B"],[[3853,3863],"valid","","NV8"],[[3864,3865],"valid"],[[3866,3871],"valid","","NV8"],[[3872,3881],"valid"],[[3882,3892],"valid","","NV8"],[[3893,3893],"valid"],[[3894,3894],"valid","","NV8"],[[3895,3895],"valid"],[[3896,3896],"valid","","NV8"],[[3897,3897],"valid"],[[3898,3901],"valid","","NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped","\u0F42\u0FB7"],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped","\u0F4C\u0FB7"],[[3918,3921],"valid"],[[3922,3922],"mapped","\u0F51\u0FB7"],[[3923,3926],"valid"],[[3927,3927],"mapped","\u0F56\u0FB7"],[[3928,3931],"valid"],[[3932,3932],"mapped","\u0F5B\u0FB7"],[[3933,3944],"valid"],[[3945,3945],"mapped","\u0F40\u0FB5"],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped","\u0F71\u0F72"],[[3956,3956],"valid"],[[3957,3957],"mapped","\u0F71\u0F74"],[[3958,3958],"mapped","\u0FB2\u0F80"],[[3959,3959],"mapped","\u0FB2\u0F71\u0F80"],[[3960,3960],"mapped","\u0FB3\u0F80"],[[3961,3961],"mapped","\u0FB3\u0F71\u0F80"],[[3962,3968],"valid"],[[3969,3969],"mapped","\u0F71\u0F80"],[[3970,3972],"valid"],[[3973,3973],"valid","","NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped","\u0F92\u0FB7"],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped","\u0F9C\u0FB7"],[[3998,4001],"valid"],[[4002,4002],"mapped","\u0FA1\u0FB7"],[[4003,4006],"valid"],[[4007,4007],"mapped","\u0FA6\u0FB7"],[[4008,4011],"valid"],[[4012,4012],"mapped","\u0FAB\u0FB7"],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped","\u0F90\u0FB5"],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid","","NV8"],[[4038,4038],"valid"],[[4039,4044],"valid","","NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid","","NV8"],[[4047,4047],"valid","","NV8"],[[4048,4049],"valid","","NV8"],[[4050,4052],"valid","","NV8"],[[4053,4056],"valid","","NV8"],[[4057,4058],"valid","","NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid","","NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid","","NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped","\u2D27"],[[4296,4300],"disallowed"],[[4301,4301],"mapped","\u2D2D"],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid","","NV8"],[[4348,4348],"mapped","\u10DC"],[[4349,4351],"valid"],[[4352,4441],"valid","","NV8"],[[4442,4446],"valid","","NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid","","NV8"],[[4515,4519],"valid","","NV8"],[[4520,4601],"valid","","NV8"],[[4602,4607],"valid","","NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid","","NV8"],[[4961,4988],"valid","","NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid","","NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped","\u13F0"],[[5113,5113],"mapped","\u13F1"],[[5114,5114],"mapped","\u13F2"],[[5115,5115],"mapped","\u13F3"],[[5116,5116],"mapped","\u13F4"],[[5117,5117],"mapped","\u13F5"],[[5118,5119],"disallowed"],[[5120,5120],"valid","","NV8"],[[5121,5740],"valid"],[[5741,5742],"valid","","NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid","","NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid","","NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid","","NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6e3],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid","","NV8"],[[6103,6103],"valid"],[[6104,6107],"valid","","NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid","","NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid","","NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid","","NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid","","NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid","","NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid","","XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid","","NV8"],[[6624,6655],"valid","","NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid","","NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid","","NV8"],[[6823,6823],"valid"],[[6824,6829],"valid","","NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid","","NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid","","NV8"],[[7019,7027],"valid"],[[7028,7036],"valid","","NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid","","NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid","","NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid","","NV8"],[[7296,7296],"mapped","\u0432"],[[7297,7297],"mapped","\u0434"],[[7298,7298],"mapped","\u043E"],[[7299,7299],"mapped","\u0441"],[[7300,7301],"mapped","\u0442"],[[7302,7302],"mapped","\u044A"],[[7303,7303],"mapped","\u0463"],[[7304,7304],"mapped","\uA64B"],[[7305,7359],"disallowed"],[[7360,7367],"valid","","NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid","","NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"valid"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped","a"],[[7469,7469],"mapped","\xE6"],[[7470,7470],"mapped","b"],[[7471,7471],"valid"],[[7472,7472],"mapped","d"],[[7473,7473],"mapped","e"],[[7474,7474],"mapped","\u01DD"],[[7475,7475],"mapped","g"],[[7476,7476],"mapped","h"],[[7477,7477],"mapped","i"],[[7478,7478],"mapped","j"],[[7479,7479],"mapped","k"],[[7480,7480],"mapped","l"],[[7481,7481],"mapped","m"],[[7482,7482],"mapped","n"],[[7483,7483],"valid"],[[7484,7484],"mapped","o"],[[7485,7485],"mapped","\u0223"],[[7486,7486],"mapped","p"],[[7487,7487],"mapped","r"],[[7488,7488],"mapped","t"],[[7489,7489],"mapped","u"],[[7490,7490],"mapped","w"],[[7491,7491],"mapped","a"],[[7492,7492],"mapped","\u0250"],[[7493,7493],"mapped","\u0251"],[[7494,7494],"mapped","\u1D02"],[[7495,7495],"mapped","b"],[[7496,7496],"mapped","d"],[[7497,7497],"mapped","e"],[[7498,7498],"mapped","\u0259"],[[7499,7499],"mapped","\u025B"],[[7500,7500],"mapped","\u025C"],[[7501,7501],"mapped","g"],[[7502,7502],"valid"],[[7503,7503],"mapped","k"],[[7504,7504],"mapped","m"],[[7505,7505],"mapped","\u014B"],[[7506,7506],"mapped","o"],[[7507,7507],"mapped","\u0254"],[[7508,7508],"mapped","\u1D16"],[[7509,7509],"mapped","\u1D17"],[[7510,7510],"mapped","p"],[[7511,7511],"mapped","t"],[[7512,7512],"mapped","u"],[[7513,7513],"mapped","\u1D1D"],[[7514,7514],"mapped","\u026F"],[[7515,7515],"mapped","v"],[[7516,7516],"mapped","\u1D25"],[[7517,7517],"mapped","\u03B2"],[[7518,7518],"mapped","\u03B3"],[[7519,7519],"mapped","\u03B4"],[[7520,7520],"mapped","\u03C6"],[[7521,7521],"mapped","\u03C7"],[[7522,7522],"mapped","i"],[[7523,7523],"mapped","r"],[[7524,7524],"mapped","u"],[[7525,7525],"mapped","v"],[[7526,7526],"mapped","\u03B2"],[[7527,7527],"mapped","\u03B3"],[[7528,7528],"mapped","\u03C1"],[[7529,7529],"mapped","\u03C6"],[[7530,7530],"mapped","\u03C7"],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped","\u043D"],[[7545,7578],"valid"],[[7579,7579],"mapped","\u0252"],[[7580,7580],"mapped","c"],[[7581,7581],"mapped","\u0255"],[[7582,7582],"mapped","\xF0"],[[7583,7583],"mapped","\u025C"],[[7584,7584],"mapped","f"],[[7585,7585],"mapped","\u025F"],[[7586,7586],"mapped","\u0261"],[[7587,7587],"mapped","\u0265"],[[7588,7588],"mapped","\u0268"],[[7589,7589],"mapped","\u0269"],[[7590,7590],"mapped","\u026A"],[[7591,7591],"mapped","\u1D7B"],[[7592,7592],"mapped","\u029D"],[[7593,7593],"mapped","\u026D"],[[7594,7594],"mapped","\u1D85"],[[7595,7595],"mapped","\u029F"],[[7596,7596],"mapped","\u0271"],[[7597,7597],"mapped","\u0270"],[[7598,7598],"mapped","\u0272"],[[7599,7599],"mapped","\u0273"],[[7600,7600],"mapped","\u0274"],[[7601,7601],"mapped","\u0275"],[[7602,7602],"mapped","\u0278"],[[7603,7603],"mapped","\u0282"],[[7604,7604],"mapped","\u0283"],[[7605,7605],"mapped","\u01AB"],[[7606,7606],"mapped","\u0289"],[[7607,7607],"mapped","\u028A"],[[7608,7608],"mapped","\u1D1C"],[[7609,7609],"mapped","\u028B"],[[7610,7610],"mapped","\u028C"],[[7611,7611],"mapped","z"],[[7612,7612],"mapped","\u0290"],[[7613,7613],"mapped","\u0291"],[[7614,7614],"mapped","\u0292"],[[7615,7615],"mapped","\u03B8"],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7673],"valid"],[[7674,7674],"disallowed"],[[7675,7675],"valid"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped","\u1E01"],[[7681,7681],"valid"],[[7682,7682],"mapped","\u1E03"],[[7683,7683],"valid"],[[7684,7684],"mapped","\u1E05"],[[7685,7685],"valid"],[[7686,7686],"mapped","\u1E07"],[[7687,7687],"valid"],[[7688,7688],"mapped","\u1E09"],[[7689,7689],"valid"],[[7690,7690],"mapped","\u1E0B"],[[7691,7691],"valid"],[[7692,7692],"mapped","\u1E0D"],[[7693,7693],"valid"],[[7694,7694],"mapped","\u1E0F"],[[7695,7695],"valid"],[[7696,7696],"mapped","\u1E11"],[[7697,7697],"valid"],[[7698,7698],"mapped","\u1E13"],[[7699,7699],"valid"],[[7700,7700],"mapped","\u1E15"],[[7701,7701],"valid"],[[7702,7702],"mapped","\u1E17"],[[7703,7703],"valid"],[[7704,7704],"mapped","\u1E19"],[[7705,7705],"valid"],[[7706,7706],"mapped","\u1E1B"],[[7707,7707],"valid"],[[7708,7708],"mapped","\u1E1D"],[[7709,7709],"valid"],[[7710,7710],"mapped","\u1E1F"],[[7711,7711],"valid"],[[7712,7712],"mapped","\u1E21"],[[7713,7713],"valid"],[[7714,7714],"mapped","\u1E23"],[[7715,7715],"valid"],[[7716,7716],"mapped","\u1E25"],[[7717,7717],"valid"],[[7718,7718],"mapped","\u1E27"],[[7719,7719],"valid"],[[7720,7720],"mapped","\u1E29"],[[7721,7721],"valid"],[[7722,7722],"mapped","\u1E2B"],[[7723,7723],"valid"],[[7724,7724],"mapped","\u1E2D"],[[7725,7725],"valid"],[[7726,7726],"mapped","\u1E2F"],[[7727,7727],"valid"],[[7728,7728],"mapped","\u1E31"],[[7729,7729],"valid"],[[7730,7730],"mapped","\u1E33"],[[7731,7731],"valid"],[[7732,7732],"mapped","\u1E35"],[[7733,7733],"valid"],[[7734,7734],"mapped","\u1E37"],[[7735,7735],"valid"],[[7736,7736],"mapped","\u1E39"],[[7737,7737],"valid"],[[7738,7738],"mapped","\u1E3B"],[[7739,7739],"valid"],[[7740,7740],"mapped","\u1E3D"],[[7741,7741],"valid"],[[7742,7742],"mapped","\u1E3F"],[[7743,7743],"valid"],[[7744,7744],"mapped","\u1E41"],[[7745,7745],"valid"],[[7746,7746],"mapped","\u1E43"],[[7747,7747],"valid"],[[7748,7748],"mapped","\u1E45"],[[7749,7749],"valid"],[[7750,7750],"mapped","\u1E47"],[[7751,7751],"valid"],[[7752,7752],"mapped","\u1E49"],[[7753,7753],"valid"],[[7754,7754],"mapped","\u1E4B"],[[7755,7755],"valid"],[[7756,7756],"mapped","\u1E4D"],[[7757,7757],"valid"],[[7758,7758],"mapped","\u1E4F"],[[7759,7759],"valid"],[[7760,7760],"mapped","\u1E51"],[[7761,7761],"valid"],[[7762,7762],"mapped","\u1E53"],[[7763,7763],"valid"],[[7764,7764],"mapped","\u1E55"],[[7765,7765],"valid"],[[7766,7766],"mapped","\u1E57"],[[7767,7767],"valid"],[[7768,7768],"mapped","\u1E59"],[[7769,7769],"valid"],[[7770,7770],"mapped","\u1E5B"],[[7771,7771],"valid"],[[7772,7772],"mapped","\u1E5D"],[[7773,7773],"valid"],[[7774,7774],"mapped","\u1E5F"],[[7775,7775],"valid"],[[7776,7776],"mapped","\u1E61"],[[7777,7777],"valid"],[[7778,7778],"mapped","\u1E63"],[[7779,7779],"valid"],[[7780,7780],"mapped","\u1E65"],[[7781,7781],"valid"],[[7782,7782],"mapped","\u1E67"],[[7783,7783],"valid"],[[7784,7784],"mapped","\u1E69"],[[7785,7785],"valid"],[[7786,7786],"mapped","\u1E6B"],[[7787,7787],"valid"],[[7788,7788],"mapped","\u1E6D"],[[7789,7789],"valid"],[[7790,7790],"mapped","\u1E6F"],[[7791,7791],"valid"],[[7792,7792],"mapped","\u1E71"],[[7793,7793],"valid"],[[7794,7794],"mapped","\u1E73"],[[7795,7795],"valid"],[[7796,7796],"mapped","\u1E75"],[[7797,7797],"valid"],[[7798,7798],"mapped","\u1E77"],[[7799,7799],"valid"],[[7800,7800],"mapped","\u1E79"],[[7801,7801],"valid"],[[7802,7802],"mapped","\u1E7B"],[[7803,7803],"valid"],[[7804,7804],"mapped","\u1E7D"],[[7805,7805],"valid"],[[7806,7806],"mapped","\u1E7F"],[[7807,7807],"valid"],[[7808,7808],"mapped","\u1E81"],[[7809,7809],"valid"],[[7810,7810],"mapped","\u1E83"],[[7811,7811],"valid"],[[7812,7812],"mapped","\u1E85"],[[7813,7813],"valid"],[[7814,7814],"mapped","\u1E87"],[[7815,7815],"valid"],[[7816,7816],"mapped","\u1E89"],[[7817,7817],"valid"],[[7818,7818],"mapped","\u1E8B"],[[7819,7819],"valid"],[[7820,7820],"mapped","\u1E8D"],[[7821,7821],"valid"],[[7822,7822],"mapped","\u1E8F"],[[7823,7823],"valid"],[[7824,7824],"mapped","\u1E91"],[[7825,7825],"valid"],[[7826,7826],"mapped","\u1E93"],[[7827,7827],"valid"],[[7828,7828],"mapped","\u1E95"],[[7829,7833],"valid"],[[7834,7834],"mapped","a\u02BE"],[[7835,7835],"mapped","\u1E61"],[[7836,7837],"valid"],[[7838,7838],"mapped","ss"],[[7839,7839],"valid"],[[7840,7840],"mapped","\u1EA1"],[[7841,7841],"valid"],[[7842,7842],"mapped","\u1EA3"],[[7843,7843],"valid"],[[7844,7844],"mapped","\u1EA5"],[[7845,7845],"valid"],[[7846,7846],"mapped","\u1EA7"],[[7847,7847],"valid"],[[7848,7848],"mapped","\u1EA9"],[[7849,7849],"valid"],[[7850,7850],"mapped","\u1EAB"],[[7851,7851],"valid"],[[7852,7852],"mapped","\u1EAD"],[[7853,7853],"valid"],[[7854,7854],"mapped","\u1EAF"],[[7855,7855],"valid"],[[7856,7856],"mapped","\u1EB1"],[[7857,7857],"valid"],[[7858,7858],"mapped","\u1EB3"],[[7859,7859],"valid"],[[7860,7860],"mapped","\u1EB5"],[[7861,7861],"valid"],[[7862,7862],"mapped","\u1EB7"],[[7863,7863],"valid"],[[7864,7864],"mapped","\u1EB9"],[[7865,7865],"valid"],[[7866,7866],"mapped","\u1EBB"],[[7867,7867],"valid"],[[7868,7868],"mapped","\u1EBD"],[[7869,7869],"valid"],[[7870,7870],"mapped","\u1EBF"],[[7871,7871],"valid"],[[7872,7872],"mapped","\u1EC1"],[[7873,7873],"valid"],[[7874,7874],"mapped","\u1EC3"],[[7875,7875],"valid"],[[7876,7876],"mapped","\u1EC5"],[[7877,7877],"valid"],[[7878,7878],"mapped","\u1EC7"],[[7879,7879],"valid"],[[7880,7880],"mapped","\u1EC9"],[[7881,7881],"valid"],[[7882,7882],"mapped","\u1ECB"],[[7883,7883],"valid"],[[7884,7884],"mapped","\u1ECD"],[[7885,7885],"valid"],[[7886,7886],"mapped","\u1ECF"],[[7887,7887],"valid"],[[7888,7888],"mapped","\u1ED1"],[[7889,7889],"valid"],[[7890,7890],"mapped","\u1ED3"],[[7891,7891],"valid"],[[7892,7892],"mapped","\u1ED5"],[[7893,7893],"valid"],[[7894,7894],"mapped","\u1ED7"],[[7895,7895],"valid"],[[7896,7896],"mapped","\u1ED9"],[[7897,7897],"valid"],[[7898,7898],"mapped","\u1EDB"],[[7899,7899],"valid"],[[7900,7900],"mapped","\u1EDD"],[[7901,7901],"valid"],[[7902,7902],"mapped","\u1EDF"],[[7903,7903],"valid"],[[7904,7904],"mapped","\u1EE1"],[[7905,7905],"valid"],[[7906,7906],"mapped","\u1EE3"],[[7907,7907],"valid"],[[7908,7908],"mapped","\u1EE5"],[[7909,7909],"valid"],[[7910,7910],"mapped","\u1EE7"],[[7911,7911],"valid"],[[7912,7912],"mapped","\u1EE9"],[[7913,7913],"valid"],[[7914,7914],"mapped","\u1EEB"],[[7915,7915],"valid"],[[7916,7916],"mapped","\u1EED"],[[7917,7917],"valid"],[[7918,7918],"mapped","\u1EEF"],[[7919,7919],"valid"],[[7920,7920],"mapped","\u1EF1"],[[7921,7921],"valid"],[[7922,7922],"mapped","\u1EF3"],[[7923,7923],"valid"],[[7924,7924],"mapped","\u1EF5"],[[7925,7925],"valid"],[[7926,7926],"mapped","\u1EF7"],[[7927,7927],"valid"],[[7928,7928],"mapped","\u1EF9"],[[7929,7929],"valid"],[[7930,7930],"mapped","\u1EFB"],[[7931,7931],"valid"],[[7932,7932],"mapped","\u1EFD"],[[7933,7933],"valid"],[[7934,7934],"mapped","\u1EFF"],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped","\u1F00"],[[7945,7945],"mapped","\u1F01"],[[7946,7946],"mapped","\u1F02"],[[7947,7947],"mapped","\u1F03"],[[7948,7948],"mapped","\u1F04"],[[7949,7949],"mapped","\u1F05"],[[7950,7950],"mapped","\u1F06"],[[7951,7951],"mapped","\u1F07"],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped","\u1F10"],[[7961,7961],"mapped","\u1F11"],[[7962,7962],"mapped","\u1F12"],[[7963,7963],"mapped","\u1F13"],[[7964,7964],"mapped","\u1F14"],[[7965,7965],"mapped","\u1F15"],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped","\u1F20"],[[7977,7977],"mapped","\u1F21"],[[7978,7978],"mapped","\u1F22"],[[7979,7979],"mapped","\u1F23"],[[7980,7980],"mapped","\u1F24"],[[7981,7981],"mapped","\u1F25"],[[7982,7982],"mapped","\u1F26"],[[7983,7983],"mapped","\u1F27"],[[7984,7991],"valid"],[[7992,7992],"mapped","\u1F30"],[[7993,7993],"mapped","\u1F31"],[[7994,7994],"mapped","\u1F32"],[[7995,7995],"mapped","\u1F33"],[[7996,7996],"mapped","\u1F34"],[[7997,7997],"mapped","\u1F35"],[[7998,7998],"mapped","\u1F36"],[[7999,7999],"mapped","\u1F37"],[[8e3,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped","\u1F40"],[[8009,8009],"mapped","\u1F41"],[[8010,8010],"mapped","\u1F42"],[[8011,8011],"mapped","\u1F43"],[[8012,8012],"mapped","\u1F44"],[[8013,8013],"mapped","\u1F45"],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped","\u1F51"],[[8026,8026],"disallowed"],[[8027,8027],"mapped","\u1F53"],[[8028,8028],"disallowed"],[[8029,8029],"mapped","\u1F55"],[[8030,8030],"disallowed"],[[8031,8031],"mapped","\u1F57"],[[8032,8039],"valid"],[[8040,8040],"mapped","\u1F60"],[[8041,8041],"mapped","\u1F61"],[[8042,8042],"mapped","\u1F62"],[[8043,8043],"mapped","\u1F63"],[[8044,8044],"mapped","\u1F64"],[[8045,8045],"mapped","\u1F65"],[[8046,8046],"mapped","\u1F66"],[[8047,8047],"mapped","\u1F67"],[[8048,8048],"valid"],[[8049,8049],"mapped","\u03AC"],[[8050,8050],"valid"],[[8051,8051],"mapped","\u03AD"],[[8052,8052],"valid"],[[8053,8053],"mapped","\u03AE"],[[8054,8054],"valid"],[[8055,8055],"mapped","\u03AF"],[[8056,8056],"valid"],[[8057,8057],"mapped","\u03CC"],[[8058,8058],"valid"],[[8059,8059],"mapped","\u03CD"],[[8060,8060],"valid"],[[8061,8061],"mapped","\u03CE"],[[8062,8063],"disallowed"],[[8064,8064],"mapped","\u1F00\u03B9"],[[8065,8065],"mapped","\u1F01\u03B9"],[[8066,8066],"mapped","\u1F02\u03B9"],[[8067,8067],"mapped","\u1F03\u03B9"],[[8068,8068],"mapped","\u1F04\u03B9"],[[8069,8069],"mapped","\u1F05\u03B9"],[[8070,8070],"mapped","\u1F06\u03B9"],[[8071,8071],"mapped","\u1F07\u03B9"],[[8072,8072],"mapped","\u1F00\u03B9"],[[8073,8073],"mapped","\u1F01\u03B9"],[[8074,8074],"mapped","\u1F02\u03B9"],[[8075,8075],"mapped","\u1F03\u03B9"],[[8076,8076],"mapped","\u1F04\u03B9"],[[8077,8077],"mapped","\u1F05\u03B9"],[[8078,8078],"mapped","\u1F06\u03B9"],[[8079,8079],"mapped","\u1F07\u03B9"],[[8080,8080],"mapped","\u1F20\u03B9"],[[8081,8081],"mapped","\u1F21\u03B9"],[[8082,8082],"mapped","\u1F22\u03B9"],[[8083,8083],"mapped","\u1F23\u03B9"],[[8084,8084],"mapped","\u1F24\u03B9"],[[8085,8085],"mapped","\u1F25\u03B9"],[[8086,8086],"mapped","\u1F26\u03B9"],[[8087,8087],"mapped","\u1F27\u03B9"],[[8088,8088],"mapped","\u1F20\u03B9"],[[8089,8089],"mapped","\u1F21\u03B9"],[[8090,8090],"mapped","\u1F22\u03B9"],[[8091,8091],"mapped","\u1F23\u03B9"],[[8092,8092],"mapped","\u1F24\u03B9"],[[8093,8093],"mapped","\u1F25\u03B9"],[[8094,8094],"mapped","\u1F26\u03B9"],[[8095,8095],"mapped","\u1F27\u03B9"],[[8096,8096],"mapped","\u1F60\u03B9"],[[8097,8097],"mapped","\u1F61\u03B9"],[[8098,8098],"mapped","\u1F62\u03B9"],[[8099,8099],"mapped","\u1F63\u03B9"],[[8100,8100],"mapped","\u1F64\u03B9"],[[8101,8101],"mapped","\u1F65\u03B9"],[[8102,8102],"mapped","\u1F66\u03B9"],[[8103,8103],"mapped","\u1F67\u03B9"],[[8104,8104],"mapped","\u1F60\u03B9"],[[8105,8105],"mapped","\u1F61\u03B9"],[[8106,8106],"mapped","\u1F62\u03B9"],[[8107,8107],"mapped","\u1F63\u03B9"],[[8108,8108],"mapped","\u1F64\u03B9"],[[8109,8109],"mapped","\u1F65\u03B9"],[[8110,8110],"mapped","\u1F66\u03B9"],[[8111,8111],"mapped","\u1F67\u03B9"],[[8112,8113],"valid"],[[8114,8114],"mapped","\u1F70\u03B9"],[[8115,8115],"mapped","\u03B1\u03B9"],[[8116,8116],"mapped","\u03AC\u03B9"],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped","\u1FB6\u03B9"],[[8120,8120],"mapped","\u1FB0"],[[8121,8121],"mapped","\u1FB1"],[[8122,8122],"mapped","\u1F70"],[[8123,8123],"mapped","\u03AC"],[[8124,8124],"mapped","\u03B1\u03B9"],[[8125,8125],"disallowed_STD3_mapped"," \u0313"],[[8126,8126],"mapped","\u03B9"],[[8127,8127],"disallowed_STD3_mapped"," \u0313"],[[8128,8128],"disallowed_STD3_mapped"," \u0342"],[[8129,8129],"disallowed_STD3_mapped"," \u0308\u0342"],[[8130,8130],"mapped","\u1F74\u03B9"],[[8131,8131],"mapped","\u03B7\u03B9"],[[8132,8132],"mapped","\u03AE\u03B9"],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped","\u1FC6\u03B9"],[[8136,8136],"mapped","\u1F72"],[[8137,8137],"mapped","\u03AD"],[[8138,8138],"mapped","\u1F74"],[[8139,8139],"mapped","\u03AE"],[[8140,8140],"mapped","\u03B7\u03B9"],[[8141,8141],"disallowed_STD3_mapped"," \u0313\u0300"],[[8142,8142],"disallowed_STD3_mapped"," \u0313\u0301"],[[8143,8143],"disallowed_STD3_mapped"," \u0313\u0342"],[[8144,8146],"valid"],[[8147,8147],"mapped","\u0390"],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped","\u1FD0"],[[8153,8153],"mapped","\u1FD1"],[[8154,8154],"mapped","\u1F76"],[[8155,8155],"mapped","\u03AF"],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped"," \u0314\u0300"],[[8158,8158],"disallowed_STD3_mapped"," \u0314\u0301"],[[8159,8159],"disallowed_STD3_mapped"," \u0314\u0342"],[[8160,8162],"valid"],[[8163,8163],"mapped","\u03B0"],[[8164,8167],"valid"],[[8168,8168],"mapped","\u1FE0"],[[8169,8169],"mapped","\u1FE1"],[[8170,8170],"mapped","\u1F7A"],[[8171,8171],"mapped","\u03CD"],[[8172,8172],"mapped","\u1FE5"],[[8173,8173],"disallowed_STD3_mapped"," \u0308\u0300"],[[8174,8174],"disallowed_STD3_mapped"," \u0308\u0301"],[[8175,8175],"disallowed_STD3_mapped","`"],[[8176,8177],"disallowed"],[[8178,8178],"mapped","\u1F7C\u03B9"],[[8179,8179],"mapped","\u03C9\u03B9"],[[8180,8180],"mapped","\u03CE\u03B9"],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped","\u1FF6\u03B9"],[[8184,8184],"mapped","\u1F78"],[[8185,8185],"mapped","\u03CC"],[[8186,8186],"mapped","\u1F7C"],[[8187,8187],"mapped","\u03CE"],[[8188,8188],"mapped","\u03C9\u03B9"],[[8189,8189],"disallowed_STD3_mapped"," \u0301"],[[8190,8190],"disallowed_STD3_mapped"," \u0314"],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped"," "],[[8203,8203],"ignored"],[[8204,8205],"deviation",""],[[8206,8207],"disallowed"],[[8208,8208],"valid","","NV8"],[[8209,8209],"mapped","\u2010"],[[8210,8214],"valid","","NV8"],[[8215,8215],"disallowed_STD3_mapped"," \u0333"],[[8216,8227],"valid","","NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid","","NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped"," "],[[8240,8242],"valid","","NV8"],[[8243,8243],"mapped","\u2032\u2032"],[[8244,8244],"mapped","\u2032\u2032\u2032"],[[8245,8245],"valid","","NV8"],[[8246,8246],"mapped","\u2035\u2035"],[[8247,8247],"mapped","\u2035\u2035\u2035"],[[8248,8251],"valid","","NV8"],[[8252,8252],"disallowed_STD3_mapped","!!"],[[8253,8253],"valid","","NV8"],[[8254,8254],"disallowed_STD3_mapped"," \u0305"],[[8255,8262],"valid","","NV8"],[[8263,8263],"disallowed_STD3_mapped","??"],[[8264,8264],"disallowed_STD3_mapped","?!"],[[8265,8265],"disallowed_STD3_mapped","!?"],[[8266,8269],"valid","","NV8"],[[8270,8274],"valid","","NV8"],[[8275,8276],"valid","","NV8"],[[8277,8278],"valid","","NV8"],[[8279,8279],"mapped","\u2032\u2032\u2032\u2032"],[[8280,8286],"valid","","NV8"],[[8287,8287],"disallowed_STD3_mapped"," "],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped","0"],[[8305,8305],"mapped","i"],[[8306,8307],"disallowed"],[[8308,8308],"mapped","4"],[[8309,8309],"mapped","5"],[[8310,8310],"mapped","6"],[[8311,8311],"mapped","7"],[[8312,8312],"mapped","8"],[[8313,8313],"mapped","9"],[[8314,8314],"disallowed_STD3_mapped","+"],[[8315,8315],"mapped","\u2212"],[[8316,8316],"disallowed_STD3_mapped","="],[[8317,8317],"disallowed_STD3_mapped","("],[[8318,8318],"disallowed_STD3_mapped",")"],[[8319,8319],"mapped","n"],[[8320,8320],"mapped","0"],[[8321,8321],"mapped","1"],[[8322,8322],"mapped","2"],[[8323,8323],"mapped","3"],[[8324,8324],"mapped","4"],[[8325,8325],"mapped","5"],[[8326,8326],"mapped","6"],[[8327,8327],"mapped","7"],[[8328,8328],"mapped","8"],[[8329,8329],"mapped","9"],[[8330,8330],"disallowed_STD3_mapped","+"],[[8331,8331],"mapped","\u2212"],[[8332,8332],"disallowed_STD3_mapped","="],[[8333,8333],"disallowed_STD3_mapped","("],[[8334,8334],"disallowed_STD3_mapped",")"],[[8335,8335],"disallowed"],[[8336,8336],"mapped","a"],[[8337,8337],"mapped","e"],[[8338,8338],"mapped","o"],[[8339,8339],"mapped","x"],[[8340,8340],"mapped","\u0259"],[[8341,8341],"mapped","h"],[[8342,8342],"mapped","k"],[[8343,8343],"mapped","l"],[[8344,8344],"mapped","m"],[[8345,8345],"mapped","n"],[[8346,8346],"mapped","p"],[[8347,8347],"mapped","s"],[[8348,8348],"mapped","t"],[[8349,8351],"disallowed"],[[8352,8359],"valid","","NV8"],[[8360,8360],"mapped","rs"],[[8361,8362],"valid","","NV8"],[[8363,8363],"valid","","NV8"],[[8364,8364],"valid","","NV8"],[[8365,8367],"valid","","NV8"],[[8368,8369],"valid","","NV8"],[[8370,8373],"valid","","NV8"],[[8374,8376],"valid","","NV8"],[[8377,8377],"valid","","NV8"],[[8378,8378],"valid","","NV8"],[[8379,8381],"valid","","NV8"],[[8382,8382],"valid","","NV8"],[[8383,8383],"valid","","NV8"],[[8384,8399],"disallowed"],[[8400,8417],"valid","","NV8"],[[8418,8419],"valid","","NV8"],[[8420,8426],"valid","","NV8"],[[8427,8427],"valid","","NV8"],[[8428,8431],"valid","","NV8"],[[8432,8432],"valid","","NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped","a/c"],[[8449,8449],"disallowed_STD3_mapped","a/s"],[[8450,8450],"mapped","c"],[[8451,8451],"mapped","\xB0c"],[[8452,8452],"valid","","NV8"],[[8453,8453],"disallowed_STD3_mapped","c/o"],[[8454,8454],"disallowed_STD3_mapped","c/u"],[[8455,8455],"mapped","\u025B"],[[8456,8456],"valid","","NV8"],[[8457,8457],"mapped","\xB0f"],[[8458,8458],"mapped","g"],[[8459,8462],"mapped","h"],[[8463,8463],"mapped","\u0127"],[[8464,8465],"mapped","i"],[[8466,8467],"mapped","l"],[[8468,8468],"valid","","NV8"],[[8469,8469],"mapped","n"],[[8470,8470],"mapped","no"],[[8471,8472],"valid","","NV8"],[[8473,8473],"mapped","p"],[[8474,8474],"mapped","q"],[[8475,8477],"mapped","r"],[[8478,8479],"valid","","NV8"],[[8480,8480],"mapped","sm"],[[8481,8481],"mapped","tel"],[[8482,8482],"mapped","tm"],[[8483,8483],"valid","","NV8"],[[8484,8484],"mapped","z"],[[8485,8485],"valid","","NV8"],[[8486,8486],"mapped","\u03C9"],[[8487,8487],"valid","","NV8"],[[8488,8488],"mapped","z"],[[8489,8489],"valid","","NV8"],[[8490,8490],"mapped","k"],[[8491,8491],"mapped","\xE5"],[[8492,8492],"mapped","b"],[[8493,8493],"mapped","c"],[[8494,8494],"valid","","NV8"],[[8495,8496],"mapped","e"],[[8497,8497],"mapped","f"],[[8498,8498],"disallowed"],[[8499,8499],"mapped","m"],[[8500,8500],"mapped","o"],[[8501,8501],"mapped","\u05D0"],[[8502,8502],"mapped","\u05D1"],[[8503,8503],"mapped","\u05D2"],[[8504,8504],"mapped","\u05D3"],[[8505,8505],"mapped","i"],[[8506,8506],"valid","","NV8"],[[8507,8507],"mapped","fax"],[[8508,8508],"mapped","\u03C0"],[[8509,8510],"mapped","\u03B3"],[[8511,8511],"mapped","\u03C0"],[[8512,8512],"mapped","\u2211"],[[8513,8516],"valid","","NV8"],[[8517,8518],"mapped","d"],[[8519,8519],"mapped","e"],[[8520,8520],"mapped","i"],[[8521,8521],"mapped","j"],[[8522,8523],"valid","","NV8"],[[8524,8524],"valid","","NV8"],[[8525,8525],"valid","","NV8"],[[8526,8526],"valid"],[[8527,8527],"valid","","NV8"],[[8528,8528],"mapped","1\u20447"],[[8529,8529],"mapped","1\u20449"],[[8530,8530],"mapped","1\u204410"],[[8531,8531],"mapped","1\u20443"],[[8532,8532],"mapped","2\u20443"],[[8533,8533],"mapped","1\u20445"],[[8534,8534],"mapped","2\u20445"],[[8535,8535],"mapped","3\u20445"],[[8536,8536],"mapped","4\u20445"],[[8537,8537],"mapped","1\u20446"],[[8538,8538],"mapped","5\u20446"],[[8539,8539],"mapped","1\u20448"],[[8540,8540],"mapped","3\u20448"],[[8541,8541],"mapped","5\u20448"],[[8542,8542],"mapped","7\u20448"],[[8543,8543],"mapped","1\u2044"],[[8544,8544],"mapped","i"],[[8545,8545],"mapped","ii"],[[8546,8546],"mapped","iii"],[[8547,8547],"mapped","iv"],[[8548,8548],"mapped","v"],[[8549,8549],"mapped","vi"],[[8550,8550],"mapped","vii"],[[8551,8551],"mapped","viii"],[[8552,8552],"mapped","ix"],[[8553,8553],"mapped","x"],[[8554,8554],"mapped","xi"],[[8555,8555],"mapped","xii"],[[8556,8556],"mapped","l"],[[8557,8557],"mapped","c"],[[8558,8558],"mapped","d"],[[8559,8559],"mapped","m"],[[8560,8560],"mapped","i"],[[8561,8561],"mapped","ii"],[[8562,8562],"mapped","iii"],[[8563,8563],"mapped","iv"],[[8564,8564],"mapped","v"],[[8565,8565],"mapped","vi"],[[8566,8566],"mapped","vii"],[[8567,8567],"mapped","viii"],[[8568,8568],"mapped","ix"],[[8569,8569],"mapped","x"],[[8570,8570],"mapped","xi"],[[8571,8571],"mapped","xii"],[[8572,8572],"mapped","l"],[[8573,8573],"mapped","c"],[[8574,8574],"mapped","d"],[[8575,8575],"mapped","m"],[[8576,8578],"valid","","NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid","","NV8"],[[8585,8585],"mapped","0\u20443"],[[8586,8587],"valid","","NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid","","NV8"],[[8683,8691],"valid","","NV8"],[[8692,8703],"valid","","NV8"],[[8704,8747],"valid","","NV8"],[[8748,8748],"mapped","\u222B\u222B"],[[8749,8749],"mapped","\u222B\u222B\u222B"],[[8750,8750],"valid","","NV8"],[[8751,8751],"mapped","\u222E\u222E"],[[8752,8752],"mapped","\u222E\u222E\u222E"],[[8753,8799],"valid","","NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid","","NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid","","NV8"],[[8946,8959],"valid","","NV8"],[[8960,8960],"valid","","NV8"],[[8961,8961],"valid","","NV8"],[[8962,9e3],"valid","","NV8"],[[9001,9001],"mapped","\u3008"],[[9002,9002],"mapped","\u3009"],[[9003,9082],"valid","","NV8"],[[9083,9083],"valid","","NV8"],[[9084,9084],"valid","","NV8"],[[9085,9114],"valid","","NV8"],[[9115,9166],"valid","","NV8"],[[9167,9168],"valid","","NV8"],[[9169,9179],"valid","","NV8"],[[9180,9191],"valid","","NV8"],[[9192,9192],"valid","","NV8"],[[9193,9203],"valid","","NV8"],[[9204,9210],"valid","","NV8"],[[9211,9214],"valid","","NV8"],[[9215,9215],"valid","","NV8"],[[9216,9252],"valid","","NV8"],[[9253,9254],"valid","","NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid","","NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped","1"],[[9313,9313],"mapped","2"],[[9314,9314],"mapped","3"],[[9315,9315],"mapped","4"],[[9316,9316],"mapped","5"],[[9317,9317],"mapped","6"],[[9318,9318],"mapped","7"],[[9319,9319],"mapped","8"],[[9320,9320],"mapped","9"],[[9321,9321],"mapped","10"],[[9322,9322],"mapped","11"],[[9323,9323],"mapped","12"],[[9324,9324],"mapped","13"],[[9325,9325],"mapped","14"],[[9326,9326],"mapped","15"],[[9327,9327],"mapped","16"],[[9328,9328],"mapped","17"],[[9329,9329],"mapped","18"],[[9330,9330],"mapped","19"],[[9331,9331],"mapped","20"],[[9332,9332],"disallowed_STD3_mapped","(1)"],[[9333,9333],"disallowed_STD3_mapped","(2)"],[[9334,9334],"disallowed_STD3_mapped","(3)"],[[9335,9335],"disallowed_STD3_mapped","(4)"],[[9336,9336],"disallowed_STD3_mapped","(5)"],[[9337,9337],"disallowed_STD3_mapped","(6)"],[[9338,9338],"disallowed_STD3_mapped","(7)"],[[9339,9339],"disallowed_STD3_mapped","(8)"],[[9340,9340],"disallowed_STD3_mapped","(9)"],[[9341,9341],"disallowed_STD3_mapped","(10)"],[[9342,9342],"disallowed_STD3_mapped","(11)"],[[9343,9343],"disallowed_STD3_mapped","(12)"],[[9344,9344],"disallowed_STD3_mapped","(13)"],[[9345,9345],"disallowed_STD3_mapped","(14)"],[[9346,9346],"disallowed_STD3_mapped","(15)"],[[9347,9347],"disallowed_STD3_mapped","(16)"],[[9348,9348],"disallowed_STD3_mapped","(17)"],[[9349,9349],"disallowed_STD3_mapped","(18)"],[[9350,9350],"disallowed_STD3_mapped","(19)"],[[9351,9351],"disallowed_STD3_mapped","(20)"],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped","(a)"],[[9373,9373],"disallowed_STD3_mapped","(b)"],[[9374,9374],"disallowed_STD3_mapped","(c)"],[[9375,9375],"disallowed_STD3_mapped","(d)"],[[9376,9376],"disallowed_STD3_mapped","(e)"],[[9377,9377],"disallowed_STD3_mapped","(f)"],[[9378,9378],"disallowed_STD3_mapped","(g)"],[[9379,9379],"disallowed_STD3_mapped","(h)"],[[9380,9380],"disallowed_STD3_mapped","(i)"],[[9381,9381],"disallowed_STD3_mapped","(j)"],[[9382,9382],"disallowed_STD3_mapped","(k)"],[[9383,9383],"disallowed_STD3_mapped","(l)"],[[9384,9384],"disallowed_STD3_mapped","(m)"],[[9385,9385],"disallowed_STD3_mapped","(n)"],[[9386,9386],"disallowed_STD3_mapped","(o)"],[[9387,9387],"disallowed_STD3_mapped","(p)"],[[9388,9388],"disallowed_STD3_mapped","(q)"],[[9389,9389],"disallowed_STD3_mapped","(r)"],[[9390,9390],"disallowed_STD3_mapped","(s)"],[[9391,9391],"disallowed_STD3_mapped","(t)"],[[9392,9392],"disallowed_STD3_mapped","(u)"],[[9393,9393],"disallowed_STD3_mapped","(v)"],[[9394,9394],"disallowed_STD3_mapped","(w)"],[[9395,9395],"disallowed_STD3_mapped","(x)"],[[9396,9396],"disallowed_STD3_mapped","(y)"],[[9397,9397],"disallowed_STD3_mapped","(z)"],[[9398,9398],"mapped","a"],[[9399,9399],"mapped","b"],[[9400,9400],"mapped","c"],[[9401,9401],"mapped","d"],[[9402,9402],"mapped","e"],[[9403,9403],"mapped","f"],[[9404,9404],"mapped","g"],[[9405,9405],"mapped","h"],[[9406,9406],"mapped","i"],[[9407,9407],"mapped","j"],[[9408,9408],"mapped","k"],[[9409,9409],"mapped","l"],[[9410,9410],"mapped","m"],[[9411,9411],"mapped","n"],[[9412,9412],"mapped","o"],[[9413,9413],"mapped","p"],[[9414,9414],"mapped","q"],[[9415,9415],"mapped","r"],[[9416,9416],"mapped","s"],[[9417,9417],"mapped","t"],[[9418,9418],"mapped","u"],[[9419,9419],"mapped","v"],[[9420,9420],"mapped","w"],[[9421,9421],"mapped","x"],[[9422,9422],"mapped","y"],[[9423,9423],"mapped","z"],[[9424,9424],"mapped","a"],[[9425,9425],"mapped","b"],[[9426,9426],"mapped","c"],[[9427,9427],"mapped","d"],[[9428,9428],"mapped","e"],[[9429,9429],"mapped","f"],[[9430,9430],"mapped","g"],[[9431,9431],"mapped","h"],[[9432,9432],"mapped","i"],[[9433,9433],"mapped","j"],[[9434,9434],"mapped","k"],[[9435,9435],"mapped","l"],[[9436,9436],"mapped","m"],[[9437,9437],"mapped","n"],[[9438,9438],"mapped","o"],[[9439,9439],"mapped","p"],[[9440,9440],"mapped","q"],[[9441,9441],"mapped","r"],[[9442,9442],"mapped","s"],[[9443,9443],"mapped","t"],[[9444,9444],"mapped","u"],[[9445,9445],"mapped","v"],[[9446,9446],"mapped","w"],[[9447,9447],"mapped","x"],[[9448,9448],"mapped","y"],[[9449,9449],"mapped","z"],[[9450,9450],"mapped","0"],[[9451,9470],"valid","","NV8"],[[9471,9471],"valid","","NV8"],[[9472,9621],"valid","","NV8"],[[9622,9631],"valid","","NV8"],[[9632,9711],"valid","","NV8"],[[9712,9719],"valid","","NV8"],[[9720,9727],"valid","","NV8"],[[9728,9747],"valid","","NV8"],[[9748,9749],"valid","","NV8"],[[9750,9751],"valid","","NV8"],[[9752,9752],"valid","","NV8"],[[9753,9753],"valid","","NV8"],[[9754,9839],"valid","","NV8"],[[9840,9841],"valid","","NV8"],[[9842,9853],"valid","","NV8"],[[9854,9855],"valid","","NV8"],[[9856,9865],"valid","","NV8"],[[9866,9873],"valid","","NV8"],[[9874,9884],"valid","","NV8"],[[9885,9885],"valid","","NV8"],[[9886,9887],"valid","","NV8"],[[9888,9889],"valid","","NV8"],[[9890,9905],"valid","","NV8"],[[9906,9906],"valid","","NV8"],[[9907,9916],"valid","","NV8"],[[9917,9919],"valid","","NV8"],[[9920,9923],"valid","","NV8"],[[9924,9933],"valid","","NV8"],[[9934,9934],"valid","","NV8"],[[9935,9953],"valid","","NV8"],[[9954,9954],"valid","","NV8"],[[9955,9955],"valid","","NV8"],[[9956,9959],"valid","","NV8"],[[9960,9983],"valid","","NV8"],[[9984,9984],"valid","","NV8"],[[9985,9988],"valid","","NV8"],[[9989,9989],"valid","","NV8"],[[9990,9993],"valid","","NV8"],[[9994,9995],"valid","","NV8"],[[9996,10023],"valid","","NV8"],[[10024,10024],"valid","","NV8"],[[10025,10059],"valid","","NV8"],[[10060,10060],"valid","","NV8"],[[10061,10061],"valid","","NV8"],[[10062,10062],"valid","","NV8"],[[10063,10066],"valid","","NV8"],[[10067,10069],"valid","","NV8"],[[10070,10070],"valid","","NV8"],[[10071,10071],"valid","","NV8"],[[10072,10078],"valid","","NV8"],[[10079,10080],"valid","","NV8"],[[10081,10087],"valid","","NV8"],[[10088,10101],"valid","","NV8"],[[10102,10132],"valid","","NV8"],[[10133,10135],"valid","","NV8"],[[10136,10159],"valid","","NV8"],[[10160,10160],"valid","","NV8"],[[10161,10174],"valid","","NV8"],[[10175,10175],"valid","","NV8"],[[10176,10182],"valid","","NV8"],[[10183,10186],"valid","","NV8"],[[10187,10187],"valid","","NV8"],[[10188,10188],"valid","","NV8"],[[10189,10189],"valid","","NV8"],[[10190,10191],"valid","","NV8"],[[10192,10219],"valid","","NV8"],[[10220,10223],"valid","","NV8"],[[10224,10239],"valid","","NV8"],[[10240,10495],"valid","","NV8"],[[10496,10763],"valid","","NV8"],[[10764,10764],"mapped","\u222B\u222B\u222B\u222B"],[[10765,10867],"valid","","NV8"],[[10868,10868],"disallowed_STD3_mapped","::="],[[10869,10869],"disallowed_STD3_mapped","=="],[[10870,10870],"disallowed_STD3_mapped","==="],[[10871,10971],"valid","","NV8"],[[10972,10972],"mapped","\u2ADD\u0338"],[[10973,11007],"valid","","NV8"],[[11008,11021],"valid","","NV8"],[[11022,11027],"valid","","NV8"],[[11028,11034],"valid","","NV8"],[[11035,11039],"valid","","NV8"],[[11040,11043],"valid","","NV8"],[[11044,11084],"valid","","NV8"],[[11085,11087],"valid","","NV8"],[[11088,11092],"valid","","NV8"],[[11093,11097],"valid","","NV8"],[[11098,11123],"valid","","NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid","","NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid","","NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid","","NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid","","NV8"],[[11218,11218],"valid","","NV8"],[[11219,11243],"disallowed"],[[11244,11247],"valid","","NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped","\u2C30"],[[11265,11265],"mapped","\u2C31"],[[11266,11266],"mapped","\u2C32"],[[11267,11267],"mapped","\u2C33"],[[11268,11268],"mapped","\u2C34"],[[11269,11269],"mapped","\u2C35"],[[11270,11270],"mapped","\u2C36"],[[11271,11271],"mapped","\u2C37"],[[11272,11272],"mapped","\u2C38"],[[11273,11273],"mapped","\u2C39"],[[11274,11274],"mapped","\u2C3A"],[[11275,11275],"mapped","\u2C3B"],[[11276,11276],"mapped","\u2C3C"],[[11277,11277],"mapped","\u2C3D"],[[11278,11278],"mapped","\u2C3E"],[[11279,11279],"mapped","\u2C3F"],[[11280,11280],"mapped","\u2C40"],[[11281,11281],"mapped","\u2C41"],[[11282,11282],"mapped","\u2C42"],[[11283,11283],"mapped","\u2C43"],[[11284,11284],"mapped","\u2C44"],[[11285,11285],"mapped","\u2C45"],[[11286,11286],"mapped","\u2C46"],[[11287,11287],"mapped","\u2C47"],[[11288,11288],"mapped","\u2C48"],[[11289,11289],"mapped","\u2C49"],[[11290,11290],"mapped","\u2C4A"],[[11291,11291],"mapped","\u2C4B"],[[11292,11292],"mapped","\u2C4C"],[[11293,11293],"mapped","\u2C4D"],[[11294,11294],"mapped","\u2C4E"],[[11295,11295],"mapped","\u2C4F"],[[11296,11296],"mapped","\u2C50"],[[11297,11297],"mapped","\u2C51"],[[11298,11298],"mapped","\u2C52"],[[11299,11299],"mapped","\u2C53"],[[11300,11300],"mapped","\u2C54"],[[11301,11301],"mapped","\u2C55"],[[11302,11302],"mapped","\u2C56"],[[11303,11303],"mapped","\u2C57"],[[11304,11304],"mapped","\u2C58"],[[11305,11305],"mapped","\u2C59"],[[11306,11306],"mapped","\u2C5A"],[[11307,11307],"mapped","\u2C5B"],[[11308,11308],"mapped","\u2C5C"],[[11309,11309],"mapped","\u2C5D"],[[11310,11310],"mapped","\u2C5E"],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped","\u2C61"],[[11361,11361],"valid"],[[11362,11362],"mapped","\u026B"],[[11363,11363],"mapped","\u1D7D"],[[11364,11364],"mapped","\u027D"],[[11365,11366],"valid"],[[11367,11367],"mapped","\u2C68"],[[11368,11368],"valid"],[[11369,11369],"mapped","\u2C6A"],[[11370,11370],"valid"],[[11371,11371],"mapped","\u2C6C"],[[11372,11372],"valid"],[[11373,11373],"mapped","\u0251"],[[11374,11374],"mapped","\u0271"],[[11375,11375],"mapped","\u0250"],[[11376,11376],"mapped","\u0252"],[[11377,11377],"valid"],[[11378,11378],"mapped","\u2C73"],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped","\u2C76"],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped","j"],[[11389,11389],"mapped","v"],[[11390,11390],"mapped","\u023F"],[[11391,11391],"mapped","\u0240"],[[11392,11392],"mapped","\u2C81"],[[11393,11393],"valid"],[[11394,11394],"mapped","\u2C83"],[[11395,11395],"valid"],[[11396,11396],"mapped","\u2C85"],[[11397,11397],"valid"],[[11398,11398],"mapped","\u2C87"],[[11399,11399],"valid"],[[11400,11400],"mapped","\u2C89"],[[11401,11401],"valid"],[[11402,11402],"mapped","\u2C8B"],[[11403,11403],"valid"],[[11404,11404],"mapped","\u2C8D"],[[11405,11405],"valid"],[[11406,11406],"mapped","\u2C8F"],[[11407,11407],"valid"],[[11408,11408],"mapped","\u2C91"],[[11409,11409],"valid"],[[11410,11410],"mapped","\u2C93"],[[11411,11411],"valid"],[[11412,11412],"mapped","\u2C95"],[[11413,11413],"valid"],[[11414,11414],"mapped","\u2C97"],[[11415,11415],"valid"],[[11416,11416],"mapped","\u2C99"],[[11417,11417],"valid"],[[11418,11418],"mapped","\u2C9B"],[[11419,11419],"valid"],[[11420,11420],"mapped","\u2C9D"],[[11421,11421],"valid"],[[11422,11422],"mapped","\u2C9F"],[[11423,11423],"valid"],[[11424,11424],"mapped","\u2CA1"],[[11425,11425],"valid"],[[11426,11426],"mapped","\u2CA3"],[[11427,11427],"valid"],[[11428,11428],"mapped","\u2CA5"],[[11429,11429],"valid"],[[11430,11430],"mapped","\u2CA7"],[[11431,11431],"valid"],[[11432,11432],"mapped","\u2CA9"],[[11433,11433],"valid"],[[11434,11434],"mapped","\u2CAB"],[[11435,11435],"valid"],[[11436,11436],"mapped","\u2CAD"],[[11437,11437],"valid"],[[11438,11438],"mapped","\u2CAF"],[[11439,11439],"valid"],[[11440,11440],"mapped","\u2CB1"],[[11441,11441],"valid"],[[11442,11442],"mapped","\u2CB3"],[[11443,11443],"valid"],[[11444,11444],"mapped","\u2CB5"],[[11445,11445],"valid"],[[11446,11446],"mapped","\u2CB7"],[[11447,11447],"valid"],[[11448,11448],"mapped","\u2CB9"],[[11449,11449],"valid"],[[11450,11450],"mapped","\u2CBB"],[[11451,11451],"valid"],[[11452,11452],"mapped","\u2CBD"],[[11453,11453],"valid"],[[11454,11454],"mapped","\u2CBF"],[[11455,11455],"valid"],[[11456,11456],"mapped","\u2CC1"],[[11457,11457],"valid"],[[11458,11458],"mapped","\u2CC3"],[[11459,11459],"valid"],[[11460,11460],"mapped","\u2CC5"],[[11461,11461],"valid"],[[11462,11462],"mapped","\u2CC7"],[[11463,11463],"valid"],[[11464,11464],"mapped","\u2CC9"],[[11465,11465],"valid"],[[11466,11466],"mapped","\u2CCB"],[[11467,11467],"valid"],[[11468,11468],"mapped","\u2CCD"],[[11469,11469],"valid"],[[11470,11470],"mapped","\u2CCF"],[[11471,11471],"valid"],[[11472,11472],"mapped","\u2CD1"],[[11473,11473],"valid"],[[11474,11474],"mapped","\u2CD3"],[[11475,11475],"valid"],[[11476,11476],"mapped","\u2CD5"],[[11477,11477],"valid"],[[11478,11478],"mapped","\u2CD7"],[[11479,11479],"valid"],[[11480,11480],"mapped","\u2CD9"],[[11481,11481],"valid"],[[11482,11482],"mapped","\u2CDB"],[[11483,11483],"valid"],[[11484,11484],"mapped","\u2CDD"],[[11485,11485],"valid"],[[11486,11486],"mapped","\u2CDF"],[[11487,11487],"valid"],[[11488,11488],"mapped","\u2CE1"],[[11489,11489],"valid"],[[11490,11490],"mapped","\u2CE3"],[[11491,11492],"valid"],[[11493,11498],"valid","","NV8"],[[11499,11499],"mapped","\u2CEC"],[[11500,11500],"valid"],[[11501,11501],"mapped","\u2CEE"],[[11502,11505],"valid"],[[11506,11506],"mapped","\u2CF3"],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid","","NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped","\u2D61"],[[11632,11632],"valid","","NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid","","NV8"],[[11800,11803],"valid","","NV8"],[[11804,11805],"valid","","NV8"],[[11806,11822],"valid","","NV8"],[[11823,11823],"valid"],[[11824,11824],"valid","","NV8"],[[11825,11825],"valid","","NV8"],[[11826,11835],"valid","","NV8"],[[11836,11842],"valid","","NV8"],[[11843,11844],"valid","","NV8"],[[11845,11849],"valid","","NV8"],[[11850,11903],"disallowed"],[[11904,11929],"valid","","NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid","","NV8"],[[11935,11935],"mapped","\u6BCD"],[[11936,12018],"valid","","NV8"],[[12019,12019],"mapped","\u9F9F"],[[12020,12031],"disallowed"],[[12032,12032],"mapped","\u4E00"],[[12033,12033],"mapped","\u4E28"],[[12034,12034],"mapped","\u4E36"],[[12035,12035],"mapped","\u4E3F"],[[12036,12036],"mapped","\u4E59"],[[12037,12037],"mapped","\u4E85"],[[12038,12038],"mapped","\u4E8C"],[[12039,12039],"mapped","\u4EA0"],[[12040,12040],"mapped","\u4EBA"],[[12041,12041],"mapped","\u513F"],[[12042,12042],"mapped","\u5165"],[[12043,12043],"mapped","\u516B"],[[12044,12044],"mapped","\u5182"],[[12045,12045],"mapped","\u5196"],[[12046,12046],"mapped","\u51AB"],[[12047,12047],"mapped","\u51E0"],[[12048,12048],"mapped","\u51F5"],[[12049,12049],"mapped","\u5200"],[[12050,12050],"mapped","\u529B"],[[12051,12051],"mapped","\u52F9"],[[12052,12052],"mapped","\u5315"],[[12053,12053],"mapped","\u531A"],[[12054,12054],"mapped","\u5338"],[[12055,12055],"mapped","\u5341"],[[12056,12056],"mapped","\u535C"],[[12057,12057],"mapped","\u5369"],[[12058,12058],"mapped","\u5382"],[[12059,12059],"mapped","\u53B6"],[[12060,12060],"mapped","\u53C8"],[[12061,12061],"mapped","\u53E3"],[[12062,12062],"mapped","\u56D7"],[[12063,12063],"mapped","\u571F"],[[12064,12064],"mapped","\u58EB"],[[12065,12065],"mapped","\u5902"],[[12066,12066],"mapped","\u590A"],[[12067,12067],"mapped","\u5915"],[[12068,12068],"mapped","\u5927"],[[12069,12069],"mapped","\u5973"],[[12070,12070],"mapped","\u5B50"],[[12071,12071],"mapped","\u5B80"],[[12072,12072],"mapped","\u5BF8"],[[12073,12073],"mapped","\u5C0F"],[[12074,12074],"mapped","\u5C22"],[[12075,12075],"mapped","\u5C38"],[[12076,12076],"mapped","\u5C6E"],[[12077,12077],"mapped","\u5C71"],[[12078,12078],"mapped","\u5DDB"],[[12079,12079],"mapped","\u5DE5"],[[12080,12080],"mapped","\u5DF1"],[[12081,12081],"mapped","\u5DFE"],[[12082,12082],"mapped","\u5E72"],[[12083,12083],"mapped","\u5E7A"],[[12084,12084],"mapped","\u5E7F"],[[12085,12085],"mapped","\u5EF4"],[[12086,12086],"mapped","\u5EFE"],[[12087,12087],"mapped","\u5F0B"],[[12088,12088],"mapped","\u5F13"],[[12089,12089],"mapped","\u5F50"],[[12090,12090],"mapped","\u5F61"],[[12091,12091],"mapped","\u5F73"],[[12092,12092],"mapped","\u5FC3"],[[12093,12093],"mapped","\u6208"],[[12094,12094],"mapped","\u6236"],[[12095,12095],"mapped","\u624B"],[[12096,12096],"mapped","\u652F"],[[12097,12097],"mapped","\u6534"],[[12098,12098],"mapped","\u6587"],[[12099,12099],"mapped","\u6597"],[[12100,12100],"mapped","\u65A4"],[[12101,12101],"mapped","\u65B9"],[[12102,12102],"mapped","\u65E0"],[[12103,12103],"mapped","\u65E5"],[[12104,12104],"mapped","\u66F0"],[[12105,12105],"mapped","\u6708"],[[12106,12106],"mapped","\u6728"],[[12107,12107],"mapped","\u6B20"],[[12108,12108],"mapped","\u6B62"],[[12109,12109],"mapped","\u6B79"],[[12110,12110],"mapped","\u6BB3"],[[12111,12111],"mapped","\u6BCB"],[[12112,12112],"mapped","\u6BD4"],[[12113,12113],"mapped","\u6BDB"],[[12114,12114],"mapped","\u6C0F"],[[12115,12115],"mapped","\u6C14"],[[12116,12116],"mapped","\u6C34"],[[12117,12117],"mapped","\u706B"],[[12118,12118],"mapped","\u722A"],[[12119,12119],"mapped","\u7236"],[[12120,12120],"mapped","\u723B"],[[12121,12121],"mapped","\u723F"],[[12122,12122],"mapped","\u7247"],[[12123,12123],"mapped","\u7259"],[[12124,12124],"mapped","\u725B"],[[12125,12125],"mapped","\u72AC"],[[12126,12126],"mapped","\u7384"],[[12127,12127],"mapped","\u7389"],[[12128,12128],"mapped","\u74DC"],[[12129,12129],"mapped","\u74E6"],[[12130,12130],"mapped","\u7518"],[[12131,12131],"mapped","\u751F"],[[12132,12132],"mapped","\u7528"],[[12133,12133],"mapped","\u7530"],[[12134,12134],"mapped","\u758B"],[[12135,12135],"mapped","\u7592"],[[12136,12136],"mapped","\u7676"],[[12137,12137],"mapped","\u767D"],[[12138,12138],"mapped","\u76AE"],[[12139,12139],"mapped","\u76BF"],[[12140,12140],"mapped","\u76EE"],[[12141,12141],"mapped","\u77DB"],[[12142,12142],"mapped","\u77E2"],[[12143,12143],"mapped","\u77F3"],[[12144,12144],"mapped","\u793A"],[[12145,12145],"mapped","\u79B8"],[[12146,12146],"mapped","\u79BE"],[[12147,12147],"mapped","\u7A74"],[[12148,12148],"mapped","\u7ACB"],[[12149,12149],"mapped","\u7AF9"],[[12150,12150],"mapped","\u7C73"],[[12151,12151],"mapped","\u7CF8"],[[12152,12152],"mapped","\u7F36"],[[12153,12153],"mapped","\u7F51"],[[12154,12154],"mapped","\u7F8A"],[[12155,12155],"mapped","\u7FBD"],[[12156,12156],"mapped","\u8001"],[[12157,12157],"mapped","\u800C"],[[12158,12158],"mapped","\u8012"],[[12159,12159],"mapped","\u8033"],[[12160,12160],"mapped","\u807F"],[[12161,12161],"mapped","\u8089"],[[12162,12162],"mapped","\u81E3"],[[12163,12163],"mapped","\u81EA"],[[12164,12164],"mapped","\u81F3"],[[12165,12165],"mapped","\u81FC"],[[12166,12166],"mapped","\u820C"],[[12167,12167],"mapped","\u821B"],[[12168,12168],"mapped","\u821F"],[[12169,12169],"mapped","\u826E"],[[12170,12170],"mapped","\u8272"],[[12171,12171],"mapped","\u8278"],[[12172,12172],"mapped","\u864D"],[[12173,12173],"mapped","\u866B"],[[12174,12174],"mapped","\u8840"],[[12175,12175],"mapped","\u884C"],[[12176,12176],"mapped","\u8863"],[[12177,12177],"mapped","\u897E"],[[12178,12178],"mapped","\u898B"],[[12179,12179],"mapped","\u89D2"],[[12180,12180],"mapped","\u8A00"],[[12181,12181],"mapped","\u8C37"],[[12182,12182],"mapped","\u8C46"],[[12183,12183],"mapped","\u8C55"],[[12184,12184],"mapped","\u8C78"],[[12185,12185],"mapped","\u8C9D"],[[12186,12186],"mapped","\u8D64"],[[12187,12187],"mapped","\u8D70"],[[12188,12188],"mapped","\u8DB3"],[[12189,12189],"mapped","\u8EAB"],[[12190,12190],"mapped","\u8ECA"],[[12191,12191],"mapped","\u8F9B"],[[12192,12192],"mapped","\u8FB0"],[[12193,12193],"mapped","\u8FB5"],[[12194,12194],"mapped","\u9091"],[[12195,12195],"mapped","\u9149"],[[12196,12196],"mapped","\u91C6"],[[12197,12197],"mapped","\u91CC"],[[12198,12198],"mapped","\u91D1"],[[12199,12199],"mapped","\u9577"],[[12200,12200],"mapped","\u9580"],[[12201,12201],"mapped","\u961C"],[[12202,12202],"mapped","\u96B6"],[[12203,12203],"mapped","\u96B9"],[[12204,12204],"mapped","\u96E8"],[[12205,12205],"mapped","\u9751"],[[12206,12206],"mapped","\u975E"],[[12207,12207],"mapped","\u9762"],[[12208,12208],"mapped","\u9769"],[[12209,12209],"mapped","\u97CB"],[[12210,12210],"mapped","\u97ED"],[[12211,12211],"mapped","\u97F3"],[[12212,12212],"mapped","\u9801"],[[12213,12213],"mapped","\u98A8"],[[12214,12214],"mapped","\u98DB"],[[12215,12215],"mapped","\u98DF"],[[12216,12216],"mapped","\u9996"],[[12217,12217],"mapped","\u9999"],[[12218,12218],"mapped","\u99AC"],[[12219,12219],"mapped","\u9AA8"],[[12220,12220],"mapped","\u9AD8"],[[12221,12221],"mapped","\u9ADF"],[[12222,12222],"mapped","\u9B25"],[[12223,12223],"mapped","\u9B2F"],[[12224,12224],"mapped","\u9B32"],[[12225,12225],"mapped","\u9B3C"],[[12226,12226],"mapped","\u9B5A"],[[12227,12227],"mapped","\u9CE5"],[[12228,12228],"mapped","\u9E75"],[[12229,12229],"mapped","\u9E7F"],[[12230,12230],"mapped","\u9EA5"],[[12231,12231],"mapped","\u9EBB"],[[12232,12232],"mapped","\u9EC3"],[[12233,12233],"mapped","\u9ECD"],[[12234,12234],"mapped","\u9ED1"],[[12235,12235],"mapped","\u9EF9"],[[12236,12236],"mapped","\u9EFD"],[[12237,12237],"mapped","\u9F0E"],[[12238,12238],"mapped","\u9F13"],[[12239,12239],"mapped","\u9F20"],[[12240,12240],"mapped","\u9F3B"],[[12241,12241],"mapped","\u9F4A"],[[12242,12242],"mapped","\u9F52"],[[12243,12243],"mapped","\u9F8D"],[[12244,12244],"mapped","\u9F9C"],[[12245,12245],"mapped","\u9FA0"],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped"," "],[[12289,12289],"valid","","NV8"],[[12290,12290],"mapped","."],[[12291,12292],"valid","","NV8"],[[12293,12295],"valid"],[[12296,12329],"valid","","NV8"],[[12330,12333],"valid"],[[12334,12341],"valid","","NV8"],[[12342,12342],"mapped","\u3012"],[[12343,12343],"valid","","NV8"],[[12344,12344],"mapped","\u5341"],[[12345,12345],"mapped","\u5344"],[[12346,12346],"mapped","\u5345"],[[12347,12347],"valid","","NV8"],[[12348,12348],"valid"],[[12349,12349],"valid","","NV8"],[[12350,12350],"valid","","NV8"],[[12351,12351],"valid","","NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped"," \u3099"],[[12444,12444],"disallowed_STD3_mapped"," \u309A"],[[12445,12446],"valid"],[[12447,12447],"mapped","\u3088\u308A"],[[12448,12448],"valid","","NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped","\u30B3\u30C8"],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12590],"valid"],[[12591,12592],"disallowed"],[[12593,12593],"mapped","\u1100"],[[12594,12594],"mapped","\u1101"],[[12595,12595],"mapped","\u11AA"],[[12596,12596],"mapped","\u1102"],[[12597,12597],"mapped","\u11AC"],[[12598,12598],"mapped","\u11AD"],[[12599,12599],"mapped","\u1103"],[[12600,12600],"mapped","\u1104"],[[12601,12601],"mapped","\u1105"],[[12602,12602],"mapped","\u11B0"],[[12603,12603],"mapped","\u11B1"],[[12604,12604],"mapped","\u11B2"],[[12605,12605],"mapped","\u11B3"],[[12606,12606],"mapped","\u11B4"],[[12607,12607],"mapped","\u11B5"],[[12608,12608],"mapped","\u111A"],[[12609,12609],"mapped","\u1106"],[[12610,12610],"mapped","\u1107"],[[12611,12611],"mapped","\u1108"],[[12612,12612],"mapped","\u1121"],[[12613,12613],"mapped","\u1109"],[[12614,12614],"mapped","\u110A"],[[12615,12615],"mapped","\u110B"],[[12616,12616],"mapped","\u110C"],[[12617,12617],"mapped","\u110D"],[[12618,12618],"mapped","\u110E"],[[12619,12619],"mapped","\u110F"],[[12620,12620],"mapped","\u1110"],[[12621,12621],"mapped","\u1111"],[[12622,12622],"mapped","\u1112"],[[12623,12623],"mapped","\u1161"],[[12624,12624],"mapped","\u1162"],[[12625,12625],"mapped","\u1163"],[[12626,12626],"mapped","\u1164"],[[12627,12627],"mapped","\u1165"],[[12628,12628],"mapped","\u1166"],[[12629,12629],"mapped","\u1167"],[[12630,12630],"mapped","\u1168"],[[12631,12631],"mapped","\u1169"],[[12632,12632],"mapped","\u116A"],[[12633,12633],"mapped","\u116B"],[[12634,12634],"mapped","\u116C"],[[12635,12635],"mapped","\u116D"],[[12636,12636],"mapped","\u116E"],[[12637,12637],"mapped","\u116F"],[[12638,12638],"mapped","\u1170"],[[12639,12639],"mapped","\u1171"],[[12640,12640],"mapped","\u1172"],[[12641,12641],"mapped","\u1173"],[[12642,12642],"mapped","\u1174"],[[12643,12643],"mapped","\u1175"],[[12644,12644],"disallowed"],[[12645,12645],"mapped","\u1114"],[[12646,12646],"mapped","\u1115"],[[12647,12647],"mapped","\u11C7"],[[12648,12648],"mapped","\u11C8"],[[12649,12649],"mapped","\u11CC"],[[12650,12650],"mapped","\u11CE"],[[12651,12651],"mapped","\u11D3"],[[12652,12652],"mapped","\u11D7"],[[12653,12653],"mapped","\u11D9"],[[12654,12654],"mapped","\u111C"],[[12655,12655],"mapped","\u11DD"],[[12656,12656],"mapped","\u11DF"],[[12657,12657],"mapped","\u111D"],[[12658,12658],"mapped","\u111E"],[[12659,12659],"mapped","\u1120"],[[12660,12660],"mapped","\u1122"],[[12661,12661],"mapped","\u1123"],[[12662,12662],"mapped","\u1127"],[[12663,12663],"mapped","\u1129"],[[12664,12664],"mapped","\u112B"],[[12665,12665],"mapped","\u112C"],[[12666,12666],"mapped","\u112D"],[[12667,12667],"mapped","\u112E"],[[12668,12668],"mapped","\u112F"],[[12669,12669],"mapped","\u1132"],[[12670,12670],"mapped","\u1136"],[[12671,12671],"mapped","\u1140"],[[12672,12672],"mapped","\u1147"],[[12673,12673],"mapped","\u114C"],[[12674,12674],"mapped","\u11F1"],[[12675,12675],"mapped","\u11F2"],[[12676,12676],"mapped","\u1157"],[[12677,12677],"mapped","\u1158"],[[12678,12678],"mapped","\u1159"],[[12679,12679],"mapped","\u1184"],[[12680,12680],"mapped","\u1185"],[[12681,12681],"mapped","\u1188"],[[12682,12682],"mapped","\u1191"],[[12683,12683],"mapped","\u1192"],[[12684,12684],"mapped","\u1194"],[[12685,12685],"mapped","\u119E"],[[12686,12686],"mapped","\u11A1"],[[12687,12687],"disallowed"],[[12688,12689],"valid","","NV8"],[[12690,12690],"mapped","\u4E00"],[[12691,12691],"mapped","\u4E8C"],[[12692,12692],"mapped","\u4E09"],[[12693,12693],"mapped","\u56DB"],[[12694,12694],"mapped","\u4E0A"],[[12695,12695],"mapped","\u4E2D"],[[12696,12696],"mapped","\u4E0B"],[[12697,12697],"mapped","\u7532"],[[12698,12698],"mapped","\u4E59"],[[12699,12699],"mapped","\u4E19"],[[12700,12700],"mapped","\u4E01"],[[12701,12701],"mapped","\u5929"],[[12702,12702],"mapped","\u5730"],[[12703,12703],"mapped","\u4EBA"],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid","","NV8"],[[12752,12771],"valid","","NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped","(\u1100)"],[[12801,12801],"disallowed_STD3_mapped","(\u1102)"],[[12802,12802],"disallowed_STD3_mapped","(\u1103)"],[[12803,12803],"disallowed_STD3_mapped","(\u1105)"],[[12804,12804],"disallowed_STD3_mapped","(\u1106)"],[[12805,12805],"disallowed_STD3_mapped","(\u1107)"],[[12806,12806],"disallowed_STD3_mapped","(\u1109)"],[[12807,12807],"disallowed_STD3_mapped","(\u110B)"],[[12808,12808],"disallowed_STD3_mapped","(\u110C)"],[[12809,12809],"disallowed_STD3_mapped","(\u110E)"],[[12810,12810],"disallowed_STD3_mapped","(\u110F)"],[[12811,12811],"disallowed_STD3_mapped","(\u1110)"],[[12812,12812],"disallowed_STD3_mapped","(\u1111)"],[[12813,12813],"disallowed_STD3_mapped","(\u1112)"],[[12814,12814],"disallowed_STD3_mapped","(\uAC00)"],[[12815,12815],"disallowed_STD3_mapped","(\uB098)"],[[12816,12816],"disallowed_STD3_mapped","(\uB2E4)"],[[12817,12817],"disallowed_STD3_mapped","(\uB77C)"],[[12818,12818],"disallowed_STD3_mapped","(\uB9C8)"],[[12819,12819],"disallowed_STD3_mapped","(\uBC14)"],[[12820,12820],"disallowed_STD3_mapped","(\uC0AC)"],[[12821,12821],"disallowed_STD3_mapped","(\uC544)"],[[12822,12822],"disallowed_STD3_mapped","(\uC790)"],[[12823,12823],"disallowed_STD3_mapped","(\uCC28)"],[[12824,12824],"disallowed_STD3_mapped","(\uCE74)"],[[12825,12825],"disallowed_STD3_mapped","(\uD0C0)"],[[12826,12826],"disallowed_STD3_mapped","(\uD30C)"],[[12827,12827],"disallowed_STD3_mapped","(\uD558)"],[[12828,12828],"disallowed_STD3_mapped","(\uC8FC)"],[[12829,12829],"disallowed_STD3_mapped","(\uC624\uC804)"],[[12830,12830],"disallowed_STD3_mapped","(\uC624\uD6C4)"],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped","(\u4E00)"],[[12833,12833],"disallowed_STD3_mapped","(\u4E8C)"],[[12834,12834],"disallowed_STD3_mapped","(\u4E09)"],[[12835,12835],"disallowed_STD3_mapped","(\u56DB)"],[[12836,12836],"disallowed_STD3_mapped","(\u4E94)"],[[12837,12837],"disallowed_STD3_mapped","(\u516D)"],[[12838,12838],"disallowed_STD3_mapped","(\u4E03)"],[[12839,12839],"disallowed_STD3_mapped","(\u516B)"],[[12840,12840],"disallowed_STD3_mapped","(\u4E5D)"],[[12841,12841],"disallowed_STD3_mapped","(\u5341)"],[[12842,12842],"disallowed_STD3_mapped","(\u6708)"],[[12843,12843],"disallowed_STD3_mapped","(\u706B)"],[[12844,12844],"disallowed_STD3_mapped","(\u6C34)"],[[12845,12845],"disallowed_STD3_mapped","(\u6728)"],[[12846,12846],"disallowed_STD3_mapped","(\u91D1)"],[[12847,12847],"disallowed_STD3_mapped","(\u571F)"],[[12848,12848],"disallowed_STD3_mapped","(\u65E5)"],[[12849,12849],"disallowed_STD3_mapped","(\u682A)"],[[12850,12850],"disallowed_STD3_mapped","(\u6709)"],[[12851,12851],"disallowed_STD3_mapped","(\u793E)"],[[12852,12852],"disallowed_STD3_mapped","(\u540D)"],[[12853,12853],"disallowed_STD3_mapped","(\u7279)"],[[12854,12854],"disallowed_STD3_mapped","(\u8CA1)"],[[12855,12855],"disallowed_STD3_mapped","(\u795D)"],[[12856,12856],"disallowed_STD3_mapped","(\u52B4)"],[[12857,12857],"disallowed_STD3_mapped","(\u4EE3)"],[[12858,12858],"disallowed_STD3_mapped","(\u547C)"],[[12859,12859],"disallowed_STD3_mapped","(\u5B66)"],[[12860,12860],"disallowed_STD3_mapped","(\u76E3)"],[[12861,12861],"disallowed_STD3_mapped","(\u4F01)"],[[12862,12862],"disallowed_STD3_mapped","(\u8CC7)"],[[12863,12863],"disallowed_STD3_mapped","(\u5354)"],[[12864,12864],"disallowed_STD3_mapped","(\u796D)"],[[12865,12865],"disallowed_STD3_mapped","(\u4F11)"],[[12866,12866],"disallowed_STD3_mapped","(\u81EA)"],[[12867,12867],"disallowed_STD3_mapped","(\u81F3)"],[[12868,12868],"mapped","\u554F"],[[12869,12869],"mapped","\u5E7C"],[[12870,12870],"mapped","\u6587"],[[12871,12871],"mapped","\u7B8F"],[[12872,12879],"valid","","NV8"],[[12880,12880],"mapped","pte"],[[12881,12881],"mapped","21"],[[12882,12882],"mapped","22"],[[12883,12883],"mapped","23"],[[12884,12884],"mapped","24"],[[12885,12885],"mapped","25"],[[12886,12886],"mapped","26"],[[12887,12887],"mapped","27"],[[12888,12888],"mapped","28"],[[12889,12889],"mapped","29"],[[12890,12890],"mapped","30"],[[12891,12891],"mapped","31"],[[12892,12892],"mapped","32"],[[12893,12893],"mapped","33"],[[12894,12894],"mapped","34"],[[12895,12895],"mapped","35"],[[12896,12896],"mapped","\u1100"],[[12897,12897],"mapped","\u1102"],[[12898,12898],"mapped","\u1103"],[[12899,12899],"mapped","\u1105"],[[12900,12900],"mapped","\u1106"],[[12901,12901],"mapped","\u1107"],[[12902,12902],"mapped","\u1109"],[[12903,12903],"mapped","\u110B"],[[12904,12904],"mapped","\u110C"],[[12905,12905],"mapped","\u110E"],[[12906,12906],"mapped","\u110F"],[[12907,12907],"mapped","\u1110"],[[12908,12908],"mapped","\u1111"],[[12909,12909],"mapped","\u1112"],[[12910,12910],"mapped","\uAC00"],[[12911,12911],"mapped","\uB098"],[[12912,12912],"mapped","\uB2E4"],[[12913,12913],"mapped","\uB77C"],[[12914,12914],"mapped","\uB9C8"],[[12915,12915],"mapped","\uBC14"],[[12916,12916],"mapped","\uC0AC"],[[12917,12917],"mapped","\uC544"],[[12918,12918],"mapped","\uC790"],[[12919,12919],"mapped","\uCC28"],[[12920,12920],"mapped","\uCE74"],[[12921,12921],"mapped","\uD0C0"],[[12922,12922],"mapped","\uD30C"],[[12923,12923],"mapped","\uD558"],[[12924,12924],"mapped","\uCC38\uACE0"],[[12925,12925],"mapped","\uC8FC\uC758"],[[12926,12926],"mapped","\uC6B0"],[[12927,12927],"valid","","NV8"],[[12928,12928],"mapped","\u4E00"],[[12929,12929],"mapped","\u4E8C"],[[12930,12930],"mapped","\u4E09"],[[12931,12931],"mapped","\u56DB"],[[12932,12932],"mapped","\u4E94"],[[12933,12933],"mapped","\u516D"],[[12934,12934],"mapped","\u4E03"],[[12935,12935],"mapped","\u516B"],[[12936,12936],"mapped","\u4E5D"],[[12937,12937],"mapped","\u5341"],[[12938,12938],"mapped","\u6708"],[[12939,12939],"mapped","\u706B"],[[12940,12940],"mapped","\u6C34"],[[12941,12941],"mapped","\u6728"],[[12942,12942],"mapped","\u91D1"],[[12943,12943],"mapped","\u571F"],[[12944,12944],"mapped","\u65E5"],[[12945,12945],"mapped","\u682A"],[[12946,12946],"mapped","\u6709"],[[12947,12947],"mapped","\u793E"],[[12948,12948],"mapped","\u540D"],[[12949,12949],"mapped","\u7279"],[[12950,12950],"mapped","\u8CA1"],[[12951,12951],"mapped","\u795D"],[[12952,12952],"mapped","\u52B4"],[[12953,12953],"mapped","\u79D8"],[[12954,12954],"mapped","\u7537"],[[12955,12955],"mapped","\u5973"],[[12956,12956],"mapped","\u9069"],[[12957,12957],"mapped","\u512A"],[[12958,12958],"mapped","\u5370"],[[12959,12959],"mapped","\u6CE8"],[[12960,12960],"mapped","\u9805"],[[12961,12961],"mapped","\u4F11"],[[12962,12962],"mapped","\u5199"],[[12963,12963],"mapped","\u6B63"],[[12964,12964],"mapped","\u4E0A"],[[12965,12965],"mapped","\u4E2D"],[[12966,12966],"mapped","\u4E0B"],[[12967,12967],"mapped","\u5DE6"],[[12968,12968],"mapped","\u53F3"],[[12969,12969],"mapped","\u533B"],[[12970,12970],"mapped","\u5B97"],[[12971,12971],"mapped","\u5B66"],[[12972,12972],"mapped","\u76E3"],[[12973,12973],"mapped","\u4F01"],[[12974,12974],"mapped","\u8CC7"],[[12975,12975],"mapped","\u5354"],[[12976,12976],"mapped","\u591C"],[[12977,12977],"mapped","36"],[[12978,12978],"mapped","37"],[[12979,12979],"mapped","38"],[[12980,12980],"mapped","39"],[[12981,12981],"mapped","40"],[[12982,12982],"mapped","41"],[[12983,12983],"mapped","42"],[[12984,12984],"mapped","43"],[[12985,12985],"mapped","44"],[[12986,12986],"mapped","45"],[[12987,12987],"mapped","46"],[[12988,12988],"mapped","47"],[[12989,12989],"mapped","48"],[[12990,12990],"mapped","49"],[[12991,12991],"mapped","50"],[[12992,12992],"mapped","1\u6708"],[[12993,12993],"mapped","2\u6708"],[[12994,12994],"mapped","3\u6708"],[[12995,12995],"mapped","4\u6708"],[[12996,12996],"mapped","5\u6708"],[[12997,12997],"mapped","6\u6708"],[[12998,12998],"mapped","7\u6708"],[[12999,12999],"mapped","8\u6708"],[[13e3,13e3],"mapped","9\u6708"],[[13001,13001],"mapped","10\u6708"],[[13002,13002],"mapped","11\u6708"],[[13003,13003],"mapped","12\u6708"],[[13004,13004],"mapped","hg"],[[13005,13005],"mapped","erg"],[[13006,13006],"mapped","ev"],[[13007,13007],"mapped","ltd"],[[13008,13008],"mapped","\u30A2"],[[13009,13009],"mapped","\u30A4"],[[13010,13010],"mapped","\u30A6"],[[13011,13011],"mapped","\u30A8"],[[13012,13012],"mapped","\u30AA"],[[13013,13013],"mapped","\u30AB"],[[13014,13014],"mapped","\u30AD"],[[13015,13015],"mapped","\u30AF"],[[13016,13016],"mapped","\u30B1"],[[13017,13017],"mapped","\u30B3"],[[13018,13018],"mapped","\u30B5"],[[13019,13019],"mapped","\u30B7"],[[13020,13020],"mapped","\u30B9"],[[13021,13021],"mapped","\u30BB"],[[13022,13022],"mapped","\u30BD"],[[13023,13023],"mapped","\u30BF"],[[13024,13024],"mapped","\u30C1"],[[13025,13025],"mapped","\u30C4"],[[13026,13026],"mapped","\u30C6"],[[13027,13027],"mapped","\u30C8"],[[13028,13028],"mapped","\u30CA"],[[13029,13029],"mapped","\u30CB"],[[13030,13030],"mapped","\u30CC"],[[13031,13031],"mapped","\u30CD"],[[13032,13032],"mapped","\u30CE"],[[13033,13033],"mapped","\u30CF"],[[13034,13034],"mapped","\u30D2"],[[13035,13035],"mapped","\u30D5"],[[13036,13036],"mapped","\u30D8"],[[13037,13037],"mapped","\u30DB"],[[13038,13038],"mapped","\u30DE"],[[13039,13039],"mapped","\u30DF"],[[13040,13040],"mapped","\u30E0"],[[13041,13041],"mapped","\u30E1"],[[13042,13042],"mapped","\u30E2"],[[13043,13043],"mapped","\u30E4"],[[13044,13044],"mapped","\u30E6"],[[13045,13045],"mapped","\u30E8"],[[13046,13046],"mapped","\u30E9"],[[13047,13047],"mapped","\u30EA"],[[13048,13048],"mapped","\u30EB"],[[13049,13049],"mapped","\u30EC"],[[13050,13050],"mapped","\u30ED"],[[13051,13051],"mapped","\u30EF"],[[13052,13052],"mapped","\u30F0"],[[13053,13053],"mapped","\u30F1"],[[13054,13054],"mapped","\u30F2"],[[13055,13055],"disallowed"],[[13056,13056],"mapped","\u30A2\u30D1\u30FC\u30C8"],[[13057,13057],"mapped","\u30A2\u30EB\u30D5\u30A1"],[[13058,13058],"mapped","\u30A2\u30F3\u30DA\u30A2"],[[13059,13059],"mapped","\u30A2\u30FC\u30EB"],[[13060,13060],"mapped","\u30A4\u30CB\u30F3\u30B0"],[[13061,13061],"mapped","\u30A4\u30F3\u30C1"],[[13062,13062],"mapped","\u30A6\u30A9\u30F3"],[[13063,13063],"mapped","\u30A8\u30B9\u30AF\u30FC\u30C9"],[[13064,13064],"mapped","\u30A8\u30FC\u30AB\u30FC"],[[13065,13065],"mapped","\u30AA\u30F3\u30B9"],[[13066,13066],"mapped","\u30AA\u30FC\u30E0"],[[13067,13067],"mapped","\u30AB\u30A4\u30EA"],[[13068,13068],"mapped","\u30AB\u30E9\u30C3\u30C8"],[[13069,13069],"mapped","\u30AB\u30ED\u30EA\u30FC"],[[13070,13070],"mapped","\u30AC\u30ED\u30F3"],[[13071,13071],"mapped","\u30AC\u30F3\u30DE"],[[13072,13072],"mapped","\u30AE\u30AC"],[[13073,13073],"mapped","\u30AE\u30CB\u30FC"],[[13074,13074],"mapped","\u30AD\u30E5\u30EA\u30FC"],[[13075,13075],"mapped","\u30AE\u30EB\u30C0\u30FC"],[[13076,13076],"mapped","\u30AD\u30ED"],[[13077,13077],"mapped","\u30AD\u30ED\u30B0\u30E9\u30E0"],[[13078,13078],"mapped","\u30AD\u30ED\u30E1\u30FC\u30C8\u30EB"],[[13079,13079],"mapped","\u30AD\u30ED\u30EF\u30C3\u30C8"],[[13080,13080],"mapped","\u30B0\u30E9\u30E0"],[[13081,13081],"mapped","\u30B0\u30E9\u30E0\u30C8\u30F3"],[[13082,13082],"mapped","\u30AF\u30EB\u30BC\u30A4\u30ED"],[[13083,13083],"mapped","\u30AF\u30ED\u30FC\u30CD"],[[13084,13084],"mapped","\u30B1\u30FC\u30B9"],[[13085,13085],"mapped","\u30B3\u30EB\u30CA"],[[13086,13086],"mapped","\u30B3\u30FC\u30DD"],[[13087,13087],"mapped","\u30B5\u30A4\u30AF\u30EB"],[[13088,13088],"mapped","\u30B5\u30F3\u30C1\u30FC\u30E0"],[[13089,13089],"mapped","\u30B7\u30EA\u30F3\u30B0"],[[13090,13090],"mapped","\u30BB\u30F3\u30C1"],[[13091,13091],"mapped","\u30BB\u30F3\u30C8"],[[13092,13092],"mapped","\u30C0\u30FC\u30B9"],[[13093,13093],"mapped","\u30C7\u30B7"],[[13094,13094],"mapped","\u30C9\u30EB"],[[13095,13095],"mapped","\u30C8\u30F3"],[[13096,13096],"mapped","\u30CA\u30CE"],[[13097,13097],"mapped","\u30CE\u30C3\u30C8"],[[13098,13098],"mapped","\u30CF\u30A4\u30C4"],[[13099,13099],"mapped","\u30D1\u30FC\u30BB\u30F3\u30C8"],[[13100,13100],"mapped","\u30D1\u30FC\u30C4"],[[13101,13101],"mapped","\u30D0\u30FC\u30EC\u30EB"],[[13102,13102],"mapped","\u30D4\u30A2\u30B9\u30C8\u30EB"],[[13103,13103],"mapped","\u30D4\u30AF\u30EB"],[[13104,13104],"mapped","\u30D4\u30B3"],[[13105,13105],"mapped","\u30D3\u30EB"],[[13106,13106],"mapped","\u30D5\u30A1\u30E9\u30C3\u30C9"],[[13107,13107],"mapped","\u30D5\u30A3\u30FC\u30C8"],[[13108,13108],"mapped","\u30D6\u30C3\u30B7\u30A7\u30EB"],[[13109,13109],"mapped","\u30D5\u30E9\u30F3"],[[13110,13110],"mapped","\u30D8\u30AF\u30BF\u30FC\u30EB"],[[13111,13111],"mapped","\u30DA\u30BD"],[[13112,13112],"mapped","\u30DA\u30CB\u30D2"],[[13113,13113],"mapped","\u30D8\u30EB\u30C4"],[[13114,13114],"mapped","\u30DA\u30F3\u30B9"],[[13115,13115],"mapped","\u30DA\u30FC\u30B8"],[[13116,13116],"mapped","\u30D9\u30FC\u30BF"],[[13117,13117],"mapped","\u30DD\u30A4\u30F3\u30C8"],[[13118,13118],"mapped","\u30DC\u30EB\u30C8"],[[13119,13119],"mapped","\u30DB\u30F3"],[[13120,13120],"mapped","\u30DD\u30F3\u30C9"],[[13121,13121],"mapped","\u30DB\u30FC\u30EB"],[[13122,13122],"mapped","\u30DB\u30FC\u30F3"],[[13123,13123],"mapped","\u30DE\u30A4\u30AF\u30ED"],[[13124,13124],"mapped","\u30DE\u30A4\u30EB"],[[13125,13125],"mapped","\u30DE\u30C3\u30CF"],[[13126,13126],"mapped","\u30DE\u30EB\u30AF"],[[13127,13127],"mapped","\u30DE\u30F3\u30B7\u30E7\u30F3"],[[13128,13128],"mapped","\u30DF\u30AF\u30ED\u30F3"],[[13129,13129],"mapped","\u30DF\u30EA"],[[13130,13130],"mapped","\u30DF\u30EA\u30D0\u30FC\u30EB"],[[13131,13131],"mapped","\u30E1\u30AC"],[[13132,13132],"mapped","\u30E1\u30AC\u30C8\u30F3"],[[13133,13133],"mapped","\u30E1\u30FC\u30C8\u30EB"],[[13134,13134],"mapped","\u30E4\u30FC\u30C9"],[[13135,13135],"mapped","\u30E4\u30FC\u30EB"],[[13136,13136],"mapped","\u30E6\u30A2\u30F3"],[[13137,13137],"mapped","\u30EA\u30C3\u30C8\u30EB"],[[13138,13138],"mapped","\u30EA\u30E9"],[[13139,13139],"mapped","\u30EB\u30D4\u30FC"],[[13140,13140],"mapped","\u30EB\u30FC\u30D6\u30EB"],[[13141,13141],"mapped","\u30EC\u30E0"],[[13142,13142],"mapped","\u30EC\u30F3\u30C8\u30B2\u30F3"],[[13143,13143],"mapped","\u30EF\u30C3\u30C8"],[[13144,13144],"mapped","0\u70B9"],[[13145,13145],"mapped","1\u70B9"],[[13146,13146],"mapped","2\u70B9"],[[13147,13147],"mapped","3\u70B9"],[[13148,13148],"mapped","4\u70B9"],[[13149,13149],"mapped","5\u70B9"],[[13150,13150],"mapped","6\u70B9"],[[13151,13151],"mapped","7\u70B9"],[[13152,13152],"mapped","8\u70B9"],[[13153,13153],"mapped","9\u70B9"],[[13154,13154],"mapped","10\u70B9"],[[13155,13155],"mapped","11\u70B9"],[[13156,13156],"mapped","12\u70B9"],[[13157,13157],"mapped","13\u70B9"],[[13158,13158],"mapped","14\u70B9"],[[13159,13159],"mapped","15\u70B9"],[[13160,13160],"mapped","16\u70B9"],[[13161,13161],"mapped","17\u70B9"],[[13162,13162],"mapped","18\u70B9"],[[13163,13163],"mapped","19\u70B9"],[[13164,13164],"mapped","20\u70B9"],[[13165,13165],"mapped","21\u70B9"],[[13166,13166],"mapped","22\u70B9"],[[13167,13167],"mapped","23\u70B9"],[[13168,13168],"mapped","24\u70B9"],[[13169,13169],"mapped","hpa"],[[13170,13170],"mapped","da"],[[13171,13171],"mapped","au"],[[13172,13172],"mapped","bar"],[[13173,13173],"mapped","ov"],[[13174,13174],"mapped","pc"],[[13175,13175],"mapped","dm"],[[13176,13176],"mapped","dm2"],[[13177,13177],"mapped","dm3"],[[13178,13178],"mapped","iu"],[[13179,13179],"mapped","\u5E73\u6210"],[[13180,13180],"mapped","\u662D\u548C"],[[13181,13181],"mapped","\u5927\u6B63"],[[13182,13182],"mapped","\u660E\u6CBB"],[[13183,13183],"mapped","\u682A\u5F0F\u4F1A\u793E"],[[13184,13184],"mapped","pa"],[[13185,13185],"mapped","na"],[[13186,13186],"mapped","\u03BCa"],[[13187,13187],"mapped","ma"],[[13188,13188],"mapped","ka"],[[13189,13189],"mapped","kb"],[[13190,13190],"mapped","mb"],[[13191,13191],"mapped","gb"],[[13192,13192],"mapped","cal"],[[13193,13193],"mapped","kcal"],[[13194,13194],"mapped","pf"],[[13195,13195],"mapped","nf"],[[13196,13196],"mapped","\u03BCf"],[[13197,13197],"mapped","\u03BCg"],[[13198,13198],"mapped","mg"],[[13199,13199],"mapped","kg"],[[13200,13200],"mapped","hz"],[[13201,13201],"mapped","khz"],[[13202,13202],"mapped","mhz"],[[13203,13203],"mapped","ghz"],[[13204,13204],"mapped","thz"],[[13205,13205],"mapped","\u03BCl"],[[13206,13206],"mapped","ml"],[[13207,13207],"mapped","dl"],[[13208,13208],"mapped","kl"],[[13209,13209],"mapped","fm"],[[13210,13210],"mapped","nm"],[[13211,13211],"mapped","\u03BCm"],[[13212,13212],"mapped","mm"],[[13213,13213],"mapped","cm"],[[13214,13214],"mapped","km"],[[13215,13215],"mapped","mm2"],[[13216,13216],"mapped","cm2"],[[13217,13217],"mapped","m2"],[[13218,13218],"mapped","km2"],[[13219,13219],"mapped","mm3"],[[13220,13220],"mapped","cm3"],[[13221,13221],"mapped","m3"],[[13222,13222],"mapped","km3"],[[13223,13223],"mapped","m\u2215s"],[[13224,13224],"mapped","m\u2215s2"],[[13225,13225],"mapped","pa"],[[13226,13226],"mapped","kpa"],[[13227,13227],"mapped","mpa"],[[13228,13228],"mapped","gpa"],[[13229,13229],"mapped","rad"],[[13230,13230],"mapped","rad\u2215s"],[[13231,13231],"mapped","rad\u2215s2"],[[13232,13232],"mapped","ps"],[[13233,13233],"mapped","ns"],[[13234,13234],"mapped","\u03BCs"],[[13235,13235],"mapped","ms"],[[13236,13236],"mapped","pv"],[[13237,13237],"mapped","nv"],[[13238,13238],"mapped","\u03BCv"],[[13239,13239],"mapped","mv"],[[13240,13240],"mapped","kv"],[[13241,13241],"mapped","mv"],[[13242,13242],"mapped","pw"],[[13243,13243],"mapped","nw"],[[13244,13244],"mapped","\u03BCw"],[[13245,13245],"mapped","mw"],[[13246,13246],"mapped","kw"],[[13247,13247],"mapped","mw"],[[13248,13248],"mapped","k\u03C9"],[[13249,13249],"mapped","m\u03C9"],[[13250,13250],"disallowed"],[[13251,13251],"mapped","bq"],[[13252,13252],"mapped","cc"],[[13253,13253],"mapped","cd"],[[13254,13254],"mapped","c\u2215kg"],[[13255,13255],"disallowed"],[[13256,13256],"mapped","db"],[[13257,13257],"mapped","gy"],[[13258,13258],"mapped","ha"],[[13259,13259],"mapped","hp"],[[13260,13260],"mapped","in"],[[13261,13261],"mapped","kk"],[[13262,13262],"mapped","km"],[[13263,13263],"mapped","kt"],[[13264,13264],"mapped","lm"],[[13265,13265],"mapped","ln"],[[13266,13266],"mapped","log"],[[13267,13267],"mapped","lx"],[[13268,13268],"mapped","mb"],[[13269,13269],"mapped","mil"],[[13270,13270],"mapped","mol"],[[13271,13271],"mapped","ph"],[[13272,13272],"disallowed"],[[13273,13273],"mapped","ppm"],[[13274,13274],"mapped","pr"],[[13275,13275],"mapped","sr"],[[13276,13276],"mapped","sv"],[[13277,13277],"mapped","wb"],[[13278,13278],"mapped","v\u2215m"],[[13279,13279],"mapped","a\u2215m"],[[13280,13280],"mapped","1\u65E5"],[[13281,13281],"mapped","2\u65E5"],[[13282,13282],"mapped","3\u65E5"],[[13283,13283],"mapped","4\u65E5"],[[13284,13284],"mapped","5\u65E5"],[[13285,13285],"mapped","6\u65E5"],[[13286,13286],"mapped","7\u65E5"],[[13287,13287],"mapped","8\u65E5"],[[13288,13288],"mapped","9\u65E5"],[[13289,13289],"mapped","10\u65E5"],[[13290,13290],"mapped","11\u65E5"],[[13291,13291],"mapped","12\u65E5"],[[13292,13292],"mapped","13\u65E5"],[[13293,13293],"mapped","14\u65E5"],[[13294,13294],"mapped","15\u65E5"],[[13295,13295],"mapped","16\u65E5"],[[13296,13296],"mapped","17\u65E5"],[[13297,13297],"mapped","18\u65E5"],[[13298,13298],"mapped","19\u65E5"],[[13299,13299],"mapped","20\u65E5"],[[13300,13300],"mapped","21\u65E5"],[[13301,13301],"mapped","22\u65E5"],[[13302,13302],"mapped","23\u65E5"],[[13303,13303],"mapped","24\u65E5"],[[13304,13304],"mapped","25\u65E5"],[[13305,13305],"mapped","26\u65E5"],[[13306,13306],"mapped","27\u65E5"],[[13307,13307],"mapped","28\u65E5"],[[13308,13308],"mapped","29\u65E5"],[[13309,13309],"mapped","30\u65E5"],[[13310,13310],"mapped","31\u65E5"],[[13311,13311],"mapped","gal"],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid","","NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40938],"valid"],[[40939,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid","","NV8"],[[42146,42147],"valid","","NV8"],[[42148,42163],"valid","","NV8"],[[42164,42164],"valid","","NV8"],[[42165,42176],"valid","","NV8"],[[42177,42177],"valid","","NV8"],[[42178,42180],"valid","","NV8"],[[42181,42181],"valid","","NV8"],[[42182,42182],"valid","","NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid","","NV8"],[[42240,42508],"valid"],[[42509,42511],"valid","","NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped","\uA641"],[[42561,42561],"valid"],[[42562,42562],"mapped","\uA643"],[[42563,42563],"valid"],[[42564,42564],"mapped","\uA645"],[[42565,42565],"valid"],[[42566,42566],"mapped","\uA647"],[[42567,42567],"valid"],[[42568,42568],"mapped","\uA649"],[[42569,42569],"valid"],[[42570,42570],"mapped","\uA64B"],[[42571,42571],"valid"],[[42572,42572],"mapped","\uA64D"],[[42573,42573],"valid"],[[42574,42574],"mapped","\uA64F"],[[42575,42575],"valid"],[[42576,42576],"mapped","\uA651"],[[42577,42577],"valid"],[[42578,42578],"mapped","\uA653"],[[42579,42579],"valid"],[[42580,42580],"mapped","\uA655"],[[42581,42581],"valid"],[[42582,42582],"mapped","\uA657"],[[42583,42583],"valid"],[[42584,42584],"mapped","\uA659"],[[42585,42585],"valid"],[[42586,42586],"mapped","\uA65B"],[[42587,42587],"valid"],[[42588,42588],"mapped","\uA65D"],[[42589,42589],"valid"],[[42590,42590],"mapped","\uA65F"],[[42591,42591],"valid"],[[42592,42592],"mapped","\uA661"],[[42593,42593],"valid"],[[42594,42594],"mapped","\uA663"],[[42595,42595],"valid"],[[42596,42596],"mapped","\uA665"],[[42597,42597],"valid"],[[42598,42598],"mapped","\uA667"],[[42599,42599],"valid"],[[42600,42600],"mapped","\uA669"],[[42601,42601],"valid"],[[42602,42602],"mapped","\uA66B"],[[42603,42603],"valid"],[[42604,42604],"mapped","\uA66D"],[[42605,42607],"valid"],[[42608,42611],"valid","","NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid","","NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped","\uA681"],[[42625,42625],"valid"],[[42626,42626],"mapped","\uA683"],[[42627,42627],"valid"],[[42628,42628],"mapped","\uA685"],[[42629,42629],"valid"],[[42630,42630],"mapped","\uA687"],[[42631,42631],"valid"],[[42632,42632],"mapped","\uA689"],[[42633,42633],"valid"],[[42634,42634],"mapped","\uA68B"],[[42635,42635],"valid"],[[42636,42636],"mapped","\uA68D"],[[42637,42637],"valid"],[[42638,42638],"mapped","\uA68F"],[[42639,42639],"valid"],[[42640,42640],"mapped","\uA691"],[[42641,42641],"valid"],[[42642,42642],"mapped","\uA693"],[[42643,42643],"valid"],[[42644,42644],"mapped","\uA695"],[[42645,42645],"valid"],[[42646,42646],"mapped","\uA697"],[[42647,42647],"valid"],[[42648,42648],"mapped","\uA699"],[[42649,42649],"valid"],[[42650,42650],"mapped","\uA69B"],[[42651,42651],"valid"],[[42652,42652],"mapped","\u044A"],[[42653,42653],"mapped","\u044C"],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid","","NV8"],[[42736,42737],"valid"],[[42738,42743],"valid","","NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid","","NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid","","NV8"],[[42786,42786],"mapped","\uA723"],[[42787,42787],"valid"],[[42788,42788],"mapped","\uA725"],[[42789,42789],"valid"],[[42790,42790],"mapped","\uA727"],[[42791,42791],"valid"],[[42792,42792],"mapped","\uA729"],[[42793,42793],"valid"],[[42794,42794],"mapped","\uA72B"],[[42795,42795],"valid"],[[42796,42796],"mapped","\uA72D"],[[42797,42797],"valid"],[[42798,42798],"mapped","\uA72F"],[[42799,42801],"valid"],[[42802,42802],"mapped","\uA733"],[[42803,42803],"valid"],[[42804,42804],"mapped","\uA735"],[[42805,42805],"valid"],[[42806,42806],"mapped","\uA737"],[[42807,42807],"valid"],[[42808,42808],"mapped","\uA739"],[[42809,42809],"valid"],[[42810,42810],"mapped","\uA73B"],[[42811,42811],"valid"],[[42812,42812],"mapped","\uA73D"],[[42813,42813],"valid"],[[42814,42814],"mapped","\uA73F"],[[42815,42815],"valid"],[[42816,42816],"mapped","\uA741"],[[42817,42817],"valid"],[[42818,42818],"mapped","\uA743"],[[42819,42819],"valid"],[[42820,42820],"mapped","\uA745"],[[42821,42821],"valid"],[[42822,42822],"mapped","\uA747"],[[42823,42823],"valid"],[[42824,42824],"mapped","\uA749"],[[42825,42825],"valid"],[[42826,42826],"mapped","\uA74B"],[[42827,42827],"valid"],[[42828,42828],"mapped","\uA74D"],[[42829,42829],"valid"],[[42830,42830],"mapped","\uA74F"],[[42831,42831],"valid"],[[42832,42832],"mapped","\uA751"],[[42833,42833],"valid"],[[42834,42834],"mapped","\uA753"],[[42835,42835],"valid"],[[42836,42836],"mapped","\uA755"],[[42837,42837],"valid"],[[42838,42838],"mapped","\uA757"],[[42839,42839],"valid"],[[42840,42840],"mapped","\uA759"],[[42841,42841],"valid"],[[42842,42842],"mapped","\uA75B"],[[42843,42843],"valid"],[[42844,42844],"mapped","\uA75D"],[[42845,42845],"valid"],[[42846,42846],"mapped","\uA75F"],[[42847,42847],"valid"],[[42848,42848],"mapped","\uA761"],[[42849,42849],"valid"],[[42850,42850],"mapped","\uA763"],[[42851,42851],"valid"],[[42852,42852],"mapped","\uA765"],[[42853,42853],"valid"],[[42854,42854],"mapped","\uA767"],[[42855,42855],"valid"],[[42856,42856],"mapped","\uA769"],[[42857,42857],"valid"],[[42858,42858],"mapped","\uA76B"],[[42859,42859],"valid"],[[42860,42860],"mapped","\uA76D"],[[42861,42861],"valid"],[[42862,42862],"mapped","\uA76F"],[[42863,42863],"valid"],[[42864,42864],"mapped","\uA76F"],[[42865,42872],"valid"],[[42873,42873],"mapped","\uA77A"],[[42874,42874],"valid"],[[42875,42875],"mapped","\uA77C"],[[42876,42876],"valid"],[[42877,42877],"mapped","\u1D79"],[[42878,42878],"mapped","\uA77F"],[[42879,42879],"valid"],[[42880,42880],"mapped","\uA781"],[[42881,42881],"valid"],[[42882,42882],"mapped","\uA783"],[[42883,42883],"valid"],[[42884,42884],"mapped","\uA785"],[[42885,42885],"valid"],[[42886,42886],"mapped","\uA787"],[[42887,42888],"valid"],[[42889,42890],"valid","","NV8"],[[42891,42891],"mapped","\uA78C"],[[42892,42892],"valid"],[[42893,42893],"mapped","\u0265"],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped","\uA791"],[[42897,42897],"valid"],[[42898,42898],"mapped","\uA793"],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped","\uA797"],[[42903,42903],"valid"],[[42904,42904],"mapped","\uA799"],[[42905,42905],"valid"],[[42906,42906],"mapped","\uA79B"],[[42907,42907],"valid"],[[42908,42908],"mapped","\uA79D"],[[42909,42909],"valid"],[[42910,42910],"mapped","\uA79F"],[[42911,42911],"valid"],[[42912,42912],"mapped","\uA7A1"],[[42913,42913],"valid"],[[42914,42914],"mapped","\uA7A3"],[[42915,42915],"valid"],[[42916,42916],"mapped","\uA7A5"],[[42917,42917],"valid"],[[42918,42918],"mapped","\uA7A7"],[[42919,42919],"valid"],[[42920,42920],"mapped","\uA7A9"],[[42921,42921],"valid"],[[42922,42922],"mapped","\u0266"],[[42923,42923],"mapped","\u025C"],[[42924,42924],"mapped","\u0261"],[[42925,42925],"mapped","\u026C"],[[42926,42926],"mapped","\u026A"],[[42927,42927],"disallowed"],[[42928,42928],"mapped","\u029E"],[[42929,42929],"mapped","\u0287"],[[42930,42930],"mapped","\u029D"],[[42931,42931],"mapped","\uAB53"],[[42932,42932],"mapped","\uA7B5"],[[42933,42933],"valid"],[[42934,42934],"mapped","\uA7B7"],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43e3,43e3],"mapped","\u0127"],[[43001,43001],"mapped","\u0153"],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid","","NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid","","NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid","","NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43205],"valid"],[[43206,43213],"disallowed"],[[43214,43215],"valid","","NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid","","NV8"],[[43259,43259],"valid"],[[43260,43260],"valid","","NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid","","NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid","","NV8"],[[43360,43388],"valid","","NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid","","NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid","","NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid","","NV8"],[[43616,43638],"valid"],[[43639,43641],"valid","","NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid","","NV8"],[[43744,43759],"valid"],[[43760,43761],"valid","","NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid","","NV8"],[[43868,43868],"mapped","\uA727"],[[43869,43869],"mapped","\uAB37"],[[43870,43870],"mapped","\u026B"],[[43871,43871],"mapped","\uAB52"],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped","\u13A0"],[[43889,43889],"mapped","\u13A1"],[[43890,43890],"mapped","\u13A2"],[[43891,43891],"mapped","\u13A3"],[[43892,43892],"mapped","\u13A4"],[[43893,43893],"mapped","\u13A5"],[[43894,43894],"mapped","\u13A6"],[[43895,43895],"mapped","\u13A7"],[[43896,43896],"mapped","\u13A8"],[[43897,43897],"mapped","\u13A9"],[[43898,43898],"mapped","\u13AA"],[[43899,43899],"mapped","\u13AB"],[[43900,43900],"mapped","\u13AC"],[[43901,43901],"mapped","\u13AD"],[[43902,43902],"mapped","\u13AE"],[[43903,43903],"mapped","\u13AF"],[[43904,43904],"mapped","\u13B0"],[[43905,43905],"mapped","\u13B1"],[[43906,43906],"mapped","\u13B2"],[[43907,43907],"mapped","\u13B3"],[[43908,43908],"mapped","\u13B4"],[[43909,43909],"mapped","\u13B5"],[[43910,43910],"mapped","\u13B6"],[[43911,43911],"mapped","\u13B7"],[[43912,43912],"mapped","\u13B8"],[[43913,43913],"mapped","\u13B9"],[[43914,43914],"mapped","\u13BA"],[[43915,43915],"mapped","\u13BB"],[[43916,43916],"mapped","\u13BC"],[[43917,43917],"mapped","\u13BD"],[[43918,43918],"mapped","\u13BE"],[[43919,43919],"mapped","\u13BF"],[[43920,43920],"mapped","\u13C0"],[[43921,43921],"mapped","\u13C1"],[[43922,43922],"mapped","\u13C2"],[[43923,43923],"mapped","\u13C3"],[[43924,43924],"mapped","\u13C4"],[[43925,43925],"mapped","\u13C5"],[[43926,43926],"mapped","\u13C6"],[[43927,43927],"mapped","\u13C7"],[[43928,43928],"mapped","\u13C8"],[[43929,43929],"mapped","\u13C9"],[[43930,43930],"mapped","\u13CA"],[[43931,43931],"mapped","\u13CB"],[[43932,43932],"mapped","\u13CC"],[[43933,43933],"mapped","\u13CD"],[[43934,43934],"mapped","\u13CE"],[[43935,43935],"mapped","\u13CF"],[[43936,43936],"mapped","\u13D0"],[[43937,43937],"mapped","\u13D1"],[[43938,43938],"mapped","\u13D2"],[[43939,43939],"mapped","\u13D3"],[[43940,43940],"mapped","\u13D4"],[[43941,43941],"mapped","\u13D5"],[[43942,43942],"mapped","\u13D6"],[[43943,43943],"mapped","\u13D7"],[[43944,43944],"mapped","\u13D8"],[[43945,43945],"mapped","\u13D9"],[[43946,43946],"mapped","\u13DA"],[[43947,43947],"mapped","\u13DB"],[[43948,43948],"mapped","\u13DC"],[[43949,43949],"mapped","\u13DD"],[[43950,43950],"mapped","\u13DE"],[[43951,43951],"mapped","\u13DF"],[[43952,43952],"mapped","\u13E0"],[[43953,43953],"mapped","\u13E1"],[[43954,43954],"mapped","\u13E2"],[[43955,43955],"mapped","\u13E3"],[[43956,43956],"mapped","\u13E4"],[[43957,43957],"mapped","\u13E5"],[[43958,43958],"mapped","\u13E6"],[[43959,43959],"mapped","\u13E7"],[[43960,43960],"mapped","\u13E8"],[[43961,43961],"mapped","\u13E9"],[[43962,43962],"mapped","\u13EA"],[[43963,43963],"mapped","\u13EB"],[[43964,43964],"mapped","\u13EC"],[[43965,43965],"mapped","\u13ED"],[[43966,43966],"mapped","\u13EE"],[[43967,43967],"mapped","\u13EF"],[[43968,44010],"valid"],[[44011,44011],"valid","","NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid","","NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid","","NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped","\u8C48"],[[63745,63745],"mapped","\u66F4"],[[63746,63746],"mapped","\u8ECA"],[[63747,63747],"mapped","\u8CC8"],[[63748,63748],"mapped","\u6ED1"],[[63749,63749],"mapped","\u4E32"],[[63750,63750],"mapped","\u53E5"],[[63751,63752],"mapped","\u9F9C"],[[63753,63753],"mapped","\u5951"],[[63754,63754],"mapped","\u91D1"],[[63755,63755],"mapped","\u5587"],[[63756,63756],"mapped","\u5948"],[[63757,63757],"mapped","\u61F6"],[[63758,63758],"mapped","\u7669"],[[63759,63759],"mapped","\u7F85"],[[63760,63760],"mapped","\u863F"],[[63761,63761],"mapped","\u87BA"],[[63762,63762],"mapped","\u88F8"],[[63763,63763],"mapped","\u908F"],[[63764,63764],"mapped","\u6A02"],[[63765,63765],"mapped","\u6D1B"],[[63766,63766],"mapped","\u70D9"],[[63767,63767],"mapped","\u73DE"],[[63768,63768],"mapped","\u843D"],[[63769,63769],"mapped","\u916A"],[[63770,63770],"mapped","\u99F1"],[[63771,63771],"mapped","\u4E82"],[[63772,63772],"mapped","\u5375"],[[63773,63773],"mapped","\u6B04"],[[63774,63774],"mapped","\u721B"],[[63775,63775],"mapped","\u862D"],[[63776,63776],"mapped","\u9E1E"],[[63777,63777],"mapped","\u5D50"],[[63778,63778],"mapped","\u6FEB"],[[63779,63779],"mapped","\u85CD"],[[63780,63780],"mapped","\u8964"],[[63781,63781],"mapped","\u62C9"],[[63782,63782],"mapped","\u81D8"],[[63783,63783],"mapped","\u881F"],[[63784,63784],"mapped","\u5ECA"],[[63785,63785],"mapped","\u6717"],[[63786,63786],"mapped","\u6D6A"],[[63787,63787],"mapped","\u72FC"],[[63788,63788],"mapped","\u90CE"],[[63789,63789],"mapped","\u4F86"],[[63790,63790],"mapped","\u51B7"],[[63791,63791],"mapped","\u52DE"],[[63792,63792],"mapped","\u64C4"],[[63793,63793],"mapped","\u6AD3"],[[63794,63794],"mapped","\u7210"],[[63795,63795],"mapped","\u76E7"],[[63796,63796],"mapped","\u8001"],[[63797,63797],"mapped","\u8606"],[[63798,63798],"mapped","\u865C"],[[63799,63799],"mapped","\u8DEF"],[[63800,63800],"mapped","\u9732"],[[63801,63801],"mapped","\u9B6F"],[[63802,63802],"mapped","\u9DFA"],[[63803,63803],"mapped","\u788C"],[[63804,63804],"mapped","\u797F"],[[63805,63805],"mapped","\u7DA0"],[[63806,63806],"mapped","\u83C9"],[[63807,63807],"mapped","\u9304"],[[63808,63808],"mapped","\u9E7F"],[[63809,63809],"mapped","\u8AD6"],[[63810,63810],"mapped","\u58DF"],[[63811,63811],"mapped","\u5F04"],[[63812,63812],"mapped","\u7C60"],[[63813,63813],"mapped","\u807E"],[[63814,63814],"mapped","\u7262"],[[63815,63815],"mapped","\u78CA"],[[63816,63816],"mapped","\u8CC2"],[[63817,63817],"mapped","\u96F7"],[[63818,63818],"mapped","\u58D8"],[[63819,63819],"mapped","\u5C62"],[[63820,63820],"mapped","\u6A13"],[[63821,63821],"mapped","\u6DDA"],[[63822,63822],"mapped","\u6F0F"],[[63823,63823],"mapped","\u7D2F"],[[63824,63824],"mapped","\u7E37"],[[63825,63825],"mapped","\u964B"],[[63826,63826],"mapped","\u52D2"],[[63827,63827],"mapped","\u808B"],[[63828,63828],"mapped","\u51DC"],[[63829,63829],"mapped","\u51CC"],[[63830,63830],"mapped","\u7A1C"],[[63831,63831],"mapped","\u7DBE"],[[63832,63832],"mapped","\u83F1"],[[63833,63833],"mapped","\u9675"],[[63834,63834],"mapped","\u8B80"],[[63835,63835],"mapped","\u62CF"],[[63836,63836],"mapped","\u6A02"],[[63837,63837],"mapped","\u8AFE"],[[63838,63838],"mapped","\u4E39"],[[63839,63839],"mapped","\u5BE7"],[[63840,63840],"mapped","\u6012"],[[63841,63841],"mapped","\u7387"],[[63842,63842],"mapped","\u7570"],[[63843,63843],"mapped","\u5317"],[[63844,63844],"mapped","\u78FB"],[[63845,63845],"mapped","\u4FBF"],[[63846,63846],"mapped","\u5FA9"],[[63847,63847],"mapped","\u4E0D"],[[63848,63848],"mapped","\u6CCC"],[[63849,63849],"mapped","\u6578"],[[63850,63850],"mapped","\u7D22"],[[63851,63851],"mapped","\u53C3"],[[63852,63852],"mapped","\u585E"],[[63853,63853],"mapped","\u7701"],[[63854,63854],"mapped","\u8449"],[[63855,63855],"mapped","\u8AAA"],[[63856,63856],"mapped","\u6BBA"],[[63857,63857],"mapped","\u8FB0"],[[63858,63858],"mapped","\u6C88"],[[63859,63859],"mapped","\u62FE"],[[63860,63860],"mapped","\u82E5"],[[63861,63861],"mapped","\u63A0"],[[63862,63862],"mapped","\u7565"],[[63863,63863],"mapped","\u4EAE"],[[63864,63864],"mapped","\u5169"],[[63865,63865],"mapped","\u51C9"],[[63866,63866],"mapped","\u6881"],[[63867,63867],"mapped","\u7CE7"],[[63868,63868],"mapped","\u826F"],[[63869,63869],"mapped","\u8AD2"],[[63870,63870],"mapped","\u91CF"],[[63871,63871],"mapped","\u52F5"],[[63872,63872],"mapped","\u5442"],[[63873,63873],"mapped","\u5973"],[[63874,63874],"mapped","\u5EEC"],[[63875,63875],"mapped","\u65C5"],[[63876,63876],"mapped","\u6FFE"],[[63877,63877],"mapped","\u792A"],[[63878,63878],"mapped","\u95AD"],[[63879,63879],"mapped","\u9A6A"],[[63880,63880],"mapped","\u9E97"],[[63881,63881],"mapped","\u9ECE"],[[63882,63882],"mapped","\u529B"],[[63883,63883],"mapped","\u66C6"],[[63884,63884],"mapped","\u6B77"],[[63885,63885],"mapped","\u8F62"],[[63886,63886],"mapped","\u5E74"],[[63887,63887],"mapped","\u6190"],[[63888,63888],"mapped","\u6200"],[[63889,63889],"mapped","\u649A"],[[63890,63890],"mapped","\u6F23"],[[63891,63891],"mapped","\u7149"],[[63892,63892],"mapped","\u7489"],[[63893,63893],"mapped","\u79CA"],[[63894,63894],"mapped","\u7DF4"],[[63895,63895],"mapped","\u806F"],[[63896,63896],"mapped","\u8F26"],[[63897,63897],"mapped","\u84EE"],[[63898,63898],"mapped","\u9023"],[[63899,63899],"mapped","\u934A"],[[63900,63900],"mapped","\u5217"],[[63901,63901],"mapped","\u52A3"],[[63902,63902],"mapped","\u54BD"],[[63903,63903],"mapped","\u70C8"],[[63904,63904],"mapped","\u88C2"],[[63905,63905],"mapped","\u8AAA"],[[63906,63906],"mapped","\u5EC9"],[[63907,63907],"mapped","\u5FF5"],[[63908,63908],"mapped","\u637B"],[[63909,63909],"mapped","\u6BAE"],[[63910,63910],"mapped","\u7C3E"],[[63911,63911],"mapped","\u7375"],[[63912,63912],"mapped","\u4EE4"],[[63913,63913],"mapped","\u56F9"],[[63914,63914],"mapped","\u5BE7"],[[63915,63915],"mapped","\u5DBA"],[[63916,63916],"mapped","\u601C"],[[63917,63917],"mapped","\u73B2"],[[63918,63918],"mapped","\u7469"],[[63919,63919],"mapped","\u7F9A"],[[63920,63920],"mapped","\u8046"],[[63921,63921],"mapped","\u9234"],[[63922,63922],"mapped","\u96F6"],[[63923,63923],"mapped","\u9748"],[[63924,63924],"mapped","\u9818"],[[63925,63925],"mapped","\u4F8B"],[[63926,63926],"mapped","\u79AE"],[[63927,63927],"mapped","\u91B4"],[[63928,63928],"mapped","\u96B8"],[[63929,63929],"mapped","\u60E1"],[[63930,63930],"mapped","\u4E86"],[[63931,63931],"mapped","\u50DA"],[[63932,63932],"mapped","\u5BEE"],[[63933,63933],"mapped","\u5C3F"],[[63934,63934],"mapped","\u6599"],[[63935,63935],"mapped","\u6A02"],[[63936,63936],"mapped","\u71CE"],[[63937,63937],"mapped","\u7642"],[[63938,63938],"mapped","\u84FC"],[[63939,63939],"mapped","\u907C"],[[63940,63940],"mapped","\u9F8D"],[[63941,63941],"mapped","\u6688"],[[63942,63942],"mapped","\u962E"],[[63943,63943],"mapped","\u5289"],[[63944,63944],"mapped","\u677B"],[[63945,63945],"mapped","\u67F3"],[[63946,63946],"mapped","\u6D41"],[[63947,63947],"mapped","\u6E9C"],[[63948,63948],"mapped","\u7409"],[[63949,63949],"mapped","\u7559"],[[63950,63950],"mapped","\u786B"],[[63951,63951],"mapped","\u7D10"],[[63952,63952],"mapped","\u985E"],[[63953,63953],"mapped","\u516D"],[[63954,63954],"mapped","\u622E"],[[63955,63955],"mapped","\u9678"],[[63956,63956],"mapped","\u502B"],[[63957,63957],"mapped","\u5D19"],[[63958,63958],"mapped","\u6DEA"],[[63959,63959],"mapped","\u8F2A"],[[63960,63960],"mapped","\u5F8B"],[[63961,63961],"mapped","\u6144"],[[63962,63962],"mapped","\u6817"],[[63963,63963],"mapped","\u7387"],[[63964,63964],"mapped","\u9686"],[[63965,63965],"mapped","\u5229"],[[63966,63966],"mapped","\u540F"],[[63967,63967],"mapped","\u5C65"],[[63968,63968],"mapped","\u6613"],[[63969,63969],"mapped","\u674E"],[[63970,63970],"mapped","\u68A8"],[[63971,63971],"mapped","\u6CE5"],[[63972,63972],"mapped","\u7406"],[[63973,63973],"mapped","\u75E2"],[[63974,63974],"mapped","\u7F79"],[[63975,63975],"mapped","\u88CF"],[[63976,63976],"mapped","\u88E1"],[[63977,63977],"mapped","\u91CC"],[[63978,63978],"mapped","\u96E2"],[[63979,63979],"mapped","\u533F"],[[63980,63980],"mapped","\u6EBA"],[[63981,63981],"mapped","\u541D"],[[63982,63982],"mapped","\u71D0"],[[63983,63983],"mapped","\u7498"],[[63984,63984],"mapped","\u85FA"],[[63985,63985],"mapped","\u96A3"],[[63986,63986],"mapped","\u9C57"],[[63987,63987],"mapped","\u9E9F"],[[63988,63988],"mapped","\u6797"],[[63989,63989],"mapped","\u6DCB"],[[63990,63990],"mapped","\u81E8"],[[63991,63991],"mapped","\u7ACB"],[[63992,63992],"mapped","\u7B20"],[[63993,63993],"mapped","\u7C92"],[[63994,63994],"mapped","\u72C0"],[[63995,63995],"mapped","\u7099"],[[63996,63996],"mapped","\u8B58"],[[63997,63997],"mapped","\u4EC0"],[[63998,63998],"mapped","\u8336"],[[63999,63999],"mapped","\u523A"],[[64e3,64e3],"mapped","\u5207"],[[64001,64001],"mapped","\u5EA6"],[[64002,64002],"mapped","\u62D3"],[[64003,64003],"mapped","\u7CD6"],[[64004,64004],"mapped","\u5B85"],[[64005,64005],"mapped","\u6D1E"],[[64006,64006],"mapped","\u66B4"],[[64007,64007],"mapped","\u8F3B"],[[64008,64008],"mapped","\u884C"],[[64009,64009],"mapped","\u964D"],[[64010,64010],"mapped","\u898B"],[[64011,64011],"mapped","\u5ED3"],[[64012,64012],"mapped","\u5140"],[[64013,64013],"mapped","\u55C0"],[[64014,64015],"valid"],[[64016,64016],"mapped","\u585A"],[[64017,64017],"valid"],[[64018,64018],"mapped","\u6674"],[[64019,64020],"valid"],[[64021,64021],"mapped","\u51DE"],[[64022,64022],"mapped","\u732A"],[[64023,64023],"mapped","\u76CA"],[[64024,64024],"mapped","\u793C"],[[64025,64025],"mapped","\u795E"],[[64026,64026],"mapped","\u7965"],[[64027,64027],"mapped","\u798F"],[[64028,64028],"mapped","\u9756"],[[64029,64029],"mapped","\u7CBE"],[[64030,64030],"mapped","\u7FBD"],[[64031,64031],"valid"],[[64032,64032],"mapped","\u8612"],[[64033,64033],"valid"],[[64034,64034],"mapped","\u8AF8"],[[64035,64036],"valid"],[[64037,64037],"mapped","\u9038"],[[64038,64038],"mapped","\u90FD"],[[64039,64041],"valid"],[[64042,64042],"mapped","\u98EF"],[[64043,64043],"mapped","\u98FC"],[[64044,64044],"mapped","\u9928"],[[64045,64045],"mapped","\u9DB4"],[[64046,64046],"mapped","\u90DE"],[[64047,64047],"mapped","\u96B7"],[[64048,64048],"mapped","\u4FAE"],[[64049,64049],"mapped","\u50E7"],[[64050,64050],"mapped","\u514D"],[[64051,64051],"mapped","\u52C9"],[[64052,64052],"mapped","\u52E4"],[[64053,64053],"mapped","\u5351"],[[64054,64054],"mapped","\u559D"],[[64055,64055],"mapped","\u5606"],[[64056,64056],"mapped","\u5668"],[[64057,64057],"mapped","\u5840"],[[64058,64058],"mapped","\u58A8"],[[64059,64059],"mapped","\u5C64"],[[64060,64060],"mapped","\u5C6E"],[[64061,64061],"mapped","\u6094"],[[64062,64062],"mapped","\u6168"],[[64063,64063],"mapped","\u618E"],[[64064,64064],"mapped","\u61F2"],[[64065,64065],"mapped","\u654F"],[[64066,64066],"mapped","\u65E2"],[[64067,64067],"mapped","\u6691"],[[64068,64068],"mapped","\u6885"],[[64069,64069],"mapped","\u6D77"],[[64070,64070],"mapped","\u6E1A"],[[64071,64071],"mapped","\u6F22"],[[64072,64072],"mapped","\u716E"],[[64073,64073],"mapped","\u722B"],[[64074,64074],"mapped","\u7422"],[[64075,64075],"mapped","\u7891"],[[64076,64076],"mapped","\u793E"],[[64077,64077],"mapped","\u7949"],[[64078,64078],"mapped","\u7948"],[[64079,64079],"mapped","\u7950"],[[64080,64080],"mapped","\u7956"],[[64081,64081],"mapped","\u795D"],[[64082,64082],"mapped","\u798D"],[[64083,64083],"mapped","\u798E"],[[64084,64084],"mapped","\u7A40"],[[64085,64085],"mapped","\u7A81"],[[64086,64086],"mapped","\u7BC0"],[[64087,64087],"mapped","\u7DF4"],[[64088,64088],"mapped","\u7E09"],[[64089,64089],"mapped","\u7E41"],[[64090,64090],"mapped","\u7F72"],[[64091,64091],"mapped","\u8005"],[[64092,64092],"mapped","\u81ED"],[[64093,64094],"mapped","\u8279"],[[64095,64095],"mapped","\u8457"],[[64096,64096],"mapped","\u8910"],[[64097,64097],"mapped","\u8996"],[[64098,64098],"mapped","\u8B01"],[[64099,64099],"mapped","\u8B39"],[[64100,64100],"mapped","\u8CD3"],[[64101,64101],"mapped","\u8D08"],[[64102,64102],"mapped","\u8FB6"],[[64103,64103],"mapped","\u9038"],[[64104,64104],"mapped","\u96E3"],[[64105,64105],"mapped","\u97FF"],[[64106,64106],"mapped","\u983B"],[[64107,64107],"mapped","\u6075"],[[64108,64108],"mapped","\u{242EE}"],[[64109,64109],"mapped","\u8218"],[[64110,64111],"disallowed"],[[64112,64112],"mapped","\u4E26"],[[64113,64113],"mapped","\u51B5"],[[64114,64114],"mapped","\u5168"],[[64115,64115],"mapped","\u4F80"],[[64116,64116],"mapped","\u5145"],[[64117,64117],"mapped","\u5180"],[[64118,64118],"mapped","\u52C7"],[[64119,64119],"mapped","\u52FA"],[[64120,64120],"mapped","\u559D"],[[64121,64121],"mapped","\u5555"],[[64122,64122],"mapped","\u5599"],[[64123,64123],"mapped","\u55E2"],[[64124,64124],"mapped","\u585A"],[[64125,64125],"mapped","\u58B3"],[[64126,64126],"mapped","\u5944"],[[64127,64127],"mapped","\u5954"],[[64128,64128],"mapped","\u5A62"],[[64129,64129],"mapped","\u5B28"],[[64130,64130],"mapped","\u5ED2"],[[64131,64131],"mapped","\u5ED9"],[[64132,64132],"mapped","\u5F69"],[[64133,64133],"mapped","\u5FAD"],[[64134,64134],"mapped","\u60D8"],[[64135,64135],"mapped","\u614E"],[[64136,64136],"mapped","\u6108"],[[64137,64137],"mapped","\u618E"],[[64138,64138],"mapped","\u6160"],[[64139,64139],"mapped","\u61F2"],[[64140,64140],"mapped","\u6234"],[[64141,64141],"mapped","\u63C4"],[[64142,64142],"mapped","\u641C"],[[64143,64143],"mapped","\u6452"],[[64144,64144],"mapped","\u6556"],[[64145,64145],"mapped","\u6674"],[[64146,64146],"mapped","\u6717"],[[64147,64147],"mapped","\u671B"],[[64148,64148],"mapped","\u6756"],[[64149,64149],"mapped","\u6B79"],[[64150,64150],"mapped","\u6BBA"],[[64151,64151],"mapped","\u6D41"],[[64152,64152],"mapped","\u6EDB"],[[64153,64153],"mapped","\u6ECB"],[[64154,64154],"mapped","\u6F22"],[[64155,64155],"mapped","\u701E"],[[64156,64156],"mapped","\u716E"],[[64157,64157],"mapped","\u77A7"],[[64158,64158],"mapped","\u7235"],[[64159,64159],"mapped","\u72AF"],[[64160,64160],"mapped","\u732A"],[[64161,64161],"mapped","\u7471"],[[64162,64162],"mapped","\u7506"],[[64163,64163],"mapped","\u753B"],[[64164,64164],"mapped","\u761D"],[[64165,64165],"mapped","\u761F"],[[64166,64166],"mapped","\u76CA"],[[64167,64167],"mapped","\u76DB"],[[64168,64168],"mapped","\u76F4"],[[64169,64169],"mapped","\u774A"],[[64170,64170],"mapped","\u7740"],[[64171,64171],"mapped","\u78CC"],[[64172,64172],"mapped","\u7AB1"],[[64173,64173],"mapped","\u7BC0"],[[64174,64174],"mapped","\u7C7B"],[[64175,64175],"mapped","\u7D5B"],[[64176,64176],"mapped","\u7DF4"],[[64177,64177],"mapped","\u7F3E"],[[64178,64178],"mapped","\u8005"],[[64179,64179],"mapped","\u8352"],[[64180,64180],"mapped","\u83EF"],[[64181,64181],"mapped","\u8779"],[[64182,64182],"mapped","\u8941"],[[64183,64183],"mapped","\u8986"],[[64184,64184],"mapped","\u8996"],[[64185,64185],"mapped","\u8ABF"],[[64186,64186],"mapped","\u8AF8"],[[64187,64187],"mapped","\u8ACB"],[[64188,64188],"mapped","\u8B01"],[[64189,64189],"mapped","\u8AFE"],[[64190,64190],"mapped","\u8AED"],[[64191,64191],"mapped","\u8B39"],[[64192,64192],"mapped","\u8B8A"],[[64193,64193],"mapped","\u8D08"],[[64194,64194],"mapped","\u8F38"],[[64195,64195],"mapped","\u9072"],[[64196,64196],"mapped","\u9199"],[[64197,64197],"mapped","\u9276"],[[64198,64198],"mapped","\u967C"],[[64199,64199],"mapped","\u96E3"],[[64200,64200],"mapped","\u9756"],[[64201,64201],"mapped","\u97DB"],[[64202,64202],"mapped","\u97FF"],[[64203,64203],"mapped","\u980B"],[[64204,64204],"mapped","\u983B"],[[64205,64205],"mapped","\u9B12"],[[64206,64206],"mapped","\u9F9C"],[[64207,64207],"mapped","\u{2284A}"],[[64208,64208],"mapped","\u{22844}"],[[64209,64209],"mapped","\u{233D5}"],[[64210,64210],"mapped","\u3B9D"],[[64211,64211],"mapped","\u4018"],[[64212,64212],"mapped","\u4039"],[[64213,64213],"mapped","\u{25249}"],[[64214,64214],"mapped","\u{25CD0}"],[[64215,64215],"mapped","\u{27ED3}"],[[64216,64216],"mapped","\u9F43"],[[64217,64217],"mapped","\u9F8E"],[[64218,64255],"disallowed"],[[64256,64256],"mapped","ff"],[[64257,64257],"mapped","fi"],[[64258,64258],"mapped","fl"],[[64259,64259],"mapped","ffi"],[[64260,64260],"mapped","ffl"],[[64261,64262],"mapped","st"],[[64263,64274],"disallowed"],[[64275,64275],"mapped","\u0574\u0576"],[[64276,64276],"mapped","\u0574\u0565"],[[64277,64277],"mapped","\u0574\u056B"],[[64278,64278],"mapped","\u057E\u0576"],[[64279,64279],"mapped","\u0574\u056D"],[[64280,64284],"disallowed"],[[64285,64285],"mapped","\u05D9\u05B4"],[[64286,64286],"valid"],[[64287,64287],"mapped","\u05F2\u05B7"],[[64288,64288],"mapped","\u05E2"],[[64289,64289],"mapped","\u05D0"],[[64290,64290],"mapped","\u05D3"],[[64291,64291],"mapped","\u05D4"],[[64292,64292],"mapped","\u05DB"],[[64293,64293],"mapped","\u05DC"],[[64294,64294],"mapped","\u05DD"],[[64295,64295],"mapped","\u05E8"],[[64296,64296],"mapped","\u05EA"],[[64297,64297],"disallowed_STD3_mapped","+"],[[64298,64298],"mapped","\u05E9\u05C1"],[[64299,64299],"mapped","\u05E9\u05C2"],[[64300,64300],"mapped","\u05E9\u05BC\u05C1"],[[64301,64301],"mapped","\u05E9\u05BC\u05C2"],[[64302,64302],"mapped","\u05D0\u05B7"],[[64303,64303],"mapped","\u05D0\u05B8"],[[64304,64304],"mapped","\u05D0\u05BC"],[[64305,64305],"mapped","\u05D1\u05BC"],[[64306,64306],"mapped","\u05D2\u05BC"],[[64307,64307],"mapped","\u05D3\u05BC"],[[64308,64308],"mapped","\u05D4\u05BC"],[[64309,64309],"mapped","\u05D5\u05BC"],[[64310,64310],"mapped","\u05D6\u05BC"],[[64311,64311],"disallowed"],[[64312,64312],"mapped","\u05D8\u05BC"],[[64313,64313],"mapped","\u05D9\u05BC"],[[64314,64314],"mapped","\u05DA\u05BC"],[[64315,64315],"mapped","\u05DB\u05BC"],[[64316,64316],"mapped","\u05DC\u05BC"],[[64317,64317],"disallowed"],[[64318,64318],"mapped","\u05DE\u05BC"],[[64319,64319],"disallowed"],[[64320,64320],"mapped","\u05E0\u05BC"],[[64321,64321],"mapped","\u05E1\u05BC"],[[64322,64322],"disallowed"],[[64323,64323],"mapped","\u05E3\u05BC"],[[64324,64324],"mapped","\u05E4\u05BC"],[[64325,64325],"disallowed"],[[64326,64326],"mapped","\u05E6\u05BC"],[[64327,64327],"mapped","\u05E7\u05BC"],[[64328,64328],"mapped","\u05E8\u05BC"],[[64329,64329],"mapped","\u05E9\u05BC"],[[64330,64330],"mapped","\u05EA\u05BC"],[[64331,64331],"mapped","\u05D5\u05B9"],[[64332,64332],"mapped","\u05D1\u05BF"],[[64333,64333],"mapped","\u05DB\u05BF"],[[64334,64334],"mapped","\u05E4\u05BF"],[[64335,64335],"mapped","\u05D0\u05DC"],[[64336,64337],"mapped","\u0671"],[[64338,64341],"mapped","\u067B"],[[64342,64345],"mapped","\u067E"],[[64346,64349],"mapped","\u0680"],[[64350,64353],"mapped","\u067A"],[[64354,64357],"mapped","\u067F"],[[64358,64361],"mapped","\u0679"],[[64362,64365],"mapped","\u06A4"],[[64366,64369],"mapped","\u06A6"],[[64370,64373],"mapped","\u0684"],[[64374,64377],"mapped","\u0683"],[[64378,64381],"mapped","\u0686"],[[64382,64385],"mapped","\u0687"],[[64386,64387],"mapped","\u068D"],[[64388,64389],"mapped","\u068C"],[[64390,64391],"mapped","\u068E"],[[64392,64393],"mapped","\u0688"],[[64394,64395],"mapped","\u0698"],[[64396,64397],"mapped","\u0691"],[[64398,64401],"mapped","\u06A9"],[[64402,64405],"mapped","\u06AF"],[[64406,64409],"mapped","\u06B3"],[[64410,64413],"mapped","\u06B1"],[[64414,64415],"mapped","\u06BA"],[[64416,64419],"mapped","\u06BB"],[[64420,64421],"mapped","\u06C0"],[[64422,64425],"mapped","\u06C1"],[[64426,64429],"mapped","\u06BE"],[[64430,64431],"mapped","\u06D2"],[[64432,64433],"mapped","\u06D3"],[[64434,64449],"valid","","NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped","\u06AD"],[[64471,64472],"mapped","\u06C7"],[[64473,64474],"mapped","\u06C6"],[[64475,64476],"mapped","\u06C8"],[[64477,64477],"mapped","\u06C7\u0674"],[[64478,64479],"mapped","\u06CB"],[[64480,64481],"mapped","\u06C5"],[[64482,64483],"mapped","\u06C9"],[[64484,64487],"mapped","\u06D0"],[[64488,64489],"mapped","\u0649"],[[64490,64491],"mapped","\u0626\u0627"],[[64492,64493],"mapped","\u0626\u06D5"],[[64494,64495],"mapped","\u0626\u0648"],[[64496,64497],"mapped","\u0626\u06C7"],[[64498,64499],"mapped","\u0626\u06C6"],[[64500,64501],"mapped","\u0626\u06C8"],[[64502,64504],"mapped","\u0626\u06D0"],[[64505,64507],"mapped","\u0626\u0649"],[[64508,64511],"mapped","\u06CC"],[[64512,64512],"mapped","\u0626\u062C"],[[64513,64513],"mapped","\u0626\u062D"],[[64514,64514],"mapped","\u0626\u0645"],[[64515,64515],"mapped","\u0626\u0649"],[[64516,64516],"mapped","\u0626\u064A"],[[64517,64517],"mapped","\u0628\u062C"],[[64518,64518],"mapped","\u0628\u062D"],[[64519,64519],"mapped","\u0628\u062E"],[[64520,64520],"mapped","\u0628\u0645"],[[64521,64521],"mapped","\u0628\u0649"],[[64522,64522],"mapped","\u0628\u064A"],[[64523,64523],"mapped","\u062A\u062C"],[[64524,64524],"mapped","\u062A\u062D"],[[64525,64525],"mapped","\u062A\u062E"],[[64526,64526],"mapped","\u062A\u0645"],[[64527,64527],"mapped","\u062A\u0649"],[[64528,64528],"mapped","\u062A\u064A"],[[64529,64529],"mapped","\u062B\u062C"],[[64530,64530],"mapped","\u062B\u0645"],[[64531,64531],"mapped","\u062B\u0649"],[[64532,64532],"mapped","\u062B\u064A"],[[64533,64533],"mapped","\u062C\u062D"],[[64534,64534],"mapped","\u062C\u0645"],[[64535,64535],"mapped","\u062D\u062C"],[[64536,64536],"mapped","\u062D\u0645"],[[64537,64537],"mapped","\u062E\u062C"],[[64538,64538],"mapped","\u062E\u062D"],[[64539,64539],"mapped","\u062E\u0645"],[[64540,64540],"mapped","\u0633\u062C"],[[64541,64541],"mapped","\u0633\u062D"],[[64542,64542],"mapped","\u0633\u062E"],[[64543,64543],"mapped","\u0633\u0645"],[[64544,64544],"mapped","\u0635\u062D"],[[64545,64545],"mapped","\u0635\u0645"],[[64546,64546],"mapped","\u0636\u062C"],[[64547,64547],"mapped","\u0636\u062D"],[[64548,64548],"mapped","\u0636\u062E"],[[64549,64549],"mapped","\u0636\u0645"],[[64550,64550],"mapped","\u0637\u062D"],[[64551,64551],"mapped","\u0637\u0645"],[[64552,64552],"mapped","\u0638\u0645"],[[64553,64553],"mapped","\u0639\u062C"],[[64554,64554],"mapped","\u0639\u0645"],[[64555,64555],"mapped","\u063A\u062C"],[[64556,64556],"mapped","\u063A\u0645"],[[64557,64557],"mapped","\u0641\u062C"],[[64558,64558],"mapped","\u0641\u062D"],[[64559,64559],"mapped","\u0641\u062E"],[[64560,64560],"mapped","\u0641\u0645"],[[64561,64561],"mapped","\u0641\u0649"],[[64562,64562],"mapped","\u0641\u064A"],[[64563,64563],"mapped","\u0642\u062D"],[[64564,64564],"mapped","\u0642\u0645"],[[64565,64565],"mapped","\u0642\u0649"],[[64566,64566],"mapped","\u0642\u064A"],[[64567,64567],"mapped","\u0643\u0627"],[[64568,64568],"mapped","\u0643\u062C"],[[64569,64569],"mapped","\u0643\u062D"],[[64570,64570],"mapped","\u0643\u062E"],[[64571,64571],"mapped","\u0643\u0644"],[[64572,64572],"mapped","\u0643\u0645"],[[64573,64573],"mapped","\u0643\u0649"],[[64574,64574],"mapped","\u0643\u064A"],[[64575,64575],"mapped","\u0644\u062C"],[[64576,64576],"mapped","\u0644\u062D"],[[64577,64577],"mapped","\u0644\u062E"],[[64578,64578],"mapped","\u0644\u0645"],[[64579,64579],"mapped","\u0644\u0649"],[[64580,64580],"mapped","\u0644\u064A"],[[64581,64581],"mapped","\u0645\u062C"],[[64582,64582],"mapped","\u0645\u062D"],[[64583,64583],"mapped","\u0645\u062E"],[[64584,64584],"mapped","\u0645\u0645"],[[64585,64585],"mapped","\u0645\u0649"],[[64586,64586],"mapped","\u0645\u064A"],[[64587,64587],"mapped","\u0646\u062C"],[[64588,64588],"mapped","\u0646\u062D"],[[64589,64589],"mapped","\u0646\u062E"],[[64590,64590],"mapped","\u0646\u0645"],[[64591,64591],"mapped","\u0646\u0649"],[[64592,64592],"mapped","\u0646\u064A"],[[64593,64593],"mapped","\u0647\u062C"],[[64594,64594],"mapped","\u0647\u0645"],[[64595,64595],"mapped","\u0647\u0649"],[[64596,64596],"mapped","\u0647\u064A"],[[64597,64597],"mapped","\u064A\u062C"],[[64598,64598],"mapped","\u064A\u062D"],[[64599,64599],"mapped","\u064A\u062E"],[[64600,64600],"mapped","\u064A\u0645"],[[64601,64601],"mapped","\u064A\u0649"],[[64602,64602],"mapped","\u064A\u064A"],[[64603,64603],"mapped","\u0630\u0670"],[[64604,64604],"mapped","\u0631\u0670"],[[64605,64605],"mapped","\u0649\u0670"],[[64606,64606],"disallowed_STD3_mapped"," \u064C\u0651"],[[64607,64607],"disallowed_STD3_mapped"," \u064D\u0651"],[[64608,64608],"disallowed_STD3_mapped"," \u064E\u0651"],[[64609,64609],"disallowed_STD3_mapped"," \u064F\u0651"],[[64610,64610],"disallowed_STD3_mapped"," \u0650\u0651"],[[64611,64611],"disallowed_STD3_mapped"," \u0651\u0670"],[[64612,64612],"mapped","\u0626\u0631"],[[64613,64613],"mapped","\u0626\u0632"],[[64614,64614],"mapped","\u0626\u0645"],[[64615,64615],"mapped","\u0626\u0646"],[[64616,64616],"mapped","\u0626\u0649"],[[64617,64617],"mapped","\u0626\u064A"],[[64618,64618],"mapped","\u0628\u0631"],[[64619,64619],"mapped","\u0628\u0632"],[[64620,64620],"mapped","\u0628\u0645"],[[64621,64621],"mapped","\u0628\u0646"],[[64622,64622],"mapped","\u0628\u0649"],[[64623,64623],"mapped","\u0628\u064A"],[[64624,64624],"mapped","\u062A\u0631"],[[64625,64625],"mapped","\u062A\u0632"],[[64626,64626],"mapped","\u062A\u0645"],[[64627,64627],"mapped","\u062A\u0646"],[[64628,64628],"mapped","\u062A\u0649"],[[64629,64629],"mapped","\u062A\u064A"],[[64630,64630],"mapped","\u062B\u0631"],[[64631,64631],"mapped","\u062B\u0632"],[[64632,64632],"mapped","\u062B\u0645"],[[64633,64633],"mapped","\u062B\u0646"],[[64634,64634],"mapped","\u062B\u0649"],[[64635,64635],"mapped","\u062B\u064A"],[[64636,64636],"mapped","\u0641\u0649"],[[64637,64637],"mapped","\u0641\u064A"],[[64638,64638],"mapped","\u0642\u0649"],[[64639,64639],"mapped","\u0642\u064A"],[[64640,64640],"mapped","\u0643\u0627"],[[64641,64641],"mapped","\u0643\u0644"],[[64642,64642],"mapped","\u0643\u0645"],[[64643,64643],"mapped","\u0643\u0649"],[[64644,64644],"mapped","\u0643\u064A"],[[64645,64645],"mapped","\u0644\u0645"],[[64646,64646],"mapped","\u0644\u0649"],[[64647,64647],"mapped","\u0644\u064A"],[[64648,64648],"mapped","\u0645\u0627"],[[64649,64649],"mapped","\u0645\u0645"],[[64650,64650],"mapped","\u0646\u0631"],[[64651,64651],"mapped","\u0646\u0632"],[[64652,64652],"mapped","\u0646\u0645"],[[64653,64653],"mapped","\u0646\u0646"],[[64654,64654],"mapped","\u0646\u0649"],[[64655,64655],"mapped","\u0646\u064A"],[[64656,64656],"mapped","\u0649\u0670"],[[64657,64657],"mapped","\u064A\u0631"],[[64658,64658],"mapped","\u064A\u0632"],[[64659,64659],"mapped","\u064A\u0645"],[[64660,64660],"mapped","\u064A\u0646"],[[64661,64661],"mapped","\u064A\u0649"],[[64662,64662],"mapped","\u064A\u064A"],[[64663,64663],"mapped","\u0626\u062C"],[[64664,64664],"mapped","\u0626\u062D"],[[64665,64665],"mapped","\u0626\u062E"],[[64666,64666],"mapped","\u0626\u0645"],[[64667,64667],"mapped","\u0626\u0647"],[[64668,64668],"mapped","\u0628\u062C"],[[64669,64669],"mapped","\u0628\u062D"],[[64670,64670],"mapped","\u0628\u062E"],[[64671,64671],"mapped","\u0628\u0645"],[[64672,64672],"mapped","\u0628\u0647"],[[64673,64673],"mapped","\u062A\u062C"],[[64674,64674],"mapped","\u062A\u062D"],[[64675,64675],"mapped","\u062A\u062E"],[[64676,64676],"mapped","\u062A\u0645"],[[64677,64677],"mapped","\u062A\u0647"],[[64678,64678],"mapped","\u062B\u0645"],[[64679,64679],"mapped","\u062C\u062D"],[[64680,64680],"mapped","\u062C\u0645"],[[64681,64681],"mapped","\u062D\u062C"],[[64682,64682],"mapped","\u062D\u0645"],[[64683,64683],"mapped","\u062E\u062C"],[[64684,64684],"mapped","\u062E\u0645"],[[64685,64685],"mapped","\u0633\u062C"],[[64686,64686],"mapped","\u0633\u062D"],[[64687,64687],"mapped","\u0633\u062E"],[[64688,64688],"mapped","\u0633\u0645"],[[64689,64689],"mapped","\u0635\u062D"],[[64690,64690],"mapped","\u0635\u062E"],[[64691,64691],"mapped","\u0635\u0645"],[[64692,64692],"mapped","\u0636\u062C"],[[64693,64693],"mapped","\u0636\u062D"],[[64694,64694],"mapped","\u0636\u062E"],[[64695,64695],"mapped","\u0636\u0645"],[[64696,64696],"mapped","\u0637\u062D"],[[64697,64697],"mapped","\u0638\u0645"],[[64698,64698],"mapped","\u0639\u062C"],[[64699,64699],"mapped","\u0639\u0645"],[[64700,64700],"mapped","\u063A\u062C"],[[64701,64701],"mapped","\u063A\u0645"],[[64702,64702],"mapped","\u0641\u062C"],[[64703,64703],"mapped","\u0641\u062D"],[[64704,64704],"mapped","\u0641\u062E"],[[64705,64705],"mapped","\u0641\u0645"],[[64706,64706],"mapped","\u0642\u062D"],[[64707,64707],"mapped","\u0642\u0645"],[[64708,64708],"mapped","\u0643\u062C"],[[64709,64709],"mapped","\u0643\u062D"],[[64710,64710],"mapped","\u0643\u062E"],[[64711,64711],"mapped","\u0643\u0644"],[[64712,64712],"mapped","\u0643\u0645"],[[64713,64713],"mapped","\u0644\u062C"],[[64714,64714],"mapped","\u0644\u062D"],[[64715,64715],"mapped","\u0644\u062E"],[[64716,64716],"mapped","\u0644\u0645"],[[64717,64717],"mapped","\u0644\u0647"],[[64718,64718],"mapped","\u0645\u062C"],[[64719,64719],"mapped","\u0645\u062D"],[[64720,64720],"mapped","\u0645\u062E"],[[64721,64721],"mapped","\u0645\u0645"],[[64722,64722],"mapped","\u0646\u062C"],[[64723,64723],"mapped","\u0646\u062D"],[[64724,64724],"mapped","\u0646\u062E"],[[64725,64725],"mapped","\u0646\u0645"],[[64726,64726],"mapped","\u0646\u0647"],[[64727,64727],"mapped","\u0647\u062C"],[[64728,64728],"mapped","\u0647\u0645"],[[64729,64729],"mapped","\u0647\u0670"],[[64730,64730],"mapped","\u064A\u062C"],[[64731,64731],"mapped","\u064A\u062D"],[[64732,64732],"mapped","\u064A\u062E"],[[64733,64733],"mapped","\u064A\u0645"],[[64734,64734],"mapped","\u064A\u0647"],[[64735,64735],"mapped","\u0626\u0645"],[[64736,64736],"mapped","\u0626\u0647"],[[64737,64737],"mapped","\u0628\u0645"],[[64738,64738],"mapped","\u0628\u0647"],[[64739,64739],"mapped","\u062A\u0645"],[[64740,64740],"mapped","\u062A\u0647"],[[64741,64741],"mapped","\u062B\u0645"],[[64742,64742],"mapped","\u062B\u0647"],[[64743,64743],"mapped","\u0633\u0645"],[[64744,64744],"mapped","\u0633\u0647"],[[64745,64745],"mapped","\u0634\u0645"],[[64746,64746],"mapped","\u0634\u0647"],[[64747,64747],"mapped","\u0643\u0644"],[[64748,64748],"mapped","\u0643\u0645"],[[64749,64749],"mapped","\u0644\u0645"],[[64750,64750],"mapped","\u0646\u0645"],[[64751,64751],"mapped","\u0646\u0647"],[[64752,64752],"mapped","\u064A\u0645"],[[64753,64753],"mapped","\u064A\u0647"],[[64754,64754],"mapped","\u0640\u064E\u0651"],[[64755,64755],"mapped","\u0640\u064F\u0651"],[[64756,64756],"mapped","\u0640\u0650\u0651"],[[64757,64757],"mapped","\u0637\u0649"],[[64758,64758],"mapped","\u0637\u064A"],[[64759,64759],"mapped","\u0639\u0649"],[[64760,64760],"mapped","\u0639\u064A"],[[64761,64761],"mapped","\u063A\u0649"],[[64762,64762],"mapped","\u063A\u064A"],[[64763,64763],"mapped","\u0633\u0649"],[[64764,64764],"mapped","\u0633\u064A"],[[64765,64765],"mapped","\u0634\u0649"],[[64766,64766],"mapped","\u0634\u064A"],[[64767,64767],"mapped","\u062D\u0649"],[[64768,64768],"mapped","\u062D\u064A"],[[64769,64769],"mapped","\u062C\u0649"],[[64770,64770],"mapped","\u062C\u064A"],[[64771,64771],"mapped","\u062E\u0649"],[[64772,64772],"mapped","\u062E\u064A"],[[64773,64773],"mapped","\u0635\u0649"],[[64774,64774],"mapped","\u0635\u064A"],[[64775,64775],"mapped","\u0636\u0649"],[[64776,64776],"mapped","\u0636\u064A"],[[64777,64777],"mapped","\u0634\u062C"],[[64778,64778],"mapped","\u0634\u062D"],[[64779,64779],"mapped","\u0634\u062E"],[[64780,64780],"mapped","\u0634\u0645"],[[64781,64781],"mapped","\u0634\u0631"],[[64782,64782],"mapped","\u0633\u0631"],[[64783,64783],"mapped","\u0635\u0631"],[[64784,64784],"mapped","\u0636\u0631"],[[64785,64785],"mapped","\u0637\u0649"],[[64786,64786],"mapped","\u0637\u064A"],[[64787,64787],"mapped","\u0639\u0649"],[[64788,64788],"mapped","\u0639\u064A"],[[64789,64789],"mapped","\u063A\u0649"],[[64790,64790],"mapped","\u063A\u064A"],[[64791,64791],"mapped","\u0633\u0649"],[[64792,64792],"mapped","\u0633\u064A"],[[64793,64793],"mapped","\u0634\u0649"],[[64794,64794],"mapped","\u0634\u064A"],[[64795,64795],"mapped","\u062D\u0649"],[[64796,64796],"mapped","\u062D\u064A"],[[64797,64797],"mapped","\u062C\u0649"],[[64798,64798],"mapped","\u062C\u064A"],[[64799,64799],"mapped","\u062E\u0649"],[[64800,64800],"mapped","\u062E\u064A"],[[64801,64801],"mapped","\u0635\u0649"],[[64802,64802],"mapped","\u0635\u064A"],[[64803,64803],"mapped","\u0636\u0649"],[[64804,64804],"mapped","\u0636\u064A"],[[64805,64805],"mapped","\u0634\u062C"],[[64806,64806],"mapped","\u0634\u062D"],[[64807,64807],"mapped","\u0634\u062E"],[[64808,64808],"mapped","\u0634\u0645"],[[64809,64809],"mapped","\u0634\u0631"],[[64810,64810],"mapped","\u0633\u0631"],[[64811,64811],"mapped","\u0635\u0631"],[[64812,64812],"mapped","\u0636\u0631"],[[64813,64813],"mapped","\u0634\u062C"],[[64814,64814],"mapped","\u0634\u062D"],[[64815,64815],"mapped","\u0634\u062E"],[[64816,64816],"mapped","\u0634\u0645"],[[64817,64817],"mapped","\u0633\u0647"],[[64818,64818],"mapped","\u0634\u0647"],[[64819,64819],"mapped","\u0637\u0645"],[[64820,64820],"mapped","\u0633\u062C"],[[64821,64821],"mapped","\u0633\u062D"],[[64822,64822],"mapped","\u0633\u062E"],[[64823,64823],"mapped","\u0634\u062C"],[[64824,64824],"mapped","\u0634\u062D"],[[64825,64825],"mapped","\u0634\u062E"],[[64826,64826],"mapped","\u0637\u0645"],[[64827,64827],"mapped","\u0638\u0645"],[[64828,64829],"mapped","\u0627\u064B"],[[64830,64831],"valid","","NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped","\u062A\u062C\u0645"],[[64849,64850],"mapped","\u062A\u062D\u062C"],[[64851,64851],"mapped","\u062A\u062D\u0645"],[[64852,64852],"mapped","\u062A\u062E\u0645"],[[64853,64853],"mapped","\u062A\u0645\u062C"],[[64854,64854],"mapped","\u062A\u0645\u062D"],[[64855,64855],"mapped","\u062A\u0645\u062E"],[[64856,64857],"mapped","\u062C\u0645\u062D"],[[64858,64858],"mapped","\u062D\u0645\u064A"],[[64859,64859],"mapped","\u062D\u0645\u0649"],[[64860,64860],"mapped","\u0633\u062D\u062C"],[[64861,64861],"mapped","\u0633\u062C\u062D"],[[64862,64862],"mapped","\u0633\u062C\u0649"],[[64863,64864],"mapped","\u0633\u0645\u062D"],[[64865,64865],"mapped","\u0633\u0645\u062C"],[[64866,64867],"mapped","\u0633\u0645\u0645"],[[64868,64869],"mapped","\u0635\u062D\u062D"],[[64870,64870],"mapped","\u0635\u0645\u0645"],[[64871,64872],"mapped","\u0634\u062D\u0645"],[[64873,64873],"mapped","\u0634\u062C\u064A"],[[64874,64875],"mapped","\u0634\u0645\u062E"],[[64876,64877],"mapped","\u0634\u0645\u0645"],[[64878,64878],"mapped","\u0636\u062D\u0649"],[[64879,64880],"mapped","\u0636\u062E\u0645"],[[64881,64882],"mapped","\u0637\u0645\u062D"],[[64883,64883],"mapped","\u0637\u0645\u0645"],[[64884,64884],"mapped","\u0637\u0645\u064A"],[[64885,64885],"mapped","\u0639\u062C\u0645"],[[64886,64887],"mapped","\u0639\u0645\u0645"],[[64888,64888],"mapped","\u0639\u0645\u0649"],[[64889,64889],"mapped","\u063A\u0645\u0645"],[[64890,64890],"mapped","\u063A\u0645\u064A"],[[64891,64891],"mapped","\u063A\u0645\u0649"],[[64892,64893],"mapped","\u0641\u062E\u0645"],[[64894,64894],"mapped","\u0642\u0645\u062D"],[[64895,64895],"mapped","\u0642\u0645\u0645"],[[64896,64896],"mapped","\u0644\u062D\u0645"],[[64897,64897],"mapped","\u0644\u062D\u064A"],[[64898,64898],"mapped","\u0644\u062D\u0649"],[[64899,64900],"mapped","\u0644\u062C\u062C"],[[64901,64902],"mapped","\u0644\u062E\u0645"],[[64903,64904],"mapped","\u0644\u0645\u062D"],[[64905,64905],"mapped","\u0645\u062D\u062C"],[[64906,64906],"mapped","\u0645\u062D\u0645"],[[64907,64907],"mapped","\u0645\u062D\u064A"],[[64908,64908],"mapped","\u0645\u062C\u062D"],[[64909,64909],"mapped","\u0645\u062C\u0645"],[[64910,64910],"mapped","\u0645\u062E\u062C"],[[64911,64911],"mapped","\u0645\u062E\u0645"],[[64912,64913],"disallowed"],[[64914,64914],"mapped","\u0645\u062C\u062E"],[[64915,64915],"mapped","\u0647\u0645\u062C"],[[64916,64916],"mapped","\u0647\u0645\u0645"],[[64917,64917],"mapped","\u0646\u062D\u0645"],[[64918,64918],"mapped","\u0646\u062D\u0649"],[[64919,64920],"mapped","\u0646\u062C\u0645"],[[64921,64921],"mapped","\u0646\u062C\u0649"],[[64922,64922],"mapped","\u0646\u0645\u064A"],[[64923,64923],"mapped","\u0646\u0645\u0649"],[[64924,64925],"mapped","\u064A\u0645\u0645"],[[64926,64926],"mapped","\u0628\u062E\u064A"],[[64927,64927],"mapped","\u062A\u062C\u064A"],[[64928,64928],"mapped","\u062A\u062C\u0649"],[[64929,64929],"mapped","\u062A\u062E\u064A"],[[64930,64930],"mapped","\u062A\u062E\u0649"],[[64931,64931],"mapped","\u062A\u0645\u064A"],[[64932,64932],"mapped","\u062A\u0645\u0649"],[[64933,64933],"mapped","\u062C\u0645\u064A"],[[64934,64934],"mapped","\u062C\u062D\u0649"],[[64935,64935],"mapped","\u062C\u0645\u0649"],[[64936,64936],"mapped","\u0633\u062E\u0649"],[[64937,64937],"mapped","\u0635\u062D\u064A"],[[64938,64938],"mapped","\u0634\u062D\u064A"],[[64939,64939],"mapped","\u0636\u062D\u064A"],[[64940,64940],"mapped","\u0644\u062C\u064A"],[[64941,64941],"mapped","\u0644\u0645\u064A"],[[64942,64942],"mapped","\u064A\u062D\u064A"],[[64943,64943],"mapped","\u064A\u062C\u064A"],[[64944,64944],"mapped","\u064A\u0645\u064A"],[[64945,64945],"mapped","\u0645\u0645\u064A"],[[64946,64946],"mapped","\u0642\u0645\u064A"],[[64947,64947],"mapped","\u0646\u062D\u064A"],[[64948,64948],"mapped","\u0642\u0645\u062D"],[[64949,64949],"mapped","\u0644\u062D\u0645"],[[64950,64950],"mapped","\u0639\u0645\u064A"],[[64951,64951],"mapped","\u0643\u0645\u064A"],[[64952,64952],"mapped","\u0646\u062C\u062D"],[[64953,64953],"mapped","\u0645\u062E\u064A"],[[64954,64954],"mapped","\u0644\u062C\u0645"],[[64955,64955],"mapped","\u0643\u0645\u0645"],[[64956,64956],"mapped","\u0644\u062C\u0645"],[[64957,64957],"mapped","\u0646\u062C\u062D"],[[64958,64958],"mapped","\u062C\u062D\u064A"],[[64959,64959],"mapped","\u062D\u062C\u064A"],[[64960,64960],"mapped","\u0645\u062C\u064A"],[[64961,64961],"mapped","\u0641\u0645\u064A"],[[64962,64962],"mapped","\u0628\u062D\u064A"],[[64963,64963],"mapped","\u0643\u0645\u0645"],[[64964,64964],"mapped","\u0639\u062C\u0645"],[[64965,64965],"mapped","\u0635\u0645\u0645"],[[64966,64966],"mapped","\u0633\u062E\u064A"],[[64967,64967],"mapped","\u0646\u062C\u064A"],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped","\u0635\u0644\u06D2"],[[65009,65009],"mapped","\u0642\u0644\u06D2"],[[65010,65010],"mapped","\u0627\u0644\u0644\u0647"],[[65011,65011],"mapped","\u0627\u0643\u0628\u0631"],[[65012,65012],"mapped","\u0645\u062D\u0645\u062F"],[[65013,65013],"mapped","\u0635\u0644\u0639\u0645"],[[65014,65014],"mapped","\u0631\u0633\u0648\u0644"],[[65015,65015],"mapped","\u0639\u0644\u064A\u0647"],[[65016,65016],"mapped","\u0648\u0633\u0644\u0645"],[[65017,65017],"mapped","\u0635\u0644\u0649"],[[65018,65018],"disallowed_STD3_mapped","\u0635\u0644\u0649 \u0627\u0644\u0644\u0647 \u0639\u0644\u064A\u0647 \u0648\u0633\u0644\u0645"],[[65019,65019],"disallowed_STD3_mapped","\u062C\u0644 \u062C\u0644\u0627\u0644\u0647"],[[65020,65020],"mapped","\u0631\u06CC\u0627\u0644"],[[65021,65021],"valid","","NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",","],[[65041,65041],"mapped","\u3001"],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",":"],[[65044,65044],"disallowed_STD3_mapped",";"],[[65045,65045],"disallowed_STD3_mapped","!"],[[65046,65046],"disallowed_STD3_mapped","?"],[[65047,65047],"mapped","\u3016"],[[65048,65048],"mapped","\u3017"],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped","\u2014"],[[65074,65074],"mapped","\u2013"],[[65075,65076],"disallowed_STD3_mapped","_"],[[65077,65077],"disallowed_STD3_mapped","("],[[65078,65078],"disallowed_STD3_mapped",")"],[[65079,65079],"disallowed_STD3_mapped","{"],[[65080,65080],"disallowed_STD3_mapped","}"],[[65081,65081],"mapped","\u3014"],[[65082,65082],"mapped","\u3015"],[[65083,65083],"mapped","\u3010"],[[65084,65084],"mapped","\u3011"],[[65085,65085],"mapped","\u300A"],[[65086,65086],"mapped","\u300B"],[[65087,65087],"mapped","\u3008"],[[65088,65088],"mapped","\u3009"],[[65089,65089],"mapped","\u300C"],[[65090,65090],"mapped","\u300D"],[[65091,65091],"mapped","\u300E"],[[65092,65092],"mapped","\u300F"],[[65093,65094],"valid","","NV8"],[[65095,65095],"disallowed_STD3_mapped","["],[[65096,65096],"disallowed_STD3_mapped","]"],[[65097,65100],"disallowed_STD3_mapped"," \u0305"],[[65101,65103],"disallowed_STD3_mapped","_"],[[65104,65104],"disallowed_STD3_mapped",","],[[65105,65105],"mapped","\u3001"],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",";"],[[65109,65109],"disallowed_STD3_mapped",":"],[[65110,65110],"disallowed_STD3_mapped","?"],[[65111,65111],"disallowed_STD3_mapped","!"],[[65112,65112],"mapped","\u2014"],[[65113,65113],"disallowed_STD3_mapped","("],[[65114,65114],"disallowed_STD3_mapped",")"],[[65115,65115],"disallowed_STD3_mapped","{"],[[65116,65116],"disallowed_STD3_mapped","}"],[[65117,65117],"mapped","\u3014"],[[65118,65118],"mapped","\u3015"],[[65119,65119],"disallowed_STD3_mapped","#"],[[65120,65120],"disallowed_STD3_mapped","&"],[[65121,65121],"disallowed_STD3_mapped","*"],[[65122,65122],"disallowed_STD3_mapped","+"],[[65123,65123],"mapped","-"],[[65124,65124],"disallowed_STD3_mapped","<"],[[65125,65125],"disallowed_STD3_mapped",">"],[[65126,65126],"disallowed_STD3_mapped","="],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped","\\"],[[65129,65129],"disallowed_STD3_mapped","$"],[[65130,65130],"disallowed_STD3_mapped","%"],[[65131,65131],"disallowed_STD3_mapped","@"],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped"," \u064B"],[[65137,65137],"mapped","\u0640\u064B"],[[65138,65138],"disallowed_STD3_mapped"," \u064C"],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped"," \u064D"],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped"," \u064E"],[[65143,65143],"mapped","\u0640\u064E"],[[65144,65144],"disallowed_STD3_mapped"," \u064F"],[[65145,65145],"mapped","\u0640\u064F"],[[65146,65146],"disallowed_STD3_mapped"," \u0650"],[[65147,65147],"mapped","\u0640\u0650"],[[65148,65148],"disallowed_STD3_mapped"," \u0651"],[[65149,65149],"mapped","\u0640\u0651"],[[65150,65150],"disallowed_STD3_mapped"," \u0652"],[[65151,65151],"mapped","\u0640\u0652"],[[65152,65152],"mapped","\u0621"],[[65153,65154],"mapped","\u0622"],[[65155,65156],"mapped","\u0623"],[[65157,65158],"mapped","\u0624"],[[65159,65160],"mapped","\u0625"],[[65161,65164],"mapped","\u0626"],[[65165,65166],"mapped","\u0627"],[[65167,65170],"mapped","\u0628"],[[65171,65172],"mapped","\u0629"],[[65173,65176],"mapped","\u062A"],[[65177,65180],"mapped","\u062B"],[[65181,65184],"mapped","\u062C"],[[65185,65188],"mapped","\u062D"],[[65189,65192],"mapped","\u062E"],[[65193,65194],"mapped","\u062F"],[[65195,65196],"mapped","\u0630"],[[65197,65198],"mapped","\u0631"],[[65199,65200],"mapped","\u0632"],[[65201,65204],"mapped","\u0633"],[[65205,65208],"mapped","\u0634"],[[65209,65212],"mapped","\u0635"],[[65213,65216],"mapped","\u0636"],[[65217,65220],"mapped","\u0637"],[[65221,65224],"mapped","\u0638"],[[65225,65228],"mapped","\u0639"],[[65229,65232],"mapped","\u063A"],[[65233,65236],"mapped","\u0641"],[[65237,65240],"mapped","\u0642"],[[65241,65244],"mapped","\u0643"],[[65245,65248],"mapped","\u0644"],[[65249,65252],"mapped","\u0645"],[[65253,65256],"mapped","\u0646"],[[65257,65260],"mapped","\u0647"],[[65261,65262],"mapped","\u0648"],[[65263,65264],"mapped","\u0649"],[[65265,65268],"mapped","\u064A"],[[65269,65270],"mapped","\u0644\u0622"],[[65271,65272],"mapped","\u0644\u0623"],[[65273,65274],"mapped","\u0644\u0625"],[[65275,65276],"mapped","\u0644\u0627"],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped","!"],[[65282,65282],"disallowed_STD3_mapped",'"'],[[65283,65283],"disallowed_STD3_mapped","#"],[[65284,65284],"disallowed_STD3_mapped","$"],[[65285,65285],"disallowed_STD3_mapped","%"],[[65286,65286],"disallowed_STD3_mapped","&"],[[65287,65287],"disallowed_STD3_mapped","'"],[[65288,65288],"disallowed_STD3_mapped","("],[[65289,65289],"disallowed_STD3_mapped",")"],[[65290,65290],"disallowed_STD3_mapped","*"],[[65291,65291],"disallowed_STD3_mapped","+"],[[65292,65292],"disallowed_STD3_mapped",","],[[65293,65293],"mapped","-"],[[65294,65294],"mapped","."],[[65295,65295],"disallowed_STD3_mapped","/"],[[65296,65296],"mapped","0"],[[65297,65297],"mapped","1"],[[65298,65298],"mapped","2"],[[65299,65299],"mapped","3"],[[65300,65300],"mapped","4"],[[65301,65301],"mapped","5"],[[65302,65302],"mapped","6"],[[65303,65303],"mapped","7"],[[65304,65304],"mapped","8"],[[65305,65305],"mapped","9"],[[65306,65306],"disallowed_STD3_mapped",":"],[[65307,65307],"disallowed_STD3_mapped",";"],[[65308,65308],"disallowed_STD3_mapped","<"],[[65309,65309],"disallowed_STD3_mapped","="],[[65310,65310],"disallowed_STD3_mapped",">"],[[65311,65311],"disallowed_STD3_mapped","?"],[[65312,65312],"disallowed_STD3_mapped","@"],[[65313,65313],"mapped","a"],[[65314,65314],"mapped","b"],[[65315,65315],"mapped","c"],[[65316,65316],"mapped","d"],[[65317,65317],"mapped","e"],[[65318,65318],"mapped","f"],[[65319,65319],"mapped","g"],[[65320,65320],"mapped","h"],[[65321,65321],"mapped","i"],[[65322,65322],"mapped","j"],[[65323,65323],"mapped","k"],[[65324,65324],"mapped","l"],[[65325,65325],"mapped","m"],[[65326,65326],"mapped","n"],[[65327,65327],"mapped","o"],[[65328,65328],"mapped","p"],[[65329,65329],"mapped","q"],[[65330,65330],"mapped","r"],[[65331,65331],"mapped","s"],[[65332,65332],"mapped","t"],[[65333,65333],"mapped","u"],[[65334,65334],"mapped","v"],[[65335,65335],"mapped","w"],[[65336,65336],"mapped","x"],[[65337,65337],"mapped","y"],[[65338,65338],"mapped","z"],[[65339,65339],"disallowed_STD3_mapped","["],[[65340,65340],"disallowed_STD3_mapped","\\"],[[65341,65341],"disallowed_STD3_mapped","]"],[[65342,65342],"disallowed_STD3_mapped","^"],[[65343,65343],"disallowed_STD3_mapped","_"],[[65344,65344],"disallowed_STD3_mapped","`"],[[65345,65345],"mapped","a"],[[65346,65346],"mapped","b"],[[65347,65347],"mapped","c"],[[65348,65348],"mapped","d"],[[65349,65349],"mapped","e"],[[65350,65350],"mapped","f"],[[65351,65351],"mapped","g"],[[65352,65352],"mapped","h"],[[65353,65353],"mapped","i"],[[65354,65354],"mapped","j"],[[65355,65355],"mapped","k"],[[65356,65356],"mapped","l"],[[65357,65357],"mapped","m"],[[65358,65358],"mapped","n"],[[65359,65359],"mapped","o"],[[65360,65360],"mapped","p"],[[65361,65361],"mapped","q"],[[65362,65362],"mapped","r"],[[65363,65363],"mapped","s"],[[65364,65364],"mapped","t"],[[65365,65365],"mapped","u"],[[65366,65366],"mapped","v"],[[65367,65367],"mapped","w"],[[65368,65368],"mapped","x"],[[65369,65369],"mapped","y"],[[65370,65370],"mapped","z"],[[65371,65371],"disallowed_STD3_mapped","{"],[[65372,65372],"disallowed_STD3_mapped","|"],[[65373,65373],"disallowed_STD3_mapped","}"],[[65374,65374],"disallowed_STD3_mapped","~"],[[65375,65375],"mapped","\u2985"],[[65376,65376],"mapped","\u2986"],[[65377,65377],"mapped","."],[[65378,65378],"mapped","\u300C"],[[65379,65379],"mapped","\u300D"],[[65380,65380],"mapped","\u3001"],[[65381,65381],"mapped","\u30FB"],[[65382,65382],"mapped","\u30F2"],[[65383,65383],"mapped","\u30A1"],[[65384,65384],"mapped","\u30A3"],[[65385,65385],"mapped","\u30A5"],[[65386,65386],"mapped","\u30A7"],[[65387,65387],"mapped","\u30A9"],[[65388,65388],"mapped","\u30E3"],[[65389,65389],"mapped","\u30E5"],[[65390,65390],"mapped","\u30E7"],[[65391,65391],"mapped","\u30C3"],[[65392,65392],"mapped","\u30FC"],[[65393,65393],"mapped","\u30A2"],[[65394,65394],"mapped","\u30A4"],[[65395,65395],"mapped","\u30A6"],[[65396,65396],"mapped","\u30A8"],[[65397,65397],"mapped","\u30AA"],[[65398,65398],"mapped","\u30AB"],[[65399,65399],"mapped","\u30AD"],[[65400,65400],"mapped","\u30AF"],[[65401,65401],"mapped","\u30B1"],[[65402,65402],"mapped","\u30B3"],[[65403,65403],"mapped","\u30B5"],[[65404,65404],"mapped","\u30B7"],[[65405,65405],"mapped","\u30B9"],[[65406,65406],"mapped","\u30BB"],[[65407,65407],"mapped","\u30BD"],[[65408,65408],"mapped","\u30BF"],[[65409,65409],"mapped","\u30C1"],[[65410,65410],"mapped","\u30C4"],[[65411,65411],"mapped","\u30C6"],[[65412,65412],"mapped","\u30C8"],[[65413,65413],"mapped","\u30CA"],[[65414,65414],"mapped","\u30CB"],[[65415,65415],"mapped","\u30CC"],[[65416,65416],"mapped","\u30CD"],[[65417,65417],"mapped","\u30CE"],[[65418,65418],"mapped","\u30CF"],[[65419,65419],"mapped","\u30D2"],[[65420,65420],"mapped","\u30D5"],[[65421,65421],"mapped","\u30D8"],[[65422,65422],"mapped","\u30DB"],[[65423,65423],"mapped","\u30DE"],[[65424,65424],"mapped","\u30DF"],[[65425,65425],"mapped","\u30E0"],[[65426,65426],"mapped","\u30E1"],[[65427,65427],"mapped","\u30E2"],[[65428,65428],"mapped","\u30E4"],[[65429,65429],"mapped","\u30E6"],[[65430,65430],"mapped","\u30E8"],[[65431,65431],"mapped","\u30E9"],[[65432,65432],"mapped","\u30EA"],[[65433,65433],"mapped","\u30EB"],[[65434,65434],"mapped","\u30EC"],[[65435,65435],"mapped","\u30ED"],[[65436,65436],"mapped","\u30EF"],[[65437,65437],"mapped","\u30F3"],[[65438,65438],"mapped","\u3099"],[[65439,65439],"mapped","\u309A"],[[65440,65440],"disallowed"],[[65441,65441],"mapped","\u1100"],[[65442,65442],"mapped","\u1101"],[[65443,65443],"mapped","\u11AA"],[[65444,65444],"mapped","\u1102"],[[65445,65445],"mapped","\u11AC"],[[65446,65446],"mapped","\u11AD"],[[65447,65447],"mapped","\u1103"],[[65448,65448],"mapped","\u1104"],[[65449,65449],"mapped","\u1105"],[[65450,65450],"mapped","\u11B0"],[[65451,65451],"mapped","\u11B1"],[[65452,65452],"mapped","\u11B2"],[[65453,65453],"mapped","\u11B3"],[[65454,65454],"mapped","\u11B4"],[[65455,65455],"mapped","\u11B5"],[[65456,65456],"mapped","\u111A"],[[65457,65457],"mapped","\u1106"],[[65458,65458],"mapped","\u1107"],[[65459,65459],"mapped","\u1108"],[[65460,65460],"mapped","\u1121"],[[65461,65461],"mapped","\u1109"],[[65462,65462],"mapped","\u110A"],[[65463,65463],"mapped","\u110B"],[[65464,65464],"mapped","\u110C"],[[65465,65465],"mapped","\u110D"],[[65466,65466],"mapped","\u110E"],[[65467,65467],"mapped","\u110F"],[[65468,65468],"mapped","\u1110"],[[65469,65469],"mapped","\u1111"],[[65470,65470],"mapped","\u1112"],[[65471,65473],"disallowed"],[[65474,65474],"mapped","\u1161"],[[65475,65475],"mapped","\u1162"],[[65476,65476],"mapped","\u1163"],[[65477,65477],"mapped","\u1164"],[[65478,65478],"mapped","\u1165"],[[65479,65479],"mapped","\u1166"],[[65480,65481],"disallowed"],[[65482,65482],"mapped","\u1167"],[[65483,65483],"mapped","\u1168"],[[65484,65484],"mapped","\u1169"],[[65485,65485],"mapped","\u116A"],[[65486,65486],"mapped","\u116B"],[[65487,65487],"mapped","\u116C"],[[65488,65489],"disallowed"],[[65490,65490],"mapped","\u116D"],[[65491,65491],"mapped","\u116E"],[[65492,65492],"mapped","\u116F"],[[65493,65493],"mapped","\u1170"],[[65494,65494],"mapped","\u1171"],[[65495,65495],"mapped","\u1172"],[[65496,65497],"disallowed"],[[65498,65498],"mapped","\u1173"],[[65499,65499],"mapped","\u1174"],[[65500,65500],"mapped","\u1175"],[[65501,65503],"disallowed"],[[65504,65504],"mapped","\xA2"],[[65505,65505],"mapped","\xA3"],[[65506,65506],"mapped","\xAC"],[[65507,65507],"disallowed_STD3_mapped"," \u0304"],[[65508,65508],"mapped","\xA6"],[[65509,65509],"mapped","\xA5"],[[65510,65510],"mapped","\u20A9"],[[65511,65511],"disallowed"],[[65512,65512],"mapped","\u2502"],[[65513,65513],"mapped","\u2190"],[[65514,65514],"mapped","\u2191"],[[65515,65515],"mapped","\u2192"],[[65516,65516],"mapped","\u2193"],[[65517,65517],"mapped","\u25A0"],[[65518,65518],"mapped","\u25CB"],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid","","NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid","","NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid","","NV8"],[[65856,65930],"valid","","NV8"],[[65931,65932],"valid","","NV8"],[[65933,65934],"valid","","NV8"],[[65935,65935],"disallowed"],[[65936,65947],"valid","","NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid","","NV8"],[[65953,65999],"disallowed"],[[66e3,66044],"valid","","NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid","","NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid","","NV8"],[[66340,66348],"disallowed"],[[66349,66351],"valid"],[[66352,66368],"valid"],[[66369,66369],"valid","","NV8"],[[66370,66377],"valid"],[[66378,66378],"valid","","NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid","","NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid","","NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped","\u{10428}"],[[66561,66561],"mapped","\u{10429}"],[[66562,66562],"mapped","\u{1042A}"],[[66563,66563],"mapped","\u{1042B}"],[[66564,66564],"mapped","\u{1042C}"],[[66565,66565],"mapped","\u{1042D}"],[[66566,66566],"mapped","\u{1042E}"],[[66567,66567],"mapped","\u{1042F}"],[[66568,66568],"mapped","\u{10430}"],[[66569,66569],"mapped","\u{10431}"],[[66570,66570],"mapped","\u{10432}"],[[66571,66571],"mapped","\u{10433}"],[[66572,66572],"mapped","\u{10434}"],[[66573,66573],"mapped","\u{10435}"],[[66574,66574],"mapped","\u{10436}"],[[66575,66575],"mapped","\u{10437}"],[[66576,66576],"mapped","\u{10438}"],[[66577,66577],"mapped","\u{10439}"],[[66578,66578],"mapped","\u{1043A}"],[[66579,66579],"mapped","\u{1043B}"],[[66580,66580],"mapped","\u{1043C}"],[[66581,66581],"mapped","\u{1043D}"],[[66582,66582],"mapped","\u{1043E}"],[[66583,66583],"mapped","\u{1043F}"],[[66584,66584],"mapped","\u{10440}"],[[66585,66585],"mapped","\u{10441}"],[[66586,66586],"mapped","\u{10442}"],[[66587,66587],"mapped","\u{10443}"],[[66588,66588],"mapped","\u{10444}"],[[66589,66589],"mapped","\u{10445}"],[[66590,66590],"mapped","\u{10446}"],[[66591,66591],"mapped","\u{10447}"],[[66592,66592],"mapped","\u{10448}"],[[66593,66593],"mapped","\u{10449}"],[[66594,66594],"mapped","\u{1044A}"],[[66595,66595],"mapped","\u{1044B}"],[[66596,66596],"mapped","\u{1044C}"],[[66597,66597],"mapped","\u{1044D}"],[[66598,66598],"mapped","\u{1044E}"],[[66599,66599],"mapped","\u{1044F}"],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66735],"disallowed"],[[66736,66736],"mapped","\u{104D8}"],[[66737,66737],"mapped","\u{104D9}"],[[66738,66738],"mapped","\u{104DA}"],[[66739,66739],"mapped","\u{104DB}"],[[66740,66740],"mapped","\u{104DC}"],[[66741,66741],"mapped","\u{104DD}"],[[66742,66742],"mapped","\u{104DE}"],[[66743,66743],"mapped","\u{104DF}"],[[66744,66744],"mapped","\u{104E0}"],[[66745,66745],"mapped","\u{104E1}"],[[66746,66746],"mapped","\u{104E2}"],[[66747,66747],"mapped","\u{104E3}"],[[66748,66748],"mapped","\u{104E4}"],[[66749,66749],"mapped","\u{104E5}"],[[66750,66750],"mapped","\u{104E6}"],[[66751,66751],"mapped","\u{104E7}"],[[66752,66752],"mapped","\u{104E8}"],[[66753,66753],"mapped","\u{104E9}"],[[66754,66754],"mapped","\u{104EA}"],[[66755,66755],"mapped","\u{104EB}"],[[66756,66756],"mapped","\u{104EC}"],[[66757,66757],"mapped","\u{104ED}"],[[66758,66758],"mapped","\u{104EE}"],[[66759,66759],"mapped","\u{104EF}"],[[66760,66760],"mapped","\u{104F0}"],[[66761,66761],"mapped","\u{104F1}"],[[66762,66762],"mapped","\u{104F2}"],[[66763,66763],"mapped","\u{104F3}"],[[66764,66764],"mapped","\u{104F4}"],[[66765,66765],"mapped","\u{104F5}"],[[66766,66766],"mapped","\u{104F6}"],[[66767,66767],"mapped","\u{104F7}"],[[66768,66768],"mapped","\u{104F8}"],[[66769,66769],"mapped","\u{104F9}"],[[66770,66770],"mapped","\u{104FA}"],[[66771,66771],"mapped","\u{104FB}"],[[66772,66775],"disallowed"],[[66776,66811],"valid"],[[66812,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid","","NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid","","NV8"],[[67680,67702],"valid"],[[67703,67711],"valid","","NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid","","NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid","","NV8"],[[67840,67861],"valid"],[[67862,67865],"valid","","NV8"],[[67866,67867],"valid","","NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid","","NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid","","NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid","","NV8"],[[68030,68031],"valid"],[[68032,68047],"valid","","NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid","","NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid","","NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid","","NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid","","NV8"],[[68224,68252],"valid"],[[68253,68255],"valid","","NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid","","NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid","","NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid","","NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid","","NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid","","NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid","","NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid","","NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped","\u{10CC0}"],[[68737,68737],"mapped","\u{10CC1}"],[[68738,68738],"mapped","\u{10CC2}"],[[68739,68739],"mapped","\u{10CC3}"],[[68740,68740],"mapped","\u{10CC4}"],[[68741,68741],"mapped","\u{10CC5}"],[[68742,68742],"mapped","\u{10CC6}"],[[68743,68743],"mapped","\u{10CC7}"],[[68744,68744],"mapped","\u{10CC8}"],[[68745,68745],"mapped","\u{10CC9}"],[[68746,68746],"mapped","\u{10CCA}"],[[68747,68747],"mapped","\u{10CCB}"],[[68748,68748],"mapped","\u{10CCC}"],[[68749,68749],"mapped","\u{10CCD}"],[[68750,68750],"mapped","\u{10CCE}"],[[68751,68751],"mapped","\u{10CCF}"],[[68752,68752],"mapped","\u{10CD0}"],[[68753,68753],"mapped","\u{10CD1}"],[[68754,68754],"mapped","\u{10CD2}"],[[68755,68755],"mapped","\u{10CD3}"],[[68756,68756],"mapped","\u{10CD4}"],[[68757,68757],"mapped","\u{10CD5}"],[[68758,68758],"mapped","\u{10CD6}"],[[68759,68759],"mapped","\u{10CD7}"],[[68760,68760],"mapped","\u{10CD8}"],[[68761,68761],"mapped","\u{10CD9}"],[[68762,68762],"mapped","\u{10CDA}"],[[68763,68763],"mapped","\u{10CDB}"],[[68764,68764],"mapped","\u{10CDC}"],[[68765,68765],"mapped","\u{10CDD}"],[[68766,68766],"mapped","\u{10CDE}"],[[68767,68767],"mapped","\u{10CDF}"],[[68768,68768],"mapped","\u{10CE0}"],[[68769,68769],"mapped","\u{10CE1}"],[[68770,68770],"mapped","\u{10CE2}"],[[68771,68771],"mapped","\u{10CE3}"],[[68772,68772],"mapped","\u{10CE4}"],[[68773,68773],"mapped","\u{10CE5}"],[[68774,68774],"mapped","\u{10CE6}"],[[68775,68775],"mapped","\u{10CE7}"],[[68776,68776],"mapped","\u{10CE8}"],[[68777,68777],"mapped","\u{10CE9}"],[[68778,68778],"mapped","\u{10CEA}"],[[68779,68779],"mapped","\u{10CEB}"],[[68780,68780],"mapped","\u{10CEC}"],[[68781,68781],"mapped","\u{10CED}"],[[68782,68782],"mapped","\u{10CEE}"],[[68783,68783],"mapped","\u{10CEF}"],[[68784,68784],"mapped","\u{10CF0}"],[[68785,68785],"mapped","\u{10CF1}"],[[68786,68786],"mapped","\u{10CF2}"],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid","","NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid","","NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid","","NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid","","NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid","","NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid","","NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid","","NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid","","NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid","","NV8"],[[70089,70089],"valid","","NV8"],[[70090,70092],"valid"],[[70093,70093],"valid","","NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid","","NV8"],[[70108,70108],"valid"],[[70109,70111],"valid","","NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid","","NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid","","NV8"],[[70206,70206],"valid"],[[70207,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid","","NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70655],"disallowed"],[[70656,70730],"valid"],[[70731,70735],"valid","","NV8"],[[70736,70745],"valid"],[[70746,70746],"disallowed"],[[70747,70747],"valid","","NV8"],[[70748,70748],"disallowed"],[[70749,70749],"valid","","NV8"],[[70750,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid","","NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid","","NV8"],[[71114,71127],"valid","","NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid","","NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71263],"disallowed"],[[71264,71276],"valid","","NV8"],[[71277,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid","","NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped","\u{118C0}"],[[71841,71841],"mapped","\u{118C1}"],[[71842,71842],"mapped","\u{118C2}"],[[71843,71843],"mapped","\u{118C3}"],[[71844,71844],"mapped","\u{118C4}"],[[71845,71845],"mapped","\u{118C5}"],[[71846,71846],"mapped","\u{118C6}"],[[71847,71847],"mapped","\u{118C7}"],[[71848,71848],"mapped","\u{118C8}"],[[71849,71849],"mapped","\u{118C9}"],[[71850,71850],"mapped","\u{118CA}"],[[71851,71851],"mapped","\u{118CB}"],[[71852,71852],"mapped","\u{118CC}"],[[71853,71853],"mapped","\u{118CD}"],[[71854,71854],"mapped","\u{118CE}"],[[71855,71855],"mapped","\u{118CF}"],[[71856,71856],"mapped","\u{118D0}"],[[71857,71857],"mapped","\u{118D1}"],[[71858,71858],"mapped","\u{118D2}"],[[71859,71859],"mapped","\u{118D3}"],[[71860,71860],"mapped","\u{118D4}"],[[71861,71861],"mapped","\u{118D5}"],[[71862,71862],"mapped","\u{118D6}"],[[71863,71863],"mapped","\u{118D7}"],[[71864,71864],"mapped","\u{118D8}"],[[71865,71865],"mapped","\u{118D9}"],[[71866,71866],"mapped","\u{118DA}"],[[71867,71867],"mapped","\u{118DB}"],[[71868,71868],"mapped","\u{118DC}"],[[71869,71869],"mapped","\u{118DD}"],[[71870,71870],"mapped","\u{118DE}"],[[71871,71871],"mapped","\u{118DF}"],[[71872,71913],"valid"],[[71914,71922],"valid","","NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72191],"disallowed"],[[72192,72254],"valid"],[[72255,72262],"valid","","NV8"],[[72263,72263],"valid"],[[72264,72271],"disallowed"],[[72272,72323],"valid"],[[72324,72325],"disallowed"],[[72326,72345],"valid"],[[72346,72348],"valid","","NV8"],[[72349,72349],"disallowed"],[[72350,72354],"valid","","NV8"],[[72355,72383],"disallowed"],[[72384,72440],"valid"],[[72441,72703],"disallowed"],[[72704,72712],"valid"],[[72713,72713],"disallowed"],[[72714,72758],"valid"],[[72759,72759],"disallowed"],[[72760,72768],"valid"],[[72769,72773],"valid","","NV8"],[[72774,72783],"disallowed"],[[72784,72793],"valid"],[[72794,72812],"valid","","NV8"],[[72813,72815],"disallowed"],[[72816,72817],"valid","","NV8"],[[72818,72847],"valid"],[[72848,72849],"disallowed"],[[72850,72871],"valid"],[[72872,72872],"disallowed"],[[72873,72886],"valid"],[[72887,72959],"disallowed"],[[72960,72966],"valid"],[[72967,72967],"disallowed"],[[72968,72969],"valid"],[[72970,72970],"disallowed"],[[72971,73014],"valid"],[[73015,73017],"disallowed"],[[73018,73018],"valid"],[[73019,73019],"disallowed"],[[73020,73021],"valid"],[[73022,73022],"disallowed"],[[73023,73031],"valid"],[[73032,73039],"disallowed"],[[73040,73049],"valid"],[[73050,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid","","NV8"],[[74851,74862],"valid","","NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid","","NV8"],[[74868,74868],"valid","","NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid","","NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid","","NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid","","NV8"],[[92992,92995],"valid"],[[92996,92997],"valid","","NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid","","NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,94175],"disallowed"],[[94176,94176],"valid"],[[94177,94177],"valid"],[[94178,94207],"disallowed"],[[94208,100332],"valid"],[[100333,100351],"disallowed"],[[100352,101106],"valid"],[[101107,110591],"disallowed"],[[110592,110593],"valid"],[[110594,110878],"valid"],[[110879,110959],"disallowed"],[[110960,111355],"valid"],[[111356,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid","","NV8"],[[113821,113822],"valid"],[[113823,113823],"valid","","NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid","","NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid","","NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid","","NV8"],[[119082,119133],"valid","","NV8"],[[119134,119134],"mapped","\u{1D157}\u{1D165}"],[[119135,119135],"mapped","\u{1D158}\u{1D165}"],[[119136,119136],"mapped","\u{1D158}\u{1D165}\u{1D16E}"],[[119137,119137],"mapped","\u{1D158}\u{1D165}\u{1D16F}"],[[119138,119138],"mapped","\u{1D158}\u{1D165}\u{1D170}"],[[119139,119139],"mapped","\u{1D158}\u{1D165}\u{1D171}"],[[119140,119140],"mapped","\u{1D158}\u{1D165}\u{1D172}"],[[119141,119154],"valid","","NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid","","NV8"],[[119227,119227],"mapped","\u{1D1B9}\u{1D165}"],[[119228,119228],"mapped","\u{1D1BA}\u{1D165}"],[[119229,119229],"mapped","\u{1D1B9}\u{1D165}\u{1D16E}"],[[119230,119230],"mapped","\u{1D1BA}\u{1D165}\u{1D16E}"],[[119231,119231],"mapped","\u{1D1B9}\u{1D165}\u{1D16F}"],[[119232,119232],"mapped","\u{1D1BA}\u{1D165}\u{1D16F}"],[[119233,119261],"valid","","NV8"],[[119262,119272],"valid","","NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid","","NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid","","NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid","","NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped","a"],[[119809,119809],"mapped","b"],[[119810,119810],"mapped","c"],[[119811,119811],"mapped","d"],[[119812,119812],"mapped","e"],[[119813,119813],"mapped","f"],[[119814,119814],"mapped","g"],[[119815,119815],"mapped","h"],[[119816,119816],"mapped","i"],[[119817,119817],"mapped","j"],[[119818,119818],"mapped","k"],[[119819,119819],"mapped","l"],[[119820,119820],"mapped","m"],[[119821,119821],"mapped","n"],[[119822,119822],"mapped","o"],[[119823,119823],"mapped","p"],[[119824,119824],"mapped","q"],[[119825,119825],"mapped","r"],[[119826,119826],"mapped","s"],[[119827,119827],"mapped","t"],[[119828,119828],"mapped","u"],[[119829,119829],"mapped","v"],[[119830,119830],"mapped","w"],[[119831,119831],"mapped","x"],[[119832,119832],"mapped","y"],[[119833,119833],"mapped","z"],[[119834,119834],"mapped","a"],[[119835,119835],"mapped","b"],[[119836,119836],"mapped","c"],[[119837,119837],"mapped","d"],[[119838,119838],"mapped","e"],[[119839,119839],"mapped","f"],[[119840,119840],"mapped","g"],[[119841,119841],"mapped","h"],[[119842,119842],"mapped","i"],[[119843,119843],"mapped","j"],[[119844,119844],"mapped","k"],[[119845,119845],"mapped","l"],[[119846,119846],"mapped","m"],[[119847,119847],"mapped","n"],[[119848,119848],"mapped","o"],[[119849,119849],"mapped","p"],[[119850,119850],"mapped","q"],[[119851,119851],"mapped","r"],[[119852,119852],"mapped","s"],[[119853,119853],"mapped","t"],[[119854,119854],"mapped","u"],[[119855,119855],"mapped","v"],[[119856,119856],"mapped","w"],[[119857,119857],"mapped","x"],[[119858,119858],"mapped","y"],[[119859,119859],"mapped","z"],[[119860,119860],"mapped","a"],[[119861,119861],"mapped","b"],[[119862,119862],"mapped","c"],[[119863,119863],"mapped","d"],[[119864,119864],"mapped","e"],[[119865,119865],"mapped","f"],[[119866,119866],"mapped","g"],[[119867,119867],"mapped","h"],[[119868,119868],"mapped","i"],[[119869,119869],"mapped","j"],[[119870,119870],"mapped","k"],[[119871,119871],"mapped","l"],[[119872,119872],"mapped","m"],[[119873,119873],"mapped","n"],[[119874,119874],"mapped","o"],[[119875,119875],"mapped","p"],[[119876,119876],"mapped","q"],[[119877,119877],"mapped","r"],[[119878,119878],"mapped","s"],[[119879,119879],"mapped","t"],[[119880,119880],"mapped","u"],[[119881,119881],"mapped","v"],[[119882,119882],"mapped","w"],[[119883,119883],"mapped","x"],[[119884,119884],"mapped","y"],[[119885,119885],"mapped","z"],[[119886,119886],"mapped","a"],[[119887,119887],"mapped","b"],[[119888,119888],"mapped","c"],[[119889,119889],"mapped","d"],[[119890,119890],"mapped","e"],[[119891,119891],"mapped","f"],[[119892,119892],"mapped","g"],[[119893,119893],"disallowed"],[[119894,119894],"mapped","i"],[[119895,119895],"mapped","j"],[[119896,119896],"mapped","k"],[[119897,119897],"mapped","l"],[[119898,119898],"mapped","m"],[[119899,119899],"mapped","n"],[[119900,119900],"mapped","o"],[[119901,119901],"mapped","p"],[[119902,119902],"mapped","q"],[[119903,119903],"mapped","r"],[[119904,119904],"mapped","s"],[[119905,119905],"mapped","t"],[[119906,119906],"mapped","u"],[[119907,119907],"mapped","v"],[[119908,119908],"mapped","w"],[[119909,119909],"mapped","x"],[[119910,119910],"mapped","y"],[[119911,119911],"mapped","z"],[[119912,119912],"mapped","a"],[[119913,119913],"mapped","b"],[[119914,119914],"mapped","c"],[[119915,119915],"mapped","d"],[[119916,119916],"mapped","e"],[[119917,119917],"mapped","f"],[[119918,119918],"mapped","g"],[[119919,119919],"mapped","h"],[[119920,119920],"mapped","i"],[[119921,119921],"mapped","j"],[[119922,119922],"mapped","k"],[[119923,119923],"mapped","l"],[[119924,119924],"mapped","m"],[[119925,119925],"mapped","n"],[[119926,119926],"mapped","o"],[[119927,119927],"mapped","p"],[[119928,119928],"mapped","q"],[[119929,119929],"mapped","r"],[[119930,119930],"mapped","s"],[[119931,119931],"mapped","t"],[[119932,119932],"mapped","u"],[[119933,119933],"mapped","v"],[[119934,119934],"mapped","w"],[[119935,119935],"mapped","x"],[[119936,119936],"mapped","y"],[[119937,119937],"mapped","z"],[[119938,119938],"mapped","a"],[[119939,119939],"mapped","b"],[[119940,119940],"mapped","c"],[[119941,119941],"mapped","d"],[[119942,119942],"mapped","e"],[[119943,119943],"mapped","f"],[[119944,119944],"mapped","g"],[[119945,119945],"mapped","h"],[[119946,119946],"mapped","i"],[[119947,119947],"mapped","j"],[[119948,119948],"mapped","k"],[[119949,119949],"mapped","l"],[[119950,119950],"mapped","m"],[[119951,119951],"mapped","n"],[[119952,119952],"mapped","o"],[[119953,119953],"mapped","p"],[[119954,119954],"mapped","q"],[[119955,119955],"mapped","r"],[[119956,119956],"mapped","s"],[[119957,119957],"mapped","t"],[[119958,119958],"mapped","u"],[[119959,119959],"mapped","v"],[[119960,119960],"mapped","w"],[[119961,119961],"mapped","x"],[[119962,119962],"mapped","y"],[[119963,119963],"mapped","z"],[[119964,119964],"mapped","a"],[[119965,119965],"disallowed"],[[119966,119966],"mapped","c"],[[119967,119967],"mapped","d"],[[119968,119969],"disallowed"],[[119970,119970],"mapped","g"],[[119971,119972],"disallowed"],[[119973,119973],"mapped","j"],[[119974,119974],"mapped","k"],[[119975,119976],"disallowed"],[[119977,119977],"mapped","n"],[[119978,119978],"mapped","o"],[[119979,119979],"mapped","p"],[[119980,119980],"mapped","q"],[[119981,119981],"disallowed"],[[119982,119982],"mapped","s"],[[119983,119983],"mapped","t"],[[119984,119984],"mapped","u"],[[119985,119985],"mapped","v"],[[119986,119986],"mapped","w"],[[119987,119987],"mapped","x"],[[119988,119988],"mapped","y"],[[119989,119989],"mapped","z"],[[119990,119990],"mapped","a"],[[119991,119991],"mapped","b"],[[119992,119992],"mapped","c"],[[119993,119993],"mapped","d"],[[119994,119994],"disallowed"],[[119995,119995],"mapped","f"],[[119996,119996],"disallowed"],[[119997,119997],"mapped","h"],[[119998,119998],"mapped","i"],[[119999,119999],"mapped","j"],[[12e4,12e4],"mapped","k"],[[120001,120001],"mapped","l"],[[120002,120002],"mapped","m"],[[120003,120003],"mapped","n"],[[120004,120004],"disallowed"],[[120005,120005],"mapped","p"],[[120006,120006],"mapped","q"],[[120007,120007],"mapped","r"],[[120008,120008],"mapped","s"],[[120009,120009],"mapped","t"],[[120010,120010],"mapped","u"],[[120011,120011],"mapped","v"],[[120012,120012],"mapped","w"],[[120013,120013],"mapped","x"],[[120014,120014],"mapped","y"],[[120015,120015],"mapped","z"],[[120016,120016],"mapped","a"],[[120017,120017],"mapped","b"],[[120018,120018],"mapped","c"],[[120019,120019],"mapped","d"],[[120020,120020],"mapped","e"],[[120021,120021],"mapped","f"],[[120022,120022],"mapped","g"],[[120023,120023],"mapped","h"],[[120024,120024],"mapped","i"],[[120025,120025],"mapped","j"],[[120026,120026],"mapped","k"],[[120027,120027],"mapped","l"],[[120028,120028],"mapped","m"],[[120029,120029],"mapped","n"],[[120030,120030],"mapped","o"],[[120031,120031],"mapped","p"],[[120032,120032],"mapped","q"],[[120033,120033],"mapped","r"],[[120034,120034],"mapped","s"],[[120035,120035],"mapped","t"],[[120036,120036],"mapped","u"],[[120037,120037],"mapped","v"],[[120038,120038],"mapped","w"],[[120039,120039],"mapped","x"],[[120040,120040],"mapped","y"],[[120041,120041],"mapped","z"],[[120042,120042],"mapped","a"],[[120043,120043],"mapped","b"],[[120044,120044],"mapped","c"],[[120045,120045],"mapped","d"],[[120046,120046],"mapped","e"],[[120047,120047],"mapped","f"],[[120048,120048],"mapped","g"],[[120049,120049],"mapped","h"],[[120050,120050],"mapped","i"],[[120051,120051],"mapped","j"],[[120052,120052],"mapped","k"],[[120053,120053],"mapped","l"],[[120054,120054],"mapped","m"],[[120055,120055],"mapped","n"],[[120056,120056],"mapped","o"],[[120057,120057],"mapped","p"],[[120058,120058],"mapped","q"],[[120059,120059],"mapped","r"],[[120060,120060],"mapped","s"],[[120061,120061],"mapped","t"],[[120062,120062],"mapped","u"],[[120063,120063],"mapped","v"],[[120064,120064],"mapped","w"],[[120065,120065],"mapped","x"],[[120066,120066],"mapped","y"],[[120067,120067],"mapped","z"],[[120068,120068],"mapped","a"],[[120069,120069],"mapped","b"],[[120070,120070],"disallowed"],[[120071,120071],"mapped","d"],[[120072,120072],"mapped","e"],[[120073,120073],"mapped","f"],[[120074,120074],"mapped","g"],[[120075,120076],"disallowed"],[[120077,120077],"mapped","j"],[[120078,120078],"mapped","k"],[[120079,120079],"mapped","l"],[[120080,120080],"mapped","m"],[[120081,120081],"mapped","n"],[[120082,120082],"mapped","o"],[[120083,120083],"mapped","p"],[[120084,120084],"mapped","q"],[[120085,120085],"disallowed"],[[120086,120086],"mapped","s"],[[120087,120087],"mapped","t"],[[120088,120088],"mapped","u"],[[120089,120089],"mapped","v"],[[120090,120090],"mapped","w"],[[120091,120091],"mapped","x"],[[120092,120092],"mapped","y"],[[120093,120093],"disallowed"],[[120094,120094],"mapped","a"],[[120095,120095],"mapped","b"],[[120096,120096],"mapped","c"],[[120097,120097],"mapped","d"],[[120098,120098],"mapped","e"],[[120099,120099],"mapped","f"],[[120100,120100],"mapped","g"],[[120101,120101],"mapped","h"],[[120102,120102],"mapped","i"],[[120103,120103],"mapped","j"],[[120104,120104],"mapped","k"],[[120105,120105],"mapped","l"],[[120106,120106],"mapped","m"],[[120107,120107],"mapped","n"],[[120108,120108],"mapped","o"],[[120109,120109],"mapped","p"],[[120110,120110],"mapped","q"],[[120111,120111],"mapped","r"],[[120112,120112],"mapped","s"],[[120113,120113],"mapped","t"],[[120114,120114],"mapped","u"],[[120115,120115],"mapped","v"],[[120116,120116],"mapped","w"],[[120117,120117],"mapped","x"],[[120118,120118],"mapped","y"],[[120119,120119],"mapped","z"],[[120120,120120],"mapped","a"],[[120121,120121],"mapped","b"],[[120122,120122],"disallowed"],[[120123,120123],"mapped","d"],[[120124,120124],"mapped","e"],[[120125,120125],"mapped","f"],[[120126,120126],"mapped","g"],[[120127,120127],"disallowed"],[[120128,120128],"mapped","i"],[[120129,120129],"mapped","j"],[[120130,120130],"mapped","k"],[[120131,120131],"mapped","l"],[[120132,120132],"mapped","m"],[[120133,120133],"disallowed"],[[120134,120134],"mapped","o"],[[120135,120137],"disallowed"],[[120138,120138],"mapped","s"],[[120139,120139],"mapped","t"],[[120140,120140],"mapped","u"],[[120141,120141],"mapped","v"],[[120142,120142],"mapped","w"],[[120143,120143],"mapped","x"],[[120144,120144],"mapped","y"],[[120145,120145],"disallowed"],[[120146,120146],"mapped","a"],[[120147,120147],"mapped","b"],[[120148,120148],"mapped","c"],[[120149,120149],"mapped","d"],[[120150,120150],"mapped","e"],[[120151,120151],"mapped","f"],[[120152,120152],"mapped","g"],[[120153,120153],"mapped","h"],[[120154,120154],"mapped","i"],[[120155,120155],"mapped","j"],[[120156,120156],"mapped","k"],[[120157,120157],"mapped","l"],[[120158,120158],"mapped","m"],[[120159,120159],"mapped","n"],[[120160,120160],"mapped","o"],[[120161,120161],"mapped","p"],[[120162,120162],"mapped","q"],[[120163,120163],"mapped","r"],[[120164,120164],"mapped","s"],[[120165,120165],"mapped","t"],[[120166,120166],"mapped","u"],[[120167,120167],"mapped","v"],[[120168,120168],"mapped","w"],[[120169,120169],"mapped","x"],[[120170,120170],"mapped","y"],[[120171,120171],"mapped","z"],[[120172,120172],"mapped","a"],[[120173,120173],"mapped","b"],[[120174,120174],"mapped","c"],[[120175,120175],"mapped","d"],[[120176,120176],"mapped","e"],[[120177,120177],"mapped","f"],[[120178,120178],"mapped","g"],[[120179,120179],"mapped","h"],[[120180,120180],"mapped","i"],[[120181,120181],"mapped","j"],[[120182,120182],"mapped","k"],[[120183,120183],"mapped","l"],[[120184,120184],"mapped","m"],[[120185,120185],"mapped","n"],[[120186,120186],"mapped","o"],[[120187,120187],"mapped","p"],[[120188,120188],"mapped","q"],[[120189,120189],"mapped","r"],[[120190,120190],"mapped","s"],[[120191,120191],"mapped","t"],[[120192,120192],"mapped","u"],[[120193,120193],"mapped","v"],[[120194,120194],"mapped","w"],[[120195,120195],"mapped","x"],[[120196,120196],"mapped","y"],[[120197,120197],"mapped","z"],[[120198,120198],"mapped","a"],[[120199,120199],"mapped","b"],[[120200,120200],"mapped","c"],[[120201,120201],"mapped","d"],[[120202,120202],"mapped","e"],[[120203,120203],"mapped","f"],[[120204,120204],"mapped","g"],[[120205,120205],"mapped","h"],[[120206,120206],"mapped","i"],[[120207,120207],"mapped","j"],[[120208,120208],"mapped","k"],[[120209,120209],"mapped","l"],[[120210,120210],"mapped","m"],[[120211,120211],"mapped","n"],[[120212,120212],"mapped","o"],[[120213,120213],"mapped","p"],[[120214,120214],"mapped","q"],[[120215,120215],"mapped","r"],[[120216,120216],"mapped","s"],[[120217,120217],"mapped","t"],[[120218,120218],"mapped","u"],[[120219,120219],"mapped","v"],[[120220,120220],"mapped","w"],[[120221,120221],"mapped","x"],[[120222,120222],"mapped","y"],[[120223,120223],"mapped","z"],[[120224,120224],"mapped","a"],[[120225,120225],"mapped","b"],[[120226,120226],"mapped","c"],[[120227,120227],"mapped","d"],[[120228,120228],"mapped","e"],[[120229,120229],"mapped","f"],[[120230,120230],"mapped","g"],[[120231,120231],"mapped","h"],[[120232,120232],"mapped","i"],[[120233,120233],"mapped","j"],[[120234,120234],"mapped","k"],[[120235,120235],"mapped","l"],[[120236,120236],"mapped","m"],[[120237,120237],"mapped","n"],[[120238,120238],"mapped","o"],[[120239,120239],"mapped","p"],[[120240,120240],"mapped","q"],[[120241,120241],"mapped","r"],[[120242,120242],"mapped","s"],[[120243,120243],"mapped","t"],[[120244,120244],"mapped","u"],[[120245,120245],"mapped","v"],[[120246,120246],"mapped","w"],[[120247,120247],"mapped","x"],[[120248,120248],"mapped","y"],[[120249,120249],"mapped","z"],[[120250,120250],"mapped","a"],[[120251,120251],"mapped","b"],[[120252,120252],"mapped","c"],[[120253,120253],"mapped","d"],[[120254,120254],"mapped","e"],[[120255,120255],"mapped","f"],[[120256,120256],"mapped","g"],[[120257,120257],"mapped","h"],[[120258,120258],"mapped","i"],[[120259,120259],"mapped","j"],[[120260,120260],"mapped","k"],[[120261,120261],"mapped","l"],[[120262,120262],"mapped","m"],[[120263,120263],"mapped","n"],[[120264,120264],"mapped","o"],[[120265,120265],"mapped","p"],[[120266,120266],"mapped","q"],[[120267,120267],"mapped","r"],[[120268,120268],"mapped","s"],[[120269,120269],"mapped","t"],[[120270,120270],"mapped","u"],[[120271,120271],"mapped","v"],[[120272,120272],"mapped","w"],[[120273,120273],"mapped","x"],[[120274,120274],"mapped","y"],[[120275,120275],"mapped","z"],[[120276,120276],"mapped","a"],[[120277,120277],"mapped","b"],[[120278,120278],"mapped","c"],[[120279,120279],"mapped","d"],[[120280,120280],"mapped","e"],[[120281,120281],"mapped","f"],[[120282,120282],"mapped","g"],[[120283,120283],"mapped","h"],[[120284,120284],"mapped","i"],[[120285,120285],"mapped","j"],[[120286,120286],"mapped","k"],[[120287,120287],"mapped","l"],[[120288,120288],"mapped","m"],[[120289,120289],"mapped","n"],[[120290,120290],"mapped","o"],[[120291,120291],"mapped","p"],[[120292,120292],"mapped","q"],[[120293,120293],"mapped","r"],[[120294,120294],"mapped","s"],[[120295,120295],"mapped","t"],[[120296,120296],"mapped","u"],[[120297,120297],"mapped","v"],[[120298,120298],"mapped","w"],[[120299,120299],"mapped","x"],[[120300,120300],"mapped","y"],[[120301,120301],"mapped","z"],[[120302,120302],"mapped","a"],[[120303,120303],"mapped","b"],[[120304,120304],"mapped","c"],[[120305,120305],"mapped","d"],[[120306,120306],"mapped","e"],[[120307,120307],"mapped","f"],[[120308,120308],"mapped","g"],[[120309,120309],"mapped","h"],[[120310,120310],"mapped","i"],[[120311,120311],"mapped","j"],[[120312,120312],"mapped","k"],[[120313,120313],"mapped","l"],[[120314,120314],"mapped","m"],[[120315,120315],"mapped","n"],[[120316,120316],"mapped","o"],[[120317,120317],"mapped","p"],[[120318,120318],"mapped","q"],[[120319,120319],"mapped","r"],[[120320,120320],"mapped","s"],[[120321,120321],"mapped","t"],[[120322,120322],"mapped","u"],[[120323,120323],"mapped","v"],[[120324,120324],"mapped","w"],[[120325,120325],"mapped","x"],[[120326,120326],"mapped","y"],[[120327,120327],"mapped","z"],[[120328,120328],"mapped","a"],[[120329,120329],"mapped","b"],[[120330,120330],"mapped","c"],[[120331,120331],"mapped","d"],[[120332,120332],"mapped","e"],[[120333,120333],"mapped","f"],[[120334,120334],"mapped","g"],[[120335,120335],"mapped","h"],[[120336,120336],"mapped","i"],[[120337,120337],"mapped","j"],[[120338,120338],"mapped","k"],[[120339,120339],"mapped","l"],[[120340,120340],"mapped","m"],[[120341,120341],"mapped","n"],[[120342,120342],"mapped","o"],[[120343,120343],"mapped","p"],[[120344,120344],"mapped","q"],[[120345,120345],"mapped","r"],[[120346,120346],"mapped","s"],[[120347,120347],"mapped","t"],[[120348,120348],"mapped","u"],[[120349,120349],"mapped","v"],[[120350,120350],"mapped","w"],[[120351,120351],"mapped","x"],[[120352,120352],"mapped","y"],[[120353,120353],"mapped","z"],[[120354,120354],"mapped","a"],[[120355,120355],"mapped","b"],[[120356,120356],"mapped","c"],[[120357,120357],"mapped","d"],[[120358,120358],"mapped","e"],[[120359,120359],"mapped","f"],[[120360,120360],"mapped","g"],[[120361,120361],"mapped","h"],[[120362,120362],"mapped","i"],[[120363,120363],"mapped","j"],[[120364,120364],"mapped","k"],[[120365,120365],"mapped","l"],[[120366,120366],"mapped","m"],[[120367,120367],"mapped","n"],[[120368,120368],"mapped","o"],[[120369,120369],"mapped","p"],[[120370,120370],"mapped","q"],[[120371,120371],"mapped","r"],[[120372,120372],"mapped","s"],[[120373,120373],"mapped","t"],[[120374,120374],"mapped","u"],[[120375,120375],"mapped","v"],[[120376,120376],"mapped","w"],[[120377,120377],"mapped","x"],[[120378,120378],"mapped","y"],[[120379,120379],"mapped","z"],[[120380,120380],"mapped","a"],[[120381,120381],"mapped","b"],[[120382,120382],"mapped","c"],[[120383,120383],"mapped","d"],[[120384,120384],"mapped","e"],[[120385,120385],"mapped","f"],[[120386,120386],"mapped","g"],[[120387,120387],"mapped","h"],[[120388,120388],"mapped","i"],[[120389,120389],"mapped","j"],[[120390,120390],"mapped","k"],[[120391,120391],"mapped","l"],[[120392,120392],"mapped","m"],[[120393,120393],"mapped","n"],[[120394,120394],"mapped","o"],[[120395,120395],"mapped","p"],[[120396,120396],"mapped","q"],[[120397,120397],"mapped","r"],[[120398,120398],"mapped","s"],[[120399,120399],"mapped","t"],[[120400,120400],"mapped","u"],[[120401,120401],"mapped","v"],[[120402,120402],"mapped","w"],[[120403,120403],"mapped","x"],[[120404,120404],"mapped","y"],[[120405,120405],"mapped","z"],[[120406,120406],"mapped","a"],[[120407,120407],"mapped","b"],[[120408,120408],"mapped","c"],[[120409,120409],"mapped","d"],[[120410,120410],"mapped","e"],[[120411,120411],"mapped","f"],[[120412,120412],"mapped","g"],[[120413,120413],"mapped","h"],[[120414,120414],"mapped","i"],[[120415,120415],"mapped","j"],[[120416,120416],"mapped","k"],[[120417,120417],"mapped","l"],[[120418,120418],"mapped","m"],[[120419,120419],"mapped","n"],[[120420,120420],"mapped","o"],[[120421,120421],"mapped","p"],[[120422,120422],"mapped","q"],[[120423,120423],"mapped","r"],[[120424,120424],"mapped","s"],[[120425,120425],"mapped","t"],[[120426,120426],"mapped","u"],[[120427,120427],"mapped","v"],[[120428,120428],"mapped","w"],[[120429,120429],"mapped","x"],[[120430,120430],"mapped","y"],[[120431,120431],"mapped","z"],[[120432,120432],"mapped","a"],[[120433,120433],"mapped","b"],[[120434,120434],"mapped","c"],[[120435,120435],"mapped","d"],[[120436,120436],"mapped","e"],[[120437,120437],"mapped","f"],[[120438,120438],"mapped","g"],[[120439,120439],"mapped","h"],[[120440,120440],"mapped","i"],[[120441,120441],"mapped","j"],[[120442,120442],"mapped","k"],[[120443,120443],"mapped","l"],[[120444,120444],"mapped","m"],[[120445,120445],"mapped","n"],[[120446,120446],"mapped","o"],[[120447,120447],"mapped","p"],[[120448,120448],"mapped","q"],[[120449,120449],"mapped","r"],[[120450,120450],"mapped","s"],[[120451,120451],"mapped","t"],[[120452,120452],"mapped","u"],[[120453,120453],"mapped","v"],[[120454,120454],"mapped","w"],[[120455,120455],"mapped","x"],[[120456,120456],"mapped","y"],[[120457,120457],"mapped","z"],[[120458,120458],"mapped","a"],[[120459,120459],"mapped","b"],[[120460,120460],"mapped","c"],[[120461,120461],"mapped","d"],[[120462,120462],"mapped","e"],[[120463,120463],"mapped","f"],[[120464,120464],"mapped","g"],[[120465,120465],"mapped","h"],[[120466,120466],"mapped","i"],[[120467,120467],"mapped","j"],[[120468,120468],"mapped","k"],[[120469,120469],"mapped","l"],[[120470,120470],"mapped","m"],[[120471,120471],"mapped","n"],[[120472,120472],"mapped","o"],[[120473,120473],"mapped","p"],[[120474,120474],"mapped","q"],[[120475,120475],"mapped","r"],[[120476,120476],"mapped","s"],[[120477,120477],"mapped","t"],[[120478,120478],"mapped","u"],[[120479,120479],"mapped","v"],[[120480,120480],"mapped","w"],[[120481,120481],"mapped","x"],[[120482,120482],"mapped","y"],[[120483,120483],"mapped","z"],[[120484,120484],"mapped","\u0131"],[[120485,120485],"mapped","\u0237"],[[120486,120487],"disallowed"],[[120488,120488],"mapped","\u03B1"],[[120489,120489],"mapped","\u03B2"],[[120490,120490],"mapped","\u03B3"],[[120491,120491],"mapped","\u03B4"],[[120492,120492],"mapped","\u03B5"],[[120493,120493],"mapped","\u03B6"],[[120494,120494],"mapped","\u03B7"],[[120495,120495],"mapped","\u03B8"],[[120496,120496],"mapped","\u03B9"],[[120497,120497],"mapped","\u03BA"],[[120498,120498],"mapped","\u03BB"],[[120499,120499],"mapped","\u03BC"],[[120500,120500],"mapped","\u03BD"],[[120501,120501],"mapped","\u03BE"],[[120502,120502],"mapped","\u03BF"],[[120503,120503],"mapped","\u03C0"],[[120504,120504],"mapped","\u03C1"],[[120505,120505],"mapped","\u03B8"],[[120506,120506],"mapped","\u03C3"],[[120507,120507],"mapped","\u03C4"],[[120508,120508],"mapped","\u03C5"],[[120509,120509],"mapped","\u03C6"],[[120510,120510],"mapped","\u03C7"],[[120511,120511],"mapped","\u03C8"],[[120512,120512],"mapped","\u03C9"],[[120513,120513],"mapped","\u2207"],[[120514,120514],"mapped","\u03B1"],[[120515,120515],"mapped","\u03B2"],[[120516,120516],"mapped","\u03B3"],[[120517,120517],"mapped","\u03B4"],[[120518,120518],"mapped","\u03B5"],[[120519,120519],"mapped","\u03B6"],[[120520,120520],"mapped","\u03B7"],[[120521,120521],"mapped","\u03B8"],[[120522,120522],"mapped","\u03B9"],[[120523,120523],"mapped","\u03BA"],[[120524,120524],"mapped","\u03BB"],[[120525,120525],"mapped","\u03BC"],[[120526,120526],"mapped","\u03BD"],[[120527,120527],"mapped","\u03BE"],[[120528,120528],"mapped","\u03BF"],[[120529,120529],"mapped","\u03C0"],[[120530,120530],"mapped","\u03C1"],[[120531,120532],"mapped","\u03C3"],[[120533,120533],"mapped","\u03C4"],[[120534,120534],"mapped","\u03C5"],[[120535,120535],"mapped","\u03C6"],[[120536,120536],"mapped","\u03C7"],[[120537,120537],"mapped","\u03C8"],[[120538,120538],"mapped","\u03C9"],[[120539,120539],"mapped","\u2202"],[[120540,120540],"mapped","\u03B5"],[[120541,120541],"mapped","\u03B8"],[[120542,120542],"mapped","\u03BA"],[[120543,120543],"mapped","\u03C6"],[[120544,120544],"mapped","\u03C1"],[[120545,120545],"mapped","\u03C0"],[[120546,120546],"mapped","\u03B1"],[[120547,120547],"mapped","\u03B2"],[[120548,120548],"mapped","\u03B3"],[[120549,120549],"mapped","\u03B4"],[[120550,120550],"mapped","\u03B5"],[[120551,120551],"mapped","\u03B6"],[[120552,120552],"mapped","\u03B7"],[[120553,120553],"mapped","\u03B8"],[[120554,120554],"mapped","\u03B9"],[[120555,120555],"mapped","\u03BA"],[[120556,120556],"mapped","\u03BB"],[[120557,120557],"mapped","\u03BC"],[[120558,120558],"mapped","\u03BD"],[[120559,120559],"mapped","\u03BE"],[[120560,120560],"mapped","\u03BF"],[[120561,120561],"mapped","\u03C0"],[[120562,120562],"mapped","\u03C1"],[[120563,120563],"mapped","\u03B8"],[[120564,120564],"mapped","\u03C3"],[[120565,120565],"mapped","\u03C4"],[[120566,120566],"mapped","\u03C5"],[[120567,120567],"mapped","\u03C6"],[[120568,120568],"mapped","\u03C7"],[[120569,120569],"mapped","\u03C8"],[[120570,120570],"mapped","\u03C9"],[[120571,120571],"mapped","\u2207"],[[120572,120572],"mapped","\u03B1"],[[120573,120573],"mapped","\u03B2"],[[120574,120574],"mapped","\u03B3"],[[120575,120575],"mapped","\u03B4"],[[120576,120576],"mapped","\u03B5"],[[120577,120577],"mapped","\u03B6"],[[120578,120578],"mapped","\u03B7"],[[120579,120579],"mapped","\u03B8"],[[120580,120580],"mapped","\u03B9"],[[120581,120581],"mapped","\u03BA"],[[120582,120582],"mapped","\u03BB"],[[120583,120583],"mapped","\u03BC"],[[120584,120584],"mapped","\u03BD"],[[120585,120585],"mapped","\u03BE"],[[120586,120586],"mapped","\u03BF"],[[120587,120587],"mapped","\u03C0"],[[120588,120588],"mapped","\u03C1"],[[120589,120590],"mapped","\u03C3"],[[120591,120591],"mapped","\u03C4"],[[120592,120592],"mapped","\u03C5"],[[120593,120593],"mapped","\u03C6"],[[120594,120594],"mapped","\u03C7"],[[120595,120595],"mapped","\u03C8"],[[120596,120596],"mapped","\u03C9"],[[120597,120597],"mapped","\u2202"],[[120598,120598],"mapped","\u03B5"],[[120599,120599],"mapped","\u03B8"],[[120600,120600],"mapped","\u03BA"],[[120601,120601],"mapped","\u03C6"],[[120602,120602],"mapped","\u03C1"],[[120603,120603],"mapped","\u03C0"],[[120604,120604],"mapped","\u03B1"],[[120605,120605],"mapped","\u03B2"],[[120606,120606],"mapped","\u03B3"],[[120607,120607],"mapped","\u03B4"],[[120608,120608],"mapped","\u03B5"],[[120609,120609],"mapped","\u03B6"],[[120610,120610],"mapped","\u03B7"],[[120611,120611],"mapped","\u03B8"],[[120612,120612],"mapped","\u03B9"],[[120613,120613],"mapped","\u03BA"],[[120614,120614],"mapped","\u03BB"],[[120615,120615],"mapped","\u03BC"],[[120616,120616],"mapped","\u03BD"],[[120617,120617],"mapped","\u03BE"],[[120618,120618],"mapped","\u03BF"],[[120619,120619],"mapped","\u03C0"],[[120620,120620],"mapped","\u03C1"],[[120621,120621],"mapped","\u03B8"],[[120622,120622],"mapped","\u03C3"],[[120623,120623],"mapped","\u03C4"],[[120624,120624],"mapped","\u03C5"],[[120625,120625],"mapped","\u03C6"],[[120626,120626],"mapped","\u03C7"],[[120627,120627],"mapped","\u03C8"],[[120628,120628],"mapped","\u03C9"],[[120629,120629],"mapped","\u2207"],[[120630,120630],"mapped","\u03B1"],[[120631,120631],"mapped","\u03B2"],[[120632,120632],"mapped","\u03B3"],[[120633,120633],"mapped","\u03B4"],[[120634,120634],"mapped","\u03B5"],[[120635,120635],"mapped","\u03B6"],[[120636,120636],"mapped","\u03B7"],[[120637,120637],"mapped","\u03B8"],[[120638,120638],"mapped","\u03B9"],[[120639,120639],"mapped","\u03BA"],[[120640,120640],"mapped","\u03BB"],[[120641,120641],"mapped","\u03BC"],[[120642,120642],"mapped","\u03BD"],[[120643,120643],"mapped","\u03BE"],[[120644,120644],"mapped","\u03BF"],[[120645,120645],"mapped","\u03C0"],[[120646,120646],"mapped","\u03C1"],[[120647,120648],"mapped","\u03C3"],[[120649,120649],"mapped","\u03C4"],[[120650,120650],"mapped","\u03C5"],[[120651,120651],"mapped","\u03C6"],[[120652,120652],"mapped","\u03C7"],[[120653,120653],"mapped","\u03C8"],[[120654,120654],"mapped","\u03C9"],[[120655,120655],"mapped","\u2202"],[[120656,120656],"mapped","\u03B5"],[[120657,120657],"mapped","\u03B8"],[[120658,120658],"mapped","\u03BA"],[[120659,120659],"mapped","\u03C6"],[[120660,120660],"mapped","\u03C1"],[[120661,120661],"mapped","\u03C0"],[[120662,120662],"mapped","\u03B1"],[[120663,120663],"mapped","\u03B2"],[[120664,120664],"mapped","\u03B3"],[[120665,120665],"mapped","\u03B4"],[[120666,120666],"mapped","\u03B5"],[[120667,120667],"mapped","\u03B6"],[[120668,120668],"mapped","\u03B7"],[[120669,120669],"mapped","\u03B8"],[[120670,120670],"mapped","\u03B9"],[[120671,120671],"mapped","\u03BA"],[[120672,120672],"mapped","\u03BB"],[[120673,120673],"mapped","\u03BC"],[[120674,120674],"mapped","\u03BD"],[[120675,120675],"mapped","\u03BE"],[[120676,120676],"mapped","\u03BF"],[[120677,120677],"mapped","\u03C0"],[[120678,120678],"mapped","\u03C1"],[[120679,120679],"mapped","\u03B8"],[[120680,120680],"mapped","\u03C3"],[[120681,120681],"mapped","\u03C4"],[[120682,120682],"mapped","\u03C5"],[[120683,120683],"mapped","\u03C6"],[[120684,120684],"mapped","\u03C7"],[[120685,120685],"mapped","\u03C8"],[[120686,120686],"mapped","\u03C9"],[[120687,120687],"mapped","\u2207"],[[120688,120688],"mapped","\u03B1"],[[120689,120689],"mapped","\u03B2"],[[120690,120690],"mapped","\u03B3"],[[120691,120691],"mapped","\u03B4"],[[120692,120692],"mapped","\u03B5"],[[120693,120693],"mapped","\u03B6"],[[120694,120694],"mapped","\u03B7"],[[120695,120695],"mapped","\u03B8"],[[120696,120696],"mapped","\u03B9"],[[120697,120697],"mapped","\u03BA"],[[120698,120698],"mapped","\u03BB"],[[120699,120699],"mapped","\u03BC"],[[120700,120700],"mapped","\u03BD"],[[120701,120701],"mapped","\u03BE"],[[120702,120702],"mapped","\u03BF"],[[120703,120703],"mapped","\u03C0"],[[120704,120704],"mapped","\u03C1"],[[120705,120706],"mapped","\u03C3"],[[120707,120707],"mapped","\u03C4"],[[120708,120708],"mapped","\u03C5"],[[120709,120709],"mapped","\u03C6"],[[120710,120710],"mapped","\u03C7"],[[120711,120711],"mapped","\u03C8"],[[120712,120712],"mapped","\u03C9"],[[120713,120713],"mapped","\u2202"],[[120714,120714],"mapped","\u03B5"],[[120715,120715],"mapped","\u03B8"],[[120716,120716],"mapped","\u03BA"],[[120717,120717],"mapped","\u03C6"],[[120718,120718],"mapped","\u03C1"],[[120719,120719],"mapped","\u03C0"],[[120720,120720],"mapped","\u03B1"],[[120721,120721],"mapped","\u03B2"],[[120722,120722],"mapped","\u03B3"],[[120723,120723],"mapped","\u03B4"],[[120724,120724],"mapped","\u03B5"],[[120725,120725],"mapped","\u03B6"],[[120726,120726],"mapped","\u03B7"],[[120727,120727],"mapped","\u03B8"],[[120728,120728],"mapped","\u03B9"],[[120729,120729],"mapped","\u03BA"],[[120730,120730],"mapped","\u03BB"],[[120731,120731],"mapped","\u03BC"],[[120732,120732],"mapped","\u03BD"],[[120733,120733],"mapped","\u03BE"],[[120734,120734],"mapped","\u03BF"],[[120735,120735],"mapped","\u03C0"],[[120736,120736],"mapped","\u03C1"],[[120737,120737],"mapped","\u03B8"],[[120738,120738],"mapped","\u03C3"],[[120739,120739],"mapped","\u03C4"],[[120740,120740],"mapped","\u03C5"],[[120741,120741],"mapped","\u03C6"],[[120742,120742],"mapped","\u03C7"],[[120743,120743],"mapped","\u03C8"],[[120744,120744],"mapped","\u03C9"],[[120745,120745],"mapped","\u2207"],[[120746,120746],"mapped","\u03B1"],[[120747,120747],"mapped","\u03B2"],[[120748,120748],"mapped","\u03B3"],[[120749,120749],"mapped","\u03B4"],[[120750,120750],"mapped","\u03B5"],[[120751,120751],"mapped","\u03B6"],[[120752,120752],"mapped","\u03B7"],[[120753,120753],"mapped","\u03B8"],[[120754,120754],"mapped","\u03B9"],[[120755,120755],"mapped","\u03BA"],[[120756,120756],"mapped","\u03BB"],[[120757,120757],"mapped","\u03BC"],[[120758,120758],"mapped","\u03BD"],[[120759,120759],"mapped","\u03BE"],[[120760,120760],"mapped","\u03BF"],[[120761,120761],"mapped","\u03C0"],[[120762,120762],"mapped","\u03C1"],[[120763,120764],"mapped","\u03C3"],[[120765,120765],"mapped","\u03C4"],[[120766,120766],"mapped","\u03C5"],[[120767,120767],"mapped","\u03C6"],[[120768,120768],"mapped","\u03C7"],[[120769,120769],"mapped","\u03C8"],[[120770,120770],"mapped","\u03C9"],[[120771,120771],"mapped","\u2202"],[[120772,120772],"mapped","\u03B5"],[[120773,120773],"mapped","\u03B8"],[[120774,120774],"mapped","\u03BA"],[[120775,120775],"mapped","\u03C6"],[[120776,120776],"mapped","\u03C1"],[[120777,120777],"mapped","\u03C0"],[[120778,120779],"mapped","\u03DD"],[[120780,120781],"disallowed"],[[120782,120782],"mapped","0"],[[120783,120783],"mapped","1"],[[120784,120784],"mapped","2"],[[120785,120785],"mapped","3"],[[120786,120786],"mapped","4"],[[120787,120787],"mapped","5"],[[120788,120788],"mapped","6"],[[120789,120789],"mapped","7"],[[120790,120790],"mapped","8"],[[120791,120791],"mapped","9"],[[120792,120792],"mapped","0"],[[120793,120793],"mapped","1"],[[120794,120794],"mapped","2"],[[120795,120795],"mapped","3"],[[120796,120796],"mapped","4"],[[120797,120797],"mapped","5"],[[120798,120798],"mapped","6"],[[120799,120799],"mapped","7"],[[120800,120800],"mapped","8"],[[120801,120801],"mapped","9"],[[120802,120802],"mapped","0"],[[120803,120803],"mapped","1"],[[120804,120804],"mapped","2"],[[120805,120805],"mapped","3"],[[120806,120806],"mapped","4"],[[120807,120807],"mapped","5"],[[120808,120808],"mapped","6"],[[120809,120809],"mapped","7"],[[120810,120810],"mapped","8"],[[120811,120811],"mapped","9"],[[120812,120812],"mapped","0"],[[120813,120813],"mapped","1"],[[120814,120814],"mapped","2"],[[120815,120815],"mapped","3"],[[120816,120816],"mapped","4"],[[120817,120817],"mapped","5"],[[120818,120818],"mapped","6"],[[120819,120819],"mapped","7"],[[120820,120820],"mapped","8"],[[120821,120821],"mapped","9"],[[120822,120822],"mapped","0"],[[120823,120823],"mapped","1"],[[120824,120824],"mapped","2"],[[120825,120825],"mapped","3"],[[120826,120826],"mapped","4"],[[120827,120827],"mapped","5"],[[120828,120828],"mapped","6"],[[120829,120829],"mapped","7"],[[120830,120830],"mapped","8"],[[120831,120831],"mapped","9"],[[120832,121343],"valid","","NV8"],[[121344,121398],"valid"],[[121399,121402],"valid","","NV8"],[[121403,121452],"valid"],[[121453,121460],"valid","","NV8"],[[121461,121461],"valid"],[[121462,121475],"valid","","NV8"],[[121476,121476],"valid"],[[121477,121483],"valid","","NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,122879],"disallowed"],[[122880,122886],"valid"],[[122887,122887],"disallowed"],[[122888,122904],"valid"],[[122905,122906],"disallowed"],[[122907,122913],"valid"],[[122914,122914],"disallowed"],[[122915,122916],"valid"],[[122917,122917],"disallowed"],[[122918,122922],"valid"],[[122923,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid","","NV8"],[[125136,125142],"valid"],[[125143,125183],"disallowed"],[[125184,125184],"mapped","\u{1E922}"],[[125185,125185],"mapped","\u{1E923}"],[[125186,125186],"mapped","\u{1E924}"],[[125187,125187],"mapped","\u{1E925}"],[[125188,125188],"mapped","\u{1E926}"],[[125189,125189],"mapped","\u{1E927}"],[[125190,125190],"mapped","\u{1E928}"],[[125191,125191],"mapped","\u{1E929}"],[[125192,125192],"mapped","\u{1E92A}"],[[125193,125193],"mapped","\u{1E92B}"],[[125194,125194],"mapped","\u{1E92C}"],[[125195,125195],"mapped","\u{1E92D}"],[[125196,125196],"mapped","\u{1E92E}"],[[125197,125197],"mapped","\u{1E92F}"],[[125198,125198],"mapped","\u{1E930}"],[[125199,125199],"mapped","\u{1E931}"],[[125200,125200],"mapped","\u{1E932}"],[[125201,125201],"mapped","\u{1E933}"],[[125202,125202],"mapped","\u{1E934}"],[[125203,125203],"mapped","\u{1E935}"],[[125204,125204],"mapped","\u{1E936}"],[[125205,125205],"mapped","\u{1E937}"],[[125206,125206],"mapped","\u{1E938}"],[[125207,125207],"mapped","\u{1E939}"],[[125208,125208],"mapped","\u{1E93A}"],[[125209,125209],"mapped","\u{1E93B}"],[[125210,125210],"mapped","\u{1E93C}"],[[125211,125211],"mapped","\u{1E93D}"],[[125212,125212],"mapped","\u{1E93E}"],[[125213,125213],"mapped","\u{1E93F}"],[[125214,125214],"mapped","\u{1E940}"],[[125215,125215],"mapped","\u{1E941}"],[[125216,125216],"mapped","\u{1E942}"],[[125217,125217],"mapped","\u{1E943}"],[[125218,125258],"valid"],[[125259,125263],"disallowed"],[[125264,125273],"valid"],[[125274,125277],"disallowed"],[[125278,125279],"valid","","NV8"],[[125280,126463],"disallowed"],[[126464,126464],"mapped","\u0627"],[[126465,126465],"mapped","\u0628"],[[126466,126466],"mapped","\u062C"],[[126467,126467],"mapped","\u062F"],[[126468,126468],"disallowed"],[[126469,126469],"mapped","\u0648"],[[126470,126470],"mapped","\u0632"],[[126471,126471],"mapped","\u062D"],[[126472,126472],"mapped","\u0637"],[[126473,126473],"mapped","\u064A"],[[126474,126474],"mapped","\u0643"],[[126475,126475],"mapped","\u0644"],[[126476,126476],"mapped","\u0645"],[[126477,126477],"mapped","\u0646"],[[126478,126478],"mapped","\u0633"],[[126479,126479],"mapped","\u0639"],[[126480,126480],"mapped","\u0641"],[[126481,126481],"mapped","\u0635"],[[126482,126482],"mapped","\u0642"],[[126483,126483],"mapped","\u0631"],[[126484,126484],"mapped","\u0634"],[[126485,126485],"mapped","\u062A"],[[126486,126486],"mapped","\u062B"],[[126487,126487],"mapped","\u062E"],[[126488,126488],"mapped","\u0630"],[[126489,126489],"mapped","\u0636"],[[126490,126490],"mapped","\u0638"],[[126491,126491],"mapped","\u063A"],[[126492,126492],"mapped","\u066E"],[[126493,126493],"mapped","\u06BA"],[[126494,126494],"mapped","\u06A1"],[[126495,126495],"mapped","\u066F"],[[126496,126496],"disallowed"],[[126497,126497],"mapped","\u0628"],[[126498,126498],"mapped","\u062C"],[[126499,126499],"disallowed"],[[126500,126500],"mapped","\u0647"],[[126501,126502],"disallowed"],[[126503,126503],"mapped","\u062D"],[[126504,126504],"disallowed"],[[126505,126505],"mapped","\u064A"],[[126506,126506],"mapped","\u0643"],[[126507,126507],"mapped","\u0644"],[[126508,126508],"mapped","\u0645"],[[126509,126509],"mapped","\u0646"],[[126510,126510],"mapped","\u0633"],[[126511,126511],"mapped","\u0639"],[[126512,126512],"mapped","\u0641"],[[126513,126513],"mapped","\u0635"],[[126514,126514],"mapped","\u0642"],[[126515,126515],"disallowed"],[[126516,126516],"mapped","\u0634"],[[126517,126517],"mapped","\u062A"],[[126518,126518],"mapped","\u062B"],[[126519,126519],"mapped","\u062E"],[[126520,126520],"disallowed"],[[126521,126521],"mapped","\u0636"],[[126522,126522],"disallowed"],[[126523,126523],"mapped","\u063A"],[[126524,126529],"disallowed"],[[126530,126530],"mapped","\u062C"],[[126531,126534],"disallowed"],[[126535,126535],"mapped","\u062D"],[[126536,126536],"disallowed"],[[126537,126537],"mapped","\u064A"],[[126538,126538],"disallowed"],[[126539,126539],"mapped","\u0644"],[[126540,126540],"disallowed"],[[126541,126541],"mapped","\u0646"],[[126542,126542],"mapped","\u0633"],[[126543,126543],"mapped","\u0639"],[[126544,126544],"disallowed"],[[126545,126545],"mapped","\u0635"],[[126546,126546],"mapped","\u0642"],[[126547,126547],"disallowed"],[[126548,126548],"mapped","\u0634"],[[126549,126550],"disallowed"],[[126551,126551],"mapped","\u062E"],[[126552,126552],"disallowed"],[[126553,126553],"mapped","\u0636"],[[126554,126554],"disallowed"],[[126555,126555],"mapped","\u063A"],[[126556,126556],"disallowed"],[[126557,126557],"mapped","\u06BA"],[[126558,126558],"disallowed"],[[126559,126559],"mapped","\u066F"],[[126560,126560],"disallowed"],[[126561,126561],"mapped","\u0628"],[[126562,126562],"mapped","\u062C"],[[126563,126563],"disallowed"],[[126564,126564],"mapped","\u0647"],[[126565,126566],"disallowed"],[[126567,126567],"mapped","\u062D"],[[126568,126568],"mapped","\u0637"],[[126569,126569],"mapped","\u064A"],[[126570,126570],"mapped","\u0643"],[[126571,126571],"disallowed"],[[126572,126572],"mapped","\u0645"],[[126573,126573],"mapped","\u0646"],[[126574,126574],"mapped","\u0633"],[[126575,126575],"mapped","\u0639"],[[126576,126576],"mapped","\u0641"],[[126577,126577],"mapped","\u0635"],[[126578,126578],"mapped","\u0642"],[[126579,126579],"disallowed"],[[126580,126580],"mapped","\u0634"],[[126581,126581],"mapped","\u062A"],[[126582,126582],"mapped","\u062B"],[[126583,126583],"mapped","\u062E"],[[126584,126584],"disallowed"],[[126585,126585],"mapped","\u0636"],[[126586,126586],"mapped","\u0638"],[[126587,126587],"mapped","\u063A"],[[126588,126588],"mapped","\u066E"],[[126589,126589],"disallowed"],[[126590,126590],"mapped","\u06A1"],[[126591,126591],"disallowed"],[[126592,126592],"mapped","\u0627"],[[126593,126593],"mapped","\u0628"],[[126594,126594],"mapped","\u062C"],[[126595,126595],"mapped","\u062F"],[[126596,126596],"mapped","\u0647"],[[126597,126597],"mapped","\u0648"],[[126598,126598],"mapped","\u0632"],[[126599,126599],"mapped","\u062D"],[[126600,126600],"mapped","\u0637"],[[126601,126601],"mapped","\u064A"],[[126602,126602],"disallowed"],[[126603,126603],"mapped","\u0644"],[[126604,126604],"mapped","\u0645"],[[126605,126605],"mapped","\u0646"],[[126606,126606],"mapped","\u0633"],[[126607,126607],"mapped","\u0639"],[[126608,126608],"mapped","\u0641"],[[126609,126609],"mapped","\u0635"],[[126610,126610],"mapped","\u0642"],[[126611,126611],"mapped","\u0631"],[[126612,126612],"mapped","\u0634"],[[126613,126613],"mapped","\u062A"],[[126614,126614],"mapped","\u062B"],[[126615,126615],"mapped","\u062E"],[[126616,126616],"mapped","\u0630"],[[126617,126617],"mapped","\u0636"],[[126618,126618],"mapped","\u0638"],[[126619,126619],"mapped","\u063A"],[[126620,126624],"disallowed"],[[126625,126625],"mapped","\u0628"],[[126626,126626],"mapped","\u062C"],[[126627,126627],"mapped","\u062F"],[[126628,126628],"disallowed"],[[126629,126629],"mapped","\u0648"],[[126630,126630],"mapped","\u0632"],[[126631,126631],"mapped","\u062D"],[[126632,126632],"mapped","\u0637"],[[126633,126633],"mapped","\u064A"],[[126634,126634],"disallowed"],[[126635,126635],"mapped","\u0644"],[[126636,126636],"mapped","\u0645"],[[126637,126637],"mapped","\u0646"],[[126638,126638],"mapped","\u0633"],[[126639,126639],"mapped","\u0639"],[[126640,126640],"mapped","\u0641"],[[126641,126641],"mapped","\u0635"],[[126642,126642],"mapped","\u0642"],[[126643,126643],"mapped","\u0631"],[[126644,126644],"mapped","\u0634"],[[126645,126645],"mapped","\u062A"],[[126646,126646],"mapped","\u062B"],[[126647,126647],"mapped","\u062E"],[[126648,126648],"mapped","\u0630"],[[126649,126649],"mapped","\u0636"],[[126650,126650],"mapped","\u0638"],[[126651,126651],"mapped","\u063A"],[[126652,126703],"disallowed"],[[126704,126705],"valid","","NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid","","NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid","","NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid","","NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid","","NV8"],[[127167,127167],"valid","","NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid","","NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid","","NV8"],[[127200,127221],"valid","","NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped","0,"],[[127234,127234],"disallowed_STD3_mapped","1,"],[[127235,127235],"disallowed_STD3_mapped","2,"],[[127236,127236],"disallowed_STD3_mapped","3,"],[[127237,127237],"disallowed_STD3_mapped","4,"],[[127238,127238],"disallowed_STD3_mapped","5,"],[[127239,127239],"disallowed_STD3_mapped","6,"],[[127240,127240],"disallowed_STD3_mapped","7,"],[[127241,127241],"disallowed_STD3_mapped","8,"],[[127242,127242],"disallowed_STD3_mapped","9,"],[[127243,127244],"valid","","NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped","(a)"],[[127249,127249],"disallowed_STD3_mapped","(b)"],[[127250,127250],"disallowed_STD3_mapped","(c)"],[[127251,127251],"disallowed_STD3_mapped","(d)"],[[127252,127252],"disallowed_STD3_mapped","(e)"],[[127253,127253],"disallowed_STD3_mapped","(f)"],[[127254,127254],"disallowed_STD3_mapped","(g)"],[[127255,127255],"disallowed_STD3_mapped","(h)"],[[127256,127256],"disallowed_STD3_mapped","(i)"],[[127257,127257],"disallowed_STD3_mapped","(j)"],[[127258,127258],"disallowed_STD3_mapped","(k)"],[[127259,127259],"disallowed_STD3_mapped","(l)"],[[127260,127260],"disallowed_STD3_mapped","(m)"],[[127261,127261],"disallowed_STD3_mapped","(n)"],[[127262,127262],"disallowed_STD3_mapped","(o)"],[[127263,127263],"disallowed_STD3_mapped","(p)"],[[127264,127264],"disallowed_STD3_mapped","(q)"],[[127265,127265],"disallowed_STD3_mapped","(r)"],[[127266,127266],"disallowed_STD3_mapped","(s)"],[[127267,127267],"disallowed_STD3_mapped","(t)"],[[127268,127268],"disallowed_STD3_mapped","(u)"],[[127269,127269],"disallowed_STD3_mapped","(v)"],[[127270,127270],"disallowed_STD3_mapped","(w)"],[[127271,127271],"disallowed_STD3_mapped","(x)"],[[127272,127272],"disallowed_STD3_mapped","(y)"],[[127273,127273],"disallowed_STD3_mapped","(z)"],[[127274,127274],"mapped","\u3014s\u3015"],[[127275,127275],"mapped","c"],[[127276,127276],"mapped","r"],[[127277,127277],"mapped","cd"],[[127278,127278],"mapped","wz"],[[127279,127279],"disallowed"],[[127280,127280],"mapped","a"],[[127281,127281],"mapped","b"],[[127282,127282],"mapped","c"],[[127283,127283],"mapped","d"],[[127284,127284],"mapped","e"],[[127285,127285],"mapped","f"],[[127286,127286],"mapped","g"],[[127287,127287],"mapped","h"],[[127288,127288],"mapped","i"],[[127289,127289],"mapped","j"],[[127290,127290],"mapped","k"],[[127291,127291],"mapped","l"],[[127292,127292],"mapped","m"],[[127293,127293],"mapped","n"],[[127294,127294],"mapped","o"],[[127295,127295],"mapped","p"],[[127296,127296],"mapped","q"],[[127297,127297],"mapped","r"],[[127298,127298],"mapped","s"],[[127299,127299],"mapped","t"],[[127300,127300],"mapped","u"],[[127301,127301],"mapped","v"],[[127302,127302],"mapped","w"],[[127303,127303],"mapped","x"],[[127304,127304],"mapped","y"],[[127305,127305],"mapped","z"],[[127306,127306],"mapped","hv"],[[127307,127307],"mapped","mv"],[[127308,127308],"mapped","sd"],[[127309,127309],"mapped","ss"],[[127310,127310],"mapped","ppv"],[[127311,127311],"mapped","wc"],[[127312,127318],"valid","","NV8"],[[127319,127319],"valid","","NV8"],[[127320,127326],"valid","","NV8"],[[127327,127327],"valid","","NV8"],[[127328,127337],"valid","","NV8"],[[127338,127338],"mapped","mc"],[[127339,127339],"mapped","md"],[[127340,127343],"disallowed"],[[127344,127352],"valid","","NV8"],[[127353,127353],"valid","","NV8"],[[127354,127354],"valid","","NV8"],[[127355,127356],"valid","","NV8"],[[127357,127358],"valid","","NV8"],[[127359,127359],"valid","","NV8"],[[127360,127369],"valid","","NV8"],[[127370,127373],"valid","","NV8"],[[127374,127375],"valid","","NV8"],[[127376,127376],"mapped","dj"],[[127377,127386],"valid","","NV8"],[[127387,127404],"valid","","NV8"],[[127405,127461],"disallowed"],[[127462,127487],"valid","","NV8"],[[127488,127488],"mapped","\u307B\u304B"],[[127489,127489],"mapped","\u30B3\u30B3"],[[127490,127490],"mapped","\u30B5"],[[127491,127503],"disallowed"],[[127504,127504],"mapped","\u624B"],[[127505,127505],"mapped","\u5B57"],[[127506,127506],"mapped","\u53CC"],[[127507,127507],"mapped","\u30C7"],[[127508,127508],"mapped","\u4E8C"],[[127509,127509],"mapped","\u591A"],[[127510,127510],"mapped","\u89E3"],[[127511,127511],"mapped","\u5929"],[[127512,127512],"mapped","\u4EA4"],[[127513,127513],"mapped","\u6620"],[[127514,127514],"mapped","\u7121"],[[127515,127515],"mapped","\u6599"],[[127516,127516],"mapped","\u524D"],[[127517,127517],"mapped","\u5F8C"],[[127518,127518],"mapped","\u518D"],[[127519,127519],"mapped","\u65B0"],[[127520,127520],"mapped","\u521D"],[[127521,127521],"mapped","\u7D42"],[[127522,127522],"mapped","\u751F"],[[127523,127523],"mapped","\u8CA9"],[[127524,127524],"mapped","\u58F0"],[[127525,127525],"mapped","\u5439"],[[127526,127526],"mapped","\u6F14"],[[127527,127527],"mapped","\u6295"],[[127528,127528],"mapped","\u6355"],[[127529,127529],"mapped","\u4E00"],[[127530,127530],"mapped","\u4E09"],[[127531,127531],"mapped","\u904A"],[[127532,127532],"mapped","\u5DE6"],[[127533,127533],"mapped","\u4E2D"],[[127534,127534],"mapped","\u53F3"],[[127535,127535],"mapped","\u6307"],[[127536,127536],"mapped","\u8D70"],[[127537,127537],"mapped","\u6253"],[[127538,127538],"mapped","\u7981"],[[127539,127539],"mapped","\u7A7A"],[[127540,127540],"mapped","\u5408"],[[127541,127541],"mapped","\u6E80"],[[127542,127542],"mapped","\u6709"],[[127543,127543],"mapped","\u6708"],[[127544,127544],"mapped","\u7533"],[[127545,127545],"mapped","\u5272"],[[127546,127546],"mapped","\u55B6"],[[127547,127547],"mapped","\u914D"],[[127548,127551],"disallowed"],[[127552,127552],"mapped","\u3014\u672C\u3015"],[[127553,127553],"mapped","\u3014\u4E09\u3015"],[[127554,127554],"mapped","\u3014\u4E8C\u3015"],[[127555,127555],"mapped","\u3014\u5B89\u3015"],[[127556,127556],"mapped","\u3014\u70B9\u3015"],[[127557,127557],"mapped","\u3014\u6253\u3015"],[[127558,127558],"mapped","\u3014\u76D7\u3015"],[[127559,127559],"mapped","\u3014\u52DD\u3015"],[[127560,127560],"mapped","\u3014\u6557\u3015"],[[127561,127567],"disallowed"],[[127568,127568],"mapped","\u5F97"],[[127569,127569],"mapped","\u53EF"],[[127570,127583],"disallowed"],[[127584,127589],"valid","","NV8"],[[127590,127743],"disallowed"],[[127744,127776],"valid","","NV8"],[[127777,127788],"valid","","NV8"],[[127789,127791],"valid","","NV8"],[[127792,127797],"valid","","NV8"],[[127798,127798],"valid","","NV8"],[[127799,127868],"valid","","NV8"],[[127869,127869],"valid","","NV8"],[[127870,127871],"valid","","NV8"],[[127872,127891],"valid","","NV8"],[[127892,127903],"valid","","NV8"],[[127904,127940],"valid","","NV8"],[[127941,127941],"valid","","NV8"],[[127942,127946],"valid","","NV8"],[[127947,127950],"valid","","NV8"],[[127951,127955],"valid","","NV8"],[[127956,127967],"valid","","NV8"],[[127968,127984],"valid","","NV8"],[[127985,127991],"valid","","NV8"],[[127992,127999],"valid","","NV8"],[[128e3,128062],"valid","","NV8"],[[128063,128063],"valid","","NV8"],[[128064,128064],"valid","","NV8"],[[128065,128065],"valid","","NV8"],[[128066,128247],"valid","","NV8"],[[128248,128248],"valid","","NV8"],[[128249,128252],"valid","","NV8"],[[128253,128254],"valid","","NV8"],[[128255,128255],"valid","","NV8"],[[128256,128317],"valid","","NV8"],[[128318,128319],"valid","","NV8"],[[128320,128323],"valid","","NV8"],[[128324,128330],"valid","","NV8"],[[128331,128335],"valid","","NV8"],[[128336,128359],"valid","","NV8"],[[128360,128377],"valid","","NV8"],[[128378,128378],"valid","","NV8"],[[128379,128419],"valid","","NV8"],[[128420,128420],"valid","","NV8"],[[128421,128506],"valid","","NV8"],[[128507,128511],"valid","","NV8"],[[128512,128512],"valid","","NV8"],[[128513,128528],"valid","","NV8"],[[128529,128529],"valid","","NV8"],[[128530,128532],"valid","","NV8"],[[128533,128533],"valid","","NV8"],[[128534,128534],"valid","","NV8"],[[128535,128535],"valid","","NV8"],[[128536,128536],"valid","","NV8"],[[128537,128537],"valid","","NV8"],[[128538,128538],"valid","","NV8"],[[128539,128539],"valid","","NV8"],[[128540,128542],"valid","","NV8"],[[128543,128543],"valid","","NV8"],[[128544,128549],"valid","","NV8"],[[128550,128551],"valid","","NV8"],[[128552,128555],"valid","","NV8"],[[128556,128556],"valid","","NV8"],[[128557,128557],"valid","","NV8"],[[128558,128559],"valid","","NV8"],[[128560,128563],"valid","","NV8"],[[128564,128564],"valid","","NV8"],[[128565,128576],"valid","","NV8"],[[128577,128578],"valid","","NV8"],[[128579,128580],"valid","","NV8"],[[128581,128591],"valid","","NV8"],[[128592,128639],"valid","","NV8"],[[128640,128709],"valid","","NV8"],[[128710,128719],"valid","","NV8"],[[128720,128720],"valid","","NV8"],[[128721,128722],"valid","","NV8"],[[128723,128724],"valid","","NV8"],[[128725,128735],"disallowed"],[[128736,128748],"valid","","NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid","","NV8"],[[128756,128758],"valid","","NV8"],[[128759,128760],"valid","","NV8"],[[128761,128767],"disallowed"],[[128768,128883],"valid","","NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid","","NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid","","NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid","","NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid","","NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid","","NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid","","NV8"],[[129198,129279],"disallowed"],[[129280,129291],"valid","","NV8"],[[129292,129295],"disallowed"],[[129296,129304],"valid","","NV8"],[[129305,129310],"valid","","NV8"],[[129311,129311],"valid","","NV8"],[[129312,129319],"valid","","NV8"],[[129320,129327],"valid","","NV8"],[[129328,129328],"valid","","NV8"],[[129329,129330],"valid","","NV8"],[[129331,129342],"valid","","NV8"],[[129343,129343],"disallowed"],[[129344,129355],"valid","","NV8"],[[129356,129356],"valid","","NV8"],[[129357,129359],"disallowed"],[[129360,129374],"valid","","NV8"],[[129375,129387],"valid","","NV8"],[[129388,129407],"disallowed"],[[129408,129412],"valid","","NV8"],[[129413,129425],"valid","","NV8"],[[129426,129431],"valid","","NV8"],[[129432,129471],"disallowed"],[[129472,129472],"valid","","NV8"],[[129473,129487],"disallowed"],[[129488,129510],"valid","","NV8"],[[129511,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,183983],"disallowed"],[[183984,191456],"valid"],[[191457,194559],"disallowed"],[[194560,194560],"mapped","\u4E3D"],[[194561,194561],"mapped","\u4E38"],[[194562,194562],"mapped","\u4E41"],[[194563,194563],"mapped","\u{20122}"],[[194564,194564],"mapped","\u4F60"],[[194565,194565],"mapped","\u4FAE"],[[194566,194566],"mapped","\u4FBB"],[[194567,194567],"mapped","\u5002"],[[194568,194568],"mapped","\u507A"],[[194569,194569],"mapped","\u5099"],[[194570,194570],"mapped","\u50E7"],[[194571,194571],"mapped","\u50CF"],[[194572,194572],"mapped","\u349E"],[[194573,194573],"mapped","\u{2063A}"],[[194574,194574],"mapped","\u514D"],[[194575,194575],"mapped","\u5154"],[[194576,194576],"mapped","\u5164"],[[194577,194577],"mapped","\u5177"],[[194578,194578],"mapped","\u{2051C}"],[[194579,194579],"mapped","\u34B9"],[[194580,194580],"mapped","\u5167"],[[194581,194581],"mapped","\u518D"],[[194582,194582],"mapped","\u{2054B}"],[[194583,194583],"mapped","\u5197"],[[194584,194584],"mapped","\u51A4"],[[194585,194585],"mapped","\u4ECC"],[[194586,194586],"mapped","\u51AC"],[[194587,194587],"mapped","\u51B5"],[[194588,194588],"mapped","\u{291DF}"],[[194589,194589],"mapped","\u51F5"],[[194590,194590],"mapped","\u5203"],[[194591,194591],"mapped","\u34DF"],[[194592,194592],"mapped","\u523B"],[[194593,194593],"mapped","\u5246"],[[194594,194594],"mapped","\u5272"],[[194595,194595],"mapped","\u5277"],[[194596,194596],"mapped","\u3515"],[[194597,194597],"mapped","\u52C7"],[[194598,194598],"mapped","\u52C9"],[[194599,194599],"mapped","\u52E4"],[[194600,194600],"mapped","\u52FA"],[[194601,194601],"mapped","\u5305"],[[194602,194602],"mapped","\u5306"],[[194603,194603],"mapped","\u5317"],[[194604,194604],"mapped","\u5349"],[[194605,194605],"mapped","\u5351"],[[194606,194606],"mapped","\u535A"],[[194607,194607],"mapped","\u5373"],[[194608,194608],"mapped","\u537D"],[[194609,194611],"mapped","\u537F"],[[194612,194612],"mapped","\u{20A2C}"],[[194613,194613],"mapped","\u7070"],[[194614,194614],"mapped","\u53CA"],[[194615,194615],"mapped","\u53DF"],[[194616,194616],"mapped","\u{20B63}"],[[194617,194617],"mapped","\u53EB"],[[194618,194618],"mapped","\u53F1"],[[194619,194619],"mapped","\u5406"],[[194620,194620],"mapped","\u549E"],[[194621,194621],"mapped","\u5438"],[[194622,194622],"mapped","\u5448"],[[194623,194623],"mapped","\u5468"],[[194624,194624],"mapped","\u54A2"],[[194625,194625],"mapped","\u54F6"],[[194626,194626],"mapped","\u5510"],[[194627,194627],"mapped","\u5553"],[[194628,194628],"mapped","\u5563"],[[194629,194630],"mapped","\u5584"],[[194631,194631],"mapped","\u5599"],[[194632,194632],"mapped","\u55AB"],[[194633,194633],"mapped","\u55B3"],[[194634,194634],"mapped","\u55C2"],[[194635,194635],"mapped","\u5716"],[[194636,194636],"mapped","\u5606"],[[194637,194637],"mapped","\u5717"],[[194638,194638],"mapped","\u5651"],[[194639,194639],"mapped","\u5674"],[[194640,194640],"mapped","\u5207"],[[194641,194641],"mapped","\u58EE"],[[194642,194642],"mapped","\u57CE"],[[194643,194643],"mapped","\u57F4"],[[194644,194644],"mapped","\u580D"],[[194645,194645],"mapped","\u578B"],[[194646,194646],"mapped","\u5832"],[[194647,194647],"mapped","\u5831"],[[194648,194648],"mapped","\u58AC"],[[194649,194649],"mapped","\u{214E4}"],[[194650,194650],"mapped","\u58F2"],[[194651,194651],"mapped","\u58F7"],[[194652,194652],"mapped","\u5906"],[[194653,194653],"mapped","\u591A"],[[194654,194654],"mapped","\u5922"],[[194655,194655],"mapped","\u5962"],[[194656,194656],"mapped","\u{216A8}"],[[194657,194657],"mapped","\u{216EA}"],[[194658,194658],"mapped","\u59EC"],[[194659,194659],"mapped","\u5A1B"],[[194660,194660],"mapped","\u5A27"],[[194661,194661],"mapped","\u59D8"],[[194662,194662],"mapped","\u5A66"],[[194663,194663],"mapped","\u36EE"],[[194664,194664],"disallowed"],[[194665,194665],"mapped","\u5B08"],[[194666,194667],"mapped","\u5B3E"],[[194668,194668],"mapped","\u{219C8}"],[[194669,194669],"mapped","\u5BC3"],[[194670,194670],"mapped","\u5BD8"],[[194671,194671],"mapped","\u5BE7"],[[194672,194672],"mapped","\u5BF3"],[[194673,194673],"mapped","\u{21B18}"],[[194674,194674],"mapped","\u5BFF"],[[194675,194675],"mapped","\u5C06"],[[194676,194676],"disallowed"],[[194677,194677],"mapped","\u5C22"],[[194678,194678],"mapped","\u3781"],[[194679,194679],"mapped","\u5C60"],[[194680,194680],"mapped","\u5C6E"],[[194681,194681],"mapped","\u5CC0"],[[194682,194682],"mapped","\u5C8D"],[[194683,194683],"mapped","\u{21DE4}"],[[194684,194684],"mapped","\u5D43"],[[194685,194685],"mapped","\u{21DE6}"],[[194686,194686],"mapped","\u5D6E"],[[194687,194687],"mapped","\u5D6B"],[[194688,194688],"mapped","\u5D7C"],[[194689,194689],"mapped","\u5DE1"],[[194690,194690],"mapped","\u5DE2"],[[194691,194691],"mapped","\u382F"],[[194692,194692],"mapped","\u5DFD"],[[194693,194693],"mapped","\u5E28"],[[194694,194694],"mapped","\u5E3D"],[[194695,194695],"mapped","\u5E69"],[[194696,194696],"mapped","\u3862"],[[194697,194697],"mapped","\u{22183}"],[[194698,194698],"mapped","\u387C"],[[194699,194699],"mapped","\u5EB0"],[[194700,194700],"mapped","\u5EB3"],[[194701,194701],"mapped","\u5EB6"],[[194702,194702],"mapped","\u5ECA"],[[194703,194703],"mapped","\u{2A392}"],[[194704,194704],"mapped","\u5EFE"],[[194705,194706],"mapped","\u{22331}"],[[194707,194707],"mapped","\u8201"],[[194708,194709],"mapped","\u5F22"],[[194710,194710],"mapped","\u38C7"],[[194711,194711],"mapped","\u{232B8}"],[[194712,194712],"mapped","\u{261DA}"],[[194713,194713],"mapped","\u5F62"],[[194714,194714],"mapped","\u5F6B"],[[194715,194715],"mapped","\u38E3"],[[194716,194716],"mapped","\u5F9A"],[[194717,194717],"mapped","\u5FCD"],[[194718,194718],"mapped","\u5FD7"],[[194719,194719],"mapped","\u5FF9"],[[194720,194720],"mapped","\u6081"],[[194721,194721],"mapped","\u393A"],[[194722,194722],"mapped","\u391C"],[[194723,194723],"mapped","\u6094"],[[194724,194724],"mapped","\u{226D4}"],[[194725,194725],"mapped","\u60C7"],[[194726,194726],"mapped","\u6148"],[[194727,194727],"mapped","\u614C"],[[194728,194728],"mapped","\u614E"],[[194729,194729],"mapped","\u614C"],[[194730,194730],"mapped","\u617A"],[[194731,194731],"mapped","\u618E"],[[194732,194732],"mapped","\u61B2"],[[194733,194733],"mapped","\u61A4"],[[194734,194734],"mapped","\u61AF"],[[194735,194735],"mapped","\u61DE"],[[194736,194736],"mapped","\u61F2"],[[194737,194737],"mapped","\u61F6"],[[194738,194738],"mapped","\u6210"],[[194739,194739],"mapped","\u621B"],[[194740,194740],"mapped","\u625D"],[[194741,194741],"mapped","\u62B1"],[[194742,194742],"mapped","\u62D4"],[[194743,194743],"mapped","\u6350"],[[194744,194744],"mapped","\u{22B0C}"],[[194745,194745],"mapped","\u633D"],[[194746,194746],"mapped","\u62FC"],[[194747,194747],"mapped","\u6368"],[[194748,194748],"mapped","\u6383"],[[194749,194749],"mapped","\u63E4"],[[194750,194750],"mapped","\u{22BF1}"],[[194751,194751],"mapped","\u6422"],[[194752,194752],"mapped","\u63C5"],[[194753,194753],"mapped","\u63A9"],[[194754,194754],"mapped","\u3A2E"],[[194755,194755],"mapped","\u6469"],[[194756,194756],"mapped","\u647E"],[[194757,194757],"mapped","\u649D"],[[194758,194758],"mapped","\u6477"],[[194759,194759],"mapped","\u3A6C"],[[194760,194760],"mapped","\u654F"],[[194761,194761],"mapped","\u656C"],[[194762,194762],"mapped","\u{2300A}"],[[194763,194763],"mapped","\u65E3"],[[194764,194764],"mapped","\u66F8"],[[194765,194765],"mapped","\u6649"],[[194766,194766],"mapped","\u3B19"],[[194767,194767],"mapped","\u6691"],[[194768,194768],"mapped","\u3B08"],[[194769,194769],"mapped","\u3AE4"],[[194770,194770],"mapped","\u5192"],[[194771,194771],"mapped","\u5195"],[[194772,194772],"mapped","\u6700"],[[194773,194773],"mapped","\u669C"],[[194774,194774],"mapped","\u80AD"],[[194775,194775],"mapped","\u43D9"],[[194776,194776],"mapped","\u6717"],[[194777,194777],"mapped","\u671B"],[[194778,194778],"mapped","\u6721"],[[194779,194779],"mapped","\u675E"],[[194780,194780],"mapped","\u6753"],[[194781,194781],"mapped","\u{233C3}"],[[194782,194782],"mapped","\u3B49"],[[194783,194783],"mapped","\u67FA"],[[194784,194784],"mapped","\u6785"],[[194785,194785],"mapped","\u6852"],[[194786,194786],"mapped","\u6885"],[[194787,194787],"mapped","\u{2346D}"],[[194788,194788],"mapped","\u688E"],[[194789,194789],"mapped","\u681F"],[[194790,194790],"mapped","\u6914"],[[194791,194791],"mapped","\u3B9D"],[[194792,194792],"mapped","\u6942"],[[194793,194793],"mapped","\u69A3"],[[194794,194794],"mapped","\u69EA"],[[194795,194795],"mapped","\u6AA8"],[[194796,194796],"mapped","\u{236A3}"],[[194797,194797],"mapped","\u6ADB"],[[194798,194798],"mapped","\u3C18"],[[194799,194799],"mapped","\u6B21"],[[194800,194800],"mapped","\u{238A7}"],[[194801,194801],"mapped","\u6B54"],[[194802,194802],"mapped","\u3C4E"],[[194803,194803],"mapped","\u6B72"],[[194804,194804],"mapped","\u6B9F"],[[194805,194805],"mapped","\u6BBA"],[[194806,194806],"mapped","\u6BBB"],[[194807,194807],"mapped","\u{23A8D}"],[[194808,194808],"mapped","\u{21D0B}"],[[194809,194809],"mapped","\u{23AFA}"],[[194810,194810],"mapped","\u6C4E"],[[194811,194811],"mapped","\u{23CBC}"],[[194812,194812],"mapped","\u6CBF"],[[194813,194813],"mapped","\u6CCD"],[[194814,194814],"mapped","\u6C67"],[[194815,194815],"mapped","\u6D16"],[[194816,194816],"mapped","\u6D3E"],[[194817,194817],"mapped","\u6D77"],[[194818,194818],"mapped","\u6D41"],[[194819,194819],"mapped","\u6D69"],[[194820,194820],"mapped","\u6D78"],[[194821,194821],"mapped","\u6D85"],[[194822,194822],"mapped","\u{23D1E}"],[[194823,194823],"mapped","\u6D34"],[[194824,194824],"mapped","\u6E2F"],[[194825,194825],"mapped","\u6E6E"],[[194826,194826],"mapped","\u3D33"],[[194827,194827],"mapped","\u6ECB"],[[194828,194828],"mapped","\u6EC7"],[[194829,194829],"mapped","\u{23ED1}"],[[194830,194830],"mapped","\u6DF9"],[[194831,194831],"mapped","\u6F6E"],[[194832,194832],"mapped","\u{23F5E}"],[[194833,194833],"mapped","\u{23F8E}"],[[194834,194834],"mapped","\u6FC6"],[[194835,194835],"mapped","\u7039"],[[194836,194836],"mapped","\u701E"],[[194837,194837],"mapped","\u701B"],[[194838,194838],"mapped","\u3D96"],[[194839,194839],"mapped","\u704A"],[[194840,194840],"mapped","\u707D"],[[194841,194841],"mapped","\u7077"],[[194842,194842],"mapped","\u70AD"],[[194843,194843],"mapped","\u{20525}"],[[194844,194844],"mapped","\u7145"],[[194845,194845],"mapped","\u{24263}"],[[194846,194846],"mapped","\u719C"],[[194847,194847],"disallowed"],[[194848,194848],"mapped","\u7228"],[[194849,194849],"mapped","\u7235"],[[194850,194850],"mapped","\u7250"],[[194851,194851],"mapped","\u{24608}"],[[194852,194852],"mapped","\u7280"],[[194853,194853],"mapped","\u7295"],[[194854,194854],"mapped","\u{24735}"],[[194855,194855],"mapped","\u{24814}"],[[194856,194856],"mapped","\u737A"],[[194857,194857],"mapped","\u738B"],[[194858,194858],"mapped","\u3EAC"],[[194859,194859],"mapped","\u73A5"],[[194860,194861],"mapped","\u3EB8"],[[194862,194862],"mapped","\u7447"],[[194863,194863],"mapped","\u745C"],[[194864,194864],"mapped","\u7471"],[[194865,194865],"mapped","\u7485"],[[194866,194866],"mapped","\u74CA"],[[194867,194867],"mapped","\u3F1B"],[[194868,194868],"mapped","\u7524"],[[194869,194869],"mapped","\u{24C36}"],[[194870,194870],"mapped","\u753E"],[[194871,194871],"mapped","\u{24C92}"],[[194872,194872],"mapped","\u7570"],[[194873,194873],"mapped","\u{2219F}"],[[194874,194874],"mapped","\u7610"],[[194875,194875],"mapped","\u{24FA1}"],[[194876,194876],"mapped","\u{24FB8}"],[[194877,194877],"mapped","\u{25044}"],[[194878,194878],"mapped","\u3FFC"],[[194879,194879],"mapped","\u4008"],[[194880,194880],"mapped","\u76F4"],[[194881,194881],"mapped","\u{250F3}"],[[194882,194882],"mapped","\u{250F2}"],[[194883,194883],"mapped","\u{25119}"],[[194884,194884],"mapped","\u{25133}"],[[194885,194885],"mapped","\u771E"],[[194886,194887],"mapped","\u771F"],[[194888,194888],"mapped","\u774A"],[[194889,194889],"mapped","\u4039"],[[194890,194890],"mapped","\u778B"],[[194891,194891],"mapped","\u4046"],[[194892,194892],"mapped","\u4096"],[[194893,194893],"mapped","\u{2541D}"],[[194894,194894],"mapped","\u784E"],[[194895,194895],"mapped","\u788C"],[[194896,194896],"mapped","\u78CC"],[[194897,194897],"mapped","\u40E3"],[[194898,194898],"mapped","\u{25626}"],[[194899,194899],"mapped","\u7956"],[[194900,194900],"mapped","\u{2569A}"],[[194901,194901],"mapped","\u{256C5}"],[[194902,194902],"mapped","\u798F"],[[194903,194903],"mapped","\u79EB"],[[194904,194904],"mapped","\u412F"],[[194905,194905],"mapped","\u7A40"],[[194906,194906],"mapped","\u7A4A"],[[194907,194907],"mapped","\u7A4F"],[[194908,194908],"mapped","\u{2597C}"],[[194909,194910],"mapped","\u{25AA7}"],[[194911,194911],"disallowed"],[[194912,194912],"mapped","\u4202"],[[194913,194913],"mapped","\u{25BAB}"],[[194914,194914],"mapped","\u7BC6"],[[194915,194915],"mapped","\u7BC9"],[[194916,194916],"mapped","\u4227"],[[194917,194917],"mapped","\u{25C80}"],[[194918,194918],"mapped","\u7CD2"],[[194919,194919],"mapped","\u42A0"],[[194920,194920],"mapped","\u7CE8"],[[194921,194921],"mapped","\u7CE3"],[[194922,194922],"mapped","\u7D00"],[[194923,194923],"mapped","\u{25F86}"],[[194924,194924],"mapped","\u7D63"],[[194925,194925],"mapped","\u4301"],[[194926,194926],"mapped","\u7DC7"],[[194927,194927],"mapped","\u7E02"],[[194928,194928],"mapped","\u7E45"],[[194929,194929],"mapped","\u4334"],[[194930,194930],"mapped","\u{26228}"],[[194931,194931],"mapped","\u{26247}"],[[194932,194932],"mapped","\u4359"],[[194933,194933],"mapped","\u{262D9}"],[[194934,194934],"mapped","\u7F7A"],[[194935,194935],"mapped","\u{2633E}"],[[194936,194936],"mapped","\u7F95"],[[194937,194937],"mapped","\u7FFA"],[[194938,194938],"mapped","\u8005"],[[194939,194939],"mapped","\u{264DA}"],[[194940,194940],"mapped","\u{26523}"],[[194941,194941],"mapped","\u8060"],[[194942,194942],"mapped","\u{265A8}"],[[194943,194943],"mapped","\u8070"],[[194944,194944],"mapped","\u{2335F}"],[[194945,194945],"mapped","\u43D5"],[[194946,194946],"mapped","\u80B2"],[[194947,194947],"mapped","\u8103"],[[194948,194948],"mapped","\u440B"],[[194949,194949],"mapped","\u813E"],[[194950,194950],"mapped","\u5AB5"],[[194951,194951],"mapped","\u{267A7}"],[[194952,194952],"mapped","\u{267B5}"],[[194953,194953],"mapped","\u{23393}"],[[194954,194954],"mapped","\u{2339C}"],[[194955,194955],"mapped","\u8201"],[[194956,194956],"mapped","\u8204"],[[194957,194957],"mapped","\u8F9E"],[[194958,194958],"mapped","\u446B"],[[194959,194959],"mapped","\u8291"],[[194960,194960],"mapped","\u828B"],[[194961,194961],"mapped","\u829D"],[[194962,194962],"mapped","\u52B3"],[[194963,194963],"mapped","\u82B1"],[[194964,194964],"mapped","\u82B3"],[[194965,194965],"mapped","\u82BD"],[[194966,194966],"mapped","\u82E6"],[[194967,194967],"mapped","\u{26B3C}"],[[194968,194968],"mapped","\u82E5"],[[194969,194969],"mapped","\u831D"],[[194970,194970],"mapped","\u8363"],[[194971,194971],"mapped","\u83AD"],[[194972,194972],"mapped","\u8323"],[[194973,194973],"mapped","\u83BD"],[[194974,194974],"mapped","\u83E7"],[[194975,194975],"mapped","\u8457"],[[194976,194976],"mapped","\u8353"],[[194977,194977],"mapped","\u83CA"],[[194978,194978],"mapped","\u83CC"],[[194979,194979],"mapped","\u83DC"],[[194980,194980],"mapped","\u{26C36}"],[[194981,194981],"mapped","\u{26D6B}"],[[194982,194982],"mapped","\u{26CD5}"],[[194983,194983],"mapped","\u452B"],[[194984,194984],"mapped","\u84F1"],[[194985,194985],"mapped","\u84F3"],[[194986,194986],"mapped","\u8516"],[[194987,194987],"mapped","\u{273CA}"],[[194988,194988],"mapped","\u8564"],[[194989,194989],"mapped","\u{26F2C}"],[[194990,194990],"mapped","\u455D"],[[194991,194991],"mapped","\u4561"],[[194992,194992],"mapped","\u{26FB1}"],[[194993,194993],"mapped","\u{270D2}"],[[194994,194994],"mapped","\u456B"],[[194995,194995],"mapped","\u8650"],[[194996,194996],"mapped","\u865C"],[[194997,194997],"mapped","\u8667"],[[194998,194998],"mapped","\u8669"],[[194999,194999],"mapped","\u86A9"],[[195e3,195e3],"mapped","\u8688"],[[195001,195001],"mapped","\u870E"],[[195002,195002],"mapped","\u86E2"],[[195003,195003],"mapped","\u8779"],[[195004,195004],"mapped","\u8728"],[[195005,195005],"mapped","\u876B"],[[195006,195006],"mapped","\u8786"],[[195007,195007],"disallowed"],[[195008,195008],"mapped","\u87E1"],[[195009,195009],"mapped","\u8801"],[[195010,195010],"mapped","\u45F9"],[[195011,195011],"mapped","\u8860"],[[195012,195012],"mapped","\u8863"],[[195013,195013],"mapped","\u{27667}"],[[195014,195014],"mapped","\u88D7"],[[195015,195015],"mapped","\u88DE"],[[195016,195016],"mapped","\u4635"],[[195017,195017],"mapped","\u88FA"],[[195018,195018],"mapped","\u34BB"],[[195019,195019],"mapped","\u{278AE}"],[[195020,195020],"mapped","\u{27966}"],[[195021,195021],"mapped","\u46BE"],[[195022,195022],"mapped","\u46C7"],[[195023,195023],"mapped","\u8AA0"],[[195024,195024],"mapped","\u8AED"],[[195025,195025],"mapped","\u8B8A"],[[195026,195026],"mapped","\u8C55"],[[195027,195027],"mapped","\u{27CA8}"],[[195028,195028],"mapped","\u8CAB"],[[195029,195029],"mapped","\u8CC1"],[[195030,195030],"mapped","\u8D1B"],[[195031,195031],"mapped","\u8D77"],[[195032,195032],"mapped","\u{27F2F}"],[[195033,195033],"mapped","\u{20804}"],[[195034,195034],"mapped","\u8DCB"],[[195035,195035],"mapped","\u8DBC"],[[195036,195036],"mapped","\u8DF0"],[[195037,195037],"mapped","\u{208DE}"],[[195038,195038],"mapped","\u8ED4"],[[195039,195039],"mapped","\u8F38"],[[195040,195040],"mapped","\u{285D2}"],[[195041,195041],"mapped","\u{285ED}"],[[195042,195042],"mapped","\u9094"],[[195043,195043],"mapped","\u90F1"],[[195044,195044],"mapped","\u9111"],[[195045,195045],"mapped","\u{2872E}"],[[195046,195046],"mapped","\u911B"],[[195047,195047],"mapped","\u9238"],[[195048,195048],"mapped","\u92D7"],[[195049,195049],"mapped","\u92D8"],[[195050,195050],"mapped","\u927C"],[[195051,195051],"mapped","\u93F9"],[[195052,195052],"mapped","\u9415"],[[195053,195053],"mapped","\u{28BFA}"],[[195054,195054],"mapped","\u958B"],[[195055,195055],"mapped","\u4995"],[[195056,195056],"mapped","\u95B7"],[[195057,195057],"mapped","\u{28D77}"],[[195058,195058],"mapped","\u49E6"],[[195059,195059],"mapped","\u96C3"],[[195060,195060],"mapped","\u5DB2"],[[195061,195061],"mapped","\u9723"],[[195062,195062],"mapped","\u{29145}"],[[195063,195063],"mapped","\u{2921A}"],[[195064,195064],"mapped","\u4A6E"],[[195065,195065],"mapped","\u4A76"],[[195066,195066],"mapped","\u97E0"],[[195067,195067],"mapped","\u{2940A}"],[[195068,195068],"mapped","\u4AB2"],[[195069,195069],"mapped","\u{29496}"],[[195070,195071],"mapped","\u980B"],[[195072,195072],"mapped","\u9829"],[[195073,195073],"mapped","\u{295B6}"],[[195074,195074],"mapped","\u98E2"],[[195075,195075],"mapped","\u4B33"],[[195076,195076],"mapped","\u9929"],[[195077,195077],"mapped","\u99A7"],[[195078,195078],"mapped","\u99C2"],[[195079,195079],"mapped","\u99FE"],[[195080,195080],"mapped","\u4BCE"],[[195081,195081],"mapped","\u{29B30}"],[[195082,195082],"mapped","\u9B12"],[[195083,195083],"mapped","\u9C40"],[[195084,195084],"mapped","\u9CFD"],[[195085,195085],"mapped","\u4CCE"],[[195086,195086],"mapped","\u4CED"],[[195087,195087],"mapped","\u9D67"],[[195088,195088],"mapped","\u{2A0CE}"],[[195089,195089],"mapped","\u4CF8"],[[195090,195090],"mapped","\u{2A105}"],[[195091,195091],"mapped","\u{2A20E}"],[[195092,195092],"mapped","\u{2A291}"],[[195093,195093],"mapped","\u9EBB"],[[195094,195094],"mapped","\u4D56"],[[195095,195095],"mapped","\u9EF9"],[[195096,195096],"mapped","\u9EFE"],[[195097,195097],"mapped","\u9F05"],[[195098,195098],"mapped","\u9F0F"],[[195099,195099],"mapped","\u9F16"],[[195100,195100],"mapped","\u9F3B"],[[195101,195101],"mapped","\u{2A600}"],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918e3,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]});var Y7=D((hce,H7)=>{"use strict";h();m();var b2=_2(),En=j7(),G7=q7();function dP(i){return/[^\x00-\x7F]/.test(i)}function K7(i,{useSTD3ASCIIRules:e}){let t=0,n=G7.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),a=G7[r];if(a[0][0]<=i&&a[0][1]>=i)return a[1].startsWith("disallowed_STD3_")?[e?"disallowed":a[1].slice(16),...a.slice(2)]:a.slice(1);a[0][0]>i?n=r-1:t=r+1}return null}function lP(i,{useSTD3ASCIIRules:e,processingOption:t}){let n=!1,r="";for(let a of i){let[s,o]=K7(a.codePointAt(0),{useSTD3ASCIIRules:e});switch(s){case"disallowed":n=!0,r+=a;break;case"ignored":break;case"mapped":r+=o;break;case"deviation":t==="transitional"?r+=o:r+=a;break;case"valid":r+=a;break}}return{string:r,error:n}}function cP(i,{checkHyphens:e,checkBidi:t,checkJoiners:n,processingOption:r,useSTD3ASCIIRules:a}){if(i.normalize("NFC")!==i)return!1;let s=Array.from(i);if(e&&(s[2]==="-"&&s[3]==="-"||i.startsWith("-")||i.endsWith("-"))||i.includes(".")||s.length>0&&En.combiningMarks.test(s[0]))return!1;for(let o of s){let[u]=K7(o.codePointAt(0),{useSTD3ASCIIRules:a});if(r==="transitional"&&u!=="valid"||r==="nontransitional"&&u!=="valid"&&u!=="deviation")return!1}if(n){let o=0;for(let[u,p]of s.entries())if(p==="\u200C"||p==="\u200D"){if(u>0){if(En.combiningClassVirama.test(s[u-1]))continue;if(p==="\u200C"){let d=s.indexOf("\u200C",u+1),l=d<0?s.slice(o):s.slice(o,d);if(En.validZWNJ.test(l.join(""))){o=u+1;continue}}}return!1}}if(t){let o;if(En.bidiS1LTR.test(s[0]))o=!1;else if(En.bidiS1RTL.test(s[0]))o=!0;else return!1;if(o){if(!En.bidiS2.test(i)||!En.bidiS3.test(i)||En.bidiS4EN.test(i)&&En.bidiS4AN.test(i))return!1}else if(!En.bidiS5.test(i)||!En.bidiS6.test(i))return!1}return!0}function fP(i){let e=i.map(t=>{if(t.startsWith("xn--"))try{return b2.decode(t.substring(4))}catch{return""}return t}).join(".");return En.bidiDomain.test(e)}function Q7(i,e){let{processingOption:t}=e,{string:n,error:r}=lP(i,e);n=n.normalize("NFC");let a=n.split("."),s=fP(a);for(let[o,u]of a.entries()){let p=u,d=t;if(p.startsWith("xn--")){try{p=b2.decode(p.substring(4)),a[o]=p}catch{r=!0;continue}d="nontransitional"}if(r)continue;cP(p,Object.assign({},e,{processingOption:d,checkBidi:e.checkBidi&&s}))||(r=!0)}return{string:a.join("."),error:r}}function mP(i,{checkHyphens:e=!1,checkBidi:t=!1,checkJoiners:n=!1,useSTD3ASCIIRules:r=!1,processingOption:a="nontransitional",verifyDNSLength:s=!1}={}){if(a!=="transitional"&&a!=="nontransitional")throw new RangeError("processingOption must be either transitional or nontransitional");let o=Q7(i,{processingOption:a,checkHyphens:e,checkBidi:t,checkJoiners:n,useSTD3ASCIIRules:r}),u=o.string.split(".");if(u=u.map(p=>{if(dP(p))try{return"xn--"+b2.encode(p)}catch{o.error=!0}return p}),s){let p=u.join(".").length;(p>253||p===0)&&(o.error=!0);for(let d=0;d63||u[d].length===0){o.error=!0;break}}return o.error?null:u.join(".")}function hP(i,{checkHyphens:e=!1,checkBidi:t=!1,checkJoiners:n=!1,useSTD3ASCIIRules:r=!1}={}){let a=Q7(i,{processingOption:"nontransitional",checkHyphens:e,checkBidi:t,checkJoiners:n,useSTD3ASCIIRules:r});return{domain:a.string,error:a.error}}H7.exports={toASCII:mP,toUnicode:hP}});var F2=D((Ece,W7)=>{"use strict";h();m();function I2(i){return i>=48&&i<=57}function z7(i){return i>=65&&i<=90||i>=97&&i<=122}function vP(i){return z7(i)||I2(i)}function yP(i){return I2(i)||i>=65&&i<=70||i>=97&&i<=102}W7.exports={isASCIIDigit:I2,isASCIIAlpha:z7,isASCIIAlphanumeric:vP,isASCIIHex:yP}});var Kp=D((Tce,tg)=>{"use strict";h();m();var{isASCIIHex:J7}=F2();function EP(i,e){let t=[],n=0,r=i.indexOf(e);for(;r>=0;)t.push(i.slice(n,r)),n=r+1,r=i.indexOf(e,n);return n!==i.length&&t.push(i.slice(n)),t}function X7(i,e,t){let n=i.indexOf(e);for(;n>=0;)i[n]=t,n=i.indexOf(e,n+1);return i}function eg(i){let e=i.toString(16).toUpperCase();return e.length===1&&(e="0"+e),"%"+e}function N2(i){let e=buffer_shim.alloc(i.byteLength),t=0;for(let n=0;n=0?(r=n.slice(0,s),a=n.slice(s+1)):(r=n,a=buffer_shim.alloc(0)),r=X7(buffer_shim.from(r),43,32),a=X7(buffer_shim.from(a),43,32),t.push([N2(r).toString(),N2(a).toString()])}return t}function Z7(i){let e="";for(let t of i)t===32?e+="+":t===42||t===45||t===46||t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122?e+=String.fromCodePoint(t):e+=eg(t);return e}function AP(i,e=void 0){let t="utf-8";e!==void 0&&(t=e);let n="";for(let[r,a]of i.entries()){let s=Z7(buffer_shim.from(a[0])),o=a[1];a.length>2&&a[2]!==void 0&&(a[2]==="hidden"&&s==="_charset_"?o=t:a[2]==="file"&&(o=o.name)),o=Z7(buffer_shim.from(o)),r!==0&&(n+="&"),n+=`${s}=${o}`}return n}tg.exports={percentEncode:eg,percentDecode:N2,parseUrlencoded(i){return gP(buffer_shim.from(i))},serializeUrlencoded:AP}});var er=D((_ce,sn)=>{"use strict";h();m();var lu=_2(),TP=Y7(),mi=F2(),{percentEncode:ag,percentDecode:DP}=Kp(),sg={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ne=Symbol("failure");function ig(i){return lu.ucs2.decode(i).length}function ng(i,e){let t=i[e];return isNaN(t)?void 0:String.fromCodePoint(t)}function rg(i){return i==="."||i.toLowerCase()==="%2e"}function SP(i){return i=i.toLowerCase(),i===".."||i==="%2e."||i===".%2e"||i==="%2e%2e"}function _P(i,e){return mi.isASCIIAlpha(i)&&(e===58||e===124)}function og(i){return i.length===2&&mi.isASCIIAlpha(i.codePointAt(0))&&(i[1]===":"||i[1]==="|")}function bP(i){return i.length===2&&mi.isASCIIAlpha(i.codePointAt(0))&&i[1]===":"}function IP(i){return i.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function FP(i){return i.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function kc(i){return sg[i]!==void 0}function fi(i){return kc(i.scheme)}function C2(i){return!kc(i.scheme)}function ug(i){return sg[i]}function NP(i){let e=buffer_shim.from(i),t="";for(let n=0;n126}var CP=new Set([47,58,59,61,64,91,92,93,94,124]);function R2(i){return dg(i)||CP.has(i)}var OP=new Set([32,34,60,62,96]);function pg(i){return w2(i)||OP.has(i)}var wP=new Set([35,63,123,125]);function dg(i){return pg(i)||wP.has(i)}function zs(i,e){let t=String.fromCodePoint(i);return e(i)?NP(t):t}function RP(i){let e=10;if(i.length>=2&&i.charAt(0)==="0"&&i.charAt(1).toLowerCase()==="x"?(i=i.substring(2),e=16):i.length>=2&&i.charAt(0)==="0"&&(i=i.substring(1),e=8),i==="")return 0;let t=/[^0-7]/;return e===10&&(t=/[^0-9]/),e===16&&(t=/[^0-9A-Fa-f]/),t.test(i)?Ne:parseInt(i,e)}function BP(i){let e=i.split(".");if(e[e.length-1]===""&&e.length>1&&e.pop(),e.length>4)return i;let t=[];for(let a of e){if(a==="")return i;let s=RP(a);if(s===Ne)return i;t.push(s)}for(let a=0;a255)return Ne;if(t[t.length-1]>=Math.pow(256,5-t.length))return Ne;let n=t.pop(),r=0;for(let a of t)n+=a*Math.pow(256,3-r),++r;return n}function LP(i){let e="",t=i;for(let n=1;n<=4;++n)e=String(t%256)+e,n!==4&&(e="."+e),t=Math.floor(t/256);return e}function xP(i){let e=[0,0,0,0,0,0,0,0],t=0,n=null,r=0;if(i=lu.ucs2.decode(i),i[r]===58){if(i[r+1]!==58)return Ne;r+=2,++t,n=t}for(;r6))return Ne;let o=0;for(;i[r]!==void 0;){let u=null;if(o>0)if(i[r]===46&&o<4)++r;else return Ne;if(!mi.isASCIIDigit(i[r]))return Ne;for(;mi.isASCIIDigit(i[r]);){let p=parseInt(ng(i,r));if(u===null)u=p;else{if(u===0)return Ne;u=u*10+p}if(u>255)return Ne;++r}e[t]=e[t]*256+u,++o,(o===2||o===4)&&++t}if(o!==4)return Ne;break}else if(i[r]===58){if(++r,i[r]===void 0)return Ne}else if(i[r]!==void 0)return Ne;e[t]=a,++t}if(n!==null){let a=t-n;for(t=7;t!==0&&a>0;){let s=e[n+a-1];e[n+a-1]=e[t],e[t]=s,--t,--a}}else if(n===null&&t!==8)return Ne;return e}function PP(i){let e="",n=VP(i).idx,r=!1;for(let a=0;a<=7;++a)if(!(r&&i[a]===0)){if(r&&(r=!1),n===a){e+=a===0?"::":":",r=!0;continue}e+=i[a].toString(16),a!==7&&(e+=":")}return e}function O2(i,e=!1){if(i[0]==="[")return i[i.length-1]!=="]"?Ne:xP(i.substring(1,i.length-1));if(e)return $P(i);let t=DP(buffer_shim.from(i)).toString(),n=kP(t);if(n===Ne||IP(n))return Ne;let r=BP(n);return typeof r=="number"||r===Ne?r:n}function $P(i){if(FP(i))return Ne;let e="",t=lu.ucs2.decode(i);for(let n=0;nt&&(e=n,t=r),n=null,r=0):(n===null&&(n=a),++r);return r>t&&(e=n,t=r),{idx:e,len:t}}function B2(i){return typeof i=="number"?LP(i):i instanceof Array?"["+PP(i)+"]":i}function kP(i,e=!1){let t=TP.toASCII(i,{checkBidi:!0,checkHyphens:!1,checkJoiners:!0,useSTD3ASCIIRules:e,verifyDNSLength:e});return t===null?Ne:t}function MP(i){return i.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function UP(i){return i.replace(/\u0009|\u000A|\u000D/g,"")}function lg(i){let{path:e}=i;e.length!==0&&(i.scheme==="file"&&e.length===1&&qP(e[0])||e.pop())}function cg(i){return i.username!==""||i.password!==""}function jP(i){return i.host===null||i.host===""||i.cannotBeABaseURL||i.scheme==="file"}function qP(i){return/^[A-Za-z]:$/.test(i)}function Rt(i,e,t,n,r){if(this.pointer=0,this.input=i,this.base=e||null,this.encodingOverride=t||"utf-8",this.stateOverride=r,this.url=n,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let s=MP(this.input);s!==this.input&&(this.parseError=!0),this.input=s}let a=UP(this.input);for(a!==this.input&&(this.parseError=!0),this.input=a,this.state=r||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=lu.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let s=this.input[this.pointer],o=isNaN(s)?void 0:String.fromCodePoint(s),u=this["parse "+this.state](s,o);if(u){if(u===Ne){this.failure=!0;break}}else break}}Rt.prototype["parse scheme start"]=function(e,t){if(mi.isASCIIAlpha(e))this.buffer+=t.toLowerCase(),this.state="scheme";else if(!this.stateOverride)this.state="no scheme",--this.pointer;else return this.parseError=!0,Ne;return!0};Rt.prototype["parse scheme"]=function(e,t){if(mi.isASCIIAlphanumeric(e)||e===43||e===45||e===46)this.buffer+=t.toLowerCase();else if(e===58){if(this.stateOverride&&(fi(this.url)&&!kc(this.buffer)||!fi(this.url)&&kc(this.buffer)||(cg(this.url)||this.url.port!==null)&&this.buffer==="file"||this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)))return!1;if(this.url.scheme=this.buffer,this.stateOverride)return this.url.port===ug(this.url.scheme)&&(this.url.port=null),!1;this.buffer="",this.url.scheme==="file"?((this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47)&&(this.parseError=!0),this.state="file"):fi(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme?this.state="special relative or authority":fi(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===47?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else if(!this.stateOverride)this.buffer="",this.state="no scheme",this.pointer=-1;else return this.parseError=!0,Ne;return!0};Rt.prototype["parse no scheme"]=function(e){return this.base===null||this.base.cannotBeABaseURL&&e!==35?Ne:(this.base.cannotBeABaseURL&&e===35?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):this.base.scheme==="file"?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)};Rt.prototype["parse special relative or authority"]=function(e){return e===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0};Rt.prototype["parse path or authority"]=function(e){return e===47?this.state="authority":(this.state="path",--this.pointer),!0};Rt.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):e===47?this.state="relative slash":e===63?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):e===35?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):fi(this.url)&&e===92?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0};Rt.prototype["parse relative slash"]=function(e){return fi(this.url)&&(e===47||e===92)?(e===92&&(this.parseError=!0),this.state="special authority ignore slashes"):e===47?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0};Rt.prototype["parse special authority slashes"]=function(e){return e===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0};Rt.prototype["parse special authority ignore slashes"]=function(e){return e!==47&&e!==92?(this.state="authority",--this.pointer):this.parseError=!0,!0};Rt.prototype["parse authority"]=function(e,t){if(e===64){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let n=ig(this.buffer);for(let r=0;rMath.pow(2,16)-1)return this.parseError=!0,Ne;this.url.port=n===ug(this.url.scheme)?null:n,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}else return this.parseError=!0,Ne;return!0};var GP=new Set([47,92,63,35]);function fg(i,e){let t=i.length-e;return t>=2&&_P(i[e],i[e+1])&&(t===2||GP.has(i[e+2]))}Rt.prototype["parse file"]=function(e){return this.url.scheme="file",e===47||e===92?(e===92&&(this.parseError=!0),this.state="file slash"):this.base!==null&&this.base.scheme==="file"?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):e===63?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):e===35?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(fg(this.input,this.pointer)?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),lg(this.url)),this.state="path",--this.pointer):(this.state="path",--this.pointer),!0};Rt.prototype["parse file slash"]=function(e){return e===47||e===92?(e===92&&(this.parseError=!0),this.state="file host"):(this.base!==null&&this.base.scheme==="file"&&!fg(this.input,this.pointer)&&(bP(this.base.path[0])?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0};Rt.prototype["parse file host"]=function(e,t){if(isNaN(e)||e===47||e===92||e===63||e===35)if(--this.pointer,!this.stateOverride&&og(this.buffer))this.parseError=!0,this.state="path";else if(this.buffer===""){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let n=O2(this.buffer,C2(this.url));if(n===Ne)return Ne;if(n==="localhost"&&(n=""),this.url.host=n,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0};Rt.prototype["parse path start"]=function(e){return fi(this.url)?(e===92&&(this.parseError=!0),this.state="path",e!==47&&e!==92&&--this.pointer):!this.stateOverride&&e===63?(this.url.query="",this.state="query"):!this.stateOverride&&e===35?(this.url.fragment="",this.state="fragment"):e!==void 0&&(this.state="path",e!==47&&--this.pointer),!0};Rt.prototype["parse path"]=function(e){if(isNaN(e)||e===47||fi(this.url)&&e===92||!this.stateOverride&&(e===63||e===35)){if(fi(this.url)&&e===92&&(this.parseError=!0),SP(this.buffer)?(lg(this.url),e!==47&&!(fi(this.url)&&e===92)&&this.url.path.push("")):rg(this.buffer)&&e!==47&&!(fi(this.url)&&e===92)?this.url.path.push(""):rg(this.buffer)||(this.url.scheme==="file"&&this.url.path.length===0&&og(this.buffer)&&(this.url.host!==""&&this.url.host!==null&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="",this.url.scheme==="file"&&(e===void 0||e===63||e===35))for(;this.url.path.length>1&&this.url.path[0]==="";)this.parseError=!0,this.url.path.shift();e===63&&(this.url.query="",this.state="query"),e===35&&(this.url.fragment="",this.state="fragment")}else e===37&&(!mi.isASCIIHex(this.input[this.pointer+1])||!mi.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=zs(e,dg);return!0};Rt.prototype["parse cannot-be-a-base-URL path"]=function(e){return e===63?(this.url.query="",this.state="query"):e===35?(this.url.fragment="",this.state="fragment"):(!isNaN(e)&&e!==37&&(this.parseError=!0),e===37&&(!mi.isASCIIHex(this.input[this.pointer+1])||!mi.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+zs(e,w2))),!0};Rt.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&e===35){(!fi(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss")&&(this.encodingOverride="utf-8");let n=buffer_shim.from(this.buffer);for(let r=0;r126||n[r]===34||n[r]===35||n[r]===60||n[r]===62||n[r]===39&&fi(this.url)?this.url.query+=ag(n[r]):this.url.query+=String.fromCodePoint(n[r]);this.buffer="",e===35&&(this.url.fragment="",this.state="fragment")}else e===37&&(!mi.isASCIIHex(this.input[this.pointer+1])||!mi.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=t;return!0};Rt.prototype["parse fragment"]=function(e){return isNaN(e)||(e===0?this.parseError=!0:(e===37&&(!mi.isASCIIHex(this.input[this.pointer+1])||!mi.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.url.fragment+=zs(e,pg))),!0};function KP(i,e){let t=i.scheme+":";if(i.host!==null?(t+="//",(i.username!==""||i.password!=="")&&(t+=i.username,i.password!==""&&(t+=":"+i.password),t+="@"),t+=B2(i.host),i.port!==null&&(t+=":"+i.port)):i.host===null&&i.scheme==="file"&&(t+="//"),i.cannotBeABaseURL)t+=i.path[0];else for(let n of i.path)t+="/"+n;return i.query!==null&&(t+="?"+i.query),!e&&i.fragment!==null&&(t+="#"+i.fragment),t}function QP(i){let e=i.scheme+"://";return e+=B2(i.host),i.port!==null&&(e+=":"+i.port),e}sn.exports.serializeURL=KP;sn.exports.serializeURLOrigin=function(i){switch(i.scheme){case"blob":try{return sn.exports.serializeURLOrigin(sn.exports.parseURL(i.path[0]))}catch{return"null"}case"ftp":case"http":case"https":case"ws":case"wss":return QP({scheme:i.scheme,host:i.host,port:i.port});case"file":return"null";default:return"null"}};sn.exports.basicURLParse=function(i,e){e===void 0&&(e={});let t=new Rt(i,e.baseURL,e.encodingOverride,e.url,e.stateOverride);return t.failure?null:t.url};sn.exports.setTheUsername=function(i,e){i.username="";let t=lu.ucs2.decode(e);for(let n=0;n{h();m();var HP=200,YP="Expected a function",q2="__lodash_hash_undefined__",Yc=1,mu=2,Ig=1/0,Fg=9007199254740991,Mc="[object Arguments]",P2="[object Array]",Ng="[object Boolean]",Cg="[object Date]",Og="[object Error]",wg="[object Function]",zP="[object GeneratorFunction]",Uc="[object Map]",Rg="[object Number]",cu="[object Object]",mg="[object Promise]",Bg="[object RegExp]",jc="[object Set]",Lg="[object String]",xg="[object Symbol]",$2="[object WeakMap]",Pg="[object ArrayBuffer]",qc="[object DataView]",WP="[object Float32Array]",JP="[object Float64Array]",XP="[object Int8Array]",ZP="[object Int16Array]",e$="[object Int32Array]",t$="[object Uint8Array]",i$="[object Uint8ClampedArray]",n$="[object Uint16Array]",r$="[object Uint32Array]",a$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s$=/^\w*$/,o$=/^\./,u$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p$=/[\\^$.*+?()[\]{}|]/g,d$=/\\(\\)?/g,l$=/^\[object .+?Constructor\]$/,c$=/^(?:0|[1-9]\d*)$/,St={};St[WP]=St[JP]=St[XP]=St[ZP]=St[e$]=St[t$]=St[i$]=St[n$]=St[r$]=!0;St[Mc]=St[P2]=St[Pg]=St[Ng]=St[qc]=St[Cg]=St[Og]=St[wg]=St[Uc]=St[Rg]=St[cu]=St[Bg]=St[jc]=St[Lg]=St[$2]=!1;var $g=typeof global=="object"&&global&&global.Object===Object&&global,f$=typeof self=="object"&&self&&self.Object===Object&&self,Ja=$g||f$||Function("return this")(),Vg=typeof Qp=="object"&&Qp&&!Qp.nodeType&&Qp,hg=Vg&&typeof fu=="object"&&fu&&!fu.nodeType&&fu,m$=hg&&hg.exports===Vg,vg=m$&&$g.process,yg=function(){try{return vg&&vg.binding("util")}catch{}}(),Eg=yg&&yg.isTypedArray;function h$(i,e,t){switch(t.length){case 0:return i.call(e);case 1:return i.call(e,t[0]);case 2:return i.call(e,t[0],t[1]);case 3:return i.call(e,t[0],t[1],t[2])}return i.apply(e,t)}function gg(i,e){for(var t=-1,n=i?i.length:0,r=Array(n);++t-1}function K$(i,e){var t=this.__data__,n=Wc(t,i);return n<0?t.push([i,e]):t[n][1]=e,this}Da.prototype.clear=U$;Da.prototype.delete=j$;Da.prototype.get=q$;Da.prototype.has=G$;Da.prototype.set=K$;function Sa(i){var e=-1,t=i?i.length:0;for(this.clear();++e0&&t(o)?e>1?Ug(o,e-1,t,n,r):v$(r,o):n||(r[r.length]=o)}return r}var sV=IV();function oV(i,e){return i&&sV(i,e,Hc)}function jg(i,e){e=Xc(e,i)?[e]:qg(e);for(var t=0,n=e.length;i!=null&&te||a&&s&&u&&!o&&!p||n&&s&&u||!t&&u||!r)return 1;if(!n&&!a&&!p&&i=o)return u;var p=t[n];return u*(p=="desc"?-1:1)}}return i.index-e.index}function bV(i,e){return function(t,n){if(t==null)return t;if(!Wp(t))return i(t,n);for(var r=t.length,a=e?r:-1,s=Object(t);(e?a--:++ao))return!1;var p=a.get(i);if(p&&a.get(e))return p==e;var d=-1,l=!0,c=r&Yc?new Qc:void 0;for(a.set(i,e),a.set(e,i);++d-1&&i%1==0&&i1&&bg(i,e[0],e[1])?e=[]:t>2&&bg(e[0],e[1],e[2])&&(e=[e[0]]),gV(i,Ug(e,1),[])});function Q2(i,e){if(typeof i!="function"||e&&typeof e!="function")throw new TypeError(YP);var t=function(){var n=arguments,r=e?e.apply(this,n):n[0],a=t.cache;if(a.has(r))return a.get(r);var s=i.apply(this,n);return t.cache=a.set(r,s),s};return t.cache=new(Q2.Cache||Sa),t}Q2.Cache=Sa;function H2(i,e){return i===e||i!==i&&e!==e}function Y2(i){return $V(i)&&Ta.call(i,"callee")&&(!N$.call(i,"callee")||hu.call(i)==Mc)}var Wa=Array.isArray;function Wp(i){return i!=null&&z2(i.length)&&!Hg(i)}function $V(i){return e1(i)&&Wp(i)}function Hg(i){var e=Jp(i)?hu.call(i):"";return e==wg||e==zP}function z2(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=Fg}function Jp(i){var e=typeof i;return!!i&&(e=="object"||e=="function")}function e1(i){return!!i&&typeof i=="object"}function zp(i){return typeof i=="symbol"||e1(i)&&hu.call(i)==xg}var VV=Eg?kg(Eg):fV;function kV(i){return i==null?"":DV(i)}function MV(i,e,t){var n=i==null?void 0:jg(i,e);return n===void 0?t:n}function UV(i,e){return i!=null&&OV(i,e,pV)}function Hc(i){return Wp(i)?rV(i):hV(i)}function Yg(i){return i}function jV(i){return Xc(i)?E$(Zc(i)):AV(i)}fu.exports=PV});var Jg=D(Wg=>{"use strict";h();m();var qV=zg(),W2=Kp();Wg.implementation=class{constructor(e,{doNotStripQMark:t=!1}){let n=e[0];if(this._list=[],this._url=null,!t&&typeof n=="string"&&n[0]==="?"&&(n=n.slice(1)),Array.isArray(n))for(let r of n){if(r.length!==2)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([r[0],r[1]])}else if(typeof n=="object"&&Object.getPrototypeOf(n)===null)for(let r of Object.keys(n)){let a=n[r];this._list.push([r,a])}else this._list=W2.parseUrlencoded(n)}_updateSteps(){if(this._url!==null){let e=W2.serializeUrlencoded(this._list);e===""&&(e=null),this._url._url.query=e}}append(e,t){this._list.push([e,t]),this._updateSteps()}delete(e){let t=0;for(;t{"use strict";h();m();var gn=A2(),Si=T2(),Di=Si.implSymbol,GV=Object.create(Si.IteratorPrototype,{next:{value:function(){let e=this[Si.iterInternalSymbol],{target:t,kind:n,index:r}=e,a=Array.from(t[Di]),s=a.length;if(r>=s)return{value:void 0,done:!0};let o=a[r];e.index=r+1;let[u,p]=o.map(Si.tryWrapperForImpl),d;switch(n){case"key":d=u;break;case"value":d=p;break;case"key+value":d=[u,p];break}return{value:d,done:!1}},writable:!0,enumerable:!0,configurable:!0},[Symbol.toStringTag]:{value:"URLSearchParams Iterator",configurable:!0}}),_a=class{constructor(){let e=[];{let t=arguments[0];if(t!==void 0)if(Si.isObject(t))if(t[Symbol.iterator]!==void 0)if(Si.isObject(t)){let n=[],r=t;for(let a of r){if(Si.isObject(a)){let s=[],o=a;for(let u of o)u=gn.USVString(u,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element"}),s.push(u);a=s}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");n.push(a)}t=n}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");else if(Si.isObject(t)){let n=Object.create(null);for(let r of Reflect.ownKeys(t)){let a=Object.getOwnPropertyDescriptor(t,r);if(a&&a.enumerable){let s=r,o=t[r];s=gn.USVString(s,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key"}),o=gn.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value"}),n[s]=o}}t=n}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");else t=gn.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1"});else t="";e.push(t)}return Xg.setup(Object.create(new.target.prototype),e)}append(e,t){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<2)throw new TypeError("Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.");let n=[];{let r=arguments[0];r=gn.USVString(r,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1"}),n.push(r)}{let r=arguments[1];r=gn.USVString(r,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2"}),n.push(r)}return this[Di].append(...n)}delete(e){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");let t=[];{let n=arguments[0];n=gn.USVString(n,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1"}),t.push(n)}return this[Di].delete(...t)}get(e){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");let t=[];{let n=arguments[0];n=gn.USVString(n,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1"}),t.push(n)}return this[Di].get(...t)}getAll(e){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");let t=[];{let n=arguments[0];n=gn.USVString(n,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1"}),t.push(n)}return Si.tryWrapperForImpl(this[Di].getAll(...t))}has(e){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");let t=[];{let n=arguments[0];n=gn.USVString(n,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1"}),t.push(n)}return this[Di].has(...t)}set(e,t){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<2)throw new TypeError("Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.");let n=[];{let r=arguments[0];r=gn.USVString(r,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1"}),n.push(r)}{let r=arguments[1];r=gn.USVString(r,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2"}),n.push(r)}return this[Di].set(...n)}sort(){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");return this[Di].sort()}toString(){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");return this[Di].toString()}keys(){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");return Ut.exports.createDefaultIterator(this,"key")}values(){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");return Ut.exports.createDefaultIterator(this,"value")}entries(){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");return Ut.exports.createDefaultIterator(this,"key+value")}forEach(e){if(!this||!Ut.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1 is not a function.");let t=arguments[1],n=Array.from(this[Di]),r=0;for(;r{"use strict";h();m();var Bt=er(),Zg=Kp(),KV=J2();e5.implementation=class{constructor(e){let t=e[0],n=e[1],r=null;if(n!==void 0&&(r=Bt.basicURLParse(n),r===null))throw new TypeError(`Invalid base URL: ${n}`);let a=Bt.basicURLParse(t,{baseURL:r});if(a===null)throw new TypeError(`Invalid URL: ${t}`);let s=a.query!==null?a.query:"";this._url=a,this._query=KV.createImpl([s],{doNotStripQMark:!0}),this._query._url=this}get href(){return Bt.serializeURL(this._url)}set href(e){let t=Bt.basicURLParse(e);if(t===null)throw new TypeError(`Invalid URL: ${e}`);this._url=t,this._query._list.splice(0);let{query:n}=t;n!==null&&(this._query._list=Zg.parseUrlencoded(n))}get origin(){return Bt.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){Bt.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||Bt.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||Bt.setThePassword(this._url,e)}get host(){let e=this._url;return e.host===null?"":e.port===null?Bt.serializeHost(e.host):Bt.serializeHost(e.host)+":"+Bt.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||Bt.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return this._url.host===null?"":Bt.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||Bt.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return this._url.port===null?"":Bt.serializeInteger(this._url.port)}set port(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||(e===""?this._url.port=null:Bt.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:this._url.path.length===0?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],Bt.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return this._url.query===null||this._url.query===""?"":"?"+this._url.query}set search(e){let t=this._url;if(e===""){t.query=null,this._query._list=[];return}let n=e[0]==="?"?e.substring(1):e;t.query="",Bt.basicURLParse(n,{url:t,stateOverride:"query"}),this._query._list=Zg.parseUrlencoded(n)}get searchParams(){return this._query}get hash(){return this._url.fragment===null||this._url.fragment===""?"":"#"+this._url.fragment}set hash(e){if(e===""){this._url.fragment=null;return}let t=e[0]==="#"?e.substring(1):e;this._url.fragment="",Bt.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}});var n5=D((Mce,ot)=>{"use strict";h();m();var An=A2(),Xa=T2(),st=Xa.implSymbol,Za=class{constructor(e){if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let t=[];{let n=arguments[0];n=An.USVString(n,{context:"Failed to construct 'URL': parameter 1"}),t.push(n)}{let n=arguments[1];n!==void 0&&(n=An.USVString(n,{context:"Failed to construct 'URL': parameter 2"})),t.push(n)}return i5.setup(Object.create(new.target.prototype),t)}toJSON(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].toJSON()}get href(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].href}set href(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'href' property on 'URL': The provided value"}),this[st].href=e}toString(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].href}get origin(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].origin}get protocol(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].protocol}set protocol(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'protocol' property on 'URL': The provided value"}),this[st].protocol=e}get username(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].username}set username(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'username' property on 'URL': The provided value"}),this[st].username=e}get password(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].password}set password(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'password' property on 'URL': The provided value"}),this[st].password=e}get host(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].host}set host(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'host' property on 'URL': The provided value"}),this[st].host=e}get hostname(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].hostname}set hostname(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'hostname' property on 'URL': The provided value"}),this[st].hostname=e}get port(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].port}set port(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'port' property on 'URL': The provided value"}),this[st].port=e}get pathname(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].pathname}set pathname(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'pathname' property on 'URL': The provided value"}),this[st].pathname=e}get search(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].search}set search(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'search' property on 'URL': The provided value"}),this[st].search=e}get searchParams(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return Xa.getSameObject(this,"searchParams",()=>Xa.tryWrapperForImpl(this[st].searchParams))}get hash(){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");return this[st].hash}set hash(e){if(!this||!ot.exports.is(this))throw new TypeError("Illegal invocation");e=An.USVString(e,{context:"Failed to set the 'hash' property on 'URL': The provided value"}),this[st].hash=e}};Object.defineProperties(Za.prototype,{toJSON:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},searchParams:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"URL",configurable:!0}});var i5={_mixedIntoPredicates:[],is(i){if(i){if(Xa.hasOwn(i,st)&&i[st]instanceof Zp.implementation)return!0;for(let e of ot.exports._mixedIntoPredicates)if(e(i))return!0}return!1},isImpl(i){if(i){if(i instanceof Zp.implementation)return!0;let e=Xa.wrapperForImpl(i);for(let t of ot.exports._mixedIntoPredicates)if(t(e))return!0}return!1},convert(i,{context:e="The provided value"}={}){if(ot.exports.is(i))return Xa.implForWrapper(i);throw new TypeError(`${e} is not of type 'URL'.`)},create(i,e){let t=Object.create(Za.prototype);return t=this.setup(t,i,e),t},createImpl(i,e){let t=Object.create(Za.prototype);return t=this.setup(t,i,e),Xa.implForWrapper(t)},_internalSetup(i){},setup(i,e,t){return t||(t={}),t.wrapper=i,this._internalSetup(i),Object.defineProperty(i,st,{value:new Zp.implementation(e,t),configurable:!0}),i[st][Xa.wrapperSymbol]=i,Zp.init&&Zp.init(i[st],t),i},interface:Za,expose:{Window:{URL:Za},Worker:{URL:Za}}};ot.exports=i5;var Zp=t5()});var r5=D(on=>{"use strict";h();m();on.URL=n5().interface;on.URLSearchParams=J2().interface;on.parseURL=er().parseURL;on.basicURLParse=er().basicURLParse;on.serializeURL=er().serializeURL;on.serializeHost=er().serializeHost;on.serializeInteger=er().serializeInteger;on.serializeURLOrigin=er().serializeURLOrigin;on.setTheUsername=er().setTheUsername;on.setThePassword=er().setThePassword;on.cannotHaveAUsernamePasswordPort=er().cannotHaveAUsernamePasswordPort;on.percentDecode=Kp().percentDecode});var Z2=D((a5,s5)=>{"use strict";h();m();var es={},Br,X2;typeof window<"u"?Br=window:typeof global<"u"?Br=global:typeof self<"u"?Br=self:Br=a5;try{let i=new Br.URL("http://domain.com"),e=new Br.URLSearchParams("?param=value");X2="searchParams"in i&&e.get("param")==="value"}catch{X2=!1}if(X2)es.URL=Br.URL,es.URLSearchParams=Br.URLSearchParams;else{let i=r5();es.URL=i.URL,es.URLSearchParams=i.URLSearchParams}es.shim=()=>{Br.URL=es.URL,Br.URLSearchParams=es.URLSearchParams};s5.exports=es});var m=T7(()=>{globalThis.URL=Z2().URL});var p5=D(t1=>{"use strict";h();m();t1.byteLength=HV;t1.toByteArray=zV;t1.fromByteArray=XV;var Lr=[],Tn=[],QV=typeof Uint8Array<"u"?Uint8Array:Array,e6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Xs=0,o5=e6.length;Xs0)throw new Error("Invalid string. Length must be a multiple of 4");var t=i.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function HV(i){var e=u5(i),t=e[0],n=e[1];return(t+n)*3/4-n}function YV(i,e,t){return(e+t)*3/4-t}function zV(i){var e,t=u5(i),n=t[0],r=t[1],a=new QV(YV(i,n,r)),s=0,o=r>0?n-4:n,u;for(u=0;u>16&255,a[s++]=e>>8&255,a[s++]=e&255;return r===2&&(e=Tn[i.charCodeAt(u)]<<2|Tn[i.charCodeAt(u+1)]>>4,a[s++]=e&255),r===1&&(e=Tn[i.charCodeAt(u)]<<10|Tn[i.charCodeAt(u+1)]<<4|Tn[i.charCodeAt(u+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function WV(i){return Lr[i>>18&63]+Lr[i>>12&63]+Lr[i>>6&63]+Lr[i&63]}function JV(i,e,t){for(var n,r=[],a=e;ao?o:s+a));return n===1?(e=i[t-1],r.push(Lr[e>>2]+Lr[e<<4&63]+"==")):n===2&&(e=(i[t-2]<<8)+i[t-1],r.push(Lr[e>>10]+Lr[e>>4&63]+Lr[e<<2&63]+"=")),r.join("")}});var d5=D(t6=>{h();m();t6.read=function(i,e,t,n,r){var a,s,o=r*8-n-1,u=(1<>1,d=-7,l=t?r-1:0,c=t?-1:1,v=i[e+l];for(l+=c,a=v&(1<<-d)-1,v>>=-d,d+=o;d>0;a=a*256+i[e+l],l+=c,d-=8);for(s=a&(1<<-d)-1,a>>=-d,d+=n;d>0;s=s*256+i[e+l],l+=c,d-=8);if(a===0)a=1-p;else{if(a===u)return s?NaN:(v?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-p}return(v?-1:1)*s*Math.pow(2,a-n)};t6.write=function(i,e,t,n,r,a){var s,o,u,p=a*8-r-1,d=(1<>1,c=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,y=n?1:-1,g=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=d):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+l>=1?e+=c/u:e+=c*Math.pow(2,1-l),e*u>=2&&(s++,u/=2),s+l>=d?(o=0,s=d):s+l>=1?(o=(e*u-1)*Math.pow(2,r),s=s+l):(o=e*Math.pow(2,l-1)*Math.pow(2,r),s=0));r>=8;i[t+v]=o&255,v+=y,o/=256,r-=8);for(s=s<0;i[t+v]=s&255,v+=y,s/=256,p-=8);i[t+v-y]|=g*128}});var F5=D(Au=>{"use strict";h();m();var i6=p5(),Eu=d5(),l5=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Au.Buffer=$;Au.SlowBuffer=rk;Au.INSPECT_MAX_BYTES=50;var i1=2147483647;Au.kMaxLength=i1;$.TYPED_ARRAY_SUPPORT=ZV();!$.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ZV(){try{let i=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(i,e),i.foo()===42}catch{return!1}}Object.defineProperty($.prototype,"parent",{enumerable:!0,get:function(){if($.isBuffer(this))return this.buffer}});Object.defineProperty($.prototype,"offset",{enumerable:!0,get:function(){if($.isBuffer(this))return this.byteOffset}});function ba(i){if(i>i1)throw new RangeError('The value "'+i+'" is invalid for option "size"');let e=new Uint8Array(i);return Object.setPrototypeOf(e,$.prototype),e}function $(i,e,t){if(typeof i=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return s6(i)}return h5(i,e,t)}$.poolSize=8192;function h5(i,e,t){if(typeof i=="string")return tk(i,e);if(ArrayBuffer.isView(i))return ik(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(xr(i,ArrayBuffer)||i&&xr(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xr(i,SharedArrayBuffer)||i&&xr(i.buffer,SharedArrayBuffer)))return r6(i,e,t);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=i.valueOf&&i.valueOf();if(n!=null&&n!==i)return $.from(n,e,t);let r=nk(i);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return $.from(i[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}$.from=function(i,e,t){return h5(i,e,t)};Object.setPrototypeOf($.prototype,Uint8Array.prototype);Object.setPrototypeOf($,Uint8Array);function v5(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function ek(i,e,t){return v5(i),i<=0?ba(i):e!==void 0?typeof t=="string"?ba(i).fill(e,t):ba(i).fill(e):ba(i)}$.alloc=function(i,e,t){return ek(i,e,t)};function s6(i){return v5(i),ba(i<0?0:o6(i)|0)}$.allocUnsafe=function(i){return s6(i)};$.allocUnsafeSlow=function(i){return s6(i)};function tk(i,e){if((typeof e!="string"||e==="")&&(e="utf8"),!$.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=y5(i,e)|0,n=ba(t),r=n.write(i,e);return r!==t&&(n=n.slice(0,r)),n}function n6(i){let e=i.length<0?0:o6(i.length)|0,t=ba(e);for(let n=0;n=i1)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i1.toString(16)+" bytes");return i|0}function rk(i){return+i!=i&&(i=0),$.alloc(+i)}$.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==$.prototype};$.compare=function(e,t){if(xr(e,Uint8Array)&&(e=$.from(e,e.offset,e.byteLength)),xr(t,Uint8Array)&&(t=$.from(t,t.offset,t.byteLength)),!$.isBuffer(e)||!$.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let a=0,s=Math.min(n,r);ar.length?($.isBuffer(s)||(s=$.from(s)),s.copy(r,a)):Uint8Array.prototype.set.call(r,s,a);else if($.isBuffer(s))s.copy(r,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return r};function y5(i,e){if($.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||xr(i,ArrayBuffer))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);let t=i.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return a6(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return I5(i).length;default:if(r)return n?-1:a6(i).length;e=(""+e).toLowerCase(),r=!0}}$.byteLength=y5;function ak(i,e,t){let n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(i||(i="utf8");;)switch(i){case"hex":return hk(this,e,t);case"utf8":case"utf-8":return g5(this,e,t);case"ascii":return fk(this,e,t);case"latin1":case"binary":return mk(this,e,t);case"base64":return lk(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vk(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),n=!0}}$.prototype._isBuffer=!0;function Zs(i,e,t){let n=i[e];i[e]=i[t],i[t]=n}$.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tt&&(e+=" ... "),""};l5&&($.prototype[l5]=$.prototype.inspect);$.prototype.compare=function(e,t,n,r,a){if(xr(e,Uint8Array)&&(e=$.from(e,e.offset,e.byteLength)),!$.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),a===void 0&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,a>>>=0,this===e)return 0;let s=a-r,o=n-t,u=Math.min(s,o),p=this.slice(r,a),d=e.slice(t,n);for(let l=0;l2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,p6(t)&&(t=r?0:i.length-1),t<0&&(t=i.length+t),t>=i.length){if(r)return-1;t=i.length-1}else if(t<0)if(r)t=0;else return-1;if(typeof e=="string"&&(e=$.from(e,n)),$.isBuffer(e))return e.length===0?-1:c5(i,e,t,n,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(i,e,t):Uint8Array.prototype.lastIndexOf.call(i,e,t):c5(i,[e],t,n,r);throw new TypeError("val must be string, number or Buffer")}function c5(i,e,t,n,r){let a=1,s=i.length,o=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(i.length<2||e.length<2)return-1;a=2,s/=2,o/=2,t/=2}function u(d,l){return a===1?d[l]:d.readUInt16BE(l*a)}let p;if(r){let d=-1;for(p=t;ps&&(t=s-o),p=t;p>=0;p--){let d=!0;for(let l=0;lr&&(n=r)):n=r;let a=e.length;n>a/2&&(n=a/2);let s;for(s=0;s>>0,isFinite(n)?(n=n>>>0,r===void 0&&(r="utf8")):(r=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let a=this.length-t;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let s=!1;for(;;)switch(r){case"hex":return sk(this,e,t,n);case"utf8":case"utf-8":return ok(this,e,t,n);case"ascii":case"latin1":case"binary":return uk(this,e,t,n);case"base64":return pk(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dk(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}};$.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function lk(i,e,t){return e===0&&t===i.length?i6.fromByteArray(i):i6.fromByteArray(i.slice(e,t))}function g5(i,e,t){t=Math.min(i.length,t);let n=[],r=e;for(;r239?4:a>223?3:a>191?2:1;if(r+o<=t){let u,p,d,l;switch(o){case 1:a<128&&(s=a);break;case 2:u=i[r+1],(u&192)===128&&(l=(a&31)<<6|u&63,l>127&&(s=l));break;case 3:u=i[r+1],p=i[r+2],(u&192)===128&&(p&192)===128&&(l=(a&15)<<12|(u&63)<<6|p&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:u=i[r+1],p=i[r+2],d=i[r+3],(u&192)===128&&(p&192)===128&&(d&192)===128&&(l=(a&15)<<18|(u&63)<<12|(p&63)<<6|d&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,o=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),r+=o}return ck(n)}var f5=4096;function ck(i){let e=i.length;if(e<=f5)return String.fromCharCode.apply(String,i);let t="",n=0;for(;nn)&&(t=n);let r="";for(let a=e;an&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),tt)throw new RangeError("Trying to access beyond buffer length")}$.prototype.readUintLE=$.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||ri(e,t,this.length);let r=this[e],a=1,s=0;for(;++s>>0,t=t>>>0,n||ri(e,t,this.length);let r=this[e+--t],a=1;for(;t>0&&(a*=256);)r+=this[e+--t]*a;return r};$.prototype.readUint8=$.prototype.readUInt8=function(e,t){return e=e>>>0,t||ri(e,1,this.length),this[e]};$.prototype.readUint16LE=$.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||ri(e,2,this.length),this[e]|this[e+1]<<8};$.prototype.readUint16BE=$.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||ri(e,2,this.length),this[e]<<8|this[e+1]};$.prototype.readUint32LE=$.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||ri(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};$.prototype.readUint32BE=$.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||ri(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};$.prototype.readBigUInt64LE=ts(function(e){e=e>>>0,gu(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ed(e,this.length-8);let r=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,a=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(a)<>>0,gu(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ed(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],a=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(r)<>>0,t=t>>>0,n||ri(e,t,this.length);let r=this[e],a=1,s=0;for(;++s=a&&(r-=Math.pow(2,8*t)),r};$.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||ri(e,t,this.length);let r=t,a=1,s=this[e+--r];for(;r>0&&(a*=256);)s+=this[e+--r]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s};$.prototype.readInt8=function(e,t){return e=e>>>0,t||ri(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};$.prototype.readInt16LE=function(e,t){e=e>>>0,t||ri(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};$.prototype.readInt16BE=function(e,t){e=e>>>0,t||ri(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};$.prototype.readInt32LE=function(e,t){return e=e>>>0,t||ri(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};$.prototype.readInt32BE=function(e,t){return e=e>>>0,t||ri(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};$.prototype.readBigInt64LE=ts(function(e){e=e>>>0,gu(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ed(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(r)<>>0,gu(e,"offset");let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ed(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<>>0,t||ri(e,4,this.length),Eu.read(this,e,!0,23,4)};$.prototype.readFloatBE=function(e,t){return e=e>>>0,t||ri(e,4,this.length),Eu.read(this,e,!1,23,4)};$.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||ri(e,8,this.length),Eu.read(this,e,!0,52,8)};$.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||ri(e,8,this.length),Eu.read(this,e,!1,52,8)};function Hi(i,e,t,n,r,a){if(!$.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||ei.length)throw new RangeError("Index out of range")}$.prototype.writeUintLE=$.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t=t>>>0,n=n>>>0,!r){let o=Math.pow(2,8*n)-1;Hi(this,e,t,n,o,0)}let a=1,s=0;for(this[t]=e&255;++s>>0,n=n>>>0,!r){let o=Math.pow(2,8*n)-1;Hi(this,e,t,n,o,0)}let a=n-1,s=1;for(this[t+a]=e&255;--a>=0&&(s*=256);)this[t+a]=e/s&255;return t+n};$.prototype.writeUint8=$.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,1,255,0),this[t]=e&255,t+1};$.prototype.writeUint16LE=$.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};$.prototype.writeUint16BE=$.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};$.prototype.writeUint32LE=$.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};$.prototype.writeUint32BE=$.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function A5(i,e,t,n,r){b5(e,n,r,i,t,7);let a=Number(e&BigInt(4294967295));i[t++]=a,a=a>>8,i[t++]=a,a=a>>8,i[t++]=a,a=a>>8,i[t++]=a;let s=Number(e>>BigInt(32)&BigInt(4294967295));return i[t++]=s,s=s>>8,i[t++]=s,s=s>>8,i[t++]=s,s=s>>8,i[t++]=s,t}function T5(i,e,t,n,r){b5(e,n,r,i,t,7);let a=Number(e&BigInt(4294967295));i[t+7]=a,a=a>>8,i[t+6]=a,a=a>>8,i[t+5]=a,a=a>>8,i[t+4]=a;let s=Number(e>>BigInt(32)&BigInt(4294967295));return i[t+3]=s,s=s>>8,i[t+2]=s,s=s>>8,i[t+1]=s,s=s>>8,i[t]=s,t+8}$.prototype.writeBigUInt64LE=ts(function(e,t=0){return A5(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});$.prototype.writeBigUInt64BE=ts(function(e,t=0){return T5(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});$.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=t>>>0,!r){let u=Math.pow(2,8*n-1);Hi(this,e,t,n,u-1,-u)}let a=0,s=1,o=0;for(this[t]=e&255;++a>0)-o&255;return t+n};$.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=t>>>0,!r){let u=Math.pow(2,8*n-1);Hi(this,e,t,n,u-1,-u)}let a=n-1,s=1,o=0;for(this[t+a]=e&255;--a>=0&&(s*=256);)e<0&&o===0&&this[t+a+1]!==0&&(o=1),this[t+a]=(e/s>>0)-o&255;return t+n};$.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};$.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};$.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};$.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};$.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||Hi(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};$.prototype.writeBigInt64LE=ts(function(e,t=0){return A5(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});$.prototype.writeBigInt64BE=ts(function(e,t=0){return T5(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function D5(i,e,t,n,r,a){if(t+n>i.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function S5(i,e,t,n,r){return e=+e,t=t>>>0,r||D5(i,e,t,4,34028234663852886e22,-34028234663852886e22),Eu.write(i,e,t,n,23,4),t+4}$.prototype.writeFloatLE=function(e,t,n){return S5(this,e,t,!0,n)};$.prototype.writeFloatBE=function(e,t,n){return S5(this,e,t,!1,n)};function _5(i,e,t,n,r){return e=+e,t=t>>>0,r||D5(i,e,t,8,17976931348623157e292,-17976931348623157e292),Eu.write(i,e,t,n,52,8),t+8}$.prototype.writeDoubleLE=function(e,t,n){return _5(this,e,t,!0,n)};$.prototype.writeDoubleBE=function(e,t,n){return _5(this,e,t,!1,n)};$.prototype.copy=function(e,t,n,r){if(!$.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>0,n=n===void 0?this.length:n>>>0,e||(e=0);let a;if(typeof e=="number")for(a=t;a2**32?r=m5(String(t)):typeof t=="bigint"&&(r=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(r=m5(r)),r+="n"),n+=` It must be ${e}. Received ${r}`,n},RangeError);function m5(i){let e="",t=i.length,n=i[0]==="-"?1:0;for(;t>=n+4;t-=3)e=`_${i.slice(t-3,t)}${e}`;return`${i.slice(0,t)}${e}`}function yk(i,e,t){gu(e,"offset"),(i[e]===void 0||i[e+t]===void 0)&&ed(e,i.length-(t+1))}function b5(i,e,t,n,r,a){if(i>t||i3?e===0||e===BigInt(0)?o=`>= 0${s} and < 2${s} ** ${(a+1)*8}${s}`:o=`>= -(2${s} ** ${(a+1)*8-1}${s}) and < 2 ** ${(a+1)*8-1}${s}`:o=`>= ${e}${s} and <= ${t}${s}`,new yu.ERR_OUT_OF_RANGE("value",o,i)}yk(n,r,a)}function gu(i,e){if(typeof i!="number")throw new yu.ERR_INVALID_ARG_TYPE(e,"number",i)}function ed(i,e,t){throw Math.floor(i)!==i?(gu(i,t),new yu.ERR_OUT_OF_RANGE(t||"offset","an integer",i)):e<0?new yu.ERR_BUFFER_OUT_OF_BOUNDS:new yu.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${e}`,i)}var Ek=/[^+/0-9A-Za-z-_]/g;function gk(i){if(i=i.split("=")[0],i=i.trim().replace(Ek,""),i.length<2)return"";for(;i.length%4!==0;)i=i+"=";return i}function a6(i,e){e=e||1/0;let t,n=i.length,r=null,a=[];for(let s=0;s55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),r=t;continue}t=(r-55296<<10|t-56320)+65536}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function Ak(i){let e=[];for(let t=0;t>8,r=t%256,a.push(r),a.push(n);return a}function I5(i){return i6.toByteArray(gk(i))}function n1(i,e,t,n){let r;for(r=0;r=e.length||r>=i.length);++r)e[r+t]=i[r];return r}function xr(i,e){return i instanceof e||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===e.name}function p6(i){return i!==i}var Dk=function(){let i="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let r=0;r<16;++r)e[n+r]=i[t]+i[r]}return e}();function ts(i){return typeof BigInt>"u"?Sk:i}function Sk(){throw new Error("BigInt not supported")}});var h=T7(()=>{globalThis.buffer_shim=F5().Buffer});var N5=D(Tu=>{"use strict";h();m();Object.defineProperty(Tu,"__esModule",{value:!0});Tu.versionInfo=Tu.version=void 0;var _k="16.5.0";Tu.version=_k;var bk=Object.freeze({major:16,minor:5,patch:0,preReleaseTag:null});Tu.versionInfo=bk});var xi=D(d6=>{"use strict";h();m();Object.defineProperty(d6,"__esModule",{value:!0});d6.devAssert=Ik;function Ik(i,e){if(!!!i)throw new Error(e)}});var r1=D(l6=>{"use strict";h();m();Object.defineProperty(l6,"__esModule",{value:!0});l6.isPromise=Fk;function Fk(i){return typeof i?.then=="function"}});var Pr=D(c6=>{"use strict";h();m();Object.defineProperty(c6,"__esModule",{value:!0});c6.isObjectLike=Nk;function Nk(i){return typeof i=="object"&&i!==null}});var _i=D(f6=>{"use strict";h();m();Object.defineProperty(f6,"__esModule",{value:!0});f6.invariant=Ck;function Ck(i,e){if(!!!i)throw new Error(e??"Unexpected invariant triggered.")}});var a1=D(m6=>{"use strict";h();m();Object.defineProperty(m6,"__esModule",{value:!0});m6.getLocation=Rk;var Ok=_i(),wk=/\r\n|[\n\r]/g;function Rk(i,e){let t=0,n=1;for(let r of i.body.matchAll(wk)){if(typeof r.index=="number"||(0,Ok.invariant)(!1),r.index>=e)break;t=r.index+r[0].length,n+=1}return{line:n,column:e+1-t}}});var h6=D(s1=>{"use strict";h();m();Object.defineProperty(s1,"__esModule",{value:!0});s1.printLocation=Lk;s1.printSourceLocation=O5;var Bk=a1();function Lk(i){return O5(i.source,(0,Bk.getLocation)(i.source,i.start))}function O5(i,e){let t=i.locationOffset.column-1,n="".padStart(t)+i.body,r=e.line-1,a=i.locationOffset.line-1,s=e.line+a,o=e.line===1?t:0,u=e.column+o,p=`${i.name}:${s}:${u} `,d=n.split(/\r\n|[\n\r]/g),l=d[r];if(l.length>120){let c=Math.floor(u/80),v=u%80,y=[];for(let g=0;g["|",g]),["|","^".padStart(v)],["|",y[c+1]]])}return p+C5([[`${s-1} |`,d[r-1]],[`${s} |`,l],["|","^".padStart(u)],[`${s+1} |`,d[r+1]]])}function C5(i){let e=i.filter(([n,r])=>r!==void 0),t=Math.max(...e.map(([n])=>n.length));return e.map(([n,r])=>n.padStart(t)+(r?" "+r:"")).join(` `)}});var ye=D(Du=>{"use strict";h();m();Object.defineProperty(Du,"__esModule",{value:!0});Du.GraphQLError=void 0;Du.formatError=Vk;Du.printError=$k;var xk=Pr(),w5=a1(),R5=h6();function Pk(i){let e=i[0];return e==null||"kind"in e||"length"in e?{nodes:e,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:e}var td=class extends Error{constructor(e,...t){var n,r,a;let{nodes:s,source:o,positions:u,path:p,originalError:d,extensions:l}=Pk(t);super(e),this.name="GraphQLError",this.path=p??void 0,this.originalError=d??void 0,this.nodes=B5(Array.isArray(s)?s:s?[s]:void 0);let c=B5((n=this.nodes)===null||n===void 0?void 0:n.map(y=>y.loc).filter(y=>y!=null));this.source=o??(c==null||(r=c[0])===null||r===void 0?void 0:r.source),this.positions=u??c?.map(y=>y.start),this.locations=u&&o?u.map(y=>(0,w5.getLocation)(o,y)):c?.map(y=>(0,w5.getLocation)(y.source,y.start));let v=(0,xk.isObjectLike)(d?.extensions)?d?.extensions:void 0;this.extensions=(a=l??v)!==null&&a!==void 0?a:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,td):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+=` `+(0,R5.printLocation)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+=` `+(0,R5.printSourceLocation)(this.source,t);return e}toJSON(){let e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};Du.GraphQLError=td;function B5(i){return i===void 0||i.length===0?void 0:i}function $k(i){return i.toString()}function Vk(i){return i.toJSON()}});var o1=D(v6=>{"use strict";h();m();Object.defineProperty(v6,"__esModule",{value:!0});v6.syntaxError=Mk;var kk=ye();function Mk(i,e,t){return new kk.GraphQLError(`Syntax Error: ${t}`,{source:i,positions:[e]})}});var $r=D(Dn=>{"use strict";h();m();Object.defineProperty(Dn,"__esModule",{value:!0});Dn.Token=Dn.QueryDocumentKeys=Dn.OperationTypeNode=Dn.Location=void 0;Dn.isNode=jk;var y6=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}};Dn.Location=y6;var E6=class{constructor(e,t,n,r,a,s){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=a,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}};Dn.Token=E6;var L5={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};Dn.QueryDocumentKeys=L5;var Uk=new Set(Object.keys(L5));function jk(i){let e=i?.kind;return typeof e=="string"&&Uk.has(e)}var g6;Dn.OperationTypeNode=g6;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"})(g6||(Dn.OperationTypeNode=g6={}))});var Su=D(id=>{"use strict";h();m();Object.defineProperty(id,"__esModule",{value:!0});id.DirectiveLocation=void 0;var A6;id.DirectiveLocation=A6;(function(i){i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(A6||(id.DirectiveLocation=A6={}))});var Ue=D(nd=>{"use strict";h();m();Object.defineProperty(nd,"__esModule",{value:!0});nd.Kind=void 0;var T6;nd.Kind=T6;(function(i){i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(T6||(nd.Kind=T6={}))});var u1=D(eo=>{"use strict";h();m();Object.defineProperty(eo,"__esModule",{value:!0});eo.isDigit=x5;eo.isLetter=D6;eo.isNameContinue=Kk;eo.isNameStart=Gk;eo.isWhiteSpace=qk;function qk(i){return i===9||i===32}function x5(i){return i>=48&&i<=57}function D6(i){return i>=97&&i<=122||i>=65&&i<=90}function Gk(i){return D6(i)||i===95}function Kk(i){return D6(i)||x5(i)||i===95}});var ad=D(rd=>{"use strict";h();m();Object.defineProperty(rd,"__esModule",{value:!0});rd.dedentBlockStringLines=Qk;rd.isPrintableAsBlockString=Yk;rd.printBlockString=zk;var S6=u1();function Qk(i){var e;let t=Number.MAX_SAFE_INTEGER,n=null,r=-1;for(let s=0;so===0?s:s.slice(t)).slice((e=n)!==null&&e!==void 0?e:0,r+1)}function Hk(i){let e=0;for(;e1&&n.slice(1).every(v=>v.length===0||(0,S6.isWhiteSpace)(v.charCodeAt(0))),s=t.endsWith('\\"""'),o=i.endsWith('"')&&!s,u=i.endsWith("\\"),p=o||u,d=!(e!=null&&e.minimize)&&(!r||i.length>70||p||a||s),l="",c=r&&(0,S6.isWhiteSpace)(i.charCodeAt(0));return(d&&!c||a)&&(l+=` `),l+=t,(d||p)&&(l+=` `),'"""'+l+'"""'}});var od=D(sd=>{"use strict";h();m();Object.defineProperty(sd,"__esModule",{value:!0});sd.TokenKind=void 0;var _6;sd.TokenKind=_6;(function(i){i.SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment"})(_6||(sd.TokenKind=_6={}))});var d1=D(pd=>{"use strict";h();m();Object.defineProperty(pd,"__esModule",{value:!0});pd.Lexer=void 0;pd.isPunctuatorTokenKind=Jk;var tr=o1(),$5=$r(),Wk=ad(),to=u1(),Ce=od(),I6=class{constructor(e){let t=new $5.Token(Ce.TokenKind.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Ce.TokenKind.EOF)do if(e.next)e=e.next;else{let t=Xk(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===Ce.TokenKind.COMMENT);return e}};pd.Lexer=I6;function Jk(i){return i===Ce.TokenKind.BANG||i===Ce.TokenKind.DOLLAR||i===Ce.TokenKind.AMP||i===Ce.TokenKind.PAREN_L||i===Ce.TokenKind.PAREN_R||i===Ce.TokenKind.SPREAD||i===Ce.TokenKind.COLON||i===Ce.TokenKind.EQUALS||i===Ce.TokenKind.AT||i===Ce.TokenKind.BRACKET_L||i===Ce.TokenKind.BRACKET_R||i===Ce.TokenKind.BRACE_L||i===Ce.TokenKind.PIPE||i===Ce.TokenKind.BRACE_R}function _u(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function p1(i,e){return V5(i.charCodeAt(e))&&k5(i.charCodeAt(e+1))}function V5(i){return i>=55296&&i<=56319}function k5(i){return i>=56320&&i<=57343}function io(i,e){let t=i.source.body.codePointAt(e);if(t===void 0)return Ce.TokenKind.EOF;if(t>=32&&t<=126){let n=String.fromCodePoint(t);return n==='"'?`'"'`:`"${n}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function jt(i,e,t,n,r){let a=i.line,s=1+t-i.lineStart;return new $5.Token(e,t,n,a,s,r)}function Xk(i,e){let t=i.source.body,n=t.length,r=e;for(;r=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function rM(i,e){let t=i.source.body;switch(t.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,tr.syntaxError)(i.source,e,`Invalid character escape sequence: "${t.slice(e,e+2)}".`)}function aM(i,e){let t=i.source.body,n=t.length,r=i.lineStart,a=e+3,s=a,o="",u=[];for(;a{"use strict";h();m();Object.defineProperty(F6,"__esModule",{value:!0});F6.inspect=uM;var oM=10,M5=2;function uM(i){return l1(i,[])}function l1(i,e){switch(typeof i){case"string":return JSON.stringify(i);case"function":return i.name?`[function ${i.name}]`:"[function]";case"object":return pM(i,e);default:return String(i)}}function pM(i,e){if(i===null)return"null";if(e.includes(i))return"[Circular]";let t=[...e,i];if(dM(i)){let n=i.toJSON();if(n!==i)return typeof n=="string"?n:l1(n,t)}else if(Array.isArray(i))return cM(i,t);return lM(i,t)}function dM(i){return typeof i.toJSON=="function"}function lM(i,e){let t=Object.entries(i);return t.length===0?"{}":e.length>M5?"["+fM(i)+"]":"{ "+t.map(([r,a])=>r+": "+l1(a,e)).join(", ")+" }"}function cM(i,e){if(i.length===0)return"[]";if(e.length>M5)return"[Array]";let t=Math.min(oM,i.length),n=i.length-t,r=[];for(let a=0;a1&&r.push(`... ${n} more items`),"["+r.join(", ")+"]"}function fM(i){let e=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof i.constructor=="function"){let t=i.constructor.name;if(typeof t=="string"&&t!=="")return t}return e}});var dd=D(c1=>{"use strict";h();m();Object.defineProperty(c1,"__esModule",{value:!0});c1.instanceOf=void 0;var t0e=Je(),mM=function(e,t){return e instanceof t};c1.instanceOf=mM});var m1=D(ld=>{"use strict";h();m();Object.defineProperty(ld,"__esModule",{value:!0});ld.Source=void 0;ld.isSource=yM;var N6=xi(),hM=Je(),vM=dd(),f1=class{constructor(e,t="GraphQL request",n={line:1,column:1}){typeof e=="string"||(0,N6.devAssert)(!1,`Body must be a string. Received: ${(0,hM.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,N6.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,N6.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};ld.Source=f1;function yM(i){return(0,vM.instanceOf)(i,f1)}});var Iu=D(is=>{"use strict";h();m();Object.defineProperty(is,"__esModule",{value:!0});is.Parser=void 0;is.parse=gM;is.parseConstValue=TM;is.parseType=DM;is.parseValue=AM;var bu=o1(),cd=$r(),EM=Su(),Se=Ue(),j5=d1(),U5=m1(),J=od();function gM(i,e){return new no(i,e).parseDocument()}function AM(i,e){let t=new no(i,e);t.expectToken(J.TokenKind.SOF);let n=t.parseValueLiteral(!1);return t.expectToken(J.TokenKind.EOF),n}function TM(i,e){let t=new no(i,e);t.expectToken(J.TokenKind.SOF);let n=t.parseConstValueLiteral();return t.expectToken(J.TokenKind.EOF),n}function DM(i,e){let t=new no(i,e);t.expectToken(J.TokenKind.SOF);let n=t.parseTypeReference();return t.expectToken(J.TokenKind.EOF),n}var no=class{constructor(e,t){let n=(0,U5.isSource)(e)?e:new U5.Source(e);this._lexer=new j5.Lexer(n),this._options=t}parseName(){let e=this.expectToken(J.TokenKind.NAME);return this.node(e,{kind:Se.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:Se.Kind.DOCUMENT,definitions:this.many(J.TokenKind.SOF,this.parseDefinition,J.TokenKind.EOF)})}parseDefinition(){if(this.peek(J.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===J.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,bu.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(J.TokenKind.BRACE_L))return this.node(e,{kind:Se.Kind.OPERATION_DEFINITION,operation:cd.OperationTypeNode.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(J.TokenKind.NAME)&&(n=this.parseName()),this.node(e,{kind:Se.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(J.TokenKind.NAME);switch(e.value){case"query":return cd.OperationTypeNode.QUERY;case"mutation":return cd.OperationTypeNode.MUTATION;case"subscription":return cd.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(J.TokenKind.PAREN_L,this.parseVariableDefinition,J.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Se.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(J.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(J.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(J.TokenKind.DOLLAR),this.node(e,{kind:Se.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Se.Kind.SELECTION_SET,selections:this.many(J.TokenKind.BRACE_L,this.parseSelection,J.TokenKind.BRACE_R)})}parseSelection(){return this.peek(J.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(J.TokenKind.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:Se.Kind.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(J.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(J.TokenKind.PAREN_L,t,J.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(J.TokenKind.COLON),this.node(t,{kind:Se.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(J.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(J.TokenKind.NAME)?this.node(e,{kind:Se.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:Se.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;let t=this._lexer.token;return this.expectKeyword("fragment"),((e=this._options)===null||e===void 0?void 0:e.allowLegacyFragmentVariables)===!0?this.node(t,{kind:Se.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:Se.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case J.TokenKind.BRACKET_L:return this.parseList(e);case J.TokenKind.BRACE_L:return this.parseObject(e);case J.TokenKind.INT:return this._lexer.advance(),this.node(t,{kind:Se.Kind.INT,value:t.value});case J.TokenKind.FLOAT:return this._lexer.advance(),this.node(t,{kind:Se.Kind.FLOAT,value:t.value});case J.TokenKind.STRING:case J.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case J.TokenKind.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:Se.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:Se.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:Se.Kind.NULL});default:return this.node(t,{kind:Se.Kind.ENUM,value:t.value})}case J.TokenKind.DOLLAR:if(e)if(this.expectToken(J.TokenKind.DOLLAR),this._lexer.token.kind===J.TokenKind.NAME){let n=this._lexer.token.value;throw(0,bu.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${n}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:Se.Kind.STRING,value:e.value,block:e.kind===J.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:Se.Kind.LIST,values:this.any(J.TokenKind.BRACKET_L,t,J.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:Se.Kind.OBJECT,fields:this.any(J.TokenKind.BRACE_L,t,J.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(J.TokenKind.COLON),this.node(t,{kind:Se.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(J.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(J.TokenKind.AT),this.node(t,{kind:Se.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(J.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(J.TokenKind.BRACKET_R),t=this.node(e,{kind:Se.Kind.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(J.TokenKind.BANG)?this.node(e,{kind:Se.Kind.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:Se.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(J.TokenKind.STRING)||this.peek(J.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(J.TokenKind.BRACE_L,this.parseOperationTypeDefinition,J.TokenKind.BRACE_R);return this.node(e,{kind:Se.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(J.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:Se.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:Se.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:Se.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:a,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(J.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(J.TokenKind.BRACE_L,this.parseFieldDefinition,J.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(J.TokenKind.COLON);let a=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:Se.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:a,directives:s})}parseArgumentDefs(){return this.optionalMany(J.TokenKind.PAREN_L,this.parseInputValueDef,J.TokenKind.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(J.TokenKind.COLON);let r=this.parseTypeReference(),a;this.expectOptionalToken(J.TokenKind.EQUALS)&&(a=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:Se.Kind.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:a,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:Se.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:a,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(e,{kind:Se.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(J.TokenKind.EQUALS)?this.delimitedMany(J.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(e,{kind:Se.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:a})}parseEnumValuesDefinition(){return this.optionalMany(J.TokenKind.BRACE_L,this.parseEnumValueDefinition,J.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:Se.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw(0,bu.syntaxError)(this._lexer.source,this._lexer.token.start,`${h1(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(e,{kind:Se.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(J.TokenKind.BRACE_L,this.parseInputValueDef,J.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===J.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(J.TokenKind.BRACE_L,this.parseOperationTypeDefinition,J.TokenKind.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&a.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:a})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&a.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:a})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Se.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(J.TokenKind.AT);let n=this.parseName(),r=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:Se.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:a,locations:s})}parseDirectiveLocations(){return this.delimitedMany(J.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(EM.DirectiveLocation,t.value))return t;throw this.unexpected(e)}node(e,t){var n;return((n=this._options)===null||n===void 0?void 0:n.noLocation)!==!0&&(t.loc=new cd.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,bu.syntaxError)(this._lexer.source,t.start,`Expected ${q5(e)}, found ${h1(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this._lexer.advance(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===J.TokenKind.NAME&&t.value===e)this._lexer.advance();else throw(0,bu.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${h1(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===J.TokenKind.NAME&&t.value===e?(this._lexer.advance(),!0):!1}unexpected(e){let t=e??this._lexer.token;return(0,bu.syntaxError)(this._lexer.source,t.start,`Unexpected ${h1(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}};is.Parser=no;function h1(i){let e=i.value;return q5(i.kind)+(e!=null?` "${e}"`:"")}function q5(i){return(0,j5.isPunctuatorTokenKind)(i)?`"${i}"`:i}});var ns=D(C6=>{"use strict";h();m();Object.defineProperty(C6,"__esModule",{value:!0});C6.didYouMean=_M;var SM=5;function _M(i,e){let[t,n]=e?[i,e]:[void 0,i],r=" Did you mean ";t&&(r+=t+" ");let a=n.map(u=>`"${u}"`);switch(a.length){case 0:return"";case 1:return r+a[0]+"?";case 2:return r+a[0]+" or "+a[1]+"?"}let s=a.slice(0,SM),o=s.pop();return r+s.join(", ")+", or "+o+"?"}});var G5=D(O6=>{"use strict";h();m();Object.defineProperty(O6,"__esModule",{value:!0});O6.identityFunc=bM;function bM(i){return i}});var rs=D(w6=>{"use strict";h();m();Object.defineProperty(w6,"__esModule",{value:!0});w6.keyMap=IM;function IM(i,e){let t=Object.create(null);for(let n of i)t[e(n)]=n;return t}});var fd=D(R6=>{"use strict";h();m();Object.defineProperty(R6,"__esModule",{value:!0});R6.keyValMap=FM;function FM(i,e,t){let n=Object.create(null);for(let r of i)n[e(r)]=t(r);return n}});var L6=D(B6=>{"use strict";h();m();Object.defineProperty(B6,"__esModule",{value:!0});B6.mapValue=NM;function NM(i,e){let t=Object.create(null);for(let n of Object.keys(i))t[n]=e(i[n],n);return t}});var md=D(P6=>{"use strict";h();m();Object.defineProperty(P6,"__esModule",{value:!0});P6.naturalCompare=CM;function CM(i,e){let t=0,n=0;for(;t0);let o=0;do++n,o=o*10+a-x6,a=e.charCodeAt(n);while(v1(a)&&o>0);if(so)return 1}else{if(ra)return 1;++t,++n}}return i.length-e.length}var x6=48,OM=57;function v1(i){return!isNaN(i)&&x6<=i&&i<=OM}});var as=D(V6=>{"use strict";h();m();Object.defineProperty(V6,"__esModule",{value:!0});V6.suggestionList=RM;var wM=md();function RM(i,e){let t=Object.create(null),n=new $6(i),r=Math.floor(i.length*.4)+1;for(let a of e){let s=n.measure(a,r);s!==void 0&&(t[a]=s)}return Object.keys(t).sort((a,s)=>{let o=t[a]-t[s];return o!==0?o:(0,wM.naturalCompare)(a,s)})}var $6=class{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=K5(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=K5(n),a=this._inputArray;if(r.lengtht)return;let u=this._rows;for(let d=0;d<=o;d++)u[0][d]=d;for(let d=1;d<=s;d++){let l=u[(d-1)%3],c=u[d%3],v=c[0]=d;for(let y=1;y<=o;y++){let g=r[d-1]===a[y-1]?0:1,T=Math.min(l[y]+1,c[y-1]+1,l[y-1]+g);if(d>1&&y>1&&r[d-1]===a[y-2]&&r[d-2]===a[y-1]){let S=u[(d-2)%3][y-2];T=Math.min(T,S+1)}Tt)return}let p=u[s%3][o];return p<=t?p:void 0}};function K5(i){let e=i.length,t=new Array(e);for(let n=0;n{"use strict";h();m();Object.defineProperty(k6,"__esModule",{value:!0});k6.toObjMap=BM;function BM(i){if(i==null)return Object.create(null);if(Object.getPrototypeOf(i)===null)return i;let e=Object.create(null);for(let[t,n]of Object.entries(i))e[t]=n;return e}});var Q5=D(M6=>{"use strict";h();m();Object.defineProperty(M6,"__esModule",{value:!0});M6.printString=LM;function LM(i){return`"${i.replace(xM,PM)}"`}var xM=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function PM(i){return $M[i.charCodeAt(0)]}var $M=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]});var ro=D(ss=>{"use strict";h();m();Object.defineProperty(ss,"__esModule",{value:!0});ss.BREAK=void 0;ss.getEnterLeaveForKind=E1;ss.getVisitFn=jM;ss.visit=MM;ss.visitInParallel=UM;var VM=xi(),kM=Je(),U6=$r(),H5=Ue(),Fu=Object.freeze({});ss.BREAK=Fu;function MM(i,e,t=U6.QueryDocumentKeys){let n=new Map;for(let S of Object.values(H5.Kind))n.set(S,E1(e,S));let r,a=Array.isArray(i),s=[i],o=-1,u=[],p=i,d,l,c=[],v=[];do{o++;let S=o===s.length,N=S&&u.length!==0;if(S){if(d=v.length===0?void 0:c[c.length-1],p=l,l=v.pop(),N)if(a){p=p.slice();let R=0;for(let[P,K]of u){let W=P-R;K===null?(p.splice(W,1),R++):p[W]=K}}else{p=Object.defineProperties({},Object.getOwnPropertyDescriptors(p));for(let[R,P]of u)p[R]=P}o=r.index,s=r.keys,u=r.edits,a=r.inArray,r=r.prev}else if(l){if(d=a?o:s[o],p=l[d],p==null)continue;c.push(d)}let F;if(!Array.isArray(p)){var y,g;(0,U6.isNode)(p)||(0,VM.devAssert)(!1,`Invalid AST Node: ${(0,kM.inspect)(p)}.`);let R=S?(y=n.get(p.kind))===null||y===void 0?void 0:y.leave:(g=n.get(p.kind))===null||g===void 0?void 0:g.enter;if(F=R?.call(e,p,d,l,c,v),F===Fu)break;if(F===!1){if(!S){c.pop();continue}}else if(F!==void 0&&(u.push([d,F]),!S))if((0,U6.isNode)(F))p=F;else{c.pop();continue}}if(F===void 0&&N&&u.push([d,p]),S)c.pop();else{var T;r={inArray:a,index:o,keys:s,edits:u,prev:r},a=Array.isArray(p),s=a?p:(T=t[p.kind])!==null&&T!==void 0?T:[],o=-1,u=[],l&&v.push(l),l=p}}while(r!==void 0);return u.length!==0?u[u.length-1][1]:i}function UM(i){let e=new Array(i.length).fill(null),t=Object.create(null);for(let n of Object.values(H5.Kind)){let r=!1,a=new Array(i.length).fill(void 0),s=new Array(i.length).fill(void 0);for(let u=0;u{"use strict";h();m();Object.defineProperty(j6,"__esModule",{value:!0});j6.print=QM;var qM=ad(),GM=Q5(),KM=ro();function QM(i){return(0,KM.visit)(i,YM)}var HM=80,YM={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>ae(i.definitions,` `)},OperationDefinition:{leave(i){let e=Le("(",ae(i.variableDefinitions,", "),")"),t=ae([i.operation,ae([i.name,e]),ae(i.directives," ")]," ");return(t==="query"?"":t+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:e,defaultValue:t,directives:n})=>i+": "+e+Le(" = ",t)+Le(" ",ae(n," "))},SelectionSet:{leave:({selections:i})=>ir(i)},Field:{leave({alias:i,name:e,arguments:t,directives:n,selectionSet:r}){let a=Le("",i,": ")+e,s=a+Le("(",ae(t,", "),")");return s.length>HM&&(s=a+Le(`( `,g1(ae(t,` `)),` )`)),ae([s,ae(n," "),r]," ")}},Argument:{leave:({name:i,value:e})=>i+": "+e},FragmentSpread:{leave:({name:i,directives:e})=>"..."+i+Le(" ",ae(e," "))},InlineFragment:{leave:({typeCondition:i,directives:e,selectionSet:t})=>ae(["...",Le("on ",i),ae(e," "),t]," ")},FragmentDefinition:{leave:({name:i,typeCondition:e,variableDefinitions:t,directives:n,selectionSet:r})=>`fragment ${i}${Le("(",ae(t,", "),")")} on ${e} ${Le("",ae(n," ")," ")}`+r},IntValue:{leave:({value:i})=>i},FloatValue:{leave:({value:i})=>i},StringValue:{leave:({value:i,block:e})=>e?(0,qM.printBlockString)(i):(0,GM.printString)(i)},BooleanValue:{leave:({value:i})=>i?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:i})=>i},ListValue:{leave:({values:i})=>"["+ae(i,", ")+"]"},ObjectValue:{leave:({fields:i})=>"{"+ae(i,", ")+"}"},ObjectField:{leave:({name:i,value:e})=>i+": "+e},Directive:{leave:({name:i,arguments:e})=>"@"+i+Le("(",ae(e,", "),")")},NamedType:{leave:({name:i})=>i},ListType:{leave:({type:i})=>"["+i+"]"},NonNullType:{leave:({type:i})=>i+"!"},SchemaDefinition:{leave:({description:i,directives:e,operationTypes:t})=>Le("",i,` `)+ae(["schema",ae(e," "),ir(t)]," ")},OperationTypeDefinition:{leave:({operation:i,type:e})=>i+": "+e},ScalarTypeDefinition:{leave:({description:i,name:e,directives:t})=>Le("",i,` `)+ae(["scalar",e,ae(t," ")]," ")},ObjectTypeDefinition:{leave:({description:i,name:e,interfaces:t,directives:n,fields:r})=>Le("",i,` `)+ae(["type",e,Le("implements ",ae(t," & ")),ae(n," "),ir(r)]," ")},FieldDefinition:{leave:({description:i,name:e,arguments:t,type:n,directives:r})=>Le("",i,` `)+e+(Y5(t)?Le(`( `,g1(ae(t,` `)),` )`):Le("(",ae(t,", "),")"))+": "+n+Le(" ",ae(r," "))},InputValueDefinition:{leave:({description:i,name:e,type:t,defaultValue:n,directives:r})=>Le("",i,` `)+ae([e+": "+t,Le("= ",n),ae(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:i,name:e,interfaces:t,directives:n,fields:r})=>Le("",i,` `)+ae(["interface",e,Le("implements ",ae(t," & ")),ae(n," "),ir(r)]," ")},UnionTypeDefinition:{leave:({description:i,name:e,directives:t,types:n})=>Le("",i,` `)+ae(["union",e,ae(t," "),Le("= ",ae(n," | "))]," ")},EnumTypeDefinition:{leave:({description:i,name:e,directives:t,values:n})=>Le("",i,` `)+ae(["enum",e,ae(t," "),ir(n)]," ")},EnumValueDefinition:{leave:({description:i,name:e,directives:t})=>Le("",i,` `)+ae([e,ae(t," ")]," ")},InputObjectTypeDefinition:{leave:({description:i,name:e,directives:t,fields:n})=>Le("",i,` `)+ae(["input",e,ae(t," "),ir(n)]," ")},DirectiveDefinition:{leave:({description:i,name:e,arguments:t,repeatable:n,locations:r})=>Le("",i,` `)+"directive @"+e+(Y5(t)?Le(`( `,g1(ae(t,` `)),` )`):Le("(",ae(t,", "),")"))+(n?" repeatable":"")+" on "+ae(r," | ")},SchemaExtension:{leave:({directives:i,operationTypes:e})=>ae(["extend schema",ae(i," "),ir(e)]," ")},ScalarTypeExtension:{leave:({name:i,directives:e})=>ae(["extend scalar",i,ae(e," ")]," ")},ObjectTypeExtension:{leave:({name:i,interfaces:e,directives:t,fields:n})=>ae(["extend type",i,Le("implements ",ae(e," & ")),ae(t," "),ir(n)]," ")},InterfaceTypeExtension:{leave:({name:i,interfaces:e,directives:t,fields:n})=>ae(["extend interface",i,Le("implements ",ae(e," & ")),ae(t," "),ir(n)]," ")},UnionTypeExtension:{leave:({name:i,directives:e,types:t})=>ae(["extend union",i,ae(e," "),Le("= ",ae(t," | "))]," ")},EnumTypeExtension:{leave:({name:i,directives:e,values:t})=>ae(["extend enum",i,ae(e," "),ir(t)]," ")},InputObjectTypeExtension:{leave:({name:i,directives:e,fields:t})=>ae(["extend input",i,ae(e," "),ir(t)]," ")}};function ae(i,e=""){var t;return(t=i?.filter(n=>n).join(e))!==null&&t!==void 0?t:""}function ir(i){return Le(`{ `,g1(ae(i,` `)),` }`)}function Le(i,e,t=""){return e!=null&&e!==""?i+e+t:""}function g1(i){return Le(" ",i.replace(/\n/g,` `))}function Y5(i){var e;return(e=i?.some(t=>t.includes(` `)))!==null&&e!==void 0?e:!1}});var K6=D(G6=>{"use strict";h();m();Object.defineProperty(G6,"__esModule",{value:!0});G6.valueFromASTUntyped=q6;var zM=fd(),Ia=Ue();function q6(i,e){switch(i.kind){case Ia.Kind.NULL:return null;case Ia.Kind.INT:return parseInt(i.value,10);case Ia.Kind.FLOAT:return parseFloat(i.value);case Ia.Kind.STRING:case Ia.Kind.ENUM:case Ia.Kind.BOOLEAN:return i.value;case Ia.Kind.LIST:return i.values.map(t=>q6(t,e));case Ia.Kind.OBJECT:return(0,zM.keyValMap)(i.fields,t=>t.name.value,t=>q6(t.value,e));case Ia.Kind.VARIABLE:return e?.[i.name.value]}}});var hd=D(T1=>{"use strict";h();m();Object.defineProperty(T1,"__esModule",{value:!0});T1.assertEnumValueName=WM;T1.assertName=J5;var z5=xi(),A1=ye(),W5=u1();function J5(i){if(i!=null||(0,z5.devAssert)(!1,"Must provide name."),typeof i=="string"||(0,z5.devAssert)(!1,"Expected name to be a string."),i.length===0)throw new A1.GraphQLError("Expected name to be a non-empty string.");for(let e=1;e{"use strict";h();m();Object.defineProperty(le,"__esModule",{value:!0});le.GraphQLUnionType=le.GraphQLScalarType=le.GraphQLObjectType=le.GraphQLNonNull=le.GraphQLList=le.GraphQLInterfaceType=le.GraphQLInputObjectType=le.GraphQLEnumType=void 0;le.argsToArgsConfig=pA;le.assertAbstractType=vU;le.assertCompositeType=hU;le.assertEnumType=uU;le.assertInputObjectType=pU;le.assertInputType=cU;le.assertInterfaceType=sU;le.assertLeafType=mU;le.assertListType=dU;le.assertNamedType=AU;le.assertNonNullType=lU;le.assertNullableType=EU;le.assertObjectType=aU;le.assertOutputType=fU;le.assertScalarType=rU;le.assertType=nU;le.assertUnionType=oU;le.assertWrappingType=yU;le.defineArguments=oA;le.getNamedType=TU;le.getNullableType=gU;le.isAbstractType=nA;le.isCompositeType=iA;le.isEnumType=uo;le.isInputObjectType=yd;le.isInputType=Q6;le.isInterfaceType=so;le.isLeafType=tA;le.isListType=B1;le.isNamedType=rA;le.isNonNullType=us;le.isNullableType=Y6;le.isObjectType=Cu;le.isOutputType=H6;le.isRequiredArgument=DU;le.isRequiredInputField=IU;le.isScalarType=ao;le.isType=R1;le.isUnionType=oo;le.isWrappingType=Ed;le.resolveObjMapThunk=W6;le.resolveReadonlyArrayThunk=z6;var ai=xi(),JM=ns(),X5=G5(),vt=Je(),os=dd(),XM=Pr(),ZM=rs(),eA=fd(),w1=L6(),eU=as(),Vr=y1(),vd=ye(),tU=Ue(),Z5=un(),iU=K6(),kr=hd();function R1(i){return ao(i)||Cu(i)||so(i)||oo(i)||uo(i)||yd(i)||B1(i)||us(i)}function nU(i){if(!R1(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL type.`);return i}function ao(i){return(0,os.instanceOf)(i,b1)}function rU(i){if(!ao(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Scalar type.`);return i}function Cu(i){return(0,os.instanceOf)(i,I1)}function aU(i){if(!Cu(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Object type.`);return i}function so(i){return(0,os.instanceOf)(i,F1)}function sU(i){if(!so(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Interface type.`);return i}function oo(i){return(0,os.instanceOf)(i,N1)}function oU(i){if(!oo(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Union type.`);return i}function uo(i){return(0,os.instanceOf)(i,C1)}function uU(i){if(!uo(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Enum type.`);return i}function yd(i){return(0,os.instanceOf)(i,O1)}function pU(i){if(!yd(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Input Object type.`);return i}function B1(i){return(0,os.instanceOf)(i,S1)}function dU(i){if(!B1(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL List type.`);return i}function us(i){return(0,os.instanceOf)(i,_1)}function lU(i){if(!us(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL Non-Null type.`);return i}function Q6(i){return ao(i)||uo(i)||yd(i)||Ed(i)&&Q6(i.ofType)}function cU(i){if(!Q6(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL input type.`);return i}function H6(i){return ao(i)||Cu(i)||so(i)||oo(i)||uo(i)||Ed(i)&&H6(i.ofType)}function fU(i){if(!H6(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL output type.`);return i}function tA(i){return ao(i)||uo(i)}function mU(i){if(!tA(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL leaf type.`);return i}function iA(i){return Cu(i)||so(i)||oo(i)}function hU(i){if(!iA(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL composite type.`);return i}function nA(i){return so(i)||oo(i)}function vU(i){if(!nA(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL abstract type.`);return i}var S1=class{constructor(e){R1(e)||(0,ai.devAssert)(!1,`Expected ${(0,vt.inspect)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}};le.GraphQLList=S1;var _1=class{constructor(e){Y6(e)||(0,ai.devAssert)(!1,`Expected ${(0,vt.inspect)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}};le.GraphQLNonNull=_1;function Ed(i){return B1(i)||us(i)}function yU(i){if(!Ed(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL wrapping type.`);return i}function Y6(i){return R1(i)&&!us(i)}function EU(i){if(!Y6(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL nullable type.`);return i}function gU(i){if(i)return us(i)?i.ofType:i}function rA(i){return ao(i)||Cu(i)||so(i)||oo(i)||uo(i)||yd(i)}function AU(i){if(!rA(i))throw new Error(`Expected ${(0,vt.inspect)(i)} to be a GraphQL named type.`);return i}function TU(i){if(i){let e=i;for(;Ed(e);)e=e.ofType;return e}}function z6(i){return typeof i=="function"?i():i}function W6(i){return typeof i=="function"?i():i}var b1=class{constructor(e){var t,n,r,a;let s=(t=e.parseValue)!==null&&t!==void 0?t:X5.identityFunc;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=(n=e.serialize)!==null&&n!==void 0?n:X5.identityFunc,this.parseValue=s,this.parseLiteral=(r=e.parseLiteral)!==null&&r!==void 0?r:(o,u)=>s((0,iU.valueFromASTUntyped)(o,u)),this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(a=e.extensionASTNodes)!==null&&a!==void 0?a:[],e.specifiedByURL==null||typeof e.specifiedByURL=="string"||(0,ai.devAssert)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,vt.inspect)(e.specifiedByURL)}.`),e.serialize==null||typeof e.serialize=="function"||(0,ai.devAssert)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&(typeof e.parseValue=="function"&&typeof e.parseLiteral=="function"||(0,ai.devAssert)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLScalarType=b1;var I1=class{constructor(e){var t;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=()=>sA(e),this._interfaces=()=>aA(e),e.isTypeOf==null||typeof e.isTypeOf=="function"||(0,ai.devAssert)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,vt.inspect)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:uA(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLObjectType=I1;function aA(i){var e;let t=z6((e=i.interfaces)!==null&&e!==void 0?e:[]);return Array.isArray(t)||(0,ai.devAssert)(!1,`${i.name} interfaces must be an Array or a function which returns an Array.`),t}function sA(i){let e=W6(i.fields);return Nu(e)||(0,ai.devAssert)(!1,`${i.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,w1.mapValue)(e,(t,n)=>{var r;Nu(t)||(0,ai.devAssert)(!1,`${i.name}.${n} field config must be an object.`),t.resolve==null||typeof t.resolve=="function"||(0,ai.devAssert)(!1,`${i.name}.${n} field resolver must be a function if provided, but got: ${(0,vt.inspect)(t.resolve)}.`);let a=(r=t.args)!==null&&r!==void 0?r:{};return Nu(a)||(0,ai.devAssert)(!1,`${i.name}.${n} args must be an object with argument names as keys.`),{name:(0,kr.assertName)(n),description:t.description,type:t.type,args:oA(a),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,Vr.toObjMap)(t.extensions),astNode:t.astNode}})}function oA(i){return Object.entries(i).map(([e,t])=>({name:(0,kr.assertName)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,Vr.toObjMap)(t.extensions),astNode:t.astNode}))}function Nu(i){return(0,XM.isObjectLike)(i)&&!Array.isArray(i)}function uA(i){return(0,w1.mapValue)(i,e=>({description:e.description,type:e.type,args:pA(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function pA(i){return(0,eA.keyValMap)(i,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function DU(i){return us(i.type)&&i.defaultValue===void 0}var F1=class{constructor(e){var t;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=sA.bind(void 0,e),this._interfaces=aA.bind(void 0,e),e.resolveType==null||typeof e.resolveType=="function"||(0,ai.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,vt.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:uA(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLInterfaceType=F1;var N1=class{constructor(e){var t;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._types=SU.bind(void 0,e),e.resolveType==null||typeof e.resolveType=="function"||(0,ai.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,vt.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLUnionType=N1;function SU(i){let e=z6(i.types);return Array.isArray(e)||(0,ai.devAssert)(!1,`Must provide Array of types or a function which returns such an array for Union ${i.name}.`),e}var C1=class{constructor(e){var t;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._values=_U(this.name,e.values),this._valueLookup=new Map(this._values.map(n=>[n.value,n])),this._nameLookup=(0,ZM.keyMap)(this._values,n=>n.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(t===void 0)throw new vd.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,vt.inspect)(e)}`);return t.name}parseValue(e){if(typeof e!="string"){let n=(0,vt.inspect)(e);throw new vd.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${n}.`+D1(this,n))}let t=this.getValue(e);if(t==null)throw new vd.GraphQLError(`Value "${e}" does not exist in "${this.name}" enum.`+D1(this,e));return t.value}parseLiteral(e,t){if(e.kind!==tU.Kind.ENUM){let r=(0,Z5.print)(e);throw new vd.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+D1(this,r),{nodes:e})}let n=this.getValue(e.value);if(n==null){let r=(0,Z5.print)(e);throw new vd.GraphQLError(`Value "${r}" does not exist in "${this.name}" enum.`+D1(this,r),{nodes:e})}return n.value}toConfig(){let e=(0,eA.keyValMap)(this.getValues(),t=>t.name,t=>({description:t.description,value:t.value,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLEnumType=C1;function D1(i,e){let t=i.getValues().map(r=>r.name),n=(0,eU.suggestionList)(e,t);return(0,JM.didYouMean)("the enum value",n)}function _U(i,e){return Nu(e)||(0,ai.devAssert)(!1,`${i} values must be an object with value names as keys.`),Object.entries(e).map(([t,n])=>(Nu(n)||(0,ai.devAssert)(!1,`${i}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,vt.inspect)(n)}.`),{name:(0,kr.assertEnumValueName)(t),description:n.description,value:n.value!==void 0?n.value:t,deprecationReason:n.deprecationReason,extensions:(0,Vr.toObjMap)(n.extensions),astNode:n.astNode}))}var O1=class{constructor(e){var t;this.name=(0,kr.assertName)(e.name),this.description=e.description,this.extensions=(0,Vr.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=bU.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){let e=(0,w1.mapValue)(this.getFields(),t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};le.GraphQLInputObjectType=O1;function bU(i){let e=W6(i.fields);return Nu(e)||(0,ai.devAssert)(!1,`${i.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,w1.mapValue)(e,(t,n)=>(!("resolve"in t)||(0,ai.devAssert)(!1,`${i.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,kr.assertName)(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,Vr.toObjMap)(t.extensions),astNode:t.astNode}))}function IU(i){return us(i.type)&&i.defaultValue===void 0}});var Ad=D(gd=>{"use strict";h();m();Object.defineProperty(gd,"__esModule",{value:!0});gd.doTypesOverlap=FU;gd.isEqualType=J6;gd.isTypeSubTypeOf=L1;var bi=$e();function J6(i,e){return i===e?!0:(0,bi.isNonNullType)(i)&&(0,bi.isNonNullType)(e)||(0,bi.isListType)(i)&&(0,bi.isListType)(e)?J6(i.ofType,e.ofType):!1}function L1(i,e,t){return e===t?!0:(0,bi.isNonNullType)(t)?(0,bi.isNonNullType)(e)?L1(i,e.ofType,t.ofType):!1:(0,bi.isNonNullType)(e)?L1(i,e.ofType,t):(0,bi.isListType)(t)?(0,bi.isListType)(e)?L1(i,e.ofType,t.ofType):!1:(0,bi.isListType)(e)?!1:(0,bi.isAbstractType)(t)&&((0,bi.isInterfaceType)(e)||(0,bi.isObjectType)(e))&&i.isSubType(t,e)}function FU(i,e,t){return e===t?!0:(0,bi.isAbstractType)(e)?(0,bi.isAbstractType)(t)?i.getPossibleTypes(e).some(n=>i.isSubType(t,n)):i.isSubType(e,t):(0,bi.isAbstractType)(t)?i.isSubType(t,e):!1}});var Mr=D(Kt=>{"use strict";h();m();Object.defineProperty(Kt,"__esModule",{value:!0});Kt.GraphQLString=Kt.GraphQLInt=Kt.GraphQLID=Kt.GraphQLFloat=Kt.GraphQLBoolean=Kt.GRAPHQL_MIN_INT=Kt.GRAPHQL_MAX_INT=void 0;Kt.isSpecifiedScalarType=NU;Kt.specifiedScalarTypes=void 0;var nr=Je(),dA=Pr(),si=ye(),po=Ue(),Td=un(),Dd=$e(),x1=2147483647;Kt.GRAPHQL_MAX_INT=x1;var P1=-2147483648;Kt.GRAPHQL_MIN_INT=P1;var lA=new Dd.GraphQLScalarType({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(i){let e=Sd(i);if(typeof e=="boolean")return e?1:0;let t=e;if(typeof e=="string"&&e!==""&&(t=Number(e)),typeof t!="number"||!Number.isInteger(t))throw new si.GraphQLError(`Int cannot represent non-integer value: ${(0,nr.inspect)(e)}`);if(t>x1||tx1||ix1||ei.name===e)}function Sd(i){if((0,dA.isObjectLike)(i)){if(typeof i.valueOf=="function"){let e=i.valueOf();if(!(0,dA.isObjectLike)(e))return e}if(typeof i.toJSON=="function")return i.toJSON()}return i}});var Yi=D(Qt=>{"use strict";h();m();Object.defineProperty(Qt,"__esModule",{value:!0});Qt.GraphQLSpecifiedByDirective=Qt.GraphQLSkipDirective=Qt.GraphQLIncludeDirective=Qt.GraphQLDirective=Qt.GraphQLDeprecatedDirective=Qt.DEFAULT_DEPRECATION_REASON=void 0;Qt.assertDirective=LU;Qt.isDirective=EA;Qt.isSpecifiedDirective=xU;Qt.specifiedDirectives=void 0;var yA=xi(),CU=Je(),OU=dd(),wU=Pr(),RU=y1(),rr=Su(),BU=hd(),_d=$e(),$1=Mr();function EA(i){return(0,OU.instanceOf)(i,ps)}function LU(i){if(!EA(i))throw new Error(`Expected ${(0,CU.inspect)(i)} to be a GraphQL directive.`);return i}var ps=class{constructor(e){var t,n;this.name=(0,BU.assertName)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=(t=e.isRepeatable)!==null&&t!==void 0?t:!1,this.extensions=(0,RU.toObjMap)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,yA.devAssert)(!1,`@${e.name} locations must be an Array.`);let r=(n=e.args)!==null&&n!==void 0?n:{};(0,wU.isObjectLike)(r)&&!Array.isArray(r)||(0,yA.devAssert)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,_d.defineArguments)(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,_d.argsToArgsConfig)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}};Qt.GraphQLDirective=ps;var gA=new ps({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[rr.DirectiveLocation.FIELD,rr.DirectiveLocation.FRAGMENT_SPREAD,rr.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new _d.GraphQLNonNull($1.GraphQLBoolean),description:"Included when true."}}});Qt.GraphQLIncludeDirective=gA;var AA=new ps({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[rr.DirectiveLocation.FIELD,rr.DirectiveLocation.FRAGMENT_SPREAD,rr.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new _d.GraphQLNonNull($1.GraphQLBoolean),description:"Skipped when true."}}});Qt.GraphQLSkipDirective=AA;var TA="No longer supported";Qt.DEFAULT_DEPRECATION_REASON=TA;var DA=new ps({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[rr.DirectiveLocation.FIELD_DEFINITION,rr.DirectiveLocation.ARGUMENT_DEFINITION,rr.DirectiveLocation.INPUT_FIELD_DEFINITION,rr.DirectiveLocation.ENUM_VALUE],args:{reason:{type:$1.GraphQLString,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:TA}}});Qt.GraphQLDeprecatedDirective=DA;var SA=new ps({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[rr.DirectiveLocation.SCALAR],args:{url:{type:new _d.GraphQLNonNull($1.GraphQLString),description:"The URL that specifies the behavior of this scalar."}}});Qt.GraphQLSpecifiedByDirective=SA;var _A=Object.freeze([gA,AA,DA,SA]);Qt.specifiedDirectives=_A;function xU(i){return _A.some(({name:e})=>e===i.name)}});var V1=D(X6=>{"use strict";h();m();Object.defineProperty(X6,"__esModule",{value:!0});X6.isIterableObject=PU;function PU(i){return typeof i=="object"&&typeof i?.[Symbol.iterator]=="function"}});var Fd=D(Z6=>{"use strict";h();m();Object.defineProperty(Z6,"__esModule",{value:!0});Z6.astFromValue=Id;var bA=Je(),$U=_i(),VU=V1(),kU=Pr(),Sn=Ue(),bd=$e(),MU=Mr();function Id(i,e){if((0,bd.isNonNullType)(e)){let t=Id(i,e.ofType);return t?.kind===Sn.Kind.NULL?null:t}if(i===null)return{kind:Sn.Kind.NULL};if(i===void 0)return null;if((0,bd.isListType)(e)){let t=e.ofType;if((0,VU.isIterableObject)(i)){let n=[];for(let r of i){let a=Id(r,t);a!=null&&n.push(a)}return{kind:Sn.Kind.LIST,values:n}}return Id(i,t)}if((0,bd.isInputObjectType)(e)){if(!(0,kU.isObjectLike)(i))return null;let t=[];for(let n of Object.values(e.getFields())){let r=Id(i[n.name],n.type);r&&t.push({kind:Sn.Kind.OBJECT_FIELD,name:{kind:Sn.Kind.NAME,value:n.name},value:r})}return{kind:Sn.Kind.OBJECT,fields:t}}if((0,bd.isLeafType)(e)){let t=e.serialize(i);if(t==null)return null;if(typeof t=="boolean")return{kind:Sn.Kind.BOOLEAN,value:t};if(typeof t=="number"&&Number.isFinite(t)){let n=String(t);return IA.test(n)?{kind:Sn.Kind.INT,value:n}:{kind:Sn.Kind.FLOAT,value:n}}if(typeof t=="string")return(0,bd.isEnumType)(e)?{kind:Sn.Kind.ENUM,value:t}:e===MU.GraphQLID&&IA.test(t)?{kind:Sn.Kind.INT,value:t}:{kind:Sn.Kind.STRING,value:t};throw new TypeError(`Cannot convert value to AST: ${(0,bA.inspect)(t)}.`)}(0,$U.invariant)(!1,"Unexpected input type: "+(0,bA.inspect)(e))}var IA=/^-?(?:0|[1-9][0-9]*)$/});var bn=D(Xe=>{"use strict";h();m();Object.defineProperty(Xe,"__esModule",{value:!0});Xe.introspectionTypes=Xe.__TypeKind=Xe.__Type=Xe.__Schema=Xe.__InputValue=Xe.__Field=Xe.__EnumValue=Xe.__DirectiveLocation=Xe.__Directive=Xe.TypeNameMetaFieldDef=Xe.TypeMetaFieldDef=Xe.TypeKind=Xe.SchemaMetaFieldDef=void 0;Xe.isIntrospectionType=YU;var UU=Je(),jU=_i(),Ht=Su(),qU=un(),GU=Fd(),se=$e(),yt=Mr(),e4=new se.GraphQLObjectType({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:yt.GraphQLString,resolve:i=>i.description},types:{description:"A list of all types supported by this server.",type:new se.GraphQLNonNull(new se.GraphQLList(new se.GraphQLNonNull(_n))),resolve(i){return Object.values(i.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new se.GraphQLNonNull(_n),resolve:i=>i.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:_n,resolve:i=>i.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:_n,resolve:i=>i.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new se.GraphQLNonNull(new se.GraphQLList(new se.GraphQLNonNull(t4))),resolve:i=>i.getDirectives()}})});Xe.__Schema=e4;var t4=new se.GraphQLObjectType({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new se.GraphQLNonNull(yt.GraphQLString),resolve:i=>i.name},description:{type:yt.GraphQLString,resolve:i=>i.description},isRepeatable:{type:new se.GraphQLNonNull(yt.GraphQLBoolean),resolve:i=>i.isRepeatable},locations:{type:new se.GraphQLNonNull(new se.GraphQLList(new se.GraphQLNonNull(i4))),resolve:i=>i.locations},args:{type:new se.GraphQLNonNull(new se.GraphQLList(new se.GraphQLNonNull(Nd))),args:{includeDeprecated:{type:yt.GraphQLBoolean,defaultValue:!1}},resolve(i,{includeDeprecated:e}){return e?i.args:i.args.filter(t=>t.deprecationReason==null)}}})});Xe.__Directive=t4;var i4=new se.GraphQLEnumType({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:Ht.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Ht.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Ht.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Ht.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Ht.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Ht.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Ht.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Ht.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Ht.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Ht.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Ht.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Ht.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Ht.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Ht.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Ht.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Ht.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Ht.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Ht.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Ht.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});Xe.__DirectiveLocation=i4;var _n=new se.GraphQLObjectType({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new se.GraphQLNonNull(a4),resolve(i){if((0,se.isScalarType)(i))return Yt.SCALAR;if((0,se.isObjectType)(i))return Yt.OBJECT;if((0,se.isInterfaceType)(i))return Yt.INTERFACE;if((0,se.isUnionType)(i))return Yt.UNION;if((0,se.isEnumType)(i))return Yt.ENUM;if((0,se.isInputObjectType)(i))return Yt.INPUT_OBJECT;if((0,se.isListType)(i))return Yt.LIST;if((0,se.isNonNullType)(i))return Yt.NON_NULL;(0,jU.invariant)(!1,`Unexpected type: "${(0,UU.inspect)(i)}".`)}},name:{type:yt.GraphQLString,resolve:i=>"name"in i?i.name:void 0},description:{type:yt.GraphQLString,resolve:i=>"description"in i?i.description:void 0},specifiedByURL:{type:yt.GraphQLString,resolve:i=>"specifiedByURL"in i?i.specifiedByURL:void 0},fields:{type:new se.GraphQLList(new se.GraphQLNonNull(n4)),args:{includeDeprecated:{type:yt.GraphQLBoolean,defaultValue:!1}},resolve(i,{includeDeprecated:e}){if((0,se.isObjectType)(i)||(0,se.isInterfaceType)(i)){let t=Object.values(i.getFields());return e?t:t.filter(n=>n.deprecationReason==null)}}},interfaces:{type:new se.GraphQLList(new se.GraphQLNonNull(_n)),resolve(i){if((0,se.isObjectType)(i)||(0,se.isInterfaceType)(i))return i.getInterfaces()}},possibleTypes:{type:new se.GraphQLList(new se.GraphQLNonNull(_n)),resolve(i,e,t,{schema:n}){if((0,se.isAbstractType)(i))return n.getPossibleTypes(i)}},enumValues:{type:new se.GraphQLList(new se.GraphQLNonNull(r4)),args:{includeDeprecated:{type:yt.GraphQLBoolean,defaultValue:!1}},resolve(i,{includeDeprecated:e}){if((0,se.isEnumType)(i)){let t=i.getValues();return e?t:t.filter(n=>n.deprecationReason==null)}}},inputFields:{type:new se.GraphQLList(new se.GraphQLNonNull(Nd)),args:{includeDeprecated:{type:yt.GraphQLBoolean,defaultValue:!1}},resolve(i,{includeDeprecated:e}){if((0,se.isInputObjectType)(i)){let t=Object.values(i.getFields());return e?t:t.filter(n=>n.deprecationReason==null)}}},ofType:{type:_n,resolve:i=>"ofType"in i?i.ofType:void 0}})});Xe.__Type=_n;var n4=new se.GraphQLObjectType({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new se.GraphQLNonNull(yt.GraphQLString),resolve:i=>i.name},description:{type:yt.GraphQLString,resolve:i=>i.description},args:{type:new se.GraphQLNonNull(new se.GraphQLList(new se.GraphQLNonNull(Nd))),args:{includeDeprecated:{type:yt.GraphQLBoolean,defaultValue:!1}},resolve(i,{includeDeprecated:e}){return e?i.args:i.args.filter(t=>t.deprecationReason==null)}},type:{type:new se.GraphQLNonNull(_n),resolve:i=>i.type},isDeprecated:{type:new se.GraphQLNonNull(yt.GraphQLBoolean),resolve:i=>i.deprecationReason!=null},deprecationReason:{type:yt.GraphQLString,resolve:i=>i.deprecationReason}})});Xe.__Field=n4;var Nd=new se.GraphQLObjectType({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new se.GraphQLNonNull(yt.GraphQLString),resolve:i=>i.name},description:{type:yt.GraphQLString,resolve:i=>i.description},type:{type:new se.GraphQLNonNull(_n),resolve:i=>i.type},defaultValue:{type:yt.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(i){let{type:e,defaultValue:t}=i,n=(0,GU.astFromValue)(t,e);return n?(0,qU.print)(n):null}},isDeprecated:{type:new se.GraphQLNonNull(yt.GraphQLBoolean),resolve:i=>i.deprecationReason!=null},deprecationReason:{type:yt.GraphQLString,resolve:i=>i.deprecationReason}})});Xe.__InputValue=Nd;var r4=new se.GraphQLObjectType({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new se.GraphQLNonNull(yt.GraphQLString),resolve:i=>i.name},description:{type:yt.GraphQLString,resolve:i=>i.description},isDeprecated:{type:new se.GraphQLNonNull(yt.GraphQLBoolean),resolve:i=>i.deprecationReason!=null},deprecationReason:{type:yt.GraphQLString,resolve:i=>i.deprecationReason}})});Xe.__EnumValue=r4;var Yt;Xe.TypeKind=Yt;(function(i){i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.INPUT_OBJECT="INPUT_OBJECT",i.LIST="LIST",i.NON_NULL="NON_NULL"})(Yt||(Xe.TypeKind=Yt={}));var a4=new se.GraphQLEnumType({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Yt.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Yt.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Yt.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Yt.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Yt.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Yt.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Yt.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Yt.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});Xe.__TypeKind=a4;var KU={name:"__schema",type:new se.GraphQLNonNull(e4),description:"Access the current type schema of this server.",args:[],resolve:(i,e,t,{schema:n})=>n,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};Xe.SchemaMetaFieldDef=KU;var QU={name:"__type",type:_n,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new se.GraphQLNonNull(yt.GraphQLString),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(i,{name:e},t,{schema:n})=>n.getType(e),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};Xe.TypeMetaFieldDef=QU;var HU={name:"__typename",type:new se.GraphQLNonNull(yt.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:(i,e,t,{parentType:n})=>n.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};Xe.TypeNameMetaFieldDef=HU;var FA=Object.freeze([e4,t4,i4,_n,n4,Nd,r4,a4]);Xe.introspectionTypes=FA;function YU(i){return FA.some(({name:e})=>i.name===e)}});var lo=D(Ou=>{"use strict";h();m();Object.defineProperty(Ou,"__esModule",{value:!0});Ou.GraphQLSchema=void 0;Ou.assertSchema=ZU;Ou.isSchema=CA;var k1=xi(),o4=Je(),zU=dd(),WU=Pr(),JU=y1(),s4=$r(),ar=$e(),NA=Yi(),XU=bn();function CA(i){return(0,zU.instanceOf)(i,M1)}function ZU(i){if(!CA(i))throw new Error(`Expected ${(0,o4.inspect)(i)} to be a GraphQL schema.`);return i}var M1=class{constructor(e){var t,n;this.__validationErrors=e.assumeValid===!0?[]:void 0,(0,WU.isObjectLike)(e)||(0,k1.devAssert)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,k1.devAssert)(!1,`"types" must be Array if provided but got: ${(0,o4.inspect)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,k1.devAssert)(!1,`"directives" must be Array if provided but got: ${(0,o4.inspect)(e.directives)}.`),this.description=e.description,this.extensions=(0,JU.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=(n=e.directives)!==null&&n!==void 0?n:NA.specifiedDirectives;let r=new Set(e.types);if(e.types!=null)for(let a of e.types)r.delete(a),sr(a,r);this._queryType!=null&&sr(this._queryType,r),this._mutationType!=null&&sr(this._mutationType,r),this._subscriptionType!=null&&sr(this._subscriptionType,r);for(let a of this._directives)if((0,NA.isDirective)(a))for(let s of a.args)sr(s.type,r);sr(XU.__Schema,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(let a of r){if(a==null)continue;let s=a.name;if(s||(0,k1.devAssert)(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[s]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${s}".`);if(this._typeMap[s]=a,(0,ar.isInterfaceType)(a)){for(let o of a.getInterfaces())if((0,ar.isInterfaceType)(o)){let u=this._implementationsMap[o.name];u===void 0&&(u=this._implementationsMap[o.name]={objects:[],interfaces:[]}),u.interfaces.push(a)}}else if((0,ar.isObjectType)(a)){for(let o of a.getInterfaces())if((0,ar.isInterfaceType)(o)){let u=this._implementationsMap[o.name];u===void 0&&(u=this._implementationsMap[o.name]={objects:[],interfaces:[]}),u.objects.push(a)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case s4.OperationTypeNode.QUERY:return this.getQueryType();case s4.OperationTypeNode.MUTATION:return this.getMutationType();case s4.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,ar.isUnionType)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return t??{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(n===void 0){if(n=Object.create(null),(0,ar.isUnionType)(e))for(let r of e.getTypes())n[r.name]=!0;else{let r=this.getImplementations(e);for(let a of r.objects)n[a.name]=!0;for(let a of r.interfaces)n[a.name]=!0}this._subTypeMap[e.name]=n}return n[t.name]!==void 0}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}};Ou.GraphQLSchema=M1;function sr(i,e){let t=(0,ar.getNamedType)(i);if(!e.has(t)){if(e.add(t),(0,ar.isUnionType)(t))for(let n of t.getTypes())sr(n,e);else if((0,ar.isObjectType)(t)||(0,ar.isInterfaceType)(t)){for(let n of t.getInterfaces())sr(n,e);for(let n of Object.values(t.getFields())){sr(n.type,e);for(let r of n.args)sr(r.type,e)}}else if((0,ar.isInputObjectType)(t))for(let n of Object.values(t.getFields()))sr(n.type,e)}return e}});var Od=D(U1=>{"use strict";h();m();Object.defineProperty(U1,"__esModule",{value:!0});U1.assertValidSchema=nj;U1.validateSchema=xA;var Ii=Je(),ej=ye(),u4=$r(),OA=Ad(),kt=$e(),LA=Yi(),tj=bn(),ij=lo();function xA(i){if((0,ij.assertSchema)(i),i.__validationErrors)return i.__validationErrors;let e=new d4(i);rj(e),aj(e),sj(e);let t=e.getErrors();return i.__validationErrors=t,t}function nj(i){let e=xA(i);if(e.length!==0)throw new Error(e.map(t=>t.message).join(` `))}var d4=class{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new ej.GraphQLError(e,{nodes:n}))}getErrors(){return this._errors}};function rj(i){let e=i.schema,t=e.getQueryType();if(!t)i.reportError("Query root type must be provided.",e.astNode);else if(!(0,kt.isObjectType)(t)){var n;i.reportError(`Query root type must be Object type, it cannot be ${(0,Ii.inspect)(t)}.`,(n=p4(e,u4.OperationTypeNode.QUERY))!==null&&n!==void 0?n:t.astNode)}let r=e.getMutationType();if(r&&!(0,kt.isObjectType)(r)){var a;i.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,Ii.inspect)(r)}.`,(a=p4(e,u4.OperationTypeNode.MUTATION))!==null&&a!==void 0?a:r.astNode)}let s=e.getSubscriptionType();if(s&&!(0,kt.isObjectType)(s)){var o;i.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,Ii.inspect)(s)}.`,(o=p4(e,u4.OperationTypeNode.SUBSCRIPTION))!==null&&o!==void 0?o:s.astNode)}}function p4(i,e){var t;return(t=[i.astNode,...i.extensionASTNodes].flatMap(n=>{var r;return(r=n?.operationTypes)!==null&&r!==void 0?r:[]}).find(n=>n.operation===e))===null||t===void 0?void 0:t.type}function aj(i){for(let t of i.schema.getDirectives()){if(!(0,LA.isDirective)(t)){i.reportError(`Expected directive but got: ${(0,Ii.inspect)(t)}.`,t?.astNode);continue}co(i,t);for(let n of t.args)if(co(i,n),(0,kt.isInputType)(n.type)||i.reportError(`The type of @${t.name}(${n.name}:) must be Input Type but got: ${(0,Ii.inspect)(n.type)}.`,n.astNode),(0,kt.isRequiredArgument)(n)&&n.deprecationReason!=null){var e;i.reportError(`Required argument @${t.name}(${n.name}:) cannot be deprecated.`,[l4(n.astNode),(e=n.astNode)===null||e===void 0?void 0:e.type])}}}function co(i,e){e.name.startsWith("__")&&i.reportError(`Name "${e.name}" must not begin with "__", which is reserved by GraphQL introspection.`,e.astNode)}function sj(i){let e=cj(i),t=i.schema.getTypeMap();for(let n of Object.values(t)){if(!(0,kt.isNamedType)(n)){i.reportError(`Expected GraphQL named type but got: ${(0,Ii.inspect)(n)}.`,n.astNode);continue}(0,tj.isIntrospectionType)(n)||co(i,n),(0,kt.isObjectType)(n)||(0,kt.isInterfaceType)(n)?(wA(i,n),RA(i,n)):(0,kt.isUnionType)(n)?pj(i,n):(0,kt.isEnumType)(n)?dj(i,n):(0,kt.isInputObjectType)(n)&&(lj(i,n),e(n))}}function wA(i,e){let t=Object.values(e.getFields());t.length===0&&i.reportError(`Type ${e.name} must define one or more fields.`,[e.astNode,...e.extensionASTNodes]);for(let s of t){if(co(i,s),!(0,kt.isOutputType)(s.type)){var n;i.reportError(`The type of ${e.name}.${s.name} must be Output Type but got: ${(0,Ii.inspect)(s.type)}.`,(n=s.astNode)===null||n===void 0?void 0:n.type)}for(let o of s.args){let u=o.name;if(co(i,o),!(0,kt.isInputType)(o.type)){var r;i.reportError(`The type of ${e.name}.${s.name}(${u}:) must be Input Type but got: ${(0,Ii.inspect)(o.type)}.`,(r=o.astNode)===null||r===void 0?void 0:r.type)}if((0,kt.isRequiredArgument)(o)&&o.deprecationReason!=null){var a;i.reportError(`Required argument ${e.name}.${s.name}(${u}:) cannot be deprecated.`,[l4(o.astNode),(a=o.astNode)===null||a===void 0?void 0:a.type])}}}}function RA(i,e){let t=Object.create(null);for(let n of e.getInterfaces()){if(!(0,kt.isInterfaceType)(n)){i.reportError(`Type ${(0,Ii.inspect)(e)} must only implement Interface types, it cannot implement ${(0,Ii.inspect)(n)}.`,Cd(e,n));continue}if(e===n){i.reportError(`Type ${e.name} cannot implement itself because it would create a circular reference.`,Cd(e,n));continue}if(t[n.name]){i.reportError(`Type ${e.name} can only implement ${n.name} once.`,Cd(e,n));continue}t[n.name]=!0,uj(i,e,n),oj(i,e,n)}}function oj(i,e,t){let n=e.getFields();for(let u of Object.values(t.getFields())){let p=u.name,d=n[p];if(!d){i.reportError(`Interface field ${t.name}.${p} expected but ${e.name} does not provide it.`,[u.astNode,e.astNode,...e.extensionASTNodes]);continue}if(!(0,OA.isTypeSubTypeOf)(i.schema,d.type,u.type)){var r,a;i.reportError(`Interface field ${t.name}.${p} expects type ${(0,Ii.inspect)(u.type)} but ${e.name}.${p} is type ${(0,Ii.inspect)(d.type)}.`,[(r=u.astNode)===null||r===void 0?void 0:r.type,(a=d.astNode)===null||a===void 0?void 0:a.type])}for(let l of u.args){let c=l.name,v=d.args.find(y=>y.name===c);if(!v){i.reportError(`Interface field argument ${t.name}.${p}(${c}:) expected but ${e.name}.${p} does not provide it.`,[l.astNode,d.astNode]);continue}if(!(0,OA.isEqualType)(l.type,v.type)){var s,o;i.reportError(`Interface field argument ${t.name}.${p}(${c}:) expects type ${(0,Ii.inspect)(l.type)} but ${e.name}.${p}(${c}:) is type ${(0,Ii.inspect)(v.type)}.`,[(s=l.astNode)===null||s===void 0?void 0:s.type,(o=v.astNode)===null||o===void 0?void 0:o.type])}}for(let l of d.args){let c=l.name;!u.args.find(y=>y.name===c)&&(0,kt.isRequiredArgument)(l)&&i.reportError(`Object field ${e.name}.${p} includes required argument ${c} that is missing from the Interface field ${t.name}.${p}.`,[l.astNode,u.astNode])}}}function uj(i,e,t){let n=e.getInterfaces();for(let r of t.getInterfaces())n.includes(r)||i.reportError(r===e?`Type ${e.name} cannot implement ${t.name} because it would create a circular reference.`:`Type ${e.name} must implement ${r.name} because it is implemented by ${t.name}.`,[...Cd(t,r),...Cd(e,t)])}function pj(i,e){let t=e.getTypes();t.length===0&&i.reportError(`Union type ${e.name} must define one or more member types.`,[e.astNode,...e.extensionASTNodes]);let n=Object.create(null);for(let r of t){if(n[r.name]){i.reportError(`Union type ${e.name} can only include type ${r.name} once.`,BA(e,r.name));continue}n[r.name]=!0,(0,kt.isObjectType)(r)||i.reportError(`Union type ${e.name} can only include Object types, it cannot include ${(0,Ii.inspect)(r)}.`,BA(e,String(r)))}}function dj(i,e){let t=e.getValues();t.length===0&&i.reportError(`Enum type ${e.name} must define one or more values.`,[e.astNode,...e.extensionASTNodes]);for(let n of t)co(i,n)}function lj(i,e){let t=Object.values(e.getFields());t.length===0&&i.reportError(`Input Object type ${e.name} must define one or more fields.`,[e.astNode,...e.extensionASTNodes]);for(let a of t){if(co(i,a),!(0,kt.isInputType)(a.type)){var n;i.reportError(`The type of ${e.name}.${a.name} must be Input Type but got: ${(0,Ii.inspect)(a.type)}.`,(n=a.astNode)===null||n===void 0?void 0:n.type)}if((0,kt.isRequiredInputField)(a)&&a.deprecationReason!=null){var r;i.reportError(`Required input field ${e.name}.${a.name} cannot be deprecated.`,[l4(a.astNode),(r=a.astNode)===null||r===void 0?void 0:r.type])}}}function cj(i){let e=Object.create(null),t=[],n=Object.create(null);return r;function r(a){if(e[a.name])return;e[a.name]=!0,n[a.name]=t.length;let s=Object.values(a.getFields());for(let o of s)if((0,kt.isNonNullType)(o.type)&&(0,kt.isInputObjectType)(o.type.ofType)){let u=o.type.ofType,p=n[u.name];if(t.push(o),p===void 0)r(u);else{let d=t.slice(p),l=d.map(c=>c.name).join(".");i.reportError(`Cannot reference Input Object "${u.name}" within itself through a series of non-null fields: "${l}".`,d.map(c=>c.astNode))}t.pop()}n[a.name]=void 0}}function Cd(i,e){let{astNode:t,extensionASTNodes:n}=i;return(t!=null?[t,...n]:n).flatMap(a=>{var s;return(s=a.interfaces)!==null&&s!==void 0?s:[]}).filter(a=>a.name.value===e.name)}function BA(i,e){let{astNode:t,extensionASTNodes:n}=i;return(t!=null?[t,...n]:n).flatMap(a=>{var s;return(s=a.types)!==null&&s!==void 0?s:[]}).filter(a=>a.name.value===e)}function l4(i){var e;return i==null||(e=i.directives)===null||e===void 0?void 0:e.find(t=>t.name.value===LA.GraphQLDeprecatedDirective.name)}});var Ur=D(m4=>{"use strict";h();m();Object.defineProperty(m4,"__esModule",{value:!0});m4.typeFromAST=f4;var c4=Ue(),PA=$e();function f4(i,e){switch(e.kind){case c4.Kind.LIST_TYPE:{let t=f4(i,e.type);return t&&new PA.GraphQLList(t)}case c4.Kind.NON_NULL_TYPE:{let t=f4(i,e.type);return t&&new PA.GraphQLNonNull(t)}case c4.Kind.NAMED_TYPE:return i.getType(e.name.value)}}});var j1=D(wd=>{"use strict";h();m();Object.defineProperty(wd,"__esModule",{value:!0});wd.TypeInfo=void 0;wd.visitWithTypeInfo=hj;var fj=$r(),Lt=Ue(),$A=ro(),xt=$e(),wu=bn(),VA=Ur(),h4=class{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=n??mj,t&&((0,xt.isInputType)(t)&&this._inputTypeStack.push(t),(0,xt.isCompositeType)(t)&&this._parentTypeStack.push(t),(0,xt.isOutputType)(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case Lt.Kind.SELECTION_SET:{let r=(0,xt.getNamedType)(this.getType());this._parentTypeStack.push((0,xt.isCompositeType)(r)?r:void 0);break}case Lt.Kind.FIELD:{let r=this.getParentType(),a,s;r&&(a=this._getFieldDef(t,r,e),a&&(s=a.type)),this._fieldDefStack.push(a),this._typeStack.push((0,xt.isOutputType)(s)?s:void 0);break}case Lt.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case Lt.Kind.OPERATION_DEFINITION:{let r=t.getRootType(e.operation);this._typeStack.push((0,xt.isObjectType)(r)?r:void 0);break}case Lt.Kind.INLINE_FRAGMENT:case Lt.Kind.FRAGMENT_DEFINITION:{let r=e.typeCondition,a=r?(0,VA.typeFromAST)(t,r):(0,xt.getNamedType)(this.getType());this._typeStack.push((0,xt.isOutputType)(a)?a:void 0);break}case Lt.Kind.VARIABLE_DEFINITION:{let r=(0,VA.typeFromAST)(t,e.type);this._inputTypeStack.push((0,xt.isInputType)(r)?r:void 0);break}case Lt.Kind.ARGUMENT:{var n;let r,a,s=(n=this.getDirective())!==null&&n!==void 0?n:this.getFieldDef();s&&(r=s.args.find(o=>o.name===e.name.value),r&&(a=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push((0,xt.isInputType)(a)?a:void 0);break}case Lt.Kind.LIST:{let r=(0,xt.getNullableType)(this.getInputType()),a=(0,xt.isListType)(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,xt.isInputType)(a)?a:void 0);break}case Lt.Kind.OBJECT_FIELD:{let r=(0,xt.getNamedType)(this.getInputType()),a,s;(0,xt.isInputObjectType)(r)&&(s=r.getFields()[e.name.value],s&&(a=s.type)),this._defaultValueStack.push(s?s.defaultValue:void 0),this._inputTypeStack.push((0,xt.isInputType)(a)?a:void 0);break}case Lt.Kind.ENUM:{let r=(0,xt.getNamedType)(this.getInputType()),a;(0,xt.isEnumType)(r)&&(a=r.getValue(e.value)),this._enumValue=a;break}default:}}leave(e){switch(e.kind){case Lt.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case Lt.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case Lt.Kind.DIRECTIVE:this._directive=null;break;case Lt.Kind.OPERATION_DEFINITION:case Lt.Kind.INLINE_FRAGMENT:case Lt.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case Lt.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case Lt.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case Lt.Kind.LIST:case Lt.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case Lt.Kind.ENUM:this._enumValue=null;break;default:}}};wd.TypeInfo=h4;function mj(i,e,t){let n=t.name.value;if(n===wu.SchemaMetaFieldDef.name&&i.getQueryType()===e)return wu.SchemaMetaFieldDef;if(n===wu.TypeMetaFieldDef.name&&i.getQueryType()===e)return wu.TypeMetaFieldDef;if(n===wu.TypeNameMetaFieldDef.name&&(0,xt.isCompositeType)(e))return wu.TypeNameMetaFieldDef;if((0,xt.isObjectType)(e)||(0,xt.isInterfaceType)(e))return e.getFields()[n]}function hj(i,e){return{enter(...t){let n=t[0];i.enter(n);let r=(0,$A.getEnterLeaveForKind)(e,n.kind).enter;if(r){let a=r.apply(e,t);return a!==void 0&&(i.leave(n),(0,fj.isNode)(a)&&i.enter(a)),a}},leave(...t){let n=t[0],r=(0,$A.getEnterLeaveForKind)(e,n.kind).leave,a;return r&&(a=r.apply(e,t)),i.leave(n),a}}}});var fo=D(In=>{"use strict";h();m();Object.defineProperty(In,"__esModule",{value:!0});In.isConstValueNode=v4;In.isDefinitionNode=vj;In.isExecutableDefinitionNode=kA;In.isSelectionNode=yj;In.isTypeDefinitionNode=jA;In.isTypeExtensionNode=GA;In.isTypeNode=Ej;In.isTypeSystemDefinitionNode=UA;In.isTypeSystemExtensionNode=qA;In.isValueNode=MA;var Ve=Ue();function vj(i){return kA(i)||UA(i)||qA(i)}function kA(i){return i.kind===Ve.Kind.OPERATION_DEFINITION||i.kind===Ve.Kind.FRAGMENT_DEFINITION}function yj(i){return i.kind===Ve.Kind.FIELD||i.kind===Ve.Kind.FRAGMENT_SPREAD||i.kind===Ve.Kind.INLINE_FRAGMENT}function MA(i){return i.kind===Ve.Kind.VARIABLE||i.kind===Ve.Kind.INT||i.kind===Ve.Kind.FLOAT||i.kind===Ve.Kind.STRING||i.kind===Ve.Kind.BOOLEAN||i.kind===Ve.Kind.NULL||i.kind===Ve.Kind.ENUM||i.kind===Ve.Kind.LIST||i.kind===Ve.Kind.OBJECT}function v4(i){return MA(i)&&(i.kind===Ve.Kind.LIST?i.values.some(v4):i.kind===Ve.Kind.OBJECT?i.fields.some(e=>v4(e.value)):i.kind!==Ve.Kind.VARIABLE)}function Ej(i){return i.kind===Ve.Kind.NAMED_TYPE||i.kind===Ve.Kind.LIST_TYPE||i.kind===Ve.Kind.NON_NULL_TYPE}function UA(i){return i.kind===Ve.Kind.SCHEMA_DEFINITION||jA(i)||i.kind===Ve.Kind.DIRECTIVE_DEFINITION}function jA(i){return i.kind===Ve.Kind.SCALAR_TYPE_DEFINITION||i.kind===Ve.Kind.OBJECT_TYPE_DEFINITION||i.kind===Ve.Kind.INTERFACE_TYPE_DEFINITION||i.kind===Ve.Kind.UNION_TYPE_DEFINITION||i.kind===Ve.Kind.ENUM_TYPE_DEFINITION||i.kind===Ve.Kind.INPUT_OBJECT_TYPE_DEFINITION}function qA(i){return i.kind===Ve.Kind.SCHEMA_EXTENSION||GA(i)}function GA(i){return i.kind===Ve.Kind.SCALAR_TYPE_EXTENSION||i.kind===Ve.Kind.OBJECT_TYPE_EXTENSION||i.kind===Ve.Kind.INTERFACE_TYPE_EXTENSION||i.kind===Ve.Kind.UNION_TYPE_EXTENSION||i.kind===Ve.Kind.ENUM_TYPE_EXTENSION||i.kind===Ve.Kind.INPUT_OBJECT_TYPE_EXTENSION}});var E4=D(y4=>{"use strict";h();m();Object.defineProperty(y4,"__esModule",{value:!0});y4.ExecutableDefinitionsRule=Tj;var gj=ye(),KA=Ue(),Aj=fo();function Tj(i){return{Document(e){for(let t of e.definitions)if(!(0,Aj.isExecutableDefinitionNode)(t)){let n=t.kind===KA.Kind.SCHEMA_DEFINITION||t.kind===KA.Kind.SCHEMA_EXTENSION?"schema":'"'+t.name.value+'"';i.reportError(new gj.GraphQLError(`The ${n} definition is not executable.`,{nodes:t}))}return!1}}}});var A4=D(g4=>{"use strict";h();m();Object.defineProperty(g4,"__esModule",{value:!0});g4.FieldsOnCorrectTypeRule=bj;var QA=ns(),Dj=md(),Sj=as(),_j=ye(),Rd=$e();function bj(i){return{Field(e){let t=i.getParentType();if(t&&!i.getFieldDef()){let r=i.getSchema(),a=e.name.value,s=(0,QA.didYouMean)("to use an inline fragment on",Ij(r,t,a));s===""&&(s=(0,QA.didYouMean)(Fj(t,a))),i.reportError(new _j.GraphQLError(`Cannot query field "${a}" on type "${t.name}".`+s,{nodes:e}))}}}}function Ij(i,e,t){if(!(0,Rd.isAbstractType)(e))return[];let n=new Set,r=Object.create(null);for(let s of i.getPossibleTypes(e))if(s.getFields()[t]){n.add(s),r[s.name]=1;for(let o of s.getInterfaces()){var a;o.getFields()[t]&&(n.add(o),r[o.name]=((a=r[o.name])!==null&&a!==void 0?a:0)+1)}}return[...n].sort((s,o)=>{let u=r[o.name]-r[s.name];return u!==0?u:(0,Rd.isInterfaceType)(s)&&i.isSubType(s,o)?-1:(0,Rd.isInterfaceType)(o)&&i.isSubType(o,s)?1:(0,Dj.naturalCompare)(s.name,o.name)}).map(s=>s.name)}function Fj(i,e){if((0,Rd.isObjectType)(i)||(0,Rd.isInterfaceType)(i)){let t=Object.keys(i.getFields());return(0,Sj.suggestionList)(e,t)}return[]}});var D4=D(T4=>{"use strict";h();m();Object.defineProperty(T4,"__esModule",{value:!0});T4.FragmentsOnCompositeTypesRule=Nj;var HA=ye(),YA=un(),zA=$e(),WA=Ur();function Nj(i){return{InlineFragment(e){let t=e.typeCondition;if(t){let n=(0,WA.typeFromAST)(i.getSchema(),t);if(n&&!(0,zA.isCompositeType)(n)){let r=(0,YA.print)(t);i.reportError(new HA.GraphQLError(`Fragment cannot condition on non composite type "${r}".`,{nodes:t}))}}},FragmentDefinition(e){let t=(0,WA.typeFromAST)(i.getSchema(),e.typeCondition);if(t&&!(0,zA.isCompositeType)(t)){let n=(0,YA.print)(e.typeCondition);i.reportError(new HA.GraphQLError(`Fragment "${e.name.value}" cannot condition on non composite type "${n}".`,{nodes:e.typeCondition}))}}}}});var S4=D(q1=>{"use strict";h();m();Object.defineProperty(q1,"__esModule",{value:!0});q1.KnownArgumentNamesOnDirectivesRule=eT;q1.KnownArgumentNamesRule=wj;var JA=ns(),XA=as(),ZA=ye(),Cj=Ue(),Oj=Yi();function wj(i){return{...eT(i),Argument(e){let t=i.getArgument(),n=i.getFieldDef(),r=i.getParentType();if(!t&&n&&r){let a=e.name.value,s=n.args.map(u=>u.name),o=(0,XA.suggestionList)(a,s);i.reportError(new ZA.GraphQLError(`Unknown argument "${a}" on field "${r.name}.${n.name}".`+(0,JA.didYouMean)(o),{nodes:e}))}}}}function eT(i){let e=Object.create(null),t=i.getSchema(),n=t?t.getDirectives():Oj.specifiedDirectives;for(let s of n)e[s.name]=s.args.map(o=>o.name);let r=i.getDocument().definitions;for(let s of r)if(s.kind===Cj.Kind.DIRECTIVE_DEFINITION){var a;let o=(a=s.arguments)!==null&&a!==void 0?a:[];e[s.name.value]=o.map(u=>u.name.value)}return{Directive(s){let o=s.name.value,u=e[o];if(s.arguments&&u)for(let p of s.arguments){let d=p.name.value;if(!u.includes(d)){let l=(0,XA.suggestionList)(d,u);i.reportError(new ZA.GraphQLError(`Unknown argument "${d}" on directive "@${o}".`+(0,JA.didYouMean)(l),{nodes:p}))}}return!1}}}});var F4=D(I4=>{"use strict";h();m();Object.defineProperty(I4,"__esModule",{value:!0});I4.KnownDirectivesRule=Lj;var Rj=Je(),_4=_i(),tT=ye(),b4=$r(),zt=Su(),_t=Ue(),Bj=Yi();function Lj(i){let e=Object.create(null),t=i.getSchema(),n=t?t.getDirectives():Bj.specifiedDirectives;for(let a of n)e[a.name]=a.locations;let r=i.getDocument().definitions;for(let a of r)a.kind===_t.Kind.DIRECTIVE_DEFINITION&&(e[a.name.value]=a.locations.map(s=>s.value));return{Directive(a,s,o,u,p){let d=a.name.value,l=e[d];if(!l){i.reportError(new tT.GraphQLError(`Unknown directive "@${d}".`,{nodes:a}));return}let c=xj(p);c&&!l.includes(c)&&i.reportError(new tT.GraphQLError(`Directive "@${d}" may not be used on ${c}.`,{nodes:a}))}}}function xj(i){let e=i[i.length-1];switch("kind"in e||(0,_4.invariant)(!1),e.kind){case _t.Kind.OPERATION_DEFINITION:return Pj(e.operation);case _t.Kind.FIELD:return zt.DirectiveLocation.FIELD;case _t.Kind.FRAGMENT_SPREAD:return zt.DirectiveLocation.FRAGMENT_SPREAD;case _t.Kind.INLINE_FRAGMENT:return zt.DirectiveLocation.INLINE_FRAGMENT;case _t.Kind.FRAGMENT_DEFINITION:return zt.DirectiveLocation.FRAGMENT_DEFINITION;case _t.Kind.VARIABLE_DEFINITION:return zt.DirectiveLocation.VARIABLE_DEFINITION;case _t.Kind.SCHEMA_DEFINITION:case _t.Kind.SCHEMA_EXTENSION:return zt.DirectiveLocation.SCHEMA;case _t.Kind.SCALAR_TYPE_DEFINITION:case _t.Kind.SCALAR_TYPE_EXTENSION:return zt.DirectiveLocation.SCALAR;case _t.Kind.OBJECT_TYPE_DEFINITION:case _t.Kind.OBJECT_TYPE_EXTENSION:return zt.DirectiveLocation.OBJECT;case _t.Kind.FIELD_DEFINITION:return zt.DirectiveLocation.FIELD_DEFINITION;case _t.Kind.INTERFACE_TYPE_DEFINITION:case _t.Kind.INTERFACE_TYPE_EXTENSION:return zt.DirectiveLocation.INTERFACE;case _t.Kind.UNION_TYPE_DEFINITION:case _t.Kind.UNION_TYPE_EXTENSION:return zt.DirectiveLocation.UNION;case _t.Kind.ENUM_TYPE_DEFINITION:case _t.Kind.ENUM_TYPE_EXTENSION:return zt.DirectiveLocation.ENUM;case _t.Kind.ENUM_VALUE_DEFINITION:return zt.DirectiveLocation.ENUM_VALUE;case _t.Kind.INPUT_OBJECT_TYPE_DEFINITION:case _t.Kind.INPUT_OBJECT_TYPE_EXTENSION:return zt.DirectiveLocation.INPUT_OBJECT;case _t.Kind.INPUT_VALUE_DEFINITION:{let t=i[i.length-3];return"kind"in t||(0,_4.invariant)(!1),t.kind===_t.Kind.INPUT_OBJECT_TYPE_DEFINITION?zt.DirectiveLocation.INPUT_FIELD_DEFINITION:zt.DirectiveLocation.ARGUMENT_DEFINITION}default:(0,_4.invariant)(!1,"Unexpected kind: "+(0,Rj.inspect)(e.kind))}}function Pj(i){switch(i){case b4.OperationTypeNode.QUERY:return zt.DirectiveLocation.QUERY;case b4.OperationTypeNode.MUTATION:return zt.DirectiveLocation.MUTATION;case b4.OperationTypeNode.SUBSCRIPTION:return zt.DirectiveLocation.SUBSCRIPTION}}});var C4=D(N4=>{"use strict";h();m();Object.defineProperty(N4,"__esModule",{value:!0});N4.KnownFragmentNamesRule=Vj;var $j=ye();function Vj(i){return{FragmentSpread(e){let t=e.name.value;i.getFragment(t)||i.reportError(new $j.GraphQLError(`Unknown fragment "${t}".`,{nodes:e.name}))}}}});var R4=D(w4=>{"use strict";h();m();Object.defineProperty(w4,"__esModule",{value:!0});w4.KnownTypeNamesRule=Gj;var kj=ns(),Mj=as(),Uj=ye(),O4=fo(),jj=bn(),qj=Mr();function Gj(i){let e=i.getSchema(),t=e?e.getTypeMap():Object.create(null),n=Object.create(null);for(let a of i.getDocument().definitions)(0,O4.isTypeDefinitionNode)(a)&&(n[a.name.value]=!0);let r=[...Object.keys(t),...Object.keys(n)];return{NamedType(a,s,o,u,p){let d=a.name.value;if(!t[d]&&!n[d]){var l;let c=(l=p[2])!==null&&l!==void 0?l:o,v=c!=null&&Kj(c);if(v&&iT.includes(d))return;let y=(0,Mj.suggestionList)(d,v?iT.concat(r):r);i.reportError(new Uj.GraphQLError(`Unknown type "${d}".`+(0,kj.didYouMean)(y),{nodes:a}))}}}}var iT=[...qj.specifiedScalarTypes,...jj.introspectionTypes].map(i=>i.name);function Kj(i){return"kind"in i&&((0,O4.isTypeSystemDefinitionNode)(i)||(0,O4.isTypeSystemExtensionNode)(i))}});var L4=D(B4=>{"use strict";h();m();Object.defineProperty(B4,"__esModule",{value:!0});B4.LoneAnonymousOperationRule=Yj;var Qj=ye(),Hj=Ue();function Yj(i){let e=0;return{Document(t){e=t.definitions.filter(n=>n.kind===Hj.Kind.OPERATION_DEFINITION).length},OperationDefinition(t){!t.name&&e>1&&i.reportError(new Qj.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:t}))}}}});var P4=D(x4=>{"use strict";h();m();Object.defineProperty(x4,"__esModule",{value:!0});x4.LoneSchemaDefinitionRule=zj;var nT=ye();function zj(i){var e,t,n;let r=i.getSchema(),a=(e=(t=(n=r?.astNode)!==null&&n!==void 0?n:r?.getQueryType())!==null&&t!==void 0?t:r?.getMutationType())!==null&&e!==void 0?e:r?.getSubscriptionType(),s=0;return{SchemaDefinition(o){if(a){i.reportError(new nT.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:o}));return}s>0&&i.reportError(new nT.GraphQLError("Must provide only one schema definition.",{nodes:o})),++s}}}});var V4=D($4=>{"use strict";h();m();Object.defineProperty($4,"__esModule",{value:!0});$4.NoFragmentCyclesRule=Jj;var Wj=ye();function Jj(i){let e=Object.create(null),t=[],n=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(a){return r(a),!1}};function r(a){if(e[a.name.value])return;let s=a.name.value;e[s]=!0;let o=i.getFragmentSpreads(a.selectionSet);if(o.length!==0){n[s]=t.length;for(let u of o){let p=u.name.value,d=n[p];if(t.push(u),d===void 0){let l=i.getFragment(p);l&&r(l)}else{let l=t.slice(d),c=l.slice(0,-1).map(v=>'"'+v.name.value+'"').join(", ");i.reportError(new Wj.GraphQLError(`Cannot spread fragment "${p}" within itself`+(c!==""?` via ${c}.`:"."),{nodes:l}))}t.pop()}n[s]=void 0}}}});var M4=D(k4=>{"use strict";h();m();Object.defineProperty(k4,"__esModule",{value:!0});k4.NoUndefinedVariablesRule=Zj;var Xj=ye();function Zj(i){let e=Object.create(null);return{OperationDefinition:{enter(){e=Object.create(null)},leave(t){let n=i.getRecursiveVariableUsages(t);for(let{node:r}of n){let a=r.name.value;e[a]!==!0&&i.reportError(new Xj.GraphQLError(t.name?`Variable "$${a}" is not defined by operation "${t.name.value}".`:`Variable "$${a}" is not defined.`,{nodes:[r,t]}))}}},VariableDefinition(t){e[t.variable.name.value]=!0}}}});var j4=D(U4=>{"use strict";h();m();Object.defineProperty(U4,"__esModule",{value:!0});U4.NoUnusedFragmentsRule=tq;var eq=ye();function tq(i){let e=[],t=[];return{OperationDefinition(n){return e.push(n),!1},FragmentDefinition(n){return t.push(n),!1},Document:{leave(){let n=Object.create(null);for(let r of e)for(let a of i.getRecursivelyReferencedFragments(r))n[a.name.value]=!0;for(let r of t){let a=r.name.value;n[a]!==!0&&i.reportError(new eq.GraphQLError(`Fragment "${a}" is never used.`,{nodes:r}))}}}}}});var G4=D(q4=>{"use strict";h();m();Object.defineProperty(q4,"__esModule",{value:!0});q4.NoUnusedVariablesRule=nq;var iq=ye();function nq(i){let e=[];return{OperationDefinition:{enter(){e=[]},leave(t){let n=Object.create(null),r=i.getRecursiveVariableUsages(t);for(let{node:a}of r)n[a.name.value]=!0;for(let a of e){let s=a.variable.name.value;n[s]!==!0&&i.reportError(new iq.GraphQLError(t.name?`Variable "$${s}" is never used in operation "${t.name.value}".`:`Variable "$${s}" is never used.`,{nodes:a}))}}},VariableDefinition(t){e.push(t)}}}});var H4=D(Q4=>{"use strict";h();m();Object.defineProperty(Q4,"__esModule",{value:!0});Q4.sortValueNode=K4;var rq=md(),Fa=Ue();function K4(i){switch(i.kind){case Fa.Kind.OBJECT:return{...i,fields:aq(i.fields)};case Fa.Kind.LIST:return{...i,values:i.values.map(K4)};case Fa.Kind.INT:case Fa.Kind.FLOAT:case Fa.Kind.STRING:case Fa.Kind.BOOLEAN:case Fa.Kind.NULL:case Fa.Kind.ENUM:case Fa.Kind.VARIABLE:return i}}function aq(i){return i.map(e=>({...e,value:K4(e.value)})).sort((e,t)=>(0,rq.naturalCompare)(e.name.value,t.name.value))}});var Z4=D(X4=>{"use strict";h();m();Object.defineProperty(X4,"__esModule",{value:!0});X4.OverlappingFieldsCanBeMergedRule=pq;var rT=Je(),sq=ye(),Bd=Ue(),oq=un(),zi=$e(),uq=H4(),sT=Ur();function oT(i){return Array.isArray(i)?i.map(([e,t])=>`subfields "${e}" conflict because `+oT(t)).join(" and "):i}function pq(i){let e=new W4,t=new Map;return{SelectionSet(n){let r=dq(i,t,e,i.getParentType(),n);for(let[[a,s],o,u]of r){let p=oT(s);i.reportError(new sq.GraphQLError(`Fields "${a}" conflict because ${p}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:o.concat(u)}))}}}}function dq(i,e,t,n,r){let a=[],[s,o]=Q1(i,e,n,r);if(cq(i,a,e,t,s),o.length!==0)for(let u=0;u1)for(let o=0;o({kind:Bd.Kind.OBJECT_FIELD,name:r.name,value:r.value}))};return(0,oq.print)((0,uq.sortValueNode)(n))}function Y4(i,e){return(0,zi.isListType)(i)?(0,zi.isListType)(e)?Y4(i.ofType,e.ofType):!0:(0,zi.isListType)(e)?!0:(0,zi.isNonNullType)(i)?(0,zi.isNonNullType)(e)?Y4(i.ofType,e.ofType):!0:(0,zi.isNonNullType)(e)?!0:(0,zi.isLeafType)(i)||(0,zi.isLeafType)(e)?i!==e:!1}function Q1(i,e,t,n){let r=e.get(n);if(r)return r;let a=Object.create(null),s=Object.create(null);pT(i,t,n,a,s);let o=[a,Object.keys(s)];return e.set(n,o),o}function z4(i,e,t){let n=e.get(t.selectionSet);if(n)return n;let r=(0,sT.typeFromAST)(i.getSchema(),t.typeCondition);return Q1(i,e,r,t.selectionSet)}function pT(i,e,t,n,r){for(let a of t.selections)switch(a.kind){case Bd.Kind.FIELD:{let s=a.name.value,o;((0,zi.isObjectType)(e)||(0,zi.isInterfaceType)(e))&&(o=e.getFields()[s]);let u=a.alias?a.alias.value:s;n[u]||(n[u]=[]),n[u].push([e,a,o]);break}case Bd.Kind.FRAGMENT_SPREAD:r[a.name.value]=!0;break;case Bd.Kind.INLINE_FRAGMENT:{let s=a.typeCondition,o=s?(0,sT.typeFromAST)(i.getSchema(),s):e;pT(i,o,a.selectionSet,n,r);break}}}function fq(i,e,t,n){if(i.length>0)return[[e,i.map(([r])=>r)],[t,...i.map(([,r])=>r).flat()],[n,...i.map(([,,r])=>r).flat()]]}var W4=class{constructor(){this._data=new Map}has(e,t,n){var r;let[a,s]=e{"use strict";h();m();Object.defineProperty(t3,"__esModule",{value:!0});t3.PossibleFragmentSpreadsRule=hq;var H1=Je(),dT=ye(),e3=$e(),lT=Ad(),mq=Ur();function hq(i){return{InlineFragment(e){let t=i.getType(),n=i.getParentType();if((0,e3.isCompositeType)(t)&&(0,e3.isCompositeType)(n)&&!(0,lT.doTypesOverlap)(i.getSchema(),t,n)){let r=(0,H1.inspect)(n),a=(0,H1.inspect)(t);i.reportError(new dT.GraphQLError(`Fragment cannot be spread here as objects of type "${r}" can never be of type "${a}".`,{nodes:e}))}},FragmentSpread(e){let t=e.name.value,n=vq(i,t),r=i.getParentType();if(n&&r&&!(0,lT.doTypesOverlap)(i.getSchema(),n,r)){let a=(0,H1.inspect)(r),s=(0,H1.inspect)(n);i.reportError(new dT.GraphQLError(`Fragment "${t}" cannot be spread here as objects of type "${a}" can never be of type "${s}".`,{nodes:e}))}}}}function vq(i,e){let t=i.getFragment(e);if(t){let n=(0,mq.typeFromAST)(i.getSchema(),t.typeCondition);if((0,e3.isCompositeType)(n))return n}}});var r3=D(n3=>{"use strict";h();m();Object.defineProperty(n3,"__esModule",{value:!0});n3.PossibleTypeExtensionsRule=Aq;var yq=ns(),fT=Je(),mT=_i(),Eq=as(),cT=ye(),It=Ue(),gq=fo(),Ru=$e();function Aq(i){let e=i.getSchema(),t=Object.create(null);for(let r of i.getDocument().definitions)(0,gq.isTypeDefinitionNode)(r)&&(t[r.name.value]=r);return{ScalarTypeExtension:n,ObjectTypeExtension:n,InterfaceTypeExtension:n,UnionTypeExtension:n,EnumTypeExtension:n,InputObjectTypeExtension:n};function n(r){let a=r.name.value,s=t[a],o=e?.getType(a),u;if(s?u=Tq[s.kind]:o&&(u=Dq(o)),u){if(u!==r.kind){let p=Sq(r.kind);i.reportError(new cT.GraphQLError(`Cannot extend non-${p} type "${a}".`,{nodes:s?[s,r]:r}))}}else{let p=Object.keys({...t,...e?.getTypeMap()}),d=(0,Eq.suggestionList)(a,p);i.reportError(new cT.GraphQLError(`Cannot extend type "${a}" because it is not defined.`+(0,yq.didYouMean)(d),{nodes:r.name}))}}}var Tq={[It.Kind.SCALAR_TYPE_DEFINITION]:It.Kind.SCALAR_TYPE_EXTENSION,[It.Kind.OBJECT_TYPE_DEFINITION]:It.Kind.OBJECT_TYPE_EXTENSION,[It.Kind.INTERFACE_TYPE_DEFINITION]:It.Kind.INTERFACE_TYPE_EXTENSION,[It.Kind.UNION_TYPE_DEFINITION]:It.Kind.UNION_TYPE_EXTENSION,[It.Kind.ENUM_TYPE_DEFINITION]:It.Kind.ENUM_TYPE_EXTENSION,[It.Kind.INPUT_OBJECT_TYPE_DEFINITION]:It.Kind.INPUT_OBJECT_TYPE_EXTENSION};function Dq(i){if((0,Ru.isScalarType)(i))return It.Kind.SCALAR_TYPE_EXTENSION;if((0,Ru.isObjectType)(i))return It.Kind.OBJECT_TYPE_EXTENSION;if((0,Ru.isInterfaceType)(i))return It.Kind.INTERFACE_TYPE_EXTENSION;if((0,Ru.isUnionType)(i))return It.Kind.UNION_TYPE_EXTENSION;if((0,Ru.isEnumType)(i))return It.Kind.ENUM_TYPE_EXTENSION;if((0,Ru.isInputObjectType)(i))return It.Kind.INPUT_OBJECT_TYPE_EXTENSION;(0,mT.invariant)(!1,"Unexpected type: "+(0,fT.inspect)(i))}function Sq(i){switch(i){case It.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case It.Kind.OBJECT_TYPE_EXTENSION:return"object";case It.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case It.Kind.UNION_TYPE_EXTENSION:return"union";case It.Kind.ENUM_TYPE_EXTENSION:return"enum";case It.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,mT.invariant)(!1,"Unexpected kind: "+(0,fT.inspect)(i))}}});var s3=D(Y1=>{"use strict";h();m();Object.defineProperty(Y1,"__esModule",{value:!0});Y1.ProvidedRequiredArgumentsOnDirectivesRule=gT;Y1.ProvidedRequiredArgumentsRule=Iq;var vT=Je(),hT=rs(),yT=ye(),ET=Ue(),_q=un(),a3=$e(),bq=Yi();function Iq(i){return{...gT(i),Field:{leave(e){var t;let n=i.getFieldDef();if(!n)return!1;let r=new Set((t=e.arguments)===null||t===void 0?void 0:t.map(a=>a.name.value));for(let a of n.args)if(!r.has(a.name)&&(0,a3.isRequiredArgument)(a)){let s=(0,vT.inspect)(a.type);i.reportError(new yT.GraphQLError(`Field "${n.name}" argument "${a.name}" of type "${s}" is required, but it was not provided.`,{nodes:e}))}}}}}function gT(i){var e;let t=Object.create(null),n=i.getSchema(),r=(e=n?.getDirectives())!==null&&e!==void 0?e:bq.specifiedDirectives;for(let o of r)t[o.name]=(0,hT.keyMap)(o.args.filter(a3.isRequiredArgument),u=>u.name);let a=i.getDocument().definitions;for(let o of a)if(o.kind===ET.Kind.DIRECTIVE_DEFINITION){var s;let u=(s=o.arguments)!==null&&s!==void 0?s:[];t[o.name.value]=(0,hT.keyMap)(u.filter(Fq),p=>p.name.value)}return{Directive:{leave(o){let u=o.name.value,p=t[u];if(p){var d;let l=(d=o.arguments)!==null&&d!==void 0?d:[],c=new Set(l.map(v=>v.name.value));for(let[v,y]of Object.entries(p))if(!c.has(v)){let g=(0,a3.isType)(y.type)?(0,vT.inspect)(y.type):(0,_q.print)(y.type);i.reportError(new yT.GraphQLError(`Directive "@${u}" argument "${v}" of type "${g}" is required, but it was not provided.`,{nodes:o}))}}}}}}function Fq(i){return i.type.kind===ET.Kind.NON_NULL_TYPE&&i.defaultValue==null}});var u3=D(o3=>{"use strict";h();m();Object.defineProperty(o3,"__esModule",{value:!0});o3.ScalarLeafsRule=Nq;var AT=Je(),TT=ye(),DT=$e();function Nq(i){return{Field(e){let t=i.getType(),n=e.selectionSet;if(t){if((0,DT.isLeafType)((0,DT.getNamedType)(t))){if(n){let r=e.name.value,a=(0,AT.inspect)(t);i.reportError(new TT.GraphQLError(`Field "${r}" must not have a selection since type "${a}" has no subfields.`,{nodes:n}))}}else if(!n){let r=e.name.value,a=(0,AT.inspect)(t);i.reportError(new TT.GraphQLError(`Field "${r}" of type "${a}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:e}))}}}}}});var d3=D(p3=>{"use strict";h();m();Object.defineProperty(p3,"__esModule",{value:!0});p3.printPathArray=Cq;function Cq(i){return i.map(e=>typeof e=="number"?"["+e.toString()+"]":"."+e).join("")}});var Ld=D(z1=>{"use strict";h();m();Object.defineProperty(z1,"__esModule",{value:!0});z1.addPath=Oq;z1.pathToArray=wq;function Oq(i,e,t){return{prev:i,key:e,typename:t}}function wq(i){let e=[],t=i;for(;t;)e.push(t.key),t=t.prev;return e.reverse()}});var c3=D(l3=>{"use strict";h();m();Object.defineProperty(l3,"__esModule",{value:!0});l3.coerceInputValue=Vq;var Rq=ns(),W1=Je(),Bq=_i(),Lq=V1(),xq=Pr(),Na=Ld(),Pq=d3(),$q=as(),mo=ye(),xd=$e();function Vq(i,e,t=kq){return Pd(i,e,t,void 0)}function kq(i,e,t){let n="Invalid value "+(0,W1.inspect)(e);throw i.length>0&&(n+=` at "value${(0,Pq.printPathArray)(i)}"`),t.message=n+": "+t.message,t}function Pd(i,e,t,n){if((0,xd.isNonNullType)(e)){if(i!=null)return Pd(i,e.ofType,t,n);t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Expected non-nullable type "${(0,W1.inspect)(e)}" not to be null.`));return}if(i==null)return null;if((0,xd.isListType)(e)){let r=e.ofType;return(0,Lq.isIterableObject)(i)?Array.from(i,(a,s)=>{let o=(0,Na.addPath)(n,s,void 0);return Pd(a,r,t,o)}):[Pd(i,r,t,n)]}if((0,xd.isInputObjectType)(e)){if(!(0,xq.isObjectLike)(i)){t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Expected type "${e.name}" to be an object.`));return}let r={},a=e.getFields();for(let s of Object.values(a)){let o=i[s.name];if(o===void 0){if(s.defaultValue!==void 0)r[s.name]=s.defaultValue;else if((0,xd.isNonNullType)(s.type)){let u=(0,W1.inspect)(s.type);t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Field "${s.name}" of required type "${u}" was not provided.`))}continue}r[s.name]=Pd(o,s.type,t,(0,Na.addPath)(n,s.name,e.name))}for(let s of Object.keys(i))if(!a[s]){let o=(0,$q.suggestionList)(s,Object.keys(e.getFields()));t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Field "${s}" is not defined by type "${e.name}".`+(0,Rq.didYouMean)(o)))}return r}if((0,xd.isLeafType)(e)){let r;try{r=e.parseValue(i)}catch(a){a instanceof mo.GraphQLError?t((0,Na.pathToArray)(n),i,a):t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Expected type "${e.name}". `+a.message,{originalError:a}));return}return r===void 0&&t((0,Na.pathToArray)(n),i,new mo.GraphQLError(`Expected type "${e.name}".`)),r}(0,Bq.invariant)(!1,"Unexpected input type: "+(0,W1.inspect)(e))}});var Vd=D(f3=>{"use strict";h();m();Object.defineProperty(f3,"__esModule",{value:!0});f3.valueFromAST=$d;var Mq=Je(),Uq=_i(),jq=rs(),Bu=Ue(),ho=$e();function $d(i,e,t){if(i){if(i.kind===Bu.Kind.VARIABLE){let n=i.name.value;if(t==null||t[n]===void 0)return;let r=t[n];return r===null&&(0,ho.isNonNullType)(e)?void 0:r}if((0,ho.isNonNullType)(e))return i.kind===Bu.Kind.NULL?void 0:$d(i,e.ofType,t);if(i.kind===Bu.Kind.NULL)return null;if((0,ho.isListType)(e)){let n=e.ofType;if(i.kind===Bu.Kind.LIST){let a=[];for(let s of i.values)if(ST(s,t)){if((0,ho.isNonNullType)(n))return;a.push(null)}else{let o=$d(s,n,t);if(o===void 0)return;a.push(o)}return a}let r=$d(i,n,t);return r===void 0?void 0:[r]}if((0,ho.isInputObjectType)(e)){if(i.kind!==Bu.Kind.OBJECT)return;let n=Object.create(null),r=(0,jq.keyMap)(i.fields,a=>a.name.value);for(let a of Object.values(e.getFields())){let s=r[a.name];if(!s||ST(s.value,t)){if(a.defaultValue!==void 0)n[a.name]=a.defaultValue;else if((0,ho.isNonNullType)(a.type))return;continue}let o=$d(s.value,a.type,t);if(o===void 0)return;n[a.name]=o}return n}if((0,ho.isLeafType)(e)){let n;try{n=e.parseLiteral(i,t)}catch{return}return n===void 0?void 0:n}(0,Uq.invariant)(!1,"Unexpected input type: "+(0,Mq.inspect)(e))}}function ST(i,e){return i.kind===Bu.Kind.VARIABLE&&(e==null||e[i.name.value]===void 0)}});var Pu=D(kd=>{"use strict";h();m();Object.defineProperty(kd,"__esModule",{value:!0});kd.getArgumentValues=FT;kd.getDirectiveValues=zq;kd.getVariableValues=Hq;var Lu=Je(),qq=rs(),Gq=d3(),Ca=ye(),_T=Ue(),bT=un(),xu=$e(),Kq=c3(),Qq=Ur(),IT=Vd();function Hq(i,e,t,n){let r=[],a=n?.maxErrors;try{let s=Yq(i,e,t,o=>{if(a!=null&&r.length>=a)throw new Ca.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");r.push(o)});if(r.length===0)return{coerced:s}}catch(s){r.push(s)}return{errors:r}}function Yq(i,e,t,n){let r={};for(let a of e){let s=a.variable.name.value,o=(0,Qq.typeFromAST)(i,a.type);if(!(0,xu.isInputType)(o)){let p=(0,bT.print)(a.type);n(new Ca.GraphQLError(`Variable "$${s}" expected value of type "${p}" which cannot be used as an input type.`,{nodes:a.type}));continue}if(!NT(t,s)){if(a.defaultValue)r[s]=(0,IT.valueFromAST)(a.defaultValue,o);else if((0,xu.isNonNullType)(o)){let p=(0,Lu.inspect)(o);n(new Ca.GraphQLError(`Variable "$${s}" of required type "${p}" was not provided.`,{nodes:a}))}continue}let u=t[s];if(u===null&&(0,xu.isNonNullType)(o)){let p=(0,Lu.inspect)(o);n(new Ca.GraphQLError(`Variable "$${s}" of non-null type "${p}" must not be null.`,{nodes:a}));continue}r[s]=(0,Kq.coerceInputValue)(u,o,(p,d,l)=>{let c=`Variable "$${s}" got invalid value `+(0,Lu.inspect)(d);p.length>0&&(c+=` at "${s}${(0,Gq.printPathArray)(p)}"`),n(new Ca.GraphQLError(c+"; "+l.message,{nodes:a,originalError:l.originalError}))})}return r}function FT(i,e,t){var n;let r={},a=(n=e.arguments)!==null&&n!==void 0?n:[],s=(0,qq.keyMap)(a,o=>o.name.value);for(let o of i.args){let u=o.name,p=o.type,d=s[u];if(!d){if(o.defaultValue!==void 0)r[u]=o.defaultValue;else if((0,xu.isNonNullType)(p))throw new Ca.GraphQLError(`Argument "${u}" of required type "${(0,Lu.inspect)(p)}" was not provided.`,{nodes:e});continue}let l=d.value,c=l.kind===_T.Kind.NULL;if(l.kind===_T.Kind.VARIABLE){let y=l.name.value;if(t==null||!NT(t,y)){if(o.defaultValue!==void 0)r[u]=o.defaultValue;else if((0,xu.isNonNullType)(p))throw new Ca.GraphQLError(`Argument "${u}" of required type "${(0,Lu.inspect)(p)}" was provided the variable "$${y}" which was not provided a runtime value.`,{nodes:l});continue}c=t[y]==null}if(c&&(0,xu.isNonNullType)(p))throw new Ca.GraphQLError(`Argument "${u}" of non-null type "${(0,Lu.inspect)(p)}" must not be null.`,{nodes:l});let v=(0,IT.valueFromAST)(l,p,t);if(v===void 0)throw new Ca.GraphQLError(`Argument "${u}" has invalid value ${(0,bT.print)(l)}.`,{nodes:l});r[u]=v}return r}function zq(i,e,t){var n;let r=(n=e.directives)===null||n===void 0?void 0:n.find(a=>a.name.value===i.name);if(r)return FT(i,r,t)}function NT(i,e){return Object.prototype.hasOwnProperty.call(i,e)}});var Z1=D(X1=>{"use strict";h();m();Object.defineProperty(X1,"__esModule",{value:!0});X1.collectFields=Xq;X1.collectSubfields=Zq;var m3=Ue(),Wq=$e(),CT=Yi(),Jq=Ur(),OT=Pu();function Xq(i,e,t,n,r){let a=new Map;return J1(i,e,t,n,r,a,new Set),a}function Zq(i,e,t,n,r){let a=new Map,s=new Set;for(let o of r)o.selectionSet&&J1(i,e,t,n,o.selectionSet,a,s);return a}function J1(i,e,t,n,r,a,s){for(let o of r.selections)switch(o.kind){case m3.Kind.FIELD:{if(!h3(t,o))continue;let u=eG(o),p=a.get(u);p!==void 0?p.push(o):a.set(u,[o]);break}case m3.Kind.INLINE_FRAGMENT:{if(!h3(t,o)||!wT(i,o,n))continue;J1(i,e,t,n,o.selectionSet,a,s);break}case m3.Kind.FRAGMENT_SPREAD:{let u=o.name.value;if(s.has(u)||!h3(t,o))continue;s.add(u);let p=e[u];if(!p||!wT(i,p,n))continue;J1(i,e,t,n,p.selectionSet,a,s);break}}}function h3(i,e){let t=(0,OT.getDirectiveValues)(CT.GraphQLSkipDirective,e,i);if(t?.if===!0)return!1;let n=(0,OT.getDirectiveValues)(CT.GraphQLIncludeDirective,e,i);return n?.if!==!1}function wT(i,e,t){let n=e.typeCondition;if(!n)return!0;let r=(0,Jq.typeFromAST)(i,n);return r===t?!0:(0,Wq.isAbstractType)(r)?i.isSubType(r,t):!1}function eG(i){return i.alias?i.alias.value:i.name.value}});var y3=D(v3=>{"use strict";h();m();Object.defineProperty(v3,"__esModule",{value:!0});v3.SingleFieldSubscriptionsRule=nG;var RT=ye(),tG=Ue(),iG=Z1();function nG(i){return{OperationDefinition(e){if(e.operation==="subscription"){let t=i.getSchema(),n=t.getSubscriptionType();if(n){let r=e.name?e.name.value:null,a=Object.create(null),s=i.getDocument(),o=Object.create(null);for(let p of s.definitions)p.kind===tG.Kind.FRAGMENT_DEFINITION&&(o[p.name.value]=p);let u=(0,iG.collectFields)(t,o,a,n,e.selectionSet);if(u.size>1){let l=[...u.values()].slice(1).flat();i.reportError(new RT.GraphQLError(r!=null?`Subscription "${r}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:l}))}for(let p of u.values())p[0].name.value.startsWith("__")&&i.reportError(new RT.GraphQLError(r!=null?`Subscription "${r}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:p}))}}}}}});var e0=D(E3=>{"use strict";h();m();Object.defineProperty(E3,"__esModule",{value:!0});E3.groupBy=rG;function rG(i,e){let t=new Map;for(let n of i){let r=e(n),a=t.get(r);a===void 0?t.set(r,[n]):a.push(n)}return t}});var A3=D(g3=>{"use strict";h();m();Object.defineProperty(g3,"__esModule",{value:!0});g3.UniqueArgumentDefinitionNamesRule=oG;var aG=e0(),sG=ye();function oG(i){return{DirectiveDefinition(n){var r;let a=(r=n.arguments)!==null&&r!==void 0?r:[];return t(`@${n.name.value}`,a)},InterfaceTypeDefinition:e,InterfaceTypeExtension:e,ObjectTypeDefinition:e,ObjectTypeExtension:e};function e(n){var r;let a=n.name.value,s=(r=n.fields)!==null&&r!==void 0?r:[];for(let u of s){var o;let p=u.name.value,d=(o=u.arguments)!==null&&o!==void 0?o:[];t(`${a}.${p}`,d)}return!1}function t(n,r){let a=(0,aG.groupBy)(r,s=>s.name.value);for(let[s,o]of a)o.length>1&&i.reportError(new sG.GraphQLError(`Argument "${n}(${s}:)" can only be defined once.`,{nodes:o.map(u=>u.name)}));return!1}}});var D3=D(T3=>{"use strict";h();m();Object.defineProperty(T3,"__esModule",{value:!0});T3.UniqueArgumentNamesRule=dG;var uG=e0(),pG=ye();function dG(i){return{Field:e,Directive:e};function e(t){var n;let r=(n=t.arguments)!==null&&n!==void 0?n:[],a=(0,uG.groupBy)(r,s=>s.name.value);for(let[s,o]of a)o.length>1&&i.reportError(new pG.GraphQLError(`There can be only one argument named "${s}".`,{nodes:o.map(u=>u.name)}))}}});var _3=D(S3=>{"use strict";h();m();Object.defineProperty(S3,"__esModule",{value:!0});S3.UniqueDirectiveNamesRule=lG;var BT=ye();function lG(i){let e=Object.create(null),t=i.getSchema();return{DirectiveDefinition(n){let r=n.name.value;if(t!=null&&t.getDirective(r)){i.reportError(new BT.GraphQLError(`Directive "@${r}" already exists in the schema. It cannot be redefined.`,{nodes:n.name}));return}return e[r]?i.reportError(new BT.GraphQLError(`There can be only one directive named "@${r}".`,{nodes:[e[r],n.name]})):e[r]=n.name,!1}}}});var F3=D(I3=>{"use strict";h();m();Object.defineProperty(I3,"__esModule",{value:!0});I3.UniqueDirectivesPerLocationRule=mG;var cG=ye(),b3=Ue(),LT=fo(),fG=Yi();function mG(i){let e=Object.create(null),t=i.getSchema(),n=t?t.getDirectives():fG.specifiedDirectives;for(let o of n)e[o.name]=!o.isRepeatable;let r=i.getDocument().definitions;for(let o of r)o.kind===b3.Kind.DIRECTIVE_DEFINITION&&(e[o.name.value]=!o.repeatable);let a=Object.create(null),s=Object.create(null);return{enter(o){if(!("directives"in o)||!o.directives)return;let u;if(o.kind===b3.Kind.SCHEMA_DEFINITION||o.kind===b3.Kind.SCHEMA_EXTENSION)u=a;else if((0,LT.isTypeDefinitionNode)(o)||(0,LT.isTypeExtensionNode)(o)){let p=o.name.value;u=s[p],u===void 0&&(s[p]=u=Object.create(null))}else u=Object.create(null);for(let p of o.directives){let d=p.name.value;e[d]&&(u[d]?i.reportError(new cG.GraphQLError(`The directive "@${d}" can only be used once at this location.`,{nodes:[u[d],p]})):u[d]=p)}}}}});var C3=D(N3=>{"use strict";h();m();Object.defineProperty(N3,"__esModule",{value:!0});N3.UniqueEnumValueNamesRule=vG;var xT=ye(),hG=$e();function vG(i){let e=i.getSchema(),t=e?e.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:r,EnumTypeExtension:r};function r(a){var s;let o=a.name.value;n[o]||(n[o]=Object.create(null));let u=(s=a.values)!==null&&s!==void 0?s:[],p=n[o];for(let d of u){let l=d.name.value,c=t[o];(0,hG.isEnumType)(c)&&c.getValue(l)?i.reportError(new xT.GraphQLError(`Enum value "${o}.${l}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:d.name})):p[l]?i.reportError(new xT.GraphQLError(`Enum value "${o}.${l}" can only be defined once.`,{nodes:[p[l],d.name]})):p[l]=d.name}return!1}}});var R3=D(w3=>{"use strict";h();m();Object.defineProperty(w3,"__esModule",{value:!0});w3.UniqueFieldDefinitionNamesRule=yG;var PT=ye(),O3=$e();function yG(i){let e=i.getSchema(),t=e?e.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:r,InputObjectTypeExtension:r,InterfaceTypeDefinition:r,InterfaceTypeExtension:r,ObjectTypeDefinition:r,ObjectTypeExtension:r};function r(a){var s;let o=a.name.value;n[o]||(n[o]=Object.create(null));let u=(s=a.fields)!==null&&s!==void 0?s:[],p=n[o];for(let d of u){let l=d.name.value;EG(t[o],l)?i.reportError(new PT.GraphQLError(`Field "${o}.${l}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:d.name})):p[l]?i.reportError(new PT.GraphQLError(`Field "${o}.${l}" can only be defined once.`,{nodes:[p[l],d.name]})):p[l]=d.name}return!1}}function EG(i,e){return(0,O3.isObjectType)(i)||(0,O3.isInterfaceType)(i)||(0,O3.isInputObjectType)(i)?i.getFields()[e]!=null:!1}});var L3=D(B3=>{"use strict";h();m();Object.defineProperty(B3,"__esModule",{value:!0});B3.UniqueFragmentNamesRule=AG;var gG=ye();function AG(i){let e=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(t){let n=t.name.value;return e[n]?i.reportError(new gG.GraphQLError(`There can be only one fragment named "${n}".`,{nodes:[e[n],t.name]})):e[n]=t.name,!1}}}});var P3=D(x3=>{"use strict";h();m();Object.defineProperty(x3,"__esModule",{value:!0});x3.UniqueInputFieldNamesRule=SG;var TG=_i(),DG=ye();function SG(i){let e=[],t=Object.create(null);return{ObjectValue:{enter(){e.push(t),t=Object.create(null)},leave(){let n=e.pop();n||(0,TG.invariant)(!1),t=n}},ObjectField(n){let r=n.name.value;t[r]?i.reportError(new DG.GraphQLError(`There can be only one input field named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name}}}});var V3=D($3=>{"use strict";h();m();Object.defineProperty($3,"__esModule",{value:!0});$3.UniqueOperationNamesRule=bG;var _G=ye();function bG(i){let e=Object.create(null);return{OperationDefinition(t){let n=t.name;return n&&(e[n.value]?i.reportError(new _G.GraphQLError(`There can be only one operation named "${n.value}".`,{nodes:[e[n.value],n]})):e[n.value]=n),!1},FragmentDefinition:()=>!1}}});var M3=D(k3=>{"use strict";h();m();Object.defineProperty(k3,"__esModule",{value:!0});k3.UniqueOperationTypesRule=IG;var $T=ye();function IG(i){let e=i.getSchema(),t=Object.create(null),n=e?{query:e.getQueryType(),mutation:e.getMutationType(),subscription:e.getSubscriptionType()}:{};return{SchemaDefinition:r,SchemaExtension:r};function r(a){var s;let o=(s=a.operationTypes)!==null&&s!==void 0?s:[];for(let u of o){let p=u.operation,d=t[p];n[p]?i.reportError(new $T.GraphQLError(`Type for ${p} already defined in the schema. It cannot be redefined.`,{nodes:u})):d?i.reportError(new $T.GraphQLError(`There can be only one ${p} type in schema.`,{nodes:[d,u]})):t[p]=u}return!1}}});var j3=D(U3=>{"use strict";h();m();Object.defineProperty(U3,"__esModule",{value:!0});U3.UniqueTypeNamesRule=FG;var VT=ye();function FG(i){let e=Object.create(null),t=i.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(r){let a=r.name.value;if(t!=null&&t.getType(a)){i.reportError(new VT.GraphQLError(`Type "${a}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return e[a]?i.reportError(new VT.GraphQLError(`There can be only one type named "${a}".`,{nodes:[e[a],r.name]})):e[a]=r.name,!1}}});var G3=D(q3=>{"use strict";h();m();Object.defineProperty(q3,"__esModule",{value:!0});q3.UniqueVariableNamesRule=OG;var NG=e0(),CG=ye();function OG(i){return{OperationDefinition(e){var t;let n=(t=e.variableDefinitions)!==null&&t!==void 0?t:[],r=(0,NG.groupBy)(n,a=>a.variable.name.value);for(let[a,s]of r)s.length>1&&i.reportError(new CG.GraphQLError(`There can be only one variable named "$${a}".`,{nodes:s.map(o=>o.variable.name)}))}}}});var Q3=D(K3=>{"use strict";h();m();Object.defineProperty(K3,"__esModule",{value:!0});K3.ValuesOfCorrectTypeRule=LG;var wG=ns(),Md=Je(),RG=rs(),BG=as(),yo=ye(),t0=un(),jr=$e();function LG(i){return{ListValue(e){let t=(0,jr.getNullableType)(i.getParentInputType());if(!(0,jr.isListType)(t))return vo(i,e),!1},ObjectValue(e){let t=(0,jr.getNamedType)(i.getInputType());if(!(0,jr.isInputObjectType)(t))return vo(i,e),!1;let n=(0,RG.keyMap)(e.fields,r=>r.name.value);for(let r of Object.values(t.getFields()))if(!n[r.name]&&(0,jr.isRequiredInputField)(r)){let s=(0,Md.inspect)(r.type);i.reportError(new yo.GraphQLError(`Field "${t.name}.${r.name}" of required type "${s}" was not provided.`,{nodes:e}))}},ObjectField(e){let t=(0,jr.getNamedType)(i.getParentInputType());if(!i.getInputType()&&(0,jr.isInputObjectType)(t)){let r=(0,BG.suggestionList)(e.name.value,Object.keys(t.getFields()));i.reportError(new yo.GraphQLError(`Field "${e.name.value}" is not defined by type "${t.name}".`+(0,wG.didYouMean)(r),{nodes:e}))}},NullValue(e){let t=i.getInputType();(0,jr.isNonNullType)(t)&&i.reportError(new yo.GraphQLError(`Expected value of type "${(0,Md.inspect)(t)}", found ${(0,t0.print)(e)}.`,{nodes:e}))},EnumValue:e=>vo(i,e),IntValue:e=>vo(i,e),FloatValue:e=>vo(i,e),StringValue:e=>vo(i,e),BooleanValue:e=>vo(i,e)}}function vo(i,e){let t=i.getInputType();if(!t)return;let n=(0,jr.getNamedType)(t);if(!(0,jr.isLeafType)(n)){let r=(0,Md.inspect)(t);i.reportError(new yo.GraphQLError(`Expected value of type "${r}", found ${(0,t0.print)(e)}.`,{nodes:e}));return}try{if(n.parseLiteral(e,void 0)===void 0){let a=(0,Md.inspect)(t);i.reportError(new yo.GraphQLError(`Expected value of type "${a}", found ${(0,t0.print)(e)}.`,{nodes:e}))}}catch(r){let a=(0,Md.inspect)(t);r instanceof yo.GraphQLError?i.reportError(r):i.reportError(new yo.GraphQLError(`Expected value of type "${a}", found ${(0,t0.print)(e)}; `+r.message,{nodes:e,originalError:r}))}}});var Y3=D(H3=>{"use strict";h();m();Object.defineProperty(H3,"__esModule",{value:!0});H3.VariablesAreInputTypesRule=kG;var xG=ye(),PG=un(),$G=$e(),VG=Ur();function kG(i){return{VariableDefinition(e){let t=(0,VG.typeFromAST)(i.getSchema(),e.type);if(t!==void 0&&!(0,$G.isInputType)(t)){let n=e.variable.name.value,r=(0,PG.print)(e.type);i.reportError(new xG.GraphQLError(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:e.type}))}}}}});var W3=D(z3=>{"use strict";h();m();Object.defineProperty(z3,"__esModule",{value:!0});z3.VariablesInAllowedPositionRule=qG;var kT=Je(),MG=ye(),UG=Ue(),MT=$e(),UT=Ad(),jG=Ur();function qG(i){let e=Object.create(null);return{OperationDefinition:{enter(){e=Object.create(null)},leave(t){let n=i.getRecursiveVariableUsages(t);for(let{node:r,type:a,defaultValue:s}of n){let o=r.name.value,u=e[o];if(u&&a){let p=i.getSchema(),d=(0,jG.typeFromAST)(p,u.type);if(d&&!GG(p,d,u.defaultValue,a,s)){let l=(0,kT.inspect)(d),c=(0,kT.inspect)(a);i.reportError(new MG.GraphQLError(`Variable "$${o}" of type "${l}" used in position expecting type "${c}".`,{nodes:[u,r]}))}}}}},VariableDefinition(t){e[t.variable.name.value]=t}}}function GG(i,e,t,n,r){if((0,MT.isNonNullType)(n)&&!(0,MT.isNonNullType)(e)){if(!(t!=null&&t.kind!==UG.Kind.NULL)&&!(r!==void 0))return!1;let o=n.ofType;return(0,UT.isTypeSubTypeOf)(i,e,o)}return(0,UT.isTypeSubTypeOf)(i,e,n)}});var Ud=D($u=>{"use strict";h();m();Object.defineProperty($u,"__esModule",{value:!0});$u.specifiedSDLRules=$u.specifiedRules=void 0;var KG=E4(),QG=A4(),HG=D4(),jT=S4(),qT=F4(),YG=C4(),GT=R4(),zG=L4(),WG=P4(),JG=V4(),XG=M4(),ZG=j4(),eK=G4(),tK=Z4(),iK=i3(),nK=r3(),KT=s3(),rK=u3(),aK=y3(),sK=A3(),QT=D3(),oK=_3(),HT=F3(),uK=C3(),pK=R3(),dK=L3(),YT=P3(),lK=V3(),cK=M3(),fK=j3(),mK=G3(),hK=Q3(),vK=Y3(),yK=W3(),EK=Object.freeze([KG.ExecutableDefinitionsRule,lK.UniqueOperationNamesRule,zG.LoneAnonymousOperationRule,aK.SingleFieldSubscriptionsRule,GT.KnownTypeNamesRule,HG.FragmentsOnCompositeTypesRule,vK.VariablesAreInputTypesRule,rK.ScalarLeafsRule,QG.FieldsOnCorrectTypeRule,dK.UniqueFragmentNamesRule,YG.KnownFragmentNamesRule,ZG.NoUnusedFragmentsRule,iK.PossibleFragmentSpreadsRule,JG.NoFragmentCyclesRule,mK.UniqueVariableNamesRule,XG.NoUndefinedVariablesRule,eK.NoUnusedVariablesRule,qT.KnownDirectivesRule,HT.UniqueDirectivesPerLocationRule,jT.KnownArgumentNamesRule,QT.UniqueArgumentNamesRule,hK.ValuesOfCorrectTypeRule,KT.ProvidedRequiredArgumentsRule,yK.VariablesInAllowedPositionRule,tK.OverlappingFieldsCanBeMergedRule,YT.UniqueInputFieldNamesRule]);$u.specifiedRules=EK;var gK=Object.freeze([WG.LoneSchemaDefinitionRule,cK.UniqueOperationTypesRule,fK.UniqueTypeNamesRule,uK.UniqueEnumValueNamesRule,pK.UniqueFieldDefinitionNamesRule,sK.UniqueArgumentDefinitionNamesRule,oK.UniqueDirectiveNamesRule,GT.KnownTypeNamesRule,qT.KnownDirectivesRule,HT.UniqueDirectivesPerLocationRule,nK.PossibleTypeExtensionsRule,jT.KnownArgumentNamesOnDirectivesRule,QT.UniqueArgumentNamesRule,YT.UniqueInputFieldNamesRule,KT.ProvidedRequiredArgumentsOnDirectivesRule]);$u.specifiedSDLRules=gK});var Z3=D(ds=>{"use strict";h();m();Object.defineProperty(ds,"__esModule",{value:!0});ds.ValidationContext=ds.SDLValidationContext=ds.ASTValidationContext=void 0;var zT=Ue(),AK=ro(),WT=j1(),jd=class{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(let n of this.getDocument().definitions)n.kind===zT.Kind.FRAGMENT_DEFINITION&&(t[n.name.value]=n);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];let n=[e],r;for(;r=n.pop();)for(let a of r.selections)a.kind===zT.Kind.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&n.push(a.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];let n=Object.create(null),r=[e.selectionSet],a;for(;a=r.pop();)for(let s of this.getFragmentSpreads(a)){let o=s.name.value;if(n[o]!==!0){n[o]=!0;let u=this.getFragment(o);u&&(t.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}};ds.ASTValidationContext=jd;var J3=class extends jd{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}};ds.SDLValidationContext=J3;var X3=class extends jd{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new WT.TypeInfo(this._schema);(0,AK.visit)(e,(0,WT.visitWithTypeInfo)(r,{VariableDefinition:()=>!1,Variable(a){n.push({node:a,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(let n of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}};ds.ValidationContext=X3});var ku=D(Vu=>{"use strict";h();m();Object.defineProperty(Vu,"__esModule",{value:!0});Vu.assertValidSDL=bK;Vu.assertValidSDLExtension=IK;Vu.validate=_K;Vu.validateSDL=ev;var TK=xi(),DK=ye(),i0=ro(),SK=Od(),JT=j1(),XT=Ud(),ZT=Z3();function _K(i,e,t=XT.specifiedRules,n,r=new JT.TypeInfo(i)){var a;let s=(a=n?.maxErrors)!==null&&a!==void 0?a:100;e||(0,TK.devAssert)(!1,"Must provide document."),(0,SK.assertValidSchema)(i);let o=Object.freeze({}),u=[],p=new ZT.ValidationContext(i,e,r,l=>{if(u.length>=s)throw u.push(new DK.GraphQLError("Too many validation errors, error limit reached. Validation aborted.")),o;u.push(l)}),d=(0,i0.visitInParallel)(t.map(l=>l(p)));try{(0,i0.visit)(e,(0,JT.visitWithTypeInfo)(r,d))}catch(l){if(l!==o)throw l}return u}function ev(i,e,t=XT.specifiedSDLRules){let n=[],r=new ZT.SDLValidationContext(i,e,s=>{n.push(s)}),a=t.map(s=>s(r));return(0,i0.visit)(i,(0,i0.visitInParallel)(a)),n}function bK(i){let e=ev(i);if(e.length!==0)throw new Error(e.map(t=>t.message).join(` `))}function IK(i,e){let t=ev(i,e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` `))}});var eD=D(tv=>{"use strict";h();m();Object.defineProperty(tv,"__esModule",{value:!0});tv.memoize3=FK;function FK(i){let e;return function(n,r,a){e===void 0&&(e=new WeakMap);let s=e.get(n);s===void 0&&(s=new WeakMap,e.set(n,s));let o=s.get(r);o===void 0&&(o=new WeakMap,s.set(r,o));let u=o.get(a);return u===void 0&&(u=i(n,r,a),o.set(a,u)),u}}});var tD=D(iv=>{"use strict";h();m();Object.defineProperty(iv,"__esModule",{value:!0});iv.promiseForObject=NK;function NK(i){return Promise.all(Object.values(i)).then(e=>{let t=Object.create(null);for(let[n,r]of Object.keys(i).entries())t[r]=e[n];return t})}});var iD=D(nv=>{"use strict";h();m();Object.defineProperty(nv,"__esModule",{value:!0});nv.promiseReduce=OK;var CK=r1();function OK(i,e,t){let n=t;for(let r of i)n=(0,CK.isPromise)(n)?n.then(a=>e(a,r)):e(n,r);return n}});var nD=D(av=>{"use strict";h();m();Object.defineProperty(av,"__esModule",{value:!0});av.toError=RK;var wK=Je();function RK(i){return i instanceof Error?i:new rv(i)}var rv=class extends Error{constructor(e){super("Unexpected error value: "+(0,wK.inspect)(e)),this.name="NonErrorThrown",this.thrownValue=e}}});var n0=D(sv=>{"use strict";h();m();Object.defineProperty(sv,"__esModule",{value:!0});sv.locatedError=xK;var BK=nD(),LK=ye();function xK(i,e,t){var n;let r=(0,BK.toError)(i);return PK(r)?r:new LK.GraphQLError(r.message,{nodes:(n=r.nodes)!==null&&n!==void 0?n:e,source:r.source,positions:r.positions,path:t,originalError:r})}function PK(i){return Array.isArray(i.path)}});var Gd=D(Nn=>{"use strict";h();m();Object.defineProperty(Nn,"__esModule",{value:!0});Nn.assertValidExecutionArguments=dD;Nn.buildExecutionContext=lD;Nn.buildResolveInfo=fD;Nn.defaultTypeResolver=Nn.defaultFieldResolver=void 0;Nn.execute=pD;Nn.executeSync=GK;Nn.getFieldDef=hD;var uv=xi(),Eo=Je(),$K=_i(),VK=V1(),lv=Pr(),or=r1(),kK=eD(),go=Ld(),MK=tD(),UK=iD(),Fn=ye(),a0=n0(),ov=$r(),rD=Ue(),ls=$e(),Mu=bn(),jK=Od(),oD=Z1(),uD=Pu(),qK=(0,kK.memoize3)((i,e,t)=>(0,oD.collectSubfields)(i.schema,i.fragments,i.variableValues,e,t));function pD(i){arguments.length<2||(0,uv.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:e,document:t,variableValues:n,rootValue:r}=i;dD(e,t,n);let a=lD(i);if(!("schema"in a))return{errors:a};try{let{operation:s}=a,o=KK(a,s,r);return(0,or.isPromise)(o)?o.then(u=>r0(u,a.errors),u=>(a.errors.push(u),r0(null,a.errors))):r0(o,a.errors)}catch(s){return a.errors.push(s),r0(null,a.errors)}}function GK(i){let e=pD(i);if((0,or.isPromise)(e))throw new Error("GraphQL execution failed to complete synchronously.");return e}function r0(i,e){return e.length===0?{data:i}:{errors:e,data:i}}function dD(i,e,t){e||(0,uv.devAssert)(!1,"Must provide document."),(0,jK.assertValidSchema)(i),t==null||(0,lv.isObjectLike)(t)||(0,uv.devAssert)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function lD(i){var e,t;let{schema:n,document:r,rootValue:a,contextValue:s,variableValues:o,operationName:u,fieldResolver:p,typeResolver:d,subscribeFieldResolver:l}=i,c,v=Object.create(null);for(let T of r.definitions)switch(T.kind){case rD.Kind.OPERATION_DEFINITION:if(u==null){if(c!==void 0)return[new Fn.GraphQLError("Must provide operation name if query contains multiple operations.")];c=T}else((e=T.name)===null||e===void 0?void 0:e.value)===u&&(c=T);break;case rD.Kind.FRAGMENT_DEFINITION:v[T.name.value]=T;break;default:}if(!c)return u!=null?[new Fn.GraphQLError(`Unknown operation named "${u}".`)]:[new Fn.GraphQLError("Must provide an operation.")];let y=(t=c.variableDefinitions)!==null&&t!==void 0?t:[],g=(0,uD.getVariableValues)(n,y,o??{},{maxErrors:50});return g.errors?g.errors:{schema:n,fragments:v,rootValue:a,contextValue:s,operation:c,variableValues:g.coerced,fieldResolver:p??dv,typeResolver:d??mD,subscribeFieldResolver:l??dv,errors:[]}}function KK(i,e,t){let n=i.schema.getRootType(e.operation);if(n==null)throw new Fn.GraphQLError(`Schema is not configured to execute ${e.operation} operation.`,{nodes:e});let r=(0,oD.collectFields)(i.schema,i.fragments,i.variableValues,n,e.selectionSet),a=void 0;switch(e.operation){case ov.OperationTypeNode.QUERY:return s0(i,n,t,a,r);case ov.OperationTypeNode.MUTATION:return QK(i,n,t,a,r);case ov.OperationTypeNode.SUBSCRIPTION:return s0(i,n,t,a,r)}}function QK(i,e,t,n,r){return(0,UK.promiseReduce)(r.entries(),(a,[s,o])=>{let u=(0,go.addPath)(n,s,e.name),p=cD(i,e,t,o,u);return p===void 0?a:(0,or.isPromise)(p)?p.then(d=>(a[s]=d,a)):(a[s]=p,a)},Object.create(null))}function s0(i,e,t,n,r){let a=Object.create(null),s=!1;for(let[o,u]of r.entries()){let p=(0,go.addPath)(n,o,e.name),d=cD(i,e,t,u,p);d!==void 0&&(a[o]=d,(0,or.isPromise)(d)&&(s=!0))}return s?(0,MK.promiseForObject)(a):a}function cD(i,e,t,n,r){var a;let s=hD(i.schema,e,n[0]);if(!s)return;let o=s.type,u=(a=s.resolve)!==null&&a!==void 0?a:i.fieldResolver,p=fD(i,s,n,e,r);try{let d=(0,uD.getArgumentValues)(s,n[0],i.variableValues),l=i.contextValue,c=u(t,d,l,p),v;return(0,or.isPromise)(c)?v=c.then(y=>qd(i,o,n,p,r,y)):v=qd(i,o,n,p,r,c),(0,or.isPromise)(v)?v.then(void 0,y=>{let g=(0,a0.locatedError)(y,n,(0,go.pathToArray)(r));return o0(g,o,i)}):v}catch(d){let l=(0,a0.locatedError)(d,n,(0,go.pathToArray)(r));return o0(l,o,i)}}function fD(i,e,t,n,r){return{fieldName:e.name,fieldNodes:t,returnType:e.type,parentType:n,path:r,schema:i.schema,fragments:i.fragments,rootValue:i.rootValue,operation:i.operation,variableValues:i.variableValues}}function o0(i,e,t){if((0,ls.isNonNullType)(e))throw i;return t.errors.push(i),null}function qd(i,e,t,n,r,a){if(a instanceof Error)throw a;if((0,ls.isNonNullType)(e)){let s=qd(i,e.ofType,t,n,r,a);if(s===null)throw new Error(`Cannot return null for non-nullable field ${n.parentType.name}.${n.fieldName}.`);return s}if(a==null)return null;if((0,ls.isListType)(e))return HK(i,e,t,n,r,a);if((0,ls.isLeafType)(e))return YK(e,a);if((0,ls.isAbstractType)(e))return zK(i,e,t,n,r,a);if((0,ls.isObjectType)(e))return pv(i,e,t,n,r,a);(0,$K.invariant)(!1,"Cannot complete value of unexpected output type: "+(0,Eo.inspect)(e))}function HK(i,e,t,n,r,a){if(!(0,VK.isIterableObject)(a))throw new Fn.GraphQLError(`Expected Iterable, but did not find one for field "${n.parentType.name}.${n.fieldName}".`);let s=e.ofType,o=!1,u=Array.from(a,(p,d)=>{let l=(0,go.addPath)(r,d,void 0);try{let c;return(0,or.isPromise)(p)?c=p.then(v=>qd(i,s,t,n,l,v)):c=qd(i,s,t,n,l,p),(0,or.isPromise)(c)?(o=!0,c.then(void 0,v=>{let y=(0,a0.locatedError)(v,t,(0,go.pathToArray)(l));return o0(y,s,i)})):c}catch(c){let v=(0,a0.locatedError)(c,t,(0,go.pathToArray)(l));return o0(v,s,i)}});return o?Promise.all(u):u}function YK(i,e){let t=i.serialize(e);if(t==null)throw new Error(`Expected \`${(0,Eo.inspect)(i)}.serialize(${(0,Eo.inspect)(e)})\` to return non-nullable value, returned: ${(0,Eo.inspect)(t)}`);return t}function zK(i,e,t,n,r,a){var s;let o=(s=e.resolveType)!==null&&s!==void 0?s:i.typeResolver,u=i.contextValue,p=o(a,u,n,e);return(0,or.isPromise)(p)?p.then(d=>pv(i,aD(d,i,e,t,n,a),t,n,r,a)):pv(i,aD(p,i,e,t,n,a),t,n,r,a)}function aD(i,e,t,n,r,a){if(i==null)throw new Fn.GraphQLError(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}". Either the "${t.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,n);if((0,ls.isObjectType)(i))throw new Fn.GraphQLError("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if(typeof i!="string")throw new Fn.GraphQLError(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${(0,Eo.inspect)(a)}, received "${(0,Eo.inspect)(i)}".`);let s=e.schema.getType(i);if(s==null)throw new Fn.GraphQLError(`Abstract type "${t.name}" was resolved to a type "${i}" that does not exist inside the schema.`,{nodes:n});if(!(0,ls.isObjectType)(s))throw new Fn.GraphQLError(`Abstract type "${t.name}" was resolved to a non-object type "${i}".`,{nodes:n});if(!e.schema.isSubType(t,s))throw new Fn.GraphQLError(`Runtime Object type "${s.name}" is not a possible type for "${t.name}".`,{nodes:n});return s}function pv(i,e,t,n,r,a){let s=qK(i,e,t);if(e.isTypeOf){let o=e.isTypeOf(a,i.contextValue,n);if((0,or.isPromise)(o))return o.then(u=>{if(!u)throw sD(e,a,t);return s0(i,e,a,r,s)});if(!o)throw sD(e,a,t)}return s0(i,e,a,r,s)}function sD(i,e,t){return new Fn.GraphQLError(`Expected value of type "${i.name}" but got: ${(0,Eo.inspect)(e)}.`,{nodes:t})}var mD=function(i,e,t,n){if((0,lv.isObjectLike)(i)&&typeof i.__typename=="string")return i.__typename;let r=t.schema.getPossibleTypes(n),a=[];for(let s=0;s{for(let o=0;o{"use strict";h();m();Object.defineProperty(u0,"__esModule",{value:!0});u0.graphql=iQ;u0.graphqlSync=nQ;var WK=xi(),JK=r1(),XK=Iu(),ZK=Od(),eQ=ku(),tQ=Gd();function iQ(i){return new Promise(e=>e(vD(i)))}function nQ(i){let e=vD(i);if((0,JK.isPromise)(e))throw new Error("GraphQL execution failed to complete synchronously.");return e}function vD(i){arguments.length<2||(0,WK.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:e,source:t,rootValue:n,contextValue:r,variableValues:a,operationName:s,fieldResolver:o,typeResolver:u}=i,p=(0,ZK.validateSchema)(e);if(p.length>0)return{errors:p};let d;try{d=(0,XK.parse)(t)}catch(c){return{errors:[c]}}let l=(0,eQ.validate)(e,d);return l.length>0?{errors:l}:(0,tQ.execute)({schema:e,document:d,rootValue:n,contextValue:r,variableValues:a,operationName:s,fieldResolver:o,typeResolver:u})}});var AD=D(G=>{"use strict";h();m();Object.defineProperty(G,"__esModule",{value:!0});Object.defineProperty(G,"DEFAULT_DEPRECATION_REASON",{enumerable:!0,get:function(){return qr.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(G,"GRAPHQL_MAX_INT",{enumerable:!0,get:function(){return Oa.GRAPHQL_MAX_INT}});Object.defineProperty(G,"GRAPHQL_MIN_INT",{enumerable:!0,get:function(){return Oa.GRAPHQL_MIN_INT}});Object.defineProperty(G,"GraphQLBoolean",{enumerable:!0,get:function(){return Oa.GraphQLBoolean}});Object.defineProperty(G,"GraphQLDeprecatedDirective",{enumerable:!0,get:function(){return qr.GraphQLDeprecatedDirective}});Object.defineProperty(G,"GraphQLDirective",{enumerable:!0,get:function(){return qr.GraphQLDirective}});Object.defineProperty(G,"GraphQLEnumType",{enumerable:!0,get:function(){return De.GraphQLEnumType}});Object.defineProperty(G,"GraphQLFloat",{enumerable:!0,get:function(){return Oa.GraphQLFloat}});Object.defineProperty(G,"GraphQLID",{enumerable:!0,get:function(){return Oa.GraphQLID}});Object.defineProperty(G,"GraphQLIncludeDirective",{enumerable:!0,get:function(){return qr.GraphQLIncludeDirective}});Object.defineProperty(G,"GraphQLInputObjectType",{enumerable:!0,get:function(){return De.GraphQLInputObjectType}});Object.defineProperty(G,"GraphQLInt",{enumerable:!0,get:function(){return Oa.GraphQLInt}});Object.defineProperty(G,"GraphQLInterfaceType",{enumerable:!0,get:function(){return De.GraphQLInterfaceType}});Object.defineProperty(G,"GraphQLList",{enumerable:!0,get:function(){return De.GraphQLList}});Object.defineProperty(G,"GraphQLNonNull",{enumerable:!0,get:function(){return De.GraphQLNonNull}});Object.defineProperty(G,"GraphQLObjectType",{enumerable:!0,get:function(){return De.GraphQLObjectType}});Object.defineProperty(G,"GraphQLScalarType",{enumerable:!0,get:function(){return De.GraphQLScalarType}});Object.defineProperty(G,"GraphQLSchema",{enumerable:!0,get:function(){return cv.GraphQLSchema}});Object.defineProperty(G,"GraphQLSkipDirective",{enumerable:!0,get:function(){return qr.GraphQLSkipDirective}});Object.defineProperty(G,"GraphQLSpecifiedByDirective",{enumerable:!0,get:function(){return qr.GraphQLSpecifiedByDirective}});Object.defineProperty(G,"GraphQLString",{enumerable:!0,get:function(){return Oa.GraphQLString}});Object.defineProperty(G,"GraphQLUnionType",{enumerable:!0,get:function(){return De.GraphQLUnionType}});Object.defineProperty(G,"SchemaMetaFieldDef",{enumerable:!0,get:function(){return Wi.SchemaMetaFieldDef}});Object.defineProperty(G,"TypeKind",{enumerable:!0,get:function(){return Wi.TypeKind}});Object.defineProperty(G,"TypeMetaFieldDef",{enumerable:!0,get:function(){return Wi.TypeMetaFieldDef}});Object.defineProperty(G,"TypeNameMetaFieldDef",{enumerable:!0,get:function(){return Wi.TypeNameMetaFieldDef}});Object.defineProperty(G,"__Directive",{enumerable:!0,get:function(){return Wi.__Directive}});Object.defineProperty(G,"__DirectiveLocation",{enumerable:!0,get:function(){return Wi.__DirectiveLocation}});Object.defineProperty(G,"__EnumValue",{enumerable:!0,get:function(){return Wi.__EnumValue}});Object.defineProperty(G,"__Field",{enumerable:!0,get:function(){return Wi.__Field}});Object.defineProperty(G,"__InputValue",{enumerable:!0,get:function(){return Wi.__InputValue}});Object.defineProperty(G,"__Schema",{enumerable:!0,get:function(){return Wi.__Schema}});Object.defineProperty(G,"__Type",{enumerable:!0,get:function(){return Wi.__Type}});Object.defineProperty(G,"__TypeKind",{enumerable:!0,get:function(){return Wi.__TypeKind}});Object.defineProperty(G,"assertAbstractType",{enumerable:!0,get:function(){return De.assertAbstractType}});Object.defineProperty(G,"assertCompositeType",{enumerable:!0,get:function(){return De.assertCompositeType}});Object.defineProperty(G,"assertDirective",{enumerable:!0,get:function(){return qr.assertDirective}});Object.defineProperty(G,"assertEnumType",{enumerable:!0,get:function(){return De.assertEnumType}});Object.defineProperty(G,"assertEnumValueName",{enumerable:!0,get:function(){return gD.assertEnumValueName}});Object.defineProperty(G,"assertInputObjectType",{enumerable:!0,get:function(){return De.assertInputObjectType}});Object.defineProperty(G,"assertInputType",{enumerable:!0,get:function(){return De.assertInputType}});Object.defineProperty(G,"assertInterfaceType",{enumerable:!0,get:function(){return De.assertInterfaceType}});Object.defineProperty(G,"assertLeafType",{enumerable:!0,get:function(){return De.assertLeafType}});Object.defineProperty(G,"assertListType",{enumerable:!0,get:function(){return De.assertListType}});Object.defineProperty(G,"assertName",{enumerable:!0,get:function(){return gD.assertName}});Object.defineProperty(G,"assertNamedType",{enumerable:!0,get:function(){return De.assertNamedType}});Object.defineProperty(G,"assertNonNullType",{enumerable:!0,get:function(){return De.assertNonNullType}});Object.defineProperty(G,"assertNullableType",{enumerable:!0,get:function(){return De.assertNullableType}});Object.defineProperty(G,"assertObjectType",{enumerable:!0,get:function(){return De.assertObjectType}});Object.defineProperty(G,"assertOutputType",{enumerable:!0,get:function(){return De.assertOutputType}});Object.defineProperty(G,"assertScalarType",{enumerable:!0,get:function(){return De.assertScalarType}});Object.defineProperty(G,"assertSchema",{enumerable:!0,get:function(){return cv.assertSchema}});Object.defineProperty(G,"assertType",{enumerable:!0,get:function(){return De.assertType}});Object.defineProperty(G,"assertUnionType",{enumerable:!0,get:function(){return De.assertUnionType}});Object.defineProperty(G,"assertValidSchema",{enumerable:!0,get:function(){return ED.assertValidSchema}});Object.defineProperty(G,"assertWrappingType",{enumerable:!0,get:function(){return De.assertWrappingType}});Object.defineProperty(G,"getNamedType",{enumerable:!0,get:function(){return De.getNamedType}});Object.defineProperty(G,"getNullableType",{enumerable:!0,get:function(){return De.getNullableType}});Object.defineProperty(G,"introspectionTypes",{enumerable:!0,get:function(){return Wi.introspectionTypes}});Object.defineProperty(G,"isAbstractType",{enumerable:!0,get:function(){return De.isAbstractType}});Object.defineProperty(G,"isCompositeType",{enumerable:!0,get:function(){return De.isCompositeType}});Object.defineProperty(G,"isDirective",{enumerable:!0,get:function(){return qr.isDirective}});Object.defineProperty(G,"isEnumType",{enumerable:!0,get:function(){return De.isEnumType}});Object.defineProperty(G,"isInputObjectType",{enumerable:!0,get:function(){return De.isInputObjectType}});Object.defineProperty(G,"isInputType",{enumerable:!0,get:function(){return De.isInputType}});Object.defineProperty(G,"isInterfaceType",{enumerable:!0,get:function(){return De.isInterfaceType}});Object.defineProperty(G,"isIntrospectionType",{enumerable:!0,get:function(){return Wi.isIntrospectionType}});Object.defineProperty(G,"isLeafType",{enumerable:!0,get:function(){return De.isLeafType}});Object.defineProperty(G,"isListType",{enumerable:!0,get:function(){return De.isListType}});Object.defineProperty(G,"isNamedType",{enumerable:!0,get:function(){return De.isNamedType}});Object.defineProperty(G,"isNonNullType",{enumerable:!0,get:function(){return De.isNonNullType}});Object.defineProperty(G,"isNullableType",{enumerable:!0,get:function(){return De.isNullableType}});Object.defineProperty(G,"isObjectType",{enumerable:!0,get:function(){return De.isObjectType}});Object.defineProperty(G,"isOutputType",{enumerable:!0,get:function(){return De.isOutputType}});Object.defineProperty(G,"isRequiredArgument",{enumerable:!0,get:function(){return De.isRequiredArgument}});Object.defineProperty(G,"isRequiredInputField",{enumerable:!0,get:function(){return De.isRequiredInputField}});Object.defineProperty(G,"isScalarType",{enumerable:!0,get:function(){return De.isScalarType}});Object.defineProperty(G,"isSchema",{enumerable:!0,get:function(){return cv.isSchema}});Object.defineProperty(G,"isSpecifiedDirective",{enumerable:!0,get:function(){return qr.isSpecifiedDirective}});Object.defineProperty(G,"isSpecifiedScalarType",{enumerable:!0,get:function(){return Oa.isSpecifiedScalarType}});Object.defineProperty(G,"isType",{enumerable:!0,get:function(){return De.isType}});Object.defineProperty(G,"isUnionType",{enumerable:!0,get:function(){return De.isUnionType}});Object.defineProperty(G,"isWrappingType",{enumerable:!0,get:function(){return De.isWrappingType}});Object.defineProperty(G,"resolveObjMapThunk",{enumerable:!0,get:function(){return De.resolveObjMapThunk}});Object.defineProperty(G,"resolveReadonlyArrayThunk",{enumerable:!0,get:function(){return De.resolveReadonlyArrayThunk}});Object.defineProperty(G,"specifiedDirectives",{enumerable:!0,get:function(){return qr.specifiedDirectives}});Object.defineProperty(G,"specifiedScalarTypes",{enumerable:!0,get:function(){return Oa.specifiedScalarTypes}});Object.defineProperty(G,"validateSchema",{enumerable:!0,get:function(){return ED.validateSchema}});var cv=lo(),De=$e(),qr=Yi(),Oa=Mr(),Wi=bn(),ED=Od(),gD=hd()});var DD=D(je=>{"use strict";h();m();Object.defineProperty(je,"__esModule",{value:!0});Object.defineProperty(je,"BREAK",{enumerable:!0,get:function(){return Kd.BREAK}});Object.defineProperty(je,"DirectiveLocation",{enumerable:!0,get:function(){return dQ.DirectiveLocation}});Object.defineProperty(je,"Kind",{enumerable:!0,get:function(){return sQ.Kind}});Object.defineProperty(je,"Lexer",{enumerable:!0,get:function(){return uQ.Lexer}});Object.defineProperty(je,"Location",{enumerable:!0,get:function(){return fv.Location}});Object.defineProperty(je,"OperationTypeNode",{enumerable:!0,get:function(){return fv.OperationTypeNode}});Object.defineProperty(je,"Source",{enumerable:!0,get:function(){return rQ.Source}});Object.defineProperty(je,"Token",{enumerable:!0,get:function(){return fv.Token}});Object.defineProperty(je,"TokenKind",{enumerable:!0,get:function(){return oQ.TokenKind}});Object.defineProperty(je,"getEnterLeaveForKind",{enumerable:!0,get:function(){return Kd.getEnterLeaveForKind}});Object.defineProperty(je,"getLocation",{enumerable:!0,get:function(){return aQ.getLocation}});Object.defineProperty(je,"getVisitFn",{enumerable:!0,get:function(){return Kd.getVisitFn}});Object.defineProperty(je,"isConstValueNode",{enumerable:!0,get:function(){return Gr.isConstValueNode}});Object.defineProperty(je,"isDefinitionNode",{enumerable:!0,get:function(){return Gr.isDefinitionNode}});Object.defineProperty(je,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return Gr.isExecutableDefinitionNode}});Object.defineProperty(je,"isSelectionNode",{enumerable:!0,get:function(){return Gr.isSelectionNode}});Object.defineProperty(je,"isTypeDefinitionNode",{enumerable:!0,get:function(){return Gr.isTypeDefinitionNode}});Object.defineProperty(je,"isTypeExtensionNode",{enumerable:!0,get:function(){return Gr.isTypeExtensionNode}});Object.defineProperty(je,"isTypeNode",{enumerable:!0,get:function(){return Gr.isTypeNode}});Object.defineProperty(je,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return Gr.isTypeSystemDefinitionNode}});Object.defineProperty(je,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return Gr.isTypeSystemExtensionNode}});Object.defineProperty(je,"isValueNode",{enumerable:!0,get:function(){return Gr.isValueNode}});Object.defineProperty(je,"parse",{enumerable:!0,get:function(){return p0.parse}});Object.defineProperty(je,"parseConstValue",{enumerable:!0,get:function(){return p0.parseConstValue}});Object.defineProperty(je,"parseType",{enumerable:!0,get:function(){return p0.parseType}});Object.defineProperty(je,"parseValue",{enumerable:!0,get:function(){return p0.parseValue}});Object.defineProperty(je,"print",{enumerable:!0,get:function(){return pQ.print}});Object.defineProperty(je,"printLocation",{enumerable:!0,get:function(){return TD.printLocation}});Object.defineProperty(je,"printSourceLocation",{enumerable:!0,get:function(){return TD.printSourceLocation}});Object.defineProperty(je,"visit",{enumerable:!0,get:function(){return Kd.visit}});Object.defineProperty(je,"visitInParallel",{enumerable:!0,get:function(){return Kd.visitInParallel}});var rQ=m1(),aQ=a1(),TD=h6(),sQ=Ue(),oQ=od(),uQ=d1(),p0=Iu(),pQ=un(),Kd=ro(),fv=$r(),Gr=fo(),dQ=Su()});var SD=D(mv=>{"use strict";h();m();Object.defineProperty(mv,"__esModule",{value:!0});mv.isAsyncIterable=lQ;function lQ(i){return typeof i?.[Symbol.asyncIterator]=="function"}});var _D=D(hv=>{"use strict";h();m();Object.defineProperty(hv,"__esModule",{value:!0});hv.mapAsyncIterator=cQ;function cQ(i,e){let t=i[Symbol.asyncIterator]();async function n(r){if(r.done)return r;try{return{value:await e(r.value),done:!1}}catch(a){if(typeof t.return=="function")try{await t.return()}catch{}throw a}}return{async next(){return n(await t.next())},async return(){return typeof t.return=="function"?n(await t.return()):{value:void 0,done:!0}},async throw(r){if(typeof t.throw=="function")return n(await t.throw(r));throw r},[Symbol.asyncIterator](){return this}}}});var ND=D(d0=>{"use strict";h();m();Object.defineProperty(d0,"__esModule",{value:!0});d0.createSourceEventStream=FD;d0.subscribe=gQ;var fQ=xi(),mQ=Je(),ID=SD(),bD=Ld(),vv=ye(),hQ=n0(),vQ=Z1(),Qd=Gd(),yQ=_D(),EQ=Pu();async function gQ(i){arguments.length<2||(0,fQ.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:e,document:t,rootValue:n,contextValue:r,variableValues:a,operationName:s,fieldResolver:o,subscribeFieldResolver:u}=i,p=await FD(e,t,n,r,a,s,u);if(!(0,ID.isAsyncIterable)(p))return p;let d=l=>(0,Qd.execute)({schema:e,document:t,rootValue:l,contextValue:r,variableValues:a,operationName:s,fieldResolver:o});return(0,yQ.mapAsyncIterator)(p,d)}async function FD(i,e,t,n,r,a,s){(0,Qd.assertValidExecutionArguments)(i,e,r);let o=(0,Qd.buildExecutionContext)({schema:i,document:e,rootValue:t,contextValue:n,variableValues:r,operationName:a,subscribeFieldResolver:s});if(!("schema"in o))return{errors:o};try{let u=await AQ(o);if(!(0,ID.isAsyncIterable)(u))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,mQ.inspect)(u)}.`);return u}catch(u){if(u instanceof vv.GraphQLError)return{errors:[u]};throw u}}async function AQ(i){let{schema:e,fragments:t,operation:n,variableValues:r,rootValue:a}=i,s=e.getSubscriptionType();if(s==null)throw new vv.GraphQLError("Schema is not configured to execute subscription operation.",{nodes:n});let o=(0,vQ.collectFields)(e,t,r,s,n.selectionSet),[u,p]=[...o.entries()][0],d=(0,Qd.getFieldDef)(e,s,p[0]);if(!d){let y=p[0].name.value;throw new vv.GraphQLError(`The subscription field "${y}" is not defined.`,{nodes:p})}let l=(0,bD.addPath)(void 0,u,s.name),c=(0,Qd.buildResolveInfo)(i,d,p,s,l);try{var v;let y=(0,EQ.getArgumentValues)(d,p[0],r),g=i.contextValue,S=await((v=d.subscribe)!==null&&v!==void 0?v:i.subscribeFieldResolver)(a,y,g,c);if(S instanceof Error)throw S;return S}catch(y){throw(0,hQ.locatedError)(y,p,(0,bD.pathToArray)(l))}}});var OD=D(Cn=>{"use strict";h();m();Object.defineProperty(Cn,"__esModule",{value:!0});Object.defineProperty(Cn,"createSourceEventStream",{enumerable:!0,get:function(){return CD.createSourceEventStream}});Object.defineProperty(Cn,"defaultFieldResolver",{enumerable:!0,get:function(){return l0.defaultFieldResolver}});Object.defineProperty(Cn,"defaultTypeResolver",{enumerable:!0,get:function(){return l0.defaultTypeResolver}});Object.defineProperty(Cn,"execute",{enumerable:!0,get:function(){return l0.execute}});Object.defineProperty(Cn,"executeSync",{enumerable:!0,get:function(){return l0.executeSync}});Object.defineProperty(Cn,"getArgumentValues",{enumerable:!0,get:function(){return yv.getArgumentValues}});Object.defineProperty(Cn,"getDirectiveValues",{enumerable:!0,get:function(){return yv.getDirectiveValues}});Object.defineProperty(Cn,"getVariableValues",{enumerable:!0,get:function(){return yv.getVariableValues}});Object.defineProperty(Cn,"responsePathAsArray",{enumerable:!0,get:function(){return TQ.pathToArray}});Object.defineProperty(Cn,"subscribe",{enumerable:!0,get:function(){return CD.subscribe}});var TQ=Ld(),l0=Gd(),CD=ND(),yv=Pu()});var wD=D(Av=>{"use strict";h();m();Object.defineProperty(Av,"__esModule",{value:!0});Av.NoDeprecatedCustomRule=DQ;var Ev=_i(),Hd=ye(),gv=$e();function DQ(i){return{Field(e){let t=i.getFieldDef(),n=t?.deprecationReason;if(t&&n!=null){let r=i.getParentType();r!=null||(0,Ev.invariant)(!1),i.reportError(new Hd.GraphQLError(`The field ${r.name}.${t.name} is deprecated. ${n}`,{nodes:e}))}},Argument(e){let t=i.getArgument(),n=t?.deprecationReason;if(t&&n!=null){let r=i.getDirective();if(r!=null)i.reportError(new Hd.GraphQLError(`Directive "@${r.name}" argument "${t.name}" is deprecated. ${n}`,{nodes:e}));else{let a=i.getParentType(),s=i.getFieldDef();a!=null&&s!=null||(0,Ev.invariant)(!1),i.reportError(new Hd.GraphQLError(`Field "${a.name}.${s.name}" argument "${t.name}" is deprecated. ${n}`,{nodes:e}))}}},ObjectField(e){let t=(0,gv.getNamedType)(i.getParentInputType());if((0,gv.isInputObjectType)(t)){let n=t.getFields()[e.name.value],r=n?.deprecationReason;r!=null&&i.reportError(new Hd.GraphQLError(`The input field ${t.name}.${n.name} is deprecated. ${r}`,{nodes:e}))}},EnumValue(e){let t=i.getEnumValue(),n=t?.deprecationReason;if(t&&n!=null){let r=(0,gv.getNamedType)(i.getInputType());r!=null||(0,Ev.invariant)(!1),i.reportError(new Hd.GraphQLError(`The enum value "${r.name}.${t.name}" is deprecated. ${n}`,{nodes:e}))}}}}});var RD=D(Tv=>{"use strict";h();m();Object.defineProperty(Tv,"__esModule",{value:!0});Tv.NoSchemaIntrospectionCustomRule=IQ;var SQ=ye(),_Q=$e(),bQ=bn();function IQ(i){return{Field(e){let t=(0,_Q.getNamedType)(i.getType());t&&(0,bQ.isIntrospectionType)(t)&&i.reportError(new SQ.GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field "${e.name.value}".`,{nodes:e}))}}}});var BD=D(Fe=>{"use strict";h();m();Object.defineProperty(Fe,"__esModule",{value:!0});Object.defineProperty(Fe,"ExecutableDefinitionsRule",{enumerable:!0,get:function(){return OQ.ExecutableDefinitionsRule}});Object.defineProperty(Fe,"FieldsOnCorrectTypeRule",{enumerable:!0,get:function(){return wQ.FieldsOnCorrectTypeRule}});Object.defineProperty(Fe,"FragmentsOnCompositeTypesRule",{enumerable:!0,get:function(){return RQ.FragmentsOnCompositeTypesRule}});Object.defineProperty(Fe,"KnownArgumentNamesRule",{enumerable:!0,get:function(){return BQ.KnownArgumentNamesRule}});Object.defineProperty(Fe,"KnownDirectivesRule",{enumerable:!0,get:function(){return LQ.KnownDirectivesRule}});Object.defineProperty(Fe,"KnownFragmentNamesRule",{enumerable:!0,get:function(){return xQ.KnownFragmentNamesRule}});Object.defineProperty(Fe,"KnownTypeNamesRule",{enumerable:!0,get:function(){return PQ.KnownTypeNamesRule}});Object.defineProperty(Fe,"LoneAnonymousOperationRule",{enumerable:!0,get:function(){return $Q.LoneAnonymousOperationRule}});Object.defineProperty(Fe,"LoneSchemaDefinitionRule",{enumerable:!0,get:function(){return iH.LoneSchemaDefinitionRule}});Object.defineProperty(Fe,"NoDeprecatedCustomRule",{enumerable:!0,get:function(){return dH.NoDeprecatedCustomRule}});Object.defineProperty(Fe,"NoFragmentCyclesRule",{enumerable:!0,get:function(){return VQ.NoFragmentCyclesRule}});Object.defineProperty(Fe,"NoSchemaIntrospectionCustomRule",{enumerable:!0,get:function(){return lH.NoSchemaIntrospectionCustomRule}});Object.defineProperty(Fe,"NoUndefinedVariablesRule",{enumerable:!0,get:function(){return kQ.NoUndefinedVariablesRule}});Object.defineProperty(Fe,"NoUnusedFragmentsRule",{enumerable:!0,get:function(){return MQ.NoUnusedFragmentsRule}});Object.defineProperty(Fe,"NoUnusedVariablesRule",{enumerable:!0,get:function(){return UQ.NoUnusedVariablesRule}});Object.defineProperty(Fe,"OverlappingFieldsCanBeMergedRule",{enumerable:!0,get:function(){return jQ.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(Fe,"PossibleFragmentSpreadsRule",{enumerable:!0,get:function(){return qQ.PossibleFragmentSpreadsRule}});Object.defineProperty(Fe,"PossibleTypeExtensionsRule",{enumerable:!0,get:function(){return pH.PossibleTypeExtensionsRule}});Object.defineProperty(Fe,"ProvidedRequiredArgumentsRule",{enumerable:!0,get:function(){return GQ.ProvidedRequiredArgumentsRule}});Object.defineProperty(Fe,"ScalarLeafsRule",{enumerable:!0,get:function(){return KQ.ScalarLeafsRule}});Object.defineProperty(Fe,"SingleFieldSubscriptionsRule",{enumerable:!0,get:function(){return QQ.SingleFieldSubscriptionsRule}});Object.defineProperty(Fe,"UniqueArgumentDefinitionNamesRule",{enumerable:!0,get:function(){return oH.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(Fe,"UniqueArgumentNamesRule",{enumerable:!0,get:function(){return HQ.UniqueArgumentNamesRule}});Object.defineProperty(Fe,"UniqueDirectiveNamesRule",{enumerable:!0,get:function(){return uH.UniqueDirectiveNamesRule}});Object.defineProperty(Fe,"UniqueDirectivesPerLocationRule",{enumerable:!0,get:function(){return YQ.UniqueDirectivesPerLocationRule}});Object.defineProperty(Fe,"UniqueEnumValueNamesRule",{enumerable:!0,get:function(){return aH.UniqueEnumValueNamesRule}});Object.defineProperty(Fe,"UniqueFieldDefinitionNamesRule",{enumerable:!0,get:function(){return sH.UniqueFieldDefinitionNamesRule}});Object.defineProperty(Fe,"UniqueFragmentNamesRule",{enumerable:!0,get:function(){return zQ.UniqueFragmentNamesRule}});Object.defineProperty(Fe,"UniqueInputFieldNamesRule",{enumerable:!0,get:function(){return WQ.UniqueInputFieldNamesRule}});Object.defineProperty(Fe,"UniqueOperationNamesRule",{enumerable:!0,get:function(){return JQ.UniqueOperationNamesRule}});Object.defineProperty(Fe,"UniqueOperationTypesRule",{enumerable:!0,get:function(){return nH.UniqueOperationTypesRule}});Object.defineProperty(Fe,"UniqueTypeNamesRule",{enumerable:!0,get:function(){return rH.UniqueTypeNamesRule}});Object.defineProperty(Fe,"UniqueVariableNamesRule",{enumerable:!0,get:function(){return XQ.UniqueVariableNamesRule}});Object.defineProperty(Fe,"ValidationContext",{enumerable:!0,get:function(){return NQ.ValidationContext}});Object.defineProperty(Fe,"ValuesOfCorrectTypeRule",{enumerable:!0,get:function(){return ZQ.ValuesOfCorrectTypeRule}});Object.defineProperty(Fe,"VariablesAreInputTypesRule",{enumerable:!0,get:function(){return eH.VariablesAreInputTypesRule}});Object.defineProperty(Fe,"VariablesInAllowedPositionRule",{enumerable:!0,get:function(){return tH.VariablesInAllowedPositionRule}});Object.defineProperty(Fe,"specifiedRules",{enumerable:!0,get:function(){return CQ.specifiedRules}});Object.defineProperty(Fe,"validate",{enumerable:!0,get:function(){return FQ.validate}});var FQ=ku(),NQ=Z3(),CQ=Ud(),OQ=E4(),wQ=A4(),RQ=D4(),BQ=S4(),LQ=F4(),xQ=C4(),PQ=R4(),$Q=L4(),VQ=V4(),kQ=M4(),MQ=j4(),UQ=G4(),jQ=Z4(),qQ=i3(),GQ=s3(),KQ=u3(),QQ=y3(),HQ=D3(),YQ=F3(),zQ=L3(),WQ=P3(),JQ=V3(),XQ=G3(),ZQ=Q3(),eH=Y3(),tH=W3(),iH=P4(),nH=M3(),rH=j3(),aH=C3(),sH=R3(),oH=A3(),uH=_3(),pH=r3(),dH=wD(),lH=RD()});var LD=D(Ao=>{"use strict";h();m();Object.defineProperty(Ao,"__esModule",{value:!0});Object.defineProperty(Ao,"GraphQLError",{enumerable:!0,get:function(){return Dv.GraphQLError}});Object.defineProperty(Ao,"formatError",{enumerable:!0,get:function(){return Dv.formatError}});Object.defineProperty(Ao,"locatedError",{enumerable:!0,get:function(){return fH.locatedError}});Object.defineProperty(Ao,"printError",{enumerable:!0,get:function(){return Dv.printError}});Object.defineProperty(Ao,"syntaxError",{enumerable:!0,get:function(){return cH.syntaxError}});var Dv=ye(),cH=o1(),fH=n0()});var _v=D(Sv=>{"use strict";h();m();Object.defineProperty(Sv,"__esModule",{value:!0});Sv.getIntrospectionQuery=mH;function mH(i){let e={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...i},t=e.descriptions?"description":"",n=e.specifiedByUrl?"specifiedByURL":"",r=e.directiveIsRepeatable?"isRepeatable":"",a=e.schemaDescription?t:"";function s(o){return e.inputValueDeprecation?o:""}return` query IntrospectionQuery { __schema { ${a} queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name ${t} ${r} locations args${s("(includeDeprecated: true)")} { ...InputValue } } } } fragment FullType on __Type { kind name ${t} ${n} fields(includeDeprecated: true) { name ${t} args${s("(includeDeprecated: true)")} { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields${s("(includeDeprecated: true)")} { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name ${t} isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name ${t} type { ...TypeRef } defaultValue ${s("isDeprecated")} ${s("deprecationReason")} } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name } } } } } } } } `}});var xD=D(bv=>{"use strict";h();m();Object.defineProperty(bv,"__esModule",{value:!0});bv.getOperationAST=vH;var hH=Ue();function vH(i,e){let t=null;for(let r of i.definitions)if(r.kind===hH.Kind.OPERATION_DEFINITION){var n;if(e==null){if(t)return null;t=r}else if(((n=r.name)===null||n===void 0?void 0:n.value)===e)return r}return t}});var PD=D(Iv=>{"use strict";h();m();Object.defineProperty(Iv,"__esModule",{value:!0});Iv.getOperationRootType=yH;var c0=ye();function yH(i,e){if(e.operation==="query"){let t=i.getQueryType();if(!t)throw new c0.GraphQLError("Schema does not define the required query root type.",{nodes:e});return t}if(e.operation==="mutation"){let t=i.getMutationType();if(!t)throw new c0.GraphQLError("Schema is not configured for mutations.",{nodes:e});return t}if(e.operation==="subscription"){let t=i.getSubscriptionType();if(!t)throw new c0.GraphQLError("Schema is not configured for subscriptions.",{nodes:e});return t}throw new c0.GraphQLError("Can only have query, mutation and subscription operations.",{nodes:e})}});var $D=D(Fv=>{"use strict";h();m();Object.defineProperty(Fv,"__esModule",{value:!0});Fv.introspectionFromSchema=DH;var EH=_i(),gH=Iu(),AH=Gd(),TH=_v();function DH(i,e){let t={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},n=(0,gH.parse)((0,TH.getIntrospectionQuery)(t)),r=(0,AH.executeSync)({schema:i,document:n});return!r.errors&&r.data||(0,EH.invariant)(!1),r.data}});var kD=D(Nv=>{"use strict";h();m();Object.defineProperty(Nv,"__esModule",{value:!0});Nv.buildClientSchema=CH;var SH=xi(),pn=Je(),VD=Pr(),f0=fd(),_H=Iu(),dn=$e(),bH=Yi(),Kr=bn(),IH=Mr(),FH=lo(),NH=Vd();function CH(i,e){(0,VD.isObjectLike)(i)&&(0,VD.isObjectLike)(i.__schema)||(0,SH.devAssert)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,pn.inspect)(i)}.`);let t=i.__schema,n=(0,f0.keyValMap)(t.types,B=>B.name,B=>c(B));for(let B of[...IH.specifiedScalarTypes,...Kr.introspectionTypes])n[B.name]&&(n[B.name]=B);let r=t.queryType?d(t.queryType):null,a=t.mutationType?d(t.mutationType):null,s=t.subscriptionType?d(t.subscriptionType):null,o=t.directives?t.directives.map(ne):[];return new FH.GraphQLSchema({description:t.description,query:r,mutation:a,subscription:s,types:Object.values(n),directives:o,assumeValid:e?.assumeValid});function u(B){if(B.kind===Kr.TypeKind.LIST){let Y=B.ofType;if(!Y)throw new Error("Decorated type deeper than introspection query.");return new dn.GraphQLList(u(Y))}if(B.kind===Kr.TypeKind.NON_NULL){let Y=B.ofType;if(!Y)throw new Error("Decorated type deeper than introspection query.");let _e=u(Y);return new dn.GraphQLNonNull((0,dn.assertNullableType)(_e))}return p(B)}function p(B){let Y=B.name;if(!Y)throw new Error(`Unknown type reference: ${(0,pn.inspect)(B)}.`);let _e=n[Y];if(!_e)throw new Error(`Invalid or incomplete schema, unknown type: ${Y}. Ensure that a full introspection query is used in order to build a client schema.`);return _e}function d(B){return(0,dn.assertObjectType)(p(B))}function l(B){return(0,dn.assertInterfaceType)(p(B))}function c(B){if(B!=null&&B.name!=null&&B.kind!=null)switch(B.kind){case Kr.TypeKind.SCALAR:return v(B);case Kr.TypeKind.OBJECT:return g(B);case Kr.TypeKind.INTERFACE:return T(B);case Kr.TypeKind.UNION:return S(B);case Kr.TypeKind.ENUM:return N(B);case Kr.TypeKind.INPUT_OBJECT:return F(B)}let Y=(0,pn.inspect)(B);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${Y}.`)}function v(B){return new dn.GraphQLScalarType({name:B.name,description:B.description,specifiedByURL:B.specifiedByURL})}function y(B){if(B.interfaces===null&&B.kind===Kr.TypeKind.INTERFACE)return[];if(!B.interfaces){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing interfaces: ${Y}.`)}return B.interfaces.map(l)}function g(B){return new dn.GraphQLObjectType({name:B.name,description:B.description,interfaces:()=>y(B),fields:()=>R(B)})}function T(B){return new dn.GraphQLInterfaceType({name:B.name,description:B.description,interfaces:()=>y(B),fields:()=>R(B)})}function S(B){if(!B.possibleTypes){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing possibleTypes: ${Y}.`)}return new dn.GraphQLUnionType({name:B.name,description:B.description,types:()=>B.possibleTypes.map(d)})}function N(B){if(!B.enumValues){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing enumValues: ${Y}.`)}return new dn.GraphQLEnumType({name:B.name,description:B.description,values:(0,f0.keyValMap)(B.enumValues,Y=>Y.name,Y=>({description:Y.description,deprecationReason:Y.deprecationReason}))})}function F(B){if(!B.inputFields){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing inputFields: ${Y}.`)}return new dn.GraphQLInputObjectType({name:B.name,description:B.description,fields:()=>K(B.inputFields)})}function R(B){if(!B.fields)throw new Error(`Introspection result missing fields: ${(0,pn.inspect)(B)}.`);return(0,f0.keyValMap)(B.fields,Y=>Y.name,P)}function P(B){let Y=u(B.type);if(!(0,dn.isOutputType)(Y)){let _e=(0,pn.inspect)(Y);throw new Error(`Introspection must provide output type for fields, but received: ${_e}.`)}if(!B.args){let _e=(0,pn.inspect)(B);throw new Error(`Introspection result missing field args: ${_e}.`)}return{description:B.description,deprecationReason:B.deprecationReason,type:Y,args:K(B.args)}}function K(B){return(0,f0.keyValMap)(B,Y=>Y.name,W)}function W(B){let Y=u(B.type);if(!(0,dn.isInputType)(Y)){let rt=(0,pn.inspect)(Y);throw new Error(`Introspection must provide input type for arguments, but received: ${rt}.`)}let _e=B.defaultValue!=null?(0,NH.valueFromAST)((0,_H.parseValue)(B.defaultValue),Y):void 0;return{description:B.description,type:Y,defaultValue:_e,deprecationReason:B.deprecationReason}}function ne(B){if(!B.args){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing directive args: ${Y}.`)}if(!B.locations){let Y=(0,pn.inspect)(B);throw new Error(`Introspection result missing directive locations: ${Y}.`)}return new bH.GraphQLDirective({name:B.name,description:B.description,isRepeatable:B.isRepeatable,locations:B.locations.slice(),args:K(B.args)})}}});var Cv=D(v0=>{"use strict";h();m();Object.defineProperty(v0,"__esModule",{value:!0});v0.extendSchema=xH;v0.extendSchemaImpl=YD;var OH=xi(),wH=Je(),RH=_i(),BH=rs(),Yd=L6(),On=Ue(),MD=fo(),Ft=$e(),h0=Yi(),KD=bn(),QD=Mr(),UD=lo(),LH=ku(),HD=Pu(),jD=Vd();function xH(i,e,t){(0,UD.assertSchema)(i),e!=null&&e.kind===On.Kind.DOCUMENT||(0,OH.devAssert)(!1,"Must provide valid Document AST."),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&(0,LH.assertValidSDLExtension)(e,i);let n=i.toConfig(),r=YD(n,e,t);return n===r?i:new UD.GraphQLSchema(r)}function YD(i,e,t){var n,r,a,s;let o=[],u=Object.create(null),p=[],d,l=[];for(let V of e.definitions)if(V.kind===On.Kind.SCHEMA_DEFINITION)d=V;else if(V.kind===On.Kind.SCHEMA_EXTENSION)l.push(V);else if((0,MD.isTypeDefinitionNode)(V))o.push(V);else if((0,MD.isTypeExtensionNode)(V)){let re=V.name.value,X=u[re];u[re]=X?X.concat([V]):[V]}else V.kind===On.Kind.DIRECTIVE_DEFINITION&&p.push(V);if(Object.keys(u).length===0&&o.length===0&&p.length===0&&l.length===0&&d==null)return i;let c=Object.create(null);for(let V of i.types)c[V.name]=N(V);for(let V of o){var v;let re=V.name.value;c[re]=(v=qD[re])!==null&&v!==void 0?v:t2(V)}let y={query:i.query&&T(i.query),mutation:i.mutation&&T(i.mutation),subscription:i.subscription&&T(i.subscription),...d&&_e([d]),..._e(l)};return{description:(n=d)===null||n===void 0||(r=n.description)===null||r===void 0?void 0:r.value,...y,types:Object.values(c),directives:[...i.directives.map(S),...p.map(vn)],extensions:Object.create(null),astNode:(a=d)!==null&&a!==void 0?a:i.astNode,extensionASTNodes:i.extensionASTNodes.concat(l),assumeValid:(s=t?.assumeValid)!==null&&s!==void 0?s:!1};function g(V){return(0,Ft.isListType)(V)?new Ft.GraphQLList(g(V.ofType)):(0,Ft.isNonNullType)(V)?new Ft.GraphQLNonNull(g(V.ofType)):T(V)}function T(V){return c[V.name]}function S(V){let re=V.toConfig();return new h0.GraphQLDirective({...re,args:(0,Yd.mapValue)(re.args,Y)})}function N(V){if((0,KD.isIntrospectionType)(V)||(0,QD.isSpecifiedScalarType)(V))return V;if((0,Ft.isScalarType)(V))return P(V);if((0,Ft.isObjectType)(V))return K(V);if((0,Ft.isInterfaceType)(V))return W(V);if((0,Ft.isUnionType)(V))return ne(V);if((0,Ft.isEnumType)(V))return R(V);if((0,Ft.isInputObjectType)(V))return F(V);(0,RH.invariant)(!1,"Unexpected type: "+(0,wH.inspect)(V))}function F(V){var re;let X=V.toConfig(),ue=(re=u[X.name])!==null&&re!==void 0?re:[];return new Ft.GraphQLInputObjectType({...X,fields:()=>({...(0,Yd.mapValue)(X.fields,dt=>({...dt,type:g(dt.type)})),...Ks(ue)}),extensionASTNodes:X.extensionASTNodes.concat(ue)})}function R(V){var re;let X=V.toConfig(),ue=(re=u[V.name])!==null&&re!==void 0?re:[];return new Ft.GraphQLEnumType({...X,values:{...X.values,...wc(ue)},extensionASTNodes:X.extensionASTNodes.concat(ue)})}function P(V){var re;let X=V.toConfig(),ue=(re=u[X.name])!==null&&re!==void 0?re:[],dt=X.specifiedByURL;for(let ht of ue){var Vt;dt=(Vt=GD(ht))!==null&&Vt!==void 0?Vt:dt}return new Ft.GraphQLScalarType({...X,specifiedByURL:dt,extensionASTNodes:X.extensionASTNodes.concat(ue)})}function K(V){var re;let X=V.toConfig(),ue=(re=u[X.name])!==null&&re!==void 0?re:[];return new Ft.GraphQLObjectType({...X,interfaces:()=>[...V.getInterfaces().map(T),...au(ue)],fields:()=>({...(0,Yd.mapValue)(X.fields,B),...Qi(ue)}),extensionASTNodes:X.extensionASTNodes.concat(ue)})}function W(V){var re;let X=V.toConfig(),ue=(re=u[X.name])!==null&&re!==void 0?re:[];return new Ft.GraphQLInterfaceType({...X,interfaces:()=>[...V.getInterfaces().map(T),...au(ue)],fields:()=>({...(0,Yd.mapValue)(X.fields,B),...Qi(ue)}),extensionASTNodes:X.extensionASTNodes.concat(ue)})}function ne(V){var re;let X=V.toConfig(),ue=(re=u[X.name])!==null&&re!==void 0?re:[];return new Ft.GraphQLUnionType({...X,types:()=>[...V.getTypes().map(T),...Rc(ue)],extensionASTNodes:X.extensionASTNodes.concat(ue)})}function B(V){return{...V,type:g(V.type),args:V.args&&(0,Yd.mapValue)(V.args,Y)}}function Y(V){return{...V,type:g(V.type)}}function _e(V){let re={};for(let ue of V){var X;let dt=(X=ue.operationTypes)!==null&&X!==void 0?X:[];for(let Vt of dt)re[Vt.operation]=rt(Vt.type)}return re}function rt(V){var re;let X=V.name.value,ue=(re=qD[X])!==null&&re!==void 0?re:c[X];if(ue===void 0)throw new Error(`Unknown type: "${X}".`);return ue}function Tt(V){return V.kind===On.Kind.LIST_TYPE?new Ft.GraphQLList(Tt(V.type)):V.kind===On.Kind.NON_NULL_TYPE?new Ft.GraphQLNonNull(Tt(V.type)):rt(V)}function vn(V){var re;return new h0.GraphQLDirective({name:V.name.value,description:(re=V.description)===null||re===void 0?void 0:re.value,locations:V.locations.map(({value:X})=>X),isRepeatable:V.repeatable,args:nn(V.arguments),astNode:V})}function Qi(V){let re=Object.create(null);for(let dt of V){var X;let Vt=(X=dt.fields)!==null&&X!==void 0?X:[];for(let ht of Vt){var ue;re[ht.name.value]={type:Tt(ht.type),description:(ue=ht.description)===null||ue===void 0?void 0:ue.value,args:nn(ht.arguments),deprecationReason:m0(ht),astNode:ht}}}return re}function nn(V){let re=V??[],X=Object.create(null);for(let dt of re){var ue;let Vt=Tt(dt.type);X[dt.name.value]={type:Vt,description:(ue=dt.description)===null||ue===void 0?void 0:ue.value,defaultValue:(0,jD.valueFromAST)(dt.defaultValue,Vt),deprecationReason:m0(dt),astNode:dt}}return X}function Ks(V){let re=Object.create(null);for(let dt of V){var X;let Vt=(X=dt.fields)!==null&&X!==void 0?X:[];for(let ht of Vt){var ue;let Ka=Tt(ht.type);re[ht.name.value]={type:Ka,description:(ue=ht.description)===null||ue===void 0?void 0:ue.value,defaultValue:(0,jD.valueFromAST)(ht.defaultValue,Ka),deprecationReason:m0(ht),astNode:ht}}}return re}function wc(V){let re=Object.create(null);for(let dt of V){var X;let Vt=(X=dt.values)!==null&&X!==void 0?X:[];for(let ht of Vt){var ue;re[ht.name.value]={description:(ue=ht.description)===null||ue===void 0?void 0:ue.value,deprecationReason:m0(ht),astNode:ht}}}return re}function au(V){return V.flatMap(re=>{var X,ue;return(X=(ue=re.interfaces)===null||ue===void 0?void 0:ue.map(rt))!==null&&X!==void 0?X:[]})}function Rc(V){return V.flatMap(re=>{var X,ue;return(X=(ue=re.types)===null||ue===void 0?void 0:ue.map(rt))!==null&&X!==void 0?X:[]})}function t2(V){var re;let X=V.name.value,ue=(re=u[X])!==null&&re!==void 0?re:[];switch(V.kind){case On.Kind.OBJECT_TYPE_DEFINITION:{var dt;let rn=[V,...ue];return new Ft.GraphQLObjectType({name:X,description:(dt=V.description)===null||dt===void 0?void 0:dt.value,interfaces:()=>au(rn),fields:()=>Qi(rn),astNode:V,extensionASTNodes:ue})}case On.Kind.INTERFACE_TYPE_DEFINITION:{var Vt;let rn=[V,...ue];return new Ft.GraphQLInterfaceType({name:X,description:(Vt=V.description)===null||Vt===void 0?void 0:Vt.value,interfaces:()=>au(rn),fields:()=>Qi(rn),astNode:V,extensionASTNodes:ue})}case On.Kind.ENUM_TYPE_DEFINITION:{var ht;let rn=[V,...ue];return new Ft.GraphQLEnumType({name:X,description:(ht=V.description)===null||ht===void 0?void 0:ht.value,values:wc(rn),astNode:V,extensionASTNodes:ue})}case On.Kind.UNION_TYPE_DEFINITION:{var Ka;let rn=[V,...ue];return new Ft.GraphQLUnionType({name:X,description:(Ka=V.description)===null||Ka===void 0?void 0:Ka.value,types:()=>Rc(rn),astNode:V,extensionASTNodes:ue})}case On.Kind.SCALAR_TYPE_DEFINITION:{var Up;return new Ft.GraphQLScalarType({name:X,description:(Up=V.description)===null||Up===void 0?void 0:Up.value,specifiedByURL:GD(V),astNode:V,extensionASTNodes:ue})}case On.Kind.INPUT_OBJECT_TYPE_DEFINITION:{var jp;let rn=[V,...ue];return new Ft.GraphQLInputObjectType({name:X,description:(jp=V.description)===null||jp===void 0?void 0:jp.value,fields:()=>Ks(rn),astNode:V,extensionASTNodes:ue})}}}}var qD=(0,BH.keyMap)([...QD.specifiedScalarTypes,...KD.introspectionTypes],i=>i.name);function m0(i){let e=(0,HD.getDirectiveValues)(h0.GraphQLDeprecatedDirective,i);return e?.reason}function GD(i){let e=(0,HD.getDirectiveValues)(h0.GraphQLSpecifiedByDirective,i);return e?.url}});var WD=D(y0=>{"use strict";h();m();Object.defineProperty(y0,"__esModule",{value:!0});y0.buildASTSchema=zD;y0.buildSchema=qH;var PH=xi(),$H=Ue(),VH=Iu(),kH=Yi(),MH=lo(),UH=ku(),jH=Cv();function zD(i,e){i!=null&&i.kind===$H.Kind.DOCUMENT||(0,PH.devAssert)(!1,"Must provide valid Document AST."),e?.assumeValid!==!0&&e?.assumeValidSDL!==!0&&(0,UH.assertValidSDL)(i);let t={description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},n=(0,jH.extendSchemaImpl)(t,i,e);if(n.astNode==null)for(let a of n.types)switch(a.name){case"Query":n.query=a;break;case"Mutation":n.mutation=a;break;case"Subscription":n.subscription=a;break}let r=[...n.directives,...kH.specifiedDirectives.filter(a=>n.directives.every(s=>s.name!==a.name))];return new MH.GraphQLSchema({...n,directives:r})}function qH(i,e){let t=(0,VH.parse)(i,{noLocation:e?.noLocation,allowLegacyFragmentVariables:e?.allowLegacyFragmentVariables});return zD(t,{assumeValidSDL:e?.assumeValidSDL,assumeValid:e?.assumeValid})}});var ZD=D(wv=>{"use strict";h();m();Object.defineProperty(wv,"__esModule",{value:!0});wv.lexicographicSortSchema=WH;var GH=Je(),KH=_i(),QH=fd(),JD=md(),Pi=$e(),HH=Yi(),YH=bn(),zH=lo();function WH(i){let e=i.toConfig(),t=(0,QH.keyValMap)(Ov(e.types),c=>c.name,l);return new zH.GraphQLSchema({...e,types:Object.values(t),directives:Ov(e.directives).map(s),query:a(e.query),mutation:a(e.mutation),subscription:a(e.subscription)});function n(c){return(0,Pi.isListType)(c)?new Pi.GraphQLList(n(c.ofType)):(0,Pi.isNonNullType)(c)?new Pi.GraphQLNonNull(n(c.ofType)):r(c)}function r(c){return t[c.name]}function a(c){return c&&r(c)}function s(c){let v=c.toConfig();return new HH.GraphQLDirective({...v,locations:XD(v.locations,y=>y),args:o(v.args)})}function o(c){return E0(c,v=>({...v,type:n(v.type)}))}function u(c){return E0(c,v=>({...v,type:n(v.type),args:v.args&&o(v.args)}))}function p(c){return E0(c,v=>({...v,type:n(v.type)}))}function d(c){return Ov(c).map(r)}function l(c){if((0,Pi.isScalarType)(c)||(0,YH.isIntrospectionType)(c))return c;if((0,Pi.isObjectType)(c)){let v=c.toConfig();return new Pi.GraphQLObjectType({...v,interfaces:()=>d(v.interfaces),fields:()=>u(v.fields)})}if((0,Pi.isInterfaceType)(c)){let v=c.toConfig();return new Pi.GraphQLInterfaceType({...v,interfaces:()=>d(v.interfaces),fields:()=>u(v.fields)})}if((0,Pi.isUnionType)(c)){let v=c.toConfig();return new Pi.GraphQLUnionType({...v,types:()=>d(v.types)})}if((0,Pi.isEnumType)(c)){let v=c.toConfig();return new Pi.GraphQLEnumType({...v,values:E0(v.values,y=>y)})}if((0,Pi.isInputObjectType)(c)){let v=c.toConfig();return new Pi.GraphQLInputObjectType({...v,fields:()=>p(v.fields)})}(0,KH.invariant)(!1,"Unexpected type: "+(0,GH.inspect)(c))}}function E0(i,e){let t=Object.create(null);for(let n of Object.keys(i).sort(JD.naturalCompare))t[n]=e(i[n]);return t}function Ov(i){return XD(i,e=>e.name)}function XD(i,e){return i.slice().sort((t,n)=>{let r=e(t),a=e(n);return(0,JD.naturalCompare)(r,a)})}});var sS=D(zd=>{"use strict";h();m();Object.defineProperty(zd,"__esModule",{value:!0});zd.printIntrospectionSchema=nY;zd.printSchema=iY;zd.printType=iS;var JH=Je(),XH=_i(),ZH=ad(),Bv=Ue(),g0=un(),Uu=$e(),Lv=Yi(),eS=bn(),eY=Mr(),tY=Fd();function iY(i){return tS(i,e=>!(0,Lv.isSpecifiedDirective)(e),rY)}function nY(i){return tS(i,Lv.isSpecifiedDirective,eS.isIntrospectionType)}function rY(i){return!(0,eY.isSpecifiedScalarType)(i)&&!(0,eS.isIntrospectionType)(i)}function tS(i,e,t){let n=i.getDirectives().filter(e),r=Object.values(i.getTypeMap()).filter(t);return[aY(i),...n.map(a=>fY(a)),...r.map(a=>iS(a))].filter(Boolean).join(` `)}function aY(i){if(i.description==null&&sY(i))return;let e=[],t=i.getQueryType();t&&e.push(` query: ${t.name}`);let n=i.getMutationType();n&&e.push(` mutation: ${n.name}`);let r=i.getSubscriptionType();return r&&e.push(` subscription: ${r.name}`),wn(i)+`schema { ${e.join(` `)} }`}function sY(i){let e=i.getQueryType();if(e&&e.name!=="Query")return!1;let t=i.getMutationType();if(t&&t.name!=="Mutation")return!1;let n=i.getSubscriptionType();return!(n&&n.name!=="Subscription")}function iS(i){if((0,Uu.isScalarType)(i))return oY(i);if((0,Uu.isObjectType)(i))return uY(i);if((0,Uu.isInterfaceType)(i))return pY(i);if((0,Uu.isUnionType)(i))return dY(i);if((0,Uu.isEnumType)(i))return lY(i);if((0,Uu.isInputObjectType)(i))return cY(i);(0,XH.invariant)(!1,"Unexpected type: "+(0,JH.inspect)(i))}function oY(i){return wn(i)+`scalar ${i.name}`+mY(i)}function nS(i){let e=i.getInterfaces();return e.length?" implements "+e.map(t=>t.name).join(" & "):""}function uY(i){return wn(i)+`type ${i.name}`+nS(i)+rS(i)}function pY(i){return wn(i)+`interface ${i.name}`+nS(i)+rS(i)}function dY(i){let e=i.getTypes(),t=e.length?" = "+e.join(" | "):"";return wn(i)+"union "+i.name+t}function lY(i){let e=i.getValues().map((t,n)=>wn(t," ",!n)+" "+t.name+Pv(t.deprecationReason));return wn(i)+`enum ${i.name}`+xv(e)}function cY(i){let e=Object.values(i.getFields()).map((t,n)=>wn(t," ",!n)+" "+Rv(t));return wn(i)+`input ${i.name}`+xv(e)}function rS(i){let e=Object.values(i.getFields()).map((t,n)=>wn(t," ",!n)+" "+t.name+aS(t.args," ")+": "+String(t.type)+Pv(t.deprecationReason));return xv(e)}function xv(i){return i.length!==0?` { `+i.join(` `)+` }`:""}function aS(i,e=""){return i.length===0?"":i.every(t=>!t.description)?"("+i.map(Rv).join(", ")+")":`( `+i.map((t,n)=>wn(t," "+e,!n)+" "+e+Rv(t)).join(` `)+` `+e+")"}function Rv(i){let e=(0,tY.astFromValue)(i.defaultValue,i.type),t=i.name+": "+String(i.type);return e&&(t+=` = ${(0,g0.print)(e)}`),t+Pv(i.deprecationReason)}function fY(i){return wn(i)+"directive @"+i.name+aS(i.args)+(i.isRepeatable?" repeatable":"")+" on "+i.locations.join(" | ")}function Pv(i){return i==null?"":i!==Lv.DEFAULT_DEPRECATION_REASON?` @deprecated(reason: ${(0,g0.print)({kind:Bv.Kind.STRING,value:i})})`:" @deprecated"}function mY(i){return i.specifiedByURL==null?"":` @specifiedBy(url: ${(0,g0.print)({kind:Bv.Kind.STRING,value:i.specifiedByURL})})`}function wn(i,e="",t=!0){let{description:n}=i;if(n==null)return"";let r=(0,g0.print)({kind:Bv.Kind.STRING,value:n,block:(0,ZH.isPrintableAsBlockString)(n)});return(e&&!t?` `+e:e)+r.replace(/\n/g,` `+e)+` `}});var oS=D($v=>{"use strict";h();m();Object.defineProperty($v,"__esModule",{value:!0});$v.concatAST=vY;var hY=Ue();function vY(i){let e=[];for(let t of i)e.push(...t.definitions);return{kind:hY.Kind.DOCUMENT,definitions:e}}});var dS=D(Vv=>{"use strict";h();m();Object.defineProperty(Vv,"__esModule",{value:!0});Vv.separateOperations=EY;var A0=Ue(),yY=ro();function EY(i){let e=[],t=Object.create(null);for(let r of i.definitions)switch(r.kind){case A0.Kind.OPERATION_DEFINITION:e.push(r);break;case A0.Kind.FRAGMENT_DEFINITION:t[r.name.value]=uS(r.selectionSet);break;default:}let n=Object.create(null);for(let r of e){let a=new Set;for(let o of uS(r.selectionSet))pS(a,t,o);let s=r.name?r.name.value:"";n[s]={kind:A0.Kind.DOCUMENT,definitions:i.definitions.filter(o=>o===r||o.kind===A0.Kind.FRAGMENT_DEFINITION&&a.has(o.name.value))}}return n}function pS(i,e,t){if(!i.has(t)){i.add(t);let n=e[t];if(n!==void 0)for(let r of n)pS(i,e,r)}}function uS(i){let e=[];return(0,yY.visit)(i,{FragmentSpread(t){e.push(t.name.value)}}),e}});var fS=D(Mv=>{"use strict";h();m();Object.defineProperty(Mv,"__esModule",{value:!0});Mv.stripIgnoredCharacters=AY;var gY=ad(),lS=d1(),cS=m1(),kv=od();function AY(i){let e=(0,cS.isSource)(i)?i:new cS.Source(i),t=e.body,n=new lS.Lexer(e),r="",a=!1;for(;n.advance().kind!==kv.TokenKind.EOF;){let s=n.token,o=s.kind,u=!(0,lS.isPunctuatorTokenKind)(s.kind);a&&(u||s.kind===kv.TokenKind.SPREAD)&&(r+=" ");let p=t.slice(s.start,s.end);o===kv.TokenKind.BLOCK_STRING?r+=(0,gY.printBlockString)(s.value,{minimize:!0}):r+=p,a=u}return r}});var hS=D(T0=>{"use strict";h();m();Object.defineProperty(T0,"__esModule",{value:!0});T0.assertValidName=_Y;T0.isValidNameError=mS;var TY=xi(),DY=ye(),SY=hd();function _Y(i){let e=mS(i);if(e)throw e;return i}function mS(i){if(typeof i=="string"||(0,TY.devAssert)(!1,"Expected name to be a string."),i.startsWith("__"))return new DY.GraphQLError(`Name "${i}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,SY.assertName)(i)}catch(e){return e}}});var SS=D(Qr=>{"use strict";h();m();Object.defineProperty(Qr,"__esModule",{value:!0});Qr.DangerousChangeType=Qr.BreakingChangeType=void 0;Qr.findBreakingChanges=OY;Qr.findDangerousChanges=wY;var bY=Je(),TS=_i(),vS=rs(),IY=un(),He=$e(),FY=Mr(),NY=Fd(),CY=H4(),Pt;Qr.BreakingChangeType=Pt;(function(i){i.TYPE_REMOVED="TYPE_REMOVED",i.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",i.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",i.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",i.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",i.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",i.FIELD_REMOVED="FIELD_REMOVED",i.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",i.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",i.ARG_REMOVED="ARG_REMOVED",i.ARG_CHANGED_KIND="ARG_CHANGED_KIND",i.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",i.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",i.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",i.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",i.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"})(Pt||(Qr.BreakingChangeType=Pt={}));var ur;Qr.DangerousChangeType=ur;(function(i){i.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",i.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",i.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",i.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",i.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",i.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"})(ur||(Qr.DangerousChangeType=ur={}));function OY(i,e){return DS(i,e).filter(t=>t.type in Pt)}function wY(i,e){return DS(i,e).filter(t=>t.type in ur)}function DS(i,e){return[...BY(i,e),...RY(i,e)]}function RY(i,e){let t=[],n=wa(i.getDirectives(),e.getDirectives());for(let r of n.removed)t.push({type:Pt.DIRECTIVE_REMOVED,description:`${r.name} was removed.`});for(let[r,a]of n.persisted){let s=wa(r.args,a.args);for(let o of s.added)(0,He.isRequiredArgument)(o)&&t.push({type:Pt.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${o.name} on directive ${r.name} was added.`});for(let o of s.removed)t.push({type:Pt.DIRECTIVE_ARG_REMOVED,description:`${o.name} was removed from ${r.name}.`});r.isRepeatable&&!a.isRepeatable&&t.push({type:Pt.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${r.name}.`});for(let o of r.locations)a.locations.includes(o)||t.push({type:Pt.DIRECTIVE_LOCATION_REMOVED,description:`${o} was removed from ${r.name}.`})}return t}function BY(i,e){let t=[],n=wa(Object.values(i.getTypeMap()),Object.values(e.getTypeMap()));for(let r of n.removed)t.push({type:Pt.TYPE_REMOVED,description:(0,FY.isSpecifiedScalarType)(r)?`Standard scalar ${r.name} was removed because it is not referenced anymore.`:`${r.name} was removed.`});for(let[r,a]of n.persisted)(0,He.isEnumType)(r)&&(0,He.isEnumType)(a)?t.push(...PY(r,a)):(0,He.isUnionType)(r)&&(0,He.isUnionType)(a)?t.push(...xY(r,a)):(0,He.isInputObjectType)(r)&&(0,He.isInputObjectType)(a)?t.push(...LY(r,a)):(0,He.isObjectType)(r)&&(0,He.isObjectType)(a)?t.push(...ES(r,a),...yS(r,a)):(0,He.isInterfaceType)(r)&&(0,He.isInterfaceType)(a)?t.push(...ES(r,a),...yS(r,a)):r.constructor!==a.constructor&&t.push({type:Pt.TYPE_CHANGED_KIND,description:`${r.name} changed from ${gS(r)} to ${gS(a)}.`});return t}function LY(i,e){let t=[],n=wa(Object.values(i.getFields()),Object.values(e.getFields()));for(let r of n.added)(0,He.isRequiredInputField)(r)?t.push({type:Pt.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${r.name} on input type ${i.name} was added.`}):t.push({type:ur.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${r.name} on input type ${i.name} was added.`});for(let r of n.removed)t.push({type:Pt.FIELD_REMOVED,description:`${i.name}.${r.name} was removed.`});for(let[r,a]of n.persisted)Jd(r.type,a.type)||t.push({type:Pt.FIELD_CHANGED_KIND,description:`${i.name}.${r.name} changed type from ${String(r.type)} to ${String(a.type)}.`});return t}function xY(i,e){let t=[],n=wa(i.getTypes(),e.getTypes());for(let r of n.added)t.push({type:ur.TYPE_ADDED_TO_UNION,description:`${r.name} was added to union type ${i.name}.`});for(let r of n.removed)t.push({type:Pt.TYPE_REMOVED_FROM_UNION,description:`${r.name} was removed from union type ${i.name}.`});return t}function PY(i,e){let t=[],n=wa(i.getValues(),e.getValues());for(let r of n.added)t.push({type:ur.VALUE_ADDED_TO_ENUM,description:`${r.name} was added to enum type ${i.name}.`});for(let r of n.removed)t.push({type:Pt.VALUE_REMOVED_FROM_ENUM,description:`${r.name} was removed from enum type ${i.name}.`});return t}function yS(i,e){let t=[],n=wa(i.getInterfaces(),e.getInterfaces());for(let r of n.added)t.push({type:ur.IMPLEMENTED_INTERFACE_ADDED,description:`${r.name} added to interfaces implemented by ${i.name}.`});for(let r of n.removed)t.push({type:Pt.IMPLEMENTED_INTERFACE_REMOVED,description:`${i.name} no longer implements interface ${r.name}.`});return t}function ES(i,e){let t=[],n=wa(Object.values(i.getFields()),Object.values(e.getFields()));for(let r of n.removed)t.push({type:Pt.FIELD_REMOVED,description:`${i.name}.${r.name} was removed.`});for(let[r,a]of n.persisted)t.push(...$Y(i,r,a)),Wd(r.type,a.type)||t.push({type:Pt.FIELD_CHANGED_KIND,description:`${i.name}.${r.name} changed type from ${String(r.type)} to ${String(a.type)}.`});return t}function $Y(i,e,t){let n=[],r=wa(e.args,t.args);for(let a of r.removed)n.push({type:Pt.ARG_REMOVED,description:`${i.name}.${e.name} arg ${a.name} was removed.`});for(let[a,s]of r.persisted)if(!Jd(a.type,s.type))n.push({type:Pt.ARG_CHANGED_KIND,description:`${i.name}.${e.name} arg ${a.name} has changed type from ${String(a.type)} to ${String(s.type)}.`});else if(a.defaultValue!==void 0)if(s.defaultValue===void 0)n.push({type:ur.ARG_DEFAULT_VALUE_CHANGE,description:`${i.name}.${e.name} arg ${a.name} defaultValue was removed.`});else{let u=AS(a.defaultValue,a.type),p=AS(s.defaultValue,s.type);u!==p&&n.push({type:ur.ARG_DEFAULT_VALUE_CHANGE,description:`${i.name}.${e.name} arg ${a.name} has changed defaultValue from ${u} to ${p}.`})}for(let a of r.added)(0,He.isRequiredArgument)(a)?n.push({type:Pt.REQUIRED_ARG_ADDED,description:`A required arg ${a.name} on ${i.name}.${e.name} was added.`}):n.push({type:ur.OPTIONAL_ARG_ADDED,description:`An optional arg ${a.name} on ${i.name}.${e.name} was added.`});return n}function Wd(i,e){return(0,He.isListType)(i)?(0,He.isListType)(e)&&Wd(i.ofType,e.ofType)||(0,He.isNonNullType)(e)&&Wd(i,e.ofType):(0,He.isNonNullType)(i)?(0,He.isNonNullType)(e)&&Wd(i.ofType,e.ofType):(0,He.isNamedType)(e)&&i.name===e.name||(0,He.isNonNullType)(e)&&Wd(i,e.ofType)}function Jd(i,e){return(0,He.isListType)(i)?(0,He.isListType)(e)&&Jd(i.ofType,e.ofType):(0,He.isNonNullType)(i)?(0,He.isNonNullType)(e)&&Jd(i.ofType,e.ofType)||!(0,He.isNonNullType)(e)&&Jd(i.ofType,e):(0,He.isNamedType)(e)&&i.name===e.name}function gS(i){if((0,He.isScalarType)(i))return"a Scalar type";if((0,He.isObjectType)(i))return"an Object type";if((0,He.isInterfaceType)(i))return"an Interface type";if((0,He.isUnionType)(i))return"a Union type";if((0,He.isEnumType)(i))return"an Enum type";if((0,He.isInputObjectType)(i))return"an Input type";(0,TS.invariant)(!1,"Unexpected type: "+(0,bY.inspect)(i))}function AS(i,e){let t=(0,NY.astFromValue)(i,e);return t!=null||(0,TS.invariant)(!1),(0,IY.print)((0,CY.sortValueNode)(t))}function wa(i,e){let t=[],n=[],r=[],a=(0,vS.keyMap)(i,({name:o})=>o),s=(0,vS.keyMap)(e,({name:o})=>o);for(let o of i){let u=s[o.name];u===void 0?n.push(o):r.push([o,u])}for(let o of e)a[o.name]===void 0&&t.push(o);return{added:t,persisted:r,removed:n}}});var FS=D(qe=>{"use strict";h();m();Object.defineProperty(qe,"__esModule",{value:!0});Object.defineProperty(qe,"BreakingChangeType",{enumerable:!0,get:function(){return D0.BreakingChangeType}});Object.defineProperty(qe,"DangerousChangeType",{enumerable:!0,get:function(){return D0.DangerousChangeType}});Object.defineProperty(qe,"TypeInfo",{enumerable:!0,get:function(){return bS.TypeInfo}});Object.defineProperty(qe,"assertValidName",{enumerable:!0,get:function(){return IS.assertValidName}});Object.defineProperty(qe,"astFromValue",{enumerable:!0,get:function(){return YY.astFromValue}});Object.defineProperty(qe,"buildASTSchema",{enumerable:!0,get:function(){return _S.buildASTSchema}});Object.defineProperty(qe,"buildClientSchema",{enumerable:!0,get:function(){return jY.buildClientSchema}});Object.defineProperty(qe,"buildSchema",{enumerable:!0,get:function(){return _S.buildSchema}});Object.defineProperty(qe,"coerceInputValue",{enumerable:!0,get:function(){return zY.coerceInputValue}});Object.defineProperty(qe,"concatAST",{enumerable:!0,get:function(){return WY.concatAST}});Object.defineProperty(qe,"doTypesOverlap",{enumerable:!0,get:function(){return jv.doTypesOverlap}});Object.defineProperty(qe,"extendSchema",{enumerable:!0,get:function(){return qY.extendSchema}});Object.defineProperty(qe,"findBreakingChanges",{enumerable:!0,get:function(){return D0.findBreakingChanges}});Object.defineProperty(qe,"findDangerousChanges",{enumerable:!0,get:function(){return D0.findDangerousChanges}});Object.defineProperty(qe,"getIntrospectionQuery",{enumerable:!0,get:function(){return VY.getIntrospectionQuery}});Object.defineProperty(qe,"getOperationAST",{enumerable:!0,get:function(){return kY.getOperationAST}});Object.defineProperty(qe,"getOperationRootType",{enumerable:!0,get:function(){return MY.getOperationRootType}});Object.defineProperty(qe,"introspectionFromSchema",{enumerable:!0,get:function(){return UY.introspectionFromSchema}});Object.defineProperty(qe,"isEqualType",{enumerable:!0,get:function(){return jv.isEqualType}});Object.defineProperty(qe,"isTypeSubTypeOf",{enumerable:!0,get:function(){return jv.isTypeSubTypeOf}});Object.defineProperty(qe,"isValidNameError",{enumerable:!0,get:function(){return IS.isValidNameError}});Object.defineProperty(qe,"lexicographicSortSchema",{enumerable:!0,get:function(){return GY.lexicographicSortSchema}});Object.defineProperty(qe,"printIntrospectionSchema",{enumerable:!0,get:function(){return Uv.printIntrospectionSchema}});Object.defineProperty(qe,"printSchema",{enumerable:!0,get:function(){return Uv.printSchema}});Object.defineProperty(qe,"printType",{enumerable:!0,get:function(){return Uv.printType}});Object.defineProperty(qe,"separateOperations",{enumerable:!0,get:function(){return JY.separateOperations}});Object.defineProperty(qe,"stripIgnoredCharacters",{enumerable:!0,get:function(){return XY.stripIgnoredCharacters}});Object.defineProperty(qe,"typeFromAST",{enumerable:!0,get:function(){return KY.typeFromAST}});Object.defineProperty(qe,"valueFromAST",{enumerable:!0,get:function(){return QY.valueFromAST}});Object.defineProperty(qe,"valueFromASTUntyped",{enumerable:!0,get:function(){return HY.valueFromASTUntyped}});Object.defineProperty(qe,"visitWithTypeInfo",{enumerable:!0,get:function(){return bS.visitWithTypeInfo}});var VY=_v(),kY=xD(),MY=PD(),UY=$D(),jY=kD(),_S=WD(),qY=Cv(),GY=ZD(),Uv=sS(),KY=Ur(),QY=Vd(),HY=K6(),YY=Fd(),bS=j1(),zY=c3(),WY=oS(),JY=dS(),XY=fS(),jv=Ad(),IS=hS(),D0=SS()});var ft=D(I=>{"use strict";h();m();Object.defineProperty(I,"__esModule",{value:!0});Object.defineProperty(I,"BREAK",{enumerable:!0,get:function(){return Ye.BREAK}});Object.defineProperty(I,"BreakingChangeType",{enumerable:!0,get:function(){return ze.BreakingChangeType}});Object.defineProperty(I,"DEFAULT_DEPRECATION_REASON",{enumerable:!0,get:function(){return H.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(I,"DangerousChangeType",{enumerable:!0,get:function(){return ze.DangerousChangeType}});Object.defineProperty(I,"DirectiveLocation",{enumerable:!0,get:function(){return Ye.DirectiveLocation}});Object.defineProperty(I,"ExecutableDefinitionsRule",{enumerable:!0,get:function(){return Oe.ExecutableDefinitionsRule}});Object.defineProperty(I,"FieldsOnCorrectTypeRule",{enumerable:!0,get:function(){return Oe.FieldsOnCorrectTypeRule}});Object.defineProperty(I,"FragmentsOnCompositeTypesRule",{enumerable:!0,get:function(){return Oe.FragmentsOnCompositeTypesRule}});Object.defineProperty(I,"GRAPHQL_MAX_INT",{enumerable:!0,get:function(){return H.GRAPHQL_MAX_INT}});Object.defineProperty(I,"GRAPHQL_MIN_INT",{enumerable:!0,get:function(){return H.GRAPHQL_MIN_INT}});Object.defineProperty(I,"GraphQLBoolean",{enumerable:!0,get:function(){return H.GraphQLBoolean}});Object.defineProperty(I,"GraphQLDeprecatedDirective",{enumerable:!0,get:function(){return H.GraphQLDeprecatedDirective}});Object.defineProperty(I,"GraphQLDirective",{enumerable:!0,get:function(){return H.GraphQLDirective}});Object.defineProperty(I,"GraphQLEnumType",{enumerable:!0,get:function(){return H.GraphQLEnumType}});Object.defineProperty(I,"GraphQLError",{enumerable:!0,get:function(){return Xd.GraphQLError}});Object.defineProperty(I,"GraphQLFloat",{enumerable:!0,get:function(){return H.GraphQLFloat}});Object.defineProperty(I,"GraphQLID",{enumerable:!0,get:function(){return H.GraphQLID}});Object.defineProperty(I,"GraphQLIncludeDirective",{enumerable:!0,get:function(){return H.GraphQLIncludeDirective}});Object.defineProperty(I,"GraphQLInputObjectType",{enumerable:!0,get:function(){return H.GraphQLInputObjectType}});Object.defineProperty(I,"GraphQLInt",{enumerable:!0,get:function(){return H.GraphQLInt}});Object.defineProperty(I,"GraphQLInterfaceType",{enumerable:!0,get:function(){return H.GraphQLInterfaceType}});Object.defineProperty(I,"GraphQLList",{enumerable:!0,get:function(){return H.GraphQLList}});Object.defineProperty(I,"GraphQLNonNull",{enumerable:!0,get:function(){return H.GraphQLNonNull}});Object.defineProperty(I,"GraphQLObjectType",{enumerable:!0,get:function(){return H.GraphQLObjectType}});Object.defineProperty(I,"GraphQLScalarType",{enumerable:!0,get:function(){return H.GraphQLScalarType}});Object.defineProperty(I,"GraphQLSchema",{enumerable:!0,get:function(){return H.GraphQLSchema}});Object.defineProperty(I,"GraphQLSkipDirective",{enumerable:!0,get:function(){return H.GraphQLSkipDirective}});Object.defineProperty(I,"GraphQLSpecifiedByDirective",{enumerable:!0,get:function(){return H.GraphQLSpecifiedByDirective}});Object.defineProperty(I,"GraphQLString",{enumerable:!0,get:function(){return H.GraphQLString}});Object.defineProperty(I,"GraphQLUnionType",{enumerable:!0,get:function(){return H.GraphQLUnionType}});Object.defineProperty(I,"Kind",{enumerable:!0,get:function(){return Ye.Kind}});Object.defineProperty(I,"KnownArgumentNamesRule",{enumerable:!0,get:function(){return Oe.KnownArgumentNamesRule}});Object.defineProperty(I,"KnownDirectivesRule",{enumerable:!0,get:function(){return Oe.KnownDirectivesRule}});Object.defineProperty(I,"KnownFragmentNamesRule",{enumerable:!0,get:function(){return Oe.KnownFragmentNamesRule}});Object.defineProperty(I,"KnownTypeNamesRule",{enumerable:!0,get:function(){return Oe.KnownTypeNamesRule}});Object.defineProperty(I,"Lexer",{enumerable:!0,get:function(){return Ye.Lexer}});Object.defineProperty(I,"Location",{enumerable:!0,get:function(){return Ye.Location}});Object.defineProperty(I,"LoneAnonymousOperationRule",{enumerable:!0,get:function(){return Oe.LoneAnonymousOperationRule}});Object.defineProperty(I,"LoneSchemaDefinitionRule",{enumerable:!0,get:function(){return Oe.LoneSchemaDefinitionRule}});Object.defineProperty(I,"NoDeprecatedCustomRule",{enumerable:!0,get:function(){return Oe.NoDeprecatedCustomRule}});Object.defineProperty(I,"NoFragmentCyclesRule",{enumerable:!0,get:function(){return Oe.NoFragmentCyclesRule}});Object.defineProperty(I,"NoSchemaIntrospectionCustomRule",{enumerable:!0,get:function(){return Oe.NoSchemaIntrospectionCustomRule}});Object.defineProperty(I,"NoUndefinedVariablesRule",{enumerable:!0,get:function(){return Oe.NoUndefinedVariablesRule}});Object.defineProperty(I,"NoUnusedFragmentsRule",{enumerable:!0,get:function(){return Oe.NoUnusedFragmentsRule}});Object.defineProperty(I,"NoUnusedVariablesRule",{enumerable:!0,get:function(){return Oe.NoUnusedVariablesRule}});Object.defineProperty(I,"OperationTypeNode",{enumerable:!0,get:function(){return Ye.OperationTypeNode}});Object.defineProperty(I,"OverlappingFieldsCanBeMergedRule",{enumerable:!0,get:function(){return Oe.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(I,"PossibleFragmentSpreadsRule",{enumerable:!0,get:function(){return Oe.PossibleFragmentSpreadsRule}});Object.defineProperty(I,"PossibleTypeExtensionsRule",{enumerable:!0,get:function(){return Oe.PossibleTypeExtensionsRule}});Object.defineProperty(I,"ProvidedRequiredArgumentsRule",{enumerable:!0,get:function(){return Oe.ProvidedRequiredArgumentsRule}});Object.defineProperty(I,"ScalarLeafsRule",{enumerable:!0,get:function(){return Oe.ScalarLeafsRule}});Object.defineProperty(I,"SchemaMetaFieldDef",{enumerable:!0,get:function(){return H.SchemaMetaFieldDef}});Object.defineProperty(I,"SingleFieldSubscriptionsRule",{enumerable:!0,get:function(){return Oe.SingleFieldSubscriptionsRule}});Object.defineProperty(I,"Source",{enumerable:!0,get:function(){return Ye.Source}});Object.defineProperty(I,"Token",{enumerable:!0,get:function(){return Ye.Token}});Object.defineProperty(I,"TokenKind",{enumerable:!0,get:function(){return Ye.TokenKind}});Object.defineProperty(I,"TypeInfo",{enumerable:!0,get:function(){return ze.TypeInfo}});Object.defineProperty(I,"TypeKind",{enumerable:!0,get:function(){return H.TypeKind}});Object.defineProperty(I,"TypeMetaFieldDef",{enumerable:!0,get:function(){return H.TypeMetaFieldDef}});Object.defineProperty(I,"TypeNameMetaFieldDef",{enumerable:!0,get:function(){return H.TypeNameMetaFieldDef}});Object.defineProperty(I,"UniqueArgumentDefinitionNamesRule",{enumerable:!0,get:function(){return Oe.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(I,"UniqueArgumentNamesRule",{enumerable:!0,get:function(){return Oe.UniqueArgumentNamesRule}});Object.defineProperty(I,"UniqueDirectiveNamesRule",{enumerable:!0,get:function(){return Oe.UniqueDirectiveNamesRule}});Object.defineProperty(I,"UniqueDirectivesPerLocationRule",{enumerable:!0,get:function(){return Oe.UniqueDirectivesPerLocationRule}});Object.defineProperty(I,"UniqueEnumValueNamesRule",{enumerable:!0,get:function(){return Oe.UniqueEnumValueNamesRule}});Object.defineProperty(I,"UniqueFieldDefinitionNamesRule",{enumerable:!0,get:function(){return Oe.UniqueFieldDefinitionNamesRule}});Object.defineProperty(I,"UniqueFragmentNamesRule",{enumerable:!0,get:function(){return Oe.UniqueFragmentNamesRule}});Object.defineProperty(I,"UniqueInputFieldNamesRule",{enumerable:!0,get:function(){return Oe.UniqueInputFieldNamesRule}});Object.defineProperty(I,"UniqueOperationNamesRule",{enumerable:!0,get:function(){return Oe.UniqueOperationNamesRule}});Object.defineProperty(I,"UniqueOperationTypesRule",{enumerable:!0,get:function(){return Oe.UniqueOperationTypesRule}});Object.defineProperty(I,"UniqueTypeNamesRule",{enumerable:!0,get:function(){return Oe.UniqueTypeNamesRule}});Object.defineProperty(I,"UniqueVariableNamesRule",{enumerable:!0,get:function(){return Oe.UniqueVariableNamesRule}});Object.defineProperty(I,"ValidationContext",{enumerable:!0,get:function(){return Oe.ValidationContext}});Object.defineProperty(I,"ValuesOfCorrectTypeRule",{enumerable:!0,get:function(){return Oe.ValuesOfCorrectTypeRule}});Object.defineProperty(I,"VariablesAreInputTypesRule",{enumerable:!0,get:function(){return Oe.VariablesAreInputTypesRule}});Object.defineProperty(I,"VariablesInAllowedPositionRule",{enumerable:!0,get:function(){return Oe.VariablesInAllowedPositionRule}});Object.defineProperty(I,"__Directive",{enumerable:!0,get:function(){return H.__Directive}});Object.defineProperty(I,"__DirectiveLocation",{enumerable:!0,get:function(){return H.__DirectiveLocation}});Object.defineProperty(I,"__EnumValue",{enumerable:!0,get:function(){return H.__EnumValue}});Object.defineProperty(I,"__Field",{enumerable:!0,get:function(){return H.__Field}});Object.defineProperty(I,"__InputValue",{enumerable:!0,get:function(){return H.__InputValue}});Object.defineProperty(I,"__Schema",{enumerable:!0,get:function(){return H.__Schema}});Object.defineProperty(I,"__Type",{enumerable:!0,get:function(){return H.__Type}});Object.defineProperty(I,"__TypeKind",{enumerable:!0,get:function(){return H.__TypeKind}});Object.defineProperty(I,"assertAbstractType",{enumerable:!0,get:function(){return H.assertAbstractType}});Object.defineProperty(I,"assertCompositeType",{enumerable:!0,get:function(){return H.assertCompositeType}});Object.defineProperty(I,"assertDirective",{enumerable:!0,get:function(){return H.assertDirective}});Object.defineProperty(I,"assertEnumType",{enumerable:!0,get:function(){return H.assertEnumType}});Object.defineProperty(I,"assertEnumValueName",{enumerable:!0,get:function(){return H.assertEnumValueName}});Object.defineProperty(I,"assertInputObjectType",{enumerable:!0,get:function(){return H.assertInputObjectType}});Object.defineProperty(I,"assertInputType",{enumerable:!0,get:function(){return H.assertInputType}});Object.defineProperty(I,"assertInterfaceType",{enumerable:!0,get:function(){return H.assertInterfaceType}});Object.defineProperty(I,"assertLeafType",{enumerable:!0,get:function(){return H.assertLeafType}});Object.defineProperty(I,"assertListType",{enumerable:!0,get:function(){return H.assertListType}});Object.defineProperty(I,"assertName",{enumerable:!0,get:function(){return H.assertName}});Object.defineProperty(I,"assertNamedType",{enumerable:!0,get:function(){return H.assertNamedType}});Object.defineProperty(I,"assertNonNullType",{enumerable:!0,get:function(){return H.assertNonNullType}});Object.defineProperty(I,"assertNullableType",{enumerable:!0,get:function(){return H.assertNullableType}});Object.defineProperty(I,"assertObjectType",{enumerable:!0,get:function(){return H.assertObjectType}});Object.defineProperty(I,"assertOutputType",{enumerable:!0,get:function(){return H.assertOutputType}});Object.defineProperty(I,"assertScalarType",{enumerable:!0,get:function(){return H.assertScalarType}});Object.defineProperty(I,"assertSchema",{enumerable:!0,get:function(){return H.assertSchema}});Object.defineProperty(I,"assertType",{enumerable:!0,get:function(){return H.assertType}});Object.defineProperty(I,"assertUnionType",{enumerable:!0,get:function(){return H.assertUnionType}});Object.defineProperty(I,"assertValidName",{enumerable:!0,get:function(){return ze.assertValidName}});Object.defineProperty(I,"assertValidSchema",{enumerable:!0,get:function(){return H.assertValidSchema}});Object.defineProperty(I,"assertWrappingType",{enumerable:!0,get:function(){return H.assertWrappingType}});Object.defineProperty(I,"astFromValue",{enumerable:!0,get:function(){return ze.astFromValue}});Object.defineProperty(I,"buildASTSchema",{enumerable:!0,get:function(){return ze.buildASTSchema}});Object.defineProperty(I,"buildClientSchema",{enumerable:!0,get:function(){return ze.buildClientSchema}});Object.defineProperty(I,"buildSchema",{enumerable:!0,get:function(){return ze.buildSchema}});Object.defineProperty(I,"coerceInputValue",{enumerable:!0,get:function(){return ze.coerceInputValue}});Object.defineProperty(I,"concatAST",{enumerable:!0,get:function(){return ze.concatAST}});Object.defineProperty(I,"createSourceEventStream",{enumerable:!0,get:function(){return Hr.createSourceEventStream}});Object.defineProperty(I,"defaultFieldResolver",{enumerable:!0,get:function(){return Hr.defaultFieldResolver}});Object.defineProperty(I,"defaultTypeResolver",{enumerable:!0,get:function(){return Hr.defaultTypeResolver}});Object.defineProperty(I,"doTypesOverlap",{enumerable:!0,get:function(){return ze.doTypesOverlap}});Object.defineProperty(I,"execute",{enumerable:!0,get:function(){return Hr.execute}});Object.defineProperty(I,"executeSync",{enumerable:!0,get:function(){return Hr.executeSync}});Object.defineProperty(I,"extendSchema",{enumerable:!0,get:function(){return ze.extendSchema}});Object.defineProperty(I,"findBreakingChanges",{enumerable:!0,get:function(){return ze.findBreakingChanges}});Object.defineProperty(I,"findDangerousChanges",{enumerable:!0,get:function(){return ze.findDangerousChanges}});Object.defineProperty(I,"formatError",{enumerable:!0,get:function(){return Xd.formatError}});Object.defineProperty(I,"getArgumentValues",{enumerable:!0,get:function(){return Hr.getArgumentValues}});Object.defineProperty(I,"getDirectiveValues",{enumerable:!0,get:function(){return Hr.getDirectiveValues}});Object.defineProperty(I,"getEnterLeaveForKind",{enumerable:!0,get:function(){return Ye.getEnterLeaveForKind}});Object.defineProperty(I,"getIntrospectionQuery",{enumerable:!0,get:function(){return ze.getIntrospectionQuery}});Object.defineProperty(I,"getLocation",{enumerable:!0,get:function(){return Ye.getLocation}});Object.defineProperty(I,"getNamedType",{enumerable:!0,get:function(){return H.getNamedType}});Object.defineProperty(I,"getNullableType",{enumerable:!0,get:function(){return H.getNullableType}});Object.defineProperty(I,"getOperationAST",{enumerable:!0,get:function(){return ze.getOperationAST}});Object.defineProperty(I,"getOperationRootType",{enumerable:!0,get:function(){return ze.getOperationRootType}});Object.defineProperty(I,"getVariableValues",{enumerable:!0,get:function(){return Hr.getVariableValues}});Object.defineProperty(I,"getVisitFn",{enumerable:!0,get:function(){return Ye.getVisitFn}});Object.defineProperty(I,"graphql",{enumerable:!0,get:function(){return CS.graphql}});Object.defineProperty(I,"graphqlSync",{enumerable:!0,get:function(){return CS.graphqlSync}});Object.defineProperty(I,"introspectionFromSchema",{enumerable:!0,get:function(){return ze.introspectionFromSchema}});Object.defineProperty(I,"introspectionTypes",{enumerable:!0,get:function(){return H.introspectionTypes}});Object.defineProperty(I,"isAbstractType",{enumerable:!0,get:function(){return H.isAbstractType}});Object.defineProperty(I,"isCompositeType",{enumerable:!0,get:function(){return H.isCompositeType}});Object.defineProperty(I,"isConstValueNode",{enumerable:!0,get:function(){return Ye.isConstValueNode}});Object.defineProperty(I,"isDefinitionNode",{enumerable:!0,get:function(){return Ye.isDefinitionNode}});Object.defineProperty(I,"isDirective",{enumerable:!0,get:function(){return H.isDirective}});Object.defineProperty(I,"isEnumType",{enumerable:!0,get:function(){return H.isEnumType}});Object.defineProperty(I,"isEqualType",{enumerable:!0,get:function(){return ze.isEqualType}});Object.defineProperty(I,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return Ye.isExecutableDefinitionNode}});Object.defineProperty(I,"isInputObjectType",{enumerable:!0,get:function(){return H.isInputObjectType}});Object.defineProperty(I,"isInputType",{enumerable:!0,get:function(){return H.isInputType}});Object.defineProperty(I,"isInterfaceType",{enumerable:!0,get:function(){return H.isInterfaceType}});Object.defineProperty(I,"isIntrospectionType",{enumerable:!0,get:function(){return H.isIntrospectionType}});Object.defineProperty(I,"isLeafType",{enumerable:!0,get:function(){return H.isLeafType}});Object.defineProperty(I,"isListType",{enumerable:!0,get:function(){return H.isListType}});Object.defineProperty(I,"isNamedType",{enumerable:!0,get:function(){return H.isNamedType}});Object.defineProperty(I,"isNonNullType",{enumerable:!0,get:function(){return H.isNonNullType}});Object.defineProperty(I,"isNullableType",{enumerable:!0,get:function(){return H.isNullableType}});Object.defineProperty(I,"isObjectType",{enumerable:!0,get:function(){return H.isObjectType}});Object.defineProperty(I,"isOutputType",{enumerable:!0,get:function(){return H.isOutputType}});Object.defineProperty(I,"isRequiredArgument",{enumerable:!0,get:function(){return H.isRequiredArgument}});Object.defineProperty(I,"isRequiredInputField",{enumerable:!0,get:function(){return H.isRequiredInputField}});Object.defineProperty(I,"isScalarType",{enumerable:!0,get:function(){return H.isScalarType}});Object.defineProperty(I,"isSchema",{enumerable:!0,get:function(){return H.isSchema}});Object.defineProperty(I,"isSelectionNode",{enumerable:!0,get:function(){return Ye.isSelectionNode}});Object.defineProperty(I,"isSpecifiedDirective",{enumerable:!0,get:function(){return H.isSpecifiedDirective}});Object.defineProperty(I,"isSpecifiedScalarType",{enumerable:!0,get:function(){return H.isSpecifiedScalarType}});Object.defineProperty(I,"isType",{enumerable:!0,get:function(){return H.isType}});Object.defineProperty(I,"isTypeDefinitionNode",{enumerable:!0,get:function(){return Ye.isTypeDefinitionNode}});Object.defineProperty(I,"isTypeExtensionNode",{enumerable:!0,get:function(){return Ye.isTypeExtensionNode}});Object.defineProperty(I,"isTypeNode",{enumerable:!0,get:function(){return Ye.isTypeNode}});Object.defineProperty(I,"isTypeSubTypeOf",{enumerable:!0,get:function(){return ze.isTypeSubTypeOf}});Object.defineProperty(I,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return Ye.isTypeSystemDefinitionNode}});Object.defineProperty(I,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return Ye.isTypeSystemExtensionNode}});Object.defineProperty(I,"isUnionType",{enumerable:!0,get:function(){return H.isUnionType}});Object.defineProperty(I,"isValidNameError",{enumerable:!0,get:function(){return ze.isValidNameError}});Object.defineProperty(I,"isValueNode",{enumerable:!0,get:function(){return Ye.isValueNode}});Object.defineProperty(I,"isWrappingType",{enumerable:!0,get:function(){return H.isWrappingType}});Object.defineProperty(I,"lexicographicSortSchema",{enumerable:!0,get:function(){return ze.lexicographicSortSchema}});Object.defineProperty(I,"locatedError",{enumerable:!0,get:function(){return Xd.locatedError}});Object.defineProperty(I,"parse",{enumerable:!0,get:function(){return Ye.parse}});Object.defineProperty(I,"parseConstValue",{enumerable:!0,get:function(){return Ye.parseConstValue}});Object.defineProperty(I,"parseType",{enumerable:!0,get:function(){return Ye.parseType}});Object.defineProperty(I,"parseValue",{enumerable:!0,get:function(){return Ye.parseValue}});Object.defineProperty(I,"print",{enumerable:!0,get:function(){return Ye.print}});Object.defineProperty(I,"printError",{enumerable:!0,get:function(){return Xd.printError}});Object.defineProperty(I,"printIntrospectionSchema",{enumerable:!0,get:function(){return ze.printIntrospectionSchema}});Object.defineProperty(I,"printLocation",{enumerable:!0,get:function(){return Ye.printLocation}});Object.defineProperty(I,"printSchema",{enumerable:!0,get:function(){return ze.printSchema}});Object.defineProperty(I,"printSourceLocation",{enumerable:!0,get:function(){return Ye.printSourceLocation}});Object.defineProperty(I,"printType",{enumerable:!0,get:function(){return ze.printType}});Object.defineProperty(I,"resolveObjMapThunk",{enumerable:!0,get:function(){return H.resolveObjMapThunk}});Object.defineProperty(I,"resolveReadonlyArrayThunk",{enumerable:!0,get:function(){return H.resolveReadonlyArrayThunk}});Object.defineProperty(I,"responsePathAsArray",{enumerable:!0,get:function(){return Hr.responsePathAsArray}});Object.defineProperty(I,"separateOperations",{enumerable:!0,get:function(){return ze.separateOperations}});Object.defineProperty(I,"specifiedDirectives",{enumerable:!0,get:function(){return H.specifiedDirectives}});Object.defineProperty(I,"specifiedRules",{enumerable:!0,get:function(){return Oe.specifiedRules}});Object.defineProperty(I,"specifiedScalarTypes",{enumerable:!0,get:function(){return H.specifiedScalarTypes}});Object.defineProperty(I,"stripIgnoredCharacters",{enumerable:!0,get:function(){return ze.stripIgnoredCharacters}});Object.defineProperty(I,"subscribe",{enumerable:!0,get:function(){return Hr.subscribe}});Object.defineProperty(I,"syntaxError",{enumerable:!0,get:function(){return Xd.syntaxError}});Object.defineProperty(I,"typeFromAST",{enumerable:!0,get:function(){return ze.typeFromAST}});Object.defineProperty(I,"validate",{enumerable:!0,get:function(){return Oe.validate}});Object.defineProperty(I,"validateSchema",{enumerable:!0,get:function(){return H.validateSchema}});Object.defineProperty(I,"valueFromAST",{enumerable:!0,get:function(){return ze.valueFromAST}});Object.defineProperty(I,"valueFromASTUntyped",{enumerable:!0,get:function(){return ze.valueFromASTUntyped}});Object.defineProperty(I,"version",{enumerable:!0,get:function(){return NS.version}});Object.defineProperty(I,"versionInfo",{enumerable:!0,get:function(){return NS.versionInfo}});Object.defineProperty(I,"visit",{enumerable:!0,get:function(){return Ye.visit}});Object.defineProperty(I,"visitInParallel",{enumerable:!0,get:function(){return Ye.visitInParallel}});Object.defineProperty(I,"visitWithTypeInfo",{enumerable:!0,get:function(){return ze.visitWithTypeInfo}});var NS=N5(),CS=yD(),H=AD(),Ye=DD(),Hr=OD(),Oe=BD(),Xd=LD(),ze=FS()});var pr=D(Wt=>{"use strict";h();m();Object.defineProperty(Wt,"__esModule",{value:!0});Wt.typesCanBeMerged=Wt.isStrictSubtype=Wt.isSubtype=Wt.isDirectSubtype=Wt.sameType=Wt.DEFAULT_SUBTYPING_RULES=Wt.ALL_SUBTYPING_RULES=void 0;var hi=bt();Wt.ALL_SUBTYPING_RULES=["direct","nonNullable_downgrade","list_upgrade","list_propagation","nonNullable_propagation"];Wt.DEFAULT_SUBTYPING_RULES=Wt.ALL_SUBTYPING_RULES.filter(i=>i!=="list_upgrade");function Zd(i,e){switch(i.kind){case"ListType":return(0,hi.isListType)(e)&&Zd(i.ofType,e.ofType);case"NonNullType":return(0,hi.isNonNullType)(e)&&Zd(i.ofType,e.ofType);default:return(0,hi.isNamedType)(e)&&i.name===e.name}}Wt.sameType=Zd;function OS(i,e,t=(r,a)=>r.hasTypeMember(a),n=(r,a)=>r.implementsInterface(a)){return(0,hi.isUnionType)(i)?(0,hi.isObjectType)(e)&&t(i,e):n(e,i)}Wt.isDirectSubtype=OS;function ju(i,e,t=Wt.DEFAULT_SUBTYPING_RULES,n=(a,s)=>a.hasTypeMember(s),r=(a,s)=>a.implementsInterface(s)){return Zd(i,e)||wS(i,e,t,n,r)}Wt.isSubtype=ju;function wS(i,e,t=Wt.DEFAULT_SUBTYPING_RULES,n=(a,s)=>a.hasTypeMember(s),r=(a,s)=>a.implementsInterface(s)){switch(e.kind){case"ListType":return t.includes("list_propagation")&&(0,hi.isListType)(i)&&ju(i.ofType,e.ofType,t,n,r);case"NonNullType":return(0,hi.isNonNullType)(i)?t.includes("nonNullable_propagation")&&ju(i.ofType,e.ofType,t,n,r):t.includes("nonNullable_downgrade")&&ju(i,e.ofType,t,n,r);case"ObjectType":case"InterfaceType":return(0,hi.isListType)(i)?t.includes("list_upgrade")&&ju(i.ofType,e,t,n,r):t.includes("direct")&&((0,hi.isInterfaceType)(i)||(0,hi.isUnionType)(i))&&OS(i,e,n,r);default:return(0,hi.isListType)(i)&&t.includes("list_upgrade")&&ju(i.ofType,e,t,n,r)}}Wt.isStrictSubtype=wS;function qv(i,e){return(0,hi.isNonNullType)(i)?(0,hi.isNonNullType)(e)?qv(i.ofType,e.ofType):!1:(0,hi.isListType)(i)?(0,hi.isListType)(e)?qv(i.ofType,e.ofType):!1:(0,hi.isCompositeType)(i)?(0,hi.isCompositeType)(e):Zd(i,e)}Wt.typesCanBeMerged=qv});var Mt=D(ge=>{"use strict";h();m();Object.defineProperty(ge,"__esModule",{value:!0});ge.setsEqual=ge.composeSets=ge.mergeMapOrNull=ge.findLast=ge.isNonEmptyArray=ge.removeArrayElement=ge.isDefined=ge.printHumanReadableList=ge.joinStrings=ge.validateStringContainsBoolean=ge.copyWitNewLength=ge.MapWithCachedArrays=ge.setValues=ge.mapEntries=ge.mapKeys=ge.mapValues=ge.firstOf=ge.isSubset=ge.arrayEquals=ge.OrderedMap=ge.SetMultiMap=ge.MultiMap=ge.assertUnreachable=ge.assert=void 0;function S0(i,e){if(!i)throw new Error(typeof e=="string"?e:e())}ge.assert=S0;function ZY(i){throw new Error("Didn't expect to get here")}ge.assertUnreachable=ZY;var Gv=class extends Map{add(e,t){let n=this.get(e);return n?n.push(t):this.set(e,[t]),this}addAll(e){for(let[t,n]of e.entries())for(let r of n)this.add(t,r);return this}};ge.MultiMap=Gv;var Kv=class extends Map{add(e,t){let n=this.get(e);return n||(n=new Set,this.set(e,n)),n.add(t),this}addAll(e){for(let[t,n]of e.entries())for(let r of n)this.add(t,r);return this}};ge.SetMultiMap=Kv;var el=class{static defaultCompareFn(e,t){return e{let t=this._values.get(e);return S0(t,"value for known key not found in OrderedMap"),t})}insertKeyInOrder(e){let t=0,n=this._keys.length-1;for(;t<=n;){let r=Math.floor((n+t)/2);this._compareFn(this._keys[r],e)<0?t=r+1:n=r-1}this._keys=this._keys.slice(0,t).concat(e).concat(this._keys.slice(t))}*[Symbol.iterator](){for(let e=0;e=i.length,()=>`${e} < ${i.length}`);let t=new Array(e);for(let n=0;nl+c.length>s?{lastIdx:d,length:l}:{lastIdx:d+1,length:l+c.length},{lastIdx:0,length:0}),u=i.slice(0,Math.max(1,o)),p=n?n+" ":t?t+" ":"";return u.length===i.length?p+Hv(u,", ",void 0,r):p+Hv(u,", ",void 0,", ")+", ..."}ge.printHumanReadableList=uz;var pz=i=>i!==void 0;ge.isDefined=pz;function dz(i,e){let t=e.indexOf(i);return t>=0?(e.splice(t,1),!0):!1}ge.removeArrayElement=dz;function lz(i){return i.length>0}ge.isNonEmptyArray=lz;function cz(i,e){for(let t=i.length-1;t>=0;t--){let n=i[t];if(e(n))return n}}ge.findLast=cz;function fz(i,e){return i?e?new Map([...i,...e]):i:e}ge.mergeMapOrNull=fz;function mz(i,e){if(!i&&!e)return null;let t=new Set;return i?.forEach(n=>t.add(n)),e?.forEach(n=>t.add(n)),t}ge.composeSets=mz;function hz(i,e){if(i===e||!i&&!e)return!0;if(!i||!e||i.size!==e.size)return!1;for(let t of i)if(!e.has(t))return!1;return!0}ge.setsEqual=hz});var $i=D(Et=>{"use strict";h();m();Object.defineProperty(Et,"__esModule",{value:!0});Et.REMOVED_ERRORS=Et.ERRORS=Et.ERROR_CATEGORIES=Et.withModifiedErrorNodes=Et.withModifiedErrorMessage=Et.errorCodeDef=Et.errorCode=Et.printErrors=Et.printGraphQLErrorsOrRethrow=Et.errorCauses=Et.aggregateError=Et.extractGraphQLErrorOptions=void 0;var tl=ft(),vz=Mt(),cs="0.x",Q=(i,e,t=To)=>({code:i,description:e,metadata:t,err:(n,r)=>new tl.GraphQLError(n,{...r,extensions:{...r?.extensions,code:i}})});function yz(i){return{nodes:i.nodes,source:i.source,positions:i.positions,path:i.path,originalError:i.originalError,extensions:i.extensions}}Et.extractGraphQLErrorOptions=yz;var _0=class extends tl.GraphQLError{constructor(e,t,n,r){super(t+`. Caused by: `+n.map(a=>a.toString()).join(` `),{...r,extensions:{code:e}}),this.causes=n}toString(){let e=`[${this.extensions.code}] ${super.toString()}`;e+=` caused by:`;for(let t of this.causes)e+=` - `,e+=t.toString().split(` `).join(` `);return e}};function Ez(i,e,t){return new _0(i,e,t)}Et.aggregateError=Ez;function LS(i){if(i instanceof _0)return i.causes;if(i instanceof tl.GraphQLError)return[i]}Et.errorCauses=LS;function gz(i){let e=LS(i);if(!e)throw i;return e.map(t=>t.toString()).join(` `)}Et.printGraphQLErrorsOrRethrow=gz;function Az(i){return i.map(e=>e.toString()).join(` `)}Et.printErrors=Az;var To={addedIn:"2.0.0"},xS=(i,e,t=To)=>({createCode:n=>Q(i(n),e(n),t),get:n=>{let r=VS[i(n)];return(0,vz.assert)(r,`Unexpected element: ${n}`),r}}),qu=(i,e,t=To)=>xS(n=>`${n.toLocaleUpperCase()}_${i}`,e,t);function PS(i){if(!(!i.extensions||!("code"in i.extensions)))return i.extensions.code}Et.errorCode=PS;function Tz(i){let e=typeof i=="string"?i:PS(i);return e?VS[e]:void 0}Et.errorCodeDef=Tz;function Dz(i,e){return new tl.GraphQLError(e,{nodes:i.nodes,source:i.source,positions:i.positions,path:i.path,originalError:i.originalError,extensions:i.extensions})}Et.withModifiedErrorMessage=Dz;function Sz(i,e){return new tl.GraphQLError(i.message,{nodes:e,source:i.source,positions:i.positions,path:i.path,originalError:i.originalError,extensions:i.extensions})}Et.withModifiedErrorNodes=Sz;var _z=Q("INVALID_GRAPHQL","A schema is invalid GraphQL: it violates one of the rule of the specification."),bz=Q("DIRECTIVE_DEFINITION_INVALID","A built-in or federation directive has an invalid definition in the schema.",{...To,replaces:["TAG_DEFINITION_INVALID"]}),Iz=Q("TYPE_DEFINITION_INVALID","A built-in or federation type has an invalid definition in the schema."),Fz=Q("UNSUPPORTED_LINKED_FEATURE","Indicates that a feature used in a @link is either unsupported or is used with unsupported options."),Nz=Q("UNKNOWN_FEDERATION_LINK_VERSION","The version of federation in a @link directive on the schema is unknown."),Cz=Q("UNKNOWN_LINK_VERSION","The version of @link set on the schema is unknown.",{addedIn:"2.1.0"}),Yv=qu("FIELDS_HAS_ARGS",i=>`The \`fields\` argument of a \`@${i}\` directive includes a field defined with arguments (which is not currently supported).`),Oz=Yv.createCode("key"),wz=Yv.createCode("provides"),zv=qu("FIELDS_MISSING_EXTERNAL",i=>`The \`fields\` argument of a \`@${i}\` directive includes a field that is not marked as \`@external\`.`,{addedIn:cs}),Rz=zv.createCode("provides"),Bz=zv.createCode("requires"),b0=qu("UNSUPPORTED_ON_INTERFACE",i=>`A \`@${i}\` directive is used on an interface, which is ${i==="key"?"only supported when @linking to federation 2.3+":"not (yet) supported"}.`),Lz=b0.createCode("key"),xz=b0.createCode("provides"),Pz=b0.createCode("requires"),I0=qu("DIRECTIVE_IN_FIELDS_ARG",i=>`The \`fields\` argument of a \`@${i}\` directive includes some directive applications. This is not supported`,{addedIn:"2.1.0"}),$z=I0.createCode("key"),Vz=I0.createCode("provides"),kz=I0.createCode("requires"),$S=Q("EXTERNAL_UNUSED","An `@external` field is not being used by any instance of `@key`, `@requires`, `@provides` or to satisfy an interface implementation.",{addedIn:cs}),Mz=Q("TYPE_WITH_ONLY_UNUSED_EXTERNAL",`A federation 1 schema has a composite type comprised only of unused external fields. Note that this error can _only_ be raised for federation 1 schema as federation 2 schema do not allow unused external fields (and errors with code ${$S.code} will be raised in that case). But when federation 1 schema are automatically migrated to federation 2 ones, unused external fields are automatically removed, and in rare case this can leave a type empty. If that happens, an error with this code will be raised`),Uz=Q("PROVIDES_ON_NON_OBJECT_FIELD","A `@provides` directive is used to mark a field whose base type is not an object type."),F0=qu("INVALID_FIELDS_TYPE",i=>`The value passed to the \`fields\` argument of a \`@${i}\` directive is not a string.`),jz=F0.createCode("key"),qz=F0.createCode("provides"),Gz=F0.createCode("requires"),N0=qu("INVALID_FIELDS",i=>`The \`fields\` argument of a \`@${i}\` directive is invalid (it has invalid syntax, includes unknown fields, ...).`),Kz=N0.createCode("key"),Qz=N0.createCode("provides"),Hz=N0.createCode("requires"),Yz=Q("KEY_FIELDS_SELECT_INVALID_TYPE","The `fields` argument of `@key` directive includes a field whose type is a list, interface, or union type. Fields of these types cannot be part of a `@key`",{addedIn:cs}),C0=xS(i=>`ROOT_${i.toLocaleUpperCase()}_USED`,i=>`A subgraph's schema defines a type with the name \`${i}\`, while also specifying a _different_ type name as the root query object. This is not allowed.`,{addedIn:cs}),zz=C0.createCode("query"),Wz=C0.createCode("mutation"),Jz=C0.createCode("subscription"),Xz=Q("INVALID_SUBGRAPH_NAME",'A subgraph name is invalid (subgraph names cannot be a single underscore ("_")).'),Zz=Q("NO_QUERIES","None of the composed subgraphs expose any query."),eW=Q("INTERFACE_FIELD_NO_IMPLEM","After subgraph merging, an implementation is missing a field of one of the interface it implements (which can happen for valid subgraphs)."),tW=Q("TYPE_KIND_MISMATCH","A type has the same name in different subgraphs, but a different kind. For instance, one definition is an object type but another is an interface.",{...To,replaces:["VALUE_TYPE_KIND_MISMATCH","EXTENSION_OF_WRONG_KIND","ENUM_MISMATCH_TYPE"]}),iW=Q("CONTEXT_NOT_SET","Context is never set for context trying to be used.",{addedIn:"2.8.0"}),nW=Q("CONTEXT_INVALID_SELECTION","Selection within @fromContext must resolve to a single field.",{addedIn:"2.8.0"}),rW=Q("NO_CONTEXT_IN_SELECTION","Selection in @fromContext field argument does not reference a context.",{addedIn:"2.8.0"}),aW=Q("CONTEXT_NO_RESOLVABLE_KEY","If an ObjectType uses a @fromContext, at least one of its keys must be resolvable.",{addedIn:"2.8.0"}),sW=Q("CONTEXT_NAME_INVALID","Context name is invalid.",{addedIn:"2.8.0"}),oW=Q("EXTERNAL_TYPE_MISMATCH","An `@external` field has a type that is incompatible with the declaration(s) of that field in other subgraphs.",{addedIn:cs}),uW=Q("EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE","The @external directive collides with other directives in some situations.",{addedIn:"2.1.0"}),pW=Q("EXTERNAL_ARGUMENT_MISSING","An `@external` field is missing some arguments present in the declaration(s) of that field in other subgraphs."),dW=Q("EXTERNAL_ARGUMENT_TYPE_MISMATCH","An `@external` field declares an argument with a type that is incompatible with the corresponding argument in the declaration(s) of that field in other subgraphs."),lW=Q("EXTERNAL_ARGUMENT_DEFAULT_MISMATCH","An `@external` field declares an argument with a default that is incompatible with the corresponding argument in the declaration(s) of that field in other subgraphs."),cW=Q("EXTERNAL_ON_INTERFACE",'The field of an interface type is marked with `@external`: as external is about marking field not resolved by the subgraph and as interface field are not resolved (only implementations of those fields are), an "external" interface field is nonsensical'),fW=Q("MERGED_DIRECTIVE_APPLICATION_ON_EXTERNAL","In a subgraph, a field is both marked @external and has a merged directive applied to it"),mW=Q("FIELD_TYPE_MISMATCH","A field has a type that is incompatible with other declarations of that field in other subgraphs.",{...To,replaces:["VALUE_TYPE_FIELD_TYPE_MISMATCH"]}),hW=Q("FIELD_ARGUMENT_TYPE_MISMATCH","An argument (of a field/directive) has a type that is incompatible with that of other declarations of that same argument in other subgraphs.",{...To,replaces:["VALUE_TYPE_INPUT_VALUE_MISMATCH"]}),vW=Q("INPUT_FIELD_DEFAULT_MISMATCH","An input field has a default value that is incompatible with other declarations of that field in other subgraphs."),yW=Q("FIELD_ARGUMENT_DEFAULT_MISMATCH","An argument (of a field/directive) has a default value that is incompatible with that of other declarations of that same argument in other subgraphs."),EW=Q("EXTENSION_WITH_NO_BASE","A subgraph is attempting to `extend` a type that is not originally defined in any known subgraph.",{addedIn:cs}),gW=Q("EXTERNAL_MISSING_ON_BASE","A field is marked as `@external` in a subgraph but with no non-external declaration in any other subgraph.",{addedIn:cs}),AW=Q("INVALID_FIELD_SHARING","A field that is non-shareable in at least one subgraph is resolved by multiple subgraphs."),TW=Q("INVALID_SHAREABLE_USAGE","The `@shareable` federation directive is used in an invalid way.",{addedIn:"2.1.2"}),DW=Q("INVALID_LINK_DIRECTIVE_USAGE","An application of the @link directive is invalid/does not respect the specification."),SW=Q("INVALID_LINK_IDENTIFIER","A url/version for a @link feature is invalid/does not respect the specification.",{addedIn:"2.1.0"}),_W=Q("LINK_IMPORT_NAME_MISMATCH","The import name for a merged directive (as declared by the relevant `@link(import:)` argument) is inconsistent between subgraphs."),bW=Q("REFERENCED_INACCESSIBLE","An element is marked as @inaccessible but is referenced by an element visible in the API schema."),IW=Q("DEFAULT_VALUE_USES_INACCESSIBLE","An element is marked as @inaccessible but is used in the default value of an element visible in the API schema."),FW=Q("QUERY_ROOT_TYPE_INACCESSIBLE","An element is marked as @inaccessible but is the query root type, which must be visible in the API schema."),NW=Q("REQUIRED_INACCESSIBLE","An element is marked as @inaccessible but is required by an element visible in the API schema."),CW=Q("IMPLEMENTED_BY_INACCESSIBLE","An element is marked as @inaccessible but implements an element visible in the API schema."),OW=Q("DISALLOWED_INACCESSIBLE","An element is marked as @inaccessible that is not allowed to be @inaccessible."),wW=Q("ONLY_INACCESSIBLE_CHILDREN","A type visible in the API schema has only @inaccessible children."),RW=Q("REQUIRED_INPUT_FIELD_MISSING_IN_SOME_SUBGRAPH","A field of an input object type is mandatory in some subgraphs, but the field is not defined in all the subgraphs that define the input object type."),BW=Q("REQUIRED_ARGUMENT_MISSING_IN_SOME_SUBGRAPH","An argument of a field or directive definition is mandatory in some subgraphs, but the argument is not defined in all the subgraphs that define the field or directive definition."),LW=Q("EMPTY_MERGED_INPUT_TYPE","An input object type has no field common to all the subgraphs that define the type. Merging that type would result in an invalid empty input object type."),xW=Q("ENUM_VALUE_MISMATCH","An enum type that is used as both an input and output type has a value that is not defined in all the subgraphs that define the enum type."),PW=Q("EMPTY_MERGED_ENUM_TYPE","An enum type has no value common to all the subgraphs that define the type. Merging that type would result in an invalid empty enum type."),$W=Q("SHAREABLE_HAS_MISMATCHED_RUNTIME_TYPES","A shareable field return type has mismatched possible runtime types in the subgraphs in which the field is declared. As shared fields must resolve the same way in all subgraphs, this is almost surely a mistake."),VW=Q("SATISFIABILITY_ERROR","Subgraphs can be merged, but the resulting supergraph API would have queries that cannot be satisfied by those subgraphs."),kW=Q("OVERRIDE_FROM_SELF_ERROR",'Field with `@override` directive has "from" location that references its own subgraph.'),MW=Q("OVERRIDE_SOURCE_HAS_OVERRIDE","Field which is overridden to another subgraph is also marked @override."),UW=Q("OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE","The @override directive cannot be used on external fields, nor to override fields with either @external, @provides, or @requires."),jW=Q("OVERRIDE_ON_INTERFACE","The @override directive cannot be used on the fields of an interface type.",{addedIn:"2.3.0"}),qW=Q("OVERRIDE_LABEL_INVALID","The @override directive `label` argument must match the pattern /^[a-zA-Z][a-zA-Z0-9_-:./]*$/ or /^percent((d{1,2}(.d{1,8})?|100))$/",{addedIn:"2.7.0"}),GW=Q("UNSUPPORTED_FEATURE","Indicates an error due to feature currently unsupported by federation.",{addedIn:"2.1.0"}),KW=Q("INVALID_FEDERATION_SUPERGRAPH","Indicates that a schema provided for an Apollo Federation supergraph is not a valid supergraph schema.",{addedIn:"2.1.0"}),QW=Q("DOWNSTREAM_SERVICE_ERROR","Indicates an error in a subgraph service query during query execution in a federated service.",{addedIn:cs}),HW=Q("DIRECTIVE_COMPOSITION_ERROR","Error when composing custom directives.",{addedIn:"2.1.0"}),YW=Q("INTERFACE_OBJECT_USAGE_ERROR","Error in the usage of the @interfaceObject directive.",{addedIn:"2.3.0"}),zW=Q("INTERFACE_KEY_NOT_ON_IMPLEMENTATION","A `@key` is defined on an interface type, but is not defined (or is not resolvable) on at least one of the interface implementations",{addedIn:"2.3.0"}),WW=Q("INTERFACE_KEY_MISSING_IMPLEMENTATION_TYPE","A subgraph has a `@key` on an interface type, but that subgraph does not define an implementation (in the supergraph) of that interface",{addedIn:"2.3.0"}),JW=Q("SOURCE_FEDERATION_VERSION_REQUIRED","Schemas using `@source{API,Type,Field}` directives must @link-import v2.7 or later of federation",{addedIn:"2.7.1"}),XW=Q("SOURCE_API_NAME_INVALID","Each `@sourceAPI` directive must take a unique and valid name as an argument",{addedIn:"2.7.0"}),ZW=Q("SOURCE_API_PROTOCOL_INVALID","Each `@sourceAPI` directive must specify exactly one of the known protocols",{addedIn:"2.7.0"}),eJ=Q("SOURCE_API_HTTP_BASE_URL_INVALID","The `@sourceAPI` directive must specify a valid http.baseURL",{addedIn:"2.7.0"}),tJ=Q("SOURCE_HTTP_HEADERS_INVALID","The `http.headers` argument of `@source*` directives must specify valid HTTP headers",{addedIn:"2.7.0"}),iJ=Q("SOURCE_TYPE_API_ERROR","The `api` argument of the `@sourceType` directive must match a valid `@sourceAPI` name",{addedIn:"2.7.0"}),nJ=Q("SOURCE_TYPE_PROTOCOL_INVALID","The `@sourceType` directive must specify the same protocol as its corresponding `@sourceAPI`",{addedIn:"2.7.0"}),rJ=Q("SOURCE_TYPE_HTTP_METHOD_INVALID","The `@sourceType` directive must specify exactly one of `http.GET` or `http.POST`",{addedIn:"2.7.0"}),aJ=Q("SOURCE_TYPE_HTTP_PATH_INVALID","The `@sourceType` directive must specify a valid URL template for `http.GET` or `http.POST`",{addedIn:"2.7.0"}),sJ=Q("SOURCE_TYPE_HTTP_BODY_INVALID","If the `@sourceType` specifies `http.body`, it must be a valid `JSONSelection`",{addedIn:"2.7.0"}),oJ=Q("SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY","The `@sourceType` directive must be applied to an object or interface type that also has `@key`",{addedIn:"2.7.0"}),uJ=Q("SOURCE_TYPE_SELECTION_INVALID","The `selection` argument of the `@sourceType` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type"),pJ=Q("SOURCE_FIELD_API_ERROR","The `api` argument of the `@sourceField` directive must match a valid `@sourceAPI` name",{addedIn:"2.7.0"}),dJ=Q("SOURCE_FIELD_PROTOCOL_INVALID","If `@sourceField` specifies a protocol, it must match the corresponding `@sourceAPI` protocol",{addedIn:"2.7.0"}),lJ=Q("SOURCE_FIELD_HTTP_METHOD_INVALID","The `@sourceField` directive must specify at most one of `http.{GET,POST,PUT,PATCH,DELETE}`",{addedIn:"2.7.0"}),cJ=Q("SOURCE_FIELD_HTTP_PATH_INVALID","The `@sourceField` directive must specify a valid URL template for `http.{GET,POST,PUT,PATCH,DELETE}`",{addedIn:"2.7.0"}),fJ=Q("SOURCE_FIELD_HTTP_BODY_INVALID","If `@sourceField` specifies http.body, it must be a valid `JSONSelection` matching available arguments and fields",{addedIn:"2.7.0"}),mJ=Q("SOURCE_FIELD_SELECTION_INVALID","The `selection` argument of the `@sourceField` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type",{addedIn:"2.7.0"}),hJ=Q("SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD","The `@sourceField` directive must be applied to a field of the `Query` or `Mutation` types, or of an entity type",{addedIn:"2.7.0"}),vJ=Q("CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS","Argument on field is marked contextual in only some subgraphs",{addedIn:"2.7.0"}),yJ=Q("COST_APPLIED_TO_INTERFACE_FIELD","The `@cost` directive must be applied to concrete types",{addedIn:"2.9.2"}),EJ=Q("LIST_SIZE_APPLIED_TO_NON_LIST","The `@listSize` directive must be applied to list types",{addedIn:"2.9.2"}),gJ=Q("LIST_SIZE_INVALID_ASSUMED_SIZE","The `@listSize` directive assumed size cannot be negative",{addedIn:"2.9.2"}),AJ=Q("LIST_SIZE_INVALID_SLICING_ARGUMENT","The `@listSize` directive must have existing integer slicing arguments",{addedIn:"2.9.2"}),TJ=Q("LIST_SIZE_INVALID_SIZED_FIELD","The `@listSize` directive must reference existing list fields as sized fields",{addedIn:"2.9.2"});Et.ERROR_CATEGORIES={DIRECTIVE_FIELDS_MISSING_EXTERNAL:zv,DIRECTIVE_UNSUPPORTED_ON_INTERFACE:b0,DIRECTIVE_INVALID_FIELDS_TYPE:F0,DIRECTIVE_INVALID_FIELDS:N0,FIELDS_HAS_ARGS:Yv,ROOT_TYPE_USED:C0,DIRECTIVE_IN_FIELDS_ARG:I0};Et.ERRORS={INVALID_GRAPHQL:_z,DIRECTIVE_DEFINITION_INVALID:bz,TYPE_DEFINITION_INVALID:Iz,UNSUPPORTED_LINKED_FEATURE:Fz,UNKNOWN_FEDERATION_LINK_VERSION:Nz,UNKNOWN_LINK_VERSION:Cz,KEY_FIELDS_HAS_ARGS:Oz,PROVIDES_FIELDS_HAS_ARGS:wz,PROVIDES_MISSING_EXTERNAL:Rz,REQUIRES_MISSING_EXTERNAL:Bz,KEY_UNSUPPORTED_ON_INTERFACE:Lz,PROVIDES_UNSUPPORTED_ON_INTERFACE:xz,REQUIRES_UNSUPPORTED_ON_INTERFACE:Pz,EXTERNAL_UNUSED:$S,EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE:uW,TYPE_WITH_ONLY_UNUSED_EXTERNAL:Mz,PROVIDES_ON_NON_OBJECT_FIELD:Uz,KEY_INVALID_FIELDS_TYPE:jz,PROVIDES_INVALID_FIELDS_TYPE:qz,REQUIRES_INVALID_FIELDS_TYPE:Gz,KEY_INVALID_FIELDS:Kz,PROVIDES_INVALID_FIELDS:Qz,REQUIRES_INVALID_FIELDS:Hz,KEY_FIELDS_SELECT_INVALID_TYPE:Yz,ROOT_QUERY_USED:zz,ROOT_MUTATION_USED:Wz,ROOT_SUBSCRIPTION_USED:Jz,INVALID_SUBGRAPH_NAME:Xz,NO_QUERIES:Zz,INTERFACE_FIELD_NO_IMPLEM:eW,TYPE_KIND_MISMATCH:tW,CONTEXT_NOT_SET:iW,CONTEXT_INVALID_SELECTION:nW,NO_CONTEXT_IN_SELECTION:rW,CONTEXT_NO_RESOLVABLE_KEY:aW,CONTEXT_NAME_INVALID:sW,EXTERNAL_TYPE_MISMATCH:oW,EXTERNAL_ARGUMENT_MISSING:pW,EXTERNAL_ARGUMENT_TYPE_MISMATCH:dW,EXTERNAL_ARGUMENT_DEFAULT_MISMATCH:lW,EXTERNAL_ON_INTERFACE:cW,MERGED_DIRECTIVE_APPLICATION_ON_EXTERNAL:fW,FIELD_TYPE_MISMATCH:mW,ARGUMENT_TYPE_MISMATCH:hW,INPUT_FIELD_DEFAULT_MISMATCH:vW,ARGUMENT_DEFAULT_MISMATCH:yW,EXTENSION_WITH_NO_BASE:EW,EXTERNAL_MISSING_ON_BASE:gW,INVALID_FIELD_SHARING:AW,INVALID_SHAREABLE_USAGE:TW,INVALID_LINK_DIRECTIVE_USAGE:DW,INVALID_LINK_IDENTIFIER:SW,LINK_IMPORT_NAME_MISMATCH:_W,REFERENCED_INACCESSIBLE:bW,DEFAULT_VALUE_USES_INACCESSIBLE:IW,QUERY_ROOT_TYPE_INACCESSIBLE:FW,REQUIRED_INACCESSIBLE:NW,DISALLOWED_INACCESSIBLE:OW,IMPLEMENTED_BY_INACCESSIBLE:CW,ONLY_INACCESSIBLE_CHILDREN:wW,REQUIRED_ARGUMENT_MISSING_IN_SOME_SUBGRAPH:BW,REQUIRED_INPUT_FIELD_MISSING_IN_SOME_SUBGRAPH:RW,EMPTY_MERGED_INPUT_TYPE:LW,ENUM_VALUE_MISMATCH:xW,EMPTY_MERGED_ENUM_TYPE:PW,SHAREABLE_HAS_MISMATCHED_RUNTIME_TYPES:$W,SATISFIABILITY_ERROR:VW,OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE:UW,OVERRIDE_FROM_SELF_ERROR:kW,OVERRIDE_SOURCE_HAS_OVERRIDE:MW,OVERRIDE_ON_INTERFACE:jW,OVERRIDE_LABEL_INVALID:qW,UNSUPPORTED_FEATURE:GW,INVALID_FEDERATION_SUPERGRAPH:KW,DOWNSTREAM_SERVICE_ERROR:QW,KEY_HAS_DIRECTIVE_IN_FIELDS_ARGS:$z,PROVIDES_HAS_DIRECTIVE_IN_FIELDS_ARGS:Vz,REQUIRES_HAS_DIRECTIVE_IN_FIELDS_ARGS:kz,DIRECTIVE_COMPOSITION_ERROR:HW,INTERFACE_OBJECT_USAGE_ERROR:YW,INTERFACE_KEY_NOT_ON_IMPLEMENTATION:zW,INTERFACE_KEY_MISSING_IMPLEMENTATION_TYPE:WW,SOURCE_FEDERATION_VERSION_REQUIRED:JW,SOURCE_API_NAME_INVALID:XW,SOURCE_API_PROTOCOL_INVALID:ZW,SOURCE_API_HTTP_BASE_URL_INVALID:eJ,SOURCE_HTTP_HEADERS_INVALID:tJ,SOURCE_TYPE_API_ERROR:iJ,SOURCE_TYPE_PROTOCOL_INVALID:nJ,SOURCE_TYPE_HTTP_METHOD_INVALID:rJ,SOURCE_TYPE_HTTP_PATH_INVALID:aJ,SOURCE_TYPE_HTTP_BODY_INVALID:sJ,SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY:oJ,SOURCE_TYPE_SELECTION_INVALID:uJ,SOURCE_FIELD_API_ERROR:pJ,SOURCE_FIELD_PROTOCOL_INVALID:dJ,SOURCE_FIELD_HTTP_METHOD_INVALID:lJ,SOURCE_FIELD_HTTP_PATH_INVALID:cJ,SOURCE_FIELD_HTTP_BODY_INVALID:fJ,SOURCE_FIELD_SELECTION_INVALID:mJ,SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD:hJ,CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS:vJ,COST_APPLIED_TO_INTERFACE_FIELD:yJ,LIST_SIZE_APPLIED_TO_NON_LIST:EJ,LIST_SIZE_INVALID_ASSUMED_SIZE:gJ,LIST_SIZE_INVALID_SIZED_FIELD:TJ,LIST_SIZE_INVALID_SLICING_ARGUMENT:AJ};var VS=Object.values(Et.ERRORS).reduce((i,e)=>(i[e.code]=e,i),{});Et.REMOVED_ERRORS=[["KEY_FIELDS_MISSING_ON_BASE","Keys can now use any field from any other subgraph."],["KEY_FIELDS_MISSING_EXTERNAL","Using `@external` for key fields is now discouraged, unless the field is truly meant to be external."],["KEY_MISSING_ON_BASE","Each subgraph is now free to declare a key only if it needs it."],["MULTIPLE_KEYS_ON_EXTENSION","Every subgraph can have multiple keys, as necessary."],["KEY_NOT_SPECIFIED","Each subgraph can declare key independently of any other subgraph."],["EXTERNAL_USED_ON_BASE","As there is not type ownership anymore, there is also no particular limitation as to where a field can be external."],["PROVIDES_NOT_ON_ENTITY","@provides can now be used on any type."],["REQUIRES_FIELDS_MISSING_ON_BASE","Fields in @requires can now be from any subgraph."],["REQUIRES_USED_ON_BASE","As there is not type ownership anymore, there is also no particular limitation as to which subgraph can use a @requires."],["DUPLICATE_SCALAR_DEFINITION","As duplicate scalar definitions is invalid GraphQL, this will now be an error with code `INVALID_GRAPHQL`."],["DUPLICATE_ENUM_DEFINITION","As duplicate enum definitions is invalid GraphQL, this will now be an error with code `INVALID_GRAPHQL`."],["DUPLICATE_ENUM_VALUE","As duplicate enum values is invalid GraphQL, this will now be an error with code `INVALID_GRAPHQL`."],["ENUM_MISMATCH","Subgraph definitions for an enum are now merged by composition."],["VALUE_TYPE_NO_ENTITY","There is no strong different between entity and value types in the model (they are just usage pattern) and a type can have keys in one subgraph but not another."],["VALUE_TYPE_UNION_TYPES_MISMATCH","Subgraph definitions for an union are now merged by composition."],["PROVIDES_FIELDS_SELECT_INVALID_TYPE","@provides can now be used on field of interface, union and list types."],["RESERVED_FIELD_USED","This error was previously not correctly enforced: the _service and _entities, if present, were overridden; this is still the case."],["NON_REPEATABLE_DIRECTIVE_ARGUMENTS_MISMATCH","Since federation 2.1.0, the case this error used to cover is now a warning (with code `INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS`) instead of an error."],["REQUIRES_FIELDS_HAS_ARGS","Since federation 2.1.1, using fields with arguments in a @requires is fully supported."],["INTERFACE_FIELD_IMPLEM_TYPE_MISMATCH","This error was thrown by a validation introduced to avoid running into a known runtime bug. Since federation 2.3, the underlying runtime bug has been addressed and the validation/limitation was no longer necessary and has been removed."]]});var MS=D((a4e,kS)=>{"use strict";h();m();kS.exports=function(){function i(e,t,n,r,a){return en?n+1:e+1:r===a?t:t+1}return function(e,t){if(e===t)return 0;if(e.length>t.length){var n=e;e=t,t=n}for(var r=e.length,a=t.length;r>0&&e.charCodeAt(r-1)===t.charCodeAt(a-1);)r--,a--;for(var s=0;s{"use strict";h();m();var DJ=fs&&fs.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(fs,"__esModule",{value:!0});fs.didYouMean=fs.suggestionList=void 0;var SJ=DJ(MS()),_J=Mt();function bJ(i,e){let t=new Map,n=Math.floor(i.length*.4)+1,r=i.toLowerCase();for(let a of e){let s=r===a.toLowerCase()?1:(0,SJ.default)(i,a);s<=n&&t.set(a,s)}return(0,_J.mapKeys)(t).sort((a,s)=>{let o=t.get(a)-t.get(s);return o!==0?o:a.localeCompare(s)})}fs.suggestionList=bJ;var IJ=5;function FJ(i){let e=" Did you mean ",t=i.map(a=>`"${a}"`);switch(i.length){case 0:return"";case 1:return e+t[0]+"?";case 2:return e+t[0]+" or "+t[1]+"?"}let n=t.slice(0,IJ),r=n.pop();return e+n.join(", ")+", or "+r+"?"}fs.didYouMean=FJ});var il=D((l4e,US)=>{"use strict";h();m();US.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||s.enumerable!==!0)return!1}return!0}});var Yr=D((m4e,jS)=>{"use strict";h();m();var NJ=il();jS.exports=function(){return NJ()&&!!Symbol.toStringTag}});var GS=D((y4e,qS)=>{"use strict";h();m();qS.exports=Error});var QS=D((A4e,KS)=>{"use strict";h();m();KS.exports=EvalError});var YS=D((S4e,HS)=>{"use strict";h();m();HS.exports=RangeError});var WS=D((I4e,zS)=>{"use strict";h();m();zS.exports=ReferenceError});var Wv=D((C4e,JS)=>{"use strict";h();m();JS.exports=SyntaxError});var zr=D((R4e,XS)=>{"use strict";h();m();XS.exports=TypeError});var e_=D((x4e,ZS)=>{"use strict";h();m();ZS.exports=URIError});var O0=D((V4e,i_)=>{"use strict";h();m();var t_=typeof Symbol<"u"&&Symbol,CJ=il();i_.exports=function(){return typeof t_!="function"||typeof Symbol!="function"||typeof t_("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:CJ()}});var a_=D((U4e,r_)=>{"use strict";h();m();var n_={foo:{}},OJ=Object;r_.exports=function(){return{__proto__:n_}.foo===n_.foo&&!({__proto__:null}instanceof OJ)}});var u_=D((G4e,o_)=>{"use strict";h();m();var wJ="Function.prototype.bind called on incompatible ",RJ=Object.prototype.toString,BJ=Math.max,LJ="[object Function]",s_=function(e,t){for(var n=[],r=0;r{"use strict";h();m();var $J=u_();p_.exports=Function.prototype.bind||$J});var R0=D((W4e,d_)=>{"use strict";h();m();var VJ=Function.prototype.call,kJ=Object.prototype.hasOwnProperty,MJ=w0();d_.exports=MJ.call(VJ,kJ)});var Wr=D((Z4e,h_)=>{"use strict";h();m();var xe,UJ=GS(),jJ=QS(),qJ=YS(),GJ=WS(),Hu=Wv(),Qu=zr(),KJ=e_(),m_=Function,Jv=function(i){try{return m_('"use strict"; return ('+i+").constructor;")()}catch{}},So=Object.getOwnPropertyDescriptor;if(So)try{So({},"")}catch{So=null}var Xv=function(){throw new Qu},QJ=So?function(){try{return arguments.callee,Xv}catch{try{return So(arguments,"callee").get}catch{return Xv}}}():Xv,Gu=O0()(),HJ=a_()(),oi=Object.getPrototypeOf||(HJ?function(i){return i.__proto__}:null),Ku={},YJ=typeof Uint8Array>"u"||!oi?xe:oi(Uint8Array),_o={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?xe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?xe:ArrayBuffer,"%ArrayIteratorPrototype%":Gu&&oi?oi([][Symbol.iterator]()):xe,"%AsyncFromSyncIteratorPrototype%":xe,"%AsyncFunction%":Ku,"%AsyncGenerator%":Ku,"%AsyncGeneratorFunction%":Ku,"%AsyncIteratorPrototype%":Ku,"%Atomics%":typeof Atomics>"u"?xe:Atomics,"%BigInt%":typeof BigInt>"u"?xe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?xe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?xe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?xe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":UJ,"%eval%":eval,"%EvalError%":jJ,"%Float32Array%":typeof Float32Array>"u"?xe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?xe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?xe:FinalizationRegistry,"%Function%":m_,"%GeneratorFunction%":Ku,"%Int8Array%":typeof Int8Array>"u"?xe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?xe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?xe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gu&&oi?oi(oi([][Symbol.iterator]())):xe,"%JSON%":typeof JSON=="object"?JSON:xe,"%Map%":typeof Map>"u"?xe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Gu||!oi?xe:oi(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?xe:Promise,"%Proxy%":typeof Proxy>"u"?xe:Proxy,"%RangeError%":qJ,"%ReferenceError%":GJ,"%Reflect%":typeof Reflect>"u"?xe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?xe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Gu||!oi?xe:oi(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?xe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gu&&oi?oi(""[Symbol.iterator]()):xe,"%Symbol%":Gu?Symbol:xe,"%SyntaxError%":Hu,"%ThrowTypeError%":QJ,"%TypedArray%":YJ,"%TypeError%":Qu,"%Uint8Array%":typeof Uint8Array>"u"?xe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?xe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?xe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?xe:Uint32Array,"%URIError%":KJ,"%WeakMap%":typeof WeakMap>"u"?xe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?xe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?xe:WeakSet};if(oi)try{null.error}catch(i){l_=oi(oi(i)),_o["%Error.prototype%"]=l_}var l_,zJ=function i(e){var t;if(e==="%AsyncFunction%")t=Jv("async function () {}");else if(e==="%GeneratorFunction%")t=Jv("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Jv("async function* () {}");else if(e==="%AsyncGenerator%"){var n=i("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=i("%AsyncGenerator%");r&&oi&&(t=oi(r.prototype))}return _o[e]=t,t},c_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},nl=w0(),B0=R0(),WJ=nl.call(Function.call,Array.prototype.concat),JJ=nl.call(Function.apply,Array.prototype.splice),f_=nl.call(Function.call,String.prototype.replace),L0=nl.call(Function.call,String.prototype.slice),XJ=nl.call(Function.call,RegExp.prototype.exec),ZJ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eX=/\\(\\)?/g,tX=function(e){var t=L0(e,0,1),n=L0(e,-1);if(t==="%"&&n!=="%")throw new Hu("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new Hu("invalid intrinsic syntax, expected opening `%`");var r=[];return f_(e,ZJ,function(a,s,o,u){r[r.length]=o?f_(u,eX,"$1"):s||a}),r},iX=function(e,t){var n=e,r;if(B0(c_,n)&&(r=c_[n],n="%"+r[0]+"%"),B0(_o,n)){var a=_o[n];if(a===Ku&&(a=zJ(n)),typeof a>"u"&&!t)throw new Qu("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new Hu("intrinsic "+e+" does not exist!")};h_.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new Qu("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Qu('"allowMissing" argument must be a boolean');if(XJ(/^%?[^%]*%?$/,e)===null)throw new Hu("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=tX(e),r=n.length>0?n[0]:"",a=iX("%"+r+"%",t),s=a.name,o=a.value,u=!1,p=a.alias;p&&(r=p[0],JJ(n,WJ([0,1],p)));for(var d=1,l=!0;d=n.length){var g=So(o,c);l=!!g,l&&"get"in g&&!("originalValue"in g.get)?o=g.get:o=o[c]}else l=B0(o,c),o=o[c];l&&!u&&(_o[s]=o)}}return o}});var P0=D((i3e,v_)=>{"use strict";h();m();var nX=Wr(),x0=nX("%Object.defineProperty%",!0)||!1;if(x0)try{x0({},"a",{value:1})}catch{x0=!1}v_.exports=x0});var E_=D((a3e,y_)=>{"use strict";h();m();y_.exports=Object.getOwnPropertyDescriptor});var Yu=D((u3e,g_)=>{"use strict";h();m();var $0=E_();if($0)try{$0([],"length")}catch{$0=null}g_.exports=$0});var V0=D((l3e,D_)=>{"use strict";h();m();var A_=P0(),rX=Wv(),zu=zr(),T_=Yu();D_.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new zu("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new zu("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new zu("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new zu("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new zu("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new zu("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,o=arguments.length>6?arguments[6]:!1,u=!!T_&&T_(e,t);if(A_)A_(e,t,{configurable:s===null&&u?u.configurable:!s,enumerable:r===null&&u?u.enumerable:!r,value:n,writable:a===null&&u?u.writable:!a});else if(o||!r&&!a&&!s)e[t]=n;else throw new rX("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var k0=D((m3e,__)=>{"use strict";h();m();var Zv=P0(),S_=function(){return!!Zv};S_.hasArrayLengthDefineBug=function(){if(!Zv)return null;try{return Zv([],"length",{value:1}).length!==1}catch{return!0}};__.exports=S_});var C_=D((y3e,N_)=>{"use strict";h();m();var aX=Wr(),b_=V0(),sX=k0()(),I_=Yu(),F_=zr(),oX=aX("%Math.floor%");N_.exports=function(e,t){if(typeof e!="function")throw new F_("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||oX(t)!==t)throw new F_("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in e&&I_){var s=I_(e,"length");s&&!s.configurable&&(r=!1),s&&!s.writable&&(a=!1)}return(r||a||!n)&&(sX?b_(e,"length",t,!0,!0):b_(e,"length",t)),e}});var bo=D((A3e,M0)=>{"use strict";h();m();var ey=w0(),U0=Wr(),uX=C_(),pX=zr(),R_=U0("%Function.prototype.apply%"),B_=U0("%Function.prototype.call%"),L_=U0("%Reflect.apply%",!0)||ey.call(B_,R_),O_=P0(),dX=U0("%Math.max%");M0.exports=function(e){if(typeof e!="function")throw new pX("a function is required");var t=L_(ey,B_,arguments);return uX(t,1+dX(0,e.length-(arguments.length-1)),!0)};var w_=function(){return L_(ey,R_,arguments)};O_?O_(M0.exports,"apply",{value:w_}):M0.exports.apply=w_});var ui=D((S3e,$_)=>{"use strict";h();m();var x_=Wr(),P_=bo(),lX=P_(x_("String.prototype.indexOf"));$_.exports=function(e,t){var n=x_(e,!!t);return typeof n=="function"&&lX(e,".prototype.")>-1?P_(n):n}});var q0=D((I3e,k_)=>{"use strict";h();m();var cX=Yr()(),fX=ui(),ty=fX("Object.prototype.toString"),j0=function(e){return cX&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:ty(e)==="[object Arguments]"},V_=function(e){return j0(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ty(e)!=="[object Array]"&&ty(e.callee)==="[object Function]"},mX=function(){return j0(arguments)}();j0.isLegacyArguments=V_;k_.exports=mX?j0:V_});var j_=D((C3e,U_)=>{"use strict";h();m();var hX=Object.prototype.toString,vX=Function.prototype.toString,yX=/^\s*(?:function)?\*/,M_=Yr()(),iy=Object.getPrototypeOf,EX=function(){if(!M_)return!1;try{return Function("return function*() {}")()}catch{}},ny;U_.exports=function(e){if(typeof e!="function")return!1;if(yX.test(vX.call(e)))return!0;if(!M_){var t=hX.call(e);return t==="[object GeneratorFunction]"}if(!iy)return!1;if(typeof ny>"u"){var n=EX();ny=n?iy(n):!1}return iy(e)===ny}});var Q_=D((R3e,K_)=>{"use strict";h();m();var G_=Function.prototype.toString,Wu=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ry,G0;if(typeof Wu=="function"&&typeof Object.defineProperty=="function")try{ry=Object.defineProperty({},"length",{get:function(){throw G0}}),G0={},Wu(function(){throw 42},null,ry)}catch(i){i!==G0&&(Wu=null)}else Wu=null;var gX=/^\s*class\b/,ay=function(e){try{var t=G_.call(e);return gX.test(t)}catch{return!1}},AX=function(e){try{return ay(e)?!1:(G_.call(e),!0)}catch{return!1}},TX=Object.prototype.toString,DX="[object Function]",SX="[object GeneratorFunction]",_X=typeof Symbol=="function"&&!!Symbol.toStringTag,q_=typeof document=="object"&&typeof document.all>"u"&&document.all!==void 0?document.all:{};K_.exports=Wu?function(e){if(e===q_)return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(typeof e=="function"&&!e.prototype)return!0;try{Wu(e,null,ry)}catch(t){if(t!==G0)return!1}return!ay(e)}:function(e){if(e===q_)return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(typeof e=="function"&&!e.prototype)return!0;if(_X)return AX(e);if(ay(e))return!1;var t=TX.call(e);return t===DX||t===SX}});var sy=D((x3e,Y_)=>{"use strict";h();m();var bX=Q_(),IX=Object.prototype.toString,H_=Object.prototype.hasOwnProperty,FX=function(e,t,n){for(var r=0,a=e.length;r=3&&(r=n),IX.call(e)==="[object Array]"?FX(e,t,r):typeof e=="string"?NX(e,t,r):CX(e,t,r)};Y_.exports=OX});var uy=D((V3e,z_)=>{"use strict";h();m();var oy=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],wX=typeof globalThis>"u"?global:globalThis;z_.exports=function(){for(var e=[],t=0;t{"use strict";h();m();var Q0=sy(),RX=uy(),W_=bo(),ly=ui(),K0=Yu(),BX=ly("Object.prototype.toString"),X_=Yr()(),J_=typeof globalThis>"u"?global:globalThis,dy=RX(),cy=ly("String.prototype.slice"),py=Object.getPrototypeOf,LX=ly("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1?t:t!=="Object"?!1:PX(e)}return K0?xX(e):null}});var ab=D((G3e,rb)=>{"use strict";h();m();var eb=sy(),$X=uy(),hy=ui(),VX=hy("Object.prototype.toString"),tb=Yr()(),Y0=Yu(),kX=typeof globalThis>"u"?global:globalThis,ib=$X(),MX=hy("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return Y0?jX(e):!1}});var gb=D(we=>{"use strict";h();m();var qX=q0(),GX=j_(),dr=fy(),sb=ab();function Ju(i){return i.call.bind(i)}var ob=typeof BigInt<"u",ub=typeof Symbol<"u",Rn=Ju(Object.prototype.toString),KX=Ju(Number.prototype.valueOf),QX=Ju(String.prototype.valueOf),HX=Ju(Boolean.prototype.valueOf);ob&&(pb=Ju(BigInt.prototype.valueOf));var pb;ub&&(db=Ju(Symbol.prototype.valueOf));var db;function al(i,e){if(typeof i!="object")return!1;try{return e(i),!0}catch{return!1}}we.isArgumentsObject=qX;we.isGeneratorFunction=GX;we.isTypedArray=sb;function YX(i){return typeof Promise<"u"&&i instanceof Promise||i!==null&&typeof i=="object"&&typeof i.then=="function"&&typeof i.catch=="function"}we.isPromise=YX;function zX(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):sb(i)||cb(i)}we.isArrayBufferView=zX;function WX(i){return dr(i)==="Uint8Array"}we.isUint8Array=WX;function JX(i){return dr(i)==="Uint8ClampedArray"}we.isUint8ClampedArray=JX;function XX(i){return dr(i)==="Uint16Array"}we.isUint16Array=XX;function ZX(i){return dr(i)==="Uint32Array"}we.isUint32Array=ZX;function eZ(i){return dr(i)==="Int8Array"}we.isInt8Array=eZ;function tZ(i){return dr(i)==="Int16Array"}we.isInt16Array=tZ;function iZ(i){return dr(i)==="Int32Array"}we.isInt32Array=iZ;function nZ(i){return dr(i)==="Float32Array"}we.isFloat32Array=nZ;function rZ(i){return dr(i)==="Float64Array"}we.isFloat64Array=rZ;function aZ(i){return dr(i)==="BigInt64Array"}we.isBigInt64Array=aZ;function sZ(i){return dr(i)==="BigUint64Array"}we.isBigUint64Array=sZ;function z0(i){return Rn(i)==="[object Map]"}z0.working=typeof Map<"u"&&z0(new Map);function oZ(i){return typeof Map>"u"?!1:z0.working?z0(i):i instanceof Map}we.isMap=oZ;function W0(i){return Rn(i)==="[object Set]"}W0.working=typeof Set<"u"&&W0(new Set);function uZ(i){return typeof Set>"u"?!1:W0.working?W0(i):i instanceof Set}we.isSet=uZ;function J0(i){return Rn(i)==="[object WeakMap]"}J0.working=typeof WeakMap<"u"&&J0(new WeakMap);function pZ(i){return typeof WeakMap>"u"?!1:J0.working?J0(i):i instanceof WeakMap}we.isWeakMap=pZ;function yy(i){return Rn(i)==="[object WeakSet]"}yy.working=typeof WeakSet<"u"&&yy(new WeakSet);function dZ(i){return yy(i)}we.isWeakSet=dZ;function X0(i){return Rn(i)==="[object ArrayBuffer]"}X0.working=typeof ArrayBuffer<"u"&&X0(new ArrayBuffer);function lb(i){return typeof ArrayBuffer>"u"?!1:X0.working?X0(i):i instanceof ArrayBuffer}we.isArrayBuffer=lb;function Z0(i){return Rn(i)==="[object DataView]"}Z0.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Z0(new DataView(new ArrayBuffer(1),0,1));function cb(i){return typeof DataView>"u"?!1:Z0.working?Z0(i):i instanceof DataView}we.isDataView=cb;var vy=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function rl(i){return Rn(i)==="[object SharedArrayBuffer]"}function fb(i){return typeof vy>"u"?!1:(typeof rl.working>"u"&&(rl.working=rl(new vy)),rl.working?rl(i):i instanceof vy)}we.isSharedArrayBuffer=fb;function lZ(i){return Rn(i)==="[object AsyncFunction]"}we.isAsyncFunction=lZ;function cZ(i){return Rn(i)==="[object Map Iterator]"}we.isMapIterator=cZ;function fZ(i){return Rn(i)==="[object Set Iterator]"}we.isSetIterator=fZ;function mZ(i){return Rn(i)==="[object Generator]"}we.isGeneratorObject=mZ;function hZ(i){return Rn(i)==="[object WebAssembly.Module]"}we.isWebAssemblyCompiledModule=hZ;function mb(i){return al(i,KX)}we.isNumberObject=mb;function hb(i){return al(i,QX)}we.isStringObject=hb;function vb(i){return al(i,HX)}we.isBooleanObject=vb;function yb(i){return ob&&al(i,pb)}we.isBigIntObject=yb;function Eb(i){return ub&&al(i,db)}we.isSymbolObject=Eb;function vZ(i){return mb(i)||hb(i)||vb(i)||yb(i)||Eb(i)}we.isBoxedPrimitive=vZ;function yZ(i){return typeof Uint8Array<"u"&&(lb(i)||fb(i))}we.isAnyArrayBuffer=yZ;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(we,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})});var Tb=D((W3e,Ab)=>{h();m();Ab.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var Db=D((Z3e,Ey)=>{h();m();typeof Object.create=="function"?Ey.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Ey.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}});var uf=D(Re=>{h();m();var Sb=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=r)return o;switch(o){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch{return"[Circular]"}default:return o}}),s=n[t];t"u")return function(){return Re.deprecate(i,e).apply(this,arguments)};var t=!1;function n(){if(!t){if(process.throwDeprecation)throw new Error(e);process.traceDeprecation?console.trace(e):console.error(e),t=!0}return i.apply(this,arguments)}return n};var ef={},_b=/^$/;process.env.NODE_DEBUG&&(tf=process.env.NODE_DEBUG,tf=tf.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),_b=new RegExp("^"+tf+"$","i"));var tf;Re.debuglog=function(i){if(i=i.toUpperCase(),!ef[i])if(_b.test(i)){var e=process.pid;ef[i]=function(){var t=Re.format.apply(Re,arguments);console.error("%s %d: %s",i,e,t)}}else ef[i]=function(){};return ef[i]};function ms(i,e){var t={seen:[],stylize:AZ};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Dy(e)?t.showHidden=e:e&&Re._extend(t,e),Fo(t.showHidden)&&(t.showHidden=!1),Fo(t.depth)&&(t.depth=2),Fo(t.colors)&&(t.colors=!1),Fo(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=gZ),rf(t,i,t.depth)}Re.inspect=ms;ms.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};ms.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function gZ(i,e){var t=ms.styles[e];return t?"\x1B["+ms.colors[t][0]+"m"+i+"\x1B["+ms.colors[t][1]+"m":i}function AZ(i,e){return i}function TZ(i){var e={};return i.forEach(function(t,n){e[t]=!0}),e}function rf(i,e,t){if(i.customInspect&&e&&nf(e.inspect)&&e.inspect!==Re.inspect&&!(e.constructor&&e.constructor.prototype===e)){var n=e.inspect(t,i);return of(n)||(n=rf(i,n,t)),n}var r=DZ(i,e);if(r)return r;var a=Object.keys(e),s=TZ(a);if(i.showHidden&&(a=Object.getOwnPropertyNames(e)),ol(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return gy(e);if(a.length===0){if(nf(e)){var o=e.name?": "+e.name:"";return i.stylize("[Function"+o+"]","special")}if(sl(e))return i.stylize(RegExp.prototype.toString.call(e),"regexp");if(af(e))return i.stylize(Date.prototype.toString.call(e),"date");if(ol(e))return gy(e)}var u="",p=!1,d=["{","}"];if(bb(e)&&(p=!0,d=["[","]"]),nf(e)){var l=e.name?": "+e.name:"";u=" [Function"+l+"]"}if(sl(e)&&(u=" "+RegExp.prototype.toString.call(e)),af(e)&&(u=" "+Date.prototype.toUTCString.call(e)),ol(e)&&(u=" "+gy(e)),a.length===0&&(!p||e.length==0))return d[0]+u+d[1];if(t<0)return sl(e)?i.stylize(RegExp.prototype.toString.call(e),"regexp"):i.stylize("[Object]","special");i.seen.push(e);var c;return p?c=SZ(i,e,t,s,a):c=a.map(function(v){return Ty(i,e,t,s,v,p)}),i.seen.pop(),_Z(c,u,d)}function DZ(i,e){if(Fo(e))return i.stylize("undefined","undefined");if(of(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return i.stylize(t,"string")}if(Ib(e))return i.stylize(""+e,"number");if(Dy(e))return i.stylize(""+e,"boolean");if(sf(e))return i.stylize("null","null")}function gy(i){return"["+Error.prototype.toString.call(i)+"]"}function SZ(i,e,t,n,r){for(var a=[],s=0,o=e.length;s-1&&(a?o=o.split(` `).map(function(p){return" "+p}).join(` `).slice(2):o=` `+o.split(` `).map(function(p){return" "+p}).join(` `))):o=i.stylize("[Circular]","special")),Fo(s)){if(a&&r.match(/^\d+$/))return o;s=JSON.stringify(""+r),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=i.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=i.stylize(s,"string"))}return s+": "+o}function _Z(i,e,t){var n=0,r=i.reduce(function(a,s){return n++,s.indexOf(` `)>=0&&n++,a+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?t[0]+(e===""?"":e+` `)+" "+i.join(`, `)+" "+t[1]:t[0]+e+" "+i.join(", ")+" "+t[1]}Re.types=gb();function bb(i){return Array.isArray(i)}Re.isArray=bb;function Dy(i){return typeof i=="boolean"}Re.isBoolean=Dy;function sf(i){return i===null}Re.isNull=sf;function bZ(i){return i==null}Re.isNullOrUndefined=bZ;function Ib(i){return typeof i=="number"}Re.isNumber=Ib;function of(i){return typeof i=="string"}Re.isString=of;function IZ(i){return typeof i=="symbol"}Re.isSymbol=IZ;function Fo(i){return i===void 0}Re.isUndefined=Fo;function sl(i){return Xu(i)&&Sy(i)==="[object RegExp]"}Re.isRegExp=sl;Re.types.isRegExp=sl;function Xu(i){return typeof i=="object"&&i!==null}Re.isObject=Xu;function af(i){return Xu(i)&&Sy(i)==="[object Date]"}Re.isDate=af;Re.types.isDate=af;function ol(i){return Xu(i)&&(Sy(i)==="[object Error]"||i instanceof Error)}Re.isError=ol;Re.types.isNativeError=ol;function nf(i){return typeof i=="function"}Re.isFunction=nf;function FZ(i){return i===null||typeof i=="boolean"||typeof i=="number"||typeof i=="string"||typeof i=="symbol"||typeof i>"u"}Re.isPrimitive=FZ;Re.isBuffer=Tb();function Sy(i){return Object.prototype.toString.call(i)}function Ay(i){return i<10?"0"+i.toString(10):i.toString(10)}var NZ=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function CZ(){var i=new Date,e=[Ay(i.getHours()),Ay(i.getMinutes()),Ay(i.getSeconds())].join(":");return[i.getDate(),NZ[i.getMonth()],e].join(" ")}Re.log=function(){console.log("%s - %s",CZ(),Re.format.apply(Re,arguments))};Re.inherits=Db();Re._extend=function(i,e){if(!e||!Xu(e))return i;for(var t=Object.keys(e),n=t.length;n--;)i[t[n]]=e[t[n]];return i};function Fb(i,e){return Object.prototype.hasOwnProperty.call(i,e)}var Io=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Re.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Io&&e[Io]){var t=e[Io];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Io,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var n,r,a=new Promise(function(u,p){n=u,r=p}),s=[],o=0;o{"use strict";h();m();Object.defineProperty(mt,"__esModule",{value:!0});mt.collectVariablesInValue=mt.argumentsFromAST=mt.isValidLeafValue=mt.valueFromASTUntyped=mt.valueFromAST=mt.isValidValueApplication=mt.isValidValue=mt.valueToAST=mt.valueNodeToConstValueNode=mt.withDefaultValues=mt.argumentsEquals=mt.valueEquals=mt.valueToString=void 0;var Te=bt(),oe=ft(),Nb=Do(),_y=uf(),RZ=pr(),Cb=Mt(),Jt=$i(),BZ=2147483647,LZ=-2147483648;function Co(i,e){if(i==null)return"null";if(e&&(0,Te.isNonNullType)(e))return Co(i,e.ofType);if(e&&(0,Te.isCustomScalarType)(e)&&(e=void 0),(0,Te.isVariable)(i))return i.toString();if(Array.isArray(i)){let t;return e&&(0,Te.isListType)(e)&&(t=e.ofType),"["+i.map(n=>Co(n,t)).join(", ")+"]"}if(e&&(0,Te.isListType)(e))return Co(i,e.ofType);if(typeof i=="object")return e&&!(0,Te.isInputObjectType)(e)&&(e=void 0),"{"+Object.keys(i).map(t=>{var n;let r=e?(n=e.field(t))===null||n===void 0?void 0:n.type:void 0;return`${t}: ${Co(i[t],r)}`}).join(", ")+"}";if(typeof i=="string"){if(e){if((0,Te.isEnumType)(e))return e.value(i)?i:JSON.stringify(i);if(e===e.schema().idType()&&ll.test(i))return i}return JSON.stringify(i)}return String(i)}mt.valueToString=Co;function Fy(i,e){return i===e?!0:Array.isArray(i)?Array.isArray(e)&&xZ(i,e):i!==null&&typeof i=="object"?e!==null&&typeof e=="object"&&Ob(i,e):i===e}mt.valueEquals=Fy;function xZ(i,e){if(i.length!==e.length)return!1;for(let t=0;tNo(t,e.ofType)):No(i,e.ofType);if((0,Te.isInputObjectType)(e)){if(typeof i!="object")throw Jt.ERRORS.INVALID_GRAPHQL.err(`Expected value for type ${e} to be an object, but is ${typeof i}.`);let t=Object.create(null);for(let n of e.fields()){if(!n.type)throw Oo(`Cannot compute default value for field ${n.name} of ${e} as the field type is undefined`);let r=i[n.name];if(r===void 0)if(n.defaultValue!==void 0)t[n.name]=No(n.defaultValue,n.type);else if(!(0,Te.isNonNullType)(n.type))t[n.name]=null;else throw Jt.ERRORS.INVALID_GRAPHQL.err(`Required field "${n.name}" of type ${e} was not provided.`);else t[n.name]=No(r,n.type)}for(let n of Object.keys(i))if(!e.field(n)){let r=(0,Nb.suggestionList)(n,e.fields().map(a=>a.name));throw Jt.ERRORS.INVALID_GRAPHQL.err(`Field "${n}" is not defined by type "${e}".`+(0,Nb.didYouMean)(r))}return t}return i}function $Z(i,e){if(!e.type)throw Oo(`Cannot compute default value for argument ${e} as the type is undefined`);if(i===void 0){if(e.defaultValue!==void 0)return No(e.defaultValue,e.type);if((0,Te.isNonNullType)(e.type))throw Jt.ERRORS.INVALID_GRAPHQL.err(`Required argument "${e.coordinate}" was not provided.`);return null}return No(i,e.type)}mt.withDefaultValues=$Z;var ll=/^-?(?:0|[1-9][0-9]*)$/;function VZ(i){return{...i,value:Ny(i.value)}}function Ny(i){if(i.kind===oe.Kind.NULL||i.kind===oe.Kind.INT||i.kind===oe.Kind.FLOAT||i.kind===oe.Kind.STRING||i.kind===oe.Kind.BOOLEAN||i.kind===oe.Kind.ENUM)return i;if(i.kind===oe.Kind.LIST){let e=i.values.map(t=>Ny(t));return{...i,values:e}}if(i.kind===oe.Kind.OBJECT){let e=i.fields.map(t=>VZ(t));return{...i,fields:e}}if(i.kind===oe.Kind.VARIABLE)throw new Error("Unexpected VariableNode in const AST");(0,Cb.assertUnreachable)(i)}mt.valueNodeToConstValueNode=Ny;function ul(i,e){if(i!==void 0){if((0,Te.isNonNullType)(e)){let t=ul(i,e.ofType);if(t?.kind===oe.Kind.NULL)throw Oo(`Invalid null value ${Co(i)} for non-null type ${e}`);return t}if(i===null)return{kind:oe.Kind.NULL};if((0,Te.isVariable)(i))return{kind:oe.Kind.VARIABLE,name:{kind:oe.Kind.NAME,value:i.name}};if((0,Te.isCustomScalarType)(e))return by(i);if((0,Te.isListType)(e)){let t=e.ofType,n=Array.from(i);if(n!=null){let r=[];for(let a of n){let s=ul(a,t);s!=null&&r.push(s)}return{kind:oe.Kind.LIST,values:r}}return ul(i,t)}if((0,Te.isInputObjectType)(e)){if(typeof i!="object")throw Oo(`Invalid non-objet value for input type ${e}, cannot be converted to AST: ${(0,_y.inspect)(i,!0,10,!0)}`);let t=[];for(let n of e.fields()){if(!n.type)throw Oo(`Cannot convert value ${Co(i)} as field ${n} has no type set`);let r=ul(i[n.name],n.type);r&&t.push({kind:oe.Kind.OBJECT_FIELD,name:{kind:oe.Kind.NAME,value:n.name},value:r})}return{kind:oe.Kind.OBJECT,fields:t}}if(typeof i=="boolean")return{kind:oe.Kind.BOOLEAN,value:i};if(typeof i=="number"&&isFinite(i)){let t=String(i);return ll.test(t)?{kind:oe.Kind.INT,value:t}:{kind:oe.Kind.FLOAT,value:t}}if(typeof i=="string")return(0,Te.isEnumType)(e)?{kind:oe.Kind.ENUM,value:i}:e===e.schema().idType()&&ll.test(i)?{kind:oe.Kind.INT,value:i}:{kind:oe.Kind.STRING,value:i};throw Oo(`Invalid value for type ${e}, cannot be converted to AST: ${(0,_y.inspect)(i)}`)}}mt.valueToAST=ul;function by(i){if(i!==void 0){if(i===null)return{kind:oe.Kind.NULL};if((0,Te.isVariable)(i))return{kind:oe.Kind.VARIABLE,name:{kind:oe.Kind.NAME,value:i.name}};if(Array.isArray(i)){let e=[];for(let t of i){let n=by(t);n!==void 0&&e.push(n)}return{kind:oe.Kind.LIST,values:e}}if(typeof i=="object"){let e=[];for(let t of Object.keys(i)){let n=by(i[t]);n&&e.push({kind:oe.Kind.OBJECT_FIELD,name:{kind:oe.Kind.NAME,value:t},value:n})}return{kind:oe.Kind.OBJECT,fields:e}}if(typeof i=="boolean")return{kind:oe.Kind.BOOLEAN,value:i};if(typeof i=="number"&&isFinite(i)){let e=String(i);return ll.test(e)?{kind:oe.Kind.INT,value:e}:{kind:oe.Kind.FLOAT,value:e}}if(typeof i=="string")return{kind:oe.Kind.STRING,value:i};throw Oo(`Invalid value, cannot be converted to AST: ${(0,_y.inspect)(i,!0,10,!0)}`)}}function kZ(i,e,t){let n=i.type;return(0,Te.isNonNullType)(e)&&!(0,Te.isNonNullType)(n)?!(i.defaultValue!==void 0&&i.defaultValue!==null)&&!(t!==void 0)?!1:pl(n,e.ofType):pl(n,e)}function pl(i,e){return(0,Te.isNonNullType)(e)?(0,Te.isNonNullType)(i)?pl(i.ofType,e.ofType):!1:(0,Te.isNonNullType)(i)?pl(i.ofType,e):(0,Te.isListType)(e)?(0,Te.isListType)(i)?pl(i.ofType,e.ofType):!1:!(0,Te.isListType)(i)&&(0,RZ.sameType)(i,e)}function MZ(i,e,t){return Zu(i,e.type,e.defaultValue,t)}mt.isValidValue=MZ;function Zu(i,e,t,n){if((0,Te.isVariable)(i)){let r=n.definition(i);return!!r&&kZ(r,e,t)}if((0,Te.isNonNullType)(e))return i!==null&&Zu(i,e.ofType,void 0,n);if(i==null)return!0;if((0,Te.isListType)(e)){let r=e.ofType;return Array.isArray(i)?i.every(a=>Zu(a,r,void 0,n)):Zu(i,r,t,n)}if((0,Te.isInputObjectType)(e)){if(typeof i!="object")return!1;let r=new Set(Object.keys(i)),a=e.fields().every(o=>(r.delete(o.name),Zu(i[o.name],o.type,o.defaultValue,n))),s=r.size!==0;return a&&!s}return wb(e.schema(),i,e)}mt.isValidValueApplication=Zu;function dl(i,e){if(i.kind===oe.Kind.NULL){if((0,Te.isNonNullType)(e))throw Jt.ERRORS.INVALID_GRAPHQL.err(`Invalid null value for non-null type "${e}"`);return null}if(i.kind===oe.Kind.VARIABLE)return new Te.Variable(i.name.value);if((0,Te.isNonNullType)(e)&&(e=e.ofType),(0,Te.isListType)(e)){let t=e.ofType;return i.kind===oe.Kind.LIST?i.values.map(n=>dl(n,t)):[dl(i,t)]}if((0,Te.isIntType)(e)){if(i.kind!==oe.Kind.INT)throw Jt.ERRORS.INVALID_GRAPHQL.err(`Int cannot represent non-integer value ${(0,oe.print)(i)}.`);let t=parseInt(i.value,10);if(t>BZ||t`Unexpected input type ${e} of kind ${e.kind}.`)}mt.valueFromAST=dl;function pf(i){switch(i.kind){case oe.Kind.NULL:return null;case oe.Kind.INT:return parseInt(i.value,10);case oe.Kind.FLOAT:return parseFloat(i.value);case oe.Kind.STRING:case oe.Kind.ENUM:case oe.Kind.BOOLEAN:return i.value;case oe.Kind.LIST:return i.values.map(pf);case oe.Kind.OBJECT:let e=Object.create(null);return i.fields.forEach(t=>e[t.name.value]=pf(t.value)),e;case oe.Kind.VARIABLE:return new Te.Variable(i.name.value)}}mt.valueFromASTUntyped=pf;function wb(i,e,t){if((0,Te.isCustomScalarType)(t))return!0;if(typeof e=="boolean")return t===i.booleanType();if(typeof e=="number"&&isFinite(e)){let n=String(e);return t===i.intType()||t===i.idType()?ll.test(n):t===i.floatType()}return typeof e=="string"?(0,Te.isEnumType)(t)?t.value(e)!==void 0:t!==i.booleanType()&&t!==i.intType()&&t!==i.floatType():!1}mt.isValidLeafValue=wb;function UZ(i,e,t){var n;if(!e||e.length===0)return;let r=Object.create(null);for(let a of e){let s=a.name.value,o=(n=t.argument(s))===null||n===void 0?void 0:n.type;if(!o)throw Jt.ERRORS.INVALID_GRAPHQL.err(`Unknown argument "${s}" found in value: "${i}" has no argument named "${s}"`);try{r[s]=dl(a.value,o)}catch(u){throw u instanceof oe.GraphQLError?Jt.ERRORS.INVALID_GRAPHQL.err(`Invalid value for argument "${s}": ${u.message}`):u}}return r}mt.argumentsFromAST=UZ;function Iy(i,e){if((0,Te.isVariable)(i)){e.add(i);return}i&&(Array.isArray(i)&&i.forEach(t=>Iy(t,e)),typeof i=="object"&&Object.keys(i).forEach(t=>Iy(i[t],e)))}mt.collectVariablesInValue=Iy});var Vi=D(Jr=>{"use strict";h();m();Object.defineProperty(Jr,"__esModule",{value:!0});Jr.unregisterKnownFeatures=Jr.validateKnownFeatures=Jr.coreFeatureDefinitionIfKnown=Jr.registerKnownFeature=void 0;var jZ=vi(),cl=new Map;function qZ(i){cl.has(i.identity)||cl.set(i.identity,i)}Jr.registerKnownFeature=qZ;function GZ(i){var e;return(e=cl.get(i.identity))===null||e===void 0?void 0:e.find(i.version)}Jr.coreFeatureDefinitionIfKnown=GZ;function KZ(i,e=[]){return cl.forEach(t=>{let n=t.latest();n.validateSubgraphSchema!==jZ.FeatureDefinition.prototype.validateSubgraphSchema&&e.push(...n.validateSubgraphSchema(i))}),e}Jr.validateKnownFeatures=KZ;function QZ(i){cl.delete(i.identity)}Jr.unregisterKnownFeatures=QZ});var Ji=D(Bn=>{"use strict";h();m();Object.defineProperty(Bn,"__esModule",{value:!0});Bn.createEnumTypeSpecification=Bn.createUnionTypeSpecification=Bn.createObjectTypeSpecification=Bn.createScalarTypeSpecification=Bn.createDirectiveSpecification=void 0;var HZ=ft(),qt=bt(),Ln=$i(),Cy=lr(),Rb=pr(),cr=Mt();function YZ({name:i,locations:e,repeatable:t=!1,args:n=[],composes:r=!1,supergraphSpecification:a=void 0,staticArgumentTransform:s=void 0}){let o;if(r){(0,cr.assert)(a,`Should provide a @link specification to use in supergraph for directive @${i} if it composes`);let u=new Map(n.filter(d=>d.compositionStrategy).map(d=>[d.name,d.compositionStrategy])),p;u.size>0&&((0,cr.assert)(!t,()=>`Invalid directive specification for @${i}: @${i} is repeatable and should not define composition strategy for its arguments`),(0,cr.assert)(u.size===n.length,()=>`Invalid directive specification for @${i}: not all arguments define a composition strategy`),p=(d,l)=>{for(let{name:c,type:v}of n){let y=u.get(c);(0,cr.assert)(y,()=>`Should have a strategy for ${c}`);let g=v(d,l);(0,cr.assert)(!Array.isArray(g),()=>`Should have gotten error getting type for @${i}(${c}:), but got ${g}`);let{valid:T,supportedMsg:S}=y.isTypeSupported(d,g);if(!T)return new HZ.GraphQLError(`Invalid composition strategy ${y.name} for argument @${i}(${c}:) of type ${g}; ${y.name} only supports ${S}`)}return{merge:(c,v)=>{let y=u.get(c);return(0,cr.assert)(y,()=>`Should have a strategy for ${c}`),y.mergeValues(v)},toString:()=>u.size===0?"":"{ "+[...u.entries()].map(([c,v])=>`"${c}": ${v.name}`).join(", ")+" }"}}),o={supergraphSpecification:a,argumentsMerger:p,staticArgumentTransform:s}}return{name:i,composition:o,checkOrAdd:(u,p,d)=>{var l;let c=(l=p?.directiveNameInSchema(i))!==null&&l!==void 0?l:i,{resolvedArgs:v,errors:y}=n.reduce(({resolvedArgs:T,errors:S},N)=>{let F=N.type(u,p);return Array.isArray(F)?S.push(...F):T.push({...N,type:F}),{resolvedArgs:T,errors:S}},{resolvedArgs:[],errors:[]});if(y.length>0)return y;let g=u.directive(c);if(g)return ZZ({name:c,locations:e,repeatable:t,args:v},g);{let T=u.addDirectiveDefinition(new qt.DirectiveDefinition(c,d));T.repeatable=t,T.addLocations(...e);for(let{name:S,type:N,defaultValue:F}of v)T.addArgument(S,N,F);return[]}}}}Bn.createDirectiveSpecification=YZ;function zZ({name:i}){return{name:i,checkOrAdd:(e,t,n)=>{var r;let a=(r=t?.typeNameInSchema(i))!==null&&r!==void 0?r:i,s=e.type(a);return s?df("ScalarType",s):(e.addType(new qt.ScalarType(a,n)),[])}}}Bn.createScalarTypeSpecification=zZ;function WZ({name:i,fieldsFct:e}){return{name:i,checkOrAdd:(t,n,r)=>{var a;let s=(a=n?.typeNameInSchema(i))!==null&&a!==void 0?a:i,o=e(t),u=t.type(s);if(u){let p=df("ObjectType",u);if(p.length>0)return p;(0,cr.assert)((0,qt.isObjectType)(u),"Should be an object type");for(let{name:d,type:l,args:c}of o){let v=u.field(d);if(!v){p=p.concat(Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${d}: missing field ${d}`,{nodes:u.sourceAST}));continue}let y=v.type;!(0,qt.isNonNullType)(l)&&(0,qt.isNonNullType)(y)&&(y=y.ofType),(0,Rb.sameType)(l,y)||(p=p.concat(Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for field ${d} of type ${d}: should have type ${l} but found type ${v.type}`,{nodes:v.sourceAST}))),p=p.concat(Bb({name:d,args:c},v,`field "${v.coordinate}"`))}return p}else{let p=t.addType(new qt.ObjectType(s,r));for(let{name:d,type:l,args:c}of o){let v=p.addField(d,l);for(let{name:y,type:g,defaultValue:T}of c??[])v.addArgument(y,g,T)}return[]}}}}Bn.createObjectTypeSpecification=WZ;function JZ({name:i,membersFct:e}){return{name:i,checkOrAdd:(t,n,r)=>{var a;let s=(a=n?.typeNameInSchema(i))!==null&&a!==void 0?a:i,o=t.type(s),u=e(t).sort((p,d)=>p.localeCompare(d));if(u.length===0)return o?[Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${i}: expected the union type to not exist/have no members but it is defined.`,{nodes:o.sourceAST})]:[];if(o){let p=df("UnionType",o);if(p.length>0)return p;(0,cr.assert)((0,qt.isUnionType)(o),"Should be an union type");let d=o.members().map(l=>l.type.name).sort((l,c)=>l.localeCompare(c));return(0,cr.arrayEquals)(u,d)||(p=p.concat(Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${i}: expected members [${u}] but found [${d}].`,{nodes:o.sourceAST}))),p}else{let p=t.addType(new qt.UnionType(s,r));for(let d of u)p.addType(d);return[]}}}}Bn.createUnionTypeSpecification=JZ;function XZ({name:i,values:e}){return{name:i,checkOrAdd:(t,n,r)=>{var a;let s=(a=n?.typeNameInSchema(i))!==null&&a!==void 0?a:i,o=t.type(s),u=e.map(p=>p.name).sort((p,d)=>p.localeCompare(d));if(o){let p=df("EnumType",o);if(p.length>0)return p;(0,cr.assert)((0,qt.isEnumType)(o),"Should be an enum type");let d=o.values.map(l=>l.name).sort((l,c)=>l.localeCompare(c));return(0,cr.arrayEquals)(u,d)||(p=p.concat(Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for type "${i}": expected values [${u.join(", ")}] but found [${d.join(", ")}].`,{nodes:o.sourceAST}))),p}else{let p=t.addType(new qt.EnumType(s,r));for(let{name:d,description:l}of e)p.addValue(d).description=l;return[]}}}}Bn.createEnumTypeSpecification=XZ;function df(i,e){return i===e.kind?[]:[Ln.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for type ${e.name}: ${e.name} should be a ${i} but is defined as a ${e.kind}`,{nodes:e.sourceAST})]}function ZZ(i,e){let t=`"@${i.name}"`,n=Bb(i,e,`directive ${t}`);return!i.repeatable&&e.repeatable&&(n=n.concat(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for directive ${t}: ${t} should${i.repeatable?"":" not"} be repeatable`,{nodes:e.sourceAST}))),e.locations.every(r=>i.locations.includes(r))||(n=n.concat(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for directive ${t}: ${t} should have locations ${i.locations.join(", ")}, but found (non-subset) ${e.locations.join(", ")}`,{nodes:e.sourceAST}))),n}function Bb(i,e,t,n){var r;let a=(r=i.args)!==null&&r!==void 0?r:[],s=[];for(let{name:o,type:u,defaultValue:p}of a){let d=e.argument(o);if(!d){(0,qt.isNonNullType)(u)&&p===void 0&&s.push(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: missing required argument "${o}"`,{nodes:n}));continue}let l=d.type;(0,qt.isNonNullType)(l)&&!(0,qt.isNonNullType)(u)&&(l=l.ofType),!(0,Rb.sameType)(u,l)&&!Oy(u,l)?s.push(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: argument "${o}" should have type "${u}" but found type "${d.type}"`,{nodes:d.sourceAST})):!(0,qt.isNonNullType)(d.type)&&!(0,Cy.valueEquals)(p,d.defaultValue)&&s.push(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: argument "${o}" should have default value ${(0,Cy.valueToString)(p)} but found default value ${(0,Cy.valueToString)(d.defaultValue)}`,{nodes:d.sourceAST}))}for(let o of e.arguments())a.some(u=>u.name===o.name)||s.push(Ln.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: unknown/unsupported argument "${o.name}"`,{nodes:o.sourceAST}));return s}function Oy(i,e){return(0,qt.isListType)(i)?(0,qt.isListType)(e)&&Oy(i.ofType,e.ofType):(0,qt.isNonNullType)(i)?(0,qt.isNonNullType)(e)&&Oy(i.ofType,e.ofType):(0,qt.isCustomScalarType)(i)&&!(0,qt.isCustomScalarType)(e)}});var vi=D(Ae=>{"use strict";h();m();Object.defineProperty(Ae,"__esModule",{value:!0});Ae.removeAllCoreFeatures=Ae.LINK_VERSIONS=Ae.CORE_VERSIONS=Ae.findCoreSpecVersion=Ae.FeatureUrl=Ae.FeatureVersion=Ae.FeatureDefinitions=Ae.CoreSpecDefinition=Ae.isCoreSpecDirectiveApplication=Ae.extractCoreFeatureImports=Ae.FeatureDefinition=Ae.corePurposes=Ae.ErrCoreCheckFailed=Ae.linkDirectiveDefaultName=Ae.linkIdentity=Ae.coreIdentity=void 0;var lf=ft(),eee=Z2(),Ra=bt(),wy=pr(),Xr=Mt(),ki=$i(),fl=lr(),Ry=Vi(),Lb=Do(),By=Ji();Ae.coreIdentity="https://specs.apollo.dev/core";Ae.linkIdentity="https://specs.apollo.dev/link";Ae.linkDirectiveDefaultName="link";var tee=i=>(0,ki.aggregateError)("CheckFailed","one or more checks failed",i);Ae.ErrCoreCheckFailed=tee;function cf(i){return new Error(i)}Ae.corePurposes=["SECURITY","EXECUTION"];function iee(i){switch(i){case"SECURITY":return"`SECURITY` features provide metadata necessary to securely resolve fields.";case"EXECUTION":return"`EXECUTION` features provide metadata necessary for operation execution."}}var ff=class{constructor(e,t){this.minimumFederationVersion=t,this._directiveSpecs=new Xr.MapWithCachedArrays,this._typeSpecs=new Xr.MapWithCachedArrays,this.url=typeof e=="string"?mr.parse(e):e}registerDirective(e){this._directiveSpecs.set(e.name,e)}registerType(e){this._typeSpecs.set(e.name,e)}registerSubFeature(e){for(let t of e.typeSpecs())this.registerType(t);for(let t of e.directiveSpecs())this.registerDirective(t)}directiveSpecs(){return this._directiveSpecs.values()}directiveSpec(e){return this._directiveSpecs.get(e)}typeSpecs(){return this._typeSpecs.values()}typeSpec(e){return this._typeSpecs.get(e)}get identity(){return this.url.identity}get version(){return this.url.version}isSpecType(e){let t=this.nameInSchema(e.schema());return t!==void 0&&e.name.startsWith(`${t}__`)}isSpecDirective(e){let t=this.nameInSchema(e.schema());return t!=null&&(e.name===t||e.name.startsWith(`${t}__`))}addElementsToSchema(e){let t=this.featureInSchema(e);(0,Xr.assert)(t,()=>`The ${this.url} specification should have been added to the schema before this is called`);let n=[];for(let r of this.typeSpecs())n=n.concat(r.checkOrAdd(e,t));for(let r of this.directiveSpecs())n=n.concat(r.checkOrAdd(e,t));return n}allElementNames(){return this.directiveSpecs().map(e=>`@${e.name}`).concat(this.typeSpecs().map(e=>e.name))}validateSubgraphSchema(e){return[]}nameInSchema(e){let t=this.featureInSchema(e);return t?.nameInSchema}directiveNameInSchema(e,t){let n=this.featureInSchema(e);return n?n.directiveNameInSchema(t):void 0}typeNameInSchema(e,t){let n=this.featureInSchema(e);return n?n.typeNameInSchema(t):void 0}rootDirective(e){let t=this.nameInSchema(e);return t?e.directive(t):void 0}directive(e,t){let n=this.directiveNameInSchema(e,t);return n?e.directive(n):void 0}type(e,t){let n=this.typeNameInSchema(e,t);return n?e.type(n):void 0}addRootDirective(e){return e.addDirectiveDefinition(this.nameInSchema(e))}addDirective(e,t){return e.addDirectiveDefinition(this.directiveNameInSchema(e,t))}addScalarType(e,t){return e.addType(new Ra.ScalarType(this.typeNameInSchema(e,t)))}addEnumType(e,t){return e.addType(new Ra.EnumType(this.typeNameInSchema(e,t)))}featureInSchema(e){let t=e.coreFeatures;if(!t)throw cf("Schema is not a core schema (add @link first)");return t.getByIdentity(this.identity)}get defaultCorePurpose(){}compositionSpecification(e){let t=this._directiveSpecs.get(e);return t?.composition}toString(){return`${this.identity}/${this.version}`}};Ae.FeatureDefinition=ff;function nee(i,e){let t=e.arguments();if(!("import"in t)||!t.import)return[];let n=t.import,r=(0,Ry.coreFeatureDefinitionIfKnown)(i),a=r?.allElementNames(),s=[],o=[];e:for(let u of n){if(typeof u=="string"){o.push({name:u}),xb(u,a,s,e);continue}if(typeof u!="object"){s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid sub-value ${(0,fl.valueToString)(u)} for @link(import:) argument: values should be either strings or input object values of the form { name: "", as: "" }.`,{nodes:e.sourceAST}));continue}let p;for(let[d,l]of Object.entries(u))switch(d){case"name":if(typeof l!="string"){s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid value for the "name" field for sub-value ${(0,fl.valueToString)(u)} of @link(import:) argument: must be a string.`,{nodes:e.sourceAST}));continue e}p=l;break;case"as":if(typeof l!="string"){s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid value for the "as" field for sub-value ${(0,fl.valueToString)(u)} of @link(import:) argument: must be a string.`,{nodes:e.sourceAST}));continue e}break;default:s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Unknown field "${d}" for sub-value ${(0,fl.valueToString)(u)} of @link(import:) argument.`,{nodes:e.sourceAST}));continue e}if(p){let d=u;o.push(d),d.as&&(d.name.charAt(0)==="@"&&d.as.charAt(0)!=="@"?s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid @link import renaming: directive "${d.name}" imported name should start with a '@' character, but got "${d.as}".`,{nodes:e.sourceAST})):d.name.charAt(0)!=="@"&&d.as.charAt(0)==="@"&&s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid @link import renaming: type "${d.name}" imported name should not start with a '@' character, but got "${d.as}" (or, if @${d.name} is a directive, then it should be referred to with a '@').`,{nodes:e.sourceAST}))),xb(p,a,s,e)}else s.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid sub-value ${(0,fl.valueToString)(u)} for @link(import:) argument: missing mandatory "name" field.`,{nodes:e.sourceAST}))}if(s.length>0)throw(0,Ra.ErrGraphQLValidationFailed)(s);return o}Ae.extractCoreFeatureImports=nee;function xb(i,e,t,n){if(e&&!e.includes(i)){let r="";if(!i.startsWith("@")&&e.includes("@"+i))r=` Did you mean directive "@${i}"?`;else{let a=(0,Lb.suggestionList)(i,e);a&&(r=(0,Lb.didYouMean)(a))}t.push(ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Cannot import unknown element "${i}".${r}`,{nodes:n.sourceAST}))}}function ree(i){var e,t,n;let r=i.definition;if(!r)return!1;let a=r.argument("as");if(a&&!(0,wy.sameType)(a.type,i.schema().stringType())||!r.repeatable||r.locations.length!==1||r.locations[0]!==lf.DirectiveLocation.SCHEMA)return!1;let s=(e=r.argument("url"))!==null&&e!==void 0?e:r.argument("feature");if(!s||!aee(s.type,i.schema()))return!1;let o=i.arguments();try{let u=mr.parse(o[s.name]);return u.identity===Ae.coreIdentity?i.name===((t=o.as)!==null&&t!==void 0?t:"core"):u.identity===Ae.linkIdentity&&i.name===((n=o.as)!==null&&n!==void 0?n:Ae.linkDirectiveDefaultName)}catch{return!1}}Ae.isCoreSpecDirectiveApplication=ree;function aee(i,e){return(0,wy.sameType)(i,e.stringType())||(0,wy.sameType)(i,new Ra.NonNullType(e.stringType()))}var Pb=(0,By.createEnumTypeSpecification)({name:"Purpose",values:Ae.corePurposes.map(i=>({name:i,description:iee(i)}))}),$b=(0,By.createScalarTypeSpecification)({name:"Import"}),ep=class extends ff{constructor(e,t,n=Ae.linkIdentity,r=Ae.linkDirectiveDefaultName){super(new mr(n,r,e),t),this.directiveDefinitionSpec=(0,By.createDirectiveSpecification)({name:r,locations:[lf.DirectiveLocation.SCHEMA],repeatable:!0,args:this.createDefinitionArgumentSpecifications()}),this.registerDirective(this.directiveDefinitionSpec)}createDefinitionArgumentSpecifications(){let e=[{name:this.urlArgName(),type:t=>t.stringType()},{name:"as",type:t=>t.stringType()}];return this.supportPurposes()&&e.push({name:"for",type:(t,n)=>((0,Xr.assert)(n,"Shouldn't be added without being attached to a @link spec"),t.type(n.typeNameInSchema(Pb.name)))}),this.supportImport()&&e.push({name:"import",type:(t,n)=>((0,Xr.assert)(n,"Shouldn't be added without being attached to a @link spec"),new Ra.ListType(t.type(n.typeNameInSchema($b.name))))}),e}addElementsToSchema(e){return[]}addToSchema(e,t){let n=this.addDefinitionsToSchema(e,t);if(n.length>0)return n;let r={[this.urlArgName()]:this.toString()};t&&(r.as=t);let a=e.schemaDefinition,s=a.hasNonExtensionElements(),o=a.applyDirective(t??this.url.name,r,!0);if(!s&&a.hasExtensionElements()){let u=(0,Xr.firstOf)(a.extensions());(0,Xr.assert)(u,"`hasExtensionElements` should not have been `true`"),o.setOfExtension(u)}return[]}addDefinitionsToSchema(e,t,n=[]){let r=e.coreFeatures;if(r)return r.coreItself.url.identity===this.identity?[]:[ki.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Cannot add feature ${this} to the schema, it already uses ${r.coreItself.url}`)];let a=t??this.url.name,s=new Ra.CoreFeature(this.url,a,new Ra.Directive(a),n),o=[];return o=o.concat(Pb.checkOrAdd(e,s)),o=o.concat($b.checkOrAdd(e,s)),o=o.concat(this.directiveDefinitionSpec.checkOrAdd(e,s)),o}allElementNames(){let e=[`@${this.url.name}`];return this.supportPurposes()&&e.push("Purpose"),this.supportImport()&&e.push("Import"),e}supportPurposes(){return this.version.strictlyGreaterThan(new fr(0,1))}supportImport(){return this.url.name===Ae.linkDirectiveDefaultName}extractFeature(e){let t=e.coreFeatures;if(!t)throw cf("Schema is not a core schema (add @core first)");if(!t.coreItself.url.version.equals(this.version))throw cf(`Cannot use this version of @core (${this.version}), the schema uses version ${t.coreItself.url.version}`);return t.coreItself}coreDirective(e){let t=this.extractFeature(e);return e.directive(t.nameInSchema)}coreVersion(e){return this.extractFeature(e).url.version}applyFeatureToSchema(e,t,n,r,a){let s=this.coreDirective(e),o={[this.urlArgName()]:t.toString(),as:n};if(r)if(this.supportPurposes())o.for=r;else return[new lf.GraphQLError(`Cannot apply feature ${t} with purpose since the schema's @core/@link version does not support it.`)];if(a&&a.length>0)if(this.supportImport())o.import=a.map(u=>u.as?u:u.name);else return[new lf.GraphQLError(`Cannot apply feature ${t} with imports since the schema's @core/@link version does not support it.`)];return e.schemaDefinition.applyDirective(s,o),t.addElementsToSchema(e)}extractFeatureUrl(e){return mr.parse(e[this.urlArgName()])}urlArgName(){return this.url.name==="core"?"feature":"url"}};Ae.CoreSpecDefinition=ep;var ml=class{constructor(e){this.identity=e,this._definitions=[]}add(e){if(e.identity!==this.identity)throw cf(`Cannot add definition for ${e} to the versions of definitions for ${this.identity}`);return this._definitions.find(t=>e.version.equals(t.version))?this:(this._definitions.push(e),this._definitions.sort((t,n)=>-t.version.compareTo(n.version)),this)}find(e){return this._definitions.find(t=>t.version.equals(e))}versions(){return this._definitions.map(e=>e.version)}latest(){return(0,Xr.assert)(this._definitions.length>0,"Trying to get latest when no definitions exist"),this._definitions[0]}getMinimumRequiredVersion(e){var t;let n=this._definitions.find(a=>a.minimumFederationVersion?e>=a.minimumFederationVersion:!0);(0,Xr.assert)(n,`No compatible definition exists for federation version ${e}`);let r=this.latest().version.major;return n.version.major!==r?(t=(0,Xr.findLast)(this._definitions,a=>a.version.major===r))!==null&&t!==void 0?t:this.latest():n}};Ae.FeatureDefinitions=ml;var fr=class{constructor(e,t){this.major=e,this.minor=t}static parse(e){let t=e.match(this.VERSION_RE);if(!t)throw ki.ERRORS.INVALID_LINK_IDENTIFIER.err(`Expected a version string (of the form v1.2), got ${e}`);return new this(+t[1],+t[2])}static max(e){let t;for(let n of e)(!t||n>t)&&(t=n);return t}satisfies(e){let{major:t,minor:n}=this,{major:r,minor:a}=e;return r==t&&(t==0?a==n:a<=n)}get series(){let{major:e}=this;return e>0?`${e}.x`:String(this)}compareTo(e){return this.major>e.major?1:this.majore.minor?1:this.minor0}gte(e){return this.compareTo(e)>=0}strictlyGreaterThan(e){return this.compareTo(e)>0}toString(){return`v${this.major}.${this.minor}`}equals(e){return this.major===e.major&&this.minor===e.minor}};Ae.FeatureVersion=fr;fr.VERSION_RE=/^v(\d+)\.(\d+)$/;var mr=class{constructor(e,t,n,r){this.identity=e,this.name=t,this.version=n,this.element=r}static maybeParse(e,t){try{return mr.parse(e,t)}catch{return}}static parse(e,t){let n=new eee.URL(e);if(!n.pathname||n.pathname==="/")throw ki.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing path in feature url '${n}'`,{nodes:t});let r=n.pathname.split("/"),a=r.pop();if(!a)throw ki.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing version component in feature url '${n}'`,{nodes:t});let s=fr.parse(a),o=r[r.length-1];if(!o)throw ki.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing feature name component in feature url '${n}'`,{nodes:t});let u=n.hash?n.hash.slice(1):void 0;return n.hash="",n.search="",n.password="",n.username="",n.pathname=r.join("/"),new mr(n.toString(),o,s,u)}static decode(e){return this.parse(e.value,e)}satisfies(e){return e.identity===this.identity&&this.version.satisfies(e.version)}equals(e){return this.identity===e.identity&&this.version.equals(e.version)}get url(){return this.element?`${this.identity}/${this.version}#${this.element}`:`${this.identity}/${this.version}`}get isDirective(){var e;return(e=this.element)===null||e===void 0?void 0:e.startsWith("@")}get elementName(){var e;return this.isDirective?(e=this.element)===null||e===void 0?void 0:e.slice(1):this.element}get base(){return this.element?new mr(this.identity,this.name,this.version):this}toString(){return this.url}};Ae.FeatureUrl=mr;function see(i){return i.name==="core"?Ae.CORE_VERSIONS.find(i.version):i.name===Ae.linkDirectiveDefaultName?Ae.LINK_VERSIONS.find(i.version):void 0}Ae.findCoreSpecVersion=see;Ae.CORE_VERSIONS=new ml(Ae.coreIdentity).add(new ep(new fr(0,1),void 0,Ae.coreIdentity,"core")).add(new ep(new fr(0,2),new fr(2,0),Ae.coreIdentity,"core"));Ae.LINK_VERSIONS=new ml(Ae.linkIdentity).add(new ep(new fr(1,0),new fr(2,0)));(0,Ry.registerKnownFeature)(Ae.CORE_VERSIONS);(0,Ry.registerKnownFeature)(Ae.LINK_VERSIONS);function oee(i){var e,t;let n=[...(t=(e=i.coreFeatures)===null||e===void 0?void 0:e.allFeatures())!==null&&t!==void 0?t:[]],r=[];for(let s of n)i.directives().filter(p=>s.isFeatureDefinition(p)).forEach(p=>p.remove().forEach(d=>d.remove())),i.types().filter(p=>s.isFeatureDefinition(p)).forEach(p=>{let d=p.remove();d.length>0&&r.push({feature:s,type:p,references:d})});let a=[];for(let{feature:s,type:o,references:u}of r){let p=u.filter(d=>d.isAttached());p.length>0&&a.push(ki.ERRORS.REFERENCED_INACCESSIBLE.err(`Cannot remove elements of feature ${s} as feature type ${o} is referenced by elements: ${p.join(", ")}`,{nodes:(0,Ra.sourceASTs)(...u)}))}if(a.length>0)throw(0,Ra.ErrGraphQLAPISchemaValidationFailed)(a)}Ae.removeAllCoreFeatures=oee});var hf=D(yi=>{"use strict";h();m();Object.defineProperty(yi,"__esModule",{value:!0});yi.removeInaccessibleElements=yi.INACCESSIBLE_VERSIONS=yi.InaccessibleSpecDefinition=yi.inaccessibleIdentity=void 0;var wo=vi(),ie=bt(),xn=ft(),uee=Vi(),Xt=$i(),pee=Ji(),hs=Mt();yi.inaccessibleIdentity="https://specs.apollo.dev/inaccessible";var vl=class extends wo.FeatureDefinition{constructor(e,t){super(new wo.FeatureUrl(yi.inaccessibleIdentity,"inaccessible",e),t),this.inaccessibleLocations=[xn.DirectiveLocation.FIELD_DEFINITION,xn.DirectiveLocation.OBJECT,xn.DirectiveLocation.INTERFACE,xn.DirectiveLocation.UNION],this.printedInaccessibleDefinition="directive @inaccessible on FIELD_DEFINITION | INTERFACE | OBJECT | UNION",this.isV01()||(this.inaccessibleLocations.push(xn.DirectiveLocation.ARGUMENT_DEFINITION,xn.DirectiveLocation.SCALAR,xn.DirectiveLocation.ENUM,xn.DirectiveLocation.ENUM_VALUE,xn.DirectiveLocation.INPUT_OBJECT,xn.DirectiveLocation.INPUT_FIELD_DEFINITION),this.printedInaccessibleDefinition="directive @inaccessible on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION"),this.inaccessibleDirectiveSpec=(0,pee.createDirectiveSpecification)({name:"inaccessible",locations:this.inaccessibleLocations,composes:!0,supergraphSpecification:n=>yi.INACCESSIBLE_VERSIONS.getMinimumRequiredVersion(n)}),this.registerDirective(this.inaccessibleDirectiveSpec)}isV01(){return this.version.equals(new wo.FeatureVersion(0,1))}inaccessibleDirective(e){return this.directive(e,"inaccessible")}checkCompatibleDirective(e){let t=Object.keys(e.arguments()).length>0,n=e.repeatable,r=e.locations.every(a=>this.inaccessibleLocations.includes(a));if(t||n||!r)return Xt.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Found invalid @inaccessible directive definition. Please ensure the directive definition in your schema's definitions matches the following: ${this.printedInaccessibleDefinition}`)}get defaultCorePurpose(){return"SECURITY"}};yi.InaccessibleSpecDefinition=vl;yi.INACCESSIBLE_VERSIONS=new wo.FeatureDefinitions(yi.inaccessibleIdentity).add(new vl(new wo.FeatureVersion(0,1))).add(new vl(new wo.FeatureVersion(0,2),new wo.FeatureVersion(2,0)));(0,uee.registerKnownFeature)(yi.INACCESSIBLE_VERSIONS);function dee(i){i.validate();let e=i.coreFeatures;if(!e)return;let t=e.getByIdentity(yi.inaccessibleIdentity);if(!t)return;let n=yi.INACCESSIBLE_VERSIONS.find(t.url.version);if(!n)throw(0,ie.ErrGraphQLAPISchemaValidationFailed)([new xn.GraphQLError(`Cannot remove inaccessible elements: the schema uses unsupported inaccessible spec version ${t.url.version} (supported versions: ${yi.INACCESSIBLE_VERSIONS.versions().join(", ")})`)]);let r=n.inaccessibleDirective(i);if(!r)throw(0,ie.ErrGraphQLAPISchemaValidationFailed)([new xn.GraphQLError(`Invalid schema: declares ${n.url} spec but does not define a @inaccessible directive.`)]);let a=n.checkCompatibleDirective(r);if(a)throw(0,ie.ErrGraphQLAPISchemaValidationFailed)([a]);lee(i,e,n,r),mee(i,r)}yi.removeInaccessibleElements=dee;function lee(i,e,t,n){var r,a,s;function o(y){return y.hasAppliedDirective(n)}let u=[...e.allFeatures()];function p(y){return u.some(g=>g.isFeatureDefinition(y))}function d(y){if(!(y instanceof ie.DirectiveDefinition)&&o(y))return!1;if(y instanceof ie.ObjectType||y instanceof ie.InterfaceType||y instanceof ie.UnionType||y instanceof ie.ScalarType||y instanceof ie.EnumType||y instanceof ie.InputObjectType||y instanceof ie.DirectiveDefinition)return!0;if(y instanceof ie.FieldDefinition||y instanceof ie.ArgumentDefinition||y instanceof ie.InputFieldDefinition||y instanceof ie.EnumValue)return d(y.parent);(0,hs.assert)(!1,"Unreachable code, element is of unknown type.")}function l(y){let g=[];if(o(y)&&g.push(y),y instanceof ie.ObjectType||y instanceof ie.InterfaceType||y instanceof ie.InputObjectType){for(let T of y.fields())g.push(...l(T));return g}else if(y instanceof ie.EnumType){for(let T of y.values)g.push(...l(T));return g}else if(y instanceof ie.DirectiveDefinition||y instanceof ie.FieldDefinition){for(let T of y.arguments())g.push(...l(T));return g}else if(y instanceof ie.UnionType||y instanceof ie.ScalarType||y instanceof ie.ArgumentDefinition||y instanceof ie.InputFieldDefinition||y instanceof ie.EnumValue)return g;(0,hs.assert)(!1,"Unreachable code, element is of unknown type.")}let c=[],v;t.isV01()||(v=cee(i));for(let y of i.allTypes())if(mf(y)){let g=l(y);g.length>0&&c.push(Xt.ERRORS.DISALLOWED_INACCESSIBLE.err(`Built-in type "${y.coordinate}" cannot use @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:g.map(T=>T.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(p(y)){let g=l(y);g.length>0&&c.push(Xt.ERRORS.DISALLOWED_INACCESSIBLE.err(`Core feature type "${y.coordinate}" cannot use @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:g.map(T=>T.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(o(y)){let g=y.referencers();for(let T of g)T instanceof ie.FieldDefinition||T instanceof ie.ArgumentDefinition||T instanceof ie.InputFieldDefinition?d(T)&&c.push(Xt.ERRORS.REFERENCED_INACCESSIBLE.err(`Type "${y.coordinate}" is @inaccessible but is referenced by "${T.coordinate}", which is in the API schema.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:[y.coordinate],inaccessible_referencers:[T.coordinate]}})):T instanceof ie.SchemaDefinition&&y===T.rootType("query")&&c.push(Xt.ERRORS.QUERY_ROOT_TYPE_INACCESSIBLE.err(`Type "${y.coordinate}" is @inaccessible but is the root query type, which must be in the API schema.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:[y.coordinate]}}))}else{if(y instanceof ie.ObjectType||y instanceof ie.InterfaceType||y instanceof ie.InputObjectType){let g=!0;for(let T of y.fields())o(T)||(g=!1);g&&c.push(Xt.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${y.coordinate}" is in the API schema but all of its ${y instanceof ie.InputObjectType?"input ":""}fields are @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:y.fields().map(T=>T.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(y instanceof ie.UnionType){let g=!0;for(let T of y.types())o(T)||(g=!1);g&&c.push(Xt.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${y.coordinate}" is in the API schema but all of its members are @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:y.types().map(T=>T.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(y instanceof ie.EnumType){let g=!0;for(let T of y.values)o(T)||(g=!1);g&&c.push(Xt.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${y.coordinate}" is in the API schema but all of its values are @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:y.values.map(T=>T.coordinate),inaccessible_referencers:[y.coordinate]}}))}if(y instanceof ie.ObjectType||y instanceof ie.InterfaceType){let g=y.interfaces(),T=[];if(y instanceof ie.InterfaceType)for(let S of y.referencers())(S instanceof ie.ObjectType||S instanceof ie.InterfaceType)&&T.push(S);for(let S of y.fields())if(o(S))for(let N of g){let F=N.field(S.name);F&&d(F)&&c.push(Xt.ERRORS.IMPLEMENTED_BY_INACCESSIBLE.err(`Field "${S.coordinate}" is @inaccessible but implements the interface field "${F.coordinate}", which is in the API schema.`,{nodes:S.sourceAST,extensions:{inaccessible_elements:[S.coordinate],inaccessible_referencers:[F.coordinate]}}))}else for(let N of S.arguments())if(o(N)){N.isRequired()&&c.push(Xt.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${N.coordinate}" is @inaccessible but is a required argument of its field.`,{nodes:N.sourceAST,extensions:{inaccessible_elements:[N.coordinate],inaccessible_referencers:[N.coordinate]}}));for(let F of T){let R=F.field(S.name);(0,hs.assert)(R,"Schema should have been valid, but an implementing type did not implement one of this type's fields.");let P=R.argument(N.name);(0,hs.assert)(P,"Schema should have been valid, but an implementing type did not implement one of this type's field's arguments."),d(P)&&P.isRequired()&&c.push(Xt.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${N.coordinate}" is @inaccessible but is implemented by the required argument "${P.coordinate}", which is in the API schema.`,{nodes:N.sourceAST,extensions:{inaccessible_elements:[N.coordinate],inaccessible_referencers:[P.coordinate]}}))}for(let F of g){let R=(r=F.field(S.name))===null||r===void 0?void 0:r.argument(N.name);R&&d(R)&&c.push(Xt.ERRORS.IMPLEMENTED_BY_INACCESSIBLE.err(`Argument "${N.coordinate}" is @inaccessible but implements the interface argument "${R.coordinate}", which is in the API schema.`,{nodes:N.sourceAST,extensions:{inaccessible_elements:[N.coordinate],inaccessible_referencers:[R.coordinate]}}))}}}else if(y instanceof ie.InputObjectType){for(let g of y.fields())if(o(g)){g.isRequired()&&c.push(Xt.ERRORS.REQUIRED_INACCESSIBLE.err(`Input field "${g.coordinate}" is @inaccessible but is a required input field of its type.`,{nodes:g.sourceAST,extensions:{inaccessible_elements:[g.coordinate],inaccessible_referencers:[g.coordinate]}})),(0,hs.assert)(v,"Input fields can't be @inaccessible in v0.1, but default value referencers weren't computed (which is only skipped for v0.1).");let T=(a=v.get(g))!==null&&a!==void 0?a:[];for(let S of T)d(S)&&c.push(Xt.ERRORS.DEFAULT_VALUE_USES_INACCESSIBLE.err(`Input field "${g.coordinate}" is @inaccessible but is used in the default value of "${S.coordinate}", which is in the API schema.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:[y.coordinate],inaccessible_referencers:[S.coordinate]}}))}}else if(y instanceof ie.EnumType){for(let g of y.values)if(o(g)){(0,hs.assert)(v,"Enum values can't be @inaccessible in v0.1, but default value referencers weren't computed (which is only skipped for v0.1).");let T=(s=v.get(g))!==null&&s!==void 0?s:[];for(let S of T)d(S)&&c.push(Xt.ERRORS.DEFAULT_VALUE_USES_INACCESSIBLE.err(`Enum value "${g.coordinate}" is @inaccessible but is used in the default value of "${S.coordinate}", which is in the API schema.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:[y.coordinate],inaccessible_referencers:[S.coordinate]}}))}}}for(let y of i.allDirectives()){let g=y.locations.filter(T=>(0,ie.isTypeSystemDirectiveLocation)(T));if(mf(y)){let T=l(y);T.length>0&&c.push(Xt.ERRORS.DISALLOWED_INACCESSIBLE.err(`Built-in directive "${y.coordinate}" cannot use @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:T.map(S=>S.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(p(y)){let T=l(y);T.length>0&&c.push(Xt.ERRORS.DISALLOWED_INACCESSIBLE.err(`Core feature directive "${y.coordinate}" cannot use @inaccessible.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:T.map(S=>S.coordinate),inaccessible_referencers:[y.coordinate]}}))}else if(g.length>0){let T=l(y);T.length>0&&c.push(Xt.ERRORS.DISALLOWED_INACCESSIBLE.err(`Directive "${y.coordinate}" cannot use @inaccessible because it may be applied to these type-system locations: ${g.join(", ")}.`,{nodes:y.sourceAST,extensions:{inaccessible_elements:T.map(S=>S.coordinate),inaccessible_referencers:[y.coordinate]}}))}else for(let T of y.arguments())T.isRequired()&&o(T)&&c.push(Xt.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${T.coordinate}" is @inaccessible but is a required argument of its directive.`,{nodes:T.sourceAST,extensions:{inaccessible_elements:[T.coordinate],inaccessible_referencers:[T.coordinate]}}))}if(c.length>0)throw(0,ie.ErrGraphQLAPISchemaValidationFailed)(c)}function cee(i){let e=new Map;function t(n,r){var a;let s=(a=e.get(n))!==null&&a!==void 0?a:[];s.length===0&&e.set(n,s),s.push(r)}for(let n of i.allTypes())if(!mf(n)){if(n instanceof ie.ObjectType||n instanceof ie.InterfaceType)for(let r of n.fields())for(let a of r.arguments())for(let s of Ly(a))t(s,a);if(n instanceof ie.InputObjectType)for(let r of n.fields())for(let a of Ly(r))t(a,r)}for(let n of i.allDirectives())if(!mf(n))for(let r of n.arguments())for(let a of Ly(r))t(a,r);return e}function Ly(i){let e=[];return hl(i.defaultValue,fee(i),e),e}function fee(i){let e=i.type;return(0,hs.assert)(e,"Schema should have been valid, but argument/input field did not have type."),e}function hl(i,e,t){if(i!=null){if((0,ie.isNonNullType)(e))return hl(i,e.ofType,t);if(!(0,ie.isScalarType)(e)&&!(0,ie.isVariable)(i)){if(Array.isArray(i)){if((0,ie.isListType)(e)){let n=e.ofType;for(let r of i)hl(r,n,t)}return}if((0,ie.isListType)(e))return hl(i,e.ofType,t);if(typeof i=="object"){if((0,ie.isInputObjectType)(e))for(let n of e.fields()){let r=i[n.name];r!==void 0&&(t.push(n),hl(r,n.type,t))}return}if(typeof i=="string"){if((0,ie.isEnumType)(e)){let n=e.value(i);n!==void 0&&t.push(n)}return}}}}function mf(i){let e=i.schema();if(i instanceof ie.ObjectType||i instanceof ie.InterfaceType||i instanceof ie.UnionType||i instanceof ie.ScalarType||i instanceof ie.EnumType||i instanceof ie.InputObjectType)return e.builtInTypes(!0).some(t=>t.name===i.name);if(i instanceof ie.DirectiveDefinition)return e.builtInDirectives(!0).some(t=>t.name===i.name);(0,hs.assert)(!1,"Unreachable code, element is of unknown type.")}function mee(i,e){function t(n){return n.hasAppliedDirective(e)}for(let n of i.types())if(t(n))n.remove();else if(n instanceof ie.ObjectType||n instanceof ie.InterfaceType)for(let r of n.fields())if(t(r))r.remove();else for(let a of r.arguments())t(a)&&a.remove();else if(n instanceof ie.InputObjectType)for(let r of n.fields())t(r)&&r.remove();else if(n instanceof ie.EnumType)for(let r of n.values)t(r)&&r.remove();for(let n of i.directives())for(let r of n.arguments())t(r)&&r.remove()}});var yl=D(Gt=>{"use strict";h();m();Object.defineProperty(Gt,"__esModule",{value:!0});Gt.printDirectiveDefinition=Gt.printTypeDefinitionAndExtensions=Gt.printType=Gt.printSchema=Gt.shallowOrderPrintedDefinitions=Gt.orderPrintedDefinitions=Gt.defaultPrintOptions=void 0;var hee=Mt(),vee=lr();Gt.defaultPrintOptions={indentString:" ",definitionsOrder:["schema","directives","types"],rootTypesOrder:["query","mutation","subscription"],mergeTypesAndExtensions:!1,showAllBuiltIns:!1,noDescriptions:!1,typeFilter:()=>!0,fieldFilter:()=>!0,directiveApplicationFilter:()=>!0};function yee(i){return{...i,typeCompareFn:(e,t)=>e.name.localeCompare(t.name),implementedInterfaceCompareFn:(e,t)=>e.interface.name.localeCompare(t.interface.name),fieldCompareFn:(e,t)=>e.name.localeCompare(t.name),unionMemberCompareFn:(e,t)=>e.type.name.localeCompare(t.type.name),enumValueCompareFn:(e,t)=>e.name.localeCompare(t.name),inputObjectFieldCompareFn:(e,t)=>e.name.localeCompare(t.name),directiveCompareFn:(e,t)=>e.name.localeCompare(t.name)}}Gt.orderPrintedDefinitions=yee;function Eee(i){return{...i,typeCompareFn:(e,t)=>e.name.localeCompare(t.name),directiveCompareFn:(e,t)=>e.name.localeCompare(t.name)}}Gt.shallowOrderPrintedDefinitions=Eee;function gee(i){return i.definitionsOrder.length===3&&i.definitionsOrder.indexOf("schema")>=0&&i.definitionsOrder.indexOf("types")>=0&&i.definitionsOrder.indexOf("directives")>=0}function Aee(i){if(!gee(i))throw new Error(`'definitionsOrder' should be a 3-element array containing 'schema', 'types' and 'directives' in the desired order (got: [${i.definitionsOrder.join(", ")}])`)}function Tee(i,e=Gt.defaultPrintOptions){Aee(e);let t=e.showAllBuiltIns?i.allDirectives():i.directives();e.directiveDefinitionFilter&&(t=t.filter(e.directiveDefinitionFilter)),e.directiveCompareFn&&(t=t.concat().sort(e.directiveCompareFn));let n=e.showAllBuiltIns?i.allTypes():i.types();e.typeFilter&&(n=n.filter(e.typeFilter)),e.typeCompareFn&&(n=n.concat().sort(e.typeCompareFn));let r=new Array(3);return r[e.definitionsOrder.indexOf("schema")]=See(i.schemaDefinition,e),r[e.definitionsOrder.indexOf("directives")]=t.map(a=>Mb(a,e)),r[e.definitionsOrder.indexOf("types")]=n.flatMap(a=>xy(a,e)),r.flat().join(` `)}Gt.printSchema=Tee;function Dee(i,e){return e.mergeTypesAndExtensions?[void 0]:[null,...i.extensions()]}function See(i,e){return Ro(i,e,bee)}function Ro(i,e,t){return Dee(i,e).map(n=>t(i,e,n)).filter(n=>n!==void 0)}function tp(i){return i?"extend ":""}function Bo(i,e){return e===void 0?i:i.filter(t=>{var n;return((n=t.ofExtension())!==null&&n!==void 0?n:null)===e})}function _ee(i,e){return i.concat().sort((t,n)=>e.rootTypesOrder.indexOf(t.rootKind)-e.rootTypesOrder.indexOf(n.rootKind))}function vs(i,e,t){let n=Bo(i.appliedDirectives,t);return e.directiveApplicationFilter&&(n=n.filter(e.directiveApplicationFilter)),n}function bee(i,e,t){let n=Bo(i.roots(),t),r=vs(i,e,t);if(!n.length&&!r.length||!t&&!r.length&&Iee(i))return;let a=_ee(n,e).map(s=>`${e.indentString}${s.rootKind}: ${s.type}`);return Zr(i,e,t)+tp(t)+"schema"+Ba(r,e,!0,a.length!==0)+(r.length===0?" ":"")+(a.length===0?"":`{ `+a.join(` `)+` }`)}function Iee(i){return!i.description&&i.roots().every(e=>e.isDefaultRootName())}function Fee(i,e=Gt.defaultPrintOptions){let t=xy(i,e);return(0,hee.assert)(t.length==1,`Type ${i} is built from more than 1 definition or extension`),t[0]}Gt.printType=Fee;function xy(i,e=Gt.defaultPrintOptions){switch(i.kind){case"ScalarType":return Ro(i,e,Nee);case"ObjectType":return Ro(i,e,(t,n,r)=>Vb("type",t,n,r));case"InterfaceType":return Ro(i,e,(t,n,r)=>Vb("interface",t,n,r));case"UnionType":return Ro(i,e,Oee);case"EnumType":return Ro(i,e,wee);case"InputObjectType":return Ro(i,e,Ree)}}Gt.printTypeDefinitionAndExtensions=xy;function Mb(i,e=Gt.defaultPrintOptions){let t=i.locations.join(" | ");return`${Zr(i,e,null)}directive ${i}${jb(i.arguments(),e)}${i.repeatable?" repeatable":""} on ${t}`}Gt.printDirectiveDefinition=Mb;function Ba(i,e,t=!1,n=t){if(i.length==0)return"";let r=t?` `+e.indentString:" ",a=i.map(s=>s.toString()).join(r);return t?` `+e.indentString+a+(n?` `:""):" "+a}function Zr(i,e,t,n="",r=!0){if(t||i.description===void 0||e.noDescriptions)return"";let a=i.description.length>70,s=Lee(i.description,"",a);return(n&&!r?` `+n:n)+s.replace(/\n/g,` `+n)+` `}function Nee(i,e,t){let n=vs(i,e,t);if(!(t&&!n.length))return`${Zr(i,e,t)}${tp(t)}scalar ${i.name}${Ba(n,e,!0,!1)}`}function Cee(i){return i.length?" implements "+i.map(e=>e.interface.name).join(" & "):""}function Vb(i,e,t,n){let r=vs(e,t,n),a=Bo(e.interfaceImplementations(),n),s=Bo(e.fields(),n);if(t.fieldFilter&&(s=s.filter(t.fieldFilter)),!(!r.length&&!a.length&&!s.length&&(n||!e.preserveEmptyDefinition)))return t.implementedInterfaceCompareFn&&(a=a.concat().sort(t.implementedInterfaceCompareFn)),t.fieldCompareFn&&(s=s.concat().sort(t.fieldCompareFn)),Zr(e,t,n)+tp(n)+i+" "+e+Cee(a)+Ba(r,t,!0,s.length>0)+(r.length===0&&s.length>0?" ":"")+Ub(s,t)}function Oee(i,e,t){let n=vs(i,e,t),r=Bo(i.members(),t);if(!n.length&&!r.length&&(t||!i.preserveEmptyDefinition))return;e.unionMemberCompareFn&&(r=r.concat().sort(e.unionMemberCompareFn));let a=r.length?" = "+r.map(s=>s.type).join(" | "):"";return Zr(i,e,t)+tp(t)+"union "+i+Ba(n,e,!0,r.length>0)+a}function wee(i,e,t){let n=vs(i,e,t),r=Bo(i.values,t);if(!n.length&&!r.length&&(t||!i.preserveEmptyDefinition))return;e.enumValueCompareFn&&(r=r.concat().sort(e.enumValueCompareFn));let a=r.map((s,o)=>Zr(s,e,t,e.indentString,!o)+e.indentString+s+Ba(s.appliedDirectives,e));return Zr(i,e,t)+tp(t)+"enum "+i+Ba(n,e,!0,a.length>0)+(n.length===0&&a.length>0?" ":"")+qb(a)}function Ree(i,e,t){let n=vs(i,e,t),r=Bo(i.fields(),t);if(!(!n.length&&!r.length&&(t||!i.preserveEmptyDefinition)))return e.inputObjectFieldCompareFn&&(r=r.concat().sort(e.inputObjectFieldCompareFn)),Zr(i,e,t)+tp(t)+"input "+i+Ba(n,e,!0,r.length>0)+(n.length===0&&r.length>0?" ":"")+Ub(r,e)}function Ub(i,e){return qb(i.map((t,n)=>Zr(t,e,void 0,e.indentString,!n)+e.indentString+Bee(t,e)+Ba(vs(t,e),e)))}function Bee(i,e){let t=i.kind=="FieldDefinition"?jb(i.arguments(),e,e.indentString):"",n=i.kind==="InputFieldDefinition"&&i.defaultValue!==void 0?" = "+(0,vee.valueToString)(i.defaultValue,i.type):"";return`${i.name}${t}: ${i.type}${n}`}function jb(i,e,t=""){return i.length===0?"":i.every(r=>!r.description)?"("+i.map(r=>kb(r,e)).join(", ")+")":`( ${i.map((r,a)=>Zr(r,e,null," "+t,!a)+" "+t+kb(r,e)).join(` `)} ${t})`}function kb(i,e){return`${i}${Ba(vs(i,e),e)}`}function qb(i){return i.length!==0?`{ `+i.join(` `)+` }`:""}function Lee(i,e="",t=!1){let n=i.indexOf(` `)===-1,r=i[0]===" "||i[0]===" ",a=i[i.length-1]==='"',s=i[i.length-1]==="\\",o=!n||a||s||t,u="";return o&&!(n&&r)&&(u+=` `+e),u+=e?i.replace(/\n/g,` `+e):i,o&&(u+=` `),'"""'+u.replace(/"""/g,'\\"""')+'"""'}});var vf=D(ea=>{"use strict";h();m();Object.defineProperty(ea,"__esModule",{value:!0});ea.addIntrospectionFields=ea.isIntrospectionName=ea.introspectionTypeNames=ea.introspectionFieldNames=void 0;var xee=ft(),ve=bt();ea.introspectionFieldNames=["__schema","__type"];ea.introspectionTypeNames=["__Schema","__Directive","__DirectiveLocation","__Type","__Field","__InputValue","__EnumValue","__TypeKind"];function Pee(i){return i.startsWith("__")}ea.isIntrospectionName=Pee;function $ee(i){if(i.type("__Schema"))return;let e=i.addType(new ve.EnumType("__TypeKind",!0));e.addValue("SCALAR"),e.addValue("OBJECT"),e.addValue("INTERFACE"),e.addValue("UNION"),e.addValue("ENUM"),e.addValue("INPUT_OBJECT"),e.addValue("LIST"),e.addValue("NON_NULL");let t=i.addType(new ve.ObjectType("__InputValue",!0)),n=i.addType(new ve.ObjectType("__Field",!0)),r=i.addType(new ve.ObjectType("__Type",!0)),a=i.addType(new ve.ObjectType("__EnumValue",!0));r.addField("kind",new ve.NonNullType(e)),r.addField("name",i.stringType()),r.addField("description",i.stringType()),r.addField("fields",new ve.ListType(new ve.NonNullType(n))).addArgument("includeDeprecated",i.booleanType(),!1),r.addField("interfaces",new ve.ListType(new ve.NonNullType(r))),r.addField("possibleTypes",new ve.ListType(new ve.NonNullType(r))),r.addField("enumValues",new ve.ListType(new ve.NonNullType(a))).addArgument("includeDeprecated",i.booleanType(),!1),r.addField("inputFields",new ve.ListType(new ve.NonNullType(t))).addArgument("includeDeprecated",i.booleanType(),!1),r.addField("ofType",r),r.addField("specifiedByURL",i.stringType()),n.addField("name",new ve.NonNullType(i.stringType())),n.addField("description",i.stringType()),n.addField("args",new ve.NonNullType(new ve.ListType(new ve.NonNullType(t)))).addArgument("includeDeprecated",i.booleanType(),!1),n.addField("type",new ve.NonNullType(r)),n.addField("isDeprecated",new ve.NonNullType(i.booleanType())),n.addField("deprecationReason",i.stringType()),t.addField("name",new ve.NonNullType(i.stringType())),t.addField("description",i.stringType()),t.addField("type",new ve.NonNullType(r)),t.addField("defaultValue",i.stringType()),t.addField("isDeprecated",new ve.NonNullType(i.booleanType())),t.addField("deprecationReason",i.stringType()),a.addField("name",new ve.NonNullType(i.stringType())),a.addField("description",i.stringType()),a.addField("isDeprecated",new ve.NonNullType(i.booleanType())),a.addField("deprecationReason",i.stringType());let s=i.addType(new ve.EnumType("__DirectiveLocation",!0));for(let d of Object.values(xee.DirectiveLocation))s.addValue(d);let o=i.addType(new ve.ObjectType("__Directive",!0));o.addField("name",new ve.NonNullType(i.stringType())),o.addField("description",i.stringType()),o.addField("locations",new ve.NonNullType(new ve.ListType(new ve.NonNullType(s)))),o.addField("args",new ve.NonNullType(new ve.ListType(new ve.NonNullType(t)))).addArgument("includeDeprecated",i.booleanType(),!1),o.addField("isRepeatable",new ve.NonNullType(i.booleanType()));let u=i.addType(new ve.ObjectType("__Schema",!0));u.addField("description",i.stringType()),u.addField("types",new ve.NonNullType(new ve.ListType(new ve.NonNullType(r)))),u.addField("queryType",new ve.NonNullType(r)),u.addField("mutationType",new ve.NonNullType(r)),u.addField("subscriptionType",new ve.NonNullType(r)),u.addField("directives",new ve.NonNullType(new ve.ListType(new ve.NonNullType(o))));let p=i.schemaDefinition.rootType("query");p||(p=i.addType(new ve.ObjectType("Query")),i.schemaDefinition.setRoot("query",p)),p.addField(new ve.FieldDefinition("__schema",!0),new ve.NonNullType(u)),p.addField(new ve.FieldDefinition("__type",!0),r).addArgument("name",new ve.NonNullType(i.stringType()))}ea.addIntrospectionFields=$ee});var Qb=D(yf=>{"use strict";h();m();Object.defineProperty(yf,"__esModule",{value:!0});yf.validateSchema=void 0;var $t=bt(),Vee=ft(),ip=lr(),Gb=vf(),Kb=pr(),kee=$i();function Mee(i){return new $y(i).validate()}yf.validateSchema=Mee;var Py=class{constructor(e){this.onError=e,this.visitedTypes=new Set,this.fieldPath=[],this.fieldPathIndexByTypeName=new Map}detectCycles(e){if(!this.visitedTypes.has(e.name)){this.visitedTypes.add(e.name),this.fieldPathIndexByTypeName.set(e.name,this.fieldPath.length);for(let t of e.fields())if((0,$t.isNonNullType)(t.type)&&(0,$t.isInputObjectType)(t.type.ofType)){let n=t.type.ofType,r=this.fieldPathIndexByTypeName.get(n.name);if(this.fieldPath.push(t),r===void 0)this.detectCycles(n);else{let a=this.fieldPath.slice(r),s=a.map(o=>o.name).join(".");this.onError(`Cannot reference Input Object "${n.name}" within itself through a series of non-null fields: "${s}".`,{nodes:(0,$t.sourceASTs)(...a)})}this.fieldPath.pop()}this.fieldPathIndexByTypeName.delete(e.name)}}},$y=class{constructor(e){this.schema=e,this.emptyVariables=new $t.VariableDefinitions,this.hasMissingTypes=!1,this.errors=[]}validate(){for(let e of this.schema.types())switch(Gb.introspectionTypeNames.includes(e.name)||this.validateName(e),e.kind){case"ObjectType":case"InterfaceType":this.validateObjectOrInterfaceType(e);break;case"InputObjectType":this.validateInputObjectType(e);break;case"UnionType":this.validateUnionType(e);break;case"EnumType":this.validateEnumType(e);break}for(let e of this.schema.allDirectives()){this.validateName(e);for(let t of e.arguments())this.validateArg(t);for(let t of e.applications())this.validateDirectiveApplication(e,t)}if(!this.hasMissingTypes){let e=new Py((t,n)=>this.addError(t,n));for(let t of this.schema.types())switch(t.kind){case"ObjectType":case"InterfaceType":this.validateImplementedInterfaces(t);break;case"InputObjectType":e.detectCycles(t);break}}return this.errors}addError(e,t){this.errors.push(kee.ERRORS.INVALID_GRAPHQL.err(e,t))}validateHasType(e){return e.type||(this.addError(`Element ${e.coordinate} does not have a type set`,{nodes:e.sourceAST}),this.hasMissingTypes=!1),!!e.type}validateName(e){if((0,Gb.isIntrospectionName)(e.name)){this.addError(`Name "${e.name}" must not begin with "__", which is reserved by GraphQL introspection.`,e.sourceAST?{nodes:e.sourceAST}:{});return}try{(0,Vee.assertName)(e.name)}catch(t){this.addError(t.message,e.sourceAST?{nodes:e.sourceAST}:{})}}validateObjectOrInterfaceType(e){e.hasFields()||this.addError(`Type ${e.name} must define one or more fields.`,{nodes:e.sourceAST});for(let t of e.fields()){this.validateName(t),this.validateHasType(t);for(let n of t.arguments())this.validateArg(n)}}validateImplementedInterfaces(e){e.implementsInterface(e.name)&&this.addError(`Type ${e} cannot implement itself because it would create a circular reference.`,{nodes:(0,$t.sourceASTs)(e,e.interfaceImplementation(e.name))});for(let t of e.interfaces()){for(let n of t.fields()){let r=e.field(n.name);if(!r){this.addError(`Interface field ${n.coordinate} expected but ${e} does not provide it.`,{nodes:(0,$t.sourceASTs)(n,e)});continue}this.validateHasType(n)&&!(0,Kb.isSubtype)(n.type,r.type)&&this.addError(`Interface field ${n.coordinate} expects type ${n.type} but ${r.coordinate} of type ${r.type} is not a proper subtype.`,{nodes:(0,$t.sourceASTs)(n,r)});for(let a of n.arguments()){let s=r.argument(a.name);if(!s){this.addError(`Interface field argument ${a.coordinate} expected but ${r.coordinate} does not provide it.`,{nodes:(0,$t.sourceASTs)(a,r)});continue}this.validateHasType(a)&&!(0,Kb.sameType)(a.type,s.type)&&this.addError(`Interface field argument ${a.coordinate} expects type ${a.type} but ${s.coordinate} is type ${s.type}.`,{nodes:(0,$t.sourceASTs)(a,s)})}for(let a of r.arguments())n.argument(a.name)||a.isRequired()&&this.addError(`Field ${r.coordinate} includes required argument ${a.name} that is missing from the Interface field ${n.coordinate}.`,{nodes:(0,$t.sourceASTs)(a,n)})}for(let n of t.interfaces())e.implementsInterface(n)||(n===e?this.addError(`Type ${e} cannot implement ${t} because it would create a circular reference.`,{nodes:(0,$t.sourceASTs)(e,t)}):this.addError(`Type ${e} must implement ${n} because it is implemented by ${t}.`,{nodes:(0,$t.sourceASTs)(e,t,n)}))}}validateInputObjectType(e){e.hasFields()||this.addError(`Input Object type ${e.name} must define one or more fields.`,{nodes:e.sourceAST});for(let t of e.fields())this.validateName(t),this.validateHasType(t)&&(t.isRequired()&&t.isDeprecated()&&this.addError(`Required input field ${t.coordinate} cannot be deprecated.`,{nodes:(0,$t.sourceASTs)(t.appliedDirectivesOf("deprecated")[0],t)}),t.defaultValue!==void 0&&!(0,ip.isValidValue)(t.defaultValue,t,new $t.VariableDefinitions)&&this.addError(`Invalid default value (got: ${(0,ip.valueToString)(t.defaultValue)}) provided for input field ${t.coordinate} of type ${t.type}.`,{nodes:(0,$t.sourceASTs)(t)}))}validateArg(e){if(this.validateName(e),!!this.validateHasType(e)&&(e.isRequired()&&e.isDeprecated()&&this.addError(`Required argument ${e.coordinate} cannot be deprecated.`,{nodes:(0,$t.sourceASTs)(e.appliedDirectivesOf("deprecated")[0],e)}),e.defaultValue!==void 0&&!(0,ip.isValidValue)(e.defaultValue,e,new $t.VariableDefinitions))){let t=this.schema.builtInScalarTypes().find(n=>e.type&&(0,$t.isScalarType)(e.type)&&n.name===e.type.name);(!t||!(0,ip.isValidValueApplication)(e.defaultValue,t,e.defaultValue,new $t.VariableDefinitions))&&this.addError(`Invalid default value (got: ${(0,ip.valueToString)(e.defaultValue)}) provided for argument ${e.coordinate} of type ${e.type}.`,{nodes:(0,$t.sourceASTs)(e)})}}validateUnionType(e){e.membersCount()===0&&this.addError(`Union type ${e.coordinate} must define one or more member types.`,{nodes:e.sourceAST})}validateEnumType(e){e.values.length===0&&this.addError(`Enum type ${e.coordinate} must define one or more values.`,{nodes:e.sourceAST});for(let t of e.values)this.validateName(t),(t.name==="true"||t.name==="false"||t.name==="null")&&this.addError(`Enum type ${e.coordinate} cannot include value: ${t}.`,{nodes:t.sourceAST})}validateDirectiveApplication(e,t){for(let n of e.arguments()){let r=t.arguments()[n.name];if(r&&n.type&&!(0,ip.isValidValue)(r,n,this.emptyVariables)){let a=t.parent,s=a instanceof $t.NamedSchemaElement?a.coordinate:"schema";this.addError(`Invalid value for "${n.coordinate}" of type "${n.type}" in application of "${e.coordinate}" to "${s}".`,{nodes:(0,$t.sourceASTs)(t,n)})}}}}});var bt=D(O=>{"use strict";h();m();Object.defineProperty(O,"__esModule",{value:!0});O.CoreFeature=O.defaultSchemaBlueprint=O.SchemaBlueprint=O.NamedSchemaElementWithType=O.NamedSchemaElement=O.SchemaElement=O.Extension=O.sourceASTs=O.DirectiveTargetElement=O.isLeafType=O.typeFromAST=O.typeToAST=O.isTypeSystemDirectiveLocation=O.typeSystemDirectiveLocations=O.isExecutableDirectiveLocation=O.executableDirectiveLocations=O.isConditionalDirective=O.supertypes=O.runtimeTypesIntersects=O.possibleRuntimeTypes=O.isCompositeType=O.isAbstractType=O.isNullableType=O.baseType=O.filterTypesOfKind=O.isTypeOfKind=O.isInputType=O.isOutputType=O.isInputObjectType=O.isUnionType=O.isEnumType=O.isInterfaceType=O.isObjectType=O.isIDType=O.isBooleanType=O.isFloatType=O.isStringType=O.isIntType=O.isCustomScalarType=O.isScalarType=O.isNonNullType=O.isListType=O.isWrapperType=O.isNamedType=O.isSchemaRootType=O.defaultRootName=O.allSchemaRootKinds=O.typenameFieldName=O.ErrGraphQLAPISchemaValidationFailed=O.ErrGraphQLValidationFailed=void 0;O.isFieldDefinition=O.copyDirectiveDefinitionToSchema=O.newNamedType=O.variableDefinitionFromAST=O.variableDefinitionsFromAST=O.VariableDefinitions=O.VariableDefinition=O.isVariable=O.VariableCollector=O.Variable=O.directiveApplicationsSubstraction=O.isDirectiveApplicationsSubset=O.sameDirectiveApplications=O.sameDirectiveApplication=O.directivesToDirectiveNodes=O.directivesToString=O.Directive=O.DirectiveDefinition=O.EnumValue=O.ArgumentDefinition=O.InputFieldDefinition=O.FieldDefinition=O.NonNullType=O.ListType=O.InputObjectType=O.EnumType=O.UnionType=O.UnionMember=O.InterfaceType=O.ObjectType=O.InterfaceImplementation=O.ScalarType=O.SchemaDefinition=O.RootType=O.Schema=O.CoreFeatures=void 0;var Z=ft(),Po=vi(),he=Mt(),Xi=lr(),Uee=hf(),Wb=yl(),jee=pr(),El=vf(),qee=ku(),Gee=Ud(),Kee=Qb(),Lo=Ji(),Hb=Do(),ut=$i(),Qee=Vi(),Hee="GraphQLValidationFailed",Yee="The schema is not a valid GraphQL schema.",zee=new Set,Wee=(i,e=Yee)=>(0,ut.aggregateError)(Hee,e,i);O.ErrGraphQLValidationFailed=Wee;var Jee="GraphQLAPISchemaValidationFailed",Xee=i=>(0,ut.aggregateError)(Jee,"The supergraph schema failed to produce a valid API schema",i);O.ErrGraphQLAPISchemaValidationFailed=Xee;O.typenameFieldName="__typename";O.allSchemaRootKinds=["query","mutation","subscription"];function My(i){return i.charAt(0).toUpperCase()+i.slice(1)}O.defaultRootName=My;function Zee(i){if(i.kind==="ObjectType")switch(i.name){case"Query":return"query";case"Mutation":return"mutation";case"Subscription":return"subscription";default:return}}function ete(i){return jy(i)&&i.isRootType()}O.isSchemaRootType=ete;function tte(i){return i instanceof $n}O.isNamedType=tte;function Jb(i){return Xb(i)||wl(i)}O.isWrapperType=Jb;function Xb(i){return i.kind=="ListType"}O.isListType=Xb;function wl(i){return i.kind=="NonNullType"}O.isNonNullType=wl;function Uy(i){return i.kind=="ScalarType"}O.isScalarType=Uy;function ite(i){return Uy(i)&&!rI.includes(i.name)}O.isCustomScalarType=ite;function nte(i){return i===i.schema().intType()}O.isIntType=nte;function rte(i){return i===i.schema().stringType()}O.isStringType=rte;function ate(i){return i===i.schema().floatType()}O.isFloatType=ate;function ste(i){return i===i.schema().booleanType()}O.isBooleanType=ste;function ote(i){return i===i.schema().idType()}O.isIDType=ote;function jy(i){return i.kind=="ObjectType"}O.isObjectType=jy;function qy(i){return i.kind=="InterfaceType"}O.isInterfaceType=qy;function Zb(i){return i.kind=="EnumType"}O.isEnumType=Zb;function Rl(i){return i.kind=="UnionType"}O.isUnionType=Rl;function ute(i){return i.kind=="InputObjectType"}O.isInputObjectType=ute;function eI(i){switch(Bl(i).kind){case"ScalarType":case"ObjectType":case"UnionType":case"EnumType":case"InterfaceType":return!0;default:return!1}}O.isOutputType=eI;function Ff(i){switch(Bl(i).kind){case"ScalarType":case"EnumType":case"InputObjectType":return!0;default:return!1}}O.isInputType=Ff;function tI(i,e){return i.kind===e}O.isTypeOfKind=tI;function xo(i,e){return i.reduce((t,n)=>(tI(n,e)&&t.push(n),t),[])}O.filterTypesOfKind=xo;function Bl(i){return Jb(i)?i.baseType():i}O.baseType=Bl;function pte(i){return!wl(i)}O.isNullableType=pte;function dte(i){return qy(i)||Rl(i)}O.isAbstractType=dte;function lte(i){return jy(i)||qy(i)||Rl(i)}O.isCompositeType=lte;function Vy(i){switch(i.kind){case"InterfaceType":return i.possibleRuntimeTypes();case"UnionType":return i.types();case"ObjectType":return[i]}}O.possibleRuntimeTypes=Vy;function cte(i,e){if(i===e)return!0;let t=Vy(i),n=Vy(e);for(let r of t)if(n.some(a=>r.name===a.name))return!0;return!1}O.runtimeTypesIntersects=cte;function fte(i){switch(i.kind){case"InterfaceType":return i.interfaces();case"UnionType":return[];case"ObjectType":return i.interfaces().concat(i.unionsWhereMember())}}O.supertypes=fte;function mte(i){return["include","skip"].includes(i.name)}O.isConditionalDirective=mte;O.executableDirectiveLocations=[Z.DirectiveLocation.QUERY,Z.DirectiveLocation.MUTATION,Z.DirectiveLocation.SUBSCRIPTION,Z.DirectiveLocation.FIELD,Z.DirectiveLocation.FRAGMENT_DEFINITION,Z.DirectiveLocation.FRAGMENT_SPREAD,Z.DirectiveLocation.INLINE_FRAGMENT,Z.DirectiveLocation.VARIABLE_DEFINITION];var hte=new Set(O.executableDirectiveLocations);function iI(i){return hte.has(i)}O.isExecutableDirectiveLocation=iI;O.typeSystemDirectiveLocations=[Z.DirectiveLocation.SCHEMA,Z.DirectiveLocation.SCALAR,Z.DirectiveLocation.OBJECT,Z.DirectiveLocation.FIELD_DEFINITION,Z.DirectiveLocation.ARGUMENT_DEFINITION,Z.DirectiveLocation.INTERFACE,Z.DirectiveLocation.UNION,Z.DirectiveLocation.ENUM,Z.DirectiveLocation.ENUM_VALUE,Z.DirectiveLocation.INPUT_OBJECT,Z.DirectiveLocation.INPUT_FIELD_DEFINITION];var vte=new Set(O.typeSystemDirectiveLocations);function nI(i){return vte.has(i)}O.isTypeSystemDirectiveLocation=nI;function Ef(i){switch(i.kind){case"ListType":return{kind:Z.Kind.LIST_TYPE,type:Ef(i.ofType)};case"NonNullType":return{kind:Z.Kind.NON_NULL_TYPE,type:Ef(i.ofType)};default:return{kind:Z.Kind.NAMED_TYPE,name:{kind:Z.Kind.NAME,value:i.name}}}}O.typeToAST=Ef;function gf(i,e){switch(e.kind){case Z.Kind.LIST_TYPE:return new Fl(gf(i,e.type));case Z.Kind.NON_NULL_TYPE:return new Pn(gf(i,e.type));default:let t=i.type(e.name.value);if(!t)throw ut.ERRORS.INVALID_GRAPHQL.err(`Unknown type "${e.name.value}"`,{nodes:e});return t}}O.typeFromAST=gf;function yte(i){return Uy(i)||Zb(i)}O.isLeafType=yte;var gl=class{constructor(e,t=[]){this._schema=e,this.appliedDirectives=t.map(n=>this.attachDirective(n))}schema(){return this._schema}attachDirective(e){let t=e.isAttached()?new Mo(e.name,e.arguments()):e;return Zt.prototype.setParent.call(t,this),t}appliedDirectivesOf(e){let t=typeof e=="string"?e:e.name;return this.appliedDirectives.filter(n=>n.name==t)}hasAppliedDirective(e){let t=typeof e=="string"?e:e.name;return this.appliedDirectives.some(n=>n.name==t)}appliedDirectivesToDirectiveNodes(){return sI(this.appliedDirectives)}appliedDirectivesToString(){return aI(this.appliedDirectives)}collectVariablesInAppliedDirectives(e){for(let t of this.appliedDirectives)e.collectInArguments(t.arguments())}};O.DirectiveTargetElement=gl;function Ete(...i){return i.map(e=>e?.sourceAST).filter(e=>e!==void 0)}O.sourceASTs=Ete;var Zt=class{schema(){let e=this.schemaInternal();return(0,he.assert)(e,"requested schema does not exist. Probably because the element is unattached"),e}schemaInternal(){if(this._parent){if(this._parent instanceof pi)return this._parent;if(this._parent instanceof La)return this._parent.schemaInternal();if(this._parent instanceof gl)return this._parent.schema()}else return;(0,he.assert)(!1,"unreachable code. parent is of unknown type")}get parent(){return(0,he.assert)(this._parent,"trying to access non-existent parent"),this._parent}isAttached(){return!!this._parent}setParent(e){(0,he.assert)(!this._parent,"Cannot set parent of an already attached element"),this._parent=e,this.onAttached()}onAttached(){}checkUpdate(){(0,he.assert)(this.isAttached(),()=>`Cannot modify detached element ${this}`)}},Es=class{get extendedElement(){return this._extendedElement}setExtendedElement(e){(0,he.assert)(!this._extendedElement,"Cannot attached already attached extension"),this._extendedElement=e}};O.Extension=Es;var La=class extends Zt{addUnappliedDirective({nameOrDef:e,args:t,extension:n,directive:r}){let a={nameOrDef:e,args:t??{},extension:n,directive:r};this._unappliedDirectives?this._unappliedDirectives.push(a):this._unappliedDirectives=[a]}processUnappliedDirectives(){var e;for(let{nameOrDef:t,args:n,extension:r,directive:a}of(e=this._unappliedDirectives)!==null&&e!==void 0?e:[]){let s=this.applyDirective(t,n);s.setOfExtension(r),s.sourceAST=a}this._unappliedDirectives=void 0}get appliedDirectives(){var e;return(e=this._appliedDirectives)!==null&&e!==void 0?e:[]}appliedDirectivesOf(e){let t=typeof e=="string"?e:e.name;return this.appliedDirectives.filter(n=>n.name==t)}hasAppliedDirective(e){return(typeof e=="string"?this.appliedDirectivesOf(e):this.appliedDirectivesOf(e)).length!==0}applyDirective(e,t,n=!1){var r;let a;if(typeof e=="string"){this.checkUpdate(),a=new Mo(e,t??Object.create(null));let s=(r=this.schema().directive(e))!==null&&r!==void 0?r:this.schema().blueprint.onMissingDirectiveDefinition(this.schema(),a);if(!s)throw this.schema().blueprint.onGraphQLJSValidationError(this.schema(),ut.ERRORS.INVALID_GRAPHQL.err(`Unknown directive "@${e}".`));if(Array.isArray(s))throw(0,O.ErrGraphQLValidationFailed)(s)}else this.checkUpdate(e),a=new Mo(e.name,t??Object.create(null));return Zt.prototype.setParent.call(a,this),this._appliedDirectives?n?this._appliedDirectives.unshift(a):this._appliedDirectives.push(a):this._appliedDirectives=[a],gs.prototype.addReferencer.call(a.definition,a),this.onModification(),a}removeAppliedDirectives(){if(!this._appliedDirectives)return;this._appliedDirectives.concat().forEach(t=>t.remove())}onModification(){let e=this.schemaInternal();e&&pi.prototype.onModification.call(e)}isElementBuiltIn(){return!1}removeTypeReferenceInternal(e){this.removeTypeReference(e)}checkRemoval(){(0,he.assert)(!this.isElementBuiltIn()||pi.prototype.canModifyBuiltIn.call(this.schema()),()=>`Cannot modify built-in ${this}`)}checkUpdate(e){if(super.checkUpdate(),!pi.prototype.canModifyBuiltIn.call(this.schema())){let t=this;for(;t&&t instanceof La;)(0,he.assert)(!t.isElementBuiltIn(),()=>`Cannot modify built-in (or part of built-in) ${this}`),t=t.parent}if(e&&e.isAttached()){let t=e.schema();(0,he.assert)(!t||t===this.schema(),()=>`Cannot add element ${e} to ${this} as it is attached to another schema`)}}};O.SchemaElement=La;var $o=class extends La{constructor(e){super(),this._name=e}get name(){return this._name}};O.NamedSchemaElement=$o;var $n=class extends $o{constructor(e,t=!1){super(e),this.isBuiltIn=t,this.preserveEmptyDefinition=!1}addReferencer(e){var t;(t=this._referencers)!==null&&t!==void 0||(this._referencers=new Set),this._referencers.add(e)}removeReferencer(e){var t;(t=this._referencers)===null||t===void 0||t.delete(e)}get coordinate(){return this.name}*allChildElements(){}extensions(){var e;return(e=this._extensions)!==null&&e!==void 0?e:[]}hasExtension(e){var t,n;return(n=(t=this._extensions)===null||t===void 0?void 0:t.includes(e))!==null&&n!==void 0?n:!1}newExtension(){return this.addExtension(new Es)}addExtension(e){return this.checkUpdate(),this.hasExtension(e)||((0,he.assert)(!e.extendedElement,()=>`Cannot add extension to type ${this}: it is already added to another type`),this._extensions?this._extensions.push(e):this._extensions=[e],Es.prototype.setExtendedElement.call(e,this),this.onModification()),e}removeExtensions(){if(this._extensions){this._extensions=void 0;for(let e of this.appliedDirectives)e.removeOfExtension();this.removeInnerElementsExtensions()}}isIntrospectionType(){return(0,El.isIntrospectionName)(this.name)}hasExtensionElements(){return!!this._extensions}hasNonExtensionElements(){return this.preserveEmptyDefinition||this.appliedDirectives.some(e=>e.ofExtension()===void 0)||this.hasNonExtensionInnerElements()}isElementBuiltIn(){return this.isBuiltIn}rename(e){this.checkUpdate();let t=this._name;this._name=e,pi.prototype.renameTypeInternal.call(this._parent,t,e),this.onModification()}remove(){var e;if(!this._parent)return[];this.checkRemoval(),this.onModification(),this.sourceAST=void 0,this.removeAppliedDirectives(),this.removeInnerElements();let t=[];return(e=this._referencers)===null||e===void 0||e.forEach(n=>{La.prototype.removeTypeReferenceInternal.call(n,this),t.push(n)}),this._referencers=void 0,pi.prototype.removeTypeInternal.call(this._parent,this),this._parent=void 0,t}removeRecursive(){this.remove().forEach(e=>this.removeReferenceRecursive(e))}referencers(){var e;return(e=this._referencers)!==null&&e!==void 0?e:zee}isReferenced(){return!!this._referencers}toString(){return this.name}},np=class extends $o{get type(){return this._type}set type(e){e?this.checkUpdate(e):this.checkRemoval(),this._type&&jo(this,this._type),this._type=e,e&&sp(this,e)}removeTypeReference(e){(0,he.assert)(this._type&&Bl(this._type)===e,()=>`Cannot remove reference to type ${e} on ${this} as its type is ${this._type}`),this._type=void 0}};O.NamedSchemaElementWithType=np;var Al=class extends Zt{ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,he.assert)(!e||((t=this._parent)===null||t===void 0?void 0:t.hasExtension(e)),()=>`Cannot set object as part of the provided extension: it is not an extension of parent ${this.parent}`),this._extension=e}remove(){this.removeInner(),pi.prototype.onModification.call(this.schema()),this._extension=void 0,this._parent=void 0}},Af=class{onMissingDirectiveDefinition(e,t){}onDirectiveDefinitionAndSchemaParsed(e){return[]}ignoreParsedField(e,t){return!1}onConstructed(e){}onAddedCoreFeature(e,t){}onInvalidation(e){}onValidation(e){return[]}validationRules(){return Gee.specifiedSDLRules}onGraphQLJSValidationError(e,t){var n;let r=/^Unknown directive "@(?[_A-Za-z][_0-9A-Za-z]*)"\.$/.exec(t.message),a=(n=r?.groups)===null||n===void 0?void 0:n.directive;if(!a)return t;let s=e.allDirectives().map(u=>u.name),o=(0,Hb.suggestionList)(a,s);return o.length===0?this.onUnknownDirectiveValidationError(e,a,t):(0,ut.withModifiedErrorMessage)(t,`${t.message}${(0,Hb.didYouMean)(o.map(u=>"@"+u))}`)}onUnknownDirectiveValidationError(e,t,n){return n}applyDirectivesAfterParsing(){return!1}};O.SchemaBlueprint=Af;O.defaultSchemaBlueprint=new Af;var Vo=class{constructor(e,t,n,r,a){this.url=e,this.nameInSchema=t,this.directive=n,this.imports=r,this.purpose=a}isFeatureDefinition(e){let t=e.kind==="DirectiveDefinition"?"@"+e.name:e.name;return e.name.startsWith(this.nameInSchema+"__")||e.kind==="DirectiveDefinition"&&e.name===this.nameInSchema||!!this.imports.find(n=>{var r;return t===((r=n.as)!==null&&r!==void 0?r:n.name)})}directiveNameInSchema(e){return Vo.directiveNameInSchemaForCoreArguments(this.url,this.nameInSchema,this.imports,e)}static directiveNameInSchemaForCoreArguments(e,t,n,r){var a,s;let o=n.find(u=>u.name.charAt(0)==="@"&&u.name.slice(1)===r);return o?(s=(a=o.as)===null||a===void 0?void 0:a.slice(1))!==null&&s!==void 0?s:r:r===e.name?t:t+"__"+r}typeNameInSchema(e){var t;let n=this.imports.find(r=>r.name===e);return n?(t=n.as)!==null&&t!==void 0?t:e:this.nameInSchema+"__"+e}minimumFederationVersion(){var e;return(e=(0,Qee.coreFeatureDefinitionIfKnown)(this.url))===null||e===void 0?void 0:e.minimumFederationVersion}};O.CoreFeature=Vo;var ko=class{constructor(e){this.coreItself=e,this.byAlias=new Map,this.byIdentity=new Map,this.add(e);let t=(0,Po.findCoreSpecVersion)(e.url);if(!t)throw ut.ERRORS.UNKNOWN_LINK_VERSION.err(`Schema uses unknown version ${e.url.version} of the ${e.url.name} spec`);this.coreDefinition=t}getByIdentity(e){return this.byIdentity.get(e)}allFeatures(){return this.byIdentity.values()}removeFeature(e){let t=this.byIdentity.get(e);t&&(this.byIdentity.delete(e),this.byAlias.delete(t.nameInSchema))}maybeAddFeature(e){var t,n;if(((t=e.definition)===null||t===void 0?void 0:t.name)!==this.coreItself.nameInSchema)return;let r=e,a=r.arguments(),s=this.coreDefinition.extractFeatureUrl(a);if(this.byIdentity.get(s.identity))throw ut.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Duplicate inclusion of feature ${s.identity}`);let u=(0,Po.extractCoreFeatureImports)(s,r),p=new Vo(s,(n=a.as)!==null&&n!==void 0?n:s.name,e,u,a.for);return this.add(p),e.schema().blueprint.onAddedCoreFeature(e.schema(),p),p}add(e){this.byAlias.set(e.nameInSchema,e),this.byIdentity.set(e.url.identity,e)}sourceFeature(e){let t=e instanceof gs||e instanceof Mo,n=e.name.split("__");if(n.length>1){let r=this.byAlias.get(n[0]);return r?{feature:r,nameInFeature:n.slice(1).join("__"),isImported:!1}:void 0}else{let r=t?"@"+e.name:e.name,a=[this.coreItself,...this.byIdentity.values()];for(let o of a)for(let{as:u,name:p}of o.imports)if((u??p)===r)return{feature:o,nameInFeature:t?p.slice(1):p,isImported:!0};let s=this.byAlias.get(e.name);return s&&t?{feature:s,nameInFeature:e.name,isImported:!1}:void 0}}};O.CoreFeatures=ko;var rI=["Int","Float","String","Boolean","ID"],gte=rI.map(i=>(0,Lo.createScalarTypeSpecification)({name:i})),Ate=[(0,Lo.createDirectiveSpecification)({name:"include",locations:[Z.DirectiveLocation.FIELD,Z.DirectiveLocation.FRAGMENT_SPREAD,Z.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"if",type:i=>new Pn(i.booleanType())}]}),(0,Lo.createDirectiveSpecification)({name:"skip",locations:[Z.DirectiveLocation.FIELD,Z.DirectiveLocation.FRAGMENT_SPREAD,Z.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"if",type:i=>new Pn(i.booleanType())}]}),(0,Lo.createDirectiveSpecification)({name:"deprecated",locations:[Z.DirectiveLocation.FIELD_DEFINITION,Z.DirectiveLocation.ENUM_VALUE,Z.DirectiveLocation.ARGUMENT_DEFINITION,Z.DirectiveLocation.INPUT_FIELD_DEFINITION],args:[{name:"reason",type:i=>i.stringType(),defaultValue:"No longer supported"}]}),(0,Lo.createDirectiveSpecification)({name:"specifiedBy",locations:[Z.DirectiveLocation.SCALAR],args:[{name:"url",type:i=>new Pn(i.stringType())}]}),(0,Lo.createDirectiveSpecification)({name:"defer",locations:[Z.DirectiveLocation.FRAGMENT_SPREAD,Z.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"label",type:i=>i.stringType()},{name:"if",type:i=>new Pn(i.booleanType()),defaultValue:!0}]}),(0,Lo.createDirectiveSpecification)({name:"stream",locations:[Z.DirectiveLocation.FIELD],args:[{name:"label",type:i=>i.stringType()},{name:"initialCount",type:i=>i.intType(),defaultValue:0},{name:"if",type:i=>new Pn(i.booleanType()),defaultValue:!0}]})],Tte=/^@?[_A-Za-z][_0-9A-Za-z]*(\.[_A-Za-z][_0-9A-Za-z]*)?(\([_A-Za-z][_0-9A-Za-z]*:\))?$/,pi=class{constructor(e=O.defaultSchemaBlueprint,t={}){this.blueprint=e,this.config=t,this._builtInTypes=new he.MapWithCachedArrays,this._types=new he.MapWithCachedArrays,this._builtInDirectives=new he.MapWithCachedArrays,this._directives=new he.MapWithCachedArrays,this.isConstructed=!1,this.isValidated=!1,this._schemaDefinition=new rp,Zt.prototype.setParent.call(this._schemaDefinition,this),gte.forEach(n=>n.checkOrAdd(this,void 0,!0)),Ate.forEach(n=>n.checkOrAdd(this,void 0,!0)),e.onConstructed(this),this.isConstructed=!0}canModifyBuiltIn(){return!this.isConstructed}runWithBuiltInModificationAllowed(e){let t=this.isConstructed;this.isConstructed=!1,e(),this.isConstructed=t}renameTypeInternal(e,t){this._types.set(t,this._types.get(e)),this._types.delete(e)}removeTypeInternal(e){this._types.delete(e.name)}removeDirectiveInternal(e){this._directives.delete(e.name)}markAsCoreSchema(e){this._coreFeatures=new ko(e)}unmarkAsCoreSchema(){this._coreFeatures=void 0}onModification(){this.isConstructed&&(this.invalidate(),this.cachedDocument=void 0,this.apiSchema=void 0)}isCoreSchema(){return this.coreFeatures!==void 0}get coreFeatures(){return this._coreFeatures}toAST(){var e;if(!this.cachedDocument){let t=(0,Z.parse)((0,Wb.printSchema)(this),{noLocation:!0});if(!((e=this.config.cacheAST)!==null&&e!==void 0?e:!1))return t;this.cachedDocument=t}return this.cachedDocument}toAPISchema(){if(!this.apiSchema){this.validate();let e=this.clone(void 0,!1);for(let t of["defer","stream"]){let n=e.directive(t);n&&!n.isBuiltIn&&n.removeRecursive()}(0,Uee.removeInaccessibleElements)(e),(0,Po.removeAllCoreFeatures)(e),(0,he.assert)(!e.isCoreSchema(),"The API schema shouldn't be a core schema"),e.validate(),this.apiSchema=e}return this.apiSchema}emptyASTDefinitionsForExtensionsWithoutDefinition(){let e=[];if(this.schemaDefinition.hasExtensionElements()&&!this.schemaDefinition.hasNonExtensionElements()){let t={kind:Z.Kind.SCHEMA_DEFINITION,operationTypes:[]};e.push(t)}for(let t of this.types())if(t.hasExtensionElements()&&!t.hasNonExtensionElements()){let n={kind:t.astDefinitionKind,name:{kind:Z.Kind.NAME,value:t.name}};e.push(n)}return e}toGraphQLJSSchema(e){var t,n;let r=(t=e?.includeDefer)!==null&&t!==void 0?t:!1,a=(n=e?.includeStream)!==null&&n!==void 0?n:!1,s=this.toAST(),o=this.emptyASTDefinitionsForExtensionsWithoutDefinition();r&&o.push(this.deferDirective().toAST()),a&&o.push(this.streamDirective().toAST()),o.length>0&&(s={kind:Z.Kind.DOCUMENT,definitions:s.definitions.concat(o)});let u=(0,Z.buildASTSchema)(s);if(o.length>0)for(let p of o)switch(p.kind){case Z.Kind.SCHEMA_DEFINITION:u.astNode=void 0;break;case Z.Kind.SCALAR_TYPE_DEFINITION:case Z.Kind.OBJECT_TYPE_DEFINITION:case Z.Kind.INTERFACE_TYPE_DEFINITION:case Z.Kind.ENUM_TYPE_DEFINITION:case Z.Kind.UNION_TYPE_DEFINITION:case Z.Kind.INPUT_OBJECT_TYPE_DEFINITION:let d=u.getType(p.name.value);d&&(d.astNode=void 0)}return u}get schemaDefinition(){return this._schemaDefinition}types(){return this._types.values()}interfaceTypes(){return xo(this.types(),"InterfaceType")}objectTypes(){return xo(this.types(),"ObjectType")}unionTypes(){return xo(this.types(),"UnionType")}scalarTypes(){return xo(this.types(),"ScalarType")}inputTypes(){return xo(this.types(),"InputObjectType")}enumTypes(){return xo(this.types(),"EnumType")}builtInTypes(e=!1){let t=this._builtInTypes.values();return e?t:t.filter(n=>!this.isShadowedBuiltInType(n))}isShadowedBuiltInType(e){return e.isBuiltIn&&this._types.has(e.name)}allTypes(){return this.builtInTypes().concat(this.types())}type(e){let t=this._types.get(e);return t||this._builtInTypes.get(e)}typeOfKind(e,t){let n=this.type(e);return n&&n.kind===t?n:void 0}intType(){return this._builtInTypes.get("Int")}floatType(){return this._builtInTypes.get("Float")}stringType(){return this._builtInTypes.get("String")}booleanType(){return this._builtInTypes.get("Boolean")}idType(){return this._builtInTypes.get("ID")}builtInScalarTypes(){return[this.intType(),this.floatType(),this.stringType(),this.booleanType(),this.idType()]}addType(e){let t=this.type(e.name);if(t&&(0,he.assert)(t.isBuiltIn,()=>`Type ${e} already exists in this schema`),e.isAttached())return(0,he.assert)(e.parent==this,()=>`Cannot add type ${e} to this schema; it is already attached to another schema`),e;e.isBuiltIn?((0,he.assert)(!this.isConstructed,`Cannot add built-in ${e} to this schema (built-ins can only be added at schema construction time)`),this._builtInTypes.set(e.name,e)):this._types.set(e.name,e),Zt.prototype.setParent.call(e,this);let n=Zee(e);return n&&!this.schemaDefinition.root(n)&&this.schemaDefinition.setRoot(n,e),this.onModification(),e}directives(){return this._directives.values()}builtInDirectives(e=!1){return e?this._builtInDirectives.values():this._builtInDirectives.values().filter(t=>!this.isShadowedBuiltInDirective(t))}allDirectives(){return this.builtInDirectives().concat(this.directives())}isShadowedBuiltInDirective(e){return e.isBuiltIn&&this._directives.has(e.name)}directive(e){let t=this._directives.get(e);return t||this.builtInDirective(e)}builtInDirective(e){return this._builtInDirectives.get(e)}*allNamedSchemaElement(){for(let e of this.types())yield e,yield*e.allChildElements();for(let e of this.directives())yield e,yield*e.arguments()}*allSchemaElement(){yield this._schemaDefinition,yield*this.allNamedSchemaElement()}addDirectiveDefinition(e){let t=typeof e=="string"?new gs(e):e,n=this.directive(t.name);return(0,he.assert)(!n||n.isBuiltIn,()=>`Directive ${t} already exists in this schema`),t.isAttached()?((0,he.assert)(t.parent==this,()=>`Cannot add directive ${t} to this schema; it is already attached to another schema`),t):(t.isBuiltIn?((0,he.assert)(!this.isConstructed,()=>`Cannot add built-in ${t} to this schema (built-ins can only be added at schema construction time)`),this._builtInDirectives.set(t.name,t)):this._directives.set(t.name,t),Zt.prototype.setParent.call(t,this),this.onModification(),t)}invalidate(){this.isValidated&&this.blueprint.onInvalidation(this),this.isValidated=!1}assumeValid(){this.runWithBuiltInModificationAllowed(()=>{(0,El.addIntrospectionFields)(this)}),this.isValidated=!0}validate(){if(this.isValidated)return;this.runWithBuiltInModificationAllowed(()=>{(0,El.addIntrospectionFields)(this)});let e=(0,qee.validateSDL)(this.toAST(),void 0,this.blueprint.validationRules()).map(t=>this.blueprint.onGraphQLJSValidationError(this,t));if(e=e.concat((0,Kee.validateSchema)(this)),e.length===0&&this.runWithBuiltInModificationAllowed(()=>{e=this.blueprint.onValidation(this)}),e.length>0)throw(0,O.ErrGraphQLValidationFailed)(e);this.isValidated=!0}clone(e,t=!0){let n=new pi(e??this.blueprint);return Nte(this,n,t),this.isValidated&&n.assumeValid(),n}getBuiltInDirective(e){let t=this.directive(e);return(0,he.assert)(t,`The provided schema has not be built with the ${e} directive built-in`),t}includeDirective(){return this.getBuiltInDirective("include")}skipDirective(){return this.getBuiltInDirective("skip")}deprecatedDirective(){return this.getBuiltInDirective("deprecated")}specifiedByDirective(){return this.getBuiltInDirective("specifiedBy")}deferDirective(){return this.getBuiltInDirective("defer")}streamDirective(){return this.getBuiltInDirective("stream")}elementByCoordinate(e){if(!e.match(Tte))throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);let t=e.indexOf("("),n=t<0?e:e.slice(0,t),r=t<0?void 0:e.slice(t+1,e.length-2),a=n.split("."),s=a[0],o=a[1];if(s.startsWith("@")){if(o)throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);let p=this.directive(s.slice(1));return r?p?.argument(r):p}else{let p=this.type(s);if(!p||!o)return p;switch(p.kind){case"ObjectType":case"InterfaceType":let d=p.field(o);return r?d?.argument(r):d;case"InputObjectType":if(r)throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);return p.field(o);case"EnumType":if(r)throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);return p.value(o);default:throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`)}}}};O.Schema=pi;var Tl=class extends Al{constructor(e,t){super(),this.rootKind=e,this.type=t}isDefaultRootName(){return My(this.rootKind)==this.type.name}removeInner(){rp.prototype.removeRootType.call(this._parent,this)}};O.RootType=Tl;var rp=class extends La{constructor(){super(...arguments),this.kind="SchemaDefinition",this._roots=new he.MapWithCachedArrays,this.preserveEmptyDefinition=!1}roots(){return this._roots.values()}applyDirective(e,t,n=!1){var r,a;let s=super.applyDirective(e,t,n),o=this.schema(),u=o.coreFeatures;if((0,Po.isCoreSpecDirectiveApplication)(s)){if(u)throw ut.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err("Invalid duplicate application of @core/@link");let p=s,d=p.arguments(),l=Po.FeatureUrl.parse((r=d.url)!==null&&r!==void 0?r:d.feature),c=(0,Po.extractCoreFeatureImports)(l,p),v=new Vo(l,(a=d.as)!==null&&a!==void 0?a:l.name,p,c,d.for);pi.prototype.markAsCoreSchema.call(o,v),this.appliedDirectives.filter(y=>y!==s).forEach(y=>ko.prototype.maybeAddFeature.call(o.coreFeatures,y))}else u&&ko.prototype.maybeAddFeature.call(u,s);return this.onModification(),s}root(e){return this._roots.get(e)}rootType(e){var t;return(t=this.root(e))===null||t===void 0?void 0:t.type}setRoot(e,t){let n;if(typeof t=="string"){this.checkUpdate();let a=this.schema().type(t);if(a){if(a.kind!="ObjectType")throw ut.ERRORS.INVALID_GRAPHQL.err(`${My(e)} root type must be an Object type${e==="query"?"":" if provided"}, it cannot be set to ${t} (an ${a.kind}).`)}else throw ut.ERRORS.INVALID_GRAPHQL.err(`Cannot set schema ${e} root to unknown type ${t}`);n=new Tl(e,a)}else this.checkUpdate(t),n=new Tl(e,t);let r=this._roots.get(e);return r&&jo(this,r.type),this._roots.set(e,n),Zt.prototype.setParent.call(n,this),sp(this,n.type),this.onModification(),n}extensions(){var e;return(e=this._extensions)!==null&&e!==void 0?e:[]}hasExtension(e){var t,n;return(n=(t=this._extensions)===null||t===void 0?void 0:t.includes(e))!==null&&n!==void 0?n:!1}newExtension(){return this.addExtension(new Es)}addExtension(e){return this.checkUpdate(),this.hasExtension(e)||((0,he.assert)(!e.extendedElement,"Cannot add extension to this schema: extension is already added to another schema"),this._extensions?this._extensions.push(e):this._extensions=[e],Es.prototype.setExtendedElement.call(e,this),this.onModification()),e}hasExtensionElements(){return!!this._extensions}hasNonExtensionElements(){return this.preserveEmptyDefinition||this.appliedDirectives.some(e=>e.ofExtension()===void 0)||this.roots().some(e=>e.ofExtension()===void 0)}removeRootType(e){this._roots.delete(e.rootKind),jo(this,e.type)}removeTypeReference(e){for(let t of this.roots())t.type==e&&this._roots.delete(t.rootKind)}toString(){return`schema[${this._roots.keys().join(", ")}]`}};O.SchemaDefinition=rp;var Tf=class extends $n{constructor(){super(...arguments),this.kind="ScalarType",this.astDefinitionKind=Z.Kind.SCALAR_TYPE_DEFINITION}removeTypeReference(e){(0,he.assert)(!1,`Scalar type ${this} can't reference other types; shouldn't be asked to remove reference to ${e}`)}hasNonExtensionInnerElements(){return!1}removeInnerElementsExtensions(){}removeInnerElements(){}removeReferenceRecursive(e){e.remove()}};O.ScalarType=Tf;var Dl=class extends Al{constructor(e){super(),this.interface=e}removeInner(){ap.prototype.removeInterfaceImplementation.call(this._parent,this.interface)}toString(){return`'implements ${this.interface}'`}};O.InterfaceImplementation=Dl;var ap=class extends $n{constructor(){super(...arguments),this._fields=new he.MapWithCachedArrays}onAttached(){pi.prototype.runWithBuiltInModificationAllowed.call(this.schema(),()=>{this.addField(new hr(O.typenameFieldName,!0),new Pn(this.schema().stringType()))})}removeFieldInternal(e){this._fields.delete(e.name),this._cachedNonBuiltInFields=void 0}interfaceImplementations(){var e,t;return(t=(e=this._interfaceImplementations)===null||e===void 0?void 0:e.values())!==null&&t!==void 0?t:[]}interfaceImplementation(e){return this._interfaceImplementations?this._interfaceImplementations.get(typeof e=="string"?e:e.name):void 0}interfaces(){return this.interfaceImplementations().map(e=>e.interface)}implementsInterface(e){var t,n;return(n=(t=this._interfaceImplementations)===null||t===void 0?void 0:t.has(typeof e=="string"?e:e.name))!==null&&n!==void 0?n:!1}addImplementedInterface(e){var t;let n;if(e instanceof Dl)this.checkUpdate(e),n=e;else{let a;if(typeof e=="string"){this.checkUpdate();let s=this.schema().type(e);if(s){if(s.kind!="InterfaceType")throw ut.ERRORS.INVALID_GRAPHQL.err(`Cannot implement non-interface type ${e} (of type ${s.kind})`)}else throw ut.ERRORS.INVALID_GRAPHQL.err(`Cannot implement unknown type ${e}`);a=s}else a=e;n=new Dl(a)}let r=(t=this._interfaceImplementations)===null||t===void 0?void 0:t.get(n.interface.name);return r||(this._interfaceImplementations||(this._interfaceImplementations=new he.MapWithCachedArrays),this._interfaceImplementations.set(n.interface.name,n),sp(this,n.interface),Zt.prototype.setParent.call(n,this),this.onModification(),n)}fields(){return this._cachedNonBuiltInFields||(this._cachedNonBuiltInFields=this._fields.values().filter(e=>!e.isBuiltIn)),this._cachedNonBuiltInFields}hasFields(){return this.fields().length>0}builtInFields(){return this.allFields().filter(e=>e.isBuiltIn)}allFields(){return this._fields.values()}field(e){return this._fields.get(e)}typenameField(){return this.field(O.typenameFieldName)}addField(e,t){let n;if(typeof e=="string"?(this.checkUpdate(),n=new hr(e)):(this.checkUpdate(e),n=e),this.field(n.name))throw ut.ERRORS.INVALID_GRAPHQL.err(`Field ${n.name} already exists on ${this}`);if(t&&!eI(t))throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid input type ${t} for field ${n.name}: object and interface field types should be output types.`);return this._fields.set(n.name,n),this._cachedNonBuiltInFields=void 0,Zt.prototype.setParent.call(n,this),t&&(n.type=t),this.onModification(),n}*allChildElements(){for(let e of this._fields.values())yield e,yield*e.arguments()}removeInterfaceImplementation(e){var t;(t=this._interfaceImplementations)===null||t===void 0||t.delete(e.name),jo(this,e)}removeTypeReference(e){var t;(t=this._interfaceImplementations)===null||t===void 0||t.delete(e.name)}removeInnerElements(){for(let e of this.interfaceImplementations())e.remove();for(let e of this.allFields())e.isBuiltIn?hr.prototype.removeParent.call(e):e.remove()}hasNonExtensionInnerElements(){return this.interfaceImplementations().some(e=>e.ofExtension()===void 0)||this.fields().some(e=>e.ofExtension()===void 0)}removeInnerElementsExtensions(){this.interfaceImplementations().forEach(e=>e.removeOfExtension()),this.fields().forEach(e=>e.removeOfExtension())}},Df=class extends ap{constructor(){super(...arguments),this.kind="ObjectType",this.astDefinitionKind=Z.Kind.OBJECT_TYPE_DEFINITION}isRootType(){return this.schema().schemaDefinition.roots().some(t=>t.type==this)}isQueryRootType(){var e;return((e=this.schema().schemaDefinition.root("query"))===null||e===void 0?void 0:e.type)===this}isSubscriptionRootType(){var e;return((e=this.schema().schemaDefinition.root("subscription"))===null||e===void 0?void 0:e.type)===this}removeReferenceRecursive(e){switch(e.kind){case"FieldDefinition":e.removeRecursive();break;case"UnionType":e.membersCount()===0&&e.removeRecursive();break}}unionsWhereMember(){var e;let t=[];return(e=this._referencers)===null||e===void 0||e.forEach(n=>{n instanceof $n&&Rl(n)&&t.push(n)}),t}};O.ObjectType=Df;var Sf=class extends ap{constructor(){super(...arguments),this.kind="InterfaceType",this.astDefinitionKind=Z.Kind.INTERFACE_TYPE_DEFINITION}allImplementations(){let e=[];return this.referencers().forEach(t=>{(t.kind==="ObjectType"||t.kind==="InterfaceType")&&e.push(t)}),e}possibleRuntimeTypes(){return this.allImplementations().filter(e=>e.kind==="ObjectType")}isPossibleRuntimeType(e){let t=typeof e=="string"?e:e.name;return this.possibleRuntimeTypes().some(n=>n.name==t)}removeReferenceRecursive(e){e.kind==="FieldDefinition"&&e.removeRecursive()}};O.InterfaceType=Sf;var Sl=class extends Al{constructor(e){super(),this.type=e}removeInner(){_l.prototype.removeMember.call(this._parent,this.type)}};O.UnionMember=Sl;var _l=class extends $n{constructor(){super(...arguments),this.kind="UnionType",this.astDefinitionKind=Z.Kind.UNION_TYPE_DEFINITION,this._members=new he.MapWithCachedArrays}onAttached(){pi.prototype.runWithBuiltInModificationAllowed.call(this.schema(),()=>{this._typenameField=new hr(O.typenameFieldName,!0),Zt.prototype.setParent.call(this._typenameField,this),this._typenameField.type=new Pn(this.schema().stringType())})}types(){return this.members().map(e=>e.type)}members(){return this._members.values()}membersCount(){return this._members.size}hasTypeMember(e){return this._members.has(typeof e=="string"?e:e.name)}addType(e){let t;if(e instanceof Sl)this.checkUpdate(e),t=e;else{let r;if(typeof e=="string"){this.checkUpdate();let a=this.schema().type(e);if(a){if(a.kind!="ObjectType")throw ut.ERRORS.INVALID_GRAPHQL.err(`Cannot add non-object type ${e} (of type ${a.kind}) as member of union type ${this.name}`)}else throw ut.ERRORS.INVALID_GRAPHQL.err(`Cannot add unknown type ${e} as member of union type ${this.name}`);r=a}else this.checkUpdate(e),r=e;t=new Sl(r)}let n=this._members.get(t.type.name);return n||(this._members.set(t.type.name,t),Zt.prototype.setParent.call(t,this),sp(this,t.type),this.onModification(),t)}clearTypes(){for(let e of this.types())this.removeMember(e);this.onModification()}field(e){if(e===O.typenameFieldName&&this._typenameField)return this._typenameField}typenameField(){return this._typenameField}removeMember(e){this._members.delete(e.name),jo(this,e)}removeTypeReference(e){this._members.delete(e.name)}removeInnerElements(){for(let e of this.members())e.remove()}hasNonExtensionInnerElements(){return this.members().some(e=>e.ofExtension()===void 0)}removeReferenceRecursive(e){e.removeRecursive()}removeInnerElementsExtensions(){this.members().forEach(e=>e.removeOfExtension())}};O.UnionType=_l;var bl=class extends $n{constructor(){super(...arguments),this.kind="EnumType",this.astDefinitionKind=Z.Kind.ENUM_TYPE_DEFINITION,this._values=new Map}get values(){return Array.from(this._values.values())}value(e){return this._values.get(e)}addValue(e){let t;typeof e=="string"?(this.checkUpdate(),t=new bf(e)):(this.checkUpdate(e),t=e);let n=this.value(t.name);return n||(this._values.set(t.name,t),Zt.prototype.setParent.call(t,this),this.onModification(),t)}removeTypeReference(e){(0,he.assert)(!1,`Eum type ${this} can't reference other types; shouldn't be asked to remove reference to ${e}`)}removeValueInternal(e){this._values.delete(e.name)}removeInnerElements(){let e=this.values;for(let t of e)t.remove()}hasNonExtensionInnerElements(){return Array.from(this._values.values()).some(e=>e.ofExtension()===void 0)}removeReferenceRecursive(e){e.removeRecursive()}removeInnerElementsExtensions(){for(let e of this._values.values())e.removeOfExtension()}};O.EnumType=bl;var Il=class extends $n{constructor(){super(...arguments),this.kind="InputObjectType",this.astDefinitionKind=Z.Kind.INPUT_OBJECT_TYPE_DEFINITION,this._fields=new Map}fields(){return this._cachedFieldsArray||(this._cachedFieldsArray=(0,he.mapValues)(this._fields)),this._cachedFieldsArray}field(e){return this._fields.get(e)}addField(e,t){let n=typeof e=="string"?new Nl(e):e;if(this.checkUpdate(n),this.field(n.name))throw ut.ERRORS.INVALID_GRAPHQL.err(`Field ${n.name} already exists on ${this}`);if(t&&!Ff(t))throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid output type ${t} for field ${n.name}: input field types should be input types.`);return this._fields.set(n.name,n),this._cachedFieldsArray=void 0,Zt.prototype.setParent.call(n,this),typeof e=="string"&&t&&(n.type=t),this.onModification(),n}hasFields(){return this._fields.size>0}*allChildElements(){yield*this._fields.values()}removeTypeReference(e){(0,he.assert)(!1,`Input Object type ${this} can't reference other types; shouldn't be asked to remove reference to ${e}`)}removeInnerElements(){for(let e of this.fields())e.remove()}removeFieldInternal(e){this._fields.delete(e.name),this._cachedFieldsArray=void 0}hasNonExtensionInnerElements(){return this.fields().some(e=>e.ofExtension()===void 0)}removeReferenceRecursive(e){e.kind==="ArgumentDefinition"?e.parent().removeRecursive():e.removeRecursive()}removeInnerElementsExtensions(){this.fields().forEach(e=>e.removeOfExtension())}};O.InputObjectType=Il;var _f=class{constructor(e){this._type=e,(0,he.assert)(this._type,"Cannot wrap an undefined/null type")}schema(){return this.baseType().schema()}isAttached(){return this.baseType().isAttached()}get ofType(){return this._type}baseType(){return Bl(this._type)}},Fl=class extends _f{constructor(e){super(e),this.kind="ListType"}toString(){return`[${this.ofType}]`}};O.ListType=Fl;var Pn=class extends _f{constructor(e){super(e),this.kind="NonNullType"}toString(){return`${this.ofType}!`}};O.NonNullType=Pn;var hr=class extends np{constructor(e,t=!1){super(e),this.isBuiltIn=t,this.kind="FieldDefinition"}isElementBuiltIn(){return this.isBuiltIn}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}.${this.name}`}hasArguments(){return!!this._args&&this._args.size>0}arguments(){var e,t;return(t=(e=this._args)===null||e===void 0?void 0:e.values())!==null&&t!==void 0?t:[]}argument(e){var t;return(t=this._args)===null||t===void 0?void 0:t.get(e)}addArgument(e,t,n){let r;typeof e=="string"?(this.checkUpdate(),r=new Cl(e),r.defaultValue=n):(this.checkUpdate(e),r=e);let a=this.argument(r.name);if(a){if(t&&a.type&&!(0,jee.sameType)(t,a.type))throw ut.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name} with a different type (${a.type})`);if(n&&(!a.defaultValue||!(0,Xi.valueEquals)(n,a.defaultValue)))throw ut.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name} with a different default value (${(0,Xi.valueToString)(a.defaultValue)})`);return a}if(t&&!Ff(t))throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid output type ${t} for argument ${r.name} of ${this}: arguments should be input types.`);return this._args||(this._args=new he.MapWithCachedArrays),this._args.set(r.name,r),Zt.prototype.setParent.call(r,this),typeof e=="string"&&(r.type=t),this.onModification(),r}ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,he.assert)(!e||((t=this._parent)===null||t===void 0?void 0:t.hasExtension(e)),()=>`Cannot mark field ${this.name} as part of the provided extension: it is not an extension of field parent type ${this.parent}`),this._extension=e,this.onModification()}isIntrospectionField(){return(0,El.isIntrospectionName)(this.name)}isSchemaIntrospectionField(){return El.introspectionFieldNames.includes(this.name)}removeArgumentInternal(e){this._args&&this._args.delete(e)}removeParent(){this._parent=void 0}isDeprecated(){return this.hasAppliedDirective("deprecated")}remove(){if(!this._parent)return[];this.checkRemoval(),this.onModification(),this.sourceAST=void 0,this.type=void 0,this.removeAppliedDirectives();for(let e of this.arguments())e.remove();return ap.prototype.removeFieldInternal.call(this._parent,this),this._parent=void 0,this._extension=void 0,[]}removeRecursive(){let e=this._parent;this.remove(),e&&!Rl(e)&&e.fields().length===0&&e.removeRecursive()}toString(){let e=this.hasArguments()?"("+this.arguments().map(t=>t.toString()).join(", ")+")":"";return`${this.name}${e}: ${this.type}`}};O.FieldDefinition=hr;var Nl=class extends np{constructor(){super(...arguments),this.kind="InputFieldDefinition"}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}.${this.name}`}isRequired(){return wl(this.type)&&this.defaultValue===void 0}ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,he.assert)(!e||((t=this._parent)===null||t===void 0?void 0:t.hasExtension(e)),()=>`Cannot mark field ${this.name} as part of the provided extension: it is not an extension of field parent type ${this.parent}`),this._extension=e,this.onModification()}isDeprecated(){return this.hasAppliedDirective("deprecated")}remove(){return this._parent?(this.checkRemoval(),this.onModification(),this.sourceAST=void 0,this.type=void 0,this.defaultValue=void 0,this.removeAppliedDirectives(),Il.prototype.removeFieldInternal.call(this._parent,this),this._parent=void 0,this._extension=void 0,[]):[]}removeRecursive(){let e=this._parent;this.remove(),e&&e.fields().length===0&&e.removeRecursive()}toString(){let e=this.defaultValue===void 0?"":` = ${(0,Xi.valueToString)(this.defaultValue,this.type)}`;return`${this.name}: ${this.type}${e}`}};O.InputFieldDefinition=Nl;var Cl=class extends np{constructor(e){super(e),this.kind="ArgumentDefinition"}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}(${this.name}:)`}isRequired(){return wl(this.type)&&this.defaultValue===void 0}isDeprecated(){return this.hasAppliedDirective("deprecated")}remove(){return this._parent?(this.checkRemoval(),this.onModification(),this.sourceAST=void 0,this.type=void 0,this.defaultValue=void 0,this.removeAppliedDirectives(),this._parent instanceof hr?hr.prototype.removeArgumentInternal.call(this._parent,this.name):gs.prototype.removeArgumentInternal.call(this._parent,this.name),this._parent=void 0,[]):[]}toString(){let e=this.defaultValue===void 0?"":` = ${(0,Xi.valueToString)(this.defaultValue,this.type)}`;return`${this.name}: ${this.type}${e}`}};O.ArgumentDefinition=Cl;var bf=class extends $o{constructor(){super(...arguments),this.kind="EnumValue"}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}.${this.name}`}ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,he.assert)(!e||((t=this._parent)===null||t===void 0?void 0:t.hasExtension(e)),()=>`Cannot mark field ${this.name} as part of the provided extension: it is not an extension of enum value parent type ${this.parent}`),this._extension=e,this.onModification()}isDeprecated(){return this.hasAppliedDirective("deprecated")}remove(){return this._parent?(this.checkRemoval(),this.onModification(),this.sourceAST=void 0,this.removeAppliedDirectives(),bl.prototype.removeValueInternal.call(this._parent,this),this._parent=void 0,this._extension=void 0,[]):[]}removeTypeReference(e){(0,he.assert)(!1,`Enum value ${this} can't reference other types; shouldn't be asked to remove reference to ${e}`)}toString(){return`${this.name}`}};O.EnumValue=bf;var gs=class extends $o{constructor(e,t=!1){super(e),this.isBuiltIn=t,this.kind="DirectiveDefinition",this.repeatable=!1,this._locations=[]}get coordinate(){return`@${this.name}`}arguments(){var e,t;return(t=(e=this._args)===null||e===void 0?void 0:e.values())!==null&&t!==void 0?t:[]}argument(e){var t;return(t=this._args)===null||t===void 0?void 0:t.get(e)}addArgument(e,t,n){let r;if(typeof e=="string"?(this.checkUpdate(),r=new Cl(e),r.defaultValue=n):(this.checkUpdate(e),r=e),this.argument(r.name))throw ut.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name}`);return this._args||(this._args=new he.MapWithCachedArrays),this._args.set(r.name,r),Zt.prototype.setParent.call(r,this),typeof e=="string"&&(r.type=t),this.onModification(),r}removeArgumentInternal(e){var t;(t=this._args)===null||t===void 0||t.delete(e)}get locations(){return this._locations}addLocations(...e){let t=!1;for(let n of e)this._locations.includes(n)||(this._locations.push(n),t=!0);return t&&this.onModification(),this}addAllLocations(){return this.addLocations(...Object.values(Z.DirectiveLocation))}addAllTypeLocations(){return this.addLocations(Z.DirectiveLocation.SCALAR,Z.DirectiveLocation.OBJECT,Z.DirectiveLocation.INTERFACE,Z.DirectiveLocation.UNION,Z.DirectiveLocation.ENUM,Z.DirectiveLocation.INPUT_OBJECT)}removeLocations(...e){let t=!1;for(let n of e)t||(t=(0,he.removeArrayElement)(n,this._locations));return t&&this.onModification(),this}hasExecutableLocations(){return this.locations.some(e=>iI(e))}hasTypeSystemLocations(){return this.locations.some(e=>nI(e))}applications(){var e;return(e=this._referencers)!==null&&e!==void 0||(this._referencers=new Set),this._referencers}addReferencer(e){var t;(0,he.assert)(e,"Referencer should exists"),(t=this._referencers)!==null&&t!==void 0||(this._referencers=new Set),this._referencers.add(e)}removeReferencer(e){var t;(t=this._referencers)===null||t===void 0||t.delete(e)}removeTypeReference(e){(0,he.assert)(!1,`Directive definition ${this} can't reference other types (it's arguments can); shouldn't be asked to remove reference to ${e}`)}remove(){var e;if(!this._parent)return[];this.checkRemoval(),this.onModification(),this.sourceAST=void 0,(0,he.assert)(!this._appliedDirectives||this._appliedDirectives.length===0,"Directive definition should not have directive applied to it");for(let n of this.arguments())n.remove();let t=Array.from((e=this._referencers)!==null&&e!==void 0?e:[]);return this._referencers=void 0,pi.prototype.removeDirectiveInternal.call(this._parent,this),this._parent=void 0,t}removeRecursive(){this.remove().forEach(e=>e.remove())}toAST(){return(0,Z.parse)((0,Wb.printDirectiveDefinition)(this)).definitions[0]}toString(){return`@${this.name}`}};O.DirectiveDefinition=gs;var Mo=class extends Zt{constructor(e,t=Object.create(null)){super(),this.name=e,this._args=t}schema(){return this.parent.schema()}get definition(){return this.isAttached()?this.schema().directive(this.name):void 0}arguments(e=!1){if(!e)return this._args;let t=this.definition;(0,he.assert)(t,()=>`Cannot include default values for arguments: cannot find directive definition for ${this.name}`);let n=Object.create(null);for(let r of t.arguments()){let a=(0,Xi.withDefaultValues)(this._args[r.name],r);a!==void 0&&(n[r.name]=a)}return n}onModification(){this.isAttachedToSchemaElement()&&pi.prototype.onModification.call(this.schema())}isAttachedToSchemaElement(){return this.isAttached()}setArguments(e){this._args=e,this.onModification()}argumentType(e){var t,n;return(n=(t=this.definition)===null||t===void 0?void 0:t.argument(e))===null||n===void 0?void 0:n.type}matchArguments(e){let t=Object.entries(this._args);if(t.length!==Object.keys(e).length)return!1;for(let[n,r]of t){if(!(n in e))return!1;let a=e[n];if(!(0,Xi.valueEquals)(a,r))return!1}return!0}ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){if(this.checkUpdate(),e){let t=this.parent;(0,he.assert)(t instanceof rp||t instanceof $n,"Can only mark directive parts of extensions when directly apply to type or schema definition."),(0,he.assert)(t.hasExtension(e),()=>`Cannot mark directive ${this.name} as part of the provided extension: it is not an extension of parent ${t}`)}this._extension=e,this.onModification()}argumentsToAST(){let e=Object.entries(this._args);if(e.length===0)return;let t=this.definition;return(0,he.assert)(t,()=>`Cannot convert arguments of detached directive ${this}`),e.map(([n,r])=>({kind:Z.Kind.ARGUMENT,name:{kind:Z.Kind.NAME,value:n},value:(0,Xi.valueToAST)(r,t.argument(n).type)}))}remove(){if(!this._parent)return!1;this.onModification();let e=this.schema().coreFeatures;if(e&&this.name===e.coreItself.nameInSchema){let t=Po.FeatureUrl.parse(this._args[e.coreDefinition.urlArgName()]);if(t.identity===e.coreItself.url.identity){pi.prototype.unmarkAsCoreSchema.call(this.schema());for(let n of this.schema().schemaDefinition.appliedDirectivesOf(e.coreItself.nameInSchema))n.removeInternal();return!0}else ko.prototype.removeFeature.call(e,t.identity)}return this.removeInternal()}removeInternal(){if(!this._parent)return!1;let e=this.definition;e&&this.isAttachedToSchemaElement()&&gs.prototype.removeReferencer.call(e,this);let t=this._parent.appliedDirectives,n=(0,he.removeArrayElement)(this,t);return(0,he.assert)(n,()=>`Directive ${this} lists ${this._parent} as parent, but that parent doesn't list it as applied directive`),this._parent=void 0,this._extension=void 0,!0}toString(){let e=Object.entries(this._args).filter(([n,r])=>r!==void 0),t=e.length==0?"":"("+e.map(([n,r])=>`${n}: ${(0,Xi.valueToString)(r,this.argumentType(n))}`).join(", ")+")";return`@${this.name}${t}`}};O.Directive=Mo;function aI(i){return!i||i.length==0?"":" "+i.join(" ")}O.directivesToString=aI;function sI(i){return!i||i.length===0?void 0:i.map(e=>({kind:Z.Kind.DIRECTIVE,name:{kind:Z.Kind.NAME,value:e.name},arguments:e.argumentsToAST()}))}O.directivesToDirectiveNodes=sI;function Nf(i,e,t=["defer"]){return i.name===e.name&&!t.includes(i.name)&&!t.includes(e.name)&&(0,Xi.argumentsEquals)(i.arguments(),e.arguments())}O.sameDirectiveApplication=Nf;function Dte(i,e,t=["defer"]){if(i.length!==e.length)return!1;for(let n of i)if(!e.some(r=>Nf(n,r,t)))return!1;return!0}O.sameDirectiveApplications=Dte;function Ste(i,e){if(e.length>i.length)return!1;for(let t of e)if(!i.some(n=>Nf(t,n)))return!1;return!0}O.isDirectiveApplicationsSubset=Ste;function _te(i,e){return i.filter(t=>!e.some(n=>Nf(t,n)))}O.directiveApplicationsSubstraction=_te;var Ol=class{constructor(e){this.name=e}toVariableNode(){return{kind:Z.Kind.VARIABLE,name:{kind:Z.Kind.NAME,value:this.name}}}toString(){return"$"+this.name}};O.Variable=Ol;var ky=class{constructor(){this._variables=new Map}add(e){this._variables.set(e.name,e)}addAll(e){for(let t of e)this.add(t)}collectInArguments(e){for(let t of Object.values(e))(0,Xi.collectVariablesInValue)(t,this)}variables(){return(0,he.mapValues)(this._variables)}toString(){return this.variables().toString()}};O.VariableCollector=ky;function bte(i){return i instanceof Ol}O.isVariable=bte;var If=class extends gl{constructor(e,t,n,r){super(e),this.variable=t,this.type=n,this.defaultValue=r}toVariableDefinitionNode(){let e=(0,Xi.valueToAST)(this.defaultValue,this.type);return{kind:Z.Kind.VARIABLE_DEFINITION,variable:this.variable.toVariableNode(),type:Ef(this.type),defaultValue:e!==void 0?(0,Xi.valueNodeToConstValueNode)(e):void 0,directives:this.appliedDirectivesToDirectiveNodes()}}toString(){let e=this.variable+": "+this.type;return this.defaultValue!==void 0&&(e=e+" = "+(0,Xi.valueToString)(this.defaultValue,this.type)),e+this.appliedDirectivesToString()}};O.VariableDefinition=If;var Uo=class{constructor(){this._definitions=new he.MapWithCachedArrays}add(e){return this._definitions.has(e.variable.name)?!1:(this._definitions.set(e.variable.name,e),!0)}addAll(e){for(let t of e._definitions.values())this.add(t)}definition(e){let t=typeof e=="string"?e:e.name;return this._definitions.get(t)}isEmpty(){return this._definitions.size===0}definitions(){return this._definitions.values()}filter(e){if(e.length===0)return new Uo;let t=new Uo;for(let n of e){let r=this.definition(n);if(!r)throw new Error(`Cannot find variable ${n} in definitions ${this}`);t.add(r)}return t}toVariableDefinitionNodes(){if(this._definitions.size!==0)return this.definitions().map(e=>e.toVariableDefinitionNode())}toString(){return"("+this.definitions().join(", ")+")"}};O.VariableDefinitions=Uo;function Ite(i,e){let t=new Uo;for(let n of e)if(!t.add(oI(i,n))){let r=n.variable.name.value;throw ut.ERRORS.INVALID_GRAPHQL.err(`Duplicate definition for variable ${r}`,{nodes:e.filter(a=>a.variable.name.value===r)})}return t}O.variableDefinitionsFromAST=Ite;function oI(i,e){let t=new Ol(e.variable.name.value),n=gf(i,e.type);if(!Ff(n))throw ut.ERRORS.INVALID_GRAPHQL.err(`Invalid type "${n}" for variable $${t}: not an input type`,{nodes:e.type});return new If(i,t,n,e.defaultValue?(0,Xi.valueFromAST)(e.defaultValue,n):void 0)}O.variableDefinitionFromAST=oI;function sp(i,e){switch(e.kind){case"ListType":sp(i,e.baseType());break;case"NonNullType":sp(i,e.baseType());break;default:$n.prototype.addReferencer.call(e,i);break}}function jo(i,e){switch(e.kind){case"ListType":jo(i,e.baseType());break;case"NonNullType":jo(i,e.baseType());break;default:$n.prototype.removeReferencer.call(e,i);break}}function uI(i,e){switch(i){case"ScalarType":return new Tf(e);case"ObjectType":return new Df(e);case"InterfaceType":return new Sf(e);case"UnionType":return new _l(e);case"EnumType":return new bl(e);case"InputObjectType":return new Il(e);default:(0,he.assert)(!1,`Unhandled kind ${i} for type ${e}`)}}O.newNamedType=uI;function*Yb(i,e){var t;for(let n of i.builtInTypes())!n.isIntrospectionType()&&!(!((t=e.type(n.name))===null||t===void 0)&&t.isBuiltIn)&&(yield n);yield*i.types()}function*zb(i,e){var t;for(let n of i.builtInDirectives())!((t=e.directive(n.name))===null||t===void 0)&&t.isBuiltIn||(yield n);yield*i.directives()}function Fte({definition:i,schema:e,copyDirectiveApplicationsInArguments:t=!0,locationFilter:n}){lI(i,e.addDirectiveDefinition(i.name),t,n)}O.copyDirectiveDefinitionToSchema=Fte;function Nte(i,e,t){for(let n of Yb(i,e))e.addType(uI(n.kind,n.name));for(let n of zb(i,e))e.addDirectiveDefinition(n.name);for(let n of zb(i,e))lI(n,e.directive(n.name));Cte(i.schemaDefinition,e.schemaDefinition);for(let n of Yb(i,e))Ote(n,e.type(n.name),t)}function pI(i,e){let t=new Map;for(let n of i.extensions()){let r=new Es;e.addExtension(r),t.set(n,r)}return t}function ys(i,e,t){let n=e.ofExtension();n&&t.setOfExtension(i.get(n))}function Cte(i,e){e.preserveEmptyDefinition=i.preserveEmptyDefinition;let t=pI(i,e);for(let n of i.roots())ys(t,n,e.setRoot(n.rootKind,n.type.name));for(let n of i.appliedDirectives)ys(t,n,Gy(n,e));e.description=i.description,e.sourceAST=i.sourceAST}function Ote(i,e,t){e.preserveEmptyDefinition=i.preserveEmptyDefinition;let n=pI(i,e);for(let r of i.appliedDirectives)ys(n,r,Gy(r,e));switch(e.description=i.description,e.sourceAST=i.sourceAST,i.kind){case"ObjectType":case"InterfaceType":let r=e;for(let u of i.fields()){let p=r.addField(new hr(u.name));ys(n,u,p),wte(u,p,t)}for(let u of i.interfaceImplementations()){let p=r.addImplementedInterface(u.interface.name);ys(n,u,p)}break;case"UnionType":let a=e;for(let u of i.members()){let p=a.addType(u.type.name);ys(n,u,p)}break;case"EnumType":let s=e;for(let u of i.values){let p=s.addValue(u.name);p.description=u.description,ys(n,u,p),Cf(u,p,t)}break;case"InputObjectType":let o=e;for(let u of i.fields()){let p=o.addField(new Nl(u.name));ys(n,u,p),Rte(u,p,t)}}}function Cf(i,e,t){i.appliedDirectives.filter(n=>t||!n.name.startsWith("join__")).forEach(n=>Gy(n,e))}function Gy(i,e){let t=e.applyDirective(i.name,{...i.arguments()});return t.sourceAST=i.sourceAST,t}function wte(i,e,t){let n=qo(i.type,e.schema());e.type=n;for(let r of i.arguments()){let a=qo(r.type,e.schema());dI({source:r,dest:e.addArgument(r.name,a),cloneJoinDirectives:t})}Cf(i,e,t),e.description=i.description,e.sourceAST=i.sourceAST}function Rte(i,e,t){let n=qo(i.type,e.schema());e.type=n,e.defaultValue=i.defaultValue,Cf(i,e,t),e.description=i.description,e.sourceAST=i.sourceAST}function qo(i,e){if(i)switch(i.kind){case"ListType":return new Fl(qo(i.ofType,e));case"NonNullType":return new Pn(qo(i.ofType,e));default:return e.type(i.name)}}function dI({source:i,dest:e,copyDirectiveApplications:t=!0,cloneJoinDirectives:n}){let r=qo(i.type,e.schema());e.type=r,e.defaultValue=i.defaultValue,t&&Cf(i,e,n),e.description=i.description,e.sourceAST=i.sourceAST}function lI(i,e,t=!0,n){let r=i.locations;if(n&&(r=r.filter(a=>n(a))),r.length!==0){for(let a of i.arguments()){let s=qo(a.type,e.schema());dI({source:a,dest:e.addArgument(a.name,s),copyDirectiveApplications:t,cloneJoinDirectives:!0})}e.repeatable=i.repeatable,e.addLocations(...r),e.sourceAST=i.sourceAST,e.description=i.description}}function Bte(i){return i instanceof hr}O.isFieldDefinition=Bte});var Ll=D(As=>{"use strict";h();m();Object.defineProperty(As,"__esModule",{value:!0});As.builtTypeReference=As.buildSchemaFromAST=As.buildSchema=void 0;var Go=ft(),Lte=lr(),Ts=bt(),vr=$i(),cI=vf();function Ky(i){return i?(0,Lte.valueFromASTUntyped)(i):void 0}function xte(i,e){return EI((0,Go.parse)(i),e)}As.buildSchema=xte;function EI(i,e){var t;let n=[],r=new Ts.Schema(e?.blueprint),{directiveDefinitions:a,typeDefinitions:s,typeExtensions:o,schemaDefinitions:u,schemaExtensions:p}=Pte(i,r,n);for(let d of s)d.kind===Go.Kind.ENUM_TYPE_DEFINITION&&yI(d,r.type(d.name.value));for(let d of o)if(d.kind===Go.Kind.ENUM_TYPE_EXTENSION){let c=r.type(d.name.value).newExtension();c.sourceAST=d,yI(d,r.type(d.name.value),c)}for(let d of a)jte(d,r.directive(d.name.value),n);for(let d of u)mI(d,r.schemaDefinition,n);for(let d of p)mI(d,r.schemaDefinition,n,r.schemaDefinition.newExtension());n.push(...r.blueprint.onDirectiveDefinitionAndSchemaParsed(r));for(let d of a)qte(d,r.directive(d.name.value),n);for(let d of s)vI(d,r.type(d.name.value),r.blueprint,n);for(let d of o){let l=r.type(d.name.value),c=l.newExtension();c.sourceAST=d,vI(d,l,r.blueprint,n,c)}if(n.length>0)throw(0,Ts.ErrGraphQLValidationFailed)(n);return(!((t=e?.validate)!==null&&t!==void 0)||t)&&r.validate(),r}As.buildSchemaFromAST=EI;function Pte(i,e,t){let n=[],r=[],a=[],s=[],o=[];for(let u of i.definitions)switch(u.kind){case"OperationDefinition":case"FragmentDefinition":t.push(vr.ERRORS.INVALID_GRAPHQL.err("Invalid executable definition found while building schema",{nodes:u}));continue;case"SchemaDefinition":s.push(u),e.schemaDefinition.preserveEmptyDefinition=!0;break;case"SchemaExtension":o.push(u);break;case"ScalarTypeDefinition":case"ObjectTypeDefinition":case"InterfaceTypeDefinition":case"UnionTypeDefinition":case"EnumTypeDefinition":case"InputObjectTypeDefinition":if(cI.introspectionTypeNames.includes(u.name.value))continue;r.push(u);let p=e.type(u.name.value);if(!p||p.isBuiltIn)p=e.addType((0,Ts.newNamedType)(fI(u.kind),u.name.value));else if(p.preserveEmptyDefinition)throw vr.ERRORS.INVALID_GRAPHQL.err(`There can be only one type named "${u.name.value}"`);p.preserveEmptyDefinition=!0;break;case"ScalarTypeExtension":case"ObjectTypeExtension":case"InterfaceTypeExtension":case"UnionTypeExtension":case"EnumTypeExtension":case"InputObjectTypeExtension":if(cI.introspectionTypeNames.includes(u.name.value))continue;a.push(u);let d=e.type(u.name.value);if(!d)e.addType((0,Ts.newNamedType)(fI(u.kind),u.name.value));else if(d.isBuiltIn)throw vr.ERRORS.INVALID_GRAPHQL.err(`Cannot extend built-in type "${u.name.value}"`);break;case"DirectiveDefinition":n.push(u),e.addDirectiveDefinition(u.name.value);break}return{directiveDefinitions:n,typeDefinitions:r,typeExtensions:a,schemaDefinitions:s,schemaExtensions:o}}function fI(i){let e=i.endsWith("Definition")?"Definition":"Extension";return i.slice(0,i.length-e.length)}function $te(i,e){let t=e.type(i.name.value);if(!t)throw vr.ERRORS.INVALID_GRAPHQL.err(`Unknown type ${i.name.value}`,{nodes:i});return t}function Of(i,e,t){try{i()}catch(n){let r=(0,vr.errorCauses)(n);if(r)for(let a of r){let s=a.nodes?[e,...a.nodes]:e;t.push((0,vr.withModifiedErrorNodes)(a,s))}else throw n}}function mI(i,e,t,n){var r,a;for(let s of(r=i.operationTypes)!==null&&r!==void 0?r:[])Of(()=>e.setRoot(s.operation,s.type.name.value).setOfExtension(n),s,t);e.sourceAST=i,"description"in i&&(e.description=(a=i.description)===null||a===void 0?void 0:a.value),Ko(i,e,t,n)}function Ko(i,e,t,n){var r;for(let a of(r=i.directives)!==null&&r!==void 0?r:[])Of(()=>{if(e!==e.schema().schemaDefinition||a.name.value==="link"||!e.schema().blueprint.applyDirectivesAfterParsing()){let s=e.applyDirective(a.name.value,hI(a));s.setOfExtension(n),s.sourceAST=a}else e.addUnappliedDirective({extension:n,directive:a,args:hI(a),nameOrDef:a.name.value})},a,t)}function hI(i){var e;let t=Object.create(null);for(let n of(e=i.arguments)!==null&&e!==void 0?e:[])t[n.name.value]=Ky(n.value);return t}function vI(i,e,t,n,r){var a,s,o,u,p;switch(i.kind){case"EnumTypeDefinition":case"EnumTypeExtension":let d=e;for(let y of(a=i.values)!==null&&a!==void 0?a:[])Ko(y,d.value(y.name.value),n);break;case"ObjectTypeDefinition":case"ObjectTypeExtension":case"InterfaceTypeDefinition":case"InterfaceTypeExtension":let l=e;for(let y of(s=i.fields)!==null&&s!==void 0?s:[]){if(t.ignoreParsedField(e,y.name.value))continue;let g=l.addField(y.name.value);g.setOfExtension(r),Vte(y,g,n)}for(let y of(o=i.interfaces)!==null&&o!==void 0?o:[])Of(()=>{let g=y.name.value;if(l.implementsInterface(g))throw vr.ERRORS.INVALID_GRAPHQL.err(`Type "${e}" can only implement "${g}" once.`);l.addImplementedInterface(g).setOfExtension(r)},y,n);break;case"UnionTypeDefinition":case"UnionTypeExtension":let c=e;for(let y of(u=i.types)!==null&&u!==void 0?u:[])Of(()=>{let g=y.name.value;if(c.hasTypeMember(g))throw vr.ERRORS.INVALID_GRAPHQL.err(`Union type "${c}" can only include type "${g}" once.`);c.addType(g).setOfExtension(r)},y,n);break;case"InputObjectTypeDefinition":case"InputObjectTypeExtension":let v=e;for(let y of(p=i.fields)!==null&&p!==void 0?p:[]){let g=v.addField(y.name.value);g.setOfExtension(r),Ute(y,g,n)}break}Ko(i,e,n,r),Qy(i,e)}function yI(i,e,t){var n;let r=e;for(let a of(n=i.values)!==null&&n!==void 0?n:[]){let s=r.addValue(a.name.value);a.description&&(s.description=a.description.value),s.setOfExtension(t)}Qy(i,e)}function Qy(i,e){i.description&&(e.description=i.description.value),e.sourceAST=i}function Vte(i,e,t){var n,r;let a=op(i.type,e.schema());e.type=kte(a,e.coordinate,i,t);for(let s of(n=i.arguments)!==null&&n!==void 0?n:[])AI(s,e.addArgument(s.name.value),t,!0);Ko(i,e,t),e.description=(r=i.description)===null||r===void 0?void 0:r.value,e.sourceAST=i}function kte(i,e,t,n){if((0,Ts.isOutputType)(i))return i;n.push(vr.ERRORS.INVALID_GRAPHQL.err(`The type of "${e}" must be Output Type but got "${i}", a ${i.kind}.`,{nodes:t}))}function gI(i,e,t,n){if((0,Ts.isInputType)(i))return i;n.push(vr.ERRORS.INVALID_GRAPHQL.err(`The type of "${e}" must be Input Type but got "${i}", a ${i.kind}.`,{nodes:t}))}function Mte(i,e){return op((0,Go.parseType)(i),e)}As.builtTypeReference=Mte;function op(i,e){switch(i.kind){case Go.Kind.LIST_TYPE:return new Ts.ListType(op(i.type,e));case Go.Kind.NON_NULL_TYPE:let t=op(i.type,e);if(t.kind==Go.Kind.NON_NULL_TYPE)throw vr.ERRORS.INVALID_GRAPHQL.err("Cannot apply the non-null operator (!) twice to the same type",{nodes:i});return new Ts.NonNullType(t);default:return $te(i,e)}}function AI(i,e,t,n){var r;let a=op(i.type,e.schema());e.type=gI(a,e.coordinate,i,t),e.defaultValue=Ky(i.defaultValue),n&&Ko(i,e,t),e.description=(r=i.description)===null||r===void 0?void 0:r.value,e.sourceAST=i}function Ute(i,e,t){var n;let r=op(i.type,e.schema());e.type=gI(r,e.coordinate,i,t),e.defaultValue=Ky(i.defaultValue),Ko(i,e,t),e.description=(n=i.description)===null||n===void 0?void 0:n.value,e.sourceAST=i}function jte(i,e,t){var n;for(let a of(n=i.arguments)!==null&&n!==void 0?n:[])AI(a,e.addArgument(a.name.value),t,!1);e.repeatable=i.repeatable;let r=i.locations.map(({value:a})=>a);e.addLocations(...r),Qy(i,e)}function qte(i,e,t){var n;for(let r of(n=i.arguments)!==null&&n!==void 0?n:[])Ko(r,e.argument(r.name.value),t)}});var SI=D(wf=>{"use strict";h();m();Object.defineProperty(wf,"__esModule",{value:!0});wf.KnownTypeNamesInFederationRule=void 0;var Qo=ft(),TI=Do();function Gte(i){let e=i.getSchema(),t=e?e.getTypeMap():Object.create(null),n=Object.create(null);for(let a of i.getDocument().definitions)((0,Qo.isTypeDefinitionNode)(a)||(0,Qo.isTypeExtensionNode)(a))&&(n[a.name.value]=!0);let r=Object.keys(t).concat(Object.keys(n));return{NamedType(a,s,o,u,p){var d;let l=a.name.value;if(!t[l]&&!n[l]){let c=(d=p[2])!==null&&d!==void 0?d:o,v=c!=null&&Qte(c);if(v&&Kte(l))return;let y=(0,TI.suggestionList)(l,v?DI.concat(r):r);i.reportError(new Qo.GraphQLError(`Unknown type "${l}".`+(0,TI.didYouMean)(y),{nodes:a}))}}}}wf.KnownTypeNamesInFederationRule=Gte;var DI=[...Qo.specifiedScalarTypes,...Qo.introspectionTypes].map(i=>i.name);function Kte(i){return DI.indexOf(i)!==-1}function Qte(i){return!Array.isArray(i)&&((0,Qo.isTypeSystemDefinitionNode)(i)||(0,Qo.isTypeSystemExtensionNode)(i))}});var Yy=D(Hy=>{"use strict";h();m();Object.defineProperty(Hy,"__esModule",{value:!0});Hy.default=Yte;var Rf,Hte=new Uint8Array(16);function Yte(){if(!Rf&&(Rf=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Rf))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Rf(Hte)}});var _I=D(Bf=>{"use strict";h();m();Object.defineProperty(Bf,"__esModule",{value:!0});Bf.default=void 0;var zte=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;Bf.default=zte});var xl=D(Lf=>{"use strict";h();m();Object.defineProperty(Lf,"__esModule",{value:!0});Lf.default=void 0;var Wte=Jte(_I());function Jte(i){return i&&i.__esModule?i:{default:i}}function Xte(i){return typeof i=="string"&&Wte.default.test(i)}var Zte=Xte;Lf.default=Zte});var $l=D(Pl=>{"use strict";h();m();Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;Pl.unsafeStringify=bI;var eie=tie(xl());function tie(i){return i&&i.__esModule?i:{default:i}}var Ei=[];for(let i=0;i<256;++i)Ei.push((i+256).toString(16).slice(1));function bI(i,e=0){return Ei[i[e+0]]+Ei[i[e+1]]+Ei[i[e+2]]+Ei[i[e+3]]+"-"+Ei[i[e+4]]+Ei[i[e+5]]+"-"+Ei[i[e+6]]+Ei[i[e+7]]+"-"+Ei[i[e+8]]+Ei[i[e+9]]+"-"+Ei[i[e+10]]+Ei[i[e+11]]+Ei[i[e+12]]+Ei[i[e+13]]+Ei[i[e+14]]+Ei[i[e+15]]}function iie(i,e=0){let t=bI(i,e);if(!(0,eie.default)(t))throw TypeError("Stringified UUID is invalid");return t}var nie=iie;Pl.default=nie});var FI=D(xf=>{"use strict";h();m();Object.defineProperty(xf,"__esModule",{value:!0});xf.default=void 0;var rie=sie(Yy()),aie=$l();function sie(i){return i&&i.__esModule?i:{default:i}}var II,zy,Wy=0,Jy=0;function oie(i,e,t){let n=e&&t||0,r=e||new Array(16);i=i||{};let a=i.node||II,s=i.clockseq!==void 0?i.clockseq:zy;if(a==null||s==null){let c=i.random||(i.rng||rie.default)();a==null&&(a=II=[c[0]|1,c[1],c[2],c[3],c[4],c[5]]),s==null&&(s=zy=(c[6]<<8|c[7])&16383)}let o=i.msecs!==void 0?i.msecs:Date.now(),u=i.nsecs!==void 0?i.nsecs:Jy+1,p=o-Wy+(u-Jy)/1e4;if(p<0&&i.clockseq===void 0&&(s=s+1&16383),(p<0||o>Wy)&&i.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Wy=o,Jy=u,zy=s,o+=122192928e5;let d=((o&268435455)*1e4+u)%4294967296;r[n++]=d>>>24&255,r[n++]=d>>>16&255,r[n++]=d>>>8&255,r[n++]=d&255;let l=o/4294967296*1e4&268435455;r[n++]=l>>>8&255,r[n++]=l&255,r[n++]=l>>>24&15|16,r[n++]=l>>>16&255,r[n++]=s>>>8|128,r[n++]=s&255;for(let c=0;c<6;++c)r[n+c]=a[c];return e||(0,aie.unsafeStringify)(r)}var uie=oie;xf.default=uie});var Xy=D(Pf=>{"use strict";h();m();Object.defineProperty(Pf,"__esModule",{value:!0});Pf.default=void 0;var pie=die(xl());function die(i){return i&&i.__esModule?i:{default:i}}function lie(i){if(!(0,pie.default)(i))throw TypeError("Invalid UUID");let e,t=new Uint8Array(16);return t[0]=(e=parseInt(i.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(i.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(i.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(i.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(i.slice(24,36),16))/1099511627776&255,t[11]=e/4294967296&255,t[12]=e>>>24&255,t[13]=e>>>16&255,t[14]=e>>>8&255,t[15]=e&255,t}var cie=lie;Pf.default=cie});var Zy=D(Ho=>{"use strict";h();m();Object.defineProperty(Ho,"__esModule",{value:!0});Ho.URL=Ho.DNS=void 0;Ho.default=yie;var fie=$l(),mie=hie(Xy());function hie(i){return i&&i.__esModule?i:{default:i}}function vie(i){i=unescape(encodeURIComponent(i));let e=[];for(let t=0;t{"use strict";h();m();Object.defineProperty(Vf,"__esModule",{value:!0});Vf.default=void 0;function Eie(i){if(typeof i=="string"){let e=unescape(encodeURIComponent(i));i=new Uint8Array(e.length);for(let t=0;t>5]>>>r%32&255,s=parseInt(n.charAt(a>>>4&15)+n.charAt(a&15),16);e.push(s)}return e}function OI(i){return(i+64>>>9<<4)+14+1}function Aie(i,e){i[e>>5]|=128<>5]|=(i[n/8]&255)<>16)+(e>>16)+(t>>16)<<16|t&65535}function Die(i,e){return i<>>32-e}function $f(i,e,t,n,r,a){return Ds(Die(Ds(Ds(e,i),Ds(n,a)),r),t)}function Fi(i,e,t,n,r,a,s){return $f(e&t|~e&n,i,e,r,a,s)}function Ni(i,e,t,n,r,a,s){return $f(e&n|t&~n,i,e,r,a,s)}function Ci(i,e,t,n,r,a,s){return $f(e^t^n,i,e,r,a,s)}function Oi(i,e,t,n,r,a,s){return $f(t^(e|~n),i,e,r,a,s)}var Sie=Eie;Vf.default=Sie});var BI=D(kf=>{"use strict";h();m();Object.defineProperty(kf,"__esModule",{value:!0});kf.default=void 0;var _ie=RI(Zy()),bie=RI(wI());function RI(i){return i&&i.__esModule?i:{default:i}}var Iie=(0,_ie.default)("v3",48,bie.default),Fie=Iie;kf.default=Fie});var LI=D(Mf=>{"use strict";h();m();Object.defineProperty(Mf,"__esModule",{value:!0});Mf.default=void 0;var Nie=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Cie={randomUUID:Nie};Mf.default=Cie});var $I=D(Uf=>{"use strict";h();m();Object.defineProperty(Uf,"__esModule",{value:!0});Uf.default=void 0;var xI=PI(LI()),Oie=PI(Yy()),wie=$l();function PI(i){return i&&i.__esModule?i:{default:i}}function Rie(i,e,t){if(xI.default.randomUUID&&!e&&!i)return xI.default.randomUUID();i=i||{};let n=i.random||(i.rng||Oie.default)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let r=0;r<16;++r)e[t+r]=n[r];return e}return(0,wie.unsafeStringify)(n)}var Bie=Rie;Uf.default=Bie});var VI=D(jf=>{"use strict";h();m();Object.defineProperty(jf,"__esModule",{value:!0});jf.default=void 0;function Lie(i,e,t,n){switch(i){case 0:return e&t^~e&n;case 1:return e^t^n;case 2:return e&t^e&n^t&n;case 3:return e^t^n}}function eE(i,e){return i<>>32-e}function xie(i){let e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){let s=unescape(encodeURIComponent(i));i=[];for(let o=0;o>>0;c=l,l=d,d=eE(p,30)>>>0,p=u,u=g}t[0]=t[0]+u>>>0,t[1]=t[1]+p>>>0,t[2]=t[2]+d>>>0,t[3]=t[3]+l>>>0,t[4]=t[4]+c>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,t[0]&255,t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,t[1]&255,t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,t[2]&255,t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,t[3]&255,t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,t[4]&255]}var Pie=xie;jf.default=Pie});var MI=D(qf=>{"use strict";h();m();Object.defineProperty(qf,"__esModule",{value:!0});qf.default=void 0;var $ie=kI(Zy()),Vie=kI(VI());function kI(i){return i&&i.__esModule?i:{default:i}}var kie=(0,$ie.default)("v5",80,Vie.default),Mie=kie;qf.default=Mie});var UI=D(Gf=>{"use strict";h();m();Object.defineProperty(Gf,"__esModule",{value:!0});Gf.default=void 0;var Uie="00000000-0000-0000-0000-000000000000";Gf.default=Uie});var jI=D(Kf=>{"use strict";h();m();Object.defineProperty(Kf,"__esModule",{value:!0});Kf.default=void 0;var jie=qie(xl());function qie(i){return i&&i.__esModule?i:{default:i}}function Gie(i){if(!(0,jie.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}var Kie=Gie;Kf.default=Kie});var tE=D(yr=>{"use strict";h();m();Object.defineProperty(yr,"__esModule",{value:!0});Object.defineProperty(yr,"NIL",{enumerable:!0,get:function(){return Wie.default}});Object.defineProperty(yr,"parse",{enumerable:!0,get:function(){return ene.default}});Object.defineProperty(yr,"stringify",{enumerable:!0,get:function(){return Zie.default}});Object.defineProperty(yr,"v1",{enumerable:!0,get:function(){return Qie.default}});Object.defineProperty(yr,"v3",{enumerable:!0,get:function(){return Hie.default}});Object.defineProperty(yr,"v4",{enumerable:!0,get:function(){return Yie.default}});Object.defineProperty(yr,"v5",{enumerable:!0,get:function(){return zie.default}});Object.defineProperty(yr,"validate",{enumerable:!0,get:function(){return Xie.default}});Object.defineProperty(yr,"version",{enumerable:!0,get:function(){return Jie.default}});var Qie=xa(FI()),Hie=xa(BI()),Yie=xa($I()),zie=xa(MI()),Wie=xa(UI()),Jie=xa(jI()),Xie=xa(xl()),Zie=xa($l()),ene=xa(Xy());function xa(i){return i&&i.__esModule?i:{default:i}}});var Wf=D(fe=>{"use strict";h();m();Object.defineProperty(fe,"__esModule",{value:!0});fe.hasSelectionWithPredicate=fe.operationToDocument=fe.parseOperationAST=fe.parseSelectionSet=fe.parseOperation=fe.operationFromDocument=fe.FragmentSelection=fe.FieldSelection=fe.selectionOfElement=fe.selectionSetOfElement=fe.selectionSetOf=fe.allFieldDefinitionsInSelectionSet=fe.MutableSelectionSet=fe.SelectionSetUpdates=fe.SelectionSet=fe.ContainsResult=fe.NamedFragments=fe.NamedFragmentDefinition=fe.Operation=fe.concatOperationPaths=fe.conditionalDirectivesInOperationPath=fe.sameOperationPaths=fe.operationPathToStringPath=fe.FragmentElement=fe.Field=fe.DEFAULT_MIN_USAGES_TO_OPTIMIZE=void 0;var Ze=ft(),ee=bt(),up=Yo(),Qf=$i(),na=pr(),pt=Mt(),ta=lr(),tne=tE();fe.DEFAULT_MIN_USAGES_TO_OPTIMIZE=2;function Nt(i,e,t){if(!i)throw Qf.ERRORS.INVALID_GRAPHQL.err(e(),{nodes:t})}function QI(i,e){return(0,ee.sameDirectiveApplications)(i.appliedDirectives,e.appliedDirectives)}var Hf=class extends ee.DirectiveTargetElement{constructor(e,t){super(e,t)}collectVariables(e){this.collectVariablesInElement(e),this.collectVariablesInAppliedDirectives(e)}rebaseOnOrError(e){return this.rebaseOn({parentType:e,errorIfCannotRebase:!0})}addAttachment(e,t){this.attachments||(this.attachments=new Map),this.attachments.set(e,t)}getAttachment(e){var t;return(t=this.attachments)===null||t===void 0?void 0:t.get(e)}copyAttachmentsTo(e){if(this.attachments)for(let[t,n]of this.attachments.entries())e.addAttachment(t,n)}keyForDirectives(){return this.appliedDirectives.map(e=>ine(e)).join(" ")}},Vn=class extends Hf{constructor(e,t,n,r){super(e.schema(),n),this.definition=e,this.args=t,this.alias=r,this.kind="Field"}collectVariablesInElement(e){this.args&&e.collectInArguments(this.args)}get name(){return this.definition.name}argumentValue(e){return this.args?this.args[e]:void 0}responseName(){return this.alias?this.alias:this.name}key(){return this.responseName()+this.keyForDirectives()}asPathElement(){return this.responseName()}get parentType(){return this.definition.parent}isLeafField(){return(0,ee.isLeafType)(this.baseType())}baseType(){return(0,ee.baseType)(this.definition.type)}copy(){let e=new Vn(this.definition,this.args,this.appliedDirectives,this.alias);return this.copyAttachmentsTo(e),e}withUpdatedArguments(e){let t=new Vn(this.definition,{...this.args,...e},this.appliedDirectives,this.alias);return this.copyAttachmentsTo(t),t}withUpdatedDefinition(e){let t=new Vn(e,this.args,this.appliedDirectives,this.alias);return this.copyAttachmentsTo(t),t}withUpdatedAlias(e){let t=new Vn(this.definition,this.args,this.appliedDirectives,e);return this.copyAttachmentsTo(t),t}withUpdatedDirectives(e){let t=new Vn(this.definition,this.args,e,this.alias);return this.copyAttachmentsTo(t),t}argumentsToNodes(){if(!this.args)return;let e=Object.entries(this.args);if(e.length!==0)return e.map(([t,n])=>({kind:Ze.Kind.ARGUMENT,name:{kind:Ze.Kind.NAME,value:t},value:(0,ta.valueToAST)(n,this.definition.argument(t).type)}))}selects(e,t=!1,n,r){if((0,pt.assert)(t||n,"Must provide variable definitions if validation is needed"),e===this.definition)return!0;if(this.name!==e.name)return!1;for(let a of e.arguments()){let s=this.argumentValue(a.name);if(s===void 0){if(a.defaultValue===void 0&&!(0,ee.isNullableType)(a.type)&&(!r||!r?.includes(a.name)))return!1}else if(!t&&!(0,ta.isValidValue)(s,a,n))return!1}if(!t&&this.args){for(let[a,s]of Object.entries(this.args))if(s!==null&&e.argument(a)===void 0)return!1}return!0}validate(e,t){var n;Nt(this.name===this.definition.name,()=>`Field name "${this.name}" cannot select field "${this.definition.coordinate}: name mismatch"`);for(let r of this.definition.arguments()){let a=this.argumentValue(r.name),s=!1,o=this.definition.schema(),u=(n=(0,up.federationMetadata)(o))===null||n===void 0?void 0:n.fromContextDirective();u&&(0,up.isFederationDirectiveDefinedInSchema)(u)&&(s=r.appliedDirectivesOf(u).length>0),a===void 0?Nt(s&&!t||r.defaultValue!==void 0||(0,ee.isNullableType)(r.type),()=>`Missing mandatory value for argument "${r.name}" of field "${this.definition.coordinate}" in selection "${this}"`):Nt(s&&!t||(0,ta.isValidValue)(a,r,e),()=>`Invalid value ${(0,ta.valueToString)(a)} for argument "${r.coordinate}" of type ${r.type}`)}if(this.args)for(let[r,a]of Object.entries(this.args))Nt(a===null||this.definition.argument(r)!==void 0,()=>`Unknown argument "${r}" in field application of "${this.name}"`)}rebaseOn({parentType:e,errorIfCannotRebase:t}){let n=this.definition.parent;if(e===n)return this;if(this.name===ee.typenameFieldName)if((0,ee.possibleRuntimeTypes)(e).some(s=>(0,up.isInterfaceObjectType)(s))){Nt(!t,()=>`Cannot add selection of field "${this.definition.coordinate}" to selection set of parent type "${e}" that is potentially an interface object type at runtime`);return}else return this.withUpdatedDefinition(e.typenameField());let r=e.field(this.name);if(!(this.canRebaseOn(e)&&r)){Nt(!t,()=>`Cannot add selection of field "${this.definition.coordinate}" to selection set of parent type "${e}"`);return}return this.withUpdatedDefinition(r)}canRebaseOn(e){let t=this.definition.parent;return e.name===t.name||(0,ee.isInterfaceType)(t)||(0,up.isInterfaceObjectType)(t)}typeIfAddedTo(e){var t,n,r;let a=this.definition.parent;if(e==a)return this.definition.type;if(this.name===ee.typenameFieldName)return(t=e.typenameField())===null||t===void 0?void 0:t.type;let s=this.canRebaseOn(e)?(n=e.field(this.name))===null||n===void 0?void 0:n.type:void 0,o=(r=(0,up.federationMetadata)(e.schema()))===null||r===void 0?void 0:r.fromContextDirective();if(o&&(0,up.isFederationDirectiveDefinedInSchema)(o)){let u=e.field(this.name);if(u&&u.arguments().some(p=>p.appliedDirectivesOf(o).length>0&&(!this.args||this.args[p.name]===void 0)))return}return s}hasDefer(){return!1}deferDirectiveArgs(){}withoutDefer(){return this}equals(e){return this===e?!0:e.kind==="Field"&&this.name===e.name&&this.alias===e.alias&&(this.args?e.args&&(0,ta.argumentsEquals)(this.args,e.args):!e.args)&&QI(this,e)}toString(){let e=this.alias?this.alias+": ":"",t=this.args?Object.entries(this.args):[],n=t.length===0?"":"("+t.map(([r,a])=>{var s;return`${r}: ${(0,ta.valueToString)(a,(s=this.definition.argument(r))===null||s===void 0?void 0:s.type)}`}).join(", ")+")";return e+this.name+n+this.appliedDirectivesToString()}};fe.Field=Vn;function ine(i,e=["defer"]){if(e.includes(i.name))return(0,tne.v1)();let t=Object.entries(i.arguments()).filter(([r,a])=>a!==void 0);t.sort(([r],[a])=>r.localeCompare(a));let n=t.length==0?"":"("+t.map(([r,a])=>`${r}: ${(0,ta.valueToString)(a,i.argumentType(r))}`).join(", ")+")";return`@${i.name}${n}`}var kn=class extends Hf{constructor(e,t,n){super(e.schema(),n),this.sourceType=e,this.kind="FragmentElement",this.typeCondition=t!==void 0&&typeof t=="string"?this.schema().type(t):t}collectVariablesInElement(e){}get parentType(){return this.sourceType}key(){return this.computedKey||(this.computedKey="..."+(this.typeCondition?" on "+this.typeCondition.name:"")+this.keyForDirectives()),this.computedKey}castedType(){return this.typeCondition?this.typeCondition:this.sourceType}asPathElement(){let e=this.typeCondition;return e?`... on ${e}`:void 0}withUpdatedSourceType(e){return this.withUpdatedTypes(e,this.typeCondition)}withUpdatedCondition(e){return this.withUpdatedTypes(this.sourceType,e)}withUpdatedTypes(e,t){let n=new kn(e,t?.name,this.appliedDirectives);return this.copyAttachmentsTo(n),n}withUpdatedDirectives(e){let t=new kn(this.sourceType,this.typeCondition,e);return this.copyAttachmentsTo(t),t}rebaseOn({parentType:e,errorIfCannotRebase:t}){let n=this.parentType,r=this.typeCondition;if(e===n)return this;let{canRebase:a,rebasedCondition:s}=this.canRebaseOn(e);if(!a){Nt(!t,()=>`Cannot add fragment of condition "${r}" (runtimes: [${(0,ee.possibleRuntimeTypes)(r)}]) to parent type "${e}" (runtimes: ${(0,ee.possibleRuntimeTypes)(e)})`);return}return this.withUpdatedTypes(e,s)}canRebaseOn(e){if(!this.typeCondition)return{canRebase:!0,rebasedCondition:void 0};let t=e.schema().type(this.typeCondition.name);return!t||!(0,ee.isCompositeType)(t)||!(0,ee.runtimeTypesIntersects)(e,t)?{canRebase:!1}:{canRebase:!0,rebasedCondition:t}}castedTypeIfAddedTo(e){if(e==this.parentType)return this.castedType();let{canRebase:t,rebasedCondition:n}=this.canRebaseOn(e);return t?n||e:void 0}hasDefer(){return this.hasAppliedDirective("defer")}hasStream(){return this.hasAppliedDirective("stream")}deferDirectiveArgs(){var e;return(e=this.appliedDirectivesOf(this.schema().deferDirective())[0])===null||e===void 0?void 0:e.arguments()}withoutDefer(){let e=this.schema().deferDirective().name,t=this.appliedDirectives.filter(r=>r.name!==e);if(!this.typeCondition&&t.length===0)return;if(t.length===this.appliedDirectives.length)return this;let n=new kn(this.sourceType,this.typeCondition,t);return this.copyAttachmentsTo(n),n}withNormalizedDefer(e){let t=this.deferDirectiveArgs();if(!t)return this;let n,r;if(t.if!==void 0)if(typeof t.if=="boolean")if(t.if)n={...t,if:void 0};else return this.withoutDefer();else r=t.if;let a=t.label;if(a||(a=e.newLabel(),n?n.label=a:n={...t,label:a}),r&&e.registerCondition(a,r),!n)return this;let s=this.schema().deferDirective(),o=this.appliedDirectives.filter(p=>p.name!==s.name).concat(new ee.Directive(s.name,n)),u=new kn(this.sourceType,this.typeCondition,o);return this.copyAttachmentsTo(u),u}equals(e){var t,n;return this===e?!0:e.kind==="FragmentElement"&&((t=this.typeCondition)===null||t===void 0?void 0:t.name)===((n=e.typeCondition)===null||n===void 0?void 0:n.name)&&QI(this,e)}toString(){return"..."+(this.typeCondition?" on "+this.typeCondition:"")+this.appliedDirectivesToString()}};fe.FragmentElement=kn;function nne(i){return i.filter(e=>!(e.kind==="FragmentElement"&&!e.typeCondition)).map(e=>{var t;return e.kind==="Field"?e.responseName():`... on ${(t=e.typeCondition)===null||t===void 0?void 0:t.coordinate}`})}fe.operationPathToStringPath=nne;function rne(i,e){if(i===e)return!0;if(i.length!==e.length)return!1;for(let t=0;te.appliedDirectives).flat().filter(e=>(0,ee.isConditionalDirective)(e))}fe.conditionalDirectivesInOperationPath=HI;function ane(i,e){if(i.length===0)return e;if(e.length===0)return i;let t=i[i.length-1],n=HI(i),r=e[0];for(;r&&sne(t,r,n);)e=e.slice(1),r=e[0];return i.concat(e)}fe.concatOperationPaths=ane;function sne(i,e,t){let n=i.kind==="Field"?i.baseType():i.typeCondition;return!!n&&e.kind==="FragmentElement"&&!!e.typeCondition&&(e.appliedDirectives.length===0||(0,ee.isDirectiveApplicationsSubset)(t,e.appliedDirectives))&&(0,na.isSubtype)(e.typeCondition,n)}function one(i){let e=new pt.SetMultiMap;for(let t of i.definitions())for(let n of t.fragmentUsages().keys())e.add(n,t.name);return e}function une(i,e,t){let n=Array.from(i.entries()).filter(([r,a])=>a>=t).map(([r,a])=>r);for(;n.length>0;){let r=[];for(let a of n){i.delete(a);let s=e.get(a).fragmentUsages();for(let[o,u]of s.entries()){let p=i.get(o);if(p!==void 0){let d=p+u;i.set(o,d),p=t&&r.push(o)}}}n=r}}function pne(i,e,t){let n=new Map;if(i.collectUsedFragmentNames(n),n.size===0)return null;for(let o of e.definitions())n.get(o.name)===void 0&&n.set(o.name,0);let r=one(e),a=new Set,s=!0;for(;s;){s=!1,une(n,e,t);for(let o of(0,pt.mapKeys)(n)){let u=n.get(o);if(u===0)continue;if(u>=t){s=!0;break}let p=r.get(o);if(!p||[...p].every(d=>a.has(d)||!n.get(d))){a.add(o),n.delete(o),s=!0;let d=e.get(o).fragmentUsages();for(let[l,c]of d.entries()){let v=n.get(l);v!==void 0&&n.set(l,v+u*c)}}}}for(let o of n.keys())a.add(o);return a.size===0?e:e.filter(o=>!a.has(o.name))}var _s=class extends ee.DirectiveTargetElement{constructor(e,t,n,r,a,s,o=[]){super(e,o),this.rootKind=t,this.selectionSet=n,this.variableDefinitions=r,this.fragments=a,this.name=s}withUpdatedSelectionSet(e){return this.selectionSet===e?this:new _s(this.schema(),this.rootKind,e,this.variableDefinitions,this.fragments,this.name,this.appliedDirectives)}collectUndefinedVariablesFromFragments(e){let t=new ee.VariableCollector;for(let n of e.definitions())n.selectionSet.usedVariables().forEach(r=>{this.variableDefinitions.definition(r)||t.add(r)});return t.variables()}withUpdatedSelectionSetAndFragments(e,t,n){if(this.selectionSet===e&&t===this.fragments)return this;let r=this.variableDefinitions;if(n&&t){let a=this.collectUndefinedVariablesFromFragments(t);a.length>0&&(r=new ee.VariableDefinitions,r.addAll(this.variableDefinitions),r.addAll(n.filter(a)))}return new _s(this.schema(),this.rootKind,e,r,t,this.name,this.appliedDirectives)}optimize(e,t=fe.DEFAULT_MIN_USAGES_TO_OPTIMIZE,n){if((0,pt.assert)(t>=1,`Expected 'minUsagesToOptimize' to be at least 1, but got ${t}`),!e||e.isEmpty())return this;let r=this.selectionSet.optimize(e);if(r===this.selectionSet)return this;let a=pne(r,e,t);if(a!==null&&a?.size!==e.size&&(r=r.expandFragments(a),r=r.normalize({parentType:r.parentType}),a)){let s;do{s=a;let o=new Map;r.collectUsedFragmentNames(o),a.collectUsedFragmentNames(o),a=a.filter(u=>{var p;return((p=o.get(u.name))!==null&&p!==void 0?p:0)>0})}while(a&&a.size`Trying to access fragment definition ${this.name} before it is fully built`),this._selectionSet}withUpdatedSelectionSet(e){return new ra(this.schema(),this.name,this.typeCondition).setSelectionSet(e)}fragmentUsages(){return this._fragmentUsages||(this._fragmentUsages=new Map,this.selectionSet.collectUsedFragmentNames(this._fragmentUsages)),this._fragmentUsages}collectUsedFragmentNames(e){let t=this.fragmentUsages();for(let[n,r]of t.entries()){let a=e.get(n);e.set(n,a?a+r:r)}}collectVariables(e){this.selectionSet.collectVariables(e),this.collectVariablesInAppliedDirectives(e)}toFragmentDefinitionNode(){return{kind:Ze.Kind.FRAGMENT_DEFINITION,name:{kind:Ze.Kind.NAME,value:this.name},typeCondition:{kind:Ze.Kind.NAMED_TYPE,name:{kind:Ze.Kind.NAME,value:this.typeCondition.name}},selectionSet:this.selectionSet.toSelectionSetNode()}}canApplyDirectlyAtType(e){if((0,na.sameType)(e,this.typeCondition))return!0;if(!(0,ee.isAbstractType)(this.typeCondition))return!1;let t=(0,ee.possibleRuntimeTypes)(this.typeCondition),n=(0,ee.possibleRuntimeTypes)(e);return t.lengtht.some(a=>(0,na.sameType)(r,a)))?!1:(0,ee.isObjectType)(e)||(0,ee.isUnionType)(this.typeCondition)}expandedSelectionSet(){return this._expandedSelectionSet||(this._expandedSelectionSet=this.selectionSet.expandFragments()),this._expandedSelectionSet}expandedSelectionSetAtType(e){let t=this.expandedSelectionSetsAtTypesCache.get(e.name);return t||(t=this.computeExpandedSelectionSetAtType(e),this.expandedSelectionSetsAtTypesCache.set(e.name,t)),t}computeExpandedSelectionSetAtType(e){let t=this.expandedSelectionSet(),n=t.normalize({parentType:e});if(!(0,ee.isObjectType)(this.typeCondition)){let s=Pa.build(t);return{selectionSet:n,validator:s}}let r=t.minus(n),a=r.isEmpty()?void 0:Pa.build(r);return{selectionSet:n,validator:a}}includes(e){return this.name===e?!1:(this._includedFragmentNames||(this._includedFragmentNames=this.computeIncludedFragmentNames()),this._includedFragmentNames.has(e))}computeIncludedFragmentNames(){let e=new Set;for(let t of this.selectionSet.selections())t instanceof Ui&&e.add(t.namedFragment.name);return e}toString(e){return`fragment ${this.name} on ${this.typeCondition}${this.appliedDirectivesToString()} ${this.selectionSet.toString(!1,!0,e)}`}};fe.NamedFragmentDefinition=ra;var Is=class{constructor(){this.fragments=new pt.MapWithCachedArrays}isEmpty(){return this.size===0}get size(){return this.fragments.size}names(){return this.fragments.keys()}add(e){if(this.fragments.has(e.name))throw Qf.ERRORS.INVALID_GRAPHQL.err(`Duplicate fragment name '${e}'`);this.fragments.set(e.name,e)}addIfNotExist(e){this.fragments.has(e.name)||this.fragments.set(e.name,e)}maybeApplyingDirectlyAtType(e){return this.fragments.values().filter(t=>t.canApplyDirectlyAtType(e))}get(e){return this.fragments.get(e)}has(e){return this.fragments.has(e)}definitions(){return this.fragments.values()}collectUsedFragmentNames(e){for(let t of this.definitions())t.collectUsedFragmentNames(e)}map(e){let t=new Is;for(let n of this.fragments.values())t.fragments.set(n.name,e(n));return t}mapInDependencyOrder(e){let t=new Map;for(let a of this.definitions())t.set(a.name,{fragment:a,dependsOn:Array.from(a.fragmentUsages().keys())});let n=new Set,r=new Is;for(;t.size>0;)for(let[a,s]of t)if(s.dependsOn.every(o=>r.has(o)||n.has(o))){let o=e(s.fragment,r);t.delete(a),o?r.add(o):n.add(a);break}return r.isEmpty()?void 0:r}mapToExpandedSelectionSets(e){return this.mapInDependencyOrder((t,n)=>{let r=e(t.selectionSet.expandFragments().normalize({parentType:t.typeCondition}));if(!r)return;let a=r.optimize(n);return t.withUpdatedSelectionSet(a)})}rebaseOn(e){return this.mapInDependencyOrder((t,n)=>{let r=e.type(t.selectionSet.parentType.name);if(!r||!(0,ee.isCompositeType)(r))return;let a=t.selectionSet.rebaseOn({parentType:r,fragments:n,errorIfCannotRebase:!1});return a=a.normalize({parentType:r}),a.isWorthUsing()?new ra(e,t.name,r).setSelectionSet(a):void 0})}filter(e){return this.mapInDependencyOrder((t,n)=>{if(e(t)){let r=t.selectionSet.expandFragments(n);return r===t.selectionSet?t:t.withUpdatedSelectionSet(r.normalize({parentType:r.parentType}))}else return})}validate(e){for(let t of this.fragments.values())t.selectionSet.validate(e)}toFragmentDefinitionNodes(){return this.definitions().map(e=>e.toFragmentDefinitionNode())}toString(e){return this.definitions().map(t=>t.toString(e)).join(` `)}};fe.NamedFragments=Is;var iE=class{constructor(){this.index=0,this.assignedLabels=new Set,this.deferConditions=new pt.SetMultiMap,this.usedLabels=new Set}init(e){let t=!1,n=!1,r=e.selections().concat();for(;r.length>0;){let a=r.pop();if(a.kind==="FragmentSelection"){let s=a.element.deferDirectiveArgs();s&&(n=!0,(!s.label||s.if!==void 0)&&(t=!0),s.label&&this.usedLabels.add(s.label))}a.selectionSet&&a.selectionSet.selections().forEach(s=>r.push(s))}return{hasDefers:n,hasNonLabelledOrConditionalDefers:t}}nextLabel(){return`qp__${this.index++}`}newLabel(){let e=this.nextLabel();for(;this.usedLabels.has(e);)e=this.nextLabel();return this.assignedLabels.add(e),e}registerCondition(e,t){this.deferConditions.add(t.name,e)}},Mi;(function(i){i[i.NOT_CONTAINED=0]="NOT_CONTAINED",i[i.STRICTLY_CONTAINED=1]="STRICTLY_CONTAINED",i[i.EQUAL=2]="EQUAL"})(Mi||(fe.ContainsResult=Mi={}));var aa=class{constructor(e,t=new Map){this.parentType=e,this._keyedSelections=t,this._selections=(0,pt.mapValues)(t)}minimizeSelectionSet(e=new Is,t=new Map){return[this.lazyMap(r=>{var a;if(r.kind==="FragmentSelection"&&r.element.typeCondition&&r.element.appliedDirectives.length===0&&r.selectionSet&&r.selectionSet.isWorthUsing()){let s=`on${r.element.typeCondition}`+r.selectionSet.selections().length,o=t.get(s);if(o){let l=o.find(([c])=>c.equals(r.selectionSet));if(l)return new Ui(this.parentType,e,l[1],[])}let[u]=r.selectionSet.minimizeSelectionSet(e,t),p=t.get(s),d=new ra(this.parentType.schema(),`_generated_${s}_${(a=p?.length)!==null&&a!==void 0?a:0}`,r.element.typeCondition).setSelectionSet(u);return e.add(d),p?p.push([r.selectionSet,d]):t.set(s,[[r.selectionSet,d]]),new Ui(this.parentType,e,d,[])}return r.selectionSet&&(r=r.withUpdatedSelectionSet(r.selectionSet.minimizeSelectionSet(e,t)[0])),r}),e]}selectionsInReverseOrder(){let e=this._selections.length,t=new Array(e);for(let n=0;nn.optimize(e,t))}expandFragments(e){return this.lazyMap(t=>t.expandFragments(e))}normalize({parentType:e,recursive:t}){return this.lazyMap(n=>n.normalize({parentType:e,recursive:t}),{parentType:e})}lazyMap(e,t){var n;let r=this.selections(),a;for(let s=0;st.withoutDefer(e))}withNormalizedDefer(e){return this.lazyMap(t=>t.withNormalizedDefer(e))}hasDefer(){return this.selections().some(e=>e.hasDefer())}filter(e){return this.lazyMap(t=>e(t)?t:void 0)}filterRecursiveDepthFirst(e){return this.lazyMap(t=>t.filterRecursiveDepthFirst(e))}withoutEmptyBranches(){let e=this.filterRecursiveDepthFirst(t=>{var n;return((n=t.selectionSet)===null||n===void 0?void 0:n.isEmpty())!==!0});return e.isEmpty()?void 0:e}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n}){if(this.parentType===e)return this;let r=new Map;for(let a of this.selections()){let s=a.rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n});s&&r.set(a.key(),s)}return new aa(e,r)}equals(e){if(this===e)return!0;if(this._selections.length!==e._selections.length)return!1;for(let[t,n]of this._keyedSelections){let r=e._keyedSelections.get(t);if(!r||!n.equals(r))return!1}return!0}contains(e,t){var n;let r=(n=t?.ignoreMissingTypename)!==null&&n!==void 0?n:!1;if(e._selections.length>this._selections.length&&(!r||e._selections.length>this._selections.length+1||this.hasTopLevelTypenameField()||!e.hasTopLevelTypenameField()))return Mi.NOT_CONTAINED;let a=!0,s=!1;for(let[o,u]of e._keyedSelections){if(o===ee.typenameFieldName&&r){this._keyedSelections.has(ee.typenameFieldName)||(s=!0);continue}let p=this._keyedSelections.get(o),d=p?.contains(u,t);if(d===void 0||d===Mi.NOT_CONTAINED)return Mi.NOT_CONTAINED;a&&(a=d===Mi.EQUAL)}return a&&e._selections.length===this._selections.length+(s?1:0)?Mi.EQUAL:Mi.STRICTLY_CONTAINED}containsTopLevelField(e){let t=this._keyedSelections.get(e.key());return!!t&&t.element.equals(e)}minus(e){let t=new Zi;for(let[n,r]of this._keyedSelections){let a=e._keyedSelections.get(n);if(a){let s=r.minus(a);s&&t.add(s)}else t.add(r)}return t.toSelectionSet(this.parentType)}intersectionWith(e){if(this.isEmpty())return this;if(e.isEmpty())return e;let t=new Zi;for(let[n,r]of this._keyedSelections){let a=e._keyedSelections.get(n);if(a){let s=r.intersectionWith(a);s&&t.add(s)}}return t.toSelectionSet(this.parentType)}canRebaseOn(e){return this.selections().every(t=>t.canAddTo(e))}validate(e,t=!1){Nt(!this.isEmpty(),()=>"Invalid empty selection set");for(let n of this.selections())n.validate(e,t)}isEmpty(){return this._selections.length===0}toSelectionSetNode(){return this.isEmpty()?{kind:Ze.Kind.SELECTION_SET,selections:[{kind:Ze.Kind.FIELD,name:{kind:Ze.Kind.NAME,value:"..."}}]}:{kind:Ze.Kind.SELECTION_SET,selections:Array.from(this.selectionsInPrintOrder(),e=>e.toSelectionNode())}}selectionsInPrintOrder(){let e=n=>n.kind==="FieldSelection"&&n.isPlainTypenameField(),t=this._selections.find(n=>e(n));return t?[t].concat(this.selections().filter(n=>!e(n))):this._selections}toOperationPaths(){return this.toOperationPathsInternal([])}toOperationPathsInternal(e){return this.selections().flatMap(t=>{let n=e.map(r=>r.concat(t.element));return t.selectionSet?t.selectionSet.toOperationPathsInternal(n):n})}forEachElement(e){var t;let n=this.selectionsInReverseOrder().concat();for(;n.length>0;){let r=n.pop();e(r.element),(t=r.selectionSet)===null||t===void 0||t.selectionsInReverseOrder().forEach(a=>n.push(a))}}some(e){for(let t of this.selections())if(e(t.element)||t.selectionSet&&t.selectionSet.some(e))return!0;return!1}toOperationString(e,t,n,r,a,s=!1,o=!0){let u=o?"":void 0,p=!s&&n&&!n.isEmpty()?n.toString(u)+` `:"";if(e=="query"&&!r&&t.isEmpty())return p+this.toString(s,!0,u);let d=r?" "+(r+(t.isEmpty()?"":t.toString())):t.isEmpty()?"":" "+t.toString(),l=(0,ee.directivesToString)(a);return p+e+d+l+" "+this.toString(s,!0,u)}toString(e=!0,t=!0,n){if(this.isEmpty())return"{}";if(n===void 0){let r=this.selections().map(a=>a.toString(e)).join(" ");return t?"{ "+r+" }":r}else{let r=t?n+" ":n,a=this.selections().map(s=>s.toString(e,r)).join(` `);return t?`{ `+a+` `+n+"}":a}}isWorthUsing(){let e=this.selections();if(e.length===0)return!1;if(e.length===1){let t=e[0];return!(t.kind==="FieldSelection"&&t.element.isLeafField())}return!0}};fe.SelectionSet=aa;var Zi=class{constructor(){this.keyedUpdates=new pt.MultiMap}isEmpty(){return this.keyedUpdates.size===0}add(e){return Yf(this.keyedUpdates,e),this}addAtPath(e,t){if(e.length===0)t&&Yf(this.keyedUpdates,t);else{if(e.length===1&&!t){let n=e[0];if(n.kind==="Field"&&n.isLeafField()){let r=Vl(n);return this.keyedUpdates.add(r.key(),r),this}}this.keyedUpdates.add(e[0].key(),{path:e,selections:t})}return this}clone(){let e=new Zi;for(let[t,n]of this.keyedUpdates.entries())e.keyedUpdates.set(t,Array.from(n));return e}clear(){this.keyedUpdates.clear()}toSelectionSet(e,t){return YI(e,this.keyedUpdates,t)}toString(){return`{ `+[...this.keyedUpdates.entries()].map(([e,t])=>{let n=t.map(r=>r instanceof Er?r.toString():`${r.path} -> ${r.selections}`);return` - ${e}: ${n}`}).join(` `)+` }`}};fe.SelectionSetUpdates=Zi;function Yf(i,e){if(e instanceof Er)qI(i,e);else{let t=e instanceof aa?e.selections():e;for(let n of t)qI(i,n)}}function qI(i,e){e instanceof Ui?i.set(e.key(),[e]):i.add(e.key(),e)}function dne(i,e){if(i.schema()===e)return i;let t=e.type(i.name);return(0,pt.assert)(t&&(0,ee.isCompositeType)(t),()=>`Expected ${i} to exists and be composite in the rebased schema, but got ${t?.kind}`),t}function GI(i,e){return e.element.appliedDirectives.length===0&&(!e.element.typeCondition||(0,na.isSubtype)(dne(e.element.typeCondition,i.schema()),i))}function nE(i,e){if(e instanceof Er)return e.kind!=="FragmentSelection"||!GI(i,e)?e:nE(i,e.selectionSet);let t=e instanceof aa?e.selections():e,n=[];for(let r of t)if(r.kind==="FragmentSelection"&&GI(i,r)){let a=nE(i,r.selectionSet);if(a instanceof Er)n.push(a);else for(let s of a)n.push(s)}else n.push(r);return n}function lne(i,e,t){(0,pt.assert)(e.length>0,"Should not be called without any updates");let n=e[0];if(e.length===1&&n instanceof Er)return n.rebaseOnOrError({parentType:i,fragments:t});let r=cne(n).rebaseOnOrError(i),a=r.kind==="Field"?r.baseType():r.castedType();if(!(0,ee.isCompositeType)(a))return Vl(r);let s=new pt.MultiMap;for(let o of e)o instanceof Er?o.selectionSet&&Yf(s,o.selectionSet):fne(s,a,o);return Vl(r,YI(a,s,t))}function cne(i){return i instanceof Er?i.element:i.path[0]}function fne(i,e,t){if(t.path.length===1){if(!t.selections)return;Yf(i,nE(e,t.selections))}else i.add(t.path[1].key(),{path:t.path.slice(1),selections:t.selections})}function YI(i,e,t){let n=new Map;for(let[r,a]of e.entries())n.set(r,lne(i,a,t));return new aa(i,n)}var Ss=class{constructor(e,t,n){this.parentType=e,this._updates=t,this.memoizer=n}static empty(e){return this.emptyWithMemoized(e,()=>({}))}static emptyWithMemoized(e,t){return new Ss(e,new Zi,t)}static of(e){return this.ofWithMemoized(e,()=>({}))}static ofWithMemoized(e,t){let n=new Ss(e.parentType,new Zi,t);return n._updates.add(e),n.computed=e,n}isEmpty(){return this._updates.isEmpty()}get(){return this.computed||(this.computed=this._updates.toSelectionSet(this.parentType),this._updates.clear(),this._updates.add(this.computed)),this.computed}updates(){return this.computed=void 0,this._memoized=void 0,this._updates}clone(){let e=new Ss(this.parentType,this._updates.clone(),this.memoizer);return e.computed=this.computed,e._memoized=this._memoized,e}rebaseOn(e){let t=new Ss(e,new Zi,this.memoizer);return t._updates.add(this.get()),t}memoized(){return this._memoized||(this._memoized=this.memoizer(this.get())),this._memoized}toString(){return this.get().toString()}};fe.MutableSelectionSet=Ss;function mne(i){let e=Array.from(i.selections()),t=[];for(;e.length>0;){let n=e.pop();n.kind==="FieldSelection"&&t.push(n.element.definition),n.selectionSet&&e.push(...n.selectionSet.selections())}return t}fe.allFieldDefinitionsInSelectionSet=mne;function dp(i,e){let t=new Map;return t.set(e.key(),e),new aa(i,t)}fe.selectionSetOf=dp;function aE(i,e){return dp(i.parentType,Vl(i,e))}fe.selectionSetOfElement=aE;function Vl(i,e){return i.kind==="Field"?new ia(i,e):new gr(i,e)}fe.selectionOfElement=Vl;var Er=class{constructor(e){this.element=e}rebaseOnOrError({parentType:e,fragments:t}){return this.rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:!0})}get parentType(){return this.element.parentType}isTypenameField(){return!1}collectVariables(e){var t;this.element.collectVariables(e),(t=this.selectionSet)===null||t===void 0||t.collectVariables(e)}collectUsedFragmentNames(e){var t;(t=this.selectionSet)===null||t===void 0||t.collectUsedFragmentNames(e)}withUpdatedSelectionSet(e){return this.withUpdatedComponents(this.element,e)}withUpdatedElement(e){return this.withUpdatedComponents(e,this.selectionSet)}mapToSelectionSet(e){if(!this.selectionSet)return this.us();let t=e(this.selectionSet);return t===this.selectionSet?this.us():this.withUpdatedSelectionSet(t)}isFragmentSpread(){return!1}minus(e){if(this.selectionSet&&e.selectionSet){let t=this.selectionSet.minus(e.selectionSet);if(!t.isEmpty())return this.withUpdatedSelectionSet(t)}}intersectionWith(e){if(this.selectionSet&&e.selectionSet){let t=this.selectionSet.intersectionWith(e.selectionSet);return t.isEmpty()?void 0:this.withUpdatedSelectionSet(t)}else return this.us()}tryOptimizeSubselectionWithFragments({parentType:e,subSelection:t,fragments:n,validator:r,canUseFullMatchingFragment:a}){let s=n.maybeApplyingDirectlyAtType(e);if(s.length===0)return t;let o=[];for(let l of s){let c=l.expandedSelectionSetAtType(e);if(c.selectionSet.isEmpty()||c.selectionSet.selections().length===1&&c.selectionSet.selections()[0].isTypenameField())continue;let v=t.contains(c.selectionSet,{ignoreMissingTypename:!0});if(v===Mi.EQUAL){if(a(l)){if(!r.checkCanReuseFragmentAndTrackIt(c))continue;return l}l.appliedDirectives.length===0&&o.push({fragment:l,atType:c})}else v===Mi.STRICTLY_CONTAINED&&l.appliedDirectives.length===0&&o.push({fragment:l,atType:c})}if(o.length===0)return t;let u=o.filter(({fragment:l})=>!o.some(c=>c.fragment.includes(l.name))),p=t,d=new Zi;for(let{fragment:l,atType:c}of u){if(!r.checkCanReuseFragmentAndTrackIt(c))continue;let v=t.minus(c.selectionSet);p=p.intersectionWith(v),d.add(new Ui(e,n,l,[]))}return d.add(p).toSelectionSet(e,n)}},pp=class{constructor(e){this.validators=e}static ofInitial(e){return new pp([e])}forField(e){let t=this.validators.flatMap(n=>n.forField(e));return(0,pt.assert)(t.length>0,`Shoud have found at least one validator for ${e}`),new pp(t)}checkCanReuseFragmentAndTrackIt(e){let t=e.validator;if(!t)return!0;if(!this.validators.every(n=>n.doMergeWith(t)))return!1;if(this.usedSpreadTrimmedPartAtLevel){if(!this.usedSpreadTrimmedPartAtLevel.every(n=>t.doMergeWith(n)))return!1}else this.usedSpreadTrimmedPartAtLevel=[];return this.usedSpreadTrimmedPartAtLevel.push(t),!0}},Pa=class{constructor(e){this.byResponseName=e}static build(e){return Pa.forLevel(e.fieldsInSet())}static forLevel(e){var t;let n=new Map;for(let{field:a}of e){let s=a.element.responseName(),o=n.get(s);if(o||(o=new Map,n.set(s,o)),a.selectionSet){let u=(t=o.get(a.element))!==null&&t!==void 0?t:[];o.set(a.element,u.concat(a.selectionSet.fieldsInSet()))}else o.set(a.element,null)}let r=new Map;for(let[a,s]of n.entries()){let o=new Map;for(let[u,p]of s){let d=p?Pa.forLevel(p):null;o.set(u,d)}r.set(a,o)}return new Pa(r)}forField(e){let t=this.byResponseName.get(e.responseName());return t?(0,pt.mapValues)(t).filter(n=>!!n):[]}doMergeWith(e){var t,n;for(let[r,a]of this.byResponseName.entries()){let s=e.byResponseName.get(r);if(s)for(let[o,u]of a.entries())for(let[p,d]of s.entries()){if(!(0,na.typesCanBeMerged)(o.definition.type,p.definition.type))return!1;let l=o.parentType,c=p.parentType;if((0,na.sameType)(l,c)||!(0,ee.isObjectType)(l)||!(0,ee.isObjectType)(c)){if(o.name!==p.name||!(0,ta.argumentsEquals)((t=o.args)!==null&&t!==void 0?t:{},(n=p.args)!==null&&n!==void 0?n:{})||u&&d&&!u.doMergeWith(d))return!1}else if(u&&d&&!u.hasSameResponseShapeThan(d))return!1}}return!0}hasSameResponseShapeThan(e){for(let[t,n]of this.byResponseName.entries()){let r=e.byResponseName.get(t);if(r){for(let[a,s]of n.entries())for(let[o,u]of r.entries())if(!(0,na.typesCanBeMerged)(a.definition.type,o.definition.type)||s&&u&&!s.hasSameResponseShapeThan(u))return!1}}return!0}toString(e=""){return`{ `+[...this.byResponseName.entries()].map(([t,n])=>{let r=e+" ";return`${r}${t}: [ `+[...n.entries()].map(([a,s])=>`${r} ${a.parentType}.${a}${s?s.toString(r+" "):""}`).join(` `)+` ${r}]`}).join(` `)+` ${e}}`}},ia=class extends Er{constructor(e,t){super(e),this._selectionSet=t,this.kind="FieldSelection"}get selectionSet(){return this._selectionSet}us(){return this}isTypenameField(){return this.element.definition.name===ee.typenameFieldName}isPlainTypenameField(){return this.element.definition.name===ee.typenameFieldName&&this.element.appliedDirectives.length==0&&!this.element.alias}withAttachment(e,t){let n=this.element.copy();return n.addAttachment(e,t),this.withUpdatedElement(n)}withUpdatedComponents(e,t){return this.element===e&&this.selectionSet===t?this:new ia(e,t)}key(){return this.element.key()}optimize(e,t){let n=(0,ee.baseType)(this.element.definition.type);if(!(0,ee.isCompositeType)(n)||!this.selectionSet)return this;let r=t.forField(this.element),a=this.tryOptimizeSubselectionWithFragments({parentType:n,subSelection:this.selectionSet,fragments:e,validator:r,canUseFullMatchingFragment:o=>o.appliedDirectives.length===0}),s;return a instanceof ra?s=dp(n,new Ui(n,e,a,[])):s=a,s=s.optimizeSelections(e,r),this.selectionSet===s?this:this.withUpdatedSelectionSet(s)}filterRecursiveDepthFirst(e){if(!this.selectionSet)return e(this)?this:void 0;let t=this.selectionSet.filterRecursiveDepthFirst(e),n=this.selectionSet===t?this:new ia(this.element,t);return e(n)?n:void 0}validate(e,t){var n;this.element.validate(e,t),Nt(this.element.isLeafField()||this.selectionSet&&!this.selectionSet.isEmpty(),()=>`Invalid empty selection set for field "${this.element.definition.coordinate}" of non-leaf type ${this.element.definition.type}`,this.element.definition.sourceAST),(n=this.selectionSet)===null||n===void 0||n.validate(e)}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n}){if(this.element.parentType===e)return this;let r=this.element.rebaseOn({parentType:e,errorIfCannotRebase:n});if(!r)return;if(!this.selectionSet)return this.withUpdatedElement(r);let a=r.baseType();if(a===this.selectionSet.parentType)return this.withUpdatedElement(r);Nt((0,ee.isCompositeType)(a),()=>`Cannot rebase field selection ${this} on ${e}: rebased field base return type ${a} is not composite`);let s=this.selectionSet.rebaseOn({parentType:a,fragments:t,errorIfCannotRebase:n});return s.isEmpty()?void 0:this.withUpdatedComponents(r,s)}canAddTo(e){if(this.element.parentType===e)return!0;let t=this.element.typeIfAddedTo(e);if(!t)return!1;let n=(0,ee.baseType)(t);return this.selectionSet&&this.selectionSet.parentType!==n?((0,pt.assert)((0,ee.isCompositeType)(n),()=>`${this.element} should have a selection set as it's type is not a composite`),this.selectionSet.selections().every(r=>r.canAddTo(n))):!0}toSelectionNode(){var e;let t=this.element.alias?{kind:Ze.Kind.NAME,value:this.element.alias}:void 0;return{kind:Ze.Kind.FIELD,name:{kind:Ze.Kind.NAME,value:this.element.name},alias:t,arguments:this.element.argumentsToNodes(),directives:this.element.appliedDirectivesToDirectiveNodes(),selectionSet:(e=this.selectionSet)===null||e===void 0?void 0:e.toSelectionSetNode()}}withoutDefer(e){return this.mapToSelectionSet(t=>t.withoutDefer(e))}withNormalizedDefer(e){return this.mapToSelectionSet(t=>t.withNormalizedDefer(e))}hasDefer(){var e;return!!(!((e=this.selectionSet)===null||e===void 0)&&e.hasDefer())}normalize({parentType:e,recursive:t}){let n=e===this.parentType?this.element.definition:e.field(this.element.name);(0,pt.assert)(n,`Cannot normalize ${this.element} at ${e} which does not have that field`);let r=this.element.definition===n?this.element:this.element.withUpdatedDefinition(n);if(!this.selectionSet)return this.withUpdatedElement(r);let a=r.baseType();(0,pt.assert)((0,ee.isCompositeType)(a),()=>`Field ${r} should not have a sub-selection`);let s=t??!0?this.selectionSet.normalize({parentType:a}):this.selectionSet;return s?.isEmpty()?this.withUpdatedComponents(r,aE(new Vn(a.typenameField(),void 0,[new ee.Directive("include",{if:!1})]))):this.withUpdatedComponents(r,s)}expandFragments(e){return this.mapToSelectionSet(t=>t.expandFragments(e))}equals(e){return this===e?!0:!(e instanceof ia)||!this.element.equals(e.element)?!1:this.selectionSet?!!e.selectionSet&&this.selectionSet.equals(e.selectionSet):!e.selectionSet}contains(e,t){return!(e instanceof ia)||!this.element.equals(e.element)?Mi.NOT_CONTAINED:this.selectionSet?((0,pt.assert)(e.selectionSet,"`this` and `that` have the same element, so if one has sub-selection, the other one should too"),this.selectionSet.contains(e.selectionSet,t)):((0,pt.assert)(!e.selectionSet,"`this` and `that` have the same element, so if one does not have a sub-selection, neither should the other one"),Mi.EQUAL)}toString(e=!0,t){return(t??"")+this.element+(this.selectionSet?" "+this.selectionSet.toString(e,!0,t):"")}};fe.FieldSelection=ia;var bs=class extends Er{constructor(){super(...arguments),this.kind="FragmentSelection"}us(){return this}validateDeferAndStream(){if(this.element.hasDefer()||this.element.hasStream()){let e=this.element.schema().schemaDefinition,t=this.parentType;Nt(e.rootType("mutation")!==t&&e.rootType("subscription")!==t,()=>{var n;return`The @defer and @stream directives cannot be used on ${(n=e.roots().filter(r=>r.type===t).pop())===null||n===void 0?void 0:n.rootKind} root type "${t}"`})}}filterRecursiveDepthFirst(e){let t=this.selectionSet.filterRecursiveDepthFirst(e),n=t===this.selectionSet?this:new gr(this.element,t);return e(n)?n:void 0}hasDefer(){return this.element.hasDefer()||this.selectionSet.hasDefer()}normalize({parentType:e,recursive:t}){let n=this.element.typeCondition;if(n&&e!==this.parentType){let r=(0,ee.possibleRuntimeTypes)(n),a=(0,ee.possibleRuntimeTypes)(e);if(!r.some(s=>a.includes(s)))return}return this.normalizeKnowingItIntersects({parentType:e,recursive:t})}};fe.FragmentSelection=bs;var gr=class extends bs{constructor(e,t){super(e),this._selectionSet=t}get selectionSet(){return this._selectionSet}key(){return this.element.key()}withUpdatedComponents(e,t){return e===this.element&&t===this.selectionSet?this:new gr(e,t)}validate(e){this.validateDeferAndStream(),Nt(!this.selectionSet.isEmpty(),()=>`Invalid empty selection set for fragment "${this.element}"`),this.selectionSet.validate(e)}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n}){if(this.parentType===e)return this;let r=this.element.rebaseOn({parentType:e,errorIfCannotRebase:n});if(!r)return;let a=r.castedType();if(a===this.selectionSet.parentType)return this.withUpdatedElement(r);let s=this.selectionSet.rebaseOn({parentType:a,fragments:t,errorIfCannotRebase:n});return s.isEmpty()?void 0:this.withUpdatedComponents(r,s)}canAddTo(e){if(this.element.parentType===e)return!0;let t=this.element.castedTypeIfAddedTo(e);return t?this.selectionSet.parentType!==t?this.selectionSet.selections().every(n=>n.canAddTo(t)):!0:!1}toSelectionNode(){let e=this.element.typeCondition;return{kind:Ze.Kind.INLINE_FRAGMENT,typeCondition:e?{kind:Ze.Kind.NAMED_TYPE,name:{kind:Ze.Kind.NAME,value:e.name}}:void 0,directives:this.element.appliedDirectivesToDirectiveNodes(),selectionSet:this.selectionSet.toSelectionSetNode()}}optimize(e,t){let n=this.selectionSet,r=this.element.typeCondition;if(r){let a=this.tryOptimizeSubselectionWithFragments({parentType:r,subSelection:n,fragments:e,validator:t,canUseFullMatchingFragment:s=>s.appliedDirectives.length===0||(0,na.sameType)(r,s.typeCondition)&&s.appliedDirectives.every(o=>this.element.appliedDirectives.some(u=>(0,ee.sameDirectiveApplication)(o,u)))});if(a instanceof ra)if((0,na.sameType)(r,a.typeCondition)){let s=this.element.appliedDirectives;return a.appliedDirectives&&(s=s.filter(o=>!a.appliedDirectives.some(u=>(0,ee.sameDirectiveApplication)(u,o)))),new Ui(this.parentType,e,a,s)}else n=dp(r,new Ui(r,e,a,[]));else n=a}return n=n.optimizeSelections(e,t),this.selectionSet===n?this:new gr(this.element,n)}withoutDefer(e){let t=this.selectionSet.withoutDefer(e),n=this.element.deferDirectiveArgs(),r=n&&(!e||n.label&&e.has(n.label));if(t===this.selectionSet&&!r)return this;let a=r?this.element.withoutDefer():this.element;return a?this.withUpdatedComponents(a,t):t}withNormalizedDefer(e){let t=this.element.withNormalizedDefer(e),n=this.selectionSet.withNormalizedDefer(e);return t?t===this.element&&n===this.selectionSet?this:this.withUpdatedComponents(t,n):n}normalizeKnowingItIntersects({parentType:e,recursive:t}){var n;let r=this.element.typeCondition;if(this.element.appliedDirectives.length===0&&(!r||e===this.element.typeCondition||(0,ee.isObjectType)(e))){let s=this.selectionSet.normalize({parentType:e,recursive:t});return s.isEmpty()?void 0:s}let a;if(t??!0){if(a=this.selectionSet.normalize({parentType:r??e}),a.isEmpty())return this.element.appliedDirectives.length===0?void 0:this.withUpdatedComponents(this.element.rebaseOnOrError(e),aE(new Vn(((n=this.element.typeCondition)!==null&&n!==void 0?n:e).typenameField(),void 0,[new ee.Directive("include",{if:!1})])))}else a=this.selectionSet;if(this.element.appliedDirectives.length===0&&(0,ee.isAbstractType)(r)){(0,pt.assert)(!(0,ee.isObjectType)(e),()=>`Should not have got here if ${e} is an object type`);let s=(0,ee.possibleRuntimeTypes)(e),o=[];for(let u of a.selections())u.kind==="FragmentSelection"&&u.element.typeCondition&&(0,ee.isObjectType)(u.element.typeCondition)&&s.includes(u.element.typeCondition)&&o.push(u);if(o.length===a.selections().length)return a;if(o.length>0){let u=new Zi;return u.add(o),u.add(this.withUpdatedSelectionSet(a.filter(p=>!o.includes(p)))),u.toSelectionSet(e)}}return this.parentType===e&&this.selectionSet===a?this:this.withUpdatedComponents(this.element.rebaseOnOrError(e),a)}expandFragments(e){return this.mapToSelectionSet(t=>t.expandFragments(e))}equals(e){return this===e?!0:e instanceof bs&&this.element.equals(e.element)&&this.selectionSet.equals(e.selectionSet)}contains(e,t){return!(e instanceof bs)||!this.element.equals(e.element)?Mi.NOT_CONTAINED:this.selectionSet.contains(e.selectionSet,t)}toString(e=!0,t){return(t??"")+this.element+" "+this.selectionSet.toString(e,!0,t)}},Ui=class extends bs{constructor(e,t,n,r){super(new kn(e,n.typeCondition,n.appliedDirectives.concat(r))),this.fragments=t,this.namedFragment=n,this.spreadDirectives=r}isFragmentSpread(){return!0}get selectionSet(){return this.namedFragment.selectionSet}key(){return this.computedKey||(this.computedKey="..."+this.namedFragment.name+(0,ee.directivesToString)(this.spreadDirectives)),this.computedKey}withUpdatedComponents(e,t){(0,pt.assert)(!1,"Unsupported")}normalizeKnowingItIntersects({parentType:e}){return(0,pt.assert)(e.schema()===this.parentType.schema(),"Should not try to normalize using a type from another schema"),this.rebaseOnOrError({parentType:e,fragments:this.fragments})}validate(){this.validateDeferAndStream(),Nt((0,ee.runtimeTypesIntersects)(this.parentType,this.namedFragment.typeCondition),()=>`Fragment "${this.namedFragment.name}" cannot be spread inside type ${this.parentType} as the runtime types do not intersect ${this.namedFragment.typeCondition}`)}toSelectionNode(){let e=(0,ee.directivesToDirectiveNodes)(this.spreadDirectives);return{kind:Ze.Kind.FRAGMENT_SPREAD,name:{kind:Ze.Kind.NAME,value:this.namedFragment.name},directives:e}}optimize(e,t){return this}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n}){if(this.parentType===e)return this;let r=this.parentType.schema()===e.schema();(0,pt.assert)(t||r,"Must provide fragments is rebasing on other schema");let a=t??this.fragments,s=a.get(this.namedFragment.name);if(!s){Nt(!n,()=>`Cannot rebase ${this.toString(!1)} if it isn't part of the provided fragments`);return}if(!r&&!(0,ee.runtimeTypesIntersects)(e,s.typeCondition)){let o=this.namedFragment.selectionSet.rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:n});return o.isEmpty()?void 0:new gr(new kn(e),o)}return new Ui(e,a,s,this.spreadDirectives)}canAddTo(e){return!0}expandFragments(e){if(e?.has(this.namedFragment.name))return this;let t=this.selectionSet.expandFragments(e);return(0,na.sameType)(this.parentType,this.namedFragment.typeCondition)&&this.element.appliedDirectives.length===0?t.selections():new gr(this.element,t)}collectUsedFragmentNames(e){let t=e.get(this.namedFragment.name);e.set(this.namedFragment.name,t===void 0?1:t+1)}withoutDefer(e){(0,pt.assert)(!1,"Unsupported, see `Operation.withAllDeferLabelled`")}withNormalizedDefer(e){(0,pt.assert)(!1,"Unsupported, see `Operation.withAllDeferLabelled`")}minus(e){(0,pt.assert)(this.equals(e),()=>`Invalid operation for ${this.toString(!1)} and ${e.toString(!1)}`)}equals(e){return this===e?!0:e instanceof Ui&&this.namedFragment.name===e.namedFragment.name&&(0,ee.sameDirectiveApplications)(this.spreadDirectives,e.spreadDirectives)}contains(e,t){return this.equals(e)?Mi.EQUAL:!(e instanceof bs)||!this.element.equals(e.element)?Mi.NOT_CONTAINED:this.selectionSet.contains(e.selectionSet,t)}toString(e=!0,t){return e?(t??"")+this.element+" "+this.selectionSet.toString(!0,!0,t):(t??"")+"..."+this.namedFragment.name+(0,ee.directivesToString)(this.spreadDirectives)}};function zf(i,e,t,n,r=(a,s)=>a.field(s)){if(e.selections.length===1)return dp(i,KI(i,e.selections[0],t,n,r));let a=new Zi;for(let s of e.selections)a.add(KI(i,s,t,n,r));return a.toSelectionSet(i,n)}function hne(i,e){let t=i.directive(e.name.value);return Nt(t,()=>`Unknown directive "@${e.name.value}"`),new ee.Directive(t.name,(0,ta.argumentsFromAST)(t.coordinate,e.arguments,t))}function rE(i,e){var t;return(t=e?.map(n=>hne(i,n)))!==null&&t!==void 0?t:[]}function KI(i,e,t,n,r=(a,s)=>a.field(s)){var a,s;let o,u=rE(i.schema(),e.directives);switch(e.kind){case Ze.Kind.FIELD:let p=r(i,e.name.value);Nt(p,()=>`Cannot query field "${e.name.value}" on type "${i}".`,i.sourceAST);let d=(0,ee.baseType)(p.type),l=e.selectionSet?zf(d,e.selectionSet,t,n,r):void 0;o=new ia(new Vn(p,(0,ta.argumentsFromAST)(p.coordinate,e.arguments,p),u,(a=e.alias)===null||a===void 0?void 0:a.value),l);break;case Ze.Kind.INLINE_FRAGMENT:let c=new kn(i,(s=e.typeCondition)===null||s===void 0?void 0:s.name.value,u);o=new gr(c,zf(c.typeCondition?c.typeCondition:c.parentType,e.selectionSet,t,n,r));break;case Ze.Kind.FRAGMENT_SPREAD:let v=e.name.value;Nt(n,()=>`Cannot find fragment name "${v}" (no fragments were provided)`);let y=n.get(v);Nt(y,()=>`Cannot find fragment name "${v}" (provided fragments are: [${n.names().join(", ")}])`),o=new Ui(i,n,y,u);break}return o}function zI(i,e,t){let n,r,a=t?.operationName,s=new Is;e.definitions.forEach(u=>{switch(u.kind){case Ze.Kind.OPERATION_DEFINITION:Nt(!n||a,()=>"Must provide operation name if query contains multiple operations."),(!a||u.name&&u.name.value===a)&&(n=u,r=rE(i,u.directives));break;case Ze.Kind.FRAGMENT_DEFINITION:let p=u.name.value,d=u.typeCondition.name.value,l=i.type(d);if(!l)throw Qf.ERRORS.INVALID_GRAPHQL.err(`Unknown type "${d}" for fragment "${p}"`,{nodes:u});if(!(0,ee.isCompositeType)(l))throw Qf.ERRORS.INVALID_GRAPHQL.err(`Invalid fragment "${p}" on non-composite type "${d}"`,{nodes:u});s.add(new ra(i,p,l,rE(i,u.directives)));break}}),Nt(n,()=>a?`Unknown operation named "${a}"`:"No operation found in provided document.");let o=n.variableDefinitions?(0,ee.variableDefinitionsFromAST)(i,n.variableDefinitions):new ee.VariableDefinitions;return e.definitions.forEach(u=>{switch(u.kind){case Ze.Kind.FRAGMENT_DEFINITION:let p=s.get(u.name.value);p.setSelectionSet(zf(p.typeCondition,u.selectionSet,o,s));break}}),s.validate(o),vne({schema:i,operation:n,operation_directives:r,variableDefinitions:o,fragments:s,validateInput:t?.validate})}fe.operationFromDocument=zI;function vne({schema:i,operation:e,operation_directives:t,variableDefinitions:n,fragments:r,validateInput:a}){var s;let o=i.schemaDefinition.root(e.operation);Nt(o,()=>`The schema has no "${e.operation}" root type defined`);let u=r.isEmpty()?void 0:r;return new _s(i,e.operation,WI({parentType:o.type,source:e.selectionSet,variableDefinitions:n,fragments:u,validate:a}),n,u,(s=e.name)===null||s===void 0?void 0:s.value,t)}function yne(i,e,t){return zI(i,(0,Ze.parse)(e),t)}fe.parseOperation=yne;function WI({parentType:i,source:e,variableDefinitions:t=new ee.VariableDefinitions,fragments:n,fieldAccessor:r,validate:a=!0}){let s=typeof e=="string"?JI(e.trim().startsWith("{")?e:`{${e}}`).selectionSet:e,o=zf(i,s,t??new ee.VariableDefinitions,n,r);return a&&o.validate(t),o}fe.parseSelectionSet=WI;function JI(i){let e=(0,Ze.parse)(i);Nt(e.definitions.length===1,()=>"Selections should contain a single definitions, found "+e.definitions.length);let t=e.definitions[0];return Nt(t.kind===Ze.Kind.OPERATION_DEFINITION,()=>"Expected an operation definition but got a "+t.kind),t}fe.parseOperationAST=JI;function Ene(i){var e;let t={kind:Ze.Kind.OPERATION_DEFINITION,operation:i.rootKind,name:i.name?{kind:Ze.Kind.NAME,value:i.name}:void 0,selectionSet:i.selectionSet.toSelectionSetNode(),variableDefinitions:i.variableDefinitions.toVariableDefinitionNodes(),directives:(0,ee.directivesToDirectiveNodes)(i.appliedDirectives)},n=i.fragments?(e=i.fragments)===null||e===void 0?void 0:e.toFragmentDefinitionNodes():[];return{kind:Ze.Kind.DOCUMENT,definitions:[t].concat(n)}}fe.operationToDocument=Ene;function XI(i,e){for(let t of i.selections())if(e(t)||t.selectionSet&&XI(t.selectionSet,e))return!0;return!1}fe.hasSelectionWithPredicate=XI});var Jf=D(Mn=>{"use strict";h();m();Object.defineProperty(Mn,"__esModule",{value:!0});Mn.TAG_VERSIONS=Mn.TagSpecDefinition=Mn.tagIdentity=void 0;var Ar=ft(),$a=vi(),ZI=bt(),gne=Ji(),Ane=$i(),Tne=Vi(),Dne=pr();Mn.tagIdentity="https://specs.apollo.dev/tag";var lp=class extends $a.FeatureDefinition{constructor(e,t){super(new $a.FeatureUrl(Mn.tagIdentity,"tag",e),t),this.tagLocations=[Ar.DirectiveLocation.FIELD_DEFINITION,Ar.DirectiveLocation.OBJECT,Ar.DirectiveLocation.INTERFACE,Ar.DirectiveLocation.UNION],this.printedTagDefinition="directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION",this.isV01()||(this.tagLocations.push(Ar.DirectiveLocation.ARGUMENT_DEFINITION,Ar.DirectiveLocation.SCALAR,Ar.DirectiveLocation.ENUM,Ar.DirectiveLocation.ENUM_VALUE,Ar.DirectiveLocation.INPUT_OBJECT,Ar.DirectiveLocation.INPUT_FIELD_DEFINITION),this.printedTagDefinition="directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION",this.isV02()||(this.tagLocations.push(Ar.DirectiveLocation.SCHEMA),this.printedTagDefinition="directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION | SCHEMA")),this.tagDirectiveSpec=(0,gne.createDirectiveSpecification)({name:"tag",locations:this.tagLocations,repeatable:!0,args:[{name:"name",type:n=>new ZI.NonNullType(n.stringType())}],composes:!0,supergraphSpecification:n=>Mn.TAG_VERSIONS.getMinimumRequiredVersion(n)}),this.registerDirective(this.tagDirectiveSpec)}isV01(){return this.version.equals(new $a.FeatureVersion(0,1))}isV02(){return this.version.equals(new $a.FeatureVersion(0,2))}checkCompatibleDirective(e){let t=Object.keys(e.arguments()).length>1,n=e.argument("name"),r=n&&(0,Dne.sameType)(n.type,new ZI.NonNullType(e.schema().stringType())),a=e.locations.every(s=>this.tagLocations.includes(s));if(t||!r||!a)return Ane.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Found invalid @tag directive definition. Please ensure the directive definition in your schema's definitions matches the following: ${this.printedTagDefinition}`)}};Mn.TagSpecDefinition=lp;Mn.TAG_VERSIONS=new $a.FeatureDefinitions(Mn.tagIdentity).add(new lp(new $a.FeatureVersion(0,1))).add(new lp(new $a.FeatureVersion(0,2))).add(new lp(new $a.FeatureVersion(0,3),new $a.FeatureVersion(2,0)));(0,Tne.registerKnownFeature)(Mn.TAG_VERSIONS)});var eF=D(Xf=>{"use strict";h();m();Object.defineProperty(Xf,"__esModule",{value:!0});Xf.computeShareables=void 0;var cp=wi();function Sne(i){let e=(0,cp.federationMetadata)(i);(0,cp.assert)(e,"Schema should be a federation subgraph");let t=e.keyDirective(),n=e.providesDirective(),r=e.isFed2Schema()?e.shareableDirective():void 0,a=new Set,s=o=>{for(let u of o.appliedDirectivesOf(t))(0,cp.collectTargetFields)({parentType:o,directive:u,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(p=>a.add(p.coordinate))};for(let o of i.objectTypes()){s(o);let u=r?o.appliedDirectivesOf(r):[];for(let p of o.fields()){(r&&p.hasAppliedDirective(r)||u.length>0&&u.some(l=>p.ofExtension()===l.ofExtension()))&&a.add(p.coordinate);for(let l of p.appliedDirectivesOf(n)){let c=(0,cp.baseType)(p.type);(0,cp.isCompositeType)(c)&&(0,cp.collectTargetFields)({parentType:c,directive:l,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(v=>{e.isFieldExternal(v)&&a.add(v.coordinate)})}}}for(let o of i.interfaceTypes())s(o);return o=>a.has(o.coordinate)}Xf.computeShareables=Sne});var sE=D(Fs=>{"use strict";h();m();Object.defineProperty(Fs,"__esModule",{value:!0});Fs.AUTHENTICATED_VERSIONS=Fs.AuthenticatedSpecDefinition=void 0;var kl=ft(),Ml=vi(),_ne=Ji(),bne=Vi(),Un=class extends Ml.FeatureDefinition{constructor(e,t){super(new Ml.FeatureUrl(Un.identity,Un.directiveName,e),t),this.registerDirective((0,_ne.createDirectiveSpecification)({name:Un.directiveName,locations:[kl.DirectiveLocation.FIELD_DEFINITION,kl.DirectiveLocation.OBJECT,kl.DirectiveLocation.INTERFACE,kl.DirectiveLocation.SCALAR,kl.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>Fs.AUTHENTICATED_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};Fs.AuthenticatedSpecDefinition=Un;Un.directiveName="authenticated";Un.identity=`https://specs.apollo.dev/${Un.directiveName}`;Fs.AUTHENTICATED_VERSIONS=new Ml.FeatureDefinitions(Un.identity).add(new Un(new Ml.FeatureVersion(0,1),new Ml.FeatureVersion(2,5)));(0,bne.registerKnownFeature)(Fs.AUTHENTICATED_VERSIONS)});var Ul=D(em=>{"use strict";h();m();Object.defineProperty(em,"__esModule",{value:!0});em.ARGUMENT_COMPOSITION_STRATEGIES=void 0;var Va=bt(),Ine=pr(),nF=lr();function Zf(i){return(e,t)=>{let n=i(e);return n.some(r=>(0,Ine.sameType)(r,t))?{valid:!0}:{valid:!1,supportedMsg:`type(s) ${n.join(", ")}`}}}function tF(){return(i,e)=>(0,Va.isNonNullType)(e)&&(0,Va.isListType)(e.ofType)?{valid:!0}:{valid:!1,supportedMsg:"non nullable list types of any type"}}function Fne(){return(i,e)=>(0,Va.isListType)(e)||(0,Va.isNonNullType)(e)&&(0,Va.isListType)(e.ofType)?{valid:!0}:{valid:!1,supportedMsg:"list types of any type"}}function oE(i){return e=>{let t=e.filter(n=>n!=null);return t.length>0?i(t):void 0}}function iF(i){return i.reduce((e,t)=>{let n=t.filter(r=>!e.some(a=>(0,nF.valueEquals)(r,a)));return e.concat(n)},[])}em.ARGUMENT_COMPOSITION_STRATEGIES={MAX:{name:"MAX",isTypeSupported:Zf(i=>[new Va.NonNullType(i.intType())]),mergeValues:i=>Math.max(...i)},MIN:{name:"MIN",isTypeSupported:Zf(i=>[new Va.NonNullType(i.intType())]),mergeValues:i=>Math.min(...i)},INTERSECTION:{name:"INTERSECTION",isTypeSupported:tF(),mergeValues:i=>{var e;return(e=i.reduce((t,n)=>t===void 0?n:t.filter(r=>n.some(a=>(0,nF.valueEquals)(r,a))),void 0))!==null&&e!==void 0?e:[]}},UNION:{name:"UNION",isTypeSupported:tF(),mergeValues:iF},NULLABLE_AND:{name:"NULLABLE_AND",isTypeSupported:Zf(i=>[i.booleanType(),new Va.NonNullType(i.booleanType())]),mergeValues:oE(i=>i.every(e=>e))},NULLABLE_MAX:{name:"NULLABLE_MAX",isTypeSupported:Zf(i=>[i.intType(),new Va.NonNullType(i.intType())]),mergeValues:oE(i=>Math.max(...i))},NULLABLE_UNION:{name:"NULLABLE_UNION",isTypeSupported:Fne(),mergeValues:oE(iF)}}});var uE=D(sa=>{"use strict";h();m();Object.defineProperty(sa,"__esModule",{value:!0});sa.REQUIRES_SCOPES_VERSIONS=sa.RequiresScopesSpecDefinition=sa.RequiresScopesTypeName=void 0;var jl=ft(),tm=vi(),ql=bt(),rF=Ji(),Nne=Vi(),Cne=Ul(),aF=Mt(),im;(function(i){i.SCOPE="Scope"})(im||(sa.RequiresScopesTypeName=im={}));var jn=class extends tm.FeatureDefinition{constructor(e){super(new tm.FeatureUrl(jn.identity,jn.directiveName,e)),this.registerType((0,rF.createScalarTypeSpecification)({name:im.SCOPE})),this.registerDirective((0,rF.createDirectiveSpecification)({name:jn.directiveName,args:[{name:"scopes",type:(t,n)=>{(0,aF.assert)(n,"Shouldn't be added without being attached to a @link spec");let r=n.typeNameInSchema(im.SCOPE),a=t.type(r);return(0,aF.assert)(a,()=>`Expected "${r}" to be defined`),new ql.NonNullType(new ql.ListType(new ql.NonNullType(new ql.ListType(new ql.NonNullType(a)))))},compositionStrategy:Cne.ARGUMENT_COMPOSITION_STRATEGIES.UNION}],locations:[jl.DirectiveLocation.FIELD_DEFINITION,jl.DirectiveLocation.OBJECT,jl.DirectiveLocation.INTERFACE,jl.DirectiveLocation.SCALAR,jl.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>sa.REQUIRES_SCOPES_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};sa.RequiresScopesSpecDefinition=jn;jn.directiveName="requiresScopes";jn.identity=`https://specs.apollo.dev/${jn.directiveName}`;sa.REQUIRES_SCOPES_VERSIONS=new tm.FeatureDefinitions(jn.identity).add(new jn(new tm.FeatureVersion(0,1)));(0,Nne.registerKnownFeature)(sa.REQUIRES_SCOPES_VERSIONS)});var pE=D(oa=>{"use strict";h();m();Object.defineProperty(oa,"__esModule",{value:!0});oa.POLICY_VERSIONS=oa.PolicySpecDefinition=oa.PolicyTypeName=void 0;var Gl=ft(),nm=vi(),Kl=bt(),sF=Ji(),One=Vi(),wne=Ul(),oF=Mt(),rm;(function(i){i.POLICY="Policy"})(rm||(oa.PolicyTypeName=rm={}));var qn=class extends nm.FeatureDefinition{constructor(e){super(new nm.FeatureUrl(qn.identity,qn.directiveName,e)),this.registerType((0,sF.createScalarTypeSpecification)({name:rm.POLICY})),this.registerDirective((0,sF.createDirectiveSpecification)({name:qn.directiveName,args:[{name:"policies",type:(t,n)=>{(0,oF.assert)(n,"Shouldn't be added without being attached to a @link spec");let r=n.typeNameInSchema(rm.POLICY),a=t.type(r);return(0,oF.assert)(a,()=>`Expected "${r}" to be defined`),new Kl.NonNullType(new Kl.ListType(new Kl.NonNullType(new Kl.ListType(new Kl.NonNullType(a)))))},compositionStrategy:wne.ARGUMENT_COMPOSITION_STRATEGIES.UNION}],locations:[Gl.DirectiveLocation.FIELD_DEFINITION,Gl.DirectiveLocation.OBJECT,Gl.DirectiveLocation.INTERFACE,Gl.DirectiveLocation.SCALAR,Gl.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>oa.POLICY_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};oa.PolicySpecDefinition=qn;qn.directiveName="policy";qn.identity=`https://specs.apollo.dev/${qn.directiveName}`;oa.POLICY_VERSIONS=new nm.FeatureDefinitions(qn.identity).add(new qn(new nm.FeatureVersion(0,1)));(0,One.registerKnownFeature)(oa.POLICY_VERSIONS)});var fE=D(Gn=>{"use strict";h();m();Object.defineProperty(Gn,"__esModule",{value:!0});Gn.SOURCE_VERSIONS=Gn.SourceSpecDefinition=Gn.sourceIdentity=void 0;var ua=ft(),mp=vi(),Pe=bt(),Rne=Vi(),dE=Ji(),gt=$i();Gn.sourceIdentity="https://specs.apollo.dev/source";var am=class extends mp.FeatureDefinition{constructor(e,t){super(new mp.FeatureUrl(Gn.sourceIdentity,"source",e),t),this.minimumFederationVersion=t,this.registerDirective((0,dE.createDirectiveSpecification)({name:"sourceAPI",locations:[ua.DirectiveLocation.SCHEMA],repeatable:!0,composes:!1})),this.registerDirective((0,dE.createDirectiveSpecification)({name:"sourceType",locations:[ua.DirectiveLocation.OBJECT,ua.DirectiveLocation.INTERFACE],repeatable:!0,composes:!1})),this.registerDirective((0,dE.createDirectiveSpecification)({name:"sourceField",locations:[ua.DirectiveLocation.FIELD_DEFINITION],repeatable:!0,composes:!1}))}addElementsToSchema(e){let t=this.addDirective(e,"sourceAPI").addLocations(ua.DirectiveLocation.SCHEMA);t.repeatable=!0,t.addArgument("name",new Pe.NonNullType(e.stringType()));let n=e.addType(new Pe.InputObjectType("HTTPHeaderMapping"));n.addField(new Pe.InputFieldDefinition("name")).type=new Pe.NonNullType(e.stringType()),n.addField(new Pe.InputFieldDefinition("as")).type=e.stringType(),n.addField(new Pe.InputFieldDefinition("value")).type=e.stringType();let r=e.addType(new Pe.InputObjectType("HTTPSourceAPI"));r.addField(new Pe.InputFieldDefinition("baseURL")).type=new Pe.NonNullType(e.stringType()),r.addField(new Pe.InputFieldDefinition("headers")).type=new Pe.ListType(new Pe.NonNullType(n)),t.addArgument("http",r);let a=this.addDirective(e,"sourceType").addLocations(ua.DirectiveLocation.OBJECT,ua.DirectiveLocation.INTERFACE);a.repeatable=!0,a.addArgument("api",new Pe.NonNullType(e.stringType()));let s=this.addScalarType(e,"URLPathTemplate"),o=this.addScalarType(e,"JSONSelection"),u=e.addType(new Pe.InputObjectType("HTTPSourceType"));u.addField(new Pe.InputFieldDefinition("GET")).type=s,u.addField(new Pe.InputFieldDefinition("POST")).type=s,u.addField(new Pe.InputFieldDefinition("headers")).type=new Pe.ListType(new Pe.NonNullType(n)),u.addField(new Pe.InputFieldDefinition("body")).type=o,a.addArgument("http",u),a.addArgument("selection",new Pe.NonNullType(o));let p=e.addType(new Pe.InputObjectType("KeyTypeMap"));p.addField(new Pe.InputFieldDefinition("key")).type=new Pe.NonNullType(e.stringType()),p.addField(new Pe.InputFieldDefinition("typeMap")).type=this.addScalarType(e,"TypenameKeyMap"),a.addArgument("keyTypeMap",p);let d=this.addDirective(e,"sourceField").addLocations(ua.DirectiveLocation.FIELD_DEFINITION);d.repeatable=!0,d.addArgument("api",new Pe.NonNullType(e.stringType())),d.addArgument("selection",o),d.addArgument("keyTypeMap",p);let l=e.addType(new Pe.InputObjectType("HTTPSourceField"));return l.addField(new Pe.InputFieldDefinition("GET")).type=s,l.addField(new Pe.InputFieldDefinition("POST")).type=s,l.addField(new Pe.InputFieldDefinition("PUT")).type=s,l.addField(new Pe.InputFieldDefinition("PATCH")).type=s,l.addField(new Pe.InputFieldDefinition("DELETE")).type=s,l.addField(new Pe.InputFieldDefinition("body")).type=o,l.addField(new Pe.InputFieldDefinition("headers")).type=new Pe.ListType(new Pe.NonNullType(n)),d.addArgument("http",l),[]}allElementNames(){return["@sourceAPI","@sourceType","@sourceField"]}sourceAPIDirective(e){return this.directive(e,"sourceAPI")}sourceTypeDirective(e){return this.directive(e,"sourceType")}sourceFieldDirective(e){return this.directive(e,"sourceField")}getSourceDirectives(e){let t={};return e.schemaDefinition.appliedDirectivesOf("link").forEach(n=>{let{url:r,import:a}=n.arguments(),s=mp.FeatureUrl.maybeParse(r);a&&s&&s.identity===Gn.sourceIdentity&&a.forEach(o=>{let u=typeof o=="string"?o:o.name,d=(typeof o=="string"?o:o.as||u).replace(/^@/,"");u==="@sourceAPI"?t.sourceAPI=e.directive(d):u==="@sourceType"?t.sourceType=e.directive(d):u==="@sourceField"&&(t.sourceField=e.directive(d))})}),t}validateSubgraphSchema(e){let t=super.validateSubgraphSchema(e),{sourceAPI:n,sourceType:r,sourceField:a}=this.getSourceDirectives(e);if(!(n||r||a))return[];let s=new Map;return n&&this.validateSourceAPI(n,s,t),r&&this.validateSourceType(r,s,t),a&&this.validateSourceField(a,s,t),t}validateSourceAPI(e,t,n){e.applications().forEach(r=>{let{name:a,...s}=r.arguments();Bne(a)||n.push(gt.ERRORS.SOURCE_API_NAME_INVALID.err(`${e}(name: ${JSON.stringify(a)}) must specify name using only [a-zA-Z0-9-_] characters`,{nodes:r.sourceAST})),t.has(a)&&n.push(gt.ERRORS.SOURCE_API_NAME_INVALID.err(`${e} must specify unique name (${JSON.stringify(a)} reused)`,{nodes:r.sourceAST}));let o;if(cE.forEach(u=>{s[u]&&(o&&n.push(gt.ERRORS.SOURCE_API_PROTOCOL_INVALID.err(`${e} must specify only one of ${cE.join(", ")} but specified both ${o} and ${u}`,{nodes:r.sourceAST})),o=u)}),o){t.set(a,o);let u=s[o];if(u&&o===fp){let{baseURL:p,headers:d}=u;try{new URL(p)}catch(l){n.push(gt.ERRORS.SOURCE_API_HTTP_BASE_URL_INVALID.err(`${e} http.baseURL ${JSON.stringify(p)} must be valid URL (error: ${l.message})`,{nodes:r.sourceAST}))}lE(d,n,e.name)}}else n.push(gt.ERRORS.SOURCE_API_PROTOCOL_INVALID.err(`${e} must specify one protocol from the set {${cE.join(",")}}`,{nodes:r.sourceAST}))})}validateSourceType(e,t,n){e.applications().forEach(r=>{var a;let{api:s,selection:o,...u}=r.arguments();(!s||!t.has(s))&&n.push(gt.ERRORS.SOURCE_TYPE_API_ERROR.err(`${e} specifies unknown api ${s}`,{nodes:r.sourceAST}));let p=t.get(s)||fp,d=p&&u[p];if(p&&!d&&n.push(gt.ERRORS.SOURCE_TYPE_PROTOCOL_INVALID.err(`${e} must specify same ${p} argument as corresponding @sourceAPI for api ${s}`,{nodes:r.sourceAST})),d&&p===fp){let{GET:c,POST:v,headers:y,body:g}=d;if([c,v].filter(Boolean).length!==1)n.push(gt.ERRORS.SOURCE_TYPE_HTTP_METHOD_INVALID.err(`${e} must specify exactly one of http.GET or http.POST`,{nodes:r.sourceAST}));else{let T=c||v;try{}catch(S){n.push(gt.ERRORS.SOURCE_TYPE_HTTP_PATH_INVALID.err(`${e} http.GET or http.POST must be valid URL path template (error: ${S.message})`))}}if(lE(y,n,e.name),g){c&&n.push(gt.ERRORS.SOURCE_TYPE_HTTP_BODY_INVALID.err(`${e} http.GET cannot specify http.body`,{nodes:r.sourceAST}));try{}catch(T){n.push(gt.ERRORS.SOURCE_TYPE_HTTP_BODY_INVALID.err(`${e} http.body not valid JSONSelection (error: ${T.message})`,{nodes:r.sourceAST}))}}}let l=r.parent.sourceAST;switch(l?.kind){case"ObjectTypeDefinition":case"InterfaceTypeDefinition":!((a=l.directives)===null||a===void 0)&&a.some(c=>c.name.value==="key")||n.push(gt.ERRORS.SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY.err(`${e} must be applied to an entity type that also has a @key directive`,{nodes:r.sourceAST}));try{}catch(c){n.push(gt.ERRORS.SOURCE_TYPE_SELECTION_INVALID.err(`${e} selection not valid JSONSelection (error: ${c.message})`,{nodes:r.sourceAST}))}break;default:n.push(gt.ERRORS.SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY.err(`${e} must be applied to object or interface type`,{nodes:r.sourceAST}))}})}validateSourceField(e,t,n){e.applications().forEach(r=>{var a,s,o;let{api:u,selection:p,...d}=r.arguments();(!u||!t.has(u))&&n.push(gt.ERRORS.SOURCE_FIELD_API_ERROR.err(`${e} specifies unknown api ${u}`,{nodes:r.sourceAST}));let l=t.get(u)||fp,c=l&&d[l];if(c&&l===fp){let{GET:y,POST:g,PUT:T,PATCH:S,DELETE:N,headers:F,body:R}=c,P=[y,g,T,S,N].filter(Boolean);if(P.length>1)n.push(gt.ERRORS.SOURCE_FIELD_HTTP_METHOD_INVALID.err(`${e} allows at most one of http.{GET,POST,PUT,PATCH,DELETE}`));else if(P.length===1){let K=P[0];try{}catch(W){n.push(gt.ERRORS.SOURCE_FIELD_HTTP_PATH_INVALID.err(`${e} http.{GET,POST,PUT,PATCH,DELETE} must be valid URL path template (error: ${W.message})`))}}if(lE(F,n,e.name),R){y?n.push(gt.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.GET cannot specify http.body`,{nodes:r.sourceAST})):N&&n.push(gt.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.DELETE cannot specify http.body`,{nodes:r.sourceAST}));try{}catch(K){n.push(gt.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.body not valid JSONSelection (error: ${K.message})`,{nodes:r.sourceAST}))}}}if(p)try{}catch(y){n.push(gt.ERRORS.SOURCE_FIELD_SELECTION_INVALID.err(`${e} selection not valid JSONSelection (error: ${y.message})`,{nodes:r.sourceAST}))}let v=r.parent;if(((a=v.sourceAST)===null||a===void 0?void 0:a.kind)!==ua.Kind.FIELD_DEFINITION)n.push(gt.ERRORS.SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD.err(`${e} must be applied to field`,{nodes:r.sourceAST}));else{let y=v.parent;if(((s=y.sourceAST)===null||s===void 0?void 0:s.kind)!==ua.Kind.OBJECT_TYPE_DEFINITION)n.push(gt.ERRORS.SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD.err(`${e} must be applied to field of object type`,{nodes:r.sourceAST}));else{let g=(o=y.sourceAST)===null||o===void 0?void 0:o.name.value;g!=="Query"&&g!=="Mutation"&&y.appliedDirectivesOf("key").length===0&&n.push(gt.ERRORS.SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD.err(`${e} must be applied to root Query or Mutation field or field of entity type`,{nodes:r.sourceAST}))}}})}};Gn.SourceSpecDefinition=am;function Bne(i){return/^[a-z-_][a-z0-9-_]*$/i.test(i)}function uF(i){return/^[a-zA-Z0-9-_]+$/.test(i)}function lE(i,e,t){t.startsWith("@")||(t="@"+t),i&&i.forEach(({name:n,as:r,value:a},s)=>{uF(n)||e.push(gt.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(i[s])} specifies invalid name`)),r&&!uF(r)&&e.push(gt.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(i[s])} specifies invalid 'as' name`)),r&&a&&e.push(gt.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(i[s])} should specify at most one of 'as' or 'value'`))})}var fp="http",cE=[fp];Gn.SOURCE_VERSIONS=new mp.FeatureDefinitions(Gn.sourceIdentity).add(new am(new mp.FeatureVersion(0,1),new mp.FeatureVersion(2,7)));(0,Rne.registerKnownFeature)(Gn.SOURCE_VERSIONS)});var pm=D(pa=>{"use strict";h();m();Object.defineProperty(pa,"__esModule",{value:!0});pa.CONTEXT_VERSIONS=pa.ContextSpecDefinition=pa.ContextDirectiveName=void 0;var sm=ft(),om=vi(),pF=bt(),mE=Ji(),Lne=Vi(),hE=Mt(),um;(function(i){i.CONTEXT="context",i.FROM_CONTEXT="fromContext"})(um||(pa.ContextDirectiveName=um={}));var dF="ContextFieldValue",Kn=class extends om.FeatureDefinition{constructor(e){super(new om.FeatureUrl(Kn.identity,Kn.directiveName,e)),this.registerType((0,mE.createScalarTypeSpecification)({name:dF})),this.contextDirectiveSpec=(0,mE.createDirectiveSpecification)({name:um.CONTEXT,locations:[sm.DirectiveLocation.INTERFACE,sm.DirectiveLocation.OBJECT,sm.DirectiveLocation.UNION],args:[{name:"name",type:t=>new pF.NonNullType(t.stringType())}],composes:!0,repeatable:!0,supergraphSpecification:t=>pa.CONTEXT_VERSIONS.getMinimumRequiredVersion(t),staticArgumentTransform:(t,n)=>({name:`${t.name}__${n.name}`})}),this.fromContextDirectiveSpec=(0,mE.createDirectiveSpecification)({name:um.FROM_CONTEXT,locations:[sm.DirectiveLocation.ARGUMENT_DEFINITION],args:[{name:"field",type:(t,n)=>{(0,hE.assert)(n,"Shouldn't be added without being attached to a @link spec");let r=n.typeNameInSchema(dF),a=t.type(r);return(0,hE.assert)(a,()=>`Expected "${r}" to be defined`),(0,hE.assert)((0,pF.isInputType)(a),`Expected "${r}" to be an input type`),a}}],composes:!1}),this.registerDirective(this.contextDirectiveSpec),this.registerDirective(this.fromContextDirectiveSpec)}get defaultCorePurpose(){return"SECURITY"}contextDirective(e){return this.directive(e,Kn.directiveName)}};pa.ContextSpecDefinition=Kn;Kn.directiveName="context";Kn.identity=`https://specs.apollo.dev/${Kn.directiveName}`;pa.CONTEXT_VERSIONS=new om.FeatureDefinitions(Kn.identity).add(new Kn(new om.FeatureVersion(0,1)));(0,Lne.registerKnownFeature)(pa.CONTEXT_VERSIONS)});var zl=D(ln=>{"use strict";h();m();Object.defineProperty(ln,"__esModule",{value:!0});ln.COST_VERSIONS=ln.CostSpecDefinition=ln.costIdentity=void 0;var zo=ft(),lF=Ji(),Yl=vi(),Ql=bt(),xne=Vi(),Hl=Ul();ln.costIdentity="https://specs.apollo.dev/cost";var dm=class extends Yl.FeatureDefinition{constructor(e,t){super(new Yl.FeatureUrl(ln.costIdentity,"cost",e),t),this.minimumFederationVersion=t,this.registerDirective((0,lF.createDirectiveSpecification)({name:"cost",locations:[zo.DirectiveLocation.ARGUMENT_DEFINITION,zo.DirectiveLocation.ENUM,zo.DirectiveLocation.FIELD_DEFINITION,zo.DirectiveLocation.INPUT_FIELD_DEFINITION,zo.DirectiveLocation.OBJECT,zo.DirectiveLocation.SCALAR],args:[{name:"weight",type:n=>new Ql.NonNullType(n.intType()),compositionStrategy:Hl.ARGUMENT_COMPOSITION_STRATEGIES.MAX}],composes:!0,repeatable:!1,supergraphSpecification:n=>ln.COST_VERSIONS.getMinimumRequiredVersion(n)})),this.registerDirective((0,lF.createDirectiveSpecification)({name:"listSize",locations:[zo.DirectiveLocation.FIELD_DEFINITION],args:[{name:"assumedSize",type:n=>n.intType(),compositionStrategy:Hl.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_MAX},{name:"slicingArguments",type:n=>new Ql.ListType(new Ql.NonNullType(n.stringType())),compositionStrategy:Hl.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_UNION},{name:"sizedFields",type:n=>new Ql.ListType(new Ql.NonNullType(n.stringType())),compositionStrategy:Hl.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_UNION},{name:"requireOneSlicingArgument",type:n=>n.booleanType(),defaultValue:!0,compositionStrategy:Hl.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_AND}],composes:!0,repeatable:!1,supergraphSpecification:n=>ln.COST_VERSIONS.getMinimumRequiredVersion(n)}))}costDirective(e){return this.directive(e,"cost")}listSizeDirective(e){return this.directive(e,"listSize")}};ln.CostSpecDefinition=dm;ln.COST_VERSIONS=new Yl.FeatureDefinitions(ln.costIdentity).add(new dm(new Yl.FeatureVersion(0,1),new Yl.FeatureVersion(2,9)));(0,xne.registerKnownFeature)(ln.COST_VERSIONS)});var lm=D(ei=>{"use strict";h();m();Object.defineProperty(ei,"__esModule",{value:!0});ei.FEDERATION_VERSIONS=ei.FederationSpecDefinition=ei.FEDERATION1_DIRECTIVES=ei.FEDERATION1_TYPES=ei.FederationDirectiveName=ei.FederationTypeName=ei.federationIdentity=void 0;var vE=bt(),et=vi(),Tr=Ji(),en=ft(),Pne=Mt(),cF=Jf(),$ne=Yo(),Vne=Vi(),kne=hf(),Mne=sE(),Une=uE(),jne=pE(),qne=fE(),Gne=pm(),Kne=zl();ei.federationIdentity="https://specs.apollo.dev/federation";var yE;(function(i){i.FIELD_SET="FieldSet",i.CONTEXT_FIELD_VALUE="ContextFieldValue"})(yE||(ei.FederationTypeName=yE={}));var Qn;(function(i){i.KEY="key",i.EXTERNAL="external",i.REQUIRES="requires",i.PROVIDES="provides",i.EXTENDS="extends",i.SHAREABLE="shareable",i.OVERRIDE="override",i.TAG="tag",i.INACCESSIBLE="inaccessible",i.COMPOSE_DIRECTIVE="composeDirective",i.INTERFACE_OBJECT="interfaceObject",i.AUTHENTICATED="authenticated",i.REQUIRES_SCOPES="requiresScopes",i.POLICY="policy",i.SOURCE_API="sourceAPI",i.SOURCE_TYPE="sourceType",i.SOURCE_FIELD="sourceField",i.CONTEXT="context",i.FROM_CONTEXT="fromContext",i.COST="cost",i.LIST_SIZE="listSize"})(Qn||(ei.FederationDirectiveName=Qn={}));var Qne=(0,Tr.createScalarTypeSpecification)({name:yE.FIELD_SET}),EE={name:"fields",type:i=>Xne(i)},Hne=(0,Tr.createDirectiveSpecification)({name:Qn.KEY,locations:[en.DirectiveLocation.OBJECT,en.DirectiveLocation.INTERFACE],repeatable:!0,args:[EE,{name:"resolvable",type:i=>i.booleanType(),defaultValue:!0}]}),Yne=(0,Tr.createDirectiveSpecification)({name:Qn.EXTENDS,locations:[en.DirectiveLocation.OBJECT,en.DirectiveLocation.INTERFACE]}),zne=(0,Tr.createDirectiveSpecification)({name:Qn.EXTERNAL,locations:[en.DirectiveLocation.OBJECT,en.DirectiveLocation.FIELD_DEFINITION],args:[{name:"reason",type:i=>i.stringType()}]}),Wne=(0,Tr.createDirectiveSpecification)({name:Qn.REQUIRES,locations:[en.DirectiveLocation.FIELD_DEFINITION],args:[EE]}),Jne=(0,Tr.createDirectiveSpecification)({name:Qn.PROVIDES,locations:[en.DirectiveLocation.FIELD_DEFINITION],args:[EE]}),fF=[Qne],mF=[Hne,Wne,Jne,zne,cF.TAG_VERSIONS.find(new et.FeatureVersion(0,2)).tagDirectiveSpec,Yne];ei.FEDERATION1_TYPES=fF;ei.FEDERATION1_DIRECTIVES=mF;function Xne(i){let e=(0,$ne.federationMetadata)(i);return(0,Pne.assert)(e,"The schema is not a federation subgraph"),new vE.NonNullType(e.fieldSetType())}var cn=class extends et.FeatureDefinition{constructor(e){super(new et.FeatureUrl(ei.federationIdentity,"federation",e));for(let t of fF)this.registerType(t);for(let t of mF)this.registerDirective(t);this.registerDirective((0,Tr.createDirectiveSpecification)({name:Qn.SHAREABLE,locations:[en.DirectiveLocation.OBJECT,en.DirectiveLocation.FIELD_DEFINITION],repeatable:e.gte(new et.FeatureVersion(2,2))})),this.registerSubFeature(kne.INACCESSIBLE_VERSIONS.getMinimumRequiredVersion(e)),e>=new et.FeatureVersion(2,7)?this.registerDirective((0,Tr.createDirectiveSpecification)({name:Qn.OVERRIDE,locations:[en.DirectiveLocation.FIELD_DEFINITION],args:[{name:"from",type:t=>new vE.NonNullType(t.stringType())},{name:"label",type:t=>t.stringType()}]})):this.registerDirective((0,Tr.createDirectiveSpecification)({name:Qn.OVERRIDE,locations:[en.DirectiveLocation.FIELD_DEFINITION],args:[{name:"from",type:t=>new vE.NonNullType(t.stringType())}]})),e.gte(new et.FeatureVersion(2,1))&&this.registerDirective((0,Tr.createDirectiveSpecification)({name:Qn.COMPOSE_DIRECTIVE,locations:[en.DirectiveLocation.SCHEMA],repeatable:!0,args:[{name:"name",type:t=>t.stringType()}]})),e.gte(new et.FeatureVersion(2,3))&&(this.registerDirective((0,Tr.createDirectiveSpecification)({name:Qn.INTERFACE_OBJECT,locations:[en.DirectiveLocation.OBJECT]})),this.registerSubFeature(cF.TAG_VERSIONS.find(new et.FeatureVersion(0,3)))),e.gte(new et.FeatureVersion(2,5))&&(this.registerSubFeature(Mne.AUTHENTICATED_VERSIONS.find(new et.FeatureVersion(0,1))),this.registerSubFeature(Une.REQUIRES_SCOPES_VERSIONS.find(new et.FeatureVersion(0,1)))),e.gte(new et.FeatureVersion(2,6))&&this.registerSubFeature(jne.POLICY_VERSIONS.find(new et.FeatureVersion(0,1))),e.gte(new et.FeatureVersion(2,7))&&this.registerSubFeature(qne.SOURCE_VERSIONS.find(new et.FeatureVersion(0,1))),e.gte(new et.FeatureVersion(2,8))&&this.registerSubFeature(Gne.CONTEXT_VERSIONS.find(new et.FeatureVersion(0,1))),e.gte(new et.FeatureVersion(2,9))&&this.registerSubFeature(Kne.COST_VERSIONS.find(new et.FeatureVersion(0,1)))}};ei.FederationSpecDefinition=cn;ei.FEDERATION_VERSIONS=new et.FeatureDefinitions(ei.federationIdentity).add(new cn(new et.FeatureVersion(2,0))).add(new cn(new et.FeatureVersion(2,1))).add(new cn(new et.FeatureVersion(2,2))).add(new cn(new et.FeatureVersion(2,3))).add(new cn(new et.FeatureVersion(2,4))).add(new cn(new et.FeatureVersion(2,5))).add(new cn(new et.FeatureVersion(2,6))).add(new cn(new et.FeatureVersion(2,7))).add(new cn(new et.FeatureVersion(2,8))).add(new cn(new et.FeatureVersion(2,9)));(0,Vne.registerKnownFeature)(ei.FEDERATION_VERSIONS)});var cm=D(Dr=>{"use strict";h();m();Object.defineProperty(Dr,"__esModule",{value:!0});Dr.JOIN_VERSIONS=Dr.JoinSpecDefinition=Dr.joinIdentity=void 0;var di=ft(),gi=vi(),Ct=bt(),Zne=Vi(),ere=Mt();Dr.joinIdentity="https://specs.apollo.dev/join";function tre(i){let e=i.replace(/[\W]/g,"_"),t=e.match(/^\d/)?"_"+e:e;return(t.match(/_\d+$/)?t+"_":t).toLocaleUpperCase()}var Ns=class extends gi.FeatureDefinition{constructor(e,t){super(new gi.FeatureUrl(Dr.joinIdentity,"join",e),t)}isV01(){return this.version.equals(new gi.FeatureVersion(0,1))}addElementsToSchema(e){let t=this.addDirective(e,"graph").addLocations(di.DirectiveLocation.ENUM_VALUE);t.addArgument("name",new Ct.NonNullType(e.stringType())),t.addArgument("url",new Ct.NonNullType(e.stringType()));let n=this.addEnumType(e,"Graph"),r=this.addScalarType(e,"FieldSet"),a=this.addDirective(e,"type").addLocations(di.DirectiveLocation.OBJECT,di.DirectiveLocation.INTERFACE,di.DirectiveLocation.UNION,di.DirectiveLocation.ENUM,di.DirectiveLocation.INPUT_OBJECT,di.DirectiveLocation.SCALAR);this.isV01()||(a.repeatable=!0),a.addArgument("graph",new Ct.NonNullType(n)),a.addArgument("key",r),this.isV01()||(a.addArgument("extension",new Ct.NonNullType(e.booleanType()),!1),a.addArgument("resolvable",new Ct.NonNullType(e.booleanType()),!0),this.version.gte(new gi.FeatureVersion(0,3))&&a.addArgument("isInterfaceObject",new Ct.NonNullType(e.booleanType()),!1));let s=this.addDirective(e,"field").addLocations(di.DirectiveLocation.FIELD_DEFINITION,di.DirectiveLocation.INPUT_FIELD_DEFINITION);s.repeatable=!0;let o=this.version.gte(new gi.FeatureVersion(0,3))?n:new Ct.NonNullType(n);if(s.addArgument("graph",o),s.addArgument("requires",r),s.addArgument("provides",r),this.isV01()||(s.addArgument("type",e.stringType()),s.addArgument("external",e.booleanType()),s.addArgument("override",e.stringType()),s.addArgument("usedOverridden",e.booleanType())),!this.isV01()){let u=this.addDirective(e,"implements").addLocations(di.DirectiveLocation.OBJECT,di.DirectiveLocation.INTERFACE);u.repeatable=!0,u.addArgument("graph",new Ct.NonNullType(n)),u.addArgument("interface",new Ct.NonNullType(e.stringType()))}if(this.version.gte(new gi.FeatureVersion(0,3))){let u=this.addDirective(e,"unionMember").addLocations(di.DirectiveLocation.UNION);u.repeatable=!0,u.addArgument("graph",new Ct.NonNullType(n)),u.addArgument("member",new Ct.NonNullType(e.stringType()));let p=this.addDirective(e,"enumValue").addLocations(di.DirectiveLocation.ENUM_VALUE);p.repeatable=!0,p.addArgument("graph",new Ct.NonNullType(n))}if(this.version.gte(new gi.FeatureVersion(0,4))){let u=this.addDirective(e,"directive").addLocations(di.DirectiveLocation.SCHEMA,di.DirectiveLocation.OBJECT,di.DirectiveLocation.INTERFACE,di.DirectiveLocation.FIELD_DEFINITION);u.repeatable=!0,u.addArgument("graphs",new Ct.ListType(new Ct.NonNullType(n))),u.addArgument("name",new Ct.NonNullType(e.stringType())),u.addArgument("args",this.addScalarType(e,"DirectiveArguments")),s.addArgument("overrideLabel",e.stringType())}if(this.version.gte(new gi.FeatureVersion(0,5))){let u=this.addScalarType(e,"FieldValue"),p=e.addType(new Ct.InputObjectType("join__ContextArgument"));p.addField("name",new Ct.NonNullType(e.stringType())),p.addField("type",new Ct.NonNullType(e.stringType())),p.addField("context",new Ct.NonNullType(e.stringType())),p.addField("selection",new Ct.NonNullType(u)),s.addArgument("contextArguments",new Ct.ListType(new Ct.NonNullType(p)))}return this.isV01()&&this.addDirective(e,"owner").addLocations(di.DirectiveLocation.OBJECT).addArgument("graph",new Ct.NonNullType(n)),[]}allElementNames(){let e=["graph","Graph","FieldSet","@type","@field"];return this.isV01()?e.push("@owner"):e.push("@implements"),e}populateGraphEnum(e,t){let n=new ere.MultiMap;for(let o of t){let u=tre(o.name);n.add(u,o)}let r=new Map;for(let[o,u]of n)if(u.length===1)r.set(u[0].name,o);else for(let[p,d]of u.entries())r.set(d.name,`${o}_${p+1}`);let a=this.graphEnum(e),s=this.graphDirective(e);for(let o of t)a.addValue(r.get(o.name)).applyDirective(s,{name:o.name,url:o.url});return r}fieldSetScalar(e){return this.type(e,"FieldSet")}graphEnum(e){return this.type(e,"Graph")}graphDirective(e){return this.directive(e,"graph")}directiveDirective(e){return this.directive(e,"directive")}typeDirective(e){return this.directive(e,"type")}implementsDirective(e){return this.directive(e,"implements")}fieldDirective(e){return this.directive(e,"field")}unionMemberDirective(e){return this.directive(e,"unionMember")}enumValueDirective(e){return this.directive(e,"enumValue")}ownerDirective(e){return this.directive(e,"owner")}get defaultCorePurpose(){return"EXECUTION"}};Dr.JoinSpecDefinition=Ns;Dr.JOIN_VERSIONS=new gi.FeatureDefinitions(Dr.joinIdentity).add(new Ns(new gi.FeatureVersion(0,1))).add(new Ns(new gi.FeatureVersion(0,2))).add(new Ns(new gi.FeatureVersion(0,3),new gi.FeatureVersion(2,0))).add(new Ns(new gi.FeatureVersion(0,4),new gi.FeatureVersion(2,7))).add(new Ns(new gi.FeatureVersion(0,5),new gi.FeatureVersion(2,8)));(0,Zne.registerKnownFeature)(Dr.JOIN_VERSIONS)});var Yo=D(q=>{"use strict";h();m();Object.defineProperty(q,"__esModule",{value:!0});q.removeInactiveProvidesAndRequires=q.addSubgraphToError=q.addSubgraphToASTNode=q.Subgraph=q.FEDERATION_OPERATION_FIELDS=q.entitiesFieldName=q.serviceFieldName=q.FEDERATION_OPERATION_TYPES=q.entityTypeSpec=q.serviceTypeSpec=q.anyTypeSpec=q.Subgraphs=q.subgraphsFromServiceList=q.collectTargetFields=q.parseFieldSetArgument=q.newEmptyFederation2Schema=q.buildSubgraph=q.isInterfaceObjectType=q.isEntityType=q.isFederationField=q.isFederationSubgraphSchema=q.federationMetadata=q.printSubgraphNames=q.asFed2SubgraphDocument=q.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS_UPGRADED=q.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS=q.FEDERATION2_LINK_WITH_FULL_IMPORTS=q.setSchemaAsFed2Subgraph=q.FederationBlueprint=q.hasAppliedDirective=q.isFederationDirectiveDefinedInSchema=q.FederationMetadata=q.collectUsedFields=q.parseContext=q.FEDERATION_UNNAMED_SUBGRAPH_NAME=q.FEDERATION_RESERVED_SUBGRAPH_NAME=void 0;var M=bt(),Ge=Mt(),ire=Ud(),We=ft(),nre=SI(),hF=Ll(),yp=Wf(),rre=Jf(),te=$i(),are=eF(),ji=vi(),be=lm(),vF=yl(),FE=Ji(),yF=Do(),bF=Vi(),sre=cm(),EF=zl(),da=ji.LINK_VERSIONS.latest(),ore=rre.TAG_VERSIONS.latest(),IF=i=>{if(!i)return be.FEDERATION_VERSIONS.latest();let e=be.FEDERATION_VERSIONS.find(i);return(0,Ge.assert)(e,`Federation spec version ${i} is not known`),e},TE=IF(new ji.FeatureVersion(2,4)),hp=IF();q.FEDERATION_RESERVED_SUBGRAPH_NAME="_";q.FEDERATION_UNNAMED_SUBGRAPH_NAME="";var ure=[We.PossibleTypeExtensionsRule,We.KnownTypeNamesRule],pre=[nre.KnownTypeNamesInFederationRule],dre=ire.specifiedSDLRules.filter(i=>!ure.includes(i)).concat(pre),gF=Object.values(be.FederationDirectiveName),lre=new M.CoreFeature(new ji.FeatureUrl("","fed1",new ji.FeatureVersion(0,1)),"fed1",new M.Directive("fed1"),be.FEDERATION1_TYPES.map(i=>({name:i.name,as:"_"+i.name})));function DE({directiveName:i,selectionSet:e,hasExternalInParents:t,metadata:n,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:s}){for(let o of e.selections()){let u=o.element.appliedDirectives;if(u.length>0&&r(te.ERROR_CATEGORIES.DIRECTIVE_IN_FIELDS_ARG.get(i).err(`cannot have directive applications in the @${i}(fields:) argument but found ${u.join(", ")}.`)),o.kind==="FieldSelection"){let p=o.element.definition,d=n.isFieldExternal(p);!s&&p.hasArguments()&&r(te.ERROR_CATEGORIES.FIELDS_HAS_ARGS.get(i).err(`field ${p.coordinate} cannot be included because it has arguments (fields with argument are not allowed in @${i})`,{nodes:p.sourceAST}));let l=!o.selectionSet&&!a&&!t;if(!d&&l){let c=te.ERROR_CATEGORIES.DIRECTIVE_FIELDS_MISSING_EXTERNAL.get(i);n.isFieldFakeExternal(p)?r(c.err(`field "${p.coordinate}" should not be part of a @${i} since it is already "effectively" provided by this subgraph (while it is marked @${be.FederationDirectiveName.EXTERNAL}, it is a @${be.FederationDirectiveName.KEY} field of an extension type, which are not internally considered external for historical/backward compatibility reasons)`,{nodes:p.sourceAST})):r(c.err(`field "${p.coordinate}" should not be part of a @${i} since it is already provided by this subgraph (it is not marked @${be.FederationDirectiveName.EXTERNAL})`,{nodes:p.sourceAST}))}if(o.selectionSet){let c=t||d,v=p.parent;if(!c&&(0,M.isInterfaceType)(v))for(let y of v.possibleRuntimeTypes()){let g=y.field(p.name);if(g&&n.isFieldExternal(g)){c=!0;break}}DE({directiveName:i,selectionSet:o.selectionSet,hasExternalInParents:c,metadata:n,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:s})}}else DE({directiveName:i,selectionSet:o.selectionSet,hasExternalInParents:t,metadata:n,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:s})}}function cre({type:i,directive:e,metadata:t,errorCollector:n,allowOnNonExternalLeafFields:r,allowFieldsWithArguments:a,onFields:s}){try{let u=vp({parentType:i,directive:e,fieldAccessor:s?(p,d)=>{let l=p.field(d);return l&&s(l),l}:void 0});DE({directiveName:e.name,selectionSet:u,hasExternalInParents:!1,metadata:t,onError:p=>n.push(FF(e,p)),allowOnNonExternalLeafFields:r,allowFieldsWithArguments:a})}catch(o){if(o instanceof We.GraphQLError)n.push(o);else throw o}}function FF(i,e,t){let n=(0,M.sourceASTs)(i);e.nodes&&n.push(...e.nodes);let r=(0,te.errorCodeDef)(e);(!r||r===te.ERRORS.INVALID_GRAPHQL)&&(r=te.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS.get(i.name));let a=e.message.trim();return t&&(a=t(a)),r.err(`${fre(i)}: ${a}`,{nodes:n,originalError:e})}function fre(i){return`On ${NF(i)}, for ${mre(i)}`}function mre(i){return i.sourceAST?(0,We.print)(i.sourceAST):i.toString()}function NF(i){var e;return`${i.parent instanceof M.FieldDefinition?"field":"type"} "${(e=i.parent)===null||e===void 0?void 0:e.coordinate}"`}function NE(i){let e=/^(?:[\n\r\t ,]|#[^\n\r]*(?![^\n\r]))*\$(?:[\n\r\t ,]|#[^\n\r]*(?![^\n\r]))*([A-Za-z_]\w*(?!\w))([\s\S]*)$/,t=i.match(e);if(!t)return{context:void 0,selection:void 0};let[,n,r]=t;return{context:n,selection:r}}q.parseContext=NE;var AF=({originalType:i,resolvedType:e})=>{let t=[],n=i;for(;n.kind==="NonNullType"||n.kind==="ListType";)t.push(n.kind),n=n.ofType;let r=e;for(;t.length>0;)t.pop()==="ListType"&&(r=new M.ListType(r));return r},SE=({currentType:i,selectionSet:e,errorCollector:t,metadata:n,fromContextParent:r})=>{let a=e.selections(),s=n.interfaceObjectDirective();return i.kind==="ObjectType"&&Ai(s)&&i.appliedDirectivesOf(s).length>0&&t.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "is used in "${r.coordinate}" but the selection is invalid: One of the types in the selection is an interfaceObject: "${i.name}"`,{nodes:(0,M.sourceASTs)(r)})),a.map(u=>{if(u.kind!=="FieldSelection")return{resolvedType:void 0};let{element:p,selectionSet:d}=u;(0,Ge.assert)(p.definition.type,"Element type definition should exist");let l=p.definition.type;if(d){(0,Ge.assert)((0,M.isCompositeType)((0,M.baseType)(l)),"Child selection sets should only exist on composite types");let{resolvedType:c}=SE({currentType:(0,M.baseType)(l),selectionSet:d,errorCollector:t,metadata:n,fromContextParent:r});return c?{resolvedType:AF({originalType:l,resolvedType:c})}:{resolvedType:void 0}}return(0,Ge.assert)((0,M.isLeafType)((0,M.baseType)(l)),"Expected a leaf type"),{resolvedType:AF({originalType:l,resolvedType:(0,M.baseType)(l)})}}).reduce((u,{resolvedType:p})=>{var d;return((d=u.resolvedType)===null||d===void 0?void 0:d.toString())===p?.toString()?{resolvedType:p}:{resolvedType:void 0}})},hre=({context:i,selection:e,fromContextParent:t,errorCollector:n})=>{try{let a=(0,yp.parseOperationAST)(e.trim().startsWith("{")?e:`{${e}}`).selectionSet.selections;if(a.length===0)return n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: no selection is made`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"};let s=a[0].kind;if(s==="Field")return a.length!==1?(n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: multiple selections are made`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"}):{selectionType:"field"};if(s==="InlineFragment"){let o=new Set;return a.every(u=>u.kind==="InlineFragment")?(a.forEach(u=>{(0,Ge.assert)(u.kind==="InlineFragment","Expected an inline fragment");let{typeCondition:p}=u;p&&o.add(p.name.value)}),o.size!==a.length?(n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: type conditions have same name`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"}):{selectionType:"inlineFragment",typeConditions:o}):(n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: multiple fields could be selected`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"})}else{if(s==="FragmentSpread")return n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: fragment spread is not allowed`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"};(0,Ge.assertUnreachable)(s)}}catch(r){return n.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: ${r.message}`,{nodes:(0,M.sourceASTs)(t)})),{selectionType:"error"}}};function Wl(i,e){return(0,M.isNonNullType)(i)?(0,M.isNonNullType)(e)?Wl(i.ofType,e.ofType):Wl(i.ofType,e):(0,M.isListType)(i)&&(0,M.isListType)(e)?Wl(i.ofType,e.ofType):!(0,M.isWrapperType)(i)&&!(0,M.isWrapperType)(e)&&i.name===e.name}function vre(i){return(0,yp.hasSelectionWithPredicate)(i,e=>{if(e.kind==="FieldSelection")return e.element.appliedDirectives.length>0;if(e.kind==="FragmentSelection")return e.element.appliedDirectives.length>0;(0,Ge.assertUnreachable)(e)})}function yre(i){return(0,yp.hasSelectionWithPredicate)(i,e=>e.kind==="FieldSelection"?e.element.alias!==void 0:!1)}function Ere({context:i,selection:e,fromContextParent:t,setContextLocations:n,errorCollector:r,metadata:a}){let s=t.type;(0,Ge.assert)(s,"Expected a type");let o=hre({context:i,selection:e,fromContextParent:t,errorCollector:r}),u=o.selectionType;if(u==="error")return;let p=new Set;for(let d of n){let l;try{l=(0,yp.parseSelectionSet)({parentType:d,source:e})}catch(c){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid for type ${d.name}. Error: ${c.message}`,{nodes:(0,M.sourceASTs)(t)}));return}if(vre(l)&&r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: directives are not allowed in the selection`,{nodes:(0,M.sourceASTs)(t)})),yre(l)&&r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: aliases are not allowed in the selection`,{nodes:(0,M.sourceASTs)(t)})),u==="field"){let{resolvedType:c}=SE({currentType:d,selectionSet:l,errorCollector:r,metadata:a,fromContextParent:t});if(c===void 0||!Wl(c,s)){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection "${c}" does not match the expected type "${s?.toString()}"`,{nodes:(0,M.sourceASTs)(t)}));return}}else if(u==="inlineFragment"){let c=[];for(let v of l.selections()){if(v.kind!=="FragmentSelection"){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: selection should only contain a single field or at least one inline fragment}"`,{nodes:(0,M.sourceASTs)(t)}));continue}let{typeCondition:y}=v.element;if(!y){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: inline fragments must have type conditions"`,{nodes:(0,M.sourceASTs)(t)}));continue}y.kind==="ObjectType"?(0,M.possibleRuntimeTypes)(d).includes(y)&&(c.push(v),p.add(y.name)):r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: type conditions must be an object type"`,{nodes:(0,M.sourceASTs)(t)}))}if(c.length===0){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: no type condition matches the location "${d.coordinate}"`,{nodes:(0,M.sourceASTs)(t)}));return}else for(let v of c){let{resolvedType:y}=SE({currentType:v.element.typeCondition,selectionSet:v.selectionSet,errorCollector:r,metadata:a,fromContextParent:t});if(y===void 0){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection does not match the expected type "${s?.toString()}"`,{nodes:(0,M.sourceASTs)(t)}));return}if((0,M.isNonNullType)(y)&&(y=y.ofType),!Wl(y,s)){r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection "${y?.toString()}" does not match the expected type "${s?.toString()}"`,{nodes:(0,M.sourceASTs)(t)}));return}}}}if(o.selectionType==="inlineFragment")for(let d of o.typeConditions)p.has(d)||r.push(te.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${i}" is used in "${t.coordinate}" but the selection is invalid: type condition "${d}" is never used.`,{nodes:(0,M.sourceASTs)(t)}))}function gE({definition:i,targetTypeExtractor:e,errorCollector:t,metadata:n,isOnParentType:r=!1,allowOnNonExternalLeafFields:a=!1,allowFieldsWithArguments:s=!1,allowOnInterface:o=!1,onFields:u}){for(let p of i.applications()){let d=p.parent,l=e(d),c=r?l:d.parent;if((0,M.isInterfaceType)(c)&&!o){let v=te.ERROR_CATEGORIES.DIRECTIVE_UNSUPPORTED_ON_INTERFACE.get(i.name);t.push(v.err(r?`Cannot use ${i.coordinate} on interface "${c.coordinate}": ${i.coordinate} is not yet supported on interfaces`:`Cannot use ${i.coordinate} on ${NF(p)} of parent type "${c}": ${i.coordinate} is not yet supported within interfaces`,{nodes:(0,M.sourceASTs)(p).concat(r?[]:(0,M.sourceASTs)(l))}))}cre({type:l,directive:p,metadata:n,errorCollector:t,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:s,onFields:u})}}function CF(i){let e=new Set;AE(i.keyDirective(),t=>t,e),AE(i.requiresDirective(),t=>t.parent,e),AE(i.providesDirective(),t=>{let n=(0,M.baseType)(t.type);return(0,M.isCompositeType)(n)?n:void 0},e),gre(i,e);for(let t of i.schema.interfaceTypes()){let n=t.possibleRuntimeTypes();for(let r of t.fields())for(let a of n){let s=a.field(r.name);s&&e.add(s)}}return e}q.collectUsedFields=CF;function gre(i,e){let t=i.fromContextDirective(),n=i.contextDirective();if(!Ai(t)||!Ai(n))return;let r=new Map;for(let a of n.applications()){let s=a.parent;if(!s)continue;let o=a.arguments().name;r.has(o)||r.set(o,new Set),r.get(o).add(s)}for(let a of t.applications()){if(!a.parent)continue;let o=a.arguments().field,{context:u,selection:p}=NE(o);if(!u)continue;let d=r.get(u);if(d)for(let l of d)try{let c=(v,y)=>{let g=v.field(y);if(g&&(e.add(g),(0,M.isInterfaceType)(v)))for(let T of v.possibleRuntimeTypes()){let S=T.field(y);S&&e.add(S)}return g};(0,yp.parseSelectionSet)({parentType:l,source:p,fieldAccessor:c})}catch{}}}function AE(i,e,t){for(let n of i.applications()){let r=e(n.parent);r&&fm({parentType:r,directive:n,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(a=>t.add(a))}}function Are(i,e){for(let t of i.schema.types())if(!(!(0,M.isObjectType)(t)&&!(0,M.isInterfaceType)(t)))for(let n of t.fields())!i.isFieldExternal(n)||i.isFieldUsed(n)||e.push(te.ERRORS.EXTERNAL_UNUSED.err(`Field "${n.coordinate}" is marked @external but is not used in any federation directive (@key, @provides, @requires) or to satisfy an interface; the field declaration has no use and should be removed (or the field should not be @external).`,{nodes:n.sourceAST}))}function Tre(i,e){for(let t of i.schema.interfaceTypes())for(let n of t.fields())i.isFieldExternal(n)&&e.push(te.ERRORS.EXTERNAL_ON_INTERFACE.err(`Interface type field "${n.coordinate}" is marked @external but @external is not allowed on interface fields (it is nonsensical).`,{nodes:n.sourceAST}))}function Dre(i,e){for(let t of i.schema.interfaceTypes()){let n=t.possibleRuntimeTypes();for(let r of t.appliedDirectivesOf(i.keyDirective())){let a=vp({parentType:t,directive:r,validate:!1}),s=r.arguments().resolvable!==!1,o=new Array,u=new Array;for(let p of n){let d=p.appliedDirectivesOf(i.keyDirective()).find(l=>{let c=vp({parentType:p,directive:l,validate:!1});return a.equals(c)});d?s&&d.arguments().resolvable===!1&&o.push(p):u.push(p)}if(u.length>0){let p=(0,Ge.printHumanReadableList)(u.map(d=>`"${d.coordinate}"`),{prefix:"type",prefixPlural:"types"});e.push(te.ERRORS.INTERFACE_KEY_NOT_ON_IMPLEMENTATION.err(`Key ${r} on interface type "${t.coordinate}" is missing on implementation ${p}.`,{nodes:(0,M.sourceASTs)(...u)}))}else if(o.length>0){let p=(0,Ge.printHumanReadableList)(o.map(d=>`"${d.coordinate}"`),{prefix:"type",prefixPlural:"types"});e.push(te.ERRORS.INTERFACE_KEY_NOT_ON_IMPLEMENTATION.err(`Key ${r} on interface type "${t.coordinate}" should be resolvable on all implementation types, but is declared with argument "@key(resolvable:)" set to false in ${p}.`,{nodes:(0,M.sourceASTs)(...o)}))}}}}function Sre(i,e){for(let t of i.interfaceObjectDirective().applications())CE(t.parent)||e.push(te.ERRORS.INTERFACE_OBJECT_USAGE_ERROR.err(`The @interfaceObject directive can only be applied to entity types but type "${t.parent.coordinate}" has no @key in this subgraph.`,{nodes:t.parent.sourceAST}))}function TF(i,e,t){let n=i.appliedDirectivesOf(e.shareableDirective());if(n.length<=1)return;let r=n.reduce((s,o)=>{let u=o.ofExtension();return u?s.with.add(u,o):s.without.push(o),s},{without:[],with:new Ge.MultiMap}),a=[r.without].concat((0,Ge.mapValues)(r.with));for(let s of a)if(s.length>1){let o=i.kind==="ObjectType"?`the same type declaration of "${i.coordinate}"`:`field "${i.coordinate}"`;t.push(te.ERRORS.INVALID_SHAREABLE_USAGE.err(`Invalid duplicate application of @shareable on ${o}: @shareable is only repeatable on types so it can be used simultaneously on a type definition and its extensions, but it should not be duplicated on the same definition/extension declaration`,{nodes:(0,M.sourceASTs)(...s)}))}}function _re(i,e){let t=i.parent;t instanceof M.FieldDefinition&&t.parent instanceof M.InterfaceType&&e.push(te.ERRORS.COST_APPLIED_TO_INTERFACE_FIELD.err(`@cost cannot be applied to interface "${t.coordinate}"`,{nodes:(0,M.sourceASTs)(i,t)}))}function bre(i,e,t){let{sizedFields:n=[]}=i.arguments();!n.length&&e.type&&!(0,M.isListType)(e.type)&&t.push(te.ERRORS.LIST_SIZE_APPLIED_TO_NON_LIST.err(`"${e.coordinate}" is not a list`,{nodes:(0,M.sourceASTs)(i,e)}))}function Ire(i,e,t){let{assumedSize:n}=i.arguments();n!=null&&n<0&&t.push(te.ERRORS.LIST_SIZE_INVALID_ASSUMED_SIZE.err(`Assumed size of "${e.coordinate}" cannot be negative`,{nodes:(0,M.sourceASTs)(i,e)}))}function Fre(i){return(0,M.isNonNullType)(i)&&(0,M.isIntType)(i.ofType)}function Nre(i,e,t){let{slicingArguments:n=[]}=i.arguments();for(let r of n){let a=e.argument(r);a?.type?!(0,M.isIntType)(a.type)&&!Fre(a.type)&&t.push(te.ERRORS.LIST_SIZE_INVALID_SLICING_ARGUMENT.err(`Slicing argument "${a.coordinate}" must be Int or Int!`,{nodes:(0,M.sourceASTs)(i,e)})):t.push(te.ERRORS.LIST_SIZE_INVALID_SLICING_ARGUMENT.err(`Slicing argument "${r}" is not an argument of "${e.coordinate}"`,{nodes:(0,M.sourceASTs)(i,e)}))}}function Cre(i){return(0,M.isNonNullType)(i)&&(0,M.isListType)(i.ofType)}function Ore(i,e,t){let{sizedFields:n=[]}=i.arguments();if(n.length)if(!e.type||!(0,M.isCompositeType)(e.type))t.push(te.ERRORS.LIST_SIZE_INVALID_SIZED_FIELD.err(`Sized fields cannot be used because "${e.type}" is not a composite type`,{nodes:(0,M.sourceASTs)(i,e)}));else for(let r of n){let a=e.type.field(r);a?(!a.type||!((0,M.isListType)(a.type)||Cre(a.type)))&&t.push(te.ERRORS.LIST_SIZE_APPLIED_TO_NON_LIST.err(`Sized field "${a.coordinate}" is not a list`,{nodes:(0,M.sourceASTs)(i,e)})):t.push(te.ERRORS.LIST_SIZE_INVALID_SIZED_FIELD.err(`Sized field "${r}" is not a field on type "${e.type.coordinate}"`,{nodes:(0,M.sourceASTs)(i,e)}))}}var Jl=class{constructor(e){this.schema=e}onInvalidate(){this._externalTester=void 0,this._sharingPredicate=void 0,this._isFed2Schema=void 0,this._fieldUsedPredicate=void 0}isFed2Schema(){if(!this._isFed2Schema){let e=this.federationFeature();this._isFed2Schema=!!e&&e.url.version.satisfies(new ji.FeatureVersion(2,0))}return this._isFed2Schema}federationFeature(){var e;return(e=this.schema.coreFeatures)===null||e===void 0?void 0:e.getByIdentity(hp.identity)}externalTester(){return this._externalTester||(this._externalTester=new bE(this.schema,this.isFed2Schema())),this._externalTester}sharingPredicate(){return this._sharingPredicate||(this._sharingPredicate=(0,are.computeShareables)(this.schema)),this._sharingPredicate}fieldUsedPredicate(){if(!this._fieldUsedPredicate){let e=CF(this);this._fieldUsedPredicate=t=>!!e.has(t)}return this._fieldUsedPredicate}isFieldUsed(e){return this.fieldUsedPredicate()(e)}isFieldExternal(e){return this.externalTester().isExternal(e)}isFieldPartiallyExternal(e){return this.externalTester().isPartiallyExternal(e)}isFieldFullyExternal(e){return this.externalTester().isFullyExternal(e)}isFieldFakeExternal(e){return this.externalTester().isFakeExternal(e)}selectionSelectsAnyExternalField(e){return this.externalTester().selectsAnyExternalField(e)}isFieldShareable(e){return this.sharingPredicate()(e)}isInterfaceObjectType(e){return(0,M.isObjectType)(e)&&OF(e,this.interfaceObjectDirective())}federationDirectiveNameInSchema(e){if(this.isFed2Schema()){let t=this.schema.coreFeatures;(0,Ge.assert)(t,"Schema should be a core schema");let n=t.getByIdentity(hp.identity);return(0,Ge.assert)(n,"Schema should have the federation feature"),n.directiveNameInSchema(e)}else return e}federationTypeNameInSchema(e){if(e.charAt(0)==="_")return e;if(this.isFed2Schema()){let t=this.schema.coreFeatures;(0,Ge.assert)(t,"Schema should be a core schema");let n=t.getByIdentity(hp.identity);return(0,Ge.assert)(n,"Schema should have the federation feature"),n.typeNameInSchema(e)}else return"_"+e}getLegacyFederationDirective(e){let t=this.getFederationDirective(e);return(0,Ge.assert)(t,`The provided schema does not have federation directive @${e}`),t}getFederationDirective(e){return this.schema.directive(this.federationDirectiveNameInSchema(e))}getPost20FederationDirective(e){var t;return(t=this.getFederationDirective(e))!==null&&t!==void 0?t:{name:e,applications:()=>new Set}}keyDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.KEY)}overrideDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.OVERRIDE)}extendsDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.EXTENDS)}externalDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.EXTERNAL)}requiresDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.REQUIRES)}providesDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.PROVIDES)}shareableDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.SHAREABLE)}tagDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.TAG)}composeDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.COMPOSE_DIRECTIVE)}inaccessibleDirective(){return this.getLegacyFederationDirective(be.FederationDirectiveName.INACCESSIBLE)}interfaceObjectDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.INTERFACE_OBJECT)}authenticatedDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.AUTHENTICATED)}requiresScopesDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.REQUIRES_SCOPES)}policyDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.POLICY)}sourceAPIDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.SOURCE_API)}sourceTypeDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.SOURCE_TYPE)}sourceFieldDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.SOURCE_FIELD)}fromContextDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.FROM_CONTEXT)}contextDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.CONTEXT)}costDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.COST)}listSizeDirective(){return this.getPost20FederationDirective(be.FederationDirectiveName.LIST_SIZE)}allFederationDirectives(){let e=[this.keyDirective(),this.externalDirective(),this.requiresDirective(),this.providesDirective(),this.tagDirective(),this.extendsDirective()];if(!this.isFed2Schema())return e;e.push(this.shareableDirective()),e.push(this.inaccessibleDirective()),e.push(this.overrideDirective());let t=this.composeDirective();Ai(t)&&e.push(t);let n=this.interfaceObjectDirective();Ai(n)&&e.push(n);let r=this.authenticatedDirective();Ai(r)&&e.push(r);let a=this.requiresScopesDirective();Ai(a)&&e.push(a);let s=this.policyDirective();Ai(s)&&e.push(s);let o=this.sourceAPIDirective();Ai(o)&&e.push(o);let u=this.sourceTypeDirective();Ai(u)&&e.push(u);let p=this.sourceFieldDirective();Ai(p)&&e.push(p);let d=this.contextDirective();Ai(d)&&e.push(d);let l=this.fromContextDirective();Ai(l)&&e.push(l);let c=this.costDirective();Ai(c)&&e.push(c);let v=this.listSizeDirective();return Ai(v)&&e.push(v),e}entityType(){return this.schema.type(this.federationTypeNameInSchema(q.entityTypeSpec.name))}anyType(){return this.schema.type(this.federationTypeNameInSchema(q.anyTypeSpec.name))}serviceType(){return this.schema.type(this.federationTypeNameInSchema(q.serviceTypeSpec.name))}fieldSetType(){return this.schema.type(this.federationTypeNameInSchema(be.FederationTypeName.FIELD_SET))}allFederationTypes(){let e=[this.anyType(),this.serviceType()],t=this.federationFeature();if(t){let r=be.FEDERATION_VERSIONS.find(t.url.version);(0,Ge.assert)(r,()=>`Federation spec should be known, but got ${t.url}`);for(let a of r.typeSpecs()){let s=this.schema.type(t.typeNameInSchema(a.name));s&&e.push(s)}}else e.push(this.fieldSetType());let n=this.entityType();return n&&e.push(n),e}};q.FederationMetadata=Jl;function Ai(i){return i instanceof M.DirectiveDefinition}q.isFederationDirectiveDefinedInSchema=Ai;function OF(i,e){return Ai(e)&&i.hasAppliedDirective(e)}q.hasAppliedDirective=OF;var Xl=class extends M.SchemaBlueprint{constructor(e){super(),this.withRootTypeRenaming=e}onAddedCoreFeature(e,t){if(super.onAddedCoreFeature(e,t),t.url.identity===be.federationIdentity){let n=be.FEDERATION_VERSIONS.find(t.url.version);n&&n.addElementsToSchema(e)}}onMissingDirectiveDefinition(e,t){if(t.name===ji.linkDirectiveDefaultName){let n=t.arguments(),r=n&&n.url,a,s=[];r&&r.startsWith(da.identity)&&(a=n.as,s=(0,ji.extractCoreFeatureImports)(da.url,t));let o=da.addDefinitionsToSchema(e,a,s);return o.length>0?o:e.directive(t.name)}return super.onMissingDirectiveDefinition(e,t)}ignoreParsedField(e,t){if(!q.FEDERATION_OPERATION_FIELDS.includes(t))return!1;let n=fn(e.schema());return!!n&&!n.isFed2Schema()}onConstructed(e){fn(e)||(e._federationMetadata=new Jl(e))}onDirectiveDefinitionAndSchemaParsed(e){let t=BF(e);return e.schemaDefinition.processUnappliedDirectives(),t}onInvalidation(e){super.onInvalidation(e);let t=fn(e);(0,Ge.assert)(t,"Federation schema should have had its metadata set on construction"),Jl.prototype.onInvalidate.call(t)}onValidation(e){var t,n,r,a,s,o;let u=super.onValidation(e);if(this.withRootTypeRenaming)for(let F of M.allSchemaRootKinds){let R=(t=e.schemaDefinition.root(F))===null||t===void 0?void 0:t.type,P=(0,M.defaultRootName)(F);if(R&&R.name!==P){let K=e.type(P);K&&u.push(te.ERROR_CATEGORIES.ROOT_TYPE_USED.get(F).err(`The schema has a type named "${P}" but it is not set as the ${F} root type ("${R.name}" is instead): this is not supported by federation. If a root type does not use its default name, there should be no other type with that default name.`,{nodes:(0,M.sourceASTs)(R,K)})),R.rename(P)}}let p=fn(e);if((0,Ge.assert)(p,"Federation schema should have had its metadata set on construction"),!p.isFed2Schema())return u;let d=p.keyDirective();gE({definition:d,targetTypeExtractor:F=>F,errorCollector:u,metadata:p,isOnParentType:!0,allowOnNonExternalLeafFields:!0,allowOnInterface:p.federationFeature().url.version.compareTo(new ji.FeatureVersion(2,3))>=0,onFields:F=>{let R=(0,M.baseType)(F.type);if((0,M.isUnionType)(R)||(0,M.isInterfaceType)(R)){let P=R.kind;throw P=P.slice(0,P.length-4),te.ERRORS.KEY_FIELDS_SELECT_INVALID_TYPE.err(`field "${F.coordinate}" is a ${P} type which is not allowed in @key`)}}}),gE({definition:p.requiresDirective(),targetTypeExtractor:F=>F.parent,errorCollector:u,metadata:p,allowFieldsWithArguments:!0}),gE({definition:p.providesDirective(),targetTypeExtractor:F=>{if(p.isFieldExternal(F))throw te.ERRORS.EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE.err(`Cannot have both @provides and @external on field "${F.coordinate}"`,{nodes:F.sourceAST});let R=(0,M.baseType)(F.type);if(!(0,M.isCompositeType)(R))throw te.ERRORS.PROVIDES_ON_NON_OBJECT_FIELD.err(`Invalid @provides directive on field "${F.coordinate}": field has type "${F.type}" which is not a Composite Type`,{nodes:F.sourceAST});return R},errorCollector:u,metadata:p});let l=p.contextDirective(),c=new Map;for(let F of l.applications()){let R=F.parent,P=F.arguments().name,K=P.match(/^([A-Za-z]\w*)$/);P.includes("_")?u.push(te.ERRORS.CONTEXT_NAME_INVALID.err(`Context name "${P}" may not contain an underscore.`,{nodes:(0,M.sourceASTs)(F)})):K||u.push(te.ERRORS.CONTEXT_NAME_INVALID.err(`Context name "${P}" is invalid. It should have only alphanumeric characters.`,{nodes:(0,M.sourceASTs)(F)}));let W=c.get(P);W?W.push(R):c.set(P,[R])}let v=p.fromContextDirective();for(let F of v.applications()){let{field:R}=F.arguments(),{context:P,selection:K}=NE(R);if(F.parent.parent.kind==="DirectiveDefinition"){u.push(te.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a directive definition "${F.parent.coordinate}".`,{nodes:(0,M.sourceASTs)(F)}));continue}let W=F.parent;if(((r=(n=W?.parent)===null||n===void 0?void 0:n.parent)===null||r===void 0?void 0:r.kind)!=="ObjectType"){u.push(te.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a field that exists on an abstract type "${F.parent.coordinate}".`,{nodes:(0,M.sourceASTs)(F)}));continue}let ne=W.parent.parent;for(let B of ne.interfaces()){let Y=B.field(W.parent.name);Y&&u.push(te.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a field implementing an interface field "${Y.coordinate}".`,{nodes:(0,M.sourceASTs)(F)}))}if(W.defaultValue!==void 0&&u.push(te.ERRORS.CONTEXT_NOT_SET.err(`@fromContext arguments may not have a default value: "${W.coordinate}".`,{nodes:(0,M.sourceASTs)(F)})),!P||!K)u.push(te.ERRORS.NO_CONTEXT_IN_SELECTION.err(`@fromContext argument does not reference a context "${R}".`,{nodes:(0,M.sourceASTs)(F)}));else{let B=c.get(P);B?Ere({context:P,selection:K,fromContextParent:W,setContextLocations:B,errorCollector:u,metadata:p}):u.push(te.ERRORS.CONTEXT_NOT_SET.err(`Context "${P}" is used at location "${W.coordinate}" but is never set.`,{nodes:(0,M.sourceASTs)(F)}));let Y=p.keyDirective();ne.appliedDirectivesOf(Y).some(rt=>rt.arguments().resolvable||rt.arguments().resolvable===void 0)||u.push(te.ERRORS.CONTEXT_NO_RESOLVABLE_KEY.err(`Object "${ne.coordinate}" has no resolvable key but has a field with a contextual argument.`,{nodes:(0,M.sourceASTs)(ne)}))}}Tre(p,u),Are(p,u),Dre(p,u),Sre(p,u),(0,bF.validateKnownFeatures)(e,u);let y=p.tagDirective();if(y){let F=ore.checkCompatibleDirective(y);F&&u.push(F)}for(let F of e.objectTypes()){TF(F,p,u);for(let R of F.fields())TF(R,p,u)}for(let F of p.shareableDirective().applications()){let R=F.parent;R instanceof M.FieldDefinition&&!(0,M.isObjectType)(R.parent)&&u.push(te.ERRORS.INVALID_SHAREABLE_USAGE.err(`Invalid use of @shareable on field "${R.coordinate}": only object type fields can be marked with @shareable`,{nodes:(0,M.sourceASTs)(F,R.parent)}))}let g=(a=e.coreFeatures)===null||a===void 0?void 0:a.getByIdentity(EF.costIdentity),T=g&&EF.COST_VERSIONS.find(g.url.version),S=T?.costDirective(e),N=T?.listSizeDirective(e);for(let F of(s=S?.applications())!==null&&s!==void 0?s:[])_re(F,u);for(let F of(o=N?.applications())!==null&&o!==void 0?o:[]){let R=F.parent;(0,Ge.assert)(R instanceof M.FieldDefinition,"@listSize can only be applied to FIELD_DEFINITION"),bre(F,R,u),Ire(F,R,u),Nre(F,R,u),Ore(F,R,u)}return u}validationRules(){return dre}onUnknownDirectiveValidationError(e,t,n){let r=fn(e);if((0,Ge.assert)(r,"This method should only have been called on a subgraph schema"),gF.includes(t))if(r.isFed2Schema()){let a=r.federationFeature();(0,Ge.assert)(a,"Fed2 subgraph _must_ link to the federation feature");let s=a.directiveNameInSchema(t);return s.startsWith(a.nameInSchema+"__")?(0,te.withModifiedErrorMessage)(n,`${n.message} If you meant the "@${t}" federation directive, you should use fully-qualified name "@${s}" or add "@${t}" to the \`import\` argument of the @link to the federation specification.`):(0,te.withModifiedErrorMessage)(n,`${n.message} If you meant the "@${t}" federation directive, you should use "@${s}" as it is imported under that name in the @link to the federation specification of this schema.`)}else return(0,te.withModifiedErrorMessage)(n,`${n.message} If you meant the "@${t}" federation 2 directive, note that this schema is a federation 1 schema. To be a federation 2 schema, it needs to @link to the federation specifcation v2.`);else if(!r.isFed2Schema()){let a=(0,yF.suggestionList)(t,gF);if(a.length>0)return(0,te.withModifiedErrorMessage)(n,`${n.message}${(0,yF.didYouMean)(a.map(s=>"@"+s))} If so, note that ${a.length===1?"it is a federation 2 directive":"they are federation 2 directives"} but this schema is a federation 1 one. To be a federation 2 schema, it needs to @link to the federation specifcation v2.`)}return n}applyDirectivesAfterParsing(){return!0}};q.FederationBlueprint=Xl;function wre(i){if(!i.directive(da.url.name))return;let e=da.url.name,t=1;for(;;){let n=e+t;if(!i.directive(n))return n}}function wF(i,e=!1){let t=i.coreFeatures,n;if(t)n=t.coreDefinition,(0,Ge.assert)(n.url.version.satisfies(da.version),`Fed2 schema must use @link with version >= 1.0, but schema uses ${n.url}`);else{let s=wre(i),o=da.addToSchema(i,s);if(o.length>0)throw(0,M.ErrGraphQLValidationFailed)(o);n=da,t=i.coreFeatures,(0,Ge.assert)(t,"Schema should now be a core schema")}let r=e?hp:TE;(0,Ge.assert)(!t.getByIdentity(r.identity),"Schema already set as a federation subgraph"),i.schemaDefinition.applyDirective(t.coreItself.nameInSchema,{url:r.url.toString(),import:TE.directiveSpecs().map(s=>`@${s.name}`)});let a=BF(i);if(a.length>0)throw(0,M.ErrGraphQLValidationFailed)(a)}q.setSchemaAsFed2Subgraph=wF;q.FEDERATION2_LINK_WITH_FULL_IMPORTS='@link(url: "https://specs.apollo.dev/federation/v2.9", import: ["@key", "@requires", "@provides", "@external", "@tag", "@extends", "@shareable", "@inaccessible", "@override", "@composeDirective", "@interfaceObject", "@authenticated", "@requiresScopes", "@policy", "@sourceAPI", "@sourceType", "@sourceField", "@context", "@fromContext", "@cost", "@listSize"])';q.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS='@link(url: "https://specs.apollo.dev/federation/v2.9", import: ["@key", "@requires", "@provides", "@external", "@tag", "@extends", "@shareable", "@inaccessible", "@override", "@composeDirective", "@interfaceObject"])';q.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS_UPGRADED='@link(url: "https://specs.apollo.dev/federation/v2.4", import: ["@key", "@requires", "@provides", "@external", "@tag", "@extends", "@shareable", "@inaccessible", "@override", "@composeDirective", "@interfaceObject"])';function Rre(i,e){var t,n;let r=e?.includeAllImports?hp.directiveSpecs():TE.directiveSpecs(),a={kind:We.Kind.DIRECTIVE,name:{kind:We.Kind.NAME,value:ji.linkDirectiveDefaultName},arguments:[{kind:We.Kind.ARGUMENT,name:{kind:We.Kind.NAME,value:"url"},value:{kind:We.Kind.STRING,value:hp.url.toString()}},{kind:We.Kind.ARGUMENT,name:{kind:We.Kind.NAME,value:"import"},value:{kind:We.Kind.LIST,values:r.map(o=>({kind:We.Kind.STRING,value:`@${o.name}`}))}}]};if(!((t=e?.addAsSchemaExtension)!==null&&t!==void 0)||t)return{kind:We.Kind.DOCUMENT,loc:i.loc,definitions:i.definitions.concat({kind:We.Kind.SCHEMA_EXTENSION,directives:[a]})};let s=i.definitions.find(o=>o.kind==We.Kind.SCHEMA_DEFINITION);if(s)return{kind:We.Kind.DOCUMENT,loc:i.loc,definitions:i.definitions.filter(o=>o!==s).concat([{...s,directives:[a].concat((n=s.directives)!==null&&n!==void 0?n:[])}])};{let o=i.definitions.some(p=>p.kind===We.Kind.OBJECT_TYPE_DEFINITION&&p.name.value==="Mutation"),u=(p,d)=>({kind:We.Kind.OPERATION_TYPE_DEFINITION,operation:p,type:{kind:We.Kind.NAMED_TYPE,name:{kind:We.Kind.NAME,value:d}}});return{kind:We.Kind.DOCUMENT,loc:i.loc,definitions:i.definitions.concat({kind:We.Kind.SCHEMA_DEFINITION,directives:[a],operationTypes:[u(We.OperationTypeNode.QUERY,"Query")].concat(o?u(We.OperationTypeNode.MUTATION,"Mutation"):[])})}}}q.asFed2SubgraphDocument=Rre;function Bre(i){return(0,Ge.printHumanReadableList)(i.map(e=>`"${e}"`),{prefix:"subgraph",prefixPlural:"subgraphs"})}q.printSubgraphNames=Bre;function fn(i){return i._federationMetadata}q.federationMetadata=fn;function Lre(i){return!!fn(i)}q.isFederationSubgraphSchema=Lre;function _E(i){var e;return i.parent===((e=i.schema().schemaDefinition.root("query"))===null||e===void 0?void 0:e.type)?q.FEDERATION_OPERATION_FIELDS.includes(i.name):!1}q.isFederationField=_E;function CE(i){if(!(0,M.isObjectType)(i)&&!(0,M.isInterfaceType)(i))return!1;let e=fn(i.schema());return!!e&&i.hasAppliedDirective(e.keyDirective())}q.isEntityType=CE;function xre(i){if(!(0,M.isObjectType)(i))return!1;let e=fn(i.schema());return!!e&&e.isInterfaceObjectType(i)}q.isInterfaceObjectType=xre;function RF(i,e,t,n=!0){let r={blueprint:new Xl(n),validate:!1},a;try{let s=typeof t=="string"?(0,hF.buildSchema)(new We.Source(t,i),r):(0,hF.buildSchemaFromAST)(t,r);a=new hm(i,e,s)}catch(s){throw s instanceof We.GraphQLError&&i!==q.FEDERATION_UNNAMED_SUBGRAPH_NAME?OE(s,i,te.ERRORS.INVALID_GRAPHQL):s}return a.validate()}q.buildSubgraph=RF;function Pre(i){let e=new M.Schema(new Xl(!0),i);return wF(e,!0),e}q.newEmptyFederation2Schema=Pre;function BF(i){let e=i.coreFeatures;if(e)return e.getByIdentity(be.federationIdentity)?SF(i):DF(i);if(i.schemaDefinition.appliedDirectivesOf(ji.linkDirectiveDefaultName).find($re)){let n=da.addToSchema(i);return n.length>0?n:SF(i)}else return DF(i)}function $re(i){let e=i.arguments();return i.name===ji.linkDirectiveDefaultName&&e.url&&e.url.startsWith(be.federationIdentity)}function DF(i){var e,t;for(let r of[be.FederationDirectiveName.KEY,be.FederationDirectiveName.PROVIDES,be.FederationDirectiveName.REQUIRES]){let a=i.directive(r);if(!a)continue;(0,Ge.assert)(a.applications().size===0,`${a} shouldn't have had validation at that places`);let s=(t=(e=a.argument("fields"))===null||e===void 0?void 0:e.type)===null||t===void 0?void 0:t.toString(),o=!!s&&a.arguments().length===1&&(s==="String"||s==="_FieldSet"||s==="FieldSet");(a.arguments().length===0||o)&&a.remove()}let n=be.FEDERATION1_TYPES.map(r=>r.checkOrAdd(i,lre)).concat(be.FEDERATION1_DIRECTIVES.map(r=>r.checkOrAdd(i))).flat();return n.length===0?LF(i):n}function SF(i){let e=i.coreFeatures;(0,Ge.assert)(e,"This method should not have been called on a non-core schema");let t=e.getByIdentity(be.federationIdentity);(0,Ge.assert)(t,"This method should not have been called on a schema with no @link for federation");let n=be.FEDERATION_VERSIONS.find(t.url.version);if(!n)return[te.ERRORS.UNKNOWN_FEDERATION_LINK_VERSION.err(`Invalid version ${t.url.version} for the federation feature in @link directive on schema`,{nodes:t.directive.sourceAST})];let r=n.addElementsToSchema(i);return r.length===0?LF(i):r}function LF(i){let e=i.coreFeatures;if(!e)return[];let t=[];for(let n of e.allFeatures()){if(n===e.coreItself||n.url.identity===be.federationIdentity||n.url.identity===sre.joinIdentity)continue;let r=(0,bF.coreFeatureDefinitionIfKnown)(n.url);r&&(t=t.concat(r.addElementsToSchema(i)))}return t}function vp({parentType:i,directive:e,fieldAccessor:t,validate:n,decorateValidationErrors:r=!0,normalize:a=!1}){try{let s=(0,yp.parseSelectionSet)({parentType:i,source:Vre(e),fieldAccessor:t,validate:n});return(n??!0)&&s.forEachElement(o=>{if(o.kind==="Field"&&o.alias)throw new We.GraphQLError(`Cannot use alias "${o.alias}" in "${o}": aliases are not currently supported in @${e.name}`)}),a?s.normalize({parentType:i,recursive:!0}):s}catch(s){throw!(s instanceof We.GraphQLError)||!r?s:FF(e,s,o=>(o.startsWith("Cannot query field")&&(o.endsWith(".")&&(o=o.slice(0,o.length-1)),e.name===be.FederationDirectiveName.KEY?o=o+" (the field should either be added to this subgraph or, if it should not be resolved by this subgraph, you need to add it to this subgraph with @external).":o=o+" (if the field is defined in another subgraph, you need to add it to this subgraph with @external)."),o))}}q.parseFieldSetArgument=vp;function fm({parentType:i,directive:e,includeInterfaceFieldsImplementations:t,validate:n=!0}){let r=[];try{vp({parentType:i,directive:e,fieldAccessor:(a,s)=>{let o=a.field(s);if(o&&(r.push(o),t&&(0,M.isInterfaceType)(a)))for(let u of a.possibleRuntimeTypes()){let p=u.field(s);p&&r.push(p)}return o},validate:n})}catch(a){if(!((0,te.errorCauses)(a)!==void 0)||n)throw a}return r}q.collectTargetFields=fm;function Vre(i){var e;let t=i.arguments().fields,n=i.sourceAST;if(typeof t!="string")throw te.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS_TYPE.get(i.name).err(`Invalid value for argument "${i.definition.argument("fields").name}": must be a string.`,{nodes:n});if(n&&n.kind==="Directive"){for(let r of(e=n.arguments)!==null&&e!==void 0?e:[])if(r.name.value==="fields"){if(r.value.kind!=="StringValue")throw te.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS_TYPE.get(i.name).err(`Invalid value for argument "${i.definition.argument("fields").name}": must be a string.`,{nodes:n});break}}return t}function kre(i){var e;let t=[],n=new mm;for(let r of i)try{n.add(RF(r.name,(e=r.url)!==null&&e!==void 0?e:"",r.typeDefs))}catch(a){let s=(0,te.errorCauses)(a);if(s)t=t.concat(s);else throw a}return t.length===0?n:t}q.subgraphsFromServiceList=kre;var mm=class{constructor(){this.subgraphs=new Ge.OrderedMap}add(e){if(this.subgraphs.has(e.name))throw new Error(`A subgraph named ${e.name} already exists`+(e.url?` (with url '${e.url}')`:""));return this.subgraphs.add(e.name,e),e}get(e){return this.subgraphs.get(e)}size(){return this.subgraphs.size}names(){return this.subgraphs.keys()}values(){return this.subgraphs.values()}*[Symbol.iterator](){for(let e of this.subgraphs)yield e}validate(){let e=[];for(let t of this.values())try{t.validate()}catch(n){let r=(0,te.errorCauses)(n);if(!r)throw n;e=e.concat(r)}return e.length===0?void 0:e}toString(){return"["+this.subgraphs.keys().join(", ")+"]"}};q.Subgraphs=mm;q.anyTypeSpec=(0,FE.createScalarTypeSpecification)({name:"_Any"});q.serviceTypeSpec=(0,FE.createObjectTypeSpecification)({name:"_Service",fieldsFct:i=>[{name:"sdl",type:i.stringType()}]});q.entityTypeSpec=(0,FE.createUnionTypeSpecification)({name:"_Entity",membersFct:i=>i.objectTypes().filter(CE).map(e=>e.name)});q.FEDERATION_OPERATION_TYPES=[q.anyTypeSpec,q.serviceTypeSpec,q.entityTypeSpec];q.serviceFieldName="_service";q.entitiesFieldName="_entities";q.FEDERATION_OPERATION_FIELDS=[q.serviceFieldName,q.entitiesFieldName];var hm=class{constructor(e,t,n){if(this.name=e,this.url=t,this.schema=n,e===q.FEDERATION_RESERVED_SUBGRAPH_NAME)throw te.ERRORS.INVALID_SUBGRAPH_NAME.err(`Invalid name ${q.FEDERATION_RESERVED_SUBGRAPH_NAME} for a subgraph: this name is reserved`)}metadata(){let e=fn(this.schema);return(0,Ge.assert)(e,"The subgraph schema should have built with the federation built-ins."),e}isFed2Subgraph(){return this.metadata().isFed2Schema()}addFederationOperations(){let e=this.metadata();for(let s of q.FEDERATION_OPERATION_TYPES)s.checkOrAdd(this.schema);let t=this.schema.schemaDefinition.root("query"),n=t?t.type:this.schema.addType(new M.ObjectType("Query")),r=n.field(q.entitiesFieldName),a=e.entityType();if(a){let s=new M.NonNullType(new M.ListType(a));r?r.type||(r.type=a):n.addField(q.entitiesFieldName,s).addArgument("representations",new M.NonNullType(new M.ListType(new M.NonNullType(e.anyType()))))}else r&&r.remove();n.field(q.serviceFieldName)||n.addField(q.serviceFieldName,new M.NonNullType(e.serviceType()))}assumeValid(){return this.addFederationOperations(),this.schema.assumeValid(),this}validate(){try{return this.addFederationOperations(),this.schema.validate(),this}catch(e){throw e instanceof We.GraphQLError?OE(e,this.name,te.ERRORS.INVALID_GRAPHQL):e}}isPrintedDirective(e){var t;if(this.metadata().allFederationDirectives().includes(e))return!1;let n=this.schema.coreFeatures;return!n||((t=n.sourceFeature(e))===null||t===void 0?void 0:t.feature.url.identity)!==ji.linkIdentity}isPrintedType(e){var t;if(this.metadata().allFederationTypes().includes(e)||(0,M.isObjectType)(e)&&e.isQueryRootType()&&e.fields().filter(r=>!_E(r)).length===0)return!1;let n=this.schema.coreFeatures;return!n||((t=n.sourceFeature(e))===null||t===void 0?void 0:t.feature.url.identity)!==ji.linkIdentity}isPrintedDirectiveApplication(e){if(!this.schema.coreFeatures||e.name!==da.url.name)return!0;let t=e.arguments(),n;if("url"in t)try{n=ji.FeatureUrl.parse(t.url)}catch{}return!(n?.identity===ji.linkIdentity&&Object.keys(t).length===1)}toString(e=vF.defaultPrintOptions){return(0,vF.printSchema)(this.schema,{...e,directiveDefinitionFilter:t=>this.isPrintedDirective(t),typeFilter:t=>this.isPrintedType(t),fieldFilter:t=>!_E(t),directiveApplicationFilter:t=>this.isPrintedDirectiveApplication(t)})}};q.Subgraph=hm;function xF(i,e){return"subgraph"in i?i:{...i,subgraph:e}}q.addSubgraphToASTNode=xF;function OE(i,e,t){let n=(0,te.errorCauses)(i).map(r=>{var a;let s=`[${e}] ${r.message}`,o=r.nodes?r.nodes.map(d=>xF(d,e)):void 0,u=(a=(0,te.errorCodeDef)(r))!==null&&a!==void 0?a:t,p={...(0,te.extractGraphQLErrorOptions)(r),nodes:o,originalError:r};return u?u.err(s,p):new We.GraphQLError(s,p)});return n.length===1?n[0]:(0,M.ErrGraphQLValidationFailed)(n)}q.addSubgraphToError=OE;var bE=class{constructor(e,t){this.schema=e,this.isFed2Schema=t,this.fakeExternalFields=new Set,this.providedFields=new Set,this.externalFieldsOnType=new Set,this.externalDirective=this.metadata().externalDirective(),this.collectFakeExternals(),this.collectProvidedFields(),this.collectExternalsOnType()}metadata(){let e=fn(this.schema);return(0,Ge.assert)(e,"Schema should be a subgraphs schema"),e}collectFakeExternals(){let e=this.metadata(),t=e.extendsDirective();for(let n of e.keyDirective().applications()){let r=n.parent;(n.ofExtension()||r.hasAppliedDirective(t))&&fm({parentType:r,directive:n,includeInterfaceFieldsImplementations:!1,validate:!1}).filter(a=>a.hasAppliedDirective(this.externalDirective)).forEach(a=>this.fakeExternalFields.add(a.coordinate))}}collectProvidedFields(){for(let e of this.metadata().providesDirective().applications()){let t=e.parent,n=(0,M.baseType)(t.type);(0,M.isCompositeType)(n)&&fm({parentType:n,directive:e,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(r=>this.providedFields.add(r.coordinate))}}collectExternalsOnType(){if(this.isFed2Schema){for(let e of this.schema.objectTypes())if(e.hasAppliedDirective(this.externalDirective))for(let t of e.fields())this.externalFieldsOnType.add(t.coordinate)}}isExternal(e){return(e.hasAppliedDirective(this.externalDirective)||this.externalFieldsOnType.has(e.coordinate))&&!this.isFakeExternal(e)}isFakeExternal(e){return this.fakeExternalFields.has(e.coordinate)}selectsAnyExternalField(e){for(let t of e.selections())if(t.kind==="FieldSelection"&&this.isExternal(t.element.definition)||t.selectionSet&&this.selectsAnyExternalField(t.selectionSet))return!0;return!1}isPartiallyExternal(e){return this.isExternal(e)&&this.providedFields.has(e.coordinate)}isFullyExternal(e){return this.isExternal(e)&&!this.providedFields.has(e.coordinate)}};function Mre(i,e=()=>{}){let t=fn(i);if(!t)return;let n=t.providesDirective(),r=t.requiresDirective();for(let a of i.types())if(!(!(0,M.isObjectType)(a)&&!(0,M.isInterfaceType)(a)))for(let s of a.fields()){let o=(0,M.baseType)(s.type);_F(n,s,o,e),_F(r,s,a,e)}}q.removeInactiveProvidesAndRequires=Mre;function _F(i,e,t,n){for(let r of e.appliedDirectivesOf(i)){let a;try{a=vp({parentType:t,directive:r})}catch{continue}if(IE(a)){r.remove();let s=$F(a);if(s.isEmpty())n(e,r);else{let o=e.applyDirective(i,{fields:s.toString(!0,!1)});n(e,r,o)}}}}function PF(i){let e=fn(i.schema());if(!e)return!1;if(i.hasAppliedDirective(e.externalDirective()))return!0;let t=i.parent;if((0,M.isInterfaceType)(t))for(let n of t.possibleRuntimeTypes()){let r=n.field(i.name);if(r&&r.hasAppliedDirective(e.externalDirective()))return!0}return!1}function IE(i){return i.selections().some(e=>e.kind==="FieldSelection"?PF(e.element.definition)?!1:!e.selectionSet||IE(e.selectionSet):IE(e.selectionSet))}function $F(i){return i.lazyMap(e=>{if(e.kind==="FieldSelection"&&PF(e.element.definition))return e;if(e.selectionSet){let t=$F(e.selectionSet);if(!t.isEmpty())return e.withUpdatedSelectionSet(t)}})}});var kF=D((yEe,VF)=>{"use strict";h();m();VF.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var wE=D((AEe,UF)=>{h();m();var Zl=kF(),MF={};for(let i of Object.keys(Zl))MF[Zl[i]]=i;var de={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};UF.exports=de;for(let i of Object.keys(de)){if(!("channels"in de[i]))throw new Error("missing channels property: "+i);if(!("labels"in de[i]))throw new Error("missing channel labels property: "+i);if(de[i].labels.length!==de[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:e,labels:t}=de[i];delete de[i].channels,delete de[i].labels,Object.defineProperty(de[i],"channels",{value:e}),Object.defineProperty(de[i],"labels",{value:t})}de.rgb.hsl=function(i){let e=i[0]/255,t=i[1]/255,n=i[2]/255,r=Math.min(e,t,n),a=Math.max(e,t,n),s=a-r,o,u;a===r?o=0:e===a?o=(t-n)/s:t===a?o=2+(n-e)/s:n===a&&(o=4+(e-t)/s),o=Math.min(o*60,360),o<0&&(o+=360);let p=(r+a)/2;return a===r?u=0:p<=.5?u=s/(a+r):u=s/(2-a-r),[o,u*100,p*100]};de.rgb.hsv=function(i){let e,t,n,r,a,s=i[0]/255,o=i[1]/255,u=i[2]/255,p=Math.max(s,o,u),d=p-Math.min(s,o,u),l=function(c){return(p-c)/6/d+1/2};return d===0?(r=0,a=0):(a=d/p,e=l(s),t=l(o),n=l(u),s===p?r=n-t:o===p?r=1/3+e-n:u===p&&(r=2/3+t-e),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,p*100]};de.rgb.hwb=function(i){let e=i[0],t=i[1],n=i[2],r=de.rgb.hsl(i)[0],a=1/255*Math.min(e,Math.min(t,n));return n=1-1/255*Math.max(e,Math.max(t,n)),[r,a*100,n*100]};de.rgb.cmyk=function(i){let e=i[0]/255,t=i[1]/255,n=i[2]/255,r=Math.min(1-e,1-t,1-n),a=(1-e-r)/(1-r)||0,s=(1-t-r)/(1-r)||0,o=(1-n-r)/(1-r)||0;return[a*100,s*100,o*100,r*100]};function Ure(i,e){return(i[0]-e[0])**2+(i[1]-e[1])**2+(i[2]-e[2])**2}de.rgb.keyword=function(i){let e=MF[i];if(e)return e;let t=1/0,n;for(let r of Object.keys(Zl)){let a=Zl[r],s=Ure(i,a);s.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let r=e*.4124+t*.3576+n*.1805,a=e*.2126+t*.7152+n*.0722,s=e*.0193+t*.1192+n*.9505;return[r*100,a*100,s*100]};de.rgb.lab=function(i){let e=de.rgb.xyz(i),t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let a=116*n-16,s=500*(t-n),o=200*(n-r);return[a,s,o]};de.hsl.rgb=function(i){let e=i[0]/360,t=i[1]/100,n=i[2]/100,r,a,s;if(t===0)return s=n*255,[s,s,s];n<.5?r=n*(1+t):r=n+t-n*t;let o=2*n-r,u=[0,0,0];for(let p=0;p<3;p++)a=e+1/3*-(p-1),a<0&&a++,a>1&&a--,6*a<1?s=o+(r-o)*6*a:2*a<1?s=r:3*a<2?s=o+(r-o)*(2/3-a)*6:s=o,u[p]=s*255;return u};de.hsl.hsv=function(i){let e=i[0],t=i[1]/100,n=i[2]/100,r=t,a=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=a<=1?a:2-a;let s=(n+t)/2,o=n===0?2*r/(a+r):2*t/(n+t);return[e,o*100,s*100]};de.hsv.rgb=function(i){let e=i[0]/60,t=i[1]/100,n=i[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),s=255*n*(1-t),o=255*n*(1-t*a),u=255*n*(1-t*(1-a));switch(n*=255,r){case 0:return[n,u,s];case 1:return[o,n,s];case 2:return[s,n,u];case 3:return[s,o,n];case 4:return[u,s,n];case 5:return[n,s,o]}};de.hsv.hsl=function(i){let e=i[0],t=i[1]/100,n=i[2]/100,r=Math.max(n,.01),a,s;s=(2-t)*n;let o=(2-t)*r;return a=t*r,a/=o<=1?o:2-o,a=a||0,s/=2,[e,a*100,s*100]};de.hwb.rgb=function(i){let e=i[0]/360,t=i[1]/100,n=i[2]/100,r=t+n,a;r>1&&(t/=r,n/=r);let s=Math.floor(6*e),o=1-n;a=6*e-s,s&1&&(a=1-a);let u=t+a*(o-t),p,d,l;switch(s){default:case 6:case 0:p=o,d=u,l=t;break;case 1:p=u,d=o,l=t;break;case 2:p=t,d=o,l=u;break;case 3:p=t,d=u,l=o;break;case 4:p=u,d=t,l=o;break;case 5:p=o,d=t,l=u;break}return[p*255,d*255,l*255]};de.cmyk.rgb=function(i){let e=i[0]/100,t=i[1]/100,n=i[2]/100,r=i[3]/100,a=1-Math.min(1,e*(1-r)+r),s=1-Math.min(1,t*(1-r)+r),o=1-Math.min(1,n*(1-r)+r);return[a*255,s*255,o*255]};de.xyz.rgb=function(i){let e=i[0]/100,t=i[1]/100,n=i[2]/100,r,a,s;return r=e*3.2406+t*-1.5372+n*-.4986,a=e*-.9689+t*1.8758+n*.0415,s=e*.0557+t*-.204+n*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};de.xyz.lab=function(i){let e=i[0],t=i[1],n=i[2];e/=95.047,t/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let r=116*t-16,a=500*(e-t),s=200*(t-n);return[r,a,s]};de.lab.xyz=function(i){let e=i[0],t=i[1],n=i[2],r,a,s;a=(e+16)/116,r=t/500+a,s=a-n/200;let o=a**3,u=r**3,p=s**3;return a=o>.008856?o:(a-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,s=p>.008856?p:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};de.lab.lch=function(i){let e=i[0],t=i[1],n=i[2],r;r=Math.atan2(n,t)*360/2/Math.PI,r<0&&(r+=360);let s=Math.sqrt(t*t+n*n);return[e,s,r]};de.lch.lab=function(i){let e=i[0],t=i[1],r=i[2]/360*2*Math.PI,a=t*Math.cos(r),s=t*Math.sin(r);return[e,a,s]};de.rgb.ansi16=function(i,e=null){let[t,n,r]=i,a=e===null?de.rgb.hsv(i)[2]:e;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return a===2&&(s+=60),s};de.hsv.ansi16=function(i){return de.rgb.ansi16(de.hsv.rgb(i),i[2])};de.rgb.ansi256=function(i){let e=i[0],t=i[1],n=i[2];return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)};de.ansi16.rgb=function(i){let e=i%10;if(e===0||e===7)return i>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let t=(~~(i>50)+1)*.5,n=(e&1)*t*255,r=(e>>1&1)*t*255,a=(e>>2&1)*t*255;return[n,r,a]};de.ansi256.rgb=function(i){if(i>=232){let a=(i-232)*10+8;return[a,a,a]}i-=16;let e,t=Math.floor(i/36)/5*255,n=Math.floor((e=i%36)/6)/5*255,r=e%6/5*255;return[t,n,r]};de.rgb.hex=function(i){let t=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};de.hex.rgb=function(i){let e=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(o=>o+o).join(""));let n=parseInt(t,16),r=n>>16&255,a=n>>8&255,s=n&255;return[r,a,s]};de.rgb.hcg=function(i){let e=i[0]/255,t=i[1]/255,n=i[2]/255,r=Math.max(Math.max(e,t),n),a=Math.min(Math.min(e,t),n),s=r-a,o,u;return s<1?o=a/(1-s):o=0,s<=0?u=0:r===e?u=(t-n)/s%6:r===t?u=2+(n-e)/s:u=4+(e-t)/s,u/=6,u%=1,[u*360,s*100,o*100]};de.hsl.hcg=function(i){let e=i[1]/100,t=i[2]/100,n=t<.5?2*e*t:2*e*(1-t),r=0;return n<1&&(r=(t-.5*n)/(1-n)),[i[0],n*100,r*100]};de.hsv.hcg=function(i){let e=i[1]/100,t=i[2]/100,n=e*t,r=0;return n<1&&(r=(t-n)/(1-n)),[i[0],n*100,r*100]};de.hcg.rgb=function(i){let e=i[0]/360,t=i[1]/100,n=i[2]/100;if(t===0)return[n*255,n*255,n*255];let r=[0,0,0],a=e%1*6,s=a%1,o=1-s,u=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return u=(1-t)*n,[(t*r[0]+u)*255,(t*r[1]+u)*255,(t*r[2]+u)*255]};de.hcg.hsv=function(i){let e=i[1]/100,t=i[2]/100,n=e+t*(1-e),r=0;return n>0&&(r=e/n),[i[0],r*100,n*100]};de.hcg.hsl=function(i){let e=i[1]/100,n=i[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[i[0],r*100,n*100]};de.hcg.hwb=function(i){let e=i[1]/100,t=i[2]/100,n=e+t*(1-e);return[i[0],(n-e)*100,(1-n)*100]};de.hwb.hcg=function(i){let e=i[1]/100,n=1-i[2]/100,r=n-e,a=0;return r<1&&(a=(n-r)/(1-r)),[i[0],r*100,a*100]};de.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]};de.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]};de.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]};de.gray.hsl=function(i){return[0,0,i[0]]};de.gray.hsv=de.gray.hsl;de.gray.hwb=function(i){return[0,100,i[0]]};de.gray.cmyk=function(i){return[0,0,0,i[0]]};de.gray.lab=function(i){return[i[0],0,0]};de.gray.hex=function(i){let e=Math.round(i[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n};de.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}});var qF=D((SEe,jF)=>{h();m();var vm=wE();function jre(){let i={},e=Object.keys(vm);for(let t=e.length,n=0;n{h();m();var RE=wE(),Qre=qF(),Ep={},Hre=Object.keys(RE);function Yre(i){let e=function(...t){let n=t[0];return n==null?n:(n.length>1&&(t=n),i(t))};return"conversion"in i&&(e.conversion=i.conversion),e}function zre(i){let e=function(...t){let n=t[0];if(n==null)return n;n.length>1&&(t=n);let r=i(t);if(typeof r=="object")for(let a=r.length,s=0;s{Ep[i]={},Object.defineProperty(Ep[i],"channels",{value:RE[i].channels}),Object.defineProperty(Ep[i],"labels",{value:RE[i].labels});let e=Qre(i);Object.keys(e).forEach(n=>{let r=e[n];Ep[i][n]=zre(r),Ep[i][n].raw=Yre(r)})});GF.exports=Ep});var JF=D((CEe,WF)=>{"use strict";h();m();var QF=(i,e)=>(...t)=>`\x1B[${i(...t)+e}m`,HF=(i,e)=>(...t)=>{let n=i(...t);return`\x1B[${38+e};5;${n}m`},YF=(i,e)=>(...t)=>{let n=i(...t);return`\x1B[${38+e};2;${n[0]};${n[1]};${n[2]}m`},ym=i=>i,zF=(i,e,t)=>[i,e,t],gp=(i,e,t)=>{Object.defineProperty(i,e,{get:()=>{let n=t();return Object.defineProperty(i,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},BE,Ap=(i,e,t,n)=>{BE===void 0&&(BE=KF());let r=n?10:0,a={};for(let[s,o]of Object.entries(BE)){let u=s==="ansi16"?"ansi":s;s===e?a[u]=i(t,r):typeof o=="object"&&(a[u]=i(o[e],r))}return a};function Wre(){let i=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[t,n]of Object.entries(e)){for(let[r,a]of Object.entries(n))e[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},n[r]=e[r],i.set(a[0],a[1]);Object.defineProperty(e,t,{value:n,enumerable:!1})}return Object.defineProperty(e,"codes",{value:i,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",gp(e.color,"ansi",()=>Ap(QF,"ansi16",ym,!1)),gp(e.color,"ansi256",()=>Ap(HF,"ansi256",ym,!1)),gp(e.color,"ansi16m",()=>Ap(YF,"rgb",zF,!1)),gp(e.bgColor,"ansi",()=>Ap(QF,"ansi16",ym,!0)),gp(e.bgColor,"ansi256",()=>Ap(HF,"ansi256",ym,!0)),gp(e.bgColor,"ansi16m",()=>Ap(YF,"rgb",zF,!0)),e}Object.defineProperty(WF,"exports",{enumerable:!0,get:Wre})});var ZF=D((REe,XF)=>{"use strict";h();m();XF.exports={stdout:!1,stderr:!1}});var tN=D((xEe,eN)=>{"use strict";h();m();var Jre=(i,e,t)=>{let n=i.indexOf(e);if(n===-1)return i;let r=e.length,a=0,s="";do s+=i.substr(a,n-a)+e+t,a=n+r,n=i.indexOf(e,a);while(n!==-1);return s+=i.substr(a),s},Xre=(i,e,t,n)=>{let r=0,a="";do{let s=i[n-1]==="\r";a+=i.substr(r,(s?n-1:n)-r)+e+(s?`\r `:` `)+t,r=n+1,n=i.indexOf(` `,r)}while(n!==-1);return a+=i.substr(r),a};eN.exports={stringReplaceAll:Jre,stringEncaseCRLFWithFirstIndex:Xre}});var sN=D((VEe,aN)=>{"use strict";h();m();var Zre=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,iN=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,eae=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,tae=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,iae=new Map([["n",` `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function rN(i){let e=i[0]==="u",t=i[1]==="{";return e&&!t&&i.length===5||i[0]==="x"&&i.length===3?String.fromCharCode(parseInt(i.slice(1),16)):e&&t?String.fromCodePoint(parseInt(i.slice(2,-1),16)):iae.get(i)||i}function nae(i,e){let t=[],n=e.trim().split(/\s*,\s*/g),r;for(let a of n){let s=Number(a);if(!Number.isNaN(s))t.push(s);else if(r=a.match(eae))t.push(r[2].replace(tae,(o,u,p)=>u?rN(u):p));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${i}')`)}return t}function rae(i){iN.lastIndex=0;let e=[],t;for(;(t=iN.exec(i))!==null;){let n=t[1];if(t[2]){let r=nae(n,t[2]);e.push([n].concat(r))}else e.push([n])}return e}function nN(i,e){let t={};for(let r of e)for(let a of r.styles)t[a[0]]=r.inverse?null:a.slice(1);let n=i;for(let[r,a]of Object.entries(t))if(Array.isArray(a)){if(!(r in n))throw new Error(`Unknown Chalk style: ${r}`);n=a.length>0?n[r](...a):n[r]}return n}aN.exports=(i,e)=>{let t=[],n=[],r=[];if(e.replace(Zre,(a,s,o,u,p,d)=>{if(s)r.push(rN(s));else if(u){let l=r.join("");r=[],n.push(t.length===0?l:nN(i,t)(l)),t.push({inverse:o,styles:rae(u)})}else if(p){if(t.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(nN(i,t)(r.join(""))),r=[],t.pop()}else r.push(d)}),n.push(r.join("")),t.length>0){let a=`Chalk template literal is missing ${t.length} closing bracket${t.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return n.join("")}});var fN=D((UEe,cN)=>{"use strict";h();m();var ec=JF(),{stdout:xE,stderr:PE}=ZF(),{stringReplaceAll:aae,stringEncaseCRLFWithFirstIndex:sae}=tN(),{isArray:Em}=Array,uN=["ansi","ansi","ansi256","ansi16m"],Tp=Object.create(null),oae=(i,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let t=xE?xE.level:0;i.level=e.level===void 0?t:e.level},$E=class{constructor(e){return pN(e)}},pN=i=>{let e={};return oae(e,i),e.template=(...t)=>lN(e.template,...t),Object.setPrototypeOf(e,gm.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=$E,e.template};function gm(i){return pN(i)}for(let[i,e]of Object.entries(ec))Tp[i]={get(){let t=Am(this,VE(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,i,{value:t}),t}};Tp.visible={get(){let i=Am(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:i}),i}};var dN=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let i of dN)Tp[i]={get(){let{level:e}=this;return function(...t){let n=VE(ec.color[uN[e]][i](...t),ec.color.close,this._styler);return Am(this,n,this._isEmpty)}}};for(let i of dN){let e="bg"+i[0].toUpperCase()+i.slice(1);Tp[e]={get(){let{level:t}=this;return function(...n){let r=VE(ec.bgColor[uN[t]][i](...n),ec.bgColor.close,this._styler);return Am(this,r,this._isEmpty)}}}}var uae=Object.defineProperties(()=>{},{...Tp,level:{enumerable:!0,get(){return this._generator.level},set(i){this._generator.level=i}}}),VE=(i,e,t)=>{let n,r;return t===void 0?(n=i,r=e):(n=t.openAll+i,r=e+t.closeAll),{open:i,close:e,openAll:n,closeAll:r,parent:t}},Am=(i,e,t)=>{let n=(...r)=>Em(r[0])&&Em(r[0].raw)?oN(n,lN(n,...r)):oN(n,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(n,uae),n._generator=i,n._styler=e,n._isEmpty=t,n},oN=(i,e)=>{if(i.level<=0||!e)return i._isEmpty?"":e;let t=i._styler;if(t===void 0)return e;let{openAll:n,closeAll:r}=t;if(e.indexOf("\x1B")!==-1)for(;t!==void 0;)e=aae(e,t.close,t.open),t=t.parent;let a=e.indexOf(` `);return a!==-1&&(e=sae(e,r,n,a)),n+e+r},LE,lN=(i,...e)=>{let[t]=e;if(!Em(t)||!Em(t.raw))return e.join(" ");let n=e.slice(1),r=[t.raw[0]];for(let a=1;a{h();m();(function(i){"use strict";i.console||(i.console={});for(var e=i.console,t,n,r=function(){},a=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=a.pop();)e[t]||(e[t]={});for(;n=s.pop();)e[n]||(e[n]=r)})(typeof window>"u"?mN:window)});var EN=D(Cs=>{"use strict";h();m();var pae=Cs&&Cs.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Cs,"__esModule",{value:!0});Cs.DebugLogger=Cs.newDebugLogger=void 0;var Dp=pae(fN()),dae=Mt();function yN(i){let e="";for(let t=0;tr.trim()).includes(i)}var tc=0,ME="",kE=0,vN=[];function cae(i){let e=lae(i),t=new ic(i,e);if(e){global.console=hN(),vN.push(t),kE=Math.max(kE,i.length);for(let n of vN)ic.prototype.updateHeader.call(n,kE)}return t}Cs.newDebugLogger=cae;function fae(){tc++,ME=yN(tc)}function mae(){tc>0&&(tc--,ME=yN(tc))}var ic=class{constructor(e,t){this.name=e,this.enabled=t,this.header=Dp.default.blackBright(`[${e}] `)}updateHeader(e){let t="";if(e>this.name.length){let n=e-this.name.length;for(let r=0;r{h();m();gN.exports={existsSync:Deno.ensureFileSync,writeFileSync:Deno.writeTextFile}});var SN=D((ZEe,DN)=>{"use strict";h();m();function la(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function TN(i,e){for(var t="",n=0,r=-1,a=0,s,o=0;o<=i.length;++o){if(o2){var u=t.lastIndexOf("/");if(u!==t.length-1){u===-1?(t="",n=0):(t=t.slice(0,u),n=t.length-1-t.lastIndexOf("/")),r=o,a=0;continue}}else if(t.length===2||t.length===1){t="",n=0,r=o,a=0;continue}}e&&(t.length>0?t+="/..":t="..",n=2)}else t.length>0?t+="/"+i.slice(r+1,o):t=i.slice(r+1,o),n=o-r-1;r=o,a=0}else s===46&&a!==-1?++a:a=-1}return t}function hae(i,e){var t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return t?t===e.root?t+n:t+i+n:n}var Sp={resolve:function(){for(var e="",t=!1,n,r=arguments.length-1;r>=-1&&!t;r--){var a;r>=0?a=arguments[r]:(n===void 0&&(n=process.cwd()),a=n),la(a),a.length!==0&&(e=a+"/"+e,t=a.charCodeAt(0)===47)}return e=TN(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(la(e),e.length===0)return".";var t=e.charCodeAt(0)===47,n=e.charCodeAt(e.length-1)===47;return e=TN(e,!t),e.length===0&&!t&&(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return la(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=n:e+="/"+n)}return e===void 0?".":Sp.normalize(e)},relative:function(e,t){if(la(e),la(t),e===t||(e=Sp.resolve(e),t=Sp.resolve(t),e===t))return"";for(var n=1;np){if(t.charCodeAt(s+l)===47)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else a>p&&(e.charCodeAt(n+l)===47?d=l:l===0&&(d=0));break}var c=e.charCodeAt(n+l),v=t.charCodeAt(s+l);if(c!==v)break;c===47&&(d=l)}var y="";for(l=n+d+1;l<=r;++l)(l===r||e.charCodeAt(l)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+t.slice(s+d):(s+=d,t.charCodeAt(s)===47&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(la(e),e.length===0)return".";for(var t=e.charCodeAt(0),n=t===47,r=-1,a=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),t===47){if(!a){r=s;break}}else a=!1;return r===-1?n?"/":".":n&&r===1?"//":e.slice(0,r)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');la(e);var n=0,r=-1,a=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var o=t.length-1,u=-1;for(s=e.length-1;s>=0;--s){var p=e.charCodeAt(s);if(p===47){if(!a){n=s+1;break}}else u===-1&&(a=!1,u=s+1),o>=0&&(p===t.charCodeAt(o)?--o===-1&&(r=s):(o=-1,r=u))}return n===r?r=u:r===-1&&(r=e.length),e.slice(n,r)}else{for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===47){if(!a){n=s+1;break}}else r===-1&&(a=!1,r=s+1);return r===-1?"":e.slice(n,r)}},extname:function(e){la(e);for(var t=-1,n=0,r=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var u=e.charCodeAt(o);if(u===47){if(!a){n=o+1;break}continue}r===-1&&(a=!1,r=o+1),u===46?t===-1?t=o:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||r===-1||s===0||s===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return hae("/",e)},parse:function(e){la(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var n=e.charCodeAt(0),r=n===47,a;r?(t.root="/",a=1):a=0;for(var s=-1,o=0,u=-1,p=!0,d=e.length-1,l=0;d>=a;--d){if(n=e.charCodeAt(d),n===47){if(!p){o=d+1;break}continue}u===-1&&(p=!1,u=d+1),n===46?s===-1?s=d:l!==1&&(l=1):s!==-1&&(l=-1)}return s===-1||u===-1||l===0||l===1&&s===u-1&&s===o+1?u!==-1&&(o===0&&r?t.base=t.name=e.slice(1,u):t.base=t.name=e.slice(o,u)):(o===0&&r?(t.name=e.slice(1,s),t.base=e.slice(1,u)):(t.name=e.slice(o,s),t.base=e.slice(o,u)),t.ext=e.slice(s,u)),o>0?t.dir=e.slice(0,o-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Sp.posix=Sp;DN.exports=Sp});var RN=D(Os=>{"use strict";h();m();var NN=Os&&Os.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Os,"__esModule",{value:!0});Os.extractSubgraphsFromSupergraph=Os.extractSubgraphsNamesAndUrlsFromSupergraph=void 0;var tt=bt(),Im=Yo(),vae=vi(),_N=Yo(),ti=Mt(),CN=HE(),yae=Ll(),bN=pr(),Eae=yl(),gae=Wf(),IN=NN(AN()),Aae=NN(SN()),Tae=Mt(),Sm=wi();function Dae(i,e,t){return i.types().filter(n=>!e.isSpecType(n)&&!t.isSpecType(n))}function Sae(i){let[e,t]=(0,CN.validateSupergraph)(i),[n]=ON(i,t);return n.values().map(r=>({name:r.name,url:r.url}))}Os.extractSubgraphsNamesAndUrlsFromSupergraph=Sae;function ON(i,e){let t=new _N.Subgraphs,n=e.graphDirective(i),r=e.graphEnum(i),a=new Map;for(let s of r.values){let o=s.appliedDirectivesOf(n);if(!o.length)throw new Error(`Value ${s} of join__Graph enum has no @join__graph directive`);let u=o[0].arguments(),p=new _N.Subgraph(u.name,u.url,(0,Im.newEmptyFederation2Schema)());t.add(p),a.set(s.name,u.name)}return[t,a]}var _m=class{constructor(e,t){this.originalError=e,this.subgraph=t}};function _ae(i,e,t,n,r){let a=new Set,s=i.schemaDefinition.roots().map(o=>o.type);for(let o of i.types()){let{isEntityWithKeyInSubgraph:u,typesInFederationDirectives:p}=r(o,e);u&&s.push(o),p.forEach(d=>s.push(d))}for(;s.length>0;){let o=s.pop();if(t(o),!a.has(o.name))switch(a.add(o.name),o.kind){case"InterfaceType":o.allImplementations().forEach(u=>s.push(u));case"ObjectType":o.interfaces().forEach(u=>s.push(u));for(let u of o.fields()){let{isInSubgraph:p,typesInFederationDirectives:d}=n(u,e);p&&(u.arguments().forEach(l=>s.push((0,tt.baseType)(l.type))),s.push((0,tt.baseType)(u.type)),d.forEach(l=>s.push(l)))}break;case"InputObjectType":for(let u of o.fields()){let{isInSubgraph:p,typesInFederationDirectives:d}=n(u,e);p&&(s.push((0,tt.baseType)(u.type)),d.forEach(l=>s.push(l)))}break;case"UnionType":o.members().forEach(u=>s.push(u.type));break}}for(let o of i.directives())o.hasExecutableLocations()&&o.arguments().forEach(u=>s.push((0,tt.baseType)(u.type)))}function bae(i,e,t,n){let r=new Map;for(let a of e){let s=new Set;_ae(i,a,o=>s.add(o.name),t,n),r.set(a,s)}return r}function UE(i,e){if(!i)return[];let t=[];return(0,gae.parseSelectionSet)({parentType:e,source:i,fieldAccessor:(n,r)=>{let a=n.field(r);return a&&t.push((0,tt.baseType)(a.type)),a},validate:!1}),t}function Iae(i,e=!0){let[t,n,r,a]=(0,CN.validateSupergraph)(i),s=n.version.equals(new vae.FeatureVersion(0,1));try{let[o,u]=ON(i,n),p=y=>{let g=y.arguments().graph;if(!g)return;let T=u.get(g);(0,ti.assert)(T,()=>`Invalid graph name ${g} found in ${y} on ${y.parent}: does not match a graph defined in the @join__Graph enum`);let S=o.get(T);return(0,ti.assert)(S,"All subgraphs should have been created by `collectEmptySubgraphs`"),S},d=new Map;for(let[y,g]of u.entries())d.set(g,y);let l=y=>{let g=d.get(y);return(0,ti.assert)(g,()=>`Invalid subgraph name ${y} found: does not match a subgraph defined in the @join__Graph enum`),g},c=Dae(i,n,t.coreDefinition),v={supergraph:i,subgraphs:o,joinSpec:n,contextSpec:r,costSpec:a,filteredTypes:c,getSubgraph:p,getSubgraphEnumValue:l};s?Lae(v):Rae(v);for(let y of o)if(e)try{y.validate()}catch(g){throw new _m(g,y)}else y.assumeValid();return[o,d]}catch(o){let u=o,p;o instanceof _m&&(u=o.originalError,p=o.subgraph);let d=p?`subgraph "${p.name}"`:"subgraphs";if(s){let l=`Error extracting ${d} from the supergraph: this might be due to errors in subgraphs that were mistakenly ignored by federation 0.x versions but are rejected by federation 2. Please try composing your subgraphs with federation 2: this should help precisely pinpoint the problems and, once fixed, generate a correct federation 2 supergraph`;throw new Error(`${l}. Details: ${GE(u)}`)}else{let l=`Unexpected error extracting ${d} from the supergraph: this is either a bug, or the supergraph has been corrupted`,c=p?` `+Bae(p):"";throw new Error(`${l}. Details: ${GE(u)}${c}`)}}}Os.extractSubgraphsFromSupergraph=Iae;function Fae(i){let{supergraph:e,joinSpec:t,filteredTypes:n,getSubgraph:r}=i,a=t.typeDirective(e),s=[],o=[],u=[],p=[];for(let d of n){let l=d.appliedDirectivesOf(a);switch(d.kind){case"InterfaceType":case"ObjectType":s.push({type:d,subgraphsInfo:Dm(d,d.appliedDirectivesOf(a),i)});break;case"InputObjectType":o.push({type:d,subgraphsInfo:Dm(d,d.appliedDirectivesOf(a),i)});break;case"EnumType":u.push({type:d,subgraphsInfo:Dm(d,d.appliedDirectivesOf(a),i)});break;case"UnionType":p.push({type:d,subgraphsInfo:Dm(d,d.appliedDirectivesOf(a),i)});break;case"ScalarType":for(let c of l){let v=r(c);(0,ti.assert)(v,()=>`Should have found the subgraph for ${c}`);let y=v.schema.addType((0,tt.newNamedType)(d.kind,d.name));i.costSpec&&_p(d,y,v,i.costSpec)}break}}return{objOrItfTypes:s,inputObjTypes:o,enumTypes:u,unionTypes:p}}function Dm(i,e,t){var n;let{supergraph:r,getSubgraph:a,getSubgraphEnumValue:s}=t;(0,ti.assert)(e.length>0,`Missing @join__type on ${i}`);let o=new Map;for(let p of e){let{graph:d,key:l,extension:c,resolvable:v,isInterfaceObject:y}=p.arguments(),g=o.get(d);if(!g){let T=a(p);(0,ti.assert)(T,()=>`Should have found the subgraph for ${p}`);let S=y?"ObjectType":i.kind,N=T.schema.addType((0,tt.newNamedType)(S,i.name));y&&N.applyDirective("interfaceObject"),g={type:N,subgraph:T},o.set(d,g)}if(l){let T=g.type.applyDirective("key",{fields:l,resolvable:v});c&&T.setOfExtension(g.type.newExtension())}}let u=(n=t.contextSpec)===null||n===void 0?void 0:n.contextDirective(r);if(u){let p=i.appliedDirectivesOf(u);for(let d of p){let{name:l}=d.arguments(),c=l.match(/^(.*)__([A-Za-z]\w*)$/),v=c?c[1]:void 0,y=c?c[2]:void 0;(0,ti.assert)(v,`Invalid context name ${l} found in ${d} on ${d.parent}: does not match the expected pattern`);let g=o.get(s(v)),T=g?.subgraph.metadata().contextDirective();g&&T&&(0,Sm.isFederationDirectiveDefinedInSchema)(T)&&g.type.applyDirective(T,{name:y})}}return o}function Nae(i,e){let t=i.joinSpec.fieldDirective(i.supergraph),n=i.joinSpec.implementsDirective(i.supergraph);(0,ti.assert)(n,"@join__implements should existing for a fed2 supergraph");for(let{type:r,subgraphsInfo:a}of e){let s=r.appliedDirectivesOf(n);for(let o of s){let u=o.arguments();a.get(u.graph).type.addImplementedInterface(u.interface)}if(i.costSpec)for(let{type:o,subgraph:u}of a.values())_p(r,o,u,i.costSpec);for(let o of r.fields()){let u=o.appliedDirectivesOf(t);if(u.length===0){let p=(0,tt.isObjectType)(r)&&a.size>1;for(let{type:d,subgraph:l}of a.values())bm({field:o,type:d,subgraph:l,isShareable:p,costSpec:i.costSpec})}else{let p=(0,tt.isObjectType)(r)&&u.filter(d=>{let l=d.arguments();return!l.external&&!l.usedOverridden}).length>1;for(let d of u){let l=d.arguments();if(!l.graph)continue;let{type:c,subgraph:v}=a.get(l.graph);bm({field:o,type:c,subgraph:v,isShareable:p,joinFieldArgs:l,costSpec:i.costSpec})}}}}}function Cae(i,e){let t=i.joinSpec.fieldDirective(i.supergraph);for(let{type:n,subgraphsInfo:r}of e)for(let a of n.fields()){let s=a.appliedDirectivesOf(t);if(s.length===0)for(let{type:o,subgraph:u}of r.values())KE({field:a,type:o,subgraph:u,costSpec:i.costSpec});else for(let o of s){let u=o.arguments();if(!u.graph)continue;let{type:p,subgraph:d}=r.get(u.graph);KE({field:a,type:p,subgraph:d,joinFieldArgs:u,costSpec:i.costSpec})}}}function Oae(i,e){let t=i.joinSpec.enumValueDirective(i.supergraph);for(let{type:n,subgraphsInfo:r}of e){if(i.costSpec)for(let{type:a,subgraph:s}of r.values())_p(n,a,s,i.costSpec);for(let a of n.values){let s=t?a.appliedDirectivesOf(t):[];if(s.length===0)for(let{type:o}of r.values())o.addValue(a.name);else for(let o of s){let u=o.arguments(),{type:p}=r.get(u.graph);p.addValue(a.name)}}}}function wae(i,e){let t=i.joinSpec.unionMemberDirective(i.supergraph);for(let{type:n,subgraphsInfo:r}of e){let a=t?n.appliedDirectivesOf(t):[];if(a.length===0)for(let{type:s,subgraph:o}of r.values())for(let u of n.types()){let p=o.schema.type(u.name);p&&s.addType(p)}else for(let s of a){let o=s.arguments(),{type:u,subgraph:p}=r.get(o.graph);u.addType(p.schema.type(o.member))}}}function Rae(i){let{objOrItfTypes:e,inputObjTypes:t,enumTypes:n,unionTypes:r}=Fae(i);Nae(i,e),Cae(i,t),Oae(i,n),wae(i,r);let a=i.supergraph.directives().filter(s=>s.hasExecutableLocations());for(let s of i.subgraphs){(0,Im.removeInactiveProvidesAndRequires)(s.schema),wN(s.schema);for(let o of a)(0,tt.copyDirectiveDefinitionToSchema)({definition:o,schema:s.schema,copyDirectiveApplicationsInArguments:!1,locationFilter:u=>(0,tt.isExecutableDirectiveLocation)(u)})}}var FN="APOLLO_FEDERATION_DEBUG_SUBGRAPHS";function Bae(i){if(!!!(0,Tae.validateStringContainsBoolean)(process.env[FN]))return`Re-run with environment variable '${FN}' set to 'true' to extract the invalid subgraph`;try{let t=`extracted-subgraph-${i.name}-${Date.now()}.graphql`,n=Aae.default.resolve(t);if(IN.default.existsSync(n))throw new Error(`candidate file ${t} already existed`);return IN.default.writeFileSync(n,(0,Eae.printSchema)(i.schema)),`The (invalid) extracted subgraph has been written in: ${n}.`}catch(t){return`Was not able to print generated subgraph for "${i.name}" because: ${GE(t)}`}}function _p(i,e,t,n){let r=n.costDirective(i.schema());if(r){let s=i.appliedDirectivesOf(r)[0];s&&e.applyDirective(t.metadata().costDirective().name,s.arguments())}let a=n.listSizeDirective(i.schema());if(a){let s=i.appliedDirectivesOf(a)[0];s&&e.applyDirective(t.metadata().listSizeDirective().name,s.arguments())}}function GE(i){let e=(0,Sm.errorCauses)(i);return e?(0,Sm.printErrors)(e):String(i)}function bm({field:i,type:e,subgraph:t,isShareable:n,joinFieldArgs:r,costSpec:a}){let s=r?.type?QE(r.type,t.schema,t.name):nc(i.type,t.schema,t.name),o=e.addField(i.name,s);for(let d of i.arguments()){let l=o.addArgument(d.name,nc(d.type,t.schema,t.name),d.defaultValue);a&&_p(d,l,t,a)}if(r?.requires&&o.applyDirective(t.metadata().requiresDirective(),{fields:r.requires}),r?.provides&&o.applyDirective(t.metadata().providesDirective(),{fields:r.provides}),r?.contextArguments){let d=t.metadata().fromContextDirective();if((0,Sm.isFederationDirectiveDefinedInSchema)(d))for(let l of r.contextArguments){let c=l.context.match(/^.*__([A-Za-z]\w*)$/);if(!c)throw new Error(`Invalid context argument: ${l.context}`);o.addArgument(l.name,QE(l.type,t.schema,t.name));let v=o.argument(l.name);v?.applyDirective(d,{field:`$${c[1]} ${l.selection}`})}else throw new Error(`@fromContext directive is not defined in the subgraph schema: ${t.name}`)}let u=!!r?.external;u&&o.applyDirective(t.metadata().externalDirective());let p=!!r?.usedOverridden;return p&&!r?.overrideLabel&&o.applyDirective(t.metadata().externalDirective(),{reason:"[overridden]"}),r?.override&&o.applyDirective(t.metadata().overrideDirective(),{from:r.override,...r.overrideLabel?{label:r.overrideLabel}:{}}),n&&!u&&!p&&o.applyDirective(t.metadata().shareableDirective()),a&&_p(i,o,t,a),o}function KE({field:i,type:e,subgraph:t,joinFieldArgs:n,costSpec:r}){let a=n?.type?QE(n?.type,t.schema,t.name):nc(i.type,t.schema,t.name),s=e.addField(i.name,a);return s.defaultValue=i.defaultValue,r&&_p(i,s,t,r),s}function Lae({supergraph:i,subgraphs:e,joinSpec:t,filteredTypes:n,getSubgraph:r}){let a=t.typeDirective(i),s=t.ownerDirective(i),o=t.fieldDirective(i),u=bae(i,e.names(),(l,c)=>{var v;let y=l.appliedDirectivesOf(o);if(y.length){let g=y.find(T=>{var S;return((S=r(T))===null||S===void 0?void 0:S.name)===c});if(g){let T=g.arguments();return{isInSubgraph:!0,typesInFederationDirectives:UE(T.provides,(0,tt.baseType)(l.type)).concat(UE(T.requires,l.parent))}}else return{isInSubgraph:!1,typesInFederationDirectives:[]}}else{let g=s?l.parent.appliedDirectivesOf(s):[];return{isInSubgraph:!g.length||((v=r(g[0]))===null||v===void 0?void 0:v.name)==c,typesInFederationDirectives:[]}}},(l,c)=>{let y=l.appliedDirectivesOf(a).find(g=>{var T;return g.arguments().key&&((T=r(g))===null||T===void 0?void 0:T.name)===c});return y?{isEntityWithKeyInSubgraph:!0,typesInFederationDirectives:UE(y.arguments().key,l)}:{isEntityWithKeyInSubgraph:!1,typesInFederationDirectives:[]}}),p=(l,c)=>{var v,y;return(y=(v=u.get(c))===null||v===void 0?void 0:v.has(l.name))!==null&&y!==void 0?y:!1};for(let l of n){let c=l.appliedDirectivesOf(a);if(c.length)for(let v of c){let y=v.arguments(),g=r(v);(0,ti.assert)(g,()=>`Should have found the subgraph for ${v}`);let T=g.schema,S=T.type(l.name);if(!S){let N=y.isInterfaceObject?"ObjectType":l.kind;S=T.addType((0,tt.newNamedType)(N,l.name)),y.isInterfaceObject&&S.applyDirective("interfaceObject")}if(y.key){let{resolvable:N}=y,F=S.applyDirective("key",{fields:y.key,resolvable:N});y.extension&&F.setOfExtension(S.newExtension())}}else for(let v of e)p(l,v.name)&&v.schema.addType((0,tt.newNamedType)(l.kind,l.name))}for(let l of n)switch(l.kind){case"ObjectType":case"InterfaceType":for(let c of l.interfaceImplementations()){let v=c.interface.name;for(let y of e){let g=y.schema.type(l.name),T=y.schema.type(v);g&&T&&g.addImplementedInterface(v)}}case"InputObjectType":for(let c of l.fields()){let v=c.appliedDirectivesOf(o);if(v.length){let y=(0,tt.isObjectType)(l)&&v.length>1;for(let g of v){let T=r(g);if(!T)continue;let S=g.arguments();jE(c,T,y,S)}}else{let y=s?l.appliedDirectivesOf(s):[];if(y.length>0){(0,ti.assert)(y.length==1,()=>`Found multiple join__owner directives on type ${l}`);let g=r(y[0]);(0,ti.assert)(g,()=>`Should have found the subgraph for ${y[0]}`),jE(c,g,!1)}else{let g=(0,tt.baseType)(c.type),T=(0,tt.isObjectType)(l)&&e.values().filter(S=>S.schema.type(l.name)).length>1;for(let S of e)S.schema.type(g.name)&&jE(c,S,T)}}}break;case"EnumType":for(let c of e){let v=c.schema.type(l.name);if(v){(0,ti.assert)((0,tt.isEnumType)(v),()=>`${v} should be an enum but found a ${v.kind}`);for(let y of l.values)v.addValue(y.name)}}break;case"UnionType":for(let c of e){let v=c.schema.type(l.name);if(v){(0,ti.assert)((0,tt.isUnionType)(v),()=>`${v} should be an enum but found a ${v.kind}`);for(let y of l.types().map(g=>g.name)){let g=c.schema.type(y);g&&v.addType(g)}}}break}let d=i.directives().filter(l=>l.hasExecutableLocations());for(let l of e){xae(l,i,!0),(0,Im.removeInactiveProvidesAndRequires)(l.schema),wN(l.schema);for(let c of d)(0,tt.copyDirectiveDefinitionToSchema)({definition:c,schema:l.schema,copyDirectiveApplicationsInArguments:!1,locationFilter:v=>(0,tt.isExecutableDirectiveLocation)(v)})}return e}function jE(i,e,t,n){let r=e.schema.type(i.parent.name);r&&(i instanceof tt.FieldDefinition?bm({field:i,subgraph:e,type:r,isShareable:t,joinFieldArgs:n}):KE({field:i,subgraph:e,type:r,joinFieldArgs:n}))}function QE(i,e,t){try{return(0,yae.builtTypeReference)(i,e)}catch(n){(0,ti.assert)(!1,()=>`Cannot parse type "${i}" in subgraph ${t}: ${n}`)}}function nc(i,e,t){switch(i.kind){case"ListType":return new tt.ListType(nc(i.ofType,e,t));case"NonNullType":return new tt.NonNullType(nc(i.ofType,e,t));default:let n=e.type(i.name);return(0,ti.assert)(n,()=>`Cannot find type "${i.name}" in subgraph "${t}"`),n}}function xae(i,e,t){let n=i.metadata();for(let r of i.schema.types())if(!(!(0,tt.isObjectType)(r)&&!(0,tt.isInterfaceType)(r))){for(let a of r.appliedDirectivesOf(n.keyDirective())){let s=t||!!a.ofExtension();qE(i,r,a,e,s)}for(let a of r.fields()){for(let o of a.appliedDirectivesOf(n.requiresDirective()))qE(i,r,o,e);let s=(0,tt.baseType)(a.type);for(let o of a.appliedDirectivesOf(n.providesDirective()))(0,ti.assert)((0,tt.isObjectType)(s)||(0,tt.isInterfaceType)(s),()=>`Found @provides on field ${a.coordinate} whose type ${a.type} (${s.kind}) is not an object or interface `),qE(i,s,o,e)}Pae(n,r)}}function qE(i,e,t,n,r=!1){let a=i.metadata().externalDirective(),s=function(o,u){let p=o.field(u);if(p)return r&&p.hasAppliedDirective(a)&&p.appliedDirectivesOf(a).forEach(v=>v.remove()),p;(0,ti.assert)(!(0,tt.isUnionType)(o),()=>`Shouldn't select field ${u} from union type ${o}`);let l=n.type(o.name).field(u);(0,ti.assert)(l,()=>`No field named ${u} found on type ${o.name} in the supergraph`);let c=bm({field:l,subgraph:i,type:o,isShareable:!1});return r||c.applyDirective(a),c};try{(0,Im.parseFieldSetArgument)({parentType:e,directive:t,fieldAccessor:s,validate:!1})}catch{}}function Pae(i,e){for(let t of e.interfaces())for(let n of t.fields()){let r=e.field(n.name);r?r.hasAppliedDirective(i.externalDirective())&&Vae(r,n):$ae(i,n,e)}}function $ae(i,e,t){let n=t.addField(e.name,e.type);for(let r of e.arguments())n.addArgument(r.name,r.type,r.defaultValue);n.applyDirective(i.externalDirective())}function Vae(i,e){(0,bN.isSubtype)(e.type,i.type)||((0,ti.assert)((0,bN.isSubtype)(i.type,e.type),()=>`For ${i.coordinate}, expected ${e.type} and ${i.type} to be in a subtyping relationship`),i.type=e.type)}function wN(i){for(let e of i.types())switch(e.kind){case"ObjectType":case"InterfaceType":case"InputObjectType":e.hasFields()||e.removeRecursive();break;case"UnionType":e.membersCount()===0&&e.removeRecursive();break}}});var HE=D(tn=>{"use strict";h();m();Object.defineProperty(tn,"__esModule",{value:!0});tn.Supergraph=tn.isFed1Supergraph=tn.validateSupergraph=tn.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES=tn.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES=void 0;var kae=bt(),XE=vi(),YE=cm(),zE=pm(),WE=zl(),BN=Ll(),JE=RN(),Wo=$i();tn.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES=new Set(["https://specs.apollo.dev/core/v0.1","https://specs.apollo.dev/core/v0.2","https://specs.apollo.dev/join/v0.1","https://specs.apollo.dev/join/v0.2","https://specs.apollo.dev/join/v0.3","https://specs.apollo.dev/join/v0.4","https://specs.apollo.dev/join/v0.5","https://specs.apollo.dev/tag/v0.1","https://specs.apollo.dev/tag/v0.2","https://specs.apollo.dev/tag/v0.3","https://specs.apollo.dev/inaccessible/v0.1","https://specs.apollo.dev/inaccessible/v0.2"]);tn.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES=new Set(["https://specs.apollo.dev/core/v0.1","https://specs.apollo.dev/core/v0.2","https://specs.apollo.dev/join/v0.1","https://specs.apollo.dev/join/v0.2","https://specs.apollo.dev/join/v0.3","https://specs.apollo.dev/join/v0.4","https://specs.apollo.dev/join/v0.5","https://specs.apollo.dev/tag/v0.1","https://specs.apollo.dev/tag/v0.2","https://specs.apollo.dev/tag/v0.3","https://specs.apollo.dev/inaccessible/v0.1","https://specs.apollo.dev/inaccessible/v0.2","https://specs.apollo.dev/authenticated/v0.1","https://specs.apollo.dev/requiresScopes/v0.1","https://specs.apollo.dev/policy/v0.1","https://specs.apollo.dev/source/v0.1","https://specs.apollo.dev/context/v0.1","https://specs.apollo.dev/cost/v0.1"]);var LN=XE.FeatureUrl.parse("https://specs.apollo.dev/core/v0.1");function Mae(i,e){let t=[],n=i.coreItself;if(n.url.equals(LN)){let r=[...i.allFeatures()].filter(a=>a.purpose);r.length>0&&t.push(Wo.ERRORS.UNSUPPORTED_LINKED_FEATURE.err(`the \`for:\` argument is unsupported by version ${n.url.version} of the core spec. Please upgrade to at least @core v0.2 (https://specs.apollo.dev/core/v0.2).`,{nodes:(0,kae.sourceASTs)(n.directive,...r.map(a=>a.directive))}))}for(let r of i.allFeatures())(r.url.equals(LN)||r.purpose==="EXECUTION"||r.purpose==="SECURITY")&&(e.has(r.url.base.toString())||t.push(Wo.ERRORS.UNSUPPORTED_LINKED_FEATURE.err(`feature ${r.url} is for: ${r.purpose} but is unsupported`,{nodes:r.directive.sourceAST})));if(t.length>0)throw(0,XE.ErrCoreCheckFailed)(t)}function ZE(i){let e=i.coreFeatures;if(!e)throw Wo.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err("Invalid supergraph: must be a core schema");let t=e.getByIdentity(YE.joinIdentity);if(!t)throw Wo.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err("Invalid supergraph: must use the join spec");let n=YE.JOIN_VERSIONS.find(t.url.version);if(!n)throw Wo.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported join spec version ${t.url.version} (supported versions: ${YE.JOIN_VERSIONS.versions().join(", ")})`);let r=e.getByIdentity(zE.ContextSpecDefinition.identity),a;if(r&&(a=zE.CONTEXT_VERSIONS.find(r.url.version),!a))throw Wo.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported context spec version ${r.url.version} (supported versions: ${zE.CONTEXT_VERSIONS.versions().join(", ")})`);let s=e.getByIdentity(WE.costIdentity),o;if(s&&(o=WE.COST_VERSIONS.find(s.url.version),!o))throw Wo.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported cost spec version ${s.url.version} (supported versions: ${WE.COST_VERSIONS.versions().join(", ")})`);return[e,n,a,o]}tn.validateSupergraph=ZE;function Uae(i){return ZE(i)[1].version.equals(new XE.FeatureVersion(0,1))}tn.isFed1Supergraph=Uae;var bp=class{constructor(e,t=tn.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES,n=!0){this.schema=e,this.shouldValidate=n;let[r]=ZE(e);t!==null&&Mae(r,t),n?e.validate():e.assumeValid(),this.containedSubgraphs=(0,JE.extractSubgraphsNamesAndUrlsFromSupergraph)(e)}static build(e,t){let n=typeof e=="string"?(0,BN.buildSchema)(e,{validate:!1}):(0,BN.buildSchemaFromAST)(e,{validate:!1});return new bp(n,t?.supportedFeatures,t?.validateSupergraph)}static buildForTests(e,t){return bp.build(e,{supportedFeatures:tn.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES,validateSupergraph:t})}subgraphsMetadata(){return this.containedSubgraphs}subgraphs(){if(!this._subgraphs){let e=(0,JE.extractSubgraphsFromSupergraph)(this.schema,this.shouldValidate);this._subgraphs=e[0],this._subgraphNameToGraphEnumValue=e[1]}return this._subgraphs}subgraphNameToGraphEnumValue(){if(!this._subgraphNameToGraphEnumValue){let e=(0,JE.extractSubgraphsFromSupergraph)(this.schema,this.shouldValidate);this._subgraphs=e[0],this._subgraphNameToGraphEnumValue=e[1]}return new Map([...this._subgraphNameToGraphEnumValue])}apiSchema(){return this.schema.toAPISchema()}};tn.Supergraph=bp});var xN=D(Me=>{"use strict";h();m();Object.defineProperty(Me,"__esModule",{value:!0});Me.upgradeSubgraphsIfNecessary=Me.RemovedTagOnExternal=Me.FieldsArgumentCoercionToString=Me.ProvidesOnNonCompositeRemoval=Me.ProvidesOrRequiresOnInterfaceFieldRemoval=Me.KeyOnInterfaceRemoval=Me.ShareableTypeAddition=Me.ShareableFieldAddition=Me.InactiveProvidesOrRequiresFieldsRemoval=Me.InactiveProvidesOrRequiresRemoval=Me.TypeWithOnlyUnusedExternalRemoval=Me.UnusedExternalRemoval=Me.ExternalOnObjectTypeRemoval=Me.ExternalOnInterfaceRemoval=Me.TypeExtensionRemoval=Me.ExternalOnTypeExtensionRemoval=void 0;var e8=ft(),Ip=$i(),Sr=bt(),mn=Yo(),rc=Mt(),jae=lr(),qae=lm(),ac=class{constructor(e){this.field=e,this.id="EXTERNAL_ON_TYPE_EXTENSION_REMOVAL"}toString(){return`Removed @external from field "${this.field}" as it is a key of an extension type`}};Me.ExternalOnTypeExtensionRemoval=ac;var Fm=class{constructor(e){this.type=e,this.id="TYPE_EXTENSION_REMOVAL"}toString(){return`Switched type "${this.type}" from an extension to a definition`}};Me.TypeExtensionRemoval=Fm;var Nm=class{constructor(e){this.field=e,this.id="EXTERNAL_ON_INTERFACE_REMOVAL"}toString(){return`Removed @external directive on interface type field "${this.field}": @external is nonsensical on interface fields`}};Me.ExternalOnInterfaceRemoval=Nm;var Cm=class{constructor(e){this.type=e,this.id="EXTERNAL_ON_OBJECT_TYPE_REMOVAL"}toString(){return`Removed @external directive on object type "${this.type}": @external on types was not rejected but was inactive in fed1`}};Me.ExternalOnObjectTypeRemoval=Cm;var Om=class{constructor(e){this.field=e,this.id="UNUSED_EXTERNAL_REMOVAL"}toString(){return`Removed @external field "${this.field}" as it was not used in any @key, @provides or @requires`}};Me.UnusedExternalRemoval=Om;var wm=class{constructor(e){this.type=e,this.id="TYPE_WITH_ONLY_UNUSED_EXTERNAL_REMOVAL"}toString(){return`Removed type ${this.type} that is not referenced in the schema and only declares unused @external fields`}};Me.TypeWithOnlyUnusedExternalRemoval=wm;var Rm=class{constructor(e,t){this.parent=e,this.removed=t,this.id="INACTIVE_PROVIDES_OR_REQUIRES_REMOVAL"}toString(){return`Removed directive ${this.removed} on "${this.parent}": none of the fields were truly @external`}};Me.InactiveProvidesOrRequiresRemoval=Rm;var Bm=class{constructor(e,t,n){this.parent=e,this.original=t,this.updated=n,this.id="INACTIVE_PROVIDES_OR_REQUIRES_FIELDS_REMOVAL"}toString(){return`Updated directive ${this.original} on "${this.parent}" to ${this.updated}: removed fields that were not truly @external`}};Me.InactiveProvidesOrRequiresFieldsRemoval=Bm;var Lm=class{constructor(e,t){this.field=e,this.declaringSubgraphs=t,this.id="SHAREABLE_FIELD_ADDITION"}toString(){return`Added @shareable to field "${this.field}": it is also resolved by ${(0,mn.printSubgraphNames)(this.declaringSubgraphs)}`}};Me.ShareableFieldAddition=Lm;var xm=class{constructor(e,t){this.type=e,this.declaringSubgraphs=t,this.id="SHAREABLE_TYPE_ADDITION"}toString(){return`Added @shareable to type "${this.type}": it is a "value type" and is also declared in ${(0,mn.printSubgraphNames)(this.declaringSubgraphs)}`}};Me.ShareableTypeAddition=xm;var Pm=class{constructor(e){this.type=e,this.id="KEY_ON_INTERFACE_REMOVAL"}toString(){return`Removed @key on interface "${this.type}": while allowed by federation 0.x, @key on interfaces were completely ignored/had no effect`}};Me.KeyOnInterfaceRemoval=Pm;var $m=class{constructor(e,t){this.field=e,this.directive=t,this.id="PROVIDES_OR_REQUIRES_ON_INTERFACE_FIELD_REMOVAL"}toString(){return`Removed @${this.directive} on interface field "${this.field}": while allowed by federation 0.x, @${this.directive} on interface fields were completely ignored/had no effect`}};Me.ProvidesOrRequiresOnInterfaceFieldRemoval=$m;var Vm=class{constructor(e,t){this.field=e,this.type=t,this.id="PROVIDES_ON_NON_COMPOSITE_REMOVAL"}toString(){return`Removed @provides directive on field "${this.field}" as it is of non-composite type "${this.type}": while not rejected by federation 0.x, such @provide is nonsensical and was ignored`}};Me.ProvidesOnNonCompositeRemoval=Vm;var km=class{constructor(e,t,n,r){this.element=e,this.directive=t,this.before=n,this.after=r,this.id="FIELDS_ARGUMENT_COERCION_TO_STRING"}toString(){return`Coerced "fields" argument for directive @${this.directive} for "${this.element}" into a string: coerced from ${this.before} to ${this.after}`}};Me.FieldsArgumentCoercionToString=km;var Mm=class{constructor(e,t){this.application=e,this.element=t,this.id="REMOVED_TAG_ON_EXTERNAL"}toString(){return`Removed ${this.application} application on @external "${this.element}" as the @tag application is on another definition`}};Me.RemovedTagOnExternal=Mm;function Gae(i){let e=new Map;if(i.values().every(s=>s.isFed2Subgraph()))return{subgraphs:i,changes:e};let t=new mn.Subgraphs,n=[],r=[],a=new Map;for(let s of i.values()){for(let o of s.schema.objectTypes()){let u=a.get(o.name);u||(u=new Map,a.set(o.name,u)),u.set(s.name,[o,s.metadata()])}for(let o of s.schema.interfaceTypes()){let u=a.get(o.name);u||(u=new Map,a.set(o.name,u)),u.set(s.name,[o,s.metadata()])}}for(let s of i.values())if(s.isFed2Subgraph())t.add(s),s.metadata().interfaceObjectDirective().applications().size>0&&r.push(s.name);else{let o=new n8(s,i.values(),a).upgrade();o.errors?n=n.concat(o.errors):(t.add(o.upgraded),e.set(s.name,o.changes))}if(n.length===0&&r.length>0){let s=i.values().filter(o=>!o.isFed2Subgraph()).map(o=>o.name);n=[Ip.ERRORS.INTERFACE_OBJECT_USAGE_ERROR.err(`The @interfaceObject directive can only be used if all subgraphs have federation 2 subgraph schema (schema with a \`@link\` to "https://specs.apollo.dev/federation" version 2.0 or newer): @interfaceObject is used in ${(0,mn.printSubgraphNames)(r)} but ${(0,mn.printSubgraphNames)(s)} ${s.length>1?"are not":"is not a"} federation 2 subgraph schema.`)]}return n.length===0?{subgraphs:t,changes:e}:{errors:n}}Me.upgradeSubgraphsIfNecessary=Gae;function t8(i){let e=(0,mn.federationMetadata)(i.schema());(0,rc.assert)(e,"Should be a subgraph schema");let t=i.hasAppliedDirective(e.extendsDirective());return(i.hasExtensionElements()||t)&&((0,Sr.isObjectType)(i)||(0,Sr.isInterfaceType)(i))&&(t||!i.hasNonExtensionElements())}function i8(i){let e=(0,mn.federationMetadata)(i.schema());return(0,rc.assert)(e,"Should be a subgraph schema"),(0,Sr.isObjectType)(i)&&i.isRootType()&&(i.hasAppliedDirective(e.extendsDirective())||i.hasExtensionElements()&&!i.hasNonExtensionElements())}function Kae(i,e,t){let n=i.type(e);return n&&(0,Sr.isCompositeType)(n)?n.field(t):void 0}var n8=class{constructor(e,t,n){this.originalSubgraph=e,this.allSubgraphs=t,this.objectTypeMap=n,this.changes=new rc.MultiMap,this.errors=[],this.schema=e.schema.clone(),this.renameFederationTypes(),this.subgraph=new mn.Subgraph(e.name,e.url,this.schema);try{(0,mn.setSchemaAsFed2Subgraph)(this.schema)}catch(r){let a=(0,Ip.errorCauses)(r);if(a)a.forEach(s=>this.addError(s));else throw r}this.metadata=this.subgraph.metadata()}addError(e){this.errors.push((0,mn.addSubgraphToError)(e,this.subgraph.name,Ip.ERRORS.INVALID_GRAPHQL))}renameFederationTypes(){for(let e of qae.FEDERATION1_TYPES){let t=this.originalSubgraph.metadata().federationTypeNameInSchema(e.name),n=this.schema.type(t);n&&n.rename(`federation__${e.name}`)}}external(e){let t=e.appliedDirectivesOf(this.metadata.externalDirective());return t.length===0?void 0:t[0]}addChange(e){this.changes.add(e.id,e)}checkForExtensionWithNoBase(e){var t;if(i8(e)||!t8(e))return;let n=(t=(0,rc.firstOf)(e.extensions().values()))===null||t===void 0?void 0:t.sourceAST,r=Array.from(this.objectTypeMap.get(e.name).entries()).filter(([a,s])=>a!==this.subgraph.name);for(let a=0;a0)return{errors:this.errors};try{return this.subgraph.validate(),{upgraded:this.subgraph,changes:this.changes}}catch(e){let t=(0,Ip.errorCauses)(e);if(!t)throw e;return{errors:t}}}fixFederationDirectivesArguments(){var e;for(let t of[this.metadata.keyDirective(),this.metadata.requiresDirective(),this.metadata.providesDirective()])for(let n of Array.from(t.applications())){let r=n.arguments().fields;if(typeof r!="string"){Array.isArray(r)&&r.every(s=>typeof s=="string")&&this.replaceFederationDirectiveApplication(n,n.toString(),r.join(" "),t.sourceAST);continue}let a=n.sourceAST;if(a&&a.kind==="Directive"){for(let s of(e=a.arguments)!==null&&e!==void 0?e:[])if(s.name.value==="fields"&&s.value.kind===e8.Kind.ENUM){this.replaceFederationDirectiveApplication(n,(0,e8.print)(a),r,{...a,arguments:[{...s,value:{kind:e8.Kind.STRING,value:r}}]});break}}}}removeExternalOnInterface(){for(let e of this.schema.interfaceTypes())for(let t of e.fields()){let n=this.external(t);n&&(this.addChange(new Nm(t.coordinate)),n.remove())}}removeExternalOnObjectTypes(){for(let e of this.schema.objectTypes()){let t=e.appliedDirectivesOf(this.metadata.externalDirective())[0];t&&(this.addChange(new Cm(e.coordinate)),t.remove())}}replaceFederationDirectiveApplication(e,t,n,r){let a=e.definition,s=e.parent;e.remove();let o=s.applyDirective(a,{fields:n});o.sourceAST=r,this.addChange(new km(s.coordinate,a.name,t,o.toString()))}fixInactiveProvidesAndRequires(){(0,mn.removeInactiveProvidesAndRequires)(this.schema,(e,t,n)=>{n?this.addChange(new Bm(e.coordinate,t.toString(),n.toString())):this.addChange(new Rm(e.coordinate,t.toString()))})}removeExternalOnTypeExtensions(){for(let e of this.schema.types()){if(!(0,Sr.isCompositeType)(e)||!t8(e)&&!i8(e))continue;if(e.appliedDirectivesOf(this.metadata.keyDirective()).length>0)for(let n of e.appliedDirectivesOf(this.metadata.keyDirective()))(0,mn.collectTargetFields)({parentType:e,directive:n,includeInterfaceFieldsImplementations:!1,validate:!1}).forEach(r=>{if(r.parent!==e)return;let a=this.external(r);a&&(this.addChange(new ac(r.coordinate)),a.remove())});else{let n=Array.from(this.objectTypeMap.get(e.name).entries()).filter(([r,a])=>r!==this.subgraph.name);for(let[r,a]of n){let[s,o]=a;(0,rc.assert)((0,Sr.isCompositeType)(s),()=>`Type ${e} is of kind ${e.kind} in ${this.subgraph.name} but ${s.kind} in ${r}`);let u=s.appliedDirectivesOf(o.keyDirective());u.length!==0&&(0,mn.collectTargetFields)({parentType:s,directive:u[0],includeInterfaceFieldsImplementations:!1,validate:!1}).forEach(p=>{if(p.parent!==s)return;let d=e.field(p.name);if(!d)return;let l=this.external(d);l&&(this.addChange(new ac(d.coordinate)),l.remove())})}}}}removeTypeExtensions(){for(let e of this.schema.types())!t8(e)&&!i8(e)||(this.addChange(new Fm(e.coordinate)),e.removeExtensions())}removeUnusedExternals(){for(let e of this.schema.types())if(!(!(0,Sr.isObjectType)(e)&&!(0,Sr.isInterfaceType)(e))){for(let t of e.fields())this.metadata.isFieldExternal(t)&&!this.metadata.isFieldUsed(t)&&(this.addChange(new Om(t.coordinate)),t.remove());e.hasFields()||(e.isReferenced()?this.addError(Ip.ERRORS.TYPE_WITH_ONLY_UNUSED_EXTERNAL.err(`Type ${e} contains only external fields and all those fields are all unused (they do not appear in any @key, @provides or @requires).`,{nodes:e.sourceAST})):(this.addChange(new wm(e.name)),e.remove()))}}removeDirectivesOnInterface(){for(let e of this.schema.interfaceTypes()){for(let t of e.appliedDirectivesOf(this.metadata.keyDirective()))this.addChange(new Pm(e.name)),t.remove();for(let t of e.fields())for(let n of[this.metadata.providesDirective(),this.metadata.requiresDirective()])for(let r of t.appliedDirectivesOf(n))this.addChange(new $m(t.coordinate,n.name)),r.remove()}}removeProvidesOnNonComposite(){for(let e of this.schema.objectTypes())for(let t of e.fields())if(!(0,Sr.isCompositeType)((0,Sr.baseType)(t.type)))for(let n of t.appliedDirectivesOf(this.metadata.providesDirective()))this.addChange(new Vm(t.coordinate,t.type.toString())),n.remove()}addShareable(){let e=this.originalSubgraph.metadata(),t=this.metadata.keyDirective(),n=this.metadata.shareableDirective();for(let r of this.schema.objectTypes())if(!r.isSubscriptionRootType())if(r.hasAppliedDirective(t)||r.isRootType())for(let a of r.fields()){if(e.isFieldShareable(a))continue;let o=Array.from(this.objectTypeMap.get(r.name).entries()).filter(([u,p])=>{if(u===this.subgraph.name)return!1;let d=p[0].field(a.name);return!!d&&(!p[1].isFieldExternal(d)||p[1].isFieldPartiallyExternal(d))});o.length>0&&!a.hasAppliedDirective(n)&&(a.applyDirective(n),this.addChange(new Lm(a.coordinate,o.map(([u])=>u))))}else{let a=Array.from(this.objectTypeMap.get(r.name).entries()).filter(([s,o])=>s!==this.subgraph.name);a.length>0&&!r.hasAppliedDirective(n)&&(r.applyDirective(n),this.addChange(new xm(r.coordinate,a.map(([s])=>s))))}}removeTagOnExternal(){let e=this.schema.directive("tag");if(e)for(let t of Array.from(e.applications())){let n=t.parent;n instanceof Sr.FieldDefinition&&this.external(n)&&this.allSubgraphs.map(a=>a.name===this.originalSubgraph.name?void 0:Kae(a.schema,n.parent.name,n.name)).filter(a=>!(a&&a.hasAppliedDirective("external"))).some(a=>a&&a.appliedDirectivesOf("tag").some(s=>(0,jae.valueEquals)(t.arguments(),s.arguments())))&&(this.addChange(new Mm(t.toString(),n.coordinate)),t.remove())}}}});var UN=D(ws=>{"use strict";h();m();Object.defineProperty(ws,"__esModule",{value:!0});ws.graphQLJSDirectiveToAST=ws.graphQLJSNamedTypeToAST=ws.graphQLJSSchemaToAST=void 0;var li=ft(),Qae=bt(),$N=[li.OperationTypeNode.QUERY,li.OperationTypeNode.MUTATION,li.OperationTypeNode.SUBSCRIPTION];function Hae(i){let e=Object.values(i.getTypeMap()).filter(s=>!(0,li.isIntrospectionType)(s)&&!(0,li.isSpecifiedScalarType)(s)),t=i.getDirectives().filter(s=>!(0,li.isSpecifiedDirective)(s)),n=PN(Yae(i)),r=e.map(s=>PN(kN(s))).flat(),a=t.map(s=>MN(s));return{kind:li.Kind.DOCUMENT,definitions:[...n,...r,...a]}}ws.graphQLJSSchemaToAST=Hae;function PN({definition:i,extensions:e}){return i?[i,...e]:e}function VN(i){return i||void 0}function Yae(i){if(i.astNode||i.extensionASTNodes.length>0)return{definition:VN(i.astNode),extensions:i.extensionASTNodes};{let e;if(zae(i)){let t=[];for(let n of $N){let r=i.getRootType(n);r&&t.push({kind:li.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:{kind:li.Kind.NAMED_TYPE,name:{kind:li.Kind.NAME,value:r.name}}})}e={kind:li.Kind.SCHEMA_DEFINITION,description:i.description?{kind:li.Kind.STRING,value:i.description}:void 0,operationTypes:t}}return{definition:e,extensions:[]}}}function zae(i){return $N.some(e=>Wae(i.getRootType(e),e))}function Wae(i,e){return!!i&&i.name!==(0,Qae.defaultRootName)(e)}function kN(i){return i.astNode||i.extensionASTNodes.length>0?{definition:VN(i.astNode),extensions:i.extensionASTNodes}:{definition:(0,li.parse)((0,li.printType)(i)).definitions[0],extensions:[]}}ws.graphQLJSNamedTypeToAST=kN;function MN(i){if(i.astNode)return i.astNode;{let e=new li.GraphQLSchema({directives:[i],assumeValid:!0});return(0,li.parse)((0,li.printSchema)(e)).definitions.find(n=>n.kind===li.Kind.DIRECTIVE_DEFINITION)}}ws.graphQLJSDirectiveToAST=MN});var wi=D(ke=>{"use strict";h();m();var Jae=ke&&ke.__createBinding||(Object.create?function(i,e,t,n){n===void 0&&(n=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,n,r)}:function(i,e,t,n){n===void 0&&(n=t),i[n]=e[t]}),At=ke&&ke.__exportStar||function(i,e){for(var t in i)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Jae(e,i,t)};Object.defineProperty(ke,"__esModule",{value:!0});ke.coreFeatureDefinitionIfKnown=void 0;At(bt(),ke);At(Ll(),ke);At(yl(),ke);At(lr(),ke);At(Yo(),ke);At(pr(),ke);At(Wf(),ke);At(Mt(),ke);At(EN(),ke);At(vi(),ke);At(cm(),ke);At(Jf(),ke);At(hf(),ke);At(lm(),ke);At(pm(),ke);At(HE(),ke);At($i(),ke);At(xN(),ke);At(Do(),ke);At(UN(),ke);At(Ji(),ke);var Xae=Vi();Object.defineProperty(ke,"coreFeatureDefinitionIfKnown",{enumerable:!0,get:function(){return Xae.coreFeatureDefinitionIfKnown}});At(Ul(),ke);At(sE(),ke);At(uE(),ke);At(pE(),ke);At(fE(),ke);At(zl(),ke)});var jm=D(Ri=>{"use strict";h();m();Object.defineProperty(Ri,"__esModule",{value:!0});Ri.subgraphEnteringTransition=Ri.InterfaceObjectFakeDownCast=Ri.SubgraphEnteringTransition=Ri.DownCast=Ri.FieldCollection=Ri.RootTypeResolution=Ri.KeyResolution=void 0;var r8=class{constructor(){this.kind="KeyResolution",this.collectOperationElements=!1}toString(){return"key()"}};Ri.KeyResolution=r8;var a8=class{constructor(e){this.rootKind=e,this.kind="RootTypeResolution",this.collectOperationElements=!1}toString(){return this.rootKind+"()"}};Ri.RootTypeResolution=a8;var s8=class{constructor(e,t=!1){this.definition=e,this.isPartOfProvide=t,this.kind="FieldCollection",this.collectOperationElements=!0}toString(){return this.definition.name}};Ri.FieldCollection=s8;var o8=class{constructor(e,t){this.sourceType=e,this.castedType=t,this.kind="DownCast",this.collectOperationElements=!0}toString(){return"... on "+this.castedType.name}};Ri.DownCast=o8;var Um=class{constructor(){this.kind="SubgraphEnteringTransition",this.collectOperationElements=!1}toString(){return"\u2205"}};Ri.SubgraphEnteringTransition=Um;var u8=class{constructor(e,t){this.sourceType=e,this.castedTypeName=t,this.kind="InterfaceObjectFakeDownCast",this.collectOperationElements=!0}toString(){return"... on "+this.castedTypeName}};Ri.InterfaceObjectFakeDownCast=u8;Ri.subgraphEnteringTransition=new Um});var qN=D(qm=>{"use strict";h();m();Object.defineProperty(qm,"__esModule",{value:!0});qm.preComputeNonTrivialFollowupEdges=void 0;var Zae=wi(),jN=Rs();function ese(i){let e=new jN.QueryGraphState;return(0,jN.simpleTraversal)(i,()=>{},t=>{let n=i.outEdges(t.tail);return e.setEdgeState(t,tse(t,n)),!0}),t=>{let n=e.getEdgeState(t);return(0,Zae.assert)(n,()=>`Non-trivial followup edges of ${t} should have been computed`),n}}qm.preComputeNonTrivialFollowupEdges=ese;function tse(i,e){switch(i.transition.kind){case"KeyResolution":return e.filter(t=>t.transition.kind!=="KeyResolution"||!ise(i,t));case"RootTypeResolution":return e.filter(t=>t.transition.kind!=="RootTypeResolution");case"SubgraphEnteringTransition":return e.filter(t=>t.transition.kind!=="RootTypeResolution");default:return e}}function ise(i,e){return i.conditions?!!e.conditions&&i.conditions.equals(e.conditions):!e.conditions}});var Rs=D(it=>{"use strict";h();m();Object.defineProperty(it,"__esModule",{value:!0});it.simpleTraversal=it.buildFederatedQueryGraph=it.buildSupergraphAPIQueryGraph=it.buildQueryGraph=it.QueryGraphState=it.QueryGraph=it.Edge=it.isRootVertex=it.RootVertex=it.Vertex=it.isFederatedGraphRootType=it.federatedGraphRootTypeName=it.FEDERATED_GRAPH_ROOT_SOURCE=void 0;var z=wi(),GN=uf(),qi=jm(),nse=qN();it.FEDERATED_GRAPH_ROOT_SOURCE=z.FEDERATION_RESERVED_SUBGRAPH_NAME;var rse=new z.Schema;function KN(i){return`[${i}]`}it.federatedGraphRootTypeName=KN;function ase(i){return i.name.startsWith("[")&&i.name.endsWith("]")}it.isFederatedGraphRootType=ase;var sc=class{constructor(e,t,n){this.index=e,this.type=t,this.source=n,this.hasReachableCrossSubgraphEdges=!1}toString(){let e=`${this.type}(${this.source})`;return this.provideId?`${e}-${this.provideId}`:e}};it.Vertex=sc;var oc=class extends sc{constructor(e,t,n,r){super(t,n,r),this.rootKind=e}toString(){return super.toString()+"*"}};it.RootVertex=oc;function sse(i,e){return new oc(e,i.index,i.type,i.source)}function ose(i){return i instanceof oc}it.isRootVertex=ose;var Jo=class{constructor(e,t,n,r,a,s,o){this.index=e,this.head=t,this.tail=n,this.transition=r,this.overrideCondition=s,this.requiredContexts=[],this._conditions=a,o&&(this.requiredContexts=[...o])}get conditions(){return this._conditions}isEdgeForField(e){return this.transition.kind==="FieldCollection"&&this.transition.definition.name===e}matchesSupergraphTransition(e){(0,z.assert)(e.collectOperationElements,()=>`Supergraphs shouldn't have transition that don't collect elements; got ${e}"`);let t=this.transition;switch(t.kind){case"FieldCollection":return e.kind==="FieldCollection"&&t.definition.name===e.definition.name;case"DownCast":return e.kind==="DownCast"&&t.castedType.name===e.castedType.name;case"InterfaceObjectFakeDownCast":return e.kind==="DownCast"&&t.castedTypeName===e.castedType.name;default:return!1}}changesSubgraph(){return this.head.source!==this.tail.source}label(){var e;if(this.transition instanceof qi.SubgraphEnteringTransition&&!this._conditions)return"";let t=((e=this._conditions)!==null&&e!==void 0?e:"").toString();return this.overrideCondition&&(t.length&&(t+=", "),t+=`${this.overrideCondition.label} = ${this.overrideCondition.condition}`),t.length&&(t+=" \u22A2 "),t+this.transition.toString()}withNewHead(e){return new Jo(this.index,e,this.tail,this.transition,this._conditions,this.overrideCondition,this.requiredContexts)}addToConditions(e){this._conditions=this._conditions?new z.SelectionSetUpdates().add(this._conditions).add(e).toSelectionSet(this._conditions.parentType):e}addToContextConditions(e){this.requiredContexts.push(...e)}isKeyOrRootTypeEdgeToSelf(){return this.head===this.tail&&(this.transition.kind==="KeyResolution"||this.transition.kind==="RootTypeResolution")}satisfiesOverrideConditions(e){if(!this.overrideCondition)return!0;let{label:t,condition:n}=this.overrideCondition;return e.has(t)?e.get(t)===n:!1}toString(){return`${this.head} -> ${this.tail} (${this.label()})`}};it.Edge=Jo;var Km=class{constructor(e,t,n,r,a,s,o,u,p){this.name=e,this.vertices=t,this._outEdges=n,this.typesToVertices=r,this.rootVertices=a,this.sources=s,this.subgraphToArgs=o,this.subgraphToArgIndices=u,this.schema=p,this.nonTrivialFollowupEdges=(0,nse.preComputeNonTrivialFollowupEdges)(this)}verticesCount(){return this.vertices.length}edgesCount(){return this._outEdges.reduce((e,t)=>e+t.length,0)}rootKinds(){return this.rootVertices.keys()}roots(){return this.rootVertices.values()}root(e){return this.rootVertices.get(e)}outEdges(e,t=!1){let n=this._outEdges[e.index];return t?n:n.filter(r=>!r.isKeyOrRootTypeEdgeToSelf())}outEdgesCount(e){return this._outEdges[e.index].length}outEdge(e,t){return this._outEdges[e.index][t]}isTerminal(e){return this.outEdgesCount(e)===0}verticesForType(e){let t=this.typesToVertices.get(e);return t==null?[]:t.map(n=>this.vertices[n])}};it.QueryGraph=Km;var p8=class{constructor(){this.verticesStates=new Map,this.adjacenciesStates=new Map}setVertexState(e,t){this.verticesStates.set(e.index,t)}removeVertexState(e){this.verticesStates.delete(e.index)}getVertexState(e){return this.verticesStates.get(e.index)}setEdgeState(e,t){let n=this.adjacenciesStates.get(e.head.index);n||(n=new Map,this.adjacenciesStates.set(e.head.index,n)),n.set(e.index,t)}removeEdgeState(e){let t=this.adjacenciesStates.get(e.head.index);t&&(t.delete(e.index),t.size===0&&this.adjacenciesStates.delete(e.head.index))}getEdgeState(e){var t;return(t=this.adjacenciesStates.get(e.head.index))===null||t===void 0?void 0:t.get(e.index)}toDebugString(e,t){let n=Array.from(this.verticesStates.entries()).sort(([a],[s])=>a-s).map(([a,s])=>` ${a}: ${s?e(s):""}`).join(` `),r=Array.from(this.adjacenciesStates.entries()).sort(([a],[s])=>a-s).map(([a,s])=>Array.from(s.entries()).sort(([o],[u])=>o-u).map(([o,u])=>` ${a}[${o}]: ${u?t(u):""}`).join(` `)).join(` `);return`vertices = {${n} }, edges = {${r} }`}};it.QueryGraphState=p8;function QN(i,e,t){return HN(i,e,!1,void 0,t)}it.buildQueryGraph=QN;function HN(i,e,t,n,r){let a=new d8(i,e,n?{apiSchema:n.toAPISchema(),isFed1:(0,z.isFed1Supergraph)(n)}:void 0,r);for(let s of e.schemaDefinition.roots())a.addRecursivelyFromRoot(s.rootKind,s.type);return a.isFederatedSubgraph&&a.addInterfaceEntityEdges(),t&&a.addAdditionalAbstractTypeEdges(),a.build()}function use(i){let e=i.apiSchema(),t=new Map,n=(0,z.validateSupergraph)(i.schema)[1].fieldDirective(i.schema).applications();for(let r of n){let a=r.arguments().overrideLabel;a&&t.set(r.parent.coordinate,a)}return QN("supergraph",e,t)}it.buildSupergraphAPIQueryGraph=use;function pse(i,e){let t=i.subgraphs(),n=[];for(let r of t)n.push(HN(r.name,r.schema,e,i.schema));return lse(i.schema,n)}it.buildFederatedQueryGraph=pse;function dse(i){let e=0,t=new Set,n=[];for(let r of i)e+=r.verticesCount(),r.rootKinds().forEach(a=>t.add(a)),(0,z.assert)(r.sources.size===1,()=>`Subgraphs should only have one sources, got ${r.sources.size} ([${(0,z.mapKeys)(r.sources).join(", ")}])`),n.push((0,z.firstOf)(r.sources.values()));return[e+t.size,t,n]}function YN(i,e){return e.appliedDirectivesOf(i).filter(n=>{var r;return(r=n.arguments().resolvable)!==null&&r!==void 0?r:!0})}function lse(i,e){var t;let[n,r,a]=dse(e),s=new Qm(i,n);r.forEach(c=>s.createRootVertex(c,new z.ObjectType(KN(c)),it.FEDERATED_GRAPH_ROOT_SOURCE,rse));let o=new Array(e.length);for(let[c,v]of e.entries())o[c]=s.copyGraph(v);for(let[c,v]of e.entries()){let y=o[c];for(let g of v.rootKinds()){let T=y.copiedVertex(v.root(g));s.addEdge(s.root(g),T,qi.subgraphEnteringTransition);for(let[S,N]of e.entries()){let F=N.root(g);if(F){let R=o[S];s.addEdge(T,R.copiedVertex(F),new qi.RootTypeResolution(g))}}}}for(let[c,v]of e.entries()){let y=a[c],g=(0,z.federationMetadata)(y);(0,z.assert)(g,`Subgraph ${c} is not a valid federation subgraph`);let T=g.keyDirective(),S=g.requiresDirective();Gm(v,N=>{let F=N.type;for(let R of YN(T,F)){(0,z.assert)((0,z.isInterfaceType)(F)||(0,z.isObjectType)(F),()=>`Invalid "@key" application on non Object || Interface type "${F}"`);let P=g.isInterfaceObjectType(F),K=(0,z.parseFieldSetArgument)({parentType:F,directive:R,normalize:!0}),W=o[c].copiedVertex(N);for(let[ne,B]of e.entries()){let Y=B.verticesForType(F.name);if(Y.length>0){(0,z.assert)(Y.length==1,()=>`Subgraph ${ne} should have a single vertex for type ${F.name} but got ${Y.length}: ${(0,GN.inspect)(Y)}`);let _e=Y[0],rt=o[ne].copiedVertex(_e),Tt=o[c].copiedVertex(N);s.addEdge(rt,Tt,new qi.KeyResolution,K)}if(P){let _e=i.type(F.name);(0,z.assert)(_e&&(0,z.isInterfaceType)(_e),()=>`Type ${F} is an interfaceObject in subgraph ${c}; should be an interface in the supergraph`);for(let rt of _e.possibleRuntimeTypes()){let Tt=B.verticesForType(rt.name)[0];if(!Tt)continue;let vn=o[ne].copiedVertex(Tt),Qi=Tt.type;(0,z.assert)((0,z.isCompositeType)(Qi),()=>`${Qi} should be composite since it implements ${_e} in the supergraph`);try{let nn=(0,z.parseFieldSetArgument)({parentType:Qi,directive:R,validate:!1,normalize:!0});s.addEdge(vn,W,new qi.KeyResolution,nn)}catch{}}}}}},N=>{if(N.transition.kind==="FieldCollection"){let F=N.head.type,R=N.transition.definition;(0,z.assert)((0,z.isCompositeType)(F),()=>`Non composite type "${F}" should not have field collection edge ${N}`);for(let P of R.appliedDirectivesOf(S)){let K=(0,z.parseFieldSetArgument)({parentType:F,directive:P,normalize:!0}),W=o[c].copiedVertex(N.head);s.edge(W,N.index).addToConditions(K)}}return!0})}let u=new Map(e.map(c=>[c.name,c]));for(let[c,v]of e.entries()){let y=a[c],g=(0,z.federationMetadata)(y);(0,z.assert)(g,`Subgraph ${c} is not a valid federation subgraph`);for(let T of g.overrideDirective().applications()){let R=function(P,K,W){let ne=T.parent;(0,z.assert)(ne instanceof z.NamedSchemaElement,()=>`@override should have been on a field, got ${ne}`);let B=ne.parent.name,[Y,..._e]=P.verticesForType(B);(0,z.assert)(Y&&_e.length===0,()=>`Subgraph ${P.name} should have exactly one vertex for type ${B}`);let rt=P.outEdges(Y);for(let Tt of rt)if(Tt.transition.kind==="FieldCollection"&&Tt.transition.definition.name===ne.name){let vn=o[e.indexOf(P)].copiedVertex(Y),Qi=s.edge(vn,Tt.index);Qi.overrideCondition={label:K,condition:W}}},{from:S,label:N}=T.arguments();if(!N)continue;let F=u.get(S);(0,z.assert)(F,()=>`Subgraph ${S} not found`),R(v,N,!0),R(F,N,!1)}}let p=new Map,d=new Map;for(let[c,v]of e.entries()){let y=a[c],g=(0,z.federationMetadata)(y);(0,z.assert)(g,`Subgraph ${c} is not a valid federation subgraph`);let T=new Map;for(let N of g.contextDirective().applications()){let{name:F}=N.arguments();T.has(F)?T.get(F).add(N.parent.name):T.set(F,new Set([N.parent.name]))}let S=new Map;for(let N of g.fromContextDirective().applications()){let{field:F}=N.arguments(),{context:R,selection:P}=(0,z.parseContext)(F);(0,z.assert)(R,()=>`FieldValue has invalid format. Context not found ${F}`),(0,z.assert)(P,()=>`FieldValue has invalid format. Selection not found ${F}`);let K=N.parent.name,W=N.parent.coordinate,ne=(t=p.get(v.name))!==null&&t!==void 0?t:[];ne.push(W),p.set(v.name,ne);let B=N.parent.parent.coordinate,Y=T.get(R);(0,z.assert)(Y,()=>`Context ${R} is never set in subgraph`);let _e=S.get(B);_e?_e.push({namedParameter:K,coordinate:W,context:R,selection:P,typesWithContextSet:Y,subgraphName:v.name,argType:N.parent.type}):S.set(B,[{namedParameter:K,coordinate:W,context:R,selection:P,typesWithContextSet:Y,subgraphName:v.name,argType:N.parent.type}])}Gm(v,N=>{},N=>{if(N.head.type.kind==="ObjectType"&&N.transition.kind==="FieldCollection"){let F=`${N.head.type.name}.${N.transition.definition.name}`,R=S.get(F);if(R){let P=o[c].copiedVertex(N.head);(0,z.assert)(P,()=>`Vertex for type ${N.head.type.name} not found in supergraph`),s.edge(P,N.index).addToContextConditions(R)}}return!0})}for(let[c,v]of e.entries()){let y=v.name,g=p.get(v.name);if(g){g.sort();let T=new Map;for(let S=0;S{},S=>{if(S.transition.kind==="FieldCollection"){let N=S.head.type,F=S.transition.definition;(0,z.assert)((0,z.isCompositeType)(N),()=>`Non composite type "${N}" should not have field collection edge ${S}`);for(let R of F.appliedDirectivesOf(T)){++l;let P=(0,z.baseType)(F.type);(0,z.assert)((0,z.isCompositeType)(P),()=>`Invalid @provide on field "${F}" whose type "${P}" is not a composite type`);let K=(0,z.parseFieldSetArgument)({parentType:P,directive:R}),W=o[c].copiedVertex(S.head),ne=o[c].copiedVertex(S.tail),B=s.edge(W,S.index),Y=s.makeCopy(ne,l);s.updateEdgeTail(B,Y),cse(y,s,Y,K,l)}}return!0})}for(let[c,v]of e.entries()){let y=a[c],g=(0,z.federationMetadata)(y);(0,z.assert)(g,`Subgraph ${c} is not a valid federation subgraph`);let T=g.interfaceObjectDirective();for(let S of T.applications()){let N=S.parent;(0,z.assert)((0,z.isObjectType)(N),"@interfaceObject should have been on an object type");let F=o[c].copiedVertex(v.verticesForType(N.name)[0]),R=i.type(N.name);(0,z.assert)(R&&(0,z.isInterfaceType)(R),()=>`${N} has @interfaceObject in subgraph but has kind ${R?.kind} in supergraph`);let P=(0,z.selectionSetOfElement)(new z.Field(N.typenameField()));for(let K of R.possibleRuntimeTypes())s.addEdge(F,F,new qi.InterfaceObjectFakeDownCast(N,K.name),P)}}return s.build(it.FEDERATED_GRAPH_ROOT_SOURCE)}function cse(i,e,t,n,r){let a=[[t,n]],s=t.source;for(;a.length>0;){let[o,u]=a.pop();for(let p of u.selectionsInReverseOrder()){let d=p.element;if(d.kind=="Field"){let l=d.definition,c=e.edges(o).find(v=>v.transition.kind==="FieldCollection"&&v.transition.definition.name===l.name);if(c){if(p.selectionSet){let v=e.makeCopy(c.tail,r);e.updateEdgeTail(c,v),a.push([v,p.selectionSet])}}else{let v=(0,z.baseType)(l.type),y=e.verticesForType(v.name).find(T=>T.source===s),g=y||e.createNewVertex(v,o.source,i);if(p.selectionSet){let T=y?e.makeCopy(y,r):g;e.addEdge(o,T,new qi.FieldCollection(l,!0)),a.push([T,p.selectionSet])}else e.addEdge(o,g,new qi.FieldCollection(l,!0))}}else{let l=d.typeCondition;if(l){let c=e.edges(o).find(y=>y.transition.kind==="DownCast"&&y.transition.castedType.name===l.name);(0,z.assert)(c,()=>`Shouldn't have ${p} with no corresponding edge on ${o} (edges are: [${e.edges(o)}])`);let v=e.makeCopy(c.tail,r);e.updateEdgeTail(c,v),a.push([v,p.selectionSet])}else a.push([o,p.selectionSet])}}}}var Qm=class{constructor(e,t){this.nextIndex=0,this.typesToVertices=new z.MultiMap,this.rootVertices=new z.MapWithCachedArrays,this.sources=new Map,this.subgraphToArgs=new Map,this.subgraphToArgIndices=new Map,this.vertices=t?new Array(t):[],this.outEdges=t?new Array(t):[],this.inEdges=t?new Array(t):[],this.schema=e}verticesForType(e){let t=this.typesToVertices.get(e);return t==null?[]:t.map(n=>this.vertices[n])}root(e){return this.rootVertices.get(e)}addEdge(e,t,n,r,a,s){let o=this.outEdges[e.index],u=this.inEdges[t.index],p=new Jo(o.length,e,t,n,r,a,s);o.push(p),u.push(p),e.source!==t.source&&this.markInEdgesHasReachingCrossSubgraphEdge(e)}markInEdgesHasReachingCrossSubgraphEdge(e){if(e.hasReachableCrossSubgraphEdges)return;let t=[e];for(;t.length>0;){let n=t.pop();n.hasReachableCrossSubgraphEdges=!0;for(let r of this.inEdges[n.index])r.head.source===r.tail.source&&!r.head.hasReachableCrossSubgraphEdges&&t.push(r.head)}}createNewVertex(e,t,n,r){r||(r=this.nextIndex++);let a=new sc(r,e,t),s=this.vertices[r];return(0,z.assert)(!s,()=>`Overriding existing vertex ${s} with ${a}`),this.vertices[r]=a,this.typesToVertices.add(e.name,r),this.outEdges[r]=[],this.inEdges[r]=[],this.sources.has(t)||this.sources.set(t,n),a}createRootVertex(e,t,n,r){let a=this.createNewVertex(t,n,r);(0,z.assert)(!this.rootVertices.has(e),()=>`Root vertex for ${e} (${this.rootVertices.get(e)}) already exists: cannot replace by ${a}`),this.setAsRoot(e,a.index)}setAsRoot(e,t){let n=this.vertices[t];(0,z.assert)(n,()=>`Cannot set non-existing vertex at index ${t} as root ${e}`);let r=sse(n,e);this.vertices[n.index]=r,this.rootVertices.set(e,r);let a=this.outEdges[n.index];for(let s=0;s`Vertex ${r} has no copy for offset ${t}`),a}}}vertex(e){return this.vertices[e]}edge(e,t){return this.outEdges[e.index][t]}edges(e){return this.outEdges[e.index]}makeCopy(e,t){let n=this.createNewVertex(e.type,e.source,this.sources.get(e.source));n.provideId=t,n.hasReachableCrossSubgraphEdges=e.hasReachableCrossSubgraphEdges;for(let r of this.outEdges[e.index])this.addEdge(n,r.tail,r.transition,r.conditions,r.overrideCondition,r.requiredContexts);return n}updateEdgeTail(e,t){let n=new Jo(e.index,e.head,t,e.transition,e.conditions,e.overrideCondition,e.requiredContexts);return this.outEdges[e.head.index][e.index]=n,this.inEdges[e.tail.index]=this.inEdges[e.tail.index].filter(r=>r!==e),this.inEdges[t.index].push(n),n}getOrCopyVertex(e,t,n){let r=e.index+t,a=this.vertices[r];return a||(a=this.createNewVertex(e.type,e.source,n.sources.get(e.source),r)),a}build(e){return new Km(e,this.vertices,this.outEdges,this.typesToVertices,this.rootVertices,this.sources,this.subgraphToArgs,this.subgraphToArgIndices,this.schema)}setContextMaps(e,t){this.subgraphToArgs=e,this.subgraphToArgIndices=t}},d8=class extends Qm{constructor(e,t,n,r){super(t),this.name=e,this.supergraph=n,this.overrideLabelsByCoordinate=r,this.isFederatedSubgraph=!!n&&(0,z.isFederationSubgraphSchema)(t)}hasDirective(e,t){let n=(0,z.federationMetadata)(this.schema);return!!n&&e.hasAppliedDirective(t(n))}isExternal(e){let t=(0,z.federationMetadata)(this.schema);return!!t&&t.isFieldExternal(e)}addRecursivelyFromRoot(e,t){this.setAsRoot(e,this.addTypeRecursively(t).index)}addTypeRecursively(e){let t=(0,z.baseType)(e),n=this.verticesForType(t.name);if(n.length>0)return(0,z.assert)(n.length==1,()=>`Only one vertex should have been created for type ${t.name}, got ${n.length}: ${(0,GN.inspect)(this)}`),n[0];let r=this.createNewVertex(t,this.name,this.schema);return(0,z.isObjectType)(t)?this.addObjectTypeEdges(t,r):(0,z.isInterfaceType)(t)?(this.isFederatedSubgraph&&this.maybeAddInterfaceFieldsEdges(t,r),this.addAbstractTypeEdges(t,r)):(0,z.isUnionType)(t)&&(this.addEdgeForField(t.typenameField(),r),this.addAbstractTypeEdges(t,r)),r}addObjectTypeEdges(e,t){var n,r;let a=(r=(n=(0,z.federationMetadata)(this.schema))===null||n===void 0?void 0:n.isInterfaceObjectType(e))!==null&&r!==void 0?r:!1;for(let s of e.allFields())s.isSchemaIntrospectionField()||a&&s.name===z.typenameFieldName||(this.isExternal(s)?this.addTypeRecursively(s.type):this.addEdgeForField(s,t))}addEdgeForField(e,t){var n;let r=this.addTypeRecursively(e.type),a=(n=this.overrideLabelsByCoordinate)===null||n===void 0?void 0:n.get(e.coordinate);a?(this.addEdge(t,r,new qi.FieldCollection(e),void 0,{label:a,condition:!0}),this.addEdge(t,r,new qi.FieldCollection(e),void 0,{label:a,condition:!1})):this.addEdge(t,r,new qi.FieldCollection(e))}isDirectlyProvidedByType(e,t){let n=e.field(t);return n&&!this.isExternal(n)&&!this.hasDirective(n,r=>r.requiresDirective())}maybeAddInterfaceFieldsEdges(e,t){(0,z.assert)(this.supergraph,"Missing supergraph schema when building a subgraph");let n=this.supergraph.apiSchema.type(e.name);if(!n)return;let a=n.possibleRuntimeTypes().map(s=>s.name).map(s=>this.schema.type(s)).filter(s=>s!==void 0);for(let s of e.allFields())this.isExternal(s)||a.some(o=>!this.isDirectlyProvidedByType(o,s.name))||this.addEdgeForField(s,t)}addAbstractTypeEdges(e,t){let n=(0,z.isInterfaceType)(e)?e.possibleRuntimeTypes():e.types();for(let r of n){let a=this.addTypeRecursively(r);this.addEdge(t,a,new qi.DownCast(e,r))}}addAdditionalAbstractTypeEdges(){if(!this.supergraph)return;let e=[];for(let t of this.schema.types())if((0,z.isAbstractType)(t)){let n=this.supergraph.apiSchema.type(t.name);if(!n)continue;(0,z.assert)((0,z.isAbstractType)(n),()=>`${t} should not be a ${t.kind} in a subgraph but a ${n.kind} in the supergraph`),e.push({type:t,runtimeTypesInSubgraph:(0,z.possibleRuntimeTypes)(t),runtimeTypesInSupergraph:(0,z.possibleRuntimeTypes)(n)})}for(let t=0;ts.runtimeTypesInSubgraph.includes(d));if(p.length>=2){let d=(l,c)=>c.runtimeTypesInSubgraph.some(v=>v.name===l.name)&&!p.some(v=>v.name===l.name);(0,z.isUnionType)(s.type)||s.runtimeTypesInSupergraph.some(l=>d(l,n))||(o=!0),(0,z.isUnionType)(n.type)||n.runtimeTypesInSupergraph.some(l=>d(l,s))||(u=!0)}}if(o||u){let p=this.addTypeRecursively(s.type);o&&this.addEdge(r,p,new qi.DownCast(n.type,s.type)),u&&this.addEdge(p,r,new qi.DownCast(s.type,n.type))}}}}addInterfaceEntityEdges(){let e=(0,z.federationMetadata)(this.schema);(0,z.assert)(e,()=>`${this.name} does not correspond to a subgraph`);let t=e.entityType();if(!t)return;let n=this.addTypeRecursively(t),r=e.keyDirective();for(let a of this.schema.interfaceTypes())if(YN(r,a).length>0){let s=this.addTypeRecursively(a);this.addEdge(n,s,new qi.DownCast(t,a))}}build(){return super.build(this.name)}};function Gm(i,e,t){let n=new Array(i.verticesCount()),r=[],a=function(s){n[s.index]||(r.push(s),n[s.index]=!0)};for(i.roots().forEach(a);r.length>0;){let s=r.pop();e(s);for(let o of i.outEdges(s))t(o)&&a(o.tail)}}it.simpleTraversal=Gm});var l8=D((I8e,WN)=>{"use strict";h();m();var zN=Object.prototype.toString;WN.exports=function(e){var t=zN.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&zN.call(e.callee)==="[object Function]"),n}});var aC=D((C8e,rC)=>{"use strict";h();m();var nC;Object.keys||(uc=Object.prototype.hasOwnProperty,c8=Object.prototype.toString,JN=l8(),f8=Object.prototype.propertyIsEnumerable,XN=!f8.call({toString:null},"toString"),ZN=f8.call(function(){},"prototype"),pc=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Hm=function(i){var e=i.constructor;return e&&e.prototype===i},eC={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},tC=function(){if(typeof window>"u")return!1;for(var i in window)try{if(!eC["$"+i]&&uc.call(window,i)&&window[i]!==null&&typeof window[i]=="object")try{Hm(window[i])}catch{return!0}}catch{return!0}return!1}(),iC=function(i){if(typeof window>"u"||!tC)return Hm(i);try{return Hm(i)}catch{return!1}},nC=function(e){var t=e!==null&&typeof e=="object",n=c8.call(e)==="[object Function]",r=JN(e),a=t&&c8.call(e)==="[object String]",s=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var o=ZN&&n;if(a&&e.length>0&&!uc.call(e,0))for(var u=0;u0)for(var p=0;p{"use strict";h();m();var fse=Array.prototype.slice,mse=l8(),sC=Object.keys,Ym=sC?function(e){return sC(e)}:aC(),oC=Object.keys;Ym.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(n){return mse(n)?oC(fse.call(n)):oC(n)})}else Object.keys=Ym;return Object.keys||Ym};uC.exports=Ym});var Bs=D((x8e,cC)=>{"use strict";h();m();var hse=zm(),vse=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",yse=Object.prototype.toString,Ese=Array.prototype.concat,pC=V0(),gse=function(i){return typeof i=="function"&&yse.call(i)==="[object Function]"},dC=k0()(),Ase=function(i,e,t,n){if(e in i){if(n===!0){if(i[e]===t)return}else if(!gse(n)||!n())return}dC?pC(i,e,t,!0):pC(i,e,t)},lC=function(i,e){var t=arguments.length>2?arguments[2]:{},n=hse(e);vse&&(n=Ese.call(n,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";h();m();var Tse=zm(),hC=il()(),vC=ui(),fC=Object,Dse=vC("Array.prototype.push"),mC=vC("Object.prototype.propertyIsEnumerable"),Sse=hC?Object.getOwnPropertySymbols:null;yC.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=fC(e);if(arguments.length===1)return n;for(var r=1;r{"use strict";h();m();var h8=m8(),_se=function(){if(!Object.assign)return!1;for(var i="abcdefghijklmnopqrst",e=i.split(""),t={},n=0;n{"use strict";h();m();var Ise=Bs(),Fse=v8();gC.exports=function(){var e=Fse();return Ise(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var _C=D((H8e,SC)=>{"use strict";h();m();var Nse=Bs(),Cse=bo(),Ose=m8(),TC=v8(),wse=AC(),Rse=Cse.apply(TC()),DC=function(e,t){return Rse(Object,arguments)};Nse(DC,{getPolyfill:TC,implementation:Ose,shim:wse});SC.exports=DC});var IC=D((W8e,bC)=>{"use strict";h();m();var lc=function(){return typeof function(){}.name=="string"},dc=Object.getOwnPropertyDescriptor;if(dc)try{dc([],"length")}catch{dc=null}lc.functionsHaveConfigurableNames=function(){if(!lc()||!dc)return!1;var e=dc(function(){},"name");return!!e&&!!e.configurable};var Bse=Function.prototype.bind;lc.boundFunctionsHaveNames=function(){return lc()&&typeof Bse=="function"&&function(){}.bind().name!==""};bC.exports=lc});var CC=D((Z8e,NC)=>{"use strict";h();m();var FC=V0(),Lse=k0()(),xse=IC().functionsHaveConfigurableNames(),Pse=zr();NC.exports=function(e,t){if(typeof e!="function")throw new Pse("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||xse)&&(Lse?FC(e,"name",t,!0,!0):FC(e,"name",t)),e}});var y8=D((i9e,OC)=>{"use strict";h();m();var $se=CC(),Vse=zr(),kse=Object;OC.exports=$se(function(){if(this==null||this!==kse(this))throw new Vse("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)});var E8=D((a9e,wC)=>{"use strict";h();m();var Mse=y8(),Use=Bs().supportsDescriptors,jse=Object.getOwnPropertyDescriptor;wC.exports=function(){if(Use&&/a/mig.flags==="gim"){var e=jse(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),e.get.call(n),t==="dy")return e.get}}return Mse}});var LC=D((u9e,BC)=>{"use strict";h();m();var qse=Bs().supportsDescriptors,Gse=E8(),Kse=Object.getOwnPropertyDescriptor,Qse=Object.defineProperty,Hse=TypeError,RC=Object.getPrototypeOf,Yse=/a/;BC.exports=function(){if(!qse||!RC)throw new Hse("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Gse(),t=RC(Yse),n=Kse(t,"flags");return(!n||n.get!==e)&&Qse(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}});var VC=D((l9e,$C)=>{"use strict";h();m();var zse=Bs(),Wse=bo(),Jse=y8(),xC=E8(),Xse=LC(),PC=Wse(xC());zse(PC,{getPolyfill:xC,implementation:Jse,shim:Xse});$C.exports=PC});var kC=D(()=>{h();m()});var sO=D((E9e,aO)=>{h();m();var N8=typeof Map=="function"&&Map.prototype,g8=Object.getOwnPropertyDescriptor&&N8?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Jm=N8&&g8&&typeof g8.get=="function"?g8.get:null,MC=N8&&Map.prototype.forEach,C8=typeof Set=="function"&&Set.prototype,A8=Object.getOwnPropertyDescriptor&&C8?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xm=C8&&A8&&typeof A8.get=="function"?A8.get:null,UC=C8&&Set.prototype.forEach,Zse=typeof WeakMap=="function"&&WeakMap.prototype,fc=Zse?WeakMap.prototype.has:null,eoe=typeof WeakSet=="function"&&WeakSet.prototype,mc=eoe?WeakSet.prototype.has:null,toe=typeof WeakRef=="function"&&WeakRef.prototype,jC=toe?WeakRef.prototype.deref:null,ioe=Boolean.prototype.valueOf,noe=Object.prototype.toString,roe=Function.prototype.toString,aoe=String.prototype.match,O8=String.prototype.slice,Ls=String.prototype.replace,soe=String.prototype.toUpperCase,qC=String.prototype.toLowerCase,XC=RegExp.prototype.test,GC=Array.prototype.concat,ca=Array.prototype.join,ooe=Array.prototype.slice,KC=Math.floor,S8=typeof BigInt=="function"?BigInt.prototype.valueOf:null,T8=Object.getOwnPropertySymbols,_8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Fp=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Bi=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Fp||"symbol")?Symbol.toStringTag:null,ZC=Object.prototype.propertyIsEnumerable,QC=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function HC(i,e){if(i===1/0||i===-1/0||i!==i||i&&i>-1e3&&i<1e3||XC.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof i=="number"){var n=i<0?-KC(-i):KC(i);if(n!==i){var r=String(n),a=O8.call(e,r.length+1);return Ls.call(r,t,"$&_")+"."+Ls.call(Ls.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ls.call(e,t,"$&_")}var b8=kC(),YC=b8.custom,zC=iO(YC)?YC:null,eO={__proto__:null,double:'"',single:"'"},uoe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};aO.exports=function i(e,t,n,r){var a=t||{};if(ka(a,"quoteStyle")&&!ka(eO,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ka(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=ka(a,"customInspect")?a.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ka(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ka(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return rO(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return o?HC(e,u):u}if(typeof e=="bigint"){var p=String(e)+"n";return o?HC(e,p):p}var d=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=d&&d>0&&typeof e=="object")return I8(e)?"[Array]":"[Object]";var l=Ioe(a,n);if(typeof r>"u")r=[];else if(nO(r,e)>=0)return"[Circular]";function c(Tt,vn,Qi){if(vn&&(r=ooe.call(r),r.push(vn)),Qi){var nn={depth:a.depth};return ka(a,"quoteStyle")&&(nn.quoteStyle=a.quoteStyle),i(Tt,nn,n+1,r)}return i(Tt,a,n+1,r)}if(typeof e=="function"&&!WC(e)){var v=yoe(e),y=Wm(e,c);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(y.length>0?" { "+ca.call(y,", ")+" }":"")}if(iO(e)){var g=Fp?Ls.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):_8.call(e);return typeof e=="object"&&!Fp?cc(g):g}if(Soe(e)){for(var T="<"+qC.call(String(e.nodeName)),S=e.attributes||[],N=0;N",T}if(I8(e)){if(e.length===0)return"[]";var F=Wm(e,c);return l&&!boe(F)?"["+F8(F,l)+"]":"[ "+ca.call(F,", ")+" ]"}if(loe(e)){var R=Wm(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!ZC.call(e,"cause")?"{ ["+String(e)+"] "+ca.call(GC.call("[cause]: "+c(e.cause),R),", ")+" }":R.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ca.call(R,", ")+" }"}if(typeof e=="object"&&s){if(zC&&typeof e[zC]=="function"&&b8)return b8(e,{depth:d-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Eoe(e)){var P=[];return MC&&MC.call(e,function(Tt,vn){P.push(c(vn,e,!0)+" => "+c(Tt,e))}),JC("Map",Jm.call(e),P,l)}if(Toe(e)){var K=[];return UC&&UC.call(e,function(Tt){K.push(c(Tt,e))}),JC("Set",Xm.call(e),K,l)}if(goe(e))return D8("WeakMap");if(Doe(e))return D8("WeakSet");if(Aoe(e))return D8("WeakRef");if(foe(e))return cc(c(Number(e)));if(hoe(e))return cc(c(S8.call(e)));if(moe(e))return cc(ioe.call(e));if(coe(e))return cc(c(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!doe(e)&&!WC(e)){var W=Wm(e,c),ne=QC?QC(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",Y=!ne&&Bi&&Object(e)===e&&Bi in e?O8.call(xs(e),8,-1):B?"Object":"",_e=ne||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",rt=_e+(Y||B?"["+ca.call(GC.call([],Y||[],B||[]),": ")+"] ":"");return W.length===0?rt+"{}":l?rt+"{"+F8(W,l)+"}":rt+"{ "+ca.call(W,", ")+" }"}return String(e)};function tO(i,e,t){var n=t.quoteStyle||e,r=eO[n];return r+i+r}function poe(i){return Ls.call(String(i),/"/g,""")}function I8(i){return xs(i)==="[object Array]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function doe(i){return xs(i)==="[object Date]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function WC(i){return xs(i)==="[object RegExp]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function loe(i){return xs(i)==="[object Error]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function coe(i){return xs(i)==="[object String]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function foe(i){return xs(i)==="[object Number]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function moe(i){return xs(i)==="[object Boolean]"&&(!Bi||!(typeof i=="object"&&Bi in i))}function iO(i){if(Fp)return i&&typeof i=="object"&&i instanceof Symbol;if(typeof i=="symbol")return!0;if(!i||typeof i!="object"||!_8)return!1;try{return _8.call(i),!0}catch{}return!1}function hoe(i){if(!i||typeof i!="object"||!S8)return!1;try{return S8.call(i),!0}catch{}return!1}var voe=Object.prototype.hasOwnProperty||function(i){return i in this};function ka(i,e){return voe.call(i,e)}function xs(i){return noe.call(i)}function yoe(i){if(i.name)return i.name;var e=aoe.call(roe.call(i),/^function\s*([\w$]+)/);return e?e[1]:null}function nO(i,e){if(i.indexOf)return i.indexOf(e);for(var t=0,n=i.length;te.maxStringLength){var t=i.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return rO(O8.call(i,0,e.maxStringLength),e)+n}var r=uoe[e.quoteStyle||"single"];r.lastIndex=0;var a=Ls.call(Ls.call(i,r,"\\$1"),/[\x00-\x1f]/g,_oe);return tO(a,"single",e)}function _oe(i){var e=i.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+soe.call(e.toString(16))}function cc(i){return"Object("+i+")"}function D8(i){return i+" { ? }"}function JC(i,e,t,n){var r=n?F8(t,n):ca.call(t,", ");return i+" ("+e+") {"+r+"}"}function boe(i){for(var e=0;e=0)return!1;return!0}function Ioe(i,e){var t;if(i.indent===" ")t=" ";else if(typeof i.indent=="number"&&i.indent>0)t=ca.call(Array(i.indent+1)," ");else return null;return{base:t,prev:ca.call(Array(e+1),t)}}function F8(i,e){if(i.length===0)return"";var t=` `+e.prev+e.base;return t+ca.call(i,","+t)+` `+e.prev}function Wm(i,e){var t=I8(i),n=[];if(t){n.length=i.length;for(var r=0;r{"use strict";h();m();var oO=Wr(),Np=ui(),Foe=sO(),Noe=zr(),Zm=oO("%WeakMap%",!0),eh=oO("%Map%",!0),Coe=Np("WeakMap.prototype.get",!0),Ooe=Np("WeakMap.prototype.set",!0),woe=Np("WeakMap.prototype.has",!0),Roe=Np("Map.prototype.get",!0),Boe=Np("Map.prototype.set",!0),Loe=Np("Map.prototype.has",!0),w8=function(i,e){for(var t=i,n;(n=t.next)!==null;t=n)if(n.key===e)return t.next=n.next,n.next=i.next,i.next=n,n},xoe=function(i,e){var t=w8(i,e);return t&&t.value},Poe=function(i,e,t){var n=w8(i,e);n?n.value=t:i.next={key:e,next:i.next,value:t}},$oe=function(i,e){return!!w8(i,e)};uO.exports=function(){var e,t,n,r={assert:function(a){if(!r.has(a))throw new Noe("Side channel does not contain "+Foe(a))},get:function(a){if(Zm&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Coe(e,a)}else if(eh){if(t)return Roe(t,a)}else if(n)return xoe(n,a)},has:function(a){if(Zm&&a&&(typeof a=="object"||typeof a=="function")){if(e)return woe(e,a)}else if(eh){if(t)return Loe(t,a)}else if(n)return $oe(n,a);return!1},set:function(a,s){Zm&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Zm),Ooe(e,a,s)):eh?(t||(t=new eh),Boe(t,a,s)):(n||(n={key:{},next:null}),Poe(n,a,s))}};return r}});var dO=D((_9e,pO)=>{"use strict";h();m();var Voe=R0(),hc=R8()(),Ma=zr(),B8={assert:function(i,e){if(!i||typeof i!="object"&&typeof i!="function")throw new Ma("`O` is not an object");if(typeof e!="string")throw new Ma("`slot` must be a string");if(hc.assert(i),!B8.has(i,e))throw new Ma("`"+e+"` is not present on `O`")},get:function(i,e){if(!i||typeof i!="object"&&typeof i!="function")throw new Ma("`O` is not an object");if(typeof e!="string")throw new Ma("`slot` must be a string");var t=hc.get(i);return t&&t["$"+e]},has:function(i,e){if(!i||typeof i!="object"&&typeof i!="function")throw new Ma("`O` is not an object");if(typeof e!="string")throw new Ma("`slot` must be a string");var t=hc.get(i);return!!t&&Voe(t,"$"+e)},set:function(i,e,t){if(!i||typeof i!="object"&&typeof i!="function")throw new Ma("`O` is not an object");if(typeof e!="string")throw new Ma("`slot` must be a string");var n=hc.get(i);n||(n={},hc.set(i,n)),n["$"+e]=t}};Object.freeze&&Object.freeze(B8);pO.exports=B8});var fO=D((F9e,cO)=>{"use strict";h();m();var vc=dO(),koe=SyntaxError,lO=typeof StopIteration=="object"?StopIteration:null;cO.exports=function(e){if(!lO)throw new koe("this environment lacks StopIteration");vc.set(e,"[[Done]]",!1);var t={next:function(){var r=vc.get(this,"[[Iterator]]"),a=vc.get(r,"[[Done]]");try{return{done:a,value:a?void 0:r.next()}}catch(s){if(vc.set(r,"[[Done]]",!0),s!==lO)throw s;return{done:!0,value:void 0}}}};return vc.set(t,"[[Iterator]]",e),t}});var L8=D((O9e,mO)=>{h();m();var Moe={}.toString;mO.exports=Array.isArray||function(i){return Moe.call(i)=="[object Array]"}});var x8=D((B9e,vO)=>{"use strict";h();m();var hO=ui(),Uoe=hO("String.prototype.valueOf"),joe=function(e){try{return Uoe(e),!0}catch{return!1}},qoe=hO("Object.prototype.toString"),Goe="[object String]",Koe=Yr()();vO.exports=function(e){return typeof e=="string"?!0:!e||typeof e!="object"?!1:Koe?joe(e):qoe(e)===Goe}});var $8=D((P9e,gO)=>{"use strict";h();m();var P8=typeof Map=="function"&&Map.prototype?Map:null,Qoe=typeof Set=="function"&&Set.prototype?Set:null,th;P8||(th=function(e){return!1});var EO=P8?Map.prototype.has:null,yO=Qoe?Set.prototype.has:null;!th&&!EO&&(th=function(e){return!1});gO.exports=th||function(e){if(!e||typeof e!="object")return!1;try{if(EO.call(e),yO)try{yO.call(e)}catch{return!0}return e instanceof P8}catch{}return!1}});var k8=D((k9e,DO)=>{"use strict";h();m();var Hoe=typeof Map=="function"&&Map.prototype?Map:null,V8=typeof Set=="function"&&Set.prototype?Set:null,ih;V8||(ih=function(e){return!1});var AO=Hoe?Map.prototype.has:null,TO=V8?Set.prototype.has:null;!ih&&!TO&&(ih=function(e){return!1});DO.exports=ih||function(e){if(!e||typeof e!="object")return!1;try{if(TO.call(e),AO)try{AO.call(e)}catch{return!0}return e instanceof V8}catch{}return!1}});var LO=D((j9e,ah)=>{"use strict";h();m();var SO=q0(),_O=fO();O0()()||il()()?(nh=Symbol.iterator,ah.exports=function(e){if(e!=null&&typeof e[nh]<"u")return e[nh]();if(SO(e))return Array.prototype[nh].call(e)}):(bO=L8(),IO=x8(),M8=Wr(),FO=M8("%Map%",!0),NO=M8("%Set%",!0),Hn=ui(),U8=Hn("Array.prototype.push"),j8=Hn("String.prototype.charCodeAt"),CO=Hn("String.prototype.slice"),OO=function(e,t){var n=e.length;if(t+1>=n)return t+1;var r=j8(e,t);if(r<55296||r>56319)return t+1;var a=j8(e,t+1);return a<56320||a>57343?t+1:t+2},rh=function(e){var t=0;return{next:function(){var r=t>=e.length,a;return r||(a=e[t],t+=1),{done:r,value:a}}}},q8=function(e,t){if(bO(e)||SO(e))return rh(e);if(IO(e)){var n=0;return{next:function(){var a=OO(e,n),s=CO(e,n,a);return n=a,{done:a>e.length,value:s}}}}if(t&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()},!FO&&!NO?ah.exports=function(e){if(e!=null)return q8(e,!0)}:(wO=$8(),RO=k8(),G8=Hn("Map.prototype.forEach",!0),K8=Hn("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(Q8=Hn("Map.prototype.iterator",!0),H8=Hn("Set.prototype.iterator",!0)),Y8=Hn("Map.prototype.@@iterator",!0)||Hn("Map.prototype._es6-shim iterator_",!0),z8=Hn("Set.prototype.@@iterator",!0)||Hn("Set.prototype._es6-shim iterator_",!0),BO=function(e){if(wO(e)){if(Q8)return _O(Q8(e));if(Y8)return Y8(e);if(G8){var t=[];return G8(e,function(r,a){U8(t,[a,r])}),rh(t)}}if(RO(e)){if(H8)return _O(H8(e));if(z8)return z8(e);if(K8){var n=[];return K8(e,function(r){U8(n,r)}),rh(n)}}},ah.exports=function(e){return BO(e)||q8(e)}));var nh,bO,IO,M8,FO,NO,Hn,U8,j8,CO,OO,rh,q8,wO,RO,G8,K8,Q8,H8,Y8,z8,BO});var W8=D((K9e,PO)=>{"use strict";h();m();var xO=function(i){return i!==i};PO.exports=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||xO(e)&&xO(t))}});var J8=D((Y9e,$O)=>{"use strict";h();m();var Yoe=W8();$O.exports=function(){return typeof Object.is=="function"?Object.is:Yoe}});var kO=D((J9e,VO)=>{"use strict";h();m();var zoe=J8(),Woe=Bs();VO.exports=function(){var e=zoe();return Woe(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var qO=D((e7e,jO)=>{"use strict";h();m();var Joe=Bs(),Xoe=bo(),Zoe=W8(),MO=J8(),eue=kO(),UO=Xoe(MO(),Object);Joe(UO,{getPolyfill:MO,implementation:Zoe,shim:eue});jO.exports=UO});var Z8=D((n7e,HO)=>{"use strict";h();m();var tue=bo(),QO=ui(),iue=Wr(),X8=iue("%ArrayBuffer%",!0),sh=QO("ArrayBuffer.prototype.byteLength",!0),nue=QO("Object.prototype.toString"),GO=!!X8&&!sh&&new X8(0).slice,KO=!!GO&&tue(GO);HO.exports=sh||KO?function(e){if(!e||typeof e!="object")return!1;try{return sh?sh(e):KO(e,0),!0}catch{return!1}}:X8?function(e){return nue(e)==="[object ArrayBuffer]"}:function(e){return!1}});var zO=D((s7e,YO)=>{"use strict";h();m();var rue=Date.prototype.getDay,aue=function(e){try{return rue.call(e),!0}catch{return!1}},sue=Object.prototype.toString,oue="[object Date]",uue=Yr()();YO.exports=function(e){return typeof e!="object"||e===null?!1:uue?aue(e):sue.call(e)===oue}});var n9=D((p7e,ew)=>{"use strict";h();m();var WO=ui(),pue=Yr()(),due=R0(),lue=Yu(),i9;pue?(JO=WO("RegExp.prototype.exec"),e9={},oh=function(){throw e9},t9={toString:oh,valueOf:oh},typeof Symbol.toPrimitive=="symbol"&&(t9[Symbol.toPrimitive]=oh),i9=function(e){if(!e||typeof e!="object")return!1;var t=lue(e,"lastIndex"),n=t&&due(t,"value");if(!n)return!1;try{JO(e,t9)}catch(r){return r===e9}}):(XO=WO("Object.prototype.toString"),ZO="[object RegExp]",i9=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:XO(e)===ZO});var JO,e9,oh,t9,XO,ZO;ew.exports=i9});var nw=D((c7e,iw)=>{"use strict";h();m();var cue=ui(),tw=cue("SharedArrayBuffer.prototype.byteLength",!0);iw.exports=tw?function(e){if(!e||typeof e!="object")return!1;try{return tw(e),!0}catch{return!1}}:function(e){return!1}});var sw=D((h7e,aw)=>{"use strict";h();m();var rw=ui(),fue=rw("Number.prototype.toString"),mue=function(e){try{return fue(e),!0}catch{return!1}},hue=rw("Object.prototype.toString"),vue="[object Number]",yue=Yr()();aw.exports=function(e){return typeof e=="number"?!0:!e||typeof e!="object"?!1:yue?mue(e):hue(e)===vue}});var pw=D((E7e,uw)=>{"use strict";h();m();var ow=ui(),Eue=ow("Boolean.prototype.toString"),gue=ow("Object.prototype.toString"),Aue=function(e){try{return Eue(e),!0}catch{return!1}},Tue="[object Boolean]",Due=Yr()();uw.exports=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:Due&&Symbol.toStringTag in e?Aue(e):gue(e)===Tue}});var lw=D((T7e,dw)=>{"use strict";h();m();var Sue=ui(),_ue=n9(),bue=Sue("RegExp.prototype.exec"),Iue=zr();dw.exports=function(e){if(!_ue(e))throw new Iue("`regex` must be a RegExp");return function(n){return bue(e,n)!==null}}});var vw=D((_7e,r9)=>{"use strict";h();m();var hw=ui(),Fue=hw("Object.prototype.toString"),Nue=O0()(),Cue=lw();Nue?(cw=hw("Symbol.prototype.toString"),fw=Cue(/^Symbol\(.*\)$/),mw=function(e){return typeof e.valueOf()!="symbol"?!1:fw(cw(e))},r9.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||Fue(e)!=="[object Symbol]")return!1;try{return mw(e)}catch{return!1}}):r9.exports=function(e){return!1};var cw,fw,mw});var gw=D((F7e,Ew)=>{"use strict";h();m();var yw=typeof BigInt<"u"&&BigInt;Ew.exports=function(){return typeof yw=="function"&&typeof BigInt=="function"&&typeof yw(42)=="bigint"&&typeof BigInt(42)=="bigint"}});var Dw=D((O7e,a9)=>{"use strict";h();m();var Oue=gw()();Oue?(Aw=BigInt.prototype.valueOf,Tw=function(e){try{return Aw.call(e),!0}catch{}return!1},a9.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:Tw(e)}):a9.exports=function(e){return!1};var Aw,Tw});var _w=D((B7e,Sw)=>{"use strict";h();m();var wue=x8(),Rue=sw(),Bue=pw(),Lue=vw(),xue=Dw();Sw.exports=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(wue(e))return"String";if(Rue(e))return"Number";if(Bue(e))return"Boolean";if(Lue(e))return"Symbol";if(xue(e))return"BigInt"}});var Fw=D((P7e,Iw)=>{"use strict";h();m();var uh=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,bw=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ph;uh||(ph=function(e){return!1});var o9=uh?uh.prototype.has:null,s9=bw?bw.prototype.has:null;!ph&&!o9&&(ph=function(e){return!1});Iw.exports=ph||function(e){if(!e||typeof e!="object")return!1;try{if(o9.call(e,o9),s9)try{s9.call(e,s9)}catch{return!0}return e instanceof uh}catch{}return!1}});var Cw=D((k7e,p9)=>{"use strict";h();m();var Pue=Wr(),Nw=ui(),$ue=Pue("%WeakSet%",!0),u9=Nw("WeakSet.prototype.has",!0);u9?(dh=Nw("WeakMap.prototype.has",!0),p9.exports=function(e){if(!e||typeof e!="object")return!1;try{if(u9(e,u9),dh)try{dh(e,dh)}catch{return!0}return e instanceof $ue}catch{}return!1}):p9.exports=function(e){return!1};var dh});var ww=D((j7e,Ow)=>{"use strict";h();m();var Vue=$8(),kue=k8(),Mue=Fw(),Uue=Cw();Ow.exports=function(e){if(e&&typeof e=="object"){if(Vue(e))return"Map";if(kue(e))return"Set";if(Mue(e))return"WeakMap";if(Uue(e))return"WeakSet"}return!1}});var Lw=D((K7e,Bw)=>{"use strict";h();m();var jue=ui(),Rw=jue("ArrayBuffer.prototype.byteLength",!0),que=Z8();Bw.exports=function(e){return que(e)?Rw?Rw(e):e.byteLength:NaN}});var aR=D((Y7e,rR)=>{"use strict";h();m();var tR=_C(),fa=ui(),xw=VC(),Gue=Wr(),Cp=LO(),Kue=R8(),Pw=qO(),$w=q0(),Vw=L8(),kw=Z8(),Mw=zO(),Uw=n9(),jw=nw(),qw=zm(),Gw=_w(),Kw=ww(),Qw=fy(),Hw=Lw(),Yw=fa("SharedArrayBuffer.prototype.byteLength",!0),zw=fa("Date.prototype.getTime"),d9=Object.getPrototypeOf,Ww=fa("Object.prototype.toString"),ch=Gue("%Set%",!0),l9=fa("Map.prototype.has",!0),fh=fa("Map.prototype.get",!0),Jw=fa("Map.prototype.size",!0),mh=fa("Set.prototype.add",!0),iR=fa("Set.prototype.delete",!0),hh=fa("Set.prototype.has",!0),lh=fa("Set.prototype.size",!0);function Xw(i,e,t,n){for(var r=Cp(i),a;(a=r.next())&&!a.done;)if(_r(e,a.value,t,n))return iR(i,a.value),!0;return!1}function nR(i){if(typeof i>"u")return null;if(typeof i!="object")return typeof i=="symbol"?!1:typeof i=="string"||typeof i=="number"?+i==+i:!0}function Que(i,e,t,n,r,a){var s=nR(t);if(s!=null)return s;var o=fh(e,s),u=tR({},r,{strict:!1});return typeof o>"u"&&!l9(e,s)||!_r(n,o,u,a)?!1:!l9(i,s)&&_r(n,o,u,a)}function Hue(i,e,t){var n=nR(t);return n??(hh(e,n)&&!hh(i,n))}function Zw(i,e,t,n,r,a){for(var s=Cp(i),o,u;(o=s.next())&&!o.done;)if(u=o.value,_r(t,u,r,a)&&_r(n,fh(e,u),r,a))return iR(i,u),!0;return!1}function _r(i,e,t,n){var r=t||{};if(r.strict?Pw(i,e):i===e)return!0;var a=Gw(i),s=Gw(e);if(a!==s)return!1;if(!i||!e||typeof i!="object"&&typeof e!="object")return r.strict?Pw(i,e):i==e;var o=n.has(i),u=n.has(e),p;if(o&&u){if(n.get(i)===n.get(e))return!0}else p={};return o||n.set(i,p),u||n.set(e,p),Wue(i,e,r,n)}function eR(i){return!i||typeof i!="object"||typeof i.length!="number"||typeof i.copy!="function"||typeof i.slice!="function"||i.length>0&&typeof i[0]!="number"?!1:!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))}function Yue(i,e,t,n){if(lh(i)!==lh(e))return!1;for(var r=Cp(i),a=Cp(e),s,o,u;(s=r.next())&&!s.done;)if(s.value&&typeof s.value=="object")u||(u=new ch),mh(u,s.value);else if(!hh(e,s.value)){if(t.strict||!Hue(i,e,s.value))return!1;u||(u=new ch),mh(u,s.value)}if(u){for(;(o=a.next())&&!o.done;)if(o.value&&typeof o.value=="object"){if(!Xw(u,o.value,t.strict,n))return!1}else if(!t.strict&&!hh(i,o.value)&&!Xw(u,o.value,t.strict,n))return!1;return lh(u)===0}return!0}function zue(i,e,t,n){if(Jw(i)!==Jw(e))return!1;for(var r=Cp(i),a=Cp(e),s,o,u,p,d,l;(s=r.next())&&!s.done;)if(p=s.value[0],d=s.value[1],p&&typeof p=="object")u||(u=new ch),mh(u,p);else if(l=fh(e,p),typeof l>"u"&&!l9(e,p)||!_r(d,l,t,n)){if(t.strict||!Que(i,e,p,d,t,n))return!1;u||(u=new ch),mh(u,p)}if(u){for(;(o=a.next())&&!o.done;)if(p=o.value[0],l=o.value[1],p&&typeof p=="object"){if(!Zw(u,i,p,l,t,n))return!1}else if(!t.strict&&(!i.has(p)||!_r(fh(i,p),l,t,n))&&!Zw(u,i,p,l,tR({},t,{strict:!1}),n))return!1;return lh(u)===0}return!0}function Wue(i,e,t,n){var r,a;if(typeof i!=typeof e||i==null||e==null||Ww(i)!==Ww(e)||$w(i)!==$w(e))return!1;var s=Vw(i),o=Vw(e);if(s!==o)return!1;var u=i instanceof Error,p=e instanceof Error;if(u!==p||(u||p)&&(i.name!==e.name||i.message!==e.message))return!1;var d=Uw(i),l=Uw(e);if(d!==l||(d||l)&&(i.source!==e.source||xw(i)!==xw(e)))return!1;var c=Mw(i),v=Mw(e);if(c!==v||(c||v)&&zw(i)!==zw(e)||t.strict&&d9&&d9(i)!==d9(e))return!1;var y=Qw(i),g=Qw(e);if(y!==g)return!1;if(y||g){if(i.length!==e.length)return!1;for(r=0;r=0;r--)if(K[r]!=W[r])return!1;for(r=K.length-1;r>=0;r--)if(a=K[r],!_r(i[a],e[a],t,n))return!1;var ne=Kw(i),B=Kw(e);return ne!==B?!1:ne==="Set"||B==="Set"?Yue(i,e,t,n):ne==="Map"?zue(i,e,t,n):!0}rR.exports=function(e,t,n){return _r(e,t,n,Kue())}});var vh=D(Yn=>{"use strict";h();m();var Jue=Yn&&Yn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Yn,"__esModule",{value:!0});Yn.emptyContext=Yn.PathContext=Yn.extractOperationConditionals=Yn.isPathContext=void 0;var c9=wi(),Xue=Jue(aR());function Zue(i){return i instanceof Xo}Yn.isPathContext=Zue;function oR(i){let e=[];return sR(i,"skip",e),sR(i,"include",e),e}Yn.extractOperationConditionals=oR;function sR(i,e,t){let n=i.appliedDirectivesOf(e);if(n.length>0){(0,c9.assert)(n.length===1,()=>`${e} shouldn't be repeated on ${i}`);let r=n[0].arguments().if;(0,c9.assert)(typeof r=="boolean"||(0,c9.isVariable)(r),()=>`Invalid value ${r} found as condition of @${e}`),t.push({kind:e,value:r})}}var Xo=class{constructor(e){this.conditionals=e}isEmpty(){return this.conditionals.length===0}withContextOf(e){if(e.appliedDirectives.length===0)return this;let t=oR(e);return t.length===0?this:new Xo(t.concat(this.conditionals))}equals(e){return(0,Xue.default)(this.conditionals,e.conditionals)}toString(){return"["+this.conditionals.map(({kind:e,value:t})=>`@${e}(if: ${t})`).join(", ")+"]"}};Yn.PathContext=Xo;Yn.emptyContext=new Xo([])});var h9=D(Ps=>{"use strict";h();m();Object.defineProperty(Ps,"__esModule",{value:!0});Ps.traversePathTree=Ps.isRootPathTree=Ps.PathTree=void 0;var Li=wi(),epe=Rs(),f9=vh();function uR(i,e){return i===e?!0:(0,f9.isPathContext)(i)?(0,f9.isPathContext)(e)&&i.equals(e):(0,f9.isPathContext)(e)?!1:i.equals(e)}function tpe(i,e,t){for(let n=0;n0,"Should compute on empty paths"),this.createFromPaths(e,uR,t,n.map(({path:r,selection:a})=>({path:r[Symbol.iterator](),selection:a})))}static createFromPaths(e,t,n,r){let a=e.outEdgesCount(n),s=new Array(a+1),o=new Array(a),u=new Array(a+1),p=0,d=0,l;for(let y of r){let g=y.path.next();if(g.done){y.selection&&(l=l?l.concat(y.selection):[y.selection]);continue}let[T,S,N,F,R]=g.value,P=T?T.index:a;T&&(o[P]=T.tail);let K=s[P];if(K){let W=tpe(t,K,S);if(W<0)K.push([S,N,[y],F,R]),d++;else{let ne=K[W],B=ne[1],Y=B?N?B.mergeIfNotEqual(N):B:N,_e=ne[2],rt=(0,Li.composeSets)(ne[3],F),Tt=(0,Li.mergeMapOrNull)(ne[4],R);_e.push(y),K[W]=[S,Y,_e,rt,Tt]}}else u[p++]=P,s[P]=[[S,N,[y],F,R]],d++}let c=new Array(d),v=0;for(let y=0;y`Expected to have ${d} childs but only ${v} added`),new Ua(e,n,l,t,c)}childCount(){return this.childs.length}isLeaf(){return this.childCount()===0}*childElements(e=!1){if(e)for(let t=this.childs.length-1;t>=0;t--)yield this.element(t);else for(let t=0;t`Cannot merge path tree rooted at vertex ${e.vertex} into tree rooted at other vertex ${this.vertex}`),!e.childs.length)return this;if(!this.childs.length)return e;let t=this.mergeLocalSelectionsWith(e),n=new Array(e.childs.length),r=0;for(let p=0;p`Expected ${s} childs but only got ${u}`),new Ua(this.graph,this.vertex,t,this.triggerEquality,o)}equalsSameRoot(e){return this===e?!0:(0,Li.arrayEquals)(this.childs,e.childs,(t,n)=>t.index===n.index&&t.trigger===n.trigger&&(t.conditions?n.conditions?t.conditions.equalsSameRoot(n.conditions):!1:!n.conditions)&&t.tree.equalsSameRoot(n.tree)&&(0,Li.setsEqual)(t.contextToSelection,n.contextToSelection)&&Ua.parameterToContextEquals(t.parameterToContext,n.parameterToContext))}static parameterToContextEquals(e,t){var n,r;if(e===t)return!0;let a=Array.from((n=e?.keys())!==null&&n!==void 0?n:[]),s=Array.from((r=t?.keys())!==null&&r!==void 0?r:[]);if(a.length!==s.length)return!1;for(let o of a){let u=e.get(o),p=t.get(o);if((0,Li.assert)(u,()=>`Expected to have a selection for key ${o}`),!p||u.contextId!==p.contextId||!(0,Li.arrayEquals)(u.relativePath,p.relativePath)||!u.selectionSet.equals(p.selectionSet)||u.subgraphArgType!==p.subgraphArgType)return!1}return!0}concat(e){if((0,Li.assert)(e.graph===this.graph,"Cannot concat path tree build on another graph"),(0,Li.assert)(e.vertex.index===this.vertex.index,()=>`Cannot concat path tree rooted at vertex ${e.vertex} into tree rooted at other vertex ${this.vertex}`),!e.childs.length)return this;if(!this.childs.length)return e;let t=this.mergeLocalSelectionsWith(e),n=this.childs.concat(e.childs);return new Ua(this.graph,this.vertex,t,this.triggerEquality,n)}findIndex(e,t){for(let n=0;nt.tree.isAllInSameSubgraphInternal(e))}toString(e="",t=!1){return this.toStringInternal(e,t)}toStringInternal(e,t){return this.isLeaf()?this.vertex.toString():this.vertex+`: `+this.childs.map(n=>e+` -> [${n.index}] `+(t&&n.conditions?`!! { ${e+" "}${n.conditions.toString(e+" ",!0)} ${e} } `:"")+`${n.trigger} = `+n.tree.toStringInternal(e+" ",t)).join(` `)}};Ps.PathTree=Ua;function ipe(i){return(0,epe.isRootVertex)(i.vertex)}Ps.isRootPathTree=ipe;function m9(i,e){for(let[t,n,r,a]of i.childElements())t&&e(t),r&&m9(r,e),m9(a,e)}Ps.traversePathTree=m9});var Ac=D(me=>{"use strict";h();m();Object.defineProperty(me,"__esModule",{value:!0});me.createInitialOptions=me.advanceSimultaneousPathsWithOperation=me.advanceOptionsToString=me.simultaneousPathsToString=me.SimultaneousPathsWithLazyIndirectPaths=me.getLocallySatisfiableKey=me.addConditionExclusion=me.sameExcludedDestinations=me.advancePathWithTransition=me.TransitionPathWithLazyIndirectPaths=me.isUnadvanceableClosures=me.UnadvanceableClosures=me.Unadvanceables=me.UnadvanceableReason=me.unsatisfiedConditionsResolution=me.noConditionsResolution=me.UnsatisfiedConditionReason=me.traversePath=me.terminateWithNonRequestedTypenameField=me.isRootPath=me.GraphPath=void 0;var k=wi(),npe=h9(),br=Rs(),rpe=jm(),Ec=vh(),ape=tE(),j=(0,k.newDebugLogger)("path");function yc(i,e){var t;if(!e)return i;switch(e.transition.kind){case"FieldCollection":let n=e.transition.definition;if(!(0,k.isCompositeType)((0,k.baseType)(n.type)))return[];let r=[];for(let u of i){let p=(t=u.field(n.name))===null||t===void 0?void 0:t.type;if(p)for(let d of(0,k.possibleRuntimeTypes)((0,k.baseType)(p)))r.includes(d)||r.push(d)}return r;case"DownCast":let a=e.transition.castedType,s=(0,k.possibleRuntimeTypes)(a);return i.filter(u=>s.includes(u));case"InterfaceObjectFakeDownCast":return i;case"KeyResolution":let o=e.tail.type;return(0,k.possibleRuntimeTypes)(o);case"RootTypeResolution":case"SubgraphEnteringTransition":return(0,k.assert)((0,k.isObjectType)(e.tail.type),()=>`Query edge should be between object type but got ${e}`),[e.tail.type]}}function Op(i,e){(0,k.assert)(i.length>0,"Should not have been called on empty array");let t=new Array(i.length);for(let n=0;n`Expected both path to start on the same root, but 'this' has root ${t} while 'that' has ${e.root}`);let n=Math.min(this.size,e.size),r=0;for(;r=e.size)return{done:!0,value:void 0};let t=this.currentIndex++,n=e.edgeAt(t,this.currentVertex);return n&&(this.currentVertex=n.tail),{done:!1,value:[n,e.props.edgeTriggers[t],e.props.edgeConditions[t],e.props.contextToSelection[t],e.props.parameterToContext[t]]}}}}lastEdge(){return this.props.edgeToTail}lastTrigger(){return this.props.edgeTriggers[this.size-1]}tailPossibleRuntimeTypes(){return this.props.runtimeTypesOfTail}lastIsIntefaceObjectFakeDownCastAfterEnteringSubgraph(){var e;return this.lastIsInterfaceObjectFakeDownCast()&&((e=this.subgraphEnteringEdge)===null||e===void 0?void 0:e.index)===this.size-2}lastIsInterfaceObjectFakeDownCast(){var e;return((e=this.lastEdge())===null||e===void 0?void 0:e.transition.kind)==="InterfaceObjectFakeDownCast"}add(e,t,n,r){var a,s,o;(0,k.assert)(!t||this.tail.index===t.head.index,()=>`Cannot add edge ${t} to path ending at ${this.tail}`),(0,k.assert)(n.satisfied,"Should add to a path if the conditions cannot be satisfied"),(0,k.assert)(!t||t.conditions||t.requiredContexts.length>0||!n.pathTree,()=>`Shouldn't have conditions paths (got ${n.pathTree}) for edge without conditions (edge: ${t})`);let u=r?void 0:this.subgraphEnteringEdge;if(t){if(t.transition.kind==="DownCast"&&this.props.edgeToTail){let y=this.lastTrigger();if(y instanceof k.FragmentElement&&y.appliedDirectives.length===0){let g=yc(this.props.runtimeTypesBeforeTailIfLastIsCast,t);if(g.length>0&&g.every(T=>this.props.runtimeTypesOfTail.includes(T))){let T=this.graph.outEdges(this.props.edgeToTail.head).find(S=>S.tail.type===t.tail.type);if(T)return j.log(()=>`Previous cast ${y} is made obsolete by new cast ${e}, removing from path.`),new zn({...this.props,tail:T.tail,edgeTriggers:Op(this.props.edgeTriggers,e),edgeIndexes:Op(this.props.edgeIndexes,T.index),edgeConditions:Op(this.props.edgeConditions,(a=n.pathTree)!==null&&a!==void 0?a:null),edgeToTail:T,runtimeTypesOfTail:g,deferOnTail:r??this.props.deferOnTail})}}}if(!r&&t.changesSubgraph()&&(u={index:this.size,edge:t,cost:n.cost}),t.transition.kind==="KeyResolution"&&this.lastIsInterfaceObjectFakeDownCast()&&(0,k.isInterfaceType)(t.tail.type))return new zn({...this.props,tail:t.tail,edgeTriggers:Op(this.props.edgeTriggers,e),edgeIndexes:Op(this.props.edgeIndexes,t.index),edgeConditions:Op(this.props.edgeConditions,(s=n.pathTree)!==null&&s!==void 0?s:null),subgraphEnteringEdge:u,edgeToTail:t,runtimeTypesOfTail:yc(this.props.runtimeTypesOfTail,t),runtimeTypesBeforeTailIfLastIsCast:void 0,deferOnTail:r})}let{edgeConditions:p,contextToSelection:d,parameterToContext:l}=this.mergeEdgeConditionsWithResolution(n),c=l[l.length-1],v=e;if(c!==null&&e.kind==="Field"){let y=Array.from(c).reduce((g,[T,S])=>(g[T]=new k.Variable(S.contextId),g),{});v=e.withUpdatedArguments(y)}return new zn({...this.props,tail:t?t.tail:this.tail,edgeTriggers:this.props.edgeTriggers.concat(v),edgeIndexes:this.props.edgeIndexes.concat(t?t.index:null),edgeConditions:p,subgraphEnteringEdge:u,edgeToTail:t,runtimeTypesOfTail:yc(this.props.runtimeTypesOfTail,t),runtimeTypesBeforeTailIfLastIsCast:((o=t?.transition)===null||o===void 0?void 0:o.kind)==="DownCast"?this.props.runtimeTypesOfTail:void 0,deferOnTail:r??(t&&t.transition.kind==="DownCast"?this.props.deferOnTail:void 0),contextToSelection:d,parameterToContext:l})}mergeEdgeConditionsWithResolution(e){var t,n,r,a,s;let o=this.props.edgeConditions.concat((t=e.pathTree)!==null&&t!==void 0?t:null),u=this.props.contextToSelection.concat(null),p=this.props.parameterToContext.concat(null);if(e.contextMap===void 0||e.contextMap.size===0)return{edgeConditions:o,contextToSelection:u,parameterToContext:p};p[p.length-1]=new Map;for(let[d,l]of e.contextMap){let c=o.length-l.levelsInQueryPath-1;(0,k.assert)(c>=0,"calculated condition index must be positive"),l.pathTree&&(o[c]=(r=(n=o[c])===null||n===void 0?void 0:n.merge(l.pathTree))!==null&&r!==void 0?r:l.pathTree),u[c]===null&&(u[c]=new Set),(a=u[c])===null||a===void 0||a.add(l.id),(s=p[p.length-1])===null||s===void 0||s.set(l.paramName,{contextId:l.id,relativePath:Array(l.levelsInDataPath).fill(".."),selectionSet:l.selectionSet,subgraphArgType:l.argType})}return{edgeConditions:o,contextToSelection:u,parameterToContext:p}}concat(e){var t,n;if((0,k.assert)(this.tail.index===e.root.index,()=>`Cannot concat ${e} after ${this}`),e.size===0)return this;let r=this.props.runtimeTypesBeforeTailIfLastIsCast,a=this.props.runtimeTypesOfTail;for(let[s]of e)r=a,a=yc(a,s);return new zn({...this.props,tail:e.tail,edgeTriggers:this.props.edgeTriggers.concat(e.props.edgeTriggers),edgeIndexes:this.props.edgeIndexes.concat(e.props.edgeIndexes),edgeConditions:this.props.edgeConditions.concat(e.props.edgeConditions),subgraphEnteringEdge:e.subgraphEnteringEdge?e.subgraphEnteringEdge:this.subgraphEnteringEdge,ownPathIds:this.props.ownPathIds.concat(e.props.ownPathIds),overriddingPathIds:this.props.overriddingPathIds.concat(e.props.overriddingPathIds),edgeToTail:e.props.edgeToTail,runtimeTypesOfTail:a,runtimeTypesBeforeTailIfLastIsCast:((n=(t=e.props.edgeToTail)===null||t===void 0?void 0:t.transition)===null||n===void 0?void 0:n.kind)==="DownCast"?r:void 0,deferOnTail:e.deferOnTail})}checkDirectPathFromPreviousSubgraphTo(e,t,n,r){let a=this.subgraphEnteringEdge;if(!a||this.graph.subgraphToArgs.size>0||a.edge.transition.kind==="SubgraphEnteringTransition"&&!r)return;let s=r??a.edge.head;for(let o=a.index+1;oe!==null)}isOnTopLevelQueryRoot(){if(!(0,br.isRootVertex)(this.root))return!1;let e=this.root;for(let t=0;tn.map(r=>new zn({...r.props,overriddingPathIds:r.props.overriddingPathIds.concat(t)})))}}isOverriddenBy(e){for(let t of this.props.overriddingPathIds)if(e.props.ownPathIds.includes(t))return!0;return!1}tailIsInterfaceObject(){var e;if(!(0,k.isObjectType)(this.tail.type))return!1;let t=this.graph.sources.get(this.tail.source),n=(0,k.federationMetadata)(t);return(e=n?.isInterfaceObjectType(this.tail.type))!==null&&e!==void 0?e:!1}toString(){let e=(0,br.isRootVertex)(this.root);if(e&&this.size===0)return"_";let t=this.mapMainPath((a,s)=>{if(a){if(e&&s==0)return a.tail.toString();let o=a.label();return` -${o===""?"":"-["+o+"]-"}-> ${a.tail}`}return` (${this.props.edgeTriggers[s]}) `}).join(""),n=this.deferOnTail?` `:"",r=this.props.runtimeTypesOfTail.length>0?` (types: [${this.props.runtimeTypesOfTail.join(", ")}])`:"";return`${e?"":this.root}${t}${n}${r}`}};me.GraphPath=zn;function spe(i){return(0,br.isRootVertex)(i.root)}me.isRootPath=spe;function ope(i,e){if(i=i.truncateTrailingDowncasts(),!(0,k.isCompositeType)(i.tail.type))return i;let t=new k.Field(i.tail.type.typenameField()),n=D9(i.graph,i.tail,t,e);return(0,k.assert)(n,()=>`We should have an edge from ${i.tail} for ${t}`),i.add(t,n,me.noConditionsResolution)}me.terminateWithNonRequestedTypenameField=ope;function upe(i,e){for(let[t,n,r]of i)r&&(0,npe.traversePathTree)(r,e),e(t)}me.traversePath=upe;var $s;(function(i){i[i.NO_POST_REQUIRE_KEY=0]="NO_POST_REQUIRE_KEY",i[i.NO_CONTEXT_SET=1]="NO_CONTEXT_SET"})($s||(me.UnsatisfiedConditionReason=$s={}));me.noConditionsResolution={satisfied:!0,cost:0};me.unsatisfiedConditionsResolution={satisfied:!1,cost:-1};var Wn;(function(i){i[i.UNSATISFIABLE_KEY_CONDITION=0]="UNSATISFIABLE_KEY_CONDITION",i[i.UNSATISFIABLE_REQUIRES_CONDITION=1]="UNSATISFIABLE_REQUIRES_CONDITION",i[i.UNRESOLVABLE_INTERFACE_OBJECT=2]="UNRESOLVABLE_INTERFACE_OBJECT",i[i.NO_MATCHING_TRANSITION=3]="NO_MATCHING_TRANSITION",i[i.UNREACHABLE_TYPE=4]="UNREACHABLE_TYPE",i[i.IGNORED_INDIRECT_PATH=5]="IGNORED_INDIRECT_PATH",i[i.UNSATISFIABLE_OVERRIDE_CONDITION=6]="UNSATISFIABLE_OVERRIDE_CONDITION"})(Wn||(me.UnadvanceableReason=Wn={}));var Eh=class{constructor(e){this.reasons=e}toString(){return"["+this.reasons.map(e=>`[${e.reason}](${e.sourceSubgraph}->${e.destSubgraph}) ${e.details}`).join(", ")+"]"}};me.Unadvanceables=Eh;var ma=class{constructor(e){Array.isArray(e)?this.closures=e:this.closures=[e]}toUnadvanceables(){return this._unadvanceables||(this._unadvanceables=new Eh(this.closures.map(e=>e()).flat())),this._unadvanceables}};me.UnadvanceableClosures=ma;function gh(i){return i instanceof ma}me.isUnadvanceableClosures=gh;function ppe(i,e,t,n){for(let r of i.outEdges(e))if(r.matchesSupergraphTransition(t)&&r.satisfiesOverrideConditions(n))return r}var Rp=class{constructor(e,t,n){this.path=e,this.conditionResolver=t,this.overrideConditions=n}static initial(e,t,n){return new Rp(e,t,n)}indirectOptions(){return this.lazilyComputedIndirectPaths||(this.lazilyComputedIndirectPaths=this.computeIndirectPaths()),this.lazilyComputedIndirectPaths}computeIndirectPaths(){return dR(this.path,Ec.emptyContext,this.conditionResolver,[],[],e=>e,ppe,this.overrideConditions,fR)}toString(){return this.path.toString()}};me.TransitionPathWithLazyIndirectPaths=Rp;function dpe(i,e,t,n){if(e.kind==="DownCast"&&!((0,k.isInterfaceType)(e.sourceType)&&(0,k.isObjectType)(i.path.tail.type))){let p=(0,k.possibleRuntimeTypes)(t),d=i.path.tailPossibleRuntimeTypes();if(p.filter(c=>d.some(v=>c.name===v.name)).map(c=>c.name).length===0)return j.log(()=>`No intersection between casted type ${t} and the possible types in this subgraph`),[]}j.group(()=>`Trying to advance ${i} for ${e}`),j.group("Direct options:");let r=g9(i.path,e,i.conditionResolver,n),a,s=[];if(gh(r))a=[],j.groupEnd(()=>"No direct options"),s.push(...r.closures);else{if(j.groupEnd(()=>hn(r)),r.length>0&&(0,k.isLeafType)(t))return j.groupEnd(()=>`reached leaf type ${t} so not trying indirect paths`),pR(r,i,n);a=r}j.group("Computing indirect paths:");let o=i.indirectOptions();if(o.paths.length>0){j.groupEnd(()=>`${o.paths.length} indirect paths: ${o.paths}`),j.group("Validating indirect options:");for(let p of o.paths){j.group(()=>`For indirect path ${p}:`);let d=g9(p,e,i.conditionResolver,n);gh(d)?(j.groupEnd(()=>`Cannot be advanced with ${e}`),s.push(...d.closures)):(j.groupEnd(()=>`Adding valid option: ${d}`),a=a.concat(d))}j.groupEnd()}else j.groupEnd("no indirect paths");if(j.groupEnd(()=>a.length>0?hn(a):`Cannot advance ${e} for this path`),a.length>0)return pR(a,i,n);let u=o.deadEnds.closures;return new ma(()=>{let p=new ma(s.concat(u)).toUnadvanceables().reasons;if(e.kind==="FieldCollection"){let d=e.definition.parent.name,l=e.definition.name,c=new Set(p.map(v=>v.destSubgraph));for(let[v,y]of i.path.graph.sources.entries()){if(c.has(v))continue;let g=y.type(d);if(g&&(0,k.isCompositeType)(g)&&g.field(l)){let T=i.path.tail.type.name,S=y.type(T);if(!S)p.push({sourceSubgraph:i.path.tail.source,destSubgraph:v,reason:Wn.UNREACHABLE_TYPE,details:`cannot move to subgraph "${v}", which has field "${e.definition.coordinate}", because interface "${T}" is not defined in this subgraph (to jump to "${v}", it would need to both define interface "${T}" and have a @key on it)`});else{(0,k.assert)((0,k.isCompositeType)(S),()=>`Type ${S} in ${v} should be composite`);let N=(0,k.federationMetadata)(y),F=N?S.appliedDirectivesOf(N.keyDirective()):[],R=F.length>0&&F.every(W=>{var ne;return!(!((ne=W.arguments().resolvable)!==null&&ne!==void 0)||ne)});(0,k.assert)(F.length===0||R,()=>`After ${i} and for transition ${e}, expected type ${g} in ${v} to have no resolvable keys`);let P=S===g?"type":"interface",K=F.length===0?`${P} "${T}" has no @key defined in subgraph "${v}"`:`none of the @key defined on ${P} "${T}" in subgraph "${v}" are resolvable (they are all declared with their "resolvable" argument set to false)`;p.push({sourceSubgraph:i.path.tail.source,destSubgraph:v,reason:Wn.UNREACHABLE_TYPE,details:`cannot move to subgraph "${v}", which has field "${e.definition.coordinate}", because ${K}`})}}}}return p})}me.advancePathWithTransition=dpe;function pR(i,e,t){return i.map(n=>new Rp(n,e.conditionResolver,t))}function lpe(i,e){return e.includes(i)}function cpe(i,e){return i===e?!0:i.length!==e.length?!1:i.every(t=>e.includes(t))}me.sameExcludedDestinations=cpe;function fpe(i,e){return i.includes(e)?i:i.concat(e)}function mpe(i,e){return i?e.find(t=>i.equals(t))!==void 0:!1}function hpe(i,e){return e?i.concat(e):i}me.addConditionExclusion=hpe;function vpe(i){let e=0,t=i[0].size;for(let r=1;r{let g=new Set(i.nextEdges().filter(T=>!T.transition.collectOperationElements&&T.tail.source!==i.tail.source).map(T=>T.tail.source));return Array.from(g).map(T=>({sourceSubgraph:i.tail.source,destSubgraph:T,reason:Wn.IGNORED_INDIRECT_PATH,details:`ignoring moving from "${i.tail.source}" to "${T}" as a more direct option exists`}))})};let p=i.isOnTopLevelQueryRoot(),d=(0,br.isFederatedGraphRootType)(i.tail.type)?void 0:i.tail.type.name,l=i.tail.source,c=new Map,v=[],y=[i];for(;y.length>0;){let g=vpe(y),T=g.nextEdges().filter(S=>!S.transition.collectOperationElements);if(T.length===0){let S=g.graph.outEdges(g.tail).filter(N=>!N.transition.collectOperationElements);S.length>0?(j.log(()=>`Nothing to try for ${g}: it only has "trivial" non-collecting outbound edges`),v.push(()=>{var N;let F=[];for(let R of S)R.tail.source!==g.tail.source&&R.tail.source!==l&&F.push({sourceSubgraph:g.tail.source,destSubgraph:R.tail.source,reason:Wn.IGNORED_INDIRECT_PATH,details:`ignoring moving to subgraph "${R.tail.source}" using @key(fields: "${(N=R.conditions)===null||N===void 0?void 0:N.toString(!0,!1)}") of "${R.head.type}" because there is a more direct path in ${R.tail.source} that avoids ${g.tail.source} altogether`});return F})):j.log(()=>`Nothing to try for ${g}: it has no non-collecting outbound edges`);continue}j.group(()=>`From ${g}:`);for(let S of T){j.group(()=>`Testing edge ${S}`);let N=S.tail;if(lpe(N.source,n)){j.groupEnd("Ignored: edge is excluded");continue}if(N.source===l&&!g.deferOnTail){j.groupEnd("Ignored: edge get us back to our original source");continue}if(p&&S.transition.kind==="RootTypeResolution"&&!(g.deferOnTail&&S.isKeyOrRootTypeEdgeToSelf())){j.groupEnd('Ignored: edge is a top-level "RootTypeResolution"');continue}let F=c.get(N.source);if(F===null){j.groupEnd(()=>`Ignored: we've shown before than going to ${N.source} is not productive`);continue}if(F&&(F[0].size"Ignored: a better (shorter) path to the same subgraph already added");continue}if(mpe(S.conditions,r)){j.groupEnd("Ignored: edge condition is excluded");continue}j.group(()=>`Validating conditions ${S.conditions}`);let R=Ah(g,S,t,e,fpe(n,N.source),r,u);if(R.satisfied){if(j.groupEnd("Condition satisfied"),F&&F[0].size===g.size+1&&F[1]<=R.cost){j.groupEnd("Ignored: a better (less costly) path to the same subgraph already added");continue}let P=g.subgraphEnteringEdge;if(P&&P.edge.tail.type.name!==d){let W,ne;P.edge.transition.kind==="SubgraphEnteringTransition"?((0,k.assert)(g.root instanceof br.RootVertex,()=>`${g} should be a root path if it starts with subgraph entering edge ${P.edge}`),W=ype(g.graph,S.tail.source,g.root.rootKind),ne=!0):ne=P.edge.head.source===S.tail.source;let B=g.checkDirectPathFromPreviousSubgraphTo(S.tail.type.name,s,o,W),Y=g.subgraphEnteringEdge.cost+(ne?0:R.cost);if(B&&(ne||gpe(g.graph,B,S.tail.source,t,Y))){j.groupEnd(()=>`Ignored: edge correspond to a detour by subgraph ${S.head.source} from subgraph ${P.edge.head.source}: we have a direct path from ${P.edge.head.type} to ${S.tail.type} in ${P.edge.head.source}`+(ne?".":` and can move to ${S.tail.source} from there`)),c.set(S.tail.source,null),v.push(()=>{var _e;return{sourceSubgraph:g.tail.source,destSubgraph:S.tail.source,reason:Wn.IGNORED_INDIRECT_PATH,details:`ignoring moving to subgraph "${S.tail.source}" using @key(fields: "${(_e=S.conditions)===null||_e===void 0?void 0:_e.toString(!0,!1)}") of "${S.head.type}" because there is a more direct path in ${S.tail.source} that avoids ${g.tail.source} altogether`}});continue}}let K=g.add(a(S.transition,e),S,R);j.log(()=>`Using edge, advance path: ${K}`),c.set(N.source,[K,R.cost]),S.transition.kind==="KeyResolution"&&S.head.source!==S.tail.source&&y.push(K)}else j.groupEnd("Condition unsatisfiable"),v.push(()=>{var P;let K=g.tail.source,W=S.tail.source,B=Epe(i.graph.sources.get(g.tail.source),S.conditions)?` (note that some of those key fields are overridden in "${K}")`:"";return{sourceSubgraph:K,destSubgraph:W,reason:Wn.UNSATISFIABLE_KEY_CONDITION,details:`cannot move to subgraph "${W}" using @key(fields: "${(P=S.conditions)===null||P===void 0?void 0:P.toString(!0,!1)}") of "${S.head.type}", the key field(s) cannot be resolved from subgraph "${K}"${B}`}});j.groupEnd()}j.groupEnd()}return{paths:(0,k.mapValues)(c).filter(g=>g!==null).map(g=>g[0]),deadEnds:new ma(v)}}function ype(i,e,t){let n=i.root(t);(0,k.assert)(n,()=>`Should not have ask for ${t} as the graph does not have one`);let r=i.outEdges(n).find(a=>a.tail.source===e);return r?.tail}function Epe(i,e){let t=(0,k.federationMetadata)(i).externalDirective();return(0,k.allFieldDefinitionsInSelectionSet)(e).some(n=>{var r,a;let s=i.type(n.parent.name),o=s&&(0,k.isObjectType)(s)&&s.field(n.name);return o&&((a=(r=o.appliedDirectivesOf(t))===null||r===void 0?void 0:r.pop())===null||a===void 0?void 0:a.arguments().reason)==="[overridden]"})}function gpe(i,e,t,n,r){for(let a of i.outEdges(e)){if(a.transition.kind!=="KeyResolution"||a.tail.source!==t)continue;let s=n(a,Ec.emptyContext,[],[]);if(s.satisfied&&s.cost<=r)return!0}return!1}function g9(i,e,t,n){if((0,k.assert)(e.collectOperationElements,"Supergraphs shouldn't have transitions that don't collect elements"),e.kind==="FieldCollection"&&e.definition.parent.name!==i.tail.type.name&&(0,k.isCompositeType)(i.tail.type)&&!i.tailIsInterfaceObject()){let s=g9(i,new rpe.DownCast(i.tail.type,e.definition.parent),t,n);(0,k.assert)(!gh(s),()=>`Advancing ${i} for ${e} gave ${s}`),(0,k.assert)(s.length===1,()=>`Expect one path, got ${s.length}`),i=s[0]}let r=[],a=[];for(let s of i.nextEdges()){if(!s.matchesSupergraphTransition(e))continue;if(s.overrideCondition&&!s.satisfiesOverrideConditions(n)){a.push(()=>({destSubgraph:s.tail.source,sourceSubgraph:s.head.source,reason:Wn.UNSATISFIABLE_OVERRIDE_CONDITION,details:`Unable to take edge ${s.toString()} because override condition "${s.overrideCondition.label}" is ${n.get(s.overrideCondition.label)}`}));continue}let o=Ah(i,s,t,Ec.emptyContext,[],[],fR);o.satisfied?r.push(i.add(e,s,o)):a.push(()=>{switch(s.transition.kind){case"FieldCollection":{let u=s.transition.definition,p=i.graph.sources.get(s.head.source).type(u.parent.name),d=o.unsatisfiedConditionReason===$s.NO_POST_REQUIRE_KEY?`@require condition on field "${u.coordinate}" can be satisfied but missing usable key on "${p}" in subgraph "${s.head.source}" to resume query`:o.unsatisfiedConditionReason===$s.NO_CONTEXT_SET?`could not find a match for required context for field "${u.coordinate}"`:`cannot satisfy @require conditions on field "${u.coordinate}"${Tpe(p)}`;return{sourceSubgraph:s.head.source,destSubgraph:s.head.source,reason:Wn.UNSATISFIABLE_REQUIRES_CONDITION,details:d}}case"InterfaceObjectFakeDownCast":{let u=o.unsatisfiedConditionReason===$s.NO_POST_REQUIRE_KEY?`@interfaceObject type "${s.transition.sourceType.coordinate}" misses a resolvable key to resume query once the implementation type has been resolved`:`no subgraph can be reached to resolve the implementation type of @interfaceObject type "${s.transition.sourceType.coordinate}"`;return{sourceSubgraph:s.head.source,destSubgraph:s.head.source,reason:Wn.UNRESOLVABLE_INTERFACE_OBJECT,details:u}}default:(0,k.assert)(!1,()=>`Shouldn't have conditions on direct transition ${e}`)}})}return r.length>0?r:new ma(()=>{let s=new ma(a).toUnadvanceables().reasons;if(s.length>0)return s;{let o,u=i.tail.source;if(e.kind==="FieldCollection"){let p=i.graph.sources.get(u),d=e.definition.parent.name,l=p.type(d);if(!l&&i.tail.type.name!==d)o=`cannot find implementation type "${d}" (supergraph interface "${i.tail.type.name}" is declared with @interfaceObject in "${u}")`;else{let c=l&&(0,k.isCompositeType)(l)?l.field(e.definition.name):void 0;if(c){let v=c.appliedDirectivesOf((0,k.federationMetadata)(c.schema()).externalDirective()).pop();(0,k.assert)(v,()=>`${c.coordinate} in ${u} is not external but there is no corresponding edge (edges from ${i} = [${i.nextEdges().join(", ")}])`);let y=v.arguments().reason==="[overridden]"?Ape(c,u,i.graph.sources):[];y.length>0?o=`field "${e.definition.coordinate}" is not resolvable because it is overridden by ${(0,k.printSubgraphNames)(y)}`:o=`field "${e.definition.coordinate}" is not resolvable because marked @external`}else o=`cannot find field "${e.definition.coordinate}"`}}else(0,k.assert)(e.kind==="DownCast",()=>`Unhandled direct transition ${e} of kind ${e.kind}`),o=`cannot find type "${e.castedType}"`;return{sourceSubgraph:u,destSubgraph:u,reason:Wn.NO_MATCHING_TRANSITION,details:o}}})}function Ape(i,e,t){return[...t.entries()].map(([n,r])=>{var a,s,o;if(n===br.FEDERATED_GRAPH_ROOT_SOURCE||n===e)return;let u=(0,k.federationMetadata)(r),p=r.type(i.parent.name);if(!p||!(0,k.isObjectType)(p))return;let d=p.field(i.name);return((o=(s=(a=d?.appliedDirectivesOf(u.overrideDirective()))===null||a===void 0?void 0:a.pop())===null||s===void 0?void 0:s.arguments())===null||o===void 0?void 0:o.from)===e?n:void 0}).filter(n=>!!n)}function Tpe(i){let e=(0,k.federationMetadata)(i.schema());(0,k.assert)(e,"Type should originate from a federation subgraph schema");let t=e.keyDirective(),n=i.appliedDirectivesOf(t);if(n.length===0)return"";let r=[];for(let o of n){let u=(0,k.parseFieldSetArgument)({parentType:i,directive:o});for(let p of u.selections())if(p.kind==="FieldSelection"&&p.element.definition.hasAppliedDirective(e.externalDirective())){let d=p.element.name;r.includes(d)||r.push(d)}}if(r.length===0)return"";let a=r.map(o=>`"${o}"`).join(", ");return` (please ensure that this is not due to key ${r.length===1?"field":"fields"} ${a} being accidentally marked @external)`}function A9(i,e){let t=e.type,n=i.sources.get(e.source),r=n?(0,k.federationMetadata)(n):void 0;(0,k.assert)(r,()=>`Could not find federation metadata for source ${e.source}`);let a=r.keyDirective();for(let s of t.appliedDirectivesOf(a)){let o=(0,k.parseFieldSetArgument)({parentType:t,directive:s});if(!r.selectionSelectsAnyExternalField(o))return o}}me.getLocallySatisfiableKey=A9;function Ah(i,e,t,n,r,a,s){let{conditions:o,requiredContexts:u}=e;if(!o&&u.length===0)return me.noConditionsResolution;let p=0,d=new Map;if(u.length>0){let y=!1;for(let T of u){let S=0,N=0;for(let[F,R]of[...i].reverse()){let P=s(R);if(S+=1,P&&(N+=1),F!==null&&!d.has(T.namedParameter)&&!y){let K=Array.from(T.typesWithContextSet).some(W=>{if(P){let ne=i.graph.schema.type(P.name);if(ne.name===W||((0,k.isObjectType)(ne)||(0,k.isInterfaceType)(ne))&&ne.interfaces().some(Y=>Y.name===W))return!0;let B=ne.schema().type(W);if(B&&(0,k.isUnionType)(B))return B.types().some(Y=>Y.name===P.name)}return!1});if(P&&K){let W=i.graph.schema.type(P.name);(0,k.assert)((0,k.isCompositeType)(W),"Parent type should be composite type");let ne=(0,k.parseSelectionSet)({parentType:W,source:T.selection});ne=ne.lazyMap(rt=>{if(!(rt.kind==="FragmentSelection"&&rt.element.typeCondition&&(0,k.isObjectType)(rt.element.typeCondition)&&!(0,k.possibleRuntimeTypes)(W).includes(rt.element.typeCondition)))return rt});let B=t(F,n,r,a,ne);(0,k.assert)(e.transition.kind==="FieldCollection",()=>`Expected edge to be a FieldCollection edge, got ${e.transition.kind}`);let Y=i.graph.subgraphToArgIndices.get(T.subgraphName);(0,k.assert)(Y,()=>`Expected to find arg indices for subgraph ${T.subgraphName}`);let _e=Y.get(T.coordinate);(0,k.assert)(_e!==void 0,()=>`Expected to find arg index for ${T.coordinate}`),d.set(T.namedParameter,{selectionSet:ne,levelsInDataPath:N,levelsInQueryPath:S,inboundEdge:F,pathTree:B.pathTree,paramName:T.namedParameter,id:_e,argType:T.argType}),y=y||!B.satisfied,B.cost===-1||p===-1?p=-1:p+=B.cost}}}}if(u.some(T=>!d.has(T.namedParameter)))return j.groupEnd("@fromContext requires a context that is not set in graph path"),{...me.unsatisfiedConditionsResolution,unsatisfiedConditionReason:$s.NO_CONTEXT_SET};if(y)return j.groupEnd("@fromContext selection set is unsatisfied"),{...me.unsatisfiedConditionsResolution};if(j.log("@fromContext conditions are satisfied, but validating post-context key."),!A9(i.graph,e.head))return j.groupEnd("Post-context conditions cannot be satisfied"),{...me.unsatisfiedConditionsResolution,unsatisfiedConditionReason:$s.NO_POST_REQUIRE_KEY};if(!o)return{contextMap:d,cost:p,satisfied:!0}}j.group(()=>`Checking conditions ${o} on edge ${e}`);let l=t(e,n,r,a);if(!l.satisfied)return j.groupEnd("Conditions are not satisfied"),me.unsatisfiedConditionsResolution;let c=l.pathTree,v=i.lastEdge();return e.transition.kind==="FieldCollection"&&v!==null&&v?.transition.kind!=="KeyResolution"&&(!c||c.isAllInSameSubgraph())&&(j.log("@requires conditions are satisfied, but validating post-require key."),!A9(i.graph,e.head))?(j.groupEnd("Post-require conditions cannot be satisfied"),{...me.unsatisfiedConditionsResolution,unsatisfiedConditionReason:$s.NO_POST_REQUIRE_KEY}):(j.groupEnd("Conditions satisfied"),{...l,contextMap:d,cost:p+l.cost})}function Dpe(i){return i.kind==="Field"&&(0,k.isLeafType)((0,k.baseType)(i.definition.type))}var Zo=class{constructor(e,t,n,r=[],a=[],s){this.paths=e,this.context=t,this.conditionResolver=n,this.excludedNonCollectingEdges=r,this.excludedConditionsOnNonCollectingEdges=a,this.overrideConditions=s,this.lazilyComputedIndirectPaths=new Array(e.length)}indirectOptions(e,t){return e!==this.context?this.computeIndirectPaths(t):(this.lazilyComputedIndirectPaths[t]||(this.lazilyComputedIndirectPaths[t]=this.computeIndirectPaths(t)),this.lazilyComputedIndirectPaths[t])}computeIndirectPaths(e){return dR(this.paths[e],this.context,this.conditionResolver,this.excludedNonCollectingEdges,this.excludedConditionsOnNonCollectingEdges,(t,n)=>n,bpe,this.overrideConditions,S9)}toString(){return gc(this.paths)}};me.SimultaneousPathsWithLazyIndirectPaths=Zo;function gc(i,e=""){let t=Array.isArray(i)?i:i.paths;return t.length===0?"":t.length===1?t[0].toString():`{ ${e} `+t.join(` ${e} `)+` ${e}}`}me.simultaneousPathsToString=gc;function hn(i){return i?i.length===0?"":i.length===1?"["+i[0]+"]":`[ `+i.map(e=>Array.isArray(e)?gc(e," "):e.toString()).join(` `)+` ]`:""}me.advanceOptionsToString=hn;function Spe(i,e){if(!e.isLeafField())return i;let t=i.paths.filter(n=>{let r=n.lastEdge();if(!r||r.transition.kind!=="KeyResolution")return!0;let a=r.conditions;return!(a&&a.containsTopLevelField(e))});return t.length===i.paths.length?i:{...i,paths:t}}function yh(i,e,t,n){j.group(()=>`Trying to advance ${gc(e)} for ${t}`);let r=e.context.withContextOf(t),a=[];for(let[o,u]of e.paths.entries()){let p;j.group(()=>`Computing options for ${u}`);let d=u.deferOnTail&&t.kind==="Field";if(!d){j.group(()=>"Direct options");let{options:l,hasOnlyTypeExplodedResults:c}=v9(i,u,t,r,e.conditionResolver,n);if(p=l,j.groupEnd(()=>hn(p)),p&&(p.length===0||Dpe(t)&&!c||t.kind==="FragmentElement")){j.groupEnd(()=>`Final options for ${u}: ${hn(p)}`),p.length>0&&a.push(p);continue}}if(p=p??[],t.kind==="Field"){j.group("Computing indirect paths:");let l=Spe(e.indirectOptions(r,o),t);if(j.groupEnd(()=>l.paths.length==0?"no indirect paths":`${l.paths.length} indirect paths`),l.paths.length>0){j.group("Validating indirect options:");for(let c of l.paths){j.group(()=>`For indirect path ${c}:`);let{options:v}=v9(i,c,t,r,e.conditionResolver,n);if(!v){j.groupEnd(()=>`Ignoring: cannot be advanced with ${t}`);continue}if(j.groupEnd(()=>`Adding valid option: ${v}`),(0,k.assert)(v.length>0,()=>`Unexpected empty options after non-collecting path ${c} for ${t}`),c.tailIsInterfaceObject())for(let y of v)y.length===1&&(p=p.filter(g=>!g.every(T=>y[0].isEquivalentSaveForTypeExplosionTo(T))));p=p.concat(v)}j.groupEnd()}}if(p.length===0&&d){j.group(()=>"Cannot defer (no indirect options); falling back to direct options");let{options:l}=v9(i,u,t,r,e.conditionResolver,n);p=l??[],j.groupEnd(()=>hn(p))}if(p.length===0){j.groupEnd(),j.groupEnd(()=>`No valid options for ${t}, aborting operation ${t}`);return}else j.groupEnd(()=>hn(p)),a.push(p)}let s=T9(a);return j.groupEnd(()=>hn(s)),lR(s,e,r,e.overrideConditions)}me.advanceSimultaneousPathsWithOperation=yh;function _pe(i,e,t,n,r,a){let s=new Zo([i],e,t,n,r,a);if((0,br.isFederatedGraphRootType)(i.tail.type)){let o=s.indirectOptions(e,0);return lR(o.paths.map(u=>[u]),s,e,a)}else return[s]}me.createInitialOptions=_pe;function lR(i,e,t,n){return i.map(r=>new Zo(r,t,e.conditionResolver,e.excludedNonCollectingEdges,e.excludedConditionsOnNonCollectingEdges,n))}function bpe(i,e,t,n){if(!(t instanceof Ec.PathContext))return t.kind==="Field"?D9(i,e,t,n):t.typeCondition?cR(i,e,t.typeCondition.name):null}function T9(i){let e=i.length;if(e===0)return[];let t=new Array(e),n=1;for(let a=0;a(0,k.isLeafType)((0,k.baseType)(o.type)))){let o=new Set(s.fields().map(u=>u.name));for(let u of i.graph.verticesForType(r.name)){if(u.source===i.tail.source)continue;let p=(0,k.federationMetadata)(u.type.schema());(0,k.assert)(p,"Type should have come from a federation subgraph"),(0,k.assert)((0,k.isObjectType)(u.type)||(0,k.isInterfaceType)(u.type),()=>`${r} is an object in ${i.tail.source} but a ${u.type.kind} in ${u.source}`);let d=u.type.field(e);if(!d||!d.hasAppliedDirective(p.shareableDirective()))continue;let l=(0,k.baseType)(d.type);if(l.name!==s.name||!((0,k.isObjectType)(l)||(0,k.isInterfaceType)(l)))return!0;let c=new Set(l.fields().map(v=>v.name));if(!(0,k.isSubset)(o,c))return!0}return!1}return!0}}return!1}function Npe(i){return i.transition.kind==="FieldCollection"&&i.transition.isPartOfProvide}function v9(i,e,t,n,r,a){j.group(()=>`Trying to advance ${e} directly with ${t}`);let s=e.tail.type;if((0,br.isFederatedGraphRootType)(s))return j.groupEnd("Cannot advance federated graph root with direct operations"),{options:void 0};if(t.kind==="Field"){let o=t.definition;switch(s.kind){case"ObjectType":let u=E9(e,t,a);if(!u)return j.groupEnd(()=>`No edge for field ${o} on object type ${s}`),{options:void 0};if(e.tailIsInterfaceObject()&&o.parent.name!==s.name){let N=s.field(o.name);(0,k.assert)(N,()=>`We should not have found edge ${u} for ${o} from ${e}`),t=t.withUpdatedDefinition(N)}let p=y9(e,t,u,r,n);return j.groupEnd(()=>p?`Collected field ${o} on object type ${s}`:`Cannot satisfy @requires on field ${o} for object type ${s}`),{options:wp(p)};case"InterfaceType":let d=o.parent.name!==s.name,l=d?void 0:E9(e,t,a),c,v=!1;if(l){if(c=y9(e,t,l,r,n),(0,k.assert)(c,()=>`Interface edge ${l} shouldn't have conditions`),v=o.name===k.typenameFieldName||!Npe(l)&&!Ipe(o.name,s),v&&((0,k.isLeafType)(o.type)||!Fpe(e,o.name,s)))return j.groupEnd(()=>`Collecting (leaf) field ${o} on interface ${s} without type-exploding`),{options:wp(c)};j.log(()=>`Collecting field ${o} on interface ${s} as 1st option`)}let y;d?((0,k.assert)((0,k.isObjectType)(o.parent)&&e.tailPossibleRuntimeTypes().some(N=>N.name===o.parent.name),()=>`${o.coordinate} requested on ${s}, but ${o.parent} is not an implementation`),y=[o.parent],j.log(()=>`Casting into requested type ${o.parent}`)):(y=e.tailPossibleRuntimeTypes(),j.log(()=>c?`Type exploding interface ${s} into possible runtime types [${y.join(", ")}] as 2nd option`:`No direct edge: type exploding interface ${s} into possible runtime types [${y.join(", ")}]`));let g=[];for(let N of y){let F=new k.FragmentElement(s,N.name);j.group(()=>`Handling implementation ${N}`);let R=yh(i,new Zo([e],n,r,[],[],a),F,a);if(!R)return j.groupEnd(),j.groupEnd(()=>`Cannot collect field ${o} from ${N}: stopping with options [${c}]`),{options:wp(c)};if(R.length===0){j.groupEnd(()=>`Cannot ever get ${N} from this branch, ignoring it`);continue}let P=[];j.log(()=>`Trying to collect ${o} from options ${hn(R)}`);for(let K of R){j.group(()=>`For ${gc(K)}`);let W=yh(i,K,t,a);if(!W){j.groupEnd(()=>`Cannot collect ${o}`);continue}(0,k.assert)(W.length>0,()=>`Unexpected unsatisfiable path after ${K} for ${t}`),j.groupEnd(()=>`Collected field ${o}: adding ${hn(W)}`),P=P.concat(W.map(ne=>ne.paths))}if(P.length===0)return j.groupEnd(),j.groupEnd(()=>`Cannot collect field ${o} from ${N}: stopping with options [${c}]`),{options:wp(c)};j.groupEnd(()=>`Collected field ${o} from ${N}`),g.push(P)}let T=T9(g);return c&&(v&&({thisPath:c,otherOptions:T}=c.markOverridding(T)),T=wp(c).concat(T)),j.groupEnd(()=>`With type-exploded options: ${hn(T)}`),{options:T,hasOnlyTypeExplodedResults:!c};case"UnionType":(0,k.assert)(o.name===k.typenameFieldName,()=>`Invalid field selection ${t} for union type ${s}`);let S=E9(e,t,a);return(0,k.assert)(S,"Should always have an edge for __typename edge on an union"),j.groupEnd(()=>`Trivial collection of __typename for union ${s}`),{options:wp(y9(e,t,S,r,n))};default:(0,k.assert)(!1,`Unexpected ${s.kind} type ${s} from ${e.tail} given operation ${t}`)}}else{if((0,k.assert)(t.kind==="FragmentElement",()=>"Unhandled operation kind: "+t.kind),!t.typeCondition||s.name===t.typeCondition.name)return j.groupEnd(()=>`No edge to take for condition ${t} from current type ${s}`),{options:[[t.appliedDirectives.length>0?e.add(t,null,me.noConditionsResolution,t.deferDirectiveArgs()):e]]};let o=t.typeCondition.name;switch(s.kind){case"InterfaceType":case"UnionType":let u=Cpe(e,o);if(u)return(0,k.assert)(!u.conditions,"TypeCast collecting edges shouldn't have conditions"),j.groupEnd(()=>`Using type-casting edge for ${o} from current type ${s}`),{options:[[e.add(t,u,me.noConditionsResolution,t.deferDirectiveArgs())]]};let p=e.tailPossibleRuntimeTypes(),d=(0,k.possibleRuntimeTypes)(i.type(o)),l=p.filter(g=>d.some(T=>g.name===T.name)).map(g=>g.name);j.log(()=>`Trying to type-explode into intersection between ${s} and ${o} = [${l}]`);let c=[];for(let g of l){j.group(()=>`Trying ${g}`);let T=new k.FragmentElement(s,g,t.appliedDirectives),S=yh(i,new Zo([e],n,r,[],[],a),T,a);if(!S)return j.groupEnd(),j.groupEnd(()=>`Cannot advance into ${g} from ${s}: no options for ${t}.`),{options:void 0};if(S.length===0){j.groupEnd(()=>`Cannot ever get ${g} from this branch, ignoring it`);continue}j.groupEnd(()=>`Advanced into ${g} from ${s}: ${hn(S)}`),c.push(S.map(N=>N.paths))}let v=T9(c);return j.groupEnd(()=>`Type-exploded options: ${hn(v)}`),{options:v};case"ObjectType":let y=i.type(o);if((0,k.isAbstractType)(y)&&(0,k.possibleRuntimeTypes)(y).some(g=>g.name==s.name))return j.groupEnd(()=>`${o} is a super-type of current type ${s}: no edge to take`),{options:[[t.appliedDirectives.length>0?e.add(t.withUpdatedTypes(s,void 0),null,me.noConditionsResolution,t.deferDirectiveArgs()):e]]};if(e.tailIsInterfaceObject()){let g=e.nextEdges().find(T=>T.transition.kind==="InterfaceObjectFakeDownCast"&&T.transition.castedTypeName===o);if(g){let T=Ah(e,g,r,n,[],[],S9);return T.satisfied?{options:[[e.add(t,g,T,t.deferDirectiveArgs())]]}:{options:void 0}}}return j.groupEnd(()=>`Cannot ever get ${o} from current type ${s}: returning empty branch`),{options:[]};default:(0,k.assert)(!1,`Unexpected ${s.kind} type ${s} from ${e.tail} given operation ${t}`)}}}function y9(i,e,t,n,r){let a=Ah(i,t,n,r,[],[],S9);return a.satisfied?i.add(e,t,a):void 0}function wp(i){return i?[[i]]:void 0}function E9(i,e,t){return D9(i.graph,i.tail,e,t)}function D9(i,e,t,n){let r=i.outEdges(e).filter(a=>{var s;return a.transition.kind==="FieldCollection"&&t.selects(a.transition.definition,!0,void 0,(s=a.requiredContexts)===null||s===void 0?void 0:s.map(o=>o.namedParameter))&&a.satisfiesOverrideConditions(n)});return(0,k.assert)(r.length<=1,()=>`Vertex ${e} has multiple edges matching ${t} (${r})`),r.length===0?void 0:r[0]}function Cpe(i,e){return cR(i.graph,i.tail,e)}function cR(i,e,t){let n=i.outEdges(e).filter(r=>r.transition.kind==="DownCast"&&t===r.transition.castedType.name);return(0,k.assert)(n.length<=1,()=>`Vertex ${e} has multiple edges matching ${t} (${n})`),n.length===0?void 0:n[0]}var S9=i=>!(0,Ec.isPathContext)(i)&&i.kind==="Field"?i.definition.parent:null,fR=i=>{if(i.kind==="FieldCollection"){let e=i.definition.parent;if(!e||(0,k.isScalarType)(e)||(0,k.isEnumType)(e))return null;if((0,k.isObjectType)(e)||(0,k.isInterfaceType)(e)||(0,k.isUnionType)(e))return e}return null}});var Dh=D(Ir=>{"use strict";h();m();function mR(i){return typeof i=="object"&&i!==null&&typeof i.id=="string"}function hR(i){return typeof i=="object"&&i!==null&&i.$$type==="Node"&&typeof i.id=="string"}function _9(i){return hR(i)||mR(i)}function Th(i){return typeof i=="string"||_9(i)}function Ope(i){return Array.isArray(i)&&i.every(Th)}function vR(i){return["n","ne","e","se","s","sw","w","nw","c"].includes(i)}function yR(i){if(_9(i))return i;let[e,t,n]=i.split(":");return vR(n)?{id:e,port:t,compass:n}:{id:e,port:t}}function wpe(i){if(i.length<2&&(Th(i[0])&&Th(i[1]))===!1)throw Error("EdgeTargets must have at least 2 elements.");return i.map(e=>yR(e))}var ER=Object.seal({Graph:null,Digraph:null,Subgraph:null,Node:null,Edge:null});function Rpe(i){return Object.assign(Object.seal(Object.assign({},ER)),i)}Ir.RootModelsContext=ER;Ir.createModelsContext=Rpe;Ir.isCompass=vR;Ir.isForwardRefNode=mR;Ir.isNodeModel=hR;Ir.isNodeRef=_9;Ir.isNodeRefGroupLike=Ope;Ir.isNodeRefLike=Th;Ir.toNodeRef=yR;Ir.toNodeRefGroup=wpe});var TR=D(Sh=>{"use strict";h();m();function Bpe(...i){let[e,...t]=i;return(...n)=>t.reduce((r,a)=>a(r),e(...n))}function Lpe(i,...e){return Bpe(i,...e)}var gR=i=>(...e)=>t=>i(t,...e),AR=i=>({[Symbol.iterator]:i}),xpe=gR((i,e)=>Array.from(AR(function*(){for(let t of i)yield e(t)}))),Ppe=gR((i,e)=>Array.from(AR(function*(){for(let t of i)e(t)&&(yield t)})));Sh.filter=Ppe;Sh.map=xpe;Sh.pipe=Lpe});var bR=D(Nr=>{"use strict";h();m();var Ot=TR(),_h=Dh(),Bp=class{constructor(e){lt(this,"options");this.options=e}getLocation(){return this.options?.locationFunction?.()??null}createElement(e,t,n=[]){return{location:this.getLocation(),...t,type:e,children:n}}},Ke=Bp.prototype.createElement.bind(new Bp),$pe=/\r?\n/;function Fr(i){return e=>e.join(i)}function Vpe(i){return e=>i+e+i}function Vs(i,e){return t=>i+t+e}function bh(i){return e=>i+e}var DR=i=>i.replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/"/g,'\\"'),Ih=i=>i.split($pe),Tc=(i,e,t)=>Ot.pipe(Ih,Ot.map(bh(i==="space"?" ".repeat(e):` `)),Fr(t)),iu=i=>{switch(i){case"crlf":return`\r `;case"lf":return` `}},kpe={match(i){return i.type==="AttributeList"},print(i,e){if(e.children.length===0)return`${e.kind.toLocaleLowerCase()} [];`;let t=iu(i.endOfLine);return Ot.pipe(Ot.map(i.print),Fr(t),Tc(i.indentStyle,i.indentSize,t),Vs(`${e.kind.toLocaleLowerCase()} [${t}`,`${t}];`))(e.children)}},Mpe={match(i){return i.type==="Attribute"},print(i,e){return`${i.print(e.key)} = ${i.print(e.value)};`}},Upe={match(i){return i.type==="Comment"},print(i,e){let t=iu(i.endOfLine);switch(e.kind){case"Block":return Ot.pipe(Ih,Ot.map(bh(" * ")),Fr(t),Vs(`/**${t}`,`${t} */`))(e.value);case"Macro":return Ot.pipe(Ih,Ot.map(bh("# ")),Fr(t))(e.value);case"Slash":default:return Ot.pipe(Ih,Ot.map(bh("// ")),Fr(t))(e.value)}}},jpe={match(i){return i.type==="Dot"},print(i,e){return e.children.map(i.print).join(iu(i.endOfLine))}},qpe={match(i){return i.type==="Edge"},print(i,e){let t=Ot.pipe(Ot.map(i.print),Fr(i.directed?" -> ":" -- "))(e.targets);if(e.children.length===0)return`${t};`;let n=iu(i.endOfLine),r=Ot.pipe(Ot.map(i.print),Fr(n),Tc(i.indentStyle,i.indentSize,n),Vs(`[${n}`,`${n}];`))(e.children);return`${t} ${r}`}},Gpe={match(i){return i.type==="Graph"},print(i,e){i.directed=e.directed;let t=[];if(e.strict&&t.push("strict"),t.push(e.directed?"digraph":"graph"),e.id&&t.push(i.print(e.id)),e.children.length===0)return`${t.join(" ")} {}`;let n=iu(i.endOfLine),r=Ot.pipe(Ot.map(i.print),Fr(n),Tc(i.indentStyle,i.indentSize,n),Vs(`{${n}`,`${n}}`))(e.children);return`${t.join(" ")} ${r}`}},Kpe=Ot.pipe(DR,Vpe('"')),Qpe=Vs("<",">"),Hpe={match(i){return i.type==="Literal"},print(i,e){switch(e.quoted){case"html":return Qpe(e.value);case!0:return Kpe(e.value);case!1:default:return DR(e.value)}}},Ype={match(i){return i.type==="Node"},print(i,e){let t=i.print(e.id);if(e.children.length===0)return`${t};`;let n=iu(i.endOfLine),r=Ot.pipe(Ot.map(i.print),Fr(n),Tc(i.indentStyle,i.indentSize,n),Vs(`[${n}`,`${n}];`))(e.children);return`${t} ${r}`}},zpe={match(i){return i.type==="NodeRefGroup"},print(i,e){return Ot.pipe(Ot.map(i.print),Fr(" "),Vs("{","}"))(e.children)}},Wpe={match(i){return i.type==="NodeRef"},print(i,e){let t=[i.print(e.id)];return e.port&&t.push(i.print(e.port)),e.compass&&t.push(i.print(e.compass)),t.join(":")}},Jpe={match(i){return i.type==="Subgraph"},print(i,e){let t=["subgraph"];if(e.id&&t.push(i.print(e.id)),e.children.length===0)return`${t.join(" ")} {}`;let n=iu(i.endOfLine),r=Ot.pipe(Ot.map(i.print),Fr(n),Tc(i.indentStyle,i.indentSize,n),Vs(`{${n}`,`${n}}`))(e.children);return`${t.join(" ")} ${r}`}},Xpe=[kpe,Mpe,Upe,jpe,qpe,Gpe,Hpe,Ype,zpe,Wpe,Jpe],wh,Fh=class{constructor(e={}){lt(this,"options");Hs(this,wh,[...Xpe]);this.options=e}print(e){let t=[...ct(this,wh)],{indentSize:n=2,indentStyle:r="space",endOfLine:a="lf"}=this.options,s={directed:!0,indentSize:n,indentStyle:r,endOfLine:a,print(o){for(let u of t)if(u.match(o))return u.print(s,o);throw Error()}};return s.print(e)}};wh=new WeakMap;function Zpe(i,e){let t=new Fh(e).print(i);if(!t)throw new Error;return t}function b9(i,e,t){return t=t||" ",i.length>e?i:(e-=i.length,t+=t.repeat(e),i+t.slice(0,e))}var tu=class extends Error{constructor(t,n,r,a){super();lt(this,"message");lt(this,"expected");lt(this,"found");lt(this,"location");lt(this,"name");this.message=t,this.expected=n,this.found=r,this.location=a,this.name="DotSyntaxError",typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(this,tu.prototype):this.__proto__=tu.prototype,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,tu)}static buildMessage(t,n){function r(d){return d.charCodeAt(0).toString(16).toUpperCase()}function a(d){return d.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,l=>"\\x0"+r(l)).replace(/[\x10-\x1F\x7F-\x9F]/g,l=>"\\x"+r(l))}function s(d){return d.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,l=>"\\x0"+r(l)).replace(/[\x10-\x1F\x7F-\x9F]/g,l=>"\\x"+r(l))}function o(d){switch(d.type){case"literal":return'"'+a(d.text)+'"';case"class":let l=d.parts.map(c=>Array.isArray(c)?s(c[0])+"-"+s(c[1]):s(c));return"["+(d.inverted?"^":"")+l+"]";case"any":return"any character";case"end":return"end of input";case"other":return d.description}}function u(d){let l=d.map(o),c,v;if(l.sort(),l.length>0){for(c=1,v=1;c `+o+` `+p+` | `+s.line+" | "+d+` `+p+" | "+b9("",s.column-1," ")+b9("",l-s.column,"^")}else n+=` at `+o}return n}};function ede(i,e){e=e!==void 0?e:{};let t={},n=e.grammarSource,r={Dot:r7,Graph:a7,Subgraph:m2,Node:d2,Edge:f2,AttributeList:l2,Attribute:c2,ClusterStatements:h2},a=r7,s=function(f){return f},o=function(f,A,_){return ci.createElement("Dot",{},[...f,A,..._])},u="strict",p=Ie("strict",!0),d="graph",l=Ie("graph",!0),c="digraph",v=Ie("digraph",!0),y="{",g=Ie("{",!1),T="}",S=Ie("}",!1),N=function(f,A,_,b){let w=!!f,pe=A.toLowerCase()==="digraph";for(let an of g7)pe?an.operator!=="->"&&i7(`In digraph, it's necessary to describe with "->" operator to create edge.`,an.location):an.operator!=="--"&&i7(`In graph, it's necessary to describe with "--" operator to create edge.`,an.location);return ci.createElement("Graph",_!==null?{id:_,directed:pe,strict:w}:{directed:pe,strict:w},b)},F=";",R=Ie(";",!1),P=function(f){return ci.createElement("Attribute",{...f},[])},K="node",W=Ie("node",!0),ne="edge",B=Ie("edge",!0),Y=function(f,A){return ci.createElement("AttributeList",{kind:`${f.slice(0,1).toUpperCase()}${f.slice(1).toLowerCase()}`},A)},_e=function(f,A,_){return ci.createElement("Edge",{targets:[f,...A]},_??[])},rt=function(f,A){return ci.createElement("Node",{id:f},A??[])},Tt="=",vn=Ie("=",!1),Qi=function(f,A){return{key:f,value:A}},nn=",",Ks=Ie(",",!1),wc=function(f){return ci.createElement("Attribute",{...f,location:p2()},[])},au="[",Rc=Ie("[",!1),t2="]",V=Ie("]",!1),re=function(f){return f},X=function(f,A){return A},ue=function(f,A){return ci.createElement("NodeRefGroup",{},[f,...A])},dt="->",Vt=Ie("->",!1),ht="--",Ka=Ie("--",!1),Up=function(f){return{operator:f,location:p2()}},jp=function(f,A,_){return g7.push(f),[A].concat(_||[])},rn=function(f,A){return ci.createElement("NodeRef",{id:f,...A},[])},oB=pu("port"),j9=":",q9=Ie(":",!1),uB=function(f,A){return A},pB=function(f,A){return["n","ne","e","se","s","sw","w","nw"].includes(f)?{compass:f}:A?{port:f,compass:A}:{port:f}},dB="subgraph",lB=Ie("subgraph",!0),cB=function(f){return f},fB=function(f,A){let _=A??[];return ci.createElement("Subgraph",f?{id:f}:{},_)},mB="n",hB=Ie("n",!1),G9="ne",vB=Ie("ne",!1),yB="e",EB=Ie("e",!1),K9="se",gB=Ie("se",!1),AB="s",TB=Ie("s",!1),Q9="sw",DB=Ie("sw",!1),SB="w",_B=Ie("w",!1),H9="nw",bB=Ie("nw",!1),IB=function(f){return{value:f,quoted:!1}},qp='"',Gp=Ie('"',!1),FB=function(f){return{value:f,quoted:!0}},NB=function(f){return ci.createElement("Literal",{...f},[])},CB=function(f){return ci.createElement("Literal",{value:f,quoted:!1},[])},Y9="/*",OB=Ie("/*",!1),su="*/",i2=Ie("*/",!1),Cr=RL(),wB=function(f){return ci.createElement("Comment",{kind:"Block",value:E2(f.join("").replace(/[ \t]*\*/g,""))},[])},RB=function(f){return ci.createElement("Comment",{kind:"Slash",value:E2(f.join(` `))},[])},z9="//",BB=Ie("//",!1),n2=function(f){return f.join("")},LB=function(f){return ci.createElement("Comment",{kind:"Macro",value:E2(f.join(` `))},[])},xB="#",PB=Ie("#",!1),$B=pu("UNICODE_STRING"),VB=function(f,A){return f+A.join("")},kB=function(f,A){return f+A},MB="$",UB=Ie("$",!1),jB="_",qB=Ie("_",!1),GB=pu("NUMBER"),KB="-",QB=Ie("-",!1),W9=".",J9=Ie(".",!1),ou=/^[0-9]/,uu=Zn([["0","9"]],!1,!1),HB=function(f){return t7()},YB=function(f){return ci.createElement("Literal",{value:f.slice(1,f.length-1),quoted:"html"},[])},r2="<",a2=Ie("<",!1),s2=">",o2=Ie(">",!1),zB=function(f){return"<"+f.join("")+">"},WB=function(f){return ci.createElement("Literal",{value:f.join(""),quoted:!0},[])},JB=function(){return t7()},X9="\\",Z9=Ie("\\",!1),XB=function(f){return f[1]==='"'?'"':f[0]+f[1]},ZB=function(){return""},eL=/^[\n\r\u2028\u2029]/,tL=Zn([` `,"\r","\u2028","\u2029"],!1,!1),iL=pu("end of line"),nL=` `,rL=Ie(` `,!1),e7=`\r `,aL=Ie(`\r `,!1),sL="\r",oL=Ie("\r",!1),uL="\u2028",pL=Ie("\u2028",!1),dL="\u2029",lL=Ie("\u2029",!1),cL=pu("whitespace"),fL=pu("WHITESPACE"),mL=/^[\n\r]/,hL=Zn([` `,"\r"],!1,!1),vL=/^[ \t]/,yL=Zn([" "," "],!1,!1),EL=/^[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137-\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148-\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C-\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA-\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC-\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF-\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F-\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0-\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB-\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE-\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6-\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FC7\u1FD0-\u1FD3\u1FD6-\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6-\u1FF7\u210A\u210E-\u210F\u2113\u212F\u2134\u2139\u213C-\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65-\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73-\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3-\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]/,gL=Zn([["a","z"],"\xB5",["\xDF","\xF6"],["\xF8","\xFF"],"\u0101","\u0103","\u0105","\u0107","\u0109","\u010B","\u010D","\u010F","\u0111","\u0113","\u0115","\u0117","\u0119","\u011B","\u011D","\u011F","\u0121","\u0123","\u0125","\u0127","\u0129","\u012B","\u012D","\u012F","\u0131","\u0133","\u0135",["\u0137","\u0138"],"\u013A","\u013C","\u013E","\u0140","\u0142","\u0144","\u0146",["\u0148","\u0149"],"\u014B","\u014D","\u014F","\u0151","\u0153","\u0155","\u0157","\u0159","\u015B","\u015D","\u015F","\u0161","\u0163","\u0165","\u0167","\u0169","\u016B","\u016D","\u016F","\u0171","\u0173","\u0175","\u0177","\u017A","\u017C",["\u017E","\u0180"],"\u0183","\u0185","\u0188",["\u018C","\u018D"],"\u0192","\u0195",["\u0199","\u019B"],"\u019E","\u01A1","\u01A3","\u01A5","\u01A8",["\u01AA","\u01AB"],"\u01AD","\u01B0","\u01B4","\u01B6",["\u01B9","\u01BA"],["\u01BD","\u01BF"],"\u01C6","\u01C9","\u01CC","\u01CE","\u01D0","\u01D2","\u01D4","\u01D6","\u01D8","\u01DA",["\u01DC","\u01DD"],"\u01DF","\u01E1","\u01E3","\u01E5","\u01E7","\u01E9","\u01EB","\u01ED",["\u01EF","\u01F0"],"\u01F3","\u01F5","\u01F9","\u01FB","\u01FD","\u01FF","\u0201","\u0203","\u0205","\u0207","\u0209","\u020B","\u020D","\u020F","\u0211","\u0213","\u0215","\u0217","\u0219","\u021B","\u021D","\u021F","\u0221","\u0223","\u0225","\u0227","\u0229","\u022B","\u022D","\u022F","\u0231",["\u0233","\u0239"],"\u023C",["\u023F","\u0240"],"\u0242","\u0247","\u0249","\u024B","\u024D",["\u024F","\u0293"],["\u0295","\u02AF"],"\u0371","\u0373","\u0377",["\u037B","\u037D"],"\u0390",["\u03AC","\u03CE"],["\u03D0","\u03D1"],["\u03D5","\u03D7"],"\u03D9","\u03DB","\u03DD","\u03DF","\u03E1","\u03E3","\u03E5","\u03E7","\u03E9","\u03EB","\u03ED",["\u03EF","\u03F3"],"\u03F5","\u03F8",["\u03FB","\u03FC"],["\u0430","\u045F"],"\u0461","\u0463","\u0465","\u0467","\u0469","\u046B","\u046D","\u046F","\u0471","\u0473","\u0475","\u0477","\u0479","\u047B","\u047D","\u047F","\u0481","\u048B","\u048D","\u048F","\u0491","\u0493","\u0495","\u0497","\u0499","\u049B","\u049D","\u049F","\u04A1","\u04A3","\u04A5","\u04A7","\u04A9","\u04AB","\u04AD","\u04AF","\u04B1","\u04B3","\u04B5","\u04B7","\u04B9","\u04BB","\u04BD","\u04BF","\u04C2","\u04C4","\u04C6","\u04C8","\u04CA","\u04CC",["\u04CE","\u04CF"],"\u04D1","\u04D3","\u04D5","\u04D7","\u04D9","\u04DB","\u04DD","\u04DF","\u04E1","\u04E3","\u04E5","\u04E7","\u04E9","\u04EB","\u04ED","\u04EF","\u04F1","\u04F3","\u04F5","\u04F7","\u04F9","\u04FB","\u04FD","\u04FF","\u0501","\u0503","\u0505","\u0507","\u0509","\u050B","\u050D","\u050F","\u0511","\u0513","\u0515","\u0517","\u0519","\u051B","\u051D","\u051F","\u0521","\u0523","\u0525","\u0527",["\u0561","\u0587"],["\u1D00","\u1D2B"],["\u1D6B","\u1D77"],["\u1D79","\u1D9A"],"\u1E01","\u1E03","\u1E05","\u1E07","\u1E09","\u1E0B","\u1E0D","\u1E0F","\u1E11","\u1E13","\u1E15","\u1E17","\u1E19","\u1E1B","\u1E1D","\u1E1F","\u1E21","\u1E23","\u1E25","\u1E27","\u1E29","\u1E2B","\u1E2D","\u1E2F","\u1E31","\u1E33","\u1E35","\u1E37","\u1E39","\u1E3B","\u1E3D","\u1E3F","\u1E41","\u1E43","\u1E45","\u1E47","\u1E49","\u1E4B","\u1E4D","\u1E4F","\u1E51","\u1E53","\u1E55","\u1E57","\u1E59","\u1E5B","\u1E5D","\u1E5F","\u1E61","\u1E63","\u1E65","\u1E67","\u1E69","\u1E6B","\u1E6D","\u1E6F","\u1E71","\u1E73","\u1E75","\u1E77","\u1E79","\u1E7B","\u1E7D","\u1E7F","\u1E81","\u1E83","\u1E85","\u1E87","\u1E89","\u1E8B","\u1E8D","\u1E8F","\u1E91","\u1E93",["\u1E95","\u1E9D"],"\u1E9F","\u1EA1","\u1EA3","\u1EA5","\u1EA7","\u1EA9","\u1EAB","\u1EAD","\u1EAF","\u1EB1","\u1EB3","\u1EB5","\u1EB7","\u1EB9","\u1EBB","\u1EBD","\u1EBF","\u1EC1","\u1EC3","\u1EC5","\u1EC7","\u1EC9","\u1ECB","\u1ECD","\u1ECF","\u1ED1","\u1ED3","\u1ED5","\u1ED7","\u1ED9","\u1EDB","\u1EDD","\u1EDF","\u1EE1","\u1EE3","\u1EE5","\u1EE7","\u1EE9","\u1EEB","\u1EED","\u1EEF","\u1EF1","\u1EF3","\u1EF5","\u1EF7","\u1EF9","\u1EFB","\u1EFD",["\u1EFF","\u1F07"],["\u1F10","\u1F15"],["\u1F20","\u1F27"],["\u1F30","\u1F37"],["\u1F40","\u1F45"],["\u1F50","\u1F57"],["\u1F60","\u1F67"],["\u1F70","\u1F7D"],["\u1F80","\u1F87"],["\u1F90","\u1F97"],["\u1FA0","\u1FA7"],["\u1FB0","\u1FB4"],["\u1FB6","\u1FB7"],"\u1FBE",["\u1FC2","\u1FC4"],["\u1FC6","\u1FC7"],["\u1FD0","\u1FD3"],["\u1FD6","\u1FD7"],["\u1FE0","\u1FE7"],["\u1FF2","\u1FF4"],["\u1FF6","\u1FF7"],"\u210A",["\u210E","\u210F"],"\u2113","\u212F","\u2134","\u2139",["\u213C","\u213D"],["\u2146","\u2149"],"\u214E","\u2184",["\u2C30","\u2C5E"],"\u2C61",["\u2C65","\u2C66"],"\u2C68","\u2C6A","\u2C6C","\u2C71",["\u2C73","\u2C74"],["\u2C76","\u2C7B"],"\u2C81","\u2C83","\u2C85","\u2C87","\u2C89","\u2C8B","\u2C8D","\u2C8F","\u2C91","\u2C93","\u2C95","\u2C97","\u2C99","\u2C9B","\u2C9D","\u2C9F","\u2CA1","\u2CA3","\u2CA5","\u2CA7","\u2CA9","\u2CAB","\u2CAD","\u2CAF","\u2CB1","\u2CB3","\u2CB5","\u2CB7","\u2CB9","\u2CBB","\u2CBD","\u2CBF","\u2CC1","\u2CC3","\u2CC5","\u2CC7","\u2CC9","\u2CCB","\u2CCD","\u2CCF","\u2CD1","\u2CD3","\u2CD5","\u2CD7","\u2CD9","\u2CDB","\u2CDD","\u2CDF","\u2CE1",["\u2CE3","\u2CE4"],"\u2CEC","\u2CEE","\u2CF3",["\u2D00","\u2D25"],"\u2D27","\u2D2D","\uA641","\uA643","\uA645","\uA647","\uA649","\uA64B","\uA64D","\uA64F","\uA651","\uA653","\uA655","\uA657","\uA659","\uA65B","\uA65D","\uA65F","\uA661","\uA663","\uA665","\uA667","\uA669","\uA66B","\uA66D","\uA681","\uA683","\uA685","\uA687","\uA689","\uA68B","\uA68D","\uA68F","\uA691","\uA693","\uA695","\uA697","\uA723","\uA725","\uA727","\uA729","\uA72B","\uA72D",["\uA72F","\uA731"],"\uA733","\uA735","\uA737","\uA739","\uA73B","\uA73D","\uA73F","\uA741","\uA743","\uA745","\uA747","\uA749","\uA74B","\uA74D","\uA74F","\uA751","\uA753","\uA755","\uA757","\uA759","\uA75B","\uA75D","\uA75F","\uA761","\uA763","\uA765","\uA767","\uA769","\uA76B","\uA76D","\uA76F",["\uA771","\uA778"],"\uA77A","\uA77C","\uA77F","\uA781","\uA783","\uA785","\uA787","\uA78C","\uA78E","\uA791","\uA793","\uA7A1","\uA7A3","\uA7A5","\uA7A7","\uA7A9","\uA7FA",["\uFB00","\uFB06"],["\uFB13","\uFB17"],["\uFF41","\uFF5A"]],!1,!1),AL=/^[\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5-\u06E6\u07F4-\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C-\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D-\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA717-\uA71F\uA770\uA788\uA7F8-\uA7F9\uA9CF\uAA70\uAADD\uAAF3-\uAAF4\uFF70\uFF9E-\uFF9F]/,TL=Zn([["\u02B0","\u02C1"],["\u02C6","\u02D1"],["\u02E0","\u02E4"],"\u02EC","\u02EE","\u0374","\u037A","\u0559","\u0640",["\u06E5","\u06E6"],["\u07F4","\u07F5"],"\u07FA","\u081A","\u0824","\u0828","\u0971","\u0E46","\u0EC6","\u10FC","\u17D7","\u1843","\u1AA7",["\u1C78","\u1C7D"],["\u1D2C","\u1D6A"],"\u1D78",["\u1D9B","\u1DBF"],"\u2071","\u207F",["\u2090","\u209C"],["\u2C7C","\u2C7D"],"\u2D6F","\u2E2F","\u3005",["\u3031","\u3035"],"\u303B",["\u309D","\u309E"],["\u30FC","\u30FE"],"\uA015",["\uA4F8","\uA4FD"],"\uA60C","\uA67F",["\uA717","\uA71F"],"\uA770","\uA788",["\uA7F8","\uA7F9"],"\uA9CF","\uAA70","\uAADD",["\uAAF3","\uAAF4"],"\uFF70",["\uFF9E","\uFF9F"]],!1,!1),DL=/^[\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0977\u0979-\u097F\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58-\u0C59\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A-\uA62B\uA66E\uA6A0-\uA6E5\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\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\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,SL=Zn(["\xAA","\xBA","\u01BB",["\u01C0","\u01C3"],"\u0294",["\u05D0","\u05EA"],["\u05F0","\u05F2"],["\u0620","\u063F"],["\u0641","\u064A"],["\u066E","\u066F"],["\u0671","\u06D3"],"\u06D5",["\u06EE","\u06EF"],["\u06FA","\u06FC"],"\u06FF","\u0710",["\u0712","\u072F"],["\u074D","\u07A5"],"\u07B1",["\u07CA","\u07EA"],["\u0800","\u0815"],["\u0840","\u0858"],"\u08A0",["\u08A2","\u08AC"],["\u0904","\u0939"],"\u093D","\u0950",["\u0958","\u0961"],["\u0972","\u0977"],["\u0979","\u097F"],["\u0985","\u098C"],["\u098F","\u0990"],["\u0993","\u09A8"],["\u09AA","\u09B0"],"\u09B2",["\u09B6","\u09B9"],"\u09BD","\u09CE",["\u09DC","\u09DD"],["\u09DF","\u09E1"],["\u09F0","\u09F1"],["\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"],["\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","\u0C33"],["\u0C35","\u0C39"],"\u0C3D",["\u0C58","\u0C59"],["\u0C60","\u0C61"],["\u0C85","\u0C8C"],["\u0C8E","\u0C90"],["\u0C92","\u0CA8"],["\u0CAA","\u0CB3"],["\u0CB5","\u0CB9"],"\u0CBD","\u0CDE",["\u0CE0","\u0CE1"],["\u0CF1","\u0CF2"],["\u0D05","\u0D0C"],["\u0D0E","\u0D10"],["\u0D12","\u0D3A"],"\u0D3D","\u0D4E",["\u0D60","\u0D61"],["\u0D7A","\u0D7F"],["\u0D85","\u0D96"],["\u0D9A","\u0DB1"],["\u0DB3","\u0DBB"],"\u0DBD",["\u0DC0","\u0DC6"],["\u0E01","\u0E30"],["\u0E32","\u0E33"],["\u0E40","\u0E45"],["\u0E81","\u0E82"],"\u0E84",["\u0E87","\u0E88"],"\u0E8A","\u0E8D",["\u0E94","\u0E97"],["\u0E99","\u0E9F"],["\u0EA1","\u0EA3"],"\u0EA5","\u0EA7",["\u0EAA","\u0EAB"],["\u0EAD","\u0EB0"],["\u0EB2","\u0EB3"],"\u0EBD",["\u0EC0","\u0EC4"],["\u0EDC","\u0EDF"],"\u0F00",["\u0F40","\u0F47"],["\u0F49","\u0F6C"],["\u0F88","\u0F8C"],["\u1000","\u102A"],"\u103F",["\u1050","\u1055"],["\u105A","\u105D"],"\u1061",["\u1065","\u1066"],["\u106E","\u1070"],["\u1075","\u1081"],"\u108E",["\u10D0","\u10FA"],["\u10FD","\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","\u13F4"],["\u1401","\u166C"],["\u166F","\u167F"],["\u1681","\u169A"],["\u16A0","\u16EA"],["\u1700","\u170C"],["\u170E","\u1711"],["\u1720","\u1731"],["\u1740","\u1751"],["\u1760","\u176C"],["\u176E","\u1770"],["\u1780","\u17B3"],"\u17DC",["\u1820","\u1842"],["\u1844","\u1877"],["\u1880","\u18A8"],"\u18AA",["\u18B0","\u18F5"],["\u1900","\u191C"],["\u1950","\u196D"],["\u1970","\u1974"],["\u1980","\u19AB"],["\u19C1","\u19C7"],["\u1A00","\u1A16"],["\u1A20","\u1A54"],["\u1B05","\u1B33"],["\u1B45","\u1B4B"],["\u1B83","\u1BA0"],["\u1BAE","\u1BAF"],["\u1BBA","\u1BE5"],["\u1C00","\u1C23"],["\u1C4D","\u1C4F"],["\u1C5A","\u1C77"],["\u1CE9","\u1CEC"],["\u1CEE","\u1CF1"],["\u1CF5","\u1CF6"],["\u2135","\u2138"],["\u2D30","\u2D67"],["\u2D80","\u2D96"],["\u2DA0","\u2DA6"],["\u2DA8","\u2DAE"],["\u2DB0","\u2DB6"],["\u2DB8","\u2DBE"],["\u2DC0","\u2DC6"],["\u2DC8","\u2DCE"],["\u2DD0","\u2DD6"],["\u2DD8","\u2DDE"],"\u3006","\u303C",["\u3041","\u3096"],"\u309F",["\u30A1","\u30FA"],"\u30FF",["\u3105","\u312D"],["\u3131","\u318E"],["\u31A0","\u31BA"],["\u31F0","\u31FF"],["\u3400","\u4DB5"],["\u4E00","\u9FCC"],["\uA000","\uA014"],["\uA016","\uA48C"],["\uA4D0","\uA4F7"],["\uA500","\uA60B"],["\uA610","\uA61F"],["\uA62A","\uA62B"],"\uA66E",["\uA6A0","\uA6E5"],["\uA7FB","\uA801"],["\uA803","\uA805"],["\uA807","\uA80A"],["\uA80C","\uA822"],["\uA840","\uA873"],["\uA882","\uA8B3"],["\uA8F2","\uA8F7"],"\uA8FB",["\uA90A","\uA925"],["\uA930","\uA946"],["\uA960","\uA97C"],["\uA984","\uA9B2"],["\uAA00","\uAA28"],["\uAA40","\uAA42"],["\uAA44","\uAA4B"],["\uAA60","\uAA6F"],["\uAA71","\uAA76"],"\uAA7A",["\uAA80","\uAAAF"],"\uAAB1",["\uAAB5","\uAAB6"],["\uAAB9","\uAABD"],"\uAAC0","\uAAC2",["\uAADB","\uAADC"],["\uAAE0","\uAAEA"],"\uAAF2",["\uAB01","\uAB06"],["\uAB09","\uAB0E"],["\uAB11","\uAB16"],["\uAB20","\uAB26"],["\uAB28","\uAB2E"],["\uABC0","\uABE2"],["\uAC00","\uD7A3"],["\uD7B0","\uD7C6"],["\uD7CB","\uD7FB"],["\uF900","\uFA6D"],["\uFA70","\uFAD9"],"\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"],["\uFF66","\uFF6F"],["\uFF71","\uFF9D"],["\uFFA0","\uFFBE"],["\uFFC2","\uFFC7"],["\uFFCA","\uFFCF"],["\uFFD2","\uFFD7"],["\uFFDA","\uFFDC"]],!1,!1),_L=/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/,bL=Zn(["\u01C5","\u01C8","\u01CB","\u01F2",["\u1F88","\u1F8F"],["\u1F98","\u1F9F"],["\u1FA8","\u1FAF"],"\u1FBC","\u1FCC","\u1FFC"],!1,!1),IL=/^[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178-\u0179\u017B\u017D\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018B\u018E-\u0191\u0193-\u0194\u0196-\u0198\u019C-\u019D\u019F-\u01A0\u01A2\u01A4\u01A6-\u01A7\u01A9\u01AC\u01AE-\u01AF\u01B1-\u01B3\u01B5\u01B7-\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A-\u023B\u023D-\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E-\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9-\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0-\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E-\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D-\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A]/,FL=Zn([["A","Z"],["\xC0","\xD6"],["\xD8","\xDE"],"\u0100","\u0102","\u0104","\u0106","\u0108","\u010A","\u010C","\u010E","\u0110","\u0112","\u0114","\u0116","\u0118","\u011A","\u011C","\u011E","\u0120","\u0122","\u0124","\u0126","\u0128","\u012A","\u012C","\u012E","\u0130","\u0132","\u0134","\u0136","\u0139","\u013B","\u013D","\u013F","\u0141","\u0143","\u0145","\u0147","\u014A","\u014C","\u014E","\u0150","\u0152","\u0154","\u0156","\u0158","\u015A","\u015C","\u015E","\u0160","\u0162","\u0164","\u0166","\u0168","\u016A","\u016C","\u016E","\u0170","\u0172","\u0174","\u0176",["\u0178","\u0179"],"\u017B","\u017D",["\u0181","\u0182"],"\u0184",["\u0186","\u0187"],["\u0189","\u018B"],["\u018E","\u0191"],["\u0193","\u0194"],["\u0196","\u0198"],["\u019C","\u019D"],["\u019F","\u01A0"],"\u01A2","\u01A4",["\u01A6","\u01A7"],"\u01A9","\u01AC",["\u01AE","\u01AF"],["\u01B1","\u01B3"],"\u01B5",["\u01B7","\u01B8"],"\u01BC","\u01C4","\u01C7","\u01CA","\u01CD","\u01CF","\u01D1","\u01D3","\u01D5","\u01D7","\u01D9","\u01DB","\u01DE","\u01E0","\u01E2","\u01E4","\u01E6","\u01E8","\u01EA","\u01EC","\u01EE","\u01F1","\u01F4",["\u01F6","\u01F8"],"\u01FA","\u01FC","\u01FE","\u0200","\u0202","\u0204","\u0206","\u0208","\u020A","\u020C","\u020E","\u0210","\u0212","\u0214","\u0216","\u0218","\u021A","\u021C","\u021E","\u0220","\u0222","\u0224","\u0226","\u0228","\u022A","\u022C","\u022E","\u0230","\u0232",["\u023A","\u023B"],["\u023D","\u023E"],"\u0241",["\u0243","\u0246"],"\u0248","\u024A","\u024C","\u024E","\u0370","\u0372","\u0376","\u0386",["\u0388","\u038A"],"\u038C",["\u038E","\u038F"],["\u0391","\u03A1"],["\u03A3","\u03AB"],"\u03CF",["\u03D2","\u03D4"],"\u03D8","\u03DA","\u03DC","\u03DE","\u03E0","\u03E2","\u03E4","\u03E6","\u03E8","\u03EA","\u03EC","\u03EE","\u03F4","\u03F7",["\u03F9","\u03FA"],["\u03FD","\u042F"],"\u0460","\u0462","\u0464","\u0466","\u0468","\u046A","\u046C","\u046E","\u0470","\u0472","\u0474","\u0476","\u0478","\u047A","\u047C","\u047E","\u0480","\u048A","\u048C","\u048E","\u0490","\u0492","\u0494","\u0496","\u0498","\u049A","\u049C","\u049E","\u04A0","\u04A2","\u04A4","\u04A6","\u04A8","\u04AA","\u04AC","\u04AE","\u04B0","\u04B2","\u04B4","\u04B6","\u04B8","\u04BA","\u04BC","\u04BE",["\u04C0","\u04C1"],"\u04C3","\u04C5","\u04C7","\u04C9","\u04CB","\u04CD","\u04D0","\u04D2","\u04D4","\u04D6","\u04D8","\u04DA","\u04DC","\u04DE","\u04E0","\u04E2","\u04E4","\u04E6","\u04E8","\u04EA","\u04EC","\u04EE","\u04F0","\u04F2","\u04F4","\u04F6","\u04F8","\u04FA","\u04FC","\u04FE","\u0500","\u0502","\u0504","\u0506","\u0508","\u050A","\u050C","\u050E","\u0510","\u0512","\u0514","\u0516","\u0518","\u051A","\u051C","\u051E","\u0520","\u0522","\u0524","\u0526",["\u0531","\u0556"],["\u10A0","\u10C5"],"\u10C7","\u10CD","\u1E00","\u1E02","\u1E04","\u1E06","\u1E08","\u1E0A","\u1E0C","\u1E0E","\u1E10","\u1E12","\u1E14","\u1E16","\u1E18","\u1E1A","\u1E1C","\u1E1E","\u1E20","\u1E22","\u1E24","\u1E26","\u1E28","\u1E2A","\u1E2C","\u1E2E","\u1E30","\u1E32","\u1E34","\u1E36","\u1E38","\u1E3A","\u1E3C","\u1E3E","\u1E40","\u1E42","\u1E44","\u1E46","\u1E48","\u1E4A","\u1E4C","\u1E4E","\u1E50","\u1E52","\u1E54","\u1E56","\u1E58","\u1E5A","\u1E5C","\u1E5E","\u1E60","\u1E62","\u1E64","\u1E66","\u1E68","\u1E6A","\u1E6C","\u1E6E","\u1E70","\u1E72","\u1E74","\u1E76","\u1E78","\u1E7A","\u1E7C","\u1E7E","\u1E80","\u1E82","\u1E84","\u1E86","\u1E88","\u1E8A","\u1E8C","\u1E8E","\u1E90","\u1E92","\u1E94","\u1E9E","\u1EA0","\u1EA2","\u1EA4","\u1EA6","\u1EA8","\u1EAA","\u1EAC","\u1EAE","\u1EB0","\u1EB2","\u1EB4","\u1EB6","\u1EB8","\u1EBA","\u1EBC","\u1EBE","\u1EC0","\u1EC2","\u1EC4","\u1EC6","\u1EC8","\u1ECA","\u1ECC","\u1ECE","\u1ED0","\u1ED2","\u1ED4","\u1ED6","\u1ED8","\u1EDA","\u1EDC","\u1EDE","\u1EE0","\u1EE2","\u1EE4","\u1EE6","\u1EE8","\u1EEA","\u1EEC","\u1EEE","\u1EF0","\u1EF2","\u1EF4","\u1EF6","\u1EF8","\u1EFA","\u1EFC","\u1EFE",["\u1F08","\u1F0F"],["\u1F18","\u1F1D"],["\u1F28","\u1F2F"],["\u1F38","\u1F3F"],["\u1F48","\u1F4D"],"\u1F59","\u1F5B","\u1F5D","\u1F5F",["\u1F68","\u1F6F"],["\u1FB8","\u1FBB"],["\u1FC8","\u1FCB"],["\u1FD8","\u1FDB"],["\u1FE8","\u1FEC"],["\u1FF8","\u1FFB"],"\u2102","\u2107",["\u210B","\u210D"],["\u2110","\u2112"],"\u2115",["\u2119","\u211D"],"\u2124","\u2126","\u2128",["\u212A","\u212D"],["\u2130","\u2133"],["\u213E","\u213F"],"\u2145","\u2183",["\u2C00","\u2C2E"],"\u2C60",["\u2C62","\u2C64"],"\u2C67","\u2C69","\u2C6B",["\u2C6D","\u2C70"],"\u2C72","\u2C75",["\u2C7E","\u2C80"],"\u2C82","\u2C84","\u2C86","\u2C88","\u2C8A","\u2C8C","\u2C8E","\u2C90","\u2C92","\u2C94","\u2C96","\u2C98","\u2C9A","\u2C9C","\u2C9E","\u2CA0","\u2CA2","\u2CA4","\u2CA6","\u2CA8","\u2CAA","\u2CAC","\u2CAE","\u2CB0","\u2CB2","\u2CB4","\u2CB6","\u2CB8","\u2CBA","\u2CBC","\u2CBE","\u2CC0","\u2CC2","\u2CC4","\u2CC6","\u2CC8","\u2CCA","\u2CCC","\u2CCE","\u2CD0","\u2CD2","\u2CD4","\u2CD6","\u2CD8","\u2CDA","\u2CDC","\u2CDE","\u2CE0","\u2CE2","\u2CEB","\u2CED","\u2CF2","\uA640","\uA642","\uA644","\uA646","\uA648","\uA64A","\uA64C","\uA64E","\uA650","\uA652","\uA654","\uA656","\uA658","\uA65A","\uA65C","\uA65E","\uA660","\uA662","\uA664","\uA666","\uA668","\uA66A","\uA66C","\uA680","\uA682","\uA684","\uA686","\uA688","\uA68A","\uA68C","\uA68E","\uA690","\uA692","\uA694","\uA696","\uA722","\uA724","\uA726","\uA728","\uA72A","\uA72C","\uA72E","\uA732","\uA734","\uA736","\uA738","\uA73A","\uA73C","\uA73E","\uA740","\uA742","\uA744","\uA746","\uA748","\uA74A","\uA74C","\uA74E","\uA750","\uA752","\uA754","\uA756","\uA758","\uA75A","\uA75C","\uA75E","\uA760","\uA762","\uA764","\uA766","\uA768","\uA76A","\uA76C","\uA76E","\uA779","\uA77B",["\uA77D","\uA77E"],"\uA780","\uA782","\uA784","\uA786","\uA78B","\uA78D","\uA790","\uA792","\uA7A0","\uA7A2","\uA7A4","\uA7A6","\uA7A8","\uA7AA",["\uFF21","\uFF3A"]],!1,!1),NL=/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/,CL=Zn([["\u16EE","\u16F0"],["\u2160","\u2182"],["\u2185","\u2188"],"\u3007",["\u3021","\u3029"],["\u3038","\u303A"],["\uA6E6","\uA6EF"]],!1,!1),OL=/^[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/,wL=Zn([["0","9"],["\u0660","\u0669"],["\u06F0","\u06F9"],["\u07C0","\u07C9"],["\u0966","\u096F"],["\u09E6","\u09EF"],["\u0A66","\u0A6F"],["\u0AE6","\u0AEF"],["\u0B66","\u0B6F"],["\u0BE6","\u0BEF"],["\u0C66","\u0C6F"],["\u0CE6","\u0CEF"],["\u0D66","\u0D6F"],["\u0E50","\u0E59"],["\u0ED0","\u0ED9"],["\u0F20","\u0F29"],["\u1040","\u1049"],["\u1090","\u1099"],["\u17E0","\u17E9"],["\u1810","\u1819"],["\u1946","\u194F"],["\u19D0","\u19D9"],["\u1A80","\u1A89"],["\u1A90","\u1A99"],["\u1B50","\u1B59"],["\u1BB0","\u1BB9"],["\u1C40","\u1C49"],["\u1C50","\u1C59"],["\uA620","\uA629"],["\uA8D0","\uA8D9"],["\uA900","\uA909"],["\uA9D0","\uA9D9"],["\uAA50","\uAA59"],["\uABF0","\uABF9"],["\uFF10","\uFF19"]],!1,!1),E=0,ce=0,Bc=[{line:1,column:1}],Or=0,u2=[],L=0,Lc;if(e.startRule!==void 0){if(!(e.startRule in r))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');a=r[e.startRule]}function t7(){return i.substring(ce,E)}function p2(){return xc(ce,E)}function i7(f,A){throw A=A!==void 0?A:xc(ce,E),LL(f,A)}function Ie(f,A){return{type:"literal",text:f,ignoreCase:A}}function Zn(f,A,_){return{type:"class",parts:f,inverted:A,ignoreCase:_}}function RL(){return{type:"any"}}function BL(){return{type:"end"}}function pu(f){return{type:"other",description:f}}function n7(f){let A=Bc[f],_;if(A)return A;for(_=f-1;!Bc[_];)_--;for(A=Bc[_],A={line:A.line,column:A.column};_Or&&(Or=E,u2=[]),u2.push(f))}function LL(f,A){return new tu(f,[],"",A)}function xL(f,A,_){return new tu(tu.buildMessage(f,A),f,A,_)}function r7(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=PL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function a7(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=$L(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function d2(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=UL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function l2(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=kL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function c2(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=VL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function f2(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=ML(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function m2(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=YL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function Pc(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=KL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function s7(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=jL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function Qa(){let f,A,_,b;return f=E,A=Dt(),A!==t?(_=WL(),_!==t?(b=Dt(),b!==t?(ce=f,A=s(_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function h2(){let f,A;for(f=[],A=c2(),A===t&&(A=l2(),A===t&&(A=f2(),A===t&&(A=m2(),A===t&&(A=d2(),A===t&&(A=Qa())))));A!==t;)f.push(A),A=c2(),A===t&&(A=l2(),A===t&&(A=f2(),A===t&&(A=m2(),A===t&&(A=d2(),A===t&&(A=Qa())))));return f}function PL(){let f,A,_,b,w;for(f=E,A=[],_=Qa();_!==t;)A.push(_),_=Qa();if(A!==t)if(_=a7(),_!==t){for(b=[],w=Qa();w!==t;)b.push(w),w=Qa();b!==t?(ce=f,A=o(A,_,b),f=A):(E=f,f=t)}else E=f,f=t;else E=f,f=t;return f}function $L(){let f,A,_,b,w,x,pe,an,wr,A7,g2;return f=E,i.substr(E,6).toLowerCase()===u?(A=i.substr(E,6),E+=6):(A=t,L===0&&U(p)),A===t&&(A=null),A!==t?(_=ni(),_!==t?(i.substr(E,5).toLowerCase()===d?(b=i.substr(E,5),E+=5):(b=t,L===0&&U(l)),b===t&&(i.substr(E,7).toLowerCase()===c?(b=i.substr(E,7),E+=7):(b=t,L===0&&U(v))),b!==t?(w=ni(),w!==t?(x=Qs(),x===t&&(x=null),x!==t?(pe=Dt(),pe!==t?(i.charCodeAt(E)===123?(an=y,E++):(an=t,L===0&&U(g)),an!==t?(wr=h2(),wr!==t?(A7=Dt(),A7!==t?(i.charCodeAt(E)===125?(g2=T,E++):(g2=t,L===0&&U(S)),g2!==t?(ce=f,A=N(A,b,x,wr),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function VL(){let f,A,_,b;return f=E,A=o7(),A!==t?(_=ni(),_!==t?(i.charCodeAt(E)===59?(b=F,E++):(b=t,L===0&&U(R)),b===t&&(b=null),b!==t?(ce=f,A=P(A),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function kL(){let f,A,_,b,w;return f=E,i.substr(E,5).toLowerCase()===d?(A=i.substr(E,5),E+=5):(A=t,L===0&&U(l)),A===t&&(i.substr(E,4).toLowerCase()===K?(A=i.substr(E,4),E+=4):(A=t,L===0&&U(W)),A===t&&(i.substr(E,4).toLowerCase()===ne?(A=i.substr(E,4),E+=4):(A=t,L===0&&U(B)))),A!==t?(_=v2(),_!==t?(b=ni(),b!==t?(i.charCodeAt(E)===59?(w=F,E++):(w=t,L===0&&U(R)),w===t&&(w=null),w!==t?(ce=f,A=Y(A,_),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function ML(){let f,A,_,b,w,x;return f=E,A=u7(),A!==t?(_=p7(),_!==t?(b=v2(),b===t&&(b=null),b!==t?(w=ni(),w!==t?(i.charCodeAt(E)===59?(x=F,E++):(x=t,L===0&&U(R)),x===t&&(x=null),x!==t?(ce=f,A=_e(A,_,b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function UL(){let f,A,_,b,w,x;return f=E,A=Qs(),A!==t?(_=ni(),_!==t?(b=v2(),b===t&&(b=null),b!==t?(w=ni(),w!==t?(i.charCodeAt(E)===59?(x=F,E++):(x=t,L===0&&U(R)),x===t&&(x=null),x!==t?(ce=f,A=rt(A,b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function o7(){let f,A,_,b,w,x;return f=E,A=Qs(),A!==t?(_=ni(),_!==t?(i.charCodeAt(E)===61?(b=Tt,E++):(b=t,L===0&&U(vn)),b!==t?(w=ni(),w!==t?(x=Qs(),x!==t?(ce=f,A=Qi(A,x),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function jL(){let f,A,_,b;return f=E,A=o7(),A!==t?(_=ni(),_!==t?(i.charCodeAt(E)===44?(b=nn,E++):(b=t,L===0&&U(Ks)),b===t&&(i.charCodeAt(E)===59?(b=F,E++):(b=t,L===0&&U(R))),b===t&&(b=null),b!==t?(ce=f,A=wc(A),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function v2(){let f,A,_,b,w,x;if(f=E,A=ni(),A!==t)if(i.charCodeAt(E)===91?(_=au,E++):(_=t,L===0&&U(Rc)),_!==t){for(b=[],w=s7(),w===t&&(w=Qa());w!==t;)b.push(w),w=s7(),w===t&&(w=Qa());b!==t?(w=Dt(),w!==t?(i.charCodeAt(E)===93?(x=t2,E++):(x=t,L===0&&U(V)),x!==t?(ce=f,A=re(b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;else E=f,f=t;return f}function qL(){let f,A,_,b,w,x,pe;if(f=E,i.charCodeAt(E)===123?(A=y,E++):(A=t,L===0&&U(g)),A!==t)if(_=Pc(),_!==t){for(b=[],w=E,i.charCodeAt(E)===44?(x=nn,E++):(x=t,L===0&&U(Ks)),x===t&&(i.charCodeAt(E)===59?(x=F,E++):(x=t,L===0&&U(R))),x===t&&(x=null),x!==t?(pe=Pc(),pe!==t?(ce=w,x=X(_,pe),w=x):(E=w,w=t)):(E=w,w=t);w!==t;)b.push(w),w=E,i.charCodeAt(E)===44?(x=nn,E++):(x=t,L===0&&U(Ks)),x===t&&(i.charCodeAt(E)===59?(x=F,E++):(x=t,L===0&&U(R))),x===t&&(x=null),x!==t?(pe=Pc(),pe!==t?(ce=w,x=X(_,pe),w=x):(E=w,w=t)):(E=w,w=t);b!==t?(i.charCodeAt(E)===44?(w=nn,E++):(w=t,L===0&&U(Ks)),w===t&&(i.charCodeAt(E)===59?(w=F,E++):(w=t,L===0&&U(R))),w===t&&(w=null),w!==t?(x=Dt(),x!==t?(i.charCodeAt(E)===125?(pe=T,E++):(pe=t,L===0&&U(S)),pe!==t?(ce=f,A=ue(_,b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;else E=f,f=t;return f}function u7(){let f;return f=qL(),f===t&&(f=Pc()),f}function GL(){let f,A;return f=E,i.substr(E,2)===dt?(A=dt,E+=2):(A=t,L===0&&U(Vt)),A===t&&(i.substr(E,2)===ht?(A=ht,E+=2):(A=t,L===0&&U(Ka))),A!==t&&(ce=f,A=Up(A)),f=A,f}function p7(){let f,A,_,b,w,x,pe;return f=E,A=ni(),A!==t?(_=GL(),_!==t?(b=ni(),b!==t?(w=u7(),w!==t?(x=ni(),x!==t?(pe=p7(),pe===t&&(pe=null),pe!==t?(ce=f,A=jp(_,w,pe),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function KL(){let f,A,_;return f=E,A=Qs(),A!==t?(_=QL(),_===t&&(_=null),_!==t?(ce=f,A=rn(A,_),f=A):(E=f,f=t)):(E=f,f=t),f}function QL(){let f,A,_,b,w,x;return L++,f=E,i.charCodeAt(E)===58?(A=j9,E++):(A=t,L===0&&U(q9)),A!==t?(_=Qs(),_!==t?(b=E,i.charCodeAt(E)===58?(w=j9,E++):(w=t,L===0&&U(q9)),w!==t?(x=zL(),x!==t?(ce=b,w=uB(_,x),b=w):(E=b,b=t)):(E=b,b=t),b===t&&(b=null),b!==t?(ce=f,A=pB(_,b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),L--,f===t&&(A=t,L===0&&U(oB)),f}function HL(){let f,A,_,b,w;return f=E,i.substr(E,8).toLowerCase()===dB?(A=i.substr(E,8),E+=8):(A=t,L===0&&U(lB)),A!==t?(_=ni(),_!==t?(b=Qs(),b===t&&(b=null),b!==t?(w=ni(),w!==t?(ce=f,A=cB(b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function YL(){let f,A,_,b,w,x;return f=E,A=HL(),A===t&&(A=null),A!==t?(i.charCodeAt(E)===123?(_=y,E++):(_=t,L===0&&U(g)),_!==t?(b=h2(),b===t&&(b=null),b!==t?(w=Dt(),w!==t?(i.charCodeAt(E)===125?(x=T,E++):(x=t,L===0&&U(S)),x!==t?(ce=f,A=fB(A,b),f=A):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t)):(E=f,f=t),f}function d7(){let f;return i.charCodeAt(E)===110?(f=mB,E++):(f=t,L===0&&U(hB)),f===t&&(i.substr(E,2)===G9?(f=G9,E+=2):(f=t,L===0&&U(vB)),f===t&&(i.charCodeAt(E)===101?(f=yB,E++):(f=t,L===0&&U(EB)),f===t&&(i.substr(E,2)===K9?(f=K9,E+=2):(f=t,L===0&&U(gB)),f===t&&(i.charCodeAt(E)===115?(f=AB,E++):(f=t,L===0&&U(TB)),f===t&&(i.substr(E,2)===Q9?(f=Q9,E+=2):(f=t,L===0&&U(DB)),f===t&&(i.charCodeAt(E)===119?(f=SB,E++):(f=t,L===0&&U(_B)),f===t&&(i.substr(E,2)===H9?(f=H9,E+=2):(f=t,L===0&&U(bB))))))))),f}function zL(){let f,A,_,b,w;return f=E,A=E,_=d7(),_!==t&&(ce=A,_=IB(_)),A=_,A===t&&(A=E,i.charCodeAt(E)===34?(_=qp,E++):(_=t,L===0&&U(Gp)),_!==t?(b=d7(),b!==t?(i.charCodeAt(E)===34?(w=qp,E++):(w=t,L===0&&U(Gp)),w!==t?(ce=A,_=FB(b),A=_):(E=A,A=t)):(E=A,A=t)):(E=A,A=t)),A!==t&&(ce=f,A=NB(A)),f=A,f}function Qs(){let f,A;return f=ix(),f===t&&(f=tx(),f===t&&(f=E,A=f7(),A===t&&(A=ex(),A===t&&(A=v7())),A!==t&&(ce=f,A=CB(A)),f=A)),f}function WL(){let f;return f=JL(),f===t&&(f=XL(),f===t&&(f=ZL())),f}function JL(){let f,A,_,b,w,x;if(f=E,i.substr(E,2)===Y9?(A=Y9,E+=2):(A=t,L===0&&U(OB)),A!==t){for(_=[],b=E,w=E,L++,i.substr(E,2)===su?(x=su,E+=2):(x=t,L===0&&U(i2)),L--,x===t?w=void 0:(E=w,w=t),w!==t?(i.length>E?(x=i.charAt(E),E++):(x=t,L===0&&U(Cr)),x!==t?(ce=b,w=s(x),b=w):(E=b,b=t)):(E=b,b=t);b!==t;)_.push(b),b=E,w=E,L++,i.substr(E,2)===su?(x=su,E+=2):(x=t,L===0&&U(i2)),L--,x===t?w=void 0:(E=w,w=t),w!==t?(i.length>E?(x=i.charAt(E),E++):(x=t,L===0&&U(Cr)),x!==t?(ce=b,w=s(x),b=w):(E=b,b=t)):(E=b,b=t);_!==t?(i.substr(E,2)===su?(b=su,E+=2):(b=t,L===0&&U(i2)),b!==t?(ce=f,A=wB(_),f=A):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;return f}function XL(){let f,A,_;if(f=E,A=[],_=l7(),_!==t)for(;_!==t;)A.push(_),_=l7();else A=t;return A!==t&&(ce=f,A=RB(A)),f=A,f}function l7(){let f,A,_,b,w,x,pe;if(f=E,A=ni(),A!==t)if(i.substr(E,2)===z9?(_=z9,E+=2):(_=t,L===0&&U(BB)),_!==t){for(b=[],w=E,x=E,L++,pe=Ha(),L--,pe===t?x=void 0:(E=x,x=t),x!==t?(i.length>E?(pe=i.charAt(E),E++):(pe=t,L===0&&U(Cr)),pe!==t?(ce=w,x=s(pe),w=x):(E=w,w=t)):(E=w,w=t);w!==t;)b.push(w),w=E,x=E,L++,pe=Ha(),L--,pe===t?x=void 0:(E=x,x=t),x!==t?(i.length>E?(pe=i.charAt(E),E++):(pe=t,L===0&&U(Cr)),pe!==t?(ce=w,x=s(pe),w=x):(E=w,w=t)):(E=w,w=t);b!==t?(w=Ha(),w===t&&(w=null),w!==t?(ce=f,A=n2(b),f=A):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;else E=f,f=t;return f}function ZL(){let f,A,_;if(f=E,A=[],_=c7(),_!==t)for(;_!==t;)A.push(_),_=c7();else A=t;return A!==t&&(ce=f,A=LB(A)),f=A,f}function c7(){let f,A,_,b,w,x,pe;if(f=E,A=ni(),A!==t)if(i.charCodeAt(E)===35?(_=xB,E++):(_=t,L===0&&U(PB)),_!==t){for(b=[],w=E,x=E,L++,pe=Ha(),L--,pe===t?x=void 0:(E=x,x=t),x!==t?(i.length>E?(pe=i.charAt(E),E++):(pe=t,L===0&&U(Cr)),pe!==t?(ce=w,x=s(pe),w=x):(E=w,w=t)):(E=w,w=t);w!==t;)b.push(w),w=E,x=E,L++,pe=Ha(),L--,pe===t?x=void 0:(E=x,x=t),x!==t?(i.length>E?(pe=i.charAt(E),E++):(pe=t,L===0&&U(Cr)),pe!==t?(ce=w,x=s(pe),w=x):(E=w,w=t)):(E=w,w=t);b!==t?(w=Ha(),w===t&&(w=null),w!==t?(ce=f,A=n2(b),f=A):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;else E=f,f=t;return f}function f7(){let f,A,_,b;if(L++,f=E,A=m7(),A!==t){for(_=[],b=h7();b!==t;)_.push(b),b=h7();_!==t?(ce=f,A=VB(A,_),f=A):(E=f,f=t)}else E=f,f=t;return L--,f===t&&(A=t,L===0&&U($B)),f}function ex(){let f,A,_;return f=E,A=v7(),A!==t?(_=f7(),_!==t?(ce=f,A=kB(A,_),f=A):(E=f,f=t)):(E=f,f=t),f}function m7(){let f;return f=ux(),f===t&&(i.charCodeAt(E)===36?(f=MB,E++):(f=t,L===0&&U(UB)),f===t&&(i.charCodeAt(E)===95?(f=jB,E++):(f=t,L===0&&U(qB)))),f}function h7(){let f;return f=m7(),f===t&&(f=hx()),f}function v7(){let f,A,_,b,w,x,pe,an,wr;if(L++,f=E,A=E,i.charCodeAt(E)===45?(_=KB,E++):(_=t,L===0&&U(QB)),_===t&&(_=null),_!==t){if(b=E,i.charCodeAt(E)===46?(w=W9,E++):(w=t,L===0&&U(J9)),w!==t){if(x=[],ou.test(i.charAt(E))?(pe=i.charAt(E),E++):(pe=t,L===0&&U(uu)),pe!==t)for(;pe!==t;)x.push(pe),ou.test(i.charAt(E))?(pe=i.charAt(E),E++):(pe=t,L===0&&U(uu));else x=t;x!==t?(w=[w,x],b=w):(E=b,b=t)}else E=b,b=t;if(b===t){if(b=E,w=[],ou.test(i.charAt(E))?(x=i.charAt(E),E++):(x=t,L===0&&U(uu)),x!==t)for(;x!==t;)w.push(x),ou.test(i.charAt(E))?(x=i.charAt(E),E++):(x=t,L===0&&U(uu));else w=t;if(w!==t){if(x=E,i.charCodeAt(E)===46?(pe=W9,E++):(pe=t,L===0&&U(J9)),pe!==t){for(an=[],ou.test(i.charAt(E))?(wr=i.charAt(E),E++):(wr=t,L===0&&U(uu));wr!==t;)an.push(wr),ou.test(i.charAt(E))?(wr=i.charAt(E),E++):(wr=t,L===0&&U(uu));an!==t?(pe=[pe,an],x=pe):(E=x,x=t)}else E=x,x=t;x===t&&(x=null),x!==t?(w=[w,x],b=w):(E=b,b=t)}else E=b,b=t}b!==t?(_=[_,b],A=_):(E=A,A=t)}else E=A,A=t;return A!==t&&(ce=f,A=HB()),f=A,L--,f===t&&(A=t,L===0&&U(GB)),f}function tx(){let f,A;return f=E,A=y2(),A!==t&&(ce=f,A=YB(A)),f=A,f}function y2(){let f,A,_,b;if(f=E,i.charCodeAt(E)===60?(A=r2,E++):(A=t,L===0&&U(a2)),A!==t){for(_=[],b=y7(),b===t&&(b=y2());b!==t;)_.push(b),b=y7(),b===t&&(b=y2());_!==t?(i.charCodeAt(E)===62?(b=s2,E++):(b=t,L===0&&U(o2)),b!==t?(ce=f,A=zB(_),f=A):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;return f}function y7(){let f,A,_,b,w;if(f=E,A=[],_=E,b=E,L++,i.charCodeAt(E)===62?(w=s2,E++):(w=t,L===0&&U(o2)),w===t&&(i.charCodeAt(E)===60?(w=r2,E++):(w=t,L===0&&U(a2))),L--,w===t?b=void 0:(E=b,b=t),b!==t?(i.length>E?(w=i.charAt(E),E++):(w=t,L===0&&U(Cr)),w!==t?(ce=_,b=s(w),_=b):(E=_,_=t)):(E=_,_=t),_!==t)for(;_!==t;)A.push(_),_=E,b=E,L++,i.charCodeAt(E)===62?(w=s2,E++):(w=t,L===0&&U(o2)),w===t&&(i.charCodeAt(E)===60?(w=r2,E++):(w=t,L===0&&U(a2))),L--,w===t?b=void 0:(E=b,b=t),b!==t?(i.length>E?(w=i.charAt(E),E++):(w=t,L===0&&U(Cr)),w!==t?(ce=_,b=s(w),_=b):(E=_,_=t)):(E=_,_=t);else A=t;return A!==t&&(ce=f,A=n2(A)),f=A,f}function ix(){let f,A,_,b;if(f=E,i.charCodeAt(E)===34?(A=qp,E++):(A=t,L===0&&U(Gp)),A!==t){for(_=[],b=E7();b!==t;)_.push(b),b=E7();_!==t?(i.charCodeAt(E)===34?(b=qp,E++):(b=t,L===0&&U(Gp)),b!==t?(ce=f,A=WB(_),f=A):(E=f,f=t)):(E=f,f=t)}else E=f,f=t;return f}function E7(){let f,A,_;return f=nx(),f===t&&(f=E,A=E,L++,i.charCodeAt(E)===34?(_=qp,E++):(_=t,L===0&&U(Gp)),_===t&&(_=ax()),L--,_===t?A=void 0:(E=A,A=t),A!==t?(_=ox(),_!==t?(ce=f,A=JB(),f=A):(E=f,f=t)):(E=f,f=t),f===t&&(f=rx())),f}function nx(){let f,A,_,b;return f=E,A=E,i.charCodeAt(E)===92?(_=X9,E++):(_=t,L===0&&U(Z9)),_!==t?(i.length>E?(b=i.charAt(E),E++):(b=t,L===0&&U(Cr)),b!==t?(_=[_,b],A=_):(E=A,A=t)):(E=A,A=t),A!==t&&(ce=f,A=XB(A)),f=A,f}function rx(){let f,A,_;return f=E,i.charCodeAt(E)===92?(A=X9,E++):(A=t,L===0&&U(Z9)),A!==t?(_=sx(),_!==t?(ce=f,A=ZB(),f=A):(E=f,f=t)):(E=f,f=t),f}function ax(){let f;return eL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(tL)),f}function sx(){let f;return L++,i.charCodeAt(E)===10?(f=nL,E++):(f=t,L===0&&U(rL)),f===t&&(i.substr(E,2)===e7?(f=e7,E+=2):(f=t,L===0&&U(aL)),f===t&&(i.charCodeAt(E)===13?(f=sL,E++):(f=t,L===0&&U(oL)),f===t&&(i.charCodeAt(E)===8232?(f=uL,E++):(f=t,L===0&&U(pL)),f===t&&(i.charCodeAt(E)===8233?(f=dL,E++):(f=t,L===0&&U(lL)))))),L--,f===t&&L===0&&U(iL),f}function ox(){let f;return i.length>E?(f=i.charAt(E),E++):(f=t,L===0&&U(Cr)),f}function ni(){let f,A;for(L++,f=[],A=$c();A!==t;)f.push(A),A=$c();return L--,f===t&&(A=t,L===0&&U(cL)),f}function Dt(){let f,A;for(L++,f=[],A=$c(),A===t&&(A=Ha());A!==t;)f.push(A),A=$c(),A===t&&(A=Ha());return L--,f===t&&(A=t,L===0&&U(fL)),f}function Ha(){let f;return mL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(hL)),f}function $c(){let f;return vL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(yL)),f}function ux(){let f;return f=fx(),f===t&&(f=px(),f===t&&(f=cx(),f===t&&(f=dx(),f===t&&(f=lx(),f===t&&(f=mx()))))),f}function px(){let f;return EL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(gL)),f}function dx(){let f;return AL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(TL)),f}function lx(){let f;return DL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(SL)),f}function cx(){let f;return _L.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(bL)),f}function fx(){let f;return IL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(FL)),f}function mx(){let f;return NL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(CL)),f}function hx(){let f;return OL.test(i.charAt(E))?(f=i.charAt(E),E++):(f=t,L===0&&U(wL)),f}function E2(f){let A=f.trim(),_=A.match(/\n([\t ]+|(?!\s).)/g);if(_){let b=_.map(x=>x.match(/[\t ]/g)?.length??0),w=new RegExp(` [ ]{${Math.min(...b)}}`,"g");return A.replace(w,` `)}return A}let g7=[],ci=new Bp({locationFunction:p2});if(Lc=a(),Lc!==t&&E===i.length)return Lc;throw Lc!==t&&E$/ms.test(t)?Ke("Attribute",{key:Ke("Literal",{value:i,quoted:!1},[]),value:Ke("Literal",{value:t.slice(1,t.length-1),quoted:"html"},[])},[]):Ke("Attribute",{key:Ke("Literal",{value:i,quoted:!1},[]),value:Ke("Literal",{value:e,quoted:!0},[])},[])}return Ke("Attribute",{key:Ke("Literal",{value:i,quoted:!1},[]),value:Ke("Literal",{value:String(e),quoted:!1},[])},[])}function eu(i,e){return Ke("Comment",{kind:e,value:i},[])}function SR(i,e){return Array.from(function*(){for(let[t,n]of e.values)yield Bh(t,n);for(let t of Object.values(e.attributes))t.size>0&&(t.comment&&(yield eu(t.comment,i.commentKind)),yield i.convert(t));for(let t of e.nodes)t.comment&&(yield eu(t.comment,i.commentKind)),yield i.convert(t);for(let t of e.subgraphs)t.comment&&(yield eu(t.comment,i.commentKind)),yield i.convert(t);for(let t of e.edges)t.comment&&(yield eu(t.comment,i.commentKind)),yield i.convert(t)}())}var rde={match(i){return i.$$type==="AttributeList"},convert(i,e){return Ke("AttributeList",{kind:e.$$kind},e.values.map(([t,n])=>Bh(t,n)))}},ade={match(i){return i.$$type==="Edge"},convert(i,e){return Ke("Edge",{targets:e.targets.map(t=>_h.isNodeModel(t)?Ke("NodeRef",{id:Ke("Literal",{value:t.id,quoted:!0},[])},[]):_h.isForwardRefNode(t)?Ke("NodeRef",{id:Ke("Literal",{value:t.id,quoted:!0},[]),port:t.port?Ke("Literal",{value:t.port,quoted:!0},[]):void 0,compass:t.compass?Ke("Literal",{value:t.compass,quoted:!0},[]):void 0},[]):Ke("NodeRefGroup",{},t.map(n=>_h.isNodeModel(n)?Ke("NodeRef",{id:Ke("Literal",{value:n.id,quoted:!0},[])},[]):Ke("NodeRef",{id:Ke("Literal",{value:n.id,quoted:!0},[]),port:n.port?Ke("Literal",{value:n.port,quoted:!0},[]):void 0,compass:n.compass?Ke("Literal",{value:n.compass,quoted:!0},[]):void 0},[]))))},[...e.attributes.comment?[eu(e.attributes.comment,i.commentKind)]:[],...e.attributes.values.map(([t,n])=>Bh(t,n))])}},sde={match(i){return i.$$type==="Graph"},convert(i,e){return Ke("Dot",{},[...e.comment?[eu(e.comment,i.commentKind)]:[],Ke("Graph",{directed:e.directed,strict:e.strict,id:e.id?Ke("Literal",{value:e.id,quoted:!0},[]):void 0},SR(i,e))])}},ode={match(i){return i.$$type==="Node"},convert(i,e){return Ke("Node",{id:Ke("Literal",{value:e.id,quoted:!0},[])},[...e.attributes.comment?[eu(e.attributes.comment,i.commentKind)]:[],...e.attributes.values.map(([t,n])=>Bh(t,n))])}},ude={match(i){return i.$$type==="Subgraph"},convert(i,e){return Ke("Subgraph",{id:e.id?Ke("Literal",{value:e.id,quoted:!0},[]):void 0},SR(i,e))}},pde=[rde,ade,ode,sde,ude],Rh,Nh=class{constructor(e={}){lt(this,"options");Hs(this,Rh,[...pde]);this.options=e}convert(e){let t=[...ct(this,Rh)],{commentKind:n="Slash"}=this.options,r={commentKind:n,convert(a){for(let s of t)if(s.match(a))return s.convert(r,a);throw Error()}};return r.convert(e)}};Rh=new WeakMap;function dde(i,e){return new Nh(e).convert(i)}var Ch=class{constructor(){lt(this,"comment",null)}set(e){this.comment=e}reset(){this.comment=null}apply(e,t){t&&this.comment?.location?this.comment?.kind==="Block"?this.comment.location.end.line===t.start.line-1&&(e.comment=this.comment.value):this.comment.location.end.line===t.start.line&&(e.comment=this.comment.value):e.comment=this.comment?.value,this.reset()}},lde={match(i){return i.type==="Dot"},convert(i,e){let t=new Ch;for(let n of e.children)switch(n.type){case"Comment":t.set(n);break;case"Graph":let r=i.convert(n);return t.apply(r,n.location),r}throw Error()}};function _R(i){return i.targets.map(e=>{switch(e.type){case"NodeRef":return{id:e.id.value,port:e.port?.value,compass:e.compass?.value};case"NodeRefGroup":return e.children.map(t=>({id:t.id.value,port:t.port?.value,compass:t.compass?.value}))}})}var cde={match(i){return i.type==="Edge"},convert(i,e){return new i.models.Edge(_R(e),e.children.filter(n=>n.type==="Attribute").reduce((n,r)=>({...n,[r.key.value]:r.value.value}),{}))}};function I9(i,e){let t=new Ch;for(let n of e)switch(n.type){case"Subgraph":let r=n.id?i.subgraph(n.id.value):i.subgraph();I9(r,n.children),t.apply(r,n.location);break;case"Attribute":i.set(n.key.value,n.value.value),t.reset();break;case"Node":t.apply(i.node(n.id.value,n.children.filter(s=>s.type==="Attribute").reduce((s,o)=>({...s,[o.key.value]:o.value.value}),{})),n.location);break;case"Edge":t.apply(i.edge(_R(n),n.children.filter(s=>s.type==="Attribute").reduce((s,o)=>({...s,[o.key.value]:o.value.value}),{})),n.location);break;case"AttributeList":let a=n.children.filter(s=>s.type==="Attribute").reduce((s,o)=>({...s,[o.key.value]:o.value.value}),{});switch(n.kind){case"Edge":i.edge(a);break;case"Node":i.node(a);break;case"Graph":i.graph(a);break}t.reset();break;case"Comment":t.set(n)}}var fde={match(i){return i.type==="Graph"},convert(i,e){let t=e.directed?i.models.Digraph:i.models.Graph,n=new t(e.id?.value,e.strict);return I9(n,e.children),n}},mde={match(i){return i.type==="Subgraph"},convert(i,e){let t=new i.models.Subgraph(e.id?.value);return I9(t,e.children),t}},hde={match(i){return i.type==="Node"},convert(i,e){return new i.models.Node(e.id.value,e.children.filter(n=>n.type==="Attribute").reduce((n,r)=>({...n,[r.key.value]:r.value.value}),{}))}},vde=[hde,cde,mde,fde,lde],Oh=class{constructor(e={}){lt(this,"options");lt(this,"plugins",[...vde]);this.options=e}convert(e){let t=[...this.plugins],n={models:_h.createModelsContext(this.options.models??{}),convert(r){for(let a of t)if(a.match(r))return a.convert(n,r);throw Error()}};return n.convert(e)}};function yde(i,e){return new Oh(e).convert(i)}Nr.Builder=Bp;Nr.DotSyntaxError=nde;Nr.FromModelConverter=Nh;Nr.Printer=Fh;Nr.ToModelConverter=Oh;Nr.createElement=Ke;Nr.fromModel=dde;Nr.parse=ide;Nr.stringify=Zpe;Nr.toModel=yde});var NR=D(ii=>{"use strict";h();m();var ha=Dh(),Lh=bR(),Ede=new Proxy(Object.freeze({}),{get:(i,e)=>e}),xp=class{},ja,Pp=class extends xp{constructor(t){super();Hs(this,ja,new Map);t!==void 0&&this.apply(t)}get values(){return Array.from(ct(this,ja).entries())}get size(){return ct(this,ja).size}get(t){return ct(this,ja).get(t)}set(t,n){n!=null&&ct(this,ja).set(t,n)}delete(t){ct(this,ja).delete(t)}apply(t){let n=Array.isArray(t)?t:Object.entries(t);for(let[r,a]of n)this.set(r,a)}clear(){ct(this,ja).clear()}};ja=new WeakMap;var Lp=class extends Pp{constructor(t,n){super(n);lt(this,"$$kind");lt(this,"comment");this.$$kind=t}get $$type(){return"AttributeList"}},ks,Ti,Dc=class extends Pp{constructor(){super(...arguments);Hs(this,ks,ha.RootModelsContext);lt(this,"id");lt(this,"comment");lt(this,"attributes",Object.freeze({graph:new Lp("Graph"),edge:new Lp("Edge"),node:new Lp("Node")}));Hs(this,Ti,{nodes:new Map,edges:new Set,subgraphs:new Set})}get nodes(){return Array.from(ct(this,Ti).nodes.values())}get edges(){return Array.from(ct(this,Ti).edges.values())}get subgraphs(){return Array.from(ct(this,Ti).subgraphs.values())}with(t){S7(this,ks,ha.createModelsContext(t))}addNode(t){ct(this,Ti).nodes.set(t.id,t)}addEdge(t){ct(this,Ti).edges.add(t)}addSubgraph(t){ct(this,Ti).subgraphs.add(t)}existNode(t){return ct(this,Ti).nodes.has(t)}existEdge(t){return ct(this,Ti).edges.has(t)}existSubgraph(t){return ct(this,Ti).subgraphs.has(t)}createSubgraph(...t){let n=new(ct(this,ks)).Subgraph(...t);return n.with(ct(this,ks)),this.addSubgraph(n),n}removeNode(t){ct(this,Ti).nodes.delete(typeof t=="string"?t:t.id)}removeEdge(t){ct(this,Ti).edges.delete(t)}removeSubgraph(t){ct(this,Ti).subgraphs.delete(t)}createNode(t,n){let r=new(ct(this,ks)).Node(t,n);return this.addNode(r),r}getSubgraph(t){return Array.from(ct(this,Ti).subgraphs.values()).find(n=>n.id===t)}getNode(t){return ct(this,Ti).nodes.get(t)}createEdge(t,n){let r=t.map(s=>ha.isNodeRefGroupLike(s)?ha.toNodeRefGroup(s):ha.toNodeRef(s)),a=new(ct(this,ks)).Edge(r,n);return this.addEdge(a),a}subgraph(...t){let n=t.find(o=>typeof o=="string"),r=t.find(o=>typeof o=="object"&&o!==null),a=t.find(o=>typeof o=="function"),s=n?this.getSubgraph(n)??this.createSubgraph(n):this.createSubgraph();return r!==void 0&&s.apply(r),a!==void 0&&a(s),s}node(t,...n){if(typeof t=="string"){let r=t,a=n.find(u=>typeof u=="object"&&u!==null),s=n.find(u=>typeof u=="function"),o=this.getNode(r)??this.createNode(r);return a!==void 0&&o.attributes.apply(a),s!==void 0&&s(o),o}typeof t=="object"&&t!==null&&this.attributes.node.apply(t)}edge(t,...n){if(Array.isArray(t)){let r=t,a=n.find(u=>typeof u=="object"),s=n.find(u=>typeof u=="function"),o=this.createEdge(r,a);return s!==void 0&&s(o),o}typeof t=="object"&&t!==null&&this.attributes.edge.apply(t)}graph(t){this.attributes.graph.apply(t)}};ks=new WeakMap,Ti=new WeakMap;var Sc=class extends Dc{constructor(...t){super();lt(this,"id");lt(this,"strict");this.id=t.find(r=>typeof r=="string"),this.strict=t.find(r=>typeof r=="boolean")??!1;let n=t.find(r=>typeof r=="object"&&r!==null);n!==void 0&&this.apply(n)}get $$type(){return"Graph"}},xh=class extends Sc{get directed(){return!0}},Ph=class extends Sc{get directed(){return!1}},$h=class extends Dc{constructor(...t){super();lt(this,"id");this.id=t.find(r=>typeof r=="string");let n=t.find(r=>typeof r=="object"&&r!==null);n!==void 0&&this.apply(n)}get $$type(){return"Subgraph"}isSubgraphCluster(){return typeof this.id=="string"?this.id.startsWith("cluster"):!1}},_c=class extends Pp{constructor(){super(...arguments);lt(this,"comment")}},Vh=class extends xp{constructor(t,n){super();lt(this,"id");lt(this,"comment");lt(this,"attributes");this.id=t,this.attributes=new _c(n)}get $$type(){return"Node"}port(t){return typeof t=="string"?{id:this.id,port:t}:{id:this.id,...t}}},kh=class extends xp{constructor(t,n){super();lt(this,"targets");lt(this,"comment");lt(this,"attributes");if(this.targets=t,t.length<2&&(ha.isNodeRefLike(t[0])&&ha.isNodeRefLike(t[1]))===!1)throw Error("The element of Edge target is missing or not satisfied as Edge target.");this.attributes=new _c(n)}get $$type(){return"Edge"}};Object.assign(ha.RootModelsContext,{Graph:Ph,Digraph:xh,Subgraph:$h,Node:Vh,Edge:kh});function IR(i,e){return(...t)=>{let n=i?this.Digraph:this.Graph,r=t.find(u=>typeof u=="string"),a=t.find(u=>typeof u=="object"),s=t.find(u=>typeof u=="function"),o=new n(r,e,a);return o.with(this),typeof s=="function"&&s(o),o}}function Mh(i,e=ha.RootModelsContext){return Object.freeze({digraph:IR.call(e,!0,i),graph:IR.call(e,!1,i)})}var FR=Mh(!1),gde=FR.digraph,Ade=FR.graph,Tde=Mh(!0);function Dde(i){let e=ha.createModelsContext(i);return Object.freeze({...Mh(!1,e),strict:Mh(!0,e)})}function Sde(i,e){let t=Lh.fromModel(i,e?.convert);return Lh.stringify(t,e?.print)}function _de(i,e){let t=Lh.parse(i,e?.parse);if(Array.isArray(t)||t.type==="Attribute"||t.type==="AttributeList"||t.type==="Comment"||t.type==="NodeRef"||t.type==="NodeRefGroup"||t.type==="Literal")throw new Error;return Lh.toModel(t,e?.convert)}ii.AttributeList=Lp;ii.AttributesBase=Pp;ii.AttributesGroup=_c;ii.Digraph=xh;ii.DotObject=xp;ii.Edge=kh;ii.Graph=Ph;ii.GraphBase=Dc;ii.Node=Vh;ii.RootGraph=Sc;ii.Subgraph=$h;ii.attribute=Ede;ii.digraph=gde;ii.fromDot=_de;ii.graph=Ade;ii.strict=Tde;ii.toDot=Sde;ii.withContext=Dde});var wR=D(bc=>{"use strict";h();m();var CR=Dh(),OR=NR();Object.keys(CR).forEach(function(i){i!=="default"&&!bc.hasOwnProperty(i)&&Object.defineProperty(bc,i,{enumerable:!0,get:function(){return CR[i]}})});Object.keys(OR).forEach(function(i){i!=="default"&&!bc.hasOwnProperty(i)&&Object.defineProperty(bc,i,{enumerable:!0,get:function(){return OR[i]}})})});var LR=D(Ms=>{"use strict";h();m();Object.defineProperty(Ms,"__esModule",{value:!0});Ms.pickHighlights=Ms.groupToDot=Ms.toDot=void 0;var RR=Rs(),Gi=wR(),bde=Ac();function Ide(i,e){let t=(0,Gi.digraph)(i.name);return BR(i,t,e),(0,Gi.toDot)(t)}Ms.toDot=Ide;function Fde(i,e,t=new Map){let n=(0,Gi.digraph)(i);for(let[r,a]of e.entries()){let s=n.createSubgraph(`cluster_${r}`,{[Gi.attribute.label]:`${r}`,[Gi.attribute.style]:"filled",[Gi.attribute.color]:"grey95"});BR(a,s,t.get(r))}return(0,Gi.toDot)(n)}Ms.groupToDot=Fde;function BR(i,e,t){let n=Ode(i,e,t?.noTerminal);wde(n,t?.highlightedPaths)}var Nde=["blue","darkgreen","red","yellow","orange","lightseagreen"];function Cde(i,e=[]){let t=Nde.filter(n=>!e.includes(n));return i.map((n,r)=>({path:n,color:t[r%t.length]}))}Ms.pickHighlights=Cde;function Ode(i,e,t=!1){let n=new Map;for(let u of i.sources.keys())u!=i.name&&n.set(u,e.createSubgraph(`cluster_${u}`,{[Gi.attribute.label]:`Subgraph "${u}"`,[Gi.attribute.color]:"black",[Gi.attribute.style]:""}));let r=function(u){let p=s.getVertexState(u);if(p)return p;let d;return u.source==i.name?d=e.createNode(u.type.name):d=n.get(u.source).createNode(`${u.type.name}@${u.source}`),s.setVertexState(u,d),d},a=function(u,p){return u.source==p.source&&u.source!=i.name?n.get(u.source):e},s=new RR.QueryGraphState,o=function(u){let p=u.head,d=u.tail;if(t&&i.isTerminal(d))return!1;let l=r(p),c=r(d),v={[Gi.attribute.label]:u.label()};return s.setEdgeState(u,a(p,d).createEdge([l,c],v)),!0};return(0,RR.simpleTraversal)(i,u=>{},o),s}function wde(i,e){e?.forEach(t=>Rde(i,t))}function Rde(i,e){(0,bde.traversePath)(e.path,t=>{var n,r,a;for(let o of[(n=i.getVertexState(t.head))===null||n===void 0?void 0:n.attributes,(r=i.getVertexState(t.tail))===null||r===void 0?void 0:r.attributes])o?.set(Gi.attribute.color,e.color),o?.set(Gi.attribute.fontcolor,e.color);let s=(a=i.getEdgeState(t))===null||a===void 0?void 0:a.attributes;s?.set(Gi.attribute.color,e.color),s?.set(Gi.attribute.fontcolor,e.color)})}});var F9=D(Uh=>{"use strict";h();m();Object.defineProperty(Uh,"__esModule",{value:!0});Uh.cachingConditionResolver=void 0;var Bde=wi(),Lde=Ac(),xde=Rs();function Pde(i){let e=new xde.QueryGraphState;return(t,n,r,a,s)=>{if((0,Bde.assert)(t.conditions||s,"Should not have been called for edge without conditions"),!n.isEmpty()||a.length>0||s)return i(t,n,r,a,s);let o=e.getEdgeState(t);if(o){let[u,p]=o;return(0,Lde.sameExcludedDestinations)(p,r)?u:i(t,n,r,a,s)}else{let u=i(t,n,r,a,s);return e.setEdgeState(t,[u,r]),u}}}Uh.cachingConditionResolver=Pde});var PR=D(jh=>{"use strict";h();m();Object.defineProperty(jh,"__esModule",{value:!0});jh.simpleValidationConditionResolver=void 0;var $p=Ac(),$de=F9(),Ic=class{constructor(e,t){this.selection=e,this.subgraphOptions=t}advance(e){let t=[];for(let n of this.subgraphOptions){let r=(0,$p.advanceSimultaneousPathsWithOperation)(e,n,this.selection.element,new Map);r&&t.push(...r)}return t.length===0?null:this.selection.selectionSet?this.selection.selectionSet.selections().map(n=>new Ic(n,t)):[]}toString(){return`${this.selection} <=> ${(0,$p.advanceOptionsToString)(this.subgraphOptions)}`}};function xR({supergraph:i,queryGraph:e,withCaching:t}){let n=(r,a,s,o,u)=>{let p=u??r.conditions;o=(0,$p.addConditionExclusion)(o,p);let d=$p.GraphPath.create(e,r.head),l=[new $p.SimultaneousPathsWithLazyIndirectPaths([d],a,xR({supergraph:i,queryGraph:e,withCaching:t}),s,o,new Map)],c=[];for(let v of p.selections())c.push(new Ic(v,l));for(;c.length>0;){let y=c.pop().advance(i);if(y===null)return $p.unsatisfiedConditionsResolution;y.forEach(g=>c.push(g))}return{satisfied:!0,cost:1}};return t?(0,$de.cachingConditionResolver)(n):n}jh.simpleValidationConditionResolver=xR});var $R=D(qh=>{"use strict";h();m();Object.defineProperty(qh,"__esModule",{value:!0});qh.MermaidGraph=void 0;var Fc=Rs(),N9=class{constructor(e,t={}){this.graph=e,this.options=t,this.before=[],this.after=[],this.subgraphs=new Map,this.isBuilt=!1;for(let n of e.sources.keys())n===this.graph.name||n===Fc.FEDERATED_GRAPH_ROOT_SOURCE||this.subgraphs.set(n,[])}subgraphName(e){if(!(e.source===this.graph.name||e.source===Fc.FEDERATED_GRAPH_ROOT_SOURCE))return e.source}vertexName(e){if((0,Fc.isFederatedGraphRootType)(e.type))return`root-${e.type.name.slice(1,e.type.name.length-1)}`;let t=this.subgraphName(e),n=t?`${e.type.name}-${t}`:`${e.type.name}`;return e.provideId?`${n}-${e.provideId}`:n}addVertex(e){let t=this.subgraphName(e),n=t?this.subgraphs.get(t):this.before;(0,Fc.isFederatedGraphRootType)(e.type)?n.push(`${this.vertexName(e)}(["root(${e.type.name.slice(1,e.type.name.length)})"])`):n.push(`${this.vertexName(e)}["${e.toString()}"]`)}addEdge(e){var t;switch(e.transition.kind){case"FieldCollection":if(e.transition.definition.name.startsWith("_"))return!1;break;case"RootTypeResolution":if(!(!((t=this.options.includeRootTypeLinks)!==null&&t!==void 0)||t))return!1;break;case"SubgraphEnteringTransition":if(e.tail.type.fields().filter(u=>!u.name.startsWith("_")).length===0)return!1;break}let n=this.vertexName(e.head),r=this.vertexName(e.tail),a=e.head.source!==this.graph.name&&e.head.source===e.tail.source?this.subgraphs.get(e.head.source):this.after,s=e.label();return s.length===0?a.push(`${n} --> ${r}`):a.push(`${n} -->|"${s}"| ${r}`),!0}build(){this.isBuilt||((0,Fc.simpleTraversal)(this.graph,e=>this.addVertex(e),e=>this.addEdge(e)),this.isBuilt=!0)}toString(){this.build();let e=["flowchart TD"];this.before.forEach(t=>e.push(" "+t));for(let[t,n]of this.subgraphs.entries())e.push(` subgraph ${t}`),n.forEach(r=>e.push(" "+r)),e.push(" end");return this.after.forEach(t=>e.push(" "+t)),e.join(` `)}};qh.MermaidGraph=N9});var C9=D(Ki=>{"use strict";h();m();var Vde=Ki&&Ki.__createBinding||(Object.create?function(i,e,t,n){n===void 0&&(n=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,n,r)}:function(i,e,t,n){n===void 0&&(n=t),i[n]=e[t]}),qa=Ki&&Ki.__exportStar||function(i,e){for(var t in i)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Vde(e,i,t)};Object.defineProperty(Ki,"__esModule",{value:!0});qa(Rs(),Ki);qa(Ac(),Ki);qa(h9(),Ki);qa(LR(),Ki);qa(jm(),Ki);qa(vh(),Ki);qa(F9(),Ki);qa(PR(),Ki);qa($R(),Ki)});var Nc=D(va=>{"use strict";h();m();Object.defineProperty(va,"__esModule",{value:!0});va.printHint=va.CompositionHint=va.HINTS=va.HintLevel=void 0;var kde=ft(),Qe;(function(i){i[i.WARN=60]="WARN",i[i.INFO=40]="INFO",i[i.DEBUG=20]="DEBUG"})(Qe||(va.HintLevel=Qe={}));function nt({code:i,level:e,description:t}){return{code:i,level:{value:e,name:Qe[e]},description:t}}var Mde=nt({code:"INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE",level:Qe.INFO,description:'Indicates that a field does not have the exact same types in all subgraphs, but that the types are "compatible" (2 types are compatible if one is a non-nullable version of the other, a list version, a subtype, or a combination of the former).'}),Ude=nt({code:"INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE",level:Qe.INFO,description:'Indicates that an argument type (of a field/input field/directive definition) does not have the exact same type in all subgraphs, but that the types are "compatible" (two types are compatible if one is a non-nullable version of the other, a list version, a subtype, or a combination of the former).'}),jde=nt({code:"INCONSISTENT_DEFAULT_VALUE_PRESENCE",level:Qe.WARN,description:"Indicates that an argument definition (of a field/input field/directive definition) has a default value in only some of the subgraphs that define the argument."}),qde=nt({code:"INCONSISTENT_ENTITY",level:Qe.INFO,description:"Indicates that an object is declared as an entity (has a `@key`) in only some of the subgraphs in which the object is defined."}),Gde=nt({code:"INCONSISTENT_OBJECT_VALUE_TYPE_FIELD",level:Qe.DEBUG,description:'Indicates that a field of an object "value type" (has no `@key` in any subgraph) is not defined in all the subgraphs that declare the type.'}),Kde=nt({code:"INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD",level:Qe.DEBUG,description:'Indicates that a field of an interface "value type" (has no `@key` in any subgraph) is not defined in all the subgraphs that declare the type.'}),Qde=nt({code:"INCONSISTENT_INPUT_OBJECT_FIELD",level:Qe.WARN,description:"Indicates that a field of an input object type definition is only defined in a subset of the subgraphs that declare the input object."}),Hde=nt({code:"INCONSISTENT_UNION_MEMBER",level:Qe.DEBUG,description:"Indicates that a member of a union type definition is only defined in a subset of the subgraphs that declare the union."}),Yde=nt({code:"INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM",level:Qe.WARN,description:"Indicates that a value of an enum type definition (that is only used as an Input type) has not been merged into the supergraph because it is defined in only a subset of the subgraphs that declare the enum"}),zde=nt({code:"INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM",level:Qe.DEBUG,description:"Indicates that a value of an enum type definition (that is only used as an Output type, or is unused) has been merged in the supergraph but is defined in only a subset of the subgraphs that declare the enum"}),Wde=nt({code:"INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_REPEATABLE",level:Qe.DEBUG,description:"Indicates that a type system directive definition is marked repeatable in only a subset of the subgraphs that declare the directive (and will be repeatable in the supergraph)."}),Jde=nt({code:"INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_LOCATIONS",level:Qe.DEBUG,description:"Indicates that a type system directive definition is declared with inconsistent locations across subgraphs (and will use the union of all locations in the supergraph)."}),Xde=nt({code:"INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE",level:Qe.WARN,description:"Indicates that an executable directive definition is declared in only some of the subgraphs."}),Zde=nt({code:"NO_EXECUTABLE_DIRECTIVE_INTERSECTION",level:Qe.WARN,description:"Indicates that, for an executable directive definition, no location for it appears in all subgraphs."}),ele=nt({code:"INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE",level:Qe.WARN,description:"Indicates that an executable directive definition is marked repeatable in only a subset of the subgraphs (and will not be repeatable in the supergraph)."}),tle=nt({code:"INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS",level:Qe.WARN,description:"Indicates that an executiable directive definition is declared with inconsistent locations across subgraphs (and will use the intersection of all locations in the supergraph)."}),ile=nt({code:"INCONSISTENT_DESCRIPTION",level:Qe.WARN,description:"Indicates that an element has a description in more than one subgraph, and the descriptions are not equal."}),nle=nt({code:"INCONSISTENT_ARGUMENT_PRESENCE",level:Qe.WARN,description:"Indicates that an optional argument (of a field or directive definition) is not present in all subgraphs and will not be part of the supergraph."}),rle=nt({code:"FROM_SUBGRAPH_DOES_NOT_EXIST",level:Qe.WARN,description:"Source subgraph specified by @override directive does not exist"}),ale=nt({code:"OVERRIDDEN_FIELD_CAN_BE_REMOVED",level:Qe.INFO,description:"Field has been overridden by another subgraph. Consider removing."}),sle=nt({code:"OVERRIDE_DIRECTIVE_CAN_BE_REMOVED",level:Qe.INFO,description:"Field with @override directive no longer exists in source subgraph, the directive can be safely removed"}),ole=nt({code:"OVERRIDE_MIGRATION_IN_PROGRESS",level:Qe.INFO,description:"Field is currently being migrated with progressive @override. Once the migration is complete, remove the field from the original subgraph."}),ule=nt({code:"UNUSED_ENUM_TYPE",level:Qe.DEBUG,description:"Indicates that an enum type is defined in some subgraphs but is unused (no field/argument references it). All the values from subgraphs defining that enum will be included in the supergraph."}),ple=nt({code:"INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS",level:Qe.WARN,description:"A non-repeatable directive is applied to a schema element in different subgraphs but with arguments that are different."}),dle=nt({code:"MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS",level:Qe.INFO,description:"A non-repeatable directive has been applied to a schema element in different subgraphs with different arguments and the arguments values were merged using the directive configured strategies."}),lle=nt({code:"DIRECTIVE_COMPOSITION_INFO",level:Qe.INFO,description:"Indicates that an issue was detected when composing custom directives."}),cle=nt({code:"DIRECTIVE_COMPOSITION_WARN",level:Qe.WARN,description:"Indicates that an issue was detected when composing custom directives."}),fle=nt({code:"INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN",level:Qe.WARN,description:"Indicates that a @shareable field returns different sets of runtime types in the different subgraphs in which it is defined."}),mle=nt({code:"IMPLICITLY_UPGRADED_FEDERATION_VERSION",level:Qe.INFO,description:"Indicates that a directive requires a higher federation version than is explicitly linked. In this case, the supergraph uses the federation version required by the directive."}),hle=nt({code:"CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS",level:Qe.INFO,description:"Indicates that the argument will not be present in the supergraph because it is contextual in at least one subgraph."});va.HINTS={INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE:Mde,INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE:Ude,INCONSISTENT_DEFAULT_VALUE_PRESENCE:jde,INCONSISTENT_ENTITY:qde,INCONSISTENT_OBJECT_VALUE_TYPE_FIELD:Gde,INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD:Kde,INCONSISTENT_INPUT_OBJECT_FIELD:Qde,INCONSISTENT_UNION_MEMBER:Hde,INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM:Yde,INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM:zde,INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_REPEATABLE:Wde,INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_LOCATIONS:Jde,INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE:Xde,NO_EXECUTABLE_DIRECTIVE_LOCATIONS_INTERSECTION:Zde,INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE:ele,INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS:tle,INCONSISTENT_DESCRIPTION:ile,INCONSISTENT_ARGUMENT_PRESENCE:nle,FROM_SUBGRAPH_DOES_NOT_EXIST:rle,OVERRIDDEN_FIELD_CAN_BE_REMOVED:ale,OVERRIDE_DIRECTIVE_CAN_BE_REMOVED:sle,OVERRIDE_MIGRATION_IN_PROGRESS:ole,UNUSED_ENUM_TYPE:ule,INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS:ple,MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS:dle,DIRECTIVE_COMPOSITION_INFO:lle,DIRECTIVE_COMPOSITION_WARN:cle,INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN:fle,IMPLICITLY_UPGRADED_FEDERATION_VERSION:mle,CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS:hle};var O9=class{constructor(e,t,n,r){this.definition=e,this.message=t,this.element=n,this.nodes=r?Array.isArray(r)?r.length===0?void 0:r:[r]:void 0,this.coordinate=n?.coordinate}toString(){return`[${this.definition.code}]: ${this.message}`}};va.CompositionHint=O9;function vle(i){let e=i.toString();if(i.nodes)for(let t of i.nodes)t.loc&&(e+=` `+(0,kde.printLocation)(t.loc));return e}va.printHint=vle});var R9=D(Gh=>{"use strict";h();m();Object.defineProperty(Gh,"__esModule",{value:!0});Gh.MismatchReporter=void 0;var ya=wi(),yle=Nc(),w9=class{constructor(e,t,n){this.names=e,this.pushError=t,this.pushHint=n}reportMismatchError(e,t,n,r,a){this.reportMismatch(n,r,a,(s,o)=>`${s} in ${o}`,(s,o)=>`${s} in ${o}`,(s,o)=>{this.pushError(e.err(t+(0,ya.joinStrings)(s," and "," but "),{nodes:o}))},s=>!s)}reportMismatchErrorWithoutSupergraph(e,t,n,r){this.reportMismatch(void 0,n,r,()=>"",(a,s)=>`${a} in ${s}`,(a,s)=>{this.pushError(e.err(t+(0,ya.joinStrings)(a," and "," but "),{nodes:s}))},a=>!a)}reportMismatchErrorWithSpecifics({code:e,message:t,mismatchedElement:n,subgraphElements:r,mismatchAccessor:a,supergraphElementPrinter:s,otherElementsPrinter:o,ignorePredicate:u,includeMissingSources:p=!1,extraNodes:d}){this.reportMismatch(n,r,a,s,o,(l,c)=>{this.pushError(e.err(t+l[0]+(0,ya.joinStrings)(l.slice(1)," and "),{nodes:c.concat(d??[])}))},u,p)}reportMismatchHint({code:e,message:t,supergraphElement:n,subgraphElements:r,targetedElement:a,elementToString:s,supergraphElementPrinter:o,otherElementsPrinter:u,ignorePredicate:p,includeMissingSources:d=!1,noEndOfMessageDot:l=!1}){this.reportMismatch(n,r,s,o,u,(c,v)=>{this.pushHint(new yle.CompositionHint(e,t+c[0]+(0,ya.joinStrings)(c.slice(1)," and ")+(l?"":"."),a??(n instanceof ya.NamedSchemaElement?n:void 0),v))},p,d)}reportMismatch(e,t,n,r,a,s,o,u=!1){var p;let d=new ya.MultiMap,l=[],c=(T,S)=>{if(o&&o(S))return;let N=n(S,!1);d.add(N??"",T),S.sourceAST&&l.push((0,ya.addSubgraphToASTNode)(S.sourceAST,T))};if(u)for(let[T,S]of this.names.entries()){let N=t.get(T);if(!N){d.add("",S);continue}c(S,N)}else for(let[T,S]of t.entries())S&&c(this.names[T],S);let v=(p=e&&n(e,!0))!==null&&p!==void 0?p:"";(0,ya.assert)(d.size>1,()=>`Should not have been called for ${e}`);let y=[],g=d.get(v);y.push(r(v,g?(0,ya.printSubgraphNames)(g):void 0));for(let[T,S]of d.entries())T!==v&&y.push(a(T,(0,ya.printSubgraphNames)(S)));s(y,l)}};Gh.MismatchReporter=w9});var kR=D(Kh=>{"use strict";h();m();Object.defineProperty(Kh,"__esModule",{value:!0});Kh.ComposeDirectiveManager=void 0;var wt=wi(),Vp=Nc(),Ele=R9(),gle=Qh(),Ale=({subgraph:i,origName:e,expectedName:t,identity:n})=>{var r,a,s,o;let u=(s=(a=(r=i.schema.coreFeatures)===null||r===void 0?void 0:r.getByIdentity(n))===null||a===void 0?void 0:a.imports)===null||s===void 0?void 0:s.find(d=>d.name===`@${e}`);return u?((o=u.as)!==null&&o!==void 0?o:u.name)!==`@${t}`:!1},B9=i=>i.every(e=>e===i[0]),VR=["https://specs.apollo.dev/core","https://specs.apollo.dev/join","https://specs.apollo.dev/link","https://specs.apollo.dev/tag","https://specs.apollo.dev/inaccessible","https://specs.apollo.dev/federation","https://specs.apollo.dev/authenticated","https://specs.apollo.dev/requiresScopes","https://specs.apollo.dev/source","https://specs.apollo.dev/context","https://specs.apollo.dev/cost"],L9=class{constructor(e,t,n){this.subgraphs=e,this.pushError=t,this.pushHint=n,this.mergeDirectiveMap=new Map,this.latestFeatureMap=new Map,this.directiveIdentityMap=new Map,this.mismatchReporter=new Ele.MismatchReporter(e.names(),t,n)}coreFeatureASTs(e){return this.subgraphs.values().flatMap(t=>{var n,r;let a=(r=(n=t.schema.coreFeatures)===null||n===void 0?void 0:n.getByIdentity(e))===null||r===void 0?void 0:r.directive.sourceAST;return a===void 0?[]:[{...a,subgraph:t.name}]})}getLatestIfCompatible(e,t){let n=!1,a=this.subgraphs.values().map(s=>{var o;let u=(o=s.schema.coreFeatures)===null||o===void 0?void 0:o.getByIdentity(e);if(u)return{feature:u,subgraphName:s.name,isComposed:t.includes(s.name)}}).filter(wt.isDefined).reduce((s,o)=>{if(s===null)return o;if(s===void 0)return s;if(s.feature.url.version.major!==o.feature.url.version.major){if(s.isComposed&&o.isComposed){this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Core feature "${e}" requested to be merged has major version mismatch across subgraphs`,{nodes:this.coreFeatureASTs(e)}));return}return n||(this.pushHint(new Vp.CompositionHint(Vp.HINTS.DIRECTIVE_COMPOSITION_INFO,`Non-composed core feature "${e}" has major version mismatch across subgraphs`,void 0,this.coreFeatureASTs(e))),n=!0),s.isComposed?s:o}return s.isComposed&&!o.isComposed?s:!s.isComposed&&o.isComposed?o:s.feature.url.version.minor>o.feature.url.version.minor?s:o},null);if(a?.isComposed)return a}forFederationDirective(e,t,n){[e.metadata().tagDirective(),e.metadata().inaccessibleDirective(),e.metadata().authenticatedDirective(),e.metadata().requiresScopesDirective(),e.metadata().policyDirective(),e.metadata().contextDirective()].map(a=>a.name).includes(n.name)?this.pushHint(new Vp.CompositionHint(Vp.HINTS.DIRECTIVE_COMPOSITION_INFO,`Directive "@${n.name}" should not be explicitly manually composed since it is a federation directive composed by default`,n,t.sourceAST?{...t.sourceAST,subgraph:e.name}:void 0)):this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Composing federation directive "${t.arguments().name}" in subgraph "${e.name}" is not supported`,{nodes:t.sourceAST}))}allCoreFeaturesUsedBySubgraphs(){let e=new Set;return this.subgraphs.values().forEach(t=>{if(t.schema.coreFeatures)for(let n of t.schema.coreFeatures.allFeatures())e.add(n.url.identity)}),e}validate(){var e;let t=[],n=[],r=new Set,a=new Set,s=new wt.MultiMap,o=new wt.MultiMap,u=new wt.MultiMap,p=this.subgraphs.values().map(l=>l.metadata().federationDirectiveNameInSchema("tag")),d=this.subgraphs.values().map(l=>l.metadata().federationDirectiveNameInSchema("inaccessible"));for(let l of this.subgraphs){let c=l.metadata().composeDirective().applications();for(let v of c){if(v.arguments().name[0]!=="@"){this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Argument to @composeDirective "${v.arguments().name}" in subgraph "${l.name}" must have a leading "@"`,{nodes:v.sourceAST}));continue}let y=v.arguments().name.slice(1),g=l.schema.directive(y);if(g){let T=(e=l.schema.coreFeatures)===null||e===void 0?void 0:e.sourceFeature(g);if(T){let S=T.feature.url.identity;if(VR.includes(S))this.forFederationDirective(l,v,g);else if(p.includes(y)){let N=[];this.subgraphs.names().forEach((F,R)=>{p[R]===y&&N.push(F)}),this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Directive "@${y}" in subgraph "${l.name}" cannot be composed because it conflicts with automatically composed federation directive "@tag". Conflict exists in subgraph(s): (${N.join(",")})`,{nodes:v.sourceAST}))}else if(d.includes(y)){let N=[];this.subgraphs.names().forEach((F,R)=>{d[R]===y&&N.push(F)}),this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Directive "@${y}" in subgraph "${l.name}" cannot be composed because it conflicts with automatically composed federation directive "@inaccessible". Conflict exists in subgraph(s): (${N.join(",")})`,{nodes:v.sourceAST}))}else{let N={composeDirective:v,sgName:l.name,feature:T.feature,directiveName:T.nameInFeature,directiveNameAs:y};s.add(l.name,N),o.add(y,N),u.add(N.directiveName,N)}}else this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Directive "@${y}" in subgraph "${l.name}" cannot be composed because it is not a member of a core feature`,{nodes:v.sourceAST}))}else{let T=(0,wt.suggestionList)(`@${y}`,l.schema.directives().map(S=>`@${S.name}`));this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Could not find matching directive definition for argument to @composeDirective "@${y}" in subgraph "${l.name}".${(0,wt.didYouMean)(T)}`,{nodes:v.sourceAST}))}}}for(let l of this.allCoreFeaturesUsedBySubgraphs()){let c=this.subgraphs.values().map(y=>{let g=s.get(y.name);if(g&&g.find(T=>T.feature.url.identity===l))return y.name}).filter(wt.isDefined),v=this.getLatestIfCompatible(l,c);v?this.latestFeatureMap.set(l,[v.feature,v.subgraphName]):r.add(l)}for(let[l,c]of o.entries())B9(c.map(v=>v.directiveName))||(a.add(l),this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Composed directive "@${l}" does not refer to the same directive in every subgraph`,{nodes:c.map(v=>v.composeDirective.sourceAST).filter(wt.isDefined)}))),B9(c.map(v=>v.feature.url.identity))||(a.add(l),this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Composed directive "@${l}" is not linked by the same core feature in every subgraph`,{nodes:c.map(v=>v.composeDirective.sourceAST).filter(wt.isDefined)})));for(let[l,c]of u.entries()){if(!B9(c.map(g=>g.directiveNameAs))){for(let g of c)a.add(g.directiveNameAs);this.mismatchReporter.reportMismatchErrorWithoutSupergraph(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR,"Composed directive is not named consistently in all subgraphs",(0,gle.sourcesFromArray)(this.subgraphs.values().map(g=>{let T=c.find(S=>g.name===S.sgName);return T?{item:T,sg:g}:void 0}).map(g=>{var T,S;if(!g)return;let N=(S=(T=g.sg.schema.coreFeatures)===null||T===void 0?void 0:T.getByIdentity("https://specs.apollo.dev/foo"))===null||S===void 0?void 0:S.directive.sourceAST;return N?{sourceAST:N,item:g.item}:void 0})),g=>g?`"@${g.item.directiveNameAs}"`:void 0)}let y=this.subgraphs.values().filter(g=>!c.map(T=>T.sgName).includes(g.name)).filter(g=>Ale({subgraph:g,origName:c[0].directiveName,expectedName:c[0].directiveNameAs,identity:c[0].feature.url.identity}));y.length>0&&this.pushHint(new Vp.CompositionHint(Vp.HINTS.DIRECTIVE_COMPOSITION_WARN,`Composed directive "@${l}" is named differently in a subgraph that doesn't export it. Consistent naming will be required to export it.`,void 0,y.map(g=>{var T,S;let N=(S=(T=g.schema.coreFeatures)===null||T===void 0?void 0:T.getByIdentity(c[0].feature.url.identity))===null||S===void 0?void 0:S.directive.sourceAST;return N?{...N,subgraph:g.name}:void 0}).filter(wt.isDefined)))}for(let[l,c]of s.entries()){let v=new Set;for(let y of c)!r.has(y.feature.url.identity)&&!a.has(y.directiveNameAs)&&v.add(y.directiveNameAs),this.directiveIdentityMap.set(y.directiveNameAs,[y.feature.url.identity,y.directiveName]);this.mergeDirectiveMap.set(l,v)}return{errors:t,hints:n}}shouldComposeDirective({subgraphName:e,directiveName:t}){let n=this.mergeDirectiveMap.get(e);return!!n&&n.has(t)}directiveExistsInSupergraph(e){return!!this.directiveIdentityMap.get(e)}getLatestDirectiveDefinition(e){var t,n;let r=this.directiveIdentityMap.get(e);if(r){let[a,s]=r,o=this.latestFeatureMap.get(a);(0,wt.assert)(o,"core feature identity must exist in map");let[u,p]=o,d=this.subgraphs.get(p);(0,wt.assert)(d,`subgraph "${p}" does not exist`);let l=(n=(t=d.schema.coreFeatures)===null||t===void 0?void 0:t.getByIdentity(a))===null||n===void 0?void 0:n.directiveNameInSchema(s);if(l){let c=d.schema.directive(l);return c||this.pushError(wt.ERRORS.DIRECTIVE_COMPOSITION_ERROR.err(`Core feature "${a}" in subgraph "${p}" does not have a directive definition for "@${e}"`,{nodes:u.directive.sourceAST})),c}}}directivesForFeature(e){let t={};for(let[n,r]of this.directiveIdentityMap){let[a,s]=r;a===e&&(n in t||(t[n]=s))}return Object.entries(t)}allComposedCoreFeatures(){return Array.from(this.latestFeatureMap.values()).map(e=>e[0]).filter(e=>!VR.includes(e.url.identity)).map(e=>[e,this.directivesForFeature(e.url.identity)])}};Kh.ComposeDirectiveManager=L9});var MR=D(Hh=>{"use strict";h();m();Object.defineProperty(Hh,"__esModule",{value:!0});Hh.collectCoreDirectivesToCompose=void 0;var Cc=wi();function Tle(i){let e=new Map;for(let t of i){let n=t.schema.coreFeatures;(0,Cc.assert)(n,"Subgraphs should be core schemas");for(let r of t.schema.directives()){let a=n.sourceFeature(r);if(!a||r.applications().size===0)continue;let s=a.feature.url,o=`${a.nameInFeature}-${s.identity}`,u=e.get(o);u||(u=new Map,e.set(o,u));let p=s.version.major>0?s.version.major:-s.version.minor,d=u.get(p);d?s.version.compareTo(d.url.version)>0&&(d.url=s):(d={url:s,name:a.nameInFeature,definitionsPerSubgraph:new Map},u.set(p,d)),d.definitionsPerSubgraph.set(t.name,r)}}return(0,Cc.mapValues)(e).flatMap(t=>(0,Cc.mapValues)(t)).map(t=>{let n=(0,Cc.coreFeatureDefinitionIfKnown)(t.url),r=n?.compositionSpecification(t.name);if(r)return{...t,compositionSpec:r}}).filter(Cc.isDefined)}Hh.collectCoreDirectivesToCompose=Tle});var zR=D(ga=>{"use strict";h();m();Object.defineProperty(ga,"__esModule",{value:!0});ga.mergeSubgraphs=ga.isMergeFailure=ga.isMergeSuccessful=ga.sourcesFromArray=void 0;var C=wi(),UR=ft(),Be=Nc(),Dle=kR(),Sle=R9(),_le=uf(),ble=MR();function Ea(i,e){let t=new Map;return i.forEach((n,r)=>{t.set(r,e(n,r))}),t}function jR(i){let e=new Map;return i.forEach((t,n)=>{typeof t<"u"&&e.set(n,t)}),e}function Oc(i,e){for(let[t,n]of i.entries())if(e(n,t))return!0;return!1}function Us(i){let e=new Map;return i.forEach((t,n)=>{e.set(n,t)}),e}ga.sourcesFromArray=Us;var kp=class{constructor(e){this._props=new Map,e.forEach((t,n)=>{this._props.set(n,{usedOverridden:!1,unusedOverridden:!1,overrideWithUnknownTarget:!1,overrideLabel:void 0})})}isUsedOverridden(e){var t;return!!(!((t=this._props.get(e))===null||t===void 0)&&t.usedOverridden)}isUnusedOverridden(e){var t;return!!(!((t=this._props.get(e))===null||t===void 0)&&t.unusedOverridden)}hasOverrideWithUnknownTarget(e){var t;return!!(!((t=this._props.get(e))===null||t===void 0)&&t.overrideWithUnknownTarget)}overrideLabel(e){var t;return(t=this._props.get(e))===null||t===void 0?void 0:t.overrideLabel}setUsedOverridden(e){this._props.get(e).usedOverridden=!0}setUnusedOverridden(e){this._props.get(e).unusedOverridden=!0}setOverrideWithUnknownTarget(e){this._props.get(e).overrideWithUnknownTarget=!0}setOverrideLabel(e,t){this._props.get(e).overrideLabel=t}some(e){for(let[t,n]of this._props.entries())if(e(n,t))return!0;return!1}};function Ile(i){return!HR(i)}ga.isMergeSuccessful=Ile;function HR(i){return!!i.errors}ga.isMergeFailure=HR;function Fle(i,e={}){return(0,C.assert)(i.values().every(t=>t.isFed2Subgraph()),"Merging should only be applied to federation 2 subgraphs"),new P9(i,e).merge()}ga.mergeSubgraphs=Fle;function x9(i,e){switch(i.kind){case"ListType":return new C.ListType(x9(i.ofType,e));case"NonNullType":return new C.NonNullType(x9(i.ofType,e));default:let t=e.type(i.name);return(0,C.assert)(t,()=>`Cannot find type ${i} in destination schema (with types: ${e.types().join(", ")})`),t}}var Nle=[C.federationIdentity,C.linkIdentity,C.coreIdentity];function Cle(i){var e;if(i.isIntrospectionType()||C.FEDERATION_OPERATION_TYPES.map(r=>r.name).includes(i.name))return!1;let t=i.schema().coreFeatures,n=(e=t?.sourceFeature(i))===null||e===void 0?void 0:e.feature.url.identity;return!(n&&Nle.includes(n))}function YR(i){return i.kind!=="FieldDefinition"||!(0,C.isFederationField)(i)}function qR(i){return!!i.schema().builtInDirective(i.name)}function Yh(i){return(0,C.printHumanReadableList)(i.map(e=>`"${e.coordinate}"`),{prefix:"type",prefixPlural:"types"})}function Ole(i,e){var t;let n=(t=i.root(e))===null||t===void 0?void 0:t.type;return n&&wle(n)?n:void 0}function wle(i){for(let e of i.fields())if(YR(e))return!0;return!1}function GR(i){if(i.length===0)return-1;let e=0;for(let t=1;ti[e]&&(e=t);return e}function KR(i,e){return e+`""" `+e+i.replace(` `,` `+e)+` `+e+'"""'}function QR(i){return i.length===0?"":(i.length===1?"location ":"locations ")+'"'+i.join(", ")+'"'}var P9=class{constructor(e,t){this.subgraphs=e,this.options=t,this.errors=[],this.hints=[],this.merged=new C.Schema,this.mergedFederationDirectiveNames=new Set,this.mergedFederationDirectiveInSupergraphByDirectiveName=new Map,this.enumUsages=new Map,this.joinDirectiveIdentityURLs=new Set,this.schemaToImportNameToFeatureUrl=new Map,this.latestFedVersionUsed=this.getLatestFederationVersionUsed(),this.joinSpec=C.JOIN_VERSIONS.getMinimumRequiredVersion(this.latestFedVersionUsed),this.linkSpec=C.LINK_VERSIONS.getMinimumRequiredVersion(this.latestFedVersionUsed),this.fieldsWithFromContext=this.getFieldsWithFromContextDirective(),this.fieldsWithOverride=this.getFieldsWithOverrideDirective(),this.names=e.names(),this.composeDirectiveManager=new Dle.ComposeDirectiveManager(this.subgraphs,n=>{this.errors.push(n)},n=>{this.hints.push(n)}),this.mismatchReporter=new Sle.MismatchReporter(this.names,n=>{this.errors.push(n)},n=>{this.hints.push(n)}),this.subgraphsSchema=e.values().map(({schema:n})=>(this.schemaToImportNameToFeatureUrl.has(n)||this.schemaToImportNameToFeatureUrl.set(n,this.computeMapFromImportNameToIdentityUrl(n)),n)),this.subgraphNamesToJoinSpecName=this.prepareSupergraph(),this.appliedDirectivesToMerge=[],[C.sourceIdentity].forEach(n=>this.joinDirectiveIdentityURLs.add(n))}getLatestFederationVersionUsed(){var e;let t=this.subgraphs.values().map(n=>this.getLatestFederationVersionUsedInSubgraph(n)).filter(C.isDefined);return(e=C.FeatureVersion.max(t))!==null&&e!==void 0?e:C.FEDERATION_VERSIONS.latest().version}getLatestFederationVersionUsedInSubgraph(e){var t,n,r,a,s,o;let u=(n=(t=e.metadata())===null||t===void 0?void 0:t.federationFeature())===null||n===void 0?void 0:n.url.version;if(!u)return;let p=[];for(let c of(a=(r=e.schema.coreFeatures)===null||r===void 0?void 0:r.allFeatures())!==null&&a!==void 0?a:[]){let v=c.minimumFederationVersion();v&&p.push(v)}let d=C.FeatureVersion.max(p);if(!d?.satisfies(u)||u>=d)return u;let l;for(let c of(o=(s=e.schema.coreFeatures)===null||s===void 0?void 0:s.allFeatures())!==null&&o!==void 0?o:[])if(c.minimumFederationVersion()==d){l=c;break}return l&&this.hints.push(new Be.CompositionHint(Be.HINTS.IMPLICITLY_UPGRADED_FEDERATION_VERSION,`Subgraph ${e.name} has been implicitly upgraded from federation ${u} to ${d}`,l.directive.definition,l.directive.sourceAST?(0,C.addSubgraphToASTNode)(l.directive.sourceAST,e.name):void 0)),d}prepareSupergraph(){this.linkSpec.addToSchema(this.merged);let e=this.linkSpec.applyFeatureToSchema(this.merged,this.joinSpec,void 0,this.joinSpec.defaultCorePurpose);(0,C.assert)(e.length===0,"We shouldn't have errors adding the join spec to the (still empty) supergraph schema");let t=(0,ble.collectCoreDirectivesToCompose)(this.subgraphs);return this.validateAndMaybeAddSpecs(t),this.joinSpec.populateGraphEnum(this.merged,this.subgraphs)}validateAndMaybeAddSpecs(e){var t,n;let r=new Map;for(let{url:a,name:s,definitionsPerSubgraph:o,compositionSpec:u}of e){if(!u)return;let p;for(let d of this.subgraphs){let l=o.get(d.name);if(l){if(!p)p=l.name;else if(p!==l.name){this.mismatchReporter.reportMismatchError(C.ERRORS.LINK_IMPORT_NAME_MISMATCH,`The "@${s}" directive (from ${a}) is imported with mismatched name between subgraphs: it is imported as `,l,Us(this.subgraphs.values().map(c=>o.get(c.name))),c=>`"@${c.name}"`);return}}}if(p){let d=u.supergraphSpecification(this.latestFedVersionUsed),l=r.get(d.url.identity);l?(0,C.assert)(d.url.equals(l.specInSupergraph.url),`Spec ${d.url} directives disagree on version for supergraph`):(l={specInSupergraph:d,directives:[]},r.set(d.url.identity,l)),l.directives.push({nameInFeature:s,nameInSupergraph:p,compositionSpec:u})}}for(let{specInSupergraph:a,directives:s}of r.values()){let o=[];for(let{nameInFeature:d,nameInSupergraph:l}of s){let c=C.CoreFeature.directiveNameInSchemaForCoreArguments(a.url,a.url.name,[],d);l!==c&&o.push(d===l?{name:`@${d}`}:{name:`@${d}`,as:`@${l}`})}let u=this.linkSpec.applyFeatureToSchema(this.merged,a,void 0,a.defaultCorePurpose,o);(0,C.assert)(u.length===0,"We shouldn't have errors adding the join spec to the (still empty) supergraph schema");let p=(t=this.merged.coreFeatures)===null||t===void 0?void 0:t.getByIdentity(a.url.identity);(0,C.assert)(p,"Should have found the feature we just added");for(let{nameInFeature:d,nameInSupergraph:l,compositionSpec:c}of s){let v=(n=c.argumentsMerger)===null||n===void 0?void 0:n.call(null,this.merged,p);if(v instanceof UR.GraphQLError)throw v;this.mergedFederationDirectiveNames.add(l),this.mergedFederationDirectiveInSupergraphByDirectiveName.set(l,{definition:this.merged.directive(l),argumentsMerger:v,staticArgumentTransform:c.staticArgumentTransform}),a.identity===C.inaccessibleIdentity&&d===a.url.name&&(this.inaccessibleDirectiveInSupergraph=this.merged.directive(l))}}}joinSpecName(e){return this.subgraphNamesToJoinSpecName.get(this.names[e])}metadata(e){return this.subgraphs.values()[e].metadata()}isMergedDirective(e,t){return this.composeDirectiveManager.shouldComposeDirective({subgraphName:e,directiveName:t.name})?!0:t instanceof C.Directive?this.mergedFederationDirectiveNames.has(t.name)||qR(t.definition):qR(t)?!1:t.hasExecutableLocations()}merge(){this.composeDirectiveManager.validate(),this.addCoreFeatures(),this.addTypesShallow(),this.addDirectivesShallow();let e=[],t=[],n=[],r=[],a=[];this.merged.types().forEach(s=>{if(!(this.linkSpec.isSpecType(s)||this.joinSpec.isSpecType(s))){switch(s.kind){case"UnionType":n.push(s);return;case"EnumType":r.push(s);return;case"ObjectType":e.push(s);break;case"InterfaceType":t.push(s);break}a.push(s)}});for(let s of e)this.mergeImplements(this.subgraphsTypes(s),s);for(let s of t)this.mergeImplements(this.subgraphsTypes(s),s);for(let s of n)this.mergeType(this.subgraphsTypes(s),s);this.mergeSchemaDefinition(Us(this.subgraphsSchema.map(s=>s.schemaDefinition)),this.merged.schemaDefinition);for(let s of a)this.mergeType(this.subgraphsTypes(s),s);for(let s of this.merged.directives())this.linkSpec.isSpecDirective(s)||this.joinSpec.isSpecDirective(s)||this.mergeDirectiveDefinition(Us(this.subgraphsSchema.map(o=>o.directive(s.name))),s);for(let s of r)this.mergeType(this.subgraphsTypes(s),s);if(this.merged.schemaDefinition.rootType("query")||this.errors.push(C.ERRORS.NO_QUERIES.err("No queries found in any subgraph: a supergraph must have a query root type.")),this.mergeAllAppliedDirectives(),this.addMissingInterfaceObjectFieldsToImplementations(),this.errors.length===0&&(this.postMergeValidations(),this.errors.length===0))try{this.merged.validate(),this.merged.toAPISchema()}catch(s){let o=(0,C.errorCauses)(s);if(o)this.errors.push(...this.updateInaccessibleErrorsWithLinkToSubgraphs(o));else throw s}return this.errors.length>0?{errors:this.errors}:{supergraph:this.merged,hints:this.hints}}addTypesShallow(){let e=new Set,t=new Set;for(let n of this.subgraphs){let r=n.metadata();for(let a of n.schema.allTypes()){if(!Cle(a))continue;let s=a.kind;r.isInterfaceObjectType(a)&&(s="InterfaceType",t.add(a.name));let o=this.merged.type(a.name);o?o.kind!==s&&e.add(a.name):this.merged.addType((0,C.newNamedType)(s,a.name))}}e.forEach(n=>this.reportMismatchedTypeDefinitions(n));for(let n of t)if(!e.has(n)&&!this.subgraphsSchema.some(r=>{var a;return((a=r.type(n))===null||a===void 0?void 0:a.kind)==="InterfaceType"})){let r=this.subgraphs.values().filter(a=>a.schema.type(n)!==void 0);this.errors.push(C.ERRORS.INTERFACE_OBJECT_USAGE_ERROR.err(`Type "${n}" is declared with @interfaceObject in all the subgraphs in which is is defined (it is defined in ${(0,C.printSubgraphNames)(r.map(a=>a.name))} but should be defined as an interface in at least one subgraph)`,{nodes:(0,C.sourceASTs)(...r.map(a=>a.schema.type(n)))}))}}addCoreFeatures(){let e=this.composeDirectiveManager.allComposedCoreFeatures();for(let[t,n]of e){let r=n.map(([a,s])=>a===s?`@${a}`:{name:`@${s}`,as:`@${a}`});this.merged.schemaDefinition.applyDirective("link",{url:t.url.toString(),import:r})}}addDirectivesShallow(){this.subgraphsSchema.forEach((e,t)=>{for(let n of e.allDirectives())this.isMergedDirective(this.names[t],n)&&(this.merged.directive(n.name)||this.merged.addDirectiveDefinition(new C.DirectiveDefinition(n.name)))})}reportMismatchedTypeDefinitions(e){let t=this.merged.type(e),n=r=>{let a=(0,C.federationMetadata)(r.schema());return a?.isInterfaceObjectType(r)?"Interface Object Type (Object Type with @interfaceObject)":r.kind.replace("Type"," Type")};this.mismatchReporter.reportMismatchError(C.ERRORS.TYPE_KIND_MISMATCH,`Type "${e}" has mismatched kind: it is defined as `,t,Us(this.subgraphsSchema.map(r=>r.type(e))),n)}subgraphsTypes(e){return Us(this.subgraphs.values().map(t=>{let n=t.schema.type(e.name);if(!(!n||(t.metadata().isInterfaceObjectType(n)?"InterfaceType":n.kind)!==e.kind))return n}))}mergeImplements(e,t){let n=new Set,r=this.joinSpec.implementsDirective(this.merged);for(let[a,s]of e.entries())if(s){let o=this.joinSpecName(a);for(let u of s.interfaces())n.add(u.name),t.applyDirective(r,{graph:o,interface:u.name})}n.forEach(a=>t.addImplementedInterface(a))}mergeDescription(e,t){let n=[],r=[];for(let a of e.values()){if(!a||a.description===void 0)continue;let s=n.indexOf(a.description);s<0?(n.push(a.description),r.push(a.description===""?Number.MIN_SAFE_INTEGER:1)):r[s]++}if(n.length>0){let a=n.filter(s=>s!=="");if(n.length===1)t.description=n[0];else if(a.length===1)t.description=a[0];else{let s=GR(r);t.description=n[s];let o=t instanceof C.NamedSchemaElement?`Element "${t.coordinate}"`:"The schema definition";this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_DESCRIPTION,message:`${o} has inconsistent descriptions across subgraphs. `,supergraphElement:t,subgraphElements:e,elementToString:u=>u.description,supergraphElementPrinter:(u,p)=>`The supergraph will use description (from ${p}): ${KR(u," ")}`,otherElementsPrinter:(u,p)=>` In ${p}, the description is: ${KR(u," ")}`,ignorePredicate:u=>u?.description===void 0,noEndOfMessageDot:!0})}}}mergeType(e,t){switch(this.checkForExtensionWithNoBase(e,t),this.mergeDescription(e,t),this.addJoinType(e,t),this.recordAppliedDirectivesToMerge(e,t),this.addJoinDirectiveDirectives(e,t),t.kind){case"ScalarType":break;case"ObjectType":this.mergeObject(e,t);break;case"InterfaceType":this.mergeInterface(e,t);break;case"UnionType":this.mergeUnion(e,t);break;case"EnumType":this.mergeEnum(e,t);break;case"InputObjectType":this.mergeInput(e,t);break}}checkForExtensionWithNoBase(e,t){if((0,C.isObjectType)(t)&&t.isRootType())return;let n=[],r=[],a=[];for(let[s,o]of e.entries())o&&(o.hasNonExtensionElements()&&n.push(this.names[s]),o.hasExtensionElements()&&(r.push(this.names[s]),a.push((0,C.firstOf)(o.extensions().values()).sourceAST)));if(r.length>0&&n.length===0)for(let[s,o]of r.entries())this.errors.push(C.ERRORS.EXTENSION_WITH_NO_BASE.err(`[${o}] Type "${t}" is an extension type, but there is no type definition for "${t}" in any subgraph.`,{nodes:a[s]}))}addJoinType(e,t){let n=this.joinSpec.typeDirective(this.merged);for(let[r,a]of e.entries()){if(!a)continue;let s=this.subgraphs.values()[r].metadata(),o=s.isInterfaceObjectType(a)?!0:void 0,u=a.appliedDirectivesOf(s.keyDirective()),p=this.joinSpecName(r);if(!u.length)t.applyDirective(n,{graph:p,isInterfaceObject:o});else for(let d of u){let l=d.ofExtension()||a.hasAppliedDirective(s.extendsDirective())?!0:void 0,{resolvable:c}=d.arguments();t.applyDirective(n,{graph:p,key:d.arguments().fields,extension:l,resolvable:c,isInterfaceObject:o})}}}mergeObject(e,t){let r=!this.hintOnInconsistentEntity(e,t)&&!t.isRootType(),a=t.isSubscriptionRootType(),s=this.addFieldsShallow(e,t);s.size?s.forEach((o,u)=>{r&&this.hintOnInconsistentValueTypeField(e,t,u);let p=this.validateOverride(o,u);a&&this.validateSubscriptionField(o),this.mergeField({sources:o,dest:u,mergeContext:p}),this.validateFieldSharing(o,u,p)}):t.remove()}hintOnInconsistentEntity(e,t){let n=[],r=[];for(let a of e.values())a&&(a.hasAppliedDirective("key")?n.push(a):r.push(a));return n.length>0&&r.length>0&&this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_ENTITY,message:`Type "${t}" is declared as an entity (has a @key applied) in some but not all defining subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:a=>a.hasAppliedDirective("key")?"yes":"no",supergraphElementPrinter:(a,s)=>`it has no @key in ${s}`,otherElementsPrinter:(a,s)=>` but has some @key in ${s}`}),n.length>0}hintOnInconsistentValueTypeField(e,t,n){let r,a;switch(t.kind){case"ObjectType":r=Be.HINTS.INCONSISTENT_OBJECT_VALUE_TYPE_FIELD,a="non-entity object";break;case"InterfaceType":r=Be.HINTS.INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD,a="interface";break}for(let[s,o]of e.entries())if(o&&!o.field(n.name)&&!this.areAllFieldsExternal(s,o)){this.mismatchReporter.reportMismatchHint({code:r,message:`Field "${n.coordinate}" of ${a} type "${t}" is defined in some but not all subgraphs that define "${t}": `,supergraphElement:t,subgraphElements:e,elementToString:u=>u.field(n.name)?"yes":"no",supergraphElementPrinter:(u,p)=>`"${n.coordinate}" is defined in ${p}`,otherElementsPrinter:(u,p)=>` but not in ${p}`});break}}addMissingInterfaceObjectFieldsToImplementations(){for(let e of this.merged.objectTypes())for(let t of e.interfaces())for(let n of t.fields())if(!e.field(n.name)&&this.isFieldProvidedByAnInterfaceObject(n.name,t.name)){let r=e.addField(n.name,n.type);r.description=n.description,this.copyNonJoinAppliedDirectives(n,r);for(let s of n.arguments()){let o=r.addArgument(s.name,s.type,s.defaultValue);o.description=s.description,this.copyNonJoinAppliedDirectives(s,o)}r.applyDirective(this.joinSpec.fieldDirective(this.merged),{graph:void 0});let a=new Map;for(let s=0;s{this.joinSpec.isSpecDirective(n.definition)||t.applyDirective(n.name,{...n.arguments()})})}isFieldProvidedByAnInterfaceObject(e,t){return this.subgraphs.values().some(n=>{let r=n.metadata(),a=n.schema.type(t),s=a&&r.isInterfaceObjectType(a)?a.field(e):void 0;return s&&!r.isFieldExternal(s)})}addFieldsShallow(e,t){let n=new Map,r=new Map;function a(o){let u=r.get(o);return u||r.set(o,u=new Set),u}let s=new Map;return e.forEach((o,u)=>{let p=this.subgraphsSchema[u],d=a(u);if((0,C.isObjectType)(t)||(0,C.isInterfaceType)(t))for(let l of t.interfaces()){let c=p.type(l.name),v=this.subgraphs.get(this.names[u]);c&&(0,C.isObjectType)(c)&&v?.metadata().isInterfaceObjectType(c)&&s.set(u,void 0)}if(o)for(let l of o.fields())d.add(l);p.type(t.name)&&s.set(u,void 0)}),r.forEach((o,u)=>{o.forEach(p=>{if(p&&YR(p)){let d=t.field(p.name)||t.addField(p.name),l=n.get(d);l||(l=new Map(s),n.set(d,l)),l.set(u,p)}})}),n}isExternal(e,t){return this.metadata(e).isFieldExternal(t)}isFullyExternal(e,t){return this.metadata(e).isFieldFullyExternal(t)}areAllFieldsExternal(e,t){return t.fields().every(n=>this.isExternal(e,n))}validateAndFilterExternal(e){let t=new Map;for(let[n,r]of e.entries())if(!r||!this.isExternal(n,r))t.set(n,r);else{t.set(n,void 0);for(let a of r.appliedDirectives)this.isMergedDirective(r.name,a)&&this.errors.push(C.ERRORS.MERGED_DIRECTIVE_APPLICATION_ON_EXTERNAL.err(`[${this.names[n]}] Cannot apply merged directive ${a} to external field "${r.coordinate}"`,{nodes:a.sourceAST}))}return t}hasExternal(e){for(let[t,n]of e.entries())if(n&&this.isExternal(t,n))return!0;return!1}isShareable(e,t){return this.metadata(e).isFieldShareable(t)}getOverrideDirective(e,t){let n=this.metadata(e),r=n.isFed2Schema()?n.overrideDirective():void 0;return(r?t.appliedDirectivesOf(r):[])[0]}overrideConflictsWithOtherDirective({idx:e,field:t,subgraphName:n,fromIdx:r,fromField:a}){let s=this.metadata(r);for(let o of[s.requiresDirective(),s.providesDirective()])if(a?.hasAppliedDirective(o))return{result:!0,conflictingDirective:o,subgraph:this.names[r]};return t&&this.isExternal(e,t)?{result:!0,conflictingDirective:s.externalDirective(),subgraph:n}:{result:!1}}validateOverride(e,t){let n=new kp(e);if(!this.fieldsWithOverride.has(t.coordinate))return n;let r=Ea(e,(o,u)=>{if(!o){let p=this.fieldsInSourceIfAbstractedByInterfaceObject(t,u);return p.length>0?{idx:u,name:this.names[u],interfaceObjectAbstractingFields:p}:void 0}return{idx:u,name:this.names[u],isInterfaceField:(0,C.isInterfaceType)(o.parent),isInterfaceObject:this.metadata(u).isInterfaceObjectType(o.parent),overrideDirective:this.getOverrideDirective(u,o)}}),{subgraphsWithOverride:a,subgraphMap:s}=Array.from(r.values()).reduce((o,u)=>(u!==void 0&&(o.subgraphMap[u.name]=u,u.overrideDirective!==void 0&&o.subgraphsWithOverride.push(u.name)),o),{subgraphsWithOverride:[],subgraphMap:{}});return a.forEach(o=>{let{overrideDirective:u,idx:p,isInterfaceObject:d,isInterfaceField:l}=s[o];if(!u)return;let c=u.sourceAST?(0,C.addSubgraphToASTNode)(u.sourceAST,o):void 0;if(l){this.errors.push(C.ERRORS.OVERRIDE_ON_INTERFACE.err(`@override cannot be used on field "${t.coordinate}" on subgraph "${o}": @override is not supported on interface type fields.`,{nodes:c}));return}if(d){this.errors.push(C.ERRORS.OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE.err(`@override is not yet supported on fields of @interfaceObject types: cannot be used on field "${t.coordinate}" on subgraph "${o}".`,{nodes:c}));return}let v=u.arguments().from;if(this.names.includes(v))if(v===o)this.errors.push(C.ERRORS.OVERRIDE_FROM_SELF_ERROR.err(`Source and destination subgraphs "${v}" are the same for overridden field "${t.coordinate}"`,{nodes:u.sourceAST}));else if(a.includes(v))this.errors.push(C.ERRORS.OVERRIDE_SOURCE_HAS_OVERRIDE.err(`Field "${t.coordinate}" on subgraph "${o}" is also marked with directive @override in subgraph "${v}". Only one @override directive is allowed per field.`,{nodes:(0,C.sourceASTs)(u,s[v].overrideDirective)}));else if(s[v]===void 0)this.hints.push(new Be.CompositionHint(Be.HINTS.OVERRIDE_DIRECTIVE_CAN_BE_REMOVED,`Field "${t.coordinate}" on subgraph "${o}" no longer exists in the from subgraph. The @override directive can be removed.`,t,c));else{let{interfaceObjectAbstractingFields:y}=s[v];if(y){let R=Yh(y.map(P=>P.parent));this.errors.push(C.ERRORS.OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE.err(`Invalid @override on field "${t.coordinate}" of subgraph "${o}": source subgraph "${v}" does not have field "${t.coordinate}" but abstract it in ${R} and overriding abstracted fields is not supported.`,{nodes:(0,C.sourceASTs)(u,s[v].overrideDirective)}));return}let g=this.names.indexOf(v),T=e.get(g),{result:S,conflictingDirective:N,subgraph:F}=this.overrideConflictsWithOtherDirective({idx:p,field:e.get(p),subgraphName:o,fromIdx:this.names.indexOf(v),fromField:e.get(g)});if(S)(0,C.assert)(N!==void 0,"conflictingDirective should not be undefined"),this.errors.push(C.ERRORS.OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE.err(`@override cannot be used on field "${T?.coordinate}" on subgraph "${o}" since "${T?.coordinate}" on "${F}" is marked with directive "@${N.name}"`,{nodes:(0,C.sourceASTs)(u,N)}));else{(0,C.assert)(T,"fromField should not be undefined");let R=T.sourceAST?(0,C.addSubgraphToASTNode)(T.sourceAST,v):void 0,P=u.arguments().label,K=!!this.metadata(g).isFieldUsed(T);if(this.isExternal(g,T)?this.hints.push(new Be.CompositionHint(Be.HINTS.OVERRIDE_DIRECTIVE_CAN_BE_REMOVED,`Field "${t.coordinate}" on subgraph "${o}" is not resolved anymore by the from subgraph (it is marked "@external" in "${v}"). The @override directive can be removed.`,t,c)):K?(n.setUsedOverridden(g),P||this.hints.push(new Be.CompositionHint(Be.HINTS.OVERRIDDEN_FIELD_CAN_BE_REMOVED,`Field "${t.coordinate}" on subgraph "${v}" is overridden. It is still used in some federation directive(s) (@key, @requires, and/or @provides) and/or to satisfy interface constraint(s), but consider marking it @external explicitly or removing it along with its references.`,t,R))):(n.setUnusedOverridden(g),P||this.hints.push(new Be.CompositionHint(Be.HINTS.OVERRIDDEN_FIELD_CAN_BE_REMOVED,`Field "${t.coordinate}" on subgraph "${v}" is overridden. Consider removing it.`,t,R))),P){let W=/^[a-zA-Z][a-zA-Z0-9_\-:./]*$/,ne=/^percent\((\d{1,2}(\.\d{1,8})?|100)\)$/;if(W.test(P))n.setOverrideLabel(p,P),n.setOverrideLabel(g,P);else if(ne.test(P)){let Y=ne.exec(P);if(Y){let _e=parseFloat(Y[1]);_e>=0&&_e<=100&&(n.setOverrideLabel(p,P),n.setOverrideLabel(g,P))}}n.overrideLabel(p)||this.errors.push(C.ERRORS.OVERRIDE_LABEL_INVALID.err(`Invalid @override label "${P}" on field "${t.coordinate}" on subgraph "${o}": labels must start with a letter and after that may contain alphanumerics, underscores, minuses, colons, periods, or slashes. Alternatively, labels may be of the form "percent(x)" where x is a float between 0-100 inclusive.`,{nodes:c}));let B=K?`Field "${t.coordinate}" on subgraph "${v}" is currently being migrated via progressive @override. It is still used in some federation directive(s) (@key, @requires, and/or @provides) and/or to satisfy interface constraint(s). Once the migration is complete, consider marking it @external explicitly or removing it along with its references.`:`Field "${t.coordinate}" is currently being migrated with progressive @override. Once the migration is complete, remove the field from subgraph "${v}".`;this.hints.push(new Be.CompositionHint(Be.HINTS.OVERRIDE_MIGRATION_IN_PROGRESS,B,t,R))}}}else{n.setOverrideWithUnknownTarget(p);let y=(0,C.suggestionList)(v,this.names),g=(0,C.didYouMean)(y);this.hints.push(new Be.CompositionHint(Be.HINTS.FROM_SUBGRAPH_DOES_NOT_EXIST,`Source subgraph "${v}" for field "${t.coordinate}" on subgraph "${o}" does not exist.${g}`,t,c))}}),n}fieldsInSourceIfAbstractedByInterfaceObject(e,t){let n=e.parent,r=this.subgraphsSchema[t];return!(0,C.isObjectType)(n)||r.type(n.name)?[]:n.interfaces().map(a=>{if(!a.field(e.name))return;let s=r.type(a.name);if(!(!s||!(0,C.isObjectType)(s)))return s.field(e.name)}).filter(C.isDefined)}mergeField({sources:e,dest:t,mergeContext:n=new kp(e)}){let r=!0;for(let[o,u]of e.entries())if(u===void 0?r=r&&this.fieldsInSourceIfAbstractedByInterfaceObject(t,o).every(p=>this.isExternal(o,p)):r=r&&this.isExternal(o,u),!r)break;if(r){let o=[],u=[];e.forEach((p,d)=>{if(p){u.push(this.names[d]),p.sourceAST&&o.push(p.sourceAST);return}let l=this.fieldsInSourceIfAbstractedByInterfaceObject(t,d);l.length!==0&&u.push(`${this.names[d]} (through @interaceObject ${Yh(l.map(c=>c.parent))})`)}),this.errors.push(C.ERRORS.EXTERNAL_MISSING_ON_BASE.err(`Field "${t.coordinate}" is marked @external on all the subgraphs in which it is listed (${(0,C.printSubgraphNames)(u)}).`,{nodes:o}));return}let a=this.validateAndFilterExternal(e);this.mergeDescription(a,t),this.recordAppliedDirectivesToMerge(a,t),this.addArgumentsShallow(a,t);for(let o of t.arguments()){let u=Ea(a,p=>p?.argument(o.name));this.mergeArgument(u,o)}let s=this.mergeTypeReference(Oc(a,C.isDefined)?a:e,t);this.hasExternal(e)&&this.validateExternalFields(e,t,s),this.addJoinField({sources:e,dest:t,allTypesEqual:s,mergeContext:n}),this.addJoinDirectiveDirectives(e,t)}validateFieldSharing(e,t,n){let r=[],a=[],s=[],o=(u,p,d)=>{this.isFullyExternal(u,d)||(s.push({subgraph:p,field:d}),this.isShareable(u,d)?r.push({subgraph:p,idx:u}):a.push({subgraph:p,idx:u}))};for(let[u,p]of e.entries()){let d='"'+this.names[u]+'"';if(!p){this.fieldsInSourceIfAbstractedByInterfaceObject(t,u).forEach(c=>o(u,d+` (through @interfaceObject field "${c.coordinate}")`,c));continue}n.isUsedOverridden(u)||n.isUnusedOverridden(u)||o(u,d,p)}if(a.length>0&&(r.length>0||a.length>1)){let u=v=>(0,C.printHumanReadableList)(v.map(({subgraph:y})=>y),{prefix:"subgraph",prefixPlural:"subgraphs",cutoff_output_length:500}),p=u(s),d=r.length>0?u(a):"all of them",l=a.find(({idx:v})=>n.hasOverrideWithUnknownTarget(v)),c="";l!==void 0&&(c=` (please note that "${t.coordinate}" has an @override directive in ${l.subgraph} that targets an unknown subgraph so this could be due to misspelling the @override(from:) argument)`),this.errors.push(C.ERRORS.INVALID_FIELD_SHARING.err(`Non-shareable field "${t.coordinate}" is resolved from multiple subgraphs: it is resolved from ${p} and defined as non-shareable in ${d}${c}`,{nodes:(0,C.sourceASTs)(...s.map(({field:v})=>v))}))}}validateExternalFields(e,t,n){let r=!1,a=new Set,s=new Set,o=new Set;for(let[u,p]of e.entries())if(!(!p||!this.isExternal(u,p))){(0,C.sameType)(t.type,p.type)||!n&&this.isStrictSubtype(t.type,p.type)||(r=!0);for(let d of t.arguments()){let l=d.name,c=p.argument(l);if(!c){a.add(l);continue}!(0,C.sameType)(d.type,c.type)&&!this.isStrictSubtype(c.type,d.type)&&s.add(l),d.defaultValue!==c.defaultValue&&o.add(l)}}r&&this.mismatchReporter.reportMismatchError(C.ERRORS.EXTERNAL_TYPE_MISMATCH,`Type of field "${t.coordinate}" is incompatible across subgraphs (where marked @external): it has `,t,e,u=>`type "${u.type}"`);for(let u of a){let p=t.argument(u);this.mismatchReporter.reportMismatchErrorWithSpecifics({code:C.ERRORS.EXTERNAL_ARGUMENT_MISSING,message:`Field "${t.coordinate}" is missing argument "${p.coordinate}" in some subgraphs where it is marked @external: `,mismatchedElement:p,subgraphElements:this.argumentSources(e,p),mismatchAccessor:d=>d?`argument "${d.coordinate}"`:void 0,supergraphElementPrinter:(d,l)=>`${d} is declared in ${l}`,otherElementsPrinter:(d,l)=>` but not in ${l} (where "${t.coordinate}" is @external).`,includeMissingSources:!0})}for(let u of s){let p=t.argument(u);this.mismatchReporter.reportMismatchError(C.ERRORS.EXTERNAL_ARGUMENT_TYPE_MISMATCH,`Type of argument "${p.coordinate}" is incompatible across subgraphs (where "${t.coordinate}" is marked @external): it has `,p,this.argumentSources(e,p),d=>`type "${d.type}"`)}for(let u of o){let p=t.argument(u);this.mismatchReporter.reportMismatchError(C.ERRORS.EXTERNAL_ARGUMENT_DEFAULT_MISMATCH,`Argument "${p.coordinate}" has incompatible defaults across subgraphs (where "${t.coordinate}" is marked @external): it has `,p,this.argumentSources(e,p),d=>d.defaultValue!==void 0?`default value ${(0,C.valueToString)(d.defaultValue,d.type)}`:"no default value")}}argumentSources(e,t){let n=new Map;for(let[r,a]of e.entries())n.set(r,a?.argument(t.name));return n}needsJoinField({sources:e,parentName:t,allTypesEqual:n,mergeContext:r}){if(!n||r.some(({usedOverridden:a,overrideLabel:s})=>a||!!s))return!0;for(let a of e.values()){let s=a?.coordinate;if(s&&this.fieldsWithFromContext.has(s))return!0}for(let[a,s]of e.entries()){let o=r.isUnusedOverridden(a);if(s&&!o){let u=this.subgraphs.values()[a].metadata();if(this.isExternal(a,s)||s.hasAppliedDirective(u.providesDirective())||s.hasAppliedDirective(u.requiresDirective()))return!0}else if(this.subgraphsSchema[a].type(t))return!0}return!1}addJoinField({sources:e,dest:t,allTypesEqual:n,mergeContext:r}){var a,s,o;if(!this.needsJoinField({sources:e,parentName:t.parent.name,allTypesEqual:n,mergeContext:r}))return;let u=this.joinSpec.fieldDirective(this.merged);for(let[p,d]of e.entries()){let l=r.isUsedOverridden(p),c=r.isUnusedOverridden(p),v=r.overrideLabel(p);if(!d||c&&!v)continue;let y=this.subgraphs.values()[p].metadata().fromContextDirective(),g=(d.kind==="FieldDefinition"?d.arguments():[]).map(F=>{if(!(0,C.isFederationDirectiveDefinedInSchema)(y))return;let R=F.appliedDirectivesOf(y);if(R.length===0)return;(0,C.assert)(R.length===1,"There should be at most one @fromContext directive applied to an argument");let P=R[0],{context:K,selection:W}=(0,C.parseContext)(P.arguments().field);return(0,C.assert)(K,"Context should be defined"),(0,C.assert)(W,"Selection should be defined"),{context:`${this.subgraphs.values()[p].name}__${K}`,name:F.name,type:F.type.toString(),selection:W}}).filter(C.isDefined),T=this.isExternal(p,d),S=this.subgraphs.values()[p].metadata(),N=this.joinSpecName(p);t.applyDirective(u,{graph:N,requires:this.getFieldSet(d,S.requiresDirective()),provides:this.getFieldSet(d,S.providesDirective()),override:(s=(a=d.appliedDirectivesOf(S.overrideDirective()).pop())===null||a===void 0?void 0:a.arguments())===null||s===void 0?void 0:s.from,type:n||(o=d.type)===null||o===void 0?void 0:o.toString(),external:T?!0:void 0,usedOverridden:l?!0:void 0,overrideLabel:r.overrideLabel(p),contextArguments:g.length>0?g:void 0})}}getFieldSet(e,t){let n=e.appliedDirectivesOf(t);return(0,C.assert)(n.length<=1,()=>`Found more than one application of ${t} on ${e}`),n.length===0?void 0:n[0].arguments().fields}mergeTypeReference(e,t,n=!1){var r;let a,s=!1,o=!1;for(let l of e.values()){if(!l)continue;let c=l.type;!a||(0,C.sameType)(a,c)?a=c:this.isStrictSubtype(a,c)?(s=!0,n&&(a=c)):this.isStrictSubtype(c,a)?(s=!0,n||(a=c)):o=!0}(0,C.assert)(a,()=>`We should have found at least one subgraph with a type for ${t.coordinate}`),t.type=x9(a,this.merged);let u=t instanceof C.ArgumentDefinition,p=u?"argument":"field",d=(0,C.baseType)(t.type);if((0,C.isEnumType)(d)){let l=this.enumUsages.get(d.name),c=n?"Input":"Output",v=l&&l.position!==c?"Both":c,y=(r=l?.examples)!==null&&r!==void 0?r:{};if(!y[c]){let g=-1;for(let[T,S]of e.entries())if(S){g=T;break}if(g>=0){let T=e.get(g);y[c]={coordinate:T.coordinate,sourceAST:T.sourceAST?(0,C.addSubgraphToASTNode)(T.sourceAST,this.names[g]):void 0}}}this.enumUsages.set(d.name,{position:v,examples:y})}return o?(this.mismatchReporter.reportMismatchError(u?C.ERRORS.ARGUMENT_TYPE_MISMATCH:C.ERRORS.FIELD_TYPE_MISMATCH,`Type of ${p} "${t.coordinate}" is incompatible across subgraphs: it has `,t,e,l=>`type "${l.type}"`),!1):s?(this.mismatchReporter.reportMismatchHint({code:u?Be.HINTS.INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE:Be.HINTS.INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE,message:`Type of ${p} "${t.coordinate}" is inconsistent but compatible across subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:l=>l.type.toString(),supergraphElementPrinter:(l,c)=>`will use type "${l}" (from ${c}) in supergraph but "${t.coordinate}" has `,otherElementsPrinter:(l,c)=>`${n?"supertype":"subtype"} "${l}" in ${c}`}),!1):!0}isStrictSubtype(e,t){return(0,C.isStrictSubtype)(e,t,this.options.allowedFieldTypeMergingSubtypingRules,(n,r)=>this.merged.type(n.name).hasTypeMember(r.name),(n,r)=>this.merged.type(n.name).implementsInterface(r))}addArgumentsShallow(e,t){let n=new Set;for(let r of e.values())r&&r.arguments().forEach(a=>n.add(a.name));for(let r of n){let a=t.addArgument(r),s=(p,d)=>{let l=this.metadata(p).fromContextDirective();return l&&(0,C.isFederationDirectiveDefinedInSchema)(l)&&d.appliedDirectivesOf(l).length>=1},o=new Map,u=!1;if(e.forEach((p,d)=>{let l=p?.argument(r),c=l&&s(d,l)||!1;o.set(d,c),c&&(u=!0)}),u){o.forEach((p,d)=>{var l,c;let v=(l=e.get(d))===null||l===void 0?void 0:l.argument(r),y=v?.type;!p&&v&&y&&(0,C.isNonNullType)(y)&&v.defaultValue===void 0&&this.errors.push(C.ERRORS.CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS.err(`Argument "${a.coordinate}" is contextual in at least one subgraph but in "${v.coordinate}" it does not have @fromContext, is not nullable and has no default value.`,{nodes:(0,C.sourceASTs)((c=e.get(d))===null||c===void 0?void 0:c.argument(r))})),!p&&v&&y&&((0,C.isNullableType)(y)||v.defaultValue!==void 0)&&this.mismatchReporter.pushHint(new Be.CompositionHint(Be.HINTS.CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS,`Contextual argument "${v.coordinate}" will not be included in the supergraph since it is contextual in at least one subgraph`,void 0))}),a.remove();continue}if(Oc(e,p=>p&&!p.argument(r))){let p=jR(Ea(e,(d,l)=>{var c;return d&&(!((c=d.argument(r))===null||c===void 0)&&c.isRequired())?this.names[l]:void 0}));if(p.size>0){let d=(0,C.printSubgraphNames)(Array.from(p.values()).filter(C.isDefined)),l=(0,C.printSubgraphNames)(Array.from(Ea(e,(c,v)=>c&&!c.argument(r)?this.names[v]:void 0).values()).filter(C.isDefined));this.errors.push(C.ERRORS.REQUIRED_ARGUMENT_MISSING_IN_SOME_SUBGRAPH.err(`Argument "${a.coordinate}" is required in some subgraphs but does not appear in all subgraphs: it is required in ${d} but does not appear in ${l}`,{nodes:(0,C.sourceASTs)(...Ea(e,c=>c?.argument(r)).values())}))}else this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_ARGUMENT_PRESENCE,message:`Optional argument "${a.coordinate}" will not be included in the supergraph as it does not appear in all subgraphs: `,supergraphElement:a,subgraphElements:Ea(e,d=>d?d.argument(r):void 0),elementToString:d=>"yes",supergraphElementPrinter:(d,l)=>`it is defined in ${l}`,otherElementsPrinter:(d,l)=>` but not in ${l}`,includeMissingSources:!0});a.remove()}}}mergeArgument(e,t){this.mergeDescription(e,t),this.recordAppliedDirectivesToMerge(e,t),this.mergeTypeReference(e,t,!0),this.mergeDefaultValue(e,t,"Argument")}mergeDefaultValue(e,t,n){let r,a=!1,s=!1,o=!1;for(let u of e.values()){if(!u)continue;let p=u.defaultValue;r===void 0?(r=p,a&&p!==void 0&&(s=!0)):(0,C.valueEquals)(r,p)||(s=!0,p!==void 0&&(o=!0)),a=!0}(!s||o)&&(t.defaultValue=r),o?this.mismatchReporter.reportMismatchError(n==="Argument"?C.ERRORS.ARGUMENT_DEFAULT_MISMATCH:C.ERRORS.INPUT_FIELD_DEFAULT_MISMATCH,`${n} "${t.coordinate}" has incompatible default values across subgraphs: it has `,t,e,u=>u.defaultValue!==void 0?`default value ${(0,C.valueToString)(u.defaultValue,u.type)}`:"no default value"):s&&this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_DEFAULT_VALUE_PRESENCE,message:`${n} "${t.coordinate}" has a default value in only some subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:u=>u.defaultValue!==void 0?(0,C.valueToString)(u.defaultValue,u.type):void 0,supergraphElementPrinter:(u,p)=>`will not use a default in the supergraph (there is no default in ${p}) but `,otherElementsPrinter:(u,p)=>`"${t.coordinate}" has default value ${u} in ${p}`})}mergeInterface(e,t){let n=this.validateInterfaceKeys(e,t);this.validateInterfaceObjects(e,t),this.addFieldsShallow(e,t).forEach((a,s)=>{n||this.hintOnInconsistentValueTypeField(e,t,s);let o=this.validateOverride(a,s);this.mergeField({sources:a,dest:s,mergeContext:o})})}validateInterfaceKeys(e,t){let n=t.possibleRuntimeTypes(),r=!1;for(let[a,s]of e.entries()){if(!s||!(0,C.isInterfaceType)(s))continue;let o=this.subgraphs.values()[a].metadata(),u=s.appliedDirectivesOf(o.keyDirective());r||(r=u.length>0);let p=u.find(l=>l.arguments().resolvable!==!1);if(!p)continue;let d=s.possibleRuntimeTypes();if(d.length!d.some(v=>c.name===v.name));this.errors.push((0,C.addSubgraphToError)(C.ERRORS.INTERFACE_KEY_MISSING_IMPLEMENTATION_TYPE.err(`Interface type "${s.coordinate}" has a resolvable key (${p}) in subgraph "${this.names[a]}" but that subgraph is missing some of the supergraph implementation types of "${t.coordinate}". Subgraph "${this.names[a]}" should define ${Yh(l)} (and have ${l.length>1?"them":"it"} implement "${s.coordinate}").`,{nodes:p.sourceAST}),this.names[a]))}}return r}validateInterfaceObjects(e,t){let n=t.possibleRuntimeTypes();for(let[r,a]of e.entries()){if(!a||!this.metadata(r).isInterfaceObjectType(a))continue;let s=this.names[r],o=a.schema(),u=n.map(p=>o.type(p.name)).filter(C.isDefined);u.length>0&&this.errors.push((0,C.addSubgraphToError)(C.ERRORS.INTERFACE_OBJECT_USAGE_ERROR.err(`Interface type "${t.coordinate}" is defined as an @interfaceObject in subgraph "${s}" so that subgraph should not define any of the implementation types of "${t.coordinate}", but it defines ${Yh(u)}`,{nodes:(0,C.sourceASTs)(a,...u)}),s))}}mergeUnion(e,t){for(let n of e.values())if(n)for(let r of n.types())t.hasTypeMember(r.name)||t.addType(r.name);for(let n of t.types())this.addJoinUnionMember(e,t,n),this.hintOnInconsistentUnionMember(e,t,n.name)}addJoinUnionMember(e,t,n){let r=this.joinSpec.unionMemberDirective(this.merged);if(r)for(let[a,s]of e.entries()){if(!s?.hasTypeMember(n.name))continue;let o=this.joinSpecName(a);t.applyDirective(r,{graph:o,member:n.name})}}hintOnInconsistentUnionMember(e,t,n){for(let r of e.values())if(r&&!r.hasTypeMember(n)){this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_UNION_MEMBER,message:`Union type "${t}" includes member type "${n}" in some but not all defining subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:a=>a.hasTypeMember(n)?"yes":"no",supergraphElementPrinter:(a,s)=>`"${n}" is defined in ${s}`,otherElementsPrinter:(a,s)=>` but not in ${s}`});return}}mergeEnum(e,t){let n=this.enumUsages.get(t.name);n||(n={position:"Output",examples:{}},this.hints.push(new Be.CompositionHint(Be.HINTS.UNUSED_ENUM_TYPE,`Enum type "${t}" is defined but unused. It will be included in the supergraph with all the values appearing in any subgraph ("as if" it was only used as an output type).`,t)));for(let r of e.values())if(r)for(let a of r.values)t.value(a.name)||t.addValue(a.name);for(let r of t.values)this.mergeEnumValue(e,t,r,n);t.values.length===0&&this.errors.push(C.ERRORS.EMPTY_MERGED_ENUM_TYPE.err(`None of the values of enum type "${t}" are defined consistently in all the subgraphs defining that type. As only values common to all subgraphs are merged, this would result in an empty type.`,{nodes:(0,C.sourceASTs)(...e.values())}))}mergeEnumValue(e,t,n,{position:r,examples:a}){let s=Ea(e,u=>u?.value(n.name));if(this.mergeDescription(s,n),this.recordAppliedDirectivesToMerge(s,n),this.addJoinEnumValue(s,n),!(this.inaccessibleDirectiveInSupergraph&&n.hasAppliedDirective(this.inaccessibleDirectiveInSupergraph))&&r!=="Output"&&Oc(e,u=>u&&!u.value(n.name)))if(r==="Both"){let u=a.Input,p=a.Output;this.mismatchReporter.reportMismatchErrorWithSpecifics({code:C.ERRORS.ENUM_VALUE_MISMATCH,message:`Enum type "${t}" is used as both input type (for example, as type of "${u.coordinate}") and output type (for example, as type of "${p.coordinate}"), but value "${n}" is not defined in all the subgraphs defining "${t}": `,mismatchedElement:t,subgraphElements:e,mismatchAccessor:d=>d?.value(n.name)?"yes":"no",supergraphElementPrinter:(d,l)=>`"${n}" is defined in ${l}`,otherElementsPrinter:(d,l)=>` but not in ${l}`,extraNodes:(0,C.sourceASTs)(u,p)})}else this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM,message:`Value "${n}" of enum type "${t}" will not be part of the supergraph as it is not defined in all the subgraphs defining "${t}": `,supergraphElement:t,subgraphElements:e,targetedElement:n,elementToString:u=>u.value(n.name)?"yes":"no",supergraphElementPrinter:(u,p)=>`"${n}" is defined in ${p}`,otherElementsPrinter:(u,p)=>` but not in ${p}`}),n.remove();else r==="Output"&&this.hintOnInconsistentOutputEnumValue(e,t,n)}addJoinEnumValue(e,t){let n=this.joinSpec.enumValueDirective(this.merged);if(n)for(let[r,a]of e.entries()){if(!a)continue;let s=this.joinSpecName(r);t.applyDirective(n,{graph:s})}}hintOnInconsistentOutputEnumValue(e,t,n){let r=n.name;for(let a of e.values())if(a&&!a.value(r)){this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM,message:`Value "${r}" of enum type "${t}" has been added to the supergraph but is only defined in a subset of the subgraphs defining "${t}": `,supergraphElement:t,subgraphElements:e,targetedElement:n,elementToString:s=>s.value(r)?"yes":"no",supergraphElementPrinter:(s,o)=>`"${r}" is defined in ${o}`,otherElementsPrinter:(s,o)=>` but not in ${o}`});return}}mergeInput(e,t){this.addFieldsShallow(e,t).forEach((r,a)=>{if(this.mergeInputField(r,a),!(this.inaccessibleDirectiveInSupergraph&&a.hasAppliedDirective(this.inaccessibleDirectiveInSupergraph))&&Oc(r,o=>!o)){let o=jR(Ea(r,(u,p)=>u?.isRequired()?this.names[p]:void 0));if(o.size>0){let u=(0,C.printSubgraphNames)(Array.from(o.values()).filter(C.isDefined)),p=(0,C.printSubgraphNames)(Array.from(Ea(r,(d,l)=>d?void 0:this.names[l]).values()).filter(C.isDefined));this.errors.push(C.ERRORS.REQUIRED_INPUT_FIELD_MISSING_IN_SOME_SUBGRAPH.err(`Input object field "${a.coordinate}" is required in some subgraphs but does not appear in all subgraphs: it is required in ${u} but does not appear in ${p}`,{nodes:(0,C.sourceASTs)(...r.values())}))}else this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_INPUT_OBJECT_FIELD,message:`Input object field "${a.name}" will not be added to "${t}" in the supergraph as it does not appear in all subgraphs: `,supergraphElement:a,subgraphElements:r,elementToString:u=>"yes",supergraphElementPrinter:(u,p)=>`it is defined in ${p}`,otherElementsPrinter:(u,p)=>` but not in ${p}`,includeMissingSources:!0});a.remove()}}),t.hasFields()||this.errors.push(C.ERRORS.EMPTY_MERGED_INPUT_TYPE.err(`None of the fields of input object type "${t}" are consistently defined in all the subgraphs defining that type. As only fields common to all subgraphs are merged, this would result in an empty type.`,{nodes:(0,C.sourceASTs)(...e.values())}))}mergeInputField(e,t){this.mergeDescription(e,t),this.recordAppliedDirectivesToMerge(e,t);let n=this.mergeTypeReference(e,t,!0),r=new kp(e);this.addJoinField({sources:e,dest:t,allTypesEqual:n,mergeContext:r}),this.mergeDefaultValue(e,t,"Input field")}mergeDirectiveDefinition(e,t){this.composeDirectiveManager.directiveExistsInSupergraph(t.name)?this.mergeCustomCoreDirective(t):Oc(e,(n,r)=>n&&this.isMergedDirective(this.names[r],n))&&this.mergeExecutableDirectiveDefinition(e,t)}mergeCustomCoreDirective(e){let t=this.composeDirectiveManager.getLatestDirectiveDefinition(e.name);if(t){e.repeatable=t.repeatable,e.description=t.description,e.addLocations(...t.locations),this.addArgumentsShallow(Us([t]),e);for(let n of t.arguments()){let r=e.argument(n.name);(0,C.assert)(r,"argument must exist on destination directive"),this.mergeArgument(Us([n]),r)}}}mergeExecutableDirectiveDefinition(e,t){let n,r=!1,a,s=!1;for(let o of e.values()){if(!o){let p=t.remove();(0,C.assert)(p.length===0,()=>`Found usages of executable directive ${t}: ${p}`),this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE,message:`Executable directive "${t}" will not be part of the supergraph as it does not appear in all subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:d=>"yes",supergraphElementPrinter:(d,l)=>`it is defined in ${l}`,otherElementsPrinter:(d,l)=>` but not in ${l}`,includeMissingSources:!0});return}n===void 0?n=o.repeatable:n!==o.repeatable&&(r=!0,n=!1);let u=this.extractExecutableLocations(o);if(!a)a=u;else if((0,C.arrayEquals)(a,u)||(s=!0),a=a.filter(p=>u.includes(p)),a.length===0){let p=t.remove();(0,C.assert)(p.length===0,()=>`Found usages of executable directive ${t}: ${p}`),this.mismatchReporter.reportMismatchHint({code:Be.HINTS.NO_EXECUTABLE_DIRECTIVE_LOCATIONS_INTERSECTION,message:`Executable directive "${t}" has no location that is common to all subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:d=>QR(this.extractExecutableLocations(d)),supergraphElementPrinter:()=>"it will not appear in the supergraph as there no intersection between ",otherElementsPrinter:(d,l)=>`${d} in ${l}`});return}}t.repeatable=n,t.addLocations(...a),this.mergeDescription(e,t),r&&this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE,message:`Executable directive "${t}" will not be marked repeatable in the supergraph as it is inconsistently marked repeatable in subgraphs: `,supergraphElement:t,subgraphElements:e,elementToString:o=>o.repeatable?"yes":"no",supergraphElementPrinter:(o,u)=>`it is not repeatable in ${u}`,otherElementsPrinter:(o,u)=>` but is repeatable in ${u}`}),s&&this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS,message:`Executable directive "${t}" has inconsistent locations across subgraphs `,supergraphElement:t,subgraphElements:e,elementToString:o=>QR(this.extractExecutableLocations(o)),supergraphElementPrinter:(o,u)=>`and will use ${o} (intersection of all subgraphs) in the supergraph, but has: ${u?`${o} in ${u} and `:""}`,otherElementsPrinter:(o,u)=>`${o} in ${u}`}),this.addArgumentsShallow(e,t);for(let o of t.arguments()){let u=Ea(e,p=>p?.argument(o.name));this.mergeArgument(u,o)}}extractExecutableLocations(e){return this.filterExecutableDirectiveLocations(e).concat().sort()}filterExecutableDirectiveLocations(e){return e.locations.filter(t=>(0,C.isExecutableDirectiveLocation)(t))}recordAppliedDirectivesToMerge(e,t){var n;let r=(n=this.inaccessibleDirectiveInSupergraph)===null||n===void 0?void 0:n.name,a=this.gatherAppliedDirectiveNames(e);r&&a.has(r)&&(this.mergeAppliedDirective(r,e,t),a.delete(r)),this.appliedDirectivesToMerge.push({names:a,sources:e,dest:t})}mergeAllAppliedDirectives(){for(let{names:e,sources:t,dest:n}of this.appliedDirectivesToMerge)if(n.isAttached())for(let r of e)this.mergeAppliedDirective(r,t,n);this.appliedDirectivesToMerge=[]}gatherAppliedDirectiveNames(e){let t=new Set;return e.forEach((n,r)=>{if(n)for(let a of n.appliedDirectives)this.isMergedDirective(this.names[r],a)&&t.add(a.name)}),t}mergeAppliedDirective(e,t,n){var r,a,s;let o=[];if(t.forEach((p,d)=>{if(p){let l=p.appliedDirectivesOf(e);l.length>0&&o.push({directives:l,subgraphIndex:d})}}),o.length===0)return;let u=this.mergedFederationDirectiveInSupergraphByDirectiveName.get(e);if(!((r=n.schema().directive(e))===null||r===void 0)&&r.repeatable)for(;o.length>0;){let p=o[0].directives[0],d=o[0].subgraphIndex,l=u&&u.staticArgumentTransform&&u.staticArgumentTransform(this.subgraphs.values()[d],p.arguments(!1));n.applyDirective(p.name,l??p.arguments(!1)),o=o.map(c=>({directives:c.directives.filter(v=>!this.sameDirectiveApplication(p,v)),subgraphIndex:c.subgraphIndex})).filter(c=>c.directives.length)}else{let p=[],d=[];for(let{directives:l}of o){(0,C.assert)(l.length===1,()=>`Non-repeatable directive shouldn't have multiple application ${l} in a subgraph`);let c=l[0],v=p.findIndex(y=>this.sameDirectiveApplication(y,c));v<0?(p.push(c),d.push(1)):d[v]++}if((0,C.assert)(p.length>0,"We exited early when there was no applications, so we should have found one"),p.length===1)n.applyDirective(e,p[0].arguments(!1));else{let l=this.mergedFederationDirectiveInSupergraphByDirectiveName.get(e);if(l&&l.argumentsMerger){let c=Object.create(null),v=p.map(y=>y.arguments(!0));for(let y of l.definition.arguments()){let g=v.map(T=>T[y.name]);c[y.name]=l.argumentsMerger.merge(y.name,g)}n.applyDirective(e,c),this.mismatchReporter.pushHint(new Be.CompositionHint(Be.HINTS.MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS,`Directive @${e} is applied to "${(a=n.coordinate)!==null&&a!==void 0?a:n}" in multiple subgraphs with different arguments. Merging strategies used by arguments: ${l.argumentsMerger}`,void 0))}else{let c=GR(d);n.applyDirective(e,p[c].arguments(!1)),this.mismatchReporter.reportMismatchHint({code:Be.HINTS.INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS,message:`Non-repeatable directive @${e} is applied to "${(s=n.coordinate)!==null&&s!==void 0?s:n}" in multiple subgraphs but with incompatible arguments. `,supergraphElement:n,subgraphElements:t,elementToString:v=>{var y;let g=(y=v.appliedDirectivesOf(e).pop())===null||y===void 0?void 0:y.arguments();return g===void 0?void 0:Object.values(g).length===0?"no arguments":`arguments ${(0,C.valueToString)(g)}`},supergraphElementPrinter:(v,y)=>`The supergraph will use ${v} (from ${y}), but found `,otherElementsPrinter:(v,y)=>`${v} in ${y}`})}}}}sameDirectiveApplication(e,t){return e.name===t.name&&(0,C.valueEquals)(e.arguments(!0),t.arguments(!0))}mergeSchemaDefinition(e,t){this.mergeDescription(e,t),this.recordAppliedDirectivesToMerge(e,t);for(let n of C.allSchemaRootKinds){let r,a=!1;for(let s of e.values()){if(!s)continue;let o=Ole(s,n);o&&(r?a=a||r!==o.name:r=o.name)}r&&(t.setRoot(n,r),(0,C.assert)(!a,()=>`Should not have incompatible root type for ${n}`))}this.addJoinDirectiveDirectives(e,t)}shouldUseJoinDirectiveForURL(e){return!!(e&&this.joinDirectiveIdentityURLs.has(e.identity))}computeMapFromImportNameToIdentityUrl(e){var t;let n=new Map;for(let r of e.schemaDefinition.appliedDirectivesOf("link")){let{url:a,import:s}=r.arguments(),o=C.FeatureUrl.maybeParse(a);if(o&&s)for(let u of s)typeof u=="string"?n.set(u,o):n.set((t=u.as)!==null&&t!==void 0?t:u.name,o)}return n}addJoinDirectiveDirectives(e,t){var n,r;let a=Object.create(null);for(let[o,u]of e.entries()){if(!u)continue;let p=this.joinSpecName(o),d=this.schemaToImportNameToFeatureUrl.get(u.schema());if(d)for(let l of u.appliedDirectives){let c=!1;if(l.name==="link"){let{url:v}=l.arguments(),y=C.FeatureUrl.maybeParse(v);typeof v=="string"&&y&&(c=this.shouldUseJoinDirectiveForURL(y))}else{let v=l.name.startsWith("@")?l.name:"@"+l.name;c=this.shouldUseJoinDirectiveForURL(d.get(v))}if(c){let v=(n=a[r=l.name])!==null&&n!==void 0?n:a[r]=[],y=!1;for(let g of v)if((0,C.valueEquals)(g.args,l.arguments())){g.graphs.push(p),y=!0;break}y||v.push({graphs:[p],args:l.arguments()})}}}let s=this.joinSpec.directiveDirective(this.merged);Object.keys(a).forEach(o=>{a[o].forEach(u=>{t.applyDirective(s,{graphs:u.graphs,name:o,args:u.args})})})}filterSubgraphs(e){return this.subgraphsSchema.map((t,n)=>e(t)?this.names[n]:void 0).filter(t=>t!==void 0)}subgraphByName(e){return this.subgraphsSchema[this.names.indexOf(e)]}postMergeValidations(){var e,t,n,r;for(let a of this.merged.types())if(!(!(0,C.isObjectType)(a)&&!(0,C.isInterfaceType)(a))){for(let s of a.interfaces())for(let o of s.fields())if(!a.field(o.name)){let p=this.filterSubgraphs(l=>{var c;return((c=l.typeOfKind(s.name,"InterfaceType"))===null||c===void 0?void 0:c.field(o.name))!==void 0}),d=this.filterSubgraphs(l=>{let c=l.type(a.name);return c!==void 0&&c.implementsInterface(s.name)});this.errors.push(C.ERRORS.INTERFACE_FIELD_NO_IMPLEM.err(`Interface field "${o.coordinate}" is declared in ${(0,C.printSubgraphNames)(p)} but type "${a}", which implements "${s}" only in ${(0,C.printSubgraphNames)(d)} does not have field "${o.name}".`,{nodes:(0,C.sourceASTs)(...p.map(l=>{var c;return(c=this.subgraphByName(l).typeOfKind(s.name,"InterfaceType"))===null||c===void 0?void 0:c.field(o.name)}),...d.map(l=>this.subgraphByName(l).type(a.name)))}));continue}}for(let a of this.subgraphs)for(let s of a.metadata().requiresDirective().applications()){let o=s.parent;(0,C.assert)(o.kind==="FieldDefinition",()=>`Expected ${(0,_le.inspect)(o)} to be a field`);let u=this.merged.type(o.parent.name);(0,C.assert)(u&&(0,C.isCompositeType)(u),()=>`Merged type ${o.parent.name} should exist should have field ${o.name}`),(0,C.assert)((0,C.isCompositeType)(u),`${u} should be a composite type but got ${u.kind}`);try{(0,C.parseFieldSetArgument)({parentType:u,directive:s,decorateValidationErrors:!1})}catch(p){if(!(p instanceof UR.GraphQLError))throw p;let d=s.sourceAST?[(0,C.addSubgraphToASTNode)(s.sourceAST,a.name)]:[],l=this,c=(g,T,S,N)=>{let F=l.subgraphs.values().map(K=>{if(K.name===a.name)return;let W=K.schema.elementByCoordinate(T);return W&&W instanceof C.FieldDefinition&&S(W)?{name:K.name,node:W.sourceAST?(0,C.addSubgraphToASTNode)(W.sourceAST,K.name):void 0}:void 0}).filter(C.isDefined);(0,C.assert)(F.length>0,()=>`Got error on ${g} of ${T} but no "incompatible" subgraphs (error: ${p})`);let R=d.concat(F.map(K=>K.node).filter(C.isDefined)),P=C.ERRORS.REQUIRES_INVALID_FIELDS.err(`On field "${o.coordinate}", for ${s}: ${N((0,C.printSubgraphNames)(F.map(K=>K.name)))}`,{nodes:R});l.errors.push((0,C.addSubgraphToError)(P,a.name))},v=p.message.match(/Unknown argument \"(?[^"]*)\" found in value: \"(?[^"]*)\" has no argument.*/);if(v){let g=(e=v.groups)===null||e===void 0?void 0:e.arg,T=(t=v.groups)===null||t===void 0?void 0:t.field;c(g,T,S=>!S.argument(g),S=>`cannot provide a value for argument "${g}" of field "${T}" as argument "${g}" is not defined in ${S}`);continue}let y=p.message.match(/Missing mandatory value for argument \"(?[^"]*)\" of field \"(?[^"]*)\".*/);if(y){let g=(n=y.groups)===null||n===void 0?void 0:n.arg,T=(r=y.groups)===null||r===void 0?void 0:r.field;c(g,T,S=>{var N;return!!(!((N=S.argument(g))===null||N===void 0)&&N.isRequired())},S=>`no value provided for argument "${g}" of field "${T}" but a value is mandatory as "${g}" is required in ${S}`);continue}(0,C.assert)(!1,()=>`Unexpected error throw by ${s} when evaluated on supergraph: ${p.message}`)}}}updateInaccessibleErrorsWithLinkToSubgraphs(e){function t(n,r,a,s){switch((0,C.errorCode)(r)){case C.ERRORS.REFERENCED_INACCESSIBLE.code:{if(!(n instanceof C.FieldDefinition||n instanceof C.ArgumentDefinition||n instanceof C.InputFieldDefinition))return!1;let o=n.type,u=a[0];return!!o&&(0,C.baseType)(o).name===u}case C.ERRORS.DEFAULT_VALUE_USES_INACCESSIBLE.code:return!0;case C.ERRORS.REQUIRED_INACCESSIBLE.code:{if(!(n instanceof C.ArgumentDefinition||n instanceof C.InputFieldDefinition))return!1;let o=n.type;return o&&(0,C.isNonNullType)(o)||n.defaultValue===void 0}case C.ERRORS.IMPLEMENTED_BY_INACCESSIBLE.code:return!0;case C.ERRORS.DISALLOWED_INACCESSIBLE.code:return s;case C.ERRORS.ONLY_INACCESSIBLE_CHILDREN.code:return s;default:return!1}}return e.map(n=>{let r=n.extensions.inaccessible_elements;if(!Array.isArray(r))return n;let a=[],s=[];for(let u of r)typeof u=="string"&&a.push(...(0,C.sourceASTs)(...this.subgraphsSchema.flatMap((p,d)=>{let l=p.elementByCoordinate(u);if(l){let c=(0,C.federationMetadata)(p).inaccessibleDirective();if(l.hasAppliedDirective(c))return s[d]=!0,[l]}return[]})));let o=n.extensions.inaccessible_referencers;if(Array.isArray(o))for(let u of o)typeof u=="string"&&a.push(...(0,C.sourceASTs)(...this.subgraphsSchema.flatMap((p,d)=>{let l=p.elementByCoordinate(u);return l&&t(l,n,r,s[d])?[l]:[]})));return a.length>0?(0,C.withModifiedErrorNodes)(n,a):n})}validateSubscriptionField(e){let t=[];for(let[n,r]of e.entries())r&&r.hasAppliedDirective(this.metadata(n).shareableDirective())&&t.push(r);if(t.length>0){let n=(0,C.sourceASTs)(...t);this.errors.push(C.ERRORS.INVALID_FIELD_SHARING.err("Fields on root level subscription object cannot be marked as shareable",{nodes:n}))}}getFieldsWithFromContextDirective(){return this.getFieldsWithAppliedDirective(e=>e.metadata().fromContextDirective(),e=>{let t=e.parent.parent;return(0,C.assert)((0,C.isFieldDefinition)(t),()=>`Expected ${e.parent} to be a field`),t})}getFieldsWithOverrideDirective(){return this.getFieldsWithAppliedDirective(e=>e.metadata().overrideDirective(),e=>{let t=e.parent;return(0,C.assert)((0,C.isFieldDefinition)(t),()=>`Expected ${e.parent} to be a field`),t})}getFieldsWithAppliedDirective(e,t){let n=new Set;for(let r of this.subgraphs){let a=e(r);if((0,C.isFederationDirectiveDefinedInSchema)(a))for(let s of a.applications()){let u=t(s).coordinate;n.has(u)||n.add(u)}}return n}}});var Qh=D(nu=>{"use strict";h();m();var Rle=nu&&nu.__createBinding||(Object.create?function(i,e,t,n){n===void 0&&(n=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,n,r)}:function(i,e,t,n){n===void 0&&(n=t),i[n]=e[t]}),Ble=nu&&nu.__exportStar||function(i,e){for(var t in i)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Rle(e,i,t)};Object.defineProperty(nu,"__esModule",{value:!0});Ble(zR(),nu)});var M9=D(Xn=>{"use strict";h();m();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.ValidationState=Xn.ValidationContext=Xn.extractValidationError=Xn.validateGraphComposition=Xn.ValidationError=void 0;var Ee=wi(),Jn=C9(),WR=Nc(),Wh=ft(),js=(0,Ee.newDebugLogger)("validation"),Mp=class extends Error{constructor(e,t,n,r){super(e),this.supergraphUnsatisfiablePath=t,this.subgraphsPaths=n,this.witness=r,this.name="ValidationError"}};Xn.ValidationError=Mp;function Lle(i,e,t){let n=k9(i),a=`The following supergraph API query: ${(0,Wh.print)((0,Ee.operationToDocument)(n))} cannot be satisfied by the subgraphs because: `+$le(t),s=new Mp(a,i,e,n);return Ee.ERRORS.SATISFIABILITY_ERROR.err(s.message,{originalError:s})}function XR(i,e){return i.currentSubgraphs().map(({name:t,schema:n})=>{let r=e(n);return r?(0,Ee.addSubgraphToASTNode)(r,t):void 0}).filter(Ee.isDefined)}function xle(i,e,t){let n=k9(i.supergraphPath),r=(0,Wh.print)((0,Ee.operationToDocument)(n)),a=[...t].map(([u,p])=>` - in ${(0,Ee.printSubgraphNames)(p)}, ${u}`),s=`For the following supergraph API query: ${r} Shared field "${e.coordinate}" return type "${e.type}" has a non-intersecting set of possible runtime types across subgraphs. Runtime types in subgraphs are: ${a.join(`; `)}. This is not allowed as shared fields must resolve the same way in all subgraphs, and that imply at least some common runtime types between the subgraphs.`,o=new Mp(s,i.supergraphPath,i.subgraphPathInfos.map(u=>u.path.path),n);return Ee.ERRORS.SHAREABLE_HAS_MISMATCHED_RUNTIME_TYPES.err(o.message,{nodes:XR(i,u=>{var p,d;return(d=(p=u.type(e.parent.name))===null||p===void 0?void 0:p.field(e.name))===null||d===void 0?void 0:d.sourceAST})})}function Ple(i,e,t,n){let r=k9(i.supergraphPath),a=(0,Wh.print)((0,Ee.operationToDocument)(r)),s=i.currentSubgraphNames(),o=d=>(0,Ee.printHumanReadableList)(d.map(l=>'"'+l+'"'),{prefix:"type",prefixPlural:"types"}),u=s.map(d=>{let l=n.get(d).filter(c=>!t.includes(c));if(l.length!==0)return` - subgraph "${d}" should never resolve "${e.coordinate}" to an object of ${o(l)}`}).filter(Ee.isDefined),p=`For the following supergraph API query: ${a} Shared field "${e.coordinate}" return type "${e.type}" has different sets of possible runtime types across subgraphs. Since a shared field must be resolved the same way in all subgraphs, make sure that ${(0,Ee.printSubgraphNames)(s)} only resolve "${e.coordinate}" to objects of ${o(t)}. In particular: ${u.join(`; `)}. Otherwise the @shareable contract will be broken.`;return new WR.CompositionHint(WR.HINTS.INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN,p,e,XR(i,d=>{var l,c;return(c=(l=d.type(e.parent.name))===null||l===void 0?void 0:l.field(e.name))===null||c===void 0?void 0:c.sourceAST}))}function $le(i){let e=new Ee.MultiMap;for(let t of i)for(let n of t.reasons)e.add(n.sourceSubgraph,n);return[...e.entries()].map(([t,n])=>{let r=`- from subgraph "${t}":`;if(n.length===1)r+=" "+n[0].details+".";else{let a=new Set(n.map(s=>s.details));for(let s of a)r+=` - `+s+"."}return r}).join(` `)}function k9(i){(0,Ee.assert)(i.size>0,"unsatisfiablePath should contain at least one edge/transition");let e=i.root,t=i.graph.sources.get(e.source);return new Ee.Operation(t,e.rootKind,ZR([...i].map(n=>n[0]),0),new Ee.VariableDefinitions)}function ZR(i,e){if(e>=i.length){let a=i[i.length-1].tail.type;return(0,Ee.assert)((0,Ee.isOutputType)(a),"Should not have input types as vertex types"),(0,Ee.isLeafType)(a)?void 0:new Ee.SelectionSet(a)}let t=i[e],n,r=ZR(i,e+1);switch(t.transition.kind){case"DownCast":let a=t.transition.castedType;n=(0,Ee.selectionOfElement)(new Ee.FragmentElement(t.transition.sourceType,a.name),r);break;case"FieldCollection":let s=t.transition.definition;n=new Ee.FieldSelection(Vle(s),r);break;case"SubgraphEnteringTransition":case"KeyResolution":case"RootTypeResolution":case"InterfaceObjectFakeDownCast":(0,Ee.assert)(!1,`Invalid edge ${t} found in supergraph path`)}return(0,Ee.selectionSetOf)(t.head.type,n)}function Vle(i){if(i.arguments().length===0)return new Ee.Field(i);let e=Object.create(null);for(let t of i.arguments())e[t.name]=$9(t.type);return new Ee.Field(i,e)}function $9(i){switch(i.kind){case"ScalarType":switch(i.name){case"Int":return 0;case"Float":return 3.14;case"Boolean":return!0;case"String":return"A string value";case"ID":return"";default:return""}case"EnumType":return i.values[0].name;case"InputObjectType":let e=Object.create(null);for(let t of i.fields())t.defaultValue||(0,Ee.isNullableType)(t.type)||(e[t.name]=$9(t.type));return e;case"ListType":return[];case"NonNullType":return $9(i.ofType);default:(0,Ee.assert)(!1,`Unhandled input type ${i}`)}}function kle(i,e,t,n){let{errors:r,hints:a}=new V9(i,e,t,n).validate();return r.length>0?{errors:r,hints:a}:{hints:a}}Xn.validateGraphComposition=kle;function Mle(i,e){let t=e.root(i);(0,Ee.assert)(t,()=>`The supergraph shouldn't have a ${i} root if no subgraphs have one`),(0,Ee.assert)(t.type.name==(0,Jn.federatedGraphRootTypeName)(i),()=>`Unexpected type ${t.type} for subgraphs root type (expected ${(0,Jn.federatedGraphRootTypeName)(i)}`);let n=Jn.GraphPath.fromGraphRoot(e,i);return e.outEdges(t).map(r=>n.add(Jn.subgraphEnteringTransition,r,Jn.noConditionsResolution))}function JR(i){let e=i.tailPossibleRuntimeTypes().map(t=>t.name);return e.sort((t,n)=>t.localeCompare(n)),e}function Ule(i){if(!(!(i instanceof Wh.GraphQLError)||!(i.originalError instanceof Mp)))return i.originalError}Xn.extractValidationError=Ule;var zh=class{constructor(e,t){var n,r;this.supergraphSchema=e,this.subgraphNameToGraphEnumValue=t;let[a,s]=(0,Ee.validateSupergraph)(e);this.joinTypeDirective=s.typeDirective(e),this.joinFieldDirective=s.fieldDirective(e),this.typesToContexts=new Map;let o,u=(n=e.coreFeatures)===null||n===void 0?void 0:n.getByIdentity(Ee.ContextSpecDefinition.identity);if(u){let p=Ee.CONTEXT_VERSIONS.find(u.url.version);(0,Ee.assert)(p,`Unexpected context spec version ${u.url.version}`),o=p.contextDirective(e)}for(let p of(r=o?.applications())!==null&&r!==void 0?r:[]){let{name:d}=p.arguments();(0,Ee.assert)(p.parent instanceof Ee.NamedSchemaElement,"Unexpectedly found unnamed element with @context");let l=e.type(p.parent.name);(0,Ee.assert)(l,`Type ${p.parent.name} unexpectedly doesn't exist`);let c=[l.name];(0,Ee.isInterfaceType)(l)?c.push(...l.allImplementations().map(v=>v.name)):(0,Ee.isUnionType)(l)&&c.push(...l.types().map(v=>v.name));for(let v of c)this.typesToContexts.has(v)?this.typesToContexts.get(v).add(d):this.typesToContexts.set(v,new Set([d]))}}isShareable(e){let t=this.supergraphSchema.type(e.parent.name);if((0,Ee.assert)(t&&(0,Ee.isCompositeType)(t),()=>`${e.parent.name} should exists in the supergraph and be a composite`),!(0,Ee.isObjectType)(t))return!1;let n=t.field(e.name);(0,Ee.assert)(n,()=>`${e.coordinate} should exists in the supergraph`);let r=n.appliedDirectivesOf(this.joinFieldDirective);return r.length===0?t.appliedDirectivesOf(this.joinTypeDirective).length>1:r.filter(a=>{let s=a.arguments();return!s.external&&!s.usedOverridden}).length>1}matchingContexts(e){var t;return[...(t=this.typesToContexts.get(e))!==null&&t!==void 0?t:[]]}};Xn.ValidationContext=zh;var ru=class{constructor(e,t,n=new Map){this.supergraphPath=e,this.subgraphPathInfos=t,this.selectedOverrideConditions=n}static initial({supergraphAPI:e,kind:t,federatedQueryGraph:n,conditionResolver:r,overrideConditions:a}){return new ru(Jn.GraphPath.fromGraphRoot(e,t),Mle(t,n).map(s=>Jn.TransitionPathWithLazyIndirectPaths.initial(s,r,a)).map(s=>({path:s,contexts:new Map})))}validateTransition(e,t,n){(0,Ee.assert)(!t.conditions,()=>`Supergraph edges should not have conditions (${t})`);let r=t.transition,a=t.tail.type,s=[],o=[],u=new Map([...this.selectedOverrideConditions]);t.overrideCondition&&u.set(t.overrideCondition.label,t.overrideCondition.condition);for(let{path:c,contexts:v}of this.subgraphPathInfos){let y=(0,Jn.advancePathWithTransition)(c,r,a,u);if((0,Jn.isUnadvanceableClosures)(y)){o.push(y);continue}if(y.length===0)return{state:void 0};let g=v;if(n.length){let T=c.path.tail.source,S=c.path.tail.type.name;g=new Map([...v]);for(let N in n)g.set(N,{subgraphName:T,typeName:S})}s.push(...y.map(T=>({path:T,contexts:g})))}let p=this.supergraphPath.add(r,t,Jn.noConditionsResolution);if(s.length===0)return{error:Lle(p,this.subgraphPathInfos.map(c=>c.path.path),o.map(c=>c.toUnadvanceables()))};let d=new ru(p,s,u),l;if(s.length>1&&r.kind==="FieldCollection"&&(0,Ee.isAbstractType)(p.tail.type)&&e.isShareable(r.definition)&&s.map(v=>v.path.path).filter(v=>(0,Ee.isAbstractType)(v.tail.type)).length>1){let v=JR(p),y=v,g=new Ee.MultiMap,T=new Ee.MultiMap,S=!0;for(let{path:N}of s){let F=N.path.tail.source,R=JR(N.path);if(R.length===1&&!v.includes(R[0]))continue;T.set(F,R);let P="no runtime type is defined";R.length>0&&(P=(R.length>1?"types ":"type ")+(0,Ee.joinStrings)(R.map(K=>`"${K}"`)),S=!1),g.add(P,F),y=y.filter(K=>R.includes(K))}if(!S){if(y.length===0)return{error:xle(d,r.definition,g)};g.size>1&&(l=Ple(d,r.definition,y,T))}}return{state:d,hint:l}}currentSubgraphNames(){let e=[];for(let t of this.subgraphPathInfos){let n=t.path.path.tail.source;e.includes(n)||e.push(n)}return e}currentSubgraphContextKeys(e){let t=new Set;for(let n of this.subgraphPathInfos){let r=n.path.path.tail.source,a=e.get(r),s=[],o=Array.from(n.contexts.entries());o.sort((u,p)=>u[0].localeCompare(p[0]));for(let[u,{subgraphName:p,typeName:d}]of o){let l=e.get(p);s.push(`${u}=${l}.${d}`)}t.add(`${a}[${s.join(",")}]`)}return t}currentSubgraphs(){if(this.subgraphPathInfos.length===0)return[];let e=this.subgraphPathInfos[0].path.path.graph.sources;return this.currentSubgraphNames().map(t=>({name:t,schema:e.get(t)}))}toString(){return`${this.supergraphPath} <=> [${this.subgraphPathInfos.map(e=>e.path.toString()).join(", ")}]`}};Xn.ValidationState=ru;function jle(i,e){let t=[...e.subgraphContextKeys].every(r=>i.subgraphContextKeys.has(r)),n=[...e.overrideConditions.entries()].every(([r,a])=>i.overrideConditions.get(r)===a);return t&&n}var V9=class{constructor(e,t,n,r){this.stack=[],this.validationErrors=[],this.validationHints=[],this.conditionResolver=(0,Jn.simpleValidationConditionResolver)({supergraph:e,queryGraph:r,withCaching:!0}),n.rootKinds().forEach(a=>this.stack.push(ru.initial({supergraphAPI:n,kind:a,federatedQueryGraph:r,conditionResolver:this.conditionResolver,overrideConditions:new Map}))),this.previousVisits=new Jn.QueryGraphState,this.context=new zh(e,t)}validate(){for(;this.stack.length>0;)this.handleState(this.stack.pop());return{errors:this.validationErrors,hints:this.validationHints}}handleState(e){var t,n,r;js.group(()=>`Validation: ${this.stack.length+1} open states. Validating ${e}`);let a=e.supergraphPath.tail,s={subgraphContextKeys:e.currentSubgraphContextKeys(this.context.subgraphNameToGraphEnumValue),overrideConditions:e.selectedOverrideConditions},o=this.previousVisits.getVertexState(a);if(o){for(let u of o)if(jle(s,u)){js.groupEnd("Has already validated this vertex.");return}o.push(s)}else this.previousVisits.setVertexState(a,[s]);for(let u of e.supergraphPath.nextEdges()){if(u.isEdgeForField(Ee.typenameFieldName))continue;if(u.overrideCondition&&e.selectedOverrideConditions.has(u.overrideCondition.label)&&!u.satisfiesOverrideConditions(e.selectedOverrideConditions)){js.groupEnd(`Edge ${u} doesn't satisfy label condition: ${(t=u.overrideCondition)===null||t===void 0?void 0:t.label}(${e.selectedOverrideConditions.get((r=(n=u.overrideCondition)===null||n===void 0?void 0:n.label)!==null&&r!==void 0?r:"")}), no need to validate further`);continue}let p=u.transition.kind==="FieldCollection"?this.context.matchingContexts(u.head.type.name):[];js.group(()=>`Validating supergraph edge ${u}`);let{state:d,error:l,hint:c}=e.validateTransition(this.context,u,p);if(l){js.groupEnd("Validation error!"),this.validationErrors.push(l);continue}c&&this.validationHints.push(c),d&&!d.supergraphPath.isTerminal()?(this.stack.push(d),js.groupEnd(()=>`Reached new state ${d}`)):js.groupEnd("Reached terminal vertex/cycle")}js.groupEnd()}}});var nB=D(Gs=>{"use strict";h();m();Object.defineProperty(Gs,"__esModule",{value:!0});Gs.validateSatisfiability=Gs.composeServices=Gs.compose=void 0;var qs=wi(),eB=C9(),qle=Qh(),Gle=M9();function Kle(i){var e;(0,qs.assert)(!(!((e=i?.allowedFieldTypeMergingSubtypingRules)===null||e===void 0)&&e.includes("list_upgrade")),"The `list_upgrade` field subtyping rule is currently not supported")}function tB(i,e={}){var t;let{runSatisfiability:n=!0,sdlPrintOptions:r}=e;Kle(e);let a=Hle(i);if(a.errors)return{errors:a.errors};let s;if(n&&(s=iB({supergraphSchema:a.supergraph}),s.errors))return{errors:s.errors};let o;try{o=(0,qs.printSchema)(a.supergraph,r??(0,qs.shallowOrderPrintedDefinitions)(qs.defaultPrintOptions))}catch(u){return{errors:[u]}}return{schema:a.supergraph,supergraphSdl:o,hints:[...a.hints,...(t=s?.hints)!==null&&t!==void 0?t:[]]}}Gs.compose=tB;function Qle(i,e={}){let t=(0,qs.subgraphsFromServiceList)(i);return Array.isArray(t)?{errors:t}:tB(t,e)}Gs.composeServices=Qle;function iB({supergraphSchema:i,supergraphSdl:e}){let t=i?new qs.Supergraph(i,null):qs.Supergraph.build(e),n=(0,eB.buildSupergraphAPIQueryGraph)(t),r=(0,eB.buildFederatedQueryGraph)(t,!1);return(0,Gle.validateGraphComposition)(t.schema,t.subgraphNameToGraphEnumValue(),n,r)}Gs.validateSatisfiability=iB;function Hle(i){let e=(0,qs.upgradeSubgraphsIfNecessary)(i);if(e.errors)return{errors:e.errors};let t=e.subgraphs,n=t.validate();return n?{errors:n}:(0,qle.mergeSubgraphs)(t)}});var rB=D(Ga=>{"use strict";h();m();var Yle=Ga&&Ga.__createBinding||(Object.create?function(i,e,t,n){n===void 0&&(n=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,n,r)}:function(i,e,t,n){n===void 0&&(n=t),i[n]=e[t]}),U9=Ga&&Ga.__exportStar||function(i,e){for(var t in i)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Yle(e,i,t)};Object.defineProperty(Ga,"__esModule",{value:!0});U9(nB(),Ga);U9(Qh(),Ga);U9(M9(),Ga)});var sB=D(Zh=>{"use strict";h();m();Object.defineProperty(Zh,"__esModule",{value:!0});Zh.composition=void 0;var zle=rB(),aB=ft(),Wle=wi(),Jle=Number.MAX_VALUE;function Xle(i,e){let t=e||Jle;if(!i||!Array.isArray(i))throw new Error("Error in JS-Rust-land: serviceList missing or incorrect.");i.some(s=>{if(typeof s.name!="string"||!s.name||typeof s.url!="string"&&s.url||typeof s.sdl!="string"&&s.sdl)throw new Error("Missing required data structure on service.")});let n=i.map(({sdl:s,name:o,...u})=>({typeDefs:Zle(s,o),name:o,...u})),r=(0,zle.composeServices)(n),a=[];if(r.hints&&r.hints.map(s=>{var o,u,p,d;let l=[],c=0;((o=s.nodes)===null||o===void 0?void 0:o.length)>=t?((u=s.nodes)===null||u===void 0||u.slice(0,t).map(v=>l.push(Jh(v))),c=((p=s.nodes)===null||p===void 0?void 0:p.length)-t):(d=s.nodes)===null||d===void 0||d.map(v=>l.push(Jh(v))),a.push({message:s.toString(),code:s.definition.code,nodes:l,omittedNodesCount:c})}),r.errors){let s=[];return r.errors.map(o=>{var u,p,d,l,c;let v=[],y=0;((u=o.nodes)===null||u===void 0?void 0:u.length)>=t?((p=o.nodes)===null||p===void 0||p.slice(0,t).map(g=>v.push(Jh(g))),y=((d=o.nodes)===null||d===void 0?void 0:d.length)-t):(l=o.nodes)===null||l===void 0||l.map(g=>v.push(Jh(g))),s.push({code:(c=o?.extensions.code)!==null&&c!==void 0?c:"",message:o.message,nodes:v,omittedNodesCount:y})}),{Err:s}}else return{Ok:{supergraphSdl:r.supergraphSdl,hints:a}}}Zh.composition=Xle;function Jh(i){var e,t;let n={subgraph:i?.subgraph};return i.loc&&(n.source=(t=(e=i.loc)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.body,n.start=Xh(i.loc.startToken),n.end=Xh(i.loc.endToken)),n}function Xh(i){return{start:i.start,end:i.end,line:i.line,column:i.column}}function Zle(i,e){try{return(0,aB.parse)(i)}catch(t){let n=[];throw t instanceof aB.GraphQLError&&(n=t.nodes!=null?t.nodes.map(function(a){return{subgraph:e,source:i,start:Xh(a.loc.startToken),end:Xh(a.loc.endToken)}}):[{subgraph:e,source:i}]),{code:Wle.ERRORS.INVALID_GRAPHQL.code,message:"["+e+"] - "+t.toString(),nodes:n,omittedNodesCount:0}}}});var tce=D(e2=>{h();m();Object.defineProperty(e2,"__esModule",{value:!0});e2.composition=void 0;var ece=sB();Object.defineProperty(e2,"composition",{enumerable:!0,get:function(){return ece.composition}})});return tce();})(); /*! Bundled license information: ieee754/index.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) buffer/index.js: (*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT *) */ //# sourceMappingURL=composition_bridge.js.map