"use strict";var bridge=(()=>{var qj=Object.defineProperty;var Mj=(n,e,t)=>e in n?qj(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Gg=(n,e)=>()=>(n&&(e=n(n=0)),e);var T=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var vt=(n,e,t)=>(Mj(n,typeof e!="symbol"?e+"":e,t),t),Qg=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)};var Et=(n,e,t)=>(Qg(n,e,"read from private field"),t?t.call(n):e.get(n)),Ds=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},Kg=(n,e,t,i)=>(Qg(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t);var py=T(dt=>{"use strict";f();c();function wi(n,e){return`${e&&e.context?e.context:"Value"} ${n}.`}function Uj(n){if(n===null)return"Null";switch(typeof n){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 Gj(n){return n>0&&n%1===.5&&!(n&1)||n<0&&n%1===-.5&&(n&1)===1?n0(Math.floor(n)):n0(Math.round(n))}function Hg(n){return n0(Math.trunc(n))}function zg(n){return n<0?-1:1}function Qj(n,e){let t=n%e;return zg(e)!==zg(t)?t+e:t}function n0(n){return n===0?0:n}function mo(n,e){let t=!e.unsigned,i,r;n===64?(r=Math.pow(2,53)-1,i=t?-Math.pow(2,53)+1:0):t?(i=-Math.pow(2,n-1),r=Math.pow(2,n-1)-1):(i=0,r=Math.pow(2,n)-1);let a=Math.pow(2,n),o=Math.pow(2,n-1);return(s,u)=>{u===void 0&&(u={});let p=+s;if(p=n0(p),u.enforceRange){if(!Number.isFinite(p))throw new TypeError(wi("is not a finite number",u));if(p=Hg(p),pr)throw new TypeError(wi(`is outside the accepted range of ${i} to ${r}, inclusive`,u));return p}return!Number.isNaN(p)&&u.clamp?(p=Math.min(Math.max(p,i),r),p=Gj(p),p):!Number.isFinite(p)||p===0?0:(p=Hg(p),p>=i&&p<=r?p:(p=Qj(p,a),t&&p>=o?p-a:p))}}dt.any=n=>n;dt.void=function(){};dt.boolean=function(n){return!!n};dt.byte=mo(8,{unsigned:!1});dt.octet=mo(8,{unsigned:!0});dt.short=mo(16,{unsigned:!1});dt["unsigned short"]=mo(16,{unsigned:!0});dt.long=mo(32,{unsigned:!1});dt["unsigned long"]=mo(32,{unsigned:!0});dt["long long"]=mo(64,{unsigned:!1});dt["unsigned long long"]=mo(64,{unsigned:!0});dt.double=(n,e)=>{let t=+n;if(!Number.isFinite(t))throw new TypeError(wi("is not a finite floating-point value",e));return t};dt["unrestricted double"]=n=>+n;dt.float=(n,e)=>{let t=+n;if(!Number.isFinite(t))throw new TypeError(wi("is not a finite floating-point value",e));if(Object.is(t,-0))return t;let i=Math.fround(t);if(!Number.isFinite(i))throw new TypeError(wi("is outside the range of a single-precision floating-point value",e));return i};dt["unrestricted float"]=n=>{let e=+n;return isNaN(e)||Object.is(e,-0)?e:Math.fround(e)};dt.DOMString=function(n,e){if(e===void 0&&(e={}),e.treatNullAsEmptyString&&n===null)return"";if(typeof n=="symbol")throw new TypeError(wi("is a symbol, which cannot be converted to a string",e));return String(n)};dt.ByteString=(n,e)=>{let t=dt.DOMString(n,e),i;for(let r=0;(i=t.codePointAt(r))!==void 0;++r)if(i>255)throw new TypeError(wi("is not a valid ByteString",e));return t};dt.USVString=(n,e)=>{let t=dt.DOMString(n,e),i=t.length,r=[];for(let a=0;a57343)r.push(String.fromCodePoint(o));else if(56320<=o&&o<=57343)r.push(String.fromCodePoint(65533));else if(a===i-1)r.push(String.fromCodePoint(65533));else{let s=t.charCodeAt(a+1);if(56320<=s&&s<=57343){let u=o&1023,p=s&1023;r.push(String.fromCodePoint((2<<15)+(2<<9)*u+p)),++a}else r.push(String.fromCodePoint(65533))}}return r.join("")};dt.object=(n,e)=>{if(Uj(n)!=="Object")throw new TypeError(wi("is not an object",e));return n};function Wg(n,e){if(typeof n!="function")throw new TypeError(wi("is not a function",e));return n}[Error,ArrayBuffer,DataView,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(n=>{let e=n.name,t=/^[AEIOU]/.test(e)?"an":"a";dt[e]=(i,r)=>{if(!(i instanceof n))throw new TypeError(wi(`is not ${t} ${e} object`,r));return i}});dt.ArrayBufferView=(n,e)=>{if(!ArrayBuffer.isView(n))throw new TypeError(wi("is not a view on an ArrayBuffer object",e));return n};dt.BufferSource=(n,e)=>{if(!(ArrayBuffer.isView(n)||n instanceof ArrayBuffer))throw new TypeError(wi("is not an ArrayBuffer object or a view on one",e));return n};dt.DOMTimeStamp=dt["unsigned long long"];dt.Function=Wg;dt.VoidFunction=Wg});var dy=T((eA,tA)=>{"use strict";f();c();function Kj(n){return typeof n=="object"&&n!==null||typeof n=="function"}function Hj(n,e){return Object.prototype.hasOwnProperty.call(n,e)}var zj=typeof Object.getOwnPropertyDescriptors=="function"?Object.getOwnPropertyDescriptors:n=>{if(n==null)throw new TypeError("Cannot convert undefined or null to object");n=Object(n);let e=Reflect.ownKeys(n),t={};for(let i of e){let r=Reflect.getOwnPropertyDescriptor(n,i);r!==void 0&&Reflect.defineProperty(t,i,{value:r,writable:!0,enumerable:!0,configurable:!0})}return t},Yg=Symbol("wrapper"),Jg=Symbol("impl"),Ku=Symbol("SameObject caches");function Wj(n,e,t){return n[Ku]||(n[Ku]=Object.create(null)),e in n[Ku]||(n[Ku][e]=t()),n[Ku][e]}function Xg(n){return n?n[Yg]:null}function Zg(n){return n?n[Jg]:null}function Yj(n){let e=Xg(n);return e||n}function Jj(n){let e=Zg(n);return e||n}var Xj=Symbol("internal"),Zj=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function eq(n){if(typeof n!="string")return!1;let e=n>>>0;if(e===Math.pow(2,32)-1)return!1;let t=`${e}`;return n===t}var tq=Symbol("supports property index"),nq=Symbol("supported property indices"),iq=Symbol("supports property name"),rq=Symbol("supported property names"),aq=Symbol("indexed property get"),oq=Symbol("indexed property set new"),sq=Symbol("indexed property set existing"),uq=Symbol("named property get"),pq=Symbol("named property set new"),dq=Symbol("named property set existing"),lq=Symbol("named property delete");tA.exports=eA={isObject:Kj,hasOwn:Hj,getOwnPropertyDescriptors:zj,wrapperSymbol:Yg,implSymbol:Jg,getSameObject:Wj,wrapperForImpl:Xg,implForWrapper:Zg,tryWrapperForImpl:Yj,tryImplForWrapper:Jj,iterInternalSymbol:Xj,IteratorPrototype:Zj,isArrayIndexPropName:eq,supportsPropertyIndex:tq,supportedPropertyIndices:nq,supportsPropertyName:iq,supportedPropertyNames:rq,indexedGet:aq,indexedSetNew:oq,indexedSetExisting:sq,namedGet:uq,namedSetNew:pq,namedSetExisting:dq,namedDelete:lq}});var fy=T((j6e,pA)=>{"use strict";f();c();var iA="-",cq=/^xn--/,fq=/[^\0-\x7E]/,hq=/[\x2E\u3002\uFF0E\uFF61]/g,mq={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ly=36-1,Jr=Math.floor,cy=String.fromCharCode;function _s(n){throw new RangeError(mq[n])}function yq(n,e){let t=[],i=n.length;for(;i--;)t[i]=e(n[i]);return t}function rA(n,e){let t=n.split("@"),i="";t.length>1&&(i=t[0]+"@",n=t[1]),n=n.replace(hq,".");let r=n.split("."),a=yq(r,e).join(".");return i+a}function aA(n){let e=[],t=0,i=n.length;for(;t=55296&&r<=56319&&tString.fromCodePoint(...n),Eq=function(n){return n-48<10?n-22:n-65<26?n-65:n-97<26?n-97:36},nA=function(n,e){return n+22+75*(n<26)-((e!=0)<<5)},oA=function(n,e,t){let i=0;for(n=t?Jr(n/700):n>>1,n+=Jr(n/e);n>ly*26>>1;i+=36)n=Jr(n/ly);return Jr(i+(ly+1)*n/(n+38))},sA=function(n){let e=[],t=n.length,i=0,r=128,a=72,o=n.lastIndexOf(iA);o<0&&(o=0);for(let s=0;s=128&&_s("not-basic"),e.push(n.charCodeAt(s));for(let s=o>0?o+1:0;s=t&&_s("invalid-input");let m=Eq(n.charCodeAt(s++));(m>=36||m>Jr((2147483647-i)/d))&&_s("overflow"),i+=m*d;let y=l<=a?1:l>=a+26?26:l-a;if(mJr(2147483647/v)&&_s("overflow"),d*=v}let p=e.length+1;a=oA(i-u,p,u==0),Jr(i/p)>2147483647-r&&_s("overflow"),r+=Jr(i/p),i%=p,e.splice(i++,0,r)}return String.fromCodePoint(...e)},uA=function(n){let e=[];n=aA(n);let t=n.length,i=128,r=0,a=72;for(let u of n)u<128&&e.push(cy(u));let o=e.length,s=o;for(o&&e.push(iA);s=i&&dJr((2147483647-r)/p)&&_s("overflow"),r+=(u-i)*p,i=u;for(let d of n)if(d2147483647&&_s("overflow"),d==i){let l=r;for(let m=36;;m+=36){let y=m<=a?1:m>=a+26?26:m-a;if(l{"use strict";f();c();var bq=/[\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,Sq=/[\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,Dq=/[\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,_q=/[\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,Fq=/[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,Cq=/[\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,Nq=/^[\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,Oq=/[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,Iq=/[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,wq=/[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u08E2\u{10E60}-\u{10E7E}]/u,Rq=/^[\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,Bq=/[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;dA.exports={combiningMarks:bq,combiningClassVirama:Sq,validZWNJ:Dq,bidiDomain:_q,bidiS1LTR:Fq,bidiS1RTL:Cq,bidiS2:Nq,bidiS3:Oq,bidiS4EN:Iq,bidiS4AN:wq,bidiS5:Rq,bidiS6:Bq}});var cA=T((K6e,Lq)=>{Lq.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 vA=T((H6e,yA)=>{"use strict";f();c();var hy=fy(),Ri=lA(),fA=cA();function Pq(n){return/[^\x00-\x7F]/.test(n)}function hA(n,{useSTD3ASCIIRules:e}){let t=0,i=fA.length-1;for(;t<=i;){let r=Math.floor((t+i)/2),a=fA[r];if(a[0][0]<=n&&a[0][1]>=n)return a[1].startsWith("disallowed_STD3_")?[e?"disallowed":a[1].slice(16),...a.slice(2)]:a.slice(1);a[0][0]>n?i=r-1:t=r+1}return null}function xq(n,{useSTD3ASCIIRules:e,processingOption:t}){let i=!1,r="";for(let a of n){let[o,s]=hA(a.codePointAt(0),{useSTD3ASCIIRules:e});switch(o){case"disallowed":i=!0,r+=a;break;case"ignored":break;case"mapped":r+=s;break;case"deviation":t==="transitional"?r+=s:r+=a;break;case"valid":r+=a;break}}return{string:r,error:i}}function kq(n,{checkHyphens:e,checkBidi:t,checkJoiners:i,processingOption:r,useSTD3ASCIIRules:a}){if(n.normalize("NFC")!==n)return!1;let o=Array.from(n);if(e&&(o[2]==="-"&&o[3]==="-"||n.startsWith("-")||n.endsWith("-"))||n.includes(".")||o.length>0&&Ri.combiningMarks.test(o[0]))return!1;for(let s of o){let[u]=hA(s.codePointAt(0),{useSTD3ASCIIRules:a});if(r==="transitional"&&u!=="valid"||r==="nontransitional"&&u!=="valid"&&u!=="deviation")return!1}if(i){let s=0;for(let[u,p]of o.entries())if(p==="\u200C"||p==="\u200D"){if(u>0){if(Ri.combiningClassVirama.test(o[u-1]))continue;if(p==="\u200C"){let d=o.indexOf("\u200C",u+1),l=d<0?o.slice(s):o.slice(s,d);if(Ri.validZWNJ.test(l.join(""))){s=u+1;continue}}}return!1}}if(t){let s;if(Ri.bidiS1LTR.test(o[0]))s=!1;else if(Ri.bidiS1RTL.test(o[0]))s=!0;else return!1;if(s){if(!Ri.bidiS2.test(n)||!Ri.bidiS3.test(n)||Ri.bidiS4EN.test(n)&&Ri.bidiS4AN.test(n))return!1}else if(!Ri.bidiS5.test(n)||!Ri.bidiS6.test(n))return!1}return!0}function $q(n){let e=n.map(t=>{if(t.startsWith("xn--"))try{return hy.decode(t.substring(4))}catch{return""}return t}).join(".");return Ri.bidiDomain.test(e)}function mA(n,e){let{processingOption:t}=e,{string:i,error:r}=xq(n,e);i=i.normalize("NFC");let a=i.split("."),o=$q(a);for(let[s,u]of a.entries()){let p=u,d=t;if(p.startsWith("xn--")){try{p=hy.decode(p.substring(4)),a[s]=p}catch{r=!0;continue}d="nontransitional"}if(r)continue;kq(p,Object.assign({},e,{processingOption:d,checkBidi:e.checkBidi&&o}))||(r=!0)}return{string:a.join("."),error:r}}function Vq(n,{checkHyphens:e=!1,checkBidi:t=!1,checkJoiners:i=!1,useSTD3ASCIIRules:r=!1,processingOption:a="nontransitional",verifyDNSLength:o=!1}={}){if(a!=="transitional"&&a!=="nontransitional")throw new RangeError("processingOption must be either transitional or nontransitional");let s=mA(n,{processingOption:a,checkHyphens:e,checkBidi:t,checkJoiners:i,useSTD3ASCIIRules:r}),u=s.string.split(".");if(u=u.map(p=>{if(Pq(p))try{return"xn--"+hy.encode(p)}catch{s.error=!0}return p}),o){let p=u.join(".").length;(p>253||p===0)&&(s.error=!0);for(let d=0;d63||u[d].length===0){s.error=!0;break}}return s.error?null:u.join(".")}function jq(n,{checkHyphens:e=!1,checkBidi:t=!1,checkJoiners:i=!1,useSTD3ASCIIRules:r=!1}={}){let a=mA(n,{processingOption:"nontransitional",checkHyphens:e,checkBidi:t,checkJoiners:i,useSTD3ASCIIRules:r});return{domain:a.string,error:a.error}}yA.exports={toASCII:Vq,toUnicode:jq}});var yy=T((Y6e,gA)=>{"use strict";f();c();function my(n){return n>=48&&n<=57}function EA(n){return n>=65&&n<=90||n>=97&&n<=122}function qq(n){return EA(n)||my(n)}function Mq(n){return my(n)||n>=65&&n<=70||n>=97&&n<=102}gA.exports={isASCIIDigit:my,isASCIIAlpha:EA,isASCIIAlphanumeric:qq,isASCIIHex:Mq}});var qd=T((Z6e,DA)=>{"use strict";f();c();var{isASCIIHex:AA}=yy();function Uq(n,e){let t=[],i=0,r=n.indexOf(e);for(;r>=0;)t.push(n.slice(i,r)),i=r+1,r=n.indexOf(e,i);return i!==n.length&&t.push(n.slice(i)),t}function TA(n,e,t){let i=n.indexOf(e);for(;i>=0;)n[i]=t,i=n.indexOf(e,i+1);return n}function SA(n){let e=n.toString(16).toUpperCase();return e.length===1&&(e="0"+e),"%"+e}function vy(n){let e=buffer_shim.alloc(n.byteLength),t=0;for(let i=0;i=0?(r=i.slice(0,o),a=i.slice(o+1)):(r=i,a=buffer_shim.alloc(0)),r=TA(buffer_shim.from(r),43,32),a=TA(buffer_shim.from(a),43,32),t.push([vy(r).toString(),vy(a).toString()])}return t}function bA(n){let e="";for(let t of n)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+=SA(t);return e}function Qq(n,e=void 0){let t="utf-8";e!==void 0&&(t=e);let i="";for(let[r,a]of n.entries()){let o=bA(buffer_shim.from(a[0])),s=a[1];a.length>2&&a[2]!==void 0&&(a[2]==="hidden"&&o==="_charset_"?s=t:a[2]==="file"&&(s=s.name)),s=bA(buffer_shim.from(s)),r!==0&&(i+="&"),i+=`${o}=${s}`}return i}DA.exports={percentEncode:SA,percentDecode:vy,parseUrlencoded(n){return Gq(buffer_shim.from(n))},serializeUrlencoded:Qq}});var yr=T((nye,Ai)=>{"use strict";f();c();var Hu=fy(),Kq=vA(),Dn=yy(),{percentEncode:NA,percentDecode:Hq}=qd(),OA={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Re=Symbol("failure");function _A(n){return Hu.ucs2.decode(n).length}function FA(n,e){let t=n[e];return isNaN(t)?void 0:String.fromCodePoint(t)}function CA(n){return n==="."||n.toLowerCase()==="%2e"}function zq(n){return n=n.toLowerCase(),n===".."||n==="%2e."||n===".%2e"||n==="%2e%2e"}function Wq(n,e){return Dn.isASCIIAlpha(n)&&(e===58||e===124)}function IA(n){return n.length===2&&Dn.isASCIIAlpha(n.codePointAt(0))&&(n[1]===":"||n[1]==="|")}function Yq(n){return n.length===2&&Dn.isASCIIAlpha(n.codePointAt(0))&&n[1]===":"}function Jq(n){return n.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function Xq(n){return n.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function i0(n){return OA[n]!==void 0}function Sn(n){return i0(n.scheme)}function Ey(n){return!i0(n.scheme)}function wA(n){return OA[n]}function Zq(n){let e=buffer_shim.from(n),t="";for(let i=0;i126}var eM=new Set([47,58,59,61,64,91,92,93,94,124]);function Ty(n){return BA(n)||eM.has(n)}var tM=new Set([32,34,60,62,96]);function RA(n){return Ay(n)||tM.has(n)}var nM=new Set([35,63,123,125]);function BA(n){return RA(n)||nM.has(n)}function Fs(n,e){let t=String.fromCodePoint(n);return e(n)?Zq(t):t}function iM(n){let e=10;if(n.length>=2&&n.charAt(0)==="0"&&n.charAt(1).toLowerCase()==="x"?(n=n.substring(2),e=16):n.length>=2&&n.charAt(0)==="0"&&(n=n.substring(1),e=8),n==="")return 0;let t=/[^0-7]/;return e===10&&(t=/[^0-9]/),e===16&&(t=/[^0-9A-Fa-f]/),t.test(n)?Re:parseInt(n,e)}function rM(n){let e=n.split(".");if(e[e.length-1]===""&&e.length>1&&e.pop(),e.length>4)return n;let t=[];for(let a of e){if(a==="")return n;let o=iM(a);if(o===Re)return n;t.push(o)}for(let a=0;a255)return Re;if(t[t.length-1]>=Math.pow(256,5-t.length))return Re;let i=t.pop(),r=0;for(let a of t)i+=a*Math.pow(256,3-r),++r;return i}function aM(n){let e="",t=n;for(let i=1;i<=4;++i)e=String(t%256)+e,i!==4&&(e="."+e),t=Math.floor(t/256);return e}function oM(n){let e=[0,0,0,0,0,0,0,0],t=0,i=null,r=0;if(n=Hu.ucs2.decode(n),n[r]===58){if(n[r+1]!==58)return Re;r+=2,++t,i=t}for(;r6))return Re;let s=0;for(;n[r]!==void 0;){let u=null;if(s>0)if(n[r]===46&&s<4)++r;else return Re;if(!Dn.isASCIIDigit(n[r]))return Re;for(;Dn.isASCIIDigit(n[r]);){let p=parseInt(FA(n,r));if(u===null)u=p;else{if(u===0)return Re;u=u*10+p}if(u>255)return Re;++r}e[t]=e[t]*256+u,++s,(s===2||s===4)&&++t}if(s!==4)return Re;break}else if(n[r]===58){if(++r,n[r]===void 0)return Re}else if(n[r]!==void 0)return Re;e[t]=a,++t}if(i!==null){let a=t-i;for(t=7;t!==0&&a>0;){let o=e[i+a-1];e[i+a-1]=e[t],e[t]=o,--t,--a}}else if(i===null&&t!==8)return Re;return e}function sM(n){let e="",i=pM(n).idx,r=!1;for(let a=0;a<=7;++a)if(!(r&&n[a]===0)){if(r&&(r=!1),i===a){e+=a===0?"::":":",r=!0;continue}e+=n[a].toString(16),a!==7&&(e+=":")}return e}function gy(n,e=!1){if(n[0]==="[")return n[n.length-1]!=="]"?Re:oM(n.substring(1,n.length-1));if(e)return uM(n);let t=Hq(buffer_shim.from(n)).toString(),i=dM(t);if(i===Re||Jq(i))return Re;let r=rM(i);return typeof r=="number"||r===Re?r:i}function uM(n){if(Xq(n))return Re;let e="",t=Hu.ucs2.decode(n);for(let i=0;it&&(e=i,t=r),i=null,r=0):(i===null&&(i=a),++r);return r>t&&(e=i,t=r),{idx:e,len:t}}function by(n){return typeof n=="number"?aM(n):n instanceof Array?"["+sM(n)+"]":n}function dM(n,e=!1){let t=Kq.toASCII(n,{checkBidi:!0,checkHyphens:!1,checkJoiners:!0,useSTD3ASCIIRules:e,verifyDNSLength:e});return t===null?Re:t}function lM(n){return n.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function cM(n){return n.replace(/\u0009|\u000A|\u000D/g,"")}function LA(n){let{path:e}=n;e.length!==0&&(n.scheme==="file"&&e.length===1&&hM(e[0])||e.pop())}function PA(n){return n.username!==""||n.password!==""}function fM(n){return n.host===null||n.host===""||n.cannotBeABaseURL||n.scheme==="file"}function hM(n){return/^[A-Za-z]:$/.test(n)}function $t(n,e,t,i,r){if(this.pointer=0,this.input=n,this.base=e||null,this.encodingOverride=t||"utf-8",this.stateOverride=r,this.url=i,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 o=lM(this.input);o!==this.input&&(this.parseError=!0),this.input=o}let a=cM(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=Hu.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let o=this.input[this.pointer],s=isNaN(o)?void 0:String.fromCodePoint(o),u=this["parse "+this.state](o,s);if(u){if(u===Re){this.failure=!0;break}}else break}}$t.prototype["parse scheme start"]=function(e,t){if(Dn.isASCIIAlpha(e))this.buffer+=t.toLowerCase(),this.state="scheme";else if(!this.stateOverride)this.state="no scheme",--this.pointer;else return this.parseError=!0,Re;return!0};$t.prototype["parse scheme"]=function(e,t){if(Dn.isASCIIAlphanumeric(e)||e===43||e===45||e===46)this.buffer+=t.toLowerCase();else if(e===58){if(this.stateOverride&&(Sn(this.url)&&!i0(this.buffer)||!Sn(this.url)&&i0(this.buffer)||(PA(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===wA(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"):Sn(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme?this.state="special relative or authority":Sn(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,Re;return!0};$t.prototype["parse no scheme"]=function(e){return this.base===null||this.base.cannotBeABaseURL&&e!==35?Re:(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)};$t.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};$t.prototype["parse path or authority"]=function(e){return e===47?this.state="authority":(this.state="path",--this.pointer),!0};$t.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"):Sn(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};$t.prototype["parse relative slash"]=function(e){return Sn(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};$t.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};$t.prototype["parse special authority ignore slashes"]=function(e){return e!==47&&e!==92?(this.state="authority",--this.pointer):this.parseError=!0,!0};$t.prototype["parse authority"]=function(e,t){if(e===64){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let i=_A(this.buffer);for(let r=0;rMath.pow(2,16)-1)return this.parseError=!0,Re;this.url.port=i===wA(this.url.scheme)?null:i,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}else return this.parseError=!0,Re;return!0};var mM=new Set([47,92,63,35]);function xA(n,e){let t=n.length-e;return t>=2&&Wq(n[e],n[e+1])&&(t===2||mM.has(n[e+2]))}$t.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"):(xA(this.input,this.pointer)?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),LA(this.url)),this.state="path",--this.pointer):(this.state="path",--this.pointer),!0};$t.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"&&!xA(this.input,this.pointer)&&(Yq(this.base.path[0])?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0};$t.prototype["parse file host"]=function(e,t){if(isNaN(e)||e===47||e===92||e===63||e===35)if(--this.pointer,!this.stateOverride&&IA(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 i=gy(this.buffer,Ey(this.url));if(i===Re)return Re;if(i==="localhost"&&(i=""),this.url.host=i,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0};$t.prototype["parse path start"]=function(e){return Sn(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};$t.prototype["parse path"]=function(e){if(isNaN(e)||e===47||Sn(this.url)&&e===92||!this.stateOverride&&(e===63||e===35)){if(Sn(this.url)&&e===92&&(this.parseError=!0),zq(this.buffer)?(LA(this.url),e!==47&&!(Sn(this.url)&&e===92)&&this.url.path.push("")):CA(this.buffer)&&e!==47&&!(Sn(this.url)&&e===92)?this.url.path.push(""):CA(this.buffer)||(this.url.scheme==="file"&&this.url.path.length===0&&IA(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&&(!Dn.isASCIIHex(this.input[this.pointer+1])||!Dn.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=Fs(e,BA);return!0};$t.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&&(!Dn.isASCIIHex(this.input[this.pointer+1])||!Dn.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+Fs(e,Ay))),!0};$t.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&e===35){(!Sn(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss")&&(this.encodingOverride="utf-8");let i=buffer_shim.from(this.buffer);for(let r=0;r126||i[r]===34||i[r]===35||i[r]===60||i[r]===62||i[r]===39&&Sn(this.url)?this.url.query+=NA(i[r]):this.url.query+=String.fromCodePoint(i[r]);this.buffer="",e===35&&(this.url.fragment="",this.state="fragment")}else e===37&&(!Dn.isASCIIHex(this.input[this.pointer+1])||!Dn.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=t;return!0};$t.prototype["parse fragment"]=function(e){return isNaN(e)||(e===0?this.parseError=!0:(e===37&&(!Dn.isASCIIHex(this.input[this.pointer+1])||!Dn.isASCIIHex(this.input[this.pointer+2]))&&(this.parseError=!0),this.url.fragment+=Fs(e,RA))),!0};function yM(n,e){let t=n.scheme+":";if(n.host!==null?(t+="//",(n.username!==""||n.password!=="")&&(t+=n.username,n.password!==""&&(t+=":"+n.password),t+="@"),t+=by(n.host),n.port!==null&&(t+=":"+n.port)):n.host===null&&n.scheme==="file"&&(t+="//"),n.cannotBeABaseURL)t+=n.path[0];else for(let i of n.path)t+="/"+i;return n.query!==null&&(t+="?"+n.query),!e&&n.fragment!==null&&(t+="#"+n.fragment),t}function vM(n){let e=n.scheme+"://";return e+=by(n.host),n.port!==null&&(e+=":"+n.port),e}Ai.exports.serializeURL=yM;Ai.exports.serializeURLOrigin=function(n){switch(n.scheme){case"blob":try{return Ai.exports.serializeURLOrigin(Ai.exports.parseURL(n.path[0]))}catch{return"null"}case"ftp":case"http":case"https":case"ws":case"wss":return vM({scheme:n.scheme,host:n.host,port:n.port});case"file":return"null";default:return"null"}};Ai.exports.basicURLParse=function(n,e){e===void 0&&(e={});let t=new $t(n,e.baseURL,e.encodingOverride,e.url,e.stateOverride);return t.failure?null:t.url};Ai.exports.setTheUsername=function(n,e){n.username="";let t=Hu.ucs2.decode(e);for(let i=0;i{f();c();var EM=200,gM="Expected a function",Ry="__lodash_hash_undefined__",c0=1,Yu=2,WA=1/0,YA=9007199254740991,r0="[object Arguments]",_y="[object Array]",JA="[object Boolean]",XA="[object Date]",ZA="[object Error]",eT="[object Function]",AM="[object GeneratorFunction]",a0="[object Map]",tT="[object Number]",zu="[object Object]",kA="[object Promise]",nT="[object RegExp]",o0="[object Set]",iT="[object String]",rT="[object Symbol]",Fy="[object WeakMap]",aT="[object ArrayBuffer]",s0="[object DataView]",TM="[object Float32Array]",bM="[object Float64Array]",SM="[object Int8Array]",DM="[object Int16Array]",_M="[object Int32Array]",FM="[object Uint8Array]",CM="[object Uint8ClampedArray]",NM="[object Uint16Array]",OM="[object Uint32Array]",IM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wM=/^\w*$/,RM=/^\./,BM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,LM=/[\\^$.*+?()[\]{}|]/g,PM=/\\(\\)?/g,xM=/^\[object .+?Constructor\]$/,kM=/^(?:0|[1-9]\d*)$/,Nt={};Nt[TM]=Nt[bM]=Nt[SM]=Nt[DM]=Nt[_M]=Nt[FM]=Nt[CM]=Nt[NM]=Nt[OM]=!0;Nt[r0]=Nt[_y]=Nt[aT]=Nt[JA]=Nt[s0]=Nt[XA]=Nt[ZA]=Nt[eT]=Nt[a0]=Nt[tT]=Nt[zu]=Nt[nT]=Nt[o0]=Nt[iT]=Nt[Fy]=!1;var oT=typeof global=="object"&&global&&global.Object===Object&&global,$M=typeof self=="object"&&self&&self.Object===Object&&self,Eo=oT||$M||Function("return this")(),sT=typeof Md=="object"&&Md&&!Md.nodeType&&Md,$A=sT&&typeof Wu=="object"&&Wu&&!Wu.nodeType&&Wu,VM=$A&&$A.exports===sT,VA=VM&&oT.process,jA=function(){try{return VA&&VA.binding("util")}catch{}}(),qA=jA&&jA.isTypedArray;function jM(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}function MA(n,e){for(var t=-1,i=n?n.length:0,r=Array(i);++t-1}function yU(n,e){var t=this.__data__,i=h0(t,n);return i<0?t.push([n,e]):t[i][1]=e,this}$a.prototype.clear=cU;$a.prototype.delete=fU;$a.prototype.get=hU;$a.prototype.has=mU;$a.prototype.set=yU;function Va(n){var e=-1,t=n?n.length:0;for(this.clear();++e0&&t(s)?e>1?dT(s,e-1,t,i,r):qM(r,s):i||(r[r.length]=s)}return r}var wU=JU();function RU(n,e){return n&&wU(n,e,l0)}function lT(n,e){e=y0(e,n)?[e]:cT(e);for(var t=0,i=e.length;n!=null&&te||a&&o&&u&&!s&&!p||i&&o&&u||!t&&u||!r)return 1;if(!i&&!a&&!p&&n=s)return u;var p=t[i];return u*(p=="desc"?-1:1)}}return n.index-e.index}function YU(n,e){return function(t,i){if(t==null)return t;if(!Kd(t))return n(t,i);for(var r=t.length,a=e?r:-1,o=Object(t);(e?a--:++as))return!1;var p=a.get(n);if(p&&a.get(e))return p==e;var d=-1,l=!0,m=r&c0?new d0:void 0;for(a.set(n,e),a.set(e,n);++d-1&&n%1==0&&n1&&zA(n,e[0],e[1])?e=[]:t>2&&zA(e[0],e[1],e[2])&&(e=[e[0]]),GU(n,dT(e,1),[])});function Py(n,e){if(typeof n!="function"||e&&typeof e!="function")throw new TypeError(gM);var t=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=t.cache;if(a.has(r))return a.get(r);var o=n.apply(this,i);return t.cache=a.set(r,o),o};return t.cache=new(Py.Cache||Va),t}Py.Cache=Va;function xy(n,e){return n===e||n!==n&&e!==e}function ky(n){return uG(n)&&ka.call(n,"callee")&&(!ZM.call(n,"callee")||Ju.call(n)==r0)}var vo=Array.isArray;function Kd(n){return n!=null&&$y(n.length)&&!yT(n)}function uG(n){return E0(n)&&Kd(n)}function yT(n){var e=Hd(n)?Ju.call(n):"";return e==eT||e==AM}function $y(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=YA}function Hd(n){var e=typeof n;return!!n&&(e=="object"||e=="function")}function E0(n){return!!n&&typeof n=="object"}function Qd(n){return typeof n=="symbol"||E0(n)&&Ju.call(n)==rT}var pG=qA?uT(qA):$U;function dG(n){return n==null?"":HU(n)}function lG(n,e,t){var i=n==null?void 0:lT(n,e);return i===void 0?t:i}function cG(n,e){return n!=null&&tG(n,e,LU)}function l0(n){return Kd(n)?OU(n):jU(n)}function vT(n){return n}function fG(n){return y0(n)?UM(v0(n)):QU(n)}Wu.exports=sG});var gT=T(ET=>{"use strict";f();c();var hG=Vy(),jy=qd();ET.implementation=class{constructor(e,{doNotStripQMark:t=!1}){let i=e[0];if(this._list=[],this._url=null,!t&&typeof i=="string"&&i[0]==="?"&&(i=i.slice(1)),Array.isArray(i))for(let r of i){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 i=="object"&&Object.getPrototypeOf(i)===null)for(let r of Object.keys(i)){let a=i[r];this._list.push([r,a])}else this._list=jy.parseUrlencoded(i)}_updateSteps(){if(this._url!==null){let e=jy.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";f();c();var Bi=py(),Bn=dy(),Rn=Bn.implSymbol,mG=Object.create(Bn.IteratorPrototype,{next:{value:function(){let e=this[Bn.iterInternalSymbol],{target:t,kind:i,index:r}=e,a=Array.from(t[Rn]),o=a.length;if(r>=o)return{value:void 0,done:!0};let s=a[r];e.index=r+1;let[u,p]=s.map(Bn.tryWrapperForImpl),d;switch(i){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}}),ja=class{constructor(){let e=[];{let t=arguments[0];if(t!==void 0)if(Bn.isObject(t))if(t[Symbol.iterator]!==void 0)if(Bn.isObject(t)){let i=[],r=t;for(let a of r){if(Bn.isObject(a)){let o=[],s=a;for(let u of s)u=Bi.USVString(u,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element"}),o.push(u);a=o}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");i.push(a)}t=i}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");else if(Bn.isObject(t)){let i=Object.create(null);for(let r of Reflect.ownKeys(t)){let a=Object.getOwnPropertyDescriptor(t,r);if(a&&a.enumerable){let o=r,s=t[r];o=Bi.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key"}),s=Bi.USVString(s,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value"}),i[o]=s}}t=i}else throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");else t=Bi.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1"});else t="";e.push(t)}return AT.setup(Object.create(new.target.prototype),e)}append(e,t){if(!this||!Ht.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 i=[];{let r=arguments[0];r=Bi.USVString(r,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1"}),i.push(r)}{let r=arguments[1];r=Bi.USVString(r,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2"}),i.push(r)}return this[Rn].append(...i)}delete(e){if(!this||!Ht.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 i=arguments[0];i=Bi.USVString(i,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1"}),t.push(i)}return this[Rn].delete(...t)}get(e){if(!this||!Ht.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 i=arguments[0];i=Bi.USVString(i,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1"}),t.push(i)}return this[Rn].get(...t)}getAll(e){if(!this||!Ht.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 i=arguments[0];i=Bi.USVString(i,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1"}),t.push(i)}return Bn.tryWrapperForImpl(this[Rn].getAll(...t))}has(e){if(!this||!Ht.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 i=arguments[0];i=Bi.USVString(i,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1"}),t.push(i)}return this[Rn].has(...t)}set(e,t){if(!this||!Ht.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 i=[];{let r=arguments[0];r=Bi.USVString(r,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1"}),i.push(r)}{let r=arguments[1];r=Bi.USVString(r,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2"}),i.push(r)}return this[Rn].set(...i)}sort(){if(!this||!Ht.exports.is(this))throw new TypeError("Illegal invocation");return this[Rn].sort()}toString(){if(!this||!Ht.exports.is(this))throw new TypeError("Illegal invocation");return this[Rn].toString()}keys(){if(!this||!Ht.exports.is(this))throw new TypeError("Illegal invocation");return Ht.exports.createDefaultIterator(this,"key")}values(){if(!this||!Ht.exports.is(this))throw new TypeError("Illegal invocation");return Ht.exports.createDefaultIterator(this,"value")}entries(){if(!this||!Ht.exports.is(this))throw new TypeError("Illegal invocation");return Ht.exports.createDefaultIterator(this,"key+value")}forEach(e){if(!this||!Ht.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],i=Array.from(this[Rn]),r=0;for(;r{"use strict";f();c();var Vt=yr(),TT=qd(),yG=qy();bT.implementation=class{constructor(e){let t=e[0],i=e[1],r=null;if(i!==void 0&&(r=Vt.basicURLParse(i),r===null))throw new TypeError(`Invalid base URL: ${i}`);let a=Vt.basicURLParse(t,{baseURL:r});if(a===null)throw new TypeError(`Invalid URL: ${t}`);let o=a.query!==null?a.query:"";this._url=a,this._query=yG.createImpl([o],{doNotStripQMark:!0}),this._query._url=this}get href(){return Vt.serializeURL(this._url)}set href(e){let t=Vt.basicURLParse(e);if(t===null)throw new TypeError(`Invalid URL: ${e}`);this._url=t,this._query._list.splice(0);let{query:i}=t;i!==null&&(this._query._list=TT.parseUrlencoded(i))}get origin(){return Vt.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){Vt.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){Vt.cannotHaveAUsernamePasswordPort(this._url)||Vt.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){Vt.cannotHaveAUsernamePasswordPort(this._url)||Vt.setThePassword(this._url,e)}get host(){let e=this._url;return e.host===null?"":e.port===null?Vt.serializeHost(e.host):Vt.serializeHost(e.host)+":"+Vt.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||Vt.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return this._url.host===null?"":Vt.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||Vt.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return this._url.port===null?"":Vt.serializeInteger(this._url.port)}set port(e){Vt.cannotHaveAUsernamePasswordPort(this._url)||(e===""?this._url.port=null:Vt.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=[],Vt.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 i=e[0]==="?"?e.substring(1):e;t.query="",Vt.basicURLParse(i,{url:t,stateOverride:"query"}),this._query._list=TT.parseUrlencoded(i)}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="",Vt.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}});var _T=T((Eye,ct)=>{"use strict";f();c();var Li=py(),go=dy(),lt=go.implSymbol,Ao=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 i=arguments[0];i=Li.USVString(i,{context:"Failed to construct 'URL': parameter 1"}),t.push(i)}{let i=arguments[1];i!==void 0&&(i=Li.USVString(i,{context:"Failed to construct 'URL': parameter 2"})),t.push(i)}return DT.setup(Object.create(new.target.prototype),t)}toJSON(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].toJSON()}get href(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].href}set href(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'href' property on 'URL': The provided value"}),this[lt].href=e}toString(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].href}get origin(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].origin}get protocol(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].protocol}set protocol(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'protocol' property on 'URL': The provided value"}),this[lt].protocol=e}get username(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].username}set username(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'username' property on 'URL': The provided value"}),this[lt].username=e}get password(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].password}set password(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'password' property on 'URL': The provided value"}),this[lt].password=e}get host(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].host}set host(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'host' property on 'URL': The provided value"}),this[lt].host=e}get hostname(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].hostname}set hostname(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'hostname' property on 'URL': The provided value"}),this[lt].hostname=e}get port(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].port}set port(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'port' property on 'URL': The provided value"}),this[lt].port=e}get pathname(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].pathname}set pathname(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'pathname' property on 'URL': The provided value"}),this[lt].pathname=e}get search(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].search}set search(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'search' property on 'URL': The provided value"}),this[lt].search=e}get searchParams(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return go.getSameObject(this,"searchParams",()=>go.tryWrapperForImpl(this[lt].searchParams))}get hash(){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");return this[lt].hash}set hash(e){if(!this||!ct.exports.is(this))throw new TypeError("Illegal invocation");e=Li.USVString(e,{context:"Failed to set the 'hash' property on 'URL': The provided value"}),this[lt].hash=e}};Object.defineProperties(Ao.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 DT={_mixedIntoPredicates:[],is(n){if(n){if(go.hasOwn(n,lt)&&n[lt]instanceof Wd.implementation)return!0;for(let e of ct.exports._mixedIntoPredicates)if(e(n))return!0}return!1},isImpl(n){if(n){if(n instanceof Wd.implementation)return!0;let e=go.wrapperForImpl(n);for(let t of ct.exports._mixedIntoPredicates)if(t(e))return!0}return!1},convert(n,{context:e="The provided value"}={}){if(ct.exports.is(n))return go.implForWrapper(n);throw new TypeError(`${e} is not of type 'URL'.`)},create(n,e){let t=Object.create(Ao.prototype);return t=this.setup(t,n,e),t},createImpl(n,e){let t=Object.create(Ao.prototype);return t=this.setup(t,n,e),go.implForWrapper(t)},_internalSetup(n){},setup(n,e,t){return t||(t={}),t.wrapper=n,this._internalSetup(n),Object.defineProperty(n,lt,{value:new Wd.implementation(e,t),configurable:!0}),n[lt][go.wrapperSymbol]=n,Wd.init&&Wd.init(n[lt],t),n},interface:Ao,expose:{Window:{URL:Ao},Worker:{URL:Ao}}};ct.exports=DT;var Wd=ST()});var FT=T(Ti=>{"use strict";f();c();Ti.URL=_T().interface;Ti.URLSearchParams=qy().interface;Ti.parseURL=yr().parseURL;Ti.basicURLParse=yr().basicURLParse;Ti.serializeURL=yr().serializeURL;Ti.serializeHost=yr().serializeHost;Ti.serializeInteger=yr().serializeInteger;Ti.serializeURLOrigin=yr().serializeURLOrigin;Ti.setTheUsername=yr().setTheUsername;Ti.setThePassword=yr().setThePassword;Ti.cannotHaveAUsernamePasswordPort=yr().cannotHaveAUsernamePasswordPort;Ti.percentDecode=qd().percentDecode});var Uy=T((CT,NT)=>{"use strict";f();c();var To={},Xr,My;typeof window<"u"?Xr=window:typeof global<"u"?Xr=global:typeof self<"u"?Xr=self:Xr=CT;try{let n=new Xr.URL("http://domain.com"),e=new Xr.URLSearchParams("?param=value");My="searchParams"in n&&e.get("param")==="value"}catch{My=!1}if(My)To.URL=Xr.URL,To.URLSearchParams=Xr.URLSearchParams;else{let n=FT();To.URL=n.URL,To.URLSearchParams=n.URLSearchParams}To.shim=()=>{Xr.URL=To.URL,Xr.URLSearchParams=To.URLSearchParams};NT.exports=To});var c=Gg(()=>{globalThis.URL=Uy().URL});var wT=T(g0=>{"use strict";f();c();g0.byteLength=EG;g0.toByteArray=AG;g0.fromByteArray=SG;var Zr=[],Pi=[],vG=typeof Uint8Array<"u"?Uint8Array:Array,Gy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Os=0,OT=Gy.length;Os0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=e);var i=t===e?0:4-t%4;return[t,i]}function EG(n){var e=IT(n),t=e[0],i=e[1];return(t+i)*3/4-i}function gG(n,e,t){return(e+t)*3/4-t}function AG(n){var e,t=IT(n),i=t[0],r=t[1],a=new vG(gG(n,i,r)),o=0,s=r>0?i-4:i,u;for(u=0;u>16&255,a[o++]=e>>8&255,a[o++]=e&255;return r===2&&(e=Pi[n.charCodeAt(u)]<<2|Pi[n.charCodeAt(u+1)]>>4,a[o++]=e&255),r===1&&(e=Pi[n.charCodeAt(u)]<<10|Pi[n.charCodeAt(u+1)]<<4|Pi[n.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function TG(n){return Zr[n>>18&63]+Zr[n>>12&63]+Zr[n>>6&63]+Zr[n&63]}function bG(n,e,t){for(var i,r=[],a=e;as?s:o+a));return i===1?(e=n[t-1],r.push(Zr[e>>2]+Zr[e<<4&63]+"==")):i===2&&(e=(n[t-2]<<8)+n[t-1],r.push(Zr[e>>10]+Zr[e>>4&63]+Zr[e<<2&63]+"=")),r.join("")}});var RT=T(Qy=>{f();c();Qy.read=function(n,e,t,i,r){var a,o,s=r*8-i-1,u=(1<>1,d=-7,l=t?r-1:0,m=t?-1:1,y=n[e+l];for(l+=m,a=y&(1<<-d)-1,y>>=-d,d+=s;d>0;a=a*256+n[e+l],l+=m,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=i;d>0;o=o*256+n[e+l],l+=m,d-=8);if(a===0)a=1-p;else{if(a===u)return o?NaN:(y?-1:1)*(1/0);o=o+Math.pow(2,i),a=a-p}return(y?-1:1)*o*Math.pow(2,a-i)};Qy.write=function(n,e,t,i,r,a){var o,s,u,p=a*8-r-1,d=(1<>1,m=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:a-1,v=i?1:-1,g=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=d):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+l>=1?e+=m/u:e+=m*Math.pow(2,1-l),e*u>=2&&(o++,u/=2),o+l>=d?(s=0,o=d):o+l>=1?(s=(e*u-1)*Math.pow(2,r),o=o+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),o=0));r>=8;n[t+y]=s&255,y+=v,s/=256,r-=8);for(o=o<0;n[t+y]=o&255,y+=v,o/=256,p-=8);n[t+y-v]|=g*128}});var WT=T(np=>{"use strict";f();c();var Ky=wT(),ep=RT(),BT=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;np.Buffer=j;np.SlowBuffer=OG;np.INSPECT_MAX_BYTES=50;var A0=2147483647;np.kMaxLength=A0;j.TYPED_ARRAY_SUPPORT=DG();!j.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 DG(){try{let n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch{return!1}}Object.defineProperty(j.prototype,"parent",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.buffer}});Object.defineProperty(j.prototype,"offset",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.byteOffset}});function qa(n){if(n>A0)throw new RangeError('The value "'+n+'" is invalid for option "size"');let e=new Uint8Array(n);return Object.setPrototypeOf(e,j.prototype),e}function j(n,e,t){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Yy(n)}return kT(n,e,t)}j.poolSize=8192;function kT(n,e,t){if(typeof n=="string")return FG(n,e);if(ArrayBuffer.isView(n))return CG(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(ea(n,ArrayBuffer)||n&&ea(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ea(n,SharedArrayBuffer)||n&&ea(n.buffer,SharedArrayBuffer)))return zy(n,e,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let i=n.valueOf&&n.valueOf();if(i!=null&&i!==n)return j.from(i,e,t);let r=NG(n);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return j.from(n[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 n)}j.from=function(n,e,t){return kT(n,e,t)};Object.setPrototypeOf(j.prototype,Uint8Array.prototype);Object.setPrototypeOf(j,Uint8Array);function $T(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function _G(n,e,t){return $T(n),n<=0?qa(n):e!==void 0?typeof t=="string"?qa(n).fill(e,t):qa(n).fill(e):qa(n)}j.alloc=function(n,e,t){return _G(n,e,t)};function Yy(n){return $T(n),qa(n<0?0:Jy(n)|0)}j.allocUnsafe=function(n){return Yy(n)};j.allocUnsafeSlow=function(n){return Yy(n)};function FG(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!j.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=VT(n,e)|0,i=qa(t),r=i.write(n,e);return r!==t&&(i=i.slice(0,r)),i}function Hy(n){let e=n.length<0?0:Jy(n.length)|0,t=qa(e);for(let i=0;i=A0)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A0.toString(16)+" bytes");return n|0}function OG(n){return+n!=n&&(n=0),j.alloc(+n)}j.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==j.prototype};j.compare=function(e,t){if(ea(e,Uint8Array)&&(e=j.from(e,e.offset,e.byteLength)),ea(t,Uint8Array)&&(t=j.from(t,t.offset,t.byteLength)),!j.isBuffer(e)||!j.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let i=e.length,r=t.length;for(let a=0,o=Math.min(i,r);ar.length?(j.isBuffer(o)||(o=j.from(o)),o.copy(r,a)):Uint8Array.prototype.set.call(r,o,a);else if(j.isBuffer(o))o.copy(r,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return r};function VT(n,e){if(j.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||ea(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);let t=n.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Wy(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return zT(n).length;default:if(r)return i?-1:Wy(n).length;e=(""+e).toLowerCase(),r=!0}}j.byteLength=VT;function IG(n,e,t){let i=!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(n||(n="utf8");;)switch(n){case"hex":return jG(this,e,t);case"utf8":case"utf-8":return qT(this,e,t);case"ascii":return $G(this,e,t);case"latin1":case"binary":return VG(this,e,t);case"base64":return xG(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qG(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),i=!0}}j.prototype._isBuffer=!0;function Is(n,e,t){let i=n[e];n[e]=n[t],n[t]=i}j.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+=" ... "),""};BT&&(j.prototype[BT]=j.prototype.inspect);j.prototype.compare=function(e,t,i,r,a){if(ea(e,Uint8Array)&&(e=j.from(e,e.offset,e.byteLength)),!j.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),i===void 0&&(i=e?e.length:0),r===void 0&&(r=0),a===void 0&&(a=this.length),t<0||i>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=i)return 0;if(r>=a)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,r>>>=0,a>>>=0,this===e)return 0;let o=a-r,s=i-t,u=Math.min(o,s),p=this.slice(r,a),d=e.slice(t,i);for(let l=0;l2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Zy(t)&&(t=r?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(r)return-1;t=n.length-1}else if(t<0)if(r)t=0;else return-1;if(typeof e=="string"&&(e=j.from(e,i)),j.isBuffer(e))return e.length===0?-1:LT(n,e,t,i,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):LT(n,[e],t,i,r);throw new TypeError("val must be string, number or Buffer")}function LT(n,e,t,i,r){let a=1,o=n.length,s=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(n.length<2||e.length<2)return-1;a=2,o/=2,s/=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;po&&(t=o-s),p=t;p>=0;p--){let d=!0;for(let l=0;lr&&(i=r)):i=r;let a=e.length;i>a/2&&(i=a/2);let o;for(o=0;o>>0,isFinite(i)?(i=i>>>0,r===void 0&&(r="utf8")):(r=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let a=this.length-t;if((i===void 0||i>a)&&(i=a),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return wG(this,e,t,i);case"utf8":case"utf-8":return RG(this,e,t,i);case"ascii":case"latin1":case"binary":return BG(this,e,t,i);case"base64":return LG(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return PG(this,e,t,i);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}};j.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xG(n,e,t){return e===0&&t===n.length?Ky.fromByteArray(n):Ky.fromByteArray(n.slice(e,t))}function qT(n,e,t){t=Math.min(n.length,t);let i=[],r=e;for(;r239?4:a>223?3:a>191?2:1;if(r+s<=t){let u,p,d,l;switch(s){case 1:a<128&&(o=a);break;case 2:u=n[r+1],(u&192)===128&&(l=(a&31)<<6|u&63,l>127&&(o=l));break;case 3:u=n[r+1],p=n[r+2],(u&192)===128&&(p&192)===128&&(l=(a&15)<<12|(u&63)<<6|p&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:u=n[r+1],p=n[r+2],d=n[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&&(o=l))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),r+=s}return kG(i)}var PT=4096;function kG(n){let e=n.length;if(e<=PT)return String.fromCharCode.apply(String,n);let t="",i=0;for(;ii)&&(t=i);let r="";for(let a=e;ai&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),tt)throw new RangeError("Trying to access beyond buffer length")}j.prototype.readUintLE=j.prototype.readUIntLE=function(e,t,i){e=e>>>0,t=t>>>0,i||fn(e,t,this.length);let r=this[e],a=1,o=0;for(;++o>>0,t=t>>>0,i||fn(e,t,this.length);let r=this[e+--t],a=1;for(;t>0&&(a*=256);)r+=this[e+--t]*a;return r};j.prototype.readUint8=j.prototype.readUInt8=function(e,t){return e=e>>>0,t||fn(e,1,this.length),this[e]};j.prototype.readUint16LE=j.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||fn(e,2,this.length),this[e]|this[e+1]<<8};j.prototype.readUint16BE=j.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||fn(e,2,this.length),this[e]<<8|this[e+1]};j.prototype.readUint32LE=j.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||fn(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};j.prototype.readUint32BE=j.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||fn(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};j.prototype.readBigUInt64LE=bo(function(e){e=e>>>0,tp(e,"offset");let t=this[e],i=this[e+7];(t===void 0||i===void 0)&&Yd(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+i*2**24;return BigInt(r)+(BigInt(a)<>>0,tp(e,"offset");let t=this[e],i=this[e+7];(t===void 0||i===void 0)&&Yd(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+i;return(BigInt(r)<>>0,t=t>>>0,i||fn(e,t,this.length);let r=this[e],a=1,o=0;for(;++o=a&&(r-=Math.pow(2,8*t)),r};j.prototype.readIntBE=function(e,t,i){e=e>>>0,t=t>>>0,i||fn(e,t,this.length);let r=t,a=1,o=this[e+--r];for(;r>0&&(a*=256);)o+=this[e+--r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o};j.prototype.readInt8=function(e,t){return e=e>>>0,t||fn(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};j.prototype.readInt16LE=function(e,t){e=e>>>0,t||fn(e,2,this.length);let i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};j.prototype.readInt16BE=function(e,t){e=e>>>0,t||fn(e,2,this.length);let i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};j.prototype.readInt32LE=function(e,t){return e=e>>>0,t||fn(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};j.prototype.readInt32BE=function(e,t){return e=e>>>0,t||fn(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};j.prototype.readBigInt64LE=bo(function(e){e=e>>>0,tp(e,"offset");let t=this[e],i=this[e+7];(t===void 0||i===void 0)&&Yd(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(i<<24);return(BigInt(r)<>>0,tp(e,"offset");let t=this[e],i=this[e+7];(t===void 0||i===void 0)&&Yd(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<>>0,t||fn(e,4,this.length),ep.read(this,e,!0,23,4)};j.prototype.readFloatBE=function(e,t){return e=e>>>0,t||fn(e,4,this.length),ep.read(this,e,!1,23,4)};j.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||fn(e,8,this.length),ep.read(this,e,!0,52,8)};j.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||fn(e,8,this.length),ep.read(this,e,!1,52,8)};function ii(n,e,t,i,r,a){if(!j.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||en.length)throw new RangeError("Index out of range")}j.prototype.writeUintLE=j.prototype.writeUIntLE=function(e,t,i,r){if(e=+e,t=t>>>0,i=i>>>0,!r){let s=Math.pow(2,8*i)-1;ii(this,e,t,i,s,0)}let a=1,o=0;for(this[t]=e&255;++o>>0,i=i>>>0,!r){let s=Math.pow(2,8*i)-1;ii(this,e,t,i,s,0)}let a=i-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+i};j.prototype.writeUint8=j.prototype.writeUInt8=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,1,255,0),this[t]=e&255,t+1};j.prototype.writeUint16LE=j.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};j.prototype.writeUint16BE=j.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};j.prototype.writeUint32LE=j.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t>>>0,i||ii(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};j.prototype.writeUint32BE=j.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t>>>0,i||ii(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 MT(n,e,t,i,r){HT(e,i,r,n,t,7);let a=Number(e&BigInt(4294967295));n[t++]=a,a=a>>8,n[t++]=a,a=a>>8,n[t++]=a,a=a>>8,n[t++]=a;let o=Number(e>>BigInt(32)&BigInt(4294967295));return n[t++]=o,o=o>>8,n[t++]=o,o=o>>8,n[t++]=o,o=o>>8,n[t++]=o,t}function UT(n,e,t,i,r){HT(e,i,r,n,t,7);let a=Number(e&BigInt(4294967295));n[t+7]=a,a=a>>8,n[t+6]=a,a=a>>8,n[t+5]=a,a=a>>8,n[t+4]=a;let o=Number(e>>BigInt(32)&BigInt(4294967295));return n[t+3]=o,o=o>>8,n[t+2]=o,o=o>>8,n[t+1]=o,o=o>>8,n[t]=o,t+8}j.prototype.writeBigUInt64LE=bo(function(e,t=0){return MT(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});j.prototype.writeBigUInt64BE=bo(function(e,t=0){return UT(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});j.prototype.writeIntLE=function(e,t,i,r){if(e=+e,t=t>>>0,!r){let u=Math.pow(2,8*i-1);ii(this,e,t,i,u-1,-u)}let a=0,o=1,s=0;for(this[t]=e&255;++a>0)-s&255;return t+i};j.prototype.writeIntBE=function(e,t,i,r){if(e=+e,t=t>>>0,!r){let u=Math.pow(2,8*i-1);ii(this,e,t,i,u-1,-u)}let a=i-1,o=1,s=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&s===0&&this[t+a+1]!==0&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+i};j.prototype.writeInt8=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};j.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};j.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t>>>0,i||ii(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};j.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t>>>0,i||ii(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};j.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t>>>0,i||ii(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};j.prototype.writeBigInt64LE=bo(function(e,t=0){return MT(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});j.prototype.writeBigInt64BE=bo(function(e,t=0){return UT(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function GT(n,e,t,i,r,a){if(t+i>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function QT(n,e,t,i,r){return e=+e,t=t>>>0,r||GT(n,e,t,4,34028234663852886e22,-34028234663852886e22),ep.write(n,e,t,i,23,4),t+4}j.prototype.writeFloatLE=function(e,t,i){return QT(this,e,t,!0,i)};j.prototype.writeFloatBE=function(e,t,i){return QT(this,e,t,!1,i)};function KT(n,e,t,i,r){return e=+e,t=t>>>0,r||GT(n,e,t,8,17976931348623157e292,-17976931348623157e292),ep.write(n,e,t,i,52,8),t+8}j.prototype.writeDoubleLE=function(e,t,i){return KT(this,e,t,!0,i)};j.prototype.writeDoubleBE=function(e,t,i){return KT(this,e,t,!1,i)};j.prototype.copy=function(e,t,i,r){if(!j.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=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,i=i===void 0?this.length:i>>>0,e||(e=0);let a;if(typeof e=="number")for(a=t;a2**32?r=xT(String(t)):typeof t=="bigint"&&(r=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(r=xT(r)),r+="n"),i+=` It must be ${e}. Received ${r}`,i},RangeError);function xT(n){let e="",t=n.length,i=n[0]==="-"?1:0;for(;t>=i+4;t-=3)e=`_${n.slice(t-3,t)}${e}`;return`${n.slice(0,t)}${e}`}function MG(n,e,t){tp(e,"offset"),(n[e]===void 0||n[e+t]===void 0)&&Yd(e,n.length-(t+1))}function HT(n,e,t,i,r,a){if(n>t||n3?e===0||e===BigInt(0)?s=`>= 0${o} and < 2${o} ** ${(a+1)*8}${o}`:s=`>= -(2${o} ** ${(a+1)*8-1}${o}) and < 2 ** ${(a+1)*8-1}${o}`:s=`>= ${e}${o} and <= ${t}${o}`,new Zu.ERR_OUT_OF_RANGE("value",s,n)}MG(i,r,a)}function tp(n,e){if(typeof n!="number")throw new Zu.ERR_INVALID_ARG_TYPE(e,"number",n)}function Yd(n,e,t){throw Math.floor(n)!==n?(tp(n,t),new Zu.ERR_OUT_OF_RANGE(t||"offset","an integer",n)):e<0?new Zu.ERR_BUFFER_OUT_OF_BOUNDS:new Zu.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${e}`,n)}var UG=/[^+/0-9A-Za-z-_]/g;function GG(n){if(n=n.split("=")[0],n=n.trim().replace(UG,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function Wy(n,e){e=e||1/0;let t,i=n.length,r=null,a=[];for(let o=0;o55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===i){(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 QG(n){let e=[];for(let t=0;t>8,r=t%256,a.push(r),a.push(i);return a}function zT(n){return Ky.toByteArray(GG(n))}function T0(n,e,t,i){let r;for(r=0;r=e.length||r>=n.length);++r)e[r+t]=n[r];return r}function ea(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function Zy(n){return n!==n}var HG=function(){let n="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let i=t*16;for(let r=0;r<16;++r)e[i+r]=n[t]+n[r]}return e}();function bo(n){return typeof BigInt>"u"?zG:n}function zG(){throw new Error("BigInt not supported")}});var f=Gg(()=>{globalThis.buffer_shim=WT().Buffer});var YT=T(ip=>{"use strict";f();c();Object.defineProperty(ip,"__esModule",{value:!0});ip.versionInfo=ip.version=void 0;var WG="16.6.0";ip.version=WG;var YG=Object.freeze({major:16,minor:6,patch:0,preReleaseTag:null});ip.versionInfo=YG});var Kn=T(e4=>{"use strict";f();c();Object.defineProperty(e4,"__esModule",{value:!0});e4.devAssert=JG;function JG(n,e){if(!!!n)throw new Error(e)}});var b0=T(t4=>{"use strict";f();c();Object.defineProperty(t4,"__esModule",{value:!0});t4.isPromise=XG;function XG(n){return typeof n?.then=="function"}});var ta=T(n4=>{"use strict";f();c();Object.defineProperty(n4,"__esModule",{value:!0});n4.isObjectLike=ZG;function ZG(n){return typeof n=="object"&&n!==null}});var Ln=T(i4=>{"use strict";f();c();Object.defineProperty(i4,"__esModule",{value:!0});i4.invariant=eQ;function eQ(n,e){if(!!!n)throw new Error(e??"Unexpected invariant triggered.")}});var S0=T(r4=>{"use strict";f();c();Object.defineProperty(r4,"__esModule",{value:!0});r4.getLocation=iQ;var tQ=Ln(),nQ=/\r\n|[\n\r]/g;function iQ(n,e){let t=0,i=1;for(let r of n.body.matchAll(nQ)){if(typeof r.index=="number"||(0,tQ.invariant)(!1),r.index>=e)break;t=r.index+r[0].length,i+=1}return{line:i,column:e+1-t}}});var a4=T(D0=>{"use strict";f();c();Object.defineProperty(D0,"__esModule",{value:!0});D0.printLocation=aQ;D0.printSourceLocation=XT;var rQ=S0();function aQ(n){return XT(n.source,(0,rQ.getLocation)(n.source,n.start))}function XT(n,e){let t=n.locationOffset.column-1,i="".padStart(t)+n.body,r=e.line-1,a=n.locationOffset.line-1,o=e.line+a,s=e.line===1?t:0,u=e.column+s,p=`${n.name}:${o}:${u} `,d=i.split(/\r\n|[\n\r]/g),l=d[r];if(l.length>120){let m=Math.floor(u/80),y=u%80,v=[];for(let g=0;g["|",g]),["|","^".padStart(y)],["|",v[m+1]]])}return p+JT([[`${o-1} |`,d[r-1]],[`${o} |`,l],["|","^".padStart(u)],[`${o+1} |`,d[r+1]]])}function JT(n){let e=n.filter(([i,r])=>r!==void 0),t=Math.max(...e.map(([i])=>i.length));return e.map(([i,r])=>i.padStart(t)+(r?" "+r:"")).join(` `)}});var be=T(rp=>{"use strict";f();c();Object.defineProperty(rp,"__esModule",{value:!0});rp.GraphQLError=void 0;rp.formatError=pQ;rp.printError=uQ;var oQ=ta(),ZT=S0(),eb=a4();function sQ(n){let e=n[0];return e==null||"kind"in e||"length"in e?{nodes:e,source:n[1],positions:n[2],path:n[3],originalError:n[4],extensions:n[5]}:e}var Jd=class extends Error{constructor(e,...t){var i,r,a;let{nodes:o,source:s,positions:u,path:p,originalError:d,extensions:l}=sQ(t);super(e),this.name="GraphQLError",this.path=p??void 0,this.originalError=d??void 0,this.nodes=tb(Array.isArray(o)?o:o?[o]:void 0);let m=tb((i=this.nodes)===null||i===void 0?void 0:i.map(v=>v.loc).filter(v=>v!=null));this.source=s??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=u??m?.map(v=>v.start),this.locations=u&&s?u.map(v=>(0,ZT.getLocation)(s,v)):m?.map(v=>(0,ZT.getLocation)(v.source,v.start));let y=(0,oQ.isObjectLike)(d?.extensions)?d?.extensions:void 0;this.extensions=(a=l??y)!==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,Jd):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,eb.printLocation)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+=` `+(0,eb.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}};rp.GraphQLError=Jd;function tb(n){return n===void 0||n.length===0?void 0:n}function uQ(n){return n.toString()}function pQ(n){return n.toJSON()}});var _0=T(o4=>{"use strict";f();c();Object.defineProperty(o4,"__esModule",{value:!0});o4.syntaxError=lQ;var dQ=be();function lQ(n,e,t){return new dQ.GraphQLError(`Syntax Error: ${t}`,{source:n,positions:[e]})}});var na=T(xi=>{"use strict";f();c();Object.defineProperty(xi,"__esModule",{value:!0});xi.Token=xi.QueryDocumentKeys=xi.OperationTypeNode=xi.Location=void 0;xi.isNode=fQ;var s4=class{constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}};xi.Location=s4;var u4=class{constructor(e,t,i,r,a,o){this.kind=e,this.start=t,this.end=i,this.line=r,this.column=a,this.value=o,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}}};xi.Token=u4;var nb={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"]};xi.QueryDocumentKeys=nb;var cQ=new Set(Object.keys(nb));function fQ(n){let e=n?.kind;return typeof e=="string"&&cQ.has(e)}var p4;xi.OperationTypeNode=p4;(function(n){n.QUERY="query",n.MUTATION="mutation",n.SUBSCRIPTION="subscription"})(p4||(xi.OperationTypeNode=p4={}))});var ap=T(Xd=>{"use strict";f();c();Object.defineProperty(Xd,"__esModule",{value:!0});Xd.DirectiveLocation=void 0;var d4;Xd.DirectiveLocation=d4;(function(n){n.QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(d4||(Xd.DirectiveLocation=d4={}))});var He=T(Zd=>{"use strict";f();c();Object.defineProperty(Zd,"__esModule",{value:!0});Zd.Kind=void 0;var l4;Zd.Kind=l4;(function(n){n.NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="StringValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(l4||(Zd.Kind=l4={}))});var F0=T(ws=>{"use strict";f();c();Object.defineProperty(ws,"__esModule",{value:!0});ws.isDigit=ib;ws.isLetter=c4;ws.isNameContinue=yQ;ws.isNameStart=mQ;ws.isWhiteSpace=hQ;function hQ(n){return n===9||n===32}function ib(n){return n>=48&&n<=57}function c4(n){return n>=97&&n<=122||n>=65&&n<=90}function mQ(n){return c4(n)||n===95}function yQ(n){return c4(n)||ib(n)||n===95}});var tl=T(el=>{"use strict";f();c();Object.defineProperty(el,"__esModule",{value:!0});el.dedentBlockStringLines=vQ;el.isPrintableAsBlockString=gQ;el.printBlockString=AQ;var f4=F0();function vQ(n){var e;let t=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let o=0;os===0?o:o.slice(t)).slice((e=i)!==null&&e!==void 0?e:0,r+1)}function EQ(n){let e=0;for(;e1&&i.slice(1).every(y=>y.length===0||(0,f4.isWhiteSpace)(y.charCodeAt(0))),o=t.endsWith('\\"""'),s=n.endsWith('"')&&!o,u=n.endsWith("\\"),p=s||u,d=!(e!=null&&e.minimize)&&(!r||n.length>70||p||a||o),l="",m=r&&(0,f4.isWhiteSpace)(n.charCodeAt(0));return(d&&!m||a)&&(l+=` `),l+=t,(d||p)&&(l+=` `),'"""'+l+'"""'}});var il=T(nl=>{"use strict";f();c();Object.defineProperty(nl,"__esModule",{value:!0});nl.TokenKind=void 0;var h4;nl.TokenKind=h4;(function(n){n.SOF="",n.EOF="",n.BANG="!",n.DOLLAR="$",n.AMP="&",n.PAREN_L="(",n.PAREN_R=")",n.SPREAD="...",n.COLON=":",n.EQUALS="=",n.AT="@",n.BRACKET_L="[",n.BRACKET_R="]",n.BRACE_L="{",n.PIPE="|",n.BRACE_R="}",n.NAME="Name",n.INT="Int",n.FLOAT="Float",n.STRING="String",n.BLOCK_STRING="BlockString",n.COMMENT="Comment"})(h4||(nl.TokenKind=h4={}))});var N0=T(al=>{"use strict";f();c();Object.defineProperty(al,"__esModule",{value:!0});al.Lexer=void 0;al.isPunctuatorTokenKind=bQ;var vr=_0(),ab=na(),TQ=tl(),Rs=F0(),Be=il(),y4=class{constructor(e){let t=new ab.Token(Be.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!==Be.TokenKind.EOF)do if(e.next)e=e.next;else{let t=SQ(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===Be.TokenKind.COMMENT);return e}};al.Lexer=y4;function bQ(n){return n===Be.TokenKind.BANG||n===Be.TokenKind.DOLLAR||n===Be.TokenKind.AMP||n===Be.TokenKind.PAREN_L||n===Be.TokenKind.PAREN_R||n===Be.TokenKind.SPREAD||n===Be.TokenKind.COLON||n===Be.TokenKind.EQUALS||n===Be.TokenKind.AT||n===Be.TokenKind.BRACKET_L||n===Be.TokenKind.BRACKET_R||n===Be.TokenKind.BRACE_L||n===Be.TokenKind.PIPE||n===Be.TokenKind.BRACE_R}function op(n){return n>=0&&n<=55295||n>=57344&&n<=1114111}function C0(n,e){return ob(n.charCodeAt(e))&&sb(n.charCodeAt(e+1))}function ob(n){return n>=55296&&n<=56319}function sb(n){return n>=56320&&n<=57343}function Bs(n,e){let t=n.source.body.codePointAt(e);if(t===void 0)return Be.TokenKind.EOF;if(t>=32&&t<=126){let i=String.fromCodePoint(t);return i==='"'?`'"'`:`"${i}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function zt(n,e,t,i,r){let a=n.line,o=1+t-n.lineStart;return new ab.Token(e,t,i,a,o,r)}function SQ(n,e){let t=n.source.body,i=t.length,r=e;for(;r=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:-1}function OQ(n,e){let t=n.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,vr.syntaxError)(n.source,e,`Invalid character escape sequence: "${t.slice(e,e+2)}".`)}function IQ(n,e){let t=n.source.body,i=t.length,r=n.lineStart,a=e+3,o=a,s="",u=[];for(;a{"use strict";f();c();Object.defineProperty(v4,"__esModule",{value:!0});v4.inspect=BQ;var RQ=10,ub=2;function BQ(n){return O0(n,[])}function O0(n,e){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return LQ(n,e);default:return String(n)}}function LQ(n,e){if(n===null)return"null";if(e.includes(n))return"[Circular]";let t=[...e,n];if(PQ(n)){let i=n.toJSON();if(i!==n)return typeof i=="string"?i:O0(i,t)}else if(Array.isArray(n))return kQ(n,t);return xQ(n,t)}function PQ(n){return typeof n.toJSON=="function"}function xQ(n,e){let t=Object.entries(n);return t.length===0?"{}":e.length>ub?"["+$Q(n)+"]":"{ "+t.map(([r,a])=>r+": "+O0(a,e)).join(", ")+" }"}function kQ(n,e){if(n.length===0)return"[]";if(e.length>ub)return"[Array]";let t=Math.min(RQ,n.length),i=n.length-t,r=[];for(let a=0;a1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}function $Q(n){let e=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof n.constructor=="function"){let t=n.constructor.name;if(typeof t=="string"&&t!=="")return t}return e}});var ol=T(I0=>{"use strict";f();c();Object.defineProperty(I0,"__esModule",{value:!0});I0.instanceOf=void 0;var B4e=rt(),VQ=function(e,t){return e instanceof t};I0.instanceOf=VQ});var R0=T(sl=>{"use strict";f();c();Object.defineProperty(sl,"__esModule",{value:!0});sl.Source=void 0;sl.isSource=MQ;var E4=Kn(),jQ=rt(),qQ=ol(),w0=class{constructor(e,t="GraphQL request",i={line:1,column:1}){typeof e=="string"||(0,E4.devAssert)(!1,`Body must be a string. Received: ${(0,jQ.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,E4.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,E4.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};sl.Source=w0;function MQ(n){return(0,qQ.instanceOf)(n,w0)}});var sp=T(So=>{"use strict";f();c();Object.defineProperty(So,"__esModule",{value:!0});So.Parser=void 0;So.parse=GQ;So.parseConstValue=KQ;So.parseType=HQ;So.parseValue=QQ;var Ls=_0(),ul=na(),UQ=ap(),Ce=He(),db=N0(),pb=R0(),te=il();function GQ(n,e){return new Ps(n,e).parseDocument()}function QQ(n,e){let t=new Ps(n,e);t.expectToken(te.TokenKind.SOF);let i=t.parseValueLiteral(!1);return t.expectToken(te.TokenKind.EOF),i}function KQ(n,e){let t=new Ps(n,e);t.expectToken(te.TokenKind.SOF);let i=t.parseConstValueLiteral();return t.expectToken(te.TokenKind.EOF),i}function HQ(n,e){let t=new Ps(n,e);t.expectToken(te.TokenKind.SOF);let i=t.parseTypeReference();return t.expectToken(te.TokenKind.EOF),i}var Ps=class{constructor(e,t={}){let i=(0,pb.isSource)(e)?e:new pb.Source(e);this._lexer=new db.Lexer(i),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(te.TokenKind.NAME);return this.node(e,{kind:Ce.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:Ce.Kind.DOCUMENT,definitions:this.many(te.TokenKind.SOF,this.parseDefinition,te.TokenKind.EOF)})}parseDefinition(){if(this.peek(te.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===te.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,Ls.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(te.TokenKind.BRACE_L))return this.node(e,{kind:Ce.Kind.OPERATION_DEFINITION,operation:ul.OperationTypeNode.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),i;return this.peek(te.TokenKind.NAME)&&(i=this.parseName()),this.node(e,{kind:Ce.Kind.OPERATION_DEFINITION,operation:t,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(te.TokenKind.NAME);switch(e.value){case"query":return ul.OperationTypeNode.QUERY;case"mutation":return ul.OperationTypeNode.MUTATION;case"subscription":return ul.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(te.TokenKind.PAREN_L,this.parseVariableDefinition,te.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Ce.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(te.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(te.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(te.TokenKind.DOLLAR),this.node(e,{kind:Ce.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Ce.Kind.SELECTION_SET,selections:this.many(te.TokenKind.BRACE_L,this.parseSelection,te.TokenKind.BRACE_R)})}parseSelection(){return this.peek(te.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),i,r;return this.expectOptionalToken(te.TokenKind.COLON)?(i=t,r=this.parseName()):r=t,this.node(e,{kind:Ce.Kind.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(te.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(te.TokenKind.PAREN_L,t,te.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(te.TokenKind.COLON),this.node(t,{kind:Ce.Kind.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(te.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(te.TokenKind.NAME)?this.node(e,{kind:Ce.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:Ce.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:Ce.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:Ce.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 te.TokenKind.BRACKET_L:return this.parseList(e);case te.TokenKind.BRACE_L:return this.parseObject(e);case te.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:Ce.Kind.INT,value:t.value});case te.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:Ce.Kind.FLOAT,value:t.value});case te.TokenKind.STRING:case te.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case te.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:Ce.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:Ce.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:Ce.Kind.NULL});default:return this.node(t,{kind:Ce.Kind.ENUM,value:t.value})}case te.TokenKind.DOLLAR:if(e)if(this.expectToken(te.TokenKind.DOLLAR),this._lexer.token.kind===te.TokenKind.NAME){let i=this._lexer.token.value;throw(0,Ls.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${i}" 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.advanceLexer(),this.node(e,{kind:Ce.Kind.STRING,value:e.value,block:e.kind===te.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:Ce.Kind.LIST,values:this.any(te.TokenKind.BRACKET_L,t,te.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:Ce.Kind.OBJECT,fields:this.any(te.TokenKind.BRACE_L,t,te.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(te.TokenKind.COLON),this.node(t,{kind:Ce.Kind.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(te.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(te.TokenKind.AT),this.node(t,{kind:Ce.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(te.TokenKind.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(te.TokenKind.BRACKET_R),t=this.node(e,{kind:Ce.Kind.LIST_TYPE,type:i})}else t=this.parseNamedType();return this.expectOptionalToken(te.TokenKind.BANG)?this.node(e,{kind:Ce.Kind.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:Ce.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(te.TokenKind.STRING)||this.peek(te.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),r=this.many(te.TokenKind.BRACE_L,this.parseOperationTypeDefinition,te.TokenKind.BRACE_R);return this.node(e,{kind:Ce.Kind.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(te.TokenKind.COLON);let i=this.parseNamedType();return this.node(e,{kind:Ce.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:Ce.Kind.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:Ce.Kind.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:r,directives:a,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(te.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(te.TokenKind.BRACE_L,this.parseFieldDefinition,te.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(te.TokenKind.COLON);let a=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:Ce.Kind.FIELD_DEFINITION,description:t,name:i,arguments:r,type:a,directives:o})}parseArgumentDefs(){return this.optionalMany(te.TokenKind.PAREN_L,this.parseInputValueDef,te.TokenKind.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName();this.expectToken(te.TokenKind.COLON);let r=this.parseTypeReference(),a;this.expectOptionalToken(te.TokenKind.EQUALS)&&(a=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(e,{kind:Ce.Kind.INPUT_VALUE_DEFINITION,description:t,name:i,type:r,defaultValue:a,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),r=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:Ce.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:r,directives:a,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),r=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(e,{kind:Ce.Kind.UNION_TYPE_DEFINITION,description:t,name:i,directives:r,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(te.TokenKind.EQUALS)?this.delimitedMany(te.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),r=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(e,{kind:Ce.Kind.ENUM_TYPE_DEFINITION,description:t,name:i,directives:r,values:a})}parseEnumValuesDefinition(){return this.optionalMany(te.TokenKind.BRACE_L,this.parseEnumValueDefinition,te.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:Ce.Kind.ENUM_VALUE_DEFINITION,description:t,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw(0,Ls.syntaxError)(this._lexer.source,this._lexer.token.start,`${B0(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 i=this.parseName(),r=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(e,{kind:Ce.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:r,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(te.TokenKind.BRACE_L,this.parseInputValueDef,te.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===te.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(),i=this.optionalMany(te.TokenKind.BRACE_L,this.parseOperationTypeDefinition,te.TokenKind.BRACE_R);if(t.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&a.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:r,fields:a})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&a.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:r,fields:a})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.UNION_TYPE_EXTENSION,name:t,directives:i,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.ENUM_TYPE_EXTENSION,name:t,directives:i,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:Ce.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(te.TokenKind.AT);let i=this.parseName(),r=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:Ce.Kind.DIRECTIVE_DEFINITION,description:t,name:i,arguments:r,repeatable:a,locations:o})}parseDirectiveLocations(){return this.delimitedMany(te.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(UQ.DirectiveLocation,t.value))return t;throw this.unexpected(e)}node(e,t){return this._options.noLocation!==!0&&(t.loc=new ul.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.advanceLexer(),t;throw(0,Ls.syntaxError)(this._lexer.source,t.start,`Expected ${lb(e)}, found ${B0(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===te.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,Ls.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${B0(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===te.TokenKind.NAME&&t.value===e?(this.advanceLexer(),!0):!1}unexpected(e){let t=e??this._lexer.token;return(0,Ls.syntaxError)(this._lexer.source,t.start,`Unexpected ${B0(t)}.`)}any(e,t,i){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(i);)r.push(t.call(this));return r}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(e,t,i){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e));return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(e!==void 0&&t.kind!==te.TokenKind.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw(0,Ls.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};So.Parser=Ps;function B0(n){let e=n.value;return lb(n.kind)+(e!=null?` "${e}"`:"")}function lb(n){return(0,db.isPunctuatorTokenKind)(n)?`"${n}"`:n}});var Do=T(g4=>{"use strict";f();c();Object.defineProperty(g4,"__esModule",{value:!0});g4.didYouMean=WQ;var zQ=5;function WQ(n,e){let[t,i]=e?[n,e]:[void 0,n],r=" Did you mean ";t&&(r+=t+" ");let a=i.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 o=a.slice(0,zQ),s=o.pop();return r+o.join(", ")+", or "+s+"?"}});var cb=T(A4=>{"use strict";f();c();Object.defineProperty(A4,"__esModule",{value:!0});A4.identityFunc=YQ;function YQ(n){return n}});var _o=T(T4=>{"use strict";f();c();Object.defineProperty(T4,"__esModule",{value:!0});T4.keyMap=JQ;function JQ(n,e){let t=Object.create(null);for(let i of n)t[e(i)]=i;return t}});var pl=T(b4=>{"use strict";f();c();Object.defineProperty(b4,"__esModule",{value:!0});b4.keyValMap=XQ;function XQ(n,e,t){let i=Object.create(null);for(let r of n)i[e(r)]=t(r);return i}});var D4=T(S4=>{"use strict";f();c();Object.defineProperty(S4,"__esModule",{value:!0});S4.mapValue=ZQ;function ZQ(n,e){let t=Object.create(null);for(let i of Object.keys(n))t[i]=e(n[i],i);return t}});var dl=T(F4=>{"use strict";f();c();Object.defineProperty(F4,"__esModule",{value:!0});F4.naturalCompare=eK;function eK(n,e){let t=0,i=0;for(;t0);let s=0;do++i,s=s*10+a-_4,a=e.charCodeAt(i);while(L0(a)&&s>0);if(os)return 1}else{if(ra)return 1;++t,++i}}return n.length-e.length}var _4=48,tK=57;function L0(n){return!isNaN(n)&&_4<=n&&n<=tK}});var Fo=T(N4=>{"use strict";f();c();Object.defineProperty(N4,"__esModule",{value:!0});N4.suggestionList=iK;var nK=dl();function iK(n,e){let t=Object.create(null),i=new C4(n),r=Math.floor(n.length*.4)+1;for(let a of e){let o=i.measure(a,r);o!==void 0&&(t[a]=o)}return Object.keys(t).sort((a,o)=>{let s=t[a]-t[o];return s!==0?s:(0,nK.naturalCompare)(a,o)})}var C4=class{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=fb(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 i=e.toLowerCase();if(this._inputLowerCase===i)return 1;let r=fb(i),a=this._inputArray;if(r.lengtht)return;let u=this._rows;for(let d=0;d<=s;d++)u[0][d]=d;for(let d=1;d<=o;d++){let l=u[(d-1)%3],m=u[d%3],y=m[0]=d;for(let v=1;v<=s;v++){let g=r[d-1]===a[v-1]?0:1,b=Math.min(l[v]+1,m[v-1]+1,l[v-1]+g);if(d>1&&v>1&&r[d-1]===a[v-2]&&r[d-2]===a[v-1]){let D=u[(d-2)%3][v-2];b=Math.min(b,D+1)}bt)return}let p=u[o%3][s];return p<=t?p:void 0}};function fb(n){let e=n.length,t=new Array(e);for(let i=0;i{"use strict";f();c();Object.defineProperty(O4,"__esModule",{value:!0});O4.toObjMap=rK;function rK(n){if(n==null)return Object.create(null);if(Object.getPrototypeOf(n)===null)return n;let e=Object.create(null);for(let[t,i]of Object.entries(n))e[t]=i;return e}});var hb=T(I4=>{"use strict";f();c();Object.defineProperty(I4,"__esModule",{value:!0});I4.printString=aK;function aK(n){return`"${n.replace(oK,sK)}"`}var oK=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function sK(n){return uK[n.charCodeAt(0)]}var uK=["\\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 xs=T(Co=>{"use strict";f();c();Object.defineProperty(Co,"__esModule",{value:!0});Co.BREAK=void 0;Co.getEnterLeaveForKind=x0;Co.getVisitFn=fK;Co.visit=lK;Co.visitInParallel=cK;var pK=Kn(),dK=rt(),w4=na(),mb=He(),up=Object.freeze({});Co.BREAK=up;function lK(n,e,t=w4.QueryDocumentKeys){let i=new Map;for(let D of Object.values(mb.Kind))i.set(D,x0(e,D));let r,a=Array.isArray(n),o=[n],s=-1,u=[],p=n,d,l,m=[],y=[];do{s++;let D=s===o.length,R=D&&u.length!==0;if(D){if(d=y.length===0?void 0:m[m.length-1],p=l,l=y.pop(),R)if(a){p=p.slice();let L=0;for(let[k,K]of u){let Y=k-L;K===null?(p.splice(Y,1),L++):p[Y]=K}}else{p=Object.defineProperties({},Object.getOwnPropertyDescriptors(p));for(let[L,k]of u)p[L]=k}s=r.index,o=r.keys,u=r.edits,a=r.inArray,r=r.prev}else if(l){if(d=a?s:o[s],p=l[d],p==null)continue;m.push(d)}let N;if(!Array.isArray(p)){var v,g;(0,w4.isNode)(p)||(0,pK.devAssert)(!1,`Invalid AST Node: ${(0,dK.inspect)(p)}.`);let L=D?(v=i.get(p.kind))===null||v===void 0?void 0:v.leave:(g=i.get(p.kind))===null||g===void 0?void 0:g.enter;if(N=L?.call(e,p,d,l,m,y),N===up)break;if(N===!1){if(!D){m.pop();continue}}else if(N!==void 0&&(u.push([d,N]),!D))if((0,w4.isNode)(N))p=N;else{m.pop();continue}}if(N===void 0&&R&&u.push([d,p]),D)m.pop();else{var b;r={inArray:a,index:s,keys:o,edits:u,prev:r},a=Array.isArray(p),o=a?p:(b=t[p.kind])!==null&&b!==void 0?b:[],s=-1,u=[],l&&y.push(l),l=p}}while(r!==void 0);return u.length!==0?u[u.length-1][1]:n}function cK(n){let e=new Array(n.length).fill(null),t=Object.create(null);for(let i of Object.values(mb.Kind)){let r=!1,a=new Array(n.length).fill(void 0),o=new Array(n.length).fill(void 0);for(let u=0;u{"use strict";f();c();Object.defineProperty(R4,"__esModule",{value:!0});R4.print=vK;var hK=tl(),mK=hb(),yK=xs();function vK(n){return(0,yK.visit)(n,gK)}var EK=80,gK={Name:{leave:n=>n.value},Variable:{leave:n=>"$"+n.name},Document:{leave:n=>ue(n.definitions,` `)},OperationDefinition:{leave(n){let e=Ve("(",ue(n.variableDefinitions,", "),")"),t=ue([n.operation,ue([n.name,e]),ue(n.directives," ")]," ");return(t==="query"?"":t+" ")+n.selectionSet}},VariableDefinition:{leave:({variable:n,type:e,defaultValue:t,directives:i})=>n+": "+e+Ve(" = ",t)+Ve(" ",ue(i," "))},SelectionSet:{leave:({selections:n})=>Er(n)},Field:{leave({alias:n,name:e,arguments:t,directives:i,selectionSet:r}){let a=Ve("",n,": ")+e,o=a+Ve("(",ue(t,", "),")");return o.length>EK&&(o=a+Ve(`( `,k0(ue(t,` `)),` )`)),ue([o,ue(i," "),r]," ")}},Argument:{leave:({name:n,value:e})=>n+": "+e},FragmentSpread:{leave:({name:n,directives:e})=>"..."+n+Ve(" ",ue(e," "))},InlineFragment:{leave:({typeCondition:n,directives:e,selectionSet:t})=>ue(["...",Ve("on ",n),ue(e," "),t]," ")},FragmentDefinition:{leave:({name:n,typeCondition:e,variableDefinitions:t,directives:i,selectionSet:r})=>`fragment ${n}${Ve("(",ue(t,", "),")")} on ${e} ${Ve("",ue(i," ")," ")}`+r},IntValue:{leave:({value:n})=>n},FloatValue:{leave:({value:n})=>n},StringValue:{leave:({value:n,block:e})=>e?(0,hK.printBlockString)(n):(0,mK.printString)(n)},BooleanValue:{leave:({value:n})=>n?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:n})=>n},ListValue:{leave:({values:n})=>"["+ue(n,", ")+"]"},ObjectValue:{leave:({fields:n})=>"{"+ue(n,", ")+"}"},ObjectField:{leave:({name:n,value:e})=>n+": "+e},Directive:{leave:({name:n,arguments:e})=>"@"+n+Ve("(",ue(e,", "),")")},NamedType:{leave:({name:n})=>n},ListType:{leave:({type:n})=>"["+n+"]"},NonNullType:{leave:({type:n})=>n+"!"},SchemaDefinition:{leave:({description:n,directives:e,operationTypes:t})=>Ve("",n,` `)+ue(["schema",ue(e," "),Er(t)]," ")},OperationTypeDefinition:{leave:({operation:n,type:e})=>n+": "+e},ScalarTypeDefinition:{leave:({description:n,name:e,directives:t})=>Ve("",n,` `)+ue(["scalar",e,ue(t," ")]," ")},ObjectTypeDefinition:{leave:({description:n,name:e,interfaces:t,directives:i,fields:r})=>Ve("",n,` `)+ue(["type",e,Ve("implements ",ue(t," & ")),ue(i," "),Er(r)]," ")},FieldDefinition:{leave:({description:n,name:e,arguments:t,type:i,directives:r})=>Ve("",n,` `)+e+(yb(t)?Ve(`( `,k0(ue(t,` `)),` )`):Ve("(",ue(t,", "),")"))+": "+i+Ve(" ",ue(r," "))},InputValueDefinition:{leave:({description:n,name:e,type:t,defaultValue:i,directives:r})=>Ve("",n,` `)+ue([e+": "+t,Ve("= ",i),ue(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:n,name:e,interfaces:t,directives:i,fields:r})=>Ve("",n,` `)+ue(["interface",e,Ve("implements ",ue(t," & ")),ue(i," "),Er(r)]," ")},UnionTypeDefinition:{leave:({description:n,name:e,directives:t,types:i})=>Ve("",n,` `)+ue(["union",e,ue(t," "),Ve("= ",ue(i," | "))]," ")},EnumTypeDefinition:{leave:({description:n,name:e,directives:t,values:i})=>Ve("",n,` `)+ue(["enum",e,ue(t," "),Er(i)]," ")},EnumValueDefinition:{leave:({description:n,name:e,directives:t})=>Ve("",n,` `)+ue([e,ue(t," ")]," ")},InputObjectTypeDefinition:{leave:({description:n,name:e,directives:t,fields:i})=>Ve("",n,` `)+ue(["input",e,ue(t," "),Er(i)]," ")},DirectiveDefinition:{leave:({description:n,name:e,arguments:t,repeatable:i,locations:r})=>Ve("",n,` `)+"directive @"+e+(yb(t)?Ve(`( `,k0(ue(t,` `)),` )`):Ve("(",ue(t,", "),")"))+(i?" repeatable":"")+" on "+ue(r," | ")},SchemaExtension:{leave:({directives:n,operationTypes:e})=>ue(["extend schema",ue(n," "),Er(e)]," ")},ScalarTypeExtension:{leave:({name:n,directives:e})=>ue(["extend scalar",n,ue(e," ")]," ")},ObjectTypeExtension:{leave:({name:n,interfaces:e,directives:t,fields:i})=>ue(["extend type",n,Ve("implements ",ue(e," & ")),ue(t," "),Er(i)]," ")},InterfaceTypeExtension:{leave:({name:n,interfaces:e,directives:t,fields:i})=>ue(["extend interface",n,Ve("implements ",ue(e," & ")),ue(t," "),Er(i)]," ")},UnionTypeExtension:{leave:({name:n,directives:e,types:t})=>ue(["extend union",n,ue(e," "),Ve("= ",ue(t," | "))]," ")},EnumTypeExtension:{leave:({name:n,directives:e,values:t})=>ue(["extend enum",n,ue(e," "),Er(t)]," ")},InputObjectTypeExtension:{leave:({name:n,directives:e,fields:t})=>ue(["extend input",n,ue(e," "),Er(t)]," ")}};function ue(n,e=""){var t;return(t=n?.filter(i=>i).join(e))!==null&&t!==void 0?t:""}function Er(n){return Ve(`{ `,k0(ue(n,` `)),` }`)}function Ve(n,e,t=""){return e!=null&&e!==""?n+e+t:""}function k0(n){return Ve(" ",n.replace(/\n/g,` `))}function yb(n){var e;return(e=n?.some(t=>t.includes(` `)))!==null&&e!==void 0?e:!1}});var P4=T(L4=>{"use strict";f();c();Object.defineProperty(L4,"__esModule",{value:!0});L4.valueFromASTUntyped=B4;var AK=pl(),Ma=He();function B4(n,e){switch(n.kind){case Ma.Kind.NULL:return null;case Ma.Kind.INT:return parseInt(n.value,10);case Ma.Kind.FLOAT:return parseFloat(n.value);case Ma.Kind.STRING:case Ma.Kind.ENUM:case Ma.Kind.BOOLEAN:return n.value;case Ma.Kind.LIST:return n.values.map(t=>B4(t,e));case Ma.Kind.OBJECT:return(0,AK.keyValMap)(n.fields,t=>t.name.value,t=>B4(t.value,e));case Ma.Kind.VARIABLE:return e?.[n.name.value]}}});var ll=T(V0=>{"use strict";f();c();Object.defineProperty(V0,"__esModule",{value:!0});V0.assertEnumValueName=TK;V0.assertName=gb;var vb=Kn(),$0=be(),Eb=F0();function gb(n){if(n!=null||(0,vb.devAssert)(!1,"Must provide name."),typeof n=="string"||(0,vb.devAssert)(!1,"Expected name to be a string."),n.length===0)throw new $0.GraphQLError("Expected name to be a non-empty string.");for(let e=1;e{"use strict";f();c();Object.defineProperty(me,"__esModule",{value:!0});me.GraphQLUnionType=me.GraphQLScalarType=me.GraphQLObjectType=me.GraphQLNonNull=me.GraphQLList=me.GraphQLInterfaceType=me.GraphQLInputObjectType=me.GraphQLEnumType=void 0;me.argsToArgsConfig=wb;me.assertAbstractType=qK;me.assertCompositeType=jK;me.assertEnumType=BK;me.assertInputObjectType=LK;me.assertInputType=kK;me.assertInterfaceType=wK;me.assertLeafType=VK;me.assertListType=PK;me.assertNamedType=QK;me.assertNonNullType=xK;me.assertNullableType=UK;me.assertObjectType=IK;me.assertOutputType=$K;me.assertScalarType=OK;me.assertType=NK;me.assertUnionType=RK;me.assertWrappingType=MK;me.defineArguments=Ob;me.getNamedType=KK;me.getNullableType=GK;me.isAbstractType=_b;me.isCompositeType=Db;me.isEnumType=js;me.isInputObjectType=fl;me.isInputType=x4;me.isInterfaceType=$s;me.isLeafType=Sb;me.isListType=J0;me.isNamedType=Fb;me.isNonNullType=Oo;me.isNullableType=$4;me.isObjectType=dp;me.isOutputType=k4;me.isRequiredArgument=HK;me.isRequiredInputField=JK;me.isScalarType=ks;me.isType=Y0;me.isUnionType=Vs;me.isWrappingType=hl;me.resolveObjMapThunk=j4;me.resolveReadonlyArrayThunk=V4;var hn=Kn(),bK=Do(),Ab=cb(),bt=rt(),No=ol(),SK=ta(),DK=_o(),bb=pl(),W0=D4(),_K=Fo(),ia=P0(),cl=be(),FK=He(),Tb=bi(),CK=P4(),ra=ll();function Y0(n){return ks(n)||dp(n)||$s(n)||Vs(n)||js(n)||fl(n)||J0(n)||Oo(n)}function NK(n){if(!Y0(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL type.`);return n}function ks(n){return(0,No.instanceOf)(n,U0)}function OK(n){if(!ks(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Scalar type.`);return n}function dp(n){return(0,No.instanceOf)(n,G0)}function IK(n){if(!dp(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Object type.`);return n}function $s(n){return(0,No.instanceOf)(n,Q0)}function wK(n){if(!$s(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Interface type.`);return n}function Vs(n){return(0,No.instanceOf)(n,K0)}function RK(n){if(!Vs(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Union type.`);return n}function js(n){return(0,No.instanceOf)(n,H0)}function BK(n){if(!js(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Enum type.`);return n}function fl(n){return(0,No.instanceOf)(n,z0)}function LK(n){if(!fl(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Input Object type.`);return n}function J0(n){return(0,No.instanceOf)(n,q0)}function PK(n){if(!J0(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL List type.`);return n}function Oo(n){return(0,No.instanceOf)(n,M0)}function xK(n){if(!Oo(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL Non-Null type.`);return n}function x4(n){return ks(n)||js(n)||fl(n)||hl(n)&&x4(n.ofType)}function kK(n){if(!x4(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL input type.`);return n}function k4(n){return ks(n)||dp(n)||$s(n)||Vs(n)||js(n)||hl(n)&&k4(n.ofType)}function $K(n){if(!k4(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL output type.`);return n}function Sb(n){return ks(n)||js(n)}function VK(n){if(!Sb(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL leaf type.`);return n}function Db(n){return dp(n)||$s(n)||Vs(n)}function jK(n){if(!Db(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL composite type.`);return n}function _b(n){return $s(n)||Vs(n)}function qK(n){if(!_b(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL abstract type.`);return n}var q0=class{constructor(e){Y0(e)||(0,hn.devAssert)(!1,`Expected ${(0,bt.inspect)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}};me.GraphQLList=q0;var M0=class{constructor(e){$4(e)||(0,hn.devAssert)(!1,`Expected ${(0,bt.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()}};me.GraphQLNonNull=M0;function hl(n){return J0(n)||Oo(n)}function MK(n){if(!hl(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL wrapping type.`);return n}function $4(n){return Y0(n)&&!Oo(n)}function UK(n){if(!$4(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL nullable type.`);return n}function GK(n){if(n)return Oo(n)?n.ofType:n}function Fb(n){return ks(n)||dp(n)||$s(n)||Vs(n)||js(n)||fl(n)}function QK(n){if(!Fb(n))throw new Error(`Expected ${(0,bt.inspect)(n)} to be a GraphQL named type.`);return n}function KK(n){if(n){let e=n;for(;hl(e);)e=e.ofType;return e}}function V4(n){return typeof n=="function"?n():n}function j4(n){return typeof n=="function"?n():n}var U0=class{constructor(e){var t,i,r,a;let o=(t=e.parseValue)!==null&&t!==void 0?t:Ab.identityFunc;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=(i=e.serialize)!==null&&i!==void 0?i:Ab.identityFunc,this.parseValue=o,this.parseLiteral=(r=e.parseLiteral)!==null&&r!==void 0?r:(s,u)=>o((0,CK.valueFromASTUntyped)(s,u)),this.extensions=(0,ia.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,hn.devAssert)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,bt.inspect)(e.specifiedByURL)}.`),e.serialize==null||typeof e.serialize=="function"||(0,hn.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,hn.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()}};me.GraphQLScalarType=U0;var G0=class{constructor(e){var t;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,ia.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=()=>Nb(e),this._interfaces=()=>Cb(e),e.isTypeOf==null||typeof e.isTypeOf=="function"||(0,hn.devAssert)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,bt.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:Ib(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};me.GraphQLObjectType=G0;function Cb(n){var e;let t=V4((e=n.interfaces)!==null&&e!==void 0?e:[]);return Array.isArray(t)||(0,hn.devAssert)(!1,`${n.name} interfaces must be an Array or a function which returns an Array.`),t}function Nb(n){let e=j4(n.fields);return pp(e)||(0,hn.devAssert)(!1,`${n.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,W0.mapValue)(e,(t,i)=>{var r;pp(t)||(0,hn.devAssert)(!1,`${n.name}.${i} field config must be an object.`),t.resolve==null||typeof t.resolve=="function"||(0,hn.devAssert)(!1,`${n.name}.${i} field resolver must be a function if provided, but got: ${(0,bt.inspect)(t.resolve)}.`);let a=(r=t.args)!==null&&r!==void 0?r:{};return pp(a)||(0,hn.devAssert)(!1,`${n.name}.${i} args must be an object with argument names as keys.`),{name:(0,ra.assertName)(i),description:t.description,type:t.type,args:Ob(a),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,ia.toObjMap)(t.extensions),astNode:t.astNode}})}function Ob(n){return Object.entries(n).map(([e,t])=>({name:(0,ra.assertName)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,ia.toObjMap)(t.extensions),astNode:t.astNode}))}function pp(n){return(0,SK.isObjectLike)(n)&&!Array.isArray(n)}function Ib(n){return(0,W0.mapValue)(n,e=>({description:e.description,type:e.type,args:wb(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function wb(n){return(0,bb.keyValMap)(n,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function HK(n){return Oo(n.type)&&n.defaultValue===void 0}var Q0=class{constructor(e){var t;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,ia.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=Nb.bind(void 0,e),this._interfaces=Cb.bind(void 0,e),e.resolveType==null||typeof e.resolveType=="function"||(0,hn.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,bt.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:Ib(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}};me.GraphQLInterfaceType=Q0;var K0=class{constructor(e){var t;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,ia.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._types=zK.bind(void 0,e),e.resolveType==null||typeof e.resolveType=="function"||(0,hn.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,bt.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()}};me.GraphQLUnionType=K0;function zK(n){let e=V4(n.types);return Array.isArray(e)||(0,hn.devAssert)(!1,`Must provide Array of types or a function which returns such an array for Union ${n.name}.`),e}var H0=class{constructor(e){var t;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.extensions=(0,ia.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._values=WK(this.name,e.values),this._valueLookup=new Map(this._values.map(i=>[i.value,i])),this._nameLookup=(0,DK.keyMap)(this._values,i=>i.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 cl.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,bt.inspect)(e)}`);return t.name}parseValue(e){if(typeof e!="string"){let i=(0,bt.inspect)(e);throw new cl.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${i}.`+j0(this,i))}let t=this.getValue(e);if(t==null)throw new cl.GraphQLError(`Value "${e}" does not exist in "${this.name}" enum.`+j0(this,e));return t.value}parseLiteral(e,t){if(e.kind!==FK.Kind.ENUM){let r=(0,Tb.print)(e);throw new cl.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+j0(this,r),{nodes:e})}let i=this.getValue(e.value);if(i==null){let r=(0,Tb.print)(e);throw new cl.GraphQLError(`Value "${r}" does not exist in "${this.name}" enum.`+j0(this,r),{nodes:e})}return i.value}toConfig(){let e=(0,bb.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()}};me.GraphQLEnumType=H0;function j0(n,e){let t=n.getValues().map(r=>r.name),i=(0,_K.suggestionList)(e,t);return(0,bK.didYouMean)("the enum value",i)}function WK(n,e){return pp(e)||(0,hn.devAssert)(!1,`${n} values must be an object with value names as keys.`),Object.entries(e).map(([t,i])=>(pp(i)||(0,hn.devAssert)(!1,`${n}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,bt.inspect)(i)}.`),{name:(0,ra.assertEnumValueName)(t),description:i.description,value:i.value!==void 0?i.value:t,deprecationReason:i.deprecationReason,extensions:(0,ia.toObjMap)(i.extensions),astNode:i.astNode}))}var z0=class{constructor(e){var t;this.name=(0,ra.assertName)(e.name),this.description=e.description,this.extensions=(0,ia.toObjMap)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=YK.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,W0.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()}};me.GraphQLInputObjectType=z0;function YK(n){let e=j4(n.fields);return pp(e)||(0,hn.devAssert)(!1,`${n.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,W0.mapValue)(e,(t,i)=>(!("resolve"in t)||(0,hn.devAssert)(!1,`${n.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,ra.assertName)(i),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,ia.toObjMap)(t.extensions),astNode:t.astNode}))}function JK(n){return Oo(n.type)&&n.defaultValue===void 0}});var yl=T(ml=>{"use strict";f();c();Object.defineProperty(ml,"__esModule",{value:!0});ml.doTypesOverlap=XK;ml.isEqualType=q4;ml.isTypeSubTypeOf=X0;var Pn=Ue();function q4(n,e){return n===e?!0:(0,Pn.isNonNullType)(n)&&(0,Pn.isNonNullType)(e)||(0,Pn.isListType)(n)&&(0,Pn.isListType)(e)?q4(n.ofType,e.ofType):!1}function X0(n,e,t){return e===t?!0:(0,Pn.isNonNullType)(t)?(0,Pn.isNonNullType)(e)?X0(n,e.ofType,t.ofType):!1:(0,Pn.isNonNullType)(e)?X0(n,e.ofType,t):(0,Pn.isListType)(t)?(0,Pn.isListType)(e)?X0(n,e.ofType,t.ofType):!1:(0,Pn.isListType)(e)?!1:(0,Pn.isAbstractType)(t)&&((0,Pn.isInterfaceType)(e)||(0,Pn.isObjectType)(e))&&n.isSubType(t,e)}function XK(n,e,t){return e===t?!0:(0,Pn.isAbstractType)(e)?(0,Pn.isAbstractType)(t)?n.getPossibleTypes(e).some(i=>n.isSubType(t,i)):n.isSubType(e,t):(0,Pn.isAbstractType)(t)?n.isSubType(t,e):!1}});var aa=T(Zt=>{"use strict";f();c();Object.defineProperty(Zt,"__esModule",{value:!0});Zt.GraphQLString=Zt.GraphQLInt=Zt.GraphQLID=Zt.GraphQLFloat=Zt.GraphQLBoolean=Zt.GRAPHQL_MIN_INT=Zt.GRAPHQL_MAX_INT=void 0;Zt.isSpecifiedScalarType=ZK;Zt.specifiedScalarTypes=void 0;var gr=rt(),Rb=ta(),mn=be(),qs=He(),vl=bi(),El=Ue(),Z0=2147483647;Zt.GRAPHQL_MAX_INT=Z0;var ef=-2147483648;Zt.GRAPHQL_MIN_INT=ef;var Bb=new El.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(n){let e=gl(n);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 mn.GraphQLError(`Int cannot represent non-integer value: ${(0,gr.inspect)(e)}`);if(t>Z0||tZ0||nZ0||en.name===e)}function gl(n){if((0,Rb.isObjectLike)(n)){if(typeof n.valueOf=="function"){let e=n.valueOf();if(!(0,Rb.isObjectLike)(e))return e}if(typeof n.toJSON=="function")return n.toJSON()}return n}});var ri=T(en=>{"use strict";f();c();Object.defineProperty(en,"__esModule",{value:!0});en.GraphQLSpecifiedByDirective=en.GraphQLSkipDirective=en.GraphQLIncludeDirective=en.GraphQLDirective=en.GraphQLDeprecatedDirective=en.DEFAULT_DEPRECATION_REASON=void 0;en.assertDirective=aH;en.isDirective=jb;en.isSpecifiedDirective=oH;en.specifiedDirectives=void 0;var Vb=Kn(),eH=rt(),tH=ol(),nH=ta(),iH=P0(),Ar=ap(),rH=ll(),Al=Ue(),tf=aa();function jb(n){return(0,tH.instanceOf)(n,Io)}function aH(n){if(!jb(n))throw new Error(`Expected ${(0,eH.inspect)(n)} to be a GraphQL directive.`);return n}var Io=class{constructor(e){var t,i;this.name=(0,rH.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,iH.toObjMap)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,Vb.devAssert)(!1,`@${e.name} locations must be an Array.`);let r=(i=e.args)!==null&&i!==void 0?i:{};(0,nH.isObjectLike)(r)&&!Array.isArray(r)||(0,Vb.devAssert)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,Al.defineArguments)(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,Al.argsToArgsConfig)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}};en.GraphQLDirective=Io;var qb=new Io({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Ar.DirectiveLocation.FIELD,Ar.DirectiveLocation.FRAGMENT_SPREAD,Ar.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new Al.GraphQLNonNull(tf.GraphQLBoolean),description:"Included when true."}}});en.GraphQLIncludeDirective=qb;var Mb=new Io({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Ar.DirectiveLocation.FIELD,Ar.DirectiveLocation.FRAGMENT_SPREAD,Ar.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new Al.GraphQLNonNull(tf.GraphQLBoolean),description:"Skipped when true."}}});en.GraphQLSkipDirective=Mb;var Ub="No longer supported";en.DEFAULT_DEPRECATION_REASON=Ub;var Gb=new Io({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Ar.DirectiveLocation.FIELD_DEFINITION,Ar.DirectiveLocation.ARGUMENT_DEFINITION,Ar.DirectiveLocation.INPUT_FIELD_DEFINITION,Ar.DirectiveLocation.ENUM_VALUE],args:{reason:{type:tf.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:Ub}}});en.GraphQLDeprecatedDirective=Gb;var Qb=new Io({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Ar.DirectiveLocation.SCALAR],args:{url:{type:new Al.GraphQLNonNull(tf.GraphQLString),description:"The URL that specifies the behavior of this scalar."}}});en.GraphQLSpecifiedByDirective=Qb;var Kb=Object.freeze([qb,Mb,Gb,Qb]);en.specifiedDirectives=Kb;function oH(n){return Kb.some(({name:e})=>e===n.name)}});var nf=T(M4=>{"use strict";f();c();Object.defineProperty(M4,"__esModule",{value:!0});M4.isIterableObject=sH;function sH(n){return typeof n=="object"&&typeof n?.[Symbol.iterator]=="function"}});var Sl=T(U4=>{"use strict";f();c();Object.defineProperty(U4,"__esModule",{value:!0});U4.astFromValue=bl;var Hb=rt(),uH=Ln(),pH=nf(),dH=ta(),ki=He(),Tl=Ue(),lH=aa();function bl(n,e){if((0,Tl.isNonNullType)(e)){let t=bl(n,e.ofType);return t?.kind===ki.Kind.NULL?null:t}if(n===null)return{kind:ki.Kind.NULL};if(n===void 0)return null;if((0,Tl.isListType)(e)){let t=e.ofType;if((0,pH.isIterableObject)(n)){let i=[];for(let r of n){let a=bl(r,t);a!=null&&i.push(a)}return{kind:ki.Kind.LIST,values:i}}return bl(n,t)}if((0,Tl.isInputObjectType)(e)){if(!(0,dH.isObjectLike)(n))return null;let t=[];for(let i of Object.values(e.getFields())){let r=bl(n[i.name],i.type);r&&t.push({kind:ki.Kind.OBJECT_FIELD,name:{kind:ki.Kind.NAME,value:i.name},value:r})}return{kind:ki.Kind.OBJECT,fields:t}}if((0,Tl.isLeafType)(e)){let t=e.serialize(n);if(t==null)return null;if(typeof t=="boolean")return{kind:ki.Kind.BOOLEAN,value:t};if(typeof t=="number"&&Number.isFinite(t)){let i=String(t);return zb.test(i)?{kind:ki.Kind.INT,value:i}:{kind:ki.Kind.FLOAT,value:i}}if(typeof t=="string")return(0,Tl.isEnumType)(e)?{kind:ki.Kind.ENUM,value:t}:e===lH.GraphQLID&&zb.test(t)?{kind:ki.Kind.INT,value:t}:{kind:ki.Kind.STRING,value:t};throw new TypeError(`Cannot convert value to AST: ${(0,Hb.inspect)(t)}.`)}(0,uH.invariant)(!1,"Unexpected input type: "+(0,Hb.inspect)(e))}var zb=/^-?(?:0|[1-9][0-9]*)$/});var Vi=T(at=>{"use strict";f();c();Object.defineProperty(at,"__esModule",{value:!0});at.introspectionTypes=at.__TypeKind=at.__Type=at.__Schema=at.__InputValue=at.__Field=at.__EnumValue=at.__DirectiveLocation=at.__Directive=at.TypeNameMetaFieldDef=at.TypeMetaFieldDef=at.TypeKind=at.SchemaMetaFieldDef=void 0;at.isIntrospectionType=gH;var cH=rt(),fH=Ln(),tn=ap(),hH=bi(),mH=Sl(),pe=Ue(),St=aa(),G4=new pe.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:St.GraphQLString,resolve:n=>n.description},types:{description:"A list of all types supported by this server.",type:new pe.GraphQLNonNull(new pe.GraphQLList(new pe.GraphQLNonNull($i))),resolve(n){return Object.values(n.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new pe.GraphQLNonNull($i),resolve:n=>n.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:$i,resolve:n=>n.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:$i,resolve:n=>n.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new pe.GraphQLNonNull(new pe.GraphQLList(new pe.GraphQLNonNull(Q4))),resolve:n=>n.getDirectives()}})});at.__Schema=G4;var Q4=new pe.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 pe.GraphQLNonNull(St.GraphQLString),resolve:n=>n.name},description:{type:St.GraphQLString,resolve:n=>n.description},isRepeatable:{type:new pe.GraphQLNonNull(St.GraphQLBoolean),resolve:n=>n.isRepeatable},locations:{type:new pe.GraphQLNonNull(new pe.GraphQLList(new pe.GraphQLNonNull(K4))),resolve:n=>n.locations},args:{type:new pe.GraphQLNonNull(new pe.GraphQLList(new pe.GraphQLNonNull(Dl))),args:{includeDeprecated:{type:St.GraphQLBoolean,defaultValue:!1}},resolve(n,{includeDeprecated:e}){return e?n.args:n.args.filter(t=>t.deprecationReason==null)}}})});at.__Directive=Q4;var K4=new pe.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:tn.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:tn.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:tn.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:tn.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:tn.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:tn.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:tn.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:tn.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:tn.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:tn.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:tn.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:tn.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:tn.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:tn.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:tn.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:tn.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:tn.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:tn.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:tn.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});at.__DirectiveLocation=K4;var $i=new pe.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 pe.GraphQLNonNull(W4),resolve(n){if((0,pe.isScalarType)(n))return nn.SCALAR;if((0,pe.isObjectType)(n))return nn.OBJECT;if((0,pe.isInterfaceType)(n))return nn.INTERFACE;if((0,pe.isUnionType)(n))return nn.UNION;if((0,pe.isEnumType)(n))return nn.ENUM;if((0,pe.isInputObjectType)(n))return nn.INPUT_OBJECT;if((0,pe.isListType)(n))return nn.LIST;if((0,pe.isNonNullType)(n))return nn.NON_NULL;(0,fH.invariant)(!1,`Unexpected type: "${(0,cH.inspect)(n)}".`)}},name:{type:St.GraphQLString,resolve:n=>"name"in n?n.name:void 0},description:{type:St.GraphQLString,resolve:n=>"description"in n?n.description:void 0},specifiedByURL:{type:St.GraphQLString,resolve:n=>"specifiedByURL"in n?n.specifiedByURL:void 0},fields:{type:new pe.GraphQLList(new pe.GraphQLNonNull(H4)),args:{includeDeprecated:{type:St.GraphQLBoolean,defaultValue:!1}},resolve(n,{includeDeprecated:e}){if((0,pe.isObjectType)(n)||(0,pe.isInterfaceType)(n)){let t=Object.values(n.getFields());return e?t:t.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new pe.GraphQLList(new pe.GraphQLNonNull($i)),resolve(n){if((0,pe.isObjectType)(n)||(0,pe.isInterfaceType)(n))return n.getInterfaces()}},possibleTypes:{type:new pe.GraphQLList(new pe.GraphQLNonNull($i)),resolve(n,e,t,{schema:i}){if((0,pe.isAbstractType)(n))return i.getPossibleTypes(n)}},enumValues:{type:new pe.GraphQLList(new pe.GraphQLNonNull(z4)),args:{includeDeprecated:{type:St.GraphQLBoolean,defaultValue:!1}},resolve(n,{includeDeprecated:e}){if((0,pe.isEnumType)(n)){let t=n.getValues();return e?t:t.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new pe.GraphQLList(new pe.GraphQLNonNull(Dl)),args:{includeDeprecated:{type:St.GraphQLBoolean,defaultValue:!1}},resolve(n,{includeDeprecated:e}){if((0,pe.isInputObjectType)(n)){let t=Object.values(n.getFields());return e?t:t.filter(i=>i.deprecationReason==null)}}},ofType:{type:$i,resolve:n=>"ofType"in n?n.ofType:void 0}})});at.__Type=$i;var H4=new pe.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 pe.GraphQLNonNull(St.GraphQLString),resolve:n=>n.name},description:{type:St.GraphQLString,resolve:n=>n.description},args:{type:new pe.GraphQLNonNull(new pe.GraphQLList(new pe.GraphQLNonNull(Dl))),args:{includeDeprecated:{type:St.GraphQLBoolean,defaultValue:!1}},resolve(n,{includeDeprecated:e}){return e?n.args:n.args.filter(t=>t.deprecationReason==null)}},type:{type:new pe.GraphQLNonNull($i),resolve:n=>n.type},isDeprecated:{type:new pe.GraphQLNonNull(St.GraphQLBoolean),resolve:n=>n.deprecationReason!=null},deprecationReason:{type:St.GraphQLString,resolve:n=>n.deprecationReason}})});at.__Field=H4;var Dl=new pe.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 pe.GraphQLNonNull(St.GraphQLString),resolve:n=>n.name},description:{type:St.GraphQLString,resolve:n=>n.description},type:{type:new pe.GraphQLNonNull($i),resolve:n=>n.type},defaultValue:{type:St.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(n){let{type:e,defaultValue:t}=n,i=(0,mH.astFromValue)(t,e);return i?(0,hH.print)(i):null}},isDeprecated:{type:new pe.GraphQLNonNull(St.GraphQLBoolean),resolve:n=>n.deprecationReason!=null},deprecationReason:{type:St.GraphQLString,resolve:n=>n.deprecationReason}})});at.__InputValue=Dl;var z4=new pe.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 pe.GraphQLNonNull(St.GraphQLString),resolve:n=>n.name},description:{type:St.GraphQLString,resolve:n=>n.description},isDeprecated:{type:new pe.GraphQLNonNull(St.GraphQLBoolean),resolve:n=>n.deprecationReason!=null},deprecationReason:{type:St.GraphQLString,resolve:n=>n.deprecationReason}})});at.__EnumValue=z4;var nn;at.TypeKind=nn;(function(n){n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.INPUT_OBJECT="INPUT_OBJECT",n.LIST="LIST",n.NON_NULL="NON_NULL"})(nn||(at.TypeKind=nn={}));var W4=new pe.GraphQLEnumType({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:nn.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:nn.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:nn.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:nn.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:nn.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:nn.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:nn.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:nn.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});at.__TypeKind=W4;var yH={name:"__schema",type:new pe.GraphQLNonNull(G4),description:"Access the current type schema of this server.",args:[],resolve:(n,e,t,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};at.SchemaMetaFieldDef=yH;var vH={name:"__type",type:$i,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new pe.GraphQLNonNull(St.GraphQLString),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(n,{name:e},t,{schema:i})=>i.getType(e),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};at.TypeMetaFieldDef=vH;var EH={name:"__typename",type:new pe.GraphQLNonNull(St.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:(n,e,t,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};at.TypeNameMetaFieldDef=EH;var Wb=Object.freeze([G4,Q4,K4,$i,H4,Dl,z4,W4]);at.introspectionTypes=Wb;function gH(n){return Wb.some(({name:e})=>n.name===e)}});var Ms=T(lp=>{"use strict";f();c();Object.defineProperty(lp,"__esModule",{value:!0});lp.GraphQLSchema=void 0;lp.assertSchema=DH;lp.isSchema=Jb;var rf=Kn(),J4=rt(),AH=ol(),TH=ta(),bH=P0(),Y4=na(),Tr=Ue(),Yb=ri(),SH=Vi();function Jb(n){return(0,AH.instanceOf)(n,af)}function DH(n){if(!Jb(n))throw new Error(`Expected ${(0,J4.inspect)(n)} to be a GraphQL schema.`);return n}var af=class{constructor(e){var t,i;this.__validationErrors=e.assumeValid===!0?[]:void 0,(0,TH.isObjectLike)(e)||(0,rf.devAssert)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,rf.devAssert)(!1,`"types" must be Array if provided but got: ${(0,J4.inspect)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,rf.devAssert)(!1,`"directives" must be Array if provided but got: ${(0,J4.inspect)(e.directives)}.`),this.description=e.description,this.extensions=(0,bH.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=(i=e.directives)!==null&&i!==void 0?i:Yb.specifiedDirectives;let r=new Set(e.types);if(e.types!=null)for(let a of e.types)r.delete(a),br(a,r);this._queryType!=null&&br(this._queryType,r),this._mutationType!=null&&br(this._mutationType,r),this._subscriptionType!=null&&br(this._subscriptionType,r);for(let a of this._directives)if((0,Yb.isDirective)(a))for(let o of a.args)br(o.type,r);br(SH.__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 o=a.name;if(o||(0,rf.devAssert)(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[o]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${o}".`);if(this._typeMap[o]=a,(0,Tr.isInterfaceType)(a)){for(let s of a.getInterfaces())if((0,Tr.isInterfaceType)(s)){let u=this._implementationsMap[s.name];u===void 0&&(u=this._implementationsMap[s.name]={objects:[],interfaces:[]}),u.interfaces.push(a)}}else if((0,Tr.isObjectType)(a)){for(let s of a.getInterfaces())if((0,Tr.isInterfaceType)(s)){let u=this._implementationsMap[s.name];u===void 0&&(u=this._implementationsMap[s.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 Y4.OperationTypeNode.QUERY:return this.getQueryType();case Y4.OperationTypeNode.MUTATION:return this.getMutationType();case Y4.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,Tr.isUnionType)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return t??{objects:[],interfaces:[]}}isSubType(e,t){let i=this._subTypeMap[e.name];if(i===void 0){if(i=Object.create(null),(0,Tr.isUnionType)(e))for(let r of e.getTypes())i[r.name]=!0;else{let r=this.getImplementations(e);for(let a of r.objects)i[a.name]=!0;for(let a of r.interfaces)i[a.name]=!0}this._subTypeMap[e.name]=i}return i[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}}};lp.GraphQLSchema=af;function br(n,e){let t=(0,Tr.getNamedType)(n);if(!e.has(t)){if(e.add(t),(0,Tr.isUnionType)(t))for(let i of t.getTypes())br(i,e);else if((0,Tr.isObjectType)(t)||(0,Tr.isInterfaceType)(t)){for(let i of t.getInterfaces())br(i,e);for(let i of Object.values(t.getFields())){br(i.type,e);for(let r of i.args)br(r.type,e)}}else if((0,Tr.isInputObjectType)(t))for(let i of Object.values(t.getFields()))br(i.type,e)}return e}});var Fl=T(of=>{"use strict";f();c();Object.defineProperty(of,"__esModule",{value:!0});of.assertValidSchema=NH;of.validateSchema=iS;var xn=rt(),_H=be(),X4=na(),Xb=yl(),Qt=Ue(),nS=ri(),FH=Vi(),CH=Ms();function iS(n){if((0,CH.assertSchema)(n),n.__validationErrors)return n.__validationErrors;let e=new e3(n);OH(e),IH(e),wH(e);let t=e.getErrors();return n.__validationErrors=t,t}function NH(n){let e=iS(n);if(e.length!==0)throw new Error(e.map(t=>t.message).join(` `))}var e3=class{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let i=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new _H.GraphQLError(e,{nodes:i}))}getErrors(){return this._errors}};function OH(n){let e=n.schema,t=e.getQueryType();if(!t)n.reportError("Query root type must be provided.",e.astNode);else if(!(0,Qt.isObjectType)(t)){var i;n.reportError(`Query root type must be Object type, it cannot be ${(0,xn.inspect)(t)}.`,(i=Z4(e,X4.OperationTypeNode.QUERY))!==null&&i!==void 0?i:t.astNode)}let r=e.getMutationType();if(r&&!(0,Qt.isObjectType)(r)){var a;n.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,xn.inspect)(r)}.`,(a=Z4(e,X4.OperationTypeNode.MUTATION))!==null&&a!==void 0?a:r.astNode)}let o=e.getSubscriptionType();if(o&&!(0,Qt.isObjectType)(o)){var s;n.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,xn.inspect)(o)}.`,(s=Z4(e,X4.OperationTypeNode.SUBSCRIPTION))!==null&&s!==void 0?s:o.astNode)}}function Z4(n,e){var t;return(t=[n.astNode,...n.extensionASTNodes].flatMap(i=>{var r;return(r=i?.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===e))===null||t===void 0?void 0:t.type}function IH(n){for(let t of n.schema.getDirectives()){if(!(0,nS.isDirective)(t)){n.reportError(`Expected directive but got: ${(0,xn.inspect)(t)}.`,t?.astNode);continue}Us(n,t);for(let i of t.args)if(Us(n,i),(0,Qt.isInputType)(i.type)||n.reportError(`The type of @${t.name}(${i.name}:) must be Input Type but got: ${(0,xn.inspect)(i.type)}.`,i.astNode),(0,Qt.isRequiredArgument)(i)&&i.deprecationReason!=null){var e;n.reportError(`Required argument @${t.name}(${i.name}:) cannot be deprecated.`,[t3(i.astNode),(e=i.astNode)===null||e===void 0?void 0:e.type])}}}function Us(n,e){e.name.startsWith("__")&&n.reportError(`Name "${e.name}" must not begin with "__", which is reserved by GraphQL introspection.`,e.astNode)}function wH(n){let e=kH(n),t=n.schema.getTypeMap();for(let i of Object.values(t)){if(!(0,Qt.isNamedType)(i)){n.reportError(`Expected GraphQL named type but got: ${(0,xn.inspect)(i)}.`,i.astNode);continue}(0,FH.isIntrospectionType)(i)||Us(n,i),(0,Qt.isObjectType)(i)||(0,Qt.isInterfaceType)(i)?(Zb(n,i),eS(n,i)):(0,Qt.isUnionType)(i)?LH(n,i):(0,Qt.isEnumType)(i)?PH(n,i):(0,Qt.isInputObjectType)(i)&&(xH(n,i),e(i))}}function Zb(n,e){let t=Object.values(e.getFields());t.length===0&&n.reportError(`Type ${e.name} must define one or more fields.`,[e.astNode,...e.extensionASTNodes]);for(let o of t){if(Us(n,o),!(0,Qt.isOutputType)(o.type)){var i;n.reportError(`The type of ${e.name}.${o.name} must be Output Type but got: ${(0,xn.inspect)(o.type)}.`,(i=o.astNode)===null||i===void 0?void 0:i.type)}for(let s of o.args){let u=s.name;if(Us(n,s),!(0,Qt.isInputType)(s.type)){var r;n.reportError(`The type of ${e.name}.${o.name}(${u}:) must be Input Type but got: ${(0,xn.inspect)(s.type)}.`,(r=s.astNode)===null||r===void 0?void 0:r.type)}if((0,Qt.isRequiredArgument)(s)&&s.deprecationReason!=null){var a;n.reportError(`Required argument ${e.name}.${o.name}(${u}:) cannot be deprecated.`,[t3(s.astNode),(a=s.astNode)===null||a===void 0?void 0:a.type])}}}}function eS(n,e){let t=Object.create(null);for(let i of e.getInterfaces()){if(!(0,Qt.isInterfaceType)(i)){n.reportError(`Type ${(0,xn.inspect)(e)} must only implement Interface types, it cannot implement ${(0,xn.inspect)(i)}.`,_l(e,i));continue}if(e===i){n.reportError(`Type ${e.name} cannot implement itself because it would create a circular reference.`,_l(e,i));continue}if(t[i.name]){n.reportError(`Type ${e.name} can only implement ${i.name} once.`,_l(e,i));continue}t[i.name]=!0,BH(n,e,i),RH(n,e,i)}}function RH(n,e,t){let i=e.getFields();for(let u of Object.values(t.getFields())){let p=u.name,d=i[p];if(!d){n.reportError(`Interface field ${t.name}.${p} expected but ${e.name} does not provide it.`,[u.astNode,e.astNode,...e.extensionASTNodes]);continue}if(!(0,Xb.isTypeSubTypeOf)(n.schema,d.type,u.type)){var r,a;n.reportError(`Interface field ${t.name}.${p} expects type ${(0,xn.inspect)(u.type)} but ${e.name}.${p} is type ${(0,xn.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 m=l.name,y=d.args.find(v=>v.name===m);if(!y){n.reportError(`Interface field argument ${t.name}.${p}(${m}:) expected but ${e.name}.${p} does not provide it.`,[l.astNode,d.astNode]);continue}if(!(0,Xb.isEqualType)(l.type,y.type)){var o,s;n.reportError(`Interface field argument ${t.name}.${p}(${m}:) expects type ${(0,xn.inspect)(l.type)} but ${e.name}.${p}(${m}:) is type ${(0,xn.inspect)(y.type)}.`,[(o=l.astNode)===null||o===void 0?void 0:o.type,(s=y.astNode)===null||s===void 0?void 0:s.type])}}for(let l of d.args){let m=l.name;!u.args.find(v=>v.name===m)&&(0,Qt.isRequiredArgument)(l)&&n.reportError(`Object field ${e.name}.${p} includes required argument ${m} that is missing from the Interface field ${t.name}.${p}.`,[l.astNode,u.astNode])}}}function BH(n,e,t){let i=e.getInterfaces();for(let r of t.getInterfaces())i.includes(r)||n.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}.`,[..._l(t,r),..._l(e,t)])}function LH(n,e){let t=e.getTypes();t.length===0&&n.reportError(`Union type ${e.name} must define one or more member types.`,[e.astNode,...e.extensionASTNodes]);let i=Object.create(null);for(let r of t){if(i[r.name]){n.reportError(`Union type ${e.name} can only include type ${r.name} once.`,tS(e,r.name));continue}i[r.name]=!0,(0,Qt.isObjectType)(r)||n.reportError(`Union type ${e.name} can only include Object types, it cannot include ${(0,xn.inspect)(r)}.`,tS(e,String(r)))}}function PH(n,e){let t=e.getValues();t.length===0&&n.reportError(`Enum type ${e.name} must define one or more values.`,[e.astNode,...e.extensionASTNodes]);for(let i of t)Us(n,i)}function xH(n,e){let t=Object.values(e.getFields());t.length===0&&n.reportError(`Input Object type ${e.name} must define one or more fields.`,[e.astNode,...e.extensionASTNodes]);for(let a of t){if(Us(n,a),!(0,Qt.isInputType)(a.type)){var i;n.reportError(`The type of ${e.name}.${a.name} must be Input Type but got: ${(0,xn.inspect)(a.type)}.`,(i=a.astNode)===null||i===void 0?void 0:i.type)}if((0,Qt.isRequiredInputField)(a)&&a.deprecationReason!=null){var r;n.reportError(`Required input field ${e.name}.${a.name} cannot be deprecated.`,[t3(a.astNode),(r=a.astNode)===null||r===void 0?void 0:r.type])}}}function kH(n){let e=Object.create(null),t=[],i=Object.create(null);return r;function r(a){if(e[a.name])return;e[a.name]=!0,i[a.name]=t.length;let o=Object.values(a.getFields());for(let s of o)if((0,Qt.isNonNullType)(s.type)&&(0,Qt.isInputObjectType)(s.type.ofType)){let u=s.type.ofType,p=i[u.name];if(t.push(s),p===void 0)r(u);else{let d=t.slice(p),l=d.map(m=>m.name).join(".");n.reportError(`Cannot reference Input Object "${u.name}" within itself through a series of non-null fields: "${l}".`,d.map(m=>m.astNode))}t.pop()}i[a.name]=void 0}}function _l(n,e){let{astNode:t,extensionASTNodes:i}=n;return(t!=null?[t,...i]:i).flatMap(a=>{var o;return(o=a.interfaces)!==null&&o!==void 0?o:[]}).filter(a=>a.name.value===e.name)}function tS(n,e){let{astNode:t,extensionASTNodes:i}=n;return(t!=null?[t,...i]:i).flatMap(a=>{var o;return(o=a.types)!==null&&o!==void 0?o:[]}).filter(a=>a.name.value===e)}function t3(n){var e;return n==null||(e=n.directives)===null||e===void 0?void 0:e.find(t=>t.name.value===nS.GraphQLDeprecatedDirective.name)}});var oa=T(r3=>{"use strict";f();c();Object.defineProperty(r3,"__esModule",{value:!0});r3.typeFromAST=i3;var n3=He(),rS=Ue();function i3(n,e){switch(e.kind){case n3.Kind.LIST_TYPE:{let t=i3(n,e.type);return t&&new rS.GraphQLList(t)}case n3.Kind.NON_NULL_TYPE:{let t=i3(n,e.type);return t&&new rS.GraphQLNonNull(t)}case n3.Kind.NAMED_TYPE:return n.getType(e.name.value)}}});var sf=T(Cl=>{"use strict";f();c();Object.defineProperty(Cl,"__esModule",{value:!0});Cl.TypeInfo=void 0;Cl.visitWithTypeInfo=jH;var $H=na(),jt=He(),aS=xs(),qt=Ue(),cp=Vi(),oS=oa(),a3=class{constructor(e,t,i){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??VH,t&&((0,qt.isInputType)(t)&&this._inputTypeStack.push(t),(0,qt.isCompositeType)(t)&&this._parentTypeStack.push(t),(0,qt.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 jt.Kind.SELECTION_SET:{let r=(0,qt.getNamedType)(this.getType());this._parentTypeStack.push((0,qt.isCompositeType)(r)?r:void 0);break}case jt.Kind.FIELD:{let r=this.getParentType(),a,o;r&&(a=this._getFieldDef(t,r,e),a&&(o=a.type)),this._fieldDefStack.push(a),this._typeStack.push((0,qt.isOutputType)(o)?o:void 0);break}case jt.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case jt.Kind.OPERATION_DEFINITION:{let r=t.getRootType(e.operation);this._typeStack.push((0,qt.isObjectType)(r)?r:void 0);break}case jt.Kind.INLINE_FRAGMENT:case jt.Kind.FRAGMENT_DEFINITION:{let r=e.typeCondition,a=r?(0,oS.typeFromAST)(t,r):(0,qt.getNamedType)(this.getType());this._typeStack.push((0,qt.isOutputType)(a)?a:void 0);break}case jt.Kind.VARIABLE_DEFINITION:{let r=(0,oS.typeFromAST)(t,e.type);this._inputTypeStack.push((0,qt.isInputType)(r)?r:void 0);break}case jt.Kind.ARGUMENT:{var i;let r,a,o=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();o&&(r=o.args.find(s=>s.name===e.name.value),r&&(a=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push((0,qt.isInputType)(a)?a:void 0);break}case jt.Kind.LIST:{let r=(0,qt.getNullableType)(this.getInputType()),a=(0,qt.isListType)(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,qt.isInputType)(a)?a:void 0);break}case jt.Kind.OBJECT_FIELD:{let r=(0,qt.getNamedType)(this.getInputType()),a,o;(0,qt.isInputObjectType)(r)&&(o=r.getFields()[e.name.value],o&&(a=o.type)),this._defaultValueStack.push(o?o.defaultValue:void 0),this._inputTypeStack.push((0,qt.isInputType)(a)?a:void 0);break}case jt.Kind.ENUM:{let r=(0,qt.getNamedType)(this.getInputType()),a;(0,qt.isEnumType)(r)&&(a=r.getValue(e.value)),this._enumValue=a;break}default:}}leave(e){switch(e.kind){case jt.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case jt.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case jt.Kind.DIRECTIVE:this._directive=null;break;case jt.Kind.OPERATION_DEFINITION:case jt.Kind.INLINE_FRAGMENT:case jt.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case jt.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case jt.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case jt.Kind.LIST:case jt.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case jt.Kind.ENUM:this._enumValue=null;break;default:}}};Cl.TypeInfo=a3;function VH(n,e,t){let i=t.name.value;if(i===cp.SchemaMetaFieldDef.name&&n.getQueryType()===e)return cp.SchemaMetaFieldDef;if(i===cp.TypeMetaFieldDef.name&&n.getQueryType()===e)return cp.TypeMetaFieldDef;if(i===cp.TypeNameMetaFieldDef.name&&(0,qt.isCompositeType)(e))return cp.TypeNameMetaFieldDef;if((0,qt.isObjectType)(e)||(0,qt.isInterfaceType)(e))return e.getFields()[i]}function jH(n,e){return{enter(...t){let i=t[0];n.enter(i);let r=(0,aS.getEnterLeaveForKind)(e,i.kind).enter;if(r){let a=r.apply(e,t);return a!==void 0&&(n.leave(i),(0,$H.isNode)(a)&&n.enter(a)),a}},leave(...t){let i=t[0],r=(0,aS.getEnterLeaveForKind)(e,i.kind).leave,a;return r&&(a=r.apply(e,t)),n.leave(i),a}}}});var Gs=T(ji=>{"use strict";f();c();Object.defineProperty(ji,"__esModule",{value:!0});ji.isConstValueNode=o3;ji.isDefinitionNode=qH;ji.isExecutableDefinitionNode=sS;ji.isSelectionNode=MH;ji.isTypeDefinitionNode=dS;ji.isTypeExtensionNode=cS;ji.isTypeNode=UH;ji.isTypeSystemDefinitionNode=pS;ji.isTypeSystemExtensionNode=lS;ji.isValueNode=uS;var Ge=He();function qH(n){return sS(n)||pS(n)||lS(n)}function sS(n){return n.kind===Ge.Kind.OPERATION_DEFINITION||n.kind===Ge.Kind.FRAGMENT_DEFINITION}function MH(n){return n.kind===Ge.Kind.FIELD||n.kind===Ge.Kind.FRAGMENT_SPREAD||n.kind===Ge.Kind.INLINE_FRAGMENT}function uS(n){return n.kind===Ge.Kind.VARIABLE||n.kind===Ge.Kind.INT||n.kind===Ge.Kind.FLOAT||n.kind===Ge.Kind.STRING||n.kind===Ge.Kind.BOOLEAN||n.kind===Ge.Kind.NULL||n.kind===Ge.Kind.ENUM||n.kind===Ge.Kind.LIST||n.kind===Ge.Kind.OBJECT}function o3(n){return uS(n)&&(n.kind===Ge.Kind.LIST?n.values.some(o3):n.kind===Ge.Kind.OBJECT?n.fields.some(e=>o3(e.value)):n.kind!==Ge.Kind.VARIABLE)}function UH(n){return n.kind===Ge.Kind.NAMED_TYPE||n.kind===Ge.Kind.LIST_TYPE||n.kind===Ge.Kind.NON_NULL_TYPE}function pS(n){return n.kind===Ge.Kind.SCHEMA_DEFINITION||dS(n)||n.kind===Ge.Kind.DIRECTIVE_DEFINITION}function dS(n){return n.kind===Ge.Kind.SCALAR_TYPE_DEFINITION||n.kind===Ge.Kind.OBJECT_TYPE_DEFINITION||n.kind===Ge.Kind.INTERFACE_TYPE_DEFINITION||n.kind===Ge.Kind.UNION_TYPE_DEFINITION||n.kind===Ge.Kind.ENUM_TYPE_DEFINITION||n.kind===Ge.Kind.INPUT_OBJECT_TYPE_DEFINITION}function lS(n){return n.kind===Ge.Kind.SCHEMA_EXTENSION||cS(n)}function cS(n){return n.kind===Ge.Kind.SCALAR_TYPE_EXTENSION||n.kind===Ge.Kind.OBJECT_TYPE_EXTENSION||n.kind===Ge.Kind.INTERFACE_TYPE_EXTENSION||n.kind===Ge.Kind.UNION_TYPE_EXTENSION||n.kind===Ge.Kind.ENUM_TYPE_EXTENSION||n.kind===Ge.Kind.INPUT_OBJECT_TYPE_EXTENSION}});var u3=T(s3=>{"use strict";f();c();Object.defineProperty(s3,"__esModule",{value:!0});s3.ExecutableDefinitionsRule=KH;var GH=be(),fS=He(),QH=Gs();function KH(n){return{Document(e){for(let t of e.definitions)if(!(0,QH.isExecutableDefinitionNode)(t)){let i=t.kind===fS.Kind.SCHEMA_DEFINITION||t.kind===fS.Kind.SCHEMA_EXTENSION?"schema":'"'+t.name.value+'"';n.reportError(new GH.GraphQLError(`The ${i} definition is not executable.`,{nodes:t}))}return!1}}}});var d3=T(p3=>{"use strict";f();c();Object.defineProperty(p3,"__esModule",{value:!0});p3.FieldsOnCorrectTypeRule=YH;var hS=Do(),HH=dl(),zH=Fo(),WH=be(),Nl=Ue();function YH(n){return{Field(e){let t=n.getParentType();if(t&&!n.getFieldDef()){let r=n.getSchema(),a=e.name.value,o=(0,hS.didYouMean)("to use an inline fragment on",JH(r,t,a));o===""&&(o=(0,hS.didYouMean)(XH(t,a))),n.reportError(new WH.GraphQLError(`Cannot query field "${a}" on type "${t.name}".`+o,{nodes:e}))}}}}function JH(n,e,t){if(!(0,Nl.isAbstractType)(e))return[];let i=new Set,r=Object.create(null);for(let o of n.getPossibleTypes(e))if(o.getFields()[t]){i.add(o),r[o.name]=1;for(let s of o.getInterfaces()){var a;s.getFields()[t]&&(i.add(s),r[s.name]=((a=r[s.name])!==null&&a!==void 0?a:0)+1)}}return[...i].sort((o,s)=>{let u=r[s.name]-r[o.name];return u!==0?u:(0,Nl.isInterfaceType)(o)&&n.isSubType(o,s)?-1:(0,Nl.isInterfaceType)(s)&&n.isSubType(s,o)?1:(0,HH.naturalCompare)(o.name,s.name)}).map(o=>o.name)}function XH(n,e){if((0,Nl.isObjectType)(n)||(0,Nl.isInterfaceType)(n)){let t=Object.keys(n.getFields());return(0,zH.suggestionList)(e,t)}return[]}});var c3=T(l3=>{"use strict";f();c();Object.defineProperty(l3,"__esModule",{value:!0});l3.FragmentsOnCompositeTypesRule=ZH;var mS=be(),yS=bi(),vS=Ue(),ES=oa();function ZH(n){return{InlineFragment(e){let t=e.typeCondition;if(t){let i=(0,ES.typeFromAST)(n.getSchema(),t);if(i&&!(0,vS.isCompositeType)(i)){let r=(0,yS.print)(t);n.reportError(new mS.GraphQLError(`Fragment cannot condition on non composite type "${r}".`,{nodes:t}))}}},FragmentDefinition(e){let t=(0,ES.typeFromAST)(n.getSchema(),e.typeCondition);if(t&&!(0,vS.isCompositeType)(t)){let i=(0,yS.print)(e.typeCondition);n.reportError(new mS.GraphQLError(`Fragment "${e.name.value}" cannot condition on non composite type "${i}".`,{nodes:e.typeCondition}))}}}}});var f3=T(uf=>{"use strict";f();c();Object.defineProperty(uf,"__esModule",{value:!0});uf.KnownArgumentNamesOnDirectivesRule=bS;uf.KnownArgumentNamesRule=nz;var gS=Do(),AS=Fo(),TS=be(),ez=He(),tz=ri();function nz(n){return{...bS(n),Argument(e){let t=n.getArgument(),i=n.getFieldDef(),r=n.getParentType();if(!t&&i&&r){let a=e.name.value,o=i.args.map(u=>u.name),s=(0,AS.suggestionList)(a,o);n.reportError(new TS.GraphQLError(`Unknown argument "${a}" on field "${r.name}.${i.name}".`+(0,gS.didYouMean)(s),{nodes:e}))}}}}function bS(n){let e=Object.create(null),t=n.getSchema(),i=t?t.getDirectives():tz.specifiedDirectives;for(let o of i)e[o.name]=o.args.map(s=>s.name);let r=n.getDocument().definitions;for(let o of r)if(o.kind===ez.Kind.DIRECTIVE_DEFINITION){var a;let s=(a=o.arguments)!==null&&a!==void 0?a:[];e[o.name.value]=s.map(u=>u.name.value)}return{Directive(o){let s=o.name.value,u=e[s];if(o.arguments&&u)for(let p of o.arguments){let d=p.name.value;if(!u.includes(d)){let l=(0,AS.suggestionList)(d,u);n.reportError(new TS.GraphQLError(`Unknown argument "${d}" on directive "@${s}".`+(0,gS.didYouMean)(l),{nodes:p}))}}return!1}}}});var v3=T(y3=>{"use strict";f();c();Object.defineProperty(y3,"__esModule",{value:!0});y3.KnownDirectivesRule=az;var iz=rt(),h3=Ln(),SS=be(),m3=na(),rn=ap(),Ot=He(),rz=ri();function az(n){let e=Object.create(null),t=n.getSchema(),i=t?t.getDirectives():rz.specifiedDirectives;for(let a of i)e[a.name]=a.locations;let r=n.getDocument().definitions;for(let a of r)a.kind===Ot.Kind.DIRECTIVE_DEFINITION&&(e[a.name.value]=a.locations.map(o=>o.value));return{Directive(a,o,s,u,p){let d=a.name.value,l=e[d];if(!l){n.reportError(new SS.GraphQLError(`Unknown directive "@${d}".`,{nodes:a}));return}let m=oz(p);m&&!l.includes(m)&&n.reportError(new SS.GraphQLError(`Directive "@${d}" may not be used on ${m}.`,{nodes:a}))}}}function oz(n){let e=n[n.length-1];switch("kind"in e||(0,h3.invariant)(!1),e.kind){case Ot.Kind.OPERATION_DEFINITION:return sz(e.operation);case Ot.Kind.FIELD:return rn.DirectiveLocation.FIELD;case Ot.Kind.FRAGMENT_SPREAD:return rn.DirectiveLocation.FRAGMENT_SPREAD;case Ot.Kind.INLINE_FRAGMENT:return rn.DirectiveLocation.INLINE_FRAGMENT;case Ot.Kind.FRAGMENT_DEFINITION:return rn.DirectiveLocation.FRAGMENT_DEFINITION;case Ot.Kind.VARIABLE_DEFINITION:return rn.DirectiveLocation.VARIABLE_DEFINITION;case Ot.Kind.SCHEMA_DEFINITION:case Ot.Kind.SCHEMA_EXTENSION:return rn.DirectiveLocation.SCHEMA;case Ot.Kind.SCALAR_TYPE_DEFINITION:case Ot.Kind.SCALAR_TYPE_EXTENSION:return rn.DirectiveLocation.SCALAR;case Ot.Kind.OBJECT_TYPE_DEFINITION:case Ot.Kind.OBJECT_TYPE_EXTENSION:return rn.DirectiveLocation.OBJECT;case Ot.Kind.FIELD_DEFINITION:return rn.DirectiveLocation.FIELD_DEFINITION;case Ot.Kind.INTERFACE_TYPE_DEFINITION:case Ot.Kind.INTERFACE_TYPE_EXTENSION:return rn.DirectiveLocation.INTERFACE;case Ot.Kind.UNION_TYPE_DEFINITION:case Ot.Kind.UNION_TYPE_EXTENSION:return rn.DirectiveLocation.UNION;case Ot.Kind.ENUM_TYPE_DEFINITION:case Ot.Kind.ENUM_TYPE_EXTENSION:return rn.DirectiveLocation.ENUM;case Ot.Kind.ENUM_VALUE_DEFINITION:return rn.DirectiveLocation.ENUM_VALUE;case Ot.Kind.INPUT_OBJECT_TYPE_DEFINITION:case Ot.Kind.INPUT_OBJECT_TYPE_EXTENSION:return rn.DirectiveLocation.INPUT_OBJECT;case Ot.Kind.INPUT_VALUE_DEFINITION:{let t=n[n.length-3];return"kind"in t||(0,h3.invariant)(!1),t.kind===Ot.Kind.INPUT_OBJECT_TYPE_DEFINITION?rn.DirectiveLocation.INPUT_FIELD_DEFINITION:rn.DirectiveLocation.ARGUMENT_DEFINITION}default:(0,h3.invariant)(!1,"Unexpected kind: "+(0,iz.inspect)(e.kind))}}function sz(n){switch(n){case m3.OperationTypeNode.QUERY:return rn.DirectiveLocation.QUERY;case m3.OperationTypeNode.MUTATION:return rn.DirectiveLocation.MUTATION;case m3.OperationTypeNode.SUBSCRIPTION:return rn.DirectiveLocation.SUBSCRIPTION}}});var g3=T(E3=>{"use strict";f();c();Object.defineProperty(E3,"__esModule",{value:!0});E3.KnownFragmentNamesRule=pz;var uz=be();function pz(n){return{FragmentSpread(e){let t=e.name.value;n.getFragment(t)||n.reportError(new uz.GraphQLError(`Unknown fragment "${t}".`,{nodes:e.name}))}}}});var b3=T(T3=>{"use strict";f();c();Object.defineProperty(T3,"__esModule",{value:!0});T3.KnownTypeNamesRule=mz;var dz=Do(),lz=Fo(),cz=be(),A3=Gs(),fz=Vi(),hz=aa();function mz(n){let e=n.getSchema(),t=e?e.getTypeMap():Object.create(null),i=Object.create(null);for(let a of n.getDocument().definitions)(0,A3.isTypeDefinitionNode)(a)&&(i[a.name.value]=!0);let r=[...Object.keys(t),...Object.keys(i)];return{NamedType(a,o,s,u,p){let d=a.name.value;if(!t[d]&&!i[d]){var l;let m=(l=p[2])!==null&&l!==void 0?l:s,y=m!=null&&yz(m);if(y&&DS.includes(d))return;let v=(0,lz.suggestionList)(d,y?DS.concat(r):r);n.reportError(new cz.GraphQLError(`Unknown type "${d}".`+(0,dz.didYouMean)(v),{nodes:a}))}}}}var DS=[...hz.specifiedScalarTypes,...fz.introspectionTypes].map(n=>n.name);function yz(n){return"kind"in n&&((0,A3.isTypeSystemDefinitionNode)(n)||(0,A3.isTypeSystemExtensionNode)(n))}});var D3=T(S3=>{"use strict";f();c();Object.defineProperty(S3,"__esModule",{value:!0});S3.LoneAnonymousOperationRule=gz;var vz=be(),Ez=He();function gz(n){let e=0;return{Document(t){e=t.definitions.filter(i=>i.kind===Ez.Kind.OPERATION_DEFINITION).length},OperationDefinition(t){!t.name&&e>1&&n.reportError(new vz.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:t}))}}}});var F3=T(_3=>{"use strict";f();c();Object.defineProperty(_3,"__esModule",{value:!0});_3.LoneSchemaDefinitionRule=Az;var _S=be();function Az(n){var e,t,i;let r=n.getSchema(),a=(e=(t=(i=r?.astNode)!==null&&i!==void 0?i:r?.getQueryType())!==null&&t!==void 0?t:r?.getMutationType())!==null&&e!==void 0?e:r?.getSubscriptionType(),o=0;return{SchemaDefinition(s){if(a){n.reportError(new _S.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:s}));return}o>0&&n.reportError(new _S.GraphQLError("Must provide only one schema definition.",{nodes:s})),++o}}}});var N3=T(C3=>{"use strict";f();c();Object.defineProperty(C3,"__esModule",{value:!0});C3.NoFragmentCyclesRule=bz;var Tz=be();function bz(n){let e=Object.create(null),t=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(a){return r(a),!1}};function r(a){if(e[a.name.value])return;let o=a.name.value;e[o]=!0;let s=n.getFragmentSpreads(a.selectionSet);if(s.length!==0){i[o]=t.length;for(let u of s){let p=u.name.value,d=i[p];if(t.push(u),d===void 0){let l=n.getFragment(p);l&&r(l)}else{let l=t.slice(d),m=l.slice(0,-1).map(y=>'"'+y.name.value+'"').join(", ");n.reportError(new Tz.GraphQLError(`Cannot spread fragment "${p}" within itself`+(m!==""?` via ${m}.`:"."),{nodes:l}))}t.pop()}i[o]=void 0}}}});var I3=T(O3=>{"use strict";f();c();Object.defineProperty(O3,"__esModule",{value:!0});O3.NoUndefinedVariablesRule=Dz;var Sz=be();function Dz(n){let e=Object.create(null);return{OperationDefinition:{enter(){e=Object.create(null)},leave(t){let i=n.getRecursiveVariableUsages(t);for(let{node:r}of i){let a=r.name.value;e[a]!==!0&&n.reportError(new Sz.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 R3=T(w3=>{"use strict";f();c();Object.defineProperty(w3,"__esModule",{value:!0});w3.NoUnusedFragmentsRule=Fz;var _z=be();function Fz(n){let e=[],t=[];return{OperationDefinition(i){return e.push(i),!1},FragmentDefinition(i){return t.push(i),!1},Document:{leave(){let i=Object.create(null);for(let r of e)for(let a of n.getRecursivelyReferencedFragments(r))i[a.name.value]=!0;for(let r of t){let a=r.name.value;i[a]!==!0&&n.reportError(new _z.GraphQLError(`Fragment "${a}" is never used.`,{nodes:r}))}}}}}});var L3=T(B3=>{"use strict";f();c();Object.defineProperty(B3,"__esModule",{value:!0});B3.NoUnusedVariablesRule=Nz;var Cz=be();function Nz(n){let e=[];return{OperationDefinition:{enter(){e=[]},leave(t){let i=Object.create(null),r=n.getRecursiveVariableUsages(t);for(let{node:a}of r)i[a.name.value]=!0;for(let a of e){let o=a.variable.name.value;i[o]!==!0&&n.reportError(new Cz.GraphQLError(t.name?`Variable "$${o}" is never used in operation "${t.name.value}".`:`Variable "$${o}" is never used.`,{nodes:a}))}}},VariableDefinition(t){e.push(t)}}}});var k3=T(x3=>{"use strict";f();c();Object.defineProperty(x3,"__esModule",{value:!0});x3.sortValueNode=P3;var Oz=dl(),Ua=He();function P3(n){switch(n.kind){case Ua.Kind.OBJECT:return{...n,fields:Iz(n.fields)};case Ua.Kind.LIST:return{...n,values:n.values.map(P3)};case Ua.Kind.INT:case Ua.Kind.FLOAT:case Ua.Kind.STRING:case Ua.Kind.BOOLEAN:case Ua.Kind.NULL:case Ua.Kind.ENUM:case Ua.Kind.VARIABLE:return n}}function Iz(n){return n.map(e=>({...e,value:P3(e.value)})).sort((e,t)=>(0,Oz.naturalCompare)(e.name.value,t.name.value))}});var U3=T(M3=>{"use strict";f();c();Object.defineProperty(M3,"__esModule",{value:!0});M3.OverlappingFieldsCanBeMergedRule=Lz;var FS=rt(),wz=be(),Ol=He(),Rz=bi(),ai=Ue(),Bz=k3(),NS=oa();function OS(n){return Array.isArray(n)?n.map(([e,t])=>`subfields "${e}" conflict because `+OS(t)).join(" and "):n}function Lz(n){let e=new j3,t=new Map;return{SelectionSet(i){let r=Pz(n,t,e,n.getParentType(),i);for(let[[a,o],s,u]of r){let p=OS(o);n.reportError(new wz.GraphQLError(`Fields "${a}" conflict because ${p}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:s.concat(u)}))}}}}function Pz(n,e,t,i,r){let a=[],[o,s]=lf(n,e,i,r);if(kz(n,a,e,t,o),s.length!==0)for(let u=0;u1)for(let s=0;s({kind:Ol.Kind.OBJECT_FIELD,name:r.name,value:r.value}))};return(0,Rz.print)((0,Bz.sortValueNode)(i))}function $3(n,e){return(0,ai.isListType)(n)?(0,ai.isListType)(e)?$3(n.ofType,e.ofType):!0:(0,ai.isListType)(e)?!0:(0,ai.isNonNullType)(n)?(0,ai.isNonNullType)(e)?$3(n.ofType,e.ofType):!0:(0,ai.isNonNullType)(e)?!0:(0,ai.isLeafType)(n)||(0,ai.isLeafType)(e)?n!==e:!1}function lf(n,e,t,i){let r=e.get(i);if(r)return r;let a=Object.create(null),o=Object.create(null);wS(n,t,i,a,o);let s=[a,Object.keys(o)];return e.set(i,s),s}function V3(n,e,t){let i=e.get(t.selectionSet);if(i)return i;let r=(0,NS.typeFromAST)(n.getSchema(),t.typeCondition);return lf(n,e,r,t.selectionSet)}function wS(n,e,t,i,r){for(let a of t.selections)switch(a.kind){case Ol.Kind.FIELD:{let o=a.name.value,s;((0,ai.isObjectType)(e)||(0,ai.isInterfaceType)(e))&&(s=e.getFields()[o]);let u=a.alias?a.alias.value:o;i[u]||(i[u]=[]),i[u].push([e,a,s]);break}case Ol.Kind.FRAGMENT_SPREAD:r[a.name.value]=!0;break;case Ol.Kind.INLINE_FRAGMENT:{let o=a.typeCondition,s=o?(0,NS.typeFromAST)(n.getSchema(),o):e;wS(n,s,a.selectionSet,i,r);break}}}function $z(n,e,t,i){if(n.length>0)return[[e,n.map(([r])=>r)],[t,...n.map(([,r])=>r).flat()],[i,...n.map(([,,r])=>r).flat()]]}var j3=class{constructor(){this._data=new Map}has(e,t,i){var r;let[a,o]=e{"use strict";f();c();Object.defineProperty(Q3,"__esModule",{value:!0});Q3.PossibleFragmentSpreadsRule=jz;var cf=rt(),RS=be(),G3=Ue(),BS=yl(),Vz=oa();function jz(n){return{InlineFragment(e){let t=n.getType(),i=n.getParentType();if((0,G3.isCompositeType)(t)&&(0,G3.isCompositeType)(i)&&!(0,BS.doTypesOverlap)(n.getSchema(),t,i)){let r=(0,cf.inspect)(i),a=(0,cf.inspect)(t);n.reportError(new RS.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,i=qz(n,t),r=n.getParentType();if(i&&r&&!(0,BS.doTypesOverlap)(n.getSchema(),i,r)){let a=(0,cf.inspect)(r),o=(0,cf.inspect)(i);n.reportError(new RS.GraphQLError(`Fragment "${t}" cannot be spread here as objects of type "${a}" can never be of type "${o}".`,{nodes:e}))}}}}function qz(n,e){let t=n.getFragment(e);if(t){let i=(0,Vz.typeFromAST)(n.getSchema(),t.typeCondition);if((0,G3.isCompositeType)(i))return i}}});var z3=T(H3=>{"use strict";f();c();Object.defineProperty(H3,"__esModule",{value:!0});H3.PossibleTypeExtensionsRule=Qz;var Mz=Do(),PS=rt(),xS=Ln(),Uz=Fo(),LS=be(),Rt=He(),Gz=Gs(),fp=Ue();function Qz(n){let e=n.getSchema(),t=Object.create(null);for(let r of n.getDocument().definitions)(0,Gz.isTypeDefinitionNode)(r)&&(t[r.name.value]=r);return{ScalarTypeExtension:i,ObjectTypeExtension:i,InterfaceTypeExtension:i,UnionTypeExtension:i,EnumTypeExtension:i,InputObjectTypeExtension:i};function i(r){let a=r.name.value,o=t[a],s=e?.getType(a),u;if(o?u=Kz[o.kind]:s&&(u=Hz(s)),u){if(u!==r.kind){let p=zz(r.kind);n.reportError(new LS.GraphQLError(`Cannot extend non-${p} type "${a}".`,{nodes:o?[o,r]:r}))}}else{let p=Object.keys({...t,...e?.getTypeMap()}),d=(0,Uz.suggestionList)(a,p);n.reportError(new LS.GraphQLError(`Cannot extend type "${a}" because it is not defined.`+(0,Mz.didYouMean)(d),{nodes:r.name}))}}}var Kz={[Rt.Kind.SCALAR_TYPE_DEFINITION]:Rt.Kind.SCALAR_TYPE_EXTENSION,[Rt.Kind.OBJECT_TYPE_DEFINITION]:Rt.Kind.OBJECT_TYPE_EXTENSION,[Rt.Kind.INTERFACE_TYPE_DEFINITION]:Rt.Kind.INTERFACE_TYPE_EXTENSION,[Rt.Kind.UNION_TYPE_DEFINITION]:Rt.Kind.UNION_TYPE_EXTENSION,[Rt.Kind.ENUM_TYPE_DEFINITION]:Rt.Kind.ENUM_TYPE_EXTENSION,[Rt.Kind.INPUT_OBJECT_TYPE_DEFINITION]:Rt.Kind.INPUT_OBJECT_TYPE_EXTENSION};function Hz(n){if((0,fp.isScalarType)(n))return Rt.Kind.SCALAR_TYPE_EXTENSION;if((0,fp.isObjectType)(n))return Rt.Kind.OBJECT_TYPE_EXTENSION;if((0,fp.isInterfaceType)(n))return Rt.Kind.INTERFACE_TYPE_EXTENSION;if((0,fp.isUnionType)(n))return Rt.Kind.UNION_TYPE_EXTENSION;if((0,fp.isEnumType)(n))return Rt.Kind.ENUM_TYPE_EXTENSION;if((0,fp.isInputObjectType)(n))return Rt.Kind.INPUT_OBJECT_TYPE_EXTENSION;(0,xS.invariant)(!1,"Unexpected type: "+(0,PS.inspect)(n))}function zz(n){switch(n){case Rt.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case Rt.Kind.OBJECT_TYPE_EXTENSION:return"object";case Rt.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case Rt.Kind.UNION_TYPE_EXTENSION:return"union";case Rt.Kind.ENUM_TYPE_EXTENSION:return"enum";case Rt.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,xS.invariant)(!1,"Unexpected kind: "+(0,PS.inspect)(n))}}});var Y3=T(ff=>{"use strict";f();c();Object.defineProperty(ff,"__esModule",{value:!0});ff.ProvidedRequiredArgumentsOnDirectivesRule=qS;ff.ProvidedRequiredArgumentsRule=Jz;var $S=rt(),kS=_o(),VS=be(),jS=He(),Wz=bi(),W3=Ue(),Yz=ri();function Jz(n){return{...qS(n),Field:{leave(e){var t;let i=n.getFieldDef();if(!i)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 i.args)if(!r.has(a.name)&&(0,W3.isRequiredArgument)(a)){let o=(0,$S.inspect)(a.type);n.reportError(new VS.GraphQLError(`Field "${i.name}" argument "${a.name}" of type "${o}" is required, but it was not provided.`,{nodes:e}))}}}}}function qS(n){var e;let t=Object.create(null),i=n.getSchema(),r=(e=i?.getDirectives())!==null&&e!==void 0?e:Yz.specifiedDirectives;for(let s of r)t[s.name]=(0,kS.keyMap)(s.args.filter(W3.isRequiredArgument),u=>u.name);let a=n.getDocument().definitions;for(let s of a)if(s.kind===jS.Kind.DIRECTIVE_DEFINITION){var o;let u=(o=s.arguments)!==null&&o!==void 0?o:[];t[s.name.value]=(0,kS.keyMap)(u.filter(Xz),p=>p.name.value)}return{Directive:{leave(s){let u=s.name.value,p=t[u];if(p){var d;let l=(d=s.arguments)!==null&&d!==void 0?d:[],m=new Set(l.map(y=>y.name.value));for(let[y,v]of Object.entries(p))if(!m.has(y)){let g=(0,W3.isType)(v.type)?(0,$S.inspect)(v.type):(0,Wz.print)(v.type);n.reportError(new VS.GraphQLError(`Directive "@${u}" argument "${y}" of type "${g}" is required, but it was not provided.`,{nodes:s}))}}}}}}function Xz(n){return n.type.kind===jS.Kind.NON_NULL_TYPE&&n.defaultValue==null}});var X3=T(J3=>{"use strict";f();c();Object.defineProperty(J3,"__esModule",{value:!0});J3.ScalarLeafsRule=Zz;var MS=rt(),US=be(),GS=Ue();function Zz(n){return{Field(e){let t=n.getType(),i=e.selectionSet;if(t){if((0,GS.isLeafType)((0,GS.getNamedType)(t))){if(i){let r=e.name.value,a=(0,MS.inspect)(t);n.reportError(new US.GraphQLError(`Field "${r}" must not have a selection since type "${a}" has no subfields.`,{nodes:i}))}}else if(!i){let r=e.name.value,a=(0,MS.inspect)(t);n.reportError(new US.GraphQLError(`Field "${r}" of type "${a}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:e}))}}}}}});var ev=T(Z3=>{"use strict";f();c();Object.defineProperty(Z3,"__esModule",{value:!0});Z3.printPathArray=eW;function eW(n){return n.map(e=>typeof e=="number"?"["+e.toString()+"]":"."+e).join("")}});var Il=T(hf=>{"use strict";f();c();Object.defineProperty(hf,"__esModule",{value:!0});hf.addPath=tW;hf.pathToArray=nW;function tW(n,e,t){return{prev:n,key:e,typename:t}}function nW(n){let e=[],t=n;for(;t;)e.push(t.key),t=t.prev;return e.reverse()}});var nv=T(tv=>{"use strict";f();c();Object.defineProperty(tv,"__esModule",{value:!0});tv.coerceInputValue=pW;var iW=Do(),mf=rt(),rW=Ln(),aW=nf(),oW=ta(),Ga=Il(),sW=ev(),uW=Fo(),Qs=be(),wl=Ue();function pW(n,e,t=dW){return Rl(n,e,t,void 0)}function dW(n,e,t){let i="Invalid value "+(0,mf.inspect)(e);throw n.length>0&&(i+=` at "value${(0,sW.printPathArray)(n)}"`),t.message=i+": "+t.message,t}function Rl(n,e,t,i){if((0,wl.isNonNullType)(e)){if(n!=null)return Rl(n,e.ofType,t,i);t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Expected non-nullable type "${(0,mf.inspect)(e)}" not to be null.`));return}if(n==null)return null;if((0,wl.isListType)(e)){let r=e.ofType;return(0,aW.isIterableObject)(n)?Array.from(n,(a,o)=>{let s=(0,Ga.addPath)(i,o,void 0);return Rl(a,r,t,s)}):[Rl(n,r,t,i)]}if((0,wl.isInputObjectType)(e)){if(!(0,oW.isObjectLike)(n)){t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Expected type "${e.name}" to be an object.`));return}let r={},a=e.getFields();for(let o of Object.values(a)){let s=n[o.name];if(s===void 0){if(o.defaultValue!==void 0)r[o.name]=o.defaultValue;else if((0,wl.isNonNullType)(o.type)){let u=(0,mf.inspect)(o.type);t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Field "${o.name}" of required type "${u}" was not provided.`))}continue}r[o.name]=Rl(s,o.type,t,(0,Ga.addPath)(i,o.name,e.name))}for(let o of Object.keys(n))if(!a[o]){let s=(0,uW.suggestionList)(o,Object.keys(e.getFields()));t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Field "${o}" is not defined by type "${e.name}".`+(0,iW.didYouMean)(s)))}return r}if((0,wl.isLeafType)(e)){let r;try{r=e.parseValue(n)}catch(a){a instanceof Qs.GraphQLError?t((0,Ga.pathToArray)(i),n,a):t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Expected type "${e.name}". `+a.message,{originalError:a}));return}return r===void 0&&t((0,Ga.pathToArray)(i),n,new Qs.GraphQLError(`Expected type "${e.name}".`)),r}(0,rW.invariant)(!1,"Unexpected input type: "+(0,mf.inspect)(e))}});var Ll=T(iv=>{"use strict";f();c();Object.defineProperty(iv,"__esModule",{value:!0});iv.valueFromAST=Bl;var lW=rt(),cW=Ln(),fW=_o(),hp=He(),Ks=Ue();function Bl(n,e,t){if(n){if(n.kind===hp.Kind.VARIABLE){let i=n.name.value;if(t==null||t[i]===void 0)return;let r=t[i];return r===null&&(0,Ks.isNonNullType)(e)?void 0:r}if((0,Ks.isNonNullType)(e))return n.kind===hp.Kind.NULL?void 0:Bl(n,e.ofType,t);if(n.kind===hp.Kind.NULL)return null;if((0,Ks.isListType)(e)){let i=e.ofType;if(n.kind===hp.Kind.LIST){let a=[];for(let o of n.values)if(QS(o,t)){if((0,Ks.isNonNullType)(i))return;a.push(null)}else{let s=Bl(o,i,t);if(s===void 0)return;a.push(s)}return a}let r=Bl(n,i,t);return r===void 0?void 0:[r]}if((0,Ks.isInputObjectType)(e)){if(n.kind!==hp.Kind.OBJECT)return;let i=Object.create(null),r=(0,fW.keyMap)(n.fields,a=>a.name.value);for(let a of Object.values(e.getFields())){let o=r[a.name];if(!o||QS(o.value,t)){if(a.defaultValue!==void 0)i[a.name]=a.defaultValue;else if((0,Ks.isNonNullType)(a.type))return;continue}let s=Bl(o.value,a.type,t);if(s===void 0)return;i[a.name]=s}return i}if((0,Ks.isLeafType)(e)){let i;try{i=e.parseLiteral(n,t)}catch{return}return i===void 0?void 0:i}(0,cW.invariant)(!1,"Unexpected input type: "+(0,lW.inspect)(e))}}function QS(n,e){return n.kind===hp.Kind.VARIABLE&&(e==null||e[n.name.value]===void 0)}});var vp=T(Pl=>{"use strict";f();c();Object.defineProperty(Pl,"__esModule",{value:!0});Pl.getArgumentValues=WS;Pl.getDirectiveValues=AW;Pl.getVariableValues=EW;var mp=rt(),hW=_o(),mW=ev(),Qa=be(),KS=He(),HS=bi(),yp=Ue(),yW=nv(),vW=oa(),zS=Ll();function EW(n,e,t,i){let r=[],a=i?.maxErrors;try{let o=gW(n,e,t,s=>{if(a!=null&&r.length>=a)throw new Qa.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");r.push(s)});if(r.length===0)return{coerced:o}}catch(o){r.push(o)}return{errors:r}}function gW(n,e,t,i){let r={};for(let a of e){let o=a.variable.name.value,s=(0,vW.typeFromAST)(n,a.type);if(!(0,yp.isInputType)(s)){let p=(0,HS.print)(a.type);i(new Qa.GraphQLError(`Variable "$${o}" expected value of type "${p}" which cannot be used as an input type.`,{nodes:a.type}));continue}if(!YS(t,o)){if(a.defaultValue)r[o]=(0,zS.valueFromAST)(a.defaultValue,s);else if((0,yp.isNonNullType)(s)){let p=(0,mp.inspect)(s);i(new Qa.GraphQLError(`Variable "$${o}" of required type "${p}" was not provided.`,{nodes:a}))}continue}let u=t[o];if(u===null&&(0,yp.isNonNullType)(s)){let p=(0,mp.inspect)(s);i(new Qa.GraphQLError(`Variable "$${o}" of non-null type "${p}" must not be null.`,{nodes:a}));continue}r[o]=(0,yW.coerceInputValue)(u,s,(p,d,l)=>{let m=`Variable "$${o}" got invalid value `+(0,mp.inspect)(d);p.length>0&&(m+=` at "${o}${(0,mW.printPathArray)(p)}"`),i(new Qa.GraphQLError(m+"; "+l.message,{nodes:a,originalError:l.originalError}))})}return r}function WS(n,e,t){var i;let r={},a=(i=e.arguments)!==null&&i!==void 0?i:[],o=(0,hW.keyMap)(a,s=>s.name.value);for(let s of n.args){let u=s.name,p=s.type,d=o[u];if(!d){if(s.defaultValue!==void 0)r[u]=s.defaultValue;else if((0,yp.isNonNullType)(p))throw new Qa.GraphQLError(`Argument "${u}" of required type "${(0,mp.inspect)(p)}" was not provided.`,{nodes:e});continue}let l=d.value,m=l.kind===KS.Kind.NULL;if(l.kind===KS.Kind.VARIABLE){let v=l.name.value;if(t==null||!YS(t,v)){if(s.defaultValue!==void 0)r[u]=s.defaultValue;else if((0,yp.isNonNullType)(p))throw new Qa.GraphQLError(`Argument "${u}" of required type "${(0,mp.inspect)(p)}" was provided the variable "$${v}" which was not provided a runtime value.`,{nodes:l});continue}m=t[v]==null}if(m&&(0,yp.isNonNullType)(p))throw new Qa.GraphQLError(`Argument "${u}" of non-null type "${(0,mp.inspect)(p)}" must not be null.`,{nodes:l});let y=(0,zS.valueFromAST)(l,p,t);if(y===void 0)throw new Qa.GraphQLError(`Argument "${u}" has invalid value ${(0,HS.print)(l)}.`,{nodes:l});r[u]=y}return r}function AW(n,e,t){var i;let r=(i=e.directives)===null||i===void 0?void 0:i.find(a=>a.name.value===n.name);if(r)return WS(n,r,t)}function YS(n,e){return Object.prototype.hasOwnProperty.call(n,e)}});var Ef=T(vf=>{"use strict";f();c();Object.defineProperty(vf,"__esModule",{value:!0});vf.collectFields=SW;vf.collectSubfields=DW;var rv=He(),TW=Ue(),JS=ri(),bW=oa(),XS=vp();function SW(n,e,t,i,r){let a=new Map;return yf(n,e,t,i,r,a,new Set),a}function DW(n,e,t,i,r){let a=new Map,o=new Set;for(let s of r)s.selectionSet&&yf(n,e,t,i,s.selectionSet,a,o);return a}function yf(n,e,t,i,r,a,o){for(let s of r.selections)switch(s.kind){case rv.Kind.FIELD:{if(!av(t,s))continue;let u=_W(s),p=a.get(u);p!==void 0?p.push(s):a.set(u,[s]);break}case rv.Kind.INLINE_FRAGMENT:{if(!av(t,s)||!ZS(n,s,i))continue;yf(n,e,t,i,s.selectionSet,a,o);break}case rv.Kind.FRAGMENT_SPREAD:{let u=s.name.value;if(o.has(u)||!av(t,s))continue;o.add(u);let p=e[u];if(!p||!ZS(n,p,i))continue;yf(n,e,t,i,p.selectionSet,a,o);break}}}function av(n,e){let t=(0,XS.getDirectiveValues)(JS.GraphQLSkipDirective,e,n);if(t?.if===!0)return!1;let i=(0,XS.getDirectiveValues)(JS.GraphQLIncludeDirective,e,n);return i?.if!==!1}function ZS(n,e,t){let i=e.typeCondition;if(!i)return!0;let r=(0,bW.typeFromAST)(n,i);return r===t?!0:(0,TW.isAbstractType)(r)?n.isSubType(r,t):!1}function _W(n){return n.alias?n.alias.value:n.name.value}});var sv=T(ov=>{"use strict";f();c();Object.defineProperty(ov,"__esModule",{value:!0});ov.SingleFieldSubscriptionsRule=NW;var eD=be(),FW=He(),CW=Ef();function NW(n){return{OperationDefinition(e){if(e.operation==="subscription"){let t=n.getSchema(),i=t.getSubscriptionType();if(i){let r=e.name?e.name.value:null,a=Object.create(null),o=n.getDocument(),s=Object.create(null);for(let p of o.definitions)p.kind===FW.Kind.FRAGMENT_DEFINITION&&(s[p.name.value]=p);let u=(0,CW.collectFields)(t,s,a,i,e.selectionSet);if(u.size>1){let l=[...u.values()].slice(1).flat();n.reportError(new eD.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("__")&&n.reportError(new eD.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 gf=T(uv=>{"use strict";f();c();Object.defineProperty(uv,"__esModule",{value:!0});uv.groupBy=OW;function OW(n,e){let t=new Map;for(let i of n){let r=e(i),a=t.get(r);a===void 0?t.set(r,[i]):a.push(i)}return t}});var dv=T(pv=>{"use strict";f();c();Object.defineProperty(pv,"__esModule",{value:!0});pv.UniqueArgumentDefinitionNamesRule=RW;var IW=gf(),wW=be();function RW(n){return{DirectiveDefinition(i){var r;let a=(r=i.arguments)!==null&&r!==void 0?r:[];return t(`@${i.name.value}`,a)},InterfaceTypeDefinition:e,InterfaceTypeExtension:e,ObjectTypeDefinition:e,ObjectTypeExtension:e};function e(i){var r;let a=i.name.value,o=(r=i.fields)!==null&&r!==void 0?r:[];for(let u of o){var s;let p=u.name.value,d=(s=u.arguments)!==null&&s!==void 0?s:[];t(`${a}.${p}`,d)}return!1}function t(i,r){let a=(0,IW.groupBy)(r,o=>o.name.value);for(let[o,s]of a)s.length>1&&n.reportError(new wW.GraphQLError(`Argument "${i}(${o}:)" can only be defined once.`,{nodes:s.map(u=>u.name)}));return!1}}});var cv=T(lv=>{"use strict";f();c();Object.defineProperty(lv,"__esModule",{value:!0});lv.UniqueArgumentNamesRule=PW;var BW=gf(),LW=be();function PW(n){return{Field:e,Directive:e};function e(t){var i;let r=(i=t.arguments)!==null&&i!==void 0?i:[],a=(0,BW.groupBy)(r,o=>o.name.value);for(let[o,s]of a)s.length>1&&n.reportError(new LW.GraphQLError(`There can be only one argument named "${o}".`,{nodes:s.map(u=>u.name)}))}}});var hv=T(fv=>{"use strict";f();c();Object.defineProperty(fv,"__esModule",{value:!0});fv.UniqueDirectiveNamesRule=xW;var tD=be();function xW(n){let e=Object.create(null),t=n.getSchema();return{DirectiveDefinition(i){let r=i.name.value;if(t!=null&&t.getDirective(r)){n.reportError(new tD.GraphQLError(`Directive "@${r}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}));return}return e[r]?n.reportError(new tD.GraphQLError(`There can be only one directive named "@${r}".`,{nodes:[e[r],i.name]})):e[r]=i.name,!1}}}});var vv=T(yv=>{"use strict";f();c();Object.defineProperty(yv,"__esModule",{value:!0});yv.UniqueDirectivesPerLocationRule=VW;var kW=be(),mv=He(),nD=Gs(),$W=ri();function VW(n){let e=Object.create(null),t=n.getSchema(),i=t?t.getDirectives():$W.specifiedDirectives;for(let s of i)e[s.name]=!s.isRepeatable;let r=n.getDocument().definitions;for(let s of r)s.kind===mv.Kind.DIRECTIVE_DEFINITION&&(e[s.name.value]=!s.repeatable);let a=Object.create(null),o=Object.create(null);return{enter(s){if(!("directives"in s)||!s.directives)return;let u;if(s.kind===mv.Kind.SCHEMA_DEFINITION||s.kind===mv.Kind.SCHEMA_EXTENSION)u=a;else if((0,nD.isTypeDefinitionNode)(s)||(0,nD.isTypeExtensionNode)(s)){let p=s.name.value;u=o[p],u===void 0&&(o[p]=u=Object.create(null))}else u=Object.create(null);for(let p of s.directives){let d=p.name.value;e[d]&&(u[d]?n.reportError(new kW.GraphQLError(`The directive "@${d}" can only be used once at this location.`,{nodes:[u[d],p]})):u[d]=p)}}}}});var gv=T(Ev=>{"use strict";f();c();Object.defineProperty(Ev,"__esModule",{value:!0});Ev.UniqueEnumValueNamesRule=qW;var iD=be(),jW=Ue();function qW(n){let e=n.getSchema(),t=e?e.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:r,EnumTypeExtension:r};function r(a){var o;let s=a.name.value;i[s]||(i[s]=Object.create(null));let u=(o=a.values)!==null&&o!==void 0?o:[],p=i[s];for(let d of u){let l=d.name.value,m=t[s];(0,jW.isEnumType)(m)&&m.getValue(l)?n.reportError(new iD.GraphQLError(`Enum value "${s}.${l}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:d.name})):p[l]?n.reportError(new iD.GraphQLError(`Enum value "${s}.${l}" can only be defined once.`,{nodes:[p[l],d.name]})):p[l]=d.name}return!1}}});var bv=T(Tv=>{"use strict";f();c();Object.defineProperty(Tv,"__esModule",{value:!0});Tv.UniqueFieldDefinitionNamesRule=MW;var rD=be(),Av=Ue();function MW(n){let e=n.getSchema(),t=e?e.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:r,InputObjectTypeExtension:r,InterfaceTypeDefinition:r,InterfaceTypeExtension:r,ObjectTypeDefinition:r,ObjectTypeExtension:r};function r(a){var o;let s=a.name.value;i[s]||(i[s]=Object.create(null));let u=(o=a.fields)!==null&&o!==void 0?o:[],p=i[s];for(let d of u){let l=d.name.value;UW(t[s],l)?n.reportError(new rD.GraphQLError(`Field "${s}.${l}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:d.name})):p[l]?n.reportError(new rD.GraphQLError(`Field "${s}.${l}" can only be defined once.`,{nodes:[p[l],d.name]})):p[l]=d.name}return!1}}function UW(n,e){return(0,Av.isObjectType)(n)||(0,Av.isInterfaceType)(n)||(0,Av.isInputObjectType)(n)?n.getFields()[e]!=null:!1}});var Dv=T(Sv=>{"use strict";f();c();Object.defineProperty(Sv,"__esModule",{value:!0});Sv.UniqueFragmentNamesRule=QW;var GW=be();function QW(n){let e=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(t){let i=t.name.value;return e[i]?n.reportError(new GW.GraphQLError(`There can be only one fragment named "${i}".`,{nodes:[e[i],t.name]})):e[i]=t.name,!1}}}});var Fv=T(_v=>{"use strict";f();c();Object.defineProperty(_v,"__esModule",{value:!0});_v.UniqueInputFieldNamesRule=zW;var KW=Ln(),HW=be();function zW(n){let e=[],t=Object.create(null);return{ObjectValue:{enter(){e.push(t),t=Object.create(null)},leave(){let i=e.pop();i||(0,KW.invariant)(!1),t=i}},ObjectField(i){let r=i.name.value;t[r]?n.reportError(new HW.GraphQLError(`There can be only one input field named "${r}".`,{nodes:[t[r],i.name]})):t[r]=i.name}}}});var Nv=T(Cv=>{"use strict";f();c();Object.defineProperty(Cv,"__esModule",{value:!0});Cv.UniqueOperationNamesRule=YW;var WW=be();function YW(n){let e=Object.create(null);return{OperationDefinition(t){let i=t.name;return i&&(e[i.value]?n.reportError(new WW.GraphQLError(`There can be only one operation named "${i.value}".`,{nodes:[e[i.value],i]})):e[i.value]=i),!1},FragmentDefinition:()=>!1}}});var Iv=T(Ov=>{"use strict";f();c();Object.defineProperty(Ov,"__esModule",{value:!0});Ov.UniqueOperationTypesRule=JW;var aD=be();function JW(n){let e=n.getSchema(),t=Object.create(null),i=e?{query:e.getQueryType(),mutation:e.getMutationType(),subscription:e.getSubscriptionType()}:{};return{SchemaDefinition:r,SchemaExtension:r};function r(a){var o;let s=(o=a.operationTypes)!==null&&o!==void 0?o:[];for(let u of s){let p=u.operation,d=t[p];i[p]?n.reportError(new aD.GraphQLError(`Type for ${p} already defined in the schema. It cannot be redefined.`,{nodes:u})):d?n.reportError(new aD.GraphQLError(`There can be only one ${p} type in schema.`,{nodes:[d,u]})):t[p]=u}return!1}}});var Rv=T(wv=>{"use strict";f();c();Object.defineProperty(wv,"__esModule",{value:!0});wv.UniqueTypeNamesRule=XW;var oD=be();function XW(n){let e=Object.create(null),t=n.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(r){let a=r.name.value;if(t!=null&&t.getType(a)){n.reportError(new oD.GraphQLError(`Type "${a}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return e[a]?n.reportError(new oD.GraphQLError(`There can be only one type named "${a}".`,{nodes:[e[a],r.name]})):e[a]=r.name,!1}}});var Lv=T(Bv=>{"use strict";f();c();Object.defineProperty(Bv,"__esModule",{value:!0});Bv.UniqueVariableNamesRule=tY;var ZW=gf(),eY=be();function tY(n){return{OperationDefinition(e){var t;let i=(t=e.variableDefinitions)!==null&&t!==void 0?t:[],r=(0,ZW.groupBy)(i,a=>a.variable.name.value);for(let[a,o]of r)o.length>1&&n.reportError(new eY.GraphQLError(`There can be only one variable named "$${a}".`,{nodes:o.map(s=>s.variable.name)}))}}}});var xv=T(Pv=>{"use strict";f();c();Object.defineProperty(Pv,"__esModule",{value:!0});Pv.ValuesOfCorrectTypeRule=aY;var nY=Do(),xl=rt(),iY=_o(),rY=Fo(),zs=be(),Af=bi(),sa=Ue();function aY(n){return{ListValue(e){let t=(0,sa.getNullableType)(n.getParentInputType());if(!(0,sa.isListType)(t))return Hs(n,e),!1},ObjectValue(e){let t=(0,sa.getNamedType)(n.getInputType());if(!(0,sa.isInputObjectType)(t))return Hs(n,e),!1;let i=(0,iY.keyMap)(e.fields,r=>r.name.value);for(let r of Object.values(t.getFields()))if(!i[r.name]&&(0,sa.isRequiredInputField)(r)){let o=(0,xl.inspect)(r.type);n.reportError(new zs.GraphQLError(`Field "${t.name}.${r.name}" of required type "${o}" was not provided.`,{nodes:e}))}},ObjectField(e){let t=(0,sa.getNamedType)(n.getParentInputType());if(!n.getInputType()&&(0,sa.isInputObjectType)(t)){let r=(0,rY.suggestionList)(e.name.value,Object.keys(t.getFields()));n.reportError(new zs.GraphQLError(`Field "${e.name.value}" is not defined by type "${t.name}".`+(0,nY.didYouMean)(r),{nodes:e}))}},NullValue(e){let t=n.getInputType();(0,sa.isNonNullType)(t)&&n.reportError(new zs.GraphQLError(`Expected value of type "${(0,xl.inspect)(t)}", found ${(0,Af.print)(e)}.`,{nodes:e}))},EnumValue:e=>Hs(n,e),IntValue:e=>Hs(n,e),FloatValue:e=>Hs(n,e),StringValue:e=>Hs(n,e),BooleanValue:e=>Hs(n,e)}}function Hs(n,e){let t=n.getInputType();if(!t)return;let i=(0,sa.getNamedType)(t);if(!(0,sa.isLeafType)(i)){let r=(0,xl.inspect)(t);n.reportError(new zs.GraphQLError(`Expected value of type "${r}", found ${(0,Af.print)(e)}.`,{nodes:e}));return}try{if(i.parseLiteral(e,void 0)===void 0){let a=(0,xl.inspect)(t);n.reportError(new zs.GraphQLError(`Expected value of type "${a}", found ${(0,Af.print)(e)}.`,{nodes:e}))}}catch(r){let a=(0,xl.inspect)(t);r instanceof zs.GraphQLError?n.reportError(r):n.reportError(new zs.GraphQLError(`Expected value of type "${a}", found ${(0,Af.print)(e)}; `+r.message,{nodes:e,originalError:r}))}}});var $v=T(kv=>{"use strict";f();c();Object.defineProperty(kv,"__esModule",{value:!0});kv.VariablesAreInputTypesRule=dY;var oY=be(),sY=bi(),uY=Ue(),pY=oa();function dY(n){return{VariableDefinition(e){let t=(0,pY.typeFromAST)(n.getSchema(),e.type);if(t!==void 0&&!(0,uY.isInputType)(t)){let i=e.variable.name.value,r=(0,sY.print)(e.type);n.reportError(new oY.GraphQLError(`Variable "$${i}" cannot be non-input type "${r}".`,{nodes:e.type}))}}}}});var jv=T(Vv=>{"use strict";f();c();Object.defineProperty(Vv,"__esModule",{value:!0});Vv.VariablesInAllowedPositionRule=hY;var sD=rt(),lY=be(),cY=He(),uD=Ue(),pD=yl(),fY=oa();function hY(n){let e=Object.create(null);return{OperationDefinition:{enter(){e=Object.create(null)},leave(t){let i=n.getRecursiveVariableUsages(t);for(let{node:r,type:a,defaultValue:o}of i){let s=r.name.value,u=e[s];if(u&&a){let p=n.getSchema(),d=(0,fY.typeFromAST)(p,u.type);if(d&&!mY(p,d,u.defaultValue,a,o)){let l=(0,sD.inspect)(d),m=(0,sD.inspect)(a);n.reportError(new lY.GraphQLError(`Variable "$${s}" of type "${l}" used in position expecting type "${m}".`,{nodes:[u,r]}))}}}}},VariableDefinition(t){e[t.variable.name.value]=t}}}function mY(n,e,t,i,r){if((0,uD.isNonNullType)(i)&&!(0,uD.isNonNullType)(e)){if(!(t!=null&&t.kind!==cY.Kind.NULL)&&!(r!==void 0))return!1;let s=i.ofType;return(0,pD.isTypeSubTypeOf)(n,e,s)}return(0,pD.isTypeSubTypeOf)(n,e,i)}});var kl=T(Ep=>{"use strict";f();c();Object.defineProperty(Ep,"__esModule",{value:!0});Ep.specifiedSDLRules=Ep.specifiedRules=void 0;var yY=u3(),vY=d3(),EY=c3(),dD=f3(),lD=v3(),gY=g3(),cD=b3(),AY=D3(),TY=F3(),bY=N3(),SY=I3(),DY=R3(),_Y=L3(),FY=U3(),CY=K3(),NY=z3(),fD=Y3(),OY=X3(),IY=sv(),wY=dv(),hD=cv(),RY=hv(),mD=vv(),BY=gv(),LY=bv(),PY=Dv(),yD=Fv(),xY=Nv(),kY=Iv(),$Y=Rv(),VY=Lv(),jY=xv(),qY=$v(),MY=jv(),UY=Object.freeze([yY.ExecutableDefinitionsRule,xY.UniqueOperationNamesRule,AY.LoneAnonymousOperationRule,IY.SingleFieldSubscriptionsRule,cD.KnownTypeNamesRule,EY.FragmentsOnCompositeTypesRule,qY.VariablesAreInputTypesRule,OY.ScalarLeafsRule,vY.FieldsOnCorrectTypeRule,PY.UniqueFragmentNamesRule,gY.KnownFragmentNamesRule,DY.NoUnusedFragmentsRule,CY.PossibleFragmentSpreadsRule,bY.NoFragmentCyclesRule,VY.UniqueVariableNamesRule,SY.NoUndefinedVariablesRule,_Y.NoUnusedVariablesRule,lD.KnownDirectivesRule,mD.UniqueDirectivesPerLocationRule,dD.KnownArgumentNamesRule,hD.UniqueArgumentNamesRule,jY.ValuesOfCorrectTypeRule,fD.ProvidedRequiredArgumentsRule,MY.VariablesInAllowedPositionRule,FY.OverlappingFieldsCanBeMergedRule,yD.UniqueInputFieldNamesRule]);Ep.specifiedRules=UY;var GY=Object.freeze([TY.LoneSchemaDefinitionRule,kY.UniqueOperationTypesRule,$Y.UniqueTypeNamesRule,BY.UniqueEnumValueNamesRule,LY.UniqueFieldDefinitionNamesRule,wY.UniqueArgumentDefinitionNamesRule,RY.UniqueDirectiveNamesRule,cD.KnownTypeNamesRule,lD.KnownDirectivesRule,mD.UniqueDirectivesPerLocationRule,NY.PossibleTypeExtensionsRule,dD.KnownArgumentNamesOnDirectivesRule,hD.UniqueArgumentNamesRule,yD.UniqueInputFieldNamesRule,fD.ProvidedRequiredArgumentsOnDirectivesRule]);Ep.specifiedSDLRules=GY});var Uv=T(wo=>{"use strict";f();c();Object.defineProperty(wo,"__esModule",{value:!0});wo.ValidationContext=wo.SDLValidationContext=wo.ASTValidationContext=void 0;var vD=He(),QY=xs(),ED=sf(),$l=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 i of this.getDocument().definitions)i.kind===vD.Kind.FRAGMENT_DEFINITION&&(t[i.name.value]=i);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];let i=[e],r;for(;r=i.pop();)for(let a of r.selections)a.kind===vD.Kind.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&i.push(a.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];let i=Object.create(null),r=[e.selectionSet],a;for(;a=r.pop();)for(let o of this.getFragmentSpreads(a)){let s=o.name.value;if(i[s]!==!0){i[s]=!0;let u=this.getFragment(s);u&&(t.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}};wo.ASTValidationContext=$l;var qv=class extends $l{constructor(e,t,i){super(e,i),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}};wo.SDLValidationContext=qv;var Mv=class extends $l{constructor(e,t,i,r){super(t,r),this._schema=e,this._typeInfo=i,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 i=[],r=new ED.TypeInfo(this._schema);(0,QY.visit)(e,(0,ED.visitWithTypeInfo)(r,{VariableDefinition:()=>!1,Variable(a){i.push({node:a,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=i,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(let i of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(i));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()}};wo.ValidationContext=Mv});var Ap=T(gp=>{"use strict";f();c();Object.defineProperty(gp,"__esModule",{value:!0});gp.assertValidSDL=YY;gp.assertValidSDLExtension=JY;gp.validate=WY;gp.validateSDL=Gv;var KY=Kn(),HY=be(),Tf=xs(),zY=Fl(),gD=sf(),AD=kl(),TD=Uv();function WY(n,e,t=AD.specifiedRules,i,r=new gD.TypeInfo(n)){var a;let o=(a=i?.maxErrors)!==null&&a!==void 0?a:100;e||(0,KY.devAssert)(!1,"Must provide document."),(0,zY.assertValidSchema)(n);let s=Object.freeze({}),u=[],p=new TD.ValidationContext(n,e,r,l=>{if(u.length>=o)throw u.push(new HY.GraphQLError("Too many validation errors, error limit reached. Validation aborted.")),s;u.push(l)}),d=(0,Tf.visitInParallel)(t.map(l=>l(p)));try{(0,Tf.visit)(e,(0,gD.visitWithTypeInfo)(r,d))}catch(l){if(l!==s)throw l}return u}function Gv(n,e,t=AD.specifiedSDLRules){let i=[],r=new TD.SDLValidationContext(n,e,o=>{i.push(o)}),a=t.map(o=>o(r));return(0,Tf.visit)(n,(0,Tf.visitInParallel)(a)),i}function YY(n){let e=Gv(n);if(e.length!==0)throw new Error(e.map(t=>t.message).join(` `))}function JY(n,e){let t=Gv(n,e);if(t.length!==0)throw new Error(t.map(i=>i.message).join(` `))}});var bD=T(Qv=>{"use strict";f();c();Object.defineProperty(Qv,"__esModule",{value:!0});Qv.memoize3=XY;function XY(n){let e;return function(i,r,a){e===void 0&&(e=new WeakMap);let o=e.get(i);o===void 0&&(o=new WeakMap,e.set(i,o));let s=o.get(r);s===void 0&&(s=new WeakMap,o.set(r,s));let u=s.get(a);return u===void 0&&(u=n(i,r,a),s.set(a,u)),u}}});var SD=T(Kv=>{"use strict";f();c();Object.defineProperty(Kv,"__esModule",{value:!0});Kv.promiseForObject=ZY;function ZY(n){return Promise.all(Object.values(n)).then(e=>{let t=Object.create(null);for(let[i,r]of Object.keys(n).entries())t[r]=e[i];return t})}});var DD=T(Hv=>{"use strict";f();c();Object.defineProperty(Hv,"__esModule",{value:!0});Hv.promiseReduce=tJ;var eJ=b0();function tJ(n,e,t){let i=t;for(let r of n)i=(0,eJ.isPromise)(i)?i.then(a=>e(a,r)):e(i,r);return i}});var _D=T(Wv=>{"use strict";f();c();Object.defineProperty(Wv,"__esModule",{value:!0});Wv.toError=iJ;var nJ=rt();function iJ(n){return n instanceof Error?n:new zv(n)}var zv=class extends Error{constructor(e){super("Unexpected error value: "+(0,nJ.inspect)(e)),this.name="NonErrorThrown",this.thrownValue=e}}});var bf=T(Yv=>{"use strict";f();c();Object.defineProperty(Yv,"__esModule",{value:!0});Yv.locatedError=oJ;var rJ=_D(),aJ=be();function oJ(n,e,t){var i;let r=(0,rJ.toError)(n);return sJ(r)?r:new aJ.GraphQLError(r.message,{nodes:(i=r.nodes)!==null&&i!==void 0?i:e,source:r.source,positions:r.positions,path:t,originalError:r})}function sJ(n){return Array.isArray(n.path)}});var jl=T(Mi=>{"use strict";f();c();Object.defineProperty(Mi,"__esModule",{value:!0});Mi.assertValidExecutionArguments=RD;Mi.buildExecutionContext=BD;Mi.buildResolveInfo=PD;Mi.defaultTypeResolver=Mi.defaultFieldResolver=void 0;Mi.execute=wD;Mi.executeSync=mJ;Mi.getFieldDef=kD;var Xv=Kn(),Ws=rt(),uJ=Ln(),pJ=nf(),t8=ta(),Sr=b0(),dJ=bD(),Ys=Il(),lJ=SD(),cJ=DD(),qi=be(),Df=bf(),Jv=na(),FD=He(),Ro=Ue(),Tp=Vi(),fJ=Fl(),OD=Ef(),ID=vp(),hJ=(0,dJ.memoize3)((n,e,t)=>(0,OD.collectSubfields)(n.schema,n.fragments,n.variableValues,e,t));function wD(n){arguments.length<2||(0,Xv.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:e,document:t,variableValues:i,rootValue:r}=n;RD(e,t,i);let a=BD(n);if(!("schema"in a))return{errors:a};try{let{operation:o}=a,s=yJ(a,o,r);return(0,Sr.isPromise)(s)?s.then(u=>Sf(u,a.errors),u=>(a.errors.push(u),Sf(null,a.errors))):Sf(s,a.errors)}catch(o){return a.errors.push(o),Sf(null,a.errors)}}function mJ(n){let e=wD(n);if((0,Sr.isPromise)(e))throw new Error("GraphQL execution failed to complete synchronously.");return e}function Sf(n,e){return e.length===0?{data:n}:{errors:e,data:n}}function RD(n,e,t){e||(0,Xv.devAssert)(!1,"Must provide document."),(0,fJ.assertValidSchema)(n),t==null||(0,t8.isObjectLike)(t)||(0,Xv.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 BD(n){var e,t;let{schema:i,document:r,rootValue:a,contextValue:o,variableValues:s,operationName:u,fieldResolver:p,typeResolver:d,subscribeFieldResolver:l}=n,m,y=Object.create(null);for(let b of r.definitions)switch(b.kind){case FD.Kind.OPERATION_DEFINITION:if(u==null){if(m!==void 0)return[new qi.GraphQLError("Must provide operation name if query contains multiple operations.")];m=b}else((e=b.name)===null||e===void 0?void 0:e.value)===u&&(m=b);break;case FD.Kind.FRAGMENT_DEFINITION:y[b.name.value]=b;break;default:}if(!m)return u!=null?[new qi.GraphQLError(`Unknown operation named "${u}".`)]:[new qi.GraphQLError("Must provide an operation.")];let v=(t=m.variableDefinitions)!==null&&t!==void 0?t:[],g=(0,ID.getVariableValues)(i,v,s??{},{maxErrors:50});return g.errors?g.errors:{schema:i,fragments:y,rootValue:a,contextValue:o,operation:m,variableValues:g.coerced,fieldResolver:p??e8,typeResolver:d??xD,subscribeFieldResolver:l??e8,errors:[]}}function yJ(n,e,t){let i=n.schema.getRootType(e.operation);if(i==null)throw new qi.GraphQLError(`Schema is not configured to execute ${e.operation} operation.`,{nodes:e});let r=(0,OD.collectFields)(n.schema,n.fragments,n.variableValues,i,e.selectionSet),a=void 0;switch(e.operation){case Jv.OperationTypeNode.QUERY:return _f(n,i,t,a,r);case Jv.OperationTypeNode.MUTATION:return vJ(n,i,t,a,r);case Jv.OperationTypeNode.SUBSCRIPTION:return _f(n,i,t,a,r)}}function vJ(n,e,t,i,r){return(0,cJ.promiseReduce)(r.entries(),(a,[o,s])=>{let u=(0,Ys.addPath)(i,o,e.name),p=LD(n,e,t,s,u);return p===void 0?a:(0,Sr.isPromise)(p)?p.then(d=>(a[o]=d,a)):(a[o]=p,a)},Object.create(null))}function _f(n,e,t,i,r){let a=Object.create(null),o=!1;for(let[s,u]of r.entries()){let p=(0,Ys.addPath)(i,s,e.name),d=LD(n,e,t,u,p);d!==void 0&&(a[s]=d,(0,Sr.isPromise)(d)&&(o=!0))}return o?(0,lJ.promiseForObject)(a):a}function LD(n,e,t,i,r){var a;let o=kD(n.schema,e,i[0]);if(!o)return;let s=o.type,u=(a=o.resolve)!==null&&a!==void 0?a:n.fieldResolver,p=PD(n,o,i,e,r);try{let d=(0,ID.getArgumentValues)(o,i[0],n.variableValues),l=n.contextValue,m=u(t,d,l,p),y;return(0,Sr.isPromise)(m)?y=m.then(v=>Vl(n,s,i,p,r,v)):y=Vl(n,s,i,p,r,m),(0,Sr.isPromise)(y)?y.then(void 0,v=>{let g=(0,Df.locatedError)(v,i,(0,Ys.pathToArray)(r));return Ff(g,s,n)}):y}catch(d){let l=(0,Df.locatedError)(d,i,(0,Ys.pathToArray)(r));return Ff(l,s,n)}}function PD(n,e,t,i,r){return{fieldName:e.name,fieldNodes:t,returnType:e.type,parentType:i,path:r,schema:n.schema,fragments:n.fragments,rootValue:n.rootValue,operation:n.operation,variableValues:n.variableValues}}function Ff(n,e,t){if((0,Ro.isNonNullType)(e))throw n;return t.errors.push(n),null}function Vl(n,e,t,i,r,a){if(a instanceof Error)throw a;if((0,Ro.isNonNullType)(e)){let o=Vl(n,e.ofType,t,i,r,a);if(o===null)throw new Error(`Cannot return null for non-nullable field ${i.parentType.name}.${i.fieldName}.`);return o}if(a==null)return null;if((0,Ro.isListType)(e))return EJ(n,e,t,i,r,a);if((0,Ro.isLeafType)(e))return gJ(e,a);if((0,Ro.isAbstractType)(e))return AJ(n,e,t,i,r,a);if((0,Ro.isObjectType)(e))return Zv(n,e,t,i,r,a);(0,uJ.invariant)(!1,"Cannot complete value of unexpected output type: "+(0,Ws.inspect)(e))}function EJ(n,e,t,i,r,a){if(!(0,pJ.isIterableObject)(a))throw new qi.GraphQLError(`Expected Iterable, but did not find one for field "${i.parentType.name}.${i.fieldName}".`);let o=e.ofType,s=!1,u=Array.from(a,(p,d)=>{let l=(0,Ys.addPath)(r,d,void 0);try{let m;return(0,Sr.isPromise)(p)?m=p.then(y=>Vl(n,o,t,i,l,y)):m=Vl(n,o,t,i,l,p),(0,Sr.isPromise)(m)?(s=!0,m.then(void 0,y=>{let v=(0,Df.locatedError)(y,t,(0,Ys.pathToArray)(l));return Ff(v,o,n)})):m}catch(m){let y=(0,Df.locatedError)(m,t,(0,Ys.pathToArray)(l));return Ff(y,o,n)}});return s?Promise.all(u):u}function gJ(n,e){let t=n.serialize(e);if(t==null)throw new Error(`Expected \`${(0,Ws.inspect)(n)}.serialize(${(0,Ws.inspect)(e)})\` to return non-nullable value, returned: ${(0,Ws.inspect)(t)}`);return t}function AJ(n,e,t,i,r,a){var o;let s=(o=e.resolveType)!==null&&o!==void 0?o:n.typeResolver,u=n.contextValue,p=s(a,u,i,e);return(0,Sr.isPromise)(p)?p.then(d=>Zv(n,CD(d,n,e,t,i,a),t,i,r,a)):Zv(n,CD(p,n,e,t,i,a),t,i,r,a)}function CD(n,e,t,i,r,a){if(n==null)throw new qi.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.`,i);if((0,Ro.isObjectType)(n))throw new qi.GraphQLError("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if(typeof n!="string")throw new qi.GraphQLError(`Abstract type "${t.name}" must resolve to an Object type at runtime for field "${r.parentType.name}.${r.fieldName}" with value ${(0,Ws.inspect)(a)}, received "${(0,Ws.inspect)(n)}".`);let o=e.schema.getType(n);if(o==null)throw new qi.GraphQLError(`Abstract type "${t.name}" was resolved to a type "${n}" that does not exist inside the schema.`,{nodes:i});if(!(0,Ro.isObjectType)(o))throw new qi.GraphQLError(`Abstract type "${t.name}" was resolved to a non-object type "${n}".`,{nodes:i});if(!e.schema.isSubType(t,o))throw new qi.GraphQLError(`Runtime Object type "${o.name}" is not a possible type for "${t.name}".`,{nodes:i});return o}function Zv(n,e,t,i,r,a){let o=hJ(n,e,t);if(e.isTypeOf){let s=e.isTypeOf(a,n.contextValue,i);if((0,Sr.isPromise)(s))return s.then(u=>{if(!u)throw ND(e,a,t);return _f(n,e,a,r,o)});if(!s)throw ND(e,a,t)}return _f(n,e,a,r,o)}function ND(n,e,t){return new qi.GraphQLError(`Expected value of type "${n.name}" but got: ${(0,Ws.inspect)(e)}.`,{nodes:t})}var xD=function(n,e,t,i){if((0,t8.isObjectLike)(n)&&typeof n.__typename=="string")return n.__typename;let r=t.schema.getPossibleTypes(i),a=[];for(let o=0;o{for(let s=0;s{"use strict";f();c();Object.defineProperty(Cf,"__esModule",{value:!0});Cf.graphql=CJ;Cf.graphqlSync=NJ;var TJ=Kn(),bJ=b0(),SJ=sp(),DJ=Fl(),_J=Ap(),FJ=jl();function CJ(n){return new Promise(e=>e($D(n)))}function NJ(n){let e=$D(n);if((0,bJ.isPromise)(e))throw new Error("GraphQL execution failed to complete synchronously.");return e}function $D(n){arguments.length<2||(0,TJ.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:e,source:t,rootValue:i,contextValue:r,variableValues:a,operationName:o,fieldResolver:s,typeResolver:u}=n,p=(0,DJ.validateSchema)(e);if(p.length>0)return{errors:p};let d;try{d=(0,SJ.parse)(t)}catch(m){return{errors:[m]}}let l=(0,_J.validate)(e,d);return l.length>0?{errors:l}:(0,FJ.execute)({schema:e,document:d,rootValue:i,contextValue:r,variableValues:a,operationName:o,fieldResolver:s,typeResolver:u})}});var MD=T(J=>{"use strict";f();c();Object.defineProperty(J,"__esModule",{value:!0});Object.defineProperty(J,"DEFAULT_DEPRECATION_REASON",{enumerable:!0,get:function(){return ua.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(J,"GRAPHQL_MAX_INT",{enumerable:!0,get:function(){return Ka.GRAPHQL_MAX_INT}});Object.defineProperty(J,"GRAPHQL_MIN_INT",{enumerable:!0,get:function(){return Ka.GRAPHQL_MIN_INT}});Object.defineProperty(J,"GraphQLBoolean",{enumerable:!0,get:function(){return Ka.GraphQLBoolean}});Object.defineProperty(J,"GraphQLDeprecatedDirective",{enumerable:!0,get:function(){return ua.GraphQLDeprecatedDirective}});Object.defineProperty(J,"GraphQLDirective",{enumerable:!0,get:function(){return ua.GraphQLDirective}});Object.defineProperty(J,"GraphQLEnumType",{enumerable:!0,get:function(){return Fe.GraphQLEnumType}});Object.defineProperty(J,"GraphQLFloat",{enumerable:!0,get:function(){return Ka.GraphQLFloat}});Object.defineProperty(J,"GraphQLID",{enumerable:!0,get:function(){return Ka.GraphQLID}});Object.defineProperty(J,"GraphQLIncludeDirective",{enumerable:!0,get:function(){return ua.GraphQLIncludeDirective}});Object.defineProperty(J,"GraphQLInputObjectType",{enumerable:!0,get:function(){return Fe.GraphQLInputObjectType}});Object.defineProperty(J,"GraphQLInt",{enumerable:!0,get:function(){return Ka.GraphQLInt}});Object.defineProperty(J,"GraphQLInterfaceType",{enumerable:!0,get:function(){return Fe.GraphQLInterfaceType}});Object.defineProperty(J,"GraphQLList",{enumerable:!0,get:function(){return Fe.GraphQLList}});Object.defineProperty(J,"GraphQLNonNull",{enumerable:!0,get:function(){return Fe.GraphQLNonNull}});Object.defineProperty(J,"GraphQLObjectType",{enumerable:!0,get:function(){return Fe.GraphQLObjectType}});Object.defineProperty(J,"GraphQLScalarType",{enumerable:!0,get:function(){return Fe.GraphQLScalarType}});Object.defineProperty(J,"GraphQLSchema",{enumerable:!0,get:function(){return n8.GraphQLSchema}});Object.defineProperty(J,"GraphQLSkipDirective",{enumerable:!0,get:function(){return ua.GraphQLSkipDirective}});Object.defineProperty(J,"GraphQLSpecifiedByDirective",{enumerable:!0,get:function(){return ua.GraphQLSpecifiedByDirective}});Object.defineProperty(J,"GraphQLString",{enumerable:!0,get:function(){return Ka.GraphQLString}});Object.defineProperty(J,"GraphQLUnionType",{enumerable:!0,get:function(){return Fe.GraphQLUnionType}});Object.defineProperty(J,"SchemaMetaFieldDef",{enumerable:!0,get:function(){return oi.SchemaMetaFieldDef}});Object.defineProperty(J,"TypeKind",{enumerable:!0,get:function(){return oi.TypeKind}});Object.defineProperty(J,"TypeMetaFieldDef",{enumerable:!0,get:function(){return oi.TypeMetaFieldDef}});Object.defineProperty(J,"TypeNameMetaFieldDef",{enumerable:!0,get:function(){return oi.TypeNameMetaFieldDef}});Object.defineProperty(J,"__Directive",{enumerable:!0,get:function(){return oi.__Directive}});Object.defineProperty(J,"__DirectiveLocation",{enumerable:!0,get:function(){return oi.__DirectiveLocation}});Object.defineProperty(J,"__EnumValue",{enumerable:!0,get:function(){return oi.__EnumValue}});Object.defineProperty(J,"__Field",{enumerable:!0,get:function(){return oi.__Field}});Object.defineProperty(J,"__InputValue",{enumerable:!0,get:function(){return oi.__InputValue}});Object.defineProperty(J,"__Schema",{enumerable:!0,get:function(){return oi.__Schema}});Object.defineProperty(J,"__Type",{enumerable:!0,get:function(){return oi.__Type}});Object.defineProperty(J,"__TypeKind",{enumerable:!0,get:function(){return oi.__TypeKind}});Object.defineProperty(J,"assertAbstractType",{enumerable:!0,get:function(){return Fe.assertAbstractType}});Object.defineProperty(J,"assertCompositeType",{enumerable:!0,get:function(){return Fe.assertCompositeType}});Object.defineProperty(J,"assertDirective",{enumerable:!0,get:function(){return ua.assertDirective}});Object.defineProperty(J,"assertEnumType",{enumerable:!0,get:function(){return Fe.assertEnumType}});Object.defineProperty(J,"assertEnumValueName",{enumerable:!0,get:function(){return qD.assertEnumValueName}});Object.defineProperty(J,"assertInputObjectType",{enumerable:!0,get:function(){return Fe.assertInputObjectType}});Object.defineProperty(J,"assertInputType",{enumerable:!0,get:function(){return Fe.assertInputType}});Object.defineProperty(J,"assertInterfaceType",{enumerable:!0,get:function(){return Fe.assertInterfaceType}});Object.defineProperty(J,"assertLeafType",{enumerable:!0,get:function(){return Fe.assertLeafType}});Object.defineProperty(J,"assertListType",{enumerable:!0,get:function(){return Fe.assertListType}});Object.defineProperty(J,"assertName",{enumerable:!0,get:function(){return qD.assertName}});Object.defineProperty(J,"assertNamedType",{enumerable:!0,get:function(){return Fe.assertNamedType}});Object.defineProperty(J,"assertNonNullType",{enumerable:!0,get:function(){return Fe.assertNonNullType}});Object.defineProperty(J,"assertNullableType",{enumerable:!0,get:function(){return Fe.assertNullableType}});Object.defineProperty(J,"assertObjectType",{enumerable:!0,get:function(){return Fe.assertObjectType}});Object.defineProperty(J,"assertOutputType",{enumerable:!0,get:function(){return Fe.assertOutputType}});Object.defineProperty(J,"assertScalarType",{enumerable:!0,get:function(){return Fe.assertScalarType}});Object.defineProperty(J,"assertSchema",{enumerable:!0,get:function(){return n8.assertSchema}});Object.defineProperty(J,"assertType",{enumerable:!0,get:function(){return Fe.assertType}});Object.defineProperty(J,"assertUnionType",{enumerable:!0,get:function(){return Fe.assertUnionType}});Object.defineProperty(J,"assertValidSchema",{enumerable:!0,get:function(){return jD.assertValidSchema}});Object.defineProperty(J,"assertWrappingType",{enumerable:!0,get:function(){return Fe.assertWrappingType}});Object.defineProperty(J,"getNamedType",{enumerable:!0,get:function(){return Fe.getNamedType}});Object.defineProperty(J,"getNullableType",{enumerable:!0,get:function(){return Fe.getNullableType}});Object.defineProperty(J,"introspectionTypes",{enumerable:!0,get:function(){return oi.introspectionTypes}});Object.defineProperty(J,"isAbstractType",{enumerable:!0,get:function(){return Fe.isAbstractType}});Object.defineProperty(J,"isCompositeType",{enumerable:!0,get:function(){return Fe.isCompositeType}});Object.defineProperty(J,"isDirective",{enumerable:!0,get:function(){return ua.isDirective}});Object.defineProperty(J,"isEnumType",{enumerable:!0,get:function(){return Fe.isEnumType}});Object.defineProperty(J,"isInputObjectType",{enumerable:!0,get:function(){return Fe.isInputObjectType}});Object.defineProperty(J,"isInputType",{enumerable:!0,get:function(){return Fe.isInputType}});Object.defineProperty(J,"isInterfaceType",{enumerable:!0,get:function(){return Fe.isInterfaceType}});Object.defineProperty(J,"isIntrospectionType",{enumerable:!0,get:function(){return oi.isIntrospectionType}});Object.defineProperty(J,"isLeafType",{enumerable:!0,get:function(){return Fe.isLeafType}});Object.defineProperty(J,"isListType",{enumerable:!0,get:function(){return Fe.isListType}});Object.defineProperty(J,"isNamedType",{enumerable:!0,get:function(){return Fe.isNamedType}});Object.defineProperty(J,"isNonNullType",{enumerable:!0,get:function(){return Fe.isNonNullType}});Object.defineProperty(J,"isNullableType",{enumerable:!0,get:function(){return Fe.isNullableType}});Object.defineProperty(J,"isObjectType",{enumerable:!0,get:function(){return Fe.isObjectType}});Object.defineProperty(J,"isOutputType",{enumerable:!0,get:function(){return Fe.isOutputType}});Object.defineProperty(J,"isRequiredArgument",{enumerable:!0,get:function(){return Fe.isRequiredArgument}});Object.defineProperty(J,"isRequiredInputField",{enumerable:!0,get:function(){return Fe.isRequiredInputField}});Object.defineProperty(J,"isScalarType",{enumerable:!0,get:function(){return Fe.isScalarType}});Object.defineProperty(J,"isSchema",{enumerable:!0,get:function(){return n8.isSchema}});Object.defineProperty(J,"isSpecifiedDirective",{enumerable:!0,get:function(){return ua.isSpecifiedDirective}});Object.defineProperty(J,"isSpecifiedScalarType",{enumerable:!0,get:function(){return Ka.isSpecifiedScalarType}});Object.defineProperty(J,"isType",{enumerable:!0,get:function(){return Fe.isType}});Object.defineProperty(J,"isUnionType",{enumerable:!0,get:function(){return Fe.isUnionType}});Object.defineProperty(J,"isWrappingType",{enumerable:!0,get:function(){return Fe.isWrappingType}});Object.defineProperty(J,"resolveObjMapThunk",{enumerable:!0,get:function(){return Fe.resolveObjMapThunk}});Object.defineProperty(J,"resolveReadonlyArrayThunk",{enumerable:!0,get:function(){return Fe.resolveReadonlyArrayThunk}});Object.defineProperty(J,"specifiedDirectives",{enumerable:!0,get:function(){return ua.specifiedDirectives}});Object.defineProperty(J,"specifiedScalarTypes",{enumerable:!0,get:function(){return Ka.specifiedScalarTypes}});Object.defineProperty(J,"validateSchema",{enumerable:!0,get:function(){return jD.validateSchema}});var n8=Ms(),Fe=Ue(),ua=ri(),Ka=aa(),oi=Vi(),jD=Fl(),qD=ll()});var GD=T(ze=>{"use strict";f();c();Object.defineProperty(ze,"__esModule",{value:!0});Object.defineProperty(ze,"BREAK",{enumerable:!0,get:function(){return ql.BREAK}});Object.defineProperty(ze,"DirectiveLocation",{enumerable:!0,get:function(){return PJ.DirectiveLocation}});Object.defineProperty(ze,"Kind",{enumerable:!0,get:function(){return wJ.Kind}});Object.defineProperty(ze,"Lexer",{enumerable:!0,get:function(){return BJ.Lexer}});Object.defineProperty(ze,"Location",{enumerable:!0,get:function(){return i8.Location}});Object.defineProperty(ze,"OperationTypeNode",{enumerable:!0,get:function(){return i8.OperationTypeNode}});Object.defineProperty(ze,"Source",{enumerable:!0,get:function(){return OJ.Source}});Object.defineProperty(ze,"Token",{enumerable:!0,get:function(){return i8.Token}});Object.defineProperty(ze,"TokenKind",{enumerable:!0,get:function(){return RJ.TokenKind}});Object.defineProperty(ze,"getEnterLeaveForKind",{enumerable:!0,get:function(){return ql.getEnterLeaveForKind}});Object.defineProperty(ze,"getLocation",{enumerable:!0,get:function(){return IJ.getLocation}});Object.defineProperty(ze,"getVisitFn",{enumerable:!0,get:function(){return ql.getVisitFn}});Object.defineProperty(ze,"isConstValueNode",{enumerable:!0,get:function(){return pa.isConstValueNode}});Object.defineProperty(ze,"isDefinitionNode",{enumerable:!0,get:function(){return pa.isDefinitionNode}});Object.defineProperty(ze,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return pa.isExecutableDefinitionNode}});Object.defineProperty(ze,"isSelectionNode",{enumerable:!0,get:function(){return pa.isSelectionNode}});Object.defineProperty(ze,"isTypeDefinitionNode",{enumerable:!0,get:function(){return pa.isTypeDefinitionNode}});Object.defineProperty(ze,"isTypeExtensionNode",{enumerable:!0,get:function(){return pa.isTypeExtensionNode}});Object.defineProperty(ze,"isTypeNode",{enumerable:!0,get:function(){return pa.isTypeNode}});Object.defineProperty(ze,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return pa.isTypeSystemDefinitionNode}});Object.defineProperty(ze,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return pa.isTypeSystemExtensionNode}});Object.defineProperty(ze,"isValueNode",{enumerable:!0,get:function(){return pa.isValueNode}});Object.defineProperty(ze,"parse",{enumerable:!0,get:function(){return Nf.parse}});Object.defineProperty(ze,"parseConstValue",{enumerable:!0,get:function(){return Nf.parseConstValue}});Object.defineProperty(ze,"parseType",{enumerable:!0,get:function(){return Nf.parseType}});Object.defineProperty(ze,"parseValue",{enumerable:!0,get:function(){return Nf.parseValue}});Object.defineProperty(ze,"print",{enumerable:!0,get:function(){return LJ.print}});Object.defineProperty(ze,"printLocation",{enumerable:!0,get:function(){return UD.printLocation}});Object.defineProperty(ze,"printSourceLocation",{enumerable:!0,get:function(){return UD.printSourceLocation}});Object.defineProperty(ze,"visit",{enumerable:!0,get:function(){return ql.visit}});Object.defineProperty(ze,"visitInParallel",{enumerable:!0,get:function(){return ql.visitInParallel}});var OJ=R0(),IJ=S0(),UD=a4(),wJ=He(),RJ=il(),BJ=N0(),Nf=sp(),LJ=bi(),ql=xs(),i8=na(),pa=Gs(),PJ=ap()});var QD=T(r8=>{"use strict";f();c();Object.defineProperty(r8,"__esModule",{value:!0});r8.isAsyncIterable=xJ;function xJ(n){return typeof n?.[Symbol.asyncIterator]=="function"}});var KD=T(a8=>{"use strict";f();c();Object.defineProperty(a8,"__esModule",{value:!0});a8.mapAsyncIterator=kJ;function kJ(n,e){let t=n[Symbol.asyncIterator]();async function i(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 i(await t.next())},async return(){return typeof t.return=="function"?i(await t.return()):{value:void 0,done:!0}},async throw(r){if(typeof t.throw=="function")return i(await t.throw(r));throw r},[Symbol.asyncIterator](){return this}}}});var YD=T(Of=>{"use strict";f();c();Object.defineProperty(Of,"__esModule",{value:!0});Of.createSourceEventStream=WD;Of.subscribe=GJ;var $J=Kn(),VJ=rt(),zD=QD(),HD=Il(),o8=be(),jJ=bf(),qJ=Ef(),Ml=jl(),MJ=KD(),UJ=vp();async function GJ(n){arguments.length<2||(0,$J.devAssert)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let e=await WD(n);if(!(0,zD.isAsyncIterable)(e))return e;let t=i=>(0,Ml.execute)({...n,rootValue:i});return(0,MJ.mapAsyncIterator)(e,t)}function QJ(n){let e=n[0];return e&&"document"in e?e:{schema:e,document:n[1],rootValue:n[2],contextValue:n[3],variableValues:n[4],operationName:n[5],subscribeFieldResolver:n[6]}}async function WD(...n){let e=QJ(n),{schema:t,document:i,variableValues:r}=e;(0,Ml.assertValidExecutionArguments)(t,i,r);let a=(0,Ml.buildExecutionContext)(e);if(!("schema"in a))return{errors:a};try{let o=await KJ(a);if(!(0,zD.isAsyncIterable)(o))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,VJ.inspect)(o)}.`);return o}catch(o){if(o instanceof o8.GraphQLError)return{errors:[o]};throw o}}async function KJ(n){let{schema:e,fragments:t,operation:i,variableValues:r,rootValue:a}=n,o=e.getSubscriptionType();if(o==null)throw new o8.GraphQLError("Schema is not configured to execute subscription operation.",{nodes:i});let s=(0,qJ.collectFields)(e,t,r,o,i.selectionSet),[u,p]=[...s.entries()][0],d=(0,Ml.getFieldDef)(e,o,p[0]);if(!d){let v=p[0].name.value;throw new o8.GraphQLError(`The subscription field "${v}" is not defined.`,{nodes:p})}let l=(0,HD.addPath)(void 0,u,o.name),m=(0,Ml.buildResolveInfo)(n,d,p,o,l);try{var y;let v=(0,UJ.getArgumentValues)(d,p[0],r),g=n.contextValue,D=await((y=d.subscribe)!==null&&y!==void 0?y:n.subscribeFieldResolver)(a,v,g,m);if(D instanceof Error)throw D;return D}catch(v){throw(0,jJ.locatedError)(v,p,(0,HD.pathToArray)(l))}}});var XD=T(Ui=>{"use strict";f();c();Object.defineProperty(Ui,"__esModule",{value:!0});Object.defineProperty(Ui,"createSourceEventStream",{enumerable:!0,get:function(){return JD.createSourceEventStream}});Object.defineProperty(Ui,"defaultFieldResolver",{enumerable:!0,get:function(){return If.defaultFieldResolver}});Object.defineProperty(Ui,"defaultTypeResolver",{enumerable:!0,get:function(){return If.defaultTypeResolver}});Object.defineProperty(Ui,"execute",{enumerable:!0,get:function(){return If.execute}});Object.defineProperty(Ui,"executeSync",{enumerable:!0,get:function(){return If.executeSync}});Object.defineProperty(Ui,"getArgumentValues",{enumerable:!0,get:function(){return s8.getArgumentValues}});Object.defineProperty(Ui,"getDirectiveValues",{enumerable:!0,get:function(){return s8.getDirectiveValues}});Object.defineProperty(Ui,"getVariableValues",{enumerable:!0,get:function(){return s8.getVariableValues}});Object.defineProperty(Ui,"responsePathAsArray",{enumerable:!0,get:function(){return HJ.pathToArray}});Object.defineProperty(Ui,"subscribe",{enumerable:!0,get:function(){return JD.subscribe}});var HJ=Il(),If=jl(),JD=YD(),s8=vp()});var ZD=T(d8=>{"use strict";f();c();Object.defineProperty(d8,"__esModule",{value:!0});d8.NoDeprecatedCustomRule=zJ;var u8=Ln(),Ul=be(),p8=Ue();function zJ(n){return{Field(e){let t=n.getFieldDef(),i=t?.deprecationReason;if(t&&i!=null){let r=n.getParentType();r!=null||(0,u8.invariant)(!1),n.reportError(new Ul.GraphQLError(`The field ${r.name}.${t.name} is deprecated. ${i}`,{nodes:e}))}},Argument(e){let t=n.getArgument(),i=t?.deprecationReason;if(t&&i!=null){let r=n.getDirective();if(r!=null)n.reportError(new Ul.GraphQLError(`Directive "@${r.name}" argument "${t.name}" is deprecated. ${i}`,{nodes:e}));else{let a=n.getParentType(),o=n.getFieldDef();a!=null&&o!=null||(0,u8.invariant)(!1),n.reportError(new Ul.GraphQLError(`Field "${a.name}.${o.name}" argument "${t.name}" is deprecated. ${i}`,{nodes:e}))}}},ObjectField(e){let t=(0,p8.getNamedType)(n.getParentInputType());if((0,p8.isInputObjectType)(t)){let i=t.getFields()[e.name.value],r=i?.deprecationReason;r!=null&&n.reportError(new Ul.GraphQLError(`The input field ${t.name}.${i.name} is deprecated. ${r}`,{nodes:e}))}},EnumValue(e){let t=n.getEnumValue(),i=t?.deprecationReason;if(t&&i!=null){let r=(0,p8.getNamedType)(n.getInputType());r!=null||(0,u8.invariant)(!1),n.reportError(new Ul.GraphQLError(`The enum value "${r.name}.${t.name}" is deprecated. ${i}`,{nodes:e}))}}}}});var e_=T(l8=>{"use strict";f();c();Object.defineProperty(l8,"__esModule",{value:!0});l8.NoSchemaIntrospectionCustomRule=XJ;var WJ=be(),YJ=Ue(),JJ=Vi();function XJ(n){return{Field(e){let t=(0,YJ.getNamedType)(n.getType());t&&(0,JJ.isIntrospectionType)(t)&&n.reportError(new WJ.GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field "${e.name.value}".`,{nodes:e}))}}}});var t_=T(we=>{"use strict";f();c();Object.defineProperty(we,"__esModule",{value:!0});Object.defineProperty(we,"ExecutableDefinitionsRule",{enumerable:!0,get:function(){return nX.ExecutableDefinitionsRule}});Object.defineProperty(we,"FieldsOnCorrectTypeRule",{enumerable:!0,get:function(){return iX.FieldsOnCorrectTypeRule}});Object.defineProperty(we,"FragmentsOnCompositeTypesRule",{enumerable:!0,get:function(){return rX.FragmentsOnCompositeTypesRule}});Object.defineProperty(we,"KnownArgumentNamesRule",{enumerable:!0,get:function(){return aX.KnownArgumentNamesRule}});Object.defineProperty(we,"KnownDirectivesRule",{enumerable:!0,get:function(){return oX.KnownDirectivesRule}});Object.defineProperty(we,"KnownFragmentNamesRule",{enumerable:!0,get:function(){return sX.KnownFragmentNamesRule}});Object.defineProperty(we,"KnownTypeNamesRule",{enumerable:!0,get:function(){return uX.KnownTypeNamesRule}});Object.defineProperty(we,"LoneAnonymousOperationRule",{enumerable:!0,get:function(){return pX.LoneAnonymousOperationRule}});Object.defineProperty(we,"LoneSchemaDefinitionRule",{enumerable:!0,get:function(){return NX.LoneSchemaDefinitionRule}});Object.defineProperty(we,"NoDeprecatedCustomRule",{enumerable:!0,get:function(){return xX.NoDeprecatedCustomRule}});Object.defineProperty(we,"NoFragmentCyclesRule",{enumerable:!0,get:function(){return dX.NoFragmentCyclesRule}});Object.defineProperty(we,"NoSchemaIntrospectionCustomRule",{enumerable:!0,get:function(){return kX.NoSchemaIntrospectionCustomRule}});Object.defineProperty(we,"NoUndefinedVariablesRule",{enumerable:!0,get:function(){return lX.NoUndefinedVariablesRule}});Object.defineProperty(we,"NoUnusedFragmentsRule",{enumerable:!0,get:function(){return cX.NoUnusedFragmentsRule}});Object.defineProperty(we,"NoUnusedVariablesRule",{enumerable:!0,get:function(){return fX.NoUnusedVariablesRule}});Object.defineProperty(we,"OverlappingFieldsCanBeMergedRule",{enumerable:!0,get:function(){return hX.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(we,"PossibleFragmentSpreadsRule",{enumerable:!0,get:function(){return mX.PossibleFragmentSpreadsRule}});Object.defineProperty(we,"PossibleTypeExtensionsRule",{enumerable:!0,get:function(){return PX.PossibleTypeExtensionsRule}});Object.defineProperty(we,"ProvidedRequiredArgumentsRule",{enumerable:!0,get:function(){return yX.ProvidedRequiredArgumentsRule}});Object.defineProperty(we,"ScalarLeafsRule",{enumerable:!0,get:function(){return vX.ScalarLeafsRule}});Object.defineProperty(we,"SingleFieldSubscriptionsRule",{enumerable:!0,get:function(){return EX.SingleFieldSubscriptionsRule}});Object.defineProperty(we,"UniqueArgumentDefinitionNamesRule",{enumerable:!0,get:function(){return BX.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(we,"UniqueArgumentNamesRule",{enumerable:!0,get:function(){return gX.UniqueArgumentNamesRule}});Object.defineProperty(we,"UniqueDirectiveNamesRule",{enumerable:!0,get:function(){return LX.UniqueDirectiveNamesRule}});Object.defineProperty(we,"UniqueDirectivesPerLocationRule",{enumerable:!0,get:function(){return AX.UniqueDirectivesPerLocationRule}});Object.defineProperty(we,"UniqueEnumValueNamesRule",{enumerable:!0,get:function(){return wX.UniqueEnumValueNamesRule}});Object.defineProperty(we,"UniqueFieldDefinitionNamesRule",{enumerable:!0,get:function(){return RX.UniqueFieldDefinitionNamesRule}});Object.defineProperty(we,"UniqueFragmentNamesRule",{enumerable:!0,get:function(){return TX.UniqueFragmentNamesRule}});Object.defineProperty(we,"UniqueInputFieldNamesRule",{enumerable:!0,get:function(){return bX.UniqueInputFieldNamesRule}});Object.defineProperty(we,"UniqueOperationNamesRule",{enumerable:!0,get:function(){return SX.UniqueOperationNamesRule}});Object.defineProperty(we,"UniqueOperationTypesRule",{enumerable:!0,get:function(){return OX.UniqueOperationTypesRule}});Object.defineProperty(we,"UniqueTypeNamesRule",{enumerable:!0,get:function(){return IX.UniqueTypeNamesRule}});Object.defineProperty(we,"UniqueVariableNamesRule",{enumerable:!0,get:function(){return DX.UniqueVariableNamesRule}});Object.defineProperty(we,"ValidationContext",{enumerable:!0,get:function(){return eX.ValidationContext}});Object.defineProperty(we,"ValuesOfCorrectTypeRule",{enumerable:!0,get:function(){return _X.ValuesOfCorrectTypeRule}});Object.defineProperty(we,"VariablesAreInputTypesRule",{enumerable:!0,get:function(){return FX.VariablesAreInputTypesRule}});Object.defineProperty(we,"VariablesInAllowedPositionRule",{enumerable:!0,get:function(){return CX.VariablesInAllowedPositionRule}});Object.defineProperty(we,"specifiedRules",{enumerable:!0,get:function(){return tX.specifiedRules}});Object.defineProperty(we,"validate",{enumerable:!0,get:function(){return ZJ.validate}});var ZJ=Ap(),eX=Uv(),tX=kl(),nX=u3(),iX=d3(),rX=c3(),aX=f3(),oX=v3(),sX=g3(),uX=b3(),pX=D3(),dX=N3(),lX=I3(),cX=R3(),fX=L3(),hX=U3(),mX=K3(),yX=Y3(),vX=X3(),EX=sv(),gX=cv(),AX=vv(),TX=Dv(),bX=Fv(),SX=Nv(),DX=Lv(),_X=xv(),FX=$v(),CX=jv(),NX=F3(),OX=Iv(),IX=Rv(),wX=gv(),RX=bv(),BX=dv(),LX=hv(),PX=z3(),xX=ZD(),kX=e_()});var n_=T(Js=>{"use strict";f();c();Object.defineProperty(Js,"__esModule",{value:!0});Object.defineProperty(Js,"GraphQLError",{enumerable:!0,get:function(){return c8.GraphQLError}});Object.defineProperty(Js,"formatError",{enumerable:!0,get:function(){return c8.formatError}});Object.defineProperty(Js,"locatedError",{enumerable:!0,get:function(){return VX.locatedError}});Object.defineProperty(Js,"printError",{enumerable:!0,get:function(){return c8.printError}});Object.defineProperty(Js,"syntaxError",{enumerable:!0,get:function(){return $X.syntaxError}});var c8=be(),$X=_0(),VX=bf()});var h8=T(f8=>{"use strict";f();c();Object.defineProperty(f8,"__esModule",{value:!0});f8.getIntrospectionQuery=jX;function jX(n){let e={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...n},t=e.descriptions?"description":"",i=e.specifiedByUrl?"specifiedByURL":"",r=e.directiveIsRepeatable?"isRepeatable":"",a=e.schemaDescription?t:"";function o(s){return e.inputValueDeprecation?s:""}return` query IntrospectionQuery { __schema { ${a} queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name ${t} ${r} locations args${o("(includeDeprecated: true)")} { ...InputValue } } } } fragment FullType on __Type { kind name ${t} ${i} fields(includeDeprecated: true) { name ${t} args${o("(includeDeprecated: true)")} { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields${o("(includeDeprecated: true)")} { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name ${t} isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name ${t} type { ...TypeRef } defaultValue ${o("isDeprecated")} ${o("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 i_=T(m8=>{"use strict";f();c();Object.defineProperty(m8,"__esModule",{value:!0});m8.getOperationAST=MX;var qX=He();function MX(n,e){let t=null;for(let r of n.definitions)if(r.kind===qX.Kind.OPERATION_DEFINITION){var i;if(e==null){if(t)return null;t=r}else if(((i=r.name)===null||i===void 0?void 0:i.value)===e)return r}return t}});var r_=T(y8=>{"use strict";f();c();Object.defineProperty(y8,"__esModule",{value:!0});y8.getOperationRootType=UX;var wf=be();function UX(n,e){if(e.operation==="query"){let t=n.getQueryType();if(!t)throw new wf.GraphQLError("Schema does not define the required query root type.",{nodes:e});return t}if(e.operation==="mutation"){let t=n.getMutationType();if(!t)throw new wf.GraphQLError("Schema is not configured for mutations.",{nodes:e});return t}if(e.operation==="subscription"){let t=n.getSubscriptionType();if(!t)throw new wf.GraphQLError("Schema is not configured for subscriptions.",{nodes:e});return t}throw new wf.GraphQLError("Can only have query, mutation and subscription operations.",{nodes:e})}});var a_=T(v8=>{"use strict";f();c();Object.defineProperty(v8,"__esModule",{value:!0});v8.introspectionFromSchema=zX;var GX=Ln(),QX=sp(),KX=jl(),HX=h8();function zX(n,e){let t={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},i=(0,QX.parse)((0,HX.getIntrospectionQuery)(t)),r=(0,KX.executeSync)({schema:n,document:i});return!r.errors&&r.data||(0,GX.invariant)(!1),r.data}});var s_=T(E8=>{"use strict";f();c();Object.defineProperty(E8,"__esModule",{value:!0});E8.buildClientSchema=tZ;var WX=Kn(),Si=rt(),o_=ta(),Rf=pl(),YX=sp(),Di=Ue(),JX=ri(),da=Vi(),XX=aa(),ZX=Ms(),eZ=Ll();function tZ(n,e){(0,o_.isObjectLike)(n)&&(0,o_.isObjectLike)(n.__schema)||(0,WX.devAssert)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,Si.inspect)(n)}.`);let t=n.__schema,i=(0,Rf.keyValMap)(t.types,P=>P.name,P=>m(P));for(let P of[...XX.specifiedScalarTypes,...da.introspectionTypes])i[P.name]&&(i[P.name]=P);let r=t.queryType?d(t.queryType):null,a=t.mutationType?d(t.mutationType):null,o=t.subscriptionType?d(t.subscriptionType):null,s=t.directives?t.directives.map(H):[];return new ZX.GraphQLSchema({description:t.description,query:r,mutation:a,subscription:o,types:Object.values(i),directives:s,assumeValid:e?.assumeValid});function u(P){if(P.kind===da.TypeKind.LIST){let G=P.ofType;if(!G)throw new Error("Decorated type deeper than introspection query.");return new Di.GraphQLList(u(G))}if(P.kind===da.TypeKind.NON_NULL){let G=P.ofType;if(!G)throw new Error("Decorated type deeper than introspection query.");let fe=u(G);return new Di.GraphQLNonNull((0,Di.assertNullableType)(fe))}return p(P)}function p(P){let G=P.name;if(!G)throw new Error(`Unknown type reference: ${(0,Si.inspect)(P)}.`);let fe=i[G];if(!fe)throw new Error(`Invalid or incomplete schema, unknown type: ${G}. Ensure that a full introspection query is used in order to build a client schema.`);return fe}function d(P){return(0,Di.assertObjectType)(p(P))}function l(P){return(0,Di.assertInterfaceType)(p(P))}function m(P){if(P!=null&&P.name!=null&&P.kind!=null)switch(P.kind){case da.TypeKind.SCALAR:return y(P);case da.TypeKind.OBJECT:return g(P);case da.TypeKind.INTERFACE:return b(P);case da.TypeKind.UNION:return D(P);case da.TypeKind.ENUM:return R(P);case da.TypeKind.INPUT_OBJECT:return N(P)}let G=(0,Si.inspect)(P);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${G}.`)}function y(P){return new Di.GraphQLScalarType({name:P.name,description:P.description,specifiedByURL:P.specifiedByURL})}function v(P){if(P.interfaces===null&&P.kind===da.TypeKind.INTERFACE)return[];if(!P.interfaces){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing interfaces: ${G}.`)}return P.interfaces.map(l)}function g(P){return new Di.GraphQLObjectType({name:P.name,description:P.description,interfaces:()=>v(P),fields:()=>L(P)})}function b(P){return new Di.GraphQLInterfaceType({name:P.name,description:P.description,interfaces:()=>v(P),fields:()=>L(P)})}function D(P){if(!P.possibleTypes){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing possibleTypes: ${G}.`)}return new Di.GraphQLUnionType({name:P.name,description:P.description,types:()=>P.possibleTypes.map(d)})}function R(P){if(!P.enumValues){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing enumValues: ${G}.`)}return new Di.GraphQLEnumType({name:P.name,description:P.description,values:(0,Rf.keyValMap)(P.enumValues,G=>G.name,G=>({description:G.description,deprecationReason:G.deprecationReason}))})}function N(P){if(!P.inputFields){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing inputFields: ${G}.`)}return new Di.GraphQLInputObjectType({name:P.name,description:P.description,fields:()=>K(P.inputFields)})}function L(P){if(!P.fields)throw new Error(`Introspection result missing fields: ${(0,Si.inspect)(P)}.`);return(0,Rf.keyValMap)(P.fields,G=>G.name,k)}function k(P){let G=u(P.type);if(!(0,Di.isOutputType)(G)){let fe=(0,Si.inspect)(G);throw new Error(`Introspection must provide output type for fields, but received: ${fe}.`)}if(!P.args){let fe=(0,Si.inspect)(P);throw new Error(`Introspection result missing field args: ${fe}.`)}return{description:P.description,deprecationReason:P.deprecationReason,type:G,args:K(P.args)}}function K(P){return(0,Rf.keyValMap)(P,G=>G.name,Y)}function Y(P){let G=u(P.type);if(!(0,Di.isInputType)(G)){let Oe=(0,Si.inspect)(G);throw new Error(`Introspection must provide input type for arguments, but received: ${Oe}.`)}let fe=P.defaultValue!=null?(0,eZ.valueFromAST)((0,YX.parseValue)(P.defaultValue),G):void 0;return{description:P.description,type:G,defaultValue:fe,deprecationReason:P.deprecationReason}}function H(P){if(!P.args){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing directive args: ${G}.`)}if(!P.locations){let G=(0,Si.inspect)(P);throw new Error(`Introspection result missing directive locations: ${G}.`)}return new JX.GraphQLDirective({name:P.name,description:P.description,isRepeatable:P.isRepeatable,locations:P.locations.slice(),args:K(P.args)})}}});var g8=T(Pf=>{"use strict";f();c();Object.defineProperty(Pf,"__esModule",{value:!0});Pf.extendSchema=sZ;Pf.extendSchemaImpl=y_;var nZ=Kn(),iZ=rt(),rZ=Ln(),aZ=_o(),Gl=D4(),Gi=He(),u_=Gs(),Bt=Ue(),Lf=ri(),f_=Vi(),h_=aa(),p_=Ms(),oZ=Ap(),m_=vp(),d_=Ll();function sZ(n,e,t){(0,p_.assertSchema)(n),e!=null&&e.kind===Gi.Kind.DOCUMENT||(0,nZ.devAssert)(!1,"Must provide valid Document AST."),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&(0,oZ.assertValidSDLExtension)(e,n);let i=n.toConfig(),r=y_(i,e,t);return i===r?n:new p_.GraphQLSchema(r)}function y_(n,e,t){var i,r,a,o;let s=[],u=Object.create(null),p=[],d,l=[];for(let q of e.definitions)if(q.kind===Gi.Kind.SCHEMA_DEFINITION)d=q;else if(q.kind===Gi.Kind.SCHEMA_EXTENSION)l.push(q);else if((0,u_.isTypeDefinitionNode)(q))s.push(q);else if((0,u_.isTypeExtensionNode)(q)){let se=q.name.value,ne=u[se];u[se]=ne?ne.concat([q]):[q]}else q.kind===Gi.Kind.DIRECTIVE_DEFINITION&&p.push(q);if(Object.keys(u).length===0&&s.length===0&&p.length===0&&l.length===0&&d==null)return n;let m=Object.create(null);for(let q of n.types)m[q.name]=R(q);for(let q of s){var y;let se=q.name.value;m[se]=(y=l_[se])!==null&&y!==void 0?y:xd(q)}let v={query:n.query&&b(n.query),mutation:n.mutation&&b(n.mutation),subscription:n.subscription&&b(n.subscription),...d&&fe([d]),...fe(l)};return{description:(i=d)===null||i===void 0||(r=i.description)===null||r===void 0?void 0:r.value,...v,types:Object.values(m),directives:[...n.directives.map(D),...p.map(Xt)],extensions:Object.create(null),astNode:(a=d)!==null&&a!==void 0?a:n.astNode,extensionASTNodes:n.extensionASTNodes.concat(l),assumeValid:(o=t?.assumeValid)!==null&&o!==void 0?o:!1};function g(q){return(0,Bt.isListType)(q)?new Bt.GraphQLList(g(q.ofType)):(0,Bt.isNonNullType)(q)?new Bt.GraphQLNonNull(g(q.ofType)):b(q)}function b(q){return m[q.name]}function D(q){let se=q.toConfig();return new Lf.GraphQLDirective({...se,args:(0,Gl.mapValue)(se.args,G)})}function R(q){if((0,f_.isIntrospectionType)(q)||(0,h_.isSpecifiedScalarType)(q))return q;if((0,Bt.isScalarType)(q))return k(q);if((0,Bt.isObjectType)(q))return K(q);if((0,Bt.isInterfaceType)(q))return Y(q);if((0,Bt.isUnionType)(q))return H(q);if((0,Bt.isEnumType)(q))return L(q);if((0,Bt.isInputObjectType)(q))return N(q);(0,rZ.invariant)(!1,"Unexpected type: "+(0,iZ.inspect)(q))}function N(q){var se;let ne=q.toConfig(),le=(se=u[ne.name])!==null&&se!==void 0?se:[];return new Bt.GraphQLInputObjectType({...ne,fields:()=>({...(0,Gl.mapValue)(ne.fields,yt=>({...yt,type:g(yt.type)})),...vi(le)}),extensionASTNodes:ne.extensionASTNodes.concat(le)})}function L(q){var se;let ne=q.toConfig(),le=(se=u[q.name])!==null&&se!==void 0?se:[];return new Bt.GraphQLEnumType({...ne,values:{...ne.values,...ju(le)},extensionASTNodes:ne.extensionASTNodes.concat(le)})}function k(q){var se;let ne=q.toConfig(),le=(se=u[ne.name])!==null&&se!==void 0?se:[],yt=ne.specifiedByURL;for(let Tt of le){var Gt;yt=(Gt=c_(Tt))!==null&&Gt!==void 0?Gt:yt}return new Bt.GraphQLScalarType({...ne,specifiedByURL:yt,extensionASTNodes:ne.extensionASTNodes.concat(le)})}function K(q){var se;let ne=q.toConfig(),le=(se=u[ne.name])!==null&&se!==void 0?se:[];return new Bt.GraphQLObjectType({...ne,interfaces:()=>[...q.getInterfaces().map(b),...lo(le)],fields:()=>({...(0,Gl.mapValue)(ne.fields,P),...At(le)}),extensionASTNodes:ne.extensionASTNodes.concat(le)})}function Y(q){var se;let ne=q.toConfig(),le=(se=u[ne.name])!==null&&se!==void 0?se:[];return new Bt.GraphQLInterfaceType({...ne,interfaces:()=>[...q.getInterfaces().map(b),...lo(le)],fields:()=>({...(0,Gl.mapValue)(ne.fields,P),...At(le)}),extensionASTNodes:ne.extensionASTNodes.concat(le)})}function H(q){var se;let ne=q.toConfig(),le=(se=u[ne.name])!==null&&se!==void 0?se:[];return new Bt.GraphQLUnionType({...ne,types:()=>[...q.getTypes().map(b),...qu(le)],extensionASTNodes:ne.extensionASTNodes.concat(le)})}function P(q){return{...q,type:g(q.type),args:q.args&&(0,Gl.mapValue)(q.args,G)}}function G(q){return{...q,type:g(q.type)}}function fe(q){let se={};for(let le of q){var ne;let yt=(ne=le.operationTypes)!==null&&ne!==void 0?ne:[];for(let Gt of yt)se[Gt.operation]=Oe(Gt.type)}return se}function Oe(q){var se;let ne=q.name.value,le=(se=l_[ne])!==null&&se!==void 0?se:m[ne];if(le===void 0)throw new Error(`Unknown type: "${ne}".`);return le}function Me(q){return q.kind===Gi.Kind.LIST_TYPE?new Bt.GraphQLList(Me(q.type)):q.kind===Gi.Kind.NON_NULL_TYPE?new Bt.GraphQLNonNull(Me(q.type)):Oe(q)}function Xt(q){var se;return new Lf.GraphQLDirective({name:q.name.value,description:(se=q.description)===null||se===void 0?void 0:se.value,locations:q.locations.map(({value:ne})=>ne),isRepeatable:q.repeatable,args:wt(q.arguments),astNode:q})}function At(q){let se=Object.create(null);for(let yt of q){var ne;let Gt=(ne=yt.fields)!==null&&ne!==void 0?ne:[];for(let Tt of Gt){var le;se[Tt.name.value]={type:Me(Tt.type),description:(le=Tt.description)===null||le===void 0?void 0:le.value,args:wt(Tt.arguments),deprecationReason:Bf(Tt),astNode:Tt}}}return se}function wt(q){let se=q??[],ne=Object.create(null);for(let yt of se){var le;let Gt=Me(yt.type);ne[yt.name.value]={type:Gt,description:(le=yt.description)===null||le===void 0?void 0:le.value,defaultValue:(0,d_.valueFromAST)(yt.defaultValue,Gt),deprecationReason:Bf(yt),astNode:yt}}return ne}function vi(q){let se=Object.create(null);for(let yt of q){var ne;let Gt=(ne=yt.fields)!==null&&ne!==void 0?ne:[];for(let Tt of Gt){var le;let co=Me(Tt.type);se[Tt.name.value]={type:co,description:(le=Tt.description)===null||le===void 0?void 0:le.value,defaultValue:(0,d_.valueFromAST)(Tt.defaultValue,co),deprecationReason:Bf(Tt),astNode:Tt}}}return se}function ju(q){let se=Object.create(null);for(let yt of q){var ne;let Gt=(ne=yt.values)!==null&&ne!==void 0?ne:[];for(let Tt of Gt){var le;se[Tt.name.value]={description:(le=Tt.description)===null||le===void 0?void 0:le.value,deprecationReason:Bf(Tt),astNode:Tt}}}return se}function lo(q){return q.flatMap(se=>{var ne,le;return(ne=(le=se.interfaces)===null||le===void 0?void 0:le.map(Oe))!==null&&ne!==void 0?ne:[]})}function qu(q){return q.flatMap(se=>{var ne,le;return(ne=(le=se.types)===null||le===void 0?void 0:le.map(Oe))!==null&&ne!==void 0?ne:[]})}function xd(q){var se;let ne=q.name.value,le=(se=u[ne])!==null&&se!==void 0?se:[];switch(q.kind){case Gi.Kind.OBJECT_TYPE_DEFINITION:{var yt;let Ei=[q,...le];return new Bt.GraphQLObjectType({name:ne,description:(yt=q.description)===null||yt===void 0?void 0:yt.value,interfaces:()=>lo(Ei),fields:()=>At(Ei),astNode:q,extensionASTNodes:le})}case Gi.Kind.INTERFACE_TYPE_DEFINITION:{var Gt;let Ei=[q,...le];return new Bt.GraphQLInterfaceType({name:ne,description:(Gt=q.description)===null||Gt===void 0?void 0:Gt.value,interfaces:()=>lo(Ei),fields:()=>At(Ei),astNode:q,extensionASTNodes:le})}case Gi.Kind.ENUM_TYPE_DEFINITION:{var Tt;let Ei=[q,...le];return new Bt.GraphQLEnumType({name:ne,description:(Tt=q.description)===null||Tt===void 0?void 0:Tt.value,values:ju(Ei),astNode:q,extensionASTNodes:le})}case Gi.Kind.UNION_TYPE_DEFINITION:{var co;let Ei=[q,...le];return new Bt.GraphQLUnionType({name:ne,description:(co=q.description)===null||co===void 0?void 0:co.value,types:()=>qu(Ei),astNode:q,extensionASTNodes:le})}case Gi.Kind.SCALAR_TYPE_DEFINITION:{var kd;return new Bt.GraphQLScalarType({name:ne,description:(kd=q.description)===null||kd===void 0?void 0:kd.value,specifiedByURL:c_(q),astNode:q,extensionASTNodes:le})}case Gi.Kind.INPUT_OBJECT_TYPE_DEFINITION:{var $d;let Ei=[q,...le];return new Bt.GraphQLInputObjectType({name:ne,description:($d=q.description)===null||$d===void 0?void 0:$d.value,fields:()=>vi(Ei),astNode:q,extensionASTNodes:le})}}}}var l_=(0,aZ.keyMap)([...h_.specifiedScalarTypes,...f_.introspectionTypes],n=>n.name);function Bf(n){let e=(0,m_.getDirectiveValues)(Lf.GraphQLDeprecatedDirective,n);return e?.reason}function c_(n){let e=(0,m_.getDirectiveValues)(Lf.GraphQLSpecifiedByDirective,n);return e?.url}});var E_=T(xf=>{"use strict";f();c();Object.defineProperty(xf,"__esModule",{value:!0});xf.buildASTSchema=v_;xf.buildSchema=mZ;var uZ=Kn(),pZ=He(),dZ=sp(),lZ=ri(),cZ=Ms(),fZ=Ap(),hZ=g8();function v_(n,e){n!=null&&n.kind===pZ.Kind.DOCUMENT||(0,uZ.devAssert)(!1,"Must provide valid Document AST."),e?.assumeValid!==!0&&e?.assumeValidSDL!==!0&&(0,fZ.assertValidSDL)(n);let t={description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},i=(0,hZ.extendSchemaImpl)(t,n,e);if(i.astNode==null)for(let a of i.types)switch(a.name){case"Query":i.query=a;break;case"Mutation":i.mutation=a;break;case"Subscription":i.subscription=a;break}let r=[...i.directives,...lZ.specifiedDirectives.filter(a=>i.directives.every(o=>o.name!==a.name))];return new cZ.GraphQLSchema({...i,directives:r})}function mZ(n,e){let t=(0,dZ.parse)(n,{noLocation:e?.noLocation,allowLegacyFragmentVariables:e?.allowLegacyFragmentVariables});return v_(t,{assumeValidSDL:e?.assumeValidSDL,assumeValid:e?.assumeValid})}});var T_=T(T8=>{"use strict";f();c();Object.defineProperty(T8,"__esModule",{value:!0});T8.lexicographicSortSchema=bZ;var yZ=rt(),vZ=Ln(),EZ=pl(),g_=dl(),Hn=Ue(),gZ=ri(),AZ=Vi(),TZ=Ms();function bZ(n){let e=n.toConfig(),t=(0,EZ.keyValMap)(A8(e.types),m=>m.name,l);return new TZ.GraphQLSchema({...e,types:Object.values(t),directives:A8(e.directives).map(o),query:a(e.query),mutation:a(e.mutation),subscription:a(e.subscription)});function i(m){return(0,Hn.isListType)(m)?new Hn.GraphQLList(i(m.ofType)):(0,Hn.isNonNullType)(m)?new Hn.GraphQLNonNull(i(m.ofType)):r(m)}function r(m){return t[m.name]}function a(m){return m&&r(m)}function o(m){let y=m.toConfig();return new gZ.GraphQLDirective({...y,locations:A_(y.locations,v=>v),args:s(y.args)})}function s(m){return kf(m,y=>({...y,type:i(y.type)}))}function u(m){return kf(m,y=>({...y,type:i(y.type),args:y.args&&s(y.args)}))}function p(m){return kf(m,y=>({...y,type:i(y.type)}))}function d(m){return A8(m).map(r)}function l(m){if((0,Hn.isScalarType)(m)||(0,AZ.isIntrospectionType)(m))return m;if((0,Hn.isObjectType)(m)){let y=m.toConfig();return new Hn.GraphQLObjectType({...y,interfaces:()=>d(y.interfaces),fields:()=>u(y.fields)})}if((0,Hn.isInterfaceType)(m)){let y=m.toConfig();return new Hn.GraphQLInterfaceType({...y,interfaces:()=>d(y.interfaces),fields:()=>u(y.fields)})}if((0,Hn.isUnionType)(m)){let y=m.toConfig();return new Hn.GraphQLUnionType({...y,types:()=>d(y.types)})}if((0,Hn.isEnumType)(m)){let y=m.toConfig();return new Hn.GraphQLEnumType({...y,values:kf(y.values,v=>v)})}if((0,Hn.isInputObjectType)(m)){let y=m.toConfig();return new Hn.GraphQLInputObjectType({...y,fields:()=>p(y.fields)})}(0,vZ.invariant)(!1,"Unexpected type: "+(0,yZ.inspect)(m))}}function kf(n,e){let t=Object.create(null);for(let i of Object.keys(n).sort(g_.naturalCompare))t[i]=e(n[i]);return t}function A8(n){return A_(n,e=>e.name)}function A_(n,e){return n.slice().sort((t,i)=>{let r=e(t),a=e(i);return(0,g_.naturalCompare)(r,a)})}});var N_=T(Ql=>{"use strict";f();c();Object.defineProperty(Ql,"__esModule",{value:!0});Ql.printIntrospectionSchema=OZ;Ql.printSchema=NZ;Ql.printType=D_;var SZ=rt(),DZ=Ln(),_Z=tl(),S8=He(),$f=bi(),bp=Ue(),D8=ri(),b_=Vi(),FZ=aa(),CZ=Sl();function NZ(n){return S_(n,e=>!(0,D8.isSpecifiedDirective)(e),IZ)}function OZ(n){return S_(n,D8.isSpecifiedDirective,b_.isIntrospectionType)}function IZ(n){return!(0,FZ.isSpecifiedScalarType)(n)&&!(0,b_.isIntrospectionType)(n)}function S_(n,e,t){let i=n.getDirectives().filter(e),r=Object.values(n.getTypeMap()).filter(t);return[wZ(n),...i.map(a=>VZ(a)),...r.map(a=>D_(a))].filter(Boolean).join(` `)}function wZ(n){if(n.description==null&&RZ(n))return;let e=[],t=n.getQueryType();t&&e.push(` query: ${t.name}`);let i=n.getMutationType();i&&e.push(` mutation: ${i.name}`);let r=n.getSubscriptionType();return r&&e.push(` subscription: ${r.name}`),Qi(n)+`schema { ${e.join(` `)} }`}function RZ(n){let e=n.getQueryType();if(e&&e.name!=="Query")return!1;let t=n.getMutationType();if(t&&t.name!=="Mutation")return!1;let i=n.getSubscriptionType();return!(i&&i.name!=="Subscription")}function D_(n){if((0,bp.isScalarType)(n))return BZ(n);if((0,bp.isObjectType)(n))return LZ(n);if((0,bp.isInterfaceType)(n))return PZ(n);if((0,bp.isUnionType)(n))return xZ(n);if((0,bp.isEnumType)(n))return kZ(n);if((0,bp.isInputObjectType)(n))return $Z(n);(0,DZ.invariant)(!1,"Unexpected type: "+(0,SZ.inspect)(n))}function BZ(n){return Qi(n)+`scalar ${n.name}`+jZ(n)}function __(n){let e=n.getInterfaces();return e.length?" implements "+e.map(t=>t.name).join(" & "):""}function LZ(n){return Qi(n)+`type ${n.name}`+__(n)+F_(n)}function PZ(n){return Qi(n)+`interface ${n.name}`+__(n)+F_(n)}function xZ(n){let e=n.getTypes(),t=e.length?" = "+e.join(" | "):"";return Qi(n)+"union "+n.name+t}function kZ(n){let e=n.getValues().map((t,i)=>Qi(t," ",!i)+" "+t.name+F8(t.deprecationReason));return Qi(n)+`enum ${n.name}`+_8(e)}function $Z(n){let e=Object.values(n.getFields()).map((t,i)=>Qi(t," ",!i)+" "+b8(t));return Qi(n)+`input ${n.name}`+_8(e)}function F_(n){let e=Object.values(n.getFields()).map((t,i)=>Qi(t," ",!i)+" "+t.name+C_(t.args," ")+": "+String(t.type)+F8(t.deprecationReason));return _8(e)}function _8(n){return n.length!==0?` { `+n.join(` `)+` }`:""}function C_(n,e=""){return n.length===0?"":n.every(t=>!t.description)?"("+n.map(b8).join(", ")+")":`( `+n.map((t,i)=>Qi(t," "+e,!i)+" "+e+b8(t)).join(` `)+` `+e+")"}function b8(n){let e=(0,CZ.astFromValue)(n.defaultValue,n.type),t=n.name+": "+String(n.type);return e&&(t+=` = ${(0,$f.print)(e)}`),t+F8(n.deprecationReason)}function VZ(n){return Qi(n)+"directive @"+n.name+C_(n.args)+(n.isRepeatable?" repeatable":"")+" on "+n.locations.join(" | ")}function F8(n){return n==null?"":n!==D8.DEFAULT_DEPRECATION_REASON?` @deprecated(reason: ${(0,$f.print)({kind:S8.Kind.STRING,value:n})})`:" @deprecated"}function jZ(n){return n.specifiedByURL==null?"":` @specifiedBy(url: ${(0,$f.print)({kind:S8.Kind.STRING,value:n.specifiedByURL})})`}function Qi(n,e="",t=!0){let{description:i}=n;if(i==null)return"";let r=(0,$f.print)({kind:S8.Kind.STRING,value:i,block:(0,_Z.isPrintableAsBlockString)(i)});return(e&&!t?` `+e:e)+r.replace(/\n/g,` `+e)+` `}});var O_=T(C8=>{"use strict";f();c();Object.defineProperty(C8,"__esModule",{value:!0});C8.concatAST=MZ;var qZ=He();function MZ(n){let e=[];for(let t of n)e.push(...t.definitions);return{kind:qZ.Kind.DOCUMENT,definitions:e}}});var R_=T(N8=>{"use strict";f();c();Object.defineProperty(N8,"__esModule",{value:!0});N8.separateOperations=GZ;var Vf=He(),UZ=xs();function GZ(n){let e=[],t=Object.create(null);for(let r of n.definitions)switch(r.kind){case Vf.Kind.OPERATION_DEFINITION:e.push(r);break;case Vf.Kind.FRAGMENT_DEFINITION:t[r.name.value]=I_(r.selectionSet);break;default:}let i=Object.create(null);for(let r of e){let a=new Set;for(let s of I_(r.selectionSet))w_(a,t,s);let o=r.name?r.name.value:"";i[o]={kind:Vf.Kind.DOCUMENT,definitions:n.definitions.filter(s=>s===r||s.kind===Vf.Kind.FRAGMENT_DEFINITION&&a.has(s.name.value))}}return i}function w_(n,e,t){if(!n.has(t)){n.add(t);let i=e[t];if(i!==void 0)for(let r of i)w_(n,e,r)}}function I_(n){let e=[];return(0,UZ.visit)(n,{FragmentSpread(t){e.push(t.name.value)}}),e}});var P_=T(I8=>{"use strict";f();c();Object.defineProperty(I8,"__esModule",{value:!0});I8.stripIgnoredCharacters=KZ;var QZ=tl(),B_=N0(),L_=R0(),O8=il();function KZ(n){let e=(0,L_.isSource)(n)?n:new L_.Source(n),t=e.body,i=new B_.Lexer(e),r="",a=!1;for(;i.advance().kind!==O8.TokenKind.EOF;){let o=i.token,s=o.kind,u=!(0,B_.isPunctuatorTokenKind)(o.kind);a&&(u||o.kind===O8.TokenKind.SPREAD)&&(r+=" ");let p=t.slice(o.start,o.end);s===O8.TokenKind.BLOCK_STRING?r+=(0,QZ.printBlockString)(o.value,{minimize:!0}):r+=p,a=u}return r}});var k_=T(jf=>{"use strict";f();c();Object.defineProperty(jf,"__esModule",{value:!0});jf.assertValidName=YZ;jf.isValidNameError=x_;var HZ=Kn(),zZ=be(),WZ=ll();function YZ(n){let e=x_(n);if(e)throw e;return n}function x_(n){if(typeof n=="string"||(0,HZ.devAssert)(!1,"Expected name to be a string."),n.startsWith("__"))return new zZ.GraphQLError(`Name "${n}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,WZ.assertName)(n)}catch(e){return e}}});var Q_=T(la=>{"use strict";f();c();Object.defineProperty(la,"__esModule",{value:!0});la.DangerousChangeType=la.BreakingChangeType=void 0;la.findBreakingChanges=nee;la.findDangerousChanges=iee;var JZ=rt(),U_=Ln(),$_=_o(),XZ=bi(),Xe=Ue(),ZZ=aa(),eee=Sl(),tee=k3(),Mt;la.BreakingChangeType=Mt;(function(n){n.TYPE_REMOVED="TYPE_REMOVED",n.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",n.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",n.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",n.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",n.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",n.FIELD_REMOVED="FIELD_REMOVED",n.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",n.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",n.ARG_REMOVED="ARG_REMOVED",n.ARG_CHANGED_KIND="ARG_CHANGED_KIND",n.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",n.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",n.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",n.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",n.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"})(Mt||(la.BreakingChangeType=Mt={}));var Dr;la.DangerousChangeType=Dr;(function(n){n.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",n.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",n.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",n.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",n.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",n.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"})(Dr||(la.DangerousChangeType=Dr={}));function nee(n,e){return G_(n,e).filter(t=>t.type in Mt)}function iee(n,e){return G_(n,e).filter(t=>t.type in Dr)}function G_(n,e){return[...aee(n,e),...ree(n,e)]}function ree(n,e){let t=[],i=Ha(n.getDirectives(),e.getDirectives());for(let r of i.removed)t.push({type:Mt.DIRECTIVE_REMOVED,description:`${r.name} was removed.`});for(let[r,a]of i.persisted){let o=Ha(r.args,a.args);for(let s of o.added)(0,Xe.isRequiredArgument)(s)&&t.push({type:Mt.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${s.name} on directive ${r.name} was added.`});for(let s of o.removed)t.push({type:Mt.DIRECTIVE_ARG_REMOVED,description:`${s.name} was removed from ${r.name}.`});r.isRepeatable&&!a.isRepeatable&&t.push({type:Mt.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${r.name}.`});for(let s of r.locations)a.locations.includes(s)||t.push({type:Mt.DIRECTIVE_LOCATION_REMOVED,description:`${s} was removed from ${r.name}.`})}return t}function aee(n,e){let t=[],i=Ha(Object.values(n.getTypeMap()),Object.values(e.getTypeMap()));for(let r of i.removed)t.push({type:Mt.TYPE_REMOVED,description:(0,ZZ.isSpecifiedScalarType)(r)?`Standard scalar ${r.name} was removed because it is not referenced anymore.`:`${r.name} was removed.`});for(let[r,a]of i.persisted)(0,Xe.isEnumType)(r)&&(0,Xe.isEnumType)(a)?t.push(...uee(r,a)):(0,Xe.isUnionType)(r)&&(0,Xe.isUnionType)(a)?t.push(...see(r,a)):(0,Xe.isInputObjectType)(r)&&(0,Xe.isInputObjectType)(a)?t.push(...oee(r,a)):(0,Xe.isObjectType)(r)&&(0,Xe.isObjectType)(a)?t.push(...j_(r,a),...V_(r,a)):(0,Xe.isInterfaceType)(r)&&(0,Xe.isInterfaceType)(a)?t.push(...j_(r,a),...V_(r,a)):r.constructor!==a.constructor&&t.push({type:Mt.TYPE_CHANGED_KIND,description:`${r.name} changed from ${q_(r)} to ${q_(a)}.`});return t}function oee(n,e){let t=[],i=Ha(Object.values(n.getFields()),Object.values(e.getFields()));for(let r of i.added)(0,Xe.isRequiredInputField)(r)?t.push({type:Mt.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${r.name} on input type ${n.name} was added.`}):t.push({type:Dr.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${r.name} on input type ${n.name} was added.`});for(let r of i.removed)t.push({type:Mt.FIELD_REMOVED,description:`${n.name}.${r.name} was removed.`});for(let[r,a]of i.persisted)Hl(r.type,a.type)||t.push({type:Mt.FIELD_CHANGED_KIND,description:`${n.name}.${r.name} changed type from ${String(r.type)} to ${String(a.type)}.`});return t}function see(n,e){let t=[],i=Ha(n.getTypes(),e.getTypes());for(let r of i.added)t.push({type:Dr.TYPE_ADDED_TO_UNION,description:`${r.name} was added to union type ${n.name}.`});for(let r of i.removed)t.push({type:Mt.TYPE_REMOVED_FROM_UNION,description:`${r.name} was removed from union type ${n.name}.`});return t}function uee(n,e){let t=[],i=Ha(n.getValues(),e.getValues());for(let r of i.added)t.push({type:Dr.VALUE_ADDED_TO_ENUM,description:`${r.name} was added to enum type ${n.name}.`});for(let r of i.removed)t.push({type:Mt.VALUE_REMOVED_FROM_ENUM,description:`${r.name} was removed from enum type ${n.name}.`});return t}function V_(n,e){let t=[],i=Ha(n.getInterfaces(),e.getInterfaces());for(let r of i.added)t.push({type:Dr.IMPLEMENTED_INTERFACE_ADDED,description:`${r.name} added to interfaces implemented by ${n.name}.`});for(let r of i.removed)t.push({type:Mt.IMPLEMENTED_INTERFACE_REMOVED,description:`${n.name} no longer implements interface ${r.name}.`});return t}function j_(n,e){let t=[],i=Ha(Object.values(n.getFields()),Object.values(e.getFields()));for(let r of i.removed)t.push({type:Mt.FIELD_REMOVED,description:`${n.name}.${r.name} was removed.`});for(let[r,a]of i.persisted)t.push(...pee(n,r,a)),Kl(r.type,a.type)||t.push({type:Mt.FIELD_CHANGED_KIND,description:`${n.name}.${r.name} changed type from ${String(r.type)} to ${String(a.type)}.`});return t}function pee(n,e,t){let i=[],r=Ha(e.args,t.args);for(let a of r.removed)i.push({type:Mt.ARG_REMOVED,description:`${n.name}.${e.name} arg ${a.name} was removed.`});for(let[a,o]of r.persisted)if(!Hl(a.type,o.type))i.push({type:Mt.ARG_CHANGED_KIND,description:`${n.name}.${e.name} arg ${a.name} has changed type from ${String(a.type)} to ${String(o.type)}.`});else if(a.defaultValue!==void 0)if(o.defaultValue===void 0)i.push({type:Dr.ARG_DEFAULT_VALUE_CHANGE,description:`${n.name}.${e.name} arg ${a.name} defaultValue was removed.`});else{let u=M_(a.defaultValue,a.type),p=M_(o.defaultValue,o.type);u!==p&&i.push({type:Dr.ARG_DEFAULT_VALUE_CHANGE,description:`${n.name}.${e.name} arg ${a.name} has changed defaultValue from ${u} to ${p}.`})}for(let a of r.added)(0,Xe.isRequiredArgument)(a)?i.push({type:Mt.REQUIRED_ARG_ADDED,description:`A required arg ${a.name} on ${n.name}.${e.name} was added.`}):i.push({type:Dr.OPTIONAL_ARG_ADDED,description:`An optional arg ${a.name} on ${n.name}.${e.name} was added.`});return i}function Kl(n,e){return(0,Xe.isListType)(n)?(0,Xe.isListType)(e)&&Kl(n.ofType,e.ofType)||(0,Xe.isNonNullType)(e)&&Kl(n,e.ofType):(0,Xe.isNonNullType)(n)?(0,Xe.isNonNullType)(e)&&Kl(n.ofType,e.ofType):(0,Xe.isNamedType)(e)&&n.name===e.name||(0,Xe.isNonNullType)(e)&&Kl(n,e.ofType)}function Hl(n,e){return(0,Xe.isListType)(n)?(0,Xe.isListType)(e)&&Hl(n.ofType,e.ofType):(0,Xe.isNonNullType)(n)?(0,Xe.isNonNullType)(e)&&Hl(n.ofType,e.ofType)||!(0,Xe.isNonNullType)(e)&&Hl(n.ofType,e):(0,Xe.isNamedType)(e)&&n.name===e.name}function q_(n){if((0,Xe.isScalarType)(n))return"a Scalar type";if((0,Xe.isObjectType)(n))return"an Object type";if((0,Xe.isInterfaceType)(n))return"an Interface type";if((0,Xe.isUnionType)(n))return"a Union type";if((0,Xe.isEnumType)(n))return"an Enum type";if((0,Xe.isInputObjectType)(n))return"an Input type";(0,U_.invariant)(!1,"Unexpected type: "+(0,JZ.inspect)(n))}function M_(n,e){let t=(0,eee.astFromValue)(n,e);return t!=null||(0,U_.invariant)(!1),(0,XZ.print)((0,tee.sortValueNode)(t))}function Ha(n,e){let t=[],i=[],r=[],a=(0,$_.keyMap)(n,({name:s})=>s),o=(0,$_.keyMap)(e,({name:s})=>s);for(let s of n){let u=o[s.name];u===void 0?i.push(s):r.push([s,u])}for(let s of e)a[s.name]===void 0&&t.push(s);return{added:t,persisted:r,removed:i}}});var W_=T(We=>{"use strict";f();c();Object.defineProperty(We,"__esModule",{value:!0});Object.defineProperty(We,"BreakingChangeType",{enumerable:!0,get:function(){return qf.BreakingChangeType}});Object.defineProperty(We,"DangerousChangeType",{enumerable:!0,get:function(){return qf.DangerousChangeType}});Object.defineProperty(We,"TypeInfo",{enumerable:!0,get:function(){return H_.TypeInfo}});Object.defineProperty(We,"assertValidName",{enumerable:!0,get:function(){return z_.assertValidName}});Object.defineProperty(We,"astFromValue",{enumerable:!0,get:function(){return Aee.astFromValue}});Object.defineProperty(We,"buildASTSchema",{enumerable:!0,get:function(){return K_.buildASTSchema}});Object.defineProperty(We,"buildClientSchema",{enumerable:!0,get:function(){return hee.buildClientSchema}});Object.defineProperty(We,"buildSchema",{enumerable:!0,get:function(){return K_.buildSchema}});Object.defineProperty(We,"coerceInputValue",{enumerable:!0,get:function(){return Tee.coerceInputValue}});Object.defineProperty(We,"concatAST",{enumerable:!0,get:function(){return bee.concatAST}});Object.defineProperty(We,"doTypesOverlap",{enumerable:!0,get:function(){return R8.doTypesOverlap}});Object.defineProperty(We,"extendSchema",{enumerable:!0,get:function(){return mee.extendSchema}});Object.defineProperty(We,"findBreakingChanges",{enumerable:!0,get:function(){return qf.findBreakingChanges}});Object.defineProperty(We,"findDangerousChanges",{enumerable:!0,get:function(){return qf.findDangerousChanges}});Object.defineProperty(We,"getIntrospectionQuery",{enumerable:!0,get:function(){return dee.getIntrospectionQuery}});Object.defineProperty(We,"getOperationAST",{enumerable:!0,get:function(){return lee.getOperationAST}});Object.defineProperty(We,"getOperationRootType",{enumerable:!0,get:function(){return cee.getOperationRootType}});Object.defineProperty(We,"introspectionFromSchema",{enumerable:!0,get:function(){return fee.introspectionFromSchema}});Object.defineProperty(We,"isEqualType",{enumerable:!0,get:function(){return R8.isEqualType}});Object.defineProperty(We,"isTypeSubTypeOf",{enumerable:!0,get:function(){return R8.isTypeSubTypeOf}});Object.defineProperty(We,"isValidNameError",{enumerable:!0,get:function(){return z_.isValidNameError}});Object.defineProperty(We,"lexicographicSortSchema",{enumerable:!0,get:function(){return yee.lexicographicSortSchema}});Object.defineProperty(We,"printIntrospectionSchema",{enumerable:!0,get:function(){return w8.printIntrospectionSchema}});Object.defineProperty(We,"printSchema",{enumerable:!0,get:function(){return w8.printSchema}});Object.defineProperty(We,"printType",{enumerable:!0,get:function(){return w8.printType}});Object.defineProperty(We,"separateOperations",{enumerable:!0,get:function(){return See.separateOperations}});Object.defineProperty(We,"stripIgnoredCharacters",{enumerable:!0,get:function(){return Dee.stripIgnoredCharacters}});Object.defineProperty(We,"typeFromAST",{enumerable:!0,get:function(){return vee.typeFromAST}});Object.defineProperty(We,"valueFromAST",{enumerable:!0,get:function(){return Eee.valueFromAST}});Object.defineProperty(We,"valueFromASTUntyped",{enumerable:!0,get:function(){return gee.valueFromASTUntyped}});Object.defineProperty(We,"visitWithTypeInfo",{enumerable:!0,get:function(){return H_.visitWithTypeInfo}});var dee=h8(),lee=i_(),cee=r_(),fee=a_(),hee=s_(),K_=E_(),mee=g8(),yee=T_(),w8=N_(),vee=oa(),Eee=Ll(),gee=P4(),Aee=Sl(),H_=sf(),Tee=nv(),bee=O_(),See=R_(),Dee=P_(),R8=yl(),z_=k_(),qf=Q_()});var Pe=T(O=>{"use strict";f();c();Object.defineProperty(O,"__esModule",{value:!0});Object.defineProperty(O,"BREAK",{enumerable:!0,get:function(){return tt.BREAK}});Object.defineProperty(O,"BreakingChangeType",{enumerable:!0,get:function(){return nt.BreakingChangeType}});Object.defineProperty(O,"DEFAULT_DEPRECATION_REASON",{enumerable:!0,get:function(){return Z.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(O,"DangerousChangeType",{enumerable:!0,get:function(){return nt.DangerousChangeType}});Object.defineProperty(O,"DirectiveLocation",{enumerable:!0,get:function(){return tt.DirectiveLocation}});Object.defineProperty(O,"ExecutableDefinitionsRule",{enumerable:!0,get:function(){return Le.ExecutableDefinitionsRule}});Object.defineProperty(O,"FieldsOnCorrectTypeRule",{enumerable:!0,get:function(){return Le.FieldsOnCorrectTypeRule}});Object.defineProperty(O,"FragmentsOnCompositeTypesRule",{enumerable:!0,get:function(){return Le.FragmentsOnCompositeTypesRule}});Object.defineProperty(O,"GRAPHQL_MAX_INT",{enumerable:!0,get:function(){return Z.GRAPHQL_MAX_INT}});Object.defineProperty(O,"GRAPHQL_MIN_INT",{enumerable:!0,get:function(){return Z.GRAPHQL_MIN_INT}});Object.defineProperty(O,"GraphQLBoolean",{enumerable:!0,get:function(){return Z.GraphQLBoolean}});Object.defineProperty(O,"GraphQLDeprecatedDirective",{enumerable:!0,get:function(){return Z.GraphQLDeprecatedDirective}});Object.defineProperty(O,"GraphQLDirective",{enumerable:!0,get:function(){return Z.GraphQLDirective}});Object.defineProperty(O,"GraphQLEnumType",{enumerable:!0,get:function(){return Z.GraphQLEnumType}});Object.defineProperty(O,"GraphQLError",{enumerable:!0,get:function(){return zl.GraphQLError}});Object.defineProperty(O,"GraphQLFloat",{enumerable:!0,get:function(){return Z.GraphQLFloat}});Object.defineProperty(O,"GraphQLID",{enumerable:!0,get:function(){return Z.GraphQLID}});Object.defineProperty(O,"GraphQLIncludeDirective",{enumerable:!0,get:function(){return Z.GraphQLIncludeDirective}});Object.defineProperty(O,"GraphQLInputObjectType",{enumerable:!0,get:function(){return Z.GraphQLInputObjectType}});Object.defineProperty(O,"GraphQLInt",{enumerable:!0,get:function(){return Z.GraphQLInt}});Object.defineProperty(O,"GraphQLInterfaceType",{enumerable:!0,get:function(){return Z.GraphQLInterfaceType}});Object.defineProperty(O,"GraphQLList",{enumerable:!0,get:function(){return Z.GraphQLList}});Object.defineProperty(O,"GraphQLNonNull",{enumerable:!0,get:function(){return Z.GraphQLNonNull}});Object.defineProperty(O,"GraphQLObjectType",{enumerable:!0,get:function(){return Z.GraphQLObjectType}});Object.defineProperty(O,"GraphQLScalarType",{enumerable:!0,get:function(){return Z.GraphQLScalarType}});Object.defineProperty(O,"GraphQLSchema",{enumerable:!0,get:function(){return Z.GraphQLSchema}});Object.defineProperty(O,"GraphQLSkipDirective",{enumerable:!0,get:function(){return Z.GraphQLSkipDirective}});Object.defineProperty(O,"GraphQLSpecifiedByDirective",{enumerable:!0,get:function(){return Z.GraphQLSpecifiedByDirective}});Object.defineProperty(O,"GraphQLString",{enumerable:!0,get:function(){return Z.GraphQLString}});Object.defineProperty(O,"GraphQLUnionType",{enumerable:!0,get:function(){return Z.GraphQLUnionType}});Object.defineProperty(O,"Kind",{enumerable:!0,get:function(){return tt.Kind}});Object.defineProperty(O,"KnownArgumentNamesRule",{enumerable:!0,get:function(){return Le.KnownArgumentNamesRule}});Object.defineProperty(O,"KnownDirectivesRule",{enumerable:!0,get:function(){return Le.KnownDirectivesRule}});Object.defineProperty(O,"KnownFragmentNamesRule",{enumerable:!0,get:function(){return Le.KnownFragmentNamesRule}});Object.defineProperty(O,"KnownTypeNamesRule",{enumerable:!0,get:function(){return Le.KnownTypeNamesRule}});Object.defineProperty(O,"Lexer",{enumerable:!0,get:function(){return tt.Lexer}});Object.defineProperty(O,"Location",{enumerable:!0,get:function(){return tt.Location}});Object.defineProperty(O,"LoneAnonymousOperationRule",{enumerable:!0,get:function(){return Le.LoneAnonymousOperationRule}});Object.defineProperty(O,"LoneSchemaDefinitionRule",{enumerable:!0,get:function(){return Le.LoneSchemaDefinitionRule}});Object.defineProperty(O,"NoDeprecatedCustomRule",{enumerable:!0,get:function(){return Le.NoDeprecatedCustomRule}});Object.defineProperty(O,"NoFragmentCyclesRule",{enumerable:!0,get:function(){return Le.NoFragmentCyclesRule}});Object.defineProperty(O,"NoSchemaIntrospectionCustomRule",{enumerable:!0,get:function(){return Le.NoSchemaIntrospectionCustomRule}});Object.defineProperty(O,"NoUndefinedVariablesRule",{enumerable:!0,get:function(){return Le.NoUndefinedVariablesRule}});Object.defineProperty(O,"NoUnusedFragmentsRule",{enumerable:!0,get:function(){return Le.NoUnusedFragmentsRule}});Object.defineProperty(O,"NoUnusedVariablesRule",{enumerable:!0,get:function(){return Le.NoUnusedVariablesRule}});Object.defineProperty(O,"OperationTypeNode",{enumerable:!0,get:function(){return tt.OperationTypeNode}});Object.defineProperty(O,"OverlappingFieldsCanBeMergedRule",{enumerable:!0,get:function(){return Le.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(O,"PossibleFragmentSpreadsRule",{enumerable:!0,get:function(){return Le.PossibleFragmentSpreadsRule}});Object.defineProperty(O,"PossibleTypeExtensionsRule",{enumerable:!0,get:function(){return Le.PossibleTypeExtensionsRule}});Object.defineProperty(O,"ProvidedRequiredArgumentsRule",{enumerable:!0,get:function(){return Le.ProvidedRequiredArgumentsRule}});Object.defineProperty(O,"ScalarLeafsRule",{enumerable:!0,get:function(){return Le.ScalarLeafsRule}});Object.defineProperty(O,"SchemaMetaFieldDef",{enumerable:!0,get:function(){return Z.SchemaMetaFieldDef}});Object.defineProperty(O,"SingleFieldSubscriptionsRule",{enumerable:!0,get:function(){return Le.SingleFieldSubscriptionsRule}});Object.defineProperty(O,"Source",{enumerable:!0,get:function(){return tt.Source}});Object.defineProperty(O,"Token",{enumerable:!0,get:function(){return tt.Token}});Object.defineProperty(O,"TokenKind",{enumerable:!0,get:function(){return tt.TokenKind}});Object.defineProperty(O,"TypeInfo",{enumerable:!0,get:function(){return nt.TypeInfo}});Object.defineProperty(O,"TypeKind",{enumerable:!0,get:function(){return Z.TypeKind}});Object.defineProperty(O,"TypeMetaFieldDef",{enumerable:!0,get:function(){return Z.TypeMetaFieldDef}});Object.defineProperty(O,"TypeNameMetaFieldDef",{enumerable:!0,get:function(){return Z.TypeNameMetaFieldDef}});Object.defineProperty(O,"UniqueArgumentDefinitionNamesRule",{enumerable:!0,get:function(){return Le.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(O,"UniqueArgumentNamesRule",{enumerable:!0,get:function(){return Le.UniqueArgumentNamesRule}});Object.defineProperty(O,"UniqueDirectiveNamesRule",{enumerable:!0,get:function(){return Le.UniqueDirectiveNamesRule}});Object.defineProperty(O,"UniqueDirectivesPerLocationRule",{enumerable:!0,get:function(){return Le.UniqueDirectivesPerLocationRule}});Object.defineProperty(O,"UniqueEnumValueNamesRule",{enumerable:!0,get:function(){return Le.UniqueEnumValueNamesRule}});Object.defineProperty(O,"UniqueFieldDefinitionNamesRule",{enumerable:!0,get:function(){return Le.UniqueFieldDefinitionNamesRule}});Object.defineProperty(O,"UniqueFragmentNamesRule",{enumerable:!0,get:function(){return Le.UniqueFragmentNamesRule}});Object.defineProperty(O,"UniqueInputFieldNamesRule",{enumerable:!0,get:function(){return Le.UniqueInputFieldNamesRule}});Object.defineProperty(O,"UniqueOperationNamesRule",{enumerable:!0,get:function(){return Le.UniqueOperationNamesRule}});Object.defineProperty(O,"UniqueOperationTypesRule",{enumerable:!0,get:function(){return Le.UniqueOperationTypesRule}});Object.defineProperty(O,"UniqueTypeNamesRule",{enumerable:!0,get:function(){return Le.UniqueTypeNamesRule}});Object.defineProperty(O,"UniqueVariableNamesRule",{enumerable:!0,get:function(){return Le.UniqueVariableNamesRule}});Object.defineProperty(O,"ValidationContext",{enumerable:!0,get:function(){return Le.ValidationContext}});Object.defineProperty(O,"ValuesOfCorrectTypeRule",{enumerable:!0,get:function(){return Le.ValuesOfCorrectTypeRule}});Object.defineProperty(O,"VariablesAreInputTypesRule",{enumerable:!0,get:function(){return Le.VariablesAreInputTypesRule}});Object.defineProperty(O,"VariablesInAllowedPositionRule",{enumerable:!0,get:function(){return Le.VariablesInAllowedPositionRule}});Object.defineProperty(O,"__Directive",{enumerable:!0,get:function(){return Z.__Directive}});Object.defineProperty(O,"__DirectiveLocation",{enumerable:!0,get:function(){return Z.__DirectiveLocation}});Object.defineProperty(O,"__EnumValue",{enumerable:!0,get:function(){return Z.__EnumValue}});Object.defineProperty(O,"__Field",{enumerable:!0,get:function(){return Z.__Field}});Object.defineProperty(O,"__InputValue",{enumerable:!0,get:function(){return Z.__InputValue}});Object.defineProperty(O,"__Schema",{enumerable:!0,get:function(){return Z.__Schema}});Object.defineProperty(O,"__Type",{enumerable:!0,get:function(){return Z.__Type}});Object.defineProperty(O,"__TypeKind",{enumerable:!0,get:function(){return Z.__TypeKind}});Object.defineProperty(O,"assertAbstractType",{enumerable:!0,get:function(){return Z.assertAbstractType}});Object.defineProperty(O,"assertCompositeType",{enumerable:!0,get:function(){return Z.assertCompositeType}});Object.defineProperty(O,"assertDirective",{enumerable:!0,get:function(){return Z.assertDirective}});Object.defineProperty(O,"assertEnumType",{enumerable:!0,get:function(){return Z.assertEnumType}});Object.defineProperty(O,"assertEnumValueName",{enumerable:!0,get:function(){return Z.assertEnumValueName}});Object.defineProperty(O,"assertInputObjectType",{enumerable:!0,get:function(){return Z.assertInputObjectType}});Object.defineProperty(O,"assertInputType",{enumerable:!0,get:function(){return Z.assertInputType}});Object.defineProperty(O,"assertInterfaceType",{enumerable:!0,get:function(){return Z.assertInterfaceType}});Object.defineProperty(O,"assertLeafType",{enumerable:!0,get:function(){return Z.assertLeafType}});Object.defineProperty(O,"assertListType",{enumerable:!0,get:function(){return Z.assertListType}});Object.defineProperty(O,"assertName",{enumerable:!0,get:function(){return Z.assertName}});Object.defineProperty(O,"assertNamedType",{enumerable:!0,get:function(){return Z.assertNamedType}});Object.defineProperty(O,"assertNonNullType",{enumerable:!0,get:function(){return Z.assertNonNullType}});Object.defineProperty(O,"assertNullableType",{enumerable:!0,get:function(){return Z.assertNullableType}});Object.defineProperty(O,"assertObjectType",{enumerable:!0,get:function(){return Z.assertObjectType}});Object.defineProperty(O,"assertOutputType",{enumerable:!0,get:function(){return Z.assertOutputType}});Object.defineProperty(O,"assertScalarType",{enumerable:!0,get:function(){return Z.assertScalarType}});Object.defineProperty(O,"assertSchema",{enumerable:!0,get:function(){return Z.assertSchema}});Object.defineProperty(O,"assertType",{enumerable:!0,get:function(){return Z.assertType}});Object.defineProperty(O,"assertUnionType",{enumerable:!0,get:function(){return Z.assertUnionType}});Object.defineProperty(O,"assertValidName",{enumerable:!0,get:function(){return nt.assertValidName}});Object.defineProperty(O,"assertValidSchema",{enumerable:!0,get:function(){return Z.assertValidSchema}});Object.defineProperty(O,"assertWrappingType",{enumerable:!0,get:function(){return Z.assertWrappingType}});Object.defineProperty(O,"astFromValue",{enumerable:!0,get:function(){return nt.astFromValue}});Object.defineProperty(O,"buildASTSchema",{enumerable:!0,get:function(){return nt.buildASTSchema}});Object.defineProperty(O,"buildClientSchema",{enumerable:!0,get:function(){return nt.buildClientSchema}});Object.defineProperty(O,"buildSchema",{enumerable:!0,get:function(){return nt.buildSchema}});Object.defineProperty(O,"coerceInputValue",{enumerable:!0,get:function(){return nt.coerceInputValue}});Object.defineProperty(O,"concatAST",{enumerable:!0,get:function(){return nt.concatAST}});Object.defineProperty(O,"createSourceEventStream",{enumerable:!0,get:function(){return ca.createSourceEventStream}});Object.defineProperty(O,"defaultFieldResolver",{enumerable:!0,get:function(){return ca.defaultFieldResolver}});Object.defineProperty(O,"defaultTypeResolver",{enumerable:!0,get:function(){return ca.defaultTypeResolver}});Object.defineProperty(O,"doTypesOverlap",{enumerable:!0,get:function(){return nt.doTypesOverlap}});Object.defineProperty(O,"execute",{enumerable:!0,get:function(){return ca.execute}});Object.defineProperty(O,"executeSync",{enumerable:!0,get:function(){return ca.executeSync}});Object.defineProperty(O,"extendSchema",{enumerable:!0,get:function(){return nt.extendSchema}});Object.defineProperty(O,"findBreakingChanges",{enumerable:!0,get:function(){return nt.findBreakingChanges}});Object.defineProperty(O,"findDangerousChanges",{enumerable:!0,get:function(){return nt.findDangerousChanges}});Object.defineProperty(O,"formatError",{enumerable:!0,get:function(){return zl.formatError}});Object.defineProperty(O,"getArgumentValues",{enumerable:!0,get:function(){return ca.getArgumentValues}});Object.defineProperty(O,"getDirectiveValues",{enumerable:!0,get:function(){return ca.getDirectiveValues}});Object.defineProperty(O,"getEnterLeaveForKind",{enumerable:!0,get:function(){return tt.getEnterLeaveForKind}});Object.defineProperty(O,"getIntrospectionQuery",{enumerable:!0,get:function(){return nt.getIntrospectionQuery}});Object.defineProperty(O,"getLocation",{enumerable:!0,get:function(){return tt.getLocation}});Object.defineProperty(O,"getNamedType",{enumerable:!0,get:function(){return Z.getNamedType}});Object.defineProperty(O,"getNullableType",{enumerable:!0,get:function(){return Z.getNullableType}});Object.defineProperty(O,"getOperationAST",{enumerable:!0,get:function(){return nt.getOperationAST}});Object.defineProperty(O,"getOperationRootType",{enumerable:!0,get:function(){return nt.getOperationRootType}});Object.defineProperty(O,"getVariableValues",{enumerable:!0,get:function(){return ca.getVariableValues}});Object.defineProperty(O,"getVisitFn",{enumerable:!0,get:function(){return tt.getVisitFn}});Object.defineProperty(O,"graphql",{enumerable:!0,get:function(){return J_.graphql}});Object.defineProperty(O,"graphqlSync",{enumerable:!0,get:function(){return J_.graphqlSync}});Object.defineProperty(O,"introspectionFromSchema",{enumerable:!0,get:function(){return nt.introspectionFromSchema}});Object.defineProperty(O,"introspectionTypes",{enumerable:!0,get:function(){return Z.introspectionTypes}});Object.defineProperty(O,"isAbstractType",{enumerable:!0,get:function(){return Z.isAbstractType}});Object.defineProperty(O,"isCompositeType",{enumerable:!0,get:function(){return Z.isCompositeType}});Object.defineProperty(O,"isConstValueNode",{enumerable:!0,get:function(){return tt.isConstValueNode}});Object.defineProperty(O,"isDefinitionNode",{enumerable:!0,get:function(){return tt.isDefinitionNode}});Object.defineProperty(O,"isDirective",{enumerable:!0,get:function(){return Z.isDirective}});Object.defineProperty(O,"isEnumType",{enumerable:!0,get:function(){return Z.isEnumType}});Object.defineProperty(O,"isEqualType",{enumerable:!0,get:function(){return nt.isEqualType}});Object.defineProperty(O,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return tt.isExecutableDefinitionNode}});Object.defineProperty(O,"isInputObjectType",{enumerable:!0,get:function(){return Z.isInputObjectType}});Object.defineProperty(O,"isInputType",{enumerable:!0,get:function(){return Z.isInputType}});Object.defineProperty(O,"isInterfaceType",{enumerable:!0,get:function(){return Z.isInterfaceType}});Object.defineProperty(O,"isIntrospectionType",{enumerable:!0,get:function(){return Z.isIntrospectionType}});Object.defineProperty(O,"isLeafType",{enumerable:!0,get:function(){return Z.isLeafType}});Object.defineProperty(O,"isListType",{enumerable:!0,get:function(){return Z.isListType}});Object.defineProperty(O,"isNamedType",{enumerable:!0,get:function(){return Z.isNamedType}});Object.defineProperty(O,"isNonNullType",{enumerable:!0,get:function(){return Z.isNonNullType}});Object.defineProperty(O,"isNullableType",{enumerable:!0,get:function(){return Z.isNullableType}});Object.defineProperty(O,"isObjectType",{enumerable:!0,get:function(){return Z.isObjectType}});Object.defineProperty(O,"isOutputType",{enumerable:!0,get:function(){return Z.isOutputType}});Object.defineProperty(O,"isRequiredArgument",{enumerable:!0,get:function(){return Z.isRequiredArgument}});Object.defineProperty(O,"isRequiredInputField",{enumerable:!0,get:function(){return Z.isRequiredInputField}});Object.defineProperty(O,"isScalarType",{enumerable:!0,get:function(){return Z.isScalarType}});Object.defineProperty(O,"isSchema",{enumerable:!0,get:function(){return Z.isSchema}});Object.defineProperty(O,"isSelectionNode",{enumerable:!0,get:function(){return tt.isSelectionNode}});Object.defineProperty(O,"isSpecifiedDirective",{enumerable:!0,get:function(){return Z.isSpecifiedDirective}});Object.defineProperty(O,"isSpecifiedScalarType",{enumerable:!0,get:function(){return Z.isSpecifiedScalarType}});Object.defineProperty(O,"isType",{enumerable:!0,get:function(){return Z.isType}});Object.defineProperty(O,"isTypeDefinitionNode",{enumerable:!0,get:function(){return tt.isTypeDefinitionNode}});Object.defineProperty(O,"isTypeExtensionNode",{enumerable:!0,get:function(){return tt.isTypeExtensionNode}});Object.defineProperty(O,"isTypeNode",{enumerable:!0,get:function(){return tt.isTypeNode}});Object.defineProperty(O,"isTypeSubTypeOf",{enumerable:!0,get:function(){return nt.isTypeSubTypeOf}});Object.defineProperty(O,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return tt.isTypeSystemDefinitionNode}});Object.defineProperty(O,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return tt.isTypeSystemExtensionNode}});Object.defineProperty(O,"isUnionType",{enumerable:!0,get:function(){return Z.isUnionType}});Object.defineProperty(O,"isValidNameError",{enumerable:!0,get:function(){return nt.isValidNameError}});Object.defineProperty(O,"isValueNode",{enumerable:!0,get:function(){return tt.isValueNode}});Object.defineProperty(O,"isWrappingType",{enumerable:!0,get:function(){return Z.isWrappingType}});Object.defineProperty(O,"lexicographicSortSchema",{enumerable:!0,get:function(){return nt.lexicographicSortSchema}});Object.defineProperty(O,"locatedError",{enumerable:!0,get:function(){return zl.locatedError}});Object.defineProperty(O,"parse",{enumerable:!0,get:function(){return tt.parse}});Object.defineProperty(O,"parseConstValue",{enumerable:!0,get:function(){return tt.parseConstValue}});Object.defineProperty(O,"parseType",{enumerable:!0,get:function(){return tt.parseType}});Object.defineProperty(O,"parseValue",{enumerable:!0,get:function(){return tt.parseValue}});Object.defineProperty(O,"print",{enumerable:!0,get:function(){return tt.print}});Object.defineProperty(O,"printError",{enumerable:!0,get:function(){return zl.printError}});Object.defineProperty(O,"printIntrospectionSchema",{enumerable:!0,get:function(){return nt.printIntrospectionSchema}});Object.defineProperty(O,"printLocation",{enumerable:!0,get:function(){return tt.printLocation}});Object.defineProperty(O,"printSchema",{enumerable:!0,get:function(){return nt.printSchema}});Object.defineProperty(O,"printSourceLocation",{enumerable:!0,get:function(){return tt.printSourceLocation}});Object.defineProperty(O,"printType",{enumerable:!0,get:function(){return nt.printType}});Object.defineProperty(O,"resolveObjMapThunk",{enumerable:!0,get:function(){return Z.resolveObjMapThunk}});Object.defineProperty(O,"resolveReadonlyArrayThunk",{enumerable:!0,get:function(){return Z.resolveReadonlyArrayThunk}});Object.defineProperty(O,"responsePathAsArray",{enumerable:!0,get:function(){return ca.responsePathAsArray}});Object.defineProperty(O,"separateOperations",{enumerable:!0,get:function(){return nt.separateOperations}});Object.defineProperty(O,"specifiedDirectives",{enumerable:!0,get:function(){return Z.specifiedDirectives}});Object.defineProperty(O,"specifiedRules",{enumerable:!0,get:function(){return Le.specifiedRules}});Object.defineProperty(O,"specifiedScalarTypes",{enumerable:!0,get:function(){return Z.specifiedScalarTypes}});Object.defineProperty(O,"stripIgnoredCharacters",{enumerable:!0,get:function(){return nt.stripIgnoredCharacters}});Object.defineProperty(O,"subscribe",{enumerable:!0,get:function(){return ca.subscribe}});Object.defineProperty(O,"syntaxError",{enumerable:!0,get:function(){return zl.syntaxError}});Object.defineProperty(O,"typeFromAST",{enumerable:!0,get:function(){return nt.typeFromAST}});Object.defineProperty(O,"validate",{enumerable:!0,get:function(){return Le.validate}});Object.defineProperty(O,"validateSchema",{enumerable:!0,get:function(){return Z.validateSchema}});Object.defineProperty(O,"valueFromAST",{enumerable:!0,get:function(){return nt.valueFromAST}});Object.defineProperty(O,"valueFromASTUntyped",{enumerable:!0,get:function(){return nt.valueFromASTUntyped}});Object.defineProperty(O,"version",{enumerable:!0,get:function(){return Y_.version}});Object.defineProperty(O,"versionInfo",{enumerable:!0,get:function(){return Y_.versionInfo}});Object.defineProperty(O,"visit",{enumerable:!0,get:function(){return tt.visit}});Object.defineProperty(O,"visitInParallel",{enumerable:!0,get:function(){return tt.visitInParallel}});Object.defineProperty(O,"visitWithTypeInfo",{enumerable:!0,get:function(){return nt.visitWithTypeInfo}});var Y_=YT(),J_=VD(),Z=MD(),tt=GD(),ca=XD(),Le=t_(),zl=n_(),nt=W_()});var _r=T(an=>{"use strict";f();c();Object.defineProperty(an,"__esModule",{value:!0});an.typesCanBeMerged=an.isStrictSubtype=an.isSubtype=an.isDirectSubtype=an.sameType=an.DEFAULT_SUBTYPING_RULES=an.ALL_SUBTYPING_RULES=void 0;var _n=It();an.ALL_SUBTYPING_RULES=["direct","nonNullable_downgrade","list_upgrade","list_propagation","nonNullable_propagation"];an.DEFAULT_SUBTYPING_RULES=an.ALL_SUBTYPING_RULES.filter(n=>n!=="list_upgrade");function Wl(n,e){switch(n.kind){case"ListType":return(0,_n.isListType)(e)&&Wl(n.ofType,e.ofType);case"NonNullType":return(0,_n.isNonNullType)(e)&&Wl(n.ofType,e.ofType);default:return(0,_n.isNamedType)(e)&&n.name===e.name}}an.sameType=Wl;function X_(n,e,t=(r,a)=>r.hasTypeMember(a),i=(r,a)=>r.implementsInterface(a)){return(0,_n.isUnionType)(n)?(0,_n.isObjectType)(e)&&t(n,e):i(e,n)}an.isDirectSubtype=X_;function Sp(n,e,t=an.DEFAULT_SUBTYPING_RULES,i=(a,o)=>a.hasTypeMember(o),r=(a,o)=>a.implementsInterface(o)){return Wl(n,e)||Z_(n,e,t,i,r)}an.isSubtype=Sp;function Z_(n,e,t=an.DEFAULT_SUBTYPING_RULES,i=(a,o)=>a.hasTypeMember(o),r=(a,o)=>a.implementsInterface(o)){switch(e.kind){case"ListType":return t.includes("list_propagation")&&(0,_n.isListType)(n)&&Sp(n.ofType,e.ofType,t,i,r);case"NonNullType":return(0,_n.isNonNullType)(n)?t.includes("nonNullable_propagation")&&Sp(n.ofType,e.ofType,t,i,r):t.includes("nonNullable_downgrade")&&Sp(n,e.ofType,t,i,r);case"ObjectType":case"InterfaceType":return(0,_n.isListType)(n)?t.includes("list_upgrade")&&Sp(n.ofType,e,t,i,r):t.includes("direct")&&((0,_n.isInterfaceType)(n)||(0,_n.isUnionType)(n))&&X_(n,e,i,r);default:return(0,_n.isListType)(n)&&t.includes("list_upgrade")&&Sp(n.ofType,e,t,i,r)}}an.isStrictSubtype=Z_;function B8(n,e){return(0,_n.isNonNullType)(n)?(0,_n.isNonNullType)(e)?B8(n.ofType,e.ofType):!1:(0,_n.isListType)(n)?(0,_n.isListType)(e)?B8(n.ofType,e.ofType):!1:(0,_n.isCompositeType)(n)?(0,_n.isCompositeType)(e):Wl(n,e)}an.typesCanBeMerged=B8});var Kt=T(Se=>{"use strict";f();c();Object.defineProperty(Se,"__esModule",{value:!0});Se.setsEqual=Se.composeSets=Se.mergeMapOrNull=Se.findLast=Se.isNonEmptyArray=Se.removeArrayElement=Se.isDefined=Se.printHumanReadableList=Se.joinStrings=Se.validateStringContainsBoolean=Se.copyWitNewLength=Se.MapWithCachedArrays=Se.setValues=Se.mapEntries=Se.mapKeys=Se.mapValues=Se.firstOf=Se.isSubset=Se.arrayEquals=Se.OrderedMap=Se.SetMultiMap=Se.MultiMap=Se.assertUnreachable=Se.assert=void 0;function Mf(n,e){if(!n)throw new Error(typeof e=="string"?e:e())}Se.assert=Mf;function _ee(n){throw new Error("Didn't expect to get here")}Se.assertUnreachable=_ee;var L8=class extends Map{add(e,t){let i=this.get(e);return i?i.push(t):this.set(e,[t]),this}addAll(e){for(let[t,i]of e.entries())for(let r of i)this.add(t,r);return this}};Se.MultiMap=L8;var P8=class extends Map{add(e,t){let i=this.get(e);return i||(i=new Set,this.set(e,i)),i.add(t),this}addAll(e){for(let[t,i]of e.entries())for(let r of i)this.add(t,r);return this}};Se.SetMultiMap=P8;var Yl=class{static defaultCompareFn(e,t){return e{let t=this._values.get(e);return Mf(t,"value for known key not found in OrderedMap"),t})}insertKeyInOrder(e){let t=0,i=this._keys.length-1;for(;t<=i;){let r=Math.floor((i+t)/2);this._compareFn(this._keys[r],e)<0?t=r+1:i=r-1}this._keys=this._keys.slice(0,t).concat(e).concat(this._keys.slice(t))}*[Symbol.iterator](){for(let e=0;e=n.length,()=>`${e} < ${n.length}`);let t=new Array(e);for(let i=0;il+m.length>o?{lastIdx:d,length:l}:{lastIdx:d+1,length:l+m.length},{lastIdx:0,length:0}),u=n.slice(0,Math.max(1,s)),p=i?i+" ":t?t+" ":"";return u.length===n.length?p+k8(u,", ",void 0,r):p+k8(u,", ",void 0,", ")+", ..."}Se.printHumanReadableList=Lee;var Pee=n=>n!==void 0;Se.isDefined=Pee;function xee(n,e){let t=e.indexOf(n);return t>=0?(e.splice(t,1),!0):!1}Se.removeArrayElement=xee;function kee(n){return n.length>0}Se.isNonEmptyArray=kee;function $ee(n,e){for(let t=n.length-1;t>=0;t--){let i=n[t];if(e(i))return i}}Se.findLast=$ee;function Vee(n,e){return n?e?new Map([...n,...e]):n:e}Se.mergeMapOrNull=Vee;function jee(n,e){if(!n&&!e)return null;let t=new Set;return n?.forEach(i=>t.add(i)),e?.forEach(i=>t.add(i)),t}Se.composeSets=jee;function qee(n,e){if(n===e||!n&&!e)return!0;if(!n||!e||n.size!==e.size)return!1;for(let t of n)if(!e.has(t))return!1;return!0}Se.setsEqual=qee});var zn=T(Dt=>{"use strict";f();c();Object.defineProperty(Dt,"__esModule",{value:!0});Dt.REMOVED_ERRORS=Dt.ERRORS=Dt.ERROR_CATEGORIES=Dt.withModifiedErrorNodes=Dt.withModifiedErrorMessage=Dt.errorCodeDef=Dt.errorCode=Dt.printErrors=Dt.printGraphQLErrorsOrRethrow=Dt.errorCauses=Dt.aggregateError=Dt.extractGraphQLErrorOptions=void 0;var Jl=Pe(),Mee=Kt(),Bo="0.x",X=(n,e,t=Xs)=>({code:n,description:e,metadata:t,err:(i,r)=>new Jl.GraphQLError(i,{...r,extensions:{...r?.extensions,code:n}})});function Uee(n){return{nodes:n.nodes,source:n.source,positions:n.positions,path:n.path,originalError:n.originalError,extensions:n.extensions}}Dt.extractGraphQLErrorOptions=Uee;var Uf=class extends Jl.GraphQLError{constructor(e,t,i,r){super(t+`. Caused by: `+i.map(a=>a.toString()).join(` `),{...r,extensions:{code:e}}),this.causes=i}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 Gee(n,e,t){return new Uf(n,e,t)}Dt.aggregateError=Gee;function nF(n){if(n instanceof Uf)return n.causes;if(n instanceof Jl.GraphQLError)return[n]}Dt.errorCauses=nF;function Qee(n){let e=nF(n);if(!e)throw n;return e.map(t=>t.toString()).join(` `)}Dt.printGraphQLErrorsOrRethrow=Qee;function Kee(n){return n.map(e=>e.toString()).join(` `)}Dt.printErrors=Kee;var Xs={addedIn:"2.0.0"},iF=(n,e,t=Xs)=>({createCode:i=>X(n(i),e(i),t),get:i=>{let r=oF[n(i)];return(0,Mee.assert)(r,`Unexpected element: ${i}`),r}}),Dp=(n,e,t=Xs)=>iF(i=>`${i.toLocaleUpperCase()}_${n}`,e,t);function rF(n){if(!(!n.extensions||!("code"in n.extensions)))return n.extensions.code}Dt.errorCode=rF;function Hee(n){let e=typeof n=="string"?n:rF(n);return e?oF[e]:void 0}Dt.errorCodeDef=Hee;function zee(n,e){return new Jl.GraphQLError(e,{nodes:n.nodes,source:n.source,positions:n.positions,path:n.path,originalError:n.originalError,extensions:n.extensions})}Dt.withModifiedErrorMessage=zee;function Wee(n,e){return new Jl.GraphQLError(n.message,{nodes:e,source:n.source,positions:n.positions,path:n.path,originalError:n.originalError,extensions:n.extensions})}Dt.withModifiedErrorNodes=Wee;var Yee=X("INVALID_GRAPHQL","A schema is invalid GraphQL: it violates one of the rule of the specification."),Jee=X("DIRECTIVE_DEFINITION_INVALID","A built-in or federation directive has an invalid definition in the schema.",{...Xs,replaces:["TAG_DEFINITION_INVALID"]}),Xee=X("TYPE_DEFINITION_INVALID","A built-in or federation type has an invalid definition in the schema."),Zee=X("UNSUPPORTED_LINKED_FEATURE","Indicates that a feature used in a @link is either unsupported or is used with unsupported options."),ete=X("UNKNOWN_FEDERATION_LINK_VERSION","The version of federation in a @link directive on the schema is unknown."),tte=X("UNKNOWN_LINK_VERSION","The version of @link set on the schema is unknown.",{addedIn:"2.1.0"}),$8=Dp("FIELDS_HAS_ARGS",n=>`The \`fields\` argument of a \`@${n}\` directive includes a field defined with arguments (which is not currently supported).`),nte=$8.createCode("key"),ite=$8.createCode("provides"),V8=Dp("FIELDS_MISSING_EXTERNAL",n=>`The \`fields\` argument of a \`@${n}\` directive includes a field that is not marked as \`@external\`.`,{addedIn:Bo}),rte=V8.createCode("provides"),ate=V8.createCode("requires"),Gf=Dp("UNSUPPORTED_ON_INTERFACE",n=>`A \`@${n}\` directive is used on an interface, which is ${n==="key"?"only supported when @linking to federation 2.3+":"not (yet) supported"}.`),ote=Gf.createCode("key"),ste=Gf.createCode("provides"),ute=Gf.createCode("requires"),Qf=Dp("DIRECTIVE_IN_FIELDS_ARG",n=>`The \`fields\` argument of a \`@${n}\` directive includes some directive applications. This is not supported`,{addedIn:"2.1.0"}),pte=Qf.createCode("key"),dte=Qf.createCode("provides"),lte=Qf.createCode("requires"),aF=X("EXTERNAL_UNUSED","An `@external` field is not being used by any instance of `@key`, `@requires`, `@provides` or to satisfy an interface implementation.",{addedIn:Bo}),cte=X("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 ${aF.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`),fte=X("PROVIDES_ON_NON_OBJECT_FIELD","A `@provides` directive is used to mark a field whose base type is not an object type."),Kf=Dp("INVALID_FIELDS_TYPE",n=>`The value passed to the \`fields\` argument of a \`@${n}\` directive is not a string.`),hte=Kf.createCode("key"),mte=Kf.createCode("provides"),yte=Kf.createCode("requires"),Hf=Dp("INVALID_FIELDS",n=>`The \`fields\` argument of a \`@${n}\` directive is invalid (it has invalid syntax, includes unknown fields, ...).`),vte=Hf.createCode("key"),Ete=Hf.createCode("provides"),gte=Hf.createCode("requires"),Ate=X("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:Bo}),zf=iF(n=>`ROOT_${n.toLocaleUpperCase()}_USED`,n=>`A subgraph's schema defines a type with the name \`${n}\`, while also specifying a _different_ type name as the root query object. This is not allowed.`,{addedIn:Bo}),Tte=zf.createCode("query"),bte=zf.createCode("mutation"),Ste=zf.createCode("subscription"),Dte=X("INVALID_SUBGRAPH_NAME",'A subgraph name is invalid (subgraph names cannot be a single underscore ("_")).'),_te=X("NO_QUERIES","None of the composed subgraphs expose any query."),Fte=X("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)."),Cte=X("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.",{...Xs,replaces:["VALUE_TYPE_KIND_MISMATCH","EXTENSION_OF_WRONG_KIND","ENUM_MISMATCH_TYPE"]}),Nte=X("CONTEXT_NOT_SET","Context is never set for context trying to be used.",{addedIn:"2.8.0"}),Ote=X("CONTEXT_INVALID_SELECTION","Selection within @fromContext must resolve to a single field.",{addedIn:"2.8.0"}),Ite=X("NO_CONTEXT_IN_SELECTION","Selection in @fromContext field argument does not reference a context.",{addedIn:"2.8.0"}),wte=X("CONTEXT_NO_RESOLVABLE_KEY","If an ObjectType uses a @fromContext, at least one of its keys must be resolvable.",{addedIn:"2.8.0"}),Rte=X("CONTEXT_NAME_INVALID","Context name is invalid.",{addedIn:"2.8.0"}),Bte=X("EXTERNAL_TYPE_MISMATCH","An `@external` field has a type that is incompatible with the declaration(s) of that field in other subgraphs.",{addedIn:Bo}),Lte=X("EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE","The @external directive collides with other directives in some situations.",{addedIn:"2.1.0"}),Pte=X("EXTERNAL_ARGUMENT_MISSING","An `@external` field is missing some arguments present in the declaration(s) of that field in other subgraphs."),xte=X("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."),kte=X("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."),$te=X("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'),Vte=X("MERGED_DIRECTIVE_APPLICATION_ON_EXTERNAL","In a subgraph, a field is both marked @external and has a merged directive applied to it"),jte=X("FIELD_TYPE_MISMATCH","A field has a type that is incompatible with other declarations of that field in other subgraphs.",{...Xs,replaces:["VALUE_TYPE_FIELD_TYPE_MISMATCH"]}),qte=X("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.",{...Xs,replaces:["VALUE_TYPE_INPUT_VALUE_MISMATCH"]}),Mte=X("INPUT_FIELD_DEFAULT_MISMATCH","An input field has a default value that is incompatible with other declarations of that field in other subgraphs."),Ute=X("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."),Gte=X("EXTENSION_WITH_NO_BASE","A subgraph is attempting to `extend` a type that is not originally defined in any known subgraph.",{addedIn:Bo}),Qte=X("EXTERNAL_MISSING_ON_BASE","A field is marked as `@external` in a subgraph but with no non-external declaration in any other subgraph.",{addedIn:Bo}),Kte=X("INVALID_FIELD_SHARING","A field that is non-shareable in at least one subgraph is resolved by multiple subgraphs."),Hte=X("INVALID_SHAREABLE_USAGE","The `@shareable` federation directive is used in an invalid way.",{addedIn:"2.1.2"}),zte=X("INVALID_LINK_DIRECTIVE_USAGE","An application of the @link directive is invalid/does not respect the specification."),Wte=X("INVALID_LINK_IDENTIFIER","A url/version for a @link feature is invalid/does not respect the specification.",{addedIn:"2.1.0"}),Yte=X("LINK_IMPORT_NAME_MISMATCH","The import name for a merged directive (as declared by the relevant `@link(import:)` argument) is inconsistent between subgraphs."),Jte=X("REFERENCED_INACCESSIBLE","An element is marked as @inaccessible but is referenced by an element visible in the API schema."),Xte=X("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."),Zte=X("QUERY_ROOT_TYPE_INACCESSIBLE","An element is marked as @inaccessible but is the query root type, which must be visible in the API schema."),ene=X("REQUIRED_INACCESSIBLE","An element is marked as @inaccessible but is required by an element visible in the API schema."),tne=X("IMPLEMENTED_BY_INACCESSIBLE","An element is marked as @inaccessible but implements an element visible in the API schema."),nne=X("DISALLOWED_INACCESSIBLE","An element is marked as @inaccessible that is not allowed to be @inaccessible."),ine=X("ONLY_INACCESSIBLE_CHILDREN","A type visible in the API schema has only @inaccessible children."),rne=X("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."),ane=X("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."),one=X("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."),sne=X("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."),une=X("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."),pne=X("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."),dne=X("SATISFIABILITY_ERROR","Subgraphs can be merged, but the resulting supergraph API would have queries that cannot be satisfied by those subgraphs."),lne=X("OVERRIDE_FROM_SELF_ERROR",'Field with `@override` directive has "from" location that references its own subgraph.'),cne=X("OVERRIDE_SOURCE_HAS_OVERRIDE","Field which is overridden to another subgraph is also marked @override."),fne=X("OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE","The @override directive cannot be used on external fields, nor to override fields with either @external, @provides, or @requires."),hne=X("OVERRIDE_ON_INTERFACE","The @override directive cannot be used on the fields of an interface type.",{addedIn:"2.3.0"}),mne=X("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"}),yne=X("UNSUPPORTED_FEATURE","Indicates an error due to feature currently unsupported by federation.",{addedIn:"2.1.0"}),vne=X("INVALID_FEDERATION_SUPERGRAPH","Indicates that a schema provided for an Apollo Federation supergraph is not a valid supergraph schema.",{addedIn:"2.1.0"}),Ene=X("DOWNSTREAM_SERVICE_ERROR","Indicates an error in a subgraph service query during query execution in a federated service.",{addedIn:Bo}),gne=X("DIRECTIVE_COMPOSITION_ERROR","Error when composing custom directives.",{addedIn:"2.1.0"}),Ane=X("INTERFACE_OBJECT_USAGE_ERROR","Error in the usage of the @interfaceObject directive.",{addedIn:"2.3.0"}),Tne=X("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"}),bne=X("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"}),Sne=X("SOURCE_FEDERATION_VERSION_REQUIRED","Schemas using `@source{API,Type,Field}` directives must @link-import v2.7 or later of federation",{addedIn:"2.7.1"}),Dne=X("SOURCE_API_NAME_INVALID","Each `@sourceAPI` directive must take a unique and valid name as an argument",{addedIn:"2.7.0"}),_ne=X("SOURCE_API_PROTOCOL_INVALID","Each `@sourceAPI` directive must specify exactly one of the known protocols",{addedIn:"2.7.0"}),Fne=X("SOURCE_API_HTTP_BASE_URL_INVALID","The `@sourceAPI` directive must specify a valid http.baseURL",{addedIn:"2.7.0"}),Cne=X("SOURCE_HTTP_HEADERS_INVALID","The `http.headers` argument of `@source*` directives must specify valid HTTP headers",{addedIn:"2.7.0"}),Nne=X("SOURCE_TYPE_API_ERROR","The `api` argument of the `@sourceType` directive must match a valid `@sourceAPI` name",{addedIn:"2.7.0"}),One=X("SOURCE_TYPE_PROTOCOL_INVALID","The `@sourceType` directive must specify the same protocol as its corresponding `@sourceAPI`",{addedIn:"2.7.0"}),Ine=X("SOURCE_TYPE_HTTP_METHOD_INVALID","The `@sourceType` directive must specify exactly one of `http.GET` or `http.POST`",{addedIn:"2.7.0"}),wne=X("SOURCE_TYPE_HTTP_PATH_INVALID","The `@sourceType` directive must specify a valid URL template for `http.GET` or `http.POST`",{addedIn:"2.7.0"}),Rne=X("SOURCE_TYPE_HTTP_BODY_INVALID","If the `@sourceType` specifies `http.body`, it must be a valid `JSONSelection`",{addedIn:"2.7.0"}),Bne=X("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"}),Lne=X("SOURCE_TYPE_SELECTION_INVALID","The `selection` argument of the `@sourceType` directive must be a valid `JSONSelection` that outputs fields of the GraphQL type"),Pne=X("SOURCE_FIELD_API_ERROR","The `api` argument of the `@sourceField` directive must match a valid `@sourceAPI` name",{addedIn:"2.7.0"}),xne=X("SOURCE_FIELD_PROTOCOL_INVALID","If `@sourceField` specifies a protocol, it must match the corresponding `@sourceAPI` protocol",{addedIn:"2.7.0"}),kne=X("SOURCE_FIELD_HTTP_METHOD_INVALID","The `@sourceField` directive must specify at most one of `http.{GET,POST,PUT,PATCH,DELETE}`",{addedIn:"2.7.0"}),$ne=X("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"}),Vne=X("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"}),jne=X("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"}),qne=X("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"}),Mne=X("CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS","Argument on field is marked contextual in only some subgraphs",{addedIn:"2.7.0"}),Une=X("COST_APPLIED_TO_INTERFACE_FIELD","The `@cost` directive must be applied to concrete types",{addedIn:"2.9.2"}),Gne=X("LIST_SIZE_APPLIED_TO_NON_LIST","The `@listSize` directive must be applied to list types",{addedIn:"2.9.2"}),Qne=X("LIST_SIZE_INVALID_ASSUMED_SIZE","The `@listSize` directive assumed size cannot be negative",{addedIn:"2.9.2"}),Kne=X("LIST_SIZE_INVALID_SLICING_ARGUMENT","The `@listSize` directive must have existing integer slicing arguments",{addedIn:"2.9.2"}),Hne=X("LIST_SIZE_INVALID_SIZED_FIELD","The `@listSize` directive must reference existing list fields as sized fields",{addedIn:"2.9.2"});Dt.ERROR_CATEGORIES={DIRECTIVE_FIELDS_MISSING_EXTERNAL:V8,DIRECTIVE_UNSUPPORTED_ON_INTERFACE:Gf,DIRECTIVE_INVALID_FIELDS_TYPE:Kf,DIRECTIVE_INVALID_FIELDS:Hf,FIELDS_HAS_ARGS:$8,ROOT_TYPE_USED:zf,DIRECTIVE_IN_FIELDS_ARG:Qf};Dt.ERRORS={INVALID_GRAPHQL:Yee,DIRECTIVE_DEFINITION_INVALID:Jee,TYPE_DEFINITION_INVALID:Xee,UNSUPPORTED_LINKED_FEATURE:Zee,UNKNOWN_FEDERATION_LINK_VERSION:ete,UNKNOWN_LINK_VERSION:tte,KEY_FIELDS_HAS_ARGS:nte,PROVIDES_FIELDS_HAS_ARGS:ite,PROVIDES_MISSING_EXTERNAL:rte,REQUIRES_MISSING_EXTERNAL:ate,KEY_UNSUPPORTED_ON_INTERFACE:ote,PROVIDES_UNSUPPORTED_ON_INTERFACE:ste,REQUIRES_UNSUPPORTED_ON_INTERFACE:ute,EXTERNAL_UNUSED:aF,EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE:Lte,TYPE_WITH_ONLY_UNUSED_EXTERNAL:cte,PROVIDES_ON_NON_OBJECT_FIELD:fte,KEY_INVALID_FIELDS_TYPE:hte,PROVIDES_INVALID_FIELDS_TYPE:mte,REQUIRES_INVALID_FIELDS_TYPE:yte,KEY_INVALID_FIELDS:vte,PROVIDES_INVALID_FIELDS:Ete,REQUIRES_INVALID_FIELDS:gte,KEY_FIELDS_SELECT_INVALID_TYPE:Ate,ROOT_QUERY_USED:Tte,ROOT_MUTATION_USED:bte,ROOT_SUBSCRIPTION_USED:Ste,INVALID_SUBGRAPH_NAME:Dte,NO_QUERIES:_te,INTERFACE_FIELD_NO_IMPLEM:Fte,TYPE_KIND_MISMATCH:Cte,CONTEXT_NOT_SET:Nte,CONTEXT_INVALID_SELECTION:Ote,NO_CONTEXT_IN_SELECTION:Ite,CONTEXT_NO_RESOLVABLE_KEY:wte,CONTEXT_NAME_INVALID:Rte,EXTERNAL_TYPE_MISMATCH:Bte,EXTERNAL_ARGUMENT_MISSING:Pte,EXTERNAL_ARGUMENT_TYPE_MISMATCH:xte,EXTERNAL_ARGUMENT_DEFAULT_MISMATCH:kte,EXTERNAL_ON_INTERFACE:$te,MERGED_DIRECTIVE_APPLICATION_ON_EXTERNAL:Vte,FIELD_TYPE_MISMATCH:jte,ARGUMENT_TYPE_MISMATCH:qte,INPUT_FIELD_DEFAULT_MISMATCH:Mte,ARGUMENT_DEFAULT_MISMATCH:Ute,EXTENSION_WITH_NO_BASE:Gte,EXTERNAL_MISSING_ON_BASE:Qte,INVALID_FIELD_SHARING:Kte,INVALID_SHAREABLE_USAGE:Hte,INVALID_LINK_DIRECTIVE_USAGE:zte,INVALID_LINK_IDENTIFIER:Wte,LINK_IMPORT_NAME_MISMATCH:Yte,REFERENCED_INACCESSIBLE:Jte,DEFAULT_VALUE_USES_INACCESSIBLE:Xte,QUERY_ROOT_TYPE_INACCESSIBLE:Zte,REQUIRED_INACCESSIBLE:ene,DISALLOWED_INACCESSIBLE:nne,IMPLEMENTED_BY_INACCESSIBLE:tne,ONLY_INACCESSIBLE_CHILDREN:ine,REQUIRED_ARGUMENT_MISSING_IN_SOME_SUBGRAPH:ane,REQUIRED_INPUT_FIELD_MISSING_IN_SOME_SUBGRAPH:rne,EMPTY_MERGED_INPUT_TYPE:one,ENUM_VALUE_MISMATCH:sne,EMPTY_MERGED_ENUM_TYPE:une,SHAREABLE_HAS_MISMATCHED_RUNTIME_TYPES:pne,SATISFIABILITY_ERROR:dne,OVERRIDE_COLLISION_WITH_ANOTHER_DIRECTIVE:fne,OVERRIDE_FROM_SELF_ERROR:lne,OVERRIDE_SOURCE_HAS_OVERRIDE:cne,OVERRIDE_ON_INTERFACE:hne,OVERRIDE_LABEL_INVALID:mne,UNSUPPORTED_FEATURE:yne,INVALID_FEDERATION_SUPERGRAPH:vne,DOWNSTREAM_SERVICE_ERROR:Ene,KEY_HAS_DIRECTIVE_IN_FIELDS_ARGS:pte,PROVIDES_HAS_DIRECTIVE_IN_FIELDS_ARGS:dte,REQUIRES_HAS_DIRECTIVE_IN_FIELDS_ARGS:lte,DIRECTIVE_COMPOSITION_ERROR:gne,INTERFACE_OBJECT_USAGE_ERROR:Ane,INTERFACE_KEY_NOT_ON_IMPLEMENTATION:Tne,INTERFACE_KEY_MISSING_IMPLEMENTATION_TYPE:bne,SOURCE_FEDERATION_VERSION_REQUIRED:Sne,SOURCE_API_NAME_INVALID:Dne,SOURCE_API_PROTOCOL_INVALID:_ne,SOURCE_API_HTTP_BASE_URL_INVALID:Fne,SOURCE_HTTP_HEADERS_INVALID:Cne,SOURCE_TYPE_API_ERROR:Nne,SOURCE_TYPE_PROTOCOL_INVALID:One,SOURCE_TYPE_HTTP_METHOD_INVALID:Ine,SOURCE_TYPE_HTTP_PATH_INVALID:wne,SOURCE_TYPE_HTTP_BODY_INVALID:Rne,SOURCE_TYPE_ON_NON_OBJECT_OR_NON_ENTITY:Bne,SOURCE_TYPE_SELECTION_INVALID:Lne,SOURCE_FIELD_API_ERROR:Pne,SOURCE_FIELD_PROTOCOL_INVALID:xne,SOURCE_FIELD_HTTP_METHOD_INVALID:kne,SOURCE_FIELD_HTTP_PATH_INVALID:$ne,SOURCE_FIELD_HTTP_BODY_INVALID:Vne,SOURCE_FIELD_SELECTION_INVALID:jne,SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD:qne,CONTEXTUAL_ARGUMENT_NOT_CONTEXTUAL_IN_ALL_SUBGRAPHS:Mne,COST_APPLIED_TO_INTERFACE_FIELD:Une,LIST_SIZE_APPLIED_TO_NON_LIST:Gne,LIST_SIZE_INVALID_ASSUMED_SIZE:Qne,LIST_SIZE_INVALID_SIZED_FIELD:Hne,LIST_SIZE_INVALID_SLICING_ARGUMENT:Kne};var oF=Object.values(Dt.ERRORS).reduce((n,e)=>(n[e.code]=e,n),{});Dt.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 uF=T((k7e,sF)=>{"use strict";f();c();sF.exports=function(){function n(e,t,i,r,a){return ei?i+1:e+1:r===a?t:t+1}return function(e,t){if(e===t)return 0;if(e.length>t.length){var i=e;e=t,t=i}for(var r=e.length,a=t.length;r>0&&e.charCodeAt(r-1)===t.charCodeAt(a-1);)r--,a--;for(var o=0;o{"use strict";f();c();var zne=Lo&&Lo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Lo,"__esModule",{value:!0});Lo.didYouMean=Lo.suggestionList=void 0;var Wne=zne(uF()),Yne=Kt();function Jne(n,e){let t=new Map,i=Math.floor(n.length*.4)+1,r=n.toLowerCase();for(let a of e){let o=r===a.toLowerCase()?1:(0,Wne.default)(n,a);o<=i&&t.set(a,o)}return(0,Yne.mapKeys)(t).sort((a,o)=>{let s=t.get(a)-t.get(o);return s!==0?s:a.localeCompare(o)})}Lo.suggestionList=Jne;var Xne=5;function Zne(n){let e=" Did you mean ",t=n.map(a=>`"${a}"`);switch(n.length){case 0:return"";case 1:return e+t[0]+"?";case 2:return e+t[0]+" or "+t[1]+"?"}let i=t.slice(0,Xne),r=i.pop();return e+i.join(", ")+", or "+r+"?"}Lo.didYouMean=Zne});var Xl=T((U7e,pF)=>{"use strict";f();c();pF.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[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 o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}});var fa=T((K7e,dF)=>{"use strict";f();c();var eie=Xl();dF.exports=function(){return eie()&&!!Symbol.toStringTag}});var cF=T((W7e,lF)=>{"use strict";f();c();lF.exports=Error});var hF=T((X7e,fF)=>{"use strict";f();c();fF.exports=EvalError});var yF=T((t5e,mF)=>{"use strict";f();c();mF.exports=RangeError});var EF=T((r5e,vF)=>{"use strict";f();c();vF.exports=ReferenceError});var j8=T((s5e,gF)=>{"use strict";f();c();gF.exports=SyntaxError});var za=T((d5e,AF)=>{"use strict";f();c();AF.exports=TypeError});var bF=T((f5e,TF)=>{"use strict";f();c();TF.exports=URIError});var Wf=T((y5e,DF)=>{"use strict";f();c();var SF=typeof Symbol<"u"&&Symbol,tie=Xl();DF.exports=function(){return typeof SF!="function"||typeof Symbol!="function"||typeof SF("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:tie()}});var CF=T((g5e,FF)=>{"use strict";f();c();var _F={foo:{}},nie=Object;FF.exports=function(){return{__proto__:_F}.foo===_F.foo&&!({__proto__:null}instanceof nie)}});var IF=T((b5e,OF)=>{"use strict";f();c();var iie="Function.prototype.bind called on incompatible ",rie=Object.prototype.toString,aie=Math.max,oie="[object Function]",NF=function(e,t){for(var i=[],r=0;r{"use strict";f();c();var pie=IF();wF.exports=Function.prototype.bind||pie});var q8=T((N5e,RF)=>{"use strict";f();c();var die=Function.prototype.call,lie=Object.prototype.hasOwnProperty,cie=Yf();RF.exports=cie.call(die,lie)});var Fr=T((w5e,kF)=>{"use strict";f();c();var je,fie=cF(),hie=hF(),mie=yF(),yie=EF(),Np=j8(),Cp=za(),vie=bF(),xF=Function,M8=function(n){try{return xF('"use strict"; return ('+n+").constructor;")()}catch{}},eu=Object.getOwnPropertyDescriptor;if(eu)try{eu({},"")}catch{eu=null}var U8=function(){throw new Cp},Eie=eu?function(){try{return arguments.callee,U8}catch{try{return eu(arguments,"callee").get}catch{return U8}}}():U8,_p=Wf()(),gie=CF()(),yn=Object.getPrototypeOf||(gie?function(n){return n.__proto__}:null),Fp={},Aie=typeof Uint8Array>"u"||!yn?je:yn(Uint8Array),tu={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?je:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?je:ArrayBuffer,"%ArrayIteratorPrototype%":_p&&yn?yn([][Symbol.iterator]()):je,"%AsyncFromSyncIteratorPrototype%":je,"%AsyncFunction%":Fp,"%AsyncGenerator%":Fp,"%AsyncGeneratorFunction%":Fp,"%AsyncIteratorPrototype%":Fp,"%Atomics%":typeof Atomics>"u"?je:Atomics,"%BigInt%":typeof BigInt>"u"?je:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?je:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?je:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?je:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":fie,"%eval%":eval,"%EvalError%":hie,"%Float32Array%":typeof Float32Array>"u"?je:Float32Array,"%Float64Array%":typeof Float64Array>"u"?je:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?je:FinalizationRegistry,"%Function%":xF,"%GeneratorFunction%":Fp,"%Int8Array%":typeof Int8Array>"u"?je:Int8Array,"%Int16Array%":typeof Int16Array>"u"?je:Int16Array,"%Int32Array%":typeof Int32Array>"u"?je:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_p&&yn?yn(yn([][Symbol.iterator]())):je,"%JSON%":typeof JSON=="object"?JSON:je,"%Map%":typeof Map>"u"?je:Map,"%MapIteratorPrototype%":typeof Map>"u"||!_p||!yn?je:yn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?je:Promise,"%Proxy%":typeof Proxy>"u"?je:Proxy,"%RangeError%":mie,"%ReferenceError%":yie,"%Reflect%":typeof Reflect>"u"?je:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?je:Set,"%SetIteratorPrototype%":typeof Set>"u"||!_p||!yn?je:yn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?je:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_p&&yn?yn(""[Symbol.iterator]()):je,"%Symbol%":_p?Symbol:je,"%SyntaxError%":Np,"%ThrowTypeError%":Eie,"%TypedArray%":Aie,"%TypeError%":Cp,"%Uint8Array%":typeof Uint8Array>"u"?je:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?je:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?je:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?je:Uint32Array,"%URIError%":vie,"%WeakMap%":typeof WeakMap>"u"?je:WeakMap,"%WeakRef%":typeof WeakRef>"u"?je:WeakRef,"%WeakSet%":typeof WeakSet>"u"?je:WeakSet};if(yn)try{null.error}catch(n){BF=yn(yn(n)),tu["%Error.prototype%"]=BF}var BF,Tie=function n(e){var t;if(e==="%AsyncFunction%")t=M8("async function () {}");else if(e==="%GeneratorFunction%")t=M8("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=M8("async function* () {}");else if(e==="%AsyncGenerator%"){var i=n("%AsyncGeneratorFunction%");i&&(t=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=n("%AsyncGenerator%");r&&yn&&(t=yn(r.prototype))}return tu[e]=t,t},LF={__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"]},Zl=Yf(),Jf=q8(),bie=Zl.call(Function.call,Array.prototype.concat),Sie=Zl.call(Function.apply,Array.prototype.splice),PF=Zl.call(Function.call,String.prototype.replace),Xf=Zl.call(Function.call,String.prototype.slice),Die=Zl.call(Function.call,RegExp.prototype.exec),_ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fie=/\\(\\)?/g,Cie=function(e){var t=Xf(e,0,1),i=Xf(e,-1);if(t==="%"&&i!=="%")throw new Np("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&t!=="%")throw new Np("invalid intrinsic syntax, expected opening `%`");var r=[];return PF(e,_ie,function(a,o,s,u){r[r.length]=s?PF(u,Fie,"$1"):o||a}),r},Nie=function(e,t){var i=e,r;if(Jf(LF,i)&&(r=LF[i],i="%"+r[0]+"%"),Jf(tu,i)){var a=tu[i];if(a===Fp&&(a=Tie(i)),typeof a>"u"&&!t)throw new Cp("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:a}}throw new Np("intrinsic "+e+" does not exist!")};kF.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new Cp("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Cp('"allowMissing" argument must be a boolean');if(Die(/^%?[^%]*%?$/,e)===null)throw new Np("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=Cie(e),r=i.length>0?i[0]:"",a=Nie("%"+r+"%",t),o=a.name,s=a.value,u=!1,p=a.alias;p&&(r=p[0],Sie(i,bie([0,1],p)));for(var d=1,l=!0;d=i.length){var g=eu(s,m);l=!!g,l&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[m]}else l=Jf(s,m),s=s[m];l&&!u&&(tu[o]=s)}}return s}});var eh=T((L5e,$F)=>{"use strict";f();c();var Oie=Fr(),Zf=Oie("%Object.defineProperty%",!0)||!1;if(Zf)try{Zf({},"a",{value:1})}catch{Zf=!1}$F.exports=Zf});var ec=T((k5e,VF)=>{"use strict";f();c();var Iie=Fr(),th=Iie("%Object.getOwnPropertyDescriptor%",!0);if(th)try{th([],"length")}catch{th=null}VF.exports=th});var nh=T((j5e,MF)=>{"use strict";f();c();var jF=eh(),wie=j8(),Op=za(),qF=ec();MF.exports=function(e,t,i){if(!e||typeof e!="object"&&typeof e!="function")throw new Op("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Op("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Op("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Op("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Op("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Op("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,u=!!qF&&qF(e,t);if(jF)jF(e,t,{configurable:o===null&&u?u.configurable:!o,enumerable:r===null&&u?u.enumerable:!r,value:i,writable:a===null&&u?u.writable:!a});else if(s||!r&&!a&&!o)e[t]=i;else throw new wie("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var ih=T((U5e,GF)=>{"use strict";f();c();var G8=eh(),UF=function(){return!!G8};UF.hasArrayLengthDefineBug=function(){if(!G8)return null;try{return G8([],"length",{value:1}).length!==1}catch{return!0}};GF.exports=UF});var WF=T((K5e,zF)=>{"use strict";f();c();var Rie=Fr(),QF=nh(),Bie=ih()(),KF=ec(),HF=za(),Lie=Rie("%Math.floor%");zF.exports=function(e,t){if(typeof e!="function")throw new HF("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Lie(t)!==t)throw new HF("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in e&&KF){var o=KF(e,"length");o&&!o.configurable&&(r=!1),o&&!o.writable&&(a=!1)}return(r||a||!i)&&(Bie?QF(e,"length",t,!0,!0):QF(e,"length",t)),e}});var nu=T((W5e,rh)=>{"use strict";f();c();var Q8=Yf(),ah=Fr(),Pie=WF(),xie=za(),XF=ah("%Function.prototype.apply%"),ZF=ah("%Function.prototype.call%"),eC=ah("%Reflect.apply%",!0)||Q8.call(ZF,XF),YF=eh(),kie=ah("%Math.max%");rh.exports=function(e){if(typeof e!="function")throw new xie("a function is required");var t=eC(Q8,ZF,arguments);return Pie(t,1+kie(0,e.length-(arguments.length-1)),!0)};var JF=function(){return eC(Q8,XF,arguments)};YF?YF(rh.exports,"apply",{value:JF}):rh.exports.apply=JF});var si=T((X5e,iC)=>{"use strict";f();c();var tC=Fr(),nC=nu(),$ie=nC(tC("String.prototype.indexOf"));iC.exports=function(e,t){var i=tC(e,!!t);return typeof i=="function"&&$ie(e,".prototype.")>-1?nC(i):i}});var sh=T((tge,aC)=>{"use strict";f();c();var Vie=fa()(),jie=si(),K8=jie("Object.prototype.toString"),oh=function(e){return Vie&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:K8(e)==="[object Arguments]"},rC=function(e){return oh(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&K8(e)!=="[object Array]"&&K8(e.callee)==="[object Function]"},qie=function(){return oh(arguments)}();oh.isLegacyArguments=rC;aC.exports=qie?oh:rC});var uC=T((rge,sC)=>{"use strict";f();c();var Mie=Object.prototype.toString,Uie=Function.prototype.toString,Gie=/^\s*(?:function)?\*/,oC=fa()(),H8=Object.getPrototypeOf,Qie=function(){if(!oC)return!1;try{return Function("return function*() {}")()}catch{}},z8;sC.exports=function(e){if(typeof e!="function")return!1;if(Gie.test(Uie.call(e)))return!0;if(!oC){var t=Mie.call(e);return t==="[object GeneratorFunction]"}if(!H8)return!1;if(typeof z8>"u"){var i=Qie();z8=i?H8(i):!1}return H8(e)===z8}});var cC=T((sge,lC)=>{"use strict";f();c();var dC=Function.prototype.toString,Ip=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,W8,uh;if(typeof Ip=="function"&&typeof Object.defineProperty=="function")try{W8=Object.defineProperty({},"length",{get:function(){throw uh}}),uh={},Ip(function(){throw 42},null,W8)}catch(n){n!==uh&&(Ip=null)}else Ip=null;var Kie=/^\s*class\b/,Y8=function(e){try{var t=dC.call(e);return Kie.test(t)}catch{return!1}},Hie=function(e){try{return Y8(e)?!1:(dC.call(e),!0)}catch{return!1}},zie=Object.prototype.toString,Wie="[object Function]",Yie="[object GeneratorFunction]",Jie=typeof Symbol=="function"&&!!Symbol.toStringTag,pC=typeof document=="object"&&typeof document.all>"u"&&document.all!==void 0?document.all:{};lC.exports=Ip?function(e){if(e===pC)return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(typeof e=="function"&&!e.prototype)return!0;try{Ip(e,null,W8)}catch(t){if(t!==uh)return!1}return!Y8(e)}:function(e){if(e===pC)return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(typeof e=="function"&&!e.prototype)return!0;if(Jie)return Hie(e);if(Y8(e))return!1;var t=zie.call(e);return t===Wie||t===Yie}});var J8=T((dge,hC)=>{"use strict";f();c();var Xie=cC(),Zie=Object.prototype.toString,fC=Object.prototype.hasOwnProperty,ere=function(e,t,i){for(var r=0,a=e.length;r=3&&(r=i),Zie.call(e)==="[object Array]"?ere(e,t,r):typeof e=="string"?tre(e,t,r):nre(e,t,r)};hC.exports=ire});var Z8=T((fge,mC)=>{"use strict";f();c();var X8=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],rre=typeof globalThis>"u"?global:globalThis;mC.exports=function(){for(var e=[],t=0;t{"use strict";f();c();var dh=J8(),are=Z8(),yC=nu(),n9=si(),ph=ec(),ore=n9("Object.prototype.toString"),EC=fa()(),vC=typeof globalThis>"u"?global:globalThis,t9=are(),i9=n9("String.prototype.slice"),e9=Object.getPrototypeOf,sre=n9("Array.prototype.indexOf",!0)||function(e,t){for(var i=0;i-1?t:t!=="Object"?!1:pre(e)}return ph?ure(e):null}});var _C=T((gge,DC)=>{"use strict";f();c();var AC=J8(),dre=Z8(),o9=si(),lre=o9("Object.prototype.toString"),TC=fa()(),ch=ec(),cre=typeof globalThis>"u"?global:globalThis,bC=dre(),fre=o9("Array.prototype.indexOf",!0)||function(e,t){for(var i=0;i-1}return ch?mre(e):!1}});var VC=T(xe=>{"use strict";f();c();var yre=sh(),vre=uC(),Cr=r9(),FC=_C();function wp(n){return n.call.bind(n)}var CC=typeof BigInt<"u",NC=typeof Symbol<"u",Ki=wp(Object.prototype.toString),Ere=wp(Number.prototype.valueOf),gre=wp(String.prototype.valueOf),Are=wp(Boolean.prototype.valueOf);CC&&(OC=wp(BigInt.prototype.valueOf));var OC;NC&&(IC=wp(Symbol.prototype.valueOf));var IC;function nc(n,e){if(typeof n!="object")return!1;try{return e(n),!0}catch{return!1}}xe.isArgumentsObject=yre;xe.isGeneratorFunction=vre;xe.isTypedArray=FC;function Tre(n){return typeof Promise<"u"&&n instanceof Promise||n!==null&&typeof n=="object"&&typeof n.then=="function"&&typeof n.catch=="function"}xe.isPromise=Tre;function bre(n){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(n):FC(n)||RC(n)}xe.isArrayBufferView=bre;function Sre(n){return Cr(n)==="Uint8Array"}xe.isUint8Array=Sre;function Dre(n){return Cr(n)==="Uint8ClampedArray"}xe.isUint8ClampedArray=Dre;function _re(n){return Cr(n)==="Uint16Array"}xe.isUint16Array=_re;function Fre(n){return Cr(n)==="Uint32Array"}xe.isUint32Array=Fre;function Cre(n){return Cr(n)==="Int8Array"}xe.isInt8Array=Cre;function Nre(n){return Cr(n)==="Int16Array"}xe.isInt16Array=Nre;function Ore(n){return Cr(n)==="Int32Array"}xe.isInt32Array=Ore;function Ire(n){return Cr(n)==="Float32Array"}xe.isFloat32Array=Ire;function wre(n){return Cr(n)==="Float64Array"}xe.isFloat64Array=wre;function Rre(n){return Cr(n)==="BigInt64Array"}xe.isBigInt64Array=Rre;function Bre(n){return Cr(n)==="BigUint64Array"}xe.isBigUint64Array=Bre;function fh(n){return Ki(n)==="[object Map]"}fh.working=typeof Map<"u"&&fh(new Map);function Lre(n){return typeof Map>"u"?!1:fh.working?fh(n):n instanceof Map}xe.isMap=Lre;function hh(n){return Ki(n)==="[object Set]"}hh.working=typeof Set<"u"&&hh(new Set);function Pre(n){return typeof Set>"u"?!1:hh.working?hh(n):n instanceof Set}xe.isSet=Pre;function mh(n){return Ki(n)==="[object WeakMap]"}mh.working=typeof WeakMap<"u"&&mh(new WeakMap);function xre(n){return typeof WeakMap>"u"?!1:mh.working?mh(n):n instanceof WeakMap}xe.isWeakMap=xre;function u9(n){return Ki(n)==="[object WeakSet]"}u9.working=typeof WeakSet<"u"&&u9(new WeakSet);function kre(n){return u9(n)}xe.isWeakSet=kre;function yh(n){return Ki(n)==="[object ArrayBuffer]"}yh.working=typeof ArrayBuffer<"u"&&yh(new ArrayBuffer);function wC(n){return typeof ArrayBuffer>"u"?!1:yh.working?yh(n):n instanceof ArrayBuffer}xe.isArrayBuffer=wC;function vh(n){return Ki(n)==="[object DataView]"}vh.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&vh(new DataView(new ArrayBuffer(1),0,1));function RC(n){return typeof DataView>"u"?!1:vh.working?vh(n):n instanceof DataView}xe.isDataView=RC;var s9=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function tc(n){return Ki(n)==="[object SharedArrayBuffer]"}function BC(n){return typeof s9>"u"?!1:(typeof tc.working>"u"&&(tc.working=tc(new s9)),tc.working?tc(n):n instanceof s9)}xe.isSharedArrayBuffer=BC;function $re(n){return Ki(n)==="[object AsyncFunction]"}xe.isAsyncFunction=$re;function Vre(n){return Ki(n)==="[object Map Iterator]"}xe.isMapIterator=Vre;function jre(n){return Ki(n)==="[object Set Iterator]"}xe.isSetIterator=jre;function qre(n){return Ki(n)==="[object Generator]"}xe.isGeneratorObject=qre;function Mre(n){return Ki(n)==="[object WebAssembly.Module]"}xe.isWebAssemblyCompiledModule=Mre;function LC(n){return nc(n,Ere)}xe.isNumberObject=LC;function PC(n){return nc(n,gre)}xe.isStringObject=PC;function xC(n){return nc(n,Are)}xe.isBooleanObject=xC;function kC(n){return CC&&nc(n,OC)}xe.isBigIntObject=kC;function $C(n){return NC&&nc(n,IC)}xe.isSymbolObject=$C;function Ure(n){return LC(n)||PC(n)||xC(n)||kC(n)||$C(n)}xe.isBoxedPrimitive=Ure;function Gre(n){return typeof Uint8Array<"u"&&(wC(n)||BC(n))}xe.isAnyArrayBuffer=Gre;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(n){Object.defineProperty(xe,n,{enumerable:!1,value:function(){throw new Error(n+" is not supported in userland")}})})});var qC=T((_ge,jC)=>{f();c();jC.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var MC=T((Nge,p9)=>{f();c();typeof Object.create=="function"?p9.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:p9.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}});var m9=T(ke=>{f();c();var UC=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),i={},r=0;r=r)return s;switch(s){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch{return"[Circular]"}default:return s}}),o=i[t];t"u")return function(){return ke.deprecate(n,e).apply(this,arguments)};var t=!1;function i(){if(!t){if(process.throwDeprecation)throw new Error(e);process.traceDeprecation?console.trace(e):console.error(e),t=!0}return n.apply(this,arguments)}return i};var Eh={},GC=/^$/;process.env.NODE_DEBUG&&(gh=process.env.NODE_DEBUG,gh=gh.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),GC=new RegExp("^"+gh+"$","i"));var gh;ke.debuglog=function(n){if(n=n.toUpperCase(),!Eh[n])if(GC.test(n)){var e=process.pid;Eh[n]=function(){var t=ke.format.apply(ke,arguments);console.error("%s %d: %s",n,e,t)}}else Eh[n]=function(){};return Eh[n]};function Po(n,e){var t={seen:[],stylize:Hre};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),f9(e)?t.showHidden=e:e&&ke._extend(t,e),ru(t.showHidden)&&(t.showHidden=!1),ru(t.depth)&&(t.depth=2),ru(t.colors)&&(t.colors=!1),ru(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=Kre),Th(t,n,t.depth)}ke.inspect=Po;Po.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]};Po.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Kre(n,e){var t=Po.styles[e];return t?"\x1B["+Po.colors[t][0]+"m"+n+"\x1B["+Po.colors[t][1]+"m":n}function Hre(n,e){return n}function zre(n){var e={};return n.forEach(function(t,i){e[t]=!0}),e}function Th(n,e,t){if(n.customInspect&&e&&Ah(e.inspect)&&e.inspect!==ke.inspect&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(t,n);return Dh(i)||(i=Th(n,i,t)),i}var r=Wre(n,e);if(r)return r;var a=Object.keys(e),o=zre(a);if(n.showHidden&&(a=Object.getOwnPropertyNames(e)),rc(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d9(e);if(a.length===0){if(Ah(e)){var s=e.name?": "+e.name:"";return n.stylize("[Function"+s+"]","special")}if(ic(e))return n.stylize(RegExp.prototype.toString.call(e),"regexp");if(bh(e))return n.stylize(Date.prototype.toString.call(e),"date");if(rc(e))return d9(e)}var u="",p=!1,d=["{","}"];if(QC(e)&&(p=!0,d=["[","]"]),Ah(e)){var l=e.name?": "+e.name:"";u=" [Function"+l+"]"}if(ic(e)&&(u=" "+RegExp.prototype.toString.call(e)),bh(e)&&(u=" "+Date.prototype.toUTCString.call(e)),rc(e)&&(u=" "+d9(e)),a.length===0&&(!p||e.length==0))return d[0]+u+d[1];if(t<0)return ic(e)?n.stylize(RegExp.prototype.toString.call(e),"regexp"):n.stylize("[Object]","special");n.seen.push(e);var m;return p?m=Yre(n,e,t,o,a):m=a.map(function(y){return c9(n,e,t,o,y,p)}),n.seen.pop(),Jre(m,u,d)}function Wre(n,e){if(ru(e))return n.stylize("undefined","undefined");if(Dh(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,"string")}if(KC(e))return n.stylize(""+e,"number");if(f9(e))return n.stylize(""+e,"boolean");if(Sh(e))return n.stylize("null","null")}function d9(n){return"["+Error.prototype.toString.call(n)+"]"}function Yre(n,e,t,i,r){for(var a=[],o=0,s=e.length;o-1&&(a?s=s.split(` `).map(function(p){return" "+p}).join(` `).slice(2):s=` `+s.split(` `).map(function(p){return" "+p}).join(` `))):s=n.stylize("[Circular]","special")),ru(o)){if(a&&r.match(/^\d+$/))return s;o=JSON.stringify(""+r),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=n.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=n.stylize(o,"string"))}return o+": "+s}function Jre(n,e,t){var i=0,r=n.reduce(function(a,o){return i++,o.indexOf(` `)>=0&&i++,a+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?t[0]+(e===""?"":e+` `)+" "+n.join(`, `)+" "+t[1]:t[0]+e+" "+n.join(", ")+" "+t[1]}ke.types=VC();function QC(n){return Array.isArray(n)}ke.isArray=QC;function f9(n){return typeof n=="boolean"}ke.isBoolean=f9;function Sh(n){return n===null}ke.isNull=Sh;function Xre(n){return n==null}ke.isNullOrUndefined=Xre;function KC(n){return typeof n=="number"}ke.isNumber=KC;function Dh(n){return typeof n=="string"}ke.isString=Dh;function Zre(n){return typeof n=="symbol"}ke.isSymbol=Zre;function ru(n){return n===void 0}ke.isUndefined=ru;function ic(n){return Rp(n)&&h9(n)==="[object RegExp]"}ke.isRegExp=ic;ke.types.isRegExp=ic;function Rp(n){return typeof n=="object"&&n!==null}ke.isObject=Rp;function bh(n){return Rp(n)&&h9(n)==="[object Date]"}ke.isDate=bh;ke.types.isDate=bh;function rc(n){return Rp(n)&&(h9(n)==="[object Error]"||n instanceof Error)}ke.isError=rc;ke.types.isNativeError=rc;function Ah(n){return typeof n=="function"}ke.isFunction=Ah;function eae(n){return n===null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||typeof n=="symbol"||typeof n>"u"}ke.isPrimitive=eae;ke.isBuffer=qC();function h9(n){return Object.prototype.toString.call(n)}function l9(n){return n<10?"0"+n.toString(10):n.toString(10)}var tae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nae(){var n=new Date,e=[l9(n.getHours()),l9(n.getMinutes()),l9(n.getSeconds())].join(":");return[n.getDate(),tae[n.getMonth()],e].join(" ")}ke.log=function(){console.log("%s - %s",nae(),ke.format.apply(ke,arguments))};ke.inherits=MC();ke._extend=function(n,e){if(!e||!Rp(e))return n;for(var t=Object.keys(e),i=t.length;i--;)n[t[i]]=e[t[i]];return n};function HC(n,e){return Object.prototype.hasOwnProperty.call(n,e)}var iu=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;ke.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(iu&&e[iu]){var t=e[iu];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,iu,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var i,r,a=new Promise(function(u,p){i=u,r=p}),o=[],s=0;s{"use strict";f();c();Object.defineProperty(gt,"__esModule",{value:!0});gt.collectVariablesInValue=gt.argumentsFromAST=gt.isValidLeafValue=gt.valueFromASTUntyped=gt.valueFromAST=gt.isValidValueApplication=gt.isValidValue=gt.valueToAST=gt.valueNodeToConstValueNode=gt.withDefaultValues=gt.argumentsEquals=gt.valueEquals=gt.valueToString=void 0;var _e=It(),de=Pe(),zC=Zs(),y9=m9(),aae=_r(),WC=Kt(),on=zn(),oae=2147483647,sae=-2147483648;function ou(n,e){if(n==null)return"null";if(e&&(0,_e.isNonNullType)(e))return ou(n,e.ofType);if(e&&(0,_e.isCustomScalarType)(e)&&(e=void 0),(0,_e.isVariable)(n))return n.toString();if(Array.isArray(n)){let t;return e&&(0,_e.isListType)(e)&&(t=e.ofType),"["+n.map(i=>ou(i,t)).join(", ")+"]"}if(e&&(0,_e.isListType)(e))return ou(n,e.ofType);if(typeof n=="object")return e&&!(0,_e.isInputObjectType)(e)&&(e=void 0),"{"+Object.keys(n).map(t=>{var i;let r=e?(i=e.field(t))===null||i===void 0?void 0:i.type:void 0;return`${t}: ${ou(n[t],r)}`}).join(", ")+"}";if(typeof n=="string"){if(e){if((0,_e.isEnumType)(e))return e.value(n)?n:JSON.stringify(n);if(e===e.schema().idType()&&uc.test(n))return n}return JSON.stringify(n)}return String(n)}gt.valueToString=ou;function g9(n,e){return n===e?!0:Array.isArray(n)?Array.isArray(e)&&uae(n,e):n!==null&&typeof n=="object"?e!==null&&typeof e=="object"&&YC(n,e):n===e}gt.valueEquals=g9;function uae(n,e){if(n.length!==e.length)return!1;for(let t=0;tau(t,e.ofType)):au(n,e.ofType);if((0,_e.isInputObjectType)(e)){if(typeof n!="object")throw on.ERRORS.INVALID_GRAPHQL.err(`Expected value for type ${e} to be an object, but is ${typeof n}.`);let t=Object.create(null);for(let i of e.fields()){if(!i.type)throw su(`Cannot compute default value for field ${i.name} of ${e} as the field type is undefined`);let r=n[i.name];if(r===void 0)if(i.defaultValue!==void 0)t[i.name]=au(i.defaultValue,i.type);else if(!(0,_e.isNonNullType)(i.type))t[i.name]=null;else throw on.ERRORS.INVALID_GRAPHQL.err(`Required field "${i.name}" of type ${e} was not provided.`);else t[i.name]=au(r,i.type)}for(let i of Object.keys(n))if(!e.field(i)){let r=(0,zC.suggestionList)(i,e.fields().map(a=>a.name));throw on.ERRORS.INVALID_GRAPHQL.err(`Field "${i}" is not defined by type "${e}".`+(0,zC.didYouMean)(r))}return t}return n}function dae(n,e){if(!e.type)throw su(`Cannot compute default value for argument ${e} as the type is undefined`);if(n===void 0){if(e.defaultValue!==void 0)return au(e.defaultValue,e.type);if((0,_e.isNonNullType)(e.type))throw on.ERRORS.INVALID_GRAPHQL.err(`Required argument "${e.coordinate}" was not provided.`);return null}return au(n,e.type)}gt.withDefaultValues=dae;var uc=/^-?(?:0|[1-9][0-9]*)$/;function lae(n){return{...n,value:A9(n.value)}}function A9(n){if(n.kind===de.Kind.NULL||n.kind===de.Kind.INT||n.kind===de.Kind.FLOAT||n.kind===de.Kind.STRING||n.kind===de.Kind.BOOLEAN||n.kind===de.Kind.ENUM)return n;if(n.kind===de.Kind.LIST){let e=n.values.map(t=>A9(t));return{...n,values:e}}if(n.kind===de.Kind.OBJECT){let e=n.fields.map(t=>lae(t));return{...n,fields:e}}if(n.kind===de.Kind.VARIABLE)throw new Error("Unexpected VariableNode in const AST");(0,WC.assertUnreachable)(n)}gt.valueNodeToConstValueNode=A9;function ac(n,e){if(n!==void 0){if((0,_e.isNonNullType)(e)){let t=ac(n,e.ofType);if(t?.kind===de.Kind.NULL)throw su(`Invalid null value ${ou(n)} for non-null type ${e}`);return t}if(n===null)return{kind:de.Kind.NULL};if((0,_e.isVariable)(n))return{kind:de.Kind.VARIABLE,name:{kind:de.Kind.NAME,value:n.name}};if((0,_e.isCustomScalarType)(e))return v9(n);if((0,_e.isListType)(e)){let t=e.ofType,i=Array.from(n);if(i!=null){let r=[];for(let a of i){let o=ac(a,t);o!=null&&r.push(o)}return{kind:de.Kind.LIST,values:r}}return ac(n,t)}if((0,_e.isInputObjectType)(e)){if(typeof n!="object")throw su(`Invalid non-objet value for input type ${e}, cannot be converted to AST: ${(0,y9.inspect)(n,!0,10,!0)}`);let t=[];for(let i of e.fields()){if(!i.type)throw su(`Cannot convert value ${ou(n)} as field ${i} has no type set`);let r=ac(n[i.name],i.type);r&&t.push({kind:de.Kind.OBJECT_FIELD,name:{kind:de.Kind.NAME,value:i.name},value:r})}return{kind:de.Kind.OBJECT,fields:t}}if(typeof n=="boolean")return{kind:de.Kind.BOOLEAN,value:n};if(typeof n=="number"&&isFinite(n)){let t=String(n);return uc.test(t)?{kind:de.Kind.INT,value:t}:{kind:de.Kind.FLOAT,value:t}}if(typeof n=="string")return(0,_e.isEnumType)(e)?{kind:de.Kind.ENUM,value:n}:e===e.schema().idType()&&uc.test(n)?{kind:de.Kind.INT,value:n}:{kind:de.Kind.STRING,value:n};throw su(`Invalid value for type ${e}, cannot be converted to AST: ${(0,y9.inspect)(n)}`)}}gt.valueToAST=ac;function v9(n){if(n!==void 0){if(n===null)return{kind:de.Kind.NULL};if((0,_e.isVariable)(n))return{kind:de.Kind.VARIABLE,name:{kind:de.Kind.NAME,value:n.name}};if(Array.isArray(n)){let e=[];for(let t of n){let i=v9(t);i!==void 0&&e.push(i)}return{kind:de.Kind.LIST,values:e}}if(typeof n=="object"){let e=[];for(let t of Object.keys(n)){let i=v9(n[t]);i&&e.push({kind:de.Kind.OBJECT_FIELD,name:{kind:de.Kind.NAME,value:t},value:i})}return{kind:de.Kind.OBJECT,fields:e}}if(typeof n=="boolean")return{kind:de.Kind.BOOLEAN,value:n};if(typeof n=="number"&&isFinite(n)){let e=String(n);return uc.test(e)?{kind:de.Kind.INT,value:e}:{kind:de.Kind.FLOAT,value:e}}if(typeof n=="string")return{kind:de.Kind.STRING,value:n};throw su(`Invalid value, cannot be converted to AST: ${(0,y9.inspect)(n,!0,10,!0)}`)}}function cae(n,e,t){let i=n.type;return(0,_e.isNonNullType)(e)&&!(0,_e.isNonNullType)(i)?!(n.defaultValue!==void 0&&n.defaultValue!==null)&&!(t!==void 0)?!1:oc(i,e.ofType):oc(i,e)}function oc(n,e){return(0,_e.isNonNullType)(e)?(0,_e.isNonNullType)(n)?oc(n.ofType,e.ofType):!1:(0,_e.isNonNullType)(n)?oc(n.ofType,e):(0,_e.isListType)(e)?(0,_e.isListType)(n)?oc(n.ofType,e.ofType):!1:!(0,_e.isListType)(n)&&(0,aae.sameType)(n,e)}function fae(n,e,t){return Bp(n,e.type,e.defaultValue,t)}gt.isValidValue=fae;function Bp(n,e,t,i){if((0,_e.isVariable)(n)){let r=i.definition(n);return!!r&&cae(r,e,t)}if((0,_e.isNonNullType)(e))return n!==null&&Bp(n,e.ofType,void 0,i);if(n==null)return!0;if((0,_e.isListType)(e)){let r=e.ofType;return Array.isArray(n)?n.every(a=>Bp(a,r,void 0,i)):Bp(n,r,t,i)}if((0,_e.isInputObjectType)(e)){if(typeof n!="object")return!1;let r=new Set(Object.keys(n)),a=e.fields().every(s=>(r.delete(s.name),Bp(n[s.name],s.type,s.defaultValue,i))),o=r.size!==0;return a&&!o}return JC(e.schema(),n,e)}gt.isValidValueApplication=Bp;function sc(n,e){if(n.kind===de.Kind.NULL){if((0,_e.isNonNullType)(e))throw on.ERRORS.INVALID_GRAPHQL.err(`Invalid null value for non-null type "${e}"`);return null}if(n.kind===de.Kind.VARIABLE)return new _e.Variable(n.name.value);if((0,_e.isNonNullType)(e)&&(e=e.ofType),(0,_e.isListType)(e)){let t=e.ofType;return n.kind===de.Kind.LIST?n.values.map(i=>sc(i,t)):[sc(n,t)]}if((0,_e.isIntType)(e)){if(n.kind!==de.Kind.INT)throw on.ERRORS.INVALID_GRAPHQL.err(`Int cannot represent non-integer value ${(0,de.print)(n)}.`);let t=parseInt(n.value,10);if(t>oae||t`Unexpected input type ${e} of kind ${e.kind}.`)}gt.valueFromAST=sc;function _h(n){switch(n.kind){case de.Kind.NULL:return null;case de.Kind.INT:return parseInt(n.value,10);case de.Kind.FLOAT:return parseFloat(n.value);case de.Kind.STRING:case de.Kind.ENUM:case de.Kind.BOOLEAN:return n.value;case de.Kind.LIST:return n.values.map(_h);case de.Kind.OBJECT:let e=Object.create(null);return n.fields.forEach(t=>e[t.name.value]=_h(t.value)),e;case de.Kind.VARIABLE:return new _e.Variable(n.name.value)}}gt.valueFromASTUntyped=_h;function JC(n,e,t){if((0,_e.isCustomScalarType)(t))return!0;if(typeof e=="boolean")return t===n.booleanType();if(typeof e=="number"&&isFinite(e)){let i=String(e);return t===n.intType()||t===n.idType()?uc.test(i):t===n.floatType()}return typeof e=="string"?(0,_e.isEnumType)(t)?t.value(e)!==void 0:t!==n.booleanType()&&t!==n.intType()&&t!==n.floatType():!1}gt.isValidLeafValue=JC;function hae(n,e,t){var i;if(!e||e.length===0)return;let r=Object.create(null);for(let a of e){let o=a.name.value,s=(i=t.argument(o))===null||i===void 0?void 0:i.type;if(!s)throw on.ERRORS.INVALID_GRAPHQL.err(`Unknown argument "${o}" found in value: "${n}" has no argument named "${o}"`);try{r[o]=sc(a.value,s)}catch(u){throw u instanceof de.GraphQLError?on.ERRORS.INVALID_GRAPHQL.err(`Invalid value for argument "${o}": ${u.message}`):u}}return r}gt.argumentsFromAST=hae;function E9(n,e){if((0,_e.isVariable)(n)){e.add(n);return}n&&(Array.isArray(n)&&n.forEach(t=>E9(t,e)),typeof n=="object"&&Object.keys(n).forEach(t=>E9(n[t],e)))}gt.collectVariablesInValue=E9});var Wn=T(ha=>{"use strict";f();c();Object.defineProperty(ha,"__esModule",{value:!0});ha.unregisterKnownFeatures=ha.validateKnownFeatures=ha.coreFeatureDefinitionIfKnown=ha.registerKnownFeature=void 0;var mae=Fn(),pc=new Map;function yae(n){pc.has(n.identity)||pc.set(n.identity,n)}ha.registerKnownFeature=yae;function vae(n){var e;return(e=pc.get(n.identity))===null||e===void 0?void 0:e.find(n.version)}ha.coreFeatureDefinitionIfKnown=vae;function Eae(n,e=[]){return pc.forEach(t=>{let i=t.latest();i.validateSubgraphSchema!==mae.FeatureDefinition.prototype.validateSubgraphSchema&&e.push(...i.validateSubgraphSchema(n))}),e}ha.validateKnownFeatures=Eae;function gae(n){pc.delete(n.identity)}ha.unregisterKnownFeatures=gae});var ui=T(Hi=>{"use strict";f();c();Object.defineProperty(Hi,"__esModule",{value:!0});Hi.createEnumTypeSpecification=Hi.createUnionTypeSpecification=Hi.createObjectTypeSpecification=Hi.createScalarTypeSpecification=Hi.createDirectiveSpecification=void 0;var Aae=Pe(),Wt=It(),zi=zn(),T9=Nr(),XC=_r(),Or=Kt();function Tae({name:n,locations:e,repeatable:t=!1,args:i=[],composes:r=!1,supergraphSpecification:a=void 0,staticArgumentTransform:o=void 0}){let s;if(r){(0,Or.assert)(a,`Should provide a @link specification to use in supergraph for directive @${n} if it composes`);let u=new Map(i.filter(d=>d.compositionStrategy).map(d=>[d.name,d.compositionStrategy])),p;u.size>0&&((0,Or.assert)(!t,()=>`Invalid directive specification for @${n}: @${n} is repeatable and should not define composition strategy for its arguments`),(0,Or.assert)(u.size===i.length,()=>`Invalid directive specification for @${n}: not all arguments define a composition strategy`),p=(d,l)=>{for(let{name:m,type:y}of i){let v=u.get(m);(0,Or.assert)(v,()=>`Should have a strategy for ${m}`);let g=y(d,l);(0,Or.assert)(!Array.isArray(g),()=>`Should have gotten error getting type for @${n}(${m}:), but got ${g}`);let{valid:b,supportedMsg:D}=v.isTypeSupported(d,g);if(!b)return new Aae.GraphQLError(`Invalid composition strategy ${v.name} for argument @${n}(${m}:) of type ${g}; ${v.name} only supports ${D}`)}return{merge:(m,y)=>{let v=u.get(m);return(0,Or.assert)(v,()=>`Should have a strategy for ${m}`),v.mergeValues(y)},toString:()=>u.size===0?"":"{ "+[...u.entries()].map(([m,y])=>`"${m}": ${y.name}`).join(", ")+" }"}}),s={supergraphSpecification:a,argumentsMerger:p,staticArgumentTransform:o}}return{name:n,composition:s,checkOrAdd:(u,p,d)=>{var l;let m=(l=p?.directiveNameInSchema(n))!==null&&l!==void 0?l:n,{resolvedArgs:y,errors:v}=i.reduce(({resolvedArgs:b,errors:D},R)=>{let N=R.type(u,p);return Array.isArray(N)?D.push(...N):b.push({...R,type:N}),{resolvedArgs:b,errors:D}},{resolvedArgs:[],errors:[]});if(v.length>0)return v;let g=u.directive(m);if(g)return Fae({name:m,locations:e,repeatable:t,args:y},g);{let b=u.addDirectiveDefinition(new Wt.DirectiveDefinition(m,d));b.repeatable=t,b.addLocations(...e);for(let{name:D,type:R,defaultValue:N}of y)b.addArgument(D,R,N);return[]}}}}Hi.createDirectiveSpecification=Tae;function bae({name:n}){return{name:n,checkOrAdd:(e,t,i)=>{var r;let a=(r=t?.typeNameInSchema(n))!==null&&r!==void 0?r:n,o=e.type(a);return o?Fh("ScalarType",o):(e.addType(new Wt.ScalarType(a,i)),[])}}}Hi.createScalarTypeSpecification=bae;function Sae({name:n,fieldsFct:e}){return{name:n,checkOrAdd:(t,i,r)=>{var a;let o=(a=i?.typeNameInSchema(n))!==null&&a!==void 0?a:n,s=e(t),u=t.type(o);if(u){let p=Fh("ObjectType",u);if(p.length>0)return p;(0,Or.assert)((0,Wt.isObjectType)(u),"Should be an object type");for(let{name:d,type:l,args:m}of s){let y=u.field(d);if(!y){p=p.concat(zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${d}: missing field ${d}`,{nodes:u.sourceAST}));continue}let v=y.type;!(0,Wt.isNonNullType)(l)&&(0,Wt.isNonNullType)(v)&&(v=v.ofType),(0,XC.sameType)(l,v)||(p=p.concat(zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for field ${d} of type ${d}: should have type ${l} but found type ${y.type}`,{nodes:y.sourceAST}))),p=p.concat(ZC({name:d,args:m},y,`field "${y.coordinate}"`))}return p}else{let p=t.addType(new Wt.ObjectType(o,r));for(let{name:d,type:l,args:m}of s){let y=p.addField(d,l);for(let{name:v,type:g,defaultValue:b}of m??[])y.addArgument(v,g,b)}return[]}}}}Hi.createObjectTypeSpecification=Sae;function Dae({name:n,membersFct:e}){return{name:n,checkOrAdd:(t,i,r)=>{var a;let o=(a=i?.typeNameInSchema(n))!==null&&a!==void 0?a:n,s=t.type(o),u=e(t).sort((p,d)=>p.localeCompare(d));if(u.length===0)return s?[zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${n}: expected the union type to not exist/have no members but it is defined.`,{nodes:s.sourceAST})]:[];if(s){let p=Fh("UnionType",s);if(p.length>0)return p;(0,Or.assert)((0,Wt.isUnionType)(s),"Should be an union type");let d=s.members().map(l=>l.type.name).sort((l,m)=>l.localeCompare(m));return(0,Or.arrayEquals)(u,d)||(p=p.concat(zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition of type ${n}: expected members [${u}] but found [${d}].`,{nodes:s.sourceAST}))),p}else{let p=t.addType(new Wt.UnionType(o,r));for(let d of u)p.addType(d);return[]}}}}Hi.createUnionTypeSpecification=Dae;function _ae({name:n,values:e}){return{name:n,checkOrAdd:(t,i,r)=>{var a;let o=(a=i?.typeNameInSchema(n))!==null&&a!==void 0?a:n,s=t.type(o),u=e.map(p=>p.name).sort((p,d)=>p.localeCompare(d));if(s){let p=Fh("EnumType",s);if(p.length>0)return p;(0,Or.assert)((0,Wt.isEnumType)(s),"Should be an enum type");let d=s.values.map(l=>l.name).sort((l,m)=>l.localeCompare(m));return(0,Or.arrayEquals)(u,d)||(p=p.concat(zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for type "${n}": expected values [${u.join(", ")}] but found [${d.join(", ")}].`,{nodes:s.sourceAST}))),p}else{let p=t.addType(new Wt.EnumType(o,r));for(let{name:d,description:l}of e)p.addValue(d).description=l;return[]}}}}Hi.createEnumTypeSpecification=_ae;function Fh(n,e){return n===e.kind?[]:[zi.ERRORS.TYPE_DEFINITION_INVALID.err(`Invalid definition for type ${e.name}: ${e.name} should be a ${n} but is defined as a ${e.kind}`,{nodes:e.sourceAST})]}function Fae(n,e){let t=`"@${n.name}"`,i=ZC(n,e,`directive ${t}`);return!n.repeatable&&e.repeatable&&(i=i.concat(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for directive ${t}: ${t} should${n.repeatable?"":" not"} be repeatable`,{nodes:e.sourceAST}))),e.locations.every(r=>n.locations.includes(r))||(i=i.concat(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for directive ${t}: ${t} should have locations ${n.locations.join(", ")}, but found (non-subset) ${e.locations.join(", ")}`,{nodes:e.sourceAST}))),i}function ZC(n,e,t,i){var r;let a=(r=n.args)!==null&&r!==void 0?r:[],o=[];for(let{name:s,type:u,defaultValue:p}of a){let d=e.argument(s);if(!d){(0,Wt.isNonNullType)(u)&&p===void 0&&o.push(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: missing required argument "${s}"`,{nodes:i}));continue}let l=d.type;(0,Wt.isNonNullType)(l)&&!(0,Wt.isNonNullType)(u)&&(l=l.ofType),!(0,XC.sameType)(u,l)&&!b9(u,l)?o.push(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: argument "${s}" should have type "${u}" but found type "${d.type}"`,{nodes:d.sourceAST})):!(0,Wt.isNonNullType)(d.type)&&!(0,T9.valueEquals)(p,d.defaultValue)&&o.push(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: argument "${s}" should have default value ${(0,T9.valueToString)(p)} but found default value ${(0,T9.valueToString)(d.defaultValue)}`,{nodes:d.sourceAST}))}for(let s of e.arguments())a.some(u=>u.name===s.name)||o.push(zi.ERRORS.DIRECTIVE_DEFINITION_INVALID.err(`Invalid definition for ${t}: unknown/unsupported argument "${s.name}"`,{nodes:s.sourceAST}));return o}function b9(n,e){return(0,Wt.isListType)(n)?(0,Wt.isListType)(e)&&b9(n.ofType,e.ofType):(0,Wt.isNonNullType)(n)?(0,Wt.isNonNullType)(e)&&b9(n.ofType,e.ofType):(0,Wt.isCustomScalarType)(n)&&!(0,Wt.isCustomScalarType)(e)}});var Fn=T(De=>{"use strict";f();c();Object.defineProperty(De,"__esModule",{value:!0});De.removeAllCoreFeatures=De.LINK_VERSIONS=De.CORE_VERSIONS=De.findCoreSpecVersion=De.FeatureUrl=De.FeatureVersion=De.FeatureDefinitions=De.CoreSpecDefinition=De.isCoreSpecDirectiveApplication=De.extractCoreFeatureImports=De.FeatureDefinition=De.corePurposes=De.ErrCoreCheckFailed=De.linkDirectiveDefaultName=De.linkIdentity=De.coreIdentity=void 0;var Ch=Pe(),Cae=Uy(),Wa=It(),S9=_r(),ma=Kt(),Yn=zn(),dc=Nr(),D9=Wn(),eN=Zs(),_9=ui();De.coreIdentity="https://specs.apollo.dev/core";De.linkIdentity="https://specs.apollo.dev/link";De.linkDirectiveDefaultName="link";var Nae=n=>(0,Yn.aggregateError)("CheckFailed","one or more checks failed",n);De.ErrCoreCheckFailed=Nae;function Nh(n){return new Error(n)}De.corePurposes=["SECURITY","EXECUTION"];function Oae(n){switch(n){case"SECURITY":return"`SECURITY` features provide metadata necessary to securely resolve fields.";case"EXECUTION":return"`EXECUTION` features provide metadata necessary for operation execution."}}var Oh=class{constructor(e,t){this.minimumFederationVersion=t,this._directiveSpecs=new ma.MapWithCachedArrays,this._typeSpecs=new ma.MapWithCachedArrays,this.url=typeof e=="string"?wr.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,ma.assert)(t,()=>`The ${this.url} specification should have been added to the schema before this is called`);let i=[];for(let r of this.typeSpecs())i=i.concat(r.checkOrAdd(e,t));for(let r of this.directiveSpecs())i=i.concat(r.checkOrAdd(e,t));return i}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 i=this.featureInSchema(e);return i?i.directiveNameInSchema(t):void 0}typeNameInSchema(e,t){let i=this.featureInSchema(e);return i?i.typeNameInSchema(t):void 0}rootDirective(e){let t=this.nameInSchema(e);return t?e.directive(t):void 0}directive(e,t){let i=this.directiveNameInSchema(e,t);return i?e.directive(i):void 0}type(e,t){let i=this.typeNameInSchema(e,t);return i?e.type(i):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 Wa.ScalarType(this.typeNameInSchema(e,t)))}addEnumType(e,t){return e.addType(new Wa.EnumType(this.typeNameInSchema(e,t)))}featureInSchema(e){let t=e.coreFeatures;if(!t)throw Nh("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}`}};De.FeatureDefinition=Oh;function Iae(n,e){let t=e.arguments();if(!("import"in t)||!t.import)return[];let i=t.import,r=(0,D9.coreFeatureDefinitionIfKnown)(n),a=r?.allElementNames(),o=[],s=[];e:for(let u of i){if(typeof u=="string"){s.push({name:u}),tN(u,a,o,e);continue}if(typeof u!="object"){o.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid sub-value ${(0,dc.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"){o.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid value for the "name" field for sub-value ${(0,dc.valueToString)(u)} of @link(import:) argument: must be a string.`,{nodes:e.sourceAST}));continue e}p=l;break;case"as":if(typeof l!="string"){o.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid value for the "as" field for sub-value ${(0,dc.valueToString)(u)} of @link(import:) argument: must be a string.`,{nodes:e.sourceAST}));continue e}break;default:o.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Unknown field "${d}" for sub-value ${(0,dc.valueToString)(u)} of @link(import:) argument.`,{nodes:e.sourceAST}));continue e}if(p){let d=u;s.push(d),d.as&&(d.name.charAt(0)==="@"&&d.as.charAt(0)!=="@"?o.push(Yn.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)==="@"&&o.push(Yn.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}))),tN(p,a,o,e)}else o.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Invalid sub-value ${(0,dc.valueToString)(u)} for @link(import:) argument: missing mandatory "name" field.`,{nodes:e.sourceAST}))}if(o.length>0)throw(0,Wa.ErrGraphQLValidationFailed)(o);return s}De.extractCoreFeatureImports=Iae;function tN(n,e,t,i){if(e&&!e.includes(n)){let r="";if(!n.startsWith("@")&&e.includes("@"+n))r=` Did you mean directive "@${n}"?`;else{let a=(0,eN.suggestionList)(n,e);a&&(r=(0,eN.didYouMean)(a))}t.push(Yn.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Cannot import unknown element "${n}".${r}`,{nodes:i.sourceAST}))}}function wae(n){var e,t,i;let r=n.definition;if(!r)return!1;let a=r.argument("as");if(a&&!(0,S9.sameType)(a.type,n.schema().stringType())||!r.repeatable||r.locations.length!==1||r.locations[0]!==Ch.DirectiveLocation.SCHEMA)return!1;let o=(e=r.argument("url"))!==null&&e!==void 0?e:r.argument("feature");if(!o||!Rae(o.type,n.schema()))return!1;let s=n.arguments();try{let u=wr.parse(s[o.name]);return u.identity===De.coreIdentity?n.name===((t=s.as)!==null&&t!==void 0?t:"core"):u.identity===De.linkIdentity&&n.name===((i=s.as)!==null&&i!==void 0?i:De.linkDirectiveDefaultName)}catch{return!1}}De.isCoreSpecDirectiveApplication=wae;function Rae(n,e){return(0,S9.sameType)(n,e.stringType())||(0,S9.sameType)(n,new Wa.NonNullType(e.stringType()))}var nN=(0,_9.createEnumTypeSpecification)({name:"Purpose",values:De.corePurposes.map(n=>({name:n,description:Oae(n)}))}),iN=(0,_9.createScalarTypeSpecification)({name:"Import"}),Lp=class extends Oh{constructor(e,t,i=De.linkIdentity,r=De.linkDirectiveDefaultName){super(new wr(i,r,e),t),this.directiveDefinitionSpec=(0,_9.createDirectiveSpecification)({name:r,locations:[Ch.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,i)=>((0,ma.assert)(i,"Shouldn't be added without being attached to a @link spec"),t.type(i.typeNameInSchema(nN.name)))}),this.supportImport()&&e.push({name:"import",type:(t,i)=>((0,ma.assert)(i,"Shouldn't be added without being attached to a @link spec"),new Wa.ListType(t.type(i.typeNameInSchema(iN.name))))}),e}addElementsToSchema(e){return[]}addToSchema(e,t){let i=this.addDefinitionsToSchema(e,t);if(i.length>0)return i;let r={[this.urlArgName()]:this.toString()};t&&(r.as=t);let a=e.schemaDefinition,o=a.hasNonExtensionElements(),s=a.applyDirective(t??this.url.name,r,!0);if(!o&&a.hasExtensionElements()){let u=(0,ma.firstOf)(a.extensions());(0,ma.assert)(u,"`hasExtensionElements` should not have been `true`"),s.setOfExtension(u)}return[]}addDefinitionsToSchema(e,t,i=[]){let r=e.coreFeatures;if(r)return r.coreItself.url.identity===this.identity?[]:[Yn.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,o=new Wa.CoreFeature(this.url,a,new Wa.Directive(a),i),s=[];return s=s.concat(nN.checkOrAdd(e,o)),s=s.concat(iN.checkOrAdd(e,o)),s=s.concat(this.directiveDefinitionSpec.checkOrAdd(e,o)),s}allElementNames(){let e=[`@${this.url.name}`];return this.supportPurposes()&&e.push("Purpose"),this.supportImport()&&e.push("Import"),e}supportPurposes(){return this.version.strictlyGreaterThan(new Ir(0,1))}supportImport(){return this.url.name===De.linkDirectiveDefaultName}extractFeature(e){let t=e.coreFeatures;if(!t)throw Nh("Schema is not a core schema (add @core first)");if(!t.coreItself.url.version.equals(this.version))throw Nh(`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,i,r,a){let o=this.coreDirective(e),s={[this.urlArgName()]:t.toString(),as:i};if(r)if(this.supportPurposes())s.for=r;else return[new Ch.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())s.import=a.map(u=>u.as?u:u.name);else return[new Ch.GraphQLError(`Cannot apply feature ${t} with imports since the schema's @core/@link version does not support it.`)];return e.schemaDefinition.applyDirective(o,s),t.addElementsToSchema(e)}extractFeatureUrl(e){return wr.parse(e[this.urlArgName()])}urlArgName(){return this.url.name==="core"?"feature":"url"}};De.CoreSpecDefinition=Lp;var lc=class{constructor(e){this.identity=e,this._definitions=[]}add(e){if(e.identity!==this.identity)throw Nh(`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,i)=>-t.version.compareTo(i.version)),this)}find(e){return this._definitions.find(t=>t.version.equals(e))}versions(){return this._definitions.map(e=>e.version)}latest(){return(0,ma.assert)(this._definitions.length>0,"Trying to get latest when no definitions exist"),this._definitions[0]}getMinimumRequiredVersion(e){var t;let i=this._definitions.find(a=>a.minimumFederationVersion?e>=a.minimumFederationVersion:!0);(0,ma.assert)(i,`No compatible definition exists for federation version ${e}`);let r=this.latest().version.major;return i.version.major!==r?(t=(0,ma.findLast)(this._definitions,a=>a.version.major===r))!==null&&t!==void 0?t:this.latest():i}};De.FeatureDefinitions=lc;var Ir=class{constructor(e,t){this.major=e,this.minor=t}static parse(e){let t=e.match(this.VERSION_RE);if(!t)throw Yn.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 i of e)(!t||i>t)&&(t=i);return t}satisfies(e){let{major:t,minor:i}=this,{major:r,minor:a}=e;return r==t&&(t==0?a==i:a<=i)}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}};De.FeatureVersion=Ir;Ir.VERSION_RE=/^v(\d+)\.(\d+)$/;var wr=class{constructor(e,t,i,r){this.identity=e,this.name=t,this.version=i,this.element=r}static maybeParse(e,t){try{return wr.parse(e,t)}catch{return}}static parse(e,t){let i=new Cae.URL(e);if(!i.pathname||i.pathname==="/")throw Yn.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing path in feature url '${i}'`,{nodes:t});let r=i.pathname.split("/"),a=r.pop();if(!a)throw Yn.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing version component in feature url '${i}'`,{nodes:t});let o=Ir.parse(a),s=r[r.length-1];if(!s)throw Yn.ERRORS.INVALID_LINK_IDENTIFIER.err(`Missing feature name component in feature url '${i}'`,{nodes:t});let u=i.hash?i.hash.slice(1):void 0;return i.hash="",i.search="",i.password="",i.username="",i.pathname=r.join("/"),new wr(i.toString(),s,o,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 wr(this.identity,this.name,this.version):this}toString(){return this.url}};De.FeatureUrl=wr;function Bae(n){return n.name==="core"?De.CORE_VERSIONS.find(n.version):n.name===De.linkDirectiveDefaultName?De.LINK_VERSIONS.find(n.version):void 0}De.findCoreSpecVersion=Bae;De.CORE_VERSIONS=new lc(De.coreIdentity).add(new Lp(new Ir(0,1),void 0,De.coreIdentity,"core")).add(new Lp(new Ir(0,2),new Ir(2,0),De.coreIdentity,"core"));De.LINK_VERSIONS=new lc(De.linkIdentity).add(new Lp(new Ir(1,0),new Ir(2,0)));(0,D9.registerKnownFeature)(De.CORE_VERSIONS);(0,D9.registerKnownFeature)(De.LINK_VERSIONS);function Lae(n){var e,t;let i=[...(t=(e=n.coreFeatures)===null||e===void 0?void 0:e.allFeatures())!==null&&t!==void 0?t:[]],r=[];for(let o of i)n.directives().filter(p=>o.isFeatureDefinition(p)).forEach(p=>p.remove().forEach(d=>d.remove())),n.types().filter(p=>o.isFeatureDefinition(p)).forEach(p=>{let d=p.remove();d.length>0&&r.push({feature:o,type:p,references:d})});let a=[];for(let{feature:o,type:s,references:u}of r){let p=u.filter(d=>d.isAttached());p.length>0&&a.push(Yn.ERRORS.REFERENCED_INACCESSIBLE.err(`Cannot remove elements of feature ${o} as feature type ${s} is referenced by elements: ${p.join(", ")}`,{nodes:(0,Wa.sourceASTs)(...u)}))}if(a.length>0)throw(0,Wa.ErrGraphQLAPISchemaValidationFailed)(a)}De.removeAllCoreFeatures=Lae});var wh=T(Cn=>{"use strict";f();c();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.removeInaccessibleElements=Cn.INACCESSIBLE_VERSIONS=Cn.InaccessibleSpecDefinition=Cn.inaccessibleIdentity=void 0;var uu=Fn(),oe=It(),Wi=Pe(),Pae=Wn(),sn=zn(),xae=ui(),xo=Kt();Cn.inaccessibleIdentity="https://specs.apollo.dev/inaccessible";var fc=class extends uu.FeatureDefinition{constructor(e,t){super(new uu.FeatureUrl(Cn.inaccessibleIdentity,"inaccessible",e),t),this.inaccessibleLocations=[Wi.DirectiveLocation.FIELD_DEFINITION,Wi.DirectiveLocation.OBJECT,Wi.DirectiveLocation.INTERFACE,Wi.DirectiveLocation.UNION],this.printedInaccessibleDefinition="directive @inaccessible on FIELD_DEFINITION | INTERFACE | OBJECT | UNION",this.isV01()||(this.inaccessibleLocations.push(Wi.DirectiveLocation.ARGUMENT_DEFINITION,Wi.DirectiveLocation.SCALAR,Wi.DirectiveLocation.ENUM,Wi.DirectiveLocation.ENUM_VALUE,Wi.DirectiveLocation.INPUT_OBJECT,Wi.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,xae.createDirectiveSpecification)({name:"inaccessible",locations:this.inaccessibleLocations,composes:!0,supergraphSpecification:i=>Cn.INACCESSIBLE_VERSIONS.getMinimumRequiredVersion(i)}),this.registerDirective(this.inaccessibleDirectiveSpec)}isV01(){return this.version.equals(new uu.FeatureVersion(0,1))}inaccessibleDirective(e){return this.directive(e,"inaccessible")}checkCompatibleDirective(e){let t=Object.keys(e.arguments()).length>0,i=e.repeatable,r=e.locations.every(a=>this.inaccessibleLocations.includes(a));if(t||i||!r)return sn.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"}};Cn.InaccessibleSpecDefinition=fc;Cn.INACCESSIBLE_VERSIONS=new uu.FeatureDefinitions(Cn.inaccessibleIdentity).add(new fc(new uu.FeatureVersion(0,1))).add(new fc(new uu.FeatureVersion(0,2),new uu.FeatureVersion(2,0)));(0,Pae.registerKnownFeature)(Cn.INACCESSIBLE_VERSIONS);function kae(n){n.validate();let e=n.coreFeatures;if(!e)return;let t=e.getByIdentity(Cn.inaccessibleIdentity);if(!t)return;let i=Cn.INACCESSIBLE_VERSIONS.find(t.url.version);if(!i)throw(0,oe.ErrGraphQLAPISchemaValidationFailed)([new Wi.GraphQLError(`Cannot remove inaccessible elements: the schema uses unsupported inaccessible spec version ${t.url.version} (supported versions: ${Cn.INACCESSIBLE_VERSIONS.versions().join(", ")})`)]);let r=i.inaccessibleDirective(n);if(!r)throw(0,oe.ErrGraphQLAPISchemaValidationFailed)([new Wi.GraphQLError(`Invalid schema: declares ${i.url} spec but does not define a @inaccessible directive.`)]);let a=i.checkCompatibleDirective(r);if(a)throw(0,oe.ErrGraphQLAPISchemaValidationFailed)([a]);$ae(n,e,i,r),qae(n,r)}Cn.removeInaccessibleElements=kae;function $ae(n,e,t,i){var r,a,o;function s(v){return v.hasAppliedDirective(i)}let u=[...e.allFeatures()];function p(v){return u.some(g=>g.isFeatureDefinition(v))}function d(v){if(!(v instanceof oe.DirectiveDefinition)&&s(v))return!1;if(v instanceof oe.ObjectType||v instanceof oe.InterfaceType||v instanceof oe.UnionType||v instanceof oe.ScalarType||v instanceof oe.EnumType||v instanceof oe.InputObjectType||v instanceof oe.DirectiveDefinition)return!0;if(v instanceof oe.FieldDefinition||v instanceof oe.ArgumentDefinition||v instanceof oe.InputFieldDefinition||v instanceof oe.EnumValue)return d(v.parent);(0,xo.assert)(!1,"Unreachable code, element is of unknown type.")}function l(v){let g=[];if(s(v)&&g.push(v),v instanceof oe.ObjectType||v instanceof oe.InterfaceType||v instanceof oe.InputObjectType){for(let b of v.fields())g.push(...l(b));return g}else if(v instanceof oe.EnumType){for(let b of v.values)g.push(...l(b));return g}else if(v instanceof oe.DirectiveDefinition||v instanceof oe.FieldDefinition){for(let b of v.arguments())g.push(...l(b));return g}else if(v instanceof oe.UnionType||v instanceof oe.ScalarType||v instanceof oe.ArgumentDefinition||v instanceof oe.InputFieldDefinition||v instanceof oe.EnumValue)return g;(0,xo.assert)(!1,"Unreachable code, element is of unknown type.")}let m=[],y;t.isV01()||(y=Vae(n));for(let v of n.allTypes())if(Ih(v)){let g=l(v);g.length>0&&m.push(sn.ERRORS.DISALLOWED_INACCESSIBLE.err(`Built-in type "${v.coordinate}" cannot use @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:g.map(b=>b.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(p(v)){let g=l(v);g.length>0&&m.push(sn.ERRORS.DISALLOWED_INACCESSIBLE.err(`Core feature type "${v.coordinate}" cannot use @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:g.map(b=>b.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(s(v)){let g=v.referencers();for(let b of g)b instanceof oe.FieldDefinition||b instanceof oe.ArgumentDefinition||b instanceof oe.InputFieldDefinition?d(b)&&m.push(sn.ERRORS.REFERENCED_INACCESSIBLE.err(`Type "${v.coordinate}" is @inaccessible but is referenced by "${b.coordinate}", which is in the API schema.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:[v.coordinate],inaccessible_referencers:[b.coordinate]}})):b instanceof oe.SchemaDefinition&&v===b.rootType("query")&&m.push(sn.ERRORS.QUERY_ROOT_TYPE_INACCESSIBLE.err(`Type "${v.coordinate}" is @inaccessible but is the root query type, which must be in the API schema.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:[v.coordinate]}}))}else{if(v instanceof oe.ObjectType||v instanceof oe.InterfaceType||v instanceof oe.InputObjectType){let g=!0;for(let b of v.fields())s(b)||(g=!1);g&&m.push(sn.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${v.coordinate}" is in the API schema but all of its ${v instanceof oe.InputObjectType?"input ":""}fields are @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:v.fields().map(b=>b.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(v instanceof oe.UnionType){let g=!0;for(let b of v.types())s(b)||(g=!1);g&&m.push(sn.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${v.coordinate}" is in the API schema but all of its members are @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:v.types().map(b=>b.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(v instanceof oe.EnumType){let g=!0;for(let b of v.values)s(b)||(g=!1);g&&m.push(sn.ERRORS.ONLY_INACCESSIBLE_CHILDREN.err(`Type "${v.coordinate}" is in the API schema but all of its values are @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:v.values.map(b=>b.coordinate),inaccessible_referencers:[v.coordinate]}}))}if(v instanceof oe.ObjectType||v instanceof oe.InterfaceType){let g=v.interfaces(),b=[];if(v instanceof oe.InterfaceType)for(let D of v.referencers())(D instanceof oe.ObjectType||D instanceof oe.InterfaceType)&&b.push(D);for(let D of v.fields())if(s(D))for(let R of g){let N=R.field(D.name);N&&d(N)&&m.push(sn.ERRORS.IMPLEMENTED_BY_INACCESSIBLE.err(`Field "${D.coordinate}" is @inaccessible but implements the interface field "${N.coordinate}", which is in the API schema.`,{nodes:D.sourceAST,extensions:{inaccessible_elements:[D.coordinate],inaccessible_referencers:[N.coordinate]}}))}else for(let R of D.arguments())if(s(R)){R.isRequired()&&m.push(sn.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${R.coordinate}" is @inaccessible but is a required argument of its field.`,{nodes:R.sourceAST,extensions:{inaccessible_elements:[R.coordinate],inaccessible_referencers:[R.coordinate]}}));for(let N of b){let L=N.field(D.name);(0,xo.assert)(L,"Schema should have been valid, but an implementing type did not implement one of this type's fields.");let k=L.argument(R.name);(0,xo.assert)(k,"Schema should have been valid, but an implementing type did not implement one of this type's field's arguments."),d(k)&&k.isRequired()&&m.push(sn.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${R.coordinate}" is @inaccessible but is implemented by the required argument "${k.coordinate}", which is in the API schema.`,{nodes:R.sourceAST,extensions:{inaccessible_elements:[R.coordinate],inaccessible_referencers:[k.coordinate]}}))}for(let N of g){let L=(r=N.field(D.name))===null||r===void 0?void 0:r.argument(R.name);L&&d(L)&&m.push(sn.ERRORS.IMPLEMENTED_BY_INACCESSIBLE.err(`Argument "${R.coordinate}" is @inaccessible but implements the interface argument "${L.coordinate}", which is in the API schema.`,{nodes:R.sourceAST,extensions:{inaccessible_elements:[R.coordinate],inaccessible_referencers:[L.coordinate]}}))}}}else if(v instanceof oe.InputObjectType){for(let g of v.fields())if(s(g)){g.isRequired()&&m.push(sn.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,xo.assert)(y,"Input fields can't be @inaccessible in v0.1, but default value referencers weren't computed (which is only skipped for v0.1).");let b=(a=y.get(g))!==null&&a!==void 0?a:[];for(let D of b)d(D)&&m.push(sn.ERRORS.DEFAULT_VALUE_USES_INACCESSIBLE.err(`Input field "${g.coordinate}" is @inaccessible but is used in the default value of "${D.coordinate}", which is in the API schema.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:[v.coordinate],inaccessible_referencers:[D.coordinate]}}))}}else if(v instanceof oe.EnumType){for(let g of v.values)if(s(g)){(0,xo.assert)(y,"Enum values can't be @inaccessible in v0.1, but default value referencers weren't computed (which is only skipped for v0.1).");let b=(o=y.get(g))!==null&&o!==void 0?o:[];for(let D of b)d(D)&&m.push(sn.ERRORS.DEFAULT_VALUE_USES_INACCESSIBLE.err(`Enum value "${g.coordinate}" is @inaccessible but is used in the default value of "${D.coordinate}", which is in the API schema.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:[v.coordinate],inaccessible_referencers:[D.coordinate]}}))}}}for(let v of n.allDirectives()){let g=v.locations.filter(b=>(0,oe.isTypeSystemDirectiveLocation)(b));if(Ih(v)){let b=l(v);b.length>0&&m.push(sn.ERRORS.DISALLOWED_INACCESSIBLE.err(`Built-in directive "${v.coordinate}" cannot use @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:b.map(D=>D.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(p(v)){let b=l(v);b.length>0&&m.push(sn.ERRORS.DISALLOWED_INACCESSIBLE.err(`Core feature directive "${v.coordinate}" cannot use @inaccessible.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:b.map(D=>D.coordinate),inaccessible_referencers:[v.coordinate]}}))}else if(g.length>0){let b=l(v);b.length>0&&m.push(sn.ERRORS.DISALLOWED_INACCESSIBLE.err(`Directive "${v.coordinate}" cannot use @inaccessible because it may be applied to these type-system locations: ${g.join(", ")}.`,{nodes:v.sourceAST,extensions:{inaccessible_elements:b.map(D=>D.coordinate),inaccessible_referencers:[v.coordinate]}}))}else for(let b of v.arguments())b.isRequired()&&s(b)&&m.push(sn.ERRORS.REQUIRED_INACCESSIBLE.err(`Argument "${b.coordinate}" is @inaccessible but is a required argument of its directive.`,{nodes:b.sourceAST,extensions:{inaccessible_elements:[b.coordinate],inaccessible_referencers:[b.coordinate]}}))}if(m.length>0)throw(0,oe.ErrGraphQLAPISchemaValidationFailed)(m)}function Vae(n){let e=new Map;function t(i,r){var a;let o=(a=e.get(i))!==null&&a!==void 0?a:[];o.length===0&&e.set(i,o),o.push(r)}for(let i of n.allTypes())if(!Ih(i)){if(i instanceof oe.ObjectType||i instanceof oe.InterfaceType)for(let r of i.fields())for(let a of r.arguments())for(let o of F9(a))t(o,a);if(i instanceof oe.InputObjectType)for(let r of i.fields())for(let a of F9(r))t(a,r)}for(let i of n.allDirectives())if(!Ih(i))for(let r of i.arguments())for(let a of F9(r))t(a,r);return e}function F9(n){let e=[];return cc(n.defaultValue,jae(n),e),e}function jae(n){let e=n.type;return(0,xo.assert)(e,"Schema should have been valid, but argument/input field did not have type."),e}function cc(n,e,t){if(n!=null){if((0,oe.isNonNullType)(e))return cc(n,e.ofType,t);if(!(0,oe.isScalarType)(e)&&!(0,oe.isVariable)(n)){if(Array.isArray(n)){if((0,oe.isListType)(e)){let i=e.ofType;for(let r of n)cc(r,i,t)}return}if((0,oe.isListType)(e))return cc(n,e.ofType,t);if(typeof n=="object"){if((0,oe.isInputObjectType)(e))for(let i of e.fields()){let r=n[i.name];r!==void 0&&(t.push(i),cc(r,i.type,t))}return}if(typeof n=="string"){if((0,oe.isEnumType)(e)){let i=e.value(n);i!==void 0&&t.push(i)}return}}}}function Ih(n){let e=n.schema();if(n instanceof oe.ObjectType||n instanceof oe.InterfaceType||n instanceof oe.UnionType||n instanceof oe.ScalarType||n instanceof oe.EnumType||n instanceof oe.InputObjectType)return e.builtInTypes(!0).some(t=>t.name===n.name);if(n instanceof oe.DirectiveDefinition)return e.builtInDirectives(!0).some(t=>t.name===n.name);(0,xo.assert)(!1,"Unreachable code, element is of unknown type.")}function qae(n,e){function t(i){return i.hasAppliedDirective(e)}for(let i of n.types())if(t(i))i.remove();else if(i instanceof oe.ObjectType||i instanceof oe.InterfaceType)for(let r of i.fields())if(t(r))r.remove();else for(let a of r.arguments())t(a)&&a.remove();else if(i instanceof oe.InputObjectType)for(let r of i.fields())t(r)&&r.remove();else if(i instanceof oe.EnumType)for(let r of i.values)t(r)&&r.remove();for(let i of n.directives())for(let r of i.arguments())t(r)&&r.remove()}});var hc=T(Yt=>{"use strict";f();c();Object.defineProperty(Yt,"__esModule",{value:!0});Yt.printDirectiveDefinition=Yt.printTypeDefinitionAndExtensions=Yt.printType=Yt.printSchema=Yt.shallowOrderPrintedDefinitions=Yt.orderPrintedDefinitions=Yt.defaultPrintOptions=void 0;var Mae=Kt(),Uae=Nr();Yt.defaultPrintOptions={indentString:" ",definitionsOrder:["schema","directives","types"],rootTypesOrder:["query","mutation","subscription"],mergeTypesAndExtensions:!1,showAllBuiltIns:!1,noDescriptions:!1,typeFilter:()=>!0,fieldFilter:()=>!0,directiveApplicationFilter:()=>!0};function Gae(n){return{...n,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)}}Yt.orderPrintedDefinitions=Gae;function Qae(n){return{...n,typeCompareFn:(e,t)=>e.name.localeCompare(t.name),directiveCompareFn:(e,t)=>e.name.localeCompare(t.name)}}Yt.shallowOrderPrintedDefinitions=Qae;function Kae(n){return n.definitionsOrder.length===3&&n.definitionsOrder.indexOf("schema")>=0&&n.definitionsOrder.indexOf("types")>=0&&n.definitionsOrder.indexOf("directives")>=0}function Hae(n){if(!Kae(n))throw new Error(`'definitionsOrder' should be a 3-element array containing 'schema', 'types' and 'directives' in the desired order (got: [${n.definitionsOrder.join(", ")}])`)}function zae(n,e=Yt.defaultPrintOptions){Hae(e);let t=e.showAllBuiltIns?n.allDirectives():n.directives();e.directiveDefinitionFilter&&(t=t.filter(e.directiveDefinitionFilter)),e.directiveCompareFn&&(t=t.concat().sort(e.directiveCompareFn));let i=e.showAllBuiltIns?n.allTypes():n.types();e.typeFilter&&(i=i.filter(e.typeFilter)),e.typeCompareFn&&(i=i.concat().sort(e.typeCompareFn));let r=new Array(3);return r[e.definitionsOrder.indexOf("schema")]=Yae(n.schemaDefinition,e),r[e.definitionsOrder.indexOf("directives")]=t.map(a=>oN(a,e)),r[e.definitionsOrder.indexOf("types")]=i.flatMap(a=>C9(a,e)),r.flat().join(` `)}Yt.printSchema=zae;function Wae(n,e){return e.mergeTypesAndExtensions?[void 0]:[null,...n.extensions()]}function Yae(n,e){return pu(n,e,Xae)}function pu(n,e,t){return Wae(n,e).map(i=>t(n,e,i)).filter(i=>i!==void 0)}function Pp(n){return n?"extend ":""}function du(n,e){return e===void 0?n:n.filter(t=>{var i;return((i=t.ofExtension())!==null&&i!==void 0?i:null)===e})}function Jae(n,e){return n.concat().sort((t,i)=>e.rootTypesOrder.indexOf(t.rootKind)-e.rootTypesOrder.indexOf(i.rootKind))}function ko(n,e,t){let i=du(n.appliedDirectives,t);return e.directiveApplicationFilter&&(i=i.filter(e.directiveApplicationFilter)),i}function Xae(n,e,t){let i=du(n.roots(),t),r=ko(n,e,t);if(!i.length&&!r.length||!t&&!r.length&&Zae(n))return;let a=Jae(i,e).map(o=>`${e.indentString}${o.rootKind}: ${o.type}`);return ya(n,e,t)+Pp(t)+"schema"+Ya(r,e,!0,a.length!==0)+(r.length===0?" ":"")+(a.length===0?"":`{ `+a.join(` `)+` }`)}function Zae(n){return!n.description&&n.roots().every(e=>e.isDefaultRootName())}function eoe(n,e=Yt.defaultPrintOptions){let t=C9(n,e);return(0,Mae.assert)(t.length==1,`Type ${n} is built from more than 1 definition or extension`),t[0]}Yt.printType=eoe;function C9(n,e=Yt.defaultPrintOptions){switch(n.kind){case"ScalarType":return pu(n,e,toe);case"ObjectType":return pu(n,e,(t,i,r)=>rN("type",t,i,r));case"InterfaceType":return pu(n,e,(t,i,r)=>rN("interface",t,i,r));case"UnionType":return pu(n,e,ioe);case"EnumType":return pu(n,e,roe);case"InputObjectType":return pu(n,e,aoe)}}Yt.printTypeDefinitionAndExtensions=C9;function oN(n,e=Yt.defaultPrintOptions){let t=n.locations.join(" | ");return`${ya(n,e,null)}directive ${n}${uN(n.arguments(),e)}${n.repeatable?" repeatable":""} on ${t}`}Yt.printDirectiveDefinition=oN;function Ya(n,e,t=!1,i=t){if(n.length==0)return"";let r=t?` `+e.indentString:" ",a=n.map(o=>o.toString()).join(r);return t?` `+e.indentString+a+(i?` `:""):" "+a}function ya(n,e,t,i="",r=!0){if(t||n.description===void 0||e.noDescriptions)return"";let a=n.description.length>70,o=soe(n.description,"",a);return(i&&!r?` `+i:i)+o.replace(/\n/g,` `+i)+` `}function toe(n,e,t){let i=ko(n,e,t);if(!(t&&!i.length))return`${ya(n,e,t)}${Pp(t)}scalar ${n.name}${Ya(i,e,!0,!1)}`}function noe(n){return n.length?" implements "+n.map(e=>e.interface.name).join(" & "):""}function rN(n,e,t,i){let r=ko(e,t,i),a=du(e.interfaceImplementations(),i),o=du(e.fields(),i);if(t.fieldFilter&&(o=o.filter(t.fieldFilter)),!(!r.length&&!a.length&&!o.length&&(i||!e.preserveEmptyDefinition)))return t.implementedInterfaceCompareFn&&(a=a.concat().sort(t.implementedInterfaceCompareFn)),t.fieldCompareFn&&(o=o.concat().sort(t.fieldCompareFn)),ya(e,t,i)+Pp(i)+n+" "+e+noe(a)+Ya(r,t,!0,o.length>0)+(r.length===0&&o.length>0?" ":"")+sN(o,t)}function ioe(n,e,t){let i=ko(n,e,t),r=du(n.members(),t);if(!i.length&&!r.length&&(t||!n.preserveEmptyDefinition))return;e.unionMemberCompareFn&&(r=r.concat().sort(e.unionMemberCompareFn));let a=r.length?" = "+r.map(o=>o.type).join(" | "):"";return ya(n,e,t)+Pp(t)+"union "+n+Ya(i,e,!0,r.length>0)+a}function roe(n,e,t){let i=ko(n,e,t),r=du(n.values,t);if(!i.length&&!r.length&&(t||!n.preserveEmptyDefinition))return;e.enumValueCompareFn&&(r=r.concat().sort(e.enumValueCompareFn));let a=r.map((o,s)=>ya(o,e,t,e.indentString,!s)+e.indentString+o+Ya(o.appliedDirectives,e));return ya(n,e,t)+Pp(t)+"enum "+n+Ya(i,e,!0,a.length>0)+(i.length===0&&a.length>0?" ":"")+pN(a)}function aoe(n,e,t){let i=ko(n,e,t),r=du(n.fields(),t);if(!(!i.length&&!r.length&&(t||!n.preserveEmptyDefinition)))return e.inputObjectFieldCompareFn&&(r=r.concat().sort(e.inputObjectFieldCompareFn)),ya(n,e,t)+Pp(t)+"input "+n+Ya(i,e,!0,r.length>0)+(i.length===0&&r.length>0?" ":"")+sN(r,e)}function sN(n,e){return pN(n.map((t,i)=>ya(t,e,void 0,e.indentString,!i)+e.indentString+ooe(t,e)+Ya(ko(t,e),e)))}function ooe(n,e){let t=n.kind=="FieldDefinition"?uN(n.arguments(),e,e.indentString):"",i=n.kind==="InputFieldDefinition"&&n.defaultValue!==void 0?" = "+(0,Uae.valueToString)(n.defaultValue,n.type):"";return`${n.name}${t}: ${n.type}${i}`}function uN(n,e,t=""){return n.length===0?"":n.every(r=>!r.description)?"("+n.map(r=>aN(r,e)).join(", ")+")":`( ${n.map((r,a)=>ya(r,e,null," "+t,!a)+" "+t+aN(r,e)).join(` `)} ${t})`}function aN(n,e){return`${n}${Ya(ko(n,e),e)}`}function pN(n){return n.length!==0?`{ `+n.join(` `)+` }`:""}function soe(n,e="",t=!1){let i=n.indexOf(` `)===-1,r=n[0]===" "||n[0]===" ",a=n[n.length-1]==='"',o=n[n.length-1]==="\\",s=!i||a||o||t,u="";return s&&!(i&&r)&&(u+=` `+e),u+=e?n.replace(/\n/g,` `+e):n,s&&(u+=` `),'"""'+u.replace(/"""/g,'\\"""')+'"""'}});var Rh=T(va=>{"use strict";f();c();Object.defineProperty(va,"__esModule",{value:!0});va.addIntrospectionFields=va.isIntrospectionName=va.introspectionTypeNames=va.introspectionFieldNames=void 0;var uoe=Pe(),Te=It();va.introspectionFieldNames=["__schema","__type"];va.introspectionTypeNames=["__Schema","__Directive","__DirectiveLocation","__Type","__Field","__InputValue","__EnumValue","__TypeKind"];function poe(n){return n.startsWith("__")}va.isIntrospectionName=poe;function doe(n){if(n.type("__Schema"))return;let e=n.addType(new Te.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=n.addType(new Te.ObjectType("__InputValue",!0)),i=n.addType(new Te.ObjectType("__Field",!0)),r=n.addType(new Te.ObjectType("__Type",!0)),a=n.addType(new Te.ObjectType("__EnumValue",!0));r.addField("kind",new Te.NonNullType(e)),r.addField("name",n.stringType()),r.addField("description",n.stringType()),r.addField("fields",new Te.ListType(new Te.NonNullType(i))).addArgument("includeDeprecated",n.booleanType(),!1),r.addField("interfaces",new Te.ListType(new Te.NonNullType(r))),r.addField("possibleTypes",new Te.ListType(new Te.NonNullType(r))),r.addField("enumValues",new Te.ListType(new Te.NonNullType(a))).addArgument("includeDeprecated",n.booleanType(),!1),r.addField("inputFields",new Te.ListType(new Te.NonNullType(t))).addArgument("includeDeprecated",n.booleanType(),!1),r.addField("ofType",r),r.addField("specifiedByURL",n.stringType()),i.addField("name",new Te.NonNullType(n.stringType())),i.addField("description",n.stringType()),i.addField("args",new Te.NonNullType(new Te.ListType(new Te.NonNullType(t)))).addArgument("includeDeprecated",n.booleanType(),!1),i.addField("type",new Te.NonNullType(r)),i.addField("isDeprecated",new Te.NonNullType(n.booleanType())),i.addField("deprecationReason",n.stringType()),t.addField("name",new Te.NonNullType(n.stringType())),t.addField("description",n.stringType()),t.addField("type",new Te.NonNullType(r)),t.addField("defaultValue",n.stringType()),t.addField("isDeprecated",new Te.NonNullType(n.booleanType())),t.addField("deprecationReason",n.stringType()),a.addField("name",new Te.NonNullType(n.stringType())),a.addField("description",n.stringType()),a.addField("isDeprecated",new Te.NonNullType(n.booleanType())),a.addField("deprecationReason",n.stringType());let o=n.addType(new Te.EnumType("__DirectiveLocation",!0));for(let d of Object.values(uoe.DirectiveLocation))o.addValue(d);let s=n.addType(new Te.ObjectType("__Directive",!0));s.addField("name",new Te.NonNullType(n.stringType())),s.addField("description",n.stringType()),s.addField("locations",new Te.NonNullType(new Te.ListType(new Te.NonNullType(o)))),s.addField("args",new Te.NonNullType(new Te.ListType(new Te.NonNullType(t)))).addArgument("includeDeprecated",n.booleanType(),!1),s.addField("isRepeatable",new Te.NonNullType(n.booleanType()));let u=n.addType(new Te.ObjectType("__Schema",!0));u.addField("description",n.stringType()),u.addField("types",new Te.NonNullType(new Te.ListType(new Te.NonNullType(r)))),u.addField("queryType",new Te.NonNullType(r)),u.addField("mutationType",new Te.NonNullType(r)),u.addField("subscriptionType",new Te.NonNullType(r)),u.addField("directives",new Te.NonNullType(new Te.ListType(new Te.NonNullType(s))));let p=n.schemaDefinition.rootType("query");p||(p=n.addType(new Te.ObjectType("Query")),n.schemaDefinition.setRoot("query",p)),p.addField(new Te.FieldDefinition("__schema",!0),new Te.NonNullType(u)),p.addField(new Te.FieldDefinition("__type",!0),r).addArgument("name",new Te.NonNullType(n.stringType()))}va.addIntrospectionFields=doe});var cN=T(Bh=>{"use strict";f();c();Object.defineProperty(Bh,"__esModule",{value:!0});Bh.validateSchema=void 0;var Ut=It(),loe=Pe(),xp=Nr(),dN=Rh(),lN=_r(),coe=zn();function foe(n){return new O9(n).validate()}Bh.validateSchema=foe;var N9=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,Ut.isNonNullType)(t.type)&&(0,Ut.isInputObjectType)(t.type.ofType)){let i=t.type.ofType,r=this.fieldPathIndexByTypeName.get(i.name);if(this.fieldPath.push(t),r===void 0)this.detectCycles(i);else{let a=this.fieldPath.slice(r),o=a.map(s=>s.name).join(".");this.onError(`Cannot reference Input Object "${i.name}" within itself through a series of non-null fields: "${o}".`,{nodes:(0,Ut.sourceASTs)(...a)})}this.fieldPath.pop()}this.fieldPathIndexByTypeName.delete(e.name)}}},O9=class{constructor(e){this.schema=e,this.emptyVariables=new Ut.VariableDefinitions,this.hasMissingTypes=!1,this.errors=[]}validate(){for(let e of this.schema.types())switch(dN.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 N9((t,i)=>this.addError(t,i));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(coe.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,dN.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,loe.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 i of t.arguments())this.validateArg(i)}}validateImplementedInterfaces(e){e.implementsInterface(e.name)&&this.addError(`Type ${e} cannot implement itself because it would create a circular reference.`,{nodes:(0,Ut.sourceASTs)(e,e.interfaceImplementation(e.name))});for(let t of e.interfaces()){for(let i of t.fields()){let r=e.field(i.name);if(!r){this.addError(`Interface field ${i.coordinate} expected but ${e} does not provide it.`,{nodes:(0,Ut.sourceASTs)(i,e)});continue}this.validateHasType(i)&&!(0,lN.isSubtype)(i.type,r.type)&&this.addError(`Interface field ${i.coordinate} expects type ${i.type} but ${r.coordinate} of type ${r.type} is not a proper subtype.`,{nodes:(0,Ut.sourceASTs)(i,r)});for(let a of i.arguments()){let o=r.argument(a.name);if(!o){this.addError(`Interface field argument ${a.coordinate} expected but ${r.coordinate} does not provide it.`,{nodes:(0,Ut.sourceASTs)(a,r)});continue}this.validateHasType(a)&&!(0,lN.sameType)(a.type,o.type)&&this.addError(`Interface field argument ${a.coordinate} expects type ${a.type} but ${o.coordinate} is type ${o.type}.`,{nodes:(0,Ut.sourceASTs)(a,o)})}for(let a of r.arguments())i.argument(a.name)||a.isRequired()&&this.addError(`Field ${r.coordinate} includes required argument ${a.name} that is missing from the Interface field ${i.coordinate}.`,{nodes:(0,Ut.sourceASTs)(a,i)})}for(let i of t.interfaces())e.implementsInterface(i)||(i===e?this.addError(`Type ${e} cannot implement ${t} because it would create a circular reference.`,{nodes:(0,Ut.sourceASTs)(e,t)}):this.addError(`Type ${e} must implement ${i} because it is implemented by ${t}.`,{nodes:(0,Ut.sourceASTs)(e,t,i)}))}}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,Ut.sourceASTs)(t.appliedDirectivesOf("deprecated")[0],t)}),t.defaultValue!==void 0&&!(0,xp.isValidValue)(t.defaultValue,t,new Ut.VariableDefinitions)&&this.addError(`Invalid default value (got: ${(0,xp.valueToString)(t.defaultValue)}) provided for input field ${t.coordinate} of type ${t.type}.`,{nodes:(0,Ut.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,Ut.sourceASTs)(e.appliedDirectivesOf("deprecated")[0],e)}),e.defaultValue!==void 0&&!(0,xp.isValidValue)(e.defaultValue,e,new Ut.VariableDefinitions))){let t=this.schema.builtInScalarTypes().find(i=>e.type&&(0,Ut.isScalarType)(e.type)&&i.name===e.type.name);(!t||!(0,xp.isValidValueApplication)(e.defaultValue,t,e.defaultValue,new Ut.VariableDefinitions))&&this.addError(`Invalid default value (got: ${(0,xp.valueToString)(e.defaultValue)}) provided for argument ${e.coordinate} of type ${e.type}.`,{nodes:(0,Ut.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 i of e.arguments()){let r=t.arguments()[i.name];if(r&&i.type&&!(0,xp.isValidValue)(r,i,this.emptyVariables)){let a=t.parent,o=a instanceof Ut.NamedSchemaElement?a.coordinate:"schema";this.addError(`Invalid value for "${i.coordinate}" of type "${i.type}" in application of "${e.coordinate}" to "${o}".`,{nodes:(0,Ut.sourceASTs)(t,i)})}}}}});var It=T(w=>{"use strict";f();c();Object.defineProperty(w,"__esModule",{value:!0});w.CoreFeature=w.defaultSchemaBlueprint=w.SchemaBlueprint=w.NamedSchemaElementWithType=w.NamedSchemaElement=w.SchemaElement=w.Extension=w.sourceASTs=w.DirectiveTargetElement=w.isLeafType=w.typeFromAST=w.typeToAST=w.isTypeSystemDirectiveLocation=w.typeSystemDirectiveLocations=w.isExecutableDirectiveLocation=w.executableDirectiveLocations=w.isConditionalDirective=w.supertypes=w.runtimeTypesIntersects=w.possibleRuntimeTypes=w.isCompositeType=w.isAbstractType=w.isNullableType=w.baseType=w.filterTypesOfKind=w.isTypeOfKind=w.isInputType=w.isOutputType=w.isInputObjectType=w.isUnionType=w.isEnumType=w.isInterfaceType=w.isObjectType=w.isIDType=w.isBooleanType=w.isFloatType=w.isStringType=w.isIntType=w.isCustomScalarType=w.isScalarType=w.isNonNullType=w.isListType=w.isWrapperType=w.isNamedType=w.isSchemaRootType=w.defaultRootName=w.allSchemaRootKinds=w.typenameFieldName=w.ErrGraphQLAPISchemaValidationFailed=w.ErrGraphQLValidationFailed=void 0;w.isFieldDefinition=w.copyDirectiveDefinitionToSchema=w.newNamedType=w.variableDefinitionFromAST=w.variableDefinitionsFromAST=w.VariableDefinitions=w.VariableDefinition=w.isVariable=w.VariableCollector=w.Variable=w.directiveApplicationsSubstraction=w.isDirectiveApplicationsSubset=w.sameDirectiveApplications=w.sameDirectiveApplication=w.directivesToDirectiveNodes=w.directivesToString=w.Directive=w.DirectiveDefinition=w.EnumValue=w.ArgumentDefinition=w.InputFieldDefinition=w.FieldDefinition=w.NonNullType=w.ListType=w.InputObjectType=w.EnumType=w.UnionType=w.UnionMember=w.InterfaceType=w.ObjectType=w.InterfaceImplementation=w.ScalarType=w.SchemaDefinition=w.RootType=w.Schema=w.CoreFeatures=void 0;var ie=Pe(),fu=Fn(),Ae=Kt(),pi=Nr(),hoe=wh(),yN=hc(),moe=_r(),mc=Rh(),yoe=Ap(),voe=kl(),Eoe=cN(),lu=ui(),fN=Zs(),ft=zn(),goe=Wn(),Aoe="GraphQLValidationFailed",Toe="The schema is not a valid GraphQL schema.",boe=new Set,Soe=(n,e=Toe)=>(0,ft.aggregateError)(Aoe,e,n);w.ErrGraphQLValidationFailed=Soe;var Doe="GraphQLAPISchemaValidationFailed",_oe=n=>(0,ft.aggregateError)(Doe,"The supergraph schema failed to produce a valid API schema",n);w.ErrGraphQLAPISchemaValidationFailed=_oe;w.typenameFieldName="__typename";w.allSchemaRootKinds=["query","mutation","subscription"];function R9(n){return n.charAt(0).toUpperCase()+n.slice(1)}w.defaultRootName=R9;function Foe(n){if(n.kind==="ObjectType")switch(n.name){case"Query":return"query";case"Mutation":return"mutation";case"Subscription":return"subscription";default:return}}function Coe(n){return L9(n)&&n.isRootType()}w.isSchemaRootType=Coe;function Noe(n){return n instanceof Ji}w.isNamedType=Noe;function vN(n){return EN(n)||Nc(n)}w.isWrapperType=vN;function EN(n){return n.kind=="ListType"}w.isListType=EN;function Nc(n){return n.kind=="NonNullType"}w.isNonNullType=Nc;function B9(n){return n.kind=="ScalarType"}w.isScalarType=B9;function Ooe(n){return B9(n)&&!DN.includes(n.name)}w.isCustomScalarType=Ooe;function Ioe(n){return n===n.schema().intType()}w.isIntType=Ioe;function woe(n){return n===n.schema().stringType()}w.isStringType=woe;function Roe(n){return n===n.schema().floatType()}w.isFloatType=Roe;function Boe(n){return n===n.schema().booleanType()}w.isBooleanType=Boe;function Loe(n){return n===n.schema().idType()}w.isIDType=Loe;function L9(n){return n.kind=="ObjectType"}w.isObjectType=L9;function P9(n){return n.kind=="InterfaceType"}w.isInterfaceType=P9;function gN(n){return n.kind=="EnumType"}w.isEnumType=gN;function Oc(n){return n.kind=="UnionType"}w.isUnionType=Oc;function Poe(n){return n.kind=="InputObjectType"}w.isInputObjectType=Poe;function AN(n){switch(Ic(n).kind){case"ScalarType":case"ObjectType":case"UnionType":case"EnumType":case"InterfaceType":return!0;default:return!1}}w.isOutputType=AN;function Uh(n){switch(Ic(n).kind){case"ScalarType":case"EnumType":case"InputObjectType":return!0;default:return!1}}w.isInputType=Uh;function TN(n,e){return n.kind===e}w.isTypeOfKind=TN;function cu(n,e){return n.reduce((t,i)=>(TN(i,e)&&t.push(i),t),[])}w.filterTypesOfKind=cu;function Ic(n){return vN(n)?n.baseType():n}w.baseType=Ic;function xoe(n){return!Nc(n)}w.isNullableType=xoe;function koe(n){return P9(n)||Oc(n)}w.isAbstractType=koe;function $oe(n){return L9(n)||P9(n)||Oc(n)}w.isCompositeType=$oe;function I9(n){switch(n.kind){case"InterfaceType":return n.possibleRuntimeTypes();case"UnionType":return n.types();case"ObjectType":return[n]}}w.possibleRuntimeTypes=I9;function Voe(n,e){if(n===e)return!0;let t=I9(n),i=I9(e);for(let r of t)if(i.some(a=>r.name===a.name))return!0;return!1}w.runtimeTypesIntersects=Voe;function joe(n){switch(n.kind){case"InterfaceType":return n.interfaces();case"UnionType":return[];case"ObjectType":return n.interfaces().concat(n.unionsWhereMember())}}w.supertypes=joe;function qoe(n){return["include","skip"].includes(n.name)}w.isConditionalDirective=qoe;w.executableDirectiveLocations=[ie.DirectiveLocation.QUERY,ie.DirectiveLocation.MUTATION,ie.DirectiveLocation.SUBSCRIPTION,ie.DirectiveLocation.FIELD,ie.DirectiveLocation.FRAGMENT_DEFINITION,ie.DirectiveLocation.FRAGMENT_SPREAD,ie.DirectiveLocation.INLINE_FRAGMENT,ie.DirectiveLocation.VARIABLE_DEFINITION];var Moe=new Set(w.executableDirectiveLocations);function bN(n){return Moe.has(n)}w.isExecutableDirectiveLocation=bN;w.typeSystemDirectiveLocations=[ie.DirectiveLocation.SCHEMA,ie.DirectiveLocation.SCALAR,ie.DirectiveLocation.OBJECT,ie.DirectiveLocation.FIELD_DEFINITION,ie.DirectiveLocation.ARGUMENT_DEFINITION,ie.DirectiveLocation.INTERFACE,ie.DirectiveLocation.UNION,ie.DirectiveLocation.ENUM,ie.DirectiveLocation.ENUM_VALUE,ie.DirectiveLocation.INPUT_OBJECT,ie.DirectiveLocation.INPUT_FIELD_DEFINITION];var Uoe=new Set(w.typeSystemDirectiveLocations);function SN(n){return Uoe.has(n)}w.isTypeSystemDirectiveLocation=SN;function Lh(n){switch(n.kind){case"ListType":return{kind:ie.Kind.LIST_TYPE,type:Lh(n.ofType)};case"NonNullType":return{kind:ie.Kind.NON_NULL_TYPE,type:Lh(n.ofType)};default:return{kind:ie.Kind.NAMED_TYPE,name:{kind:ie.Kind.NAME,value:n.name}}}}w.typeToAST=Lh;function Ph(n,e){switch(e.kind){case ie.Kind.LIST_TYPE:return new Dc(Ph(n,e.type));case ie.Kind.NON_NULL_TYPE:return new Yi(Ph(n,e.type));default:let t=n.type(e.name.value);if(!t)throw ft.ERRORS.INVALID_GRAPHQL.err(`Unknown type "${e.name.value}"`,{nodes:e});return t}}w.typeFromAST=Ph;function Goe(n){return B9(n)||gN(n)}w.isLeafType=Goe;var yc=class{constructor(e,t=[]){this._schema=e,this.appliedDirectives=t.map(i=>this.attachDirective(i))}schema(){return this._schema}attachDirective(e){let t=e.isAttached()?new vu(e.name,e.arguments()):e;return un.prototype.setParent.call(t,this),t}appliedDirectivesOf(e){let t=typeof e=="string"?e:e.name;return this.appliedDirectives.filter(i=>i.name==t)}hasAppliedDirective(e){let t=typeof e=="string"?e:e.name;return this.appliedDirectives.some(i=>i.name==t)}appliedDirectivesToDirectiveNodes(){return FN(this.appliedDirectives)}appliedDirectivesToString(){return _N(this.appliedDirectives)}collectVariablesInAppliedDirectives(e){for(let t of this.appliedDirectives)e.collectInArguments(t.arguments())}};w.DirectiveTargetElement=yc;function Qoe(...n){return n.map(e=>e?.sourceAST).filter(e=>e!==void 0)}w.sourceASTs=Qoe;var un=class{schema(){let e=this.schemaInternal();return(0,Ae.assert)(e,"requested schema does not exist. Probably because the element is unattached"),e}schemaInternal(){if(this._parent){if(this._parent instanceof vn)return this._parent;if(this._parent instanceof Ja)return this._parent.schemaInternal();if(this._parent instanceof yc)return this._parent.schema()}else return;(0,Ae.assert)(!1,"unreachable code. parent is of unknown type")}get parent(){return(0,Ae.assert)(this._parent,"trying to access non-existent parent"),this._parent}isAttached(){return!!this._parent}setParent(e){(0,Ae.assert)(!this._parent,"Cannot set parent of an already attached element"),this._parent=e,this.onAttached()}onAttached(){}checkUpdate(){(0,Ae.assert)(this.isAttached(),()=>`Cannot modify detached element ${this}`)}},Vo=class{get extendedElement(){return this._extendedElement}setExtendedElement(e){(0,Ae.assert)(!this._extendedElement,"Cannot attached already attached extension"),this._extendedElement=e}};w.Extension=Vo;var Ja=class extends un{addUnappliedDirective({nameOrDef:e,args:t,extension:i,directive:r}){let a={nameOrDef:e,args:t??{},extension:i,directive:r};this._unappliedDirectives?this._unappliedDirectives.push(a):this._unappliedDirectives=[a]}processUnappliedDirectives(){var e;for(let{nameOrDef:t,args:i,extension:r,directive:a}of(e=this._unappliedDirectives)!==null&&e!==void 0?e:[]){let o=this.applyDirective(t,i);o.setOfExtension(r),o.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(i=>i.name==t)}hasAppliedDirective(e){return(typeof e=="string"?this.appliedDirectivesOf(e):this.appliedDirectivesOf(e)).length!==0}applyDirective(e,t,i=!1){var r;let a;if(typeof e=="string"){this.checkUpdate(),a=new vu(e,t??Object.create(null));let o=(r=this.schema().directive(e))!==null&&r!==void 0?r:this.schema().blueprint.onMissingDirectiveDefinition(this.schema(),a);if(!o)throw this.schema().blueprint.onGraphQLJSValidationError(this.schema(),ft.ERRORS.INVALID_GRAPHQL.err(`Unknown directive "@${e}".`));if(Array.isArray(o))throw(0,w.ErrGraphQLValidationFailed)(o)}else this.checkUpdate(e),a=new vu(e.name,t??Object.create(null));return un.prototype.setParent.call(a,this),this._appliedDirectives?i?this._appliedDirectives.unshift(a):this._appliedDirectives.push(a):this._appliedDirectives=[a],jo.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&&vn.prototype.onModification.call(e)}isElementBuiltIn(){return!1}removeTypeReferenceInternal(e){this.removeTypeReference(e)}checkRemoval(){(0,Ae.assert)(!this.isElementBuiltIn()||vn.prototype.canModifyBuiltIn.call(this.schema()),()=>`Cannot modify built-in ${this}`)}checkUpdate(e){if(super.checkUpdate(),!vn.prototype.canModifyBuiltIn.call(this.schema())){let t=this;for(;t&&t instanceof Ja;)(0,Ae.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,Ae.assert)(!t||t===this.schema(),()=>`Cannot add element ${e} to ${this} as it is attached to another schema`)}}};w.SchemaElement=Ja;var hu=class extends Ja{constructor(e){super(),this._name=e}get name(){return this._name}};w.NamedSchemaElement=hu;var Ji=class extends hu{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,i;return(i=(t=this._extensions)===null||t===void 0?void 0:t.includes(e))!==null&&i!==void 0?i:!1}newExtension(){return this.addExtension(new Vo)}addExtension(e){return this.checkUpdate(),this.hasExtension(e)||((0,Ae.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],Vo.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,mc.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,vn.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(i=>{Ja.prototype.removeTypeReferenceInternal.call(i,this),t.push(i)}),this._referencers=void 0,vn.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:boe}isReferenced(){return!!this._referencers}toString(){return this.name}},kp=class extends hu{get type(){return this._type}set type(e){e?this.checkUpdate(e):this.checkRemoval(),this._type&&gu(this,this._type),this._type=e,e&&jp(this,e)}removeTypeReference(e){(0,Ae.assert)(this._type&&Ic(this._type)===e,()=>`Cannot remove reference to type ${e} on ${this} as its type is ${this._type}`),this._type=void 0}};w.NamedSchemaElementWithType=kp;var vc=class extends un{ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,Ae.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(),vn.prototype.onModification.call(this.schema()),this._extension=void 0,this._parent=void 0}},xh=class{onMissingDirectiveDefinition(e,t){}onDirectiveDefinitionAndSchemaParsed(e){return[]}ignoreParsedField(e,t){return!1}onConstructed(e){}onAddedCoreFeature(e,t){}onInvalidation(e){}onValidation(e){return[]}validationRules(){return voe.specifiedSDLRules}onGraphQLJSValidationError(e,t){var i;let r=/^Unknown directive "@(?[_A-Za-z][_0-9A-Za-z]*)"\.$/.exec(t.message),a=(i=r?.groups)===null||i===void 0?void 0:i.directive;if(!a)return t;let o=e.allDirectives().map(u=>u.name),s=(0,fN.suggestionList)(a,o);return s.length===0?this.onUnknownDirectiveValidationError(e,a,t):(0,ft.withModifiedErrorMessage)(t,`${t.message}${(0,fN.didYouMean)(s.map(u=>"@"+u))}`)}onUnknownDirectiveValidationError(e,t,i){return i}applyDirectivesAfterParsing(){return!1}};w.SchemaBlueprint=xh;w.defaultSchemaBlueprint=new xh;var mu=class{constructor(e,t,i,r,a){this.url=e,this.nameInSchema=t,this.directive=i,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(i=>{var r;return t===((r=i.as)!==null&&r!==void 0?r:i.name)})}directiveNameInSchema(e){return mu.directiveNameInSchemaForCoreArguments(this.url,this.nameInSchema,this.imports,e)}static directiveNameInSchemaForCoreArguments(e,t,i,r){var a,o;let s=i.find(u=>u.name.charAt(0)==="@"&&u.name.slice(1)===r);return s?(o=(a=s.as)===null||a===void 0?void 0:a.slice(1))!==null&&o!==void 0?o:r:r===e.name?t:t+"__"+r}typeNameInSchema(e){var t;let i=this.imports.find(r=>r.name===e);return i?(t=i.as)!==null&&t!==void 0?t:e:this.nameInSchema+"__"+e}minimumFederationVersion(){var e;return(e=(0,goe.coreFeatureDefinitionIfKnown)(this.url))===null||e===void 0?void 0:e.minimumFederationVersion}};w.CoreFeature=mu;var yu=class{constructor(e){this.coreItself=e,this.byAlias=new Map,this.byIdentity=new Map,this.add(e);let t=(0,fu.findCoreSpecVersion)(e.url);if(!t)throw ft.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,i;if(((t=e.definition)===null||t===void 0?void 0:t.name)!==this.coreItself.nameInSchema)return;let r=e,a=r.arguments(),o=this.coreDefinition.extractFeatureUrl(a);if(this.byIdentity.get(o.identity))throw ft.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err(`Duplicate inclusion of feature ${o.identity}`);let u=(0,fu.extractCoreFeatureImports)(o,r),p=new mu(o,(i=a.as)!==null&&i!==void 0?i:o.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 jo||e instanceof vu,i=e.name.split("__");if(i.length>1){let r=this.byAlias.get(i[0]);return r?{feature:r,nameInFeature:i.slice(1).join("__"),isImported:!1}:void 0}else{let r=t?"@"+e.name:e.name,a=[this.coreItself,...this.byIdentity.values()];for(let s of a)for(let{as:u,name:p}of s.imports)if((u??p)===r)return{feature:s,nameInFeature:t?p.slice(1):p,isImported:!0};let o=this.byAlias.get(e.name);return o&&t?{feature:o,nameInFeature:e.name,isImported:!1}:void 0}}};w.CoreFeatures=yu;var DN=["Int","Float","String","Boolean","ID"],Koe=DN.map(n=>(0,lu.createScalarTypeSpecification)({name:n})),Hoe=[(0,lu.createDirectiveSpecification)({name:"include",locations:[ie.DirectiveLocation.FIELD,ie.DirectiveLocation.FRAGMENT_SPREAD,ie.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"if",type:n=>new Yi(n.booleanType())}]}),(0,lu.createDirectiveSpecification)({name:"skip",locations:[ie.DirectiveLocation.FIELD,ie.DirectiveLocation.FRAGMENT_SPREAD,ie.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"if",type:n=>new Yi(n.booleanType())}]}),(0,lu.createDirectiveSpecification)({name:"deprecated",locations:[ie.DirectiveLocation.FIELD_DEFINITION,ie.DirectiveLocation.ENUM_VALUE,ie.DirectiveLocation.ARGUMENT_DEFINITION,ie.DirectiveLocation.INPUT_FIELD_DEFINITION],args:[{name:"reason",type:n=>n.stringType(),defaultValue:"No longer supported"}]}),(0,lu.createDirectiveSpecification)({name:"specifiedBy",locations:[ie.DirectiveLocation.SCALAR],args:[{name:"url",type:n=>new Yi(n.stringType())}]}),(0,lu.createDirectiveSpecification)({name:"defer",locations:[ie.DirectiveLocation.FRAGMENT_SPREAD,ie.DirectiveLocation.INLINE_FRAGMENT],args:[{name:"label",type:n=>n.stringType()},{name:"if",type:n=>new Yi(n.booleanType()),defaultValue:!0}]}),(0,lu.createDirectiveSpecification)({name:"stream",locations:[ie.DirectiveLocation.FIELD],args:[{name:"label",type:n=>n.stringType()},{name:"initialCount",type:n=>n.intType(),defaultValue:0},{name:"if",type:n=>new Yi(n.booleanType()),defaultValue:!0}]})],zoe=/^@?[_A-Za-z][_0-9A-Za-z]*(\.[_A-Za-z][_0-9A-Za-z]*)?(\([_A-Za-z][_0-9A-Za-z]*:\))?$/,vn=class{constructor(e=w.defaultSchemaBlueprint,t={}){this.blueprint=e,this.config=t,this._builtInTypes=new Ae.MapWithCachedArrays,this._types=new Ae.MapWithCachedArrays,this._builtInDirectives=new Ae.MapWithCachedArrays,this._directives=new Ae.MapWithCachedArrays,this.isConstructed=!1,this.isValidated=!1,this._schemaDefinition=new $p,un.prototype.setParent.call(this._schemaDefinition,this),Koe.forEach(i=>i.checkOrAdd(this,void 0,!0)),Hoe.forEach(i=>i.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 yu(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,ie.parse)((0,yN.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 i=e.directive(t);i&&!i.isBuiltIn&&i.removeRecursive()}(0,hoe.removeInaccessibleElements)(e),(0,fu.removeAllCoreFeatures)(e),(0,Ae.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:ie.Kind.SCHEMA_DEFINITION,operationTypes:[]};e.push(t)}for(let t of this.types())if(t.hasExtensionElements()&&!t.hasNonExtensionElements()){let i={kind:t.astDefinitionKind,name:{kind:ie.Kind.NAME,value:t.name}};e.push(i)}return e}toGraphQLJSSchema(e){var t,i;let r=(t=e?.includeDefer)!==null&&t!==void 0?t:!1,a=(i=e?.includeStream)!==null&&i!==void 0?i:!1,o=this.toAST(),s=this.emptyASTDefinitionsForExtensionsWithoutDefinition();r&&s.push(this.deferDirective().toAST()),a&&s.push(this.streamDirective().toAST()),s.length>0&&(o={kind:ie.Kind.DOCUMENT,definitions:o.definitions.concat(s)});let u=(0,ie.buildASTSchema)(o);if(s.length>0)for(let p of s)switch(p.kind){case ie.Kind.SCHEMA_DEFINITION:u.astNode=void 0;break;case ie.Kind.SCALAR_TYPE_DEFINITION:case ie.Kind.OBJECT_TYPE_DEFINITION:case ie.Kind.INTERFACE_TYPE_DEFINITION:case ie.Kind.ENUM_TYPE_DEFINITION:case ie.Kind.UNION_TYPE_DEFINITION:case ie.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 cu(this.types(),"InterfaceType")}objectTypes(){return cu(this.types(),"ObjectType")}unionTypes(){return cu(this.types(),"UnionType")}scalarTypes(){return cu(this.types(),"ScalarType")}inputTypes(){return cu(this.types(),"InputObjectType")}enumTypes(){return cu(this.types(),"EnumType")}builtInTypes(e=!1){let t=this._builtInTypes.values();return e?t:t.filter(i=>!this.isShadowedBuiltInType(i))}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 i=this.type(e);return i&&i.kind===t?i: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,Ae.assert)(t.isBuiltIn,()=>`Type ${e} already exists in this schema`),e.isAttached())return(0,Ae.assert)(e.parent==this,()=>`Cannot add type ${e} to this schema; it is already attached to another schema`),e;e.isBuiltIn?((0,Ae.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),un.prototype.setParent.call(e,this);let i=Foe(e);return i&&!this.schemaDefinition.root(i)&&this.schemaDefinition.setRoot(i,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 jo(e):e,i=this.directive(t.name);return(0,Ae.assert)(!i||i.isBuiltIn,()=>`Directive ${t} already exists in this schema`),t.isAttached()?((0,Ae.assert)(t.parent==this,()=>`Cannot add directive ${t} to this schema; it is already attached to another schema`),t):(t.isBuiltIn?((0,Ae.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),un.prototype.setParent.call(t,this),this.onModification(),t)}invalidate(){this.isValidated&&this.blueprint.onInvalidation(this),this.isValidated=!1}assumeValid(){this.runWithBuiltInModificationAllowed(()=>{(0,mc.addIntrospectionFields)(this)}),this.isValidated=!0}validate(){if(this.isValidated)return;this.runWithBuiltInModificationAllowed(()=>{(0,mc.addIntrospectionFields)(this)});let e=(0,yoe.validateSDL)(this.toAST(),void 0,this.blueprint.validationRules()).map(t=>this.blueprint.onGraphQLJSValidationError(this,t));if(e=e.concat((0,Eoe.validateSchema)(this)),e.length===0&&this.runWithBuiltInModificationAllowed(()=>{e=this.blueprint.onValidation(this)}),e.length>0)throw(0,w.ErrGraphQLValidationFailed)(e);this.isValidated=!0}clone(e,t=!0){let i=new vn(e??this.blueprint);return tse(this,i,t),this.isValidated&&i.assumeValid(),i}getBuiltInDirective(e){let t=this.directive(e);return(0,Ae.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(zoe))throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);let t=e.indexOf("("),i=t<0?e:e.slice(0,t),r=t<0?void 0:e.slice(t+1,e.length-2),a=i.split("."),o=a[0],s=a[1];if(o.startsWith("@")){if(s)throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);let p=this.directive(o.slice(1));return r?p?.argument(r):p}else{let p=this.type(o);if(!p||!s)return p;switch(p.kind){case"ObjectType":case"InterfaceType":let d=p.field(s);return r?d?.argument(r):d;case"InputObjectType":if(r)throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);return p.field(s);case"EnumType":if(r)throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`);return p.value(s);default:throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid argument "${e}: it is not a syntactically valid graphQL coordinate."`)}}}};w.Schema=vn;var Ec=class extends vc{constructor(e,t){super(),this.rootKind=e,this.type=t}isDefaultRootName(){return R9(this.rootKind)==this.type.name}removeInner(){$p.prototype.removeRootType.call(this._parent,this)}};w.RootType=Ec;var $p=class extends Ja{constructor(){super(...arguments),this.kind="SchemaDefinition",this._roots=new Ae.MapWithCachedArrays,this.preserveEmptyDefinition=!1}roots(){return this._roots.values()}applyDirective(e,t,i=!1){var r,a;let o=super.applyDirective(e,t,i),s=this.schema(),u=s.coreFeatures;if((0,fu.isCoreSpecDirectiveApplication)(o)){if(u)throw ft.ERRORS.INVALID_LINK_DIRECTIVE_USAGE.err("Invalid duplicate application of @core/@link");let p=o,d=p.arguments(),l=fu.FeatureUrl.parse((r=d.url)!==null&&r!==void 0?r:d.feature),m=(0,fu.extractCoreFeatureImports)(l,p),y=new mu(l,(a=d.as)!==null&&a!==void 0?a:l.name,p,m,d.for);vn.prototype.markAsCoreSchema.call(s,y),this.appliedDirectives.filter(v=>v!==o).forEach(v=>yu.prototype.maybeAddFeature.call(s.coreFeatures,v))}else u&&yu.prototype.maybeAddFeature.call(u,o);return this.onModification(),o}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 i;if(typeof t=="string"){this.checkUpdate();let a=this.schema().type(t);if(a){if(a.kind!="ObjectType")throw ft.ERRORS.INVALID_GRAPHQL.err(`${R9(e)} root type must be an Object type${e==="query"?"":" if provided"}, it cannot be set to ${t} (an ${a.kind}).`)}else throw ft.ERRORS.INVALID_GRAPHQL.err(`Cannot set schema ${e} root to unknown type ${t}`);i=new Ec(e,a)}else this.checkUpdate(t),i=new Ec(e,t);let r=this._roots.get(e);return r&&gu(this,r.type),this._roots.set(e,i),un.prototype.setParent.call(i,this),jp(this,i.type),this.onModification(),i}extensions(){var e;return(e=this._extensions)!==null&&e!==void 0?e:[]}hasExtension(e){var t,i;return(i=(t=this._extensions)===null||t===void 0?void 0:t.includes(e))!==null&&i!==void 0?i:!1}newExtension(){return this.addExtension(new Vo)}addExtension(e){return this.checkUpdate(),this.hasExtension(e)||((0,Ae.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],Vo.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),gu(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(", ")}]`}};w.SchemaDefinition=$p;var kh=class extends Ji{constructor(){super(...arguments),this.kind="ScalarType",this.astDefinitionKind=ie.Kind.SCALAR_TYPE_DEFINITION}removeTypeReference(e){(0,Ae.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()}};w.ScalarType=kh;var gc=class extends vc{constructor(e){super(),this.interface=e}removeInner(){Vp.prototype.removeInterfaceImplementation.call(this._parent,this.interface)}toString(){return`'implements ${this.interface}'`}};w.InterfaceImplementation=gc;var Vp=class extends Ji{constructor(){super(...arguments),this._fields=new Ae.MapWithCachedArrays}onAttached(){vn.prototype.runWithBuiltInModificationAllowed.call(this.schema(),()=>{this.addField(new Rr(w.typenameFieldName,!0),new Yi(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,i;return(i=(t=this._interfaceImplementations)===null||t===void 0?void 0:t.has(typeof e=="string"?e:e.name))!==null&&i!==void 0?i:!1}addImplementedInterface(e){var t;let i;if(e instanceof gc)this.checkUpdate(e),i=e;else{let a;if(typeof e=="string"){this.checkUpdate();let o=this.schema().type(e);if(o){if(o.kind!="InterfaceType")throw ft.ERRORS.INVALID_GRAPHQL.err(`Cannot implement non-interface type ${e} (of type ${o.kind})`)}else throw ft.ERRORS.INVALID_GRAPHQL.err(`Cannot implement unknown type ${e}`);a=o}else a=e;i=new gc(a)}let r=(t=this._interfaceImplementations)===null||t===void 0?void 0:t.get(i.interface.name);return r||(this._interfaceImplementations||(this._interfaceImplementations=new Ae.MapWithCachedArrays),this._interfaceImplementations.set(i.interface.name,i),jp(this,i.interface),un.prototype.setParent.call(i,this),this.onModification(),i)}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(w.typenameFieldName)}addField(e,t){let i;if(typeof e=="string"?(this.checkUpdate(),i=new Rr(e)):(this.checkUpdate(e),i=e),this.field(i.name))throw ft.ERRORS.INVALID_GRAPHQL.err(`Field ${i.name} already exists on ${this}`);if(t&&!AN(t))throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid input type ${t} for field ${i.name}: object and interface field types should be output types.`);return this._fields.set(i.name,i),this._cachedNonBuiltInFields=void 0,un.prototype.setParent.call(i,this),t&&(i.type=t),this.onModification(),i}*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),gu(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?Rr.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())}},$h=class extends Vp{constructor(){super(...arguments),this.kind="ObjectType",this.astDefinitionKind=ie.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(i=>{i instanceof Ji&&Oc(i)&&t.push(i)}),t}};w.ObjectType=$h;var Vh=class extends Vp{constructor(){super(...arguments),this.kind="InterfaceType",this.astDefinitionKind=ie.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(i=>i.name==t)}removeReferenceRecursive(e){e.kind==="FieldDefinition"&&e.removeRecursive()}};w.InterfaceType=Vh;var Ac=class extends vc{constructor(e){super(),this.type=e}removeInner(){Tc.prototype.removeMember.call(this._parent,this.type)}};w.UnionMember=Ac;var Tc=class extends Ji{constructor(){super(...arguments),this.kind="UnionType",this.astDefinitionKind=ie.Kind.UNION_TYPE_DEFINITION,this._members=new Ae.MapWithCachedArrays}onAttached(){vn.prototype.runWithBuiltInModificationAllowed.call(this.schema(),()=>{this._typenameField=new Rr(w.typenameFieldName,!0),un.prototype.setParent.call(this._typenameField,this),this._typenameField.type=new Yi(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 Ac)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 ft.ERRORS.INVALID_GRAPHQL.err(`Cannot add non-object type ${e} (of type ${a.kind}) as member of union type ${this.name}`)}else throw ft.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 Ac(r)}let i=this._members.get(t.type.name);return i||(this._members.set(t.type.name,t),un.prototype.setParent.call(t,this),jp(this,t.type),this.onModification(),t)}clearTypes(){for(let e of this.types())this.removeMember(e);this.onModification()}field(e){if(e===w.typenameFieldName&&this._typenameField)return this._typenameField}typenameField(){return this._typenameField}removeMember(e){this._members.delete(e.name),gu(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())}};w.UnionType=Tc;var bc=class extends Ji{constructor(){super(...arguments),this.kind="EnumType",this.astDefinitionKind=ie.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 qh(e)):(this.checkUpdate(e),t=e);let i=this.value(t.name);return i||(this._values.set(t.name,t),un.prototype.setParent.call(t,this),this.onModification(),t)}removeTypeReference(e){(0,Ae.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()}};w.EnumType=bc;var Sc=class extends Ji{constructor(){super(...arguments),this.kind="InputObjectType",this.astDefinitionKind=ie.Kind.INPUT_OBJECT_TYPE_DEFINITION,this._fields=new Map}fields(){return this._cachedFieldsArray||(this._cachedFieldsArray=(0,Ae.mapValues)(this._fields)),this._cachedFieldsArray}field(e){return this._fields.get(e)}addField(e,t){let i=typeof e=="string"?new _c(e):e;if(this.checkUpdate(i),this.field(i.name))throw ft.ERRORS.INVALID_GRAPHQL.err(`Field ${i.name} already exists on ${this}`);if(t&&!Uh(t))throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid output type ${t} for field ${i.name}: input field types should be input types.`);return this._fields.set(i.name,i),this._cachedFieldsArray=void 0,un.prototype.setParent.call(i,this),typeof e=="string"&&t&&(i.type=t),this.onModification(),i}hasFields(){return this._fields.size>0}*allChildElements(){yield*this._fields.values()}removeTypeReference(e){(0,Ae.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())}};w.InputObjectType=Sc;var jh=class{constructor(e){this._type=e,(0,Ae.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 Ic(this._type)}},Dc=class extends jh{constructor(e){super(e),this.kind="ListType"}toString(){return`[${this.ofType}]`}};w.ListType=Dc;var Yi=class extends jh{constructor(e){super(e),this.kind="NonNullType"}toString(){return`${this.ofType}!`}};w.NonNullType=Yi;var Rr=class extends kp{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,i){let r;typeof e=="string"?(this.checkUpdate(),r=new Fc(e),r.defaultValue=i):(this.checkUpdate(e),r=e);let a=this.argument(r.name);if(a){if(t&&a.type&&!(0,moe.sameType)(t,a.type))throw ft.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name} with a different type (${a.type})`);if(i&&(!a.defaultValue||!(0,pi.valueEquals)(i,a.defaultValue)))throw ft.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name} with a different default value (${(0,pi.valueToString)(a.defaultValue)})`);return a}if(t&&!Uh(t))throw ft.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 Ae.MapWithCachedArrays),this._args.set(r.name,r),un.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,Ae.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,mc.isIntrospectionName)(this.name)}isSchemaIntrospectionField(){return mc.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 Vp.prototype.removeFieldInternal.call(this._parent,this),this._parent=void 0,this._extension=void 0,[]}removeRecursive(){let e=this._parent;this.remove(),e&&!Oc(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}`}};w.FieldDefinition=Rr;var _c=class extends kp{constructor(){super(...arguments),this.kind="InputFieldDefinition"}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}.${this.name}`}isRequired(){return Nc(this.type)&&this.defaultValue===void 0}ofExtension(){return this._extension}removeOfExtension(){this._extension=void 0}setOfExtension(e){var t;this.checkUpdate(),(0,Ae.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(),Sc.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,pi.valueToString)(this.defaultValue,this.type)}`;return`${this.name}: ${this.type}${e}`}};w.InputFieldDefinition=_c;var Fc=class extends kp{constructor(e){super(e),this.kind="ArgumentDefinition"}get coordinate(){let e=this._parent;return`${e==null?"":e.coordinate}(${this.name}:)`}isRequired(){return Nc(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 Rr?Rr.prototype.removeArgumentInternal.call(this._parent,this.name):jo.prototype.removeArgumentInternal.call(this._parent,this.name),this._parent=void 0,[]):[]}toString(){let e=this.defaultValue===void 0?"":` = ${(0,pi.valueToString)(this.defaultValue,this.type)}`;return`${this.name}: ${this.type}${e}`}};w.ArgumentDefinition=Fc;var qh=class extends hu{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,Ae.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(),bc.prototype.removeValueInternal.call(this._parent,this),this._parent=void 0,this._extension=void 0,[]):[]}removeTypeReference(e){(0,Ae.assert)(!1,`Enum value ${this} can't reference other types; shouldn't be asked to remove reference to ${e}`)}toString(){return`${this.name}`}};w.EnumValue=qh;var jo=class extends hu{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,i){let r;if(typeof e=="string"?(this.checkUpdate(),r=new Fc(e),r.defaultValue=i):(this.checkUpdate(e),r=e),this.argument(r.name))throw ft.ERRORS.INVALID_GRAPHQL.err(`Argument ${r.name} already exists on field ${this.name}`);return this._args||(this._args=new Ae.MapWithCachedArrays),this._args.set(r.name,r),un.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 i of e)this._locations.includes(i)||(this._locations.push(i),t=!0);return t&&this.onModification(),this}addAllLocations(){return this.addLocations(...Object.values(ie.DirectiveLocation))}addAllTypeLocations(){return this.addLocations(ie.DirectiveLocation.SCALAR,ie.DirectiveLocation.OBJECT,ie.DirectiveLocation.INTERFACE,ie.DirectiveLocation.UNION,ie.DirectiveLocation.ENUM,ie.DirectiveLocation.INPUT_OBJECT)}removeLocations(...e){let t=!1;for(let i of e)t||(t=(0,Ae.removeArrayElement)(i,this._locations));return t&&this.onModification(),this}hasExecutableLocations(){return this.locations.some(e=>bN(e))}hasTypeSystemLocations(){return this.locations.some(e=>SN(e))}applications(){var e;return(e=this._referencers)!==null&&e!==void 0||(this._referencers=new Set),this._referencers}addReferencer(e){var t;(0,Ae.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,Ae.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,Ae.assert)(!this._appliedDirectives||this._appliedDirectives.length===0,"Directive definition should not have directive applied to it");for(let i of this.arguments())i.remove();let t=Array.from((e=this._referencers)!==null&&e!==void 0?e:[]);return this._referencers=void 0,vn.prototype.removeDirectiveInternal.call(this._parent,this),this._parent=void 0,t}removeRecursive(){this.remove().forEach(e=>e.remove())}toAST(){return(0,ie.parse)((0,yN.printDirectiveDefinition)(this)).definitions[0]}toString(){return`@${this.name}`}};w.DirectiveDefinition=jo;var vu=class extends un{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,Ae.assert)(t,()=>`Cannot include default values for arguments: cannot find directive definition for ${this.name}`);let i=Object.create(null);for(let r of t.arguments()){let a=(0,pi.withDefaultValues)(this._args[r.name],r);a!==void 0&&(i[r.name]=a)}return i}onModification(){this.isAttachedToSchemaElement()&&vn.prototype.onModification.call(this.schema())}isAttachedToSchemaElement(){return this.isAttached()}setArguments(e){this._args=e,this.onModification()}argumentType(e){var t,i;return(i=(t=this.definition)===null||t===void 0?void 0:t.argument(e))===null||i===void 0?void 0:i.type}matchArguments(e){let t=Object.entries(this._args);if(t.length!==Object.keys(e).length)return!1;for(let[i,r]of t){if(!(i in e))return!1;let a=e[i];if(!(0,pi.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,Ae.assert)(t instanceof $p||t instanceof Ji,"Can only mark directive parts of extensions when directly apply to type or schema definition."),(0,Ae.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,Ae.assert)(t,()=>`Cannot convert arguments of detached directive ${this}`),e.map(([i,r])=>({kind:ie.Kind.ARGUMENT,name:{kind:ie.Kind.NAME,value:i},value:(0,pi.valueToAST)(r,t.argument(i).type)}))}remove(){if(!this._parent)return!1;this.onModification();let e=this.schema().coreFeatures;if(e&&this.name===e.coreItself.nameInSchema){let t=fu.FeatureUrl.parse(this._args[e.coreDefinition.urlArgName()]);if(t.identity===e.coreItself.url.identity){vn.prototype.unmarkAsCoreSchema.call(this.schema());for(let i of this.schema().schemaDefinition.appliedDirectivesOf(e.coreItself.nameInSchema))i.removeInternal();return!0}else yu.prototype.removeFeature.call(e,t.identity)}return this.removeInternal()}removeInternal(){if(!this._parent)return!1;let e=this.definition;e&&this.isAttachedToSchemaElement()&&jo.prototype.removeReferencer.call(e,this);let t=this._parent.appliedDirectives,i=(0,Ae.removeArrayElement)(this,t);return(0,Ae.assert)(i,()=>`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(([i,r])=>r!==void 0),t=e.length==0?"":"("+e.map(([i,r])=>`${i}: ${(0,pi.valueToString)(r,this.argumentType(i))}`).join(", ")+")";return`@${this.name}${t}`}};w.Directive=vu;function _N(n){return!n||n.length==0?"":" "+n.join(" ")}w.directivesToString=_N;function FN(n){return!n||n.length===0?void 0:n.map(e=>({kind:ie.Kind.DIRECTIVE,name:{kind:ie.Kind.NAME,value:e.name},arguments:e.argumentsToAST()}))}w.directivesToDirectiveNodes=FN;function Gh(n,e,t=["defer"]){return n.name===e.name&&!t.includes(n.name)&&!t.includes(e.name)&&(0,pi.argumentsEquals)(n.arguments(),e.arguments())}w.sameDirectiveApplication=Gh;function Woe(n,e,t=["defer"]){if(n.length!==e.length)return!1;for(let i of n)if(!e.some(r=>Gh(i,r,t)))return!1;return!0}w.sameDirectiveApplications=Woe;function Yoe(n,e){if(e.length>n.length)return!1;for(let t of e)if(!n.some(i=>Gh(t,i)))return!1;return!0}w.isDirectiveApplicationsSubset=Yoe;function Joe(n,e){return n.filter(t=>!e.some(i=>Gh(t,i)))}w.directiveApplicationsSubstraction=Joe;var Cc=class{constructor(e){this.name=e}toVariableNode(){return{kind:ie.Kind.VARIABLE,name:{kind:ie.Kind.NAME,value:this.name}}}toString(){return"$"+this.name}};w.Variable=Cc;var w9=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,pi.collectVariablesInValue)(t,this)}variables(){return(0,Ae.mapValues)(this._variables)}toString(){return this.variables().toString()}};w.VariableCollector=w9;function Xoe(n){return n instanceof Cc}w.isVariable=Xoe;var Mh=class extends yc{constructor(e,t,i,r){super(e),this.variable=t,this.type=i,this.defaultValue=r}toVariableDefinitionNode(){let e=(0,pi.valueToAST)(this.defaultValue,this.type);return{kind:ie.Kind.VARIABLE_DEFINITION,variable:this.variable.toVariableNode(),type:Lh(this.type),defaultValue:e!==void 0?(0,pi.valueNodeToConstValueNode)(e):void 0,directives:this.appliedDirectivesToDirectiveNodes()}}toString(){let e=this.variable+": "+this.type;return this.defaultValue!==void 0&&(e=e+" = "+(0,pi.valueToString)(this.defaultValue,this.type)),e+this.appliedDirectivesToString()}};w.VariableDefinition=Mh;var Eu=class{constructor(){this._definitions=new Ae.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 Eu;let t=new Eu;for(let i of e){let r=this.definition(i);if(!r)throw new Error(`Cannot find variable ${i} 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(", ")+")"}};w.VariableDefinitions=Eu;function Zoe(n,e){let t=new Eu;for(let i of e)if(!t.add(CN(n,i))){let r=i.variable.name.value;throw ft.ERRORS.INVALID_GRAPHQL.err(`Duplicate definition for variable ${r}`,{nodes:e.filter(a=>a.variable.name.value===r)})}return t}w.variableDefinitionsFromAST=Zoe;function CN(n,e){let t=new Cc(e.variable.name.value),i=Ph(n,e.type);if(!Uh(i))throw ft.ERRORS.INVALID_GRAPHQL.err(`Invalid type "${i}" for variable $${t}: not an input type`,{nodes:e.type});return new Mh(n,t,i,e.defaultValue?(0,pi.valueFromAST)(e.defaultValue,i):void 0)}w.variableDefinitionFromAST=CN;function jp(n,e){switch(e.kind){case"ListType":jp(n,e.baseType());break;case"NonNullType":jp(n,e.baseType());break;default:Ji.prototype.addReferencer.call(e,n);break}}function gu(n,e){switch(e.kind){case"ListType":gu(n,e.baseType());break;case"NonNullType":gu(n,e.baseType());break;default:Ji.prototype.removeReferencer.call(e,n);break}}function NN(n,e){switch(n){case"ScalarType":return new kh(e);case"ObjectType":return new $h(e);case"InterfaceType":return new Vh(e);case"UnionType":return new Tc(e);case"EnumType":return new bc(e);case"InputObjectType":return new Sc(e);default:(0,Ae.assert)(!1,`Unhandled kind ${n} for type ${e}`)}}w.newNamedType=NN;function*hN(n,e){var t;for(let i of n.builtInTypes())!i.isIntrospectionType()&&!(!((t=e.type(i.name))===null||t===void 0)&&t.isBuiltIn)&&(yield i);yield*n.types()}function*mN(n,e){var t;for(let i of n.builtInDirectives())!((t=e.directive(i.name))===null||t===void 0)&&t.isBuiltIn||(yield i);yield*n.directives()}function ese({definition:n,schema:e,copyDirectiveApplicationsInArguments:t=!0,locationFilter:i}){wN(n,e.addDirectiveDefinition(n.name),t,i)}w.copyDirectiveDefinitionToSchema=ese;function tse(n,e,t){for(let i of hN(n,e))e.addType(NN(i.kind,i.name));for(let i of mN(n,e))e.addDirectiveDefinition(i.name);for(let i of mN(n,e))wN(i,e.directive(i.name));nse(n.schemaDefinition,e.schemaDefinition);for(let i of hN(n,e))ise(i,e.type(i.name),t)}function ON(n,e){let t=new Map;for(let i of n.extensions()){let r=new Vo;e.addExtension(r),t.set(i,r)}return t}function $o(n,e,t){let i=e.ofExtension();i&&t.setOfExtension(n.get(i))}function nse(n,e){e.preserveEmptyDefinition=n.preserveEmptyDefinition;let t=ON(n,e);for(let i of n.roots())$o(t,i,e.setRoot(i.rootKind,i.type.name));for(let i of n.appliedDirectives)$o(t,i,x9(i,e));e.description=n.description,e.sourceAST=n.sourceAST}function ise(n,e,t){e.preserveEmptyDefinition=n.preserveEmptyDefinition;let i=ON(n,e);for(let r of n.appliedDirectives)$o(i,r,x9(r,e));switch(e.description=n.description,e.sourceAST=n.sourceAST,n.kind){case"ObjectType":case"InterfaceType":let r=e;for(let u of n.fields()){let p=r.addField(new Rr(u.name));$o(i,u,p),rse(u,p,t)}for(let u of n.interfaceImplementations()){let p=r.addImplementedInterface(u.interface.name);$o(i,u,p)}break;case"UnionType":let a=e;for(let u of n.members()){let p=a.addType(u.type.name);$o(i,u,p)}break;case"EnumType":let o=e;for(let u of n.values){let p=o.addValue(u.name);p.description=u.description,$o(i,u,p),Qh(u,p,t)}break;case"InputObjectType":let s=e;for(let u of n.fields()){let p=s.addField(new _c(u.name));$o(i,u,p),ase(u,p,t)}}}function Qh(n,e,t){n.appliedDirectives.filter(i=>t||!i.name.startsWith("join__")).forEach(i=>x9(i,e))}function x9(n,e){let t=e.applyDirective(n.name,{...n.arguments()});return t.sourceAST=n.sourceAST,t}function rse(n,e,t){let i=Au(n.type,e.schema());e.type=i;for(let r of n.arguments()){let a=Au(r.type,e.schema());IN({source:r,dest:e.addArgument(r.name,a),cloneJoinDirectives:t})}Qh(n,e,t),e.description=n.description,e.sourceAST=n.sourceAST}function ase(n,e,t){let i=Au(n.type,e.schema());e.type=i,e.defaultValue=n.defaultValue,Qh(n,e,t),e.description=n.description,e.sourceAST=n.sourceAST}function Au(n,e){if(n)switch(n.kind){case"ListType":return new Dc(Au(n.ofType,e));case"NonNullType":return new Yi(Au(n.ofType,e));default:return e.type(n.name)}}function IN({source:n,dest:e,copyDirectiveApplications:t=!0,cloneJoinDirectives:i}){let r=Au(n.type,e.schema());e.type=r,e.defaultValue=n.defaultValue,t&&Qh(n,e,i),e.description=n.description,e.sourceAST=n.sourceAST}function wN(n,e,t=!0,i){let r=n.locations;if(i&&(r=r.filter(a=>i(a))),r.length!==0){for(let a of n.arguments()){let o=Au(a.type,e.schema());IN({source:a,dest:e.addArgument(a.name,o),copyDirectiveApplications:t,cloneJoinDirectives:!0})}e.repeatable=n.repeatable,e.addLocations(...r),e.sourceAST=n.sourceAST,e.description=n.description}}function ose(n){return n instanceof Rr}w.isFieldDefinition=ose});var wc=T(qo=>{"use strict";f();c();Object.defineProperty(qo,"__esModule",{value:!0});qo.builtTypeReference=qo.buildSchemaFromAST=qo.buildSchema=void 0;var Tu=Pe(),sse=Nr(),Mo=It(),Br=zn(),RN=Rh();function k9(n){return n?(0,sse.valueFromASTUntyped)(n):void 0}function use(n,e){return $N((0,Tu.parse)(n),e)}qo.buildSchema=use;function $N(n,e){var t;let i=[],r=new Mo.Schema(e?.blueprint),{directiveDefinitions:a,typeDefinitions:o,typeExtensions:s,schemaDefinitions:u,schemaExtensions:p}=pse(n,r,i);for(let d of o)d.kind===Tu.Kind.ENUM_TYPE_DEFINITION&&kN(d,r.type(d.name.value));for(let d of s)if(d.kind===Tu.Kind.ENUM_TYPE_EXTENSION){let m=r.type(d.name.value).newExtension();m.sourceAST=d,kN(d,r.type(d.name.value),m)}for(let d of a)mse(d,r.directive(d.name.value),i);for(let d of u)LN(d,r.schemaDefinition,i);for(let d of p)LN(d,r.schemaDefinition,i,r.schemaDefinition.newExtension());i.push(...r.blueprint.onDirectiveDefinitionAndSchemaParsed(r));for(let d of a)yse(d,r.directive(d.name.value),i);for(let d of o)xN(d,r.type(d.name.value),r.blueprint,i);for(let d of s){let l=r.type(d.name.value),m=l.newExtension();m.sourceAST=d,xN(d,l,r.blueprint,i,m)}if(i.length>0)throw(0,Mo.ErrGraphQLValidationFailed)(i);return(!((t=e?.validate)!==null&&t!==void 0)||t)&&r.validate(),r}qo.buildSchemaFromAST=$N;function pse(n,e,t){let i=[],r=[],a=[],o=[],s=[];for(let u of n.definitions)switch(u.kind){case"OperationDefinition":case"FragmentDefinition":t.push(Br.ERRORS.INVALID_GRAPHQL.err("Invalid executable definition found while building schema",{nodes:u}));continue;case"SchemaDefinition":o.push(u),e.schemaDefinition.preserveEmptyDefinition=!0;break;case"SchemaExtension":s.push(u);break;case"ScalarTypeDefinition":case"ObjectTypeDefinition":case"InterfaceTypeDefinition":case"UnionTypeDefinition":case"EnumTypeDefinition":case"InputObjectTypeDefinition":if(RN.introspectionTypeNames.includes(u.name.value))continue;r.push(u);let p=e.type(u.name.value);if(!p||p.isBuiltIn)p=e.addType((0,Mo.newNamedType)(BN(u.kind),u.name.value));else if(p.preserveEmptyDefinition)throw Br.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(RN.introspectionTypeNames.includes(u.name.value))continue;a.push(u);let d=e.type(u.name.value);if(!d)e.addType((0,Mo.newNamedType)(BN(u.kind),u.name.value));else if(d.isBuiltIn)throw Br.ERRORS.INVALID_GRAPHQL.err(`Cannot extend built-in type "${u.name.value}"`);break;case"DirectiveDefinition":i.push(u),e.addDirectiveDefinition(u.name.value);break}return{directiveDefinitions:i,typeDefinitions:r,typeExtensions:a,schemaDefinitions:o,schemaExtensions:s}}function BN(n){let e=n.endsWith("Definition")?"Definition":"Extension";return n.slice(0,n.length-e.length)}function dse(n,e){let t=e.type(n.name.value);if(!t)throw Br.ERRORS.INVALID_GRAPHQL.err(`Unknown type ${n.name.value}`,{nodes:n});return t}function Kh(n,e,t){try{n()}catch(i){let r=(0,Br.errorCauses)(i);if(r)for(let a of r){let o=a.nodes?[e,...a.nodes]:e;t.push((0,Br.withModifiedErrorNodes)(a,o))}else throw i}}function LN(n,e,t,i){var r,a;for(let o of(r=n.operationTypes)!==null&&r!==void 0?r:[])Kh(()=>e.setRoot(o.operation,o.type.name.value).setOfExtension(i),o,t);e.sourceAST=n,"description"in n&&(e.description=(a=n.description)===null||a===void 0?void 0:a.value),bu(n,e,t,i)}function bu(n,e,t,i){var r;for(let a of(r=n.directives)!==null&&r!==void 0?r:[])Kh(()=>{if(e!==e.schema().schemaDefinition||a.name.value==="link"||!e.schema().blueprint.applyDirectivesAfterParsing()){let o=e.applyDirective(a.name.value,PN(a));o.setOfExtension(i),o.sourceAST=a}else e.addUnappliedDirective({extension:i,directive:a,args:PN(a),nameOrDef:a.name.value})},a,t)}function PN(n){var e;let t=Object.create(null);for(let i of(e=n.arguments)!==null&&e!==void 0?e:[])t[i.name.value]=k9(i.value);return t}function xN(n,e,t,i,r){var a,o,s,u,p;switch(n.kind){case"EnumTypeDefinition":case"EnumTypeExtension":let d=e;for(let v of(a=n.values)!==null&&a!==void 0?a:[])bu(v,d.value(v.name.value),i);break;case"ObjectTypeDefinition":case"ObjectTypeExtension":case"InterfaceTypeDefinition":case"InterfaceTypeExtension":let l=e;for(let v of(o=n.fields)!==null&&o!==void 0?o:[]){if(t.ignoreParsedField(e,v.name.value))continue;let g=l.addField(v.name.value);g.setOfExtension(r),lse(v,g,i)}for(let v of(s=n.interfaces)!==null&&s!==void 0?s:[])Kh(()=>{let g=v.name.value;if(l.implementsInterface(g))throw Br.ERRORS.INVALID_GRAPHQL.err(`Type "${e}" can only implement "${g}" once.`);l.addImplementedInterface(g).setOfExtension(r)},v,i);break;case"UnionTypeDefinition":case"UnionTypeExtension":let m=e;for(let v of(u=n.types)!==null&&u!==void 0?u:[])Kh(()=>{let g=v.name.value;if(m.hasTypeMember(g))throw Br.ERRORS.INVALID_GRAPHQL.err(`Union type "${m}" can only include type "${g}" once.`);m.addType(g).setOfExtension(r)},v,i);break;case"InputObjectTypeDefinition":case"InputObjectTypeExtension":let y=e;for(let v of(p=n.fields)!==null&&p!==void 0?p:[]){let g=y.addField(v.name.value);g.setOfExtension(r),hse(v,g,i)}break}bu(n,e,i,r),$9(n,e)}function kN(n,e,t){var i;let r=e;for(let a of(i=n.values)!==null&&i!==void 0?i:[]){let o=r.addValue(a.name.value);a.description&&(o.description=a.description.value),o.setOfExtension(t)}$9(n,e)}function $9(n,e){n.description&&(e.description=n.description.value),e.sourceAST=n}function lse(n,e,t){var i,r;let a=qp(n.type,e.schema());e.type=cse(a,e.coordinate,n,t);for(let o of(i=n.arguments)!==null&&i!==void 0?i:[])jN(o,e.addArgument(o.name.value),t,!0);bu(n,e,t),e.description=(r=n.description)===null||r===void 0?void 0:r.value,e.sourceAST=n}function cse(n,e,t,i){if((0,Mo.isOutputType)(n))return n;i.push(Br.ERRORS.INVALID_GRAPHQL.err(`The type of "${e}" must be Output Type but got "${n}", a ${n.kind}.`,{nodes:t}))}function VN(n,e,t,i){if((0,Mo.isInputType)(n))return n;i.push(Br.ERRORS.INVALID_GRAPHQL.err(`The type of "${e}" must be Input Type but got "${n}", a ${n.kind}.`,{nodes:t}))}function fse(n,e){return qp((0,Tu.parseType)(n),e)}qo.builtTypeReference=fse;function qp(n,e){switch(n.kind){case Tu.Kind.LIST_TYPE:return new Mo.ListType(qp(n.type,e));case Tu.Kind.NON_NULL_TYPE:let t=qp(n.type,e);if(t.kind==Tu.Kind.NON_NULL_TYPE)throw Br.ERRORS.INVALID_GRAPHQL.err("Cannot apply the non-null operator (!) twice to the same type",{nodes:n});return new Mo.NonNullType(t);default:return dse(n,e)}}function jN(n,e,t,i){var r;let a=qp(n.type,e.schema());e.type=VN(a,e.coordinate,n,t),e.defaultValue=k9(n.defaultValue),i&&bu(n,e,t),e.description=(r=n.description)===null||r===void 0?void 0:r.value,e.sourceAST=n}function hse(n,e,t){var i;let r=qp(n.type,e.schema());e.type=VN(r,e.coordinate,n,t),e.defaultValue=k9(n.defaultValue),bu(n,e,t),e.description=(i=n.description)===null||i===void 0?void 0:i.value,e.sourceAST=n}function mse(n,e,t){var i;for(let a of(i=n.arguments)!==null&&i!==void 0?i:[])jN(a,e.addArgument(a.name.value),t,!1);e.repeatable=n.repeatable;let r=n.locations.map(({value:a})=>a);e.addLocations(...r),$9(n,e)}function yse(n,e,t){var i;for(let r of(i=n.arguments)!==null&&i!==void 0?i:[])bu(r,e.argument(r.name.value),t)}});var UN=T(Hh=>{"use strict";f();c();Object.defineProperty(Hh,"__esModule",{value:!0});Hh.KnownTypeNamesInFederationRule=void 0;var Su=Pe(),qN=Zs();function vse(n){let e=n.getSchema(),t=e?e.getTypeMap():Object.create(null),i=Object.create(null);for(let a of n.getDocument().definitions)((0,Su.isTypeDefinitionNode)(a)||(0,Su.isTypeExtensionNode)(a))&&(i[a.name.value]=!0);let r=Object.keys(t).concat(Object.keys(i));return{NamedType(a,o,s,u,p){var d;let l=a.name.value;if(!t[l]&&!i[l]){let m=(d=p[2])!==null&&d!==void 0?d:s,y=m!=null&&gse(m);if(y&&Ese(l))return;let v=(0,qN.suggestionList)(l,y?MN.concat(r):r);n.reportError(new Su.GraphQLError(`Unknown type "${l}".`+(0,qN.didYouMean)(v),{nodes:a}))}}}}Hh.KnownTypeNamesInFederationRule=vse;var MN=[...Su.specifiedScalarTypes,...Su.introspectionTypes].map(n=>n.name);function Ese(n){return MN.indexOf(n)!==-1}function gse(n){return!Array.isArray(n)&&((0,Su.isTypeSystemDefinitionNode)(n)||(0,Su.isTypeSystemExtensionNode)(n))}});var j9=T(V9=>{"use strict";f();c();Object.defineProperty(V9,"__esModule",{value:!0});V9.default=Tse;var zh,Ase=new Uint8Array(16);function Tse(){if(!zh&&(zh=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!zh))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zh(Ase)}});var GN=T(Wh=>{"use strict";f();c();Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=void 0;var bse=/^(?:[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;Wh.default=bse});var Rc=T(Yh=>{"use strict";f();c();Object.defineProperty(Yh,"__esModule",{value:!0});Yh.default=void 0;var Sse=Dse(GN());function Dse(n){return n&&n.__esModule?n:{default:n}}function _se(n){return typeof n=="string"&&Sse.default.test(n)}var Fse=_se;Yh.default=Fse});var Lc=T(Bc=>{"use strict";f();c();Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=void 0;Bc.unsafeStringify=QN;var Cse=Nse(Rc());function Nse(n){return n&&n.__esModule?n:{default:n}}var Nn=[];for(let n=0;n<256;++n)Nn.push((n+256).toString(16).slice(1));function QN(n,e=0){return(Nn[n[e+0]]+Nn[n[e+1]]+Nn[n[e+2]]+Nn[n[e+3]]+"-"+Nn[n[e+4]]+Nn[n[e+5]]+"-"+Nn[n[e+6]]+Nn[n[e+7]]+"-"+Nn[n[e+8]]+Nn[n[e+9]]+"-"+Nn[n[e+10]]+Nn[n[e+11]]+Nn[n[e+12]]+Nn[n[e+13]]+Nn[n[e+14]]+Nn[n[e+15]]).toLowerCase()}function Ose(n,e=0){let t=QN(n,e);if(!(0,Cse.default)(t))throw TypeError("Stringified UUID is invalid");return t}var Ise=Ose;Bc.default=Ise});var HN=T(Jh=>{"use strict";f();c();Object.defineProperty(Jh,"__esModule",{value:!0});Jh.default=void 0;var wse=Bse(j9()),Rse=Lc();function Bse(n){return n&&n.__esModule?n:{default:n}}var KN,q9,M9=0,U9=0;function Lse(n,e,t){let i=e&&t||0,r=e||new Array(16);n=n||{};let a=n.node||KN,o=n.clockseq!==void 0?n.clockseq:q9;if(a==null||o==null){let m=n.random||(n.rng||wse.default)();a==null&&(a=KN=[m[0]|1,m[1],m[2],m[3],m[4],m[5]]),o==null&&(o=q9=(m[6]<<8|m[7])&16383)}let s=n.msecs!==void 0?n.msecs:Date.now(),u=n.nsecs!==void 0?n.nsecs:U9+1,p=s-M9+(u-U9)/1e4;if(p<0&&n.clockseq===void 0&&(o=o+1&16383),(p<0||s>M9)&&n.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");M9=s,U9=u,q9=o,s+=122192928e5;let d=((s&268435455)*1e4+u)%4294967296;r[i++]=d>>>24&255,r[i++]=d>>>16&255,r[i++]=d>>>8&255,r[i++]=d&255;let l=s/4294967296*1e4&268435455;r[i++]=l>>>8&255,r[i++]=l&255,r[i++]=l>>>24&15|16,r[i++]=l>>>16&255,r[i++]=o>>>8|128,r[i++]=o&255;for(let m=0;m<6;++m)r[i+m]=a[m];return e||(0,Rse.unsafeStringify)(r)}var Pse=Lse;Jh.default=Pse});var G9=T(Xh=>{"use strict";f();c();Object.defineProperty(Xh,"__esModule",{value:!0});Xh.default=void 0;var xse=kse(Rc());function kse(n){return n&&n.__esModule?n:{default:n}}function $se(n){if(!(0,xse.default)(n))throw TypeError("Invalid UUID");let e,t=new Uint8Array(16);return t[0]=(e=parseInt(n.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t[4]=(e=parseInt(n.slice(9,13),16))>>>8,t[5]=e&255,t[6]=(e=parseInt(n.slice(14,18),16))>>>8,t[7]=e&255,t[8]=(e=parseInt(n.slice(19,23),16))>>>8,t[9]=e&255,t[10]=(e=parseInt(n.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 Vse=$se;Xh.default=Vse});var Q9=T(Du=>{"use strict";f();c();Object.defineProperty(Du,"__esModule",{value:!0});Du.URL=Du.DNS=void 0;Du.default=Gse;var jse=Lc(),qse=Mse(G9());function Mse(n){return n&&n.__esModule?n:{default:n}}function Use(n){n=unescape(encodeURIComponent(n));let e=[];for(let t=0;t{"use strict";f();c();Object.defineProperty(em,"__esModule",{value:!0});em.default=void 0;function Qse(n){if(typeof n=="string"){let e=unescape(encodeURIComponent(n));n=new Uint8Array(e.length);for(let t=0;t>5]>>>r%32&255,o=parseInt(i.charAt(a>>>4&15)+i.charAt(a&15),16);e.push(o)}return e}function YN(n){return(n+64>>>9<<4)+14+1}function Hse(n,e){n[e>>5]|=128<>5]|=(n[i/8]&255)<>16)+(e>>16)+(t>>16)<<16|t&65535}function Wse(n,e){return n<>>32-e}function Zh(n,e,t,i,r,a){return Uo(Wse(Uo(Uo(e,n),Uo(i,a)),r),t)}function kn(n,e,t,i,r,a,o){return Zh(e&t|~e&i,n,e,r,a,o)}function $n(n,e,t,i,r,a,o){return Zh(e&i|t&~i,n,e,r,a,o)}function Vn(n,e,t,i,r,a,o){return Zh(e^t^i,n,e,r,a,o)}function jn(n,e,t,i,r,a,o){return Zh(t^(e|~i),n,e,r,a,o)}var Yse=Qse;em.default=Yse});var ZN=T(tm=>{"use strict";f();c();Object.defineProperty(tm,"__esModule",{value:!0});tm.default=void 0;var Jse=XN(Q9()),Xse=XN(JN());function XN(n){return n&&n.__esModule?n:{default:n}}var Zse=(0,Jse.default)("v3",48,Xse.default),eue=Zse;tm.default=eue});var eO=T(nm=>{"use strict";f();c();Object.defineProperty(nm,"__esModule",{value:!0});nm.default=void 0;var tue=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),nue={randomUUID:tue};nm.default=nue});var iO=T(im=>{"use strict";f();c();Object.defineProperty(im,"__esModule",{value:!0});im.default=void 0;var tO=nO(eO()),iue=nO(j9()),rue=Lc();function nO(n){return n&&n.__esModule?n:{default:n}}function aue(n,e,t){if(tO.default.randomUUID&&!e&&!n)return tO.default.randomUUID();n=n||{};let i=n.random||(n.rng||iue.default)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){t=t||0;for(let r=0;r<16;++r)e[t+r]=i[r];return e}return(0,rue.unsafeStringify)(i)}var oue=aue;im.default=oue});var rO=T(rm=>{"use strict";f();c();Object.defineProperty(rm,"__esModule",{value:!0});rm.default=void 0;function sue(n,e,t,i){switch(n){case 0:return e&t^~e&i;case 1:return e^t^i;case 2:return e&t^e&i^t&i;case 3:return e^t^i}}function K9(n,e){return n<>>32-e}function uue(n){let e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof n=="string"){let o=unescape(encodeURIComponent(n));n=[];for(let s=0;s>>0;m=l,l=d,d=K9(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]+m>>>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 pue=uue;rm.default=pue});var oO=T(am=>{"use strict";f();c();Object.defineProperty(am,"__esModule",{value:!0});am.default=void 0;var due=aO(Q9()),lue=aO(rO());function aO(n){return n&&n.__esModule?n:{default:n}}var cue=(0,due.default)("v5",80,lue.default),fue=cue;am.default=fue});var sO=T(om=>{"use strict";f();c();Object.defineProperty(om,"__esModule",{value:!0});om.default=void 0;var hue="00000000-0000-0000-0000-000000000000";om.default=hue});var uO=T(sm=>{"use strict";f();c();Object.defineProperty(sm,"__esModule",{value:!0});sm.default=void 0;var mue=yue(Rc());function yue(n){return n&&n.__esModule?n:{default:n}}function vue(n){if(!(0,mue.default)(n))throw TypeError("Invalid UUID");return parseInt(n.slice(14,15),16)}var Eue=vue;sm.default=Eue});var H9=T(Lr=>{"use strict";f();c();Object.defineProperty(Lr,"__esModule",{value:!0});Object.defineProperty(Lr,"NIL",{enumerable:!0,get:function(){return Sue.default}});Object.defineProperty(Lr,"parse",{enumerable:!0,get:function(){return Cue.default}});Object.defineProperty(Lr,"stringify",{enumerable:!0,get:function(){return Fue.default}});Object.defineProperty(Lr,"v1",{enumerable:!0,get:function(){return gue.default}});Object.defineProperty(Lr,"v3",{enumerable:!0,get:function(){return Aue.default}});Object.defineProperty(Lr,"v4",{enumerable:!0,get:function(){return Tue.default}});Object.defineProperty(Lr,"v5",{enumerable:!0,get:function(){return bue.default}});Object.defineProperty(Lr,"validate",{enumerable:!0,get:function(){return _ue.default}});Object.defineProperty(Lr,"version",{enumerable:!0,get:function(){return Due.default}});var gue=Xa(HN()),Aue=Xa(ZN()),Tue=Xa(iO()),bue=Xa(oO()),Sue=Xa(sO()),Due=Xa(uO()),_ue=Xa(Rc()),Fue=Xa(Lc()),Cue=Xa(G9());function Xa(n){return n&&n.__esModule?n:{default:n}}});var cm=T(Ee=>{"use strict";f();c();Object.defineProperty(Ee,"__esModule",{value:!0});Ee.hasSelectionWithPredicate=Ee.operationToDocument=Ee.parseOperationAST=Ee.parseSelectionSet=Ee.parseOperation=Ee.operationFromDocument=Ee.FragmentSelection=Ee.FieldSelection=Ee.selectionOfElement=Ee.selectionSetOfElement=Ee.selectionSetOf=Ee.allFieldDefinitionsInSelectionSet=Ee.MutableSelectionSet=Ee.SelectionSetUpdates=Ee.SelectionSet=Ee.ContainsResult=Ee.NamedFragments=Ee.NamedFragmentDefinition=Ee.Operation=Ee.concatOperationPaths=Ee.conditionalDirectivesInOperationPath=Ee.sameOperationPaths=Ee.operationPathToStringPath=Ee.FragmentElement=Ee.Field=Ee.DEFAULT_MIN_USAGES_TO_OPTIMIZE=void 0;var ot=Pe(),re=It(),Mp=_u(),um=zn(),Aa=_r(),ht=Kt(),Ea=Nr(),Nue=H9();Ee.DEFAULT_MIN_USAGES_TO_OPTIMIZE=2;function Pt(n,e,t){if(!n)throw um.ERRORS.INVALID_GRAPHQL.err(e(),{nodes:t})}function cO(n,e){return(0,re.sameDirectiveApplications)(n.appliedDirectives,e.appliedDirectives)}var pm=class extends re.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,i]of this.attachments.entries())e.addAttachment(t,i)}keyForDirectives(){return this.appliedDirectives.map(e=>Oue(e)).join(" ")}},Xi=class extends pm{constructor(e,t,i,r){super(e.schema(),i),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,re.isLeafType)(this.baseType())}baseType(){return(0,re.baseType)(this.definition.type)}copy(){let e=new Xi(this.definition,this.args,this.appliedDirectives,this.alias);return this.copyAttachmentsTo(e),e}withUpdatedArguments(e){let t=new Xi(this.definition,{...this.args,...e},this.appliedDirectives,this.alias);return this.copyAttachmentsTo(t),t}withUpdatedDefinition(e){let t=new Xi(e,this.args,this.appliedDirectives,this.alias);return this.copyAttachmentsTo(t),t}withUpdatedAlias(e){let t=new Xi(this.definition,this.args,this.appliedDirectives,e);return this.copyAttachmentsTo(t),t}withUpdatedDirectives(e){let t=new Xi(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,i])=>({kind:ot.Kind.ARGUMENT,name:{kind:ot.Kind.NAME,value:t},value:(0,Ea.valueToAST)(i,this.definition.argument(t).type)}))}selects(e,t=!1,i,r){if((0,ht.assert)(t||i,"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 o=this.argumentValue(a.name);if(o===void 0){if(a.defaultValue===void 0&&!(0,re.isNullableType)(a.type)&&(!r||!r?.includes(a.name)))return!1}else if(!t&&!(0,Ea.isValidValue)(o,a,i))return!1}if(!t&&this.args){for(let[a,o]of Object.entries(this.args))if(o!==null&&e.argument(a)===void 0)return!1}return!0}validate(e,t){var i;Pt(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),o=!1,s=this.definition.schema(),u=(i=(0,Mp.federationMetadata)(s))===null||i===void 0?void 0:i.fromContextDirective();u&&(0,Mp.isFederationDirectiveDefinedInSchema)(u)&&(o=r.appliedDirectivesOf(u).length>0),a===void 0?Pt(o&&!t||r.defaultValue!==void 0||(0,re.isNullableType)(r.type),()=>`Missing mandatory value for argument "${r.name}" of field "${this.definition.coordinate}" in selection "${this}"`):Pt(o&&!t||(0,Ea.isValidValue)(a,r,e),()=>`Invalid value ${(0,Ea.valueToString)(a)} for argument "${r.coordinate}" of type ${r.type}`)}if(this.args)for(let[r,a]of Object.entries(this.args))Pt(a===null||this.definition.argument(r)!==void 0,()=>`Unknown argument "${r}" in field application of "${this.name}"`)}rebaseOn({parentType:e,errorIfCannotRebase:t}){let i=this.definition.parent;if(e===i)return this;if(this.name===re.typenameFieldName)if((0,re.possibleRuntimeTypes)(e).some(o=>(0,Mp.isInterfaceObjectType)(o))){Pt(!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)){Pt(!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,re.isInterfaceType)(t)||(0,Mp.isInterfaceObjectType)(t)}typeIfAddedTo(e){var t,i,r;let a=this.definition.parent;if(e==a)return this.definition.type;if(this.name===re.typenameFieldName)return(t=e.typenameField())===null||t===void 0?void 0:t.type;let o=this.canRebaseOn(e)?(i=e.field(this.name))===null||i===void 0?void 0:i.type:void 0,s=(r=(0,Mp.federationMetadata)(e.schema()))===null||r===void 0?void 0:r.fromContextDirective();if(s&&(0,Mp.isFederationDirectiveDefinedInSchema)(s)){let u=e.field(this.name);if(u&&u.arguments().some(p=>p.appliedDirectivesOf(s).length>0&&(!this.args||this.args[p.name]===void 0)))return}return o}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,Ea.argumentsEquals)(this.args,e.args):!e.args)&&cO(this,e)}toString(){let e=this.alias?this.alias+": ":"",t=this.args?Object.entries(this.args):[],i=t.length===0?"":"("+t.map(([r,a])=>{var o;return`${r}: ${(0,Ea.valueToString)(a,(o=this.definition.argument(r))===null||o===void 0?void 0:o.type)}`}).join(", ")+")";return e+this.name+i+this.appliedDirectivesToString()}};Ee.Field=Xi;function Oue(n,e=["defer"]){if(e.includes(n.name))return(0,Nue.v1)();let t=Object.entries(n.arguments()).filter(([r,a])=>a!==void 0);t.sort(([r],[a])=>r.localeCompare(a));let i=t.length==0?"":"("+t.map(([r,a])=>`${r}: ${(0,Ea.valueToString)(a,n.argumentType(r))}`).join(", ")+")";return`@${n.name}${i}`}var Zi=class extends pm{constructor(e,t,i){super(e.schema(),i),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 i=new Zi(e,t?.name,this.appliedDirectives);return this.copyAttachmentsTo(i),i}withUpdatedDirectives(e){let t=new Zi(this.sourceType,this.typeCondition,e);return this.copyAttachmentsTo(t),t}rebaseOn({parentType:e,errorIfCannotRebase:t}){let i=this.parentType,r=this.typeCondition;if(e===i)return this;let{canRebase:a,rebasedCondition:o}=this.canRebaseOn(e);if(!a){Pt(!t,()=>`Cannot add fragment of condition "${r}" (runtimes: [${(0,re.possibleRuntimeTypes)(r)}]) to parent type "${e}" (runtimes: ${(0,re.possibleRuntimeTypes)(e)})`);return}return this.withUpdatedTypes(e,o)}canRebaseOn(e){if(!this.typeCondition)return{canRebase:!0,rebasedCondition:void 0};let t=e.schema().type(this.typeCondition.name);return!t||!(0,re.isCompositeType)(t)||!(0,re.runtimeTypesIntersects)(e,t)?{canRebase:!1}:{canRebase:!0,rebasedCondition:t}}castedTypeIfAddedTo(e){if(e==this.parentType)return this.castedType();let{canRebase:t,rebasedCondition:i}=this.canRebaseOn(e);return t?i||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 i=new Zi(this.sourceType,this.typeCondition,t);return this.copyAttachmentsTo(i),i}withNormalizedDefer(e){let t=this.deferDirectiveArgs();if(!t)return this;let i,r;if(t.if!==void 0)if(typeof t.if=="boolean")if(t.if)i={...t,if:void 0};else return this.withoutDefer();else r=t.if;let a=t.label;if(a||(a=e.newLabel(),i?i.label=a:i={...t,label:a}),r&&e.registerCondition(a,r),!i)return this;let o=this.schema().deferDirective(),s=this.appliedDirectives.filter(p=>p.name!==o.name).concat(new re.Directive(o.name,i)),u=new Zi(this.sourceType,this.typeCondition,s);return this.copyAttachmentsTo(u),u}equals(e){var t,i;return this===e?!0:e.kind==="FragmentElement"&&((t=this.typeCondition)===null||t===void 0?void 0:t.name)===((i=e.typeCondition)===null||i===void 0?void 0:i.name)&&cO(this,e)}toString(){return"..."+(this.typeCondition?" on "+this.typeCondition:"")+this.appliedDirectivesToString()}};Ee.FragmentElement=Zi;function Iue(n){return n.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}`})}Ee.operationPathToStringPath=Iue;function wue(n,e){if(n===e)return!0;if(n.length!==e.length)return!1;for(let t=0;te.appliedDirectives).flat().filter(e=>(0,re.isConditionalDirective)(e))}Ee.conditionalDirectivesInOperationPath=fO;function Rue(n,e){if(n.length===0)return e;if(e.length===0)return n;let t=n[n.length-1],i=fO(n),r=e[0];for(;r&&Bue(t,r,i);)e=e.slice(1),r=e[0];return n.concat(e)}Ee.concatOperationPaths=Rue;function Bue(n,e,t){let i=n.kind==="Field"?n.baseType():n.typeCondition;return!!i&&e.kind==="FragmentElement"&&!!e.typeCondition&&(e.appliedDirectives.length===0||(0,re.isDirectiveApplicationsSubset)(t,e.appliedDirectives))&&(0,Aa.isSubtype)(e.typeCondition,i)}function Lue(n){let e=new ht.SetMultiMap;for(let t of n.definitions())for(let i of t.fragmentUsages().keys())e.add(i,t.name);return e}function Pue(n,e,t){let i=Array.from(n.entries()).filter(([r,a])=>a>=t).map(([r,a])=>r);for(;i.length>0;){let r=[];for(let a of i){n.delete(a);let o=e.get(a).fragmentUsages();for(let[s,u]of o.entries()){let p=n.get(s);if(p!==void 0){let d=p+u;n.set(s,d),p=t&&r.push(s)}}}i=r}}function xue(n,e,t){let i=new Map;if(n.collectUsedFragmentNames(i),i.size===0)return null;for(let s of e.definitions())i.get(s.name)===void 0&&i.set(s.name,0);let r=Lue(e),a=new Set,o=!0;for(;o;){o=!1,Pue(i,e,t);for(let s of(0,ht.mapKeys)(i)){let u=i.get(s);if(u===0)continue;if(u>=t){o=!0;break}let p=r.get(s);if(!p||[...p].every(d=>a.has(d)||!i.get(d))){a.add(s),i.delete(s),o=!0;let d=e.get(s).fragmentUsages();for(let[l,m]of d.entries()){let y=i.get(l);y!==void 0&&i.set(l,y+u*m)}}}}for(let s of i.keys())a.add(s);return a.size===0?e:e.filter(s=>!a.has(s.name))}var Qo=class extends re.DirectiveTargetElement{constructor(e,t,i,r,a,o,s=[]){super(e,s),this.rootKind=t,this.selectionSet=i,this.variableDefinitions=r,this.fragments=a,this.name=o}withUpdatedSelectionSet(e){return this.selectionSet===e?this:new Qo(this.schema(),this.rootKind,e,this.variableDefinitions,this.fragments,this.name,this.appliedDirectives)}collectUndefinedVariablesFromFragments(e){let t=new re.VariableCollector;for(let i of e.definitions())i.selectionSet.usedVariables().forEach(r=>{this.variableDefinitions.definition(r)||t.add(r)});return t.variables()}withUpdatedSelectionSetAndFragments(e,t,i){if(this.selectionSet===e&&t===this.fragments)return this;let r=this.variableDefinitions;if(i&&t){let a=this.collectUndefinedVariablesFromFragments(t);a.length>0&&(r=new re.VariableDefinitions,r.addAll(this.variableDefinitions),r.addAll(i.filter(a)))}return new Qo(this.schema(),this.rootKind,e,r,t,this.name,this.appliedDirectives)}optimize(e,t=Ee.DEFAULT_MIN_USAGES_TO_OPTIMIZE,i){if((0,ht.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=xue(r,e,t);if(a!==null&&a?.size!==e.size&&(r=r.expandFragments(a),r=r.normalize({parentType:r.parentType}),a)){let o;do{o=a;let s=new Map;r.collectUsedFragmentNames(s),a.collectUsedFragmentNames(s),a=a.filter(u=>{var p;return((p=s.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 Ta(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[i,r]of t.entries()){let a=e.get(i);e.set(i,a?a+r:r)}}collectVariables(e){this.selectionSet.collectVariables(e),this.collectVariablesInAppliedDirectives(e)}toFragmentDefinitionNode(){return{kind:ot.Kind.FRAGMENT_DEFINITION,name:{kind:ot.Kind.NAME,value:this.name},typeCondition:{kind:ot.Kind.NAMED_TYPE,name:{kind:ot.Kind.NAME,value:this.typeCondition.name}},selectionSet:this.selectionSet.toSelectionSetNode()}}canApplyDirectlyAtType(e){if((0,Aa.sameType)(e,this.typeCondition))return!0;if(!(0,re.isAbstractType)(this.typeCondition))return!1;let t=(0,re.possibleRuntimeTypes)(this.typeCondition),i=(0,re.possibleRuntimeTypes)(e);return t.lengtht.some(a=>(0,Aa.sameType)(r,a)))?!1:(0,re.isObjectType)(e)||(0,re.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(),i=t.normalize({parentType:e});if(!(0,re.isObjectType)(this.typeCondition)){let o=Za.build(t);return{selectionSet:i,validator:o}}let r=t.minus(i),a=r.isEmpty()?void 0:Za.build(r);return{selectionSet:i,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 Xn&&e.add(t.namedFragment.name);return e}toString(e){return`fragment ${this.name} on ${this.typeCondition}${this.appliedDirectivesToString()} ${this.selectionSet.toString(!1,!0,e)}`}};Ee.NamedFragmentDefinition=Ta;var Ho=class{constructor(){this.fragments=new ht.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 um.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 Ho;for(let i of this.fragments.values())t.fragments.set(i.name,e(i));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 i=new Set,r=new Ho;for(;t.size>0;)for(let[a,o]of t)if(o.dependsOn.every(s=>r.has(s)||i.has(s))){let s=e(o.fragment,r);t.delete(a),s?r.add(s):i.add(a);break}return r.isEmpty()?void 0:r}mapToExpandedSelectionSets(e){return this.mapInDependencyOrder((t,i)=>{let r=e(t.selectionSet.expandFragments().normalize({parentType:t.typeCondition}));if(!r)return;let a=r.optimize(i);return t.withUpdatedSelectionSet(a)})}rebaseOn(e){return this.mapInDependencyOrder((t,i)=>{let r=e.type(t.selectionSet.parentType.name);if(!r||!(0,re.isCompositeType)(r))return;let a=t.selectionSet.rebaseOn({parentType:r,fragments:i,errorIfCannotRebase:!1});return a=a.normalize({parentType:r}),a.isWorthUsing()?new Ta(e,t.name,r).setSelectionSet(a):void 0})}filter(e){return this.mapInDependencyOrder((t,i)=>{if(e(t)){let r=t.selectionSet.expandFragments(i);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(` `)}};Ee.NamedFragments=Ho;var z9=class{constructor(){this.index=0,this.assignedLabels=new Set,this.deferConditions=new ht.SetMultiMap,this.usedLabels=new Set}init(e){let t=!1,i=!1,r=e.selections().concat();for(;r.length>0;){let a=r.pop();if(a.kind==="FragmentSelection"){let o=a.element.deferDirectiveArgs();o&&(i=!0,(!o.label||o.if!==void 0)&&(t=!0),o.label&&this.usedLabels.add(o.label))}a.selectionSet&&a.selectionSet.selections().forEach(o=>r.push(o))}return{hasDefers:i,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)}},Jn;(function(n){n[n.NOT_CONTAINED=0]="NOT_CONTAINED",n[n.STRICTLY_CONTAINED=1]="STRICTLY_CONTAINED",n[n.EQUAL=2]="EQUAL"})(Jn||(Ee.ContainsResult=Jn={}));var ba=class{constructor(e,t=new Map){this.parentType=e,this._keyedSelections=t,this._selections=(0,ht.mapValues)(t)}minimizeSelectionSet(e=new Ho,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 o=`on${r.element.typeCondition}`+r.selectionSet.selections().length,s=t.get(o);if(s){let l=s.find(([m])=>m.equals(r.selectionSet));if(l)return new Xn(this.parentType,e,l[1],[])}let[u]=r.selectionSet.minimizeSelectionSet(e,t),p=t.get(o),d=new Ta(this.parentType.schema(),`_generated_${o}_${(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(o,[[r.selectionSet,d]]),new Xn(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 i=0;ii.optimize(e,t))}expandFragments(e){return this.lazyMap(t=>t.expandFragments(e))}normalize({parentType:e,recursive:t}){return this.lazyMap(i=>i.normalize({parentType:e,recursive:t}),{parentType:e})}lazyMap(e,t){var i;let r=this.selections(),a;for(let o=0;ot.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 i;return((i=t.selectionSet)===null||i===void 0?void 0:i.isEmpty())!==!0});return e.isEmpty()?void 0:e}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i}){if(this.parentType===e)return this;let r=new Map;for(let a of this.selections()){let o=a.rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i});o&&r.set(a.key(),o)}return new ba(e,r)}equals(e){if(this===e)return!0;if(this._selections.length!==e._selections.length)return!1;for(let[t,i]of this._keyedSelections){let r=e._keyedSelections.get(t);if(!r||!i.equals(r))return!1}return!0}contains(e,t){var i;let r=(i=t?.ignoreMissingTypename)!==null&&i!==void 0?i:!1;if(e._selections.length>this._selections.length&&(!r||e._selections.length>this._selections.length+1||this.hasTopLevelTypenameField()||!e.hasTopLevelTypenameField()))return Jn.NOT_CONTAINED;let a=!0,o=!1;for(let[s,u]of e._keyedSelections){if(s===re.typenameFieldName&&r){this._keyedSelections.has(re.typenameFieldName)||(o=!0);continue}let p=this._keyedSelections.get(s),d=p?.contains(u,t);if(d===void 0||d===Jn.NOT_CONTAINED)return Jn.NOT_CONTAINED;a&&(a=d===Jn.EQUAL)}return a&&e._selections.length===this._selections.length+(o?1:0)?Jn.EQUAL:Jn.STRICTLY_CONTAINED}containsTopLevelField(e){let t=this._keyedSelections.get(e.key());return!!t&&t.element.equals(e)}minus(e){let t=new di;for(let[i,r]of this._keyedSelections){let a=e._keyedSelections.get(i);if(a){let o=r.minus(a);o&&t.add(o)}else t.add(r)}return t.toSelectionSet(this.parentType)}intersectionWith(e){if(this.isEmpty())return this;if(e.isEmpty())return e;let t=new di;for(let[i,r]of this._keyedSelections){let a=e._keyedSelections.get(i);if(a){let o=r.intersectionWith(a);o&&t.add(o)}}return t.toSelectionSet(this.parentType)}canRebaseOn(e){return this.selections().every(t=>t.canAddTo(e))}validate(e,t=!1){Pt(!this.isEmpty(),()=>"Invalid empty selection set");for(let i of this.selections())i.validate(e,t)}isEmpty(){return this._selections.length===0}toSelectionSetNode(){return this.isEmpty()?{kind:ot.Kind.SELECTION_SET,selections:[{kind:ot.Kind.FIELD,name:{kind:ot.Kind.NAME,value:"..."}}]}:{kind:ot.Kind.SELECTION_SET,selections:Array.from(this.selectionsInPrintOrder(),e=>e.toSelectionNode())}}selectionsInPrintOrder(){let e=i=>i.kind==="FieldSelection"&&i.isPlainTypenameField(),t=this._selections.find(i=>e(i));return t?[t].concat(this.selections().filter(i=>!e(i))):this._selections}toOperationPaths(){return this.toOperationPathsInternal([])}toOperationPathsInternal(e){return this.selections().flatMap(t=>{let i=e.map(r=>r.concat(t.element));return t.selectionSet?t.selectionSet.toOperationPathsInternal(i):i})}forEachElement(e){var t;let i=this.selectionsInReverseOrder().concat();for(;i.length>0;){let r=i.pop();e(r.element),(t=r.selectionSet)===null||t===void 0||t.selectionsInReverseOrder().forEach(a=>i.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,i,r,a,o=!1,s=!0){let u=s?"":void 0,p=!o&&i&&!i.isEmpty()?i.toString(u)+` `:"";if(e=="query"&&!r&&t.isEmpty())return p+this.toString(o,!0,u);let d=r?" "+(r+(t.isEmpty()?"":t.toString())):t.isEmpty()?"":" "+t.toString(),l=(0,re.directivesToString)(a);return p+e+d+l+" "+this.toString(o,!0,u)}toString(e=!0,t=!0,i){if(this.isEmpty())return"{}";if(i===void 0){let r=this.selections().map(a=>a.toString(e)).join(" ");return t?"{ "+r+" }":r}else{let r=t?i+" ":i,a=this.selections().map(o=>o.toString(e,r)).join(` `);return t?`{ `+a+` `+i+"}":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}};Ee.SelectionSet=ba;var di=class{constructor(){this.keyedUpdates=new ht.MultiMap}isEmpty(){return this.keyedUpdates.size===0}add(e){return dm(this.keyedUpdates,e),this}addAtPath(e,t){if(e.length===0)t&&dm(this.keyedUpdates,t);else{if(e.length===1&&!t){let i=e[0];if(i.kind==="Field"&&i.isLeafField()){let r=Pc(i);return this.keyedUpdates.add(r.key(),r),this}}this.keyedUpdates.add(e[0].key(),{path:e,selections:t})}return this}clone(){let e=new di;for(let[t,i]of this.keyedUpdates.entries())e.keyedUpdates.set(t,Array.from(i));return e}clear(){this.keyedUpdates.clear()}toSelectionSet(e,t){return hO(e,this.keyedUpdates,t)}toString(){return`{ `+[...this.keyedUpdates.entries()].map(([e,t])=>{let i=t.map(r=>r instanceof Pr?r.toString():`${r.path} -> ${r.selections}`);return` - ${e}: ${i}`}).join(` `)+` }`}};Ee.SelectionSetUpdates=di;function dm(n,e){if(e instanceof Pr)pO(n,e);else{let t=e instanceof ba?e.selections():e;for(let i of t)pO(n,i)}}function pO(n,e){e instanceof Xn?n.set(e.key(),[e]):n.add(e.key(),e)}function kue(n,e){if(n.schema()===e)return n;let t=e.type(n.name);return(0,ht.assert)(t&&(0,re.isCompositeType)(t),()=>`Expected ${n} to exists and be composite in the rebased schema, but got ${t?.kind}`),t}function dO(n,e){return e.element.appliedDirectives.length===0&&(!e.element.typeCondition||(0,Aa.isSubtype)(kue(e.element.typeCondition,n.schema()),n))}function W9(n,e){if(e instanceof Pr)return e.kind!=="FragmentSelection"||!dO(n,e)?e:W9(n,e.selectionSet);let t=e instanceof ba?e.selections():e,i=[];for(let r of t)if(r.kind==="FragmentSelection"&&dO(n,r)){let a=W9(n,r.selectionSet);if(a instanceof Pr)i.push(a);else for(let o of a)i.push(o)}else i.push(r);return i}function $ue(n,e,t){(0,ht.assert)(e.length>0,"Should not be called without any updates");let i=e[0];if(e.length===1&&i instanceof Pr)return i.rebaseOnOrError({parentType:n,fragments:t});let r=Vue(i).rebaseOnOrError(n),a=r.kind==="Field"?r.baseType():r.castedType();if(!(0,re.isCompositeType)(a))return Pc(r);let o=new ht.MultiMap;for(let s of e)s instanceof Pr?s.selectionSet&&dm(o,s.selectionSet):jue(o,a,s);return Pc(r,hO(a,o,t))}function Vue(n){return n instanceof Pr?n.element:n.path[0]}function jue(n,e,t){if(t.path.length===1){if(!t.selections)return;dm(n,W9(e,t.selections))}else n.add(t.path[1].key(),{path:t.path.slice(1),selections:t.selections})}function hO(n,e,t){let i=new Map;for(let[r,a]of e.entries())i.set(r,$ue(n,a,t));return new ba(n,i)}var Go=class{constructor(e,t,i){this.parentType=e,this._updates=t,this.memoizer=i}static empty(e){return this.emptyWithMemoized(e,()=>({}))}static emptyWithMemoized(e,t){return new Go(e,new di,t)}static of(e){return this.ofWithMemoized(e,()=>({}))}static ofWithMemoized(e,t){let i=new Go(e.parentType,new di,t);return i._updates.add(e),i.computed=e,i}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 Go(this.parentType,this._updates.clone(),this.memoizer);return e.computed=this.computed,e._memoized=this._memoized,e}rebaseOn(e){let t=new Go(e,new di,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()}};Ee.MutableSelectionSet=Go;function que(n){let e=Array.from(n.selections()),t=[];for(;e.length>0;){let i=e.pop();i.kind==="FieldSelection"&&t.push(i.element.definition),i.selectionSet&&e.push(...i.selectionSet.selections())}return t}Ee.allFieldDefinitionsInSelectionSet=que;function Gp(n,e){let t=new Map;return t.set(e.key(),e),new ba(n,t)}Ee.selectionSetOf=Gp;function J9(n,e){return Gp(n.parentType,Pc(n,e))}Ee.selectionSetOfElement=J9;function Pc(n,e){return n.kind==="Field"?new ga(n,e):new xr(n,e)}Ee.selectionOfElement=Pc;var Pr=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:i,validator:r,canUseFullMatchingFragment:a}){let o=i.maybeApplyingDirectlyAtType(e);if(o.length===0)return t;let s=[];for(let l of o){let m=l.expandedSelectionSetAtType(e);if(m.selectionSet.isEmpty()||m.selectionSet.selections().length===1&&m.selectionSet.selections()[0].isTypenameField())continue;let y=t.contains(m.selectionSet,{ignoreMissingTypename:!0});if(y===Jn.EQUAL){if(a(l)){if(!r.checkCanReuseFragmentAndTrackIt(m))continue;return l}l.appliedDirectives.length===0&&s.push({fragment:l,atType:m})}else y===Jn.STRICTLY_CONTAINED&&l.appliedDirectives.length===0&&s.push({fragment:l,atType:m})}if(s.length===0)return t;let u=s.filter(({fragment:l})=>!s.some(m=>m.fragment.includes(l.name))),p=t,d=new di;for(let{fragment:l,atType:m}of u){if(!r.checkCanReuseFragmentAndTrackIt(m))continue;let y=t.minus(m.selectionSet);p=p.intersectionWith(y),d.add(new Xn(e,i,l,[]))}return d.add(p).toSelectionSet(e,i)}},Up=class{constructor(e){this.validators=e}static ofInitial(e){return new Up([e])}forField(e){let t=this.validators.flatMap(i=>i.forField(e));return(0,ht.assert)(t.length>0,`Shoud have found at least one validator for ${e}`),new Up(t)}checkCanReuseFragmentAndTrackIt(e){let t=e.validator;if(!t)return!0;if(!this.validators.every(i=>i.doMergeWith(t)))return!1;if(this.usedSpreadTrimmedPartAtLevel){if(!this.usedSpreadTrimmedPartAtLevel.every(i=>t.doMergeWith(i)))return!1}else this.usedSpreadTrimmedPartAtLevel=[];return this.usedSpreadTrimmedPartAtLevel.push(t),!0}},Za=class{constructor(e){this.byResponseName=e}static build(e){return Za.forLevel(e.fieldsInSet())}static forLevel(e){var t;let i=new Map;for(let{field:a}of e){let o=a.element.responseName(),s=i.get(o);if(s||(s=new Map,i.set(o,s)),a.selectionSet){let u=(t=s.get(a.element))!==null&&t!==void 0?t:[];s.set(a.element,u.concat(a.selectionSet.fieldsInSet()))}else s.set(a.element,null)}let r=new Map;for(let[a,o]of i.entries()){let s=new Map;for(let[u,p]of o){let d=p?Za.forLevel(p):null;s.set(u,d)}r.set(a,s)}return new Za(r)}forField(e){let t=this.byResponseName.get(e.responseName());return t?(0,ht.mapValues)(t).filter(i=>!!i):[]}doMergeWith(e){var t,i;for(let[r,a]of this.byResponseName.entries()){let o=e.byResponseName.get(r);if(o)for(let[s,u]of a.entries())for(let[p,d]of o.entries()){if(!(0,Aa.typesCanBeMerged)(s.definition.type,p.definition.type))return!1;let l=s.parentType,m=p.parentType;if((0,Aa.sameType)(l,m)||!(0,re.isObjectType)(l)||!(0,re.isObjectType)(m)){if(s.name!==p.name||!(0,Ea.argumentsEquals)((t=s.args)!==null&&t!==void 0?t:{},(i=p.args)!==null&&i!==void 0?i:{})||u&&d&&!u.doMergeWith(d))return!1}else if(u&&d&&!u.hasSameResponseShapeThan(d))return!1}}return!0}hasSameResponseShapeThan(e){for(let[t,i]of this.byResponseName.entries()){let r=e.byResponseName.get(t);if(r){for(let[a,o]of i.entries())for(let[s,u]of r.entries())if(!(0,Aa.typesCanBeMerged)(a.definition.type,s.definition.type)||o&&u&&!o.hasSameResponseShapeThan(u))return!1}}return!0}toString(e=""){return`{ `+[...this.byResponseName.entries()].map(([t,i])=>{let r=e+" ";return`${r}${t}: [ `+[...i.entries()].map(([a,o])=>`${r} ${a.parentType}.${a}${o?o.toString(r+" "):""}`).join(` `)+` ${r}]`}).join(` `)+` ${e}}`}},ga=class extends Pr{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===re.typenameFieldName}isPlainTypenameField(){return this.element.definition.name===re.typenameFieldName&&this.element.appliedDirectives.length==0&&!this.element.alias}withAttachment(e,t){let i=this.element.copy();return i.addAttachment(e,t),this.withUpdatedElement(i)}withUpdatedComponents(e,t){return this.element===e&&this.selectionSet===t?this:new ga(e,t)}key(){return this.element.key()}optimize(e,t){let i=(0,re.baseType)(this.element.definition.type);if(!(0,re.isCompositeType)(i)||!this.selectionSet)return this;let r=t.forField(this.element),a=this.tryOptimizeSubselectionWithFragments({parentType:i,subSelection:this.selectionSet,fragments:e,validator:r,canUseFullMatchingFragment:s=>s.appliedDirectives.length===0}),o;return a instanceof Ta?o=Gp(i,new Xn(i,e,a,[])):o=a,o=o.optimizeSelections(e,r),this.selectionSet===o?this:this.withUpdatedSelectionSet(o)}filterRecursiveDepthFirst(e){if(!this.selectionSet)return e(this)?this:void 0;let t=this.selectionSet.filterRecursiveDepthFirst(e),i=this.selectionSet===t?this:new ga(this.element,t);return e(i)?i:void 0}validate(e,t){var i;this.element.validate(e,t),Pt(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),(i=this.selectionSet)===null||i===void 0||i.validate(e)}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i}){if(this.element.parentType===e)return this;let r=this.element.rebaseOn({parentType:e,errorIfCannotRebase:i});if(!r)return;if(!this.selectionSet)return this.withUpdatedElement(r);let a=r.baseType();if(a===this.selectionSet.parentType)return this.withUpdatedElement(r);Pt((0,re.isCompositeType)(a),()=>`Cannot rebase field selection ${this} on ${e}: rebased field base return type ${a} is not composite`);let o=this.selectionSet.rebaseOn({parentType:a,fragments:t,errorIfCannotRebase:i});return o.isEmpty()?void 0:this.withUpdatedComponents(r,o)}canAddTo(e){if(this.element.parentType===e)return!0;let t=this.element.typeIfAddedTo(e);if(!t)return!1;let i=(0,re.baseType)(t);return this.selectionSet&&this.selectionSet.parentType!==i?((0,ht.assert)((0,re.isCompositeType)(i),()=>`${this.element} should have a selection set as it's type is not a composite`),this.selectionSet.selections().every(r=>r.canAddTo(i))):!0}toSelectionNode(){var e;let t=this.element.alias?{kind:ot.Kind.NAME,value:this.element.alias}:void 0;return{kind:ot.Kind.FIELD,name:{kind:ot.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 i=e===this.parentType?this.element.definition:e.field(this.element.name);(0,ht.assert)(i,`Cannot normalize ${this.element} at ${e} which does not have that field`);let r=this.element.definition===i?this.element:this.element.withUpdatedDefinition(i);if(!this.selectionSet)return this.withUpdatedElement(r);let a=r.baseType();(0,ht.assert)((0,re.isCompositeType)(a),()=>`Field ${r} should not have a sub-selection`);let o=t??!0?this.selectionSet.normalize({parentType:a}):this.selectionSet;return o?.isEmpty()?this.withUpdatedComponents(r,J9(new Xi(a.typenameField(),void 0,[new re.Directive("include",{if:!1})]))):this.withUpdatedComponents(r,o)}expandFragments(e){return this.mapToSelectionSet(t=>t.expandFragments(e))}equals(e){return this===e?!0:!(e instanceof ga)||!this.element.equals(e.element)?!1:this.selectionSet?!!e.selectionSet&&this.selectionSet.equals(e.selectionSet):!e.selectionSet}contains(e,t){return!(e instanceof ga)||!this.element.equals(e.element)?Jn.NOT_CONTAINED:this.selectionSet?((0,ht.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,ht.assert)(!e.selectionSet,"`this` and `that` have the same element, so if one does not have a sub-selection, neither should the other one"),Jn.EQUAL)}toString(e=!0,t){return(t??"")+this.element+(this.selectionSet?" "+this.selectionSet.toString(e,!0,t):"")}};Ee.FieldSelection=ga;var Ko=class extends Pr{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;Pt(e.rootType("mutation")!==t&&e.rootType("subscription")!==t,()=>{var i;return`The @defer and @stream directives cannot be used on ${(i=e.roots().filter(r=>r.type===t).pop())===null||i===void 0?void 0:i.rootKind} root type "${t}"`})}}filterRecursiveDepthFirst(e){let t=this.selectionSet.filterRecursiveDepthFirst(e),i=t===this.selectionSet?this:new xr(this.element,t);return e(i)?i:void 0}hasDefer(){return this.element.hasDefer()||this.selectionSet.hasDefer()}normalize({parentType:e,recursive:t}){let i=this.element.typeCondition;if(i&&e!==this.parentType){let r=(0,re.possibleRuntimeTypes)(i),a=(0,re.possibleRuntimeTypes)(e);if(!r.some(o=>a.includes(o)))return}return this.normalizeKnowingItIntersects({parentType:e,recursive:t})}};Ee.FragmentSelection=Ko;var xr=class extends Ko{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 xr(e,t)}validate(e){this.validateDeferAndStream(),Pt(!this.selectionSet.isEmpty(),()=>`Invalid empty selection set for fragment "${this.element}"`),this.selectionSet.validate(e)}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i}){if(this.parentType===e)return this;let r=this.element.rebaseOn({parentType:e,errorIfCannotRebase:i});if(!r)return;let a=r.castedType();if(a===this.selectionSet.parentType)return this.withUpdatedElement(r);let o=this.selectionSet.rebaseOn({parentType:a,fragments:t,errorIfCannotRebase:i});return o.isEmpty()?void 0:this.withUpdatedComponents(r,o)}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(i=>i.canAddTo(t)):!0:!1}toSelectionNode(){let e=this.element.typeCondition;return{kind:ot.Kind.INLINE_FRAGMENT,typeCondition:e?{kind:ot.Kind.NAMED_TYPE,name:{kind:ot.Kind.NAME,value:e.name}}:void 0,directives:this.element.appliedDirectivesToDirectiveNodes(),selectionSet:this.selectionSet.toSelectionSetNode()}}optimize(e,t){let i=this.selectionSet,r=this.element.typeCondition;if(r){let a=this.tryOptimizeSubselectionWithFragments({parentType:r,subSelection:i,fragments:e,validator:t,canUseFullMatchingFragment:o=>o.appliedDirectives.length===0||(0,Aa.sameType)(r,o.typeCondition)&&o.appliedDirectives.every(s=>this.element.appliedDirectives.some(u=>(0,re.sameDirectiveApplication)(s,u)))});if(a instanceof Ta)if((0,Aa.sameType)(r,a.typeCondition)){let o=this.element.appliedDirectives;return a.appliedDirectives&&(o=o.filter(s=>!a.appliedDirectives.some(u=>(0,re.sameDirectiveApplication)(u,s)))),new Xn(this.parentType,e,a,o)}else i=Gp(r,new Xn(r,e,a,[]));else i=a}return i=i.optimizeSelections(e,t),this.selectionSet===i?this:new xr(this.element,i)}withoutDefer(e){let t=this.selectionSet.withoutDefer(e),i=this.element.deferDirectiveArgs(),r=i&&(!e||i.label&&e.has(i.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),i=this.selectionSet.withNormalizedDefer(e);return t?t===this.element&&i===this.selectionSet?this:this.withUpdatedComponents(t,i):i}normalizeKnowingItIntersects({parentType:e,recursive:t}){var i;let r=this.element.typeCondition;if(this.element.appliedDirectives.length===0&&(!r||e===this.element.typeCondition||(0,re.isObjectType)(e))){let o=this.selectionSet.normalize({parentType:e,recursive:t});return o.isEmpty()?void 0:o}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),J9(new Xi(((i=this.element.typeCondition)!==null&&i!==void 0?i:e).typenameField(),void 0,[new re.Directive("include",{if:!1})])))}else a=this.selectionSet;if(this.element.appliedDirectives.length===0&&(0,re.isAbstractType)(r)){(0,ht.assert)(!(0,re.isObjectType)(e),()=>`Should not have got here if ${e} is an object type`);let o=(0,re.possibleRuntimeTypes)(e),s=[];for(let u of a.selections())u.kind==="FragmentSelection"&&u.element.typeCondition&&(0,re.isObjectType)(u.element.typeCondition)&&o.includes(u.element.typeCondition)&&s.push(u);if(s.length===a.selections().length)return a;if(s.length>0){let u=new di;return u.add(s),u.add(this.withUpdatedSelectionSet(a.filter(p=>!s.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 Ko&&this.element.equals(e.element)&&this.selectionSet.equals(e.selectionSet)}contains(e,t){return!(e instanceof Ko)||!this.element.equals(e.element)?Jn.NOT_CONTAINED:this.selectionSet.contains(e.selectionSet,t)}toString(e=!0,t){return(t??"")+this.element+" "+this.selectionSet.toString(e,!0,t)}},Xn=class extends Ko{constructor(e,t,i,r){super(new Zi(e,i.typeCondition,i.appliedDirectives.concat(r))),this.fragments=t,this.namedFragment=i,this.spreadDirectives=r}isFragmentSpread(){return!0}get selectionSet(){return this.namedFragment.selectionSet}key(){return this.computedKey||(this.computedKey="..."+this.namedFragment.name+(0,re.directivesToString)(this.spreadDirectives)),this.computedKey}withUpdatedComponents(e,t){(0,ht.assert)(!1,"Unsupported")}normalizeKnowingItIntersects({parentType:e}){return(0,ht.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(),Pt((0,re.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,re.directivesToDirectiveNodes)(this.spreadDirectives);return{kind:ot.Kind.FRAGMENT_SPREAD,name:{kind:ot.Kind.NAME,value:this.namedFragment.name},directives:e}}optimize(e,t){return this}rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i}){if(this.parentType===e)return this;let r=this.parentType.schema()===e.schema();(0,ht.assert)(t||r,"Must provide fragments is rebasing on other schema");let a=t??this.fragments,o=a.get(this.namedFragment.name);if(!o){Pt(!i,()=>`Cannot rebase ${this.toString(!1)} if it isn't part of the provided fragments`);return}if(!r&&!(0,re.runtimeTypesIntersects)(e,o.typeCondition)){let s=this.namedFragment.selectionSet.rebaseOn({parentType:e,fragments:t,errorIfCannotRebase:i});return s.isEmpty()?void 0:new xr(new Zi(e),s)}return new Xn(e,a,o,this.spreadDirectives)}canAddTo(e){return!0}expandFragments(e){if(e?.has(this.namedFragment.name))return this;let t=this.selectionSet.expandFragments(e);return(0,Aa.sameType)(this.parentType,this.namedFragment.typeCondition)&&this.element.appliedDirectives.length===0?t.selections():new xr(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,ht.assert)(!1,"Unsupported, see `Operation.withAllDeferLabelled`")}withNormalizedDefer(e){(0,ht.assert)(!1,"Unsupported, see `Operation.withAllDeferLabelled`")}minus(e){(0,ht.assert)(this.equals(e),()=>`Invalid operation for ${this.toString(!1)} and ${e.toString(!1)}`)}equals(e){return this===e?!0:e instanceof Xn&&this.namedFragment.name===e.namedFragment.name&&(0,re.sameDirectiveApplications)(this.spreadDirectives,e.spreadDirectives)}contains(e,t){return this.equals(e)?Jn.EQUAL:!(e instanceof Ko)||!this.element.equals(e.element)?Jn.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,re.directivesToString)(this.spreadDirectives)}};function lm(n,e,t,i,r=(a,o)=>a.field(o)){if(e.selections.length===1)return Gp(n,lO(n,e.selections[0],t,i,r));let a=new di;for(let o of e.selections)a.add(lO(n,o,t,i,r));return a.toSelectionSet(n,i)}function Mue(n,e){let t=n.directive(e.name.value);return Pt(t,()=>`Unknown directive "@${e.name.value}"`),new re.Directive(t.name,(0,Ea.argumentsFromAST)(t.coordinate,e.arguments,t))}function Y9(n,e){var t;return(t=e?.map(i=>Mue(n,i)))!==null&&t!==void 0?t:[]}function lO(n,e,t,i,r=(a,o)=>a.field(o)){var a,o;let s,u=Y9(n.schema(),e.directives);switch(e.kind){case ot.Kind.FIELD:let p=r(n,e.name.value);Pt(p,()=>`Cannot query field "${e.name.value}" on type "${n}".`,n.sourceAST);let d=(0,re.baseType)(p.type),l=e.selectionSet?lm(d,e.selectionSet,t,i,r):void 0;s=new ga(new Xi(p,(0,Ea.argumentsFromAST)(p.coordinate,e.arguments,p),u,(a=e.alias)===null||a===void 0?void 0:a.value),l);break;case ot.Kind.INLINE_FRAGMENT:let m=new Zi(n,(o=e.typeCondition)===null||o===void 0?void 0:o.name.value,u);s=new xr(m,lm(m.typeCondition?m.typeCondition:m.parentType,e.selectionSet,t,i,r));break;case ot.Kind.FRAGMENT_SPREAD:let y=e.name.value;Pt(i,()=>`Cannot find fragment name "${y}" (no fragments were provided)`);let v=i.get(y);Pt(v,()=>`Cannot find fragment name "${y}" (provided fragments are: [${i.names().join(", ")}])`),s=new Xn(n,i,v,u);break}return s}function mO(n,e,t){let i,r,a=t?.operationName,o=new Ho;e.definitions.forEach(u=>{switch(u.kind){case ot.Kind.OPERATION_DEFINITION:Pt(!i||a,()=>"Must provide operation name if query contains multiple operations."),(!a||u.name&&u.name.value===a)&&(i=u,r=Y9(n,u.directives));break;case ot.Kind.FRAGMENT_DEFINITION:let p=u.name.value,d=u.typeCondition.name.value,l=n.type(d);if(!l)throw um.ERRORS.INVALID_GRAPHQL.err(`Unknown type "${d}" for fragment "${p}"`,{nodes:u});if(!(0,re.isCompositeType)(l))throw um.ERRORS.INVALID_GRAPHQL.err(`Invalid fragment "${p}" on non-composite type "${d}"`,{nodes:u});o.add(new Ta(n,p,l,Y9(n,u.directives)));break}}),Pt(i,()=>a?`Unknown operation named "${a}"`:"No operation found in provided document.");let s=i.variableDefinitions?(0,re.variableDefinitionsFromAST)(n,i.variableDefinitions):new re.VariableDefinitions;return e.definitions.forEach(u=>{switch(u.kind){case ot.Kind.FRAGMENT_DEFINITION:let p=o.get(u.name.value);p.setSelectionSet(lm(p.typeCondition,u.selectionSet,s,o));break}}),o.validate(s),Uue({schema:n,operation:i,operation_directives:r,variableDefinitions:s,fragments:o,validateInput:t?.validate})}Ee.operationFromDocument=mO;function Uue({schema:n,operation:e,operation_directives:t,variableDefinitions:i,fragments:r,validateInput:a}){var o;let s=n.schemaDefinition.root(e.operation);Pt(s,()=>`The schema has no "${e.operation}" root type defined`);let u=r.isEmpty()?void 0:r;return new Qo(n,e.operation,yO({parentType:s.type,source:e.selectionSet,variableDefinitions:i,fragments:u,validate:a}),i,u,(o=e.name)===null||o===void 0?void 0:o.value,t)}function Gue(n,e,t){return mO(n,(0,ot.parse)(e),t)}Ee.parseOperation=Gue;function yO({parentType:n,source:e,variableDefinitions:t=new re.VariableDefinitions,fragments:i,fieldAccessor:r,validate:a=!0}){let o=typeof e=="string"?vO(e.trim().startsWith("{")?e:`{${e}}`).selectionSet:e,s=lm(n,o,t??new re.VariableDefinitions,i,r);return a&&s.validate(t),s}Ee.parseSelectionSet=yO;function vO(n){let e=(0,ot.parse)(n);Pt(e.definitions.length===1,()=>"Selections should contain a single definitions, found "+e.definitions.length);let t=e.definitions[0];return Pt(t.kind===ot.Kind.OPERATION_DEFINITION,()=>"Expected an operation definition but got a "+t.kind),t}Ee.parseOperationAST=vO;function Que(n){var e;let t={kind:ot.Kind.OPERATION_DEFINITION,operation:n.rootKind,name:n.name?{kind:ot.Kind.NAME,value:n.name}:void 0,selectionSet:n.selectionSet.toSelectionSetNode(),variableDefinitions:n.variableDefinitions.toVariableDefinitionNodes(),directives:(0,re.directivesToDirectiveNodes)(n.appliedDirectives)},i=n.fragments?(e=n.fragments)===null||e===void 0?void 0:e.toFragmentDefinitionNodes():[];return{kind:ot.Kind.DOCUMENT,definitions:[t].concat(i)}}Ee.operationToDocument=Que;function EO(n,e){for(let t of n.selections())if(e(t)||t.selectionSet&&EO(t.selectionSet,e))return!0;return!1}Ee.hasSelectionWithPredicate=EO});var fm=T(er=>{"use strict";f();c();Object.defineProperty(er,"__esModule",{value:!0});er.TAG_VERSIONS=er.TagSpecDefinition=er.tagIdentity=void 0;var kr=Pe(),eo=Fn(),gO=It(),Kue=ui(),Hue=zn(),zue=Wn(),Wue=_r();er.tagIdentity="https://specs.apollo.dev/tag";var Qp=class extends eo.FeatureDefinition{constructor(e,t){super(new eo.FeatureUrl(er.tagIdentity,"tag",e),t),this.tagLocations=[kr.DirectiveLocation.FIELD_DEFINITION,kr.DirectiveLocation.OBJECT,kr.DirectiveLocation.INTERFACE,kr.DirectiveLocation.UNION],this.printedTagDefinition="directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION",this.isV01()||(this.tagLocations.push(kr.DirectiveLocation.ARGUMENT_DEFINITION,kr.DirectiveLocation.SCALAR,kr.DirectiveLocation.ENUM,kr.DirectiveLocation.ENUM_VALUE,kr.DirectiveLocation.INPUT_OBJECT,kr.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(kr.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,Kue.createDirectiveSpecification)({name:"tag",locations:this.tagLocations,repeatable:!0,args:[{name:"name",type:i=>new gO.NonNullType(i.stringType())}],composes:!0,supergraphSpecification:i=>er.TAG_VERSIONS.getMinimumRequiredVersion(i)}),this.registerDirective(this.tagDirectiveSpec)}isV01(){return this.version.equals(new eo.FeatureVersion(0,1))}isV02(){return this.version.equals(new eo.FeatureVersion(0,2))}checkCompatibleDirective(e){let t=Object.keys(e.arguments()).length>1,i=e.argument("name"),r=i&&(0,Wue.sameType)(i.type,new gO.NonNullType(e.schema().stringType())),a=e.locations.every(o=>this.tagLocations.includes(o));if(t||!r||!a)return Hue.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}`)}};er.TagSpecDefinition=Qp;er.TAG_VERSIONS=new eo.FeatureDefinitions(er.tagIdentity).add(new Qp(new eo.FeatureVersion(0,1))).add(new Qp(new eo.FeatureVersion(0,2))).add(new Qp(new eo.FeatureVersion(0,3),new eo.FeatureVersion(2,0)));(0,zue.registerKnownFeature)(er.TAG_VERSIONS)});var AO=T(hm=>{"use strict";f();c();Object.defineProperty(hm,"__esModule",{value:!0});hm.computeShareables=void 0;var Kp=qn();function Yue(n){let e=(0,Kp.federationMetadata)(n);(0,Kp.assert)(e,"Schema should be a federation subgraph");let t=e.keyDirective(),i=e.providesDirective(),r=e.isFed2Schema()?e.shareableDirective():void 0,a=new Set,o=s=>{for(let u of s.appliedDirectivesOf(t))(0,Kp.collectTargetFields)({parentType:s,directive:u,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(p=>a.add(p.coordinate))};for(let s of n.objectTypes()){o(s);let u=r?s.appliedDirectivesOf(r):[];for(let p of s.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(i)){let m=(0,Kp.baseType)(p.type);(0,Kp.isCompositeType)(m)&&(0,Kp.collectTargetFields)({parentType:m,directive:l,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(y=>{e.isFieldExternal(y)&&a.add(y.coordinate)})}}}for(let s of n.interfaceTypes())o(s);return s=>a.has(s.coordinate)}hm.computeShareables=Yue});var X9=T(zo=>{"use strict";f();c();Object.defineProperty(zo,"__esModule",{value:!0});zo.AUTHENTICATED_VERSIONS=zo.AuthenticatedSpecDefinition=void 0;var xc=Pe(),kc=Fn(),Jue=ui(),Xue=Wn(),tr=class extends kc.FeatureDefinition{constructor(e,t){super(new kc.FeatureUrl(tr.identity,tr.directiveName,e),t),this.registerDirective((0,Jue.createDirectiveSpecification)({name:tr.directiveName,locations:[xc.DirectiveLocation.FIELD_DEFINITION,xc.DirectiveLocation.OBJECT,xc.DirectiveLocation.INTERFACE,xc.DirectiveLocation.SCALAR,xc.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>zo.AUTHENTICATED_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};zo.AuthenticatedSpecDefinition=tr;tr.directiveName="authenticated";tr.identity=`https://specs.apollo.dev/${tr.directiveName}`;zo.AUTHENTICATED_VERSIONS=new kc.FeatureDefinitions(tr.identity).add(new tr(new kc.FeatureVersion(0,1),new kc.FeatureVersion(2,5)));(0,Xue.registerKnownFeature)(zo.AUTHENTICATED_VERSIONS)});var $c=T(ym=>{"use strict";f();c();Object.defineProperty(ym,"__esModule",{value:!0});ym.ARGUMENT_COMPOSITION_STRATEGIES=void 0;var to=It(),Zue=_r(),SO=Nr();function mm(n){return(e,t)=>{let i=n(e);return i.some(r=>(0,Zue.sameType)(r,t))?{valid:!0}:{valid:!1,supportedMsg:`type(s) ${i.join(", ")}`}}}function TO(){return(n,e)=>(0,to.isNonNullType)(e)&&(0,to.isListType)(e.ofType)?{valid:!0}:{valid:!1,supportedMsg:"non nullable list types of any type"}}function epe(){return(n,e)=>(0,to.isListType)(e)||(0,to.isNonNullType)(e)&&(0,to.isListType)(e.ofType)?{valid:!0}:{valid:!1,supportedMsg:"list types of any type"}}function Z9(n){return e=>{let t=e.filter(i=>i!=null);return t.length>0?n(t):void 0}}function bO(n){return n.reduce((e,t)=>{let i=t.filter(r=>!e.some(a=>(0,SO.valueEquals)(r,a)));return e.concat(i)},[])}ym.ARGUMENT_COMPOSITION_STRATEGIES={MAX:{name:"MAX",isTypeSupported:mm(n=>[new to.NonNullType(n.intType())]),mergeValues:n=>Math.max(...n)},MIN:{name:"MIN",isTypeSupported:mm(n=>[new to.NonNullType(n.intType())]),mergeValues:n=>Math.min(...n)},INTERSECTION:{name:"INTERSECTION",isTypeSupported:TO(),mergeValues:n=>{var e;return(e=n.reduce((t,i)=>t===void 0?i:t.filter(r=>i.some(a=>(0,SO.valueEquals)(r,a))),void 0))!==null&&e!==void 0?e:[]}},UNION:{name:"UNION",isTypeSupported:TO(),mergeValues:bO},NULLABLE_AND:{name:"NULLABLE_AND",isTypeSupported:mm(n=>[n.booleanType(),new to.NonNullType(n.booleanType())]),mergeValues:Z9(n=>n.every(e=>e))},NULLABLE_MAX:{name:"NULLABLE_MAX",isTypeSupported:mm(n=>[n.intType(),new to.NonNullType(n.intType())]),mergeValues:Z9(n=>Math.max(...n))},NULLABLE_UNION:{name:"NULLABLE_UNION",isTypeSupported:epe(),mergeValues:Z9(bO)}}});var eE=T(Sa=>{"use strict";f();c();Object.defineProperty(Sa,"__esModule",{value:!0});Sa.REQUIRES_SCOPES_VERSIONS=Sa.RequiresScopesSpecDefinition=Sa.RequiresScopesTypeName=void 0;var Vc=Pe(),vm=Fn(),jc=It(),DO=ui(),tpe=Wn(),npe=$c(),_O=Kt(),Em;(function(n){n.SCOPE="Scope"})(Em||(Sa.RequiresScopesTypeName=Em={}));var nr=class extends vm.FeatureDefinition{constructor(e){super(new vm.FeatureUrl(nr.identity,nr.directiveName,e)),this.registerType((0,DO.createScalarTypeSpecification)({name:Em.SCOPE})),this.registerDirective((0,DO.createDirectiveSpecification)({name:nr.directiveName,args:[{name:"scopes",type:(t,i)=>{(0,_O.assert)(i,"Shouldn't be added without being attached to a @link spec");let r=i.typeNameInSchema(Em.SCOPE),a=t.type(r);return(0,_O.assert)(a,()=>`Expected "${r}" to be defined`),new jc.NonNullType(new jc.ListType(new jc.NonNullType(new jc.ListType(new jc.NonNullType(a)))))},compositionStrategy:npe.ARGUMENT_COMPOSITION_STRATEGIES.UNION}],locations:[Vc.DirectiveLocation.FIELD_DEFINITION,Vc.DirectiveLocation.OBJECT,Vc.DirectiveLocation.INTERFACE,Vc.DirectiveLocation.SCALAR,Vc.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>Sa.REQUIRES_SCOPES_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};Sa.RequiresScopesSpecDefinition=nr;nr.directiveName="requiresScopes";nr.identity=`https://specs.apollo.dev/${nr.directiveName}`;Sa.REQUIRES_SCOPES_VERSIONS=new vm.FeatureDefinitions(nr.identity).add(new nr(new vm.FeatureVersion(0,1)));(0,tpe.registerKnownFeature)(Sa.REQUIRES_SCOPES_VERSIONS)});var tE=T(Da=>{"use strict";f();c();Object.defineProperty(Da,"__esModule",{value:!0});Da.POLICY_VERSIONS=Da.PolicySpecDefinition=Da.PolicyTypeName=void 0;var qc=Pe(),gm=Fn(),Mc=It(),FO=ui(),ipe=Wn(),rpe=$c(),CO=Kt(),Am;(function(n){n.POLICY="Policy"})(Am||(Da.PolicyTypeName=Am={}));var ir=class extends gm.FeatureDefinition{constructor(e){super(new gm.FeatureUrl(ir.identity,ir.directiveName,e)),this.registerType((0,FO.createScalarTypeSpecification)({name:Am.POLICY})),this.registerDirective((0,FO.createDirectiveSpecification)({name:ir.directiveName,args:[{name:"policies",type:(t,i)=>{(0,CO.assert)(i,"Shouldn't be added without being attached to a @link spec");let r=i.typeNameInSchema(Am.POLICY),a=t.type(r);return(0,CO.assert)(a,()=>`Expected "${r}" to be defined`),new Mc.NonNullType(new Mc.ListType(new Mc.NonNullType(new Mc.ListType(new Mc.NonNullType(a)))))},compositionStrategy:rpe.ARGUMENT_COMPOSITION_STRATEGIES.UNION}],locations:[qc.DirectiveLocation.FIELD_DEFINITION,qc.DirectiveLocation.OBJECT,qc.DirectiveLocation.INTERFACE,qc.DirectiveLocation.SCALAR,qc.DirectiveLocation.ENUM],composes:!0,supergraphSpecification:()=>Da.POLICY_VERSIONS.latest()}))}get defaultCorePurpose(){return"SECURITY"}};Da.PolicySpecDefinition=ir;ir.directiveName="policy";ir.identity=`https://specs.apollo.dev/${ir.directiveName}`;Da.POLICY_VERSIONS=new gm.FeatureDefinitions(ir.identity).add(new ir(new gm.FeatureVersion(0,1)));(0,ipe.registerKnownFeature)(Da.POLICY_VERSIONS)});var aE=T(rr=>{"use strict";f();c();Object.defineProperty(rr,"__esModule",{value:!0});rr.SOURCE_VERSIONS=rr.SourceSpecDefinition=rr.sourceIdentity=void 0;var _a=Pe(),zp=Fn(),qe=It(),ape=Wn(),nE=ui(),_t=zn();rr.sourceIdentity="https://specs.apollo.dev/source";var Tm=class extends zp.FeatureDefinition{constructor(e,t){super(new zp.FeatureUrl(rr.sourceIdentity,"source",e),t),this.minimumFederationVersion=t,this.registerDirective((0,nE.createDirectiveSpecification)({name:"sourceAPI",locations:[_a.DirectiveLocation.SCHEMA],repeatable:!0,composes:!1})),this.registerDirective((0,nE.createDirectiveSpecification)({name:"sourceType",locations:[_a.DirectiveLocation.OBJECT,_a.DirectiveLocation.INTERFACE],repeatable:!0,composes:!1})),this.registerDirective((0,nE.createDirectiveSpecification)({name:"sourceField",locations:[_a.DirectiveLocation.FIELD_DEFINITION],repeatable:!0,composes:!1}))}addElementsToSchema(e){let t=this.addDirective(e,"sourceAPI").addLocations(_a.DirectiveLocation.SCHEMA);t.repeatable=!0,t.addArgument("name",new qe.NonNullType(e.stringType()));let i=e.addType(new qe.InputObjectType("HTTPHeaderMapping"));i.addField(new qe.InputFieldDefinition("name")).type=new qe.NonNullType(e.stringType()),i.addField(new qe.InputFieldDefinition("as")).type=e.stringType(),i.addField(new qe.InputFieldDefinition("value")).type=e.stringType();let r=e.addType(new qe.InputObjectType("HTTPSourceAPI"));r.addField(new qe.InputFieldDefinition("baseURL")).type=new qe.NonNullType(e.stringType()),r.addField(new qe.InputFieldDefinition("headers")).type=new qe.ListType(new qe.NonNullType(i)),t.addArgument("http",r);let a=this.addDirective(e,"sourceType").addLocations(_a.DirectiveLocation.OBJECT,_a.DirectiveLocation.INTERFACE);a.repeatable=!0,a.addArgument("api",new qe.NonNullType(e.stringType()));let o=this.addScalarType(e,"URLPathTemplate"),s=this.addScalarType(e,"JSONSelection"),u=e.addType(new qe.InputObjectType("HTTPSourceType"));u.addField(new qe.InputFieldDefinition("GET")).type=o,u.addField(new qe.InputFieldDefinition("POST")).type=o,u.addField(new qe.InputFieldDefinition("headers")).type=new qe.ListType(new qe.NonNullType(i)),u.addField(new qe.InputFieldDefinition("body")).type=s,a.addArgument("http",u),a.addArgument("selection",new qe.NonNullType(s));let p=e.addType(new qe.InputObjectType("KeyTypeMap"));p.addField(new qe.InputFieldDefinition("key")).type=new qe.NonNullType(e.stringType()),p.addField(new qe.InputFieldDefinition("typeMap")).type=this.addScalarType(e,"TypenameKeyMap"),a.addArgument("keyTypeMap",p);let d=this.addDirective(e,"sourceField").addLocations(_a.DirectiveLocation.FIELD_DEFINITION);d.repeatable=!0,d.addArgument("api",new qe.NonNullType(e.stringType())),d.addArgument("selection",s),d.addArgument("keyTypeMap",p);let l=e.addType(new qe.InputObjectType("HTTPSourceField"));return l.addField(new qe.InputFieldDefinition("GET")).type=o,l.addField(new qe.InputFieldDefinition("POST")).type=o,l.addField(new qe.InputFieldDefinition("PUT")).type=o,l.addField(new qe.InputFieldDefinition("PATCH")).type=o,l.addField(new qe.InputFieldDefinition("DELETE")).type=o,l.addField(new qe.InputFieldDefinition("body")).type=s,l.addField(new qe.InputFieldDefinition("headers")).type=new qe.ListType(new qe.NonNullType(i)),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(i=>{let{url:r,import:a}=i.arguments(),o=zp.FeatureUrl.maybeParse(r);a&&o&&o.identity===rr.sourceIdentity&&a.forEach(s=>{let u=typeof s=="string"?s:s.name,d=(typeof s=="string"?s:s.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:i,sourceType:r,sourceField:a}=this.getSourceDirectives(e);if(!(i||r||a))return[];let o=new Map;return i&&this.validateSourceAPI(i,o,t),r&&this.validateSourceType(r,o,t),a&&this.validateSourceField(a,o,t),t}validateSourceAPI(e,t,i){e.applications().forEach(r=>{let{name:a,...o}=r.arguments();ope(a)||i.push(_t.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)&&i.push(_t.ERRORS.SOURCE_API_NAME_INVALID.err(`${e} must specify unique name (${JSON.stringify(a)} reused)`,{nodes:r.sourceAST}));let s;if(rE.forEach(u=>{o[u]&&(s&&i.push(_t.ERRORS.SOURCE_API_PROTOCOL_INVALID.err(`${e} must specify only one of ${rE.join(", ")} but specified both ${s} and ${u}`,{nodes:r.sourceAST})),s=u)}),s){t.set(a,s);let u=o[s];if(u&&s===Hp){let{baseURL:p,headers:d}=u;try{new URL(p)}catch(l){i.push(_t.ERRORS.SOURCE_API_HTTP_BASE_URL_INVALID.err(`${e} http.baseURL ${JSON.stringify(p)} must be valid URL (error: ${l.message})`,{nodes:r.sourceAST}))}iE(d,i,e.name)}}else i.push(_t.ERRORS.SOURCE_API_PROTOCOL_INVALID.err(`${e} must specify one protocol from the set {${rE.join(",")}}`,{nodes:r.sourceAST}))})}validateSourceType(e,t,i){e.applications().forEach(r=>{var a;let{api:o,selection:s,...u}=r.arguments();(!o||!t.has(o))&&i.push(_t.ERRORS.SOURCE_TYPE_API_ERROR.err(`${e} specifies unknown api ${o}`,{nodes:r.sourceAST}));let p=t.get(o)||Hp,d=p&&u[p];if(p&&!d&&i.push(_t.ERRORS.SOURCE_TYPE_PROTOCOL_INVALID.err(`${e} must specify same ${p} argument as corresponding @sourceAPI for api ${o}`,{nodes:r.sourceAST})),d&&p===Hp){let{GET:m,POST:y,headers:v,body:g}=d;if([m,y].filter(Boolean).length!==1)i.push(_t.ERRORS.SOURCE_TYPE_HTTP_METHOD_INVALID.err(`${e} must specify exactly one of http.GET or http.POST`,{nodes:r.sourceAST}));else{let b=m||y;try{}catch(D){i.push(_t.ERRORS.SOURCE_TYPE_HTTP_PATH_INVALID.err(`${e} http.GET or http.POST must be valid URL path template (error: ${D.message})`))}}if(iE(v,i,e.name),g){m&&i.push(_t.ERRORS.SOURCE_TYPE_HTTP_BODY_INVALID.err(`${e} http.GET cannot specify http.body`,{nodes:r.sourceAST}));try{}catch(b){i.push(_t.ERRORS.SOURCE_TYPE_HTTP_BODY_INVALID.err(`${e} http.body not valid JSONSelection (error: ${b.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(m=>m.name.value==="key")||i.push(_t.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(m){i.push(_t.ERRORS.SOURCE_TYPE_SELECTION_INVALID.err(`${e} selection not valid JSONSelection (error: ${m.message})`,{nodes:r.sourceAST}))}break;default:i.push(_t.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,i){e.applications().forEach(r=>{var a,o,s;let{api:u,selection:p,...d}=r.arguments();(!u||!t.has(u))&&i.push(_t.ERRORS.SOURCE_FIELD_API_ERROR.err(`${e} specifies unknown api ${u}`,{nodes:r.sourceAST}));let l=t.get(u)||Hp,m=l&&d[l];if(m&&l===Hp){let{GET:v,POST:g,PUT:b,PATCH:D,DELETE:R,headers:N,body:L}=m,k=[v,g,b,D,R].filter(Boolean);if(k.length>1)i.push(_t.ERRORS.SOURCE_FIELD_HTTP_METHOD_INVALID.err(`${e} allows at most one of http.{GET,POST,PUT,PATCH,DELETE}`));else if(k.length===1){let K=k[0];try{}catch(Y){i.push(_t.ERRORS.SOURCE_FIELD_HTTP_PATH_INVALID.err(`${e} http.{GET,POST,PUT,PATCH,DELETE} must be valid URL path template (error: ${Y.message})`))}}if(iE(N,i,e.name),L){v?i.push(_t.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.GET cannot specify http.body`,{nodes:r.sourceAST})):R&&i.push(_t.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.DELETE cannot specify http.body`,{nodes:r.sourceAST}));try{}catch(K){i.push(_t.ERRORS.SOURCE_FIELD_HTTP_BODY_INVALID.err(`${e} http.body not valid JSONSelection (error: ${K.message})`,{nodes:r.sourceAST}))}}}if(p)try{}catch(v){i.push(_t.ERRORS.SOURCE_FIELD_SELECTION_INVALID.err(`${e} selection not valid JSONSelection (error: ${v.message})`,{nodes:r.sourceAST}))}let y=r.parent;if(((a=y.sourceAST)===null||a===void 0?void 0:a.kind)!==_a.Kind.FIELD_DEFINITION)i.push(_t.ERRORS.SOURCE_FIELD_NOT_ON_ROOT_OR_ENTITY_FIELD.err(`${e} must be applied to field`,{nodes:r.sourceAST}));else{let v=y.parent;if(((o=v.sourceAST)===null||o===void 0?void 0:o.kind)!==_a.Kind.OBJECT_TYPE_DEFINITION)i.push(_t.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=(s=v.sourceAST)===null||s===void 0?void 0:s.name.value;g!=="Query"&&g!=="Mutation"&&v.appliedDirectivesOf("key").length===0&&i.push(_t.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}))}}})}};rr.SourceSpecDefinition=Tm;function ope(n){return/^[a-z-_][a-z0-9-_]*$/i.test(n)}function NO(n){return/^[a-zA-Z0-9-_]+$/.test(n)}function iE(n,e,t){t.startsWith("@")||(t="@"+t),n&&n.forEach(({name:i,as:r,value:a},o)=>{NO(i)||e.push(_t.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(n[o])} specifies invalid name`)),r&&!NO(r)&&e.push(_t.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(n[o])} specifies invalid 'as' name`)),r&&a&&e.push(_t.ERRORS.SOURCE_HTTP_HEADERS_INVALID.err(`${t} header ${JSON.stringify(n[o])} should specify at most one of 'as' or 'value'`))})}var Hp="http",rE=[Hp];rr.SOURCE_VERSIONS=new zp.FeatureDefinitions(rr.sourceIdentity).add(new Tm(new zp.FeatureVersion(0,1),new zp.FeatureVersion(2,7)));(0,ape.registerKnownFeature)(rr.SOURCE_VERSIONS)});var _m=T(Fa=>{"use strict";f();c();Object.defineProperty(Fa,"__esModule",{value:!0});Fa.CONTEXT_VERSIONS=Fa.ContextSpecDefinition=Fa.ContextDirectiveName=void 0;var bm=Pe(),Sm=Fn(),OO=It(),oE=ui(),spe=Wn(),sE=Kt(),Dm;(function(n){n.CONTEXT="context",n.FROM_CONTEXT="fromContext"})(Dm||(Fa.ContextDirectiveName=Dm={}));var IO="ContextFieldValue",ar=class extends Sm.FeatureDefinition{constructor(e){super(new Sm.FeatureUrl(ar.identity,ar.directiveName,e)),this.registerType((0,oE.createScalarTypeSpecification)({name:IO})),this.contextDirectiveSpec=(0,oE.createDirectiveSpecification)({name:Dm.CONTEXT,locations:[bm.DirectiveLocation.INTERFACE,bm.DirectiveLocation.OBJECT,bm.DirectiveLocation.UNION],args:[{name:"name",type:t=>new OO.NonNullType(t.stringType())}],composes:!0,repeatable:!0,supergraphSpecification:t=>Fa.CONTEXT_VERSIONS.getMinimumRequiredVersion(t),staticArgumentTransform:(t,i)=>({name:`${t.name}__${i.name}`})}),this.fromContextDirectiveSpec=(0,oE.createDirectiveSpecification)({name:Dm.FROM_CONTEXT,locations:[bm.DirectiveLocation.ARGUMENT_DEFINITION],args:[{name:"field",type:(t,i)=>{(0,sE.assert)(i,"Shouldn't be added without being attached to a @link spec");let r=i.typeNameInSchema(IO),a=t.type(r);return(0,sE.assert)(a,()=>`Expected "${r}" to be defined`),(0,sE.assert)((0,OO.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,ar.directiveName)}};Fa.ContextSpecDefinition=ar;ar.directiveName="context";ar.identity=`https://specs.apollo.dev/${ar.directiveName}`;Fa.CONTEXT_VERSIONS=new Sm.FeatureDefinitions(ar.identity).add(new ar(new Sm.FeatureVersion(0,1)));(0,spe.registerKnownFeature)(Fa.CONTEXT_VERSIONS)});var Kc=T(_i=>{"use strict";f();c();Object.defineProperty(_i,"__esModule",{value:!0});_i.COST_VERSIONS=_i.CostSpecDefinition=_i.costIdentity=void 0;var Fu=Pe(),wO=ui(),Qc=Fn(),Uc=It(),upe=Wn(),Gc=$c();_i.costIdentity="https://specs.apollo.dev/cost";var Fm=class extends Qc.FeatureDefinition{constructor(e,t){super(new Qc.FeatureUrl(_i.costIdentity,"cost",e),t),this.minimumFederationVersion=t,this.registerDirective((0,wO.createDirectiveSpecification)({name:"cost",locations:[Fu.DirectiveLocation.ARGUMENT_DEFINITION,Fu.DirectiveLocation.ENUM,Fu.DirectiveLocation.FIELD_DEFINITION,Fu.DirectiveLocation.INPUT_FIELD_DEFINITION,Fu.DirectiveLocation.OBJECT,Fu.DirectiveLocation.SCALAR],args:[{name:"weight",type:i=>new Uc.NonNullType(i.intType()),compositionStrategy:Gc.ARGUMENT_COMPOSITION_STRATEGIES.MAX}],composes:!0,repeatable:!1,supergraphSpecification:i=>_i.COST_VERSIONS.getMinimumRequiredVersion(i)})),this.registerDirective((0,wO.createDirectiveSpecification)({name:"listSize",locations:[Fu.DirectiveLocation.FIELD_DEFINITION],args:[{name:"assumedSize",type:i=>i.intType(),compositionStrategy:Gc.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_MAX},{name:"slicingArguments",type:i=>new Uc.ListType(new Uc.NonNullType(i.stringType())),compositionStrategy:Gc.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_UNION},{name:"sizedFields",type:i=>new Uc.ListType(new Uc.NonNullType(i.stringType())),compositionStrategy:Gc.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_UNION},{name:"requireOneSlicingArgument",type:i=>i.booleanType(),defaultValue:!0,compositionStrategy:Gc.ARGUMENT_COMPOSITION_STRATEGIES.NULLABLE_AND}],composes:!0,repeatable:!1,supergraphSpecification:i=>_i.COST_VERSIONS.getMinimumRequiredVersion(i)}))}costDirective(e){return this.directive(e,"cost")}listSizeDirective(e){return this.directive(e,"listSize")}};_i.CostSpecDefinition=Fm;_i.COST_VERSIONS=new Qc.FeatureDefinitions(_i.costIdentity).add(new Fm(new Qc.FeatureVersion(0,1),new Qc.FeatureVersion(2,9)));(0,upe.registerKnownFeature)(_i.COST_VERSIONS)});var Cm=T(pn=>{"use strict";f();c();Object.defineProperty(pn,"__esModule",{value:!0});pn.FEDERATION_VERSIONS=pn.FederationSpecDefinition=pn.FEDERATION1_DIRECTIVES=pn.FEDERATION1_TYPES=pn.FederationDirectiveName=pn.FederationTypeName=pn.federationIdentity=void 0;var uE=It(),st=Fn(),$r=ui(),li=Pe(),ppe=Kt(),RO=fm(),dpe=_u(),lpe=Wn(),cpe=wh(),fpe=X9(),hpe=eE(),mpe=tE(),ype=aE(),vpe=_m(),Epe=Kc();pn.federationIdentity="https://specs.apollo.dev/federation";var pE;(function(n){n.FIELD_SET="FieldSet",n.CONTEXT_FIELD_VALUE="ContextFieldValue"})(pE||(pn.FederationTypeName=pE={}));var or;(function(n){n.KEY="key",n.EXTERNAL="external",n.REQUIRES="requires",n.PROVIDES="provides",n.EXTENDS="extends",n.SHAREABLE="shareable",n.OVERRIDE="override",n.TAG="tag",n.INACCESSIBLE="inaccessible",n.COMPOSE_DIRECTIVE="composeDirective",n.INTERFACE_OBJECT="interfaceObject",n.AUTHENTICATED="authenticated",n.REQUIRES_SCOPES="requiresScopes",n.POLICY="policy",n.SOURCE_API="sourceAPI",n.SOURCE_TYPE="sourceType",n.SOURCE_FIELD="sourceField",n.CONTEXT="context",n.FROM_CONTEXT="fromContext",n.COST="cost",n.LIST_SIZE="listSize"})(or||(pn.FederationDirectiveName=or={}));var gpe=(0,$r.createScalarTypeSpecification)({name:pE.FIELD_SET}),dE={name:"fields",type:n=>_pe(n)},Ape=(0,$r.createDirectiveSpecification)({name:or.KEY,locations:[li.DirectiveLocation.OBJECT,li.DirectiveLocation.INTERFACE],repeatable:!0,args:[dE,{name:"resolvable",type:n=>n.booleanType(),defaultValue:!0}]}),Tpe=(0,$r.createDirectiveSpecification)({name:or.EXTENDS,locations:[li.DirectiveLocation.OBJECT,li.DirectiveLocation.INTERFACE]}),bpe=(0,$r.createDirectiveSpecification)({name:or.EXTERNAL,locations:[li.DirectiveLocation.OBJECT,li.DirectiveLocation.FIELD_DEFINITION],args:[{name:"reason",type:n=>n.stringType()}]}),Spe=(0,$r.createDirectiveSpecification)({name:or.REQUIRES,locations:[li.DirectiveLocation.FIELD_DEFINITION],args:[dE]}),Dpe=(0,$r.createDirectiveSpecification)({name:or.PROVIDES,locations:[li.DirectiveLocation.FIELD_DEFINITION],args:[dE]}),BO=[gpe],LO=[Ape,Spe,Dpe,bpe,RO.TAG_VERSIONS.find(new st.FeatureVersion(0,2)).tagDirectiveSpec,Tpe];pn.FEDERATION1_TYPES=BO;pn.FEDERATION1_DIRECTIVES=LO;function _pe(n){let e=(0,dpe.federationMetadata)(n);return(0,ppe.assert)(e,"The schema is not a federation subgraph"),new uE.NonNullType(e.fieldSetType())}var Fi=class extends st.FeatureDefinition{constructor(e){super(new st.FeatureUrl(pn.federationIdentity,"federation",e));for(let t of BO)this.registerType(t);for(let t of LO)this.registerDirective(t);this.registerDirective((0,$r.createDirectiveSpecification)({name:or.SHAREABLE,locations:[li.DirectiveLocation.OBJECT,li.DirectiveLocation.FIELD_DEFINITION],repeatable:e.gte(new st.FeatureVersion(2,2))})),this.registerSubFeature(cpe.INACCESSIBLE_VERSIONS.getMinimumRequiredVersion(e)),e>=new st.FeatureVersion(2,7)?this.registerDirective((0,$r.createDirectiveSpecification)({name:or.OVERRIDE,locations:[li.DirectiveLocation.FIELD_DEFINITION],args:[{name:"from",type:t=>new uE.NonNullType(t.stringType())},{name:"label",type:t=>t.stringType()}]})):this.registerDirective((0,$r.createDirectiveSpecification)({name:or.OVERRIDE,locations:[li.DirectiveLocation.FIELD_DEFINITION],args:[{name:"from",type:t=>new uE.NonNullType(t.stringType())}]})),e.gte(new st.FeatureVersion(2,1))&&this.registerDirective((0,$r.createDirectiveSpecification)({name:or.COMPOSE_DIRECTIVE,locations:[li.DirectiveLocation.SCHEMA],repeatable:!0,args:[{name:"name",type:t=>t.stringType()}]})),e.gte(new st.FeatureVersion(2,3))&&(this.registerDirective((0,$r.createDirectiveSpecification)({name:or.INTERFACE_OBJECT,locations:[li.DirectiveLocation.OBJECT]})),this.registerSubFeature(RO.TAG_VERSIONS.find(new st.FeatureVersion(0,3)))),e.gte(new st.FeatureVersion(2,5))&&(this.registerSubFeature(fpe.AUTHENTICATED_VERSIONS.find(new st.FeatureVersion(0,1))),this.registerSubFeature(hpe.REQUIRES_SCOPES_VERSIONS.find(new st.FeatureVersion(0,1)))),e.gte(new st.FeatureVersion(2,6))&&this.registerSubFeature(mpe.POLICY_VERSIONS.find(new st.FeatureVersion(0,1))),e.gte(new st.FeatureVersion(2,7))&&this.registerSubFeature(ype.SOURCE_VERSIONS.find(new st.FeatureVersion(0,1))),e.gte(new st.FeatureVersion(2,8))&&this.registerSubFeature(vpe.CONTEXT_VERSIONS.find(new st.FeatureVersion(0,1))),e.gte(new st.FeatureVersion(2,9))&&this.registerSubFeature(Epe.COST_VERSIONS.find(new st.FeatureVersion(0,1)))}};pn.FederationSpecDefinition=Fi;pn.FEDERATION_VERSIONS=new st.FeatureDefinitions(pn.federationIdentity).add(new Fi(new st.FeatureVersion(2,0))).add(new Fi(new st.FeatureVersion(2,1))).add(new Fi(new st.FeatureVersion(2,2))).add(new Fi(new st.FeatureVersion(2,3))).add(new Fi(new st.FeatureVersion(2,4))).add(new Fi(new st.FeatureVersion(2,5))).add(new Fi(new st.FeatureVersion(2,6))).add(new Fi(new st.FeatureVersion(2,7))).add(new Fi(new st.FeatureVersion(2,8))).add(new Fi(new st.FeatureVersion(2,9)));(0,lpe.registerKnownFeature)(pn.FEDERATION_VERSIONS)});var Nm=T(Vr=>{"use strict";f();c();Object.defineProperty(Vr,"__esModule",{value:!0});Vr.JOIN_VERSIONS=Vr.JoinSpecDefinition=Vr.joinIdentity=void 0;var En=Pe(),On=Fn(),xt=It(),Fpe=Wn(),Cpe=Kt();Vr.joinIdentity="https://specs.apollo.dev/join";function Npe(n){let e=n.replace(/[\W]/g,"_"),t=e.match(/^\d/)?"_"+e:e;return(t.match(/_\d+$/)?t+"_":t).toLocaleUpperCase()}var Wo=class extends On.FeatureDefinition{constructor(e,t){super(new On.FeatureUrl(Vr.joinIdentity,"join",e),t)}isV01(){return this.version.equals(new On.FeatureVersion(0,1))}addElementsToSchema(e){let t=this.addDirective(e,"graph").addLocations(En.DirectiveLocation.ENUM_VALUE);t.addArgument("name",new xt.NonNullType(e.stringType())),t.addArgument("url",new xt.NonNullType(e.stringType()));let i=this.addEnumType(e,"Graph"),r=this.addScalarType(e,"FieldSet"),a=this.addDirective(e,"type").addLocations(En.DirectiveLocation.OBJECT,En.DirectiveLocation.INTERFACE,En.DirectiveLocation.UNION,En.DirectiveLocation.ENUM,En.DirectiveLocation.INPUT_OBJECT,En.DirectiveLocation.SCALAR);this.isV01()||(a.repeatable=!0),a.addArgument("graph",new xt.NonNullType(i)),a.addArgument("key",r),this.isV01()||(a.addArgument("extension",new xt.NonNullType(e.booleanType()),!1),a.addArgument("resolvable",new xt.NonNullType(e.booleanType()),!0),this.version.gte(new On.FeatureVersion(0,3))&&a.addArgument("isInterfaceObject",new xt.NonNullType(e.booleanType()),!1));let o=this.addDirective(e,"field").addLocations(En.DirectiveLocation.FIELD_DEFINITION,En.DirectiveLocation.INPUT_FIELD_DEFINITION);o.repeatable=!0;let s=this.version.gte(new On.FeatureVersion(0,3))?i:new xt.NonNullType(i);if(o.addArgument("graph",s),o.addArgument("requires",r),o.addArgument("provides",r),this.isV01()||(o.addArgument("type",e.stringType()),o.addArgument("external",e.booleanType()),o.addArgument("override",e.stringType()),o.addArgument("usedOverridden",e.booleanType())),!this.isV01()){let u=this.addDirective(e,"implements").addLocations(En.DirectiveLocation.OBJECT,En.DirectiveLocation.INTERFACE);u.repeatable=!0,u.addArgument("graph",new xt.NonNullType(i)),u.addArgument("interface",new xt.NonNullType(e.stringType()))}if(this.version.gte(new On.FeatureVersion(0,3))){let u=this.addDirective(e,"unionMember").addLocations(En.DirectiveLocation.UNION);u.repeatable=!0,u.addArgument("graph",new xt.NonNullType(i)),u.addArgument("member",new xt.NonNullType(e.stringType()));let p=this.addDirective(e,"enumValue").addLocations(En.DirectiveLocation.ENUM_VALUE);p.repeatable=!0,p.addArgument("graph",new xt.NonNullType(i))}if(this.version.gte(new On.FeatureVersion(0,4))){let u=this.addDirective(e,"directive").addLocations(En.DirectiveLocation.SCHEMA,En.DirectiveLocation.OBJECT,En.DirectiveLocation.INTERFACE,En.DirectiveLocation.FIELD_DEFINITION);u.repeatable=!0,u.addArgument("graphs",new xt.ListType(new xt.NonNullType(i))),u.addArgument("name",new xt.NonNullType(e.stringType())),u.addArgument("args",this.addScalarType(e,"DirectiveArguments")),o.addArgument("overrideLabel",e.stringType())}if(this.version.gte(new On.FeatureVersion(0,5))){let u=this.addScalarType(e,"FieldValue"),p=e.addType(new xt.InputObjectType("join__ContextArgument"));p.addField("name",new xt.NonNullType(e.stringType())),p.addField("type",new xt.NonNullType(e.stringType())),p.addField("context",new xt.NonNullType(e.stringType())),p.addField("selection",new xt.NonNullType(u)),o.addArgument("contextArguments",new xt.ListType(new xt.NonNullType(p)))}return this.isV01()&&this.addDirective(e,"owner").addLocations(En.DirectiveLocation.OBJECT).addArgument("graph",new xt.NonNullType(i)),[]}allElementNames(){let e=["graph","Graph","FieldSet","@type","@field"];return this.isV01()?e.push("@owner"):e.push("@implements"),e}populateGraphEnum(e,t){let i=new Cpe.MultiMap;for(let s of t){let u=Npe(s.name);i.add(u,s)}let r=new Map;for(let[s,u]of i)if(u.length===1)r.set(u[0].name,s);else for(let[p,d]of u.entries())r.set(d.name,`${s}_${p+1}`);let a=this.graphEnum(e),o=this.graphDirective(e);for(let s of t)a.addValue(r.get(s.name)).applyDirective(o,{name:s.name,url:s.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"}};Vr.JoinSpecDefinition=Wo;Vr.JOIN_VERSIONS=new On.FeatureDefinitions(Vr.joinIdentity).add(new Wo(new On.FeatureVersion(0,1))).add(new Wo(new On.FeatureVersion(0,2))).add(new Wo(new On.FeatureVersion(0,3),new On.FeatureVersion(2,0))).add(new Wo(new On.FeatureVersion(0,4),new On.FeatureVersion(2,7))).add(new Wo(new On.FeatureVersion(0,5),new On.FeatureVersion(2,8)));(0,Fpe.registerKnownFeature)(Vr.JOIN_VERSIONS)});var _u=T(W=>{"use strict";f();c();Object.defineProperty(W,"__esModule",{value:!0});W.removeInactiveProvidesAndRequires=W.addSubgraphToError=W.addSubgraphToASTNode=W.Subgraph=W.FEDERATION_OPERATION_FIELDS=W.entitiesFieldName=W.serviceFieldName=W.FEDERATION_OPERATION_TYPES=W.entityTypeSpec=W.serviceTypeSpec=W.anyTypeSpec=W.Subgraphs=W.subgraphsFromServiceList=W.collectTargetFields=W.parseFieldSetArgument=W.newEmptyFederation2Schema=W.buildSubgraph=W.isInterfaceObjectType=W.isEntityType=W.isFederationField=W.isFederationSubgraphSchema=W.federationMetadata=W.printSubgraphNames=W.asFed2SubgraphDocument=W.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS_UPGRADED=W.FEDERATION2_LINK_WITH_AUTO_EXPANDED_IMPORTS=W.FEDERATION2_LINK_WITH_FULL_IMPORTS=W.setSchemaAsFed2Subgraph=W.FederationBlueprint=W.hasAppliedDirective=W.isFederationDirectiveDefinedInSchema=W.FederationMetadata=W.collectUsedFields=W.parseContext=W.FEDERATION_UNNAMED_SUBGRAPH_NAME=W.FEDERATION_RESERVED_SUBGRAPH_NAME=void 0;var U=It(),Ye=Kt(),Ope=kl(),it=Pe(),Ipe=UN(),PO=wc(),Jp=cm(),wpe=fm(),ae=zn(),Rpe=AO(),Zn=Fn(),Ne=Cm(),xO=hc(),gE=ui(),kO=Zs(),QO=Wn(),Bpe=Nm(),$O=Kc(),Ca=Zn.LINK_VERSIONS.latest(),Lpe=wpe.TAG_VERSIONS.latest(),KO=n=>{if(!n)return Ne.FEDERATION_VERSIONS.latest();let e=Ne.FEDERATION_VERSIONS.find(n);return(0,Ye.assert)(e,`Federation spec version ${n} is not known`),e},fE=KO(new Zn.FeatureVersion(2,4)),Wp=KO();W.FEDERATION_RESERVED_SUBGRAPH_NAME="_";W.FEDERATION_UNNAMED_SUBGRAPH_NAME="";var Ppe=[it.PossibleTypeExtensionsRule,it.KnownTypeNamesRule],xpe=[Ipe.KnownTypeNamesInFederationRule],kpe=Ope.specifiedSDLRules.filter(n=>!Ppe.includes(n)).concat(xpe),VO=Object.values(Ne.FederationDirectiveName),$pe=new U.CoreFeature(new Zn.FeatureUrl("","fed1",new Zn.FeatureVersion(0,1)),"fed1",new U.Directive("fed1"),Ne.FEDERATION1_TYPES.map(n=>({name:n.name,as:"_"+n.name})));function hE({directiveName:n,selectionSet:e,hasExternalInParents:t,metadata:i,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:o}){for(let s of e.selections()){let u=s.element.appliedDirectives;if(u.length>0&&r(ae.ERROR_CATEGORIES.DIRECTIVE_IN_FIELDS_ARG.get(n).err(`cannot have directive applications in the @${n}(fields:) argument but found ${u.join(", ")}.`)),s.kind==="FieldSelection"){let p=s.element.definition,d=i.isFieldExternal(p);!o&&p.hasArguments()&&r(ae.ERROR_CATEGORIES.FIELDS_HAS_ARGS.get(n).err(`field ${p.coordinate} cannot be included because it has arguments (fields with argument are not allowed in @${n})`,{nodes:p.sourceAST}));let l=!s.selectionSet&&!a&&!t;if(!d&&l){let m=ae.ERROR_CATEGORIES.DIRECTIVE_FIELDS_MISSING_EXTERNAL.get(n);i.isFieldFakeExternal(p)?r(m.err(`field "${p.coordinate}" should not be part of a @${n} since it is already "effectively" provided by this subgraph (while it is marked @${Ne.FederationDirectiveName.EXTERNAL}, it is a @${Ne.FederationDirectiveName.KEY} field of an extension type, which are not internally considered external for historical/backward compatibility reasons)`,{nodes:p.sourceAST})):r(m.err(`field "${p.coordinate}" should not be part of a @${n} since it is already provided by this subgraph (it is not marked @${Ne.FederationDirectiveName.EXTERNAL})`,{nodes:p.sourceAST}))}if(s.selectionSet){let m=t||d,y=p.parent;if(!m&&(0,U.isInterfaceType)(y))for(let v of y.possibleRuntimeTypes()){let g=v.field(p.name);if(g&&i.isFieldExternal(g)){m=!0;break}}hE({directiveName:n,selectionSet:s.selectionSet,hasExternalInParents:m,metadata:i,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:o})}}else hE({directiveName:n,selectionSet:s.selectionSet,hasExternalInParents:t,metadata:i,onError:r,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:o})}}function Vpe({type:n,directive:e,metadata:t,errorCollector:i,allowOnNonExternalLeafFields:r,allowFieldsWithArguments:a,onFields:o}){try{let u=Yp({parentType:n,directive:e,fieldAccessor:o?(p,d)=>{let l=p.field(d);return l&&o(l),l}:void 0});hE({directiveName:e.name,selectionSet:u,hasExternalInParents:!1,metadata:t,onError:p=>i.push(HO(e,p)),allowOnNonExternalLeafFields:r,allowFieldsWithArguments:a})}catch(s){if(s instanceof it.GraphQLError)i.push(s);else throw s}}function HO(n,e,t){let i=(0,U.sourceASTs)(n);e.nodes&&i.push(...e.nodes);let r=(0,ae.errorCodeDef)(e);(!r||r===ae.ERRORS.INVALID_GRAPHQL)&&(r=ae.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS.get(n.name));let a=e.message.trim();return t&&(a=t(a)),r.err(`${jpe(n)}: ${a}`,{nodes:i,originalError:e})}function jpe(n){return`On ${zO(n)}, for ${qpe(n)}`}function qpe(n){return n.sourceAST?(0,it.print)(n.sourceAST):n.toString()}function zO(n){var e;return`${n.parent instanceof U.FieldDefinition?"field":"type"} "${(e=n.parent)===null||e===void 0?void 0:e.coordinate}"`}function AE(n){let e=/^(?:[\n\r\t ,]|#[^\n\r]*(?![^\n\r]))*\$(?:[\n\r\t ,]|#[^\n\r]*(?![^\n\r]))*([A-Za-z_]\w*(?!\w))([\s\S]*)$/,t=n.match(e);if(!t)return{context:void 0,selection:void 0};let[,i,r]=t;return{context:i,selection:r}}W.parseContext=AE;var jO=({originalType:n,resolvedType:e})=>{let t=[],i=n;for(;i.kind==="NonNullType"||i.kind==="ListType";)t.push(i.kind),i=i.ofType;let r=e;for(;t.length>0;)t.pop()==="ListType"&&(r=new U.ListType(r));return r},mE=({currentType:n,selectionSet:e,errorCollector:t,metadata:i,fromContextParent:r})=>{let a=e.selections(),o=i.interfaceObjectDirective();return n.kind==="ObjectType"&&In(o)&&n.appliedDirectivesOf(o).length>0&&t.push(ae.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: "${n.name}"`,{nodes:(0,U.sourceASTs)(r)})),a.map(u=>{if(u.kind!=="FieldSelection")return{resolvedType:void 0};let{element:p,selectionSet:d}=u;(0,Ye.assert)(p.definition.type,"Element type definition should exist");let l=p.definition.type;if(d){(0,Ye.assert)((0,U.isCompositeType)((0,U.baseType)(l)),"Child selection sets should only exist on composite types");let{resolvedType:m}=mE({currentType:(0,U.baseType)(l),selectionSet:d,errorCollector:t,metadata:i,fromContextParent:r});return m?{resolvedType:jO({originalType:l,resolvedType:m})}:{resolvedType:void 0}}return(0,Ye.assert)((0,U.isLeafType)((0,U.baseType)(l)),"Expected a leaf type"),{resolvedType:jO({originalType:l,resolvedType:(0,U.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}})},Mpe=({context:n,selection:e,fromContextParent:t,errorCollector:i})=>{try{let a=(0,Jp.parseOperationAST)(e.trim().startsWith("{")?e:`{${e}}`).selectionSet.selections;if(a.length===0)return i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: no selection is made`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"};let o=a[0].kind;if(o==="Field")return a.length!==1?(i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: multiple selections are made`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"}):{selectionType:"field"};if(o==="InlineFragment"){let s=new Set;return a.every(u=>u.kind==="InlineFragment")?(a.forEach(u=>{(0,Ye.assert)(u.kind==="InlineFragment","Expected an inline fragment");let{typeCondition:p}=u;p&&s.add(p.name.value)}),s.size!==a.length?(i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: type conditions have same name`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"}):{selectionType:"inlineFragment",typeConditions:s}):(i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: multiple fields could be selected`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"})}else{if(o==="FragmentSpread")return i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: fragment spread is not allowed`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"};(0,Ye.assertUnreachable)(o)}}catch(r){return i.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: ${r.message}`,{nodes:(0,U.sourceASTs)(t)})),{selectionType:"error"}}};function Hc(n,e){return(0,U.isNonNullType)(n)?(0,U.isNonNullType)(e)?Hc(n.ofType,e.ofType):Hc(n.ofType,e):(0,U.isListType)(n)&&(0,U.isListType)(e)?Hc(n.ofType,e.ofType):!(0,U.isWrapperType)(n)&&!(0,U.isWrapperType)(e)&&n.name===e.name}function Upe(n){return(0,Jp.hasSelectionWithPredicate)(n,e=>{if(e.kind==="FieldSelection")return e.element.appliedDirectives.length>0;if(e.kind==="FragmentSelection")return e.element.appliedDirectives.length>0;(0,Ye.assertUnreachable)(e)})}function Gpe(n){return(0,Jp.hasSelectionWithPredicate)(n,e=>e.kind==="FieldSelection"?e.element.alias!==void 0:!1)}function Qpe({context:n,selection:e,fromContextParent:t,setContextLocations:i,errorCollector:r,metadata:a}){let o=t.type;(0,Ye.assert)(o,"Expected a type");let s=Mpe({context:n,selection:e,fromContextParent:t,errorCollector:r}),u=s.selectionType;if(u==="error")return;let p=new Set;for(let d of i){let l;try{l=(0,Jp.parseSelectionSet)({parentType:d,source:e})}catch(m){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid for type ${d.name}. Error: ${m.message}`,{nodes:(0,U.sourceASTs)(t)}));return}if(Upe(l)&&r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: directives are not allowed in the selection`,{nodes:(0,U.sourceASTs)(t)})),Gpe(l)&&r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: aliases are not allowed in the selection`,{nodes:(0,U.sourceASTs)(t)})),u==="field"){let{resolvedType:m}=mE({currentType:d,selectionSet:l,errorCollector:r,metadata:a,fromContextParent:t});if(m===void 0||!Hc(m,o)){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection "${m}" does not match the expected type "${o?.toString()}"`,{nodes:(0,U.sourceASTs)(t)}));return}}else if(u==="inlineFragment"){let m=[];for(let y of l.selections()){if(y.kind!=="FragmentSelection"){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" 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,U.sourceASTs)(t)}));continue}let{typeCondition:v}=y.element;if(!v){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: inline fragments must have type conditions"`,{nodes:(0,U.sourceASTs)(t)}));continue}v.kind==="ObjectType"?(0,U.possibleRuntimeTypes)(d).includes(v)&&(m.push(y),p.add(v.name)):r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: type conditions must be an object type"`,{nodes:(0,U.sourceASTs)(t)}))}if(m.length===0){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: no type condition matches the location "${d.coordinate}"`,{nodes:(0,U.sourceASTs)(t)}));return}else for(let y of m){let{resolvedType:v}=mE({currentType:y.element.typeCondition,selectionSet:y.selectionSet,errorCollector:r,metadata:a,fromContextParent:t});if(v===void 0){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection does not match the expected type "${o?.toString()}"`,{nodes:(0,U.sourceASTs)(t)}));return}if((0,U.isNonNullType)(v)&&(v=v.ofType),!Hc(v,o)){r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: the type of the selection "${v?.toString()}" does not match the expected type "${o?.toString()}"`,{nodes:(0,U.sourceASTs)(t)}));return}}}}if(s.selectionType==="inlineFragment")for(let d of s.typeConditions)p.has(d)||r.push(ae.ERRORS.CONTEXT_INVALID_SELECTION.err(`Context "${n}" is used in "${t.coordinate}" but the selection is invalid: type condition "${d}" is never used.`,{nodes:(0,U.sourceASTs)(t)}))}function lE({definition:n,targetTypeExtractor:e,errorCollector:t,metadata:i,isOnParentType:r=!1,allowOnNonExternalLeafFields:a=!1,allowFieldsWithArguments:o=!1,allowOnInterface:s=!1,onFields:u}){for(let p of n.applications()){let d=p.parent,l=e(d),m=r?l:d.parent;if((0,U.isInterfaceType)(m)&&!s){let y=ae.ERROR_CATEGORIES.DIRECTIVE_UNSUPPORTED_ON_INTERFACE.get(n.name);t.push(y.err(r?`Cannot use ${n.coordinate} on interface "${m.coordinate}": ${n.coordinate} is not yet supported on interfaces`:`Cannot use ${n.coordinate} on ${zO(p)} of parent type "${m}": ${n.coordinate} is not yet supported within interfaces`,{nodes:(0,U.sourceASTs)(p).concat(r?[]:(0,U.sourceASTs)(l))}))}Vpe({type:l,directive:p,metadata:i,errorCollector:t,allowOnNonExternalLeafFields:a,allowFieldsWithArguments:o,onFields:u})}}function WO(n){let e=new Set;cE(n.keyDirective(),t=>t,e),cE(n.requiresDirective(),t=>t.parent,e),cE(n.providesDirective(),t=>{let i=(0,U.baseType)(t.type);return(0,U.isCompositeType)(i)?i:void 0},e),Kpe(n,e);for(let t of n.schema.interfaceTypes()){let i=t.possibleRuntimeTypes();for(let r of t.fields())for(let a of i){let o=a.field(r.name);o&&e.add(o)}}return e}W.collectUsedFields=WO;function Kpe(n,e){let t=n.fromContextDirective(),i=n.contextDirective();if(!In(t)||!In(i))return;let r=new Map;for(let a of i.applications()){let o=a.parent;if(!o)continue;let s=a.arguments().name;r.has(s)||r.set(s,new Set),r.get(s).add(o)}for(let a of t.applications()){if(!a.parent)continue;let s=a.arguments().field,{context:u,selection:p}=AE(s);if(!u)continue;let d=r.get(u);if(d)for(let l of d)try{let m=(y,v)=>{let g=y.field(v);if(g&&(e.add(g),(0,U.isInterfaceType)(y)))for(let b of y.possibleRuntimeTypes()){let D=b.field(v);D&&e.add(D)}return g};(0,Jp.parseSelectionSet)({parentType:l,source:p,fieldAccessor:m})}catch{}}}function cE(n,e,t){for(let i of n.applications()){let r=e(i.parent);r&&Om({parentType:r,directive:i,includeInterfaceFieldsImplementations:!0,validate:!1}).forEach(a=>t.add(a))}}function Hpe(n,e){for(let t of n.schema.types())if(!(!(0,U.isObjectType)(t)&&!(0,U.isInterfaceType)(t)))for(let i of t.fields())!n.isFieldExternal(i)||n.isFieldUsed(i)||e.push(ae.ERRORS.EXTERNAL_UNUSED.err(`Field "${i.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:i.sourceAST}))}function zpe(n,e){for(let t of n.schema.interfaceTypes())for(let i of t.fields())n.isFieldExternal(i)&&e.push(ae.ERRORS.EXTERNAL_ON_INTERFACE.err(`Interface type field "${i.coordinate}" is marked @external but @external is not allowed on interface fields (it is nonsensical).`,{nodes:i.sourceAST}))}function Wpe(n,e){for(let t of n.schema.interfaceTypes()){let i=t.possibleRuntimeTypes();for(let r of t.appliedDirectivesOf(n.keyDirective())){let a=Yp({parentType:t,directive:r,validate:!1}),o=r.arguments().resolvable!==!1,s=new Array,u=new Array;for(let p of i){let d=p.appliedDirectivesOf(n.keyDirective()).find(l=>{let m=Yp({parentType:p,directive:l,validate:!1});return a.equals(m)});d?o&&d.arguments().resolvable===!1&&s.push(p):u.push(p)}if(u.length>0){let p=(0,Ye.printHumanReadableList)(u.map(d=>`"${d.coordinate}"`),{prefix:"type",prefixPlural:"types"});e.push(ae.ERRORS.INTERFACE_KEY_NOT_ON_IMPLEMENTATION.err(`Key ${r} on interface type "${t.coordinate}" is missing on implementation ${p}.`,{nodes:(0,U.sourceASTs)(...u)}))}else if(s.length>0){let p=(0,Ye.printHumanReadableList)(s.map(d=>`"${d.coordinate}"`),{prefix:"type",prefixPlural:"types"});e.push(ae.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,U.sourceASTs)(...s)}))}}}}function Ype(n,e){for(let t of n.interfaceObjectDirective().applications())TE(t.parent)||e.push(ae.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 qO(n,e,t){let i=n.appliedDirectivesOf(e.shareableDirective());if(i.length<=1)return;let r=i.reduce((o,s)=>{let u=s.ofExtension();return u?o.with.add(u,s):o.without.push(s),o},{without:[],with:new Ye.MultiMap}),a=[r.without].concat((0,Ye.mapValues)(r.with));for(let o of a)if(o.length>1){let s=n.kind==="ObjectType"?`the same type declaration of "${n.coordinate}"`:`field "${n.coordinate}"`;t.push(ae.ERRORS.INVALID_SHAREABLE_USAGE.err(`Invalid duplicate application of @shareable on ${s}: @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,U.sourceASTs)(...o)}))}}function Jpe(n,e){let t=n.parent;t instanceof U.FieldDefinition&&t.parent instanceof U.InterfaceType&&e.push(ae.ERRORS.COST_APPLIED_TO_INTERFACE_FIELD.err(`@cost cannot be applied to interface "${t.coordinate}"`,{nodes:(0,U.sourceASTs)(n,t)}))}function Xpe(n,e,t){let{sizedFields:i=[]}=n.arguments();!i.length&&e.type&&!(0,U.isListType)(e.type)&&t.push(ae.ERRORS.LIST_SIZE_APPLIED_TO_NON_LIST.err(`"${e.coordinate}" is not a list`,{nodes:(0,U.sourceASTs)(n,e)}))}function Zpe(n,e,t){let{assumedSize:i}=n.arguments();i!=null&&i<0&&t.push(ae.ERRORS.LIST_SIZE_INVALID_ASSUMED_SIZE.err(`Assumed size of "${e.coordinate}" cannot be negative`,{nodes:(0,U.sourceASTs)(n,e)}))}function ede(n){return(0,U.isNonNullType)(n)&&(0,U.isIntType)(n.ofType)}function tde(n,e,t){let{slicingArguments:i=[]}=n.arguments();for(let r of i){let a=e.argument(r);a?.type?!(0,U.isIntType)(a.type)&&!ede(a.type)&&t.push(ae.ERRORS.LIST_SIZE_INVALID_SLICING_ARGUMENT.err(`Slicing argument "${a.coordinate}" must be Int or Int!`,{nodes:(0,U.sourceASTs)(n,e)})):t.push(ae.ERRORS.LIST_SIZE_INVALID_SLICING_ARGUMENT.err(`Slicing argument "${r}" is not an argument of "${e.coordinate}"`,{nodes:(0,U.sourceASTs)(n,e)}))}}function nde(n){return(0,U.isNonNullType)(n)&&(0,U.isListType)(n.ofType)}function ide(n,e,t){let{sizedFields:i=[]}=n.arguments();if(i.length)if(!e.type||!(0,U.isCompositeType)(e.type))t.push(ae.ERRORS.LIST_SIZE_INVALID_SIZED_FIELD.err(`Sized fields cannot be used because "${e.type}" is not a composite type`,{nodes:(0,U.sourceASTs)(n,e)}));else for(let r of i){let a=e.type.field(r);a?(!a.type||!((0,U.isListType)(a.type)||nde(a.type)))&&t.push(ae.ERRORS.LIST_SIZE_APPLIED_TO_NON_LIST.err(`Sized field "${a.coordinate}" is not a list`,{nodes:(0,U.sourceASTs)(n,e)})):t.push(ae.ERRORS.LIST_SIZE_INVALID_SIZED_FIELD.err(`Sized field "${r}" is not a field on type "${e.type.coordinate}"`,{nodes:(0,U.sourceASTs)(n,e)}))}}var zc=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 Zn.FeatureVersion(2,0))}return this._isFed2Schema}federationFeature(){var e;return(e=this.schema.coreFeatures)===null||e===void 0?void 0:e.getByIdentity(Wp.identity)}externalTester(){return this._externalTester||(this._externalTester=new vE(this.schema,this.isFed2Schema())),this._externalTester}sharingPredicate(){return this._sharingPredicate||(this._sharingPredicate=(0,Rpe.computeShareables)(this.schema)),this._sharingPredicate}fieldUsedPredicate(){if(!this._fieldUsedPredicate){let e=WO(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,U.isObjectType)(e)&&YO(e,this.interfaceObjectDirective())}federationDirectiveNameInSchema(e){if(this.isFed2Schema()){let t=this.schema.coreFeatures;(0,Ye.assert)(t,"Schema should be a core schema");let i=t.getByIdentity(Wp.identity);return(0,Ye.assert)(i,"Schema should have the federation feature"),i.directiveNameInSchema(e)}else return e}federationTypeNameInSchema(e){if(e.charAt(0)==="_")return e;if(this.isFed2Schema()){let t=this.schema.coreFeatures;(0,Ye.assert)(t,"Schema should be a core schema");let i=t.getByIdentity(Wp.identity);return(0,Ye.assert)(i,"Schema should have the federation feature"),i.typeNameInSchema(e)}else return"_"+e}getLegacyFederationDirective(e){let t=this.getFederationDirective(e);return(0,Ye.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(Ne.FederationDirectiveName.KEY)}overrideDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.OVERRIDE)}extendsDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.EXTENDS)}externalDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.EXTERNAL)}requiresDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.REQUIRES)}providesDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.PROVIDES)}shareableDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.SHAREABLE)}tagDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.TAG)}composeDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.COMPOSE_DIRECTIVE)}inaccessibleDirective(){return this.getLegacyFederationDirective(Ne.FederationDirectiveName.INACCESSIBLE)}interfaceObjectDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.INTERFACE_OBJECT)}authenticatedDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.AUTHENTICATED)}requiresScopesDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.REQUIRES_SCOPES)}policyDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.POLICY)}sourceAPIDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.SOURCE_API)}sourceTypeDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.SOURCE_TYPE)}sourceFieldDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.SOURCE_FIELD)}fromContextDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.FROM_CONTEXT)}contextDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.CONTEXT)}costDirective(){return this.getPost20FederationDirective(Ne.FederationDirectiveName.COST)}listSizeDirective(){return this.getPost20FederationDirective(Ne.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();In(t)&&e.push(t);let i=this.interfaceObjectDirective();In(i)&&e.push(i);let r=this.authenticatedDirective();In(r)&&e.push(r);let a=this.requiresScopesDirective();In(a)&&e.push(a);let o=this.policyDirective();In(o)&&e.push(o);let s=this.sourceAPIDirective();In(s)&&e.push(s);let u=this.sourceTypeDirective();In(u)&&e.push(u);let p=this.sourceFieldDirective();In(p)&&e.push(p);let d=this.contextDirective();In(d)&&e.push(d);let l=this.fromContextDirective();In(l)&&e.push(l);let m=this.costDirective();In(m)&&e.push(m);let y=this.listSizeDirective();return In(y)&&e.push(y),e}entityType(){return this.schema.type(this.federationTypeNameInSchema(W.entityTypeSpec.name))}anyType(){return this.schema.type(this.federationTypeNameInSchema(W.anyTypeSpec.name))}serviceType(){return this.schema.type(this.federationTypeNameInSchema(W.serviceTypeSpec.name))}fieldSetType(){return this.schema.type(this.federationTypeNameInSchema(Ne.FederationTypeName.FIELD_SET))}allFederationTypes(){let e=[this.anyType(),this.serviceType()],t=this.federationFeature();if(t){let r=Ne.FEDERATION_VERSIONS.find(t.url.version);(0,Ye.assert)(r,()=>`Federation spec should be known, but got ${t.url}`);for(let a of r.typeSpecs()){let o=this.schema.type(t.typeNameInSchema(a.name));o&&e.push(o)}}else e.push(this.fieldSetType());let i=this.entityType();return i&&e.push(i),e}};W.FederationMetadata=zc;function In(n){return n instanceof U.DirectiveDefinition}W.isFederationDirectiveDefinedInSchema=In;function YO(n,e){return In(e)&&n.hasAppliedDirective(e)}W.hasAppliedDirective=YO;var Wc=class extends U.SchemaBlueprint{constructor(e){super(),this.withRootTypeRenaming=e}onAddedCoreFeature(e,t){if(super.onAddedCoreFeature(e,t),t.url.identity===Ne.federationIdentity){let i=Ne.FEDERATION_VERSIONS.find(t.url.version);i&&i.addElementsToSchema(e)}}onMissingDirectiveDefinition(e,t){if(t.name===Zn.linkDirectiveDefaultName){let i=t.arguments(),r=i&&i.url,a,o=[];r&&r.startsWith(Ca.identity)&&(a=i.as,o=(0,Zn.extractCoreFeatureImports)(Ca.url,t));let s=Ca.addDefinitionsToSchema(e,a,o);return s.length>0?s:e.directive(t.name)}return super.onMissingDirectiveDefinition(e,t)}ignoreParsedField(e,t){if(!W.FEDERATION_OPERATION_FIELDS.includes(t))return!1;let i=Ci(e.schema());return!!i&&!i.isFed2Schema()}onConstructed(e){Ci(e)||(e._federationMetadata=new zc(e))}onDirectiveDefinitionAndSchemaParsed(e){let t=ZO(e);return e.schemaDefinition.processUnappliedDirectives(),t}onInvalidation(e){super.onInvalidation(e);let t=Ci(e);(0,Ye.assert)(t,"Federation schema should have had its metadata set on construction"),zc.prototype.onInvalidate.call(t)}onValidation(e){var t,i,r,a,o,s;let u=super.onValidation(e);if(this.withRootTypeRenaming)for(let N of U.allSchemaRootKinds){let L=(t=e.schemaDefinition.root(N))===null||t===void 0?void 0:t.type,k=(0,U.defaultRootName)(N);if(L&&L.name!==k){let K=e.type(k);K&&u.push(ae.ERROR_CATEGORIES.ROOT_TYPE_USED.get(N).err(`The schema has a type named "${k}" but it is not set as the ${N} root type ("${L.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,U.sourceASTs)(L,K)})),L.rename(k)}}let p=Ci(e);if((0,Ye.assert)(p,"Federation schema should have had its metadata set on construction"),!p.isFed2Schema())return u;let d=p.keyDirective();lE({definition:d,targetTypeExtractor:N=>N,errorCollector:u,metadata:p,isOnParentType:!0,allowOnNonExternalLeafFields:!0,allowOnInterface:p.federationFeature().url.version.compareTo(new Zn.FeatureVersion(2,3))>=0,onFields:N=>{let L=(0,U.baseType)(N.type);if((0,U.isUnionType)(L)||(0,U.isInterfaceType)(L)){let k=L.kind;throw k=k.slice(0,k.length-4),ae.ERRORS.KEY_FIELDS_SELECT_INVALID_TYPE.err(`field "${N.coordinate}" is a ${k} type which is not allowed in @key`)}}}),lE({definition:p.requiresDirective(),targetTypeExtractor:N=>N.parent,errorCollector:u,metadata:p,allowFieldsWithArguments:!0}),lE({definition:p.providesDirective(),targetTypeExtractor:N=>{if(p.isFieldExternal(N))throw ae.ERRORS.EXTERNAL_COLLISION_WITH_ANOTHER_DIRECTIVE.err(`Cannot have both @provides and @external on field "${N.coordinate}"`,{nodes:N.sourceAST});let L=(0,U.baseType)(N.type);if(!(0,U.isCompositeType)(L))throw ae.ERRORS.PROVIDES_ON_NON_OBJECT_FIELD.err(`Invalid @provides directive on field "${N.coordinate}": field has type "${N.type}" which is not a Composite Type`,{nodes:N.sourceAST});return L},errorCollector:u,metadata:p});let l=p.contextDirective(),m=new Map;for(let N of l.applications()){let L=N.parent,k=N.arguments().name,K=k.match(/^([A-Za-z]\w*)$/);k.includes("_")?u.push(ae.ERRORS.CONTEXT_NAME_INVALID.err(`Context name "${k}" may not contain an underscore.`,{nodes:(0,U.sourceASTs)(N)})):K||u.push(ae.ERRORS.CONTEXT_NAME_INVALID.err(`Context name "${k}" is invalid. It should have only alphanumeric characters.`,{nodes:(0,U.sourceASTs)(N)}));let Y=m.get(k);Y?Y.push(L):m.set(k,[L])}let y=p.fromContextDirective();for(let N of y.applications()){let{field:L}=N.arguments(),{context:k,selection:K}=AE(L);if(N.parent.parent.kind==="DirectiveDefinition"){u.push(ae.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a directive definition "${N.parent.coordinate}".`,{nodes:(0,U.sourceASTs)(N)}));continue}let Y=N.parent;if(((r=(i=Y?.parent)===null||i===void 0?void 0:i.parent)===null||r===void 0?void 0:r.kind)!=="ObjectType"){u.push(ae.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a field that exists on an abstract type "${N.parent.coordinate}".`,{nodes:(0,U.sourceASTs)(N)}));continue}let H=Y.parent.parent;for(let P of H.interfaces()){let G=P.field(Y.parent.name);G&&u.push(ae.ERRORS.CONTEXT_NOT_SET.err(`@fromContext argument cannot be used on a field implementing an interface field "${G.coordinate}".`,{nodes:(0,U.sourceASTs)(N)}))}if(Y.defaultValue!==void 0&&u.push(ae.ERRORS.CONTEXT_NOT_SET.err(`@fromContext arguments may not have a default value: "${Y.coordinate}".`,{nodes:(0,U.sourceASTs)(N)})),!k||!K)u.push(ae.ERRORS.NO_CONTEXT_IN_SELECTION.err(`@fromContext argument does not reference a context "${L}".`,{nodes:(0,U.sourceASTs)(N)}));else{let P=m.get(k);P?Qpe({context:k,selection:K,fromContextParent:Y,setContextLocations:P,errorCollector:u,metadata:p}):u.push(ae.ERRORS.CONTEXT_NOT_SET.err(`Context "${k}" is used at location "${Y.coordinate}" but is never set.`,{nodes:(0,U.sourceASTs)(N)}));let G=p.keyDirective();H.appliedDirectivesOf(G).some(Oe=>Oe.arguments().resolvable||Oe.arguments().resolvable===void 0)||u.push(ae.ERRORS.CONTEXT_NO_RESOLVABLE_KEY.err(`Object "${H.coordinate}" has no resolvable key but has a field with a contextual argument.`,{nodes:(0,U.sourceASTs)(H)}))}}zpe(p,u),Hpe(p,u),Wpe(p,u),Ype(p,u),(0,QO.validateKnownFeatures)(e,u);let v=p.tagDirective();if(v){let N=Lpe.checkCompatibleDirective(v);N&&u.push(N)}for(let N of e.objectTypes()){qO(N,p,u);for(let L of N.fields())qO(L,p,u)}for(let N of p.shareableDirective().applications()){let L=N.parent;L instanceof U.FieldDefinition&&!(0,U.isObjectType)(L.parent)&&u.push(ae.ERRORS.INVALID_SHAREABLE_USAGE.err(`Invalid use of @shareable on field "${L.coordinate}": only object type fields can be marked with @shareable`,{nodes:(0,U.sourceASTs)(N,L.parent)}))}let g=(a=e.coreFeatures)===null||a===void 0?void 0:a.getByIdentity($O.costIdentity),b=g&&$O.COST_VERSIONS.find(g.url.version),D=b?.costDirective(e),R=b?.listSizeDirective(e);for(let N of(o=D?.applications())!==null&&o!==void 0?o:[])Jpe(N,u);for(let N of(s=R?.applications())!==null&&s!==void 0?s:[]){let L=N.parent;(0,Ye.assert)(L instanceof U.FieldDefinition,"@listSize can only be applied to FIELD_DEFINITION"),Xpe(N,L,u),Zpe(N,L,u),tde(N,L,u),ide(N,L,u)}return u}validationRules(){return kpe}onUnknownDirectiveValidationError(e,t,i){let r=Ci(e);if((0,Ye.assert)(r,"This method should only have been called on a subgraph schema"),VO.includes(t))if(r.isFed2Schema()){let a=r.federationFeature();(0,Ye.assert)(a,"Fed2 subgraph _must_ link to the federation feature");let o=a.directiveNameInSchema(t);return o.startsWith(a.nameInSchema+"__")?(0,ae.withModifiedErrorMessage)(i,`${i.message} If you meant the "@${t}" federation directive, you should use fully-qualified name "@${o}" or add "@${t}" to the \`import\` argument of the @link to the federation specification.`):(0,ae.withModifiedErrorMessage)(i,`${i.message} If you meant the "@${t}" federation directive, you should use "@${o}" as it is imported under that name in the @link to the federation specification of this schema.`)}else return(0,ae.withModifiedErrorMessage)(i,`${i.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,kO.suggestionList)(t,VO);if(a.length>0)return(0,ae.withModifiedErrorMessage)(i,`${i.message}${(0,kO.didYouMean)(a.map(o=>"@"+o))} 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 i}applyDirectivesAfterParsing(){return!0}};W.FederationBlueprint=Wc;function rde(n){if(!n.directive(Ca.url.name))return;let e=Ca.url.name,t=1;for(;;){let i=e+t;if(!n.directive(i))return i}}function JO(n,e=!1){let t=n.coreFeatures,i;if(t)i=t.coreDefinition,(0,Ye.assert)(i.url.version.satisfies(Ca.version),`Fed2 schema must use @link with version >= 1.0, but schema uses ${i.url}`);else{let o=rde(n),s=Ca.addToSchema(n,o);if(s.length>0)throw(0,U.ErrGraphQLValidationFailed)(s);i=Ca,t=n.coreFeatures,(0,Ye.assert)(t,"Schema should now be a core schema")}let r=e?Wp:fE;(0,Ye.assert)(!t.getByIdentity(r.identity),"Schema already set as a federation subgraph"),n.schemaDefinition.applyDirective(t.coreItself.nameInSchema,{url:r.url.toString(),import:fE.directiveSpecs().map(o=>`@${o.name}`)});let a=ZO(n);if(a.length>0)throw(0,U.ErrGraphQLValidationFailed)(a)}W.setSchemaAsFed2Subgraph=JO;W.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"])';W.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"])';W.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 ade(n,e){var t,i;let r=e?.includeAllImports?Wp.directiveSpecs():fE.directiveSpecs(),a={kind:it.Kind.DIRECTIVE,name:{kind:it.Kind.NAME,value:Zn.linkDirectiveDefaultName},arguments:[{kind:it.Kind.ARGUMENT,name:{kind:it.Kind.NAME,value:"url"},value:{kind:it.Kind.STRING,value:Wp.url.toString()}},{kind:it.Kind.ARGUMENT,name:{kind:it.Kind.NAME,value:"import"},value:{kind:it.Kind.LIST,values:r.map(s=>({kind:it.Kind.STRING,value:`@${s.name}`}))}}]};if(!((t=e?.addAsSchemaExtension)!==null&&t!==void 0)||t)return{kind:it.Kind.DOCUMENT,loc:n.loc,definitions:n.definitions.concat({kind:it.Kind.SCHEMA_EXTENSION,directives:[a]})};let o=n.definitions.find(s=>s.kind==it.Kind.SCHEMA_DEFINITION);if(o)return{kind:it.Kind.DOCUMENT,loc:n.loc,definitions:n.definitions.filter(s=>s!==o).concat([{...o,directives:[a].concat((i=o.directives)!==null&&i!==void 0?i:[])}])};{let s=n.definitions.some(p=>p.kind===it.Kind.OBJECT_TYPE_DEFINITION&&p.name.value==="Mutation"),u=(p,d)=>({kind:it.Kind.OPERATION_TYPE_DEFINITION,operation:p,type:{kind:it.Kind.NAMED_TYPE,name:{kind:it.Kind.NAME,value:d}}});return{kind:it.Kind.DOCUMENT,loc:n.loc,definitions:n.definitions.concat({kind:it.Kind.SCHEMA_DEFINITION,directives:[a],operationTypes:[u(it.OperationTypeNode.QUERY,"Query")].concat(s?u(it.OperationTypeNode.MUTATION,"Mutation"):[])})}}}W.asFed2SubgraphDocument=ade;function ode(n){return(0,Ye.printHumanReadableList)(n.map(e=>`"${e}"`),{prefix:"subgraph",prefixPlural:"subgraphs"})}W.printSubgraphNames=ode;function Ci(n){return n._federationMetadata}W.federationMetadata=Ci;function sde(n){return!!Ci(n)}W.isFederationSubgraphSchema=sde;function yE(n){var e;return n.parent===((e=n.schema().schemaDefinition.root("query"))===null||e===void 0?void 0:e.type)?W.FEDERATION_OPERATION_FIELDS.includes(n.name):!1}W.isFederationField=yE;function TE(n){if(!(0,U.isObjectType)(n)&&!(0,U.isInterfaceType)(n))return!1;let e=Ci(n.schema());return!!e&&n.hasAppliedDirective(e.keyDirective())}W.isEntityType=TE;function ude(n){if(!(0,U.isObjectType)(n))return!1;let e=Ci(n.schema());return!!e&&e.isInterfaceObjectType(n)}W.isInterfaceObjectType=ude;function XO(n,e,t,i=!0){let r={blueprint:new Wc(i),validate:!1},a;try{let o=typeof t=="string"?(0,PO.buildSchema)(new it.Source(t,n),r):(0,PO.buildSchemaFromAST)(t,r);a=new wm(n,e,o)}catch(o){throw o instanceof it.GraphQLError&&n!==W.FEDERATION_UNNAMED_SUBGRAPH_NAME?bE(o,n,ae.ERRORS.INVALID_GRAPHQL):o}return a.validate()}W.buildSubgraph=XO;function pde(n){let e=new U.Schema(new Wc(!0),n);return JO(e,!0),e}W.newEmptyFederation2Schema=pde;function ZO(n){let e=n.coreFeatures;if(e)return e.getByIdentity(Ne.federationIdentity)?UO(n):MO(n);if(n.schemaDefinition.appliedDirectivesOf(Zn.linkDirectiveDefaultName).find(dde)){let i=Ca.addToSchema(n);return i.length>0?i:UO(n)}else return MO(n)}function dde(n){let e=n.arguments();return n.name===Zn.linkDirectiveDefaultName&&e.url&&e.url.startsWith(Ne.federationIdentity)}function MO(n){var e,t;for(let r of[Ne.FederationDirectiveName.KEY,Ne.FederationDirectiveName.PROVIDES,Ne.FederationDirectiveName.REQUIRES]){let a=n.directive(r);if(!a)continue;(0,Ye.assert)(a.applications().size===0,`${a} shouldn't have had validation at that places`);let o=(t=(e=a.argument("fields"))===null||e===void 0?void 0:e.type)===null||t===void 0?void 0:t.toString(),s=!!o&&a.arguments().length===1&&(o==="String"||o==="_FieldSet"||o==="FieldSet");(a.arguments().length===0||s)&&a.remove()}let i=Ne.FEDERATION1_TYPES.map(r=>r.checkOrAdd(n,$pe)).concat(Ne.FEDERATION1_DIRECTIVES.map(r=>r.checkOrAdd(n))).flat();return i.length===0?eI(n):i}function UO(n){let e=n.coreFeatures;(0,Ye.assert)(e,"This method should not have been called on a non-core schema");let t=e.getByIdentity(Ne.federationIdentity);(0,Ye.assert)(t,"This method should not have been called on a schema with no @link for federation");let i=Ne.FEDERATION_VERSIONS.find(t.url.version);if(!i)return[ae.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=i.addElementsToSchema(n);return r.length===0?eI(n):r}function eI(n){let e=n.coreFeatures;if(!e)return[];let t=[];for(let i of e.allFeatures()){if(i===e.coreItself||i.url.identity===Ne.federationIdentity||i.url.identity===Bpe.joinIdentity)continue;let r=(0,QO.coreFeatureDefinitionIfKnown)(i.url);r&&(t=t.concat(r.addElementsToSchema(n)))}return t}function Yp({parentType:n,directive:e,fieldAccessor:t,validate:i,decorateValidationErrors:r=!0,normalize:a=!1}){try{let o=(0,Jp.parseSelectionSet)({parentType:n,source:lde(e),fieldAccessor:t,validate:i});return(i??!0)&&o.forEachElement(s=>{if(s.kind==="Field"&&s.alias)throw new it.GraphQLError(`Cannot use alias "${s.alias}" in "${s}": aliases are not currently supported in @${e.name}`)}),a?o.normalize({parentType:n,recursive:!0}):o}catch(o){throw!(o instanceof it.GraphQLError)||!r?o:HO(e,o,s=>(s.startsWith("Cannot query field")&&(s.endsWith(".")&&(s=s.slice(0,s.length-1)),e.name===Ne.FederationDirectiveName.KEY?s=s+" (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).":s=s+" (if the field is defined in another subgraph, you need to add it to this subgraph with @external)."),s))}}W.parseFieldSetArgument=Yp;function Om({parentType:n,directive:e,includeInterfaceFieldsImplementations:t,validate:i=!0}){let r=[];try{Yp({parentType:n,directive:e,fieldAccessor:(a,o)=>{let s=a.field(o);if(s&&(r.push(s),t&&(0,U.isInterfaceType)(a)))for(let u of a.possibleRuntimeTypes()){let p=u.field(o);p&&r.push(p)}return s},validate:i})}catch(a){if(!((0,ae.errorCauses)(a)!==void 0)||i)throw a}return r}W.collectTargetFields=Om;function lde(n){var e;let t=n.arguments().fields,i=n.sourceAST;if(typeof t!="string")throw ae.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS_TYPE.get(n.name).err(`Invalid value for argument "${n.definition.argument("fields").name}": must be a string.`,{nodes:i});if(i&&i.kind==="Directive"){for(let r of(e=i.arguments)!==null&&e!==void 0?e:[])if(r.name.value==="fields"){if(r.value.kind!=="StringValue")throw ae.ERROR_CATEGORIES.DIRECTIVE_INVALID_FIELDS_TYPE.get(n.name).err(`Invalid value for argument "${n.definition.argument("fields").name}": must be a string.`,{nodes:i});break}}return t}function cde(n){var e;let t=[],i=new Im;for(let r of n)try{i.add(XO(r.name,(e=r.url)!==null&&e!==void 0?e:"",r.typeDefs))}catch(a){let o=(0,ae.errorCauses)(a);if(o)t=t.concat(o);else throw a}return t.length===0?i:t}W.subgraphsFromServiceList=cde;var Im=class{constructor(){this.subgraphs=new Ye.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(i){let r=(0,ae.errorCauses)(i);if(!r)throw i;e=e.concat(r)}return e.length===0?void 0:e}toString(){return"["+this.subgraphs.keys().join(", ")+"]"}};W.Subgraphs=Im;W.anyTypeSpec=(0,gE.createScalarTypeSpecification)({name:"_Any"});W.serviceTypeSpec=(0,gE.createObjectTypeSpecification)({name:"_Service",fieldsFct:n=>[{name:"sdl",type:n.stringType()}]});W.entityTypeSpec=(0,gE.createUnionTypeSpecification)({name:"_Entity",membersFct:n=>n.objectTypes().filter(TE).map(e=>e.name)});W.FEDERATION_OPERATION_TYPES=[W.anyTypeSpec,W.serviceTypeSpec,W.entityTypeSpec];W.serviceFieldName="_service";W.entitiesFieldName="_entities";W.FEDERATION_OPERATION_FIELDS=[W.serviceFieldName,W.entitiesFieldName];var wm=class{constructor(e,t,i){if(this.name=e,this.url=t,this.schema=i,e===W.FEDERATION_RESERVED_SUBGRAPH_NAME)throw ae.ERRORS.INVALID_SUBGRAPH_NAME.err(`Invalid name ${W.FEDERATION_RESERVED_SUBGRAPH_NAME} for a subgraph: this name is reserved`)}metadata(){let e=Ci(this.schema);return(0,Ye.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 o of W.FEDERATION_OPERATION_TYPES)o.checkOrAdd(this.schema);let t=this.schema.schemaDefinition.root("query"),i=t?t.type:this.schema.addType(new U.ObjectType("Query")),r=i.field(W.entitiesFieldName),a=e.entityType();if(a){let o=new U.NonNullType(new U.ListType(a));r?r.type||(r.type=a):i.addField(W.entitiesFieldName,o).addArgument("representations",new U.NonNullType(new U.ListType(new U.NonNullType(e.anyType()))))}else r&&r.remove();i.field(W.serviceFieldName)||i.addField(W.serviceFieldName,new U.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 it.GraphQLError?bE(e,this.name,ae.ERRORS.INVALID_GRAPHQL):e}}isPrintedDirective(e){var t;if(this.metadata().allFederationDirectives().includes(e))return!1;let i=this.schema.coreFeatures;return!i||((t=i.sourceFeature(e))===null||t===void 0?void 0:t.feature.url.identity)!==Zn.linkIdentity}isPrintedType(e){var t;if(this.metadata().allFederationTypes().includes(e)||(0,U.isObjectType)(e)&&e.isQueryRootType()&&e.fields().filter(r=>!yE(r)).length===0)return!1;let i=this.schema.coreFeatures;return!i||((t=i.sourceFeature(e))===null||t===void 0?void 0:t.feature.url.identity)!==Zn.linkIdentity}isPrintedDirectiveApplication(e){if(!this.schema.coreFeatures||e.name!==Ca.url.name)return!0;let t=e.arguments(),i;if("url"in t)try{i=Zn.FeatureUrl.parse(t.url)}catch{}return!(i?.identity===Zn.linkIdentity&&Object.keys(t).length===1)}toString(e=xO.defaultPrintOptions){return(0,xO.printSchema)(this.schema,{...e,directiveDefinitionFilter:t=>this.isPrintedDirective(t),typeFilter:t=>this.isPrintedType(t),fieldFilter:t=>!yE(t),directiveApplicationFilter:t=>this.isPrintedDirectiveApplication(t)})}};W.Subgraph=wm;function tI(n,e){return"subgraph"in n?n:{...n,subgraph:e}}W.addSubgraphToASTNode=tI;function bE(n,e,t){let i=(0,ae.errorCauses)(n).map(r=>{var a;let o=`[${e}] ${r.message}`,s=r.nodes?r.nodes.map(d=>tI(d,e)):void 0,u=(a=(0,ae.errorCodeDef)(r))!==null&&a!==void 0?a:t,p={...(0,ae.extractGraphQLErrorOptions)(r),nodes:s,originalError:r};return u?u.err(o,p):new it.GraphQLError(o,p)});return i.length===1?i[0]:(0,U.ErrGraphQLValidationFailed)(i)}W.addSubgraphToError=bE;var vE=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=Ci(this.schema);return(0,Ye.assert)(e,"Schema should be a subgraphs schema"),e}collectFakeExternals(){let e=this.metadata(),t=e.extendsDirective();for(let i of e.keyDirective().applications()){let r=i.parent;(i.ofExtension()||r.hasAppliedDirective(t))&&Om({parentType:r,directive:i,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,i=(0,U.baseType)(t.type);(0,U.isCompositeType)(i)&&Om({parentType:i,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 fde(n,e=()=>{}){let t=Ci(n);if(!t)return;let i=t.providesDirective(),r=t.requiresDirective();for(let a of n.types())if(!(!(0,U.isObjectType)(a)&&!(0,U.isInterfaceType)(a)))for(let o of a.fields()){let s=(0,U.baseType)(o.type);GO(i,o,s,e),GO(r,o,a,e)}}W.removeInactiveProvidesAndRequires=fde;function GO(n,e,t,i){for(let r of e.appliedDirectivesOf(n)){let a;try{a=Yp({parentType:t,directive:r})}catch{continue}if(EE(a)){r.remove();let o=iI(a);if(o.isEmpty())i(e,r);else{let s=e.applyDirective(n,{fields:o.toString(!0,!1)});i(e,r,s)}}}}function nI(n){let e=Ci(n.schema());if(!e)return!1;if(n.hasAppliedDirective(e.externalDirective()))return!0;let t=n.parent;if((0,U.isInterfaceType)(t))for(let i of t.possibleRuntimeTypes()){let r=i.field(n.name);if(r&&r.hasAppliedDirective(e.externalDirective()))return!0}return!1}function EE(n){return n.selections().some(e=>e.kind==="FieldSelection"?nI(e.element.definition)?!1:!e.selectionSet||EE(e.selectionSet):EE(e.selectionSet))}function iI(n){return n.lazyMap(e=>{if(e.kind==="FieldSelection"&&nI(e.element.definition))return e;if(e.selectionSet){let t=iI(e.selectionSet);if(!t.isEmpty())return e.withUpdatedSelectionSet(t)}})}});var aI=T((KTe,rI)=>{"use strict";f();c();rI.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 SE=T((WTe,sI)=>{f();c();var Yc=aI(),oI={};for(let n of Object.keys(Yc))oI[Yc[n]]=n;var he={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"]}};sI.exports=he;for(let n of Object.keys(he)){if(!("channels"in he[n]))throw new Error("missing channels property: "+n);if(!("labels"in he[n]))throw new Error("missing channel labels property: "+n);if(he[n].labels.length!==he[n].channels)throw new Error("channel and label counts mismatch: "+n);let{channels:e,labels:t}=he[n];delete he[n].channels,delete he[n].labels,Object.defineProperty(he[n],"channels",{value:e}),Object.defineProperty(he[n],"labels",{value:t})}he.rgb.hsl=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255,r=Math.min(e,t,i),a=Math.max(e,t,i),o=a-r,s,u;a===r?s=0:e===a?s=(t-i)/o:t===a?s=2+(i-e)/o:i===a&&(s=4+(e-t)/o),s=Math.min(s*60,360),s<0&&(s+=360);let p=(r+a)/2;return a===r?u=0:p<=.5?u=o/(a+r):u=o/(2-a-r),[s,u*100,p*100]};he.rgb.hsv=function(n){let e,t,i,r,a,o=n[0]/255,s=n[1]/255,u=n[2]/255,p=Math.max(o,s,u),d=p-Math.min(o,s,u),l=function(m){return(p-m)/6/d+1/2};return d===0?(r=0,a=0):(a=d/p,e=l(o),t=l(s),i=l(u),o===p?r=i-t:s===p?r=1/3+e-i:u===p&&(r=2/3+t-e),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,p*100]};he.rgb.hwb=function(n){let e=n[0],t=n[1],i=n[2],r=he.rgb.hsl(n)[0],a=1/255*Math.min(e,Math.min(t,i));return i=1-1/255*Math.max(e,Math.max(t,i)),[r,a*100,i*100]};he.rgb.cmyk=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255,r=Math.min(1-e,1-t,1-i),a=(1-e-r)/(1-r)||0,o=(1-t-r)/(1-r)||0,s=(1-i-r)/(1-r)||0;return[a*100,o*100,s*100,r*100]};function hde(n,e){return(n[0]-e[0])**2+(n[1]-e[1])**2+(n[2]-e[2])**2}he.rgb.keyword=function(n){let e=oI[n];if(e)return e;let t=1/0,i;for(let r of Object.keys(Yc)){let a=Yc[r],o=hde(n,a);o.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;let r=e*.4124+t*.3576+i*.1805,a=e*.2126+t*.7152+i*.0722,o=e*.0193+t*.1192+i*.9505;return[r*100,a*100,o*100]};he.rgb.lab=function(n){let e=he.rgb.xyz(n),t=e[0],i=e[1],r=e[2];t/=95.047,i/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let a=116*i-16,o=500*(t-i),s=200*(i-r);return[a,o,s]};he.hsl.rgb=function(n){let e=n[0]/360,t=n[1]/100,i=n[2]/100,r,a,o;if(t===0)return o=i*255,[o,o,o];i<.5?r=i*(1+t):r=i+t-i*t;let s=2*i-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?o=s+(r-s)*6*a:2*a<1?o=r:3*a<2?o=s+(r-s)*(2/3-a)*6:o=s,u[p]=o*255;return u};he.hsl.hsv=function(n){let e=n[0],t=n[1]/100,i=n[2]/100,r=t,a=Math.max(i,.01);i*=2,t*=i<=1?i:2-i,r*=a<=1?a:2-a;let o=(i+t)/2,s=i===0?2*r/(a+r):2*t/(i+t);return[e,s*100,o*100]};he.hsv.rgb=function(n){let e=n[0]/60,t=n[1]/100,i=n[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),o=255*i*(1-t),s=255*i*(1-t*a),u=255*i*(1-t*(1-a));switch(i*=255,r){case 0:return[i,u,o];case 1:return[s,i,o];case 2:return[o,i,u];case 3:return[o,s,i];case 4:return[u,o,i];case 5:return[i,o,s]}};he.hsv.hsl=function(n){let e=n[0],t=n[1]/100,i=n[2]/100,r=Math.max(i,.01),a,o;o=(2-t)*i;let s=(2-t)*r;return a=t*r,a/=s<=1?s:2-s,a=a||0,o/=2,[e,a*100,o*100]};he.hwb.rgb=function(n){let e=n[0]/360,t=n[1]/100,i=n[2]/100,r=t+i,a;r>1&&(t/=r,i/=r);let o=Math.floor(6*e),s=1-i;a=6*e-o,o&1&&(a=1-a);let u=t+a*(s-t),p,d,l;switch(o){default:case 6:case 0:p=s,d=u,l=t;break;case 1:p=u,d=s,l=t;break;case 2:p=t,d=s,l=u;break;case 3:p=t,d=u,l=s;break;case 4:p=u,d=t,l=s;break;case 5:p=s,d=t,l=u;break}return[p*255,d*255,l*255]};he.cmyk.rgb=function(n){let e=n[0]/100,t=n[1]/100,i=n[2]/100,r=n[3]/100,a=1-Math.min(1,e*(1-r)+r),o=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,i*(1-r)+r);return[a*255,o*255,s*255]};he.xyz.rgb=function(n){let e=n[0]/100,t=n[1]/100,i=n[2]/100,r,a,o;return r=e*3.2406+t*-1.5372+i*-.4986,a=e*-.9689+t*1.8758+i*.0415,o=e*.0557+t*-.204+i*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,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[r*255,a*255,o*255]};he.xyz.lab=function(n){let e=n[0],t=n[1],i=n[2];e/=95.047,t/=100,i/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let r=116*t-16,a=500*(e-t),o=200*(t-i);return[r,a,o]};he.lab.xyz=function(n){let e=n[0],t=n[1],i=n[2],r,a,o;a=(e+16)/116,r=t/500+a,o=a-i/200;let s=a**3,u=r**3,p=o**3;return a=s>.008856?s:(a-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,o=p>.008856?p:(o-16/116)/7.787,r*=95.047,a*=100,o*=108.883,[r,a,o]};he.lab.lch=function(n){let e=n[0],t=n[1],i=n[2],r;r=Math.atan2(i,t)*360/2/Math.PI,r<0&&(r+=360);let o=Math.sqrt(t*t+i*i);return[e,o,r]};he.lch.lab=function(n){let e=n[0],t=n[1],r=n[2]/360*2*Math.PI,a=t*Math.cos(r),o=t*Math.sin(r);return[e,a,o]};he.rgb.ansi16=function(n,e=null){let[t,i,r]=n,a=e===null?he.rgb.hsv(n)[2]:e;if(a=Math.round(a/50),a===0)return 30;let o=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return a===2&&(o+=60),o};he.hsv.ansi16=function(n){return he.rgb.ansi16(he.hsv.rgb(n),n[2])};he.rgb.ansi256=function(n){let e=n[0],t=n[1],i=n[2];return e===t&&t===i?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(i/255*5)};he.ansi16.rgb=function(n){let e=n%10;if(e===0||e===7)return n>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let t=(~~(n>50)+1)*.5,i=(e&1)*t*255,r=(e>>1&1)*t*255,a=(e>>2&1)*t*255;return[i,r,a]};he.ansi256.rgb=function(n){if(n>=232){let a=(n-232)*10+8;return[a,a,a]}n-=16;let e,t=Math.floor(n/36)/5*255,i=Math.floor((e=n%36)/6)/5*255,r=e%6/5*255;return[t,i,r]};he.rgb.hex=function(n){let t=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};he.hex.rgb=function(n){let e=n.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(s=>s+s).join(""));let i=parseInt(t,16),r=i>>16&255,a=i>>8&255,o=i&255;return[r,a,o]};he.rgb.hcg=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255,r=Math.max(Math.max(e,t),i),a=Math.min(Math.min(e,t),i),o=r-a,s,u;return o<1?s=a/(1-o):s=0,o<=0?u=0:r===e?u=(t-i)/o%6:r===t?u=2+(i-e)/o:u=4+(e-t)/o,u/=6,u%=1,[u*360,o*100,s*100]};he.hsl.hcg=function(n){let e=n[1]/100,t=n[2]/100,i=t<.5?2*e*t:2*e*(1-t),r=0;return i<1&&(r=(t-.5*i)/(1-i)),[n[0],i*100,r*100]};he.hsv.hcg=function(n){let e=n[1]/100,t=n[2]/100,i=e*t,r=0;return i<1&&(r=(t-i)/(1-i)),[n[0],i*100,r*100]};he.hcg.rgb=function(n){let e=n[0]/360,t=n[1]/100,i=n[2]/100;if(t===0)return[i*255,i*255,i*255];let r=[0,0,0],a=e%1*6,o=a%1,s=1-o,u=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return u=(1-t)*i,[(t*r[0]+u)*255,(t*r[1]+u)*255,(t*r[2]+u)*255]};he.hcg.hsv=function(n){let e=n[1]/100,t=n[2]/100,i=e+t*(1-e),r=0;return i>0&&(r=e/i),[n[0],r*100,i*100]};he.hcg.hsl=function(n){let e=n[1]/100,i=n[2]/100*(1-e)+.5*e,r=0;return i>0&&i<.5?r=e/(2*i):i>=.5&&i<1&&(r=e/(2*(1-i))),[n[0],r*100,i*100]};he.hcg.hwb=function(n){let e=n[1]/100,t=n[2]/100,i=e+t*(1-e);return[n[0],(i-e)*100,(1-i)*100]};he.hwb.hcg=function(n){let e=n[1]/100,i=1-n[2]/100,r=i-e,a=0;return r<1&&(a=(i-r)/(1-r)),[n[0],r*100,a*100]};he.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};he.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};he.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};he.gray.hsl=function(n){return[0,0,n[0]]};he.gray.hsv=he.gray.hsl;he.gray.hwb=function(n){return[0,100,n[0]]};he.gray.cmyk=function(n){return[0,0,0,n[0]]};he.gray.lab=function(n){return[n[0],0,0]};he.gray.hex=function(n){let e=Math.round(n[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i};he.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]}});var pI=T((XTe,uI)=>{f();c();var Rm=SE();function mde(){let n={},e=Object.keys(Rm);for(let t=e.length,i=0;i{f();c();var DE=SE(),gde=pI(),Xp={},Ade=Object.keys(DE);function Tde(n){let e=function(...t){let i=t[0];return i==null?i:(i.length>1&&(t=i),n(t))};return"conversion"in n&&(e.conversion=n.conversion),e}function bde(n){let e=function(...t){let i=t[0];if(i==null)return i;i.length>1&&(t=i);let r=n(t);if(typeof r=="object")for(let a=r.length,o=0;o{Xp[n]={},Object.defineProperty(Xp[n],"channels",{value:DE[n].channels}),Object.defineProperty(Xp[n],"labels",{value:DE[n].labels});let e=gde(n);Object.keys(e).forEach(i=>{let r=e[i];Xp[n][i]=bde(r),Xp[n][i].raw=Tde(r)})});dI.exports=Xp});var vI=T((rbe,yI)=>{"use strict";f();c();var cI=(n,e)=>(...t)=>`\x1B[${n(...t)+e}m`,fI=(n,e)=>(...t)=>{let i=n(...t);return`\x1B[${38+e};5;${i}m`},hI=(n,e)=>(...t)=>{let i=n(...t);return`\x1B[${38+e};2;${i[0]};${i[1]};${i[2]}m`},Bm=n=>n,mI=(n,e,t)=>[n,e,t],Zp=(n,e,t)=>{Object.defineProperty(n,e,{get:()=>{let i=t();return Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0}),i},enumerable:!0,configurable:!0})},_E,ed=(n,e,t,i)=>{_E===void 0&&(_E=lI());let r=i?10:0,a={};for(let[o,s]of Object.entries(_E)){let u=o==="ansi16"?"ansi":o;o===e?a[u]=n(t,r):typeof s=="object"&&(a[u]=n(s[e],r))}return a};function Sde(){let n=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,i]of Object.entries(e)){for(let[r,a]of Object.entries(i))e[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[r]=e[r],n.set(a[0],a[1]);Object.defineProperty(e,t,{value:i,enumerable:!1})}return Object.defineProperty(e,"codes",{value:n,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",Zp(e.color,"ansi",()=>ed(cI,"ansi16",Bm,!1)),Zp(e.color,"ansi256",()=>ed(fI,"ansi256",Bm,!1)),Zp(e.color,"ansi16m",()=>ed(hI,"rgb",mI,!1)),Zp(e.bgColor,"ansi",()=>ed(cI,"ansi16",Bm,!0)),Zp(e.bgColor,"ansi256",()=>ed(fI,"ansi256",Bm,!0)),Zp(e.bgColor,"ansi16m",()=>ed(hI,"rgb",mI,!0)),e}Object.defineProperty(yI,"exports",{enumerable:!0,get:Sde})});var gI=T((sbe,EI)=>{"use strict";f();c();EI.exports={stdout:!1,stderr:!1}});var TI=T((dbe,AI)=>{"use strict";f();c();var Dde=(n,e,t)=>{let i=n.indexOf(e);if(i===-1)return n;let r=e.length,a=0,o="";do o+=n.substr(a,i-a)+e+t,a=i+r,i=n.indexOf(e,a);while(i!==-1);return o+=n.substr(a),o},_de=(n,e,t,i)=>{let r=0,a="";do{let o=n[i-1]==="\r";a+=n.substr(r,(o?i-1:i)-r)+e+(o?`\r `:` `)+t,r=i+1,i=n.indexOf(` `,r)}while(i!==-1);return a+=n.substr(r),a};AI.exports={stringReplaceAll:Dde,stringEncaseCRLFWithFirstIndex:_de}});var FI=T((fbe,_I)=>{"use strict";f();c();var Fde=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,bI=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Cde=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Nde=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Ode=new Map([["n",` `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function DI(n){let e=n[0]==="u",t=n[1]==="{";return e&&!t&&n.length===5||n[0]==="x"&&n.length===3?String.fromCharCode(parseInt(n.slice(1),16)):e&&t?String.fromCodePoint(parseInt(n.slice(2,-1),16)):Ode.get(n)||n}function Ide(n,e){let t=[],i=e.trim().split(/\s*,\s*/g),r;for(let a of i){let o=Number(a);if(!Number.isNaN(o))t.push(o);else if(r=a.match(Cde))t.push(r[2].replace(Nde,(s,u,p)=>u?DI(u):p));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${n}')`)}return t}function wde(n){bI.lastIndex=0;let e=[],t;for(;(t=bI.exec(n))!==null;){let i=t[1];if(t[2]){let r=Ide(i,t[2]);e.push([i].concat(r))}else e.push([i])}return e}function SI(n,e){let t={};for(let r of e)for(let a of r.styles)t[a[0]]=r.inverse?null:a.slice(1);let i=n;for(let[r,a]of Object.entries(t))if(Array.isArray(a)){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);i=a.length>0?i[r](...a):i[r]}return i}_I.exports=(n,e)=>{let t=[],i=[],r=[];if(e.replace(Fde,(a,o,s,u,p,d)=>{if(o)r.push(DI(o));else if(u){let l=r.join("");r=[],i.push(t.length===0?l:SI(n,t)(l)),t.push({inverse:s,styles:wde(u)})}else if(p){if(t.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(SI(n,t)(r.join(""))),r=[],t.pop()}else r.push(d)}),i.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 i.join("")}});var BI=T((ybe,RI)=>{"use strict";f();c();var Jc=vI(),{stdout:CE,stderr:NE}=gI(),{stringReplaceAll:Rde,stringEncaseCRLFWithFirstIndex:Bde}=TI(),{isArray:Lm}=Array,NI=["ansi","ansi","ansi256","ansi16m"],td=Object.create(null),Lde=(n,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=CE?CE.level:0;n.level=e.level===void 0?t:e.level},OE=class{constructor(e){return OI(e)}},OI=n=>{let e={};return Lde(e,n),e.template=(...t)=>wI(e.template,...t),Object.setPrototypeOf(e,Pm.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=OE,e.template};function Pm(n){return OI(n)}for(let[n,e]of Object.entries(Jc))td[n]={get(){let t=xm(this,IE(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,n,{value:t}),t}};td.visible={get(){let n=xm(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:n}),n}};var II=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let n of II)td[n]={get(){let{level:e}=this;return function(...t){let i=IE(Jc.color[NI[e]][n](...t),Jc.color.close,this._styler);return xm(this,i,this._isEmpty)}}};for(let n of II){let e="bg"+n[0].toUpperCase()+n.slice(1);td[e]={get(){let{level:t}=this;return function(...i){let r=IE(Jc.bgColor[NI[t]][n](...i),Jc.bgColor.close,this._styler);return xm(this,r,this._isEmpty)}}}}var Pde=Object.defineProperties(()=>{},{...td,level:{enumerable:!0,get(){return this._generator.level},set(n){this._generator.level=n}}}),IE=(n,e,t)=>{let i,r;return t===void 0?(i=n,r=e):(i=t.openAll+n,r=e+t.closeAll),{open:n,close:e,openAll:i,closeAll:r,parent:t}},xm=(n,e,t)=>{let i=(...r)=>Lm(r[0])&&Lm(r[0].raw)?CI(i,wI(i,...r)):CI(i,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(i,Pde),i._generator=n,i._styler=e,i._isEmpty=t,i},CI=(n,e)=>{if(n.level<=0||!e)return n._isEmpty?"":e;let t=n._styler;if(t===void 0)return e;let{openAll:i,closeAll:r}=t;if(e.indexOf("\x1B")!==-1)for(;t!==void 0;)e=Rde(e,t.close,t.open),t=t.parent;let a=e.indexOf(` `);return a!==-1&&(e=Bde(e,r,i,a)),i+e+r},FE,wI=(n,...e)=>{let[t]=e;if(!Lm(t)||!Lm(t.raw))return e.join(" ");let i=e.slice(1),r=[t.raw[0]];for(let a=1;a{f();c();(function(n){"use strict";n.console||(n.console={});for(var e=n.console,t,i,r=function(){},a=["memory"],o="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(;i=o.pop();)e[i]||(e[i]=r)})(typeof window>"u"?LI:window)});var $I=T(Yo=>{"use strict";f();c();var xde=Yo&&Yo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.DebugLogger=Yo.newDebugLogger=void 0;var nd=xde(BI()),kde=Kt();function kI(n){let e="";for(let t=0;tr.trim()).includes(n)}var Xc=0,RE="",wE=0,xI=[];function Vde(n){let e=$de(n),t=new Zc(n,e);if(e){global.console=PI(),xI.push(t),wE=Math.max(wE,n.length);for(let i of xI)Zc.prototype.updateHeader.call(i,wE)}return t}Yo.newDebugLogger=Vde;function jde(){Xc++,RE=kI(Xc)}function qde(){Xc>0&&(Xc--,RE=kI(Xc))}var Zc=class{constructor(e,t){this.name=e,this.enabled=t,this.header=nd.default.blackBright(`[${e}] `)}updateHeader(e){let t="";if(e>this.name.length){let i=e-this.name.length;for(let r=0;r{f();c();VI.exports={existsSync:Deno.ensureFileSync,writeFileSync:Deno.writeTextFile}});var UI=T((Nbe,MI)=>{"use strict";f();c();function Na(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}function qI(n,e){for(var t="",i=0,r=-1,a=0,o,s=0;s<=n.length;++s){if(s2){var u=t.lastIndexOf("/");if(u!==t.length-1){u===-1?(t="",i=0):(t=t.slice(0,u),i=t.length-1-t.lastIndexOf("/")),r=s,a=0;continue}}else if(t.length===2||t.length===1){t="",i=0,r=s,a=0;continue}}e&&(t.length>0?t+="/..":t="..",i=2)}else t.length>0?t+="/"+n.slice(r+1,s):t=n.slice(r+1,s),i=s-r-1;r=s,a=0}else o===46&&a!==-1?++a:a=-1}return t}function Mde(n,e){var t=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return t?t===e.root?t+i:t+n+i:i}var id={resolve:function(){for(var e="",t=!1,i,r=arguments.length-1;r>=-1&&!t;r--){var a;r>=0?a=arguments[r]:(i===void 0&&(i=process.cwd()),a=i),Na(a),a.length!==0&&(e=a+"/"+e,t=a.charCodeAt(0)===47)}return e=qI(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(Na(e),e.length===0)return".";var t=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=qI(e,!t),e.length===0&&!t&&(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return Na(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=i:e+="/"+i)}return e===void 0?".":id.normalize(e)},relative:function(e,t){if(Na(e),Na(t),e===t||(e=id.resolve(e),t=id.resolve(t),e===t))return"";for(var i=1;ip){if(t.charCodeAt(o+l)===47)return t.slice(o+l+1);if(l===0)return t.slice(o+l)}else a>p&&(e.charCodeAt(i+l)===47?d=l:l===0&&(d=0));break}var m=e.charCodeAt(i+l),y=t.charCodeAt(o+l);if(m!==y)break;m===47&&(d=l)}var v="";for(l=i+d+1;l<=r;++l)(l===r||e.charCodeAt(l)===47)&&(v.length===0?v+="..":v+="/..");return v.length>0?v+t.slice(o+d):(o+=d,t.charCodeAt(o)===47&&++o,t.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(Na(e),e.length===0)return".";for(var t=e.charCodeAt(0),i=t===47,r=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),t===47){if(!a){r=o;break}}else a=!1;return r===-1?i?"/":".":i&&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');Na(e);var i=0,r=-1,a=!0,o;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,u=-1;for(o=e.length-1;o>=0;--o){var p=e.charCodeAt(o);if(p===47){if(!a){i=o+1;break}}else u===-1&&(a=!1,u=o+1),s>=0&&(p===t.charCodeAt(s)?--s===-1&&(r=o):(s=-1,r=u))}return i===r?r=u:r===-1&&(r=e.length),e.slice(i,r)}else{for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!a){i=o+1;break}}else r===-1&&(a=!1,r=o+1);return r===-1?"":e.slice(i,r)}},extname:function(e){Na(e);for(var t=-1,i=0,r=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(u===47){if(!a){i=s+1;break}continue}r===-1&&(a=!1,r=s+1),u===46?t===-1?t=s:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||r===-1||o===0||o===1&&t===r-1&&t===i+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 Mde("/",e)},parse:function(e){Na(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var i=e.charCodeAt(0),r=i===47,a;r?(t.root="/",a=1):a=0;for(var o=-1,s=0,u=-1,p=!0,d=e.length-1,l=0;d>=a;--d){if(i=e.charCodeAt(d),i===47){if(!p){s=d+1;break}continue}u===-1&&(p=!1,u=d+1),i===46?o===-1?o=d:l!==1&&(l=1):o!==-1&&(l=-1)}return o===-1||u===-1||l===0||l===1&&o===u-1&&o===s+1?u!==-1&&(s===0&&r?t.base=t.name=e.slice(1,u):t.base=t.name=e.slice(s,u)):(s===0&&r?(t.name=e.slice(1,o),t.base=e.slice(1,u)):(t.name=e.slice(s,o),t.base=e.slice(s,u)),t.ext=e.slice(o,u)),s>0?t.dir=e.slice(0,s-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};id.posix=id;MI.exports=id});var XI=T(Jo=>{"use strict";f();c();var zI=Jo&&Jo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.extractSubgraphsFromSupergraph=Jo.extractSubgraphsNamesAndUrlsFromSupergraph=void 0;var ut=It(),Mm=_u(),Ude=Fn(),GI=_u(),dn=Kt(),WI=VE(),Gde=wc(),QI=_r(),Qde=hc(),Kde=cm(),KI=zI(jI()),Hde=zI(UI()),zde=Kt(),Vm=qn();function Wde(n,e,t){return n.types().filter(i=>!e.isSpecType(i)&&!t.isSpecType(i))}function Yde(n){let[e,t]=(0,WI.validateSupergraph)(n),[i]=YI(n,t);return i.values().map(r=>({name:r.name,url:r.url}))}Jo.extractSubgraphsNamesAndUrlsFromSupergraph=Yde;function YI(n,e){let t=new GI.Subgraphs,i=e.graphDirective(n),r=e.graphEnum(n),a=new Map;for(let o of r.values){let s=o.appliedDirectivesOf(i);if(!s.length)throw new Error(`Value ${o} of join__Graph enum has no @join__graph directive`);let u=s[0].arguments(),p=new GI.Subgraph(u.name,u.url,(0,Mm.newEmptyFederation2Schema)());t.add(p),a.set(o.name,u.name)}return[t,a]}var jm=class{constructor(e,t){this.originalError=e,this.subgraph=t}};function Jde(n,e,t,i,r){let a=new Set,o=n.schemaDefinition.roots().map(s=>s.type);for(let s of n.types()){let{isEntityWithKeyInSubgraph:u,typesInFederationDirectives:p}=r(s,e);u&&o.push(s),p.forEach(d=>o.push(d))}for(;o.length>0;){let s=o.pop();if(t(s),!a.has(s.name))switch(a.add(s.name),s.kind){case"InterfaceType":s.allImplementations().forEach(u=>o.push(u));case"ObjectType":s.interfaces().forEach(u=>o.push(u));for(let u of s.fields()){let{isInSubgraph:p,typesInFederationDirectives:d}=i(u,e);p&&(u.arguments().forEach(l=>o.push((0,ut.baseType)(l.type))),o.push((0,ut.baseType)(u.type)),d.forEach(l=>o.push(l)))}break;case"InputObjectType":for(let u of s.fields()){let{isInSubgraph:p,typesInFederationDirectives:d}=i(u,e);p&&(o.push((0,ut.baseType)(u.type)),d.forEach(l=>o.push(l)))}break;case"UnionType":s.members().forEach(u=>o.push(u.type));break}}for(let s of n.directives())s.hasExecutableLocations()&&s.arguments().forEach(u=>o.push((0,ut.baseType)(u.type)))}function Xde(n,e,t,i){let r=new Map;for(let a of e){let o=new Set;Jde(n,a,s=>o.add(s.name),t,i),r.set(a,o)}return r}function BE(n,e){if(!n)return[];let t=[];return(0,Kde.parseSelectionSet)({parentType:e,source:n,fieldAccessor:(i,r)=>{let a=i.field(r);return a&&t.push((0,ut.baseType)(a.type)),a},validate:!1}),t}function Zde(n,e=!0){let[t,i,r,a]=(0,WI.validateSupergraph)(n),o=i.version.equals(new Ude.FeatureVersion(0,1));try{let[s,u]=YI(n,i),p=v=>{let g=v.arguments().graph;if(!g)return;let b=u.get(g);(0,dn.assert)(b,()=>`Invalid graph name ${g} found in ${v} on ${v.parent}: does not match a graph defined in the @join__Graph enum`);let D=s.get(b);return(0,dn.assert)(D,"All subgraphs should have been created by `collectEmptySubgraphs`"),D},d=new Map;for(let[v,g]of u.entries())d.set(g,v);let l=v=>{let g=d.get(v);return(0,dn.assert)(g,()=>`Invalid subgraph name ${v} found: does not match a subgraph defined in the @join__Graph enum`),g},m=Wde(n,i,t.coreDefinition),y={supergraph:n,subgraphs:s,joinSpec:i,contextSpec:r,costSpec:a,filteredTypes:m,getSubgraph:p,getSubgraphEnumValue:l};o?sle(y):ale(y);for(let v of s)if(e)try{v.validate()}catch(g){throw new jm(g,v)}else v.assumeValid();return[s,d]}catch(s){let u=s,p;s instanceof jm&&(u=s.originalError,p=s.subgraph);let d=p?`subgraph "${p.name}"`:"subgraphs";if(o){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: ${xE(u)}`)}else{let l=`Unexpected error extracting ${d} from the supergraph: this is either a bug, or the supergraph has been corrupted`,m=p?` `+ole(p):"";throw new Error(`${l}. Details: ${xE(u)}${m}`)}}}Jo.extractSubgraphsFromSupergraph=Zde;function ele(n){let{supergraph:e,joinSpec:t,filteredTypes:i,getSubgraph:r}=n,a=t.typeDirective(e),o=[],s=[],u=[],p=[];for(let d of i){let l=d.appliedDirectivesOf(a);switch(d.kind){case"InterfaceType":case"ObjectType":o.push({type:d,subgraphsInfo:$m(d,d.appliedDirectivesOf(a),n)});break;case"InputObjectType":s.push({type:d,subgraphsInfo:$m(d,d.appliedDirectivesOf(a),n)});break;case"EnumType":u.push({type:d,subgraphsInfo:$m(d,d.appliedDirectivesOf(a),n)});break;case"UnionType":p.push({type:d,subgraphsInfo:$m(d,d.appliedDirectivesOf(a),n)});break;case"ScalarType":for(let m of l){let y=r(m);(0,dn.assert)(y,()=>`Should have found the subgraph for ${m}`);let v=y.schema.addType((0,ut.newNamedType)(d.kind,d.name));n.costSpec&&rd(d,v,y,n.costSpec)}break}}return{objOrItfTypes:o,inputObjTypes:s,enumTypes:u,unionTypes:p}}function $m(n,e,t){var i;let{supergraph:r,getSubgraph:a,getSubgraphEnumValue:o}=t;(0,dn.assert)(e.length>0,`Missing @join__type on ${n}`);let s=new Map;for(let p of e){let{graph:d,key:l,extension:m,resolvable:y,isInterfaceObject:v}=p.arguments(),g=s.get(d);if(!g){let b=a(p);(0,dn.assert)(b,()=>`Should have found the subgraph for ${p}`);let D=v?"ObjectType":n.kind,R=b.schema.addType((0,ut.newNamedType)(D,n.name));v&&R.applyDirective("interfaceObject"),g={type:R,subgraph:b},s.set(d,g)}if(l){let b=g.type.applyDirective("key",{fields:l,resolvable:y});m&&b.setOfExtension(g.type.newExtension())}}let u=(i=t.contextSpec)===null||i===void 0?void 0:i.contextDirective(r);if(u){let p=n.appliedDirectivesOf(u);for(let d of p){let{name:l}=d.arguments(),m=l.match(/^(.*)__([A-Za-z]\w*)$/),y=m?m[1]:void 0,v=m?m[2]:void 0;(0,dn.assert)(y,`Invalid context name ${l} found in ${d} on ${d.parent}: does not match the expected pattern`);let g=s.get(o(y)),b=g?.subgraph.metadata().contextDirective();g&&b&&(0,Vm.isFederationDirectiveDefinedInSchema)(b)&&g.type.applyDirective(b,{name:v})}}return s}function tle(n,e){let t=n.joinSpec.fieldDirective(n.supergraph),i=n.joinSpec.implementsDirective(n.supergraph);(0,dn.assert)(i,"@join__implements should existing for a fed2 supergraph");for(let{type:r,subgraphsInfo:a}of e){let o=r.appliedDirectivesOf(i);for(let s of o){let u=s.arguments();a.get(u.graph).type.addImplementedInterface(u.interface)}if(n.costSpec)for(let{type:s,subgraph:u}of a.values())rd(r,s,u,n.costSpec);for(let s of r.fields()){let u=s.appliedDirectivesOf(t);if(u.length===0){let p=(0,ut.isObjectType)(r)&&a.size>1;for(let{type:d,subgraph:l}of a.values())qm({field:s,type:d,subgraph:l,isShareable:p,costSpec:n.costSpec})}else{let p=(0,ut.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:m,subgraph:y}=a.get(l.graph);qm({field:s,type:m,subgraph:y,isShareable:p,joinFieldArgs:l,costSpec:n.costSpec})}}}}}function nle(n,e){let t=n.joinSpec.fieldDirective(n.supergraph);for(let{type:i,subgraphsInfo:r}of e)for(let a of i.fields()){let o=a.appliedDirectivesOf(t);if(o.length===0)for(let{type:s,subgraph:u}of r.values())kE({field:a,type:s,subgraph:u,costSpec:n.costSpec});else for(let s of o){let u=s.arguments();if(!u.graph)continue;let{type:p,subgraph:d}=r.get(u.graph);kE({field:a,type:p,subgraph:d,joinFieldArgs:u,costSpec:n.costSpec})}}}function ile(n,e){let t=n.joinSpec.enumValueDirective(n.supergraph);for(let{type:i,subgraphsInfo:r}of e){if(n.costSpec)for(let{type:a,subgraph:o}of r.values())rd(i,a,o,n.costSpec);for(let a of i.values){let o=t?a.appliedDirectivesOf(t):[];if(o.length===0)for(let{type:s}of r.values())s.addValue(a.name);else for(let s of o){let u=s.arguments(),{type:p}=r.get(u.graph);p.addValue(a.name)}}}}function rle(n,e){let t=n.joinSpec.unionMemberDirective(n.supergraph);for(let{type:i,subgraphsInfo:r}of e){let a=t?i.appliedDirectivesOf(t):[];if(a.length===0)for(let{type:o,subgraph:s}of r.values())for(let u of i.types()){let p=s.schema.type(u.name);p&&o.addType(p)}else for(let o of a){let s=o.arguments(),{type:u,subgraph:p}=r.get(s.graph);u.addType(p.schema.type(s.member))}}}function ale(n){let{objOrItfTypes:e,inputObjTypes:t,enumTypes:i,unionTypes:r}=ele(n);tle(n,e),nle(n,t),ile(n,i),rle(n,r);let a=n.supergraph.directives().filter(o=>o.hasExecutableLocations());for(let o of n.subgraphs){(0,Mm.removeInactiveProvidesAndRequires)(o.schema),JI(o.schema);for(let s of a)(0,ut.copyDirectiveDefinitionToSchema)({definition:s,schema:o.schema,copyDirectiveApplicationsInArguments:!1,locationFilter:u=>(0,ut.isExecutableDirectiveLocation)(u)})}}var HI="APOLLO_FEDERATION_DEBUG_SUBGRAPHS";function ole(n){if(!!!(0,zde.validateStringContainsBoolean)(process.env[HI]))return`Re-run with environment variable '${HI}' set to 'true' to extract the invalid subgraph`;try{let t=`extracted-subgraph-${n.name}-${Date.now()}.graphql`,i=Hde.default.resolve(t);if(KI.default.existsSync(i))throw new Error(`candidate file ${t} already existed`);return KI.default.writeFileSync(i,(0,Qde.printSchema)(n.schema)),`The (invalid) extracted subgraph has been written in: ${i}.`}catch(t){return`Was not able to print generated subgraph for "${n.name}" because: ${xE(t)}`}}function rd(n,e,t,i){let r=i.costDirective(n.schema());if(r){let o=n.appliedDirectivesOf(r)[0];o&&e.applyDirective(t.metadata().costDirective().name,o.arguments())}let a=i.listSizeDirective(n.schema());if(a){let o=n.appliedDirectivesOf(a)[0];o&&e.applyDirective(t.metadata().listSizeDirective().name,o.arguments())}}function xE(n){let e=(0,Vm.errorCauses)(n);return e?(0,Vm.printErrors)(e):String(n)}function qm({field:n,type:e,subgraph:t,isShareable:i,joinFieldArgs:r,costSpec:a}){let o=r?.type?$E(r.type,t.schema,t.name):e1(n.type,t.schema,t.name),s=e.addField(n.name,o);for(let d of n.arguments()){let l=s.addArgument(d.name,e1(d.type,t.schema,t.name),d.defaultValue);a&&rd(d,l,t,a)}if(r?.requires&&s.applyDirective(t.metadata().requiresDirective(),{fields:r.requires}),r?.provides&&s.applyDirective(t.metadata().providesDirective(),{fields:r.provides}),r?.contextArguments){let d=t.metadata().fromContextDirective();if((0,Vm.isFederationDirectiveDefinedInSchema)(d))for(let l of r.contextArguments){let m=l.context.match(/^.*__([A-Za-z]\w*)$/);if(!m)throw new Error(`Invalid context argument: ${l.context}`);s.addArgument(l.name,$E(l.type,t.schema,t.name));let y=s.argument(l.name);y?.applyDirective(d,{field:`$${m[1]} ${l.selection}`})}else throw new Error(`@fromContext directive is not defined in the subgraph schema: ${t.name}`)}let u=!!r?.external;u&&s.applyDirective(t.metadata().externalDirective());let p=!!r?.usedOverridden;return p&&!r?.overrideLabel&&s.applyDirective(t.metadata().externalDirective(),{reason:"[overridden]"}),r?.override&&s.applyDirective(t.metadata().overrideDirective(),{from:r.override,...r.overrideLabel?{label:r.overrideLabel}:{}}),i&&!u&&!p&&s.applyDirective(t.metadata().shareableDirective()),a&&rd(n,s,t,a),s}function kE({field:n,type:e,subgraph:t,joinFieldArgs:i,costSpec:r}){let a=i?.type?$E(i?.type,t.schema,t.name):e1(n.type,t.schema,t.name),o=e.addField(n.name,a);return o.defaultValue=n.defaultValue,r&&rd(n,o,t,r),o}function sle({supergraph:n,subgraphs:e,joinSpec:t,filteredTypes:i,getSubgraph:r}){let a=t.typeDirective(n),o=t.ownerDirective(n),s=t.fieldDirective(n),u=Xde(n,e.names(),(l,m)=>{var y;let v=l.appliedDirectivesOf(s);if(v.length){let g=v.find(b=>{var D;return((D=r(b))===null||D===void 0?void 0:D.name)===m});if(g){let b=g.arguments();return{isInSubgraph:!0,typesInFederationDirectives:BE(b.provides,(0,ut.baseType)(l.type)).concat(BE(b.requires,l.parent))}}else return{isInSubgraph:!1,typesInFederationDirectives:[]}}else{let g=o?l.parent.appliedDirectivesOf(o):[];return{isInSubgraph:!g.length||((y=r(g[0]))===null||y===void 0?void 0:y.name)==m,typesInFederationDirectives:[]}}},(l,m)=>{let v=l.appliedDirectivesOf(a).find(g=>{var b;return g.arguments().key&&((b=r(g))===null||b===void 0?void 0:b.name)===m});return v?{isEntityWithKeyInSubgraph:!0,typesInFederationDirectives:BE(v.arguments().key,l)}:{isEntityWithKeyInSubgraph:!1,typesInFederationDirectives:[]}}),p=(l,m)=>{var y,v;return(v=(y=u.get(m))===null||y===void 0?void 0:y.has(l.name))!==null&&v!==void 0?v:!1};for(let l of i){let m=l.appliedDirectivesOf(a);if(m.length)for(let y of m){let v=y.arguments(),g=r(y);(0,dn.assert)(g,()=>`Should have found the subgraph for ${y}`);let b=g.schema,D=b.type(l.name);if(!D){let R=v.isInterfaceObject?"ObjectType":l.kind;D=b.addType((0,ut.newNamedType)(R,l.name)),v.isInterfaceObject&&D.applyDirective("interfaceObject")}if(v.key){let{resolvable:R}=v,N=D.applyDirective("key",{fields:v.key,resolvable:R});v.extension&&N.setOfExtension(D.newExtension())}}else for(let y of e)p(l,y.name)&&y.schema.addType((0,ut.newNamedType)(l.kind,l.name))}for(let l of i)switch(l.kind){case"ObjectType":case"InterfaceType":for(let m of l.interfaceImplementations()){let y=m.interface.name;for(let v of e){let g=v.schema.type(l.name),b=v.schema.type(y);g&&b&&g.addImplementedInterface(y)}}case"InputObjectType":for(let m of l.fields()){let y=m.appliedDirectivesOf(s);if(y.length){let v=(0,ut.isObjectType)(l)&&y.length>1;for(let g of y){let b=r(g);if(!b)continue;let D=g.arguments();LE(m,b,v,D)}}else{let v=o?l.appliedDirectivesOf(o):[];if(v.length>0){(0,dn.assert)(v.length==1,()=>`Found multiple join__owner directives on type ${l}`);let g=r(v[0]);(0,dn.assert)(g,()=>`Should have found the subgraph for ${v[0]}`),LE(m,g,!1)}else{let g=(0,ut.baseType)(m.type),b=(0,ut.isObjectType)(l)&&e.values().filter(D=>D.schema.type(l.name)).length>1;for(let D of e)D.schema.type(g.name)&&LE(m,D,b)}}}break;case"EnumType":for(let m of e){let y=m.schema.type(l.name);if(y){(0,dn.assert)((0,ut.isEnumType)(y),()=>`${y} should be an enum but found a ${y.kind}`);for(let v of l.values)y.addValue(v.name)}}break;case"UnionType":for(let m of e){let y=m.schema.type(l.name);if(y){(0,dn.assert)((0,ut.isUnionType)(y),()=>`${y} should be an enum but found a ${y.kind}`);for(let v of l.types().map(g=>g.name)){let g=m.schema.type(v);g&&y.addType(g)}}}break}let d=n.directives().filter(l=>l.hasExecutableLocations());for(let l of e){ule(l,n,!0),(0,Mm.removeInactiveProvidesAndRequires)(l.schema),JI(l.schema);for(let m of d)(0,ut.copyDirectiveDefinitionToSchema)({definition:m,schema:l.schema,copyDirectiveApplicationsInArguments:!1,locationFilter:y=>(0,ut.isExecutableDirectiveLocation)(y)})}return e}function LE(n,e,t,i){let r=e.schema.type(n.parent.name);r&&(n instanceof ut.FieldDefinition?qm({field:n,subgraph:e,type:r,isShareable:t,joinFieldArgs:i}):kE({field:n,subgraph:e,type:r,joinFieldArgs:i}))}function $E(n,e,t){try{return(0,Gde.builtTypeReference)(n,e)}catch(i){(0,dn.assert)(!1,()=>`Cannot parse type "${n}" in subgraph ${t}: ${i}`)}}function e1(n,e,t){switch(n.kind){case"ListType":return new ut.ListType(e1(n.ofType,e,t));case"NonNullType":return new ut.NonNullType(e1(n.ofType,e,t));default:let i=e.type(n.name);return(0,dn.assert)(i,()=>`Cannot find type "${n.name}" in subgraph "${t}"`),i}}function ule(n,e,t){let i=n.metadata();for(let r of n.schema.types())if(!(!(0,ut.isObjectType)(r)&&!(0,ut.isInterfaceType)(r))){for(let a of r.appliedDirectivesOf(i.keyDirective())){let o=t||!!a.ofExtension();PE(n,r,a,e,o)}for(let a of r.fields()){for(let s of a.appliedDirectivesOf(i.requiresDirective()))PE(n,r,s,e);let o=(0,ut.baseType)(a.type);for(let s of a.appliedDirectivesOf(i.providesDirective()))(0,dn.assert)((0,ut.isObjectType)(o)||(0,ut.isInterfaceType)(o),()=>`Found @provides on field ${a.coordinate} whose type ${a.type} (${o.kind}) is not an object or interface `),PE(n,o,s,e)}ple(i,r)}}function PE(n,e,t,i,r=!1){let a=n.metadata().externalDirective(),o=function(s,u){let p=s.field(u);if(p)return r&&p.hasAppliedDirective(a)&&p.appliedDirectivesOf(a).forEach(y=>y.remove()),p;(0,dn.assert)(!(0,ut.isUnionType)(s),()=>`Shouldn't select field ${u} from union type ${s}`);let l=i.type(s.name).field(u);(0,dn.assert)(l,()=>`No field named ${u} found on type ${s.name} in the supergraph`);let m=qm({field:l,subgraph:n,type:s,isShareable:!1});return r||m.applyDirective(a),m};try{(0,Mm.parseFieldSetArgument)({parentType:e,directive:t,fieldAccessor:o,validate:!1})}catch{}}function ple(n,e){for(let t of e.interfaces())for(let i of t.fields()){let r=e.field(i.name);r?r.hasAppliedDirective(n.externalDirective())&&lle(r,i):dle(n,i,e)}}function dle(n,e,t){let i=t.addField(e.name,e.type);for(let r of e.arguments())i.addArgument(r.name,r.type,r.defaultValue);i.applyDirective(n.externalDirective())}function lle(n,e){(0,QI.isSubtype)(e.type,n.type)||((0,dn.assert)((0,QI.isSubtype)(n.type,e.type),()=>`For ${n.coordinate}, expected ${e.type} and ${n.type} to be in a subtyping relationship`),n.type=e.type)}function JI(n){for(let e of n.types())switch(e.kind){case"ObjectType":case"InterfaceType":case"InputObjectType":e.hasFields()||e.removeRecursive();break;case"UnionType":e.membersCount()===0&&e.removeRecursive();break}}});var VE=T(ci=>{"use strict";f();c();Object.defineProperty(ci,"__esModule",{value:!0});ci.Supergraph=ci.isFed1Supergraph=ci.validateSupergraph=ci.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES=ci.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES=void 0;var cle=It(),GE=Fn(),jE=Nm(),qE=_m(),ME=Kc(),ZI=wc(),UE=XI(),Cu=zn();ci.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"]);ci.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 ew=GE.FeatureUrl.parse("https://specs.apollo.dev/core/v0.1");function fle(n,e){let t=[],i=n.coreItself;if(i.url.equals(ew)){let r=[...n.allFeatures()].filter(a=>a.purpose);r.length>0&&t.push(Cu.ERRORS.UNSUPPORTED_LINKED_FEATURE.err(`the \`for:\` argument is unsupported by version ${i.url.version} of the core spec. Please upgrade to at least @core v0.2 (https://specs.apollo.dev/core/v0.2).`,{nodes:(0,cle.sourceASTs)(i.directive,...r.map(a=>a.directive))}))}for(let r of n.allFeatures())(r.url.equals(ew)||r.purpose==="EXECUTION"||r.purpose==="SECURITY")&&(e.has(r.url.base.toString())||t.push(Cu.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,GE.ErrCoreCheckFailed)(t)}function QE(n){let e=n.coreFeatures;if(!e)throw Cu.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err("Invalid supergraph: must be a core schema");let t=e.getByIdentity(jE.joinIdentity);if(!t)throw Cu.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err("Invalid supergraph: must use the join spec");let i=jE.JOIN_VERSIONS.find(t.url.version);if(!i)throw Cu.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported join spec version ${t.url.version} (supported versions: ${jE.JOIN_VERSIONS.versions().join(", ")})`);let r=e.getByIdentity(qE.ContextSpecDefinition.identity),a;if(r&&(a=qE.CONTEXT_VERSIONS.find(r.url.version),!a))throw Cu.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported context spec version ${r.url.version} (supported versions: ${qE.CONTEXT_VERSIONS.versions().join(", ")})`);let o=e.getByIdentity(ME.costIdentity),s;if(o&&(s=ME.COST_VERSIONS.find(o.url.version),!s))throw Cu.ERRORS.INVALID_FEDERATION_SUPERGRAPH.err(`Invalid supergraph: uses unsupported cost spec version ${o.url.version} (supported versions: ${ME.COST_VERSIONS.versions().join(", ")})`);return[e,i,a,s]}ci.validateSupergraph=QE;function hle(n){return QE(n)[1].version.equals(new GE.FeatureVersion(0,1))}ci.isFed1Supergraph=hle;var ad=class{constructor(e,t=ci.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES,i=!0){this.schema=e,this.shouldValidate=i;let[r]=QE(e);t!==null&&fle(r,t),i?e.validate():e.assumeValid(),this.containedSubgraphs=(0,UE.extractSubgraphsNamesAndUrlsFromSupergraph)(e)}static build(e,t){let i=typeof e=="string"?(0,ZI.buildSchema)(e,{validate:!1}):(0,ZI.buildSchemaFromAST)(e,{validate:!1});return new ad(i,t?.supportedFeatures,t?.validateSupergraph)}static buildForTests(e,t){return ad.build(e,{supportedFeatures:ci.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES,validateSupergraph:t})}subgraphsMetadata(){return this.containedSubgraphs}subgraphs(){if(!this._subgraphs){let e=(0,UE.extractSubgraphsFromSupergraph)(this.schema,this.shouldValidate);this._subgraphs=e[0],this._subgraphNameToGraphEnumValue=e[1]}return this._subgraphs}subgraphNameToGraphEnumValue(){if(!this._subgraphNameToGraphEnumValue){let e=(0,UE.extractSubgraphsFromSupergraph)(this.schema,this.shouldValidate);this._subgraphs=e[0],this._subgraphNameToGraphEnumValue=e[1]}return new Map([...this._subgraphNameToGraphEnumValue])}apiSchema(){return this.schema.toAPISchema()}};ci.Supergraph=ad});var tw=T(Ke=>{"use strict";f();c();Object.defineProperty(Ke,"__esModule",{value:!0});Ke.upgradeSubgraphsIfNecessary=Ke.RemovedTagOnExternal=Ke.FieldsArgumentCoercionToString=Ke.ProvidesOnNonCompositeRemoval=Ke.ProvidesOrRequiresOnInterfaceFieldRemoval=Ke.KeyOnInterfaceRemoval=Ke.ShareableTypeAddition=Ke.ShareableFieldAddition=Ke.InactiveProvidesOrRequiresFieldsRemoval=Ke.InactiveProvidesOrRequiresRemoval=Ke.TypeWithOnlyUnusedExternalRemoval=Ke.UnusedExternalRemoval=Ke.ExternalOnObjectTypeRemoval=Ke.ExternalOnInterfaceRemoval=Ke.TypeExtensionRemoval=Ke.ExternalOnTypeExtensionRemoval=void 0;var KE=Pe(),od=zn(),jr=It(),Ni=_u(),t1=Kt(),mle=Nr(),yle=Cm(),n1=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`}};Ke.ExternalOnTypeExtensionRemoval=n1;var Um=class{constructor(e){this.type=e,this.id="TYPE_EXTENSION_REMOVAL"}toString(){return`Switched type "${this.type}" from an extension to a definition`}};Ke.TypeExtensionRemoval=Um;var Gm=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`}};Ke.ExternalOnInterfaceRemoval=Gm;var Qm=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`}};Ke.ExternalOnObjectTypeRemoval=Qm;var Km=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`}};Ke.UnusedExternalRemoval=Km;var Hm=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`}};Ke.TypeWithOnlyUnusedExternalRemoval=Hm;var zm=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`}};Ke.InactiveProvidesOrRequiresRemoval=zm;var Wm=class{constructor(e,t,i){this.parent=e,this.original=t,this.updated=i,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`}};Ke.InactiveProvidesOrRequiresFieldsRemoval=Wm;var Ym=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,Ni.printSubgraphNames)(this.declaringSubgraphs)}`}};Ke.ShareableFieldAddition=Ym;var Jm=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,Ni.printSubgraphNames)(this.declaringSubgraphs)}`}};Ke.ShareableTypeAddition=Jm;var Xm=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`}};Ke.KeyOnInterfaceRemoval=Xm;var Zm=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`}};Ke.ProvidesOrRequiresOnInterfaceFieldRemoval=Zm;var e2=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`}};Ke.ProvidesOnNonCompositeRemoval=e2;var t2=class{constructor(e,t,i,r){this.element=e,this.directive=t,this.before=i,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}`}};Ke.FieldsArgumentCoercionToString=t2;var n2=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`}};Ke.RemovedTagOnExternal=n2;function vle(n){let e=new Map;if(n.values().every(o=>o.isFed2Subgraph()))return{subgraphs:n,changes:e};let t=new Ni.Subgraphs,i=[],r=[],a=new Map;for(let o of n.values()){for(let s of o.schema.objectTypes()){let u=a.get(s.name);u||(u=new Map,a.set(s.name,u)),u.set(o.name,[s,o.metadata()])}for(let s of o.schema.interfaceTypes()){let u=a.get(s.name);u||(u=new Map,a.set(s.name,u)),u.set(o.name,[s,o.metadata()])}}for(let o of n.values())if(o.isFed2Subgraph())t.add(o),o.metadata().interfaceObjectDirective().applications().size>0&&r.push(o.name);else{let s=new WE(o,n.values(),a).upgrade();s.errors?i=i.concat(s.errors):(t.add(s.upgraded),e.set(o.name,s.changes))}if(i.length===0&&r.length>0){let o=n.values().filter(s=>!s.isFed2Subgraph()).map(s=>s.name);i=[od.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,Ni.printSubgraphNames)(r)} but ${(0,Ni.printSubgraphNames)(o)} ${o.length>1?"are not":"is not a"} federation 2 subgraph schema.`)]}return i.length===0?{subgraphs:t,changes:e}:{errors:i}}Ke.upgradeSubgraphsIfNecessary=vle;function HE(n){let e=(0,Ni.federationMetadata)(n.schema());(0,t1.assert)(e,"Should be a subgraph schema");let t=n.hasAppliedDirective(e.extendsDirective());return(n.hasExtensionElements()||t)&&((0,jr.isObjectType)(n)||(0,jr.isInterfaceType)(n))&&(t||!n.hasNonExtensionElements())}function zE(n){let e=(0,Ni.federationMetadata)(n.schema());return(0,t1.assert)(e,"Should be a subgraph schema"),(0,jr.isObjectType)(n)&&n.isRootType()&&(n.hasAppliedDirective(e.extendsDirective())||n.hasExtensionElements()&&!n.hasNonExtensionElements())}function Ele(n,e,t){let i=n.type(e);return i&&(0,jr.isCompositeType)(i)?i.field(t):void 0}var WE=class{constructor(e,t,i){this.originalSubgraph=e,this.allSubgraphs=t,this.objectTypeMap=i,this.changes=new t1.MultiMap,this.errors=[],this.schema=e.schema.clone(),this.renameFederationTypes(),this.subgraph=new Ni.Subgraph(e.name,e.url,this.schema);try{(0,Ni.setSchemaAsFed2Subgraph)(this.schema)}catch(r){let a=(0,od.errorCauses)(r);if(a)a.forEach(o=>this.addError(o));else throw r}this.metadata=this.subgraph.metadata()}addError(e){this.errors.push((0,Ni.addSubgraphToError)(e,this.subgraph.name,od.ERRORS.INVALID_GRAPHQL))}renameFederationTypes(){for(let e of yle.FEDERATION1_TYPES){let t=this.originalSubgraph.metadata().federationTypeNameInSchema(e.name),i=this.schema.type(t);i&&i.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(zE(e)||!HE(e))return;let i=(t=(0,t1.firstOf)(e.extensions().values()))===null||t===void 0?void 0:t.sourceAST,r=Array.from(this.objectTypeMap.get(e.name).entries()).filter(([a,o])=>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,od.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 i of Array.from(t.applications())){let r=i.arguments().fields;if(typeof r!="string"){Array.isArray(r)&&r.every(o=>typeof o=="string")&&this.replaceFederationDirectiveApplication(i,i.toString(),r.join(" "),t.sourceAST);continue}let a=i.sourceAST;if(a&&a.kind==="Directive"){for(let o of(e=a.arguments)!==null&&e!==void 0?e:[])if(o.name.value==="fields"&&o.value.kind===KE.Kind.ENUM){this.replaceFederationDirectiveApplication(i,(0,KE.print)(a),r,{...a,arguments:[{...o,value:{kind:KE.Kind.STRING,value:r}}]});break}}}}removeExternalOnInterface(){for(let e of this.schema.interfaceTypes())for(let t of e.fields()){let i=this.external(t);i&&(this.addChange(new Gm(t.coordinate)),i.remove())}}removeExternalOnObjectTypes(){for(let e of this.schema.objectTypes()){let t=e.appliedDirectivesOf(this.metadata.externalDirective())[0];t&&(this.addChange(new Qm(e.coordinate)),t.remove())}}replaceFederationDirectiveApplication(e,t,i,r){let a=e.definition,o=e.parent;e.remove();let s=o.applyDirective(a,{fields:i});s.sourceAST=r,this.addChange(new t2(o.coordinate,a.name,t,s.toString()))}fixInactiveProvidesAndRequires(){(0,Ni.removeInactiveProvidesAndRequires)(this.schema,(e,t,i)=>{i?this.addChange(new Wm(e.coordinate,t.toString(),i.toString())):this.addChange(new zm(e.coordinate,t.toString()))})}removeExternalOnTypeExtensions(){for(let e of this.schema.types()){if(!(0,jr.isCompositeType)(e)||!HE(e)&&!zE(e))continue;if(e.appliedDirectivesOf(this.metadata.keyDirective()).length>0)for(let i of e.appliedDirectivesOf(this.metadata.keyDirective()))(0,Ni.collectTargetFields)({parentType:e,directive:i,includeInterfaceFieldsImplementations:!1,validate:!1}).forEach(r=>{if(r.parent!==e)return;let a=this.external(r);a&&(this.addChange(new n1(r.coordinate)),a.remove())});else{let i=Array.from(this.objectTypeMap.get(e.name).entries()).filter(([r,a])=>r!==this.subgraph.name);for(let[r,a]of i){let[o,s]=a;(0,t1.assert)((0,jr.isCompositeType)(o),()=>`Type ${e} is of kind ${e.kind} in ${this.subgraph.name} but ${o.kind} in ${r}`);let u=o.appliedDirectivesOf(s.keyDirective());u.length!==0&&(0,Ni.collectTargetFields)({parentType:o,directive:u[0],includeInterfaceFieldsImplementations:!1,validate:!1}).forEach(p=>{if(p.parent!==o)return;let d=e.field(p.name);if(!d)return;let l=this.external(d);l&&(this.addChange(new n1(d.coordinate)),l.remove())})}}}}removeTypeExtensions(){for(let e of this.schema.types())!HE(e)&&!zE(e)||(this.addChange(new Um(e.coordinate)),e.removeExtensions())}removeUnusedExternals(){for(let e of this.schema.types())if(!(!(0,jr.isObjectType)(e)&&!(0,jr.isInterfaceType)(e))){for(let t of e.fields())this.metadata.isFieldExternal(t)&&!this.metadata.isFieldUsed(t)&&(this.addChange(new Km(t.coordinate)),t.remove());e.hasFields()||(e.isReferenced()?this.addError(od.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 Hm(e.name)),e.remove()))}}removeDirectivesOnInterface(){for(let e of this.schema.interfaceTypes()){for(let t of e.appliedDirectivesOf(this.metadata.keyDirective()))this.addChange(new Xm(e.name)),t.remove();for(let t of e.fields())for(let i of[this.metadata.providesDirective(),this.metadata.requiresDirective()])for(let r of t.appliedDirectivesOf(i))this.addChange(new Zm(t.coordinate,i.name)),r.remove()}}removeProvidesOnNonComposite(){for(let e of this.schema.objectTypes())for(let t of e.fields())if(!(0,jr.isCompositeType)((0,jr.baseType)(t.type)))for(let i of t.appliedDirectivesOf(this.metadata.providesDirective()))this.addChange(new e2(t.coordinate,t.type.toString())),i.remove()}addShareable(){let e=this.originalSubgraph.metadata(),t=this.metadata.keyDirective(),i=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 s=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))});s.length>0&&!a.hasAppliedDirective(i)&&(a.applyDirective(i),this.addChange(new Ym(a.coordinate,s.map(([u])=>u))))}else{let a=Array.from(this.objectTypeMap.get(r.name).entries()).filter(([o,s])=>o!==this.subgraph.name);a.length>0&&!r.hasAppliedDirective(i)&&(r.applyDirective(i),this.addChange(new Jm(r.coordinate,a.map(([o])=>o))))}}removeTagOnExternal(){let e=this.schema.directive("tag");if(e)for(let t of Array.from(e.applications())){let i=t.parent;i instanceof jr.FieldDefinition&&this.external(i)&&this.allSubgraphs.map(a=>a.name===this.originalSubgraph.name?void 0:Ele(a.schema,i.parent.name,i.name)).filter(a=>!(a&&a.hasAppliedDirective("external"))).some(a=>a&&a.appliedDirectivesOf("tag").some(o=>(0,mle.valueEquals)(t.arguments(),o.arguments())))&&(this.addChange(new n2(t.toString(),i.coordinate)),t.remove())}}}});var sw=T(Xo=>{"use strict";f();c();Object.defineProperty(Xo,"__esModule",{value:!0});Xo.graphQLJSDirectiveToAST=Xo.graphQLJSNamedTypeToAST=Xo.graphQLJSSchemaToAST=void 0;var gn=Pe(),gle=It(),iw=[gn.OperationTypeNode.QUERY,gn.OperationTypeNode.MUTATION,gn.OperationTypeNode.SUBSCRIPTION];function Ale(n){let e=Object.values(n.getTypeMap()).filter(o=>!(0,gn.isIntrospectionType)(o)&&!(0,gn.isSpecifiedScalarType)(o)),t=n.getDirectives().filter(o=>!(0,gn.isSpecifiedDirective)(o)),i=nw(Tle(n)),r=e.map(o=>nw(aw(o))).flat(),a=t.map(o=>ow(o));return{kind:gn.Kind.DOCUMENT,definitions:[...i,...r,...a]}}Xo.graphQLJSSchemaToAST=Ale;function nw({definition:n,extensions:e}){return n?[n,...e]:e}function rw(n){return n||void 0}function Tle(n){if(n.astNode||n.extensionASTNodes.length>0)return{definition:rw(n.astNode),extensions:n.extensionASTNodes};{let e;if(ble(n)){let t=[];for(let i of iw){let r=n.getRootType(i);r&&t.push({kind:gn.Kind.OPERATION_TYPE_DEFINITION,operation:i,type:{kind:gn.Kind.NAMED_TYPE,name:{kind:gn.Kind.NAME,value:r.name}}})}e={kind:gn.Kind.SCHEMA_DEFINITION,description:n.description?{kind:gn.Kind.STRING,value:n.description}:void 0,operationTypes:t}}return{definition:e,extensions:[]}}}function ble(n){return iw.some(e=>Sle(n.getRootType(e),e))}function Sle(n,e){return!!n&&n.name!==(0,gle.defaultRootName)(e)}function aw(n){return n.astNode||n.extensionASTNodes.length>0?{definition:rw(n.astNode),extensions:n.extensionASTNodes}:{definition:(0,gn.parse)((0,gn.printType)(n)).definitions[0],extensions:[]}}Xo.graphQLJSNamedTypeToAST=aw;function ow(n){if(n.astNode)return n.astNode;{let e=new gn.GraphQLSchema({directives:[n],assumeValid:!0});return(0,gn.parse)((0,gn.printSchema)(e)).definitions.find(i=>i.kind===gn.Kind.DIRECTIVE_DEFINITION)}}Xo.graphQLJSDirectiveToAST=ow});var qn=T(Qe=>{"use strict";f();c();var Dle=Qe&&Qe.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=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(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),Ft=Qe&&Qe.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Dle(e,n,t)};Object.defineProperty(Qe,"__esModule",{value:!0});Qe.coreFeatureDefinitionIfKnown=void 0;Ft(It(),Qe);Ft(wc(),Qe);Ft(hc(),Qe);Ft(Nr(),Qe);Ft(_u(),Qe);Ft(_r(),Qe);Ft(cm(),Qe);Ft(Kt(),Qe);Ft($I(),Qe);Ft(Fn(),Qe);Ft(Nm(),Qe);Ft(fm(),Qe);Ft(wh(),Qe);Ft(Cm(),Qe);Ft(_m(),Qe);Ft(VE(),Qe);Ft(zn(),Qe);Ft(tw(),Qe);Ft(Zs(),Qe);Ft(sw(),Qe);Ft(ui(),Qe);var _le=Wn();Object.defineProperty(Qe,"coreFeatureDefinitionIfKnown",{enumerable:!0,get:function(){return _le.coreFeatureDefinitionIfKnown}});Ft($c(),Qe);Ft(X9(),Qe);Ft(eE(),Qe);Ft(tE(),Qe);Ft(aE(),Qe);Ft(Kc(),Qe)});var YE=T(i1=>{"use strict";f();c();Object.defineProperty(i1,"__esModule",{value:!0});i1.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES=void 0;var Nu=qn();i1.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES=new Set(Nu.DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES);function sd(n){n.versions().forEach(e=>{let t=n.find(e);if(!t)throw Error(`Federation package unexpectedly did not contain feature spec ${n.identity}/${e}`);i1.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES.add(t.toString())})}sd(Nu.AUTHENTICATED_VERSIONS);sd(Nu.REQUIRES_SCOPES_VERSIONS);sd(Nu.POLICY_VERSIONS);sd(Nu.SOURCE_VERSIONS);sd(Nu.CONTEXT_VERSIONS);sd(Nu.COST_VERSIONS)});var uw=T(i2=>{"use strict";f();c();Object.defineProperty(i2,"__esModule",{value:!0});i2.apiSchema=void 0;var JE=Pe(),Fle=qn(),Cle=YE();function Nle(n,e={}){var t;let i;if((t=e.graphqlValidation)!==null&&t!==void 0?t:!0)try{(0,JE.buildSchema)(n)}catch(a){return{errors:[a]}}try{let o=Fle.Supergraph.build(n,{supportedFeatures:Cle.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES}).apiSchema();i=(0,JE.printSchema)(o.toGraphQLJSSchema())}catch(a){return{errors:[a]}}return i?{data:i,errors:[]}:{errors:[new JE.GraphQLError("couldn't build api schema from SDL")]}}i2.apiSchema=Nle});var lw=T(ud=>{"use strict";f();c();Object.defineProperty(ud,"__esModule",{value:!0});ud.introspect=ud.batchIntrospect=void 0;var r1=Pe(),pw=qn();function Ole(n,e,t){var i,r;let a;if((i=t.graphqlValidation)!==null&&i!==void 0?i:!0)try{(0,r1.buildSchema)(n)}catch(s){return Array(e.length).fill({errors:[Object.assign(s,{validationError:!0})]})}try{(0,r1.buildSchema)(n),a=(0,pw.buildSchema)(n).toAPISchema().toGraphQLJSSchema({includeDefer:(r=t.incrementalDelivery)===null||r===void 0?void 0:r.enableDefer})}catch(s){return Array(e.length).fill({errors:[s]})}return a?e.map(s=>dw(a,s)):Array(e.length).fill({errors:[new Error("couldn't build schema from SDL")]})}ud.batchIntrospect=Ole;function Ile(n,e,t){var i,r;let a;if((i=t.graphqlValidation)!==null&&i!==void 0?i:!0)try{(0,r1.buildSchema)(n)}catch(s){return{errors:[Object.assign(s,{validationError:!0})]}}try{a=(0,pw.buildSchema)(n).toAPISchema().toGraphQLJSSchema({includeDefer:(r=t.incrementalDelivery)===null||r===void 0?void 0:r.enableDefer})}catch(s){return{errors:[s]}}return a?dw(a,e):{errors:[new r1.GraphQLError("couldn't build schema from SDL")]}}ud.introspect=Ile;var dw=(n,e)=>{let{data:t,errors:i}=(0,r1.graphqlSync)({schema:n,source:e});return i?{data:t,errors:[...i]}:{data:t,errors:[]}}});var hw=T(XE=>{"use strict";f();c();Object.defineProperty(XE,"__esModule",{value:!0});var a1=Pe();XE.default={test(n){return n&&n.kind==="QueryPlan"},serialize(n,e,t,i,r,a){return"QueryPlan {"+cw(n.node?[n.node]:void 0,e,t,i,r,a)+"}"}};function no(n,e,t,i,r,a){let o="",s=t+e.indent,u=(d,l)=>a(fw((0,a1.parse)(d)),e,l,i,r,a);switch(n.kind){case"Fetch":let d=n.id?`, id: ${n.id}`:"";o+=`${n.kind}(service: "${n.serviceName}"${d}) {`+e.spacingOuter+(n.requires?a({kind:a1.Kind.SELECTION_SET,selections:n.requires},e,s,i,r,a)+" =>"+e.spacingOuter:"")+u(n.operation,s)+e.spacingOuter+t+"}";break;case"Flatten":o+=`Flatten(path: "${n.path.join(".")}")`;break;case"Defer":let l=n.primary,m=s+e.indent;o+="Defer {"+e.spacingOuter+s+"Primary {"+e.spacingOuter+(l.subselection?u(l.subselection,m):m)+":"+e.spacingOuter+(l.node?m+no(l.node,e,m,i,r,a)+e.spacingOuter:"")+s+"}, ["+wle(n.deferred,e,s,i,r,a)+"]"+e.spacingOuter+t+"}";break;case"Condition":if(n.ifClause){let y=s+e.indent;n.elseClause?o+=`Condition(if: $${n.condition}) {`+e.spacingOuter+s+"Then {"+e.spacingOuter+y+no(n.ifClause,e,y,i,r,a)+e.spacingOuter+s+"} Else {"+e.spacingOuter+y+no(n.elseClause,e,y,i,r,a)+e.spacingOuter+s+"}"+e.spacingOuter+t+"}":o+=`Include(if: $${n.condition}) {`+e.spacingOuter+s+no(n.ifClause,e,s,i,r,a)+e.spacingOuter+t+"}"}else o+=`Skip(if: $${n.condition}) {`+e.spacingOuter+s+no(n.elseClause,e,s,i,r,a)+e.spacingOuter+t+"}";break;case"Subscription":{let y=n.primary,v=n.rest,g=s+e.indent;o+="Subscription {"+e.spacingOuter+s+"Primary: {"+e.spacingOuter+g+no(y,e,g,i,r,a)+e.spacingOuter+s+"},"+(v?e.spacingOuter+s+"Rest: {"+e.spacingOuter+g+no(v,e,g,i,r,a):"")+e.spacingOuter+s+"}"+e.spacingOuter+e.indent+"}";break}default:o+=n.kind}let p="nodes"in n?n.nodes:"node"in n?[n.node]:[];return p.length>0&&(o+=" {"+cw(p,e,t,i,r,a)+"}"),o}function cw(n,e,t,i,r,a){let o="";if(n&&n.length>0){o+=e.spacingOuter;let s=t+e.indent;for(let u=0;ua(fw((0,a1.parse)(m)),e,s,i,r,a),s=t+e.indent,u=n.depends.map(({id:m,deferLabel:y})=>m+(y?`:"${y}"`:"")).join(", "),p=n.queryPath.join("/"),d=n.label?`, label: "${n.label}"`:"",l=`Deferred(depends: [${u}], path: "${p}"${d}) {`;return n.subselection&&(l+=e.spacingOuter+o(n.subselection)+":"),n.node&&(l+=e.spacingOuter+s+no(n.node,e,s,i,r,a)),l+=e.spacingOuter+t+"}",l}function fw(n){return(0,a1.visit)(n,{OperationDefinition:({operation:e,selectionSet:t})=>{let i=t.selections[0];return e==="query"&&i.kind===a1.Kind.FIELD&&i.name.value==="_entities"?i.selectionSet:t}})}});var yw=T(o1=>{"use strict";f();c();Object.defineProperty(o1,"__esModule",{value:!0});o1.remapInlineFragmentNodes=void 0;var Oi=Pe();o1.default={test(n){return n&&typeof n.kind=="string"},serialize(n,e,t,i,r,a){let o=(0,Oi.print)(mw(n)).trim().split(` `);return o.length===0?"":o.length===1?o[0]:o.map(s=>{let u=Ble(s),p=s.slice(u),d=u/2;return t+e.indent.repeat(d)+p}).join(e.spacingOuter)}};function Ble(n){let e=/^( {2})+/.exec(n);return e===null?0:e[0].length}function mw(n){return(0,Oi.visit)(n,{InlineFragment:e=>e.selectionSet?e:{kind:Oi.Kind.INLINE_FRAGMENT,typeCondition:e.typeCondition?{kind:Oi.Kind.NAMED_TYPE,name:{kind:Oi.Kind.NAME,value:e.typeCondition}}:void 0,selectionSet:{kind:Oi.Kind.SELECTION_SET,selections:ZE(e.selections)}}})}o1.remapInlineFragmentNodes=mw;function ZE(n){return n.map(e=>{switch(e.kind){case"Field":return{kind:Oi.Kind.FIELD,name:{kind:Oi.Kind.NAME,value:e.name},selectionSet:{kind:Oi.Kind.SELECTION_SET,selections:ZE(e.selections||[])}};case"InlineFragment":return{kind:Oi.Kind.INLINE_FRAGMENT,selectionSet:{kind:Oi.Kind.SELECTION_SET,selections:ZE(e.selections||[])},typeCondition:e.typeCondition?{kind:Oi.Kind.NAMED_TYPE,name:{kind:Oi.Kind.NAME,value:e.typeCondition}}:void 0}}})}});var r2=T(Zo=>{"use strict";f();c();var vw=Zo&&Zo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.astSerializer=Zo.queryPlanSerializer=void 0;var Lle=hw();Object.defineProperty(Zo,"queryPlanSerializer",{enumerable:!0,get:function(){return vw(Lle).default}});var Ple=yw();Object.defineProperty(Zo,"astSerializer",{enumerable:!0,get:function(){return vw(Ple).default}})});var Tw=T((dSe,Aw)=>{"use strict";f();c();var Ew=(n=0)=>e=>`\x1B[${38+n};5;${e}m`,gw=(n=0)=>(e,t,i)=>`\x1B[${38+n};2;${e};${t};${i}m`;function xle(){let n=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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,i]of Object.entries(e)){for(let[r,a]of Object.entries(i))e[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[r]=e[r],n.set(a[0],a[1]);Object.defineProperty(e,t,{value:i,enumerable:!1})}return Object.defineProperty(e,"codes",{value:n,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi256=Ew(),e.color.ansi16m=gw(),e.bgColor.ansi256=Ew(10),e.bgColor.ansi16m=gw(10),Object.defineProperties(e,{rgbToAnsi256:{value:(t,i,r)=>t===i&&i===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:t=>{let i=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(t.toString(16));if(!i)return[0,0,0];let{colorString:r}=i.groups;r.length===3&&(r=r.split("").map(o=>o+o).join(""));let a=Number.parseInt(r,16);return[a>>16&255,a>>8&255,a&255]},enumerable:!1},hexToAnsi256:{value:t=>e.rgbToAnsi256(...e.hexToRgb(t)),enumerable:!1}}),e}Object.defineProperty(Aw,"exports",{enumerable:!0,get:xle})});var s1=T(pd=>{"use strict";f();c();Object.defineProperty(pd,"__esModule",{value:!0});pd.printIteratorEntries=$le;pd.printIteratorValues=Vle;pd.printListItems=jle;pd.printObjectProperties=qle;var kle=(n,e)=>{let t=Object.keys(n),i=e!==null?t.sort(e):t;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(r=>{Object.getOwnPropertyDescriptor(n,r).enumerable&&i.push(r)}),i};function $le(n,e,t,i,r,a,o=": "){let s="",u=0,p=n.next();if(!p.done){s+=e.spacingOuter;let d=t+e.indent;for(;!p.done;){if(s+=d,u++===e.maxWidth){s+="\u2026";break}let l=a(p.value[0],e,d,i,r),m=a(p.value[1],e,d,i,r);s+=l+o+m,p=n.next(),p.done?e.min||(s+=","):s+=`,${e.spacingInner}`}s+=e.spacingOuter+t}return s}function Vle(n,e,t,i,r,a){let o="",s=0,u=n.next();if(!u.done){o+=e.spacingOuter;let p=t+e.indent;for(;!u.done;){if(o+=p,s++===e.maxWidth){o+="\u2026";break}o+=a(u.value,e,p,i,r),u=n.next(),u.done?e.min||(o+=","):o+=`,${e.spacingInner}`}o+=e.spacingOuter+t}return o}function jle(n,e,t,i,r,a){let o="";if(n.length){o+=e.spacingOuter;let s=t+e.indent;for(let u=0;u{"use strict";f();c();Object.defineProperty(es,"__esModule",{value:!0});es.test=es.serialize=es.default=void 0;var bw=s1(),e7=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,Mle=typeof e7=="function"&&e7.for?e7.for("jest.asymmetricMatcher"):1267621,a2=" ",Sw=(n,e,t,i,r,a)=>{let o=n.toString();if(o==="ArrayContaining"||o==="ArrayNotContaining")return++i>e.maxDepth?`[${o}]`:`${o+a2}[${(0,bw.printListItems)(n.sample,e,t,i,r,a)}]`;if(o==="ObjectContaining"||o==="ObjectNotContaining")return++i>e.maxDepth?`[${o}]`:`${o+a2}{${(0,bw.printObjectProperties)(n.sample,e,t,i,r,a)}}`;if(o==="StringMatching"||o==="StringNotMatching"||o==="StringContaining"||o==="StringNotContaining")return o+a2+a(n.sample,e,t,i,r);if(typeof n.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${n.constructor.name} does not implement toAsymmetricMatcher()`);return n.toAsymmetricMatcher()};es.serialize=Sw;var Dw=n=>n&&n.$$typeof===Mle;es.test=Dw;var Ule={serialize:Sw,test:Dw},Gle=Ule;es.default=Gle});var Iw=T(ts=>{"use strict";f();c();Object.defineProperty(ts,"__esModule",{value:!0});ts.test=ts.serialize=ts.default=void 0;var Fw=s1(),Qle=" ",Cw=["DOMStringMap","NamedNodeMap"],Kle=/^(HTML\w*Collection|NodeList)$/,Hle=n=>Cw.indexOf(n)!==-1||Kle.test(n),Nw=n=>n&&n.constructor&&!!n.constructor.name&&Hle(n.constructor.name);ts.test=Nw;var zle=n=>n.constructor.name==="NamedNodeMap",Ow=(n,e,t,i,r,a)=>{let o=n.constructor.name;return++i>e.maxDepth?`[${o}]`:(e.min?"":o+Qle)+(Cw.indexOf(o)!==-1?`{${(0,Fw.printObjectProperties)(zle(n)?Array.from(n).reduce((s,u)=>(s[u.name]=u.value,s),{}):{...n},e,t,i,r,a)}}`:`[${(0,Fw.printListItems)(Array.from(n),e,t,i,r,a)}]`)};ts.serialize=Ow;var Wle={serialize:Ow,test:Nw},Yle=Wle;ts.default=Yle});var ww=T(t7=>{"use strict";f();c();Object.defineProperty(t7,"__esModule",{value:!0});t7.default=Jle;function Jle(n){return n.replace(//g,">")}});var o2=T(fi=>{"use strict";f();c();Object.defineProperty(fi,"__esModule",{value:!0});fi.printText=fi.printProps=fi.printElementAsLeaf=fi.printElement=fi.printComment=fi.printChildren=void 0;var Rw=Xle(ww());function Xle(n){return n&&n.__esModule?n:{default:n}}var Zle=(n,e,t,i,r,a,o)=>{let s=i+t.indent,u=t.colors;return n.map(p=>{let d=e[p],l=o(d,t,s,r,a);return typeof d!="string"&&(l.indexOf(` `)!==-1&&(l=t.spacingOuter+s+l+t.spacingOuter+i),l=`{${l}}`),`${t.spacingInner+i+u.prop.open+p+u.prop.close}=${u.value.open}${l}${u.value.close}`}).join("")};fi.printProps=Zle;var ece=(n,e,t,i,r,a)=>n.map(o=>e.spacingOuter+t+(typeof o=="string"?Bw(o,e):a(o,e,t,i,r))).join("");fi.printChildren=ece;var Bw=(n,e)=>{let t=e.colors.content;return t.open+(0,Rw.default)(n)+t.close};fi.printText=Bw;var tce=(n,e)=>{let t=e.colors.comment;return`${t.open}${t.close}`};fi.printComment=tce;var nce=(n,e,t,i,r)=>{let a=i.colors.tag;return`${a.open}<${n}${e&&a.close+e+i.spacingOuter+r+a.open}${t?`>${a.close}${t}${i.spacingOuter}${r}${a.open}${a.close}`};fi.printElement=nce;var ice=(n,e)=>{let t=e.colors.tag;return`${t.open}<${n}${t.close} \u2026${t.open} />${t.close}`};fi.printElementAsLeaf=ice});var Vw=T(ns=>{"use strict";f();c();Object.defineProperty(ns,"__esModule",{value:!0});ns.test=ns.serialize=ns.default=void 0;var dd=o2(),rce=1,Lw=3,Pw=8,xw=11,ace=/^((HTML|SVG)\w*)?Element$/,oce=n=>{try{return typeof n.hasAttribute=="function"&&n.hasAttribute("is")}catch{return!1}},sce=n=>{let e=n.constructor.name,{nodeType:t,tagName:i}=n,r=typeof i=="string"&&i.includes("-")||oce(n);return t===rce&&(ace.test(e)||r)||t===Lw&&e==="Text"||t===Pw&&e==="Comment"||t===xw&&e==="DocumentFragment"},kw=n=>n?.constructor?.name&&sce(n);ns.test=kw;function uce(n){return n.nodeType===Lw}function pce(n){return n.nodeType===Pw}function n7(n){return n.nodeType===xw}var $w=(n,e,t,i,r,a)=>{if(uce(n))return(0,dd.printText)(n.data,e);if(pce(n))return(0,dd.printComment)(n.data,e);let o=n7(n)?"DocumentFragment":n.tagName.toLowerCase();return++i>e.maxDepth?(0,dd.printElementAsLeaf)(o,e):(0,dd.printElement)(o,(0,dd.printProps)(n7(n)?[]:Array.from(n.attributes).map(s=>s.name).sort(),n7(n)?{}:Array.from(n.attributes).reduce((s,u)=>(s[u.name]=u.value,s),{}),e,t+e.indent,i,r,a),(0,dd.printChildren)(Array.prototype.slice.call(n.childNodes||n.children),e,t+e.indent,i,r,a),e,t)};ns.serialize=$w;var dce={serialize:$w,test:kw},lce=dce;ns.default=lce});var Gw=T(is=>{"use strict";f();c();Object.defineProperty(is,"__esModule",{value:!0});is.test=is.serialize=is.default=void 0;var u1=s1(),cce="@@__IMMUTABLE_ITERABLE__@@",fce="@@__IMMUTABLE_LIST__@@",hce="@@__IMMUTABLE_KEYED__@@",mce="@@__IMMUTABLE_MAP__@@",jw="@@__IMMUTABLE_ORDERED__@@",yce="@@__IMMUTABLE_RECORD__@@",vce="@@__IMMUTABLE_SEQ__@@",Ece="@@__IMMUTABLE_SET__@@",gce="@@__IMMUTABLE_STACK__@@",ld=n=>`Immutable.${n}`,s2=n=>`[${n}]`,p1=" ",qw="\u2026",Ace=(n,e,t,i,r,a,o)=>++i>e.maxDepth?s2(ld(o)):`${ld(o)+p1}{${(0,u1.printIteratorEntries)(n.entries(),e,t,i,r,a)}}`;function Tce(n){let e=0;return{next(){if(e{let o=ld(n._name||"Record");return++i>e.maxDepth?s2(o):`${o+p1}{${(0,u1.printIteratorEntries)(Tce(n),e,t,i,r,a)}}`},Sce=(n,e,t,i,r,a)=>{let o=ld("Seq");return++i>e.maxDepth?s2(o):n[hce]?`${o+p1}{${n._iter||n._object?(0,u1.printIteratorEntries)(n.entries(),e,t,i,r,a):qw}}`:`${o+p1}[${n._iter||n._array||n._collection||n._iterable?(0,u1.printIteratorValues)(n.values(),e,t,i,r,a):qw}]`},i7=(n,e,t,i,r,a,o)=>++i>e.maxDepth?s2(ld(o)):`${ld(o)+p1}[${(0,u1.printIteratorValues)(n.values(),e,t,i,r,a)}]`,Mw=(n,e,t,i,r,a)=>n[mce]?Ace(n,e,t,i,r,a,n[jw]?"OrderedMap":"Map"):n[fce]?i7(n,e,t,i,r,a,"List"):n[Ece]?i7(n,e,t,i,r,a,n[jw]?"OrderedSet":"Set"):n[gce]?i7(n,e,t,i,r,a,"Stack"):n[vce]?Sce(n,e,t,i,r,a):bce(n,e,t,i,r,a);is.serialize=Mw;var Uw=n=>n&&(n[cce]===!0||n[yce]===!0);is.test=Uw;var Dce={serialize:Mw,test:Uw},_ce=Dce;is.default=_ce});var Kw=T(mt=>{"use strict";f();c();var r7=Symbol.for("react.element"),a7=Symbol.for("react.portal"),u2=Symbol.for("react.fragment"),p2=Symbol.for("react.strict_mode"),d2=Symbol.for("react.profiler"),l2=Symbol.for("react.provider"),c2=Symbol.for("react.context"),Fce=Symbol.for("react.server_context"),f2=Symbol.for("react.forward_ref"),h2=Symbol.for("react.suspense"),m2=Symbol.for("react.suspense_list"),y2=Symbol.for("react.memo"),v2=Symbol.for("react.lazy"),Cce=Symbol.for("react.offscreen"),Qw;Qw=Symbol.for("react.module.reference");function sr(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case r7:switch(n=n.type,n){case u2:case d2:case p2:case h2:case m2:return n;default:switch(n=n&&n.$$typeof,n){case Fce:case c2:case f2:case v2:case y2:case l2:return n;default:return e}}case a7:return e}}}mt.ContextConsumer=c2;mt.ContextProvider=l2;mt.Element=r7;mt.ForwardRef=f2;mt.Fragment=u2;mt.Lazy=v2;mt.Memo=y2;mt.Portal=a7;mt.Profiler=d2;mt.StrictMode=p2;mt.Suspense=h2;mt.SuspenseList=m2;mt.isAsyncMode=function(){return!1};mt.isConcurrentMode=function(){return!1};mt.isContextConsumer=function(n){return sr(n)===c2};mt.isContextProvider=function(n){return sr(n)===l2};mt.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===r7};mt.isForwardRef=function(n){return sr(n)===f2};mt.isFragment=function(n){return sr(n)===u2};mt.isLazy=function(n){return sr(n)===v2};mt.isMemo=function(n){return sr(n)===y2};mt.isPortal=function(n){return sr(n)===a7};mt.isProfiler=function(n){return sr(n)===d2};mt.isStrictMode=function(n){return sr(n)===p2};mt.isSuspense=function(n){return sr(n)===h2};mt.isSuspenseList=function(n){return sr(n)===m2};mt.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===u2||n===d2||n===p2||n===h2||n===m2||n===Cce||typeof n=="object"&&n!==null&&(n.$$typeof===v2||n.$$typeof===y2||n.$$typeof===l2||n.$$typeof===c2||n.$$typeof===f2||n.$$typeof===Qw||n.getModuleId!==void 0)};mt.typeOf=sr});var zw=T((kSe,Hw)=>{"use strict";f();c();Hw.exports=Kw()});var eR=T(rs=>{"use strict";f();c();Object.defineProperty(rs,"__esModule",{value:!0});rs.test=rs.serialize=rs.default=void 0;var Ou=Nce(zw()),E2=o2();function Yw(n){if(typeof WeakMap!="function")return null;var e=new WeakMap,t=new WeakMap;return(Yw=function(i){return i?t:e})(n)}function Nce(n,e){if(!e&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var t=Yw(e);if(t&&t.has(n))return t.get(n);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var o=r?Object.getOwnPropertyDescriptor(n,a):null;o&&(o.get||o.set)?Object.defineProperty(i,a,o):i[a]=n[a]}return i.default=n,t&&t.set(n,i),i}var Jw=(n,e=[])=>(Array.isArray(n)?n.forEach(t=>{Jw(t,e)}):n!=null&&n!==!1&&e.push(n),e),Ww=n=>{let e=n.type;if(typeof e=="string")return e;if(typeof e=="function")return e.displayName||e.name||"Unknown";if(Ou.isFragment(n))return"React.Fragment";if(Ou.isSuspense(n))return"React.Suspense";if(typeof e=="object"&&e!==null){if(Ou.isContextProvider(n))return"Context.Provider";if(Ou.isContextConsumer(n))return"Context.Consumer";if(Ou.isForwardRef(n)){if(e.displayName)return e.displayName;let t=e.render.displayName||e.render.name||"";return t!==""?`ForwardRef(${t})`:"ForwardRef"}if(Ou.isMemo(n)){let t=e.displayName||e.type.displayName||e.type.name||"";return t!==""?`Memo(${t})`:"Memo"}}return"UNDEFINED"},Oce=n=>{let{props:e}=n;return Object.keys(e).filter(t=>t!=="children"&&e[t]!==void 0).sort()},Xw=(n,e,t,i,r,a)=>++i>e.maxDepth?(0,E2.printElementAsLeaf)(Ww(n),e):(0,E2.printElement)(Ww(n),(0,E2.printProps)(Oce(n),n.props,e,t+e.indent,i,r,a),(0,E2.printChildren)(Jw(n.props.children),e,t+e.indent,i,r,a),e,t);rs.serialize=Xw;var Zw=n=>n!=null&&Ou.isElement(n);rs.test=Zw;var Ice={serialize:Xw,test:Zw},wce=Ice;rs.default=wce});var iR=T(as=>{"use strict";f();c();Object.defineProperty(as,"__esModule",{value:!0});as.test=as.serialize=as.default=void 0;var g2=o2(),o7=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,Rce=typeof o7=="function"&&o7.for?o7.for("react.test.json"):245830487,Bce=n=>{let{props:e}=n;return e?Object.keys(e).filter(t=>e[t]!==void 0).sort():[]},tR=(n,e,t,i,r,a)=>++i>e.maxDepth?(0,g2.printElementAsLeaf)(n.type,e):(0,g2.printElement)(n.type,n.props?(0,g2.printProps)(Bce(n),n.props,e,t+e.indent,i,r,a):"",n.children?(0,g2.printChildren)(n.children,e,t+e.indent,i,r,a):"",e,t);as.serialize=tR;var nR=n=>n&&n.$$typeof===Rce;as.test=nR;var Lce={serialize:tR,test:nR},Pce=Lce;as.default=Pce});var p7=T(io=>{"use strict";f();c();Object.defineProperty(io,"__esModule",{value:!0});io.default=io.DEFAULT_OPTIONS=void 0;io.format=ER;io.plugins=void 0;var xce=Iu(Tw()),d1=s1(),kce=Iu(_w()),$ce=Iu(Iw()),Vce=Iu(Vw()),jce=Iu(Gw()),qce=Iu(eR()),Mce=Iu(iR());function Iu(n){return n&&n.__esModule?n:{default:n}}var pR=Object.prototype.toString,Uce=Date.prototype.toISOString,Gce=Error.prototype.toString,rR=RegExp.prototype.toString,s7=n=>typeof n.constructor=="function"&&n.constructor.name||"Object",Qce=n=>typeof window<"u"&&n===window,Kce=/^Symbol\((.*)\)(.*)$/,Hce=/\n/gi,A2=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function zce(n){return n==="[object Array]"||n==="[object ArrayBuffer]"||n==="[object DataView]"||n==="[object Float32Array]"||n==="[object Float64Array]"||n==="[object Int8Array]"||n==="[object Int16Array]"||n==="[object Int32Array]"||n==="[object Uint8Array]"||n==="[object Uint8ClampedArray]"||n==="[object Uint16Array]"||n==="[object Uint32Array]"}function Wce(n){return Object.is(n,-0)?"-0":String(n)}function Yce(n){return`${n}n`}function aR(n,e){return e?`[Function ${n.name||"anonymous"}]`:"[Function]"}function oR(n){return String(n).replace(Kce,"Symbol($1)")}function sR(n){return`[${Gce.call(n)}]`}function dR(n,e,t,i){if(n===!0||n===!1)return`${n}`;if(n===void 0)return"undefined";if(n===null)return"null";let r=typeof n;if(r==="number")return Wce(n);if(r==="bigint")return Yce(n);if(r==="string")return i?`"${n.replace(/"|\\/g,"\\$&")}"`:`"${n}"`;if(r==="function")return aR(n,e);if(r==="symbol")return oR(n);let a=pR.call(n);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?aR(n,e):a==="[object Symbol]"?oR(n):a==="[object Date]"?isNaN(+n)?"Date { NaN }":Uce.call(n):a==="[object Error]"?sR(n):a==="[object RegExp]"?t?rR.call(n).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):rR.call(n):n instanceof Error?sR(n):null}function lR(n,e,t,i,r,a){if(r.indexOf(n)!==-1)return"[Circular]";r=r.slice(),r.push(n);let o=++i>e.maxDepth,s=e.min;if(e.callToJSON&&!o&&n.toJSON&&typeof n.toJSON=="function"&&!a)return os(n.toJSON(),e,t,i,r,!0);let u=pR.call(n);return u==="[object Arguments]"?o?"[Arguments]":`${s?"":"Arguments "}[${(0,d1.printListItems)(n,e,t,i,r,os)}]`:zce(u)?o?`[${n.constructor.name}]`:`${s||!e.printBasicPrototype&&n.constructor.name==="Array"?"":`${n.constructor.name} `}[${(0,d1.printListItems)(n,e,t,i,r,os)}]`:u==="[object Map]"?o?"[Map]":`Map {${(0,d1.printIteratorEntries)(n.entries(),e,t,i,r,os," => ")}}`:u==="[object Set]"?o?"[Set]":`Set {${(0,d1.printIteratorValues)(n.values(),e,t,i,r,os)}}`:o||Qce(n)?`[${s7(n)}]`:`${s||!e.printBasicPrototype&&s7(n)==="Object"?"":`${s7(n)} `}{${(0,d1.printObjectProperties)(n,e,t,i,r,os)}}`}function Jce(n){return n.serialize!=null}function cR(n,e,t,i,r,a){let o;try{o=Jce(n)?n.serialize(e,t,i,r,a,os):n.print(e,s=>os(s,t,i,r,a),s=>{let u=i+t.indent;return u+s.replace(Hce,` ${u}`)},{edgeSpacing:t.spacingOuter,min:t.min,spacing:t.spacingInner},t.colors)}catch(s){throw new A2(s.message,s.stack)}if(typeof o!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function fR(n,e){for(let t=0;tn,ur=Xce({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:u7});io.DEFAULT_OPTIONS=ur;function Zce(n){if(Object.keys(n).forEach(e=>{if(!Object.prototype.hasOwnProperty.call(ur,e))throw new Error(`pretty-format: Unknown option "${e}".`)}),n.min&&n.indent!==void 0&&n.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(n.theme!==void 0){if(n.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof n.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof n.theme}".`)}}var e1e=n=>hR.reduce((e,t)=>{let i=n.theme&&n.theme[t]!==void 0?n.theme[t]:u7[t],r=i&&xce.default[i];if(r&&typeof r.close=="string"&&typeof r.open=="string")e[t]=r;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${i}" is undefined in ansi-styles.`);return e},Object.create(null)),t1e=()=>hR.reduce((n,e)=>(n[e]={close:"",open:""},n),Object.create(null)),mR=n=>n?.printFunctionName??ur.printFunctionName,yR=n=>n?.escapeRegex??ur.escapeRegex,vR=n=>n?.escapeString??ur.escapeString,uR=n=>({callToJSON:n?.callToJSON??ur.callToJSON,colors:n?.highlight?e1e(n):t1e(),compareKeys:typeof n?.compareKeys=="function"||n?.compareKeys===null?n.compareKeys:ur.compareKeys,escapeRegex:yR(n),escapeString:vR(n),indent:n?.min?"":n1e(n?.indent??ur.indent),maxDepth:n?.maxDepth??ur.maxDepth,maxWidth:n?.maxWidth??ur.maxWidth,min:n?.min??ur.min,plugins:n?.plugins??ur.plugins,printBasicPrototype:n?.printBasicPrototype??!0,printFunctionName:mR(n),spacingInner:n?.min?" ":` `,spacingOuter:n?.min?"":` `});function n1e(n){return new Array(n+1).join(" ")}function ER(n,e){if(e&&(Zce(e),e.plugins)){let i=fR(e.plugins,n);if(i!==null)return cR(i,n,uR(e),"",0,[])}let t=dR(n,mR(e),yR(e),vR(e));return t!==null?t:lR(n,uR(e),"",0,[])}var i1e={AsymmetricMatcher:kce.default,DOMCollection:$ce.default,DOMElement:Vce.default,Immutable:jce.default,ReactElement:qce.default,ReactTestComponent:Mce.default};io.plugins=i1e;var r1e=ER;io.default=r1e});var AR=T(cd=>{"use strict";f();c();var a1e=cd&&cd.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(cd,"__esModule",{value:!0});cd.prettyFormatQueryPlan=void 0;var o1e=a1e(p7()),gR=r2();function s1e(n){return(0,o1e.default)(n,{plugins:[gR.queryPlanSerializer,gR.astSerializer]})}cd.prettyFormatQueryPlan=s1e});var d7=T(hi=>{"use strict";f();c();var u1e=hi&&hi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(hi,"__esModule",{value:!0});hi.isPlanNode=hi.trimSelectionNodes=hi.getResponseName=hi.serializeQueryPlan=void 0;var T2=Pe(),p1e=u1e(p7()),TR=r2();function d1e(n){return(0,p1e.default)(n,{plugins:[TR.queryPlanSerializer,TR.astSerializer]})}hi.serializeQueryPlan=d1e;function l1e(n){return n.alias?n.alias:n.name}hi.getResponseName=l1e;var c1e=n=>{let e=[];return n.forEach(t=>{var i;t.kind===T2.Kind.FIELD&&e.push({kind:T2.Kind.FIELD,name:t.name.value,selections:t.selectionSet&&(0,hi.trimSelectionNodes)(t.selectionSet.selections)}),t.kind===T2.Kind.INLINE_FRAGMENT&&e.push({kind:T2.Kind.INLINE_FRAGMENT,typeCondition:(i=t.typeCondition)===null||i===void 0?void 0:i.name.value,selections:(0,hi.trimSelectionNodes)(t.selectionSet.selections)})}),e};hi.trimSelectionNodes=c1e;var f1e=n=>!!n&&n.kind!=="Subscription";hi.isPlanNode=f1e});var S2=T(Mn=>{"use strict";f();c();Object.defineProperty(Mn,"__esModule",{value:!0});Mn.subgraphEnteringTransition=Mn.InterfaceObjectFakeDownCast=Mn.SubgraphEnteringTransition=Mn.DownCast=Mn.FieldCollection=Mn.RootTypeResolution=Mn.KeyResolution=void 0;var l7=class{constructor(){this.kind="KeyResolution",this.collectOperationElements=!1}toString(){return"key()"}};Mn.KeyResolution=l7;var c7=class{constructor(e){this.rootKind=e,this.kind="RootTypeResolution",this.collectOperationElements=!1}toString(){return this.rootKind+"()"}};Mn.RootTypeResolution=c7;var f7=class{constructor(e,t=!1){this.definition=e,this.isPartOfProvide=t,this.kind="FieldCollection",this.collectOperationElements=!0}toString(){return this.definition.name}};Mn.FieldCollection=f7;var h7=class{constructor(e,t){this.sourceType=e,this.castedType=t,this.kind="DownCast",this.collectOperationElements=!0}toString(){return"... on "+this.castedType.name}};Mn.DownCast=h7;var b2=class{constructor(){this.kind="SubgraphEnteringTransition",this.collectOperationElements=!1}toString(){return"\u2205"}};Mn.SubgraphEnteringTransition=b2;var m7=class{constructor(e,t){this.sourceType=e,this.castedTypeName=t,this.kind="InterfaceObjectFakeDownCast",this.collectOperationElements=!0}toString(){return"... on "+this.castedTypeName}};Mn.InterfaceObjectFakeDownCast=m7;Mn.subgraphEnteringTransition=new b2});var SR=T(D2=>{"use strict";f();c();Object.defineProperty(D2,"__esModule",{value:!0});D2.preComputeNonTrivialFollowupEdges=void 0;var h1e=qn(),bR=ss();function m1e(n){let e=new bR.QueryGraphState;return(0,bR.simpleTraversal)(n,()=>{},t=>{let i=n.outEdges(t.tail);return e.setEdgeState(t,y1e(t,i)),!0}),t=>{let i=e.getEdgeState(t);return(0,h1e.assert)(i,()=>`Non-trivial followup edges of ${t} should have been computed`),i}}D2.preComputeNonTrivialFollowupEdges=m1e;function y1e(n,e){switch(n.transition.kind){case"KeyResolution":return e.filter(t=>t.transition.kind!=="KeyResolution"||!v1e(n,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 v1e(n,e){return n.conditions?!!e.conditions&&n.conditions.equals(e.conditions):!e.conditions}});var ss=T(pt=>{"use strict";f();c();Object.defineProperty(pt,"__esModule",{value:!0});pt.simpleTraversal=pt.buildFederatedQueryGraph=pt.buildSupergraphAPIQueryGraph=pt.buildQueryGraph=pt.QueryGraphState=pt.QueryGraph=pt.Edge=pt.isRootVertex=pt.RootVertex=pt.Vertex=pt.isFederatedGraphRootType=pt.federatedGraphRootTypeName=pt.FEDERATED_GRAPH_ROOT_SOURCE=void 0;var ee=qn(),DR=m9(),ei=S2(),E1e=SR();pt.FEDERATED_GRAPH_ROOT_SOURCE=ee.FEDERATION_RESERVED_SUBGRAPH_NAME;var g1e=new ee.Schema;function _R(n){return`[${n}]`}pt.federatedGraphRootTypeName=_R;function A1e(n){return n.name.startsWith("[")&&n.name.endsWith("]")}pt.isFederatedGraphRootType=A1e;var l1=class{constructor(e,t,i){this.index=e,this.type=t,this.source=i,this.hasReachableCrossSubgraphEdges=!1}toString(){let e=`${this.type}(${this.source})`;return this.provideId?`${e}-${this.provideId}`:e}};pt.Vertex=l1;var c1=class extends l1{constructor(e,t,i,r){super(t,i,r),this.rootKind=e}toString(){return super.toString()+"*"}};pt.RootVertex=c1;function T1e(n,e){return new c1(e,n.index,n.type,n.source)}function b1e(n){return n instanceof c1}pt.isRootVertex=b1e;var wu=class{constructor(e,t,i,r,a,o,s){this.index=e,this.head=t,this.tail=i,this.transition=r,this.overrideCondition=o,this.requiredContexts=[],this._conditions=a,s&&(this.requiredContexts=[...s])}get conditions(){return this._conditions}isEdgeForField(e){return this.transition.kind==="FieldCollection"&&this.transition.definition.name===e}matchesSupergraphTransition(e){(0,ee.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 ei.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 wu(this.index,e,this.tail,this.transition,this._conditions,this.overrideCondition,this.requiredContexts)}addToConditions(e){this._conditions=this._conditions?new ee.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:i}=this.overrideCondition;return e.has(t)?e.get(t)===i:!1}toString(){return`${this.head} -> ${this.tail} (${this.label()})`}};pt.Edge=wu;var F2=class{constructor(e,t,i,r,a,o,s,u,p){this.name=e,this.vertices=t,this._outEdges=i,this.typesToVertices=r,this.rootVertices=a,this.sources=o,this.subgraphToArgs=s,this.subgraphToArgIndices=u,this.schema=p,this.nonTrivialFollowupEdges=(0,E1e.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 i=this._outEdges[e.index];return t?i:i.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(i=>this.vertices[i])}};pt.QueryGraph=F2;var y7=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 i=this.adjacenciesStates.get(e.head.index);i||(i=new Map,this.adjacenciesStates.set(e.head.index,i)),i.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 i=Array.from(this.verticesStates.entries()).sort(([a],[o])=>a-o).map(([a,o])=>` ${a}: ${o?e(o):""}`).join(` `),r=Array.from(this.adjacenciesStates.entries()).sort(([a],[o])=>a-o).map(([a,o])=>Array.from(o.entries()).sort(([s],[u])=>s-u).map(([s,u])=>` ${a}[${s}]: ${u?t(u):""}`).join(` `)).join(` `);return`vertices = {${i} }, edges = {${r} }`}};pt.QueryGraphState=y7;function FR(n,e,t){return CR(n,e,!1,void 0,t)}pt.buildQueryGraph=FR;function CR(n,e,t,i,r){let a=new v7(n,e,i?{apiSchema:i.toAPISchema(),isFed1:(0,ee.isFed1Supergraph)(i)}:void 0,r);for(let o of e.schemaDefinition.roots())a.addRecursivelyFromRoot(o.rootKind,o.type);return a.isFederatedSubgraph&&a.addInterfaceEntityEdges(),t&&a.addAdditionalAbstractTypeEdges(),a.build()}function S1e(n){let e=n.apiSchema(),t=new Map,i=(0,ee.validateSupergraph)(n.schema)[1].fieldDirective(n.schema).applications();for(let r of i){let a=r.arguments().overrideLabel;a&&t.set(r.parent.coordinate,a)}return FR("supergraph",e,t)}pt.buildSupergraphAPIQueryGraph=S1e;function D1e(n,e){let t=n.subgraphs(),i=[];for(let r of t)i.push(CR(r.name,r.schema,e,n.schema));return F1e(n.schema,i)}pt.buildFederatedQueryGraph=D1e;function _1e(n){let e=0,t=new Set,i=[];for(let r of n)e+=r.verticesCount(),r.rootKinds().forEach(a=>t.add(a)),(0,ee.assert)(r.sources.size===1,()=>`Subgraphs should only have one sources, got ${r.sources.size} ([${(0,ee.mapKeys)(r.sources).join(", ")}])`),i.push((0,ee.firstOf)(r.sources.values()));return[e+t.size,t,i]}function NR(n,e){return e.appliedDirectivesOf(n).filter(i=>{var r;return(r=i.arguments().resolvable)!==null&&r!==void 0?r:!0})}function F1e(n,e){var t;let[i,r,a]=_1e(e),o=new C2(n,i);r.forEach(m=>o.createRootVertex(m,new ee.ObjectType(_R(m)),pt.FEDERATED_GRAPH_ROOT_SOURCE,g1e));let s=new Array(e.length);for(let[m,y]of e.entries())s[m]=o.copyGraph(y);for(let[m,y]of e.entries()){let v=s[m];for(let g of y.rootKinds()){let b=v.copiedVertex(y.root(g));o.addEdge(o.root(g),b,ei.subgraphEnteringTransition);for(let[D,R]of e.entries()){let N=R.root(g);if(N){let L=s[D];o.addEdge(b,L.copiedVertex(N),new ei.RootTypeResolution(g))}}}}for(let[m,y]of e.entries()){let v=a[m],g=(0,ee.federationMetadata)(v);(0,ee.assert)(g,`Subgraph ${m} is not a valid federation subgraph`);let b=g.keyDirective(),D=g.requiresDirective();_2(y,R=>{let N=R.type;for(let L of NR(b,N)){(0,ee.assert)((0,ee.isInterfaceType)(N)||(0,ee.isObjectType)(N),()=>`Invalid "@key" application on non Object || Interface type "${N}"`);let k=g.isInterfaceObjectType(N),K=(0,ee.parseFieldSetArgument)({parentType:N,directive:L,normalize:!0}),Y=s[m].copiedVertex(R);for(let[H,P]of e.entries()){let G=P.verticesForType(N.name);if(G.length>0){(0,ee.assert)(G.length==1,()=>`Subgraph ${H} should have a single vertex for type ${N.name} but got ${G.length}: ${(0,DR.inspect)(G)}`);let fe=G[0],Oe=s[H].copiedVertex(fe),Me=s[m].copiedVertex(R);o.addEdge(Oe,Me,new ei.KeyResolution,K)}if(k){let fe=n.type(N.name);(0,ee.assert)(fe&&(0,ee.isInterfaceType)(fe),()=>`Type ${N} is an interfaceObject in subgraph ${m}; should be an interface in the supergraph`);for(let Oe of fe.possibleRuntimeTypes()){let Me=P.verticesForType(Oe.name)[0];if(!Me)continue;let Xt=s[H].copiedVertex(Me),At=Me.type;(0,ee.assert)((0,ee.isCompositeType)(At),()=>`${At} should be composite since it implements ${fe} in the supergraph`);try{let wt=(0,ee.parseFieldSetArgument)({parentType:At,directive:L,validate:!1,normalize:!0});o.addEdge(Xt,Y,new ei.KeyResolution,wt)}catch{}}}}}},R=>{if(R.transition.kind==="FieldCollection"){let N=R.head.type,L=R.transition.definition;(0,ee.assert)((0,ee.isCompositeType)(N),()=>`Non composite type "${N}" should not have field collection edge ${R}`);for(let k of L.appliedDirectivesOf(D)){let K=(0,ee.parseFieldSetArgument)({parentType:N,directive:k,normalize:!0}),Y=s[m].copiedVertex(R.head);o.edge(Y,R.index).addToConditions(K)}}return!0})}let u=new Map(e.map(m=>[m.name,m]));for(let[m,y]of e.entries()){let v=a[m],g=(0,ee.federationMetadata)(v);(0,ee.assert)(g,`Subgraph ${m} is not a valid federation subgraph`);for(let b of g.overrideDirective().applications()){let L=function(k,K,Y){let H=b.parent;(0,ee.assert)(H instanceof ee.NamedSchemaElement,()=>`@override should have been on a field, got ${H}`);let P=H.parent.name,[G,...fe]=k.verticesForType(P);(0,ee.assert)(G&&fe.length===0,()=>`Subgraph ${k.name} should have exactly one vertex for type ${P}`);let Oe=k.outEdges(G);for(let Me of Oe)if(Me.transition.kind==="FieldCollection"&&Me.transition.definition.name===H.name){let Xt=s[e.indexOf(k)].copiedVertex(G),At=o.edge(Xt,Me.index);At.overrideCondition={label:K,condition:Y}}},{from:D,label:R}=b.arguments();if(!R)continue;let N=u.get(D);(0,ee.assert)(N,()=>`Subgraph ${D} not found`),L(y,R,!0),L(N,R,!1)}}let p=new Map,d=new Map;for(let[m,y]of e.entries()){let v=a[m],g=(0,ee.federationMetadata)(v);(0,ee.assert)(g,`Subgraph ${m} is not a valid federation subgraph`);let b=new Map;for(let R of g.contextDirective().applications()){let{name:N}=R.arguments();b.has(N)?b.get(N).add(R.parent.name):b.set(N,new Set([R.parent.name]))}let D=new Map;for(let R of g.fromContextDirective().applications()){let{field:N}=R.arguments(),{context:L,selection:k}=(0,ee.parseContext)(N);(0,ee.assert)(L,()=>`FieldValue has invalid format. Context not found ${N}`),(0,ee.assert)(k,()=>`FieldValue has invalid format. Selection not found ${N}`);let K=R.parent.name,Y=R.parent.coordinate,H=(t=p.get(y.name))!==null&&t!==void 0?t:[];H.push(Y),p.set(y.name,H);let P=R.parent.parent.coordinate,G=b.get(L);(0,ee.assert)(G,()=>`Context ${L} is never set in subgraph`);let fe=D.get(P);fe?fe.push({namedParameter:K,coordinate:Y,context:L,selection:k,typesWithContextSet:G,subgraphName:y.name,argType:R.parent.type}):D.set(P,[{namedParameter:K,coordinate:Y,context:L,selection:k,typesWithContextSet:G,subgraphName:y.name,argType:R.parent.type}])}_2(y,R=>{},R=>{if(R.head.type.kind==="ObjectType"&&R.transition.kind==="FieldCollection"){let N=`${R.head.type.name}.${R.transition.definition.name}`,L=D.get(N);if(L){let k=s[m].copiedVertex(R.head);(0,ee.assert)(k,()=>`Vertex for type ${R.head.type.name} not found in supergraph`),o.edge(k,R.index).addToContextConditions(L)}}return!0})}for(let[m,y]of e.entries()){let v=y.name,g=p.get(y.name);if(g){g.sort();let b=new Map;for(let D=0;D{},D=>{if(D.transition.kind==="FieldCollection"){let R=D.head.type,N=D.transition.definition;(0,ee.assert)((0,ee.isCompositeType)(R),()=>`Non composite type "${R}" should not have field collection edge ${D}`);for(let L of N.appliedDirectivesOf(b)){++l;let k=(0,ee.baseType)(N.type);(0,ee.assert)((0,ee.isCompositeType)(k),()=>`Invalid @provide on field "${N}" whose type "${k}" is not a composite type`);let K=(0,ee.parseFieldSetArgument)({parentType:k,directive:L}),Y=s[m].copiedVertex(D.head),H=s[m].copiedVertex(D.tail),P=o.edge(Y,D.index),G=o.makeCopy(H,l);o.updateEdgeTail(P,G),C1e(v,o,G,K,l)}}return!0})}for(let[m,y]of e.entries()){let v=a[m],g=(0,ee.federationMetadata)(v);(0,ee.assert)(g,`Subgraph ${m} is not a valid federation subgraph`);let b=g.interfaceObjectDirective();for(let D of b.applications()){let R=D.parent;(0,ee.assert)((0,ee.isObjectType)(R),"@interfaceObject should have been on an object type");let N=s[m].copiedVertex(y.verticesForType(R.name)[0]),L=n.type(R.name);(0,ee.assert)(L&&(0,ee.isInterfaceType)(L),()=>`${R} has @interfaceObject in subgraph but has kind ${L?.kind} in supergraph`);let k=(0,ee.selectionSetOfElement)(new ee.Field(R.typenameField()));for(let K of L.possibleRuntimeTypes())o.addEdge(N,N,new ei.InterfaceObjectFakeDownCast(R,K.name),k)}}return o.build(pt.FEDERATED_GRAPH_ROOT_SOURCE)}function C1e(n,e,t,i,r){let a=[[t,i]],o=t.source;for(;a.length>0;){let[s,u]=a.pop();for(let p of u.selectionsInReverseOrder()){let d=p.element;if(d.kind=="Field"){let l=d.definition,m=e.edges(s).find(y=>y.transition.kind==="FieldCollection"&&y.transition.definition.name===l.name);if(m){if(p.selectionSet){let y=e.makeCopy(m.tail,r);e.updateEdgeTail(m,y),a.push([y,p.selectionSet])}}else{let y=(0,ee.baseType)(l.type),v=e.verticesForType(y.name).find(b=>b.source===o),g=v||e.createNewVertex(y,s.source,n);if(p.selectionSet){let b=v?e.makeCopy(v,r):g;e.addEdge(s,b,new ei.FieldCollection(l,!0)),a.push([b,p.selectionSet])}else e.addEdge(s,g,new ei.FieldCollection(l,!0))}}else{let l=d.typeCondition;if(l){let m=e.edges(s).find(v=>v.transition.kind==="DownCast"&&v.transition.castedType.name===l.name);(0,ee.assert)(m,()=>`Shouldn't have ${p} with no corresponding edge on ${s} (edges are: [${e.edges(s)}])`);let y=e.makeCopy(m.tail,r);e.updateEdgeTail(m,y),a.push([y,p.selectionSet])}else a.push([s,p.selectionSet])}}}}var C2=class{constructor(e,t){this.nextIndex=0,this.typesToVertices=new ee.MultiMap,this.rootVertices=new ee.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(i=>this.vertices[i])}root(e){return this.rootVertices.get(e)}addEdge(e,t,i,r,a,o){let s=this.outEdges[e.index],u=this.inEdges[t.index],p=new wu(s.length,e,t,i,r,a,o);s.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 i=t.pop();i.hasReachableCrossSubgraphEdges=!0;for(let r of this.inEdges[i.index])r.head.source===r.tail.source&&!r.head.hasReachableCrossSubgraphEdges&&t.push(r.head)}}createNewVertex(e,t,i,r){r||(r=this.nextIndex++);let a=new l1(r,e,t),o=this.vertices[r];return(0,ee.assert)(!o,()=>`Overriding existing vertex ${o} 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,i),a}createRootVertex(e,t,i,r){let a=this.createNewVertex(t,i,r);(0,ee.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 i=this.vertices[t];(0,ee.assert)(i,()=>`Cannot set non-existing vertex at index ${t} as root ${e}`);let r=T1e(i,e);this.vertices[i.index]=r,this.rootVertices.set(e,r);let a=this.outEdges[i.index];for(let o=0;o`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 i=this.createNewVertex(e.type,e.source,this.sources.get(e.source));i.provideId=t,i.hasReachableCrossSubgraphEdges=e.hasReachableCrossSubgraphEdges;for(let r of this.outEdges[e.index])this.addEdge(i,r.tail,r.transition,r.conditions,r.overrideCondition,r.requiredContexts);return i}updateEdgeTail(e,t){let i=new wu(e.index,e.head,t,e.transition,e.conditions,e.overrideCondition,e.requiredContexts);return this.outEdges[e.head.index][e.index]=i,this.inEdges[e.tail.index]=this.inEdges[e.tail.index].filter(r=>r!==e),this.inEdges[t.index].push(i),i}getOrCopyVertex(e,t,i){let r=e.index+t,a=this.vertices[r];return a||(a=this.createNewVertex(e.type,e.source,i.sources.get(e.source),r)),a}build(e){return new F2(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}},v7=class extends C2{constructor(e,t,i,r){super(t),this.name=e,this.supergraph=i,this.overrideLabelsByCoordinate=r,this.isFederatedSubgraph=!!i&&(0,ee.isFederationSubgraphSchema)(t)}hasDirective(e,t){let i=(0,ee.federationMetadata)(this.schema);return!!i&&e.hasAppliedDirective(t(i))}isExternal(e){let t=(0,ee.federationMetadata)(this.schema);return!!t&&t.isFieldExternal(e)}addRecursivelyFromRoot(e,t){this.setAsRoot(e,this.addTypeRecursively(t).index)}addTypeRecursively(e){let t=(0,ee.baseType)(e),i=this.verticesForType(t.name);if(i.length>0)return(0,ee.assert)(i.length==1,()=>`Only one vertex should have been created for type ${t.name}, got ${i.length}: ${(0,DR.inspect)(this)}`),i[0];let r=this.createNewVertex(t,this.name,this.schema);return(0,ee.isObjectType)(t)?this.addObjectTypeEdges(t,r):(0,ee.isInterfaceType)(t)?(this.isFederatedSubgraph&&this.maybeAddInterfaceFieldsEdges(t,r),this.addAbstractTypeEdges(t,r)):(0,ee.isUnionType)(t)&&(this.addEdgeForField(t.typenameField(),r),this.addAbstractTypeEdges(t,r)),r}addObjectTypeEdges(e,t){var i,r;let a=(r=(i=(0,ee.federationMetadata)(this.schema))===null||i===void 0?void 0:i.isInterfaceObjectType(e))!==null&&r!==void 0?r:!1;for(let o of e.allFields())o.isSchemaIntrospectionField()||a&&o.name===ee.typenameFieldName||(this.isExternal(o)?this.addTypeRecursively(o.type):this.addEdgeForField(o,t))}addEdgeForField(e,t){var i;let r=this.addTypeRecursively(e.type),a=(i=this.overrideLabelsByCoordinate)===null||i===void 0?void 0:i.get(e.coordinate);a?(this.addEdge(t,r,new ei.FieldCollection(e),void 0,{label:a,condition:!0}),this.addEdge(t,r,new ei.FieldCollection(e),void 0,{label:a,condition:!1})):this.addEdge(t,r,new ei.FieldCollection(e))}isDirectlyProvidedByType(e,t){let i=e.field(t);return i&&!this.isExternal(i)&&!this.hasDirective(i,r=>r.requiresDirective())}maybeAddInterfaceFieldsEdges(e,t){(0,ee.assert)(this.supergraph,"Missing supergraph schema when building a subgraph");let i=this.supergraph.apiSchema.type(e.name);if(!i)return;let a=i.possibleRuntimeTypes().map(o=>o.name).map(o=>this.schema.type(o)).filter(o=>o!==void 0);for(let o of e.allFields())this.isExternal(o)||a.some(s=>!this.isDirectlyProvidedByType(s,o.name))||this.addEdgeForField(o,t)}addAbstractTypeEdges(e,t){let i=(0,ee.isInterfaceType)(e)?e.possibleRuntimeTypes():e.types();for(let r of i){let a=this.addTypeRecursively(r);this.addEdge(t,a,new ei.DownCast(e,r))}}addAdditionalAbstractTypeEdges(){if(!this.supergraph)return;let e=[];for(let t of this.schema.types())if((0,ee.isAbstractType)(t)){let i=this.supergraph.apiSchema.type(t.name);if(!i)continue;(0,ee.assert)((0,ee.isAbstractType)(i),()=>`${t} should not be a ${t.kind} in a subgraph but a ${i.kind} in the supergraph`),e.push({type:t,runtimeTypesInSubgraph:(0,ee.possibleRuntimeTypes)(t),runtimeTypesInSupergraph:(0,ee.possibleRuntimeTypes)(i)})}for(let t=0;to.runtimeTypesInSubgraph.includes(d));if(p.length>=2){let d=(l,m)=>m.runtimeTypesInSubgraph.some(y=>y.name===l.name)&&!p.some(y=>y.name===l.name);(0,ee.isUnionType)(o.type)||o.runtimeTypesInSupergraph.some(l=>d(l,i))||(s=!0),(0,ee.isUnionType)(i.type)||i.runtimeTypesInSupergraph.some(l=>d(l,o))||(u=!0)}}if(s||u){let p=this.addTypeRecursively(o.type);s&&this.addEdge(r,p,new ei.DownCast(i.type,o.type)),u&&this.addEdge(p,r,new ei.DownCast(o.type,i.type))}}}}addInterfaceEntityEdges(){let e=(0,ee.federationMetadata)(this.schema);(0,ee.assert)(e,()=>`${this.name} does not correspond to a subgraph`);let t=e.entityType();if(!t)return;let i=this.addTypeRecursively(t),r=e.keyDirective();for(let a of this.schema.interfaceTypes())if(NR(r,a).length>0){let o=this.addTypeRecursively(a);this.addEdge(i,o,new ei.DownCast(t,a))}}build(){return super.build(this.name)}};function _2(n,e,t){let i=new Array(n.verticesCount()),r=[],a=function(o){i[o.index]||(r.push(o),i[o.index]=!0)};for(n.roots().forEach(a);r.length>0;){let o=r.pop();e(o);for(let s of n.outEdges(o))t(s)&&a(s.tail)}}pt.simpleTraversal=_2});var E7=T((dDe,IR)=>{"use strict";f();c();var OR=Object.prototype.toString;IR.exports=function(e){var t=OR.call(e),i=t==="[object Arguments]";return i||(i=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&OR.call(e.callee)==="[object Function]"),i}});var VR=T((fDe,$R)=>{"use strict";f();c();var kR;Object.keys||(f1=Object.prototype.hasOwnProperty,g7=Object.prototype.toString,wR=E7(),A7=Object.prototype.propertyIsEnumerable,RR=!A7.call({toString:null},"toString"),BR=A7.call(function(){},"prototype"),h1=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],N2=function(n){var e=n.constructor;return e&&e.prototype===n},LR={$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},PR=function(){if(typeof window>"u")return!1;for(var n in window)try{if(!LR["$"+n]&&f1.call(window,n)&&window[n]!==null&&typeof window[n]=="object")try{N2(window[n])}catch{return!0}}catch{return!0}return!1}(),xR=function(n){if(typeof window>"u"||!PR)return N2(n);try{return N2(n)}catch{return!1}},kR=function(e){var t=e!==null&&typeof e=="object",i=g7.call(e)==="[object Function]",r=wR(e),a=t&&g7.call(e)==="[object String]",o=[];if(!t&&!i&&!r)throw new TypeError("Object.keys called on a non-object");var s=BR&&i;if(a&&e.length>0&&!f1.call(e,0))for(var u=0;u0)for(var p=0;p{"use strict";f();c();var N1e=Array.prototype.slice,O1e=E7(),jR=Object.keys,O2=jR?function(e){return jR(e)}:VR(),qR=Object.keys;O2.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(i){return O1e(i)?qR(N1e.call(i)):qR(i)})}else Object.keys=O2;return Object.keys||O2};MR.exports=O2});var us=T((gDe,KR)=>{"use strict";f();c();var I1e=I2(),w1e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",R1e=Object.prototype.toString,B1e=Array.prototype.concat,UR=nh(),L1e=function(n){return typeof n=="function"&&R1e.call(n)==="[object Function]"},GR=ih()(),P1e=function(n,e,t,i){if(e in n){if(i===!0){if(n[e]===t)return}else if(!L1e(i)||!i())return}GR?UR(n,e,t,!0):UR(n,e,t)},QR=function(n,e){var t=arguments.length>2?arguments[2]:{},i=I1e(e);w1e&&(i=B1e.call(i,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";f();c();var x1e=I2(),WR=Xl()(),YR=si(),HR=Object,k1e=YR("Array.prototype.push"),zR=YR("Object.prototype.propertyIsEnumerable"),$1e=WR?Object.getOwnPropertySymbols:null;JR.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var i=HR(e);if(arguments.length===1)return i;for(var r=1;r{"use strict";f();c();var b7=T7(),V1e=function(){if(!Object.assign)return!1;for(var n="abcdefghijklmnopqrst",e=n.split(""),t={},i=0;i{"use strict";f();c();var q1e=us(),M1e=S7();ZR.exports=function(){var e=M1e();return q1e(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var rB=T((wDe,iB)=>{"use strict";f();c();var U1e=us(),G1e=nu(),Q1e=T7(),tB=S7(),K1e=eB(),H1e=G1e.apply(tB()),nB=function(e,t){return H1e(Object,arguments)};U1e(nB,{getPolyfill:tB,implementation:Q1e,shim:K1e});iB.exports=nB});var oB=T((LDe,aB)=>{"use strict";f();c();var y1=function(){return typeof function(){}.name=="string"},m1=Object.getOwnPropertyDescriptor;if(m1)try{m1([],"length")}catch{m1=null}y1.functionsHaveConfigurableNames=function(){if(!y1()||!m1)return!1;var e=m1(function(){},"name");return!!e&&!!e.configurable};var z1e=Function.prototype.bind;y1.boundFunctionsHaveNames=function(){return y1()&&typeof z1e=="function"&&function(){}.bind().name!==""};aB.exports=y1});var pB=T((kDe,uB)=>{"use strict";f();c();var sB=nh(),W1e=ih()(),Y1e=oB().functionsHaveConfigurableNames(),J1e=za();uB.exports=function(e,t){if(typeof e!="function")throw new J1e("`fn` is not a function");var i=arguments.length>2&&!!arguments[2];return(!i||Y1e)&&(W1e?sB(e,"name",t,!0,!0):sB(e,"name",t)),e}});var D7=T((jDe,dB)=>{"use strict";f();c();var X1e=pB(),Z1e=za(),e0e=Object;dB.exports=X1e(function(){if(this==null||this!==e0e(this))throw new Z1e("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 _7=T((UDe,lB)=>{"use strict";f();c();var t0e=D7(),n0e=us().supportsDescriptors,i0e=Object.getOwnPropertyDescriptor;lB.exports=function(){if(n0e&&/a/mig.flags==="gim"){var e=i0e(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(i,"sticky",{get:function(){t+="y"}}),e.get.call(i),t==="dy")return e.get}}return t0e}});var hB=T((KDe,fB)=>{"use strict";f();c();var r0e=us().supportsDescriptors,a0e=_7(),o0e=Object.getOwnPropertyDescriptor,s0e=Object.defineProperty,u0e=TypeError,cB=Object.getPrototypeOf,p0e=/a/;fB.exports=function(){if(!r0e||!cB)throw new u0e("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=a0e(),t=cB(p0e),i=o0e(t,"flags");return(!i||i.get!==e)&&s0e(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}});var EB=T((WDe,vB)=>{"use strict";f();c();var d0e=us(),l0e=nu(),c0e=D7(),mB=_7(),f0e=hB(),yB=l0e(mB());d0e(yB,{getPolyfill:mB,implementation:c0e,shim:f0e});vB.exports=yB});var gB=T(()=>{f();c()});var VB=T((n_e,$B)=>{f();c();var P7=typeof Map=="function"&&Map.prototype,F7=Object.getOwnPropertyDescriptor&&P7?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,R2=P7&&F7&&typeof F7.get=="function"?F7.get:null,AB=P7&&Map.prototype.forEach,x7=typeof Set=="function"&&Set.prototype,C7=Object.getOwnPropertyDescriptor&&x7?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,B2=x7&&C7&&typeof C7.get=="function"?C7.get:null,TB=x7&&Set.prototype.forEach,h0e=typeof WeakMap=="function"&&WeakMap.prototype,E1=h0e?WeakMap.prototype.has:null,m0e=typeof WeakSet=="function"&&WeakSet.prototype,g1=m0e?WeakSet.prototype.has:null,y0e=typeof WeakRef=="function"&&WeakRef.prototype,bB=y0e?WeakRef.prototype.deref:null,v0e=Boolean.prototype.valueOf,E0e=Object.prototype.toString,g0e=Function.prototype.toString,A0e=String.prototype.match,k7=String.prototype.slice,ds=String.prototype.replace,T0e=String.prototype.toUpperCase,SB=String.prototype.toLowerCase,RB=RegExp.prototype.test,DB=Array.prototype.concat,Oa=Array.prototype.join,b0e=Array.prototype.slice,_B=Math.floor,I7=typeof BigInt=="function"?BigInt.prototype.valueOf:null,N7=Object.getOwnPropertySymbols,w7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fd=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Un=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fd||"symbol")?Symbol.toStringTag:null,BB=Object.prototype.propertyIsEnumerable,FB=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function CB(n,e){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||RB.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var i=n<0?-_B(-n):_B(n);if(i!==n){var r=String(i),a=k7.call(e,r.length+1);return ds.call(r,t,"$&_")+"."+ds.call(ds.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ds.call(e,t,"$&_")}var R7=gB(),NB=R7.custom,OB=PB(NB)?NB:null;$B.exports=function n(e,t,i,r){var a=t||{};if(ps(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ps(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 o=ps(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ps(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(ps(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=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 kB(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return s?CB(e,u):u}if(typeof e=="bigint"){var p=String(e)+"n";return s?CB(e,p):p}var d=typeof a.depth>"u"?5:a.depth;if(typeof i>"u"&&(i=0),i>=d&&d>0&&typeof e=="object")return B7(e)?"[Array]":"[Object]";var l=j0e(a,i);if(typeof r>"u")r=[];else if(xB(r,e)>=0)return"[Circular]";function m(Me,Xt,At){if(Xt&&(r=b0e.call(r),r.push(Xt)),At){var wt={depth:a.depth};return ps(a,"quoteStyle")&&(wt.quoteStyle=a.quoteStyle),n(Me,wt,i+1,r)}return n(Me,a,i+1,r)}if(typeof e=="function"&&!IB(e)){var y=w0e(e),v=w2(e,m);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(v.length>0?" { "+Oa.call(v,", ")+" }":"")}if(PB(e)){var g=fd?ds.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):w7.call(e);return typeof e=="object"&&!fd?v1(g):g}if(k0e(e)){for(var b="<"+SB.call(String(e.nodeName)),D=e.attributes||[],R=0;R",b}if(B7(e)){if(e.length===0)return"[]";var N=w2(e,m);return l&&!V0e(N)?"["+L7(N,l)+"]":"[ "+Oa.call(N,", ")+" ]"}if(_0e(e)){var L=w2(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!BB.call(e,"cause")?"{ ["+String(e)+"] "+Oa.call(DB.call("[cause]: "+m(e.cause),L),", ")+" }":L.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Oa.call(L,", ")+" }"}if(typeof e=="object"&&o){if(OB&&typeof e[OB]=="function"&&R7)return R7(e,{depth:d-i});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(R0e(e)){var k=[];return AB&&AB.call(e,function(Me,Xt){k.push(m(Xt,e,!0)+" => "+m(Me,e))}),wB("Map",R2.call(e),k,l)}if(P0e(e)){var K=[];return TB&&TB.call(e,function(Me){K.push(m(Me,e))}),wB("Set",B2.call(e),K,l)}if(B0e(e))return O7("WeakMap");if(x0e(e))return O7("WeakSet");if(L0e(e))return O7("WeakRef");if(C0e(e))return v1(m(Number(e)));if(O0e(e))return v1(m(I7.call(e)));if(N0e(e))return v1(v0e.call(e));if(F0e(e))return v1(m(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(!D0e(e)&&!IB(e)){var Y=w2(e,m),H=FB?FB(e)===Object.prototype:e instanceof Object||e.constructor===Object,P=e instanceof Object?"":"null prototype",G=!H&&Un&&Object(e)===e&&Un in e?k7.call(ls(e),8,-1):P?"Object":"",fe=H||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Oe=fe+(G||P?"["+Oa.call(DB.call([],G||[],P||[]),": ")+"] ":"");return Y.length===0?Oe+"{}":l?Oe+"{"+L7(Y,l)+"}":Oe+"{ "+Oa.call(Y,", ")+" }"}return String(e)};function LB(n,e,t){var i=(t.quoteStyle||e)==="double"?'"':"'";return i+n+i}function S0e(n){return ds.call(String(n),/"/g,""")}function B7(n){return ls(n)==="[object Array]"&&(!Un||!(typeof n=="object"&&Un in n))}function D0e(n){return ls(n)==="[object Date]"&&(!Un||!(typeof n=="object"&&Un in n))}function IB(n){return ls(n)==="[object RegExp]"&&(!Un||!(typeof n=="object"&&Un in n))}function _0e(n){return ls(n)==="[object Error]"&&(!Un||!(typeof n=="object"&&Un in n))}function F0e(n){return ls(n)==="[object String]"&&(!Un||!(typeof n=="object"&&Un in n))}function C0e(n){return ls(n)==="[object Number]"&&(!Un||!(typeof n=="object"&&Un in n))}function N0e(n){return ls(n)==="[object Boolean]"&&(!Un||!(typeof n=="object"&&Un in n))}function PB(n){if(fd)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!w7)return!1;try{return w7.call(n),!0}catch{}return!1}function O0e(n){if(!n||typeof n!="object"||!I7)return!1;try{return I7.call(n),!0}catch{}return!1}var I0e=Object.prototype.hasOwnProperty||function(n){return n in this};function ps(n,e){return I0e.call(n,e)}function ls(n){return E0e.call(n)}function w0e(n){if(n.name)return n.name;var e=A0e.call(g0e.call(n),/^function\s*([\w$]+)/);return e?e[1]:null}function xB(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,i=n.length;te.maxStringLength){var t=n.length-e.maxStringLength,i="... "+t+" more character"+(t>1?"s":"");return kB(k7.call(n,0,e.maxStringLength),e)+i}var r=ds.call(ds.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$0e);return LB(r,"single",e)}function $0e(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+T0e.call(e.toString(16))}function v1(n){return"Object("+n+")"}function O7(n){return n+" { ? }"}function wB(n,e,t,i){var r=i?L7(t,i):Oa.call(t,", ");return n+" ("+e+") {"+r+"}"}function V0e(n){for(var e=0;e=0)return!1;return!0}function j0e(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=Oa.call(Array(n.indent+1)," ");else return null;return{base:t,prev:Oa.call(Array(e+1),t)}}function L7(n,e){if(n.length===0)return"";var t=` `+e.prev+e.base;return t+Oa.call(n,","+t)+` `+e.prev}function w2(n,e){var t=B7(n),i=[];if(t){i.length=n.length;for(var r=0;r{"use strict";f();c();var jB=Fr(),hd=si(),q0e=VB(),M0e=za(),L2=jB("%WeakMap%",!0),P2=jB("%Map%",!0),U0e=hd("WeakMap.prototype.get",!0),G0e=hd("WeakMap.prototype.set",!0),Q0e=hd("WeakMap.prototype.has",!0),K0e=hd("Map.prototype.get",!0),H0e=hd("Map.prototype.set",!0),z0e=hd("Map.prototype.has",!0),$7=function(n,e){for(var t=n,i;(i=t.next)!==null;t=i)if(i.key===e)return t.next=i.next,i.next=n.next,n.next=i,i},W0e=function(n,e){var t=$7(n,e);return t&&t.value},Y0e=function(n,e,t){var i=$7(n,e);i?i.value=t:n.next={key:e,next:n.next,value:t}},J0e=function(n,e){return!!$7(n,e)};qB.exports=function(){var e,t,i,r={assert:function(a){if(!r.has(a))throw new M0e("Side channel does not contain "+q0e(a))},get:function(a){if(L2&&a&&(typeof a=="object"||typeof a=="function")){if(e)return U0e(e,a)}else if(P2){if(t)return K0e(t,a)}else if(i)return W0e(i,a)},has:function(a){if(L2&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Q0e(e,a)}else if(P2){if(t)return z0e(t,a)}else if(i)return J0e(i,a);return!1},set:function(a,o){L2&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new L2),G0e(e,a,o)):P2?(t||(t=new P2),H0e(t,a,o)):(i||(i={key:{},next:null}),Y0e(i,a,o))}};return r}});var UB=T((u_e,MB)=>{"use strict";f();c();var X0e=q8(),A1=V7()(),ro=za(),j7={assert:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new ro("`O` is not an object");if(typeof e!="string")throw new ro("`slot` must be a string");if(A1.assert(n),!j7.has(n,e))throw new ro("`"+e+"` is not present on `O`")},get:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new ro("`O` is not an object");if(typeof e!="string")throw new ro("`slot` must be a string");var t=A1.get(n);return t&&t["$"+e]},has:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new ro("`O` is not an object");if(typeof e!="string")throw new ro("`slot` must be a string");var t=A1.get(n);return!!t&&X0e(t,"$"+e)},set:function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new ro("`O` is not an object");if(typeof e!="string")throw new ro("`slot` must be a string");var i=A1.get(n);i||(i={},A1.set(n,i)),i["$"+e]=t}};Object.freeze&&Object.freeze(j7);MB.exports=j7});var KB=T((l_e,QB)=>{"use strict";f();c();var T1=UB(),Z0e=SyntaxError,GB=typeof StopIteration=="object"?StopIteration:null;QB.exports=function(e){if(!GB)throw new Z0e("this environment lacks StopIteration");T1.set(e,"[[Done]]",!1);var t={next:function(){var r=T1.get(this,"[[Iterator]]"),a=T1.get(r,"[[Done]]");try{return{done:a,value:a?void 0:r.next()}}catch(o){if(T1.set(r,"[[Done]]",!0),o!==GB)throw o;return{done:!0,value:void 0}}}};return T1.set(t,"[[Iterator]]",e),t}});var q7=T((h_e,HB)=>{f();c();var efe={}.toString;HB.exports=Array.isArray||function(n){return efe.call(n)=="[object Array]"}});var M7=T((v_e,zB)=>{"use strict";f();c();var tfe=String.prototype.valueOf,nfe=function(e){try{return tfe.call(e),!0}catch{return!1}},ife=Object.prototype.toString,rfe="[object String]",afe=fa()();zB.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:afe?nfe(e):ife.call(e)===rfe}});var G7=T((A_e,JB)=>{"use strict";f();c();var U7=typeof Map=="function"&&Map.prototype?Map:null,ofe=typeof Set=="function"&&Set.prototype?Set:null,x2;U7||(x2=function(e){return!1});var YB=U7?Map.prototype.has:null,WB=ofe?Set.prototype.has:null;!x2&&!YB&&(x2=function(e){return!1});JB.exports=x2||function(e){if(!e||typeof e!="object")return!1;try{if(YB.call(e),WB)try{WB.call(e)}catch{return!0}return e instanceof U7}catch{}return!1}});var K7=T((S_e,eL)=>{"use strict";f();c();var sfe=typeof Map=="function"&&Map.prototype?Map:null,Q7=typeof Set=="function"&&Set.prototype?Set:null,k2;Q7||(k2=function(e){return!1});var XB=sfe?Map.prototype.has:null,ZB=Q7?Set.prototype.has:null;!k2&&!ZB&&(k2=function(e){return!1});eL.exports=k2||function(e){if(!e||typeof e!="object")return!1;try{if(ZB.call(e),XB)try{XB.call(e)}catch{return!0}return e instanceof Q7}catch{}return!1}});var cL=T((F_e,j2)=>{"use strict";f();c();var tL=sh(),nL=KB();Wf()()||Xl()()?($2=Symbol.iterator,j2.exports=function(e){if(e!=null&&typeof e[$2]<"u")return e[$2]();if(tL(e))return Array.prototype[$2].call(e)}):(iL=q7(),rL=M7(),H7=Fr(),aL=H7("%Map%",!0),oL=H7("%Set%",!0),pr=si(),z7=pr("Array.prototype.push"),W7=pr("String.prototype.charCodeAt"),sL=pr("String.prototype.slice"),uL=function(e,t){var i=e.length;if(t+1>=i)return t+1;var r=W7(e,t);if(r<55296||r>56319)return t+1;var a=W7(e,t+1);return a<56320||a>57343?t+1:t+2},V2=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}}}},Y7=function(e,t){if(iL(e)||tL(e))return V2(e);if(rL(e)){var i=0;return{next:function(){var a=uL(e,i),o=sL(e,i,a);return i=a,{done:a>e.length,value:o}}}}if(t&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()},!aL&&!oL?j2.exports=function(e){if(e!=null)return Y7(e,!0)}:(pL=G7(),dL=K7(),J7=pr("Map.prototype.forEach",!0),X7=pr("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(Z7=pr("Map.prototype.iterator",!0),e5=pr("Set.prototype.iterator",!0)),t5=pr("Map.prototype.@@iterator",!0)||pr("Map.prototype._es6-shim iterator_",!0),n5=pr("Set.prototype.@@iterator",!0)||pr("Set.prototype._es6-shim iterator_",!0),lL=function(e){if(pL(e)){if(Z7)return nL(Z7(e));if(t5)return t5(e);if(J7){var t=[];return J7(e,function(r,a){z7(t,[a,r])}),V2(t)}}if(dL(e)){if(e5)return nL(e5(e));if(n5)return n5(e);if(X7){var i=[];return X7(e,function(r){z7(i,r)}),V2(i)}}},j2.exports=function(e){return lL(e)||Y7(e)}));var $2,iL,rL,H7,aL,oL,pr,z7,W7,sL,uL,V2,Y7,pL,dL,J7,X7,Z7,e5,t5,n5,lL});var i5=T((O_e,hL)=>{"use strict";f();c();var fL=function(n){return n!==n};hL.exports=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||fL(e)&&fL(t))}});var r5=T((R_e,mL)=>{"use strict";f();c();var ufe=i5();mL.exports=function(){return typeof Object.is=="function"?Object.is:ufe}});var vL=T((P_e,yL)=>{"use strict";f();c();var pfe=r5(),dfe=us();yL.exports=function(){var e=pfe();return dfe(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var TL=T(($_e,AL)=>{"use strict";f();c();var lfe=us(),cfe=nu(),ffe=i5(),EL=r5(),hfe=vL(),gL=cfe(EL(),Object);lfe(gL,{getPolyfill:EL,implementation:ffe,shim:hfe});AL.exports=gL});var o5=T((q_e,_L)=>{"use strict";f();c();var mfe=nu(),DL=si(),yfe=Fr(),a5=yfe("%ArrayBuffer%",!0),q2=DL("ArrayBuffer.prototype.byteLength",!0),vfe=DL("Object.prototype.toString"),bL=!!a5&&!q2&&new a5(0).slice,SL=!!bL&&mfe(bL);_L.exports=q2||SL?function(e){if(!e||typeof e!="object")return!1;try{return q2?q2(e):SL(e,0),!0}catch{return!1}}:a5?function(e){return vfe(e)==="[object ArrayBuffer]"}:function(e){return!1}});var CL=T((G_e,FL)=>{"use strict";f();c();var Efe=Date.prototype.getDay,gfe=function(e){try{return Efe.call(e),!0}catch{return!1}},Afe=Object.prototype.toString,Tfe="[object Date]",bfe=fa()();FL.exports=function(e){return typeof e!="object"||e===null?!1:bfe?gfe(e):Afe.call(e)===Tfe}});var RL=T((H_e,wL)=>{"use strict";f();c();var s5=si(),NL=fa()(),OL,IL,u5,p5;NL&&(OL=s5("Object.prototype.hasOwnProperty"),IL=s5("RegExp.prototype.exec"),u5={},M2=function(){throw u5},p5={toString:M2,valueOf:M2},typeof Symbol.toPrimitive=="symbol"&&(p5[Symbol.toPrimitive]=M2));var M2,Sfe=s5("Object.prototype.toString"),Dfe=Object.getOwnPropertyDescriptor,_fe="[object RegExp]";wL.exports=NL?function(e){if(!e||typeof e!="object")return!1;var t=Dfe(e,"lastIndex"),i=t&&OL(t,"value");if(!i)return!1;try{IL(e,p5)}catch(r){return r===u5}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Sfe(e)===_fe}});var PL=T((Y_e,LL)=>{"use strict";f();c();var Ffe=si(),BL=Ffe("SharedArrayBuffer.prototype.byteLength",!0);LL.exports=BL?function(e){if(!e||typeof e!="object")return!1;try{return BL(e),!0}catch{return!1}}:function(e){return!1}});var kL=T((Z_e,xL)=>{"use strict";f();c();var Cfe=Number.prototype.toString,Nfe=function(e){try{return Cfe.call(e),!0}catch{return!1}},Ofe=Object.prototype.toString,Ife="[object Number]",wfe=fa()();xL.exports=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:wfe?Nfe(e):Ofe.call(e)===Ife}});var jL=T((nFe,VL)=>{"use strict";f();c();var $L=si(),Rfe=$L("Boolean.prototype.toString"),Bfe=$L("Object.prototype.toString"),Lfe=function(e){try{return Rfe(e),!0}catch{return!1}},Pfe="[object Boolean]",xfe=fa()();VL.exports=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:xfe&&Symbol.toStringTag in e?Lfe(e):Bfe(e)===Pfe}});var GL=T((aFe,d5)=>{"use strict";f();c();var kfe=Object.prototype.toString,$fe=Wf()();$fe?(qL=Symbol.prototype.toString,ML=/^Symbol\(.*\)$/,UL=function(e){return typeof e.valueOf()!="symbol"?!1:ML.test(qL.call(e))},d5.exports=function(e){if(typeof e=="symbol")return!0;if(kfe.call(e)!=="[object Symbol]")return!1;try{return UL(e)}catch{return!1}}):d5.exports=function(e){return!1};var qL,ML,UL});var HL=T((uFe,KL)=>{"use strict";f();c();var QL=typeof BigInt<"u"&&BigInt;KL.exports=function(){return typeof QL=="function"&&typeof BigInt=="function"&&typeof QL(42)=="bigint"&&typeof BigInt(42)=="bigint"}});var YL=T((lFe,l5)=>{"use strict";f();c();var Vfe=HL()();Vfe?(zL=BigInt.prototype.valueOf,WL=function(e){try{return zL.call(e),!0}catch{}return!1},l5.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:WL(e)}):l5.exports=function(e){return!1};var zL,WL});var XL=T((hFe,JL)=>{"use strict";f();c();var jfe=M7(),qfe=kL(),Mfe=jL(),Ufe=GL(),Gfe=YL();JL.exports=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(jfe(e))return"String";if(qfe(e))return"Number";if(Mfe(e))return"Boolean";if(Ufe(e))return"Symbol";if(Gfe(e))return"BigInt"}});var tP=T((vFe,eP)=>{"use strict";f();c();var U2=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,ZL=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,G2;U2||(G2=function(e){return!1});var f5=U2?U2.prototype.has:null,c5=ZL?ZL.prototype.has:null;!G2&&!f5&&(G2=function(e){return!1});eP.exports=G2||function(e){if(!e||typeof e!="object")return!1;try{if(f5.call(e,f5),c5)try{c5.call(e,c5)}catch{return!0}return e instanceof U2}catch{}return!1}});var iP=T((AFe,m5)=>{"use strict";f();c();var Qfe=Fr(),nP=si(),Kfe=Qfe("%WeakSet%",!0),h5=nP("WeakSet.prototype.has",!0);h5?(Q2=nP("WeakMap.prototype.has",!0),m5.exports=function(e){if(!e||typeof e!="object")return!1;try{if(h5(e,h5),Q2)try{Q2(e,Q2)}catch{return!0}return e instanceof Kfe}catch{}return!1}):m5.exports=function(e){return!1};var Q2});var aP=T((SFe,rP)=>{"use strict";f();c();var Hfe=G7(),zfe=K7(),Wfe=tP(),Yfe=iP();rP.exports=function(e){if(e&&typeof e=="object"){if(Hfe(e))return"Map";if(zfe(e))return"Set";if(Wfe(e))return"WeakMap";if(Yfe(e))return"WeakSet"}return!1}});var uP=T((FFe,sP)=>{"use strict";f();c();var Jfe=si(),oP=Jfe("ArrayBuffer.prototype.byteLength",!0),Xfe=o5();sP.exports=function(e){return Xfe(e)?oP?oP(e):e.byteLength:NaN}});var BP=T((OFe,RP)=>{"use strict";f();c();var OP=rB(),Ia=si(),pP=EB(),Zfe=Fr(),md=cL(),ehe=V7(),dP=TL(),lP=sh(),cP=q7(),fP=o5(),hP=CL(),mP=RL(),yP=PL(),vP=I2(),EP=XL(),gP=aP(),AP=r9(),TP=uP(),bP=Ia("SharedArrayBuffer.prototype.byteLength",!0),SP=Ia("Date.prototype.getTime"),y5=Object.getPrototypeOf,DP=Ia("Object.prototype.toString"),H2=Zfe("%Set%",!0),v5=Ia("Map.prototype.has",!0),z2=Ia("Map.prototype.get",!0),_P=Ia("Map.prototype.size",!0),W2=Ia("Set.prototype.add",!0),IP=Ia("Set.prototype.delete",!0),Y2=Ia("Set.prototype.has",!0),K2=Ia("Set.prototype.size",!0);function FP(n,e,t,i){for(var r=md(n),a;(a=r.next())&&!a.done;)if(qr(e,a.value,t,i))return IP(n,a.value),!0;return!1}function wP(n){if(typeof n>"u")return null;if(typeof n!="object")return typeof n=="symbol"?!1:typeof n=="string"||typeof n=="number"?+n==+n:!0}function the(n,e,t,i,r,a){var o=wP(t);if(o!=null)return o;var s=z2(e,o),u=OP({},r,{strict:!1});return typeof s>"u"&&!v5(e,o)||!qr(i,s,u,a)?!1:!v5(n,o)&&qr(i,s,u,a)}function nhe(n,e,t){var i=wP(t);return i??(Y2(e,i)&&!Y2(n,i))}function CP(n,e,t,i,r,a){for(var o=md(n),s,u;(s=o.next())&&!s.done;)if(u=s.value,qr(t,u,r,a)&&qr(i,z2(e,u),r,a))return IP(n,u),!0;return!1}function qr(n,e,t,i){var r=t||{};if(r.strict?dP(n,e):n===e)return!0;var a=EP(n),o=EP(e);if(a!==o)return!1;if(!n||!e||typeof n!="object"&&typeof e!="object")return r.strict?dP(n,e):n==e;var s=i.has(n),u=i.has(e),p;if(s&&u){if(i.get(n)===i.get(e))return!0}else p={};return s||i.set(n,p),u||i.set(e,p),ahe(n,e,r,i)}function NP(n){return!n||typeof n!="object"||typeof n.length!="number"||typeof n.copy!="function"||typeof n.slice!="function"||n.length>0&&typeof n[0]!="number"?!1:!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))}function ihe(n,e,t,i){if(K2(n)!==K2(e))return!1;for(var r=md(n),a=md(e),o,s,u;(o=r.next())&&!o.done;)if(o.value&&typeof o.value=="object")u||(u=new H2),W2(u,o.value);else if(!Y2(e,o.value)){if(t.strict||!nhe(n,e,o.value))return!1;u||(u=new H2),W2(u,o.value)}if(u){for(;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!FP(u,s.value,t.strict,i))return!1}else if(!t.strict&&!Y2(n,s.value)&&!FP(u,s.value,t.strict,i))return!1;return K2(u)===0}return!0}function rhe(n,e,t,i){if(_P(n)!==_P(e))return!1;for(var r=md(n),a=md(e),o,s,u,p,d,l;(o=r.next())&&!o.done;)if(p=o.value[0],d=o.value[1],p&&typeof p=="object")u||(u=new H2),W2(u,p);else if(l=z2(e,p),typeof l>"u"&&!v5(e,p)||!qr(d,l,t,i)){if(t.strict||!the(n,e,p,d,t,i))return!1;u||(u=new H2),W2(u,p)}if(u){for(;(s=a.next())&&!s.done;)if(p=s.value[0],l=s.value[1],p&&typeof p=="object"){if(!CP(u,n,p,l,t,i))return!1}else if(!t.strict&&(!n.has(p)||!qr(z2(n,p),l,t,i))&&!CP(u,n,p,l,OP({},t,{strict:!1}),i))return!1;return K2(u)===0}return!0}function ahe(n,e,t,i){var r,a;if(typeof n!=typeof e||n==null||e==null||DP(n)!==DP(e)||lP(n)!==lP(e))return!1;var o=cP(n),s=cP(e);if(o!==s)return!1;var u=n instanceof Error,p=e instanceof Error;if(u!==p||(u||p)&&(n.name!==e.name||n.message!==e.message))return!1;var d=mP(n),l=mP(e);if(d!==l||(d||l)&&(n.source!==e.source||pP(n)!==pP(e)))return!1;var m=hP(n),y=hP(e);if(m!==y||(m||y)&&SP(n)!==SP(e)||t.strict&&y5&&y5(n)!==y5(e))return!1;var v=AP(n),g=AP(e);if(v!==g)return!1;if(v||g){if(n.length!==e.length)return!1;for(r=0;r=0;r--)if(K[r]!=Y[r])return!1;for(r=K.length-1;r>=0;r--)if(a=K[r],!qr(n[a],e[a],t,i))return!1;var H=gP(n),P=gP(e);return H!==P?!1:H==="Set"||P==="Set"?ihe(n,e,t,i):H==="Map"?rhe(n,e,t,i):!0}RP.exports=function(e,t,i){return qr(e,t,i,ehe())}});var J2=T(dr=>{"use strict";f();c();var ohe=dr&&dr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(dr,"__esModule",{value:!0});dr.emptyContext=dr.PathContext=dr.extractOperationConditionals=dr.isPathContext=void 0;var E5=qn(),she=ohe(BP());function uhe(n){return n instanceof Ru}dr.isPathContext=uhe;function PP(n){let e=[];return LP(n,"skip",e),LP(n,"include",e),e}dr.extractOperationConditionals=PP;function LP(n,e,t){let i=n.appliedDirectivesOf(e);if(i.length>0){(0,E5.assert)(i.length===1,()=>`${e} shouldn't be repeated on ${n}`);let r=i[0].arguments().if;(0,E5.assert)(typeof r=="boolean"||(0,E5.isVariable)(r),()=>`Invalid value ${r} found as condition of @${e}`),t.push({kind:e,value:r})}}var Ru=class{constructor(e){this.conditionals=e}isEmpty(){return this.conditionals.length===0}withContextOf(e){if(e.appliedDirectives.length===0)return this;let t=PP(e);return t.length===0?this:new Ru(t.concat(this.conditionals))}equals(e){return(0,she.default)(this.conditionals,e.conditionals)}toString(){return"["+this.conditionals.map(({kind:e,value:t})=>`@${e}(if: ${t})`).join(", ")+"]"}};dr.PathContext=Ru;dr.emptyContext=new Ru([])});var T5=T(cs=>{"use strict";f();c();Object.defineProperty(cs,"__esModule",{value:!0});cs.traversePathTree=cs.isRootPathTree=cs.PathTree=void 0;var Gn=qn(),phe=ss(),g5=J2();function xP(n,e){return n===e?!0:(0,g5.isPathContext)(n)?(0,g5.isPathContext)(e)&&n.equals(e):(0,g5.isPathContext)(e)?!1:n.equals(e)}function dhe(n,e,t){for(let i=0;i0,"Should compute on empty paths"),this.createFromPaths(e,xP,t,i.map(({path:r,selection:a})=>({path:r[Symbol.iterator](),selection:a})))}static createFromPaths(e,t,i,r){let a=e.outEdgesCount(i),o=new Array(a+1),s=new Array(a),u=new Array(a+1),p=0,d=0,l;for(let v of r){let g=v.path.next();if(g.done){v.selection&&(l=l?l.concat(v.selection):[v.selection]);continue}let[b,D,R,N,L]=g.value,k=b?b.index:a;b&&(s[k]=b.tail);let K=o[k];if(K){let Y=dhe(t,K,D);if(Y<0)K.push([D,R,[v],N,L]),d++;else{let H=K[Y],P=H[1],G=P?R?P.mergeIfNotEqual(R):P:R,fe=H[2],Oe=(0,Gn.composeSets)(H[3],N),Me=(0,Gn.mergeMapOrNull)(H[4],L);fe.push(v),K[Y]=[D,G,fe,Oe,Me]}}else u[p++]=k,o[k]=[[D,R,[v],N,L]],d++}let m=new Array(d),y=0;for(let v=0;v`Expected to have ${d} childs but only ${y} added`),new ao(e,i,l,t,m)}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),i=new Array(e.childs.length),r=0;for(let p=0;p`Expected ${o} childs but only got ${u}`),new ao(this.graph,this.vertex,t,this.triggerEquality,s)}equalsSameRoot(e){return this===e?!0:(0,Gn.arrayEquals)(this.childs,e.childs,(t,i)=>t.index===i.index&&t.trigger===i.trigger&&(t.conditions?i.conditions?t.conditions.equalsSameRoot(i.conditions):!1:!i.conditions)&&t.tree.equalsSameRoot(i.tree)&&(0,Gn.setsEqual)(t.contextToSelection,i.contextToSelection)&&ao.parameterToContextEquals(t.parameterToContext,i.parameterToContext))}static parameterToContextEquals(e,t){var i,r;if(e===t)return!0;let a=Array.from((i=e?.keys())!==null&&i!==void 0?i:[]),o=Array.from((r=t?.keys())!==null&&r!==void 0?r:[]);if(a.length!==o.length)return!1;for(let s of a){let u=e.get(s),p=t.get(s);if((0,Gn.assert)(u,()=>`Expected to have a selection for key ${s}`),!p||u.contextId!==p.contextId||!(0,Gn.arrayEquals)(u.relativePath,p.relativePath)||!u.selectionSet.equals(p.selectionSet)||u.subgraphArgType!==p.subgraphArgType)return!1}return!0}concat(e){if((0,Gn.assert)(e.graph===this.graph,"Cannot concat path tree build on another graph"),(0,Gn.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),i=this.childs.concat(e.childs);return new ao(this.graph,this.vertex,t,this.triggerEquality,i)}findIndex(e,t){for(let i=0;it.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(i=>e+` -> [${i.index}] `+(t&&i.conditions?`!! { ${e+" "}${i.conditions.toString(e+" ",!0)} ${e} } `:"")+`${i.trigger} = `+i.tree.toStringInternal(e+" ",t)).join(` `)}};cs.PathTree=ao;function lhe(n){return(0,phe.isRootVertex)(n.vertex)}cs.isRootPathTree=lhe;function A5(n,e){for(let[t,i,r,a]of n.childElements())t&&e(t),r&&A5(r,e),A5(a,e)}cs.traversePathTree=A5});var _1=T(ge=>{"use strict";f();c();Object.defineProperty(ge,"__esModule",{value:!0});ge.createInitialOptions=ge.advanceSimultaneousPathsWithOperation=ge.advanceOptionsToString=ge.simultaneousPathsToString=ge.SimultaneousPathsWithLazyIndirectPaths=ge.getLocallySatisfiableKey=ge.addConditionExclusion=ge.sameExcludedDestinations=ge.advancePathWithTransition=ge.TransitionPathWithLazyIndirectPaths=ge.isUnadvanceableClosures=ge.UnadvanceableClosures=ge.Unadvanceables=ge.UnadvanceableReason=ge.unsatisfiedConditionsResolution=ge.noConditionsResolution=ge.UnsatisfiedConditionReason=ge.traversePath=ge.terminateWithNonRequestedTypenameField=ge.isRootPath=ge.GraphPath=void 0;var M=qn(),che=T5(),Mr=ss(),fhe=S2(),S1=J2(),hhe=H9(),z=(0,M.newDebugLogger)("path");function b1(n,e){var t;if(!e)return n;switch(e.transition.kind){case"FieldCollection":let i=e.transition.definition;if(!(0,M.isCompositeType)((0,M.baseType)(i.type)))return[];let r=[];for(let u of n){let p=(t=u.field(i.name))===null||t===void 0?void 0:t.type;if(p)for(let d of(0,M.possibleRuntimeTypes)((0,M.baseType)(p)))r.includes(d)||r.push(d)}return r;case"DownCast":let a=e.transition.castedType,o=(0,M.possibleRuntimeTypes)(a);return n.filter(u=>o.includes(u));case"InterfaceObjectFakeDownCast":return n;case"KeyResolution":let s=e.tail.type;return(0,M.possibleRuntimeTypes)(s);case"RootTypeResolution":case"SubgraphEnteringTransition":return(0,M.assert)((0,M.isObjectType)(e.tail.type),()=>`Query edge should be between object type but got ${e}`),[e.tail.type]}}function yd(n,e){(0,M.assert)(n.length>0,"Should not have been called on empty array");let t=new Array(n.length);for(let i=0;i`Expected both path to start on the same root, but 'this' has root ${t} while 'that' has ${e.root}`);let i=Math.min(this.size,e.size),r=0;for(;r=e.size)return{done:!0,value:void 0};let t=this.currentIndex++,i=e.edgeAt(t,this.currentVertex);return i&&(this.currentVertex=i.tail),{done:!1,value:[i,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,i,r){var a,o,s;(0,M.assert)(!t||this.tail.index===t.head.index,()=>`Cannot add edge ${t} to path ending at ${this.tail}`),(0,M.assert)(i.satisfied,"Should add to a path if the conditions cannot be satisfied"),(0,M.assert)(!t||t.conditions||t.requiredContexts.length>0||!i.pathTree,()=>`Shouldn't have conditions paths (got ${i.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 v=this.lastTrigger();if(v instanceof M.FragmentElement&&v.appliedDirectives.length===0){let g=b1(this.props.runtimeTypesBeforeTailIfLastIsCast,t);if(g.length>0&&g.every(b=>this.props.runtimeTypesOfTail.includes(b))){let b=this.graph.outEdges(this.props.edgeToTail.head).find(D=>D.tail.type===t.tail.type);if(b)return z.log(()=>`Previous cast ${v} is made obsolete by new cast ${e}, removing from path.`),new lr({...this.props,tail:b.tail,edgeTriggers:yd(this.props.edgeTriggers,e),edgeIndexes:yd(this.props.edgeIndexes,b.index),edgeConditions:yd(this.props.edgeConditions,(a=i.pathTree)!==null&&a!==void 0?a:null),edgeToTail:b,runtimeTypesOfTail:g,deferOnTail:r??this.props.deferOnTail})}}}if(!r&&t.changesSubgraph()&&(u={index:this.size,edge:t,cost:i.cost}),t.transition.kind==="KeyResolution"&&this.lastIsInterfaceObjectFakeDownCast()&&(0,M.isInterfaceType)(t.tail.type))return new lr({...this.props,tail:t.tail,edgeTriggers:yd(this.props.edgeTriggers,e),edgeIndexes:yd(this.props.edgeIndexes,t.index),edgeConditions:yd(this.props.edgeConditions,(o=i.pathTree)!==null&&o!==void 0?o:null),subgraphEnteringEdge:u,edgeToTail:t,runtimeTypesOfTail:b1(this.props.runtimeTypesOfTail,t),runtimeTypesBeforeTailIfLastIsCast:void 0,deferOnTail:r})}let{edgeConditions:p,contextToSelection:d,parameterToContext:l}=this.mergeEdgeConditionsWithResolution(i),m=l[l.length-1],y=e;if(m!==null&&e.kind==="Field"){let v=Array.from(m).reduce((g,[b,D])=>(g[b]=new M.Variable(D.contextId),g),{});y=e.withUpdatedArguments(v)}return new lr({...this.props,tail:t?t.tail:this.tail,edgeTriggers:this.props.edgeTriggers.concat(y),edgeIndexes:this.props.edgeIndexes.concat(t?t.index:null),edgeConditions:p,subgraphEnteringEdge:u,edgeToTail:t,runtimeTypesOfTail:b1(this.props.runtimeTypesOfTail,t),runtimeTypesBeforeTailIfLastIsCast:((s=t?.transition)===null||s===void 0?void 0:s.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,i,r,a,o;let s=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:s,contextToSelection:u,parameterToContext:p};p[p.length-1]=new Map;for(let[d,l]of e.contextMap){let m=s.length-l.levelsInQueryPath-1;(0,M.assert)(m>=0,"calculated condition index must be positive"),l.pathTree&&(s[m]=(r=(i=s[m])===null||i===void 0?void 0:i.merge(l.pathTree))!==null&&r!==void 0?r:l.pathTree),u[m]===null&&(u[m]=new Set),(a=u[m])===null||a===void 0||a.add(l.id),(o=p[p.length-1])===null||o===void 0||o.set(l.paramName,{contextId:l.id,relativePath:Array(l.levelsInDataPath).fill(".."),selectionSet:l.selectionSet,subgraphArgType:l.argType})}return{edgeConditions:s,contextToSelection:u,parameterToContext:p}}concat(e){var t,i;if((0,M.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[o]of e)r=a,a=b1(a,o);return new lr({...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:((i=(t=e.props.edgeToTail)===null||t===void 0?void 0:t.transition)===null||i===void 0?void 0:i.kind)==="DownCast"?r:void 0,deferOnTail:e.deferOnTail})}checkDirectPathFromPreviousSubgraphTo(e,t,i,r){let a=this.subgraphEnteringEdge;if(!a||this.graph.subgraphToArgs.size>0||a.edge.transition.kind==="SubgraphEnteringTransition"&&!r)return;let o=r??a.edge.head;for(let s=a.index+1;se!==null)}isOnTopLevelQueryRoot(){if(!(0,Mr.isRootVertex)(this.root))return!1;let e=this.root;for(let t=0;ti.map(r=>new lr({...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,M.isObjectType)(this.tail.type))return!1;let t=this.graph.sources.get(this.tail.source),i=(0,M.federationMetadata)(t);return(e=i?.isInterfaceObjectType(this.tail.type))!==null&&e!==void 0?e:!1}toString(){let e=(0,Mr.isRootVertex)(this.root);if(e&&this.size===0)return"_";let t=this.mapMainPath((a,o)=>{if(a){if(e&&o==0)return a.tail.toString();let s=a.label();return` -${s===""?"":"-["+s+"]-"}-> ${a.tail}`}return` (${this.props.edgeTriggers[o]}) `}).join(""),i=this.deferOnTail?` `:"",r=this.props.runtimeTypesOfTail.length>0?` (types: [${this.props.runtimeTypesOfTail.join(", ")}])`:"";return`${e?"":this.root}${t}${i}${r}`}};ge.GraphPath=lr;function mhe(n){return(0,Mr.isRootVertex)(n.root)}ge.isRootPath=mhe;function yhe(n,e){if(n=n.truncateTrailingDowncasts(),!(0,M.isCompositeType)(n.tail.type))return n;let t=new M.Field(n.tail.type.typenameField()),i=N5(n.graph,n.tail,t,e);return(0,M.assert)(i,()=>`We should have an edge from ${n.tail} for ${t}`),n.add(t,i,ge.noConditionsResolution)}ge.terminateWithNonRequestedTypenameField=yhe;function vhe(n,e){for(let[t,i,r]of n)r&&(0,che.traversePathTree)(r,e),e(t)}ge.traversePath=vhe;var fs;(function(n){n[n.NO_POST_REQUIRE_KEY=0]="NO_POST_REQUIRE_KEY",n[n.NO_CONTEXT_SET=1]="NO_CONTEXT_SET"})(fs||(ge.UnsatisfiedConditionReason=fs={}));ge.noConditionsResolution={satisfied:!0,cost:0};ge.unsatisfiedConditionsResolution={satisfied:!1,cost:-1};var cr;(function(n){n[n.UNSATISFIABLE_KEY_CONDITION=0]="UNSATISFIABLE_KEY_CONDITION",n[n.UNSATISFIABLE_REQUIRES_CONDITION=1]="UNSATISFIABLE_REQUIRES_CONDITION",n[n.UNRESOLVABLE_INTERFACE_OBJECT=2]="UNRESOLVABLE_INTERFACE_OBJECT",n[n.NO_MATCHING_TRANSITION=3]="NO_MATCHING_TRANSITION",n[n.UNREACHABLE_TYPE=4]="UNREACHABLE_TYPE",n[n.IGNORED_INDIRECT_PATH=5]="IGNORED_INDIRECT_PATH",n[n.UNSATISFIABLE_OVERRIDE_CONDITION=6]="UNSATISFIABLE_OVERRIDE_CONDITION"})(cr||(ge.UnadvanceableReason=cr={}));var Z2=class{constructor(e){this.reasons=e}toString(){return"["+this.reasons.map(e=>`[${e.reason}](${e.sourceSubgraph}->${e.destSubgraph}) ${e.details}`).join(", ")+"]"}};ge.Unadvanceables=Z2;var wa=class{constructor(e){Array.isArray(e)?this.closures=e:this.closures=[e]}toUnadvanceables(){return this._unadvanceables||(this._unadvanceables=new Z2(this.closures.map(e=>e()).flat())),this._unadvanceables}};ge.UnadvanceableClosures=wa;function e6(n){return n instanceof wa}ge.isUnadvanceableClosures=e6;function Ehe(n,e,t,i){for(let r of n.outEdges(e))if(r.matchesSupergraphTransition(t)&&r.satisfiesOverrideConditions(i))return r}var Ed=class{constructor(e,t,i){this.path=e,this.conditionResolver=t,this.overrideConditions=i}static initial(e,t,i){return new Ed(e,t,i)}indirectOptions(){return this.lazilyComputedIndirectPaths||(this.lazilyComputedIndirectPaths=this.computeIndirectPaths()),this.lazilyComputedIndirectPaths}computeIndirectPaths(){return $P(this.path,S1.emptyContext,this.conditionResolver,[],[],e=>e,Ehe,this.overrideConditions,qP)}toString(){return this.path.toString()}};ge.TransitionPathWithLazyIndirectPaths=Ed;function ghe(n,e,t,i){if(e.kind==="DownCast"&&!((0,M.isInterfaceType)(e.sourceType)&&(0,M.isObjectType)(n.path.tail.type))){let p=(0,M.possibleRuntimeTypes)(t),d=n.path.tailPossibleRuntimeTypes();if(p.filter(m=>d.some(y=>m.name===y.name)).map(m=>m.name).length===0)return z.log(()=>`No intersection between casted type ${t} and the possible types in this subgraph`),[]}z.group(()=>`Trying to advance ${n} for ${e}`),z.group("Direct options:");let r=_5(n.path,e,n.conditionResolver,i),a,o=[];if(e6(r))a=[],z.groupEnd(()=>"No direct options"),o.push(...r.closures);else{if(z.groupEnd(()=>Ii(r)),r.length>0&&(0,M.isLeafType)(t))return z.groupEnd(()=>`reached leaf type ${t} so not trying indirect paths`),kP(r,n,i);a=r}z.group("Computing indirect paths:");let s=n.indirectOptions();if(s.paths.length>0){z.groupEnd(()=>`${s.paths.length} indirect paths: ${s.paths}`),z.group("Validating indirect options:");for(let p of s.paths){z.group(()=>`For indirect path ${p}:`);let d=_5(p,e,n.conditionResolver,i);e6(d)?(z.groupEnd(()=>`Cannot be advanced with ${e}`),o.push(...d.closures)):(z.groupEnd(()=>`Adding valid option: ${d}`),a=a.concat(d))}z.groupEnd()}else z.groupEnd("no indirect paths");if(z.groupEnd(()=>a.length>0?Ii(a):`Cannot advance ${e} for this path`),a.length>0)return kP(a,n,i);let u=s.deadEnds.closures;return new wa(()=>{let p=new wa(o.concat(u)).toUnadvanceables().reasons;if(e.kind==="FieldCollection"){let d=e.definition.parent.name,l=e.definition.name,m=new Set(p.map(y=>y.destSubgraph));for(let[y,v]of n.path.graph.sources.entries()){if(m.has(y))continue;let g=v.type(d);if(g&&(0,M.isCompositeType)(g)&&g.field(l)){let b=n.path.tail.type.name,D=v.type(b);if(!D)p.push({sourceSubgraph:n.path.tail.source,destSubgraph:y,reason:cr.UNREACHABLE_TYPE,details:`cannot move to subgraph "${y}", which has field "${e.definition.coordinate}", because interface "${b}" is not defined in this subgraph (to jump to "${y}", it would need to both define interface "${b}" and have a @key on it)`});else{(0,M.assert)((0,M.isCompositeType)(D),()=>`Type ${D} in ${y} should be composite`);let R=(0,M.federationMetadata)(v),N=R?D.appliedDirectivesOf(R.keyDirective()):[],L=N.length>0&&N.every(Y=>{var H;return!(!((H=Y.arguments().resolvable)!==null&&H!==void 0)||H)});(0,M.assert)(N.length===0||L,()=>`After ${n} and for transition ${e}, expected type ${g} in ${y} to have no resolvable keys`);let k=D===g?"type":"interface",K=N.length===0?`${k} "${b}" has no @key defined in subgraph "${y}"`:`none of the @key defined on ${k} "${b}" in subgraph "${y}" are resolvable (they are all declared with their "resolvable" argument set to false)`;p.push({sourceSubgraph:n.path.tail.source,destSubgraph:y,reason:cr.UNREACHABLE_TYPE,details:`cannot move to subgraph "${y}", which has field "${e.definition.coordinate}", because ${K}`})}}}}return p})}ge.advancePathWithTransition=ghe;function kP(n,e,t){return n.map(i=>new Ed(i,e.conditionResolver,t))}function Ahe(n,e){return e.includes(n)}function The(n,e){return n===e?!0:n.length!==e.length?!1:n.every(t=>e.includes(t))}ge.sameExcludedDestinations=The;function bhe(n,e){return n.includes(e)?n:n.concat(e)}function She(n,e){return n?e.find(t=>n.equals(t))!==void 0:!1}function Dhe(n,e){return e?n.concat(e):n}ge.addConditionExclusion=Dhe;function _he(n){let e=0,t=n[0].size;for(let r=1;r{let g=new Set(n.nextEdges().filter(b=>!b.transition.collectOperationElements&&b.tail.source!==n.tail.source).map(b=>b.tail.source));return Array.from(g).map(b=>({sourceSubgraph:n.tail.source,destSubgraph:b,reason:cr.IGNORED_INDIRECT_PATH,details:`ignoring moving from "${n.tail.source}" to "${b}" as a more direct option exists`}))})};let p=n.isOnTopLevelQueryRoot(),d=(0,Mr.isFederatedGraphRootType)(n.tail.type)?void 0:n.tail.type.name,l=n.tail.source,m=new Map,y=[],v=[n];for(;v.length>0;){let g=_he(v),b=g.nextEdges().filter(D=>!D.transition.collectOperationElements);if(b.length===0){let D=g.graph.outEdges(g.tail).filter(R=>!R.transition.collectOperationElements);D.length>0?(z.log(()=>`Nothing to try for ${g}: it only has "trivial" non-collecting outbound edges`),y.push(()=>{var R;let N=[];for(let L of D)L.tail.source!==g.tail.source&&L.tail.source!==l&&N.push({sourceSubgraph:g.tail.source,destSubgraph:L.tail.source,reason:cr.IGNORED_INDIRECT_PATH,details:`ignoring moving to subgraph "${L.tail.source}" using @key(fields: "${(R=L.conditions)===null||R===void 0?void 0:R.toString(!0,!1)}") of "${L.head.type}" because there is a more direct path in ${L.tail.source} that avoids ${g.tail.source} altogether`});return N})):z.log(()=>`Nothing to try for ${g}: it has no non-collecting outbound edges`);continue}z.group(()=>`From ${g}:`);for(let D of b){z.group(()=>`Testing edge ${D}`);let R=D.tail;if(Ahe(R.source,i)){z.groupEnd("Ignored: edge is excluded");continue}if(R.source===l&&!g.deferOnTail){z.groupEnd("Ignored: edge get us back to our original source");continue}if(p&&D.transition.kind==="RootTypeResolution"&&!(g.deferOnTail&&D.isKeyOrRootTypeEdgeToSelf())){z.groupEnd('Ignored: edge is a top-level "RootTypeResolution"');continue}let N=m.get(R.source);if(N===null){z.groupEnd(()=>`Ignored: we've shown before than going to ${R.source} is not productive`);continue}if(N&&(N[0].size"Ignored: a better (shorter) path to the same subgraph already added");continue}if(She(D.conditions,r)){z.groupEnd("Ignored: edge condition is excluded");continue}z.group(()=>`Validating conditions ${D.conditions}`);let L=t6(g,D,t,e,bhe(i,R.source),r,u);if(L.satisfied){if(z.groupEnd("Condition satisfied"),N&&N[0].size===g.size+1&&N[1]<=L.cost){z.groupEnd("Ignored: a better (less costly) path to the same subgraph already added");continue}let k=g.subgraphEnteringEdge;if(k&&k.edge.tail.type.name!==d){let Y,H;k.edge.transition.kind==="SubgraphEnteringTransition"?((0,M.assert)(g.root instanceof Mr.RootVertex,()=>`${g} should be a root path if it starts with subgraph entering edge ${k.edge}`),Y=Fhe(g.graph,D.tail.source,g.root.rootKind),H=!0):H=k.edge.head.source===D.tail.source;let P=g.checkDirectPathFromPreviousSubgraphTo(D.tail.type.name,o,s,Y),G=g.subgraphEnteringEdge.cost+(H?0:L.cost);if(P&&(H||Nhe(g.graph,P,D.tail.source,t,G))){z.groupEnd(()=>`Ignored: edge correspond to a detour by subgraph ${D.head.source} from subgraph ${k.edge.head.source}: we have a direct path from ${k.edge.head.type} to ${D.tail.type} in ${k.edge.head.source}`+(H?".":` and can move to ${D.tail.source} from there`)),m.set(D.tail.source,null),y.push(()=>{var fe;return{sourceSubgraph:g.tail.source,destSubgraph:D.tail.source,reason:cr.IGNORED_INDIRECT_PATH,details:`ignoring moving to subgraph "${D.tail.source}" using @key(fields: "${(fe=D.conditions)===null||fe===void 0?void 0:fe.toString(!0,!1)}") of "${D.head.type}" because there is a more direct path in ${D.tail.source} that avoids ${g.tail.source} altogether`}});continue}}let K=g.add(a(D.transition,e),D,L);z.log(()=>`Using edge, advance path: ${K}`),m.set(R.source,[K,L.cost]),D.transition.kind==="KeyResolution"&&D.head.source!==D.tail.source&&v.push(K)}else z.groupEnd("Condition unsatisfiable"),y.push(()=>{var k;let K=g.tail.source,Y=D.tail.source,P=Che(n.graph.sources.get(g.tail.source),D.conditions)?` (note that some of those key fields are overridden in "${K}")`:"";return{sourceSubgraph:K,destSubgraph:Y,reason:cr.UNSATISFIABLE_KEY_CONDITION,details:`cannot move to subgraph "${Y}" using @key(fields: "${(k=D.conditions)===null||k===void 0?void 0:k.toString(!0,!1)}") of "${D.head.type}", the key field(s) cannot be resolved from subgraph "${K}"${P}`}});z.groupEnd()}z.groupEnd()}return{paths:(0,M.mapValues)(m).filter(g=>g!==null).map(g=>g[0]),deadEnds:new wa(y)}}function Fhe(n,e,t){let i=n.root(t);(0,M.assert)(i,()=>`Should not have ask for ${t} as the graph does not have one`);let r=n.outEdges(i).find(a=>a.tail.source===e);return r?.tail}function Che(n,e){let t=(0,M.federationMetadata)(n).externalDirective();return(0,M.allFieldDefinitionsInSelectionSet)(e).some(i=>{var r,a;let o=n.type(i.parent.name),s=o&&(0,M.isObjectType)(o)&&o.field(i.name);return s&&((a=(r=s.appliedDirectivesOf(t))===null||r===void 0?void 0:r.pop())===null||a===void 0?void 0:a.arguments().reason)==="[overridden]"})}function Nhe(n,e,t,i,r){for(let a of n.outEdges(e)){if(a.transition.kind!=="KeyResolution"||a.tail.source!==t)continue;let o=i(a,S1.emptyContext,[],[]);if(o.satisfied&&o.cost<=r)return!0}return!1}function _5(n,e,t,i){if((0,M.assert)(e.collectOperationElements,"Supergraphs shouldn't have transitions that don't collect elements"),e.kind==="FieldCollection"&&e.definition.parent.name!==n.tail.type.name&&(0,M.isCompositeType)(n.tail.type)&&!n.tailIsInterfaceObject()){let o=_5(n,new fhe.DownCast(n.tail.type,e.definition.parent),t,i);(0,M.assert)(!e6(o),()=>`Advancing ${n} for ${e} gave ${o}`),(0,M.assert)(o.length===1,()=>`Expect one path, got ${o.length}`),n=o[0]}let r=[],a=[];for(let o of n.nextEdges()){if(!o.matchesSupergraphTransition(e))continue;if(o.overrideCondition&&!o.satisfiesOverrideConditions(i)){a.push(()=>({destSubgraph:o.tail.source,sourceSubgraph:o.head.source,reason:cr.UNSATISFIABLE_OVERRIDE_CONDITION,details:`Unable to take edge ${o.toString()} because override condition "${o.overrideCondition.label}" is ${i.get(o.overrideCondition.label)}`}));continue}let s=t6(n,o,t,S1.emptyContext,[],[],qP);s.satisfied?r.push(n.add(e,o,s)):a.push(()=>{switch(o.transition.kind){case"FieldCollection":{let u=o.transition.definition,p=n.graph.sources.get(o.head.source).type(u.parent.name),d=s.unsatisfiedConditionReason===fs.NO_POST_REQUIRE_KEY?`@require condition on field "${u.coordinate}" can be satisfied but missing usable key on "${p}" in subgraph "${o.head.source}" to resume query`:s.unsatisfiedConditionReason===fs.NO_CONTEXT_SET?`could not find a match for required context for field "${u.coordinate}"`:`cannot satisfy @require conditions on field "${u.coordinate}"${Ihe(p)}`;return{sourceSubgraph:o.head.source,destSubgraph:o.head.source,reason:cr.UNSATISFIABLE_REQUIRES_CONDITION,details:d}}case"InterfaceObjectFakeDownCast":{let u=s.unsatisfiedConditionReason===fs.NO_POST_REQUIRE_KEY?`@interfaceObject type "${o.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 "${o.transition.sourceType.coordinate}"`;return{sourceSubgraph:o.head.source,destSubgraph:o.head.source,reason:cr.UNRESOLVABLE_INTERFACE_OBJECT,details:u}}default:(0,M.assert)(!1,()=>`Shouldn't have conditions on direct transition ${e}`)}})}return r.length>0?r:new wa(()=>{let o=new wa(a).toUnadvanceables().reasons;if(o.length>0)return o;{let s,u=n.tail.source;if(e.kind==="FieldCollection"){let p=n.graph.sources.get(u),d=e.definition.parent.name,l=p.type(d);if(!l&&n.tail.type.name!==d)s=`cannot find implementation type "${d}" (supergraph interface "${n.tail.type.name}" is declared with @interfaceObject in "${u}")`;else{let m=l&&(0,M.isCompositeType)(l)?l.field(e.definition.name):void 0;if(m){let y=m.appliedDirectivesOf((0,M.federationMetadata)(m.schema()).externalDirective()).pop();(0,M.assert)(y,()=>`${m.coordinate} in ${u} is not external but there is no corresponding edge (edges from ${n} = [${n.nextEdges().join(", ")}])`);let v=y.arguments().reason==="[overridden]"?Ohe(m,u,n.graph.sources):[];v.length>0?s=`field "${e.definition.coordinate}" is not resolvable because it is overridden by ${(0,M.printSubgraphNames)(v)}`:s=`field "${e.definition.coordinate}" is not resolvable because marked @external`}else s=`cannot find field "${e.definition.coordinate}"`}}else(0,M.assert)(e.kind==="DownCast",()=>`Unhandled direct transition ${e} of kind ${e.kind}`),s=`cannot find type "${e.castedType}"`;return{sourceSubgraph:u,destSubgraph:u,reason:cr.NO_MATCHING_TRANSITION,details:s}}})}function Ohe(n,e,t){return[...t.entries()].map(([i,r])=>{var a,o,s;if(i===Mr.FEDERATED_GRAPH_ROOT_SOURCE||i===e)return;let u=(0,M.federationMetadata)(r),p=r.type(n.parent.name);if(!p||!(0,M.isObjectType)(p))return;let d=p.field(n.name);return((s=(o=(a=d?.appliedDirectivesOf(u.overrideDirective()))===null||a===void 0?void 0:a.pop())===null||o===void 0?void 0:o.arguments())===null||s===void 0?void 0:s.from)===e?i:void 0}).filter(i=>!!i)}function Ihe(n){let e=(0,M.federationMetadata)(n.schema());(0,M.assert)(e,"Type should originate from a federation subgraph schema");let t=e.keyDirective(),i=n.appliedDirectivesOf(t);if(i.length===0)return"";let r=[];for(let s of i){let u=(0,M.parseFieldSetArgument)({parentType:n,directive:s});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(s=>`"${s}"`).join(", ");return` (please ensure that this is not due to key ${r.length===1?"field":"fields"} ${a} being accidentally marked @external)`}function F5(n,e){let t=e.type,i=n.sources.get(e.source),r=i?(0,M.federationMetadata)(i):void 0;(0,M.assert)(r,()=>`Could not find federation metadata for source ${e.source}`);let a=r.keyDirective();for(let o of t.appliedDirectivesOf(a)){let s=(0,M.parseFieldSetArgument)({parentType:t,directive:o});if(!r.selectionSelectsAnyExternalField(s))return s}}ge.getLocallySatisfiableKey=F5;function t6(n,e,t,i,r,a,o){let{conditions:s,requiredContexts:u}=e;if(!s&&u.length===0)return ge.noConditionsResolution;let p=0,d=new Map;if(u.length>0){let v=!1;for(let b of u){let D=0,R=0;for(let[N,L]of[...n].reverse()){let k=o(L);if(D+=1,k&&(R+=1),N!==null&&!d.has(b.namedParameter)&&!v){let K=Array.from(b.typesWithContextSet).some(Y=>{if(k){let H=n.graph.schema.type(k.name);if(H.name===Y||((0,M.isObjectType)(H)||(0,M.isInterfaceType)(H))&&H.interfaces().some(G=>G.name===Y))return!0;let P=H.schema().type(Y);if(P&&(0,M.isUnionType)(P))return P.types().some(G=>G.name===k.name)}return!1});if(k&&K){let Y=n.graph.schema.type(k.name);(0,M.assert)((0,M.isCompositeType)(Y),"Parent type should be composite type");let H=(0,M.parseSelectionSet)({parentType:Y,source:b.selection});H=H.lazyMap(Oe=>{if(!(Oe.kind==="FragmentSelection"&&Oe.element.typeCondition&&(0,M.isObjectType)(Oe.element.typeCondition)&&!(0,M.possibleRuntimeTypes)(Y).includes(Oe.element.typeCondition)))return Oe});let P=t(N,i,r,a,H);(0,M.assert)(e.transition.kind==="FieldCollection",()=>`Expected edge to be a FieldCollection edge, got ${e.transition.kind}`);let G=n.graph.subgraphToArgIndices.get(b.subgraphName);(0,M.assert)(G,()=>`Expected to find arg indices for subgraph ${b.subgraphName}`);let fe=G.get(b.coordinate);(0,M.assert)(fe!==void 0,()=>`Expected to find arg index for ${b.coordinate}`),d.set(b.namedParameter,{selectionSet:H,levelsInDataPath:R,levelsInQueryPath:D,inboundEdge:N,pathTree:P.pathTree,paramName:b.namedParameter,id:fe,argType:b.argType}),v=v||!P.satisfied,P.cost===-1||p===-1?p=-1:p+=P.cost}}}}if(u.some(b=>!d.has(b.namedParameter)))return z.groupEnd("@fromContext requires a context that is not set in graph path"),{...ge.unsatisfiedConditionsResolution,unsatisfiedConditionReason:fs.NO_CONTEXT_SET};if(v)return z.groupEnd("@fromContext selection set is unsatisfied"),{...ge.unsatisfiedConditionsResolution};if(z.log("@fromContext conditions are satisfied, but validating post-context key."),!F5(n.graph,e.head))return z.groupEnd("Post-context conditions cannot be satisfied"),{...ge.unsatisfiedConditionsResolution,unsatisfiedConditionReason:fs.NO_POST_REQUIRE_KEY};if(!s)return{contextMap:d,cost:p,satisfied:!0}}z.group(()=>`Checking conditions ${s} on edge ${e}`);let l=t(e,i,r,a);if(!l.satisfied)return z.groupEnd("Conditions are not satisfied"),ge.unsatisfiedConditionsResolution;let m=l.pathTree,y=n.lastEdge();return e.transition.kind==="FieldCollection"&&y!==null&&y?.transition.kind!=="KeyResolution"&&(!m||m.isAllInSameSubgraph())&&(z.log("@requires conditions are satisfied, but validating post-require key."),!F5(n.graph,e.head))?(z.groupEnd("Post-require conditions cannot be satisfied"),{...ge.unsatisfiedConditionsResolution,unsatisfiedConditionReason:fs.NO_POST_REQUIRE_KEY}):(z.groupEnd("Conditions satisfied"),{...l,contextMap:d,cost:p+l.cost})}function whe(n){return n.kind==="Field"&&(0,M.isLeafType)((0,M.baseType)(n.definition.type))}var Bu=class{constructor(e,t,i,r=[],a=[],o){this.paths=e,this.context=t,this.conditionResolver=i,this.excludedNonCollectingEdges=r,this.excludedConditionsOnNonCollectingEdges=a,this.overrideConditions=o,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 $P(this.paths[e],this.context,this.conditionResolver,this.excludedNonCollectingEdges,this.excludedConditionsOnNonCollectingEdges,(t,i)=>i,Lhe,this.overrideConditions,O5)}toString(){return D1(this.paths)}};ge.SimultaneousPathsWithLazyIndirectPaths=Bu;function D1(n,e=""){let t=Array.isArray(n)?n:n.paths;return t.length===0?"":t.length===1?t[0].toString():`{ ${e} `+t.join(` ${e} `)+` ${e}}`}ge.simultaneousPathsToString=D1;function Ii(n){return n?n.length===0?"":n.length===1?"["+n[0]+"]":`[ `+n.map(e=>Array.isArray(e)?D1(e," "):e.toString()).join(` `)+` ]`:""}ge.advanceOptionsToString=Ii;function Rhe(n,e){if(!e.isLeafField())return n;let t=n.paths.filter(i=>{let r=i.lastEdge();if(!r||r.transition.kind!=="KeyResolution")return!0;let a=r.conditions;return!(a&&a.containsTopLevelField(e))});return t.length===n.paths.length?n:{...n,paths:t}}function X2(n,e,t,i){z.group(()=>`Trying to advance ${D1(e)} for ${t}`);let r=e.context.withContextOf(t),a=[];for(let[s,u]of e.paths.entries()){let p;z.group(()=>`Computing options for ${u}`);let d=u.deferOnTail&&t.kind==="Field";if(!d){z.group(()=>"Direct options");let{options:l,hasOnlyTypeExplodedResults:m}=b5(n,u,t,r,e.conditionResolver,i);if(p=l,z.groupEnd(()=>Ii(p)),p&&(p.length===0||whe(t)&&!m||t.kind==="FragmentElement")){z.groupEnd(()=>`Final options for ${u}: ${Ii(p)}`),p.length>0&&a.push(p);continue}}if(p=p??[],t.kind==="Field"){z.group("Computing indirect paths:");let l=Rhe(e.indirectOptions(r,s),t);if(z.groupEnd(()=>l.paths.length==0?"no indirect paths":`${l.paths.length} indirect paths`),l.paths.length>0){z.group("Validating indirect options:");for(let m of l.paths){z.group(()=>`For indirect path ${m}:`);let{options:y}=b5(n,m,t,r,e.conditionResolver,i);if(!y){z.groupEnd(()=>`Ignoring: cannot be advanced with ${t}`);continue}if(z.groupEnd(()=>`Adding valid option: ${y}`),(0,M.assert)(y.length>0,()=>`Unexpected empty options after non-collecting path ${m} for ${t}`),m.tailIsInterfaceObject())for(let v of y)v.length===1&&(p=p.filter(g=>!g.every(b=>v[0].isEquivalentSaveForTypeExplosionTo(b))));p=p.concat(y)}z.groupEnd()}}if(p.length===0&&d){z.group(()=>"Cannot defer (no indirect options); falling back to direct options");let{options:l}=b5(n,u,t,r,e.conditionResolver,i);p=l??[],z.groupEnd(()=>Ii(p))}if(p.length===0){z.groupEnd(),z.groupEnd(()=>`No valid options for ${t}, aborting operation ${t}`);return}else z.groupEnd(()=>Ii(p)),a.push(p)}let o=C5(a);return z.groupEnd(()=>Ii(o)),VP(o,e,r,e.overrideConditions)}ge.advanceSimultaneousPathsWithOperation=X2;function Bhe(n,e,t,i,r,a){let o=new Bu([n],e,t,i,r,a);if((0,Mr.isFederatedGraphRootType)(n.tail.type)){let s=o.indirectOptions(e,0);return VP(s.paths.map(u=>[u]),o,e,a)}else return[o]}ge.createInitialOptions=Bhe;function VP(n,e,t,i){return n.map(r=>new Bu(r,t,e.conditionResolver,e.excludedNonCollectingEdges,e.excludedConditionsOnNonCollectingEdges,i))}function Lhe(n,e,t,i){if(!(t instanceof S1.PathContext))return t.kind==="Field"?N5(n,e,t,i):t.typeCondition?jP(n,e,t.typeCondition.name):null}function C5(n){let e=n.length;if(e===0)return[];let t=new Array(e),i=1;for(let a=0;a(0,M.isLeafType)((0,M.baseType)(s.type)))){let s=new Set(o.fields().map(u=>u.name));for(let u of n.graph.verticesForType(r.name)){if(u.source===n.tail.source)continue;let p=(0,M.federationMetadata)(u.type.schema());(0,M.assert)(p,"Type should have come from a federation subgraph"),(0,M.assert)((0,M.isObjectType)(u.type)||(0,M.isInterfaceType)(u.type),()=>`${r} is an object in ${n.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,M.baseType)(d.type);if(l.name!==o.name||!((0,M.isObjectType)(l)||(0,M.isInterfaceType)(l)))return!0;let m=new Set(l.fields().map(y=>y.name));if(!(0,M.isSubset)(s,m))return!0}return!1}return!0}}return!1}function khe(n){return n.transition.kind==="FieldCollection"&&n.transition.isPartOfProvide}function b5(n,e,t,i,r,a){z.group(()=>`Trying to advance ${e} directly with ${t}`);let o=e.tail.type;if((0,Mr.isFederatedGraphRootType)(o))return z.groupEnd("Cannot advance federated graph root with direct operations"),{options:void 0};if(t.kind==="Field"){let s=t.definition;switch(o.kind){case"ObjectType":let u=D5(e,t,a);if(!u)return z.groupEnd(()=>`No edge for field ${s} on object type ${o}`),{options:void 0};if(e.tailIsInterfaceObject()&&s.parent.name!==o.name){let R=o.field(s.name);(0,M.assert)(R,()=>`We should not have found edge ${u} for ${s} from ${e}`),t=t.withUpdatedDefinition(R)}let p=S5(e,t,u,r,i);return z.groupEnd(()=>p?`Collected field ${s} on object type ${o}`:`Cannot satisfy @requires on field ${s} for object type ${o}`),{options:vd(p)};case"InterfaceType":let d=s.parent.name!==o.name,l=d?void 0:D5(e,t,a),m,y=!1;if(l){if(m=S5(e,t,l,r,i),(0,M.assert)(m,()=>`Interface edge ${l} shouldn't have conditions`),y=s.name===M.typenameFieldName||!khe(l)&&!Phe(s.name,o),y&&((0,M.isLeafType)(s.type)||!xhe(e,s.name,o)))return z.groupEnd(()=>`Collecting (leaf) field ${s} on interface ${o} without type-exploding`),{options:vd(m)};z.log(()=>`Collecting field ${s} on interface ${o} as 1st option`)}let v;d?((0,M.assert)((0,M.isObjectType)(s.parent)&&e.tailPossibleRuntimeTypes().some(R=>R.name===s.parent.name),()=>`${s.coordinate} requested on ${o}, but ${s.parent} is not an implementation`),v=[s.parent],z.log(()=>`Casting into requested type ${s.parent}`)):(v=e.tailPossibleRuntimeTypes(),z.log(()=>m?`Type exploding interface ${o} into possible runtime types [${v.join(", ")}] as 2nd option`:`No direct edge: type exploding interface ${o} into possible runtime types [${v.join(", ")}]`));let g=[];for(let R of v){let N=new M.FragmentElement(o,R.name);z.group(()=>`Handling implementation ${R}`);let L=X2(n,new Bu([e],i,r,[],[],a),N,a);if(!L)return z.groupEnd(),z.groupEnd(()=>`Cannot collect field ${s} from ${R}: stopping with options [${m}]`),{options:vd(m)};if(L.length===0){z.groupEnd(()=>`Cannot ever get ${R} from this branch, ignoring it`);continue}let k=[];z.log(()=>`Trying to collect ${s} from options ${Ii(L)}`);for(let K of L){z.group(()=>`For ${D1(K)}`);let Y=X2(n,K,t,a);if(!Y){z.groupEnd(()=>`Cannot collect ${s}`);continue}(0,M.assert)(Y.length>0,()=>`Unexpected unsatisfiable path after ${K} for ${t}`),z.groupEnd(()=>`Collected field ${s}: adding ${Ii(Y)}`),k=k.concat(Y.map(H=>H.paths))}if(k.length===0)return z.groupEnd(),z.groupEnd(()=>`Cannot collect field ${s} from ${R}: stopping with options [${m}]`),{options:vd(m)};z.groupEnd(()=>`Collected field ${s} from ${R}`),g.push(k)}let b=C5(g);return m&&(y&&({thisPath:m,otherOptions:b}=m.markOverridding(b)),b=vd(m).concat(b)),z.groupEnd(()=>`With type-exploded options: ${Ii(b)}`),{options:b,hasOnlyTypeExplodedResults:!m};case"UnionType":(0,M.assert)(s.name===M.typenameFieldName,()=>`Invalid field selection ${t} for union type ${o}`);let D=D5(e,t,a);return(0,M.assert)(D,"Should always have an edge for __typename edge on an union"),z.groupEnd(()=>`Trivial collection of __typename for union ${o}`),{options:vd(S5(e,t,D,r,i))};default:(0,M.assert)(!1,`Unexpected ${o.kind} type ${o} from ${e.tail} given operation ${t}`)}}else{if((0,M.assert)(t.kind==="FragmentElement",()=>"Unhandled operation kind: "+t.kind),!t.typeCondition||o.name===t.typeCondition.name)return z.groupEnd(()=>`No edge to take for condition ${t} from current type ${o}`),{options:[[t.appliedDirectives.length>0?e.add(t,null,ge.noConditionsResolution,t.deferDirectiveArgs()):e]]};let s=t.typeCondition.name;switch(o.kind){case"InterfaceType":case"UnionType":let u=$he(e,s);if(u)return(0,M.assert)(!u.conditions,"TypeCast collecting edges shouldn't have conditions"),z.groupEnd(()=>`Using type-casting edge for ${s} from current type ${o}`),{options:[[e.add(t,u,ge.noConditionsResolution,t.deferDirectiveArgs())]]};let p=e.tailPossibleRuntimeTypes(),d=(0,M.possibleRuntimeTypes)(n.type(s)),l=p.filter(g=>d.some(b=>g.name===b.name)).map(g=>g.name);z.log(()=>`Trying to type-explode into intersection between ${o} and ${s} = [${l}]`);let m=[];for(let g of l){z.group(()=>`Trying ${g}`);let b=new M.FragmentElement(o,g,t.appliedDirectives),D=X2(n,new Bu([e],i,r,[],[],a),b,a);if(!D)return z.groupEnd(),z.groupEnd(()=>`Cannot advance into ${g} from ${o}: no options for ${t}.`),{options:void 0};if(D.length===0){z.groupEnd(()=>`Cannot ever get ${g} from this branch, ignoring it`);continue}z.groupEnd(()=>`Advanced into ${g} from ${o}: ${Ii(D)}`),m.push(D.map(R=>R.paths))}let y=C5(m);return z.groupEnd(()=>`Type-exploded options: ${Ii(y)}`),{options:y};case"ObjectType":let v=n.type(s);if((0,M.isAbstractType)(v)&&(0,M.possibleRuntimeTypes)(v).some(g=>g.name==o.name))return z.groupEnd(()=>`${s} is a super-type of current type ${o}: no edge to take`),{options:[[t.appliedDirectives.length>0?e.add(t.withUpdatedTypes(o,void 0),null,ge.noConditionsResolution,t.deferDirectiveArgs()):e]]};if(e.tailIsInterfaceObject()){let g=e.nextEdges().find(b=>b.transition.kind==="InterfaceObjectFakeDownCast"&&b.transition.castedTypeName===s);if(g){let b=t6(e,g,r,i,[],[],O5);return b.satisfied?{options:[[e.add(t,g,b,t.deferDirectiveArgs())]]}:{options:void 0}}}return z.groupEnd(()=>`Cannot ever get ${s} from current type ${o}: returning empty branch`),{options:[]};default:(0,M.assert)(!1,`Unexpected ${o.kind} type ${o} from ${e.tail} given operation ${t}`)}}}function S5(n,e,t,i,r){let a=t6(n,t,i,r,[],[],O5);return a.satisfied?n.add(e,t,a):void 0}function vd(n){return n?[[n]]:void 0}function D5(n,e,t){return N5(n.graph,n.tail,e,t)}function N5(n,e,t,i){let r=n.outEdges(e).filter(a=>{var o;return a.transition.kind==="FieldCollection"&&t.selects(a.transition.definition,!0,void 0,(o=a.requiredContexts)===null||o===void 0?void 0:o.map(s=>s.namedParameter))&&a.satisfiesOverrideConditions(i)});return(0,M.assert)(r.length<=1,()=>`Vertex ${e} has multiple edges matching ${t} (${r})`),r.length===0?void 0:r[0]}function $he(n,e){return jP(n.graph,n.tail,e)}function jP(n,e,t){let i=n.outEdges(e).filter(r=>r.transition.kind==="DownCast"&&t===r.transition.castedType.name);return(0,M.assert)(i.length<=1,()=>`Vertex ${e} has multiple edges matching ${t} (${i})`),i.length===0?void 0:i[0]}var O5=n=>!(0,S1.isPathContext)(n)&&n.kind==="Field"?n.definition.parent:null,qP=n=>{if(n.kind==="FieldCollection"){let e=n.definition.parent;if(!e||(0,M.isScalarType)(e)||(0,M.isEnumType)(e))return null;if((0,M.isObjectType)(e)||(0,M.isInterfaceType)(e)||(0,M.isUnionType)(e))return e}return null}});var i6=T(Ur=>{"use strict";f();c();function MP(n){return typeof n=="object"&&n!==null&&typeof n.id=="string"}function UP(n){return typeof n=="object"&&n!==null&&n.$$type==="Node"&&typeof n.id=="string"}function I5(n){return UP(n)||MP(n)}function n6(n){return typeof n=="string"||I5(n)}function Vhe(n){return Array.isArray(n)&&n.every(n6)}function GP(n){return["n","ne","e","se","s","sw","w","nw","c"].includes(n)}function QP(n){if(I5(n))return n;let[e,t,i]=n.split(":");return GP(i)?{id:e,port:t,compass:i}:{id:e,port:t}}function jhe(n){if(n.length<2&&(n6(n[0])&&n6(n[1]))===!1)throw Error("EdgeTargets must have at least 2 elements.");return n.map(e=>QP(e))}var KP=Object.seal({Graph:null,Digraph:null,Subgraph:null,Node:null,Edge:null});function qhe(n){return Object.assign(Object.seal(Object.assign({},KP)),n)}Ur.RootModelsContext=KP;Ur.createModelsContext=qhe;Ur.isCompass=GP;Ur.isForwardRefNode=MP;Ur.isNodeModel=UP;Ur.isNodeRef=I5;Ur.isNodeRefGroupLike=Vhe;Ur.isNodeRefLike=n6;Ur.toNodeRef=QP;Ur.toNodeRefGroup=jhe});var WP=T(r6=>{"use strict";f();c();function Mhe(...n){let[e,...t]=n;return(...i)=>t.reduce((r,a)=>a(r),e(...i))}function Uhe(n,...e){return Mhe(n,...e)}var HP=n=>(...e)=>t=>n(t,...e),zP=n=>({[Symbol.iterator]:n}),Ghe=HP((n,e)=>Array.from(zP(function*(){for(let t of n)yield e(t)}))),Qhe=HP((n,e)=>Array.from(zP(function*(){for(let t of n)e(t)&&(yield t)})));r6.filter=Qhe;r6.map=Ghe;r6.pipe=Uhe});var ZP=T(Qr=>{"use strict";f();c();var kt=WP(),a6=i6(),gd=class{constructor(e){vt(this,"options");this.options=e}getLocation(){return this.options?.locationFunction?.()??null}createElement(e,t,i=[]){return{location:this.getLocation(),...t,type:e,children:i}}},Je=gd.prototype.createElement.bind(new gd),Khe=/\r?\n/;function Gr(n){return e=>e.join(n)}function Hhe(n){return e=>n+e+n}function hs(n,e){return t=>n+t+e}function o6(n){return e=>n+e}var YP=n=>n.replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/"/g,'\\"'),s6=n=>n.split(Khe),F1=(n,e,t)=>kt.pipe(s6,kt.map(o6(n==="space"?" ".repeat(e):` `)),Gr(t)),xu=n=>{switch(n){case"crlf":return`\r `;case"lf":return` `}},zhe={match(n){return n.type==="AttributeList"},print(n,e){if(e.children.length===0)return`${e.kind.toLocaleLowerCase()} [];`;let t=xu(n.endOfLine);return kt.pipe(kt.map(n.print),Gr(t),F1(n.indentStyle,n.indentSize,t),hs(`${e.kind.toLocaleLowerCase()} [${t}`,`${t}];`))(e.children)}},Whe={match(n){return n.type==="Attribute"},print(n,e){return`${n.print(e.key)} = ${n.print(e.value)};`}},Yhe={match(n){return n.type==="Comment"},print(n,e){let t=xu(n.endOfLine);switch(e.kind){case"Block":return kt.pipe(s6,kt.map(o6(" * ")),Gr(t),hs(`/**${t}`,`${t} */`))(e.value);case"Macro":return kt.pipe(s6,kt.map(o6("# ")),Gr(t))(e.value);case"Slash":default:return kt.pipe(s6,kt.map(o6("// ")),Gr(t))(e.value)}}},Jhe={match(n){return n.type==="Dot"},print(n,e){return e.children.map(n.print).join(xu(n.endOfLine))}},Xhe={match(n){return n.type==="Edge"},print(n,e){let t=kt.pipe(kt.map(n.print),Gr(n.directed?" -> ":" -- "))(e.targets);if(e.children.length===0)return`${t};`;let i=xu(n.endOfLine),r=kt.pipe(kt.map(n.print),Gr(i),F1(n.indentStyle,n.indentSize,i),hs(`[${i}`,`${i}];`))(e.children);return`${t} ${r}`}},Zhe={match(n){return n.type==="Graph"},print(n,e){n.directed=e.directed;let t=[];if(e.strict&&t.push("strict"),t.push(e.directed?"digraph":"graph"),e.id&&t.push(n.print(e.id)),e.children.length===0)return`${t.join(" ")} {}`;let i=xu(n.endOfLine),r=kt.pipe(kt.map(n.print),Gr(i),F1(n.indentStyle,n.indentSize,i),hs(`{${i}`,`${i}}`))(e.children);return`${t.join(" ")} ${r}`}},eme=kt.pipe(YP,Hhe('"')),tme=hs("<",">"),nme={match(n){return n.type==="Literal"},print(n,e){switch(e.quoted){case"html":return tme(e.value);case!0:return eme(e.value);case!1:default:return YP(e.value)}}},ime={match(n){return n.type==="Node"},print(n,e){let t=n.print(e.id);if(e.children.length===0)return`${t};`;let i=xu(n.endOfLine),r=kt.pipe(kt.map(n.print),Gr(i),F1(n.indentStyle,n.indentSize,i),hs(`[${i}`,`${i}];`))(e.children);return`${t} ${r}`}},rme={match(n){return n.type==="NodeRefGroup"},print(n,e){return kt.pipe(kt.map(n.print),Gr(" "),hs("{","}"))(e.children)}},ame={match(n){return n.type==="NodeRef"},print(n,e){let t=[n.print(e.id)];return e.port&&t.push(n.print(e.port)),e.compass&&t.push(n.print(e.compass)),t.join(":")}},ome={match(n){return n.type==="Subgraph"},print(n,e){let t=["subgraph"];if(e.id&&t.push(n.print(e.id)),e.children.length===0)return`${t.join(" ")} {}`;let i=xu(n.endOfLine),r=kt.pipe(kt.map(n.print),Gr(i),F1(n.indentStyle,n.indentSize,i),hs(`{${i}`,`${i}}`))(e.children);return`${t.join(" ")} ${r}`}},sme=[zhe,Whe,Yhe,Jhe,Xhe,Zhe,nme,ime,rme,ame,ome],c6,u6=class{constructor(e={}){vt(this,"options");Ds(this,c6,[...sme]);this.options=e}print(e){let t=[...Et(this,c6)],{indentSize:i=2,indentStyle:r="space",endOfLine:a="lf"}=this.options,o={directed:!0,indentSize:i,indentStyle:r,endOfLine:a,print(s){for(let u of t)if(u.match(s))return u.print(o,s);throw Error()}};return o.print(e)}};c6=new WeakMap;function ume(n,e){let t=new u6(e).print(n);if(!t)throw new Error;return t}function w5(n,e,t){return t=t||" ",n.length>e?n:(e-=n.length,t+=t.repeat(e),n+t.slice(0,e))}var Pu=class extends Error{constructor(t,i,r,a){super();vt(this,"message");vt(this,"expected");vt(this,"found");vt(this,"location");vt(this,"name");this.message=t,this.expected=i,this.found=r,this.location=a,this.name="DotSyntaxError",typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(this,Pu.prototype):this.__proto__=Pu.prototype,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Pu)}static buildMessage(t,i){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 o(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 s(d){switch(d.type){case"literal":return'"'+a(d.text)+'"';case"class":let l=d.parts.map(m=>Array.isArray(m)?o(m[0])+"-"+o(m[1]):o(m));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(s),m,y;if(l.sort(),l.length>0){for(m=1,y=1;m `+s+` `+p+` | `+o.line+" | "+d+` `+p+" | "+w5("",o.column-1," ")+w5("",l-o.column,"^")}else i+=` at `+s}return i}};function pme(n,e){e=e!==void 0?e:{};let t={},i=e.grammarSource,r={Dot:Cg,Graph:Ng,Subgraph:iy,Node:Z6,Edge:ny,AttributeList:ey,Attribute:ty,ClusterStatements:ry},a=Cg,o=function(h){return h},s=function(h,A,_){return bn.createElement("Dot",{},[...h,A,..._])},u="strict",p=Ie("strict",!0),d="graph",l=Ie("graph",!0),m="digraph",y=Ie("digraph",!0),v="{",g=Ie("{",!1),b="}",D=Ie("}",!1),R=function(h,A,_,C){let B=!!h,ce=A.toLowerCase()==="digraph";for(let gi of Mg)ce?gi.operator!=="->"&&_g(`In digraph, it's necessary to describe with "->" operator to create edge.`,gi.location):gi.operator!=="--"&&_g(`In graph, it's necessary to describe with "--" operator to create edge.`,gi.location);return bn.createElement("Graph",_!==null?{id:_,directed:ce,strict:B}:{directed:ce,strict:B},C)},N=";",L=Ie(";",!1),k=function(h){return bn.createElement("Attribute",{...h},[])},K="node",Y=Ie("node",!0),H="edge",P=Ie("edge",!0),G=function(h,A){return bn.createElement("AttributeList",{kind:`${h.slice(0,1).toUpperCase()}${h.slice(1).toLowerCase()}`},A)},fe=function(h,A,_){return bn.createElement("Edge",{targets:[h,...A]},_??[])},Oe=function(h,A){return bn.createElement("Node",{id:h},A??[])},Me="=",Xt=Ie("=",!1),At=function(h,A){return{key:h,value:A}},wt=",",vi=Ie(",",!1),ju=function(h){return bn.createElement("Attribute",{...h,location:X6()},[])},lo="[",qu=Ie("[",!1),xd="]",q=Ie("]",!1),se=function(h){return h},ne=function(h,A){return A},le=function(h,A){return bn.createElement("NodeRefGroup",{},[h,...A])},yt="->",Gt=Ie("->",!1),Tt="--",co=Ie("--",!1),kd=function(h){return{operator:h,location:X6()}},$d=function(h,A,_){return Mg.push(h),[A].concat(_||[])},Ei=function(h,A){return bn.createElement("NodeRef",{id:h,...A},[])},R$=Qu("port"),lg=":",cg=Ie(":",!1),B$=function(h,A){return A},L$=function(h,A){return["n","ne","e","se","s","sw","w","nw"].includes(h)?{compass:h}:A?{port:h,compass:A}:{port:h}},P$="subgraph",x$=Ie("subgraph",!0),k$=function(h){return h},$$=function(h,A){let _=A??[];return bn.createElement("Subgraph",h?{id:h}:{},_)},V$="n",j$=Ie("n",!1),fg="ne",q$=Ie("ne",!1),M$="e",U$=Ie("e",!1),hg="se",G$=Ie("se",!1),Q$="s",K$=Ie("s",!1),mg="sw",H$=Ie("sw",!1),z$="w",W$=Ie("w",!1),yg="nw",Y$=Ie("nw",!1),J$=function(h){return{value:h,quoted:!1}},Vd='"',jd=Ie('"',!1),X$=function(h){return{value:h,quoted:!0}},Z$=function(h){return bn.createElement("Literal",{...h},[])},eV=function(h){return bn.createElement("Literal",{value:h,quoted:!1},[])},vg="/*",tV=Ie("/*",!1),Mu="*/",Q6=Ie("*/",!1),zr=ij(),nV=function(h){return bn.createElement("Comment",{kind:"Block",value:sy(h.join("").replace(/[ \t]*\*/g,""))},[])},iV=function(h){return bn.createElement("Comment",{kind:"Slash",value:sy(h.join(` `))},[])},Eg="//",rV=Ie("//",!1),K6=function(h){return h.join("")},aV=function(h){return bn.createElement("Comment",{kind:"Macro",value:sy(h.join(` `))},[])},oV="#",sV=Ie("#",!1),uV=Qu("UNICODE_STRING"),pV=function(h,A){return h+A.join("")},dV=function(h,A){return h+A},lV="$",cV=Ie("$",!1),fV="_",hV=Ie("_",!1),mV=Qu("NUMBER"),yV="-",vV=Ie("-",!1),gg=".",Ag=Ie(".",!1),Uu=/^[0-9]/,Gu=mr([["0","9"]],!1,!1),EV=function(h){return Dg()},gV=function(h){return bn.createElement("Literal",{value:h.slice(1,h.length-1),quoted:"html"},[])},H6="<",z6=Ie("<",!1),W6=">",Y6=Ie(">",!1),AV=function(h){return"<"+h.join("")+">"},TV=function(h){return bn.createElement("Literal",{value:h.join(""),quoted:!0},[])},bV=function(){return Dg()},Tg="\\",bg=Ie("\\",!1),SV=function(h){return h[1]==='"'?'"':h[0]+h[1]},DV=function(){return""},_V=/^[\n\r\u2028\u2029]/,FV=mr([` `,"\r","\u2028","\u2029"],!1,!1),CV=Qu("end of line"),NV=` `,OV=Ie(` `,!1),Sg=`\r `,IV=Ie(`\r `,!1),wV="\r",RV=Ie("\r",!1),BV="\u2028",LV=Ie("\u2028",!1),PV="\u2029",xV=Ie("\u2029",!1),kV=Qu("whitespace"),$V=Qu("WHITESPACE"),VV=/^[\n\r]/,jV=mr([` `,"\r"],!1,!1),qV=/^[ \t]/,MV=mr([" "," "],!1,!1),UV=/^[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]/,GV=mr([["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),QV=/^[\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]/,KV=mr([["\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),HV=/^[\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]/,zV=mr(["\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),WV=/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/,YV=mr(["\u01C5","\u01C8","\u01CB","\u01F2",["\u1F88","\u1F8F"],["\u1F98","\u1F9F"],["\u1FA8","\u1FAF"],"\u1FBC","\u1FCC","\u1FFC"],!1,!1),JV=/^[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]/,XV=mr([["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),ZV=/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/,ej=mr([["\u16EE","\u16F0"],["\u2160","\u2182"],["\u2185","\u2188"],"\u3007",["\u3021","\u3029"],["\u3038","\u303A"],["\uA6E6","\uA6EF"]],!1,!1),tj=/^[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]/,nj=mr([["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,ye=0,J1=[{line:1,column:1}],Wr=0,J6=[],x=0,X1;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 Dg(){return n.substring(ye,E)}function X6(){return Z1(ye,E)}function _g(h,A){throw A=A!==void 0?A:Z1(ye,E),aj(h,A)}function Ie(h,A){return{type:"literal",text:h,ignoreCase:A}}function mr(h,A,_){return{type:"class",parts:h,inverted:A,ignoreCase:_}}function ij(){return{type:"any"}}function rj(){return{type:"end"}}function Qu(h){return{type:"other",description:h}}function Fg(h){let A=J1[h],_;if(A)return A;for(_=h-1;!J1[_];)_--;for(A=J1[_],A={line:A.line,column:A.column};_Wr&&(Wr=E,J6=[]),J6.push(h))}function aj(h,A){return new Pu(h,[],"",A)}function oj(h,A,_){return new Pu(Pu.buildMessage(h,A),h,A,_)}function Cg(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=sj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function Ng(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=uj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function Z6(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=cj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function ey(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=dj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function ty(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=pj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function ny(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=lj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function iy(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=gj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function e0(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=yj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function Og(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=fj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function fo(){let h,A,_,C;return h=E,A=Ct(),A!==t?(_=Tj(),_!==t?(C=Ct(),C!==t?(ye=h,A=o(_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function ry(){let h,A;for(h=[],A=ty(),A===t&&(A=ey(),A===t&&(A=ny(),A===t&&(A=iy(),A===t&&(A=Z6(),A===t&&(A=fo())))));A!==t;)h.push(A),A=ty(),A===t&&(A=ey(),A===t&&(A=ny(),A===t&&(A=iy(),A===t&&(A=Z6(),A===t&&(A=fo())))));return h}function sj(){let h,A,_,C,B;for(h=E,A=[],_=fo();_!==t;)A.push(_),_=fo();if(A!==t)if(_=Ng(),_!==t){for(C=[],B=fo();B!==t;)C.push(B),B=fo();C!==t?(ye=h,A=s(A,_,C),h=A):(E=h,h=t)}else E=h,h=t;else E=h,h=t;return h}function uj(){let h,A,_,C,B,$,ce,gi,Yr,Ug,uy;return h=E,n.substr(E,6).toLowerCase()===u?(A=n.substr(E,6),E+=6):(A=t,x===0&&Q(p)),A===t&&(A=null),A!==t?(_=cn(),_!==t?(n.substr(E,5).toLowerCase()===d?(C=n.substr(E,5),E+=5):(C=t,x===0&&Q(l)),C===t&&(n.substr(E,7).toLowerCase()===m?(C=n.substr(E,7),E+=7):(C=t,x===0&&Q(y))),C!==t?(B=cn(),B!==t?($=Ss(),$===t&&($=null),$!==t?(ce=Ct(),ce!==t?(n.charCodeAt(E)===123?(gi=v,E++):(gi=t,x===0&&Q(g)),gi!==t?(Yr=ry(),Yr!==t?(Ug=Ct(),Ug!==t?(n.charCodeAt(E)===125?(uy=b,E++):(uy=t,x===0&&Q(D)),uy!==t?(ye=h,A=R(A,C,$,Yr),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function pj(){let h,A,_,C;return h=E,A=Ig(),A!==t?(_=cn(),_!==t?(n.charCodeAt(E)===59?(C=N,E++):(C=t,x===0&&Q(L)),C===t&&(C=null),C!==t?(ye=h,A=k(A),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function dj(){let h,A,_,C,B;return h=E,n.substr(E,5).toLowerCase()===d?(A=n.substr(E,5),E+=5):(A=t,x===0&&Q(l)),A===t&&(n.substr(E,4).toLowerCase()===K?(A=n.substr(E,4),E+=4):(A=t,x===0&&Q(Y)),A===t&&(n.substr(E,4).toLowerCase()===H?(A=n.substr(E,4),E+=4):(A=t,x===0&&Q(P)))),A!==t?(_=ay(),_!==t?(C=cn(),C!==t?(n.charCodeAt(E)===59?(B=N,E++):(B=t,x===0&&Q(L)),B===t&&(B=null),B!==t?(ye=h,A=G(A,_),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function lj(){let h,A,_,C,B,$;return h=E,A=wg(),A!==t?(_=Rg(),_!==t?(C=ay(),C===t&&(C=null),C!==t?(B=cn(),B!==t?(n.charCodeAt(E)===59?($=N,E++):($=t,x===0&&Q(L)),$===t&&($=null),$!==t?(ye=h,A=fe(A,_,C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function cj(){let h,A,_,C,B,$;return h=E,A=Ss(),A!==t?(_=cn(),_!==t?(C=ay(),C===t&&(C=null),C!==t?(B=cn(),B!==t?(n.charCodeAt(E)===59?($=N,E++):($=t,x===0&&Q(L)),$===t&&($=null),$!==t?(ye=h,A=Oe(A,C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function Ig(){let h,A,_,C,B,$;return h=E,A=Ss(),A!==t?(_=cn(),_!==t?(n.charCodeAt(E)===61?(C=Me,E++):(C=t,x===0&&Q(Xt)),C!==t?(B=cn(),B!==t?($=Ss(),$!==t?(ye=h,A=At(A,$),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function fj(){let h,A,_,C;return h=E,A=Ig(),A!==t?(_=cn(),_!==t?(n.charCodeAt(E)===44?(C=wt,E++):(C=t,x===0&&Q(vi)),C===t&&(n.charCodeAt(E)===59?(C=N,E++):(C=t,x===0&&Q(L))),C===t&&(C=null),C!==t?(ye=h,A=ju(A),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function ay(){let h,A,_,C,B,$;if(h=E,A=cn(),A!==t)if(n.charCodeAt(E)===91?(_=lo,E++):(_=t,x===0&&Q(qu)),_!==t){for(C=[],B=Og(),B===t&&(B=fo());B!==t;)C.push(B),B=Og(),B===t&&(B=fo());C!==t?(B=Ct(),B!==t?(n.charCodeAt(E)===93?($=xd,E++):($=t,x===0&&Q(q)),$!==t?(ye=h,A=se(C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;else E=h,h=t;return h}function hj(){let h,A,_,C,B,$,ce;if(h=E,n.charCodeAt(E)===123?(A=v,E++):(A=t,x===0&&Q(g)),A!==t)if(_=e0(),_!==t){for(C=[],B=E,n.charCodeAt(E)===44?($=wt,E++):($=t,x===0&&Q(vi)),$===t&&(n.charCodeAt(E)===59?($=N,E++):($=t,x===0&&Q(L))),$===t&&($=null),$!==t?(ce=e0(),ce!==t?(ye=B,$=ne(_,ce),B=$):(E=B,B=t)):(E=B,B=t);B!==t;)C.push(B),B=E,n.charCodeAt(E)===44?($=wt,E++):($=t,x===0&&Q(vi)),$===t&&(n.charCodeAt(E)===59?($=N,E++):($=t,x===0&&Q(L))),$===t&&($=null),$!==t?(ce=e0(),ce!==t?(ye=B,$=ne(_,ce),B=$):(E=B,B=t)):(E=B,B=t);C!==t?(n.charCodeAt(E)===44?(B=wt,E++):(B=t,x===0&&Q(vi)),B===t&&(n.charCodeAt(E)===59?(B=N,E++):(B=t,x===0&&Q(L))),B===t&&(B=null),B!==t?($=Ct(),$!==t?(n.charCodeAt(E)===125?(ce=b,E++):(ce=t,x===0&&Q(D)),ce!==t?(ye=h,A=le(_,C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;else E=h,h=t;return h}function wg(){let h;return h=hj(),h===t&&(h=e0()),h}function mj(){let h,A;return h=E,n.substr(E,2)===yt?(A=yt,E+=2):(A=t,x===0&&Q(Gt)),A===t&&(n.substr(E,2)===Tt?(A=Tt,E+=2):(A=t,x===0&&Q(co))),A!==t&&(ye=h,A=kd(A)),h=A,h}function Rg(){let h,A,_,C,B,$,ce;return h=E,A=cn(),A!==t?(_=mj(),_!==t?(C=cn(),C!==t?(B=wg(),B!==t?($=cn(),$!==t?(ce=Rg(),ce===t&&(ce=null),ce!==t?(ye=h,A=$d(_,B,ce),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function yj(){let h,A,_;return h=E,A=Ss(),A!==t?(_=vj(),_===t&&(_=null),_!==t?(ye=h,A=Ei(A,_),h=A):(E=h,h=t)):(E=h,h=t),h}function vj(){let h,A,_,C,B,$;return x++,h=E,n.charCodeAt(E)===58?(A=lg,E++):(A=t,x===0&&Q(cg)),A!==t?(_=Ss(),_!==t?(C=E,n.charCodeAt(E)===58?(B=lg,E++):(B=t,x===0&&Q(cg)),B!==t?($=Aj(),$!==t?(ye=C,B=B$(_,$),C=B):(E=C,C=t)):(E=C,C=t),C===t&&(C=null),C!==t?(ye=h,A=L$(_,C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),x--,h===t&&(A=t,x===0&&Q(R$)),h}function Ej(){let h,A,_,C,B;return h=E,n.substr(E,8).toLowerCase()===P$?(A=n.substr(E,8),E+=8):(A=t,x===0&&Q(x$)),A!==t?(_=cn(),_!==t?(C=Ss(),C===t&&(C=null),C!==t?(B=cn(),B!==t?(ye=h,A=k$(C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function gj(){let h,A,_,C,B,$;return h=E,A=Ej(),A===t&&(A=null),A!==t?(n.charCodeAt(E)===123?(_=v,E++):(_=t,x===0&&Q(g)),_!==t?(C=ry(),C===t&&(C=null),C!==t?(B=Ct(),B!==t?(n.charCodeAt(E)===125?($=b,E++):($=t,x===0&&Q(D)),$!==t?(ye=h,A=$$(A,C),h=A):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t)):(E=h,h=t),h}function Bg(){let h;return n.charCodeAt(E)===110?(h=V$,E++):(h=t,x===0&&Q(j$)),h===t&&(n.substr(E,2)===fg?(h=fg,E+=2):(h=t,x===0&&Q(q$)),h===t&&(n.charCodeAt(E)===101?(h=M$,E++):(h=t,x===0&&Q(U$)),h===t&&(n.substr(E,2)===hg?(h=hg,E+=2):(h=t,x===0&&Q(G$)),h===t&&(n.charCodeAt(E)===115?(h=Q$,E++):(h=t,x===0&&Q(K$)),h===t&&(n.substr(E,2)===mg?(h=mg,E+=2):(h=t,x===0&&Q(H$)),h===t&&(n.charCodeAt(E)===119?(h=z$,E++):(h=t,x===0&&Q(W$)),h===t&&(n.substr(E,2)===yg?(h=yg,E+=2):(h=t,x===0&&Q(Y$))))))))),h}function Aj(){let h,A,_,C,B;return h=E,A=E,_=Bg(),_!==t&&(ye=A,_=J$(_)),A=_,A===t&&(A=E,n.charCodeAt(E)===34?(_=Vd,E++):(_=t,x===0&&Q(jd)),_!==t?(C=Bg(),C!==t?(n.charCodeAt(E)===34?(B=Vd,E++):(B=t,x===0&&Q(jd)),B!==t?(ye=A,_=X$(C),A=_):(E=A,A=t)):(E=A,A=t)):(E=A,A=t)),A!==t&&(ye=h,A=Z$(A)),h=A,h}function Ss(){let h,A;return h=Cj(),h===t&&(h=Fj(),h===t&&(h=E,A=xg(),A===t&&(A=_j(),A===t&&(A=Vg())),A!==t&&(ye=h,A=eV(A)),h=A)),h}function Tj(){let h;return h=bj(),h===t&&(h=Sj(),h===t&&(h=Dj())),h}function bj(){let h,A,_,C,B,$;if(h=E,n.substr(E,2)===vg?(A=vg,E+=2):(A=t,x===0&&Q(tV)),A!==t){for(_=[],C=E,B=E,x++,n.substr(E,2)===Mu?($=Mu,E+=2):($=t,x===0&&Q(Q6)),x--,$===t?B=void 0:(E=B,B=t),B!==t?(n.length>E?($=n.charAt(E),E++):($=t,x===0&&Q(zr)),$!==t?(ye=C,B=o($),C=B):(E=C,C=t)):(E=C,C=t);C!==t;)_.push(C),C=E,B=E,x++,n.substr(E,2)===Mu?($=Mu,E+=2):($=t,x===0&&Q(Q6)),x--,$===t?B=void 0:(E=B,B=t),B!==t?(n.length>E?($=n.charAt(E),E++):($=t,x===0&&Q(zr)),$!==t?(ye=C,B=o($),C=B):(E=C,C=t)):(E=C,C=t);_!==t?(n.substr(E,2)===Mu?(C=Mu,E+=2):(C=t,x===0&&Q(Q6)),C!==t?(ye=h,A=nV(_),h=A):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;return h}function Sj(){let h,A,_;if(h=E,A=[],_=Lg(),_!==t)for(;_!==t;)A.push(_),_=Lg();else A=t;return A!==t&&(ye=h,A=iV(A)),h=A,h}function Lg(){let h,A,_,C,B,$,ce;if(h=E,A=cn(),A!==t)if(n.substr(E,2)===Eg?(_=Eg,E+=2):(_=t,x===0&&Q(rV)),_!==t){for(C=[],B=E,$=E,x++,ce=ho(),x--,ce===t?$=void 0:(E=$,$=t),$!==t?(n.length>E?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(zr)),ce!==t?(ye=B,$=o(ce),B=$):(E=B,B=t)):(E=B,B=t);B!==t;)C.push(B),B=E,$=E,x++,ce=ho(),x--,ce===t?$=void 0:(E=$,$=t),$!==t?(n.length>E?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(zr)),ce!==t?(ye=B,$=o(ce),B=$):(E=B,B=t)):(E=B,B=t);C!==t?(B=ho(),B===t&&(B=null),B!==t?(ye=h,A=K6(C),h=A):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;else E=h,h=t;return h}function Dj(){let h,A,_;if(h=E,A=[],_=Pg(),_!==t)for(;_!==t;)A.push(_),_=Pg();else A=t;return A!==t&&(ye=h,A=aV(A)),h=A,h}function Pg(){let h,A,_,C,B,$,ce;if(h=E,A=cn(),A!==t)if(n.charCodeAt(E)===35?(_=oV,E++):(_=t,x===0&&Q(sV)),_!==t){for(C=[],B=E,$=E,x++,ce=ho(),x--,ce===t?$=void 0:(E=$,$=t),$!==t?(n.length>E?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(zr)),ce!==t?(ye=B,$=o(ce),B=$):(E=B,B=t)):(E=B,B=t);B!==t;)C.push(B),B=E,$=E,x++,ce=ho(),x--,ce===t?$=void 0:(E=$,$=t),$!==t?(n.length>E?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(zr)),ce!==t?(ye=B,$=o(ce),B=$):(E=B,B=t)):(E=B,B=t);C!==t?(B=ho(),B===t&&(B=null),B!==t?(ye=h,A=K6(C),h=A):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;else E=h,h=t;return h}function xg(){let h,A,_,C;if(x++,h=E,A=kg(),A!==t){for(_=[],C=$g();C!==t;)_.push(C),C=$g();_!==t?(ye=h,A=pV(A,_),h=A):(E=h,h=t)}else E=h,h=t;return x--,h===t&&(A=t,x===0&&Q(uV)),h}function _j(){let h,A,_;return h=E,A=Vg(),A!==t?(_=xg(),_!==t?(ye=h,A=dV(A,_),h=A):(E=h,h=t)):(E=h,h=t),h}function kg(){let h;return h=Bj(),h===t&&(n.charCodeAt(E)===36?(h=lV,E++):(h=t,x===0&&Q(cV)),h===t&&(n.charCodeAt(E)===95?(h=fV,E++):(h=t,x===0&&Q(hV)))),h}function $g(){let h;return h=kg(),h===t&&(h=jj()),h}function Vg(){let h,A,_,C,B,$,ce,gi,Yr;if(x++,h=E,A=E,n.charCodeAt(E)===45?(_=yV,E++):(_=t,x===0&&Q(vV)),_===t&&(_=null),_!==t){if(C=E,n.charCodeAt(E)===46?(B=gg,E++):(B=t,x===0&&Q(Ag)),B!==t){if($=[],Uu.test(n.charAt(E))?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(Gu)),ce!==t)for(;ce!==t;)$.push(ce),Uu.test(n.charAt(E))?(ce=n.charAt(E),E++):(ce=t,x===0&&Q(Gu));else $=t;$!==t?(B=[B,$],C=B):(E=C,C=t)}else E=C,C=t;if(C===t){if(C=E,B=[],Uu.test(n.charAt(E))?($=n.charAt(E),E++):($=t,x===0&&Q(Gu)),$!==t)for(;$!==t;)B.push($),Uu.test(n.charAt(E))?($=n.charAt(E),E++):($=t,x===0&&Q(Gu));else B=t;if(B!==t){if($=E,n.charCodeAt(E)===46?(ce=gg,E++):(ce=t,x===0&&Q(Ag)),ce!==t){for(gi=[],Uu.test(n.charAt(E))?(Yr=n.charAt(E),E++):(Yr=t,x===0&&Q(Gu));Yr!==t;)gi.push(Yr),Uu.test(n.charAt(E))?(Yr=n.charAt(E),E++):(Yr=t,x===0&&Q(Gu));gi!==t?(ce=[ce,gi],$=ce):(E=$,$=t)}else E=$,$=t;$===t&&($=null),$!==t?(B=[B,$],C=B):(E=C,C=t)}else E=C,C=t}C!==t?(_=[_,C],A=_):(E=A,A=t)}else E=A,A=t;return A!==t&&(ye=h,A=EV()),h=A,x--,h===t&&(A=t,x===0&&Q(mV)),h}function Fj(){let h,A;return h=E,A=oy(),A!==t&&(ye=h,A=gV(A)),h=A,h}function oy(){let h,A,_,C;if(h=E,n.charCodeAt(E)===60?(A=H6,E++):(A=t,x===0&&Q(z6)),A!==t){for(_=[],C=jg(),C===t&&(C=oy());C!==t;)_.push(C),C=jg(),C===t&&(C=oy());_!==t?(n.charCodeAt(E)===62?(C=W6,E++):(C=t,x===0&&Q(Y6)),C!==t?(ye=h,A=AV(_),h=A):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;return h}function jg(){let h,A,_,C,B;if(h=E,A=[],_=E,C=E,x++,n.charCodeAt(E)===62?(B=W6,E++):(B=t,x===0&&Q(Y6)),B===t&&(n.charCodeAt(E)===60?(B=H6,E++):(B=t,x===0&&Q(z6))),x--,B===t?C=void 0:(E=C,C=t),C!==t?(n.length>E?(B=n.charAt(E),E++):(B=t,x===0&&Q(zr)),B!==t?(ye=_,C=o(B),_=C):(E=_,_=t)):(E=_,_=t),_!==t)for(;_!==t;)A.push(_),_=E,C=E,x++,n.charCodeAt(E)===62?(B=W6,E++):(B=t,x===0&&Q(Y6)),B===t&&(n.charCodeAt(E)===60?(B=H6,E++):(B=t,x===0&&Q(z6))),x--,B===t?C=void 0:(E=C,C=t),C!==t?(n.length>E?(B=n.charAt(E),E++):(B=t,x===0&&Q(zr)),B!==t?(ye=_,C=o(B),_=C):(E=_,_=t)):(E=_,_=t);else A=t;return A!==t&&(ye=h,A=K6(A)),h=A,h}function Cj(){let h,A,_,C;if(h=E,n.charCodeAt(E)===34?(A=Vd,E++):(A=t,x===0&&Q(jd)),A!==t){for(_=[],C=qg();C!==t;)_.push(C),C=qg();_!==t?(n.charCodeAt(E)===34?(C=Vd,E++):(C=t,x===0&&Q(jd)),C!==t?(ye=h,A=TV(_),h=A):(E=h,h=t)):(E=h,h=t)}else E=h,h=t;return h}function qg(){let h,A,_;return h=Nj(),h===t&&(h=E,A=E,x++,n.charCodeAt(E)===34?(_=Vd,E++):(_=t,x===0&&Q(jd)),_===t&&(_=Ij()),x--,_===t?A=void 0:(E=A,A=t),A!==t?(_=Rj(),_!==t?(ye=h,A=bV(),h=A):(E=h,h=t)):(E=h,h=t),h===t&&(h=Oj())),h}function Nj(){let h,A,_,C;return h=E,A=E,n.charCodeAt(E)===92?(_=Tg,E++):(_=t,x===0&&Q(bg)),_!==t?(n.length>E?(C=n.charAt(E),E++):(C=t,x===0&&Q(zr)),C!==t?(_=[_,C],A=_):(E=A,A=t)):(E=A,A=t),A!==t&&(ye=h,A=SV(A)),h=A,h}function Oj(){let h,A,_;return h=E,n.charCodeAt(E)===92?(A=Tg,E++):(A=t,x===0&&Q(bg)),A!==t?(_=wj(),_!==t?(ye=h,A=DV(),h=A):(E=h,h=t)):(E=h,h=t),h}function Ij(){let h;return _V.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(FV)),h}function wj(){let h;return x++,n.charCodeAt(E)===10?(h=NV,E++):(h=t,x===0&&Q(OV)),h===t&&(n.substr(E,2)===Sg?(h=Sg,E+=2):(h=t,x===0&&Q(IV)),h===t&&(n.charCodeAt(E)===13?(h=wV,E++):(h=t,x===0&&Q(RV)),h===t&&(n.charCodeAt(E)===8232?(h=BV,E++):(h=t,x===0&&Q(LV)),h===t&&(n.charCodeAt(E)===8233?(h=PV,E++):(h=t,x===0&&Q(xV)))))),x--,h===t&&x===0&&Q(CV),h}function Rj(){let h;return n.length>E?(h=n.charAt(E),E++):(h=t,x===0&&Q(zr)),h}function cn(){let h,A;for(x++,h=[],A=t0();A!==t;)h.push(A),A=t0();return x--,h===t&&(A=t,x===0&&Q(kV)),h}function Ct(){let h,A;for(x++,h=[],A=t0(),A===t&&(A=ho());A!==t;)h.push(A),A=t0(),A===t&&(A=ho());return x--,h===t&&(A=t,x===0&&Q($V)),h}function ho(){let h;return VV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(jV)),h}function t0(){let h;return qV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(MV)),h}function Bj(){let h;return h=$j(),h===t&&(h=Lj(),h===t&&(h=kj(),h===t&&(h=Pj(),h===t&&(h=xj(),h===t&&(h=Vj()))))),h}function Lj(){let h;return UV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(GV)),h}function Pj(){let h;return QV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(KV)),h}function xj(){let h;return HV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(zV)),h}function kj(){let h;return WV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(YV)),h}function $j(){let h;return JV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(XV)),h}function Vj(){let h;return ZV.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(ej)),h}function jj(){let h;return tj.test(n.charAt(E))?(h=n.charAt(E),E++):(h=t,x===0&&Q(nj)),h}function sy(h){let A=h.trim(),_=A.match(/\n([\t ]+|(?!\s).)/g);if(_){let C=_.map($=>$.match(/[\t ]/g)?.length??0),B=new RegExp(` [ ]{${Math.min(...C)}}`,"g");return A.replace(B,` `)}return A}let Mg=[],bn=new gd({locationFunction:X6});if(X1=a(),X1!==t&&E===n.length)return X1;throw X1!==t&&E$/ms.test(t)?Je("Attribute",{key:Je("Literal",{value:n,quoted:!1},[]),value:Je("Literal",{value:t.slice(1,t.length-1),quoted:"html"},[])},[]):Je("Attribute",{key:Je("Literal",{value:n,quoted:!1},[]),value:Je("Literal",{value:e,quoted:!0},[])},[])}return Je("Attribute",{key:Je("Literal",{value:n,quoted:!1},[]),value:Je("Literal",{value:String(e),quoted:!1},[])},[])}function Lu(n,e){return Je("Comment",{kind:e,value:n},[])}function JP(n,e){return Array.from(function*(){for(let[t,i]of e.values)yield h6(t,i);for(let t of Object.values(e.attributes))t.size>0&&(t.comment&&(yield Lu(t.comment,n.commentKind)),yield n.convert(t));for(let t of e.nodes)t.comment&&(yield Lu(t.comment,n.commentKind)),yield n.convert(t);for(let t of e.subgraphs)t.comment&&(yield Lu(t.comment,n.commentKind)),yield n.convert(t);for(let t of e.edges)t.comment&&(yield Lu(t.comment,n.commentKind)),yield n.convert(t)}())}var fme={match(n){return n.$$type==="AttributeList"},convert(n,e){return Je("AttributeList",{kind:e.$$kind},e.values.map(([t,i])=>h6(t,i)))}},hme={match(n){return n.$$type==="Edge"},convert(n,e){return Je("Edge",{targets:e.targets.map(t=>a6.isNodeModel(t)?Je("NodeRef",{id:Je("Literal",{value:t.id,quoted:!0},[])},[]):a6.isForwardRefNode(t)?Je("NodeRef",{id:Je("Literal",{value:t.id,quoted:!0},[]),port:t.port?Je("Literal",{value:t.port,quoted:!0},[]):void 0,compass:t.compass?Je("Literal",{value:t.compass,quoted:!0},[]):void 0},[]):Je("NodeRefGroup",{},t.map(i=>a6.isNodeModel(i)?Je("NodeRef",{id:Je("Literal",{value:i.id,quoted:!0},[])},[]):Je("NodeRef",{id:Je("Literal",{value:i.id,quoted:!0},[]),port:i.port?Je("Literal",{value:i.port,quoted:!0},[]):void 0,compass:i.compass?Je("Literal",{value:i.compass,quoted:!0},[]):void 0},[]))))},[...e.attributes.comment?[Lu(e.attributes.comment,n.commentKind)]:[],...e.attributes.values.map(([t,i])=>h6(t,i))])}},mme={match(n){return n.$$type==="Graph"},convert(n,e){return Je("Dot",{},[...e.comment?[Lu(e.comment,n.commentKind)]:[],Je("Graph",{directed:e.directed,strict:e.strict,id:e.id?Je("Literal",{value:e.id,quoted:!0},[]):void 0},JP(n,e))])}},yme={match(n){return n.$$type==="Node"},convert(n,e){return Je("Node",{id:Je("Literal",{value:e.id,quoted:!0},[])},[...e.attributes.comment?[Lu(e.attributes.comment,n.commentKind)]:[],...e.attributes.values.map(([t,i])=>h6(t,i))])}},vme={match(n){return n.$$type==="Subgraph"},convert(n,e){return Je("Subgraph",{id:e.id?Je("Literal",{value:e.id,quoted:!0},[]):void 0},JP(n,e))}},Eme=[fme,hme,yme,mme,vme],f6,p6=class{constructor(e={}){vt(this,"options");Ds(this,f6,[...Eme]);this.options=e}convert(e){let t=[...Et(this,f6)],{commentKind:i="Slash"}=this.options,r={commentKind:i,convert(a){for(let o of t)if(o.match(a))return o.convert(r,a);throw Error()}};return r.convert(e)}};f6=new WeakMap;function gme(n,e){return new p6(e).convert(n)}var d6=class{constructor(){vt(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()}},Ame={match(n){return n.type==="Dot"},convert(n,e){let t=new d6;for(let i of e.children)switch(i.type){case"Comment":t.set(i);break;case"Graph":let r=n.convert(i);return t.apply(r,i.location),r}throw Error()}};function XP(n){return n.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 Tme={match(n){return n.type==="Edge"},convert(n,e){return new n.models.Edge(XP(e),e.children.filter(i=>i.type==="Attribute").reduce((i,r)=>({...i,[r.key.value]:r.value.value}),{}))}};function R5(n,e){let t=new d6;for(let i of e)switch(i.type){case"Subgraph":let r=i.id?n.subgraph(i.id.value):n.subgraph();R5(r,i.children),t.apply(r,i.location);break;case"Attribute":n.set(i.key.value,i.value.value),t.reset();break;case"Node":t.apply(n.node(i.id.value,i.children.filter(o=>o.type==="Attribute").reduce((o,s)=>({...o,[s.key.value]:s.value.value}),{})),i.location);break;case"Edge":t.apply(n.edge(XP(i),i.children.filter(o=>o.type==="Attribute").reduce((o,s)=>({...o,[s.key.value]:s.value.value}),{})),i.location);break;case"AttributeList":let a=i.children.filter(o=>o.type==="Attribute").reduce((o,s)=>({...o,[s.key.value]:s.value.value}),{});switch(i.kind){case"Edge":n.edge(a);break;case"Node":n.node(a);break;case"Graph":n.graph(a);break}t.reset();break;case"Comment":t.set(i)}}var bme={match(n){return n.type==="Graph"},convert(n,e){let t=e.directed?n.models.Digraph:n.models.Graph,i=new t(e.id?.value,e.strict);return R5(i,e.children),i}},Sme={match(n){return n.type==="Subgraph"},convert(n,e){let t=new n.models.Subgraph(e.id?.value);return R5(t,e.children),t}},Dme={match(n){return n.type==="Node"},convert(n,e){return new n.models.Node(e.id.value,e.children.filter(i=>i.type==="Attribute").reduce((i,r)=>({...i,[r.key.value]:r.value.value}),{}))}},_me=[Dme,Tme,Sme,bme,Ame],l6=class{constructor(e={}){vt(this,"options");vt(this,"plugins",[..._me]);this.options=e}convert(e){let t=[...this.plugins],i={models:a6.createModelsContext(this.options.models??{}),convert(r){for(let a of t)if(a.match(r))return a.convert(i,r);throw Error()}};return i.convert(e)}};function Fme(n,e){return new l6(e).convert(n)}Qr.Builder=gd;Qr.DotSyntaxError=cme;Qr.FromModelConverter=p6;Qr.Printer=u6;Qr.ToModelConverter=l6;Qr.createElement=Je;Qr.fromModel=gme;Qr.parse=lme;Qr.stringify=ume;Qr.toModel=Fme});var nx=T(ln=>{"use strict";f();c();var Ra=i6(),m6=ZP(),Cme=new Proxy(Object.freeze({}),{get:(n,e)=>e}),Td=class{},oo,bd=class extends Td{constructor(t){super();Ds(this,oo,new Map);t!==void 0&&this.apply(t)}get values(){return Array.from(Et(this,oo).entries())}get size(){return Et(this,oo).size}get(t){return Et(this,oo).get(t)}set(t,i){i!=null&&Et(this,oo).set(t,i)}delete(t){Et(this,oo).delete(t)}apply(t){let i=Array.isArray(t)?t:Object.entries(t);for(let[r,a]of i)this.set(r,a)}clear(){Et(this,oo).clear()}};oo=new WeakMap;var Ad=class extends bd{constructor(t,i){super(i);vt(this,"$$kind");vt(this,"comment");this.$$kind=t}get $$type(){return"AttributeList"}},ms,wn,C1=class extends bd{constructor(){super(...arguments);Ds(this,ms,Ra.RootModelsContext);vt(this,"id");vt(this,"comment");vt(this,"attributes",Object.freeze({graph:new Ad("Graph"),edge:new Ad("Edge"),node:new Ad("Node")}));Ds(this,wn,{nodes:new Map,edges:new Set,subgraphs:new Set})}get nodes(){return Array.from(Et(this,wn).nodes.values())}get edges(){return Array.from(Et(this,wn).edges.values())}get subgraphs(){return Array.from(Et(this,wn).subgraphs.values())}with(t){Kg(this,ms,Ra.createModelsContext(t))}addNode(t){Et(this,wn).nodes.set(t.id,t)}addEdge(t){Et(this,wn).edges.add(t)}addSubgraph(t){Et(this,wn).subgraphs.add(t)}existNode(t){return Et(this,wn).nodes.has(t)}existEdge(t){return Et(this,wn).edges.has(t)}existSubgraph(t){return Et(this,wn).subgraphs.has(t)}createSubgraph(...t){let i=new(Et(this,ms)).Subgraph(...t);return i.with(Et(this,ms)),this.addSubgraph(i),i}removeNode(t){Et(this,wn).nodes.delete(typeof t=="string"?t:t.id)}removeEdge(t){Et(this,wn).edges.delete(t)}removeSubgraph(t){Et(this,wn).subgraphs.delete(t)}createNode(t,i){let r=new(Et(this,ms)).Node(t,i);return this.addNode(r),r}getSubgraph(t){return Array.from(Et(this,wn).subgraphs.values()).find(i=>i.id===t)}getNode(t){return Et(this,wn).nodes.get(t)}createEdge(t,i){let r=t.map(o=>Ra.isNodeRefGroupLike(o)?Ra.toNodeRefGroup(o):Ra.toNodeRef(o)),a=new(Et(this,ms)).Edge(r,i);return this.addEdge(a),a}subgraph(...t){let i=t.find(s=>typeof s=="string"),r=t.find(s=>typeof s=="object"&&s!==null),a=t.find(s=>typeof s=="function"),o=i?this.getSubgraph(i)??this.createSubgraph(i):this.createSubgraph();return r!==void 0&&o.apply(r),a!==void 0&&a(o),o}node(t,...i){if(typeof t=="string"){let r=t,a=i.find(u=>typeof u=="object"&&u!==null),o=i.find(u=>typeof u=="function"),s=this.getNode(r)??this.createNode(r);return a!==void 0&&s.attributes.apply(a),o!==void 0&&o(s),s}typeof t=="object"&&t!==null&&this.attributes.node.apply(t)}edge(t,...i){if(Array.isArray(t)){let r=t,a=i.find(u=>typeof u=="object"),o=i.find(u=>typeof u=="function"),s=this.createEdge(r,a);return o!==void 0&&o(s),s}typeof t=="object"&&t!==null&&this.attributes.edge.apply(t)}graph(t){this.attributes.graph.apply(t)}};ms=new WeakMap,wn=new WeakMap;var N1=class extends C1{constructor(...t){super();vt(this,"id");vt(this,"strict");this.id=t.find(r=>typeof r=="string"),this.strict=t.find(r=>typeof r=="boolean")??!1;let i=t.find(r=>typeof r=="object"&&r!==null);i!==void 0&&this.apply(i)}get $$type(){return"Graph"}},y6=class extends N1{get directed(){return!0}},v6=class extends N1{get directed(){return!1}},E6=class extends C1{constructor(...t){super();vt(this,"id");this.id=t.find(r=>typeof r=="string");let i=t.find(r=>typeof r=="object"&&r!==null);i!==void 0&&this.apply(i)}get $$type(){return"Subgraph"}isSubgraphCluster(){return typeof this.id=="string"?this.id.startsWith("cluster"):!1}},O1=class extends bd{constructor(){super(...arguments);vt(this,"comment")}},g6=class extends Td{constructor(t,i){super();vt(this,"id");vt(this,"comment");vt(this,"attributes");this.id=t,this.attributes=new O1(i)}get $$type(){return"Node"}port(t){return typeof t=="string"?{id:this.id,port:t}:{id:this.id,...t}}},A6=class extends Td{constructor(t,i){super();vt(this,"targets");vt(this,"comment");vt(this,"attributes");if(this.targets=t,t.length<2&&(Ra.isNodeRefLike(t[0])&&Ra.isNodeRefLike(t[1]))===!1)throw Error("The element of Edge target is missing or not satisfied as Edge target.");this.attributes=new O1(i)}get $$type(){return"Edge"}};Object.assign(Ra.RootModelsContext,{Graph:v6,Digraph:y6,Subgraph:E6,Node:g6,Edge:A6});function ex(n,e){return(...t)=>{let i=n?this.Digraph:this.Graph,r=t.find(u=>typeof u=="string"),a=t.find(u=>typeof u=="object"),o=t.find(u=>typeof u=="function"),s=new i(r,e,a);return s.with(this),typeof o=="function"&&o(s),s}}function T6(n,e=Ra.RootModelsContext){return Object.freeze({digraph:ex.call(e,!0,n),graph:ex.call(e,!1,n)})}var tx=T6(!1),Nme=tx.digraph,Ome=tx.graph,Ime=T6(!0);function wme(n){let e=Ra.createModelsContext(n);return Object.freeze({...T6(!1,e),strict:T6(!0,e)})}function Rme(n,e){let t=m6.fromModel(n,e?.convert);return m6.stringify(t,e?.print)}function Bme(n,e){let t=m6.parse(n,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 m6.toModel(t,e?.convert)}ln.AttributeList=Ad;ln.AttributesBase=bd;ln.AttributesGroup=O1;ln.Digraph=y6;ln.DotObject=Td;ln.Edge=A6;ln.Graph=v6;ln.GraphBase=C1;ln.Node=g6;ln.RootGraph=N1;ln.Subgraph=E6;ln.attribute=Cme;ln.digraph=Nme;ln.fromDot=Bme;ln.graph=Ome;ln.strict=Ime;ln.toDot=Rme;ln.withContext=wme});var ax=T(I1=>{"use strict";f();c();var ix=i6(),rx=nx();Object.keys(ix).forEach(function(n){n!=="default"&&!I1.hasOwnProperty(n)&&Object.defineProperty(I1,n,{enumerable:!0,get:function(){return ix[n]}})});Object.keys(rx).forEach(function(n){n!=="default"&&!I1.hasOwnProperty(n)&&Object.defineProperty(I1,n,{enumerable:!0,get:function(){return rx[n]}})})});var ux=T(ys=>{"use strict";f();c();Object.defineProperty(ys,"__esModule",{value:!0});ys.pickHighlights=ys.groupToDot=ys.toDot=void 0;var ox=ss(),ti=ax(),Lme=_1();function Pme(n,e){let t=(0,ti.digraph)(n.name);return sx(n,t,e),(0,ti.toDot)(t)}ys.toDot=Pme;function xme(n,e,t=new Map){let i=(0,ti.digraph)(n);for(let[r,a]of e.entries()){let o=i.createSubgraph(`cluster_${r}`,{[ti.attribute.label]:`${r}`,[ti.attribute.style]:"filled",[ti.attribute.color]:"grey95"});sx(a,o,t.get(r))}return(0,ti.toDot)(i)}ys.groupToDot=xme;function sx(n,e,t){let i=Vme(n,e,t?.noTerminal);jme(i,t?.highlightedPaths)}var kme=["blue","darkgreen","red","yellow","orange","lightseagreen"];function $me(n,e=[]){let t=kme.filter(i=>!e.includes(i));return n.map((i,r)=>({path:i,color:t[r%t.length]}))}ys.pickHighlights=$me;function Vme(n,e,t=!1){let i=new Map;for(let u of n.sources.keys())u!=n.name&&i.set(u,e.createSubgraph(`cluster_${u}`,{[ti.attribute.label]:`Subgraph "${u}"`,[ti.attribute.color]:"black",[ti.attribute.style]:""}));let r=function(u){let p=o.getVertexState(u);if(p)return p;let d;return u.source==n.name?d=e.createNode(u.type.name):d=i.get(u.source).createNode(`${u.type.name}@${u.source}`),o.setVertexState(u,d),d},a=function(u,p){return u.source==p.source&&u.source!=n.name?i.get(u.source):e},o=new ox.QueryGraphState,s=function(u){let p=u.head,d=u.tail;if(t&&n.isTerminal(d))return!1;let l=r(p),m=r(d),y={[ti.attribute.label]:u.label()};return o.setEdgeState(u,a(p,d).createEdge([l,m],y)),!0};return(0,ox.simpleTraversal)(n,u=>{},s),o}function jme(n,e){e?.forEach(t=>qme(n,t))}function qme(n,e){(0,Lme.traversePath)(e.path,t=>{var i,r,a;for(let s of[(i=n.getVertexState(t.head))===null||i===void 0?void 0:i.attributes,(r=n.getVertexState(t.tail))===null||r===void 0?void 0:r.attributes])s?.set(ti.attribute.color,e.color),s?.set(ti.attribute.fontcolor,e.color);let o=(a=n.getEdgeState(t))===null||a===void 0?void 0:a.attributes;o?.set(ti.attribute.color,e.color),o?.set(ti.attribute.fontcolor,e.color)})}});var B5=T(b6=>{"use strict";f();c();Object.defineProperty(b6,"__esModule",{value:!0});b6.cachingConditionResolver=void 0;var Mme=qn(),Ume=_1(),Gme=ss();function Qme(n){let e=new Gme.QueryGraphState;return(t,i,r,a,o)=>{if((0,Mme.assert)(t.conditions||o,"Should not have been called for edge without conditions"),!i.isEmpty()||a.length>0||o)return n(t,i,r,a,o);let s=e.getEdgeState(t);if(s){let[u,p]=s;return(0,Ume.sameExcludedDestinations)(p,r)?u:n(t,i,r,a,o)}else{let u=n(t,i,r,a,o);return e.setEdgeState(t,[u,r]),u}}}b6.cachingConditionResolver=Qme});var dx=T(S6=>{"use strict";f();c();Object.defineProperty(S6,"__esModule",{value:!0});S6.simpleValidationConditionResolver=void 0;var Sd=_1(),Kme=B5(),w1=class{constructor(e,t){this.selection=e,this.subgraphOptions=t}advance(e){let t=[];for(let i of this.subgraphOptions){let r=(0,Sd.advanceSimultaneousPathsWithOperation)(e,i,this.selection.element,new Map);r&&t.push(...r)}return t.length===0?null:this.selection.selectionSet?this.selection.selectionSet.selections().map(i=>new w1(i,t)):[]}toString(){return`${this.selection} <=> ${(0,Sd.advanceOptionsToString)(this.subgraphOptions)}`}};function px({supergraph:n,queryGraph:e,withCaching:t}){let i=(r,a,o,s,u)=>{let p=u??r.conditions;s=(0,Sd.addConditionExclusion)(s,p);let d=Sd.GraphPath.create(e,r.head),l=[new Sd.SimultaneousPathsWithLazyIndirectPaths([d],a,px({supergraph:n,queryGraph:e,withCaching:t}),o,s,new Map)],m=[];for(let y of p.selections())m.push(new w1(y,l));for(;m.length>0;){let v=m.pop().advance(n);if(v===null)return Sd.unsatisfiedConditionsResolution;v.forEach(g=>m.push(g))}return{satisfied:!0,cost:1}};return t?(0,Kme.cachingConditionResolver)(i):i}S6.simpleValidationConditionResolver=px});var lx=T(D6=>{"use strict";f();c();Object.defineProperty(D6,"__esModule",{value:!0});D6.MermaidGraph=void 0;var R1=ss(),L5=class{constructor(e,t={}){this.graph=e,this.options=t,this.before=[],this.after=[],this.subgraphs=new Map,this.isBuilt=!1;for(let i of e.sources.keys())i===this.graph.name||i===R1.FEDERATED_GRAPH_ROOT_SOURCE||this.subgraphs.set(i,[])}subgraphName(e){if(!(e.source===this.graph.name||e.source===R1.FEDERATED_GRAPH_ROOT_SOURCE))return e.source}vertexName(e){if((0,R1.isFederatedGraphRootType)(e.type))return`root-${e.type.name.slice(1,e.type.name.length-1)}`;let t=this.subgraphName(e),i=t?`${e.type.name}-${t}`:`${e.type.name}`;return e.provideId?`${i}-${e.provideId}`:i}addVertex(e){let t=this.subgraphName(e),i=t?this.subgraphs.get(t):this.before;(0,R1.isFederatedGraphRootType)(e.type)?i.push(`${this.vertexName(e)}(["root(${e.type.name.slice(1,e.type.name.length)})"])`):i.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 i=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,o=e.label();return o.length===0?a.push(`${i} --> ${r}`):a.push(`${i} -->|"${o}"| ${r}`),!0}build(){this.isBuilt||((0,R1.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,i]of this.subgraphs.entries())e.push(` subgraph ${t}`),i.forEach(r=>e.push(" "+r)),e.push(" end");return this.after.forEach(t=>e.push(" "+t)),e.join(` `)}};D6.MermaidGraph=L5});var P5=T(ni=>{"use strict";f();c();var Hme=ni&&ni.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=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(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),so=ni&&ni.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Hme(e,n,t)};Object.defineProperty(ni,"__esModule",{value:!0});so(ss(),ni);so(_1(),ni);so(T5(),ni);so(ux(),ni);so(S2(),ni);so(J2(),ni);so(B5(),ni);so(dx(),ni);so(lx(),ni)});var x5=T(mi=>{"use strict";f();c();Object.defineProperty(mi,"__esModule",{value:!0});mi.evaluateCondition=mi.removeConditionsFromSelectionSet=mi.updatedConditions=mi.conditionsOfSelectionSet=mi.mergeConditions=mi.isConstantCondition=void 0;var ku=qn(),zme=P5();function Ba(n){return typeof n=="boolean"}mi.isConstantCondition=Ba;function hx(n,e){if(Ba(n))return n?e:!1;if(Ba(e))return e?n:!1;let t=[...n];for(let i of e){let r=n.find(a=>a.variable.name===i.variable.name);if(r){if(r.negated!==i.negated)return!1}else t.push(i)}return t}mi.mergeConditions=hx;function Wme(n,e){return Ba(n)?Ba(e)&&n===e:Ba(e)?!1:n.length===e.length&&n.every(t=>e.some(i=>t.variable.name===i.variable.name&&t.negated===i.negated))}function mx(n){let e=n.selections();if(e.length===0)return!1;let t=cx(e[0]);for(let i=1;ii.variable.name===a.variable.name);if(r){if(i.negated!==r.negated)return!1}else t.push(i)}return(0,ku.isNonEmptyArray)(t)?t:!0}mi.updatedConditions=Jme;function yx(n,e){return Ba(e)?n:n.lazyMap(t=>{let i=Xme(t.element,e);if(t.selectionSet){let r=yx(t.selectionSet,e);return i===t.element?r===t.selectionSet?t:t.withUpdatedSelectionSet(r):(0,ku.selectionOfElement)(i,r)}else return i===t.element?t:(0,ku.selectionOfElement)(i)})}mi.removeConditionsFromSelectionSet=yx;function Xme(n,e){let t=n.appliedDirectives.filter(i=>!fx(i,e,"include")&&!fx(i,e,"skip"));return t.length===n.appliedDirectives.length?n:n.withUpdatedDirectives(t)}function fx(n,e,t){if(n.name!==t)return!1;let i=n.arguments().if;return!(0,ku.isVariable)(i)||e.some(r=>r.variable.name===i.name&&r.negated===(t==="skip"))}function Zme(n,e,t){var i;let r=n.condition,a=t?t[r]:void 0;return a===void 0&&(a=(i=e.definition(r))===null||i===void 0?void 0:i.defaultValue),(0,ku.assert)(a!==void 0,()=>`Missing value for variable $${r} (and no default found)`),(0,ku.assert)(typeof a=="boolean",()=>`Invalid non-boolean value ${a} for Boolean! variable $${r}`),a}mi.evaluateCondition=Zme});var Ex=T(_6=>{"use strict";f();c();var vx;Object.defineProperty(_6,"__esModule",{value:!0});_6.PrefixingKeyValueCache=void 0;var k5=Symbol("prefixesAreUnnecessaryForIsolation"),B1=class{constructor(e,t){this.wrapped=e,B1.prefixesAreUnnecessaryForIsolation(e)?(this.prefix="",this[k5]=!0):this.prefix=t}get(e){return this.wrapped.get(this.prefix+e)}set(e,t,i){return this.wrapped.set(this.prefix+e,t,i)}delete(e){return this.wrapped.delete(this.prefix+e)}static prefixesAreUnnecessaryForIsolation(e){return k5 in e}static cacheDangerouslyDoesNotNeedPrefixesForIsolation(e){return new $5(e)}};_6.PrefixingKeyValueCache=B1;var $5=class{constructor(e){this.wrapped=e,this[vx]=!0}get(e){return this.wrapped.get(e)}set(e,t,i){return this.wrapped.set(e,t,i)}delete(e){return this.wrapped.delete(e)}};vx=k5});var Sx=T((NCe,bx)=>{f();c();var L1=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,e2e=typeof AbortController=="function",F6=e2e?AbortController:class{constructor(){this.signal=new gx}abort(e=new Error("This operation was aborted")){this.signal.reason=this.signal.reason||e,this.signal.aborted=!0,this.signal.dispatchEvent({type:"abort",target:this.signal})}},t2e=typeof AbortSignal=="function",n2e=typeof F6.AbortSignal=="function",gx=t2e?AbortSignal:n2e?F6.AbortController:class{constructor(){this.reason=void 0,this.aborted=!1,this._listeners=[]}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,this.onabort(e),this._listeners.forEach(t=>t(e),this))}onabort(){}addEventListener(e,t){e==="abort"&&this._listeners.push(t)}removeEventListener(e,t){e==="abort"&&(this._listeners=this._listeners.filter(i=>i!==t))}},M5=new Set,V5=(n,e)=>{let t=`LRU_CACHE_OPTION_${n}`;C6(t)&&U5(t,`${n} option`,`options.${e}`,uo)},j5=(n,e)=>{let t=`LRU_CACHE_METHOD_${n}`;if(C6(t)){let{prototype:i}=uo,{get:r}=Object.getOwnPropertyDescriptor(i,n);U5(t,`${n} method`,`cache.${e}()`,r)}},i2e=(n,e)=>{let t=`LRU_CACHE_PROPERTY_${n}`;if(C6(t)){let{prototype:i}=uo,{get:r}=Object.getOwnPropertyDescriptor(i,n);U5(t,`${n} property`,`cache.${e}`,r)}},Ax=(...n)=>{typeof process=="object"&&process&&typeof process.emitWarning=="function"?process.emitWarning(...n):console.error(...n)},C6=n=>!M5.has(n),U5=(n,e,t,i)=>{M5.add(n);let r=`The ${e} is deprecated. Please use ${t} instead.`;Ax(r,"DeprecationWarning",n,i)},vs=n=>n&&n===Math.floor(n)&&n>0&&isFinite(n),Tx=n=>vs(n)?n<=Math.pow(2,8)?Uint8Array:n<=Math.pow(2,16)?Uint16Array:n<=Math.pow(2,32)?Uint32Array:n<=Number.MAX_SAFE_INTEGER?Dd:null:null,Dd=class extends Array{constructor(e){super(e),this.fill(0)}},q5=class{constructor(e){if(e===0)return[];let t=Tx(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},uo=class{constructor(e={}){let{max:t=0,ttl:i,ttlResolution:r=1,ttlAutopurge:a,updateAgeOnGet:o,updateAgeOnHas:s,allowStale:u,dispose:p,disposeAfter:d,noDisposeOnSet:l,noUpdateTTL:m,maxSize:y=0,maxEntrySize:v=0,sizeCalculation:g,fetchMethod:b,fetchContext:D,noDeleteOnFetchRejection:R,noDeleteOnStaleGet:N,allowStaleOnFetchRejection:L,allowStaleOnFetchAbort:k,ignoreFetchAbort:K}=e,{length:Y,maxAge:H,stale:P}=e instanceof uo?{}:e;if(t!==0&&!vs(t))throw new TypeError("max option must be a nonnegative integer");let G=t?Tx(t):Array;if(!G)throw new Error("invalid max value: "+t);if(this.max=t,this.maxSize=y,this.maxEntrySize=v||this.maxSize,this.sizeCalculation=g||Y,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=b||null,this.fetchMethod&&typeof this.fetchMethod!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=D,!this.fetchMethod&&D!==void 0)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(t).fill(null),this.valList=new Array(t).fill(null),this.next=new G(t),this.prev=new G(t),this.head=0,this.tail=0,this.free=new q5(t),this.initialFill=1,this.size=0,typeof p=="function"&&(this.dispose=p),typeof d=="function"?(this.disposeAfter=d,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!l,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!R,this.allowStaleOnFetchRejection=!!L,this.allowStaleOnFetchAbort=!!k,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(this.maxSize!==0&&!vs(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!vs(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!u||!!P,this.noDeleteOnStaleGet=!!N,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!s,this.ttlResolution=vs(r)||r===0?r:1,this.ttlAutopurge=!!a,this.ttl=i||H||0,this.ttl){if(!vs(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(this.max===0&&this.ttl===0&&this.maxSize===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){let fe="LRU_CACHE_UNBOUNDED";C6(fe)&&(M5.add(fe),Ax("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",fe,uo))}P&&V5("stale","allowStale"),H&&V5("maxAge","ttl"),Y&&V5("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new Dd(this.max),this.starts=new Dd(this.max),this.setItemTTL=(i,r,a=L1.now())=>{if(this.starts[i]=r!==0?a:0,this.ttls[i]=r,r!==0&&this.ttlAutopurge){let o=setTimeout(()=>{this.isStale(i)&&this.delete(this.keyList[i])},r+1);o.unref&&o.unref()}},this.updateItemAge=i=>{this.starts[i]=this.ttls[i]!==0?L1.now():0},this.statusTTL=(i,r)=>{i&&(i.ttl=this.ttls[r],i.start=this.starts[r],i.now=e||t(),i.remainingTTL=i.now+i.ttl-i.start)};let e=0,t=()=>{let i=L1.now();if(this.ttlResolution>0){e=i;let r=setTimeout(()=>e=0,this.ttlResolution);r.unref&&r.unref()}return i};this.getRemainingTTL=i=>{let r=this.keyMap.get(i);return r===void 0?0:this.ttls[r]===0||this.starts[r]===0?1/0:this.starts[r]+this.ttls[r]-(e||t())},this.isStale=i=>this.ttls[i]!==0&&this.starts[i]!==0&&(e||t())-this.starts[i]>this.ttls[i]}updateItemAge(e){}statusTTL(e,t){}setItemTTL(e,t,i){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new Dd(this.max),this.removeItemSize=e=>{this.calculatedSize-=this.sizes[e],this.sizes[e]=0},this.requireSize=(e,t,i,r)=>{if(this.isBackgroundFetch(t))return 0;if(!vs(i))if(r){if(typeof r!="function")throw new TypeError("sizeCalculation must be a function");if(i=r(t,e),!vs(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.addItemSize=(e,t,i)=>{if(this.sizes[e]=t,this.maxSize){let r=this.maxSize-this.sizes[e];for(;this.calculatedSize>r;)this.evict(!0)}this.calculatedSize+=this.sizes[e],i&&(i.entrySize=t,i.totalCalculatedSize=this.calculatedSize)}}removeItemSize(e){}addItemSize(e,t){}requireSize(e,t,i,r){if(i||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;!(!this.isValidIndex(t)||((e||!this.isStale(t))&&(yield t),t===this.head));)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;!(!this.isValidIndex(t)||((e||!this.isStale(t))&&(yield t),t===this.tail));)t=this.next[t]}isValidIndex(e){return e!==void 0&&this.keyMap.get(this.keyList[e])===e}*entries(){for(let e of this.indexes())this.valList[e]!==void 0&&this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield[this.keyList[e],this.valList[e]])}*rentries(){for(let e of this.rindexes())this.valList[e]!==void 0&&this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield[this.keyList[e],this.valList[e]])}*keys(){for(let e of this.indexes())this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.keyList[e])}*rkeys(){for(let e of this.rindexes())this.keyList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.keyList[e])}*values(){for(let e of this.indexes())this.valList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.valList[e])}*rvalues(){for(let e of this.rindexes())this.valList[e]!==void 0&&!this.isBackgroundFetch(this.valList[e])&&(yield this.valList[e])}[Symbol.iterator](){return this.entries()}find(e,t){for(let i of this.indexes()){let r=this.valList[i],a=this.isBackgroundFetch(r)?r.__staleWhileFetching:r;if(a!==void 0&&e(a,this.keyList[i],this))return this.get(this.keyList[i],t)}}forEach(e,t=this){for(let i of this.indexes()){let r=this.valList[i],a=this.isBackgroundFetch(r)?r.__staleWhileFetching:r;a!==void 0&&e.call(t,a,this.keyList[i],this)}}rforEach(e,t=this){for(let i of this.rindexes()){let r=this.valList[i],a=this.isBackgroundFetch(r)?r.__staleWhileFetching:r;a!==void 0&&e.call(t,a,this.keyList[i],this)}}get prune(){return j5("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(let t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){let e=[];for(let t of this.indexes({allowStale:!0})){let i=this.keyList[t],r=this.valList[t],a=this.isBackgroundFetch(r)?r.__staleWhileFetching:r;if(a===void 0)continue;let o={value:a};if(this.ttls){o.ttl=this.ttls[t];let s=L1.now()-this.starts[t];o.start=Math.floor(Date.now()-s)}this.sizes&&(o.size=this.sizes[t]),e.unshift([i,o])}return e}load(e){this.clear();for(let[t,i]of e){if(i.start){let r=Date.now()-i.start;i.start=L1.now()-r}this.set(t,i.value,i)}}dispose(e,t,i){}set(e,t,{ttl:i=this.ttl,start:r,noDisposeOnSet:a=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,status:p}={}){if(o=this.requireSize(e,t,o,s),this.maxEntrySize&&o>this.maxEntrySize)return p&&(p.set="miss",p.maxEntrySizeExceeded=!0),this.delete(e),this;let d=this.size===0?void 0:this.keyMap.get(e);if(d===void 0)d=this.newIndex(),this.keyList[d]=e,this.valList[d]=t,this.keyMap.set(e,d),this.next[this.tail]=d,this.prev[d]=this.tail,this.tail=d,this.size++,this.addItemSize(d,o,p),p&&(p.set="add"),u=!1;else{this.moveToTail(d);let l=this.valList[d];if(t!==l){if(this.isBackgroundFetch(l)?l.__abortController.abort(new Error("replaced")):a||(this.dispose(l,e,"set"),this.disposeAfter&&this.disposed.push([l,e,"set"])),this.removeItemSize(d),this.valList[d]=t,this.addItemSize(d,o,p),p){p.set="replace";let m=l&&this.isBackgroundFetch(l)?l.__staleWhileFetching:l;m!==void 0&&(p.oldValue=m)}}else p&&(p.set="update")}if(i!==0&&this.ttl===0&&!this.ttls&&this.initializeTTLTracking(),u||this.setItemTTL(d,i,r),this.statusTTL(p,d),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return this.size===0?this.tail:this.size===this.max&&this.max!==0?this.evict(!1):this.free.length!==0?this.free.pop():this.initialFill++}pop(){if(this.size){let e=this.valList[this.head];return this.evict(!0),e}}evict(e){let t=this.head,i=this.keyList[t],r=this.valList[t];return this.isBackgroundFetch(r)?r.__abortController.abort(new Error("evicted")):(this.dispose(r,i,"evict"),this.disposeAfter&&this.disposed.push([r,i,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(i),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas,status:i}={}){let r=this.keyMap.get(e);if(r!==void 0)if(this.isStale(r))i&&(i.has="stale",this.statusTTL(i,r));else return t&&this.updateItemAge(r),i&&(i.has="hit"),this.statusTTL(i,r),!0;else i&&(i.has="miss");return!1}peek(e,{allowStale:t=this.allowStale}={}){let i=this.keyMap.get(e);if(i!==void 0&&(t||!this.isStale(i))){let r=this.valList[i];return this.isBackgroundFetch(r)?r.__staleWhileFetching:r}}backgroundFetch(e,t,i,r){let a=t===void 0?void 0:this.valList[t];if(this.isBackgroundFetch(a))return a;let o=new F6;i.signal&&i.signal.addEventListener("abort",()=>o.abort(i.signal.reason));let s={signal:o.signal,options:i,context:r},u=(y,v=!1)=>{let{aborted:g}=o.signal,b=i.ignoreFetchAbort&&y!==void 0;return i.status&&(g&&!v?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,b&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),g&&!b&&!v?d(o.signal.reason):(this.valList[t]===m&&(y===void 0?m.__staleWhileFetching?this.valList[t]=m.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,y,s.options))),y)},p=y=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=y),d(y)),d=y=>{let{aborted:v}=o.signal,g=v&&i.allowStaleOnFetchAbort,b=g||i.allowStaleOnFetchRejection,D=b||i.noDeleteOnFetchRejection;if(this.valList[t]===m&&(!D||m.__staleWhileFetching===void 0?this.delete(e):g||(this.valList[t]=m.__staleWhileFetching)),b)return i.status&&m.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),m.__staleWhileFetching;if(m.__returned===m)throw y},l=(y,v)=>{this.fetchMethod(e,a,s).then(g=>y(g),v),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(y(),i.allowStaleOnFetchAbort&&(y=g=>u(g,!0)))})};i.status&&(i.status.fetchDispatched=!0);let m=new Promise(l).then(u,p);return m.__abortController=o,m.__staleWhileFetching=a,m.__returned=null,t===void 0?(this.set(e,m,{...s.options,status:void 0}),t=this.keyMap.get(e)):this.valList[t]=m,m}isBackgroundFetch(e){return e&&typeof e=="object"&&typeof e.then=="function"&&Object.prototype.hasOwnProperty.call(e,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(e,"__returned")&&(e.__returned===e||e.__returned===null)}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:s=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:p=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:l=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,fetchContext:v=this.fetchContext,forceRefresh:g=!1,status:b,signal:D}={}){if(!this.fetchMethod)return b&&(b.fetch="get"),this.get(e,{allowStale:t,updateAgeOnGet:i,noDeleteOnStaleGet:r,status:b});let R={allowStale:t,updateAgeOnGet:i,noDeleteOnStaleGet:r,ttl:a,noDisposeOnSet:o,size:s,sizeCalculation:u,noUpdateTTL:p,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:l,allowStaleOnFetchAbort:y,ignoreFetchAbort:m,status:b,signal:D},N=this.keyMap.get(e);if(N===void 0){b&&(b.fetch="miss");let L=this.backgroundFetch(e,N,R,v);return L.__returned=L}else{let L=this.valList[N];if(this.isBackgroundFetch(L)){let P=t&&L.__staleWhileFetching!==void 0;return b&&(b.fetch="inflight",P&&(b.returnedStale=!0)),P?L.__staleWhileFetching:L.__returned=L}let k=this.isStale(N);if(!g&&!k)return b&&(b.fetch="hit"),this.moveToTail(N),i&&this.updateItemAge(N),this.statusTTL(b,N),L;let K=this.backgroundFetch(e,N,R,v),Y=K.__staleWhileFetching!==void 0,H=Y&&t;return b&&(b.fetch=Y&&k?"stale":"refresh",H&&k&&(b.returnedStale=!0)),H?K.__staleWhileFetching:K.__returned=K}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:a}={}){let o=this.keyMap.get(e);if(o!==void 0){let s=this.valList[o],u=this.isBackgroundFetch(s);return this.statusTTL(a,o),this.isStale(o)?(a&&(a.get="stale"),u?(a&&(a.returnedStale=t&&s.__staleWhileFetching!==void 0),t?s.__staleWhileFetching:void 0):(r||this.delete(e),a&&(a.returnedStale=t),t?s:void 0)):(a&&(a.get="hit"),u?s.__staleWhileFetching:(this.moveToTail(o),i&&this.updateItemAge(o),s))}else a&&(a.get="miss")}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return j5("del","delete"),this.delete}delete(e){let t=!1;if(this.size!==0){let i=this.keyMap.get(e);if(i!==void 0)if(t=!0,this.size===1)this.clear();else{this.removeItemSize(i);let r=this.valList[i];this.isBackgroundFetch(r)?r.__abortController.abort(new Error("deleted")):(this.dispose(r,e,"delete"),this.disposeAfter&&this.disposed.push([r,e,"delete"])),this.keyMap.delete(e),this.keyList[i]=null,this.valList[i]=null,i===this.tail?this.tail=this.prev[i]:i===this.head?this.head=this.next[i]:(this.next[this.prev[i]]=this.next[i],this.prev[this.next[i]]=this.prev[i]),this.size--,this.free.push(i)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(let e of this.rindexes({allowStale:!0})){let t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort(new Error("deleted"));else{let i=this.keyList[e];this.dispose(t,i,"delete"),this.disposeAfter&&this.disposed.push([t,i,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return j5("reset","clear"),this.clear}get length(){return i2e("length","size"),this.size}static get AbortController(){return F6}static get AbortSignal(){return gx}};bx.exports=uo});var Dx=T(_d=>{"use strict";f();c();var r2e=_d&&_d.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(_d,"__esModule",{value:!0});_d.InMemoryLRUCache=void 0;var a2e=r2e(Sx()),P1=class{constructor(e){this.cache=new a2e.default({sizeCalculation:P1.sizeCalculation,maxSize:Math.pow(2,20)*30,...e})}static sizeCalculation(e){return typeof e=="string"?e.length:typeof e=="object"?buffer_shim.byteLength(JSON.stringify(e),"utf8"):1}async set(e,t,i){i?.ttl?this.cache.set(e,t,{ttl:i.ttl*1e3}):this.cache.set(e,t)}async get(e){return this.cache.get(e)}async delete(e){return this.cache.delete(e)}clear(){this.cache.clear()}keys(){return[...this.cache.keys()]}};_d.InMemoryLRUCache=P1});var _x=T(N6=>{"use strict";f();c();Object.defineProperty(N6,"__esModule",{value:!0});N6.ErrorsAreMissesCache=void 0;var G5=class{constructor(e,t){this.cache=e,this.logger=t}async get(e){try{return await this.cache.get(e)}catch(t){this.logger&&(t instanceof Error?this.logger.error(t.message):this.logger.error(t));return}}async set(e,t,i){return this.cache.set(e,t,i)}async delete(e){return this.cache.delete(e)}};N6.ErrorsAreMissesCache=G5});var Fx=T(Es=>{"use strict";f();c();Object.defineProperty(Es,"__esModule",{value:!0});Es.ErrorsAreMissesCache=Es.InMemoryLRUCache=Es.PrefixingKeyValueCache=void 0;var o2e=Ex();Object.defineProperty(Es,"PrefixingKeyValueCache",{enumerable:!0,get:function(){return o2e.PrefixingKeyValueCache}});var s2e=Dx();Object.defineProperty(Es,"InMemoryLRUCache",{enumerable:!0,get:function(){return s2e.InMemoryLRUCache}});var u2e=_x();Object.defineProperty(Es,"ErrorsAreMissesCache",{enumerable:!0,get:function(){return u2e.ErrorsAreMissesCache}})});var Cx=T(Fd=>{"use strict";f();c();Object.defineProperty(Fd,"__esModule",{value:!0});Fd.validateQueryPlannerConfig=Fd.enforceQueryPlannerConfigDefaults=void 0;var p2e=Fx();function d2e(n){return{exposeDocumentNodeInFetchNode:!1,reuseQueryFragments:!0,generateQueryFragments:!1,cache:new p2e.InMemoryLRUCache({maxSize:Math.pow(2,20)*50}),...n,incrementalDelivery:{enableDefer:!1,...n?.incrementalDelivery},debug:{bypassPlannerForSingleSubgraph:!1,maxEvaluatedPlans:1e4,pathsLimit:null,...n?.debug},typeConditionedFetching:n?.typeConditionedFetching||!1}}Fd.enforceQueryPlannerConfigDefaults=d2e;function l2e(n){if(n.debug.maxEvaluatedPlans<1)throw new Error(`Invalid value for query planning configuration "debug.maxEvaluatedPlans"; expected a number >= 1 but got ${n.debug.maxEvaluatedPlans}`)}Fd.validateQueryPlannerConfig=l2e});var Ox=T(I6=>{"use strict";f();c();Object.defineProperty(I6,"__esModule",{value:!0});I6.generateAllPlansAndFindBest=void 0;var O6=qn();function c2e({initial:n,toAdd:e,addFct:t,costFct:i,onPlan:r=()=>{}}){let a=[{partial:n,remaining:e,isRoot:!0,index:0}],o;for(;a.length>0;){let{partial:s,partialCost:u,remaining:p,isRoot:d,index:l}=a.pop();if(o!==void 0&&u!==void 0&&u>=o.cost)continue;let m=p[0],y=p.slice(1),v=f2e(l,m),{extracted:g,updatedChoices:b,isLast:D}=h2e(v,m);D||Nx({partial:s,remaining:[b].concat(y),isRoot:d,index:d&&l!==void 0&&l=e.length){for(let t=0;t`Invalid index ${n}`),n}function h2e(n,e){let t=e[n];(0,O6.assert)(t!==void 0,()=>`Index ${n} of ${e} is undefined`);let i=new Array(e.length),r=!0;for(let a=0;a{"use strict";f();c();Object.defineProperty(wd,"__esModule",{value:!0});wd.QueryPlanner=wd.compareOptionsComplexityOutOfContext=void 0;var I=qn(),Lt=P5(),gs=Pe(),Cd=x5(),Ix=Cx(),m2e=Ox(),y2e=d7(),An=(0,I.newDebugLogger)("plan"),J5="sibling_typename",v2e=1e3,E2e=100,g2e={onFetchGroup:n=>v2e+n.cost(),onConditions:(n,e)=>e,reduceParallel:n=>wx(n),reduceSequence:n=>Rx(n),reduceDeferred(n,e){return e},reduceDefer(n,e,t){return Rx([n,wx(t)])}};function wx(n){return O2e(n)}function Rx(n){return n.reduceRight((e,t,i)=>e+Math.max(1,i*E2e)*t,0)}function A2e(n){let e=(0,Lt.simultaneousPathsToString)(n.paths);return n.selection?`${e} -> ${n.selection}`:e}function Bx(n){return n.paths.map(e=>({path:e,selection:n.selection}))}function T2e(n){let e=new Set;for(let t of n)for(let i of t.paths)e.add(i.tail);return e}function b2e(n,e,t){let i,r=()=>(i===void 0&&(i=n.some(a=>a.kind==="FragmentElement"&&!!a.typeCondition&&t.has(a.typeCondition.name))),i);for(let a of e)if(a.hasReachableCrossSubgraphEdges||!(0,I.isCompositeType)(a.type)||!n.canRebaseOn(a.type)||r())return!1;return!0}function Kx(n,e){return n.length===1?e.length===1?Hx(n[0],e[0]):Lx(n[0],e):e.length===1?-Lx(e[0],n):0}wd.compareOptionsComplexityOutOfContext=Kx;function Hx(n,e){if(n.tail.source!==e.tail.source){let{thisJumps:t,thatJumps:i}=n.countSubgraphJumpsAfterLastCommonVertex(e);return t===0&&i>0?-1:t>0&&i===0?1:0}return 0}function Lx(n,e){for(let t of e)if(Hx(n,t)>=0)return 0;return-1}var j1=class{constructor(e,t,i,r,a,o,s,u,p=[],d=[]){var l;this.parameters=e,this.startFetchIdGen=i,this.hasDefers=r,this.rootKind=a,this.costFunction=o,this.closedBranches=[];let{root:m,federatedQueryGraph:y}=e;this.typeConditionedFetching=u||!1,this.isTopLevel=(0,Lt.isRootVertex)(m),this.optionsLimit=(l=e.config.debug)===null||l===void 0?void 0:l.pathsLimit,this.conditionResolver=(0,Lt.cachingConditionResolver)((b,D,R,N,L)=>this.resolveConditionPlan(b,D,R,N,L));let v=Lt.GraphPath.create(y,m),g=(0,Lt.createInitialOptions)(v,s,this.conditionResolver,p,d,e.overrideConditions);this.stack=$x(t,g)}debugStack(){if(this.isTopLevel&&An.enabled){An.group("Query planning open branches:");for(let[e,t]of this.stack)An.groupedValues(t,i=>`${(0,Lt.simultaneousPathsToString)(i)}`,`${e}:`);An.groupEnd()}}findBestPlan(){for(;this.stack.length>0;){this.debugStack();let[e,t]=this.stack.pop();this.handleOpenBranch(e,t)}return this.computeBestPlanFromClosedBranches(),this.bestPlan}recordClosedBranch(e){let t=this.maybeEliminateStrictlyMoreCostlyPaths(e);An.log(()=>`Closed branch has ${t.length} options (eliminated ${e.length-t.length} that could be proved as unecessary)`),this.closedBranches.push(t)}handleOpenBranch(e,t){let i=e.element;An.group(()=>`Handling open branch: ${i}`);let r=[];for(let a of t){let o=(0,Lt.advanceSimultaneousPathsWithOperation)(this.parameters.supergraphSchema,a,i,this.parameters.overrideConditions);if(o){if(o.length===0){i.kind==="FragmentElement"&&this.recordClosedBranch(t.map(s=>({paths:s.paths.map(u=>(0,Lt.terminateWithNonRequestedTypenameField)(u,this.parameters.overrideConditions))}))),An.groupEnd(()=>"Terminating branch with no possible results");return}if(r=r.concat(o),this.optionsLimit&&r.length>this.optionsLimit)throw new Error(`Too many options generated for ${e}, reached the limit of ${this.optionsLimit}`)}}if(r.length===0){if(this.isTopLevel)throw An.groupEnd(()=>`No valid options to advance ${e} from ${(0,Lt.advanceOptionsToString)(t)}`),new Error(`Was not able to find any options for ${e}: This shouldn't have happened.`);this.stack.splice(0,this.stack.length),this.closedBranches.splice(0,this.closedBranches.length),An.groupEnd(()=>`No possible plan for ${e} from ${(0,Lt.advanceOptionsToString)(t)}; terminating condition`);return}if(e.selectionSet){let a=T2e(r);if(b2e(e.selectionSet,a,this.parameters.inconsistentAbstractTypesRuntimes)&&!e.hasDefer()){let o=R6(sk(e.selectionSet));this.recordClosedBranch(r.map(s=>({paths:s.paths,selection:o})))}else for(let o of $x(e.selectionSet,r))this.stack.push(o);An.groupEnd()}else this.recordClosedBranch(r.map(a=>({paths:a.paths}))),An.groupEnd(()=>"Branch finished")}maybeEliminateStrictlyMoreCostlyPaths(e){if(e.length<=1)return e;let t=e.concat(),i=[];for(;t.length>=2;){let r=t[0],a=!0;for(let o=t.length-1;o>=1;o--){let s=t[o],u=Kx(r.paths,s.paths);if(u<0)t.splice(o,1);else if(u>0){t.splice(0,1),a=!1;break}}a&&(i.push(r),t.splice(0,1))}return t.length>0&&i.push(t[0]),i}newDependencyGraph(){let{supergraphSchema:e,federatedQueryGraph:t}=this.parameters,i=this.isTopLevel&&this.hasDefers?e.schemaDefinition.rootType(this.rootKind):void 0;return As.create(e,t,this.startFetchIdGen,i,this.parameters.config.generateQueryFragments)}reorderFirstBranch(){let e=this.closedBranches[0],t=1;for(;te.length;)t++;this.closedBranches[0]=this.closedBranches[t-1],this.closedBranches[t-1]=e}sortOptionsInClosedBranches(){this.closedBranches.forEach(e=>e.sort((t,i)=>{let r=Math.max(...t.paths.map(o=>o.subgraphJumps())),a=Math.max(...i.paths.map(o=>o.subgraphJumps()));return r-a}))}computeBestPlanFromClosedBranches(){if(this.closedBranches.length===0)return;this.sortOptionsInClosedBranches(),this.closedBranches.sort((m,y)=>m.length>y.length?-1:m.length`Query has ${e} possible plans`);let t=this.closedBranches[0],i=this.parameters.config.debug.maxEvaluatedPlans;for(;e>i&&t.length>1;){let m=BigInt(t.length);t.pop(),e-=e/m,this.reorderFirstBranch(),t=this.closedBranches[0],An.log(()=>`Reduced plans to consider to ${e} plans`)}this.parameters.statistics&&this.isTopLevel&&(this.parameters.statistics.evaluatedPlanCount+=Number(e)),An.log(()=>`All branches:${this.closedBranches.map((m,y)=>` ${y}:${m.map(v=>` - ${A2e(v)}`)}`)}`);let r=0;for(;r1;)r++;let a,o,{federatedQueryGraph:s,root:u}=this.parameters;if(r===this.closedBranches.length)a=Lt.PathTree.createOp(s,u),o=this.newDependencyGraph();else{let m=this.closedBranches.slice(r).flat().map(y=>Bx(y)).flat();if(a=Lt.PathTree.createFromOpPaths(s,u,m),o=this.updatedDependencyGraph(this.newDependencyGraph(),a),r===0){this.bestPlan=[o,a,this.cost(o)];return}}let p=this.closedBranches.slice(0,r).map(m=>m.map(y=>Lt.PathTree.createFromOpPaths(s,u,Bx(y)))),{best:d,cost:l}=(0,m2e.generateAllPlansAndFindBest)({initial:{graph:o,tree:a},toAdd:p,addFct:(m,y)=>{let v=m.graph.clone();this.updatedDependencyGraph(v,y);let g=m.tree.merge(y);return{graph:v,tree:g}},costFct:m=>this.cost(m.graph),onPlan:(m,y,v)=>{An.log(()=>v?y>v?`Ignoring plan with cost ${y} (a better plan with cost ${v} exists): ${m.tree}`:`Found better with cost ${y} (previous had cost ${v}: ${m.tree}`:`Computed plan with cost ${y}: ${m.tree}`)}});this.bestPlan=[d.graph,d.tree,l]}cost(e){let{main:t,deferred:i}=e.process(this.costFunction,this.rootKind);return i.length===0?t:this.costFunction.reduceDefer(t,e.deferTracking.primarySelection.get(),i)}updatedDependencyGraph(e,t){return(0,Lt.isRootPathTree)(t)?ak(e,t,this.rootKind,this.typeConditionedFetching):k2e(e,t,this.rootKind,this.typeConditionedFetching)}resolveConditionPlan(e,t,i,r,a){let o=new j1({...this.parameters,root:e.head},a??e.conditions,0,!1,"query",this.costFunction,t,this.typeConditionedFetching,i,(0,Lt.addConditionExclusion)(r,e.conditions)).findBestPlan();return o?{satisfied:!0,cost:o[2],pathTree:o[1]}:Lt.unsatisfiedConditionsResolution}},Px=n=>({conditions:(0,Cd.conditionsOfSelectionSet)(n)}),q1=class{constructor(e){this.supergraphSchema=e,this.usedContexts=new Map,this.perType=new Map,this.onUpdateCallback=void 0}add(e){var t;(0,I.assert)(e.parentType.schema()===this.supergraphSchema,"Inputs selections must be based on the supergraph schema");let i=e.parentType.name,r=this.perType.get(i);r||(r=I.MutableSelectionSet.empty(e.parentType),this.perType.set(i,r)),r.updates().add(e),(t=this.onUpdateCallback)===null||t===void 0||t.call(this)}addContext(e,t){this.usedContexts.set(e,t)}addAll(e){for(let t of e.perType.values())this.add(t.get());for(let[t,i]of e.usedContexts)this.addContext(t,i)}selectionSets(){return(0,I.mapValues)(this.perType).map(e=>e.get())}toSelectionSetNode(e,t){let i=(0,I.mapValues)(this.perType).map(a=>(0,Cd.removeConditionsFromSelectionSet)(a.get(),t));i.forEach(a=>a.validate(e));let r=i.flatMap(a=>a.selections().map(o=>o.toSelectionNode()));return{kind:gs.Kind.SELECTION_SET,selections:r}}contains(e){for(let[t,i]of e.perType){let r=this.perType.get(t);if(!r||!r.get().contains(i.get()))return!1}if(this.usedContexts.size{this.isKnownUseful=!1})}static create({dependencyGraph:e,index:t,subgraphName:i,rootKind:r,parentType:a,hasInputs:o,mergeAt:s,deferRef:u,generateQueryFragments:p}){var d;return(0,I.assert)(a.schema()===e.subgraphSchemas.get(i),`Expected parent type ${a} to belong to ${i}`),new Nd(e,t,i,r,a,o,I.MutableSelectionSet.emptyWithMemoized(a,Px),o?new q1(e.supergraphSchema):void 0,void 0,s,u,o?`${tk(i)}-${(d=s?.join("::"))!==null&&d!==void 0?d:""}`:void 0,void 0,p)}cloneShallow(e){var t;return new Nd(e,this.index,this.subgraphName,this.rootKind,this.parentType,this.isEntityFetch,this._selection.clone(),(t=this._inputs)===null||t===void 0?void 0:t.clone(),this._contextInputs?this._contextInputs.map(i=>({...i})):void 0,this.mergeAt,this.deferRef,this.subgraphAndMergeAtKey,this.cachedCost,this.generateQueryFragments,this.isKnownUseful,[...this.inputRewrites])}cost(){return this.cachedCost||(this.cachedCost=Zx(this.selection)),this.cachedCost}set id(e){(0,I.assert)(!this._id,()=>`The id for fetch group ${this} is already set`),this._id=e}get id(){return this._id}get isTopLevel(){return!this.mergeAt}get selection(){return this._selection.get()}selectionUpdates(){return this.cachedCost=void 0,this._selection.updates()}get inputs(){return this._inputs}addParents(e){for(let t of e)this.addParent(t)}addParent(e){this.isChildOf(e.group)||((0,I.assert)(!e.group.isParentOf(this),()=>`Group ${e.group} is a parent of ${this}, but the child relationship is broken`),(0,I.assert)(!e.group.isChildOf(this),()=>`Group ${e.group} is a child of ${this}: adding it as parent would create a cycle`),this.dependencyGraph.onModification(),this._parents.push(e),e.group._children.push(this))}removeChild(e){this.isParentOf(e)&&(this.dependencyGraph.onModification(),Mx(t=>t===e,this._children),Mx(t=>t.group===this,e._parents))}isParentOf(e){return this._children.includes(e)}isChildOf(e){return!!this.parentRelation(e)}isDescendantOf(e){let t=Array.from(e.children());for(;t.length>0;){let i=t.pop();if(i===this)return!0;i.children().forEach(r=>t.push(r))}return!1}isChildOfWithArtificialDependency(e){let t=this.parentRelation(e);return!t||!t.path?!1:this.inputs?t.path.some(i=>i.kind==="Field")?!1:!!e.inputs&&e.inputs.contains(this.inputs):!0}parentRelation(e){return this._parents.find(({group:t})=>e===t)}parents(){return this._parents}parentGroups(){return this.parents().map(e=>e.group)}children(){return this._children}addInputs(e,t){(0,I.assert)(this._inputs,"Shouldn't try to add inputs to a root fetch group"),this._inputs.add(e),t&&t.forEach(i=>this.inputRewrites.push(i))}addInputContext(e,t){(0,I.assert)(this._inputs,"Shouldn't try to add inputs to a root fetch group"),this._inputs.addContext(e,t)}copyInputsOf(e){var t;e.inputs&&((t=this.inputs)===null||t===void 0||t.addAll(e.inputs),e.inputRewrites&&e.inputRewrites.forEach(i=>{this.inputRewrites.some(r=>r===i)||this.inputRewrites.push(i)}),e._contextInputs&&(this._contextInputs||(this._contextInputs=[]),e._contextInputs.forEach(i=>{this._contextInputs.some(r=>Qx(i,r))||this._contextInputs.push(i)})))}addAtPath(e,t){this.selectionUpdates().addAtPath(e,t)}addSelections(e){this.selectionUpdates().add(e)}canMergeChildIn(e){var t;return this.deferRef===e.deferRef&&!!(!((t=e.parentRelation(this))===null||t===void 0)&&t.path)}removeInputsFromSelection(){let e=this.inputs;if(e){this.cachedCost=void 0;let t=e.selectionSets().reduce((i,r)=>i.minus(r),this.selection);this._selection=I.MutableSelectionSet.ofWithMemoized(t,Px)}}isUseless(){if(this.isKnownUseful||!this.inputs||this.mustPreserveSelection)return!1;let e=a=>{if(a.kind==="FragmentSelection"){let o=a.element.typeCondition;if(o&&(0,I.isObjectType)(o)){let s=this.dependencyGraph.supergraphSchema.type(o.name);if((0,I.assert)(s,()=>`Type ${o.name} should exists in the supergraph`),(0,I.isInterfaceType)(s))return s}}},t=a=>{if(a.kind==="FragmentSelection"){let o=a.element.typeCondition;if(o&&(0,I.isInterfaceType)(o))return this.parents().some(s=>{var u;let p=(u=this.dependencyGraph.subgraphSchemas.get(s.group.subgraphName))===null||u===void 0?void 0:u.type(o.name);return p&&(0,I.isInterfaceObjectType)(p)})}return!1},i=this.inputs.selectionSets().flatMap(a=>a.selections()),r=this.selection.selections().every(a=>{if(t(a))return!1;let o=e(a);if(!o)return i.some(l=>l.contains(a));let s=o.possibleRuntimeTypes().map(l=>l.name),u=[],p=[];for(let l of i){(0,I.assert)(l.kind==="FragmentSelection",()=>`Unexpecting input selection ${l} on ${this}`);let m=l.element.typeCondition;(0,I.assert)(m,()=>`Unexpecting input selection ${l} on ${this} (missing condition)`),m.name==o.name?u.push(l):s.includes(m.name)&&p.push(l)}let d=a.selectionSet;return(0,I.assert)(d,()=>`Should not be here for ${a}`),u.length>0?u.some(l=>l.selectionSet.contains(d)):p.length>0&&p.every(l=>l.selectionSet.contains(d))});return this.isKnownUseful=!r,r}mergeChildIn(e){let t=e.parentRelation(this);(0,I.assert)(t,()=>`Cannot merge ${e} into ${this}: the former is not a child of the latter`);let i=t.path;(0,I.assert)(i,()=>`Cannot merge ${e} into ${this}: the path of the former into the later is unknown`),this.mergeInInternal(e,i)}canMergeSiblingIn(e){let t=this.parents(),i=e.parents();return this.deferRef===e.deferRef&&this.subgraphName===e.subgraphName&&M1(this.mergeAt,e.mergeAt)&&t.length===1&&i.length===1&&t[0].group===i[0].group}mergeSiblingIn(e){this.copyInputsOf(e),this.mergeInInternal(e,[])}canMergeGrandChildIn(e){var t;let i=e.parents();return i.length!==1?!1:this.deferRef===e.deferRef&&!!i[0].path&&!!(!((t=i[0].group.parentRelation(this))===null||t===void 0)&&t.path)}mergeGrandChildIn(e){let t=e.parents();(0,I.assert)(t.length===1,()=>`Cannot merge ${e} as it has multiple parents ([${t}])`);let i=t[0],r=i.group.parentRelation(this);(0,I.assert)(r,()=>`Cannot merge ${e} into ${this}: the former parent (${i.group}) is not a child of the latter`),(0,I.assert)(i.path&&r.path,()=>`Cannot merge ${e} into ${this}: some paths in parents are unknown`),this.mergeInInternal(e,(0,I.concatOperationPaths)(r.path,i.path))}mergeInWithAllDependencies(e){(0,I.assert)(this.deferRef===e.deferRef,()=>`Can only merge unrelated groups within the same @defer block: cannot merge ${this} and ${e}`),(0,I.assert)(this.subgraphName===e.subgraphName,()=>`Can only merge unrelated groups to the same subraphs: cannot merge ${this} and ${e}`),(0,I.assert)(M1(this.mergeAt,e.mergeAt),()=>`Can only merge unrelated groups at the same "mergeAt": ${this} has mergeAt=${this.mergeAt}, but ${e} has mergeAt=${e.mergeAt}`),this.copyInputsOf(e),this.mergeInInternal(e,[],!0)}mergeInInternal(e,t,i=!1){if((0,I.assert)(!e.isTopLevel,"Shouldn't remove top level groups"),t.length===0)this.addSelections(e.selection);else{let r=(0,I.conditionalDirectivesInOperationPath)(t);this.addAtPath(t,nk(e.selection,r))}this.dependencyGraph.onModification(),this.relocateChildrenOnMergedIn(e,t),i&&this.relocateParentsOnMergedIn(e),e.mustPreserveSelection&&(this.mustPreserveSelection=!0),this.dependencyGraph.remove(e)}removeUselessChild(e){let t=e.parentRelation(this);(0,I.assert)(t,()=>`Cannot remove useless ${e} of ${this}: the former is not a child of the latter`);let i=t.path;(0,I.assert)(i,()=>`Cannot remove useless ${e} of ${this}: the path of the former into the later is unknown`),this.dependencyGraph.onModification(),this.relocateChildrenOnMergedIn(e,i),this.dependencyGraph.remove(e)}relocateChildrenOnMergedIn(e,t){var i;for(let r of e.children()){if(this.isParentOf(r))continue;let a=(i=r.parentRelation(e))===null||i===void 0?void 0:i.path;r.addParent({group:this,path:rk(t,a)})}}relocateParentsOnMergedIn(e){for(let t of e.parents())t.group.isParentOf(this)||t.group.isDescendantOf(this)||this.addParent(t)}finalizeSelection(e,t){let i=(0,Cd.removeConditionsFromSelectionSet)(this.selection,t),r=R6(i),{updated:a,outputRewrites:o}=D2e(r);return a.validate(e,!0),{selection:a,outputRewrites:o}}conditions(){return this._selection.memoized().conditions}toPlanNode(e,t,i,r,a,o){var s,u;if(this.selection.isEmpty())return;for(let[R,N]of(u=(s=this.inputs)===null||s===void 0?void 0:s.usedContexts)!==null&&u!==void 0?u:[])(0,I.assert)((0,I.isInputType)(N),()=>`Expected ${N} to be a input type`),i.add(new I.VariableDefinition(N.schema(),new I.Variable(R),N));let{selection:p,outputRewrites:d}=this.finalizeSelection(i,t),l=this._inputs?this._inputs.toSelectionSetNode(i,t):void 0,m=this.dependencyGraph.subgraphSchemas.get(this.subgraphName),y=this.isEntityFetch?G2e(m,p,i,a,o):Q2e(m,this.rootKind,p,i,a,o);this.generateQueryFragments?y=y.generateQueryFragments():y=y.optimize(r?.forSubgraph(this.subgraphName,m),I.DEFAULT_MIN_USAGES_TO_OPTIMIZE,i);let v=new I.VariableCollector;if(p.collectVariables(v),y.collectVariablesInAppliedDirectives(v),y.fragments)for(let R of y.fragments.definitions())R.collectVariables(v);let g=v.variables(),b=(0,I.operationToDocument)(y),D={kind:"Fetch",id:this.id,serviceName:this.subgraphName,requires:l?(0,y2e.trimSelectionNodes)(l.selections):void 0,variableUsages:g.map(R=>R.name),operation:(0,gs.stripIgnoredCharacters)((0,gs.print)(b)),operationKind:ik(y.rootKind),operationName:y.name,operationDocumentNode:e.exposeDocumentNodeInFetchNode?b:void 0,inputRewrites:this.inputRewrites.length===0?void 0:this.inputRewrites,outputRewrites:d.length===0?void 0:d,contextRewrites:this._contextInputs};return this.isTopLevel?D:{kind:"Flatten",path:this.mergeAt,node:D}}addContextRenamer(e){this._contextInputs||(this._contextInputs=[]),this._contextInputs.some(t=>Qx(t,e))||this._contextInputs.push(e)}toString(){let e=`[${this.index}]${this.deferRef?"(deferred)":""}${this._id?`{id: ${this._id}}`:""} ${this.subgraphName}`;return this.isTopLevel?`${e}[${this._selection}]`:`${e}@(${this.mergeAt})[${this._inputs} => ${this._selection}]`}},Q5=class{constructor(e){this.queryFragments=e,this.bySubgraph=new Map}forSubgraph(e,t){var i;let r=this.bySubgraph.get(e);return r===void 0&&(r=(i=this.queryFragments.rebaseOn(t))!==null&&i!==void 0?i:null,this.bySubgraph.set(e,r)),r??void 0}};function S2e(n,e){let t=0,i=`${n}__alias_${t}`;for(;e.has(i);)i=`${n}__alias_${++t}`;return i}function k1(n,e,t){return!n||n.isEmpty()?[{kind:"KeyRenamer",path:e,renameKeyTo:t}]:n.selections().map(i=>{if(i.kind==="FieldSelection")return e[e.length-1]===".."&&n.parentType.name!=="Query"?(0,I.possibleRuntimeTypes)(n.parentType).map(r=>k1(n,[...e,`... on ${r.name}`],t)).flat():k1(i.selectionSet,[...e,i.element.name],t);if(i.kind==="FragmentSelection"){let r=i.element;if(r.typeCondition)return k1(i.selectionSet,[...e,`... on ${r.typeCondition.name}`],t)}}).filter(I.isDefined).reduce((i,r)=>i.concat(r),[])}function zx(n,e){let t=new Map,i=r=>r.selections.fieldsInSet().map(({path:a,field:o})=>({fieldPath:r.path.concat(a),field:o}));for(let{fieldPath:r,field:a}of n.map(o=>i(o)).flat()){let o=a.element.name,s=a.element.responseName(),u=a.element.definition.type,p=t.get(s);if(p)if(p.fieldName===o&&(0,I.typesCanBeMerged)(p.fieldType,u)){if((0,I.isCompositeType)((0,I.baseType)(u))){(0,I.assert)(p.selections,()=>`Should have added selections for ${p.fieldType}`);let d=p.selections.concat({path:r.concat(s),selections:a.selectionSet});t.set(s,{...p,selections:d})}}else{let d=S2e(s,t),l=a.selectionSet?[{path:r.concat(d),selections:a.selectionSet}]:void 0;t.set(d,{fieldName:o,fieldType:u,selections:l}),e.push({path:r,responseName:s,alias:d})}else{let d=a.selectionSet?[{path:r.concat(s),selections:a.selectionSet}]:void 0;t.set(s,{fieldName:o,fieldType:u,selections:d})}}for(let r of t.values())r.selections&&zx(r.selections,e)}function D2e(n){let e=[];zx([{path:[],selections:n}],e);let t=Wx(n,e),i=e.map(({path:r,responseName:a,alias:o})=>({kind:"KeyRenamer",path:r.concat(o),renameKeyTo:a}));return{updated:t,outputRewrites:i}}function Wx(n,e){if(e.length===0)return n;let t=new Map,i=new Array;for(let r of e)r.path.length>0?i.push(r):t.set(r.responseName,r);return n.lazyMap(r=>{let a=r.element.asPathElement(),o=i.map(u=>{if(u.path[0]===a)return{...u,path:u.path.slice(1)}}).filter(I.isDefined),s=r.selectionSet?Wx(r.selectionSet,o):void 0;if(r.kind==="FieldSelection"){let u=r.element,p=a&&t.get(a);return!p&&r.selectionSet===s?r:r.withUpdatedComponents(p?u.withUpdatedAlias(p.alias):u,s)}else return r.selectionSet===s?r:r.withUpdatedSelectionSet(s)})}var Od=class{constructor(e,t,i,r=new Set,a=new Set){this.label=e,this.path=t,this.subselection=i,this.deferred=r,this.dependencies=a}static empty(e,t,i){return new Od(e,t,I.MutableSelectionSet.empty(i))}clone(){return new Od(this.label,this.path,this.subselection.clone(),new Set(this.deferred),new Set(this.dependencies))}},Yx={currentDeferRef:void 0,pathToDeferParent:[],activeDeferRef:void 0,isPartOfQuery:!0};function Jx(n){return{...n,isPartOfQuery:!1,currentDeferRef:n.activeDeferRef}}function xx(n){return n.currentDeferRef===n.activeDeferRef?n:{...n,activeDeferRef:n.currentDeferRef}}function _2e(n,e){return n.map(t=>t.kind==="FragmentElement"&&t.typeCondition&&!e.type(t.typeCondition.name)?t.appliedDirectives.length>0?t.withUpdatedCondition(void 0):void 0:t).filter(I.isDefined)}var po=class{constructor(e,t,i,r,a,o){this.fullPath=e,this.pathInGroup=t,this.responsePath=i,this.typeConditionedFetching=r,this.possibleTypes=a,this.possibleTypesAfterLastField=o}static empty(e,t){let i=e?Array.from((0,I.possibleRuntimeTypes)(t)):[];return i.sort(),new po([],[],[],e,i,i)}inGroup(){return this.pathInGroup}full(){return this.fullPath}inResponse(){return this.responsePath}forNewKeyFetch(e){return new po(this.fullPath,e,this.responsePath,this.typeConditionedFetching,this.possibleTypes,this.possibleTypesAfterLastField)}forParentOfGroup(e,t){return new po(this.fullPath,(0,I.concatOperationPaths)(e,_2e(this.pathInGroup,t)),this.responsePath,this.typeConditionedFetching,this.possibleTypes,this.possibleTypesAfterLastField)}updatedResponsePath(e){switch(e.kind){case"FragmentElement":return this.responsePath;case"Field":let t=this.responsePath;if(this.possibleTypesAfterLastField.length!==this.possibleTypes.length){let r=`|[${this.possibleTypes.join(",")}]`,a=t[t.length-1]||"";a.startsWith("|[")?t=[...t.slice(0,-1),r]:t=[...t.slice(0,-1),`${a}${r}`]}let i=e.definition.type;for(t.length===0&&this.typeConditionedFetching&&(t=t.concat("")),t=t.concat(`${e.responseName()}`);!(0,I.isNamedType)(i);)(0,I.isListType)(i)&&t.push("@"),i=i.ofType;return t}}add(e){let t=this.updatedResponsePath(e),i=this.computeNewPossibleTypes(e);return new po(this.fullPath.concat(e),this.pathInGroup.concat(e),t,this.typeConditionedFetching,i,e.kind==="Field"?i:this.possibleTypesAfterLastField)}toString(){return this.inResponse().join(".")}computeNewPossibleTypes(e){if(!this.typeConditionedFetching)return[];switch(e.kind){case"FragmentElement":if(!e.typeCondition)return this.possibleTypes;let t=(0,I.possibleRuntimeTypes)(e.typeCondition);return this.possibleTypes.filter(i=>t.some(r=>r.name===i.name));case"Field":return this.advanceFieldType(e)}}advanceFieldType(e){if(!(0,I.isCompositeType)(e.baseType()))return[];let t=Array.from(new Set(this.possibleTypes.map(i=>(0,I.possibleRuntimeTypes)((0,I.baseType)(i.field(e.name).type))).flat()));return t.sort(),t}},Id=class{constructor(e){this.primarySelection=e,this.topLevelDeferred=new Set,this.deferred=new I.MapWithCachedArrays}static empty(e){return new Id(e?I.MutableSelectionSet.empty(e):void 0)}clone(){var e;let t=new Id((e=this.primarySelection)===null||e===void 0?void 0:e.clone());this.topLevelDeferred.forEach(i=>t.topLevelDeferred.add(i));for(let i of this.deferred.values())t.deferred.set(i.label,i.clone());return t}registerDefer({deferContext:e,deferArgs:t,path:i,parentType:r}){if(!this.primarySelection)return;(0,I.assert)(t.label,"All @defer should have be labelled at this point");let a=this.deferred.get(t.label);a||(a=Od.empty(t.label,i,r),this.deferred.set(t.label,a));let o=e.currentDeferRef;if(!o)this.topLevelDeferred.add(t.label),this.primarySelection.updates().addAtPath(e.pathToDeferParent);else{let s=this.deferred.get(o);(0,I.assert)(s,`Cannot find info for parent ${o} or ${t.label}`),s.deferred.add(t.label),s.subselection.updates().addAtPath(e.pathToDeferParent)}}updateSubselection(e,t){if(!this.primarySelection||!e.isPartOfQuery)return;let i=e.currentDeferRef,r;if(i){let a=this.deferred.get(i);(0,I.assert)(a,()=>`Cannot find info for label ${i}`),r=a.subselection.updates()}else r=this.primarySelection.updates();r.addAtPath(e.pathToDeferParent,t)}getBlock(e){return this.deferred.get(e)}addDependency(e,t){let i=this.deferred.get(e);(0,I.assert)(i,()=>`Cannot find info for label ${e}`),i.dependencies.add(t)}defersInParent(e){var t;let i=e?(t=this.deferred.get(e))===null||t===void 0?void 0:t.deferred:this.topLevelDeferred;return i?(0,I.setValues)(i).map(r=>{let a=this.deferred.get(r);return(0,I.assert)(a,()=>`Should not have referenced ${r} without an existing info`),a}):[]}};function F2e(n){return"["+n.map(([e,t])=>`${e.index} (missing: [${t.map(i=>i.group.index).join(", ")}])`).join(", ")+"]"}var fr=class{constructor(e,t){this.next=e,this.unhandled=t}static empty(){return new fr([],[])}static forChildrenOfProcessedGroup(e,t){let i=[],r=[];for(let a of t){let o=a.parents();o.length===1?i.push(a):r.push([a,o.filter(s=>s.group!==e)])}return new fr(i,r)}static ofReadyGroups(e){return new fr(e,[])}withOnlyUnhandled(){return new fr([],this.unhandled)}mergeWith(e){let t=this.next.concat(e.next.filter(a=>!this.next.includes(a))),i=[],r=e.unhandled.concat();for(let[a,o]of this.unhandled){let s=this.mergeRemaingsAndRemoveIfFound(a,o,r);s.length==0?t.includes(a)||t.push(a):i.push([a,s])}return i.push(...r),new fr(t,i)}mergeRemaingsAndRemoveIfFound(e,t,i){let r=i.findIndex(a=>a[0]===e);if(r<0)return t;{let a=i[r][1];return i.splice(r,1),t.filter(o=>a.includes(o))}}updateForProcessedGroups(e){let t=this.next.concat(),i=[];for(let[r,a]of this.unhandled){let o=a.filter(s=>!e.includes(s.group));o.length===0?t.includes(r)||t.push(r):i.push([r,o])}return new fr(t,i)}},As=class{constructor(e,t,i,r,a,o,s,u){this.supergraphSchema=e,this.subgraphSchemas=t,this.federatedQueryGraph=i,this.startingIdGen=r,this.rootGroups=a,this.groups=o,this.deferTracking=s,this.generateQueryFragments=u,this.isReduced=!1,this.isOptimized=!1,this.fetchIdGen=r}static create(e,t,i,r,a){return new As(e,t.sources,t,i,new I.MapWithCachedArrays,[],Id.empty(r),a)}federationMetadata(e){let t=this.subgraphSchemas.get(e);(0,I.assert)(t,()=>`Unknown schema ${e}`);let i=(0,I.federationMetadata)(t);return(0,I.assert)(i,()=>`Schema ${e} should be a federation subgraph`),i}nextFetchId(){return this.fetchIdGen}clone(){let e=new As(this.supergraphSchema,this.subgraphSchemas,this.federatedQueryGraph,this.startingIdGen,new I.MapWithCachedArrays,new Array(this.groups.length),this.deferTracking.clone(),this.generateQueryFragments);for(let t of this.groups)e.groups[t.index]=t.cloneShallow(e);for(let t of this.rootGroups.values())e.rootGroups.set(t.subgraphName,e.groups[t.index]);for(let t of this.groups){let i=e.groups[t.index];for(let r of t.parents())i.addParent({group:e.groups[r.group.index],path:r.path})}return e}supergraphSchemaType(e){return this.supergraphSchema.type(e)}getOrCreateRootFetchGroup({subgraphName:e,rootKind:t,parentType:i}){let r=this.rootGroups.get(e);return r||(r=this.createRootFetchGroup({subgraphName:e,rootKind:t,parentType:i}),this.rootGroups.set(e,r)),r}rootSubgraphs(){return this.rootGroups.keys()}isRootGroup(e){return e===this.rootGroups.get(e.subgraphName)}createRootFetchGroup({subgraphName:e,rootKind:t,parentType:i}){let r=this.newFetchGroup({subgraphName:e,parentType:i,rootKind:t,hasInputs:!1});return this.rootGroups.set(e,r),r}newFetchGroup({subgraphName:e,parentType:t,hasInputs:i,rootKind:r,mergeAt:a,deferRef:o}){this.onModification();let s=Nd.create({dependencyGraph:this,index:this.groups.length,subgraphName:e,rootKind:r,parentType:t,hasInputs:i,mergeAt:a,deferRef:o,generateQueryFragments:this.generateQueryFragments});return this.groups.push(s),s}getOrCreateKeyFetchGroup({subgraphName:e,mergeAt:t,type:i,parent:r,conditionsGroups:a,deferRef:o}){var s;for(let p of r.group.children())if(p.subgraphName===e&&p.mergeAt&&M1(p.mergeAt,t)&&p.selection.selections().every(d=>d.kind==="FragmentSelection"&&d.element.castedType()===i)&&!this.isInGroupsOrTheirAncestors(p,a)&&p.deferRef===o&&x2e((s=p.parentRelation(r.group))===null||s===void 0?void 0:s.path,r.path))return p;let u=this.newKeyFetchGroup({subgraphName:e,mergeAt:t,deferRef:o});return u.addParent(r),u}newRootTypeFetchGroup({subgraphName:e,rootKind:t,parentType:i,mergeAt:r,deferRef:a}){return this.newFetchGroup({subgraphName:e,parentType:i,rootKind:t,hasInputs:!1,mergeAt:r,deferRef:a})}isInGroupsOrTheirAncestors(e,t){let i=t.concat();for(;i.length>0;){let r=i.pop();if(e===r)return!0;i.push(...r.parentGroups())}return!1}typeForFetchInputs(e){let t=this.supergraphSchema.type(e);return(0,I.assert)(t,`Type ${e} should exist in the supergraph`),(0,I.assert)((0,I.isCompositeType)(t),`Type ${t} should be a composite, but got ${t.kind}`),t}newKeyFetchGroup({subgraphName:e,mergeAt:t,deferRef:i}){let r=this.federationMetadata(e).entityType();return(0,I.assert)(r,()=>`Subgraph ${e} has no entities defined`),this.newFetchGroup({subgraphName:e,parentType:r,hasInputs:!0,rootKind:"query",mergeAt:t,deferRef:i})}remove(e){this.onModification();let t=e.children().concat(),i=e.parents().concat();for(let r of t)(0,I.assert)(r.parents().length>1,()=>`Cannot remove ${e} as it is the *only* parent of ${r}`),e.removeChild(r);for(let r of i)r.group.removeChild(e);this.groups.splice(e.index,1);for(let r=e.index;r1)for(let i=0;i1;){let r=t.pop(),a=[r],o=0;for(;o1&&i.push(a)}for(let r of i){let a=r.pop();for(let o of r)a.mergeInWithAllDependencies(o)}}this.reduce()}dfsRemoveRedundantEdges(e){for(let t of e.children()){let i=t.children().concat();for(;i.length>0;){let r=i.pop();e.removeChild(r),i.push(...r.children())}}}extractChildrenAndDeferredDependencies(e){let t=[],i=new I.SetMultiMap;for(let r of e.children())e.deferRef===r.deferRef?t.push(r):((0,I.assert)(r.deferRef,()=>`${e} has deferRef "${e.deferRef}", so its child ${r} cannot have a top-level deferRef`),e.selection.isEmpty()||(e.id||(e.id=String(this.fetchIdGen++)),this.deferTracking.addDependency(r.deferRef,e.id)),i.add(r.deferRef,r));return{children:t,deferredGroups:i}}processGroup(e,t,i){let r=(0,Cd.updatedConditions)(t.conditions(),i),a=(0,Cd.mergeConditions)(r,i),{children:o,deferredGroups:s}=this.extractChildrenAndDeferredDependencies(t),u=e.onFetchGroup(t,a);if(o.length==0)return{main:e.onConditions(r,u),state:fr.empty(),deferredGroups:s};let p=fr.forChildrenOfProcessedGroup(t,o);if(p.next.length>0){let{mainSequence:d,newState:l,deferredGroups:m}=this.processRootMainGroups({processor:e,state:p,rootsAreParallel:!0,initialDeferredGroups:s,handledConditions:a});return{main:e.onConditions(r,e.reduceSequence([u].concat(d))),state:l,deferredGroups:m}}else return{main:e.onConditions(r,u),state:p,deferredGroups:s}}processGroups(e,t,i,r){let a=[],o=new I.SetMultiMap,s=t.withOnlyUnhandled();for(let u of t.next){let{main:p,deferredGroups:d,state:l}=this.processGroup(e,u,r);a.push(p),o.addAll(d),s=s.mergeWith(l)}return{processed:i?e.reduceParallel(a):e.reduceSequence(a),newState:s.updateForProcessedGroups(t.next),deferredGroups:o}}processRootMainGroups({processor:e,state:t,rootsAreParallel:i,initialDeferredGroups:r,handledConditions:a}){let o=[],s=r?new I.SetMultiMap(r):new I.SetMultiMap,u=i;for(;t.next.length>0;){let{processed:p,newState:d,deferredGroups:l}=this.processGroups(e,t,u,a);u=!0,o.push(p),t=d,s.addAll(l)}return{mainSequence:o,newState:t,deferredGroups:s}}processRootGroups({processor:e,rootGroups:t,rootsAreParallel:i=!0,currentDeferRef:r,otherDeferGroups:a=void 0,handledConditions:o}){var s;let{mainSequence:u,newState:p,deferredGroups:d}=this.processRootMainGroups({processor:e,rootsAreParallel:i,state:fr.ofReadyGroups(t),handledConditions:o});(0,I.assert)(p.next.length===0,()=>`Should not have left some ready groups, but got ${p.next}`),(0,I.assert)(p.unhandled.length==0,()=>`Root groups: ${t.map(D=>` - ${D}`).join(` `)} should have no remaining groups unhandled, but got: ${F2e(p.unhandled)}`);let l=new I.SetMultiMap;a&&l.addAll(a),l.addAll(d);let m=this.deferTracking.defersInParent(r),y=new Set(m.map(D=>D.label)),v=(0,I.mapKeys)(l).filter(D=>!y.has(D)),g;if(v.length>0){g=new I.SetMultiMap;for(let D of v)g.set(D,l.get(D))}let b=[];for(let D of m){let R=(s=l.get(D.label))!==null&&s!==void 0?s:[],{mainSequence:N,deferred:L}=this.processRootGroups({processor:e,rootGroups:Array.from(R),rootsAreParallel:!0,currentDeferRef:D.label,otherDeferGroups:g,handledConditions:o}),k=e.reduceSequence(N),K=L.length===0?k:e.reduceDefer(k,D.subselection.get(),L);b.push(e.reduceDeferred(D,K))}return{mainSequence:u,deferred:b}}process(e,t){this.reduceAndOptimize();let{mainSequence:i,deferred:r}=this.processRootGroups({processor:e,rootGroups:this.rootGroups.values(),rootsAreParallel:t==="query",handledConditions:!0});return{main:e.reduceSequence(i),deferred:r}}dumpOnConsole(e){e&&console.log(e),console.log("Groups:");for(let i of this.groups)console.log(` ${i}`);console.log("Children relationships:");for(let i of this.groups){let r=i.children();r.length===1?console.log(` [${i.index}] => [ ${r[0]} ]`):r.length!==0&&console.log(` [${i.index}] => [ ${r.join(` `)} ]`)}console.log("Parent relationships:");let t=i=>i.path?`${i.group} (path: [${i.path.join(", ")}])`:i.group.toString();for(let i of this.groups){let r=i.parents();r.length===1?console.log(` [${i.index}] => [ ${t(r[0])} ]`):r.length!==0&&console.log(` [${i.index}] => [ ${r.map(t).join(` `)} ]`)}console.log("--------")}toString(){return this.rootGroups.values().map(e=>this.toStringInternal(e,"")).join(` `)}toStringInternal(e,t){let i=e.children();return[t+e.subgraphName+" <- "+i.map(r=>r.subgraphName).join(", ")].concat(i.flatMap(r=>r.children().length==0?[]:this.toStringInternal(r,t+" "))).join(` `)}},K5=class{constructor(e,t){if(this.supergraph=e,this._defaultOverrideConditions=new Map,this.interfaceTypesWithInterfaceObjects=new Set,this.inconsistentAbstractTypesRuntimes=new Set,this.config=(0,Ix.enforceQueryPlannerConfigDefaults)(t),(0,Ix.validateQueryPlannerConfig)(this.config),this.federatedQueryGraph=(0,Lt.buildFederatedQueryGraph)(e,!0),this.collectInterfaceTypesWithInterfaceObjects(),this.collectInconsistentAbstractTypesRuntimes(),this.collectAllOverrideLabels(),this.config.debug.bypassPlannerForSingleSubgraph&&this.config.incrementalDelivery.enableDefer)throw new Error('Cannot use the "debug.bypassPlannerForSingleSubgraph" query planner option when @defer support is enabled')}collectInterfaceTypesWithInterfaceObjects(){let e=(t,i)=>{let r=i.type(t);return!!r&&(0,I.isInterfaceObjectType)(r)};for(let t of this.supergraph.schema.interfaceTypes())(0,I.mapValues)(this.federatedQueryGraph.sources).some(i=>e(t.name,i))&&this.interfaceTypesWithInterfaceObjects.add(t.name)}collectInconsistentAbstractTypesRuntimes(){let e=(0,I.mapValues)(this.federatedQueryGraph.sources),t=i=>{let r;for(let a of e){let o=a.type(i);if(!o||(0,I.isObjectType)(o))continue;(0,I.assert)((0,I.isAbstractType)(o),()=>`Expected type ${o} to be abstract but is ${o.kind}`);let s=(0,I.possibleRuntimeTypes)(o);if(!r)r=new Set(s.map(u=>u.name));else if(s.length!==r.size||s.some(u=>!r?.has(u.name)))return!0}return!1};for(let i of this.supergraph.schema.types())(0,I.isAbstractType)(i)&&(0,I.isAbstractType)(i)&&t(i.name)&&this.inconsistentAbstractTypesRuntimes.add(i.name)}collectAllOverrideLabels(){var e,t;let i=(t=(e=this.supergraph.schema.directives().find(r=>r.name==="join__field"))===null||e===void 0?void 0:e.applications())!==null&&t!==void 0?t:new Set;this._defaultOverrideConditions=new Map(Array.from(i).map(r=>r.arguments().overrideLabel).filter(Boolean).map(r=>[r,!1]))}buildQueryPlan(e,t){var i;if(e.selectionSet.isEmpty())return{kind:"QueryPlan"};let r=e.rootKind==="subscription",a={evaluatedPlanCount:0};if(this._lastGeneratedPlanStatistics=a,this.config.debug.bypassPlannerForSingleSubgraph){let b=(0,I.mapKeys)(this.federatedQueryGraph.sources).filter(D=>D!==Lt.FEDERATED_GRAPH_ROOT_SOURCE);if(b.length===1){let D=(0,I.operationToDocument)(e);return{kind:"QueryPlan",node:{kind:"Fetch",serviceName:b[0],variableUsages:e.variableDefinitions.definitions().map(N=>N.variable.name),operation:(0,gs.stripIgnoredCharacters)((0,gs.print)(D)),operationKind:ik(e.rootKind),operationName:e.name,operationDocumentNode:this.config.exposeDocumentNodeInFetchNode?D:void 0}}}}let o=(i=this.config.reuseQueryFragments)!==null&&i!==void 0?i:!0,s=e.fragments;s&&!s.isEmpty()&&o?s=P2e(s):s=void 0,e=e.expandAllFragments(),e=I2e(e),e=this.withSiblingTypenameOptimizedAway(e);let u,p=!1,d;if(this.config.incrementalDelivery.enableDefer){if({operation:e,hasDefers:p,assignedDeferLabels:u,deferConditions:d}=e.withNormalizedDefer(),r&&p)throw new Error("@defer is not supported on subscriptions")}else e=e.withoutDefer();if(An.group(()=>`Computing plan for ${e}`),e.selectionSet.isEmpty())return An.groupEnd("Empty plan"),{kind:"QueryPlan"};let l=this.federatedQueryGraph.root(e.rootKind);(0,I.assert)(l,()=>`Shouldn't have a ${e.rootKind} operation if the subgraphs don't have a ${e.rootKind} root`);let m=L2e({config:this.config,variableDefinitions:e.variableDefinitions,fragments:s?new Q5(s):void 0,operationName:e.name,directives:e.appliedDirectives,assignedDeferLabels:u}),y=new Map(this._defaultOverrideConditions);if(t?.overrideConditions)for(let[b,D]of t.overrideConditions)y.set(b,D);let v={supergraphSchema:this.supergraph.schema,federatedQueryGraph:this.federatedQueryGraph,operation:e,processor:m,root:l,statistics:a,inconsistentAbstractTypesRuntimes:this.inconsistentAbstractTypesRuntimes,config:this.config,overrideConditions:y},g;if(d&&d.size>0?((0,I.assert)(p,"Should not have defer conditions without @defer"),g=C2e({parameters:v,deferConditions:d})):g=Xx({parameters:v,hasDefers:p}),g&&r)switch(g.kind){case"Fetch":g={kind:"Subscription",primary:g};break;case"Sequence":{let[b,...D]=g.nodes;(0,I.assert)(b.kind==="Fetch","Primary node of a subscription is not a Fetch"),g={kind:"Subscription",primary:b,rest:{kind:"Sequence",nodes:D}}}break;default:throw new Error(`Unexpected top level PlanNode kind: '${g.kind}' when processing subscription`)}return An.groupEnd("Query plan computed"),{kind:"QueryPlan",node:g}}optimizeSiblingTypenames(e){let t=e.selections(),i=e.parentType,r=this.interfaceTypesWithInterfaceObjects.has(i.name),a,o,s,u=-1;for(let p=0;p0?((0,I.assert)(i,"Should have had a primary selection created"),o.reduceDefer(t,i.get(),r)):t}function C2e({parameters:n,deferConditions:e}){return H5(n.operation,Array.from(e.entries()),0,t=>Xx({parameters:{...n,operation:t},hasDefers:!0}))}function H5(n,e,t,i){if(t>=e.length)return i(n);let[r,a]=e[t],o=n,s=n.withoutDefer(a);return{kind:"Condition",condition:r,ifClause:H5(o,e,t+1,i),elseClause:H5(s,e,t+1,i)}}function kx(n){return n.kind=="FieldSelection"&&n.element.definition.isIntrospectionField()}function $x(n,e){return n.selectionsInReverseOrder().map(t=>[t,e])}function N2e(n){let e=BigInt(1);for(let t=0;te+t,0)}function Zx(n,e=1){return n?n.selections().reduce((t,i)=>t+e+Zx(i.selectionSet,e+1),0):0}function I2e(n){return n.selectionSet.selections().some(kx)?new I.Operation(n.schema(),n.rootKind,n.selectionSet.lazyMap(e=>kx(e)?void 0:e),n.variableDefinitions,n.fragments,n.name,n.appliedDirectives):n}function w2e(n,e,t){return z5(n,n.operation.selectionSet,e,t)[0]}function z5(n,e,t,i){let a=new j1(n,e,t,i,n.root.rootKind,g2e,Lt.emptyContext,n.config.typeConditionedFetching).findBestPlan();return a??R2e(n)}function R2e(n){let{supergraphSchema:e,federatedQueryGraph:t,root:i,config:r}=n;return[As.create(e,t,0,void 0,r.generateQueryFragments),Lt.PathTree.createOp(t,i),0]}function Vx(n){let e=n.rootSubgraphs();return(0,I.assert)(e.length===1,()=>`${n} should have only one root, but has [${n.rootSubgraphs()}]`),e[0]}function B2e(n,e){let{supergraphSchema:t,federatedQueryGraph:i,operation:r,root:a}=n,o=e?t.schemaDefinition.rootType(a.rootKind):void 0,s=ek(r.selectionSet),u=[],p=0,[d,l]=z5(n,s[0],p,e),m=Vx(d);for(let y=1;ye.kind==="FieldSelection"?[(0,I.selectionSetOf)(n.parentType,e)]:ek(e.selectionSet).map(t=>(0,I.selectionSetOfElement)(e.element,t)))}function tk(n){let e=n.replace(/-/ig,"_").replace(/[^_0-9A-Za-z]/ig,"");return e.match(/^[0-9].*/i)?"_"+e:e}function jx(n){var e;return(e=n.withoutEmptyBranches())===null||e===void 0?void 0:e.toString()}function L2e({config:n,variableDefinitions:e,fragments:t,operationName:i,directives:r,assignedDeferLabels:a}){let o=0;return{onFetchGroup:(s,u)=>{let p=i?`${i}__${tk(s.subgraphName)}__${o++}`:void 0;return s.toPlanNode(n,u,e,t,p,r)},onConditions:(s,u)=>{if(u)return(0,Cd.isConstantCondition)(s)?s?u:void 0:s.reduce((p,d)=>({kind:"Condition",condition:d.variable.name,ifClause:d.negated?void 0:p,elseClause:d.negated?p:void 0}),u)},reduceParallel:s=>qx("Parallel",s),reduceSequence:s=>qx("Sequence",s),reduceDeferred:(s,u)=>({depends:[...s.dependencies].map(p=>({id:p})),label:a?.has(s.label)?void 0:s.label,queryPath:(0,I.operationPathToStringPath)(s.path.full()),subselection:s.deferred.size===0?jx(s.subselection.get()):void 0,node:u}),reduceDefer:(s,u,p)=>({kind:"Defer",primary:{subselection:jx(u),node:s},deferred:p})}}function qx(n,e){let t=e.filter(i=>!!i);if(t.length!==0)return t.length===1?t[0]:{kind:n,nodes:t.flatMap(i=>i.kind===n?i.nodes:[i])}}function P2e(n){(0,I.assert)(!n.isEmpty(),"Should not pass empty fragments to this method");let e=n.mapToExpandedSelectionSets(R6);return(0,I.assert)(e,"No fragments should have been removed"),e}function nk(n,e){return n.lazyMap(t=>{if(t.kind!=="FragmentSelection")return t;let i=t.element;if(!i.typeCondition)return t;let a=[];i.appliedDirectives.length>0&&(a=(0,I.directiveApplicationsSubstraction)(i.appliedDirectives,e));let o=nk(t.selectionSet,e);return a.length===i.appliedDirectives.length?t.selectionSet===o?t:t.withUpdatedSelectionSet(o):t.withUpdatedComponents(i.withUpdatedDirectives(a),o)})}function ik(n){switch(n){case"query":return gs.OperationTypeNode.QUERY;case"mutation":return gs.OperationTypeNode.MUTATION;case"subscription":return gs.OperationTypeNode.SUBSCRIPTION}}function Mx(n,e){let t=e.findIndex(i=>n(i));return t>=0&&e.splice(t,1),t}function M1(n,e){return n?e?(0,I.arrayEquals)(n,e):!1:!e}function rk(n,e){return n&&e?(0,I.concatOperationPaths)(n,e):void 0}function x2e(n,e){return n?!!e&&(0,I.sameOperationPaths)(n,e):!e}function ak(n,e,t,i){for(let[r,a,o,s]of e.childElements()){(0,I.assert)(r!==null,"The root edge should not be null");let u=r.tail.source,p=r.tail.type,d=n.getOrCreateRootFetchGroup({subgraphName:u,rootKind:t,parentType:p}),l=n.supergraphSchemaType(p.name);w6({dependencyGraph:n,pathTree:s,startGroup:d,initialGroupPath:po.empty(i,l),initialDeferContext:Yx})}return n}function k2e(n,e,t,i){let r=e.vertex.source,a=e.vertex.type;(0,I.assert)((0,I.isCompositeType)(a),()=>`Should not have condition on non-selectable type ${a}`);let o=n.getOrCreateRootFetchGroup({subgraphName:r,rootKind:t,parentType:a}),s=n.supergraphSchemaType(a.name);return w6({dependencyGraph:n,pathTree:e,startGroup:o,initialGroupPath:po.empty(i,s),initialDeferContext:Yx}),n}function W5(n,e,t){return ok(n,e,(i,r)=>(0,I.selectionSetOf)(i.parentType,(0,I.selectionOfElement)(i,r)),t)}function $1(n,e,t){let i=n.type(e.name);return(0,I.assert)(i&&(0,I.isCompositeType)(i),()=>`${e} should be composite in the supergraph but got ${i?.kind}`),ok(i,[],(r,a)=>[r].concat(a),t)}function ok(n,e,t,i){if(i.conditionals.length===0)return t(new I.FragmentElement(n,n.name),e);let{kind:r,value:a}=i.conditionals[0],o=t(new I.FragmentElement(n,n.name,[new I.Directive(r,{if:a})]),e);for(let s=1;s0;){let{tree:p,group:d,path:l,context:m,deferContext:y,contextToConditionsGroups:v}=s.pop();if(p.localSelections)for(let g of p.localSelections)d.addAtPath(l.inGroup(),g),n.deferTracking.updateSubselection(y,g);if(p.isLeaf())d.addAtPath(l.inGroup()),n.deferTracking.updateSubselection(y);else for(let[g,b,D,R,N,L]of p.childElements(!0))if((0,Lt.isPathContext)(b)){let k=b;if((0,I.assert)(g!==null,()=>`Unexpected 'null' edge with no trigger at ${l}`),g.transition.kind==="KeyResolution"){(0,I.assert)(D,()=>`Key edge ${g} should have some conditions paths`);let K=w6({dependencyGraph:n,pathTree:D,startGroup:d,initialGroupPath:l,initialDeferContext:Jx(y)});x1(u,...K);let Y=g.head.type,H=g.tail.type,P=l.inGroup(),G=xx(y),fe=n.getOrCreateKeyFetchGroup({subgraphName:g.tail.source,mergeAt:l.inResponse(),type:H,parent:{group:d,path:P},conditionsGroups:K,deferRef:G.activeDeferRef});x1(u,fe),fe.addParents(K.map(Xt=>{let At=Xt.parents(),wt;return At.length===1&&At[0].group===d&&At[0].path&&(wt=$2e(At[0].path,P)),{group:Xt,path:wt}}));let Oe=n.typeForFetchInputs(Y.name),Me=V1(Oe);Me.updates().add(g.conditions),fe.addInputs(W5(Oe,Me.get(),k),Y5(Oe.name,H)),d.addAtPath(l.inGroup().concat(new I.Field(Y.typenameField()))),s.push({tree:R,group:fe,path:l.forNewKeyFetch($1(n.supergraphSchema,g.tail.type,k)),context:k,deferContext:G,contextToConditionsGroups:v})}else{(0,I.assert)(g.transition.kind==="RootTypeResolution",()=>`Unexpected non-collecting edge ${g}`);let K=g.transition.rootKind;(0,I.assert)(!D,()=>`Root type resolution edge ${g} should not have conditions`),(0,I.assert)((0,I.isObjectType)(g.head.type)&&(0,I.isObjectType)(g.tail.type),()=>`Expected an objects for the vertices of ${g}`);let Y=g.tail.type;(0,I.assert)(Y===Y.schema().schemaDefinition.rootType(K),()=>`Expected ${Y} to be the root ${K} type, but that is ${Y.schema().schemaDefinition.rootType(K)}`),l.inGroup().length>0&&d.addAtPath(l.inGroup().concat(new I.Field(g.head.type.typenameField())));let H=xx(y),P=n.newRootTypeFetchGroup({subgraphName:g.tail.source,rootKind:K,parentType:Y,mergeAt:l.inResponse(),deferRef:H.activeDeferRef});P.addParent({group:d,path:l.inGroup()}),s.push({tree:R,group:P,path:l.forNewKeyFetch($1(n.supergraphSchema,Y,k)),context:k,deferContext:H,contextToConditionsGroups:v})}}else if(g===null){let{updatedOperation:k,updatedDeferContext:K}=Ux({dependencyGraph:n,operation:b,deferContext:y,path:l}),Y=l;k&&k.appliedDirectives.length>0&&(Y=l.add(k)),s.push({tree:R,group:d,path:Y,context:m,deferContext:K,contextToConditionsGroups:v})}else{(0,I.assert)(g.head.source===g.tail.source,()=>`Collecting edge ${g} for ${b} should not change the underlying subgraph`);let k=b.getAttachment(J5);if(k!==void 0){let P=k===""?void 0:k,G=new I.Field(b.parentType.typenameField(),void 0,void 0,P);d.addAtPath(l.inGroup().concat(G)),n.deferTracking.updateSubselection({...y,pathToDeferParent:y.pathToDeferParent.concat(G)})}let{updatedOperation:K,updatedDeferContext:Y}=Ux({dependencyGraph:n,operation:b,deferContext:y,path:l});(0,I.assert)(K,()=>`Extracting @defer from ${b} should not have resulted in no operation`);let H={tree:R,group:d,path:l,context:m,deferContext:Y,contextToConditionsGroups:v};if(D){let P;N&&((0,I.assert)((0,I.isCompositeType)(g.head.type),()=>`Expected a composite type for ${g.head.type}`),P={pathType:g.head.type});let G=M2e(n,D,d,l,y,P);if(x1(u,...G.createdGroups),N){let fe=new Map([...v]);for(let Oe of N)fe.set(Oe,[G.conditionsMergeGroup,...G.createdGroups]);H.contextToConditionsGroups=fe}if(g.conditions){let fe=q2e(n,g,d,l,m,G);H.group=fe.group,H.path=fe.path,x1(u,...fe.createdGroups)}}if(L&&Array.from(L.values()).some(({contextId:P})=>{var G;return((G=H.contextToConditionsGroups.get(P))===null||G===void 0?void 0:G[0])===H.group})){(0,I.assert)(d===H.group,"Group created by @requires handling shouldn't have set context already");let P=new Set;for(let{contextId:At}of L.values()){let wt=H.contextToConditionsGroups.get(At);(0,I.assert)(wt,()=>`Could not find groups for context ${At}`);for(let vi of wt)P.add(vi)}(0,I.assert)((0,I.isCompositeType)(g.head.type),()=>`Expected a composite type for ${g.head.type}`),H.group=n.getOrCreateKeyFetchGroup({subgraphName:g.head.source,mergeAt:H.path.inResponse(),type:g.head.type,parent:{group:d,path:l.inGroup()},conditionsGroups:[...P]}),x1(u,H.group),H.path=l.forNewKeyFetch($1(n.supergraphSchema,g.head.type,m));let G=(0,Lt.getLocallySatisfiableKey)(n.federatedQueryGraph,g.head);(0,I.assert)(G,()=>`canSatisfyConditions() validation should have required a key to be present for ${g}`);let fe=V1(g.head.type);fe.updates().add(G),d.addAtPath(l.inGroup(),fe.get());let Oe=n.typeForFetchInputs(g.head.type.name),Me=V1(Oe);Me.updates().add(G);let Xt=W5(Oe,Me.get(),m);H.group.addInputs(Xt,Y5(g.head.type.name,g.head.type));for(let At of P)H.group.addParent({group:At});for(let[At,{contextId:wt,selectionSet:vi,relativePath:ju,subgraphArgType:lo}]of L){H.group.addInputContext(wt,lo);let qu=k1(vi,ju,wt);for(let xd of qu)H.group.addContextRenamer(xd)}}else if(L){let P=H.path.inGroup().filter(G=>G.kind==="Field").length;for(let[G,{selectionSet:fe,relativePath:Oe,contextId:Me,subgraphArgType:Xt}]of L){let At=Oe.slice(0,Oe.length-P);H.group.addInputContext(Me,Xt);let wt=k1(fe,At,Me);for(let vi of wt)H.group.addContextRenamer(vi)}}K.kind==="Field"&&K.name===I.typenameFieldName&&(H.group.mustPreserveSelection=!0),g.transition.kind==="InterfaceObjectFakeDownCast"?((0,I.assert)(K.kind==="FragmentElement",()=>`Unexpected operation ${K} for edge ${g}`),K.appliedDirectives.length>0&&(H.path=H.path.add(K.withUpdatedCondition(void 0)))):H.path=H.path.add(K),s.push(H)}}return u}function Y5(n,e){if((0,I.isInterfaceObjectType)(e)||(0,I.isInterfaceType)(e))return[{kind:"ValueSetter",path:[`... on ${n}`,I.typenameFieldName],setValueTo:e.name}]}function Ux({dependencyGraph:n,operation:e,deferContext:t,path:i}){let r=e.deferDirectiveArgs();if(!r)return{updatedOperation:e,updatedDeferContext:{...t,pathToDeferParent:t.pathToDeferParent.concat(e)}};(0,I.assert)(r.label,"All defers should have a lalel at this point");let a=r.label,o=e.withoutDefer(),s=o?[o]:[];return n.deferTracking.registerDefer({deferContext:t,deferArgs:r,path:i,parentType:e.parentType}),{updatedOperation:o,updatedDeferContext:{...t,currentDeferRef:a,pathToDeferParent:s}}}function V2e(n){if(n.kind==="FieldSelection"){let e=(0,I.baseType)(n.element.definition.type);return(0,I.isAbstractType)(e)?e:void 0}else{let e=n.element.typeCondition;return e&&(0,I.isAbstractType)(e)?e:void 0}}function R6(n,e){let t=r=>{if(!r.selectionSet)return r;let a=V2e(r),o=R6(r.selectionSet,a);return o===r.selectionSet?r:r.withUpdatedSelectionSet(o)};if(!e||n.hasTopLevelTypenameField())return n.lazyMap(r=>t(r));let i=new I.SelectionSetUpdates;return i.add(new I.FieldSelection(new I.Field(e.typenameField()))),n.selections().forEach(r=>i.add(t(r))),i.toSelectionSet(n.parentType)}function sk(n){return n.lazyMap(e=>{let t=e.mapToSelectionSet(r=>sk(r)),i=e.element.getAttachment(J5);if(i===void 0)return t;{let r=i===""?void 0:i,a=new I.Field(e.element.parentType.typenameField(),void 0,void 0,r);return[(0,I.selectionOfElement)(a),t]}})}function uk(n){return n.every(e=>e.kind==="FragmentElement")}function j2e(n,e){let t=n;for(let i of e)if(i.kind==="Field"){let r=(0,I.baseType)(t.field(i.name).type);(0,I.assert)((0,I.isCompositeType)(r),()=>`Invalid call fro ${e} starting at ${n}: ${i.definition.coordinate} is not composite`),t=r}else if(i.typeCondition){let r=n.schema().type(i.typeCondition.name);(0,I.assert)(r&&(0,I.isCompositeType)(r),()=>`Type condition of ${i} should be composite`),t=r}return t}function q2e(n,e,t,i,r,a){let{fullyLocalRequires:o,createdGroups:s}=a,u=e.head.type;if(o)return{group:t,path:i,...a};let p=t.parents();if(p.length===1&&uk(i.inGroup())){let l=p[0];if(s.length===0)return t.addInputs(pk(n,u,e,r,!1).inputs),{group:t,path:i,createdGroups:[]};let m=n.newKeyFetchGroup({subgraphName:t.subgraphName,mergeAt:t.mergeAt,deferRef:t.deferRef});return m.addParents(s.map(y=>({group:y}))),a.requiresParent&&m.addParent(a.requiresParent),(0,I.assert)(l.path,`Missing path-in-parent for @requires on ${e} with group ${t} and parent ${l}`),Gx(n,i.forParentOfGroup(l.path,l.group.parentType.schema()),u,e,r,l.group,m),{group:m,path:i.forNewKeyFetch($1(n.supergraphSchema,u,r)),createdGroups:[m]}}else{let l=n.newKeyFetchGroup({subgraphName:t.subgraphName,mergeAt:i.inResponse()});return l.addParents(s.map(m=>({group:m,path:M1(m.mergeAt,l.mergeAt)&&(0,I.sameType)(m.parentType,l.parentType)?[]:void 0}))),Gx(n,i,u,e,r,t,l),{group:l,path:i.forNewKeyFetch($1(n.supergraphSchema,u,r)),createdGroups:[l]}}}function M2e(n,e,t,i,r,a){n.reduce();let o=t.parents(),s;if(o.length===1&&uk(i.inGroup())){let p=o[0];s=n.newKeyFetchGroup({subgraphName:t.subgraphName,mergeAt:t.mergeAt,deferRef:t.deferRef}),s.addParent(p),s.copyInputsOf(t),a&&s.addAtPath(i.inGroup().concat(new I.Field(a.pathType.typenameField())))}else a&&t.addAtPath(i.inGroup().concat(new I.Field(a.pathType.typenameField())));let u=w6({dependencyGraph:n,pathTree:e,startGroup:s??t,initialGroupPath:i,initialDeferContext:Jx(r)});if(u.length==0)return s&&((0,I.assert)(t.canMergeSiblingIn(s),()=>`We should be able to merge ${s} into ${t} by construction`),t.mergeSiblingIn(s)),{fullyLocalRequires:!0,createdGroups:[],requiresParent:void 0,conditionsMergeGroup:t};if(s){let p=s.parents()[0];s.removeInputsFromSelection();let d=p.path&&s.selection.canRebaseOn(j2e(p.group.selection.parentType,p.path)),l=[];if(d){p.group.mergeChildIn(s);for(let m of u)if(m.subgraphName===p.group.subgraphName&&p.group.canMergeChildIn(m))p.group.mergeChildIn(m);else{l.push(m);let y=p;for(;y&&!y.group.isTopLevel&&m.isChildOfWithArtificialDependency(y.group);){y.group.removeChild(m);let v=y.group.parents();(0,I.assert)(v.length>0,`${y.group} is not top-level, so it should have parents`);for(let g of v)m.addParent({group:g.group,path:rk(g.path,y.path)});y=v.length===1?v[0]:void 0}}}else if((0,I.assert)(t.canMergeSiblingIn(s),()=>`We should be able to merge ${s} into ${t} by construction`),t.mergeSiblingIn(s),p.path)for(let m of u)m.subgraphName===p.group.subgraphName&&p.group.canMergeGrandChildIn(m)&&M1(m.mergeAt,t.mergeAt)&&t.inputs.contains(m.inputs)?p.group.mergeGrandChildIn(m):l.push(m);return{fullyLocalRequires:!1,createdGroups:l,requiresParent:d?p:{group:t,path:[]},conditionsMergeGroup:d?p.group:t}}else return{fullyLocalRequires:!1,createdGroups:u,requiresParent:void 0,conditionsMergeGroup:t}}function Gx(n,e,t,i,r,a,o){let{inputs:s,keyInputs:u}=pk(n,t,i,r);o.addInputs(s,Y5(t.name,t)),u&&a.addAtPath(e.inGroup(),u.selections())}function V1(n){let e=I.MutableSelectionSet.empty(n);return e.updates().add(new I.FieldSelection(new I.Field(n.typenameField()))),e}function pk(n,e,t,i,r=!0){let a=t.transition.kind==="InterfaceObjectFakeDownCast",o=a?t.transition.castedTypeName:e.name,s=n.supergraphSchema.type(o);(0,I.assert)(s&&(0,I.isCompositeType)(s),()=>`Type ${o} should exist in the supergraph and be a composite type`);let u=V1(s);t.conditions&&u.updates().add(t.conditions);let p;if(r){let d=(0,Lt.getLocallySatisfiableKey)(n.federatedQueryGraph,t.head);(0,I.assert)(d,()=>`Due to @require, validation should have required a key to be present for ${t}`);let l=d;if(a){let m=n.supergraphSchema.type(e.name);(0,I.assert)(m&&(0,I.isInterfaceType)(m),()=>`Type ${e} should be an interface in the supergraph`),l=l.rebaseOn({parentType:m,fragments:void 0,errorIfCannotRebase:!0})}u.updates().add(l),p=V1(e),p.updates().add(d)}return{inputs:W5(s,u.get(),i),keyInputs:p?.get()}}var dk=new I.Variable("representations");function U2e(n){let e=(0,I.federationMetadata)(n);(0,I.assert)(e,"Expected schema to be a federation subgraph");let t=new I.NonNullType(new I.ListType(new I.NonNullType(e.anyType())));return new I.VariableDefinition(n,dk,t)}function lk(n,e){let t=new I.VariableCollector;if(n.collectVariables(t),e)for(let i of e)t.collectInArguments(i.arguments());return t.variables()}function G2e(n,e,t,i,r){let a=new I.VariableDefinitions;a.add(U2e(n)),a.addAll(t.filter(lk(e,r)));let o=n.schemaDefinition.rootType("query");(0,I.assert)(o,"Subgraphs should always have a query root (they should at least provides _entities)");let s=o.field(I.entitiesFieldName);(0,I.assert)(s,"Subgraphs should always have the _entities field");let u=(0,I.selectionSetOfElement)(new I.Field(s,{representations:dk}),e);return new I.Operation(n,"query",u,a,void 0,i,r)}function Q2e(n,e,t,i,r,a){return new I.Operation(n,e,t,i.filter(lk(t,a)),void 0,r,a)}var Qx=(n,e)=>{if(n.renameKeyTo!==e.renameKeyTo||n.path.length!==e.path.length)return!1;for(let t=0;t{"use strict";f();c();var K2e=Qn&&Qn.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=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(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),fk=Qn&&Qn.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&K2e(e,n,t)};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.QueryPlanner=Qn.prettyFormatQueryPlan=Qn.astSerializer=Qn.queryPlanSerializer=void 0;var hk=r2();Object.defineProperty(Qn,"queryPlanSerializer",{enumerable:!0,get:function(){return hk.queryPlanSerializer}});Object.defineProperty(Qn,"astSerializer",{enumerable:!0,get:function(){return hk.astSerializer}});var H2e=AR();Object.defineProperty(Qn,"prettyFormatQueryPlan",{enumerable:!0,get:function(){return H2e.prettyFormatQueryPlan}});fk(d7(),Qn);var z2e=ck();Object.defineProperty(Qn,"QueryPlanner",{enumerable:!0,get:function(){return z2e.QueryPlanner}});fk(x5(),Qn)});var vk=T((XCe,yk)=>{"use strict";f();c();yk.exports=W2e;function W2e(n,e){for(var t=new Array(arguments.length-1),i=0,r=2,a=!0;r{"use strict";f();c();var B6=Ak;B6.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&e.charAt(t)==="=";)++i;return Math.ceil(e.length*3)/4-i};var Rd=new Array(64),gk=new Array(123);for(Kr=0;Kr<64;)gk[Rd[Kr]=Kr<26?Kr+65:Kr<52?Kr+71:Kr<62?Kr-4:Kr-59|43]=Kr++;var Kr;B6.encode=function(e,t,i){for(var r=null,a=[],o=0,s=0,u;t>2],u=(p&3)<<4,s=1;break;case 1:a[o++]=Rd[u|p>>4],u=(p&15)<<2,s=2;break;case 2:a[o++]=Rd[u|p>>6],a[o++]=Rd[p&63],s=0;break}o>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,a)),o=0)}return s&&(a[o++]=Rd[u],a[o++]=61,s===1&&(a[o++]=61)),r?(o&&r.push(String.fromCharCode.apply(String,a.slice(0,o))),r.join("")):String.fromCharCode.apply(String,a.slice(0,o))};var Ek="invalid encoding";B6.decode=function(e,t,i){for(var r=i,a=0,o,s=0;s1)break;if((u=gk[u])===void 0)throw Error(Ek);switch(a){case 0:o=u,a=1;break;case 1:t[i++]=o<<2|(u&48)>>4,o=u,a=2;break;case 2:t[i++]=(o&15)<<4|(u&60)>>2,o=u,a=3;break;case 3:t[i++]=(o&3)<<6|u,a=0;break}}if(a===1)throw Error(Ek);return i-r};B6.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}});var Sk=T((rNe,bk)=>{"use strict";f();c();bk.exports=L6;function L6(){this._listeners={}}L6.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this};L6.prototype.off=function(e,t){if(e===void 0)this._listeners={};else if(t===void 0)this._listeners[e]=[];else for(var i=this._listeners[e],r=0;r{"use strict";f();c();Ok.exports=Dk(Dk);function Dk(n){return typeof Float32Array<"u"?function(){var e=new Float32Array([-0]),t=new Uint8Array(e.buffer),i=t[3]===128;function r(u,p,d){e[0]=u,p[d]=t[0],p[d+1]=t[1],p[d+2]=t[2],p[d+3]=t[3]}function a(u,p,d){e[0]=u,p[d]=t[3],p[d+1]=t[2],p[d+2]=t[1],p[d+3]=t[0]}n.writeFloatLE=i?r:a,n.writeFloatBE=i?a:r;function o(u,p){return t[0]=u[p],t[1]=u[p+1],t[2]=u[p+2],t[3]=u[p+3],e[0]}function s(u,p){return t[3]=u[p],t[2]=u[p+1],t[1]=u[p+2],t[0]=u[p+3],e[0]}n.readFloatLE=i?o:s,n.readFloatBE=i?s:o}():function(){function e(i,r,a,o){var s=r<0?1:0;if(s&&(r=-r),r===0)i(1/r>0?0:2147483648,a,o);else if(isNaN(r))i(2143289344,a,o);else if(r>34028234663852886e22)i((s<<31|2139095040)>>>0,a,o);else if(r<11754943508222875e-54)i((s<<31|Math.round(r/1401298464324817e-60))>>>0,a,o);else{var u=Math.floor(Math.log(r)/Math.LN2),p=Math.round(r*Math.pow(2,-u)*8388608)&8388607;i((s<<31|u+127<<23|p)>>>0,a,o)}}n.writeFloatLE=e.bind(null,_k),n.writeFloatBE=e.bind(null,Fk);function t(i,r,a){var o=i(r,a),s=(o>>31)*2+1,u=o>>>23&255,p=o&8388607;return u===255?p?NaN:s*(1/0):u===0?s*1401298464324817e-60*p:s*Math.pow(2,u-150)*(p+8388608)}n.readFloatLE=t.bind(null,Ck),n.readFloatBE=t.bind(null,Nk)}(),typeof Float64Array<"u"?function(){var e=new Float64Array([-0]),t=new Uint8Array(e.buffer),i=t[7]===128;function r(u,p,d){e[0]=u,p[d]=t[0],p[d+1]=t[1],p[d+2]=t[2],p[d+3]=t[3],p[d+4]=t[4],p[d+5]=t[5],p[d+6]=t[6],p[d+7]=t[7]}function a(u,p,d){e[0]=u,p[d]=t[7],p[d+1]=t[6],p[d+2]=t[5],p[d+3]=t[4],p[d+4]=t[3],p[d+5]=t[2],p[d+6]=t[1],p[d+7]=t[0]}n.writeDoubleLE=i?r:a,n.writeDoubleBE=i?a:r;function o(u,p){return t[0]=u[p],t[1]=u[p+1],t[2]=u[p+2],t[3]=u[p+3],t[4]=u[p+4],t[5]=u[p+5],t[6]=u[p+6],t[7]=u[p+7],e[0]}function s(u,p){return t[7]=u[p],t[6]=u[p+1],t[5]=u[p+2],t[4]=u[p+3],t[3]=u[p+4],t[2]=u[p+5],t[1]=u[p+6],t[0]=u[p+7],e[0]}n.readDoubleLE=i?o:s,n.readDoubleBE=i?s:o}():function(){function e(i,r,a,o,s,u){var p=o<0?1:0;if(p&&(o=-o),o===0)i(0,s,u+r),i(1/o>0?0:2147483648,s,u+a);else if(isNaN(o))i(0,s,u+r),i(2146959360,s,u+a);else if(o>17976931348623157e292)i(0,s,u+r),i((p<<31|2146435072)>>>0,s,u+a);else{var d;if(o<22250738585072014e-324)d=o/5e-324,i(d>>>0,s,u+r),i((p<<31|d/4294967296)>>>0,s,u+a);else{var l=Math.floor(Math.log(o)/Math.LN2);l===1024&&(l=1023),d=o*Math.pow(2,-l),i(d*4503599627370496>>>0,s,u+r),i((p<<31|l+1023<<20|d*1048576&1048575)>>>0,s,u+a)}}}n.writeDoubleLE=e.bind(null,_k,0,4),n.writeDoubleBE=e.bind(null,Fk,4,0);function t(i,r,a,o,s){var u=i(o,s+r),p=i(o,s+a),d=(p>>31)*2+1,l=p>>>20&2047,m=4294967296*(p&1048575)+u;return l===2047?m?NaN:d*(1/0):l===0?d*5e-324*m:d*Math.pow(2,l-1075)*(m+4503599627370496)}n.readDoubleLE=t.bind(null,Ck,0,4),n.readDoubleBE=t.bind(null,Nk,4,0)}(),n}function _k(n,e,t){e[t]=n&255,e[t+1]=n>>>8&255,e[t+2]=n>>>16&255,e[t+3]=n>>>24}function Fk(n,e,t){e[t]=n>>>24,e[t+1]=n>>>16&255,e[t+2]=n>>>8&255,e[t+3]=n&255}function Ck(n,e){return(n[e]|n[e+1]<<8|n[e+2]<<16|n[e+3]<<24)>>>0}function Nk(n,e){return(n[e]<<24|n[e+1]<<16|n[e+2]<<8|n[e+3])>>>0}});var wk=T((exports,module)=>{"use strict";f();c();module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(n){}return null}});var Bk=T(Rk=>{"use strict";f();c();var X5=Rk;X5.length=function(e){for(var t=0,i=0,r=0;r191&&u<224?o[s++]=(u&31)<<6|e[t++]&63:u>239&&u<365?(u=((u&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536,o[s++]=55296+(u>>10),o[s++]=56320+(u&1023)):o[s++]=(u&15)<<12|(e[t++]&63)<<6|e[t++]&63,s>8191&&((a||(a=[])).push(String.fromCharCode.apply(String,o)),s=0);return a?(s&&a.push(String.fromCharCode.apply(String,o.slice(0,s))),a.join("")):String.fromCharCode.apply(String,o.slice(0,s))};X5.write=function(e,t,i){for(var r=i,a,o,s=0;s>6|192,t[i++]=a&63|128):(a&64512)===55296&&((o=e.charCodeAt(s+1))&64512)===56320?(a=65536+((a&1023)<<10)+(o&1023),++s,t[i++]=a>>18|240,t[i++]=a>>12&63|128,t[i++]=a>>6&63|128,t[i++]=a&63|128):(t[i++]=a>>12|224,t[i++]=a>>6&63|128,t[i++]=a&63|128);return i-r}});var Pk=T((mNe,Lk)=>{"use strict";f();c();Lk.exports=Y2e;function Y2e(n,e,t){var i=t||8192,r=i>>>1,a=null,o=i;return function(u){if(u<1||u>r)return n(u);o+u>i&&(a=n(i),o=0);var p=e.call(a,o,o+=u);return o&7&&(o=(o|7)+1),p}}});var kk=T((ENe,xk)=>{"use strict";f();c();xk.exports=Tn;var U1=bs();function Tn(n,e){this.lo=n>>>0,this.hi=e>>>0}var $u=Tn.zero=new Tn(0,0);$u.toNumber=function(){return 0};$u.zzEncode=$u.zzDecode=function(){return this};$u.length=function(){return 1};var J2e=Tn.zeroHash="\0\0\0\0\0\0\0\0";Tn.fromNumber=function(e){if(e===0)return $u;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new Tn(i,r)};Tn.from=function(e){if(typeof e=="number")return Tn.fromNumber(e);if(U1.isString(e))if(U1.Long)e=U1.Long.fromString(e);else return Tn.fromNumber(parseInt(e,10));return e.low||e.high?new Tn(e.low>>>0,e.high>>>0):$u};Tn.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+i*4294967296)}return this.lo+this.hi*4294967296};Tn.prototype.toLong=function(e){return U1.Long?new U1.Long(this.lo|0,this.hi|0,!!e):{low:this.lo|0,high:this.hi|0,unsigned:!!e}};var Ts=String.prototype.charCodeAt;Tn.fromHash=function(e){return e===J2e?$u:new Tn((Ts.call(e,0)|Ts.call(e,1)<<8|Ts.call(e,2)<<16|Ts.call(e,3)<<24)>>>0,(Ts.call(e,4)|Ts.call(e,5)<<8|Ts.call(e,6)<<16|Ts.call(e,7)<<24)>>>0)};Tn.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};Tn.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this};Tn.prototype.zzDecode=function(){var e=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this};Tn.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return i===0?t===0?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}});var bs=T(Z5=>{"use strict";f();c();var ve=Z5;ve.asPromise=vk();ve.base64=Tk();ve.EventEmitter=Sk();ve.float=Ik();ve.inquire=wk();ve.utf8=Bk();ve.pool=Pk();ve.LongBits=kk();ve.global=typeof window<"u"&&window||typeof global<"u"&&global||typeof self<"u"&&self||Z5;ve.emptyArray=Object.freeze?Object.freeze([]):[];ve.emptyObject=Object.freeze?Object.freeze({}):{};ve.isNode=!!(ve.global.process&&ve.global.process.versions&&ve.global.process.versions.node);ve.isInteger=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};ve.isString=function(e){return typeof e=="string"||e instanceof String};ve.isObject=function(e){return e&&typeof e=="object"};ve.isset=ve.isSet=function(e,t){var i=e[t];return i!=null&&e.hasOwnProperty(t)?typeof i!="object"||(Array.isArray(i)?i.length:Object.keys(i).length)>0:!1};ve.Buffer=function(){try{var n=ve.inquire("buffer").Buffer;return n.prototype.utf8Write?n:null}catch{return null}}();ve._Buffer_from=null;ve._Buffer_allocUnsafe=null;ve.newBuffer=function(e){return typeof e=="number"?ve.Buffer?ve._Buffer_allocUnsafe(e):new ve.Array(e):ve.Buffer?ve._Buffer_from(e):typeof Uint8Array>"u"?e:new Uint8Array(e)};ve.Array=typeof Uint8Array<"u"?Uint8Array:Array;ve.Long=typeof process>"u"||process.env.ENABLE_LONG?ve.global.dcodeIO&&ve.global.dcodeIO.Long||ve.global.Long||ve.inquire("long"):void 0;ve.key2Re=/^true|false|0|1$/;ve.key32Re=/^-?(?:0|[1-9][0-9]*)$/;ve.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;ve.longToHash=function(e){return e?ve.LongBits.from(e).toHash():ve.LongBits.zeroHash};ve.longFromHash=function(e,t){var i=ve.LongBits.fromHash(e);return ve.Long?ve.Long.fromBits(i.lo,i.hi,t):i.toNumber(!!t)};function $k(n,e,t){for(var i=Object.keys(e),r=0;r-1;--a)if(t[r[a]]===1&&this[r[a]]!==void 0&&this[r[a]]!==null)return r[a]}};ve.oneOfSetter=function(e){return function(t){for(var i=0;i{"use strict";f();c();Uk.exports=Ze;var hr=bs(),Mk,P6=hr.LongBits,jk=hr.base64,qk=hr.utf8;function G1(n,e,t){this.fn=n,this.len=e,this.next=void 0,this.val=t}function tg(){}function X2e(n){this.head=n.head,this.tail=n.tail,this.len=n.len,this.next=n.states}function Ze(){this.len=0,this.head=new G1(tg,0,0),this.tail=this.head,this.states=null}Ze.create=hr.Buffer?function(){return(Ze.create=function(){return new Mk})()}:function(){return new Ze};Ze.alloc=function(e){return new hr.Array(e)};hr.Array!==Array&&(Ze.alloc=hr.pool(Ze.alloc,hr.Array.prototype.subarray));Ze.prototype._push=function(e,t,i){return this.tail=this.tail.next=new G1(e,t,i),this.len+=t,this};function ng(n,e,t){e[t]=n&255}function Z2e(n,e,t){for(;n>127;)e[t++]=n&127|128,n>>>=7;e[t]=n}function ig(n,e){this.len=n,this.next=void 0,this.val=e}ig.prototype=Object.create(G1.prototype);ig.prototype.fn=Z2e;Ze.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new ig((e=e>>>0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this};Ze.prototype.int32=function(e){return e<0?this._push(rg,10,P6.fromNumber(e)):this.uint32(e)};Ze.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)};function rg(n,e,t){for(;n.hi;)e[t++]=n.lo&127|128,n.lo=(n.lo>>>7|n.hi<<25)>>>0,n.hi>>>=7;for(;n.lo>127;)e[t++]=n.lo&127|128,n.lo=n.lo>>>7;e[t++]=n.lo}Ze.prototype.uint64=function(e){var t=P6.from(e);return this._push(rg,t.length(),t)};Ze.prototype.int64=Ze.prototype.uint64;Ze.prototype.sint64=function(e){var t=P6.from(e).zzEncode();return this._push(rg,t.length(),t)};Ze.prototype.bool=function(e){return this._push(ng,1,e?1:0)};function eg(n,e,t){e[t]=n&255,e[t+1]=n>>>8&255,e[t+2]=n>>>16&255,e[t+3]=n>>>24}Ze.prototype.fixed32=function(e){return this._push(eg,4,e>>>0)};Ze.prototype.sfixed32=Ze.prototype.fixed32;Ze.prototype.fixed64=function(e){var t=P6.from(e);return this._push(eg,4,t.lo)._push(eg,4,t.hi)};Ze.prototype.sfixed64=Ze.prototype.fixed64;Ze.prototype.float=function(e){return this._push(hr.float.writeFloatLE,4,e)};Ze.prototype.double=function(e){return this._push(hr.float.writeDoubleLE,8,e)};var e6e=hr.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var r=0;r>>0;if(!t)return this._push(ng,1,0);if(hr.isString(e)){var i=Ze.alloc(t=jk.length(e));jk.decode(e,i,0),e=i}return this.uint32(t)._push(e6e,t,e)};Ze.prototype.string=function(e){var t=qk.length(e);return t?this.uint32(t)._push(qk.write,t,e):this._push(ng,1,0)};Ze.prototype.fork=function(){return this.states=new X2e(this),this.head=this.tail=new G1(tg,0,0),this.len=0,this};Ze.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new G1(tg,0,0),this.len=0),this};Ze.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this};Ze.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t};Ze._configure=function(n){Mk=n}});var Kk=T((CNe,Qk)=>{"use strict";f();c();Qk.exports=Vu;var Gk=ag();(Vu.prototype=Object.create(Gk.prototype)).constructor=Vu;var Q1=bs(),x6=Q1.Buffer;function Vu(){Gk.call(this)}Vu.alloc=function(e){return(Vu.alloc=Q1._Buffer_allocUnsafe)(e)};var t6e=x6&&x6.prototype instanceof Uint8Array&&x6.prototype.set.name==="set"?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var r=0;r>>0;return this.uint32(t),t&&this._push(t6e,t,e),this};function n6e(n,e,t){n.length<40?Q1.utf8.write(n,e,t):e.utf8Write(n,t)}Vu.prototype.string=function(e){var t=x6.byteLength(e);return this.uint32(t),t&&this._push(n6e,t,e),this}});var sg=T((INe,Jk)=>{"use strict";f();c();Jk.exports=Jt;var La=bs(),Wk,Yk=La.LongBits,i6e=La.utf8;function Hr(n,e){return RangeError("index out of range: "+n.pos+" + "+(e||1)+" > "+n.len)}function Jt(n){this.buf=n,this.pos=0,this.len=n.length}var Hk=typeof Uint8Array<"u"?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new Jt(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new Jt(e);throw Error("illegal buffer")};Jt.create=La.Buffer?function(e){return(Jt.create=function(i){return La.Buffer.isBuffer(i)?new Wk(i):Hk(i)})(e)}:Hk;Jt.prototype._slice=La.Array.prototype.subarray||La.Array.prototype.slice;Jt.prototype.uint32=function(){var e=4294967295;return function(){if(e=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(e=(e|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,Hr(this,10);return e}}();Jt.prototype.int32=function(){return this.uint32()|0};Jt.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(e&1)|0};function og(){var n=new Yk(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(n.lo=(n.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return n;if(n.lo=(n.lo|(this.buf[this.pos]&127)<<28)>>>0,n.hi=(n.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return n;e=0}else{for(;e<3;++e){if(this.pos>=this.len)throw Hr(this);if(n.lo=(n.lo|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return n}return n.lo=(n.lo|(this.buf[this.pos++]&127)<>>0,n}if(this.len-this.pos>4){for(;e<5;++e)if(n.hi=(n.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return n}else for(;e<5;++e){if(this.pos>=this.len)throw Hr(this);if(n.hi=(n.hi|(this.buf[this.pos]&127)<>>0,this.buf[this.pos++]<128)return n}throw Error("invalid varint encoding")}Jt.prototype.bool=function(){return this.uint32()!==0};function k6(n,e){return(n[e-4]|n[e-3]<<8|n[e-2]<<16|n[e-1]<<24)>>>0}Jt.prototype.fixed32=function(){if(this.pos+4>this.len)throw Hr(this,4);return k6(this.buf,this.pos+=4)};Jt.prototype.sfixed32=function(){if(this.pos+4>this.len)throw Hr(this,4);return k6(this.buf,this.pos+=4)|0};function zk(){if(this.pos+8>this.len)throw Hr(this,8);return new Yk(k6(this.buf,this.pos+=4),k6(this.buf,this.pos+=4))}Jt.prototype.float=function(){if(this.pos+4>this.len)throw Hr(this,4);var e=La.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};Jt.prototype.double=function(){if(this.pos+8>this.len)throw Hr(this,4);var e=La.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};Jt.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw Hr(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)};Jt.prototype.string=function(){var e=this.bytes();return i6e.read(e,0,e.length)};Jt.prototype.skip=function(e){if(typeof e=="number"){if(this.pos+e>this.len)throw Hr(this,e);this.pos+=e}else do if(this.pos>=this.len)throw Hr(this);while(this.buf[this.pos++]&128);return this};Jt.prototype.skipType=function(n){switch(n){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(n=this.uint32()&7)!==4;)this.skipType(n);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+n+" at offset "+this.pos)}return this};Jt._configure=function(n){Wk=n;var e=La.Long?"toLong":"toNumber";La.merge(Jt.prototype,{int64:function(){return og.call(this)[e](!1)},uint64:function(){return og.call(this)[e](!0)},sint64:function(){return og.call(this).zzDecode()[e](!1)},fixed64:function(){return zk.call(this)[e](!0)},sfixed64:function(){return zk.call(this)[e](!1)}})}});var t$=T((BNe,e$)=>{"use strict";f();c();e$.exports=K1;var Zk=sg();(K1.prototype=Object.create(Zk.prototype)).constructor=K1;var Xk=bs();function K1(n){Zk.call(this,n)}Xk.Buffer&&(K1.prototype._slice=Xk.Buffer.prototype.slice);K1.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}});var i$=T((xNe,n$)=>{"use strict";f();c();n$.exports=H1;var ug=bs();(H1.prototype=Object.create(ug.EventEmitter.prototype)).constructor=H1;function H1(n,e,t){if(typeof n!="function")throw TypeError("rpcImpl must be a function");ug.EventEmitter.call(this),this.rpcImpl=n,this.requestDelimited=!!e,this.responseDelimited=!!t}H1.prototype.rpcCall=function n(e,t,i,r,a){if(!r)throw TypeError("request must be specified");var o=this;if(!a)return ug.asPromise(n,o,e,t,i,r);if(!o.rpcImpl){setTimeout(function(){a(Error("already ended"))},0);return}try{return o.rpcImpl(e,t[o.requestDelimited?"encodeDelimited":"encode"](r).finish(),function(u,p){if(u)return o.emit("error",u,e),a(u);if(p===null){o.end(!0);return}if(!(p instanceof i))try{p=i[o.responseDelimited?"decodeDelimited":"decode"](p)}catch(d){return o.emit("error",d,e),a(d)}return o.emit("data",p,e),a(null,p)})}catch(s){o.emit("error",s,e),setTimeout(function(){a(s)},0);return}};H1.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}});var a$=T(r$=>{"use strict";f();c();var r6e=r$;r6e.Service=i$()});var s$=T((MNe,o$)=>{"use strict";f();c();o$.exports={}});var d$=T(p$=>{"use strict";f();c();var yi=p$;yi.build="minimal";yi.Writer=ag();yi.BufferWriter=Kk();yi.Reader=sg();yi.BufferReader=t$();yi.util=bs();yi.rpc=a$();yi.roots=s$();yi.configure=u$;function u$(){yi.Reader._configure(yi.BufferReader),yi.util._configure()}yi.Writer._configure(yi.BufferWriter);u$()});var c$=T((zNe,l$)=>{"use strict";f();c();l$.exports=d$()});var h$=T((JNe,f$)=>{"use strict";f();c();var $e=c$(),V=$e.Reader,et=$e.Writer,F=$e.util,S=$e.roots.default||($e.roots.default={});S.Trace=function(){function n(e){if(e)for(var t=Object.keys(e),i=0;i>>3){case 4:a.startTime=S.google.protobuf.Timestamp.decode(t,t.uint32());break;case 3:a.endTime=S.google.protobuf.Timestamp.decode(t,t.uint32());break;case 11:a.durationNs=t.uint64();break;case 14:a.root=S.Trace.Node.decode(t,t.uint32());break;case 33:a.isIncomplete=t.bool();break;case 19:a.signature=t.string();break;case 27:a.unexecutedOperationBody=t.string();break;case 28:a.unexecutedOperationName=t.string();break;case 6:a.details=S.Trace.Details.decode(t,t.uint32());break;case 7:a.clientName=t.string();break;case 8:a.clientVersion=t.string();break;case 10:a.http=S.Trace.HTTP.decode(t,t.uint32());break;case 18:a.cachePolicy=S.Trace.CachePolicy.decode(t,t.uint32());break;case 26:a.queryPlan=S.Trace.QueryPlanNode.decode(t,t.uint32());break;case 20:a.fullQueryCacheHit=t.bool();break;case 21:a.persistedQueryHit=t.bool();break;case 22:a.persistedQueryRegister=t.bool();break;case 24:a.registeredOperation=t.bool();break;case 25:a.forbiddenOperation=t.bool();break;case 31:a.fieldExecutionWeight=t.double();break;default:t.skipType(o&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.startTime!=null&&t.hasOwnProperty("startTime")){var i=S.google.protobuf.Timestamp.verify(t.startTime);if(i)return"startTime."+i}if(t.endTime!=null&&t.hasOwnProperty("endTime")){var i=S.google.protobuf.Timestamp.verify(t.endTime);if(i)return"endTime."+i}if(t.durationNs!=null&&t.hasOwnProperty("durationNs")&&!F.isInteger(t.durationNs)&&!(t.durationNs&&F.isInteger(t.durationNs.low)&&F.isInteger(t.durationNs.high)))return"durationNs: integer|Long expected";if(t.root!=null&&t.hasOwnProperty("root")){var i=S.Trace.Node.verify(t.root);if(i)return"root."+i}if(t.isIncomplete!=null&&t.hasOwnProperty("isIncomplete")&&typeof t.isIncomplete!="boolean")return"isIncomplete: boolean expected";if(t.signature!=null&&t.hasOwnProperty("signature")&&!F.isString(t.signature))return"signature: string expected";if(t.unexecutedOperationBody!=null&&t.hasOwnProperty("unexecutedOperationBody")&&!F.isString(t.unexecutedOperationBody))return"unexecutedOperationBody: string expected";if(t.unexecutedOperationName!=null&&t.hasOwnProperty("unexecutedOperationName")&&!F.isString(t.unexecutedOperationName))return"unexecutedOperationName: string expected";if(t.details!=null&&t.hasOwnProperty("details")){var i=S.Trace.Details.verify(t.details);if(i)return"details."+i}if(t.clientName!=null&&t.hasOwnProperty("clientName")&&!F.isString(t.clientName))return"clientName: string expected";if(t.clientVersion!=null&&t.hasOwnProperty("clientVersion")&&!F.isString(t.clientVersion))return"clientVersion: string expected";if(t.http!=null&&t.hasOwnProperty("http")){var i=S.Trace.HTTP.verify(t.http);if(i)return"http."+i}if(t.cachePolicy!=null&&t.hasOwnProperty("cachePolicy")){var i=S.Trace.CachePolicy.verify(t.cachePolicy);if(i)return"cachePolicy."+i}if(t.queryPlan!=null&&t.hasOwnProperty("queryPlan")){var i=S.Trace.QueryPlanNode.verify(t.queryPlan);if(i)return"queryPlan."+i}return t.fullQueryCacheHit!=null&&t.hasOwnProperty("fullQueryCacheHit")&&typeof t.fullQueryCacheHit!="boolean"?"fullQueryCacheHit: boolean expected":t.persistedQueryHit!=null&&t.hasOwnProperty("persistedQueryHit")&&typeof t.persistedQueryHit!="boolean"?"persistedQueryHit: boolean expected":t.persistedQueryRegister!=null&&t.hasOwnProperty("persistedQueryRegister")&&typeof t.persistedQueryRegister!="boolean"?"persistedQueryRegister: boolean expected":t.registeredOperation!=null&&t.hasOwnProperty("registeredOperation")&&typeof t.registeredOperation!="boolean"?"registeredOperation: boolean expected":t.forbiddenOperation!=null&&t.hasOwnProperty("forbiddenOperation")&&typeof t.forbiddenOperation!="boolean"?"forbiddenOperation: boolean expected":t.fieldExecutionWeight!=null&&t.hasOwnProperty("fieldExecutionWeight")&&typeof t.fieldExecutionWeight!="number"?"fieldExecutionWeight: number expected":null},n.toObject=function(t,i){i||(i={});var r={};return i.defaults&&(r.endTime=null,r.startTime=null,r.details=null,r.clientName="",r.clientVersion="",r.http=null,r.durationNs=0,r.root=null,r.cachePolicy=null,r.signature="",r.fullQueryCacheHit=!1,r.persistedQueryHit=!1,r.persistedQueryRegister=!1,r.registeredOperation=!1,r.forbiddenOperation=!1,r.queryPlan=null,r.unexecutedOperationBody="",r.unexecutedOperationName="",r.fieldExecutionWeight=0,r.isIncomplete=!1),t.endTime!=null&&t.hasOwnProperty("endTime")&&(r.endTime=S.google.protobuf.Timestamp.toObject(t.endTime,i)),t.startTime!=null&&t.hasOwnProperty("startTime")&&(r.startTime=S.google.protobuf.Timestamp.toObject(t.startTime,i)),t.details!=null&&t.hasOwnProperty("details")&&(r.details=S.Trace.Details.toObject(t.details,i)),t.clientName!=null&&t.hasOwnProperty("clientName")&&(r.clientName=t.clientName),t.clientVersion!=null&&t.hasOwnProperty("clientVersion")&&(r.clientVersion=t.clientVersion),t.http!=null&&t.hasOwnProperty("http")&&(r.http=S.Trace.HTTP.toObject(t.http,i)),t.durationNs!=null&&t.hasOwnProperty("durationNs")&&(typeof t.durationNs=="number"?r.durationNs=i.longs===String?String(t.durationNs):t.durationNs:r.durationNs=i.longs===String?F.Long.prototype.toString.call(t.durationNs):i.longs===Number?new F.LongBits(t.durationNs.low>>>0,t.durationNs.high>>>0).toNumber(!0):t.durationNs),t.root!=null&&t.hasOwnProperty("root")&&(r.root=S.Trace.Node.toObject(t.root,i)),t.cachePolicy!=null&&t.hasOwnProperty("cachePolicy")&&(r.cachePolicy=S.Trace.CachePolicy.toObject(t.cachePolicy,i)),t.signature!=null&&t.hasOwnProperty("signature")&&(r.signature=t.signature),t.fullQueryCacheHit!=null&&t.hasOwnProperty("fullQueryCacheHit")&&(r.fullQueryCacheHit=t.fullQueryCacheHit),t.persistedQueryHit!=null&&t.hasOwnProperty("persistedQueryHit")&&(r.persistedQueryHit=t.persistedQueryHit),t.persistedQueryRegister!=null&&t.hasOwnProperty("persistedQueryRegister")&&(r.persistedQueryRegister=t.persistedQueryRegister),t.registeredOperation!=null&&t.hasOwnProperty("registeredOperation")&&(r.registeredOperation=t.registeredOperation),t.forbiddenOperation!=null&&t.hasOwnProperty("forbiddenOperation")&&(r.forbiddenOperation=t.forbiddenOperation),t.queryPlan!=null&&t.hasOwnProperty("queryPlan")&&(r.queryPlan=S.Trace.QueryPlanNode.toObject(t.queryPlan,i)),t.unexecutedOperationBody!=null&&t.hasOwnProperty("unexecutedOperationBody")&&(r.unexecutedOperationBody=t.unexecutedOperationBody),t.unexecutedOperationName!=null&&t.hasOwnProperty("unexecutedOperationName")&&(r.unexecutedOperationName=t.unexecutedOperationName),t.fieldExecutionWeight!=null&&t.hasOwnProperty("fieldExecutionWeight")&&(r.fieldExecutionWeight=i.json&&!isFinite(t.fieldExecutionWeight)?String(t.fieldExecutionWeight):t.fieldExecutionWeight),t.isIncomplete!=null&&t.hasOwnProperty("isIncomplete")&&(r.isIncomplete=t.isIncomplete),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n.CachePolicy=function(){function e(t){if(t)for(var i=Object.keys(t),r=0;r>>3){case 1:o.scope=i.int32();break;case 2:o.maxAgeNs=i.int64();break;default:i.skipType(s&7);break}}return o},e.decodeDelimited=function(i){return i instanceof V||(i=new V(i)),this.decode(i,i.uint32())},e.verify=function(i){if(typeof i!="object"||i===null)return"object expected";if(i.scope!=null&&i.hasOwnProperty("scope"))switch(i.scope){default:return"scope: enum value expected";case 0:case 1:case 2:break}return i.maxAgeNs!=null&&i.hasOwnProperty("maxAgeNs")&&!F.isInteger(i.maxAgeNs)&&!(i.maxAgeNs&&F.isInteger(i.maxAgeNs.low)&&F.isInteger(i.maxAgeNs.high))?"maxAgeNs: integer|Long expected":null},e.toObject=function(i,r){r||(r={});var a={};return r.defaults&&(a.scope=r.enums===String?"UNKNOWN":0,a.maxAgeNs=0),i.scope!=null&&i.hasOwnProperty("scope")&&(a.scope=r.enums===String?S.Trace.CachePolicy.Scope[i.scope]:i.scope),i.maxAgeNs!=null&&i.hasOwnProperty("maxAgeNs")&&(typeof i.maxAgeNs=="number"?a.maxAgeNs=r.longs===String?String(i.maxAgeNs):i.maxAgeNs:a.maxAgeNs=r.longs===String?F.Long.prototype.toString.call(i.maxAgeNs):r.longs===Number?new F.LongBits(i.maxAgeNs.low>>>0,i.maxAgeNs.high>>>0).toNumber():i.maxAgeNs),a},e.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},e.Scope=function(){var t={},i=Object.create(t);return i[t[0]="UNKNOWN"]=0,i[t[1]="PUBLIC"]=1,i[t[2]="PRIVATE"]=2,i}(),e}(),n.Details=function(){function e(t){if(this.variablesJson={},t)for(var i=Object.keys(t),r=0;r>>3){case 4:i.skip().pos++,o.variablesJson===F.emptyObject&&(o.variablesJson={}),s=i.string(),i.pos++,o.variablesJson[s]=i.string();break;case 3:o.operationName=i.string();break;default:i.skipType(u&7);break}}return o},e.decodeDelimited=function(i){return i instanceof V||(i=new V(i)),this.decode(i,i.uint32())},e.verify=function(i){if(typeof i!="object"||i===null)return"object expected";if(i.variablesJson!=null&&i.hasOwnProperty("variablesJson")){if(!F.isObject(i.variablesJson))return"variablesJson: object expected";for(var r=Object.keys(i.variablesJson),a=0;a>>3){case 1:o.message=i.string();break;case 2:o.location&&o.location.length||(o.location=[]),o.location.push(S.Trace.Location.decode(i,i.uint32()));break;case 3:o.timeNs=i.uint64();break;case 4:o.json=i.string();break;default:i.skipType(s&7);break}}return o},e.decodeDelimited=function(i){return i instanceof V||(i=new V(i)),this.decode(i,i.uint32())},e.verify=function(i){if(typeof i!="object"||i===null)return"object expected";if(i.message!=null&&i.hasOwnProperty("message")&&!F.isString(i.message))return"message: string expected";if(i.location!=null&&i.hasOwnProperty("location")){if(!Array.isArray(i.location))return"location: array expected";for(var r=0;r>>0,i.timeNs.high>>>0).toNumber(!0):i.timeNs),i.json!=null&&i.hasOwnProperty("json")&&(a.json=i.json),a},e.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},e}(),n.HTTP=function(){function e(t){if(this.requestHeaders={},this.responseHeaders={},t)for(var i=Object.keys(t),r=0;r>>3){case 1:o.method=i.int32();break;case 4:i.skip().pos++,o.requestHeaders===F.emptyObject&&(o.requestHeaders={}),s=i.string(),i.pos++,o.requestHeaders[s]=S.Trace.HTTP.Values.decode(i,i.uint32());break;case 5:i.skip().pos++,o.responseHeaders===F.emptyObject&&(o.responseHeaders={}),s=i.string(),i.pos++,o.responseHeaders[s]=S.Trace.HTTP.Values.decode(i,i.uint32());break;case 6:o.statusCode=i.uint32();break;default:i.skipType(u&7);break}}return o},e.decodeDelimited=function(i){return i instanceof V||(i=new V(i)),this.decode(i,i.uint32())},e.verify=function(i){if(typeof i!="object"||i===null)return"object expected";if(i.method!=null&&i.hasOwnProperty("method"))switch(i.method){default:return"method: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break}if(i.requestHeaders!=null&&i.hasOwnProperty("requestHeaders")){if(!F.isObject(i.requestHeaders))return"requestHeaders: object expected";for(var r=Object.keys(i.requestHeaders),a=0;a>>3){case 1:s.value&&s.value.length||(s.value=[]),s.value.push(r.string());break;default:r.skipType(u&7);break}}return s},t.decodeDelimited=function(r){return r instanceof V||(r=new V(r)),this.decode(r,r.uint32())},t.verify=function(r){if(typeof r!="object"||r===null)return"object expected";if(r.value!=null&&r.hasOwnProperty("value")){if(!Array.isArray(r.value))return"value: array expected";for(var a=0;a>>3){case 1:o.line=i.uint32();break;case 2:o.column=i.uint32();break;default:i.skipType(s&7);break}}return o},e.decodeDelimited=function(i){return i instanceof V||(i=new V(i)),this.decode(i,i.uint32())},e.verify=function(i){return typeof i!="object"||i===null?"object expected":i.line!=null&&i.hasOwnProperty("line")&&!F.isInteger(i.line)?"line: integer expected":i.column!=null&&i.hasOwnProperty("column")&&!F.isInteger(i.column)?"column: integer expected":null},e.toObject=function(i,r){r||(r={});var a={};return r.defaults&&(a.line=0,a.column=0),i.line!=null&&i.hasOwnProperty("line")&&(a.line=i.line),i.column!=null&&i.hasOwnProperty("column")&&(a.column=i.column),a},e.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},e}(),n.Node=function(){function e(i){if(this.error=[],this.child=[],i)for(var r=Object.keys(i),a=0;a>>3){case 1:s.responseName=r.string();break;case 2:s.index=r.uint32();break;case 14:s.originalFieldName=r.string();break;case 3:s.type=r.string();break;case 13:s.parentType=r.string();break;case 5:s.cachePolicy=S.Trace.CachePolicy.decode(r,r.uint32());break;case 8:s.startTime=r.uint64();break;case 9:s.endTime=r.uint64();break;case 11:s.error&&s.error.length||(s.error=[]),s.error.push(S.Trace.Error.decode(r,r.uint32()));break;case 12:s.child&&s.child.length||(s.child=[]),s.child.push(S.Trace.Node.decode(r,r.uint32()));break;default:r.skipType(u&7);break}}return s},e.decodeDelimited=function(r){return r instanceof V||(r=new V(r)),this.decode(r,r.uint32())},e.verify=function(r){if(typeof r!="object"||r===null)return"object expected";var a={};if(r.responseName!=null&&r.hasOwnProperty("responseName")&&(a.id=1,!F.isString(r.responseName)))return"responseName: string expected";if(r.index!=null&&r.hasOwnProperty("index")){if(a.id===1)return"id: multiple values";if(a.id=1,!F.isInteger(r.index))return"index: integer expected"}if(r.originalFieldName!=null&&r.hasOwnProperty("originalFieldName")&&!F.isString(r.originalFieldName))return"originalFieldName: string expected";if(r.type!=null&&r.hasOwnProperty("type")&&!F.isString(r.type))return"type: string expected";if(r.parentType!=null&&r.hasOwnProperty("parentType")&&!F.isString(r.parentType))return"parentType: string expected";if(r.cachePolicy!=null&&r.hasOwnProperty("cachePolicy")){var o=S.Trace.CachePolicy.verify(r.cachePolicy);if(o)return"cachePolicy."+o}if(r.startTime!=null&&r.hasOwnProperty("startTime")&&!F.isInteger(r.startTime)&&!(r.startTime&&F.isInteger(r.startTime.low)&&F.isInteger(r.startTime.high)))return"startTime: integer|Long expected";if(r.endTime!=null&&r.hasOwnProperty("endTime")&&!F.isInteger(r.endTime)&&!(r.endTime&&F.isInteger(r.endTime.low)&&F.isInteger(r.endTime.high)))return"endTime: integer|Long expected";if(r.error!=null&&r.hasOwnProperty("error")){if(!Array.isArray(r.error))return"error: array expected";for(var s=0;s>>0,r.startTime.high>>>0).toNumber(!0):r.startTime),r.endTime!=null&&r.hasOwnProperty("endTime")&&(typeof r.endTime=="number"?o.endTime=a.longs===String?String(r.endTime):r.endTime:o.endTime=a.longs===String?F.Long.prototype.toString.call(r.endTime):a.longs===Number?new F.LongBits(r.endTime.low>>>0,r.endTime.high>>>0).toNumber(!0):r.endTime),r.error&&r.error.length){o.error=[];for(var s=0;s>>3){case 1:s.sequence=S.Trace.QueryPlanNode.SequenceNode.decode(r,r.uint32());break;case 2:s.parallel=S.Trace.QueryPlanNode.ParallelNode.decode(r,r.uint32());break;case 3:s.fetch=S.Trace.QueryPlanNode.FetchNode.decode(r,r.uint32());break;case 4:s.flatten=S.Trace.QueryPlanNode.FlattenNode.decode(r,r.uint32());break;case 5:s.defer=S.Trace.QueryPlanNode.DeferNode.decode(r,r.uint32());break;case 6:s.condition=S.Trace.QueryPlanNode.ConditionNode.decode(r,r.uint32());break;default:r.skipType(u&7);break}}return s},e.decodeDelimited=function(r){return r instanceof V||(r=new V(r)),this.decode(r,r.uint32())},e.verify=function(r){if(typeof r!="object"||r===null)return"object expected";var a={};if(r.sequence!=null&&r.hasOwnProperty("sequence")){a.node=1;{var o=S.Trace.QueryPlanNode.SequenceNode.verify(r.sequence);if(o)return"sequence."+o}}if(r.parallel!=null&&r.hasOwnProperty("parallel")){if(a.node===1)return"node: multiple values";a.node=1;{var o=S.Trace.QueryPlanNode.ParallelNode.verify(r.parallel);if(o)return"parallel."+o}}if(r.fetch!=null&&r.hasOwnProperty("fetch")){if(a.node===1)return"node: multiple values";a.node=1;{var o=S.Trace.QueryPlanNode.FetchNode.verify(r.fetch);if(o)return"fetch."+o}}if(r.flatten!=null&&r.hasOwnProperty("flatten")){if(a.node===1)return"node: multiple values";a.node=1;{var o=S.Trace.QueryPlanNode.FlattenNode.verify(r.flatten);if(o)return"flatten."+o}}if(r.defer!=null&&r.hasOwnProperty("defer")){if(a.node===1)return"node: multiple values";a.node=1;{var o=S.Trace.QueryPlanNode.DeferNode.verify(r.defer);if(o)return"defer."+o}}if(r.condition!=null&&r.hasOwnProperty("condition")){if(a.node===1)return"node: multiple values";a.node=1;{var o=S.Trace.QueryPlanNode.ConditionNode.verify(r.condition);if(o)return"condition."+o}}return null},e.toObject=function(r,a){a||(a={});var o={};return r.sequence!=null&&r.hasOwnProperty("sequence")&&(o.sequence=S.Trace.QueryPlanNode.SequenceNode.toObject(r.sequence,a),a.oneofs&&(o.node="sequence")),r.parallel!=null&&r.hasOwnProperty("parallel")&&(o.parallel=S.Trace.QueryPlanNode.ParallelNode.toObject(r.parallel,a),a.oneofs&&(o.node="parallel")),r.fetch!=null&&r.hasOwnProperty("fetch")&&(o.fetch=S.Trace.QueryPlanNode.FetchNode.toObject(r.fetch,a),a.oneofs&&(o.node="fetch")),r.flatten!=null&&r.hasOwnProperty("flatten")&&(o.flatten=S.Trace.QueryPlanNode.FlattenNode.toObject(r.flatten,a),a.oneofs&&(o.node="flatten")),r.defer!=null&&r.hasOwnProperty("defer")&&(o.defer=S.Trace.QueryPlanNode.DeferNode.toObject(r.defer,a),a.oneofs&&(o.node="defer")),r.condition!=null&&r.hasOwnProperty("condition")&&(o.condition=S.Trace.QueryPlanNode.ConditionNode.toObject(r.condition,a),a.oneofs&&(o.node="condition")),o},e.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},e.SequenceNode=function(){function i(r){if(this.nodes=[],r)for(var a=Object.keys(r),o=0;o>>3){case 1:u.nodes&&u.nodes.length||(u.nodes=[]),u.nodes.push(S.Trace.QueryPlanNode.decode(a,a.uint32()));break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.nodes!=null&&a.hasOwnProperty("nodes")){if(!Array.isArray(a.nodes))return"nodes: array expected";for(var o=0;o>>3){case 1:u.nodes&&u.nodes.length||(u.nodes=[]),u.nodes.push(S.Trace.QueryPlanNode.decode(a,a.uint32()));break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.nodes!=null&&a.hasOwnProperty("nodes")){if(!Array.isArray(a.nodes))return"nodes: array expected";for(var o=0;o>>3){case 1:u.serviceName=a.string();break;case 2:u.traceParsingFailed=a.bool();break;case 3:u.trace=S.Trace.decode(a,a.uint32());break;case 4:u.sentTimeOffset=a.uint64();break;case 5:u.sentTime=S.google.protobuf.Timestamp.decode(a,a.uint32());break;case 6:u.receivedTime=S.google.protobuf.Timestamp.decode(a,a.uint32());break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.serviceName!=null&&a.hasOwnProperty("serviceName")&&!F.isString(a.serviceName))return"serviceName: string expected";if(a.traceParsingFailed!=null&&a.hasOwnProperty("traceParsingFailed")&&typeof a.traceParsingFailed!="boolean")return"traceParsingFailed: boolean expected";if(a.trace!=null&&a.hasOwnProperty("trace")){var o=S.Trace.verify(a.trace);if(o)return"trace."+o}if(a.sentTimeOffset!=null&&a.hasOwnProperty("sentTimeOffset")&&!F.isInteger(a.sentTimeOffset)&&!(a.sentTimeOffset&&F.isInteger(a.sentTimeOffset.low)&&F.isInteger(a.sentTimeOffset.high)))return"sentTimeOffset: integer|Long expected";if(a.sentTime!=null&&a.hasOwnProperty("sentTime")){var o=S.google.protobuf.Timestamp.verify(a.sentTime);if(o)return"sentTime."+o}if(a.receivedTime!=null&&a.hasOwnProperty("receivedTime")){var o=S.google.protobuf.Timestamp.verify(a.receivedTime);if(o)return"receivedTime."+o}return null},i.toObject=function(a,o){o||(o={});var s={};return o.defaults&&(s.serviceName="",s.traceParsingFailed=!1,s.trace=null,s.sentTimeOffset=0,s.sentTime=null,s.receivedTime=null),a.serviceName!=null&&a.hasOwnProperty("serviceName")&&(s.serviceName=a.serviceName),a.traceParsingFailed!=null&&a.hasOwnProperty("traceParsingFailed")&&(s.traceParsingFailed=a.traceParsingFailed),a.trace!=null&&a.hasOwnProperty("trace")&&(s.trace=S.Trace.toObject(a.trace,o)),a.sentTimeOffset!=null&&a.hasOwnProperty("sentTimeOffset")&&(typeof a.sentTimeOffset=="number"?s.sentTimeOffset=o.longs===String?String(a.sentTimeOffset):a.sentTimeOffset:s.sentTimeOffset=o.longs===String?F.Long.prototype.toString.call(a.sentTimeOffset):o.longs===Number?new F.LongBits(a.sentTimeOffset.low>>>0,a.sentTimeOffset.high>>>0).toNumber(!0):a.sentTimeOffset),a.sentTime!=null&&a.hasOwnProperty("sentTime")&&(s.sentTime=S.google.protobuf.Timestamp.toObject(a.sentTime,o)),a.receivedTime!=null&&a.hasOwnProperty("receivedTime")&&(s.receivedTime=S.google.protobuf.Timestamp.toObject(a.receivedTime,o)),s},i.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},i}(),e.FlattenNode=function(){function i(r){if(this.responsePath=[],r)for(var a=Object.keys(r),o=0;o>>3){case 1:u.responsePath&&u.responsePath.length||(u.responsePath=[]),u.responsePath.push(S.Trace.QueryPlanNode.ResponsePathElement.decode(a,a.uint32()));break;case 2:u.node=S.Trace.QueryPlanNode.decode(a,a.uint32());break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.responsePath!=null&&a.hasOwnProperty("responsePath")){if(!Array.isArray(a.responsePath))return"responsePath: array expected";for(var o=0;o>>3){case 1:u.primary=S.Trace.QueryPlanNode.DeferNodePrimary.decode(a,a.uint32());break;case 2:u.deferred&&u.deferred.length||(u.deferred=[]),u.deferred.push(S.Trace.QueryPlanNode.DeferredNode.decode(a,a.uint32()));break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.primary!=null&&a.hasOwnProperty("primary")){var o=S.Trace.QueryPlanNode.DeferNodePrimary.verify(a.primary);if(o)return"primary."+o}if(a.deferred!=null&&a.hasOwnProperty("deferred")){if(!Array.isArray(a.deferred))return"deferred: array expected";for(var s=0;s>>3){case 1:u.condition=a.string();break;case 2:u.ifClause=S.Trace.QueryPlanNode.decode(a,a.uint32());break;case 3:u.elseClause=S.Trace.QueryPlanNode.decode(a,a.uint32());break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.condition!=null&&a.hasOwnProperty("condition")&&!F.isString(a.condition))return"condition: string expected";if(a.ifClause!=null&&a.hasOwnProperty("ifClause")){var o=S.Trace.QueryPlanNode.verify(a.ifClause);if(o)return"ifClause."+o}if(a.elseClause!=null&&a.hasOwnProperty("elseClause")){var o=S.Trace.QueryPlanNode.verify(a.elseClause);if(o)return"elseClause."+o}return null},i.toObject=function(a,o){o||(o={});var s={};return o.defaults&&(s.condition="",s.ifClause=null,s.elseClause=null),a.condition!=null&&a.hasOwnProperty("condition")&&(s.condition=a.condition),a.ifClause!=null&&a.hasOwnProperty("ifClause")&&(s.ifClause=S.Trace.QueryPlanNode.toObject(a.ifClause,o)),a.elseClause!=null&&a.hasOwnProperty("elseClause")&&(s.elseClause=S.Trace.QueryPlanNode.toObject(a.elseClause,o)),s},i.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},i}(),e.DeferNodePrimary=function(){function i(r){if(r)for(var a=Object.keys(r),o=0;o>>3){case 1:u.node=S.Trace.QueryPlanNode.decode(a,a.uint32());break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.node!=null&&a.hasOwnProperty("node")){var o=S.Trace.QueryPlanNode.verify(a.node);if(o)return"node."+o}return null},i.toObject=function(a,o){o||(o={});var s={};return o.defaults&&(s.node=null),a.node!=null&&a.hasOwnProperty("node")&&(s.node=S.Trace.QueryPlanNode.toObject(a.node,o)),s},i.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},i}(),e.DeferredNode=function(){function i(r){if(this.depends=[],this.path=[],r)for(var a=Object.keys(r),o=0;o>>3){case 1:u.depends&&u.depends.length||(u.depends=[]),u.depends.push(S.Trace.QueryPlanNode.DeferredNodeDepends.decode(a,a.uint32()));break;case 2:u.label=a.string();break;case 3:u.path&&u.path.length||(u.path=[]),u.path.push(S.Trace.QueryPlanNode.ResponsePathElement.decode(a,a.uint32()));break;case 4:u.node=S.Trace.QueryPlanNode.decode(a,a.uint32());break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){if(typeof a!="object"||a===null)return"object expected";if(a.depends!=null&&a.hasOwnProperty("depends")){if(!Array.isArray(a.depends))return"depends: array expected";for(var o=0;o>>3){case 1:u.id=a.string();break;case 2:u.deferLabel=a.string();break;default:a.skipType(p&7);break}}return u},i.decodeDelimited=function(a){return a instanceof V||(a=new V(a)),this.decode(a,a.uint32())},i.verify=function(a){return typeof a!="object"||a===null?"object expected":a.id!=null&&a.hasOwnProperty("id")&&!F.isString(a.id)?"id: string expected":a.deferLabel!=null&&a.hasOwnProperty("deferLabel")&&!F.isString(a.deferLabel)?"deferLabel: string expected":null},i.toObject=function(a,o){o||(o={});var s={};return o.defaults&&(s.id="",s.deferLabel=""),a.id!=null&&a.hasOwnProperty("id")&&(s.id=a.id),a.deferLabel!=null&&a.hasOwnProperty("deferLabel")&&(s.deferLabel=a.deferLabel),s},i.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},i}(),e.ResponsePathElement=function(){function i(a){if(a)for(var o=Object.keys(a),s=0;s>>3){case 1:p.fieldName=o.string();break;case 2:p.index=o.uint32();break;default:o.skipType(d&7);break}}return p},i.decodeDelimited=function(o){return o instanceof V||(o=new V(o)),this.decode(o,o.uint32())},i.verify=function(o){if(typeof o!="object"||o===null)return"object expected";var s={};if(o.fieldName!=null&&o.hasOwnProperty("fieldName")&&(s.id=1,!F.isString(o.fieldName)))return"fieldName: string expected";if(o.index!=null&&o.hasOwnProperty("index")){if(s.id===1)return"id: multiple values";if(s.id=1,!F.isInteger(o.index))return"index: integer expected"}return null},i.toObject=function(o,s){s||(s={});var u={};return o.fieldName!=null&&o.hasOwnProperty("fieldName")&&(u.fieldName=o.fieldName,s.oneofs&&(u.id="fieldName")),o.index!=null&&o.hasOwnProperty("index")&&(u.index=o.index,s.oneofs&&(u.id="index")),u},i.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},i}(),e}(),n}();S.ReportHeader=function(){function n(e){if(e)for(var t=Object.keys(e),i=0;i>>3){case 12:a.graphRef=t.string();break;case 5:a.hostname=t.string();break;case 6:a.agentVersion=t.string();break;case 7:a.serviceVersion=t.string();break;case 8:a.runtimeVersion=t.string();break;case 9:a.uname=t.string();break;case 11:a.executableSchemaId=t.string();break;default:t.skipType(o&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){return typeof t!="object"||t===null?"object expected":t.graphRef!=null&&t.hasOwnProperty("graphRef")&&!F.isString(t.graphRef)?"graphRef: string expected":t.hostname!=null&&t.hasOwnProperty("hostname")&&!F.isString(t.hostname)?"hostname: string expected":t.agentVersion!=null&&t.hasOwnProperty("agentVersion")&&!F.isString(t.agentVersion)?"agentVersion: string expected":t.serviceVersion!=null&&t.hasOwnProperty("serviceVersion")&&!F.isString(t.serviceVersion)?"serviceVersion: string expected":t.runtimeVersion!=null&&t.hasOwnProperty("runtimeVersion")&&!F.isString(t.runtimeVersion)?"runtimeVersion: string expected":t.uname!=null&&t.hasOwnProperty("uname")&&!F.isString(t.uname)?"uname: string expected":t.executableSchemaId!=null&&t.hasOwnProperty("executableSchemaId")&&!F.isString(t.executableSchemaId)?"executableSchemaId: string expected":null},n.toObject=function(t,i){i||(i={});var r={};return i.defaults&&(r.hostname="",r.agentVersion="",r.serviceVersion="",r.runtimeVersion="",r.uname="",r.executableSchemaId="",r.graphRef=""),t.hostname!=null&&t.hasOwnProperty("hostname")&&(r.hostname=t.hostname),t.agentVersion!=null&&t.hasOwnProperty("agentVersion")&&(r.agentVersion=t.agentVersion),t.serviceVersion!=null&&t.hasOwnProperty("serviceVersion")&&(r.serviceVersion=t.serviceVersion),t.runtimeVersion!=null&&t.hasOwnProperty("runtimeVersion")&&(r.runtimeVersion=t.runtimeVersion),t.uname!=null&&t.hasOwnProperty("uname")&&(r.uname=t.uname),t.executableSchemaId!=null&&t.hasOwnProperty("executableSchemaId")&&(r.executableSchemaId=t.executableSchemaId),t.graphRef!=null&&t.hasOwnProperty("graphRef")&&(r.graphRef=t.graphRef),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.PathErrorStats=function(){function n(e){if(this.children={},e)for(var t=Object.keys(e),i=0;i>>3){case 1:t.skip().pos++,a.children===F.emptyObject&&(a.children={}),o=t.string(),t.pos++,a.children[o]=S.PathErrorStats.decode(t,t.uint32());break;case 4:a.errorsCount=t.uint64();break;case 5:a.requestsWithErrorsCount=t.uint64();break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.children!=null&&t.hasOwnProperty("children")){if(!F.isObject(t.children))return"children: object expected";for(var i=Object.keys(t.children),r=0;r>>0,t.errorsCount.high>>>0).toNumber(!0):t.errorsCount),t.requestsWithErrorsCount!=null&&t.hasOwnProperty("requestsWithErrorsCount")&&(typeof t.requestsWithErrorsCount=="number"?r.requestsWithErrorsCount=i.longs===String?String(t.requestsWithErrorsCount):t.requestsWithErrorsCount:r.requestsWithErrorsCount=i.longs===String?F.Long.prototype.toString.call(t.requestsWithErrorsCount):i.longs===Number?new F.LongBits(t.requestsWithErrorsCount.low>>>0,t.requestsWithErrorsCount.high>>>0).toNumber(!0):t.requestsWithErrorsCount),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.QueryLatencyStats=function(){function n(e){if(this.latencyCount=[],this.cacheLatencyCount=[],this.publicCacheTtlCount=[],this.privateCacheTtlCount=[],e)for(var t=Object.keys(e),i=0;i>>3){case 13:if(a.latencyCount&&a.latencyCount.length||(a.latencyCount=[]),(o&7)===2)for(var s=t.uint32()+t.pos;t.pos>>0,t.requestCount.high>>>0).toNumber(!0):t.requestCount),t.cacheHits!=null&&t.hasOwnProperty("cacheHits")&&(typeof t.cacheHits=="number"?r.cacheHits=i.longs===String?String(t.cacheHits):t.cacheHits:r.cacheHits=i.longs===String?F.Long.prototype.toString.call(t.cacheHits):i.longs===Number?new F.LongBits(t.cacheHits.low>>>0,t.cacheHits.high>>>0).toNumber(!0):t.cacheHits),t.persistedQueryHits!=null&&t.hasOwnProperty("persistedQueryHits")&&(typeof t.persistedQueryHits=="number"?r.persistedQueryHits=i.longs===String?String(t.persistedQueryHits):t.persistedQueryHits:r.persistedQueryHits=i.longs===String?F.Long.prototype.toString.call(t.persistedQueryHits):i.longs===Number?new F.LongBits(t.persistedQueryHits.low>>>0,t.persistedQueryHits.high>>>0).toNumber(!0):t.persistedQueryHits),t.persistedQueryMisses!=null&&t.hasOwnProperty("persistedQueryMisses")&&(typeof t.persistedQueryMisses=="number"?r.persistedQueryMisses=i.longs===String?String(t.persistedQueryMisses):t.persistedQueryMisses:r.persistedQueryMisses=i.longs===String?F.Long.prototype.toString.call(t.persistedQueryMisses):i.longs===Number?new F.LongBits(t.persistedQueryMisses.low>>>0,t.persistedQueryMisses.high>>>0).toNumber(!0):t.persistedQueryMisses),t.rootErrorStats!=null&&t.hasOwnProperty("rootErrorStats")&&(r.rootErrorStats=S.PathErrorStats.toObject(t.rootErrorStats,i)),t.requestsWithErrorsCount!=null&&t.hasOwnProperty("requestsWithErrorsCount")&&(typeof t.requestsWithErrorsCount=="number"?r.requestsWithErrorsCount=i.longs===String?String(t.requestsWithErrorsCount):t.requestsWithErrorsCount:r.requestsWithErrorsCount=i.longs===String?F.Long.prototype.toString.call(t.requestsWithErrorsCount):i.longs===Number?new F.LongBits(t.requestsWithErrorsCount.low>>>0,t.requestsWithErrorsCount.high>>>0).toNumber(!0):t.requestsWithErrorsCount),t.registeredOperationCount!=null&&t.hasOwnProperty("registeredOperationCount")&&(typeof t.registeredOperationCount=="number"?r.registeredOperationCount=i.longs===String?String(t.registeredOperationCount):t.registeredOperationCount:r.registeredOperationCount=i.longs===String?F.Long.prototype.toString.call(t.registeredOperationCount):i.longs===Number?new F.LongBits(t.registeredOperationCount.low>>>0,t.registeredOperationCount.high>>>0).toNumber(!0):t.registeredOperationCount),t.forbiddenOperationCount!=null&&t.hasOwnProperty("forbiddenOperationCount")&&(typeof t.forbiddenOperationCount=="number"?r.forbiddenOperationCount=i.longs===String?String(t.forbiddenOperationCount):t.forbiddenOperationCount:r.forbiddenOperationCount=i.longs===String?F.Long.prototype.toString.call(t.forbiddenOperationCount):i.longs===Number?new F.LongBits(t.forbiddenOperationCount.low>>>0,t.forbiddenOperationCount.high>>>0).toNumber(!0):t.forbiddenOperationCount),t.latencyCount&&t.latencyCount.length){r.latencyCount=[];for(var a=0;a>>0,t.latencyCount[a].high>>>0).toNumber():t.latencyCount[a]}if(t.cacheLatencyCount&&t.cacheLatencyCount.length){r.cacheLatencyCount=[];for(var a=0;a>>0,t.cacheLatencyCount[a].high>>>0).toNumber():t.cacheLatencyCount[a]}if(t.publicCacheTtlCount&&t.publicCacheTtlCount.length){r.publicCacheTtlCount=[];for(var a=0;a>>0,t.publicCacheTtlCount[a].high>>>0).toNumber():t.publicCacheTtlCount[a]}if(t.privateCacheTtlCount&&t.privateCacheTtlCount.length){r.privateCacheTtlCount=[];for(var a=0;a>>0,t.privateCacheTtlCount[a].high>>>0).toNumber():t.privateCacheTtlCount[a]}return t.requestsWithoutFieldInstrumentation!=null&&t.hasOwnProperty("requestsWithoutFieldInstrumentation")&&(typeof t.requestsWithoutFieldInstrumentation=="number"?r.requestsWithoutFieldInstrumentation=i.longs===String?String(t.requestsWithoutFieldInstrumentation):t.requestsWithoutFieldInstrumentation:r.requestsWithoutFieldInstrumentation=i.longs===String?F.Long.prototype.toString.call(t.requestsWithoutFieldInstrumentation):i.longs===Number?new F.LongBits(t.requestsWithoutFieldInstrumentation.low>>>0,t.requestsWithoutFieldInstrumentation.high>>>0).toNumber(!0):t.requestsWithoutFieldInstrumentation),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.StatsContext=function(){function n(e){if(e)for(var t=Object.keys(e),i=0;i>>3){case 2:a.clientName=t.string();break;case 3:a.clientVersion=t.string();break;default:t.skipType(o&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){return typeof t!="object"||t===null?"object expected":t.clientName!=null&&t.hasOwnProperty("clientName")&&!F.isString(t.clientName)?"clientName: string expected":t.clientVersion!=null&&t.hasOwnProperty("clientVersion")&&!F.isString(t.clientVersion)?"clientVersion: string expected":null},n.toObject=function(t,i){i||(i={});var r={};return i.defaults&&(r.clientName="",r.clientVersion=""),t.clientName!=null&&t.hasOwnProperty("clientName")&&(r.clientName=t.clientName),t.clientVersion!=null&&t.hasOwnProperty("clientVersion")&&(r.clientVersion=t.clientVersion),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.ContextualizedQueryLatencyStats=function(){function n(e){if(e)for(var t=Object.keys(e),i=0;i>>3){case 1:a.queryLatencyStats=S.QueryLatencyStats.decode(t,t.uint32());break;case 2:a.context=S.StatsContext.decode(t,t.uint32());break;default:t.skipType(o&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.queryLatencyStats!=null&&t.hasOwnProperty("queryLatencyStats")){var i=S.QueryLatencyStats.verify(t.queryLatencyStats);if(i)return"queryLatencyStats."+i}if(t.context!=null&&t.hasOwnProperty("context")){var i=S.StatsContext.verify(t.context);if(i)return"context."+i}return null},n.toObject=function(t,i){i||(i={});var r={};return i.defaults&&(r.queryLatencyStats=null,r.context=null),t.queryLatencyStats!=null&&t.hasOwnProperty("queryLatencyStats")&&(r.queryLatencyStats=S.QueryLatencyStats.toObject(t.queryLatencyStats,i)),t.context!=null&&t.hasOwnProperty("context")&&(r.context=S.StatsContext.toObject(t.context,i)),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.ContextualizedTypeStats=function(){function n(e){if(this.perTypeStat={},e)for(var t=Object.keys(e),i=0;i>>3){case 1:a.context=S.StatsContext.decode(t,t.uint32());break;case 2:t.skip().pos++,a.perTypeStat===F.emptyObject&&(a.perTypeStat={}),o=t.string(),t.pos++,a.perTypeStat[o]=S.TypeStat.decode(t,t.uint32());break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.context!=null&&t.hasOwnProperty("context")){var i=S.StatsContext.verify(t.context);if(i)return"context."+i}if(t.perTypeStat!=null&&t.hasOwnProperty("perTypeStat")){if(!F.isObject(t.perTypeStat))return"perTypeStat: object expected";for(var r=Object.keys(t.perTypeStat),a=0;a>>3){case 3:a.returnType=t.string();break;case 4:a.errorsCount=t.uint64();break;case 5:a.observedExecutionCount=t.uint64();break;case 10:a.estimatedExecutionCount=t.uint64();break;case 6:a.requestsWithErrorsCount=t.uint64();break;case 9:if(a.latencyCount&&a.latencyCount.length||(a.latencyCount=[]),(o&7)===2)for(var s=t.uint32()+t.pos;t.pos>>0,t.errorsCount.high>>>0).toNumber(!0):t.errorsCount),t.observedExecutionCount!=null&&t.hasOwnProperty("observedExecutionCount")&&(typeof t.observedExecutionCount=="number"?r.observedExecutionCount=i.longs===String?String(t.observedExecutionCount):t.observedExecutionCount:r.observedExecutionCount=i.longs===String?F.Long.prototype.toString.call(t.observedExecutionCount):i.longs===Number?new F.LongBits(t.observedExecutionCount.low>>>0,t.observedExecutionCount.high>>>0).toNumber(!0):t.observedExecutionCount),t.requestsWithErrorsCount!=null&&t.hasOwnProperty("requestsWithErrorsCount")&&(typeof t.requestsWithErrorsCount=="number"?r.requestsWithErrorsCount=i.longs===String?String(t.requestsWithErrorsCount):t.requestsWithErrorsCount:r.requestsWithErrorsCount=i.longs===String?F.Long.prototype.toString.call(t.requestsWithErrorsCount):i.longs===Number?new F.LongBits(t.requestsWithErrorsCount.low>>>0,t.requestsWithErrorsCount.high>>>0).toNumber(!0):t.requestsWithErrorsCount),t.latencyCount&&t.latencyCount.length){r.latencyCount=[];for(var a=0;a>>0,t.latencyCount[a].high>>>0).toNumber():t.latencyCount[a]}return t.estimatedExecutionCount!=null&&t.hasOwnProperty("estimatedExecutionCount")&&(typeof t.estimatedExecutionCount=="number"?r.estimatedExecutionCount=i.longs===String?String(t.estimatedExecutionCount):t.estimatedExecutionCount:r.estimatedExecutionCount=i.longs===String?F.Long.prototype.toString.call(t.estimatedExecutionCount):i.longs===Number?new F.LongBits(t.estimatedExecutionCount.low>>>0,t.estimatedExecutionCount.high>>>0).toNumber(!0):t.estimatedExecutionCount),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.TypeStat=function(){function n(e){if(this.perFieldStat={},e)for(var t=Object.keys(e),i=0;i>>3){case 3:t.skip().pos++,a.perFieldStat===F.emptyObject&&(a.perFieldStat={}),o=t.string(),t.pos++,a.perFieldStat[o]=S.FieldStat.decode(t,t.uint32());break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.perFieldStat!=null&&t.hasOwnProperty("perFieldStat")){if(!F.isObject(t.perFieldStat))return"perFieldStat: object expected";for(var i=Object.keys(t.perFieldStat),r=0;r>>3){case 1:a.fieldNames&&a.fieldNames.length||(a.fieldNames=[]),a.fieldNames.push(t.string());break;case 2:a.isInterface=t.bool();break;default:t.skipType(o&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.fieldNames!=null&&t.hasOwnProperty("fieldNames")){if(!Array.isArray(t.fieldNames))return"fieldNames: array expected";for(var i=0;i>>3){case 1:a.header=S.ReportHeader.decode(t,t.uint32());break;case 5:t.skip().pos++,a.tracesPerQuery===F.emptyObject&&(a.tracesPerQuery={}),o=t.string(),t.pos++,a.tracesPerQuery[o]=S.TracesAndStats.decode(t,t.uint32());break;case 2:a.endTime=S.google.protobuf.Timestamp.decode(t,t.uint32());break;case 6:a.operationCount=t.uint64();break;case 7:a.tracesPreAggregated=t.bool();break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.header!=null&&t.hasOwnProperty("header")){var i=S.ReportHeader.verify(t.header);if(i)return"header."+i}if(t.tracesPerQuery!=null&&t.hasOwnProperty("tracesPerQuery")){if(!F.isObject(t.tracesPerQuery))return"tracesPerQuery: object expected";for(var r=Object.keys(t.tracesPerQuery),a=0;a>>0,t.operationCount.high>>>0).toNumber(!0):t.operationCount),t.tracesPreAggregated!=null&&t.hasOwnProperty("tracesPreAggregated")&&(r.tracesPreAggregated=t.tracesPreAggregated),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},n}();S.ContextualizedStats=function(){function n(e){if(this.perTypeStat={},e)for(var t=Object.keys(e),i=0;i>>3){case 1:a.context=S.StatsContext.decode(t,t.uint32());break;case 2:a.queryLatencyStats=S.QueryLatencyStats.decode(t,t.uint32());break;case 3:t.skip().pos++,a.perTypeStat===F.emptyObject&&(a.perTypeStat={}),o=t.string(),t.pos++,a.perTypeStat[o]=S.TypeStat.decode(t,t.uint32());break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.context!=null&&t.hasOwnProperty("context")){var i=S.StatsContext.verify(t.context);if(i)return"context."+i}if(t.queryLatencyStats!=null&&t.hasOwnProperty("queryLatencyStats")){var i=S.QueryLatencyStats.verify(t.queryLatencyStats);if(i)return"queryLatencyStats."+i}if(t.perTypeStat!=null&&t.hasOwnProperty("perTypeStat")){if(!F.isObject(t.perTypeStat))return"perTypeStat: object expected";for(var r=Object.keys(t.perTypeStat),a=0;a>>3){case 1:a.trace&&a.trace.length||(a.trace=[]),a.trace.push(S.Trace.decode(t,t.uint32()));break;case 2:a.statsWithContext&&a.statsWithContext.length||(a.statsWithContext=[]),a.statsWithContext.push(S.ContextualizedStats.decode(t,t.uint32()));break;case 4:t.skip().pos++,a.referencedFieldsByType===F.emptyObject&&(a.referencedFieldsByType={}),o=t.string(),t.pos++,a.referencedFieldsByType[o]=S.ReferencedFieldsForType.decode(t,t.uint32());break;case 3:a.internalTracesContributingToStats&&a.internalTracesContributingToStats.length||(a.internalTracesContributingToStats=[]),a.internalTracesContributingToStats.push(S.Trace.decode(t,t.uint32()));break;default:t.skipType(s&7);break}}return a},n.decodeDelimited=function(t){return t instanceof V||(t=new V(t)),this.decode(t,t.uint32())},n.verify=function(t){if(typeof t!="object"||t===null)return"object expected";if(t.trace!=null&&t.hasOwnProperty("trace")){if(!Array.isArray(t.trace))return"trace: array expected";for(var i=0;i>>3){case 1:s.seconds=r.int64();break;case 2:s.nanos=r.int32();break;default:r.skipType(u&7);break}}return s},t.decodeDelimited=function(r){return r instanceof V||(r=new V(r)),this.decode(r,r.uint32())},t.verify=function(r){return typeof r!="object"||r===null?"object expected":r.seconds!=null&&r.hasOwnProperty("seconds")&&!F.isInteger(r.seconds)&&!(r.seconds&&F.isInteger(r.seconds.low)&&F.isInteger(r.seconds.high))?"seconds: integer|Long expected":r.nanos!=null&&r.hasOwnProperty("nanos")&&!F.isInteger(r.nanos)?"nanos: integer expected":null},t.toObject=function(r,a){a||(a={});var o={};return a.defaults&&(o.seconds=0,o.nanos=0),r.seconds!=null&&r.hasOwnProperty("seconds")&&(typeof r.seconds=="number"?o.seconds=a.longs===String?String(r.seconds):r.seconds:o.seconds=a.longs===String?F.Long.prototype.toString.call(r.seconds):a.longs===Number?new F.LongBits(r.seconds.low>>>0,r.seconds.high>>>0).toNumber():r.seconds),r.nanos!=null&&r.hasOwnProperty("nanos")&&(o.nanos=r.nanos),o},t.prototype.toJSON=function(){return this.constructor.toObject(this,$e.util.toJSONOptions)},t}(),e}(),n}();f$.exports=S});var m$=T($6=>{"use strict";f();c();Object.defineProperty($6,"__esModule",{value:!0});$6.calculateReferencedFieldsByType=void 0;var z1=Pe(),a6e=h$();function o6e({document:n,schema:e,resolvedOperationName:t}){let r=(0,z1.separateOperations)(n)[t??""];if(!r)throw Error(`shouldn't happen: operation '${t??""}' not found`);let a=new z1.TypeInfo(e),o=new Set,s=Object.create(null);(0,z1.visit)(r,(0,z1.visitWithTypeInfo)(a,{Field(p){let d=p.name.value,l=a.getParentType();if(!l)throw Error(`shouldn't happen: missing parent type for field ${d}`);let m=l.name;s[m]||(s[m]=new Set,(0,z1.isInterfaceType)(l)&&o.add(m)),s[m].add(d)}}));let u=Object.create(null);for(let[p,d]of Object.entries(s))u[p]=new a6e.ReferencedFieldsForType({fieldNames:[...d],isInterface:o.has(p)});return u}$6.calculateReferencedFieldsByType=o6e});var y$=T(V6=>{"use strict";f();c();Object.defineProperty(V6,"__esModule",{value:!0});V6.dropUnusedDefinitions=void 0;var s6e=Pe();function u6e(n,e){let t=(0,s6e.separateOperations)(n)[e];return t||n}V6.dropUnusedDefinitions=u6e});var v$=T(j6=>{"use strict";f();c();Object.defineProperty(j6,"__esModule",{value:!0});j6.stripSensitiveLiterals=void 0;var p6e=Pe();function d6e(n,e={hideListAndObjectLiterals:!1}){let t=e.hideListAndObjectLiterals?{ListValue(i){return{...i,values:[]}},ObjectValue(i){return{...i,fields:[]}}}:{};return(0,p6e.visit)(n,{IntValue(i){return{...i,value:"0"}},FloatValue(i){return{...i,value:"0"}},StringValue(i){return{...i,value:"",block:!1}},...t})}j6.stripSensitiveLiterals=d6e});var g$=T(q6=>{"use strict";f();c();Object.defineProperty(q6,"__esModule",{value:!0});q6.printWithReducedWhitespace=void 0;var E$=Pe();function l6e(n){let e=(0,E$.visit)(n,{StringValue(r){return{...r,value:buffer_shim.from(r.value,"utf8").toString("hex"),block:!1}}});return(0,E$.print)(e).replace(/\s+/g," ").replace(/([^_a-zA-Z0-9]) /g,(r,a)=>a).replace(/ ([^_a-zA-Z0-9])/g,(r,a)=>a).replace(/"([a-f0-9]+)"/g,(r,a)=>JSON.stringify(buffer_shim.from(a,"hex").toString("utf8")))}q6.printWithReducedWhitespace=l6e});var A$=T(M6=>{"use strict";f();c();Object.defineProperty(M6,"__esModule",{value:!0});M6.removeAliases=void 0;var c6e=Pe();function f6e(n){return(0,c6e.visit)(n,{Field(e){let{alias:t,...i}=e;return i}})}M6.removeAliases=f6e});var S$=T(Bd=>{"use strict";f();c();var h6e=Bd&&Bd.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Bd,"__esModule",{value:!0});Bd.sortAST=void 0;var m6e=Pe(),W1=h6e(Vy());function y6e(n){return(0,m6e.visit)(n,{Document(e){return{...e,definitions:(0,W1.default)(e.definitions,"kind","name.value")}},OperationDefinition(e){return b$(e)},SelectionSet(e){return{...e,selections:(0,W1.default)(e.selections,"kind","name.value")}},Field(e){return T$(e)},FragmentSpread(e){return pg(e)},InlineFragment(e){return pg(e)},FragmentDefinition(e){return pg(b$(e))},Directive(e){return T$(e)}})}Bd.sortAST=y6e;function pg(n){return"directives"in n?{...n,directives:(0,W1.default)(n.directives,"name.value")}:n}function T$(n){return"arguments"in n?{...n,arguments:(0,W1.default)(n.arguments,"name.value")}:n}function b$(n){return"variableDefinitions"in n?{...n,variableDefinitions:(0,W1.default)(n.variableDefinitions,"variable.name.value")}:n}});var D$=T(U6=>{"use strict";f();c();Object.defineProperty(U6,"__esModule",{value:!0});U6.usageReportingSignature=void 0;var v6e=y$(),E6e=v$(),g6e=g$(),A6e=A$(),T6e=S$();function b6e(n,e){return(0,g6e.printWithReducedWhitespace)((0,T6e.sortAST)((0,A6e.removeAliases)((0,E6e.stripSensitiveLiterals)((0,v6e.dropUnusedDefinitions)(n,e),{hideListAndObjectLiterals:!0}))))}U6.usageReportingSignature=b6e});var _$=T(Ld=>{"use strict";f();c();Object.defineProperty(Ld,"__esModule",{value:!0});Ld.usageReportingSignature=Ld.calculateReferencedFieldsByType=void 0;var S6e=m$();Object.defineProperty(Ld,"calculateReferencedFieldsByType",{enumerable:!0,get:function(){return S6e.calculateReferencedFieldsByType}});var D6e=D$();Object.defineProperty(Ld,"usageReportingSignature",{enumerable:!0,get:function(){return D6e.usageReportingSignature}})});var I$=T(Pd=>{"use strict";f();c();Object.defineProperty(Pd,"__esModule",{value:!0});Pd.queryPlanner=Pd.BridgeQueryPlanner=void 0;var F$=mk(),Y1=Pe(),dg=qn(),C$=_$(),_6e=YE(),F6e=`## GraphQLParseFailure `,C6e="GRAPHQL_PARSE_FAILED",N$=`## GraphQLValidationFailure `,O$="GRAPHQL_VALIDATION_FAILED",N6e=`## GraphQLUnknownOperationName `,G6=class{constructor(e,t){var i;this.schemaString=e,this.options=t,this.supergraph=dg.Supergraph.build(e,{supportedFeatures:_6e.ROUTER_SUPPORTED_SUPERGRAPH_FEATURES});let r=this.supergraph.schema.toAPISchema();this.apiSchema=r.toGraphQLJSSchema({includeDefer:(i=t.incrementalDelivery)===null||i===void 0?void 0:i.enableDefer}),this.planner=new F$.QueryPlanner(this.supergraph,t)}plan(e,t,i){let r=this.operation(e,t);if(r.errors!=null)return{usageReporting:r.usageReporting,errors:r.errors};let a=r.usageReporting,o=r.data,s=o?.name,u=i?{overrideConditions:new Map(i.overrideConditions.map(m=>[m,!0]))}:void 0,p=this.planner.buildQueryPlan(o,u),d;try{d=(0,F$.prettyFormatQueryPlan)(p)}catch(m){logger.warn(`Couldn't generate pretty query plan for ${s?"operation "+s:"anonymous operation"}: ${m}`),d=null}let l=this.planner.lastGeneratedPlanStatistics();return{usageReporting:a,data:{queryPlan:p,formattedQueryPlan:d,evaluatedPlanCount:l.evaluatedPlanCount}}}operation(e,t){let i;try{i=(0,Y1.parse)(e)}catch(p){return{usageReporting:{statsReportKey:F6e,referencedFieldsByType:{}},errors:[{...p,extensions:{code:C6e}}]}}let r=this.options.graphqlValidation===!1?[]:(0,Y1.validate)(this.apiSchema,i);if(r.length>0)return{usageReporting:{statsReportKey:N$,referencedFieldsByType:{}},errors:r.map(p=>((p.extensions==null||Object.keys(p.extensions).length===0)&&(p=new Y1.GraphQLError(p.message,{extensions:{code:O$},path:p.path,nodes:p.nodes,originalError:p.originalError,positions:p.positions,source:p.source})),Object.assign(p,{validationError:!0})))};let a;try{a=(0,dg.operationFromDocument)(this.supergraph.schema,i,{operationName:t})}catch(p){let d=N$;return(p.message.startsWith("Unknown operation named")||p.message.startsWith("Must provide operation name"))&&(d=N6e),{usageReporting:{statsReportKey:d,referencedFieldsByType:{}},errors:[{...p,extensions:{code:O$}}]}}let o=a?.name,s=I6e({schema:this.apiSchema,document:i,operationName:o});return{usageReporting:{statsReportKey:`# ${o||"-"} ${s.signature}`,referencedFieldsByType:s.referencedFieldsByType},data:a}}getApiSchema(){return(0,Y1.printSchema)(this.apiSchema)}introspect(e){let{data:t,errors:i}=(0,Y1.graphqlSync)({schema:this.apiSchema,source:e});return i?{data:t,errors:[...i]}:{data:t,errors:[]}}operationSignature(e,t){return this.operation(e,t).usageReporting.statsReportKey}subgraphs(){let e=this.supergraph.subgraphs(),t=new Map;return e.names().forEach(i=>{let r=(0,dg.printSchema)(e.get(i).schema);t.set(i,r)}),t}};Pd.BridgeQueryPlanner=G6;function O6e(n,e){return new G6(n,e)}Pd.queryPlanner=O6e;function I6e({schema:n,document:e,operationName:t}){return{signature:(0,C$.usageReportingSignature)(e,t||""),referencedFieldsByType:(0,C$.calculateReferencedFieldsByType)({document:e,schema:n,resolvedOperationName:t??null})}}});var B6e=T(Pa=>{f();c();Object.defineProperty(Pa,"__esModule",{value:!0});Pa.BridgeQueryPlanner=Pa.batchIntrospect=Pa.introspect=Pa.apiSchema=void 0;var w6e=uw();Object.defineProperty(Pa,"apiSchema",{enumerable:!0,get:function(){return w6e.apiSchema}});var w$=lw();Object.defineProperty(Pa,"introspect",{enumerable:!0,get:function(){return w$.introspect}});Object.defineProperty(Pa,"batchIntrospect",{enumerable:!0,get:function(){return w$.batchIntrospect}});var R6e=I$();Object.defineProperty(Pa,"BridgeQueryPlanner",{enumerable:!0,get:function(){return R6e.BridgeQueryPlanner}})});return B6e();})(); /*! 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 *) react-is/cjs/react-is.production.min.js: (** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=bridge.js.map