@fugood/bricks-cli 2.25.0-beta.1 → 2.25.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/425.js +1 -1
- package/lib/737.js +1 -1
- package/lib/index.js +2 -2
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createRequire as e}from"node:module";const t=e(import.meta.url);import*as a from"ink";import*as n from"ink-picture";import*as i from"react";import*as o from"react/jsx-runtime";import{default as r}from"conf";var s,p,l,d,c,u,m,f,v,h={444:(e,t,a)=>{a.a(e,async(e,n)=>{try{a.d(t,{A:()=>T,e:()=>w});var i=a(99436),o=a(35679),r=a(88568),s=a(74752),p=a(74445),l=a(73087),d=a(81637),c=a(69504),u=a(64447),m=a(34528),f=a(7054),v=a(7089),h=a(25811),g=a(71786),y=a(14778),b=a(61685),D=a(49317),x=e([y]),_=x.then?(await x)():x;y=_[0];var w=(E=i(function*(){var e,t=process.argv.findIndex(e=>"--auth-profile"===e||"-ap"===e);-1!==t&&process.argv[t+1]&&((0,s.setProfileOverride)(process.argv[t+1]),process.argv.splice(t,2)),o.DM.name("bricks").description("BRICKS CLI - Command-line interface for BRICKS Workspace API").version("2.25.0-beta.1").enablePositionalOptions(),o.DM.addCommand(l.s),o.DM.addCommand(d._),o.DM.addCommand(c.B),o.DM.addCommand(u.A),o.DM.addCommand(m.p),o.DM.addCommand(f.u),o.DM.addCommand(v.oT),o.DM.addCommand(h.K),o.DM.addCommand(g.g),o.DM.addCommand(y.D),o.DM.addCommand(b.v),o.DM.addCommand(D.l),o.DM.command("interactive").alias("i").description("Start interactive mode with Ink UI").action(i(function*(){try{var e=(yield Promise.all([a.e(63),a.e(779)]).then(a.bind(a,18779))).runInteractiveMode;yield e()}catch(e){console.error(r.Ay.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}})),o.DM.command("workspace").alias("ws").description("Show current workspace information").option("-j, --json","Output as JSON").action((e=i(function*(e){var t=yield Promise.resolve().then(a.bind(a,74752)),n=t.getToken,i=t.getBaseUrl,o=t.getCurrentProfile,s=(yield Promise.resolve().then(a.bind(a,50700))).createClient,p=(yield Promise.resolve().then(a.bind(a,29790))).default,l=n(o());l||(console.error(r.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1));var d=p("Fetching workspace info...").start();try{var c=s(i(),l),u=yield c.workspace();if(d.stop(),e.json)return void console.log(JSON.stringify(u,null,2));console.log(r.Ay.bold("\nWorkspace Information")),console.log("─".repeat(60)),console.log(`Name: ${r.Ay.green(u.name)}`),console.log(`ID: ${r.Ay.gray(u._id)}`),console.log(`Description: ${u.description||r.Ay.gray("N/A")}`),console.log(`\n${r.Ay.bold("Data")}`),console.log(`Remote Update: ${u.bank?.enable_remote_update?r.Ay.green("Enabled"):r.Ay.gray("Disabled")}`),console.log(`Spacename: ${u.bank?.spacename||r.Ay.gray("N/A")}`),console.log("─".repeat(60))}catch(e){d.fail(`Failed to get workspace: ${e.message}`),process.exit(1)}}),function(t){return e.apply(this,arguments)})),o.DM.on("--help",()=>{console.log(""),console.log(r.Ay.bold("Examples:")),console.log(""),console.log(r.Ay.gray(" # Login with a one-time passcode (recommended)")),console.log(" $ bricks auth login <passcode>"),console.log(""),console.log(r.Ay.gray(" # List all devices")),console.log(" $ bricks device list"),console.log(""),console.log(r.Ay.gray(" # Monitor devices in real-time")),console.log(" $ bricks device monitor"),console.log(""),console.log(r.Ay.gray(" # Control a device")),console.log(" $ bricks device refresh <device-id>"),console.log(" $ bricks device control <device-id> clear-cache"),console.log(""),console.log(r.Ay.gray(" # Bind a new device")),console.log(' $ bricks device bind <passcode> -n "My Device"'),console.log(""),console.log(r.Ay.gray(" # List applications")),console.log(" $ bricks app list"),console.log(""),console.log(r.Ay.gray(" # Start interactive mode")),console.log(" $ bricks interactive"),console.log(""),console.log(r.Ay.gray(" # Change API endpoint")),console.log(" $ bricks config endpoint beta"),console.log(""),console.log(r.Ay.gray("Get workspace token from BRICKS Controller:")),console.log(r.Ay.cyan(" https://control.bricks.tools")),console.log(r.Ay.gray(" Go to Workspace Settings > API Token"))});var n=process.argv.slice(2);if(0===n.length){if((0,p.b)(n))try{var x=(yield Promise.all([a.e(63),a.e(779)]).then(a.bind(a,18779))).runInteractiveMode;return void(yield x())}catch(e){console.error(r.Ay.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}return console.error(r.Ay.gray("No command provided. Interactive mode requires a TTY, so showing help instead.\n")),void o.DM.outputHelp()}yield o.DM.parseAsync(process.argv)}),function(){return E.apply(this,arguments)});const T=w;n()}catch(e){n(e)}var E})},555:(e,t,a)=>{a.d(t,{v:()=>r});var n=a(85608),i=a(79212),o=Symbol.for("apollo.cacheSize"),r=(0,n.__assign)({},i.global[o])},777:(e,t,a)=>{a.d(t,{MS:()=>p,UT:()=>l,WR:()=>s,bl:()=>i});var n=a(77634),i=new n.Slot,o=new WeakMap;function r(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dep)()}),t}function s(e){r(e).vars.forEach(function(t){return t.forgetCache(e)})}function p(e){r(e).vars.forEach(function(t){return t.attachCache(e)})}function l(e){var t=new Set,a=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){r(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var p=Array.from(a);a.clear(),p.forEach(function(t){return t(e)})}}else{var l=i.getValue();l&&(o(l),r(l).dep(n))}return e};n.onNextChange=function(e){return a.add(e),function(){a.delete(e)}};var o=n.attachCache=function(e){return t.add(e),r(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},1001:(e,t,a)=>{a.d(t,{p:()=>o});var n=/^(\d+)(s|m|h|d|w)$/,i={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5};function o(e){var t=e.match(n);if(t){var a=parseInt(t[1],10),o=i[t[2]];return new Date(Date.now()-a*o).toISOString()}var r=new Date(e);if(isNaN(r.getTime()))throw new Error(`Invalid time format: "${e}". Use ISO 8601 or relative (e.g. 1h, 30m, 2d)`);return r.toISOString()}},1708:e=>{e.exports=t("node:process")},2203:e=>{e.exports=t("stream")},2904:(e,t,a)=>{a.d(t,{HQ:()=>p,JG:()=>s,ct:()=>r,s6:()=>l});var n=a(85608),i=a(79212),o=a(90424);function r(e,t){var a=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===a&&((0,i.invariant)(1===o.length,86,o.length),a=o[0].name.value),(0,n.__assign)((0,n.__assign)({},e),{definitions:(0,n.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:a}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function p(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var a=e.name.value;if("function"==typeof t)return t(a);var n=t&&t[a];return(0,i.invariant)(n,87,a),n||null;default:return null}}function l(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},3420:(e,t,a)=>{a.d(t,{MD:()=>i,TZ:()=>p,VK:()=>r,_m:()=>o,a6:()=>c,aR:()=>s,dI:()=>l,fT:()=>u,gj:()=>f,i7:()=>m,xu:()=>d});var n=a(42455);function i(e){return o(e)||d(e)||u(e)}function o(e){return e.kind===n.b.OPERATION_DEFINITION||e.kind===n.b.FRAGMENT_DEFINITION}function r(e){return e.kind===n.b.FIELD||e.kind===n.b.FRAGMENT_SPREAD||e.kind===n.b.INLINE_FRAGMENT}function s(e){return e.kind===n.b.VARIABLE||e.kind===n.b.INT||e.kind===n.b.FLOAT||e.kind===n.b.STRING||e.kind===n.b.BOOLEAN||e.kind===n.b.NULL||e.kind===n.b.ENUM||e.kind===n.b.LIST||e.kind===n.b.OBJECT}function p(e){return s(e)&&(e.kind===n.b.LIST?e.values.some(p):e.kind===n.b.OBJECT?e.fields.some(e=>p(e.value)):e.kind!==n.b.VARIABLE)}function l(e){return e.kind===n.b.NAMED_TYPE||e.kind===n.b.LIST_TYPE||e.kind===n.b.NON_NULL_TYPE}function d(e){return e.kind===n.b.SCHEMA_DEFINITION||c(e)||e.kind===n.b.DIRECTIVE_DEFINITION}function c(e){return e.kind===n.b.SCALAR_TYPE_DEFINITION||e.kind===n.b.OBJECT_TYPE_DEFINITION||e.kind===n.b.INTERFACE_TYPE_DEFINITION||e.kind===n.b.UNION_TYPE_DEFINITION||e.kind===n.b.ENUM_TYPE_DEFINITION||e.kind===n.b.INPUT_OBJECT_TYPE_DEFINITION}function u(e){return e.kind===n.b.SCHEMA_EXTENSION||m(e)}function m(e){return e.kind===n.b.SCALAR_TYPE_EXTENSION||e.kind===n.b.OBJECT_TYPE_EXTENSION||e.kind===n.b.INTERFACE_TYPE_EXTENSION||e.kind===n.b.UNION_TYPE_EXTENSION||e.kind===n.b.ENUM_TYPE_EXTENSION||e.kind===n.b.INPUT_OBJECT_TYPE_EXTENSION}function f(e){return e.kind===n.b.TYPE_COORDINATE||e.kind===n.b.MEMBER_COORDINATE||e.kind===n.b.ARGUMENT_COORDINATE||e.kind===n.b.DIRECTIVE_COORDINATE||e.kind===n.b.DIRECTIVE_ARGUMENT_COORDINATE}},3634:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},3680:(e,t,a)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(20124):e.exports=a(85038)},3777:(e,t,a)=>{a.d(t,{AT:()=>l,E4:()=>d,Vn:()=>c,Vu:()=>r,n4:()=>s,sw:()=>o,wY:()=>u,zK:()=>p});var n=a(79212),i=a(28907);function o(e){(0,n.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.newInvariantError)(89,e.kind);return e});return(0,n.invariant)(t.length<=1,90,t.length),e}function r(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function p(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=r(e);return(0,n.invariant)(t&&"query"===t.operation,91),t}function d(e){(0,n.invariant)("Document"===e.kind,92),(0,n.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.invariant)("FragmentDefinition"===t.kind,94),t}function c(e){var t;o(e);for(var a=0,i=e.definitions;a<i.length;a++){var r=i[a];if("OperationDefinition"===r.kind){var s=r.operation;if("query"===s||"mutation"===s||"subscription"===s)return r}"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw(0,n.newInvariantError)(95)}function u(e){var t=Object.create(null),a=e&&e.variableDefinitions;return a&&a.length&&a.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},3848:(e,t,a)=>{a.d(t,{A:()=>n});var n=function(e,t,a){var n=new Error(a);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},3900:e=>{e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4275:(e,t,a)=>{var n=a(16699);function i(e){var t,a;function i(t,a){try{var r=e[t](a),s=r.value,p=s instanceof n;Promise.resolve(p?s.v:s).then(function(a){if(p){var n="return"===t?"return":"next";if(!s.k||a.done)return i(n,a);a=e[n](a).value}o(r.done?"return":"normal",a)},function(e){i("throw",e)})}catch(e){o("throw",e)}}function o(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?i(t.key,t.arg):a=null}this._invoke=function(e,n){return new Promise(function(o,r){var s={key:e,arg:n,resolve:o,reject:r,next:null};a?a=a.next=s:(t=a=s,i(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}i.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(e){return this._invoke("next",e)},i.prototype.throw=function(e){return this._invoke("throw",e)},i.prototype.return=function(e){return this._invoke("return",e)},e.exports=function(e){return function(){return new i(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},4649:(e,t,a)=>{a.d(t,{BREAK:()=>Yt.sP,BreakingChangeType:()=>Ei,DEFAULT_DEPRECATION_REASON:()=>at,DangerousChangeType:()=>Ti,DirectiveLocation:()=>Me.H,ExecutableDefinitionsRule:()=>Xt,FieldsOnCorrectTypeRule:()=>Zt,FragmentsOnCompositeTypesRule:()=>ea,GRAPHQL_MAX_INT:()=>Le,GRAPHQL_MIN_INT:()=>Ue,GraphQLBoolean:()=>Ye,GraphQLDeprecatedDirective:()=>nt,GraphQLDirective:()=>Ze,GraphQLEnumType:()=>Ce,GraphQLError:()=>l.eO,GraphQLFloat:()=>ze,GraphQLID:()=>Qe,GraphQLIncludeDirective:()=>et,GraphQLInputObjectType:()=>$e,GraphQLInt:()=>qe,GraphQLInterfaceType:()=>Oe,GraphQLList:()=>se,GraphQLNonNull:()=>pe,GraphQLObjectType:()=>De,GraphQLOneOfDirective:()=>ot,GraphQLScalarType:()=>be,GraphQLSchema:()=>Ot,GraphQLSkipDirective:()=>tt,GraphQLSpecifiedByDirective:()=>it,GraphQLString:()=>Ge,GraphQLUnionType:()=>Fe,Kind:()=>A.b,KnownArgumentNamesRule:()=>ta,KnownDirectivesRule:()=>na,KnownFragmentNamesRule:()=>ia,KnownTypeNamesRule:()=>oa,Lexer:()=>ei.JG,Location:()=>d.aZ,LoneAnonymousOperationRule:()=>sa,LoneSchemaDefinitionRule:()=>pa,MaxIntrospectionDepthRule:()=>da,NoDeprecatedCustomRule:()=>oi,NoFragmentCyclesRule:()=>ca,NoSchemaIntrospectionCustomRule:()=>ri,NoUndefinedVariablesRule:()=>ua,NoUnusedFragmentsRule:()=>ma,NoUnusedVariablesRule:()=>fa,OperationTypeNode:()=>d.cE,OverlappingFieldsCanBeMergedRule:()=>ga,PossibleFragmentSpreadsRule:()=>Fa,PossibleTypeExtensionsRule:()=>Sa,ProvidedRequiredArgumentsRule:()=>ka,ScalarLeafsRule:()=>ja,SchemaMetaFieldDef:()=>xt,SingleFieldSubscriptionsRule:()=>Za,Source:()=>Kn.k,Token:()=>d.ou,TokenKind:()=>ti.Y,TypeInfo:()=>Jt,TypeKind:()=>bt,TypeMetaFieldDef:()=>_t,TypeNameMetaFieldDef:()=>wt,UniqueArgumentDefinitionNamesRule:()=>tn,UniqueArgumentNamesRule:()=>an,UniqueDirectiveNamesRule:()=>nn,UniqueDirectivesPerLocationRule:()=>on,UniqueEnumValueNamesRule:()=>rn,UniqueFieldDefinitionNamesRule:()=>sn,UniqueFragmentNamesRule:()=>ln,UniqueInputFieldNamesRule:()=>dn,UniqueOperationNamesRule:()=>cn,UniqueOperationTypesRule:()=>un,UniqueTypeNamesRule:()=>mn,UniqueVariableNamesRule:()=>fn,ValidationContext:()=>Tn,ValuesOfCorrectTypeRule:()=>vn,VariablesAreInputTypesRule:()=>gn,VariablesInAllowedPositionRule:()=>yn,__Directive:()=>mt,__DirectiveLocation:()=>ft,__EnumValue:()=>yt,__Field:()=>ht,__InputValue:()=>gt,__Schema:()=>ut,__Type:()=>vt,__TypeKind:()=>Dt,assertAbstractType:()=>re,assertCompositeType:()=>ie,assertDirective:()=>Xe,assertEnumType:()=>z,assertEnumValueName:()=>k,assertInputObjectType:()=>Y,assertInputType:()=>X,assertInterfaceType:()=>M,assertLeafType:()=>ae,assertListType:()=>J,assertName:()=>C,assertNamedType:()=>ve,assertNonNullType:()=>W,assertNullableType:()=>ue,assertObjectType:()=>P,assertOutputType:()=>ee,assertScalarType:()=>R,assertSchema:()=>At,assertType:()=>$,assertUnionType:()=>U,assertValidName:()=>Gi,assertValidSchema:()=>Ct,assertWrappingType:()=>de,astFromValue:()=>dt,buildASTSchema:()=>yi,buildClientSchema:()=>ui,buildSchema:()=>bi,coerceInputValue:()=>Ba,concatAST:()=>Mi,createSourceEventStream:()=>ii,defaultFieldResolver:()=>Yn,defaultTypeResolver:()=>Gn,doTypesOverlap:()=>Be,execute:()=>kn,executeSync:()=>In,extendSchema:()=>mi,findBreakingChanges:()=>Qi,findDangerousChanges:()=>Ji,formatError:()=>l.Wk,getArgumentValues:()=>Ga,getDirectiveValues:()=>Ya,getEnterLeaveForKind:()=>Yt.XO,getIntrospectionQuery:()=>pi,getLocation:()=>Xn.g,getNamedType:()=>he,getNullableType:()=>me,getOperationAST:()=>li,getOperationRootType:()=>di,getVariableValues:()=>za,getVisitFn:()=>Yt.UY,graphql:()=>Jn,graphqlSync:()=>Hn,introspectionFromSchema:()=>ci,introspectionTypes:()=>Et,isAbstractType:()=>oe,isCompositeType:()=>ne,isConstValueNode:()=>Kt.TZ,isDefinitionNode:()=>Kt.MD,isDirective:()=>Ke,isEnumType:()=>q,isEqualType:()=>Ve,isExecutableDefinitionNode:()=>Kt._m,isInputObjectType:()=>G,isInputType:()=>K,isInterfaceType:()=>B,isIntrospectionType:()=>Tt,isLeafType:()=>te,isListType:()=>Q,isNamedType:()=>fe,isNonNullType:()=>H,isNullableType:()=>ce,isObjectType:()=>V,isOutputType:()=>Z,isRequiredArgument:()=>Ae,isRequiredInputField:()=>Re,isScalarType:()=>j,isSchema:()=>Nt,isSchemaCoordinateNode:()=>Kt.gj,isSelectionNode:()=>Kt.VK,isSpecifiedDirective:()=>st,isSpecifiedScalarType:()=>He,isType:()=>I,isTypeDefinitionNode:()=>Kt.a6,isTypeExtensionNode:()=>Kt.i7,isTypeNode:()=>Kt.dI,isTypeSubTypeOf:()=>Pe,isTypeSystemDefinitionNode:()=>Kt.xu,isTypeSystemExtensionNode:()=>Kt.fT,isUnionType:()=>L,isValidNameError:()=>Yi,isValueNode:()=>Kt.aR,isWrappingType:()=>le,lexicographicSortSchema:()=>Di,locatedError:()=>Sn,parse:()=>s.qg,parseConstValue:()=>s.u8,parseSchemaCoordinate:()=>s.Ng,parseType:()=>s.Mb,parseValue:()=>s.$x,print:()=>O.y,printError:()=>l.yJ,printIntrospectionSchema:()=>Oi,printLocation:()=>Zn.V,printSchema:()=>Ai,printSourceLocation:()=>Zn.C,printType:()=>ki,recommendedRules:()=>Dn,resolveASTSchemaCoordinate:()=>co,resolveObjMapThunk:()=>ye,resolveReadonlyArrayThunk:()=>ge,resolveSchemaCoordinate:()=>lo,responsePathAsArray:()=>Pa,separateOperations:()=>Li,specifiedDirectives:()=>rt,specifiedRules:()=>xn,specifiedScalarTypes:()=>Je,stripIgnoredCharacters:()=>zi,subscribe:()=>ni,syntaxError:()=>si.I,typeFromAST:()=>Qt,validate:()=>Nn,validateSchema:()=>St,valueFromAST:()=>Ua,valueFromASTUntyped:()=>F,version:()=>n,versionInfo:()=>i,visit:()=>Yt.YR,visitInParallel:()=>Yt.oP,visitWithTypeInfo:()=>Wt}),a.r(t);const n="16.12.0",i=Object.freeze({major:16,minor:12,patch:0,preReleaseTag:null});var o=a(93217);function r(e){return"function"==typeof(null==e?void 0:e.then)}var s=a(93367),p=a(35198),l=a(48255),d=a(59762);const c=5;function u(e,t){const[a,n]=t?[e,t]:[void 0,e];let i=" Did you mean ";a&&(i+=a+" ");const o=n.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}const r=o.slice(0,c),s=r.pop();return i+r.join(", ")+", or "+s+"?"}function m(e){return e}var f=a(50792),v=a(91070);function h(e,t){const a=Object.create(null);for(const n of e)a[t(n)]=n;return a}function g(e,t,a){const n=Object.create(null);for(const i of e)n[t(i)]=a(i);return n}function y(e,t){const a=Object.create(null);for(const n of Object.keys(e))a[n]=t(e[n],n);return a}function b(e,t){let a=0,n=0;for(;a<e.length&&n<t.length;){let i=e.charCodeAt(a),o=t.charCodeAt(n);if(_(i)&&_(o)){let r=0;do{++a,r=10*r+i-D,i=e.charCodeAt(a)}while(_(i)&&r>0);let s=0;do{++n,s=10*s+o-D,o=t.charCodeAt(n)}while(_(o)&&s>0);if(r<s)return-1;if(r>s)return 1}else{if(i<o)return-1;if(i>o)return 1;++a,++n}}return e.length-t.length}const D=48,x=57;function _(e){return!isNaN(e)&&D<=e&&e<=x}function w(e,t){const a=Object.create(null),n=new E(e),i=Math.floor(.4*e.length)+1;for(const e of t){const t=n.measure(e,i);void 0!==t&&(a[e]=t)}return Object.keys(a).sort((e,t)=>{const n=a[e]-a[t];return 0!==n?n:b(e,t)})}class E{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=T(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;const a=e.toLowerCase();if(this._inputLowerCase===a)return 1;let n=T(a),i=this._inputArray;if(n.length<i.length){const e=n;n=i,i=e}const o=n.length,r=i.length;if(o-r>t)return;const s=this._rows;for(let e=0;e<=r;e++)s[0][e]=e;for(let e=1;e<=o;e++){const a=s[(e-1)%3],o=s[e%3];let p=o[0]=e;for(let t=1;t<=r;t++){const r=n[e-1]===i[t-1]?0:1;let l=Math.min(a[t]+1,o[t-1]+1,a[t-1]+r);if(e>1&&t>1&&n[e-1]===i[t-2]&&n[e-2]===i[t-1]){const a=s[(e-2)%3][t-2];l=Math.min(l,a+1)}l<p&&(p=l),o[t]=l}if(p>t)return}const p=s[o%3][r];return p<=t?p:void 0}}function T(e){const t=e.length,a=new Array(t);for(let n=0;n<t;++n)a[n]=e.charCodeAt(n);return a}function N(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[a,n]of Object.entries(e))t[a]=n;return t}var A=a(42455),O=a(92704);function F(e,t){switch(e.kind){case A.b.NULL:return null;case A.b.INT:return parseInt(e.value,10);case A.b.FLOAT:return parseFloat(e.value);case A.b.STRING:case A.b.ENUM:case A.b.BOOLEAN:return e.value;case A.b.LIST:return e.values.map(e=>F(e,t));case A.b.OBJECT:return g(e.fields,e=>e.name.value,e=>F(e.value,t));case A.b.VARIABLE:return null==t?void 0:t[e.name.value]}}var S=a(25881);function C(e){if(null!=e||(0,o.U)(!1,"Must provide name."),"string"==typeof e||(0,o.U)(!1,"Expected name to be a string."),0===e.length)throw new l.eO("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,S.xr)(e.charCodeAt(t)))throw new l.eO(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,S.un)(e.charCodeAt(0)))throw new l.eO(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function k(e){if("true"===e||"false"===e||"null"===e)throw new l.eO(`Enum values cannot be named: ${e}`);return C(e)}function I(e){return j(e)||V(e)||B(e)||L(e)||q(e)||G(e)||Q(e)||H(e)}function $(e){if(!I(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL type.`);return e}function j(e){return(0,f.h)(e,be)}function R(e){if(!j(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Scalar type.`);return e}function V(e){return(0,f.h)(e,De)}function P(e){if(!V(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Object type.`);return e}function B(e){return(0,f.h)(e,Oe)}function M(e){if(!B(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Interface type.`);return e}function L(e){return(0,f.h)(e,Fe)}function U(e){if(!L(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Union type.`);return e}function q(e){return(0,f.h)(e,Ce)}function z(e){if(!q(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Enum type.`);return e}function G(e){return(0,f.h)(e,$e)}function Y(e){if(!G(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Input Object type.`);return e}function Q(e){return(0,f.h)(e,se)}function J(e){if(!Q(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL List type.`);return e}function H(e){return(0,f.h)(e,pe)}function W(e){if(!H(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Non-Null type.`);return e}function K(e){return j(e)||q(e)||G(e)||le(e)&&K(e.ofType)}function X(e){if(!K(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL input type.`);return e}function Z(e){return j(e)||V(e)||B(e)||L(e)||q(e)||le(e)&&Z(e.ofType)}function ee(e){if(!Z(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL output type.`);return e}function te(e){return j(e)||q(e)}function ae(e){if(!te(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL leaf type.`);return e}function ne(e){return V(e)||B(e)||L(e)}function ie(e){if(!ne(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL composite type.`);return e}function oe(e){return B(e)||L(e)}function re(e){if(!oe(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL abstract type.`);return e}class se{constructor(e){I(e)||(0,o.U)(!1,`Expected ${(0,p.N)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class pe{constructor(e){ce(e)||(0,o.U)(!1,`Expected ${(0,p.N)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function le(e){return Q(e)||H(e)}function de(e){if(!le(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL wrapping type.`);return e}function ce(e){return I(e)&&!H(e)}function ue(e){if(!ce(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL nullable type.`);return e}function me(e){if(e)return H(e)?e.ofType:e}function fe(e){return j(e)||V(e)||B(e)||L(e)||q(e)||G(e)}function ve(e){if(!fe(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL named type.`);return e}function he(e){if(e){let t=e;for(;le(t);)t=t.ofType;return t}}function ge(e){return"function"==typeof e?e():e}function ye(e){return"function"==typeof e?e():e}class be{constructor(e){var t,a,n,i;const r=null!==(t=e.parseValue)&&void 0!==t?t:m;this.name=C(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(a=e.serialize)&&void 0!==a?a:m,this.parseValue=r,this.parseLiteral=null!==(n=e.parseLiteral)&&void 0!==n?n:(e,t)=>r(F(e,t)),this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(i=e.extensionASTNodes)&&void 0!==i?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,o.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,p.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,o.U)(!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&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,o.U)(!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()}}class De{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>_e(e),this._interfaces=()=>xe(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,o.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,p.N)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Te(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function xe(e){var t;const a=ge(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(a)||(0,o.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),a}function _e(e){const t=ye(e.fields);return Ee(t)||(0,o.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),y(t,(t,a)=>{var n;Ee(t)||(0,o.U)(!1,`${e.name}.${a} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,o.U)(!1,`${e.name}.${a} field resolver must be a function if provided, but got: ${(0,p.N)(t.resolve)}.`);const i=null!==(n=t.args)&&void 0!==n?n:{};return Ee(i)||(0,o.U)(!1,`${e.name}.${a} args must be an object with argument names as keys.`),{name:C(a),description:t.description,type:t.type,args:we(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}})}function we(e){return Object.entries(e).map(([e,t])=>({name:C(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}))}function Ee(e){return(0,v.Z)(e)&&!Array.isArray(e)}function Te(e){return y(e,e=>({description:e.description,type:e.type,args:Ne(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function Ne(e){return g(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function Ae(e){return H(e.type)&&void 0===e.defaultValue}class Oe{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=_e.bind(void 0,e),this._interfaces=xe.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,o.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,p.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Te(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class Fe{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=Se.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,o.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,p.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(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()}}function Se(e){const t=ge(e.types);return Array.isArray(t)||(0,o.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class Ce{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values="function"==typeof e.values?e.values:Ie(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"==typeof this._values&&(this._values=Ie(this.name,this._values())),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=h(this.getValues(),e=>e.name)),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map(e=>[e.value,e])));const t=this._valueLookup.get(e);if(void 0===t)throw new l.eO(`Enum "${this.name}" cannot represent value: ${(0,p.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=(0,p.N)(e);throw new l.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+ke(this,t))}const t=this.getValue(e);if(null==t)throw new l.eO(`Value "${e}" does not exist in "${this.name}" enum.`+ke(this,e));return t.value}parseLiteral(e,t){if(e.kind!==A.b.ENUM){const t=(0,O.y)(e);throw new l.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+ke(this,t),{nodes:e})}const a=this.getValue(e.value);if(null==a){const t=(0,O.y)(e);throw new l.eO(`Value "${t}" does not exist in "${this.name}" enum.`+ke(this,t),{nodes:e})}return a.value}toConfig(){const e=g(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.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()}}function ke(e,t){return u("the enum value",w(t,e.getValues().map(e=>e.name)))}function Ie(e,t){return Ee(t)||(0,o.U)(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,a])=>(Ee(a)||(0,o.U)(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,p.N)(a)}.`),{name:k(t),description:a.description,value:void 0!==a.value?a.value:t,deprecationReason:a.deprecationReason,extensions:N(a.extensions),astNode:a.astNode}))}class $e{constructor(e){var t,a;this.name=C(e.name),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this.isOneOf=null!==(a=e.isOneOf)&&void 0!==a&&a,this._fields=je.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=y(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function je(e){const t=ye(e.fields);return Ee(t)||(0,o.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),y(t,(t,a)=>(!("resolve"in t)||(0,o.U)(!1,`${e.name}.${a} field has a resolve property, but Input Types cannot define resolvers.`),{name:C(a),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}))}function Re(e){return H(e.type)&&void 0===e.defaultValue}function Ve(e,t){return e===t||(H(e)&&H(t)||!(!Q(e)||!Q(t)))&&Ve(e.ofType,t.ofType)}function Pe(e,t,a){return t===a||(H(a)?!!H(t)&&Pe(e,t.ofType,a.ofType):H(t)?Pe(e,t.ofType,a):Q(a)?!!Q(t)&&Pe(e,t.ofType,a.ofType):!Q(t)&&(oe(a)&&(B(t)||V(t))&&e.isSubType(a,t)))}function Be(e,t,a){return t===a||(oe(t)?oe(a)?e.getPossibleTypes(t).some(t=>e.isSubType(a,t)):e.isSubType(t,a):!!oe(a)&&e.isSubType(a,t))}var Me=a(42868);const Le=2147483647,Ue=-2147483648,qe=new be({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(e){const t=We(e);if("boolean"==typeof t)return t?1:0;let a=t;if("string"==typeof t&&""!==t&&(a=Number(t)),"number"!=typeof a||!Number.isInteger(a))throw new l.eO(`Int cannot represent non-integer value: ${(0,p.N)(t)}`);if(a>Le||a<Ue)throw new l.eO("Int cannot represent non 32-bit signed integer value: "+(0,p.N)(t));return a},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new l.eO(`Int cannot represent non-integer value: ${(0,p.N)(e)}`);if(e>Le||e<Ue)throw new l.eO(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==A.b.INT)throw new l.eO(`Int cannot represent non-integer value: ${(0,O.y)(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>Le||t<Ue)throw new l.eO(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),ze=new be({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=We(e);if("boolean"==typeof t)return t?1:0;let a=t;if("string"==typeof t&&""!==t&&(a=Number(t)),"number"!=typeof a||!Number.isFinite(a))throw new l.eO(`Float cannot represent non numeric value: ${(0,p.N)(t)}`);return a},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new l.eO(`Float cannot represent non numeric value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.FLOAT&&e.kind!==A.b.INT)throw new l.eO(`Float cannot represent non numeric value: ${(0,O.y)(e)}`,e);return parseFloat(e.value)}}),Ge=new be({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=We(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new l.eO(`String cannot represent value: ${(0,p.N)(e)}`)},parseValue(e){if("string"!=typeof e)throw new l.eO(`String cannot represent a non string value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.STRING)throw new l.eO(`String cannot represent a non string value: ${(0,O.y)(e)}`,{nodes:e});return e.value}}),Ye=new be({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=We(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,p.N)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.BOOLEAN)throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,O.y)(e)}`,{nodes:e});return e.value}}),Qe=new be({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=We(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new l.eO(`ID cannot represent value: ${(0,p.N)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new l.eO(`ID cannot represent value: ${(0,p.N)(e)}`)},parseLiteral(e){if(e.kind!==A.b.STRING&&e.kind!==A.b.INT)throw new l.eO("ID cannot represent a non-string and non-integer value: "+(0,O.y)(e),{nodes:e});return e.value}}),Je=Object.freeze([Ge,qe,ze,Ye,Qe]);function He(e){return Je.some(({name:t})=>e.name===t)}function We(e){if((0,v.Z)(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!(0,v.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function Ke(e){return(0,f.h)(e,Ze)}function Xe(e){if(!Ke(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL directive.`);return e}class Ze{constructor(e){var t,a;this.name=C(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=N(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,o.U)(!1,`@${e.name} locations must be an Array.`);const n=null!==(a=e.args)&&void 0!==a?a:{};(0,v.Z)(n)&&!Array.isArray(n)||(0,o.U)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=we(n)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Ne(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const et=new Ze({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Me.H.FIELD,Me.H.FRAGMENT_SPREAD,Me.H.INLINE_FRAGMENT],args:{if:{type:new pe(Ye),description:"Included when true."}}}),tt=new Ze({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Me.H.FIELD,Me.H.FRAGMENT_SPREAD,Me.H.INLINE_FRAGMENT],args:{if:{type:new pe(Ye),description:"Skipped when true."}}}),at="No longer supported",nt=new Ze({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Me.H.FIELD_DEFINITION,Me.H.ARGUMENT_DEFINITION,Me.H.INPUT_FIELD_DEFINITION,Me.H.ENUM_VALUE],args:{reason:{type:Ge,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:at}}}),it=new Ze({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Me.H.SCALAR],args:{url:{type:new pe(Ge),description:"The URL that specifies the behavior of this scalar."}}}),ot=new Ze({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[Me.H.INPUT_OBJECT],args:{}}),rt=Object.freeze([et,tt,nt,it,ot]);function st(e){return rt.some(({name:t})=>t===e.name)}var pt=a(71306);function lt(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function dt(e,t){if(H(t)){const a=dt(e,t.ofType);return(null==a?void 0:a.kind)===A.b.NULL?null:a}if(null===e)return{kind:A.b.NULL};if(void 0===e)return null;if(Q(t)){const a=t.ofType;if(lt(e)){const t=[];for(const n of e){const e=dt(n,a);null!=e&&t.push(e)}return{kind:A.b.LIST,values:t}}return dt(e,a)}if(G(t)){if(!(0,v.Z)(e))return null;const a=[];for(const n of Object.values(t.getFields())){const t=dt(e[n.name],n.type);t&&a.push({kind:A.b.OBJECT_FIELD,name:{kind:A.b.NAME,value:n.name},value:t})}return{kind:A.b.OBJECT,fields:a}}if(te(t)){const a=t.serialize(e);if(null==a)return null;if("boolean"==typeof a)return{kind:A.b.BOOLEAN,value:a};if("number"==typeof a&&Number.isFinite(a)){const e=String(a);return ct.test(e)?{kind:A.b.INT,value:e}:{kind:A.b.FLOAT,value:e}}if("string"==typeof a)return q(t)?{kind:A.b.ENUM,value:a}:t===Qe&&ct.test(a)?{kind:A.b.INT,value:a}:{kind:A.b.STRING,value:a};throw new TypeError(`Cannot convert value to AST: ${(0,p.N)(a)}.`)}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}const ct=/^-?(?:0|[1-9][0-9]*)$/,ut=new De({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:Ge,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new pe(new se(new pe(vt))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new pe(vt),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:vt,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:vt,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new pe(new se(new pe(mt))),resolve:e=>e.getDirectives()}})}),mt=new De({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn 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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},isRepeatable:{type:new pe(Ye),resolve:e=>e.isRepeatable},locations:{type:new pe(new se(new pe(ft))),resolve:e=>e.locations},args:{type:new pe(new se(new pe(gt))),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),ft=new Ce({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:Me.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Me.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Me.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Me.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Me.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Me.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Me.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Me.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Me.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Me.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Me.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Me.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Me.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Me.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Me.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Me.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Me.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Me.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Me.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),vt=new De({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(Dt),resolve:e=>j(e)?bt.SCALAR:V(e)?bt.OBJECT:B(e)?bt.INTERFACE:L(e)?bt.UNION:q(e)?bt.ENUM:G(e)?bt.INPUT_OBJECT:Q(e)?bt.LIST:H(e)?bt.NON_NULL:void(0,pt.V)(!1,`Unexpected type: "${(0,p.N)(e)}".`)},name:{type:Ge,resolve:e=>"name"in e?e.name:void 0},description:{type:Ge,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:Ge,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new se(new pe(ht)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(V(e)||B(e)){const a=Object.values(e.getFields());return t?a:a.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new se(new pe(vt)),resolve(e){if(V(e)||B(e))return e.getInterfaces()}},possibleTypes:{type:new se(new pe(vt)),resolve(e,t,a,{schema:n}){if(oe(e))return n.getPossibleTypes(e)}},enumValues:{type:new se(new pe(yt)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(q(e)){const a=e.getValues();return t?a:a.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new se(new pe(gt)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(G(e)){const a=Object.values(e.getFields());return t?a:a.filter(e=>null==e.deprecationReason)}}},ofType:{type:vt,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:Ye,resolve:e=>{if(G(e))return e.isOneOf}}})}),ht=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},args:{type:new pe(new se(new pe(gt))),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new pe(vt),resolve:e=>e.type},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})}),gt=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},type:{type:new pe(vt),resolve:e=>e.type},defaultValue:{type:Ge,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:a}=e,n=dt(a,t);return n?(0,O.y)(n):null}},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})}),yt=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})});var bt;!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(bt||(bt={}));const Dt=new Ce({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:bt.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:bt.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:bt.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:bt.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:bt.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:bt.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:bt.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:bt.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),xt={name:"__schema",type:new pe(ut),description:"Access the current type schema of this server.",args:[],resolve:(e,t,a,{schema:n})=>n,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},_t={name:"__type",type:vt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new pe(Ge),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},a,{schema:n})=>n.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},wt={name:"__typename",type:new pe(Ge),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,a,{parentType:n})=>n.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Et=Object.freeze([ut,mt,ft,vt,ht,gt,yt,Dt]);function Tt(e){return Et.some(({name:t})=>e.name===t)}function Nt(e){return(0,f.h)(e,Ot)}function At(e){if(!Nt(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL schema.`);return e}class Ot{constructor(e){var t,a;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,v.Z)(e)||(0,o.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,o.U)(!1,`"types" must be Array if provided but got: ${(0,p.N)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,o.U)(!1,`"directives" must be Array if provided but got: ${(0,p.N)(e.directives)}.`),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(a=e.directives)&&void 0!==a?a:rt;const n=new Set(e.types);if(null!=e.types)for(const t of e.types)n.delete(t),Ft(t,n);null!=this._queryType&&Ft(this._queryType,n),null!=this._mutationType&&Ft(this._mutationType,n),null!=this._subscriptionType&&Ft(this._subscriptionType,n);for(const e of this._directives)if(Ke(e))for(const t of e.args)Ft(t.type,n);Ft(ut,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const e of n){if(null==e)continue;const t=e.name;if(t||(0,o.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw new Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,B(e)){for(const t of e.getInterfaces())if(B(t)){let a=this._implementationsMap[t.name];void 0===a&&(a=this._implementationsMap[t.name]={objects:[],interfaces:[]}),a.interfaces.push(e)}}else if(V(e))for(const t of e.getInterfaces())if(B(t)){let a=this._implementationsMap[t.name];void 0===a&&(a=this._implementationsMap[t.name]={objects:[],interfaces:[]}),a.objects.push(e)}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case d.cE.QUERY:return this.getQueryType();case d.cE.MUTATION:return this.getMutationType();case d.cE.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return L(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let a=this._subTypeMap[e.name];if(void 0===a){if(a=Object.create(null),L(e))for(const t of e.getTypes())a[t.name]=!0;else{const t=this.getImplementations(e);for(const e of t.objects)a[e.name]=!0;for(const e of t.interfaces)a[e.name]=!0}this._subTypeMap[e.name]=a}return void 0!==a[t.name]}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:void 0!==this.__validationErrors}}}function Ft(e,t){const a=he(e);if(!t.has(a))if(t.add(a),L(a))for(const e of a.getTypes())Ft(e,t);else if(V(a)||B(a)){for(const e of a.getInterfaces())Ft(e,t);for(const e of Object.values(a.getFields())){Ft(e.type,t);for(const a of e.args)Ft(a.type,t)}}else if(G(a))for(const e of Object.values(a.getFields()))Ft(e.type,t);return t}function St(e){if(At(e),e.__validationErrors)return e.__validationErrors;const t=new kt(e);!function(e){const t=e.schema,a=t.getQueryType();if(a){if(!V(a)){var n;e.reportError(`Query root type must be Object type, it cannot be ${(0,p.N)(a)}.`,null!==(n=It(t,d.cE.QUERY))&&void 0!==n?n:a.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);const i=t.getMutationType();var o;i&&!V(i)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,p.N)(i)}.`,null!==(o=It(t,d.cE.MUTATION))&&void 0!==o?o:i.astNode);const r=t.getSubscriptionType();var s;r&&!V(r)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,p.N)(r)}.`,null!==(s=It(t,d.cE.SUBSCRIPTION))&&void 0!==s?s:r.astNode)}(t),function(e){for(const a of e.schema.getDirectives())if(Ke(a)){$t(e,a),0===a.locations.length&&e.reportError(`Directive @${a.name} must include 1 or more locations.`,a.astNode);for(const n of a.args){var t;if($t(e,n),K(n.type)||e.reportError(`The type of @${a.name}(${n.name}:) must be Input Type but got: ${(0,p.N)(n.type)}.`,n.astNode),Ae(n)&&null!=n.deprecationReason)e.reportError(`Required argument @${a.name}(${n.name}:) cannot be deprecated.`,[Gt(n.astNode),null===(t=n.astNode)||void 0===t?void 0:t.type])}}else e.reportError(`Expected directive but got: ${(0,p.N)(a)}.`,null==a?void 0:a.astNode)}(t),function(e){const t=function(e){const t=Object.create(null),a=[],n=Object.create(null);return i;function i(o){if(t[o.name])return;t[o.name]=!0,n[o.name]=a.length;const r=Object.values(o.getFields());for(const t of r)if(H(t.type)&&G(t.type.ofType)){const o=t.type.ofType,r=n[o.name];if(a.push(t),void 0===r)i(o);else{const t=a.slice(r),n=t.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${o.name}" within itself through a series of non-null fields: "${n}".`,t.map(e=>e.astNode))}a.pop()}n[o.name]=void 0}}(e),a=e.schema.getTypeMap();for(const n of Object.values(a))fe(n)?(Tt(n)||$t(e,n),V(n)||B(n)?(jt(e,n),Rt(e,n)):L(n)?Bt(e,n):q(n)?Mt(e,n):G(n)&&(Lt(e,n),t(n))):e.reportError(`Expected GraphQL named type but got: ${(0,p.N)(n)}.`,n.astNode)}(t);const a=t.getErrors();return e.__validationErrors=a,a}function Ct(e){const t=St(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}class kt{constructor(e){this._errors=[],this.schema=e}reportError(e,t){const a=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new l.eO(e,{nodes:a}))}getErrors(){return this._errors}}function It(e,t){var a;return null===(a=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===a?void 0:a.type}function $t(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function jt(e,t){const a=Object.values(t.getFields());0===a.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const r of a){var n;if($t(e,r),!Z(r.type))e.reportError(`The type of ${t.name}.${r.name} must be Output Type but got: ${(0,p.N)(r.type)}.`,null===(n=r.astNode)||void 0===n?void 0:n.type);for(const a of r.args){const n=a.name;var i,o;if($t(e,a),!K(a.type))e.reportError(`The type of ${t.name}.${r.name}(${n}:) must be Input Type but got: ${(0,p.N)(a.type)}.`,null===(i=a.astNode)||void 0===i?void 0:i.type);if(Ae(a)&&null!=a.deprecationReason)e.reportError(`Required argument ${t.name}.${r.name}(${n}:) cannot be deprecated.`,[Gt(a.astNode),null===(o=a.astNode)||void 0===o?void 0:o.type])}}}function Rt(e,t){const a=Object.create(null);for(const n of t.getInterfaces())B(n)?t!==n?a[n.name]?e.reportError(`Type ${t.name} can only implement ${n.name} once.`,qt(t,n)):(a[n.name]=!0,Pt(e,t,n),Vt(e,t,n)):e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,qt(t,n)):e.reportError(`Type ${(0,p.N)(t)} must only implement Interface types, it cannot implement ${(0,p.N)(n)}.`,qt(t,n))}function Vt(e,t,a){const n=t.getFields();for(const l of Object.values(a.getFields())){const d=l.name,c=n[d];if(c){var i,o;if(!Pe(e.schema,c.type,l.type))e.reportError(`Interface field ${a.name}.${d} expects type ${(0,p.N)(l.type)} but ${t.name}.${d} is type ${(0,p.N)(c.type)}.`,[null===(i=l.astNode)||void 0===i?void 0:i.type,null===(o=c.astNode)||void 0===o?void 0:o.type]);for(const n of l.args){const i=n.name,o=c.args.find(e=>e.name===i);var r,s;if(o){if(!Ve(n.type,o.type))e.reportError(`Interface field argument ${a.name}.${d}(${i}:) expects type ${(0,p.N)(n.type)} but ${t.name}.${d}(${i}:) is type ${(0,p.N)(o.type)}.`,[null===(r=n.astNode)||void 0===r?void 0:r.type,null===(s=o.astNode)||void 0===s?void 0:s.type])}else e.reportError(`Interface field argument ${a.name}.${d}(${i}:) expected but ${t.name}.${d} does not provide it.`,[n.astNode,c.astNode])}for(const n of c.args){const i=n.name;!l.args.find(e=>e.name===i)&&Ae(n)&&e.reportError(`Object field ${t.name}.${d} includes required argument ${i} that is missing from the Interface field ${a.name}.${d}.`,[n.astNode,l.astNode])}}else e.reportError(`Interface field ${a.name}.${d} expected but ${t.name} does not provide it.`,[l.astNode,t.astNode,...t.extensionASTNodes])}}function Pt(e,t,a){const n=t.getInterfaces();for(const i of a.getInterfaces())n.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${a.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${a.name}.`,[...qt(a,i),...qt(t,a)])}function Bt(e,t){const a=t.getTypes();0===a.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const n=Object.create(null);for(const i of a)n[i.name]?e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,zt(t,i.name)):(n[i.name]=!0,V(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,p.N)(i)}.`,zt(t,String(i))))}function Mt(e,t){const a=t.getValues();0===a.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const t of a)$t(e,t)}function Lt(e,t){const a=Object.values(t.getFields());0===a.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const o of a){var n,i;if($t(e,o),!K(o.type))e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${(0,p.N)(o.type)}.`,null===(n=o.astNode)||void 0===n?void 0:n.type);if(Re(o)&&null!=o.deprecationReason)e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[Gt(o.astNode),null===(i=o.astNode)||void 0===i?void 0:i.type]);t.isOneOf&&Ut(t,o,e)}}function Ut(e,t,a){var n;H(t.type)&&a.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,null===(n=t.astNode)||void 0===n?void 0:n.type);void 0!==t.defaultValue&&a.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function qt(e,t){const{astNode:a,extensionASTNodes:n}=e;return(null!=a?[a,...n]:n).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function zt(e,t){const{astNode:a,extensionASTNodes:n}=e;return(null!=a?[a,...n]:n).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function Gt(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===nt.name)}var Yt=a(90424);function Qt(e,t){switch(t.kind){case A.b.LIST_TYPE:{const a=Qt(e,t.type);return a&&new se(a)}case A.b.NON_NULL_TYPE:{const a=Qt(e,t.type);return a&&new pe(a)}case A.b.NAMED_TYPE:return e.getType(t.name.value)}}class Jt{constructor(e,t,a){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=a?a:Ht,t&&(K(t)&&this._inputTypeStack.push(t),ne(t)&&this._parentTypeStack.push(t),Z(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){const t=this._schema;switch(e.kind){case A.b.SELECTION_SET:{const e=he(this.getType());this._parentTypeStack.push(ne(e)?e:void 0);break}case A.b.FIELD:{const a=this.getParentType();let n,i;a&&(n=this._getFieldDef(t,a,e),n&&(i=n.type)),this._fieldDefStack.push(n),this._typeStack.push(Z(i)?i:void 0);break}case A.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case A.b.OPERATION_DEFINITION:{const a=t.getRootType(e.operation);this._typeStack.push(V(a)?a:void 0);break}case A.b.INLINE_FRAGMENT:case A.b.FRAGMENT_DEFINITION:{const a=e.typeCondition,n=a?Qt(t,a):he(this.getType());this._typeStack.push(Z(n)?n:void 0);break}case A.b.VARIABLE_DEFINITION:{const a=Qt(t,e.type);this._inputTypeStack.push(K(a)?a:void 0);break}case A.b.ARGUMENT:{var a;let t,n;const i=null!==(a=this.getDirective())&&void 0!==a?a:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value),t&&(n=t.type)),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(K(n)?n:void 0);break}case A.b.LIST:{const e=me(this.getInputType()),t=Q(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(K(t)?t:void 0);break}case A.b.OBJECT_FIELD:{const t=he(this.getInputType());let a,n;G(t)&&(n=t.getFields()[e.name.value],n&&(a=n.type)),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(K(a)?a:void 0);break}case A.b.ENUM:{const t=he(this.getInputType());let a;q(t)&&(a=t.getValue(e.value)),this._enumValue=a;break}}}leave(e){switch(e.kind){case A.b.SELECTION_SET:this._parentTypeStack.pop();break;case A.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case A.b.DIRECTIVE:this._directive=null;break;case A.b.OPERATION_DEFINITION:case A.b.INLINE_FRAGMENT:case A.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case A.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case A.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case A.b.LIST:case A.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case A.b.ENUM:this._enumValue=null}}}function Ht(e,t,a){const n=a.name.value;return n===xt.name&&e.getQueryType()===t?xt:n===_t.name&&e.getQueryType()===t?_t:n===wt.name&&ne(t)?wt:V(t)||B(t)?t.getFields()[n]:void 0}function Wt(e,t){return{enter(...a){const n=a[0];e.enter(n);const i=(0,Yt.XO)(t,n.kind).enter;if(i){const o=i.apply(t,a);return void 0!==o&&(e.leave(n),(0,d.Ll)(o)&&e.enter(o)),o}},leave(...a){const n=a[0],i=(0,Yt.XO)(t,n.kind).leave;let o;return i&&(o=i.apply(t,a)),e.leave(n),o}}}var Kt=a(3420);function Xt(e){return{Document(t){for(const a of t.definitions)if(!(0,Kt._m)(a)){const t=a.kind===A.b.SCHEMA_DEFINITION||a.kind===A.b.SCHEMA_EXTENSION?"schema":'"'+a.name.value+'"';e.reportError(new l.eO(`The ${t} definition is not executable.`,{nodes:a}))}return!1}}}function Zt(e){return{Field(t){const a=e.getParentType();if(a){if(!e.getFieldDef()){const n=e.getSchema(),i=t.name.value;let o=u("to use an inline fragment on",function(e,t,a){if(!oe(t))return[];const n=new Set,i=Object.create(null);for(const r of e.getPossibleTypes(t))if(r.getFields()[a]){n.add(r),i[r.name]=1;for(const e of r.getInterfaces()){var o;e.getFields()[a]&&(n.add(e),i[e.name]=(null!==(o=i[e.name])&&void 0!==o?o:0)+1)}}return[...n].sort((t,a)=>{const n=i[a.name]-i[t.name];return 0!==n?n:B(t)&&e.isSubType(t,a)?-1:B(a)&&e.isSubType(a,t)?1:b(t.name,a.name)}).map(e=>e.name)}(n,a,i));""===o&&(o=u(function(e,t){if(V(e)||B(e)){return w(t,Object.keys(e.getFields()))}return[]}(a,i))),e.reportError(new l.eO(`Cannot query field "${i}" on type "${a.name}".`+o,{nodes:t}))}}}}}function ea(e){return{InlineFragment(t){const a=t.typeCondition;if(a){const t=Qt(e.getSchema(),a);if(t&&!ne(t)){const t=(0,O.y)(a);e.reportError(new l.eO(`Fragment cannot condition on non composite type "${t}".`,{nodes:a}))}}},FragmentDefinition(t){const a=Qt(e.getSchema(),t.typeCondition);if(a&&!ne(a)){const a=(0,O.y)(t.typeCondition);e.reportError(new l.eO(`Fragment "${t.name.value}" cannot condition on non composite type "${a}".`,{nodes:t.typeCondition}))}}}}function ta(e){return{...aa(e),Argument(t){const a=e.getArgument(),n=e.getFieldDef(),i=e.getParentType();if(!a&&n&&i){const a=t.name.value,o=w(a,n.args.map(e=>e.name));e.reportError(new l.eO(`Unknown argument "${a}" on field "${i.name}.${n.name}".`+u(o),{nodes:t}))}}}}function aa(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=e.args.map(e=>e.name);const i=e.getDocument().definitions;for(const e of i)if(e.kind===A.b.DIRECTIVE_DEFINITION){var o;const a=null!==(o=e.arguments)&&void 0!==o?o:[];t[e.name.value]=a.map(e=>e.name.value)}return{Directive(a){const n=a.name.value,i=t[n];if(a.arguments&&i)for(const t of a.arguments){const a=t.name.value;if(!i.includes(a)){const o=w(a,i);e.reportError(new l.eO(`Unknown argument "${a}" on directive "@${n}".`+u(o),{nodes:t}))}}return!1}}}function na(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=e.locations;const i=e.getDocument().definitions;for(const e of i)e.kind===A.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=e.locations.map(e=>e.value));return{Directive(a,n,i,o,r){const s=a.name.value,c=t[s];if(!c)return void e.reportError(new l.eO(`Unknown directive "@${s}".`,{nodes:a}));const u=function(e){const t=e[e.length-1];switch("kind"in t||(0,pt.V)(!1),t.kind){case A.b.OPERATION_DEFINITION:return function(e){switch(e){case d.cE.QUERY:return Me.H.QUERY;case d.cE.MUTATION:return Me.H.MUTATION;case d.cE.SUBSCRIPTION:return Me.H.SUBSCRIPTION}}(t.operation);case A.b.FIELD:return Me.H.FIELD;case A.b.FRAGMENT_SPREAD:return Me.H.FRAGMENT_SPREAD;case A.b.INLINE_FRAGMENT:return Me.H.INLINE_FRAGMENT;case A.b.FRAGMENT_DEFINITION:return Me.H.FRAGMENT_DEFINITION;case A.b.VARIABLE_DEFINITION:return Me.H.VARIABLE_DEFINITION;case A.b.SCHEMA_DEFINITION:case A.b.SCHEMA_EXTENSION:return Me.H.SCHEMA;case A.b.SCALAR_TYPE_DEFINITION:case A.b.SCALAR_TYPE_EXTENSION:return Me.H.SCALAR;case A.b.OBJECT_TYPE_DEFINITION:case A.b.OBJECT_TYPE_EXTENSION:return Me.H.OBJECT;case A.b.FIELD_DEFINITION:return Me.H.FIELD_DEFINITION;case A.b.INTERFACE_TYPE_DEFINITION:case A.b.INTERFACE_TYPE_EXTENSION:return Me.H.INTERFACE;case A.b.UNION_TYPE_DEFINITION:case A.b.UNION_TYPE_EXTENSION:return Me.H.UNION;case A.b.ENUM_TYPE_DEFINITION:case A.b.ENUM_TYPE_EXTENSION:return Me.H.ENUM;case A.b.ENUM_VALUE_DEFINITION:return Me.H.ENUM_VALUE;case A.b.INPUT_OBJECT_TYPE_DEFINITION:case A.b.INPUT_OBJECT_TYPE_EXTENSION:return Me.H.INPUT_OBJECT;case A.b.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];return"kind"in t||(0,pt.V)(!1),t.kind===A.b.INPUT_OBJECT_TYPE_DEFINITION?Me.H.INPUT_FIELD_DEFINITION:Me.H.ARGUMENT_DEFINITION}default:(0,pt.V)(!1,"Unexpected kind: "+(0,p.N)(t.kind))}}(r);u&&!c.includes(u)&&e.reportError(new l.eO(`Directive "@${s}" may not be used on ${u}.`,{nodes:a}))}}}function ia(e){return{FragmentSpread(t){const a=t.name.value;e.getFragment(a)||e.reportError(new l.eO(`Unknown fragment "${a}".`,{nodes:t.name}))}}}function oa(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);for(const t of e.getDocument().definitions)(0,Kt.a6)(t)&&(n[t.name.value]=!0);const i=[...Object.keys(a),...Object.keys(n)];return{NamedType(t,o,r,s,p){const d=t.name.value;if(!a[d]&&!n[d]){var c;const a=null!==(c=p[2])&&void 0!==c?c:r,n=null!=a&&("kind"in(m=a)&&((0,Kt.xu)(m)||(0,Kt.fT)(m)));if(n&&ra.includes(d))return;const o=w(d,n?ra.concat(i):i);e.reportError(new l.eO(`Unknown type "${d}".`+u(o),{nodes:t}))}var m}}}const ra=[...Je,...Et].map(e=>e.name);function sa(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===A.b.OPERATION_DEFINITION).length},OperationDefinition(a){!a.name&&t>1&&e.reportError(new l.eO("This anonymous operation must be the only defined operation.",{nodes:a}))}}}function pa(e){var t,a,n;const i=e.getSchema(),o=null!==(t=null!==(a=null!==(n=null==i?void 0:i.astNode)&&void 0!==n?n:null==i?void 0:i.getQueryType())&&void 0!==a?a:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType();let r=0;return{SchemaDefinition(t){o?e.reportError(new l.eO("Cannot define a new schema within a schema extension.",{nodes:t})):(r>0&&e.reportError(new l.eO("Must provide only one schema definition.",{nodes:t})),++r)}}}const la=3;function da(e){function t(a,n=Object.create(null),i=0){if(a.kind===A.b.FRAGMENT_SPREAD){const o=a.name.value;if(!0===n[o])return!1;const r=e.getFragment(o);if(!r)return!1;try{return n[o]=!0,t(r,n,i)}finally{n[o]=void 0}}if(a.kind===A.b.FIELD&&("fields"===a.name.value||"interfaces"===a.name.value||"possibleTypes"===a.name.value||"inputFields"===a.name.value)&&++i>=la)return!0;if("selectionSet"in a&&a.selectionSet)for(const e of a.selectionSet.selections)if(t(e,n,i))return!0;return!1}return{Field(a){if(("__schema"===a.name.value||"__type"===a.name.value)&&t(a))return e.reportError(new l.eO("Maximum introspection depth exceeded",{nodes:[a]})),!1}}}function ca(e){const t=Object.create(null),a=[],n=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>(i(e),!1)};function i(o){if(t[o.name.value])return;const r=o.name.value;t[r]=!0;const s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){n[r]=a.length;for(const t of s){const o=t.name.value,r=n[o];if(a.push(t),void 0===r){const t=e.getFragment(o);t&&i(t)}else{const t=a.slice(r),n=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new l.eO(`Cannot spread fragment "${o}" within itself`+(""!==n?` via ${n}.`:"."),{nodes:t}))}a.pop()}n[r]=void 0}}}function ua(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(a){const n=e.getRecursiveVariableUsages(a);for(const{node:i}of n){const n=i.name.value;!0!==t[n]&&e.reportError(new l.eO(a.name?`Variable "$${n}" is not defined by operation "${a.name.value}".`:`Variable "$${n}" is not defined.`,{nodes:[i,a]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function ma(e){const t=[],a=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(a.push(e),!1),Document:{leave(){const n=Object.create(null);for(const a of t)for(const t of e.getRecursivelyReferencedFragments(a))n[t.name.value]=!0;for(const t of a){const a=t.name.value;!0!==n[a]&&e.reportError(new l.eO(`Fragment "${a}" is never used.`,{nodes:t}))}}}}}function fa(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(a){const n=Object.create(null),i=e.getRecursiveVariableUsages(a);for(const{node:e}of i)n[e.name.value]=!0;for(const i of t){const t=i.variable.name.value;!0!==n[t]&&e.reportError(new l.eO(a.name?`Variable "$${t}" is never used in operation "${a.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function va(e){switch(e.kind){case A.b.OBJECT:return{...e,fields:(t=e.fields,t.map(e=>({...e,value:va(e.value)})).sort((e,t)=>b(e.name.value,t.name.value)))};case A.b.LIST:return{...e,values:e.values.map(va)};case A.b.INT:case A.b.FLOAT:case A.b.STRING:case A.b.BOOLEAN:case A.b.NULL:case A.b.ENUM:case A.b.VARIABLE:return e}var t}function ha(e){return Array.isArray(e)?e.map(([e,t])=>`subfields "${e}" conflict because `+ha(t)).join(" and "):e}function ga(e){const t=new Aa,a=new Oa,n=new Map;return{SelectionSet(i){const o=function(e,t,a,n,i,o){const r=[],[s,p]=Ea(e,t,i,o);if(function(e,t,a,n,i,o){for(const[r,s]of Object.entries(o))if(s.length>1)for(let o=0;o<s.length;o++)for(let p=o+1;p<s.length;p++){const l=xa(e,a,n,i,!1,r,s[o],s[p]);l&&t.push(l)}}(e,r,t,a,n,s),0!==p.length)for(let i=0;i<p.length;i++){ya(e,r,t,a,n,!1,s,p[i]);for(let o=i+1;o<p.length;o++)ba(e,r,t,a,n,!1,p[i],p[o])}return r}(e,n,t,a,e.getParentType(),i);for(const[[t,a],n,i]of o){const o=ha(a);e.reportError(new l.eO(`Fields "${t}" conflict because ${o}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:n.concat(i)}))}}}}function ya(e,t,a,n,i,o,r,s){if(n.has(r,s,o))return;n.add(r,s,o);const p=e.getFragment(s);if(!p)return;const[l,d]=Ta(e,a,p);if(r!==l){Da(e,t,a,n,i,o,r,l);for(const s of d)ya(e,t,a,n,i,o,r,s)}}function ba(e,t,a,n,i,o,r,s){if(r===s)return;if(i.has(r,s,o))return;i.add(r,s,o);const p=e.getFragment(r),l=e.getFragment(s);if(!p||!l)return;const[d,c]=Ta(e,a,p),[u,m]=Ta(e,a,l);Da(e,t,a,n,i,o,d,u);for(const s of m)ba(e,t,a,n,i,o,r,s);for(const r of c)ba(e,t,a,n,i,o,r,s)}function Da(e,t,a,n,i,o,r,s){for(const[p,l]of Object.entries(r)){const r=s[p];if(r)for(const s of l)for(const l of r){const r=xa(e,a,n,i,o,p,s,l);r&&t.push(r)}}}function xa(e,t,a,n,i,o,r,s){const[l,d,c]=r,[u,m,f]=s,v=i||l!==u&&V(l)&&V(u);if(!v){const e=d.name.value,t=m.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[d],[m]];if(!function(e,t){const a=e.arguments,n=t.arguments;if(void 0===a||0===a.length)return void 0===n||0===n.length;if(void 0===n||0===n.length)return!1;if(a.length!==n.length)return!1;const i=new Map(n.map(({name:e,value:t})=>[e.value,t]));return a.every(e=>{const t=e.value,a=i.get(e.name.value);return void 0!==a&&_a(t)===_a(a)})}(d,m))return[[o,"they have differing arguments"],[d],[m]]}const h=null==c?void 0:c.type,g=null==f?void 0:f.type;if(h&&g&&wa(h,g))return[[o,`they return conflicting types "${(0,p.N)(h)}" and "${(0,p.N)(g)}"`],[d],[m]];const y=d.selectionSet,b=m.selectionSet;if(y&&b){const i=function(e,t,a,n,i,o,r,s,p){const l=[],[d,c]=Ea(e,t,o,r),[u,m]=Ea(e,t,s,p);Da(e,l,t,a,n,i,d,u);for(const o of m)ya(e,l,t,a,n,i,d,o);for(const o of c)ya(e,l,t,a,n,i,u,o);for(const o of c)for(const r of m)ba(e,l,t,a,n,i,o,r);return l}(e,t,a,n,v,he(h),y,he(g),b);return function(e,t,a,n){if(e.length>0)return[[t,e.map(([e])=>e)],[a,...e.map(([,e])=>e).flat()],[n,...e.map(([,,e])=>e).flat()]]}(i,o,d,m)}}function _a(e){return(0,O.y)(va(e))}function wa(e,t){return Q(e)?!Q(t)||wa(e.ofType,t.ofType):!!Q(t)||(H(e)?!H(t)||wa(e.ofType,t.ofType):!!H(t)||!(!te(e)&&!te(t))&&e!==t)}function Ea(e,t,a,n){const i=t.get(n);if(i)return i;const o=Object.create(null),r=Object.create(null);Na(e,a,n,o,r);const s=[o,Object.keys(r)];return t.set(n,s),s}function Ta(e,t,a){const n=t.get(a.selectionSet);if(n)return n;const i=Qt(e.getSchema(),a.typeCondition);return Ea(e,t,i,a.selectionSet)}function Na(e,t,a,n,i){for(const o of a.selections)switch(o.kind){case A.b.FIELD:{const e=o.name.value;let a;(V(t)||B(t))&&(a=t.getFields()[e]);const i=o.alias?o.alias.value:e;n[i]||(n[i]=[]),n[i].push([t,o,a]);break}case A.b.FRAGMENT_SPREAD:i[o.name.value]=!0;break;case A.b.INLINE_FRAGMENT:{const a=o.typeCondition,r=a?Qt(e.getSchema(),a):t;Na(e,r,o.selectionSet,n,i);break}}}class Aa{constructor(){this._data=new Map}has(e,t,a){var n;const i=null===(n=this._data.get(e))||void 0===n?void 0:n.get(t);return void 0!==i&&(!!a||a===i)}add(e,t,a){const n=this._data.get(e);void 0===n?this._data.set(e,new Map([[t,a]])):n.set(t,a)}}class Oa{constructor(){this._orderedPairSet=new Aa}has(e,t,a){return e<t?this._orderedPairSet.has(e,t,a):this._orderedPairSet.has(t,e,a)}add(e,t,a){e<t?this._orderedPairSet.add(e,t,a):this._orderedPairSet.add(t,e,a)}}function Fa(e){return{InlineFragment(t){const a=e.getType(),n=e.getParentType();if(ne(a)&&ne(n)&&!Be(e.getSchema(),a,n)){const i=(0,p.N)(n),o=(0,p.N)(a);e.reportError(new l.eO(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){const a=t.name.value,n=function(e,t){const a=e.getFragment(t);if(a){const t=Qt(e.getSchema(),a.typeCondition);if(ne(t))return t}}(e,a),i=e.getParentType();if(n&&i&&!Be(e.getSchema(),n,i)){const o=(0,p.N)(i),r=(0,p.N)(n);e.reportError(new l.eO(`Fragment "${a}" cannot be spread here as objects of type "${o}" can never be of type "${r}".`,{nodes:t}))}}}}function Sa(e){const t=e.getSchema(),a=Object.create(null);for(const t of e.getDocument().definitions)(0,Kt.a6)(t)&&(a[t.name.value]=t);return{ScalarTypeExtension:n,ObjectTypeExtension:n,InterfaceTypeExtension:n,UnionTypeExtension:n,EnumTypeExtension:n,InputObjectTypeExtension:n};function n(n){const i=n.name.value,o=a[i],r=null==t?void 0:t.getType(i);let s;if(o?s=Ca[o.kind]:r&&(s=function(e){if(j(e))return A.b.SCALAR_TYPE_EXTENSION;if(V(e))return A.b.OBJECT_TYPE_EXTENSION;if(B(e))return A.b.INTERFACE_TYPE_EXTENSION;if(L(e))return A.b.UNION_TYPE_EXTENSION;if(q(e))return A.b.ENUM_TYPE_EXTENSION;if(G(e))return A.b.INPUT_OBJECT_TYPE_EXTENSION;(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}(r)),s){if(s!==n.kind){const t=function(e){switch(e){case A.b.SCALAR_TYPE_EXTENSION:return"scalar";case A.b.OBJECT_TYPE_EXTENSION:return"object";case A.b.INTERFACE_TYPE_EXTENSION:return"interface";case A.b.UNION_TYPE_EXTENSION:return"union";case A.b.ENUM_TYPE_EXTENSION:return"enum";case A.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,pt.V)(!1,"Unexpected kind: "+(0,p.N)(e))}}(n.kind);e.reportError(new l.eO(`Cannot extend non-${t} type "${i}".`,{nodes:o?[o,n]:n}))}}else{const o=w(i,Object.keys({...a,...null==t?void 0:t.getTypeMap()}));e.reportError(new l.eO(`Cannot extend type "${i}" because it is not defined.`+u(o),{nodes:n.name}))}}}const Ca={[A.b.SCALAR_TYPE_DEFINITION]:A.b.SCALAR_TYPE_EXTENSION,[A.b.OBJECT_TYPE_DEFINITION]:A.b.OBJECT_TYPE_EXTENSION,[A.b.INTERFACE_TYPE_DEFINITION]:A.b.INTERFACE_TYPE_EXTENSION,[A.b.UNION_TYPE_DEFINITION]:A.b.UNION_TYPE_EXTENSION,[A.b.ENUM_TYPE_DEFINITION]:A.b.ENUM_TYPE_EXTENSION,[A.b.INPUT_OBJECT_TYPE_DEFINITION]:A.b.INPUT_OBJECT_TYPE_EXTENSION};function ka(e){return{...Ia(e),Field:{leave(t){var a;const n=e.getFieldDef();if(!n)return!1;const i=new Set(null===(a=t.arguments)||void 0===a?void 0:a.map(e=>e.name.value));for(const a of n.args)if(!i.has(a.name)&&Ae(a)){const i=(0,p.N)(a.type);e.reportError(new l.eO(`Field "${n.name}" argument "${a.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function Ia(e){var t;const a=Object.create(null),n=e.getSchema(),i=null!==(t=null==n?void 0:n.getDirectives())&&void 0!==t?t:rt;for(const e of i)a[e.name]=h(e.args.filter(Ae),e=>e.name);const o=e.getDocument().definitions;for(const e of o)if(e.kind===A.b.DIRECTIVE_DEFINITION){var r;const t=null!==(r=e.arguments)&&void 0!==r?r:[];a[e.name.value]=h(t.filter($a),e=>e.name.value)}return{Directive:{leave(t){const n=t.name.value,i=a[n];if(i){var o;const a=null!==(o=t.arguments)&&void 0!==o?o:[],r=new Set(a.map(e=>e.name.value));for(const[a,o]of Object.entries(i))if(!r.has(a)){const i=I(o.type)?(0,p.N)(o.type):(0,O.y)(o.type);e.reportError(new l.eO(`Directive "@${n}" argument "${a}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}function $a(e){return e.type.kind===A.b.NON_NULL_TYPE&&null==e.defaultValue}function ja(e){return{Field(t){const a=e.getType(),n=t.selectionSet;if(a)if(te(he(a))){if(n){const i=t.name.value,o=(0,p.N)(a);e.reportError(new l.eO(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:n}))}}else if(n){if(0===n.selections.length){const n=t.name.value,i=(0,p.N)(a);e.reportError(new l.eO(`Field "${n}" of type "${i}" must have at least one field selected.`,{nodes:t}))}}else{const n=t.name.value,i=(0,p.N)(a);e.reportError(new l.eO(`Field "${n}" of type "${i}" must have a selection of subfields. Did you mean "${n} { ... }"?`,{nodes:t}))}}}}function Ra(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function Va(e,t,a){return{prev:e,key:t,typename:a}}function Pa(e){const t=[];let a=e;for(;a;)t.push(a.key),a=a.prev;return t.reverse()}function Ba(e,t,a=Ma){return La(e,t,a,void 0)}function Ma(e,t,a){let n="Invalid value "+(0,p.N)(t);throw e.length>0&&(n+=` at "value${Ra(e)}"`),a.message=n+": "+a.message,a}function La(e,t,a,n){if(H(t))return null!=e?La(e,t.ofType,a,n):void a(Pa(n),e,new l.eO(`Expected non-nullable type "${(0,p.N)(t)}" not to be null.`));if(null==e)return null;if(Q(t)){const i=t.ofType;return lt(e)?Array.from(e,(e,t)=>{const o=Va(n,t,void 0);return La(e,i,a,o)}):[La(e,i,a,n)]}if(G(t)){if(!(0,v.Z)(e)||Array.isArray(e))return void a(Pa(n),e,new l.eO(`Expected type "${t.name}" to be an object.`));const i={},o=t.getFields();for(const r of Object.values(o)){const o=e[r.name];if(void 0!==o)i[r.name]=La(o,r.type,a,Va(n,r.name,t.name));else if(void 0!==r.defaultValue)i[r.name]=r.defaultValue;else if(H(r.type)){const t=(0,p.N)(r.type);a(Pa(n),e,new l.eO(`Field "${r.name}" of required type "${t}" was not provided.`))}}for(const i of Object.keys(e))if(!o[i]){const o=w(i,Object.keys(t.getFields()));a(Pa(n),e,new l.eO(`Field "${i}" is not defined by type "${t.name}".`+u(o)))}if(t.isOneOf){const o=Object.keys(i);1!==o.length&&a(Pa(n),e,new l.eO(`Exactly one key must be specified for OneOf type "${t.name}".`));const r=o[0],s=i[r];null===s&&a(Pa(n).concat(r),s,new l.eO(`Field "${r}" must be non-null.`))}return i}if(te(t)){let i;try{i=t.parseValue(e)}catch(i){return void(i instanceof l.eO?a(Pa(n),e,i):a(Pa(n),e,new l.eO(`Expected type "${t.name}". `+i.message,{originalError:i})))}return void 0===i&&a(Pa(n),e,new l.eO(`Expected type "${t.name}".`)),i}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}function Ua(e,t,a){if(e){if(e.kind===A.b.VARIABLE){const n=e.name.value;if(null==a||void 0===a[n])return;const i=a[n];if(null===i&&H(t))return;return i}if(H(t)){if(e.kind===A.b.NULL)return;return Ua(e,t.ofType,a)}if(e.kind===A.b.NULL)return null;if(Q(t)){const n=t.ofType;if(e.kind===A.b.LIST){const t=[];for(const i of e.values)if(qa(i,a)){if(H(n))return;t.push(null)}else{const e=Ua(i,n,a);if(void 0===e)return;t.push(e)}return t}const i=Ua(e,n,a);if(void 0===i)return;return[i]}if(G(t)){if(e.kind!==A.b.OBJECT)return;const n=Object.create(null),i=h(e.fields,e=>e.name.value);for(const e of Object.values(t.getFields())){const t=i[e.name];if(!t||qa(t.value,a)){if(void 0!==e.defaultValue)n[e.name]=e.defaultValue;else if(H(e.type))return;continue}const o=Ua(t.value,e.type,a);if(void 0===o)return;n[e.name]=o}if(t.isOneOf){const e=Object.keys(n);if(1!==e.length)return;if(null===n[e[0]])return}return n}if(te(t)){let n;try{n=t.parseLiteral(e,a)}catch(e){return}if(void 0===n)return;return n}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}}function qa(e,t){return e.kind===A.b.VARIABLE&&(null==t||void 0===t[e.name.value])}function za(e,t,a,n){const i=[],o=null==n?void 0:n.maxErrors;try{const n=function(e,t,a,n){const i={};for(const o of t){const t=o.variable.name.value,r=Qt(e,o.type);if(!K(r)){const e=(0,O.y)(o.type);n(new l.eO(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!Qa(a,t)){if(o.defaultValue)i[t]=Ua(o.defaultValue,r);else if(H(r)){const e=(0,p.N)(r);n(new l.eO(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:o}))}continue}const s=a[t];if(null===s&&H(r)){const e=(0,p.N)(r);n(new l.eO(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:o}));continue}i[t]=Ba(s,r,(e,a,i)=>{let r=`Variable "$${t}" got invalid value `+(0,p.N)(a);e.length>0&&(r+=` at "${t}${Ra(e)}"`),n(new l.eO(r+"; "+i.message,{nodes:o,originalError:i}))})}return i}(e,t,a,e=>{if(null!=o&&i.length>=o)throw new l.eO("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:n}}catch(e){i.push(e)}return{errors:i}}function Ga(e,t,a){var n;const i={},o=h(null!==(n=t.arguments)&&void 0!==n?n:[],e=>e.name.value);for(const n of e.args){const e=n.name,r=n.type,s=o[e];if(!s){if(void 0!==n.defaultValue)i[e]=n.defaultValue;else if(H(r))throw new l.eO(`Argument "${e}" of required type "${(0,p.N)(r)}" was not provided.`,{nodes:t});continue}const d=s.value;let c=d.kind===A.b.NULL;if(d.kind===A.b.VARIABLE){const t=d.name.value;if(null==a||!Qa(a,t)){if(void 0!==n.defaultValue)i[e]=n.defaultValue;else if(H(r))throw new l.eO(`Argument "${e}" of required type "${(0,p.N)(r)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:d});continue}c=null==a[t]}if(c&&H(r))throw new l.eO(`Argument "${e}" of non-null type "${(0,p.N)(r)}" must not be null.`,{nodes:d});const u=Ua(d,r,a);if(void 0===u)throw new l.eO(`Argument "${e}" has invalid value ${(0,O.y)(d)}.`,{nodes:d});i[e]=u}return i}function Ya(e,t,a){var n;const i=null===(n=t.directives)||void 0===n?void 0:n.find(t=>t.name.value===e.name);if(i)return Ga(e,i,a)}function Qa(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ja(e,t,a,n,i){const o=new Map;return Ha(e,t,a,n,i,o,new Set),o}function Ha(e,t,a,n,i,o,r){for(const s of i.selections)switch(s.kind){case A.b.FIELD:{if(!Wa(a,s))continue;const e=Xa(s),t=o.get(e);void 0!==t?t.push(s):o.set(e,[s]);break}case A.b.INLINE_FRAGMENT:if(!Wa(a,s)||!Ka(e,s,n))continue;Ha(e,t,a,n,s.selectionSet,o,r);break;case A.b.FRAGMENT_SPREAD:{const i=s.name.value;if(r.has(i)||!Wa(a,s))continue;r.add(i);const p=t[i];if(!p||!Ka(e,p,n))continue;Ha(e,t,a,n,p.selectionSet,o,r);break}}}function Wa(e,t){const a=Ya(tt,t,e);if(!0===(null==a?void 0:a.if))return!1;const n=Ya(et,t,e);return!1!==(null==n?void 0:n.if)}function Ka(e,t,a){const n=t.typeCondition;if(!n)return!0;const i=Qt(e,n);return i===a||!!oe(i)&&e.isSubType(i,a)}function Xa(e){return e.alias?e.alias.value:e.name.value}function Za(e){return{OperationDefinition(t){if("subscription"===t.operation){const a=e.getSchema(),n=a.getSubscriptionType();if(n){const i=t.name?t.name.value:null,o=Object.create(null),r=e.getDocument(),s=Object.create(null);for(const e of r.definitions)e.kind===A.b.FRAGMENT_DEFINITION&&(s[e.name.value]=e);const p=Ja(a,s,o,n,t.selectionSet);if(p.size>1){const t=[...p.values()].slice(1).flat();e.reportError(new l.eO(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(const t of p.values()){t[0].name.value.startsWith("__")&&e.reportError(new l.eO(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}}function en(e,t){const a=new Map;for(const n of e){const e=t(n),i=a.get(e);void 0===i?a.set(e,[n]):i.push(n)}return a}function tn(e){return{DirectiveDefinition(e){var t;const n=null!==(t=e.arguments)&&void 0!==t?t:[];return a(`@${e.name.value}`,n)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t;const n=e.name.value,i=null!==(t=e.fields)&&void 0!==t?t:[];for(const e of i){var o;a(`${n}.${e.name.value}`,null!==(o=e.arguments)&&void 0!==o?o:[])}return!1}function a(t,a){const n=en(a,e=>e.name.value);for(const[a,i]of n)i.length>1&&e.reportError(new l.eO(`Argument "${t}(${a}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}function an(e){return{Field:t,Directive:t};function t(t){var a;const n=en(null!==(a=t.arguments)&&void 0!==a?a:[],e=>e.name.value);for(const[t,a]of n)a.length>1&&e.reportError(new l.eO(`There can be only one argument named "${t}".`,{nodes:a.map(e=>e.name)}))}}function nn(e){const t=Object.create(null),a=e.getSchema();return{DirectiveDefinition(n){const i=n.name.value;if(null==a||!a.getDirective(i))return t[i]?e.reportError(new l.eO(`There can be only one directive named "@${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1;e.reportError(new l.eO(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:n.name}))}}}function on(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=!e.isRepeatable;const i=e.getDocument().definitions;for(const e of i)e.kind===A.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=!e.repeatable);const o=Object.create(null),r=Object.create(null);return{enter(a){if(!("directives"in a)||!a.directives)return;let n;if(a.kind===A.b.SCHEMA_DEFINITION||a.kind===A.b.SCHEMA_EXTENSION)n=o;else if((0,Kt.a6)(a)||(0,Kt.i7)(a)){const e=a.name.value;n=r[e],void 0===n&&(r[e]=n=Object.create(null))}else n=Object.create(null);for(const i of a.directives){const a=i.name.value;t[a]&&(n[a]?e.reportError(new l.eO(`The directive "@${a}" can only be used once at this location.`,{nodes:[n[a],i]})):n[a]=i)}}}}function rn(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;const o=t.name.value;n[o]||(n[o]=Object.create(null));const r=null!==(i=t.values)&&void 0!==i?i:[],s=n[o];for(const t of r){const n=t.name.value,i=a[o];q(i)&&i.getValue(n)?e.reportError(new l.eO(`Enum value "${o}.${n}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[n]?e.reportError(new l.eO(`Enum value "${o}.${n}" can only be defined once.`,{nodes:[s[n],t.name]})):s[n]=t.name}return!1}}function sn(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i;const o=t.name.value;n[o]||(n[o]=Object.create(null));const r=null!==(i=t.fields)&&void 0!==i?i:[],s=n[o];for(const t of r){const n=t.name.value;pn(a[o],n)?e.reportError(new l.eO(`Field "${o}.${n}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[n]?e.reportError(new l.eO(`Field "${o}.${n}" can only be defined once.`,{nodes:[s[n],t.name]})):s[n]=t.name}return!1}}function pn(e,t){return!!(V(e)||B(e)||G(e))&&null!=e.getFields()[t]}function ln(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(a){const n=a.name.value;return t[n]?e.reportError(new l.eO(`There can be only one fragment named "${n}".`,{nodes:[t[n],a.name]})):t[n]=a.name,!1}}}function dn(e){const t=[];let a=Object.create(null);return{ObjectValue:{enter(){t.push(a),a=Object.create(null)},leave(){const e=t.pop();e||(0,pt.V)(!1),a=e}},ObjectField(t){const n=t.name.value;a[n]?e.reportError(new l.eO(`There can be only one input field named "${n}".`,{nodes:[a[n],t.name]})):a[n]=t.name}}}function cn(e){const t=Object.create(null);return{OperationDefinition(a){const n=a.name;return n&&(t[n.value]?e.reportError(new l.eO(`There can be only one operation named "${n.value}".`,{nodes:[t[n.value],n]})):t[n.value]=n),!1},FragmentDefinition:()=>!1}}function un(e){const t=e.getSchema(),a=Object.create(null),n=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;const o=null!==(i=t.operationTypes)&&void 0!==i?i:[];for(const t of o){const i=t.operation,o=a[i];n[i]?e.reportError(new l.eO(`Type for ${i} already defined in the schema. It cannot be redefined.`,{nodes:t})):o?e.reportError(new l.eO(`There can be only one ${i} type in schema.`,{nodes:[o,t]})):a[i]=t}return!1}}function mn(e){const t=Object.create(null),a=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(n){const i=n.name.value;if(null==a||!a.getType(i))return t[i]?e.reportError(new l.eO(`There can be only one type named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1;e.reportError(new l.eO(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:n.name}))}}function fn(e){return{OperationDefinition(t){var a;const n=en(null!==(a=t.variableDefinitions)&&void 0!==a?a:[],e=>e.variable.name.value);for(const[t,a]of n)a.length>1&&e.reportError(new l.eO(`There can be only one variable named "$${t}".`,{nodes:a.map(e=>e.variable.name)}))}}}function vn(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(e){t[e.variable.name.value]=e},ListValue(t){if(!Q(me(e.getParentInputType())))return hn(e,t),!1},ObjectValue(t){const a=he(e.getInputType());if(!G(a))return hn(e,t),!1;const n=h(t.fields,e=>e.name.value);for(const i of Object.values(a.getFields())){if(!n[i.name]&&Re(i)){const n=(0,p.N)(i.type);e.reportError(new l.eO(`Field "${a.name}.${i.name}" of required type "${n}" was not provided.`,{nodes:t}))}}a.isOneOf&&function(e,t,a,n){var i;const o=Object.keys(n);if(1!==o.length)return void e.reportError(new l.eO(`OneOf Input Object "${a.name}" must specify exactly one key.`,{nodes:[t]}));const r=null===(i=n[o[0]])||void 0===i?void 0:i.value;r&&r.kind!==A.b.NULL||e.reportError(new l.eO(`Field "${a.name}.${o[0]}" must be non-null.`,{nodes:[t]}))}(e,t,a,n)},ObjectField(t){const a=he(e.getParentInputType());if(!e.getInputType()&&G(a)){const n=w(t.name.value,Object.keys(a.getFields()));e.reportError(new l.eO(`Field "${t.name.value}" is not defined by type "${a.name}".`+u(n),{nodes:t}))}},NullValue(t){const a=e.getInputType();H(a)&&e.reportError(new l.eO(`Expected value of type "${(0,p.N)(a)}", found ${(0,O.y)(t)}.`,{nodes:t}))},EnumValue:t=>hn(e,t),IntValue:t=>hn(e,t),FloatValue:t=>hn(e,t),StringValue:t=>hn(e,t),BooleanValue:t=>hn(e,t)}}function hn(e,t){const a=e.getInputType();if(!a)return;const n=he(a);if(!te(n)){const n=(0,p.N)(a);return void e.reportError(new l.eO(`Expected value of type "${n}", found ${(0,O.y)(t)}.`,{nodes:t}))}try{if(void 0===n.parseLiteral(t,void 0)){const n=(0,p.N)(a);e.reportError(new l.eO(`Expected value of type "${n}", found ${(0,O.y)(t)}.`,{nodes:t}))}}catch(n){const i=(0,p.N)(a);n instanceof l.eO?e.reportError(n):e.reportError(new l.eO(`Expected value of type "${i}", found ${(0,O.y)(t)}; `+n.message,{nodes:t,originalError:n}))}}function gn(e){return{VariableDefinition(t){const a=Qt(e.getSchema(),t.type);if(void 0!==a&&!K(a)){const a=t.variable.name.value,n=(0,O.y)(t.type);e.reportError(new l.eO(`Variable "$${a}" cannot be non-input type "${n}".`,{nodes:t.type}))}}}}function yn(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(a){const n=e.getRecursiveVariableUsages(a);for(const{node:a,type:i,defaultValue:o,parentType:r}of n){const n=a.name.value,s=t[n];if(s&&i){const t=e.getSchema(),d=Qt(t,s.type);if(d&&!bn(t,d,s.defaultValue,i,o)){const t=(0,p.N)(d),o=(0,p.N)(i);e.reportError(new l.eO(`Variable "$${n}" of type "${t}" used in position expecting type "${o}".`,{nodes:[s,a]}))}G(r)&&r.isOneOf&&ce(d)&&e.reportError(new l.eO(`Variable "$${n}" is of type "${d}" but must be non-nullable to be used for OneOf Input Object "${r}".`,{nodes:[s,a]}))}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function bn(e,t,a,n,i){if(H(n)&&!H(t)){if(!(null!=a&&a.kind!==A.b.NULL)&&!(void 0!==i))return!1;return Pe(e,t,n.ofType)}return Pe(e,t,n)}const Dn=Object.freeze([da]),xn=Object.freeze([Xt,cn,sa,Za,oa,ea,gn,ja,Zt,ln,ia,ma,Fa,ca,fn,ua,fa,na,on,ta,an,vn,ka,yn,ga,dn,...Dn]),_n=Object.freeze([pa,un,mn,rn,sn,tn,nn,oa,na,on,Sa,aa,an,dn,Ia]);class wn{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(const e of this.getDocument().definitions)e.kind===A.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const a=[e];let n;for(;n=a.pop();)for(const e of n.selections)e.kind===A.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&a.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const a=Object.create(null),n=[e.selectionSet];let i;for(;i=n.pop();)for(const e of this.getFragmentSpreads(i)){const i=e.name.value;if(!0!==a[i]){a[i]=!0;const e=this.getFragment(i);e&&(t.push(e),n.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class En extends wn{constructor(e,t,a){super(e,a),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class Tn extends wn{constructor(e,t,a,n){super(t,n),this._schema=e,this._typeInfo=a,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){const a=[],n=new Jt(this._schema);(0,Yt.YR)(e,Wt(n,{VariableDefinition:()=>!1,Variable(e){a.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue(),parentType:n.getParentInputType()})}})),t=a,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(const a of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(a));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()}}function Nn(e,t,a=xn,n,i=new Jt(e)){var r;const s=null!==(r=null==n?void 0:n.maxErrors)&&void 0!==r?r:100;t||(0,o.U)(!1,"Must provide document."),Ct(e);const p=Object.freeze({}),d=[],c=new Tn(e,t,i,e=>{if(d.length>=s)throw d.push(new l.eO("Too many validation errors, error limit reached. Validation aborted.")),p;d.push(e)}),u=(0,Yt.oP)(a.map(e=>e(c)));try{(0,Yt.YR)(t,Wt(i,u))}catch(e){if(e!==p)throw e}return d}function An(e,t,a=_n){const n=[],i=new En(e,t,e=>{n.push(e)}),o=a.map(e=>e(i));return(0,Yt.YR)(e,(0,Yt.oP)(o)),n}function On(e){return Promise.all(Object.values(e)).then(t=>{const a=Object.create(null);for(const[n,i]of Object.keys(e).entries())a[i]=t[n];return a})}class Fn extends Error{constructor(e){super("Unexpected error value: "+(0,p.N)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function Sn(e,t,a){var n;const i=(o=e)instanceof Error?o:new Fn(o);var o,r;return r=i,Array.isArray(r.path)?i:new l.eO(i.message,{nodes:null!==(n=i.nodes)&&void 0!==n?n:t,source:i.source,positions:i.positions,path:a,originalError:i})}const Cn=function(e){let t;return function(a,n,i){void 0===t&&(t=new WeakMap);let o=t.get(a);void 0===o&&(o=new WeakMap,t.set(a,o));let r=o.get(n);void 0===r&&(r=new WeakMap,o.set(n,r));let s=r.get(i);return void 0===s&&(s=e(a,n,i),r.set(i,s)),s}}((e,t,a)=>function(e,t,a,n,i){const o=new Map,r=new Set;for(const s of i)s.selectionSet&&Ha(e,t,a,n,s.selectionSet,o,r);return o}(e.schema,e.fragments,e.variableValues,t,a));function kn(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:a,variableValues:n,rootValue:i}=e;jn(t,a,n);const s=Rn(e);if(!("schema"in s))return{errors:s};try{const{operation:e}=s,t=function(e,t,a){const n=e.schema.getRootType(t.operation);if(null==n)throw new l.eO(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});const i=Ja(e.schema,e.fragments,e.variableValues,n,t.selectionSet),o=void 0;switch(t.operation){case d.cE.QUERY:return Vn(e,n,a,o,i);case d.cE.MUTATION:return function(e,t,a,n,i){return function(e,t,a){let n=a;for(const a of e)n=r(n)?n.then(e=>t(e,a)):t(n,a);return n}(i.entries(),(i,[o,s])=>{const p=Va(n,o,t.name),l=Pn(e,t,a,s,p);return void 0===l?i:r(l)?l.then(e=>(i[o]=e,i)):(i[o]=l,i)},Object.create(null))}(e,n,a,o,i);case d.cE.SUBSCRIPTION:return Vn(e,n,a,o,i)}}(s,e,i);return r(t)?t.then(e=>$n(e,s.errors),e=>(s.errors.push(e),$n(null,s.errors))):$n(t,s.errors)}catch(e){return s.errors.push(e),$n(null,s.errors)}}function In(e){const t=kn(e);if(r(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function $n(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function jn(e,t,a){t||(0,o.U)(!1,"Must provide document."),Ct(e),null==a||(0,v.Z)(a)||(0,o.U)(!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 Rn(e){var t,a,n;const{schema:i,document:o,rootValue:r,contextValue:s,variableValues:p,operationName:d,fieldResolver:c,typeResolver:u,subscribeFieldResolver:m,options:f}=e;let v;const h=Object.create(null);for(const e of o.definitions)switch(e.kind){case A.b.OPERATION_DEFINITION:if(null==d){if(void 0!==v)return[new l.eO("Must provide operation name if query contains multiple operations.")];v=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===d&&(v=e);break;case A.b.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!v)return null!=d?[new l.eO(`Unknown operation named "${d}".`)]:[new l.eO("Must provide an operation.")];const g=za(i,null!==(a=v.variableDefinitions)&&void 0!==a?a:[],null!=p?p:{},{maxErrors:null!==(n=null==f?void 0:f.maxCoercionErrors)&&void 0!==n?n:50});return g.errors?g.errors:{schema:i,fragments:h,rootValue:r,contextValue:s,operation:v,variableValues:g.coerced,fieldResolver:null!=c?c:Yn,typeResolver:null!=u?u:Gn,subscribeFieldResolver:null!=m?m:Yn,errors:[]}}function Vn(e,t,a,n,i){const o=Object.create(null);let s=!1;try{for(const[p,l]of i.entries()){const i=Pn(e,t,a,l,Va(n,p,t.name));void 0!==i&&(o[p]=i,r(i)&&(s=!0))}}catch(e){if(s)return On(o).finally(()=>{throw e});throw e}return s?On(o):o}function Pn(e,t,a,n,i){var o;const s=Qn(e.schema,t,n[0]);if(!s)return;const p=s.type,l=null!==(o=s.resolve)&&void 0!==o?o:e.fieldResolver,d=Bn(e,s,n,t,i);try{const t=Ga(s,n[0],e.variableValues),o=l(a,t,e.contextValue,d);let c;return c=r(o)?o.then(t=>Ln(e,p,n,d,i,t)):Ln(e,p,n,d,i,o),r(c)?c.then(void 0,t=>Mn(Sn(t,n,Pa(i)),p,e)):c}catch(t){return Mn(Sn(t,n,Pa(i)),p,e)}}function Bn(e,t,a,n,i){return{fieldName:t.name,fieldNodes:a,returnType:t.type,parentType:n,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function Mn(e,t,a){if(H(t))throw e;return a.errors.push(e),null}function Ln(e,t,a,n,i,o){if(o instanceof Error)throw o;if(H(t)){const r=Ln(e,t.ofType,a,n,i,o);if(null===r)throw new Error(`Cannot return null for non-nullable field ${n.parentType.name}.${n.fieldName}.`);return r}return null==o?null:Q(t)?function(e,t,a,n,i,o){if(!lt(o))throw new l.eO(`Expected Iterable, but did not find one for field "${n.parentType.name}.${n.fieldName}".`);const s=t.ofType;let p=!1;const d=Array.from(o,(t,o)=>{const l=Va(i,o,void 0);try{let i;return i=r(t)?t.then(t=>Ln(e,s,a,n,l,t)):Ln(e,s,a,n,l,t),r(i)?(p=!0,i.then(void 0,t=>Mn(Sn(t,a,Pa(l)),s,e))):i}catch(t){return Mn(Sn(t,a,Pa(l)),s,e)}});return p?Promise.all(d):d}(e,t,a,n,i,o):te(t)?function(e,t){const a=e.serialize(t);if(null==a)throw new Error(`Expected \`${(0,p.N)(e)}.serialize(${(0,p.N)(t)})\` to return non-nullable value, returned: ${(0,p.N)(a)}`);return a}(t,o):oe(t)?function(e,t,a,n,i,o){var s;const p=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,l=e.contextValue,d=p(o,l,n,t);if(r(d))return d.then(r=>qn(e,Un(r,e,t,a,n,o),a,n,i,o));return qn(e,Un(d,e,t,a,n,o),a,n,i,o)}(e,t,a,n,i,o):V(t)?qn(e,t,a,n,i,o):void(0,pt.V)(!1,"Cannot complete value of unexpected output type: "+(0,p.N)(t))}function Un(e,t,a,n,i,o){if(null==e)throw new l.eO(`Abstract type "${a.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${a.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,n);if(V(e))throw new l.eO("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!=typeof e)throw new l.eO(`Abstract type "${a.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,p.N)(o)}, received "${(0,p.N)(e)}".`);const r=t.schema.getType(e);if(null==r)throw new l.eO(`Abstract type "${a.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:n});if(!V(r))throw new l.eO(`Abstract type "${a.name}" was resolved to a non-object type "${e}".`,{nodes:n});if(!t.schema.isSubType(a,r))throw new l.eO(`Runtime Object type "${r.name}" is not a possible type for "${a.name}".`,{nodes:n});return r}function qn(e,t,a,n,i,o){const s=Cn(e,t,a);if(t.isTypeOf){const p=t.isTypeOf(o,e.contextValue,n);if(r(p))return p.then(n=>{if(!n)throw zn(t,o,a);return Vn(e,t,o,i,s)});if(!p)throw zn(t,o,a)}return Vn(e,t,o,i,s)}function zn(e,t,a){return new l.eO(`Expected value of type "${e.name}" but got: ${(0,p.N)(t)}.`,{nodes:a})}const Gn=function(e,t,a,n){if((0,v.Z)(e)&&"string"==typeof e.__typename)return e.__typename;const i=a.schema.getPossibleTypes(n),o=[];for(let n=0;n<i.length;n++){const s=i[n];if(s.isTypeOf){const i=s.isTypeOf(e,t,a);if(r(i))o[n]=i;else if(i)return o.length&&Promise.allSettled(o).catch(()=>{}),s.name}}return o.length?Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name}):void 0},Yn=function(e,t,a,n){if((0,v.Z)(e)||"function"==typeof e){const i=e[n.fieldName];return"function"==typeof i?e[n.fieldName](t,a,n):i}};function Qn(e,t,a){const n=a.name.value;return n===xt.name&&e.getQueryType()===t?xt:n===_t.name&&e.getQueryType()===t?_t:n===wt.name?wt:t.getFields()[n]}function Jn(e){return new Promise(t=>t(Wn(e)))}function Hn(e){const t=Wn(e);if(r(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function Wn(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:a,rootValue:n,contextValue:i,variableValues:r,operationName:p,fieldResolver:l,typeResolver:d}=e,c=St(t);if(c.length>0)return{errors:c};let u;try{u=(0,s.qg)(a)}catch(e){return{errors:[e]}}const m=Nn(t,u);return m.length>0?{errors:m}:kn({schema:t,document:u,rootValue:n,contextValue:i,variableValues:r,operationName:p,fieldResolver:l,typeResolver:d})}var Kn=a(39537),Xn=a(73971),Zn=a(8238),ei=a(98472),ti=a(12039);function ai(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function ni(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const t=await ii(e);if(!ai(t))return t;return function(e,t){const a=e[Symbol.asyncIterator]();async function n(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof a.return)try{await a.return()}catch(e){}throw e}}return{next:async()=>n(await a.next()),return:async()=>"function"==typeof a.return?n(await a.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof a.throw)return n(await a.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>kn({...e,rootValue:t}))}async function ii(...e){const t=function(e){const t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:a,document:n,variableValues:i}=t;jn(a,n,i);const o=Rn(t);if(!("schema"in o))return{errors:o};try{const e=await async function(e){const{schema:t,fragments:a,operation:n,variableValues:i,rootValue:o}=e,r=t.getSubscriptionType();if(null==r)throw new l.eO("Schema is not configured to execute subscription operation.",{nodes:n});const s=Ja(t,a,i,r,n.selectionSet),[p,d]=[...s.entries()][0],c=Qn(t,r,d[0]);if(!c){const e=d[0].name.value;throw new l.eO(`The subscription field "${e}" is not defined.`,{nodes:d})}const u=Va(void 0,p,r.name),m=Bn(e,c,d,r,u);try{var f;const t=Ga(c,d[0],i),a=e.contextValue,n=null!==(f=c.subscribe)&&void 0!==f?f:e.subscribeFieldResolver,r=await n(o,t,a,m);if(r instanceof Error)throw r;return r}catch(e){throw Sn(e,d,Pa(u))}}(o);if(!ai(e))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,p.N)(e)}.`);return e}catch(e){if(e instanceof l.eO)return{errors:[e]};throw e}}function oi(e){return{Field(t){const a=e.getFieldDef(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=e.getParentType();null!=i||(0,pt.V)(!1),e.reportError(new l.eO(`The field ${i.name}.${a.name} is deprecated. ${n}`,{nodes:t}))}},Argument(t){const a=e.getArgument(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=e.getDirective();if(null!=i)e.reportError(new l.eO(`Directive "@${i.name}" argument "${a.name}" is deprecated. ${n}`,{nodes:t}));else{const i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,pt.V)(!1),e.reportError(new l.eO(`Field "${i.name}.${o.name}" argument "${a.name}" is deprecated. ${n}`,{nodes:t}))}}},ObjectField(t){const a=he(e.getParentInputType());if(G(a)){const n=a.getFields()[t.name.value],i=null==n?void 0:n.deprecationReason;null!=i&&e.reportError(new l.eO(`The input field ${a.name}.${n.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){const a=e.getEnumValue(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=he(e.getInputType());null!=i||(0,pt.V)(!1),e.reportError(new l.eO(`The enum value "${i.name}.${a.name}" is deprecated. ${n}`,{nodes:t}))}}}}function ri(e){return{Field(t){const a=he(e.getType());a&&Tt(a)&&e.reportError(new l.eO(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var si=a(59841);function pi(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},a=t.descriptions?"description":"",n=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?a:"";function r(e){return t.inputValueDeprecation?e:""}const s=t.oneOf?"isOneOf":"";return`\n query IntrospectionQuery {\n __schema {\n ${o}\n queryType { name kind }\n mutationType { name kind }\n subscriptionType { name kind }\n types {\n ...FullType\n }\n directives {\n name\n ${a}\n ${i}\n locations\n args${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ${a}\n ${n}\n ${s}\n fields(includeDeprecated: true) {\n name\n ${a}\n args${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ${a}\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ${a}\n type { ...TypeRef }\n defaultValue\n ${r("isDeprecated")}\n ${r("deprecationReason")}\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n `}function li(e,t){let a=null;for(const i of e.definitions){var n;if(i.kind===A.b.OPERATION_DEFINITION)if(null==t){if(a)return null;a=i}else if((null===(n=i.name)||void 0===n?void 0:n.value)===t)return i}return a}function di(e,t){if("query"===t.operation){const a=e.getQueryType();if(!a)throw new l.eO("Schema does not define the required query root type.",{nodes:t});return a}if("mutation"===t.operation){const a=e.getMutationType();if(!a)throw new l.eO("Schema is not configured for mutations.",{nodes:t});return a}if("subscription"===t.operation){const a=e.getSubscriptionType();if(!a)throw new l.eO("Schema is not configured for subscriptions.",{nodes:t});return a}throw new l.eO("Can only have query, mutation and subscription operations.",{nodes:t})}function ci(e,t){const a={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,oneOf:!0,...t},n=In({schema:e,document:(0,s.qg)(pi(a))});return!n.errors&&n.data||(0,pt.V)(!1),n.data}function ui(e,t){(0,v.Z)(e)&&(0,v.Z)(e.__schema)||(0,o.U)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,p.N)(e)}.`);const a=e.__schema,n=g(a.types,e=>e.name,e=>function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case bt.SCALAR:return new be({name:(n=e).name,description:n.description,specifiedByURL:n.specifiedByURL});case bt.OBJECT:return new De({name:(a=e).name,description:a.description,interfaces:()=>h(a),fields:()=>y(a)});case bt.INTERFACE:return new Oe({name:(t=e).name,description:t.description,interfaces:()=>h(t),fields:()=>y(t)});case bt.UNION:return function(e){if(!e.possibleTypes){const t=(0,p.N)(e);throw new Error(`Introspection result missing possibleTypes: ${t}.`)}return new Fe({name:e.name,description:e.description,types:()=>e.possibleTypes.map(m)})}(e);case bt.ENUM:return function(e){if(!e.enumValues){const t=(0,p.N)(e);throw new Error(`Introspection result missing enumValues: ${t}.`)}return new Ce({name:e.name,description:e.description,values:g(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case bt.INPUT_OBJECT:return function(e){if(!e.inputFields){const t=(0,p.N)(e);throw new Error(`Introspection result missing inputFields: ${t}.`)}return new $e({name:e.name,description:e.description,fields:()=>D(e.inputFields),isOneOf:e.isOneOf})}(e)}var t;var a;var n;const i=(0,p.N)(e);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${i}.`)}(e));for(const e of[...Je,...Et])n[e.name]&&(n[e.name]=e);const i=a.queryType?m(a.queryType):null,r=a.mutationType?m(a.mutationType):null,l=a.subscriptionType?m(a.subscriptionType):null,d=a.directives?a.directives.map(function(e){if(!e.args){const t=(0,p.N)(e);throw new Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){const t=(0,p.N)(e);throw new Error(`Introspection result missing directive locations: ${t}.`)}return new Ze({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:D(e.args)})}):[];return new Ot({description:a.description,query:i,mutation:r,subscription:l,types:Object.values(n),directives:d,assumeValid:null==t?void 0:t.assumeValid});function c(e){if(e.kind===bt.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new se(c(t))}if(e.kind===bt.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const a=c(t);return new pe(ue(a))}return u(e)}function u(e){const t=e.name;if(!t)throw new Error(`Unknown type reference: ${(0,p.N)(e)}.`);const a=n[t];if(!a)throw new Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return a}function m(e){return P(u(e))}function f(e){return M(u(e))}function h(e){if(null===e.interfaces&&e.kind===bt.INTERFACE)return[];if(!e.interfaces){const t=(0,p.N)(e);throw new Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(f)}function y(e){if(!e.fields)throw new Error(`Introspection result missing fields: ${(0,p.N)(e)}.`);return g(e.fields,e=>e.name,b)}function b(e){const t=c(e.type);if(!Z(t)){const e=(0,p.N)(t);throw new Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){const t=(0,p.N)(e);throw new Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:D(e.args)}}function D(e){return g(e,e=>e.name,x)}function x(e){const t=c(e.type);if(!K(t)){const e=(0,p.N)(t);throw new Error(`Introspection must provide input type for arguments, but received: ${e}.`)}const a=null!=e.defaultValue?Ua((0,s.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:a,deprecationReason:e.deprecationReason}}}function mi(e,t,a){At(e),null!=t&&t.kind===A.b.DOCUMENT||(0,o.U)(!1,"Must provide valid Document AST."),!0!==(null==a?void 0:a.assumeValid)&&!0!==(null==a?void 0:a.assumeValidSDL)&&function(e,t){const a=An(e,t);if(0!==a.length)throw new Error(a.map(e=>e.message).join("\n\n"))}(t,e);const n=e.toConfig(),i=fi(n,t,a);return n===i?e:new Ot(i)}function fi(e,t,a){var n,i,o,r;const s=[],l=Object.create(null),d=[];let c;const u=[];for(const e of t.definitions)if(e.kind===A.b.SCHEMA_DEFINITION)c=e;else if(e.kind===A.b.SCHEMA_EXTENSION)u.push(e);else if((0,Kt.a6)(e))s.push(e);else if((0,Kt.i7)(e)){const t=e.name.value,a=l[t];l[t]=a?a.concat([e]):[e]}else e.kind===A.b.DIRECTIVE_DEFINITION&&d.push(e);if(0===Object.keys(l).length&&0===s.length&&0===d.length&&0===u.length&&null==c)return e;const m=Object.create(null);for(const t of e.types)m[t.name]=b(t);for(const e of s){var f;const t=e.name.value;m[t]=null!==(f=vi[t])&&void 0!==f?f:k(e)}const v={query:e.query&&g(e.query),mutation:e.mutation&&g(e.mutation),subscription:e.subscription&&g(e.subscription),...c&&_([c]),..._(u)};return{description:null===(n=c)||void 0===n||null===(i=n.description)||void 0===i?void 0:i.value,...v,types:Object.values(m),directives:[...e.directives.map(function(e){const t=e.toConfig();return new Ze({...t,args:y(t.args,x)})}),...d.map(function(e){var t;return new Ze({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:N(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(o=c)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(u),assumeValid:null!==(r=null==a?void 0:a.assumeValid)&&void 0!==r&&r};function h(e){return Q(e)?new se(h(e.ofType)):H(e)?new pe(h(e.ofType)):g(e)}function g(e){return m[e.name]}function b(e){return Tt(e)||He(e)?e:j(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];let i=a.specifiedByURL;for(const e of n){var o;i=null!==(o=gi(e))&&void 0!==o?o:i}return new be({...a,specifiedByURL:i,extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):V(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new De({...a,interfaces:()=>[...e.getInterfaces().map(g),...S(n)],fields:()=>({...y(a.fields,D),...T(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):B(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new Oe({...a,interfaces:()=>[...e.getInterfaces().map(g),...S(n)],fields:()=>({...y(a.fields,D),...T(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):L(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new Fe({...a,types:()=>[...e.getTypes().map(g),...C(n)],extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):q(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[e.name])&&void 0!==t?t:[];return new Ce({...a,values:{...a.values,...F(n)},extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):G(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new $e({...a,fields:()=>({...y(a.fields,e=>({...e,type:h(e.type)})),...O(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function D(e){return{...e,type:h(e.type),args:e.args&&y(e.args,x)}}function x(e){return{...e,type:h(e.type)}}function _(e){const t={};for(const n of e){var a;const e=null!==(a=n.operationTypes)&&void 0!==a?a:[];for(const a of e)t[a.operation]=w(a.type)}return t}function w(e){var t;const a=e.name.value,n=null!==(t=vi[a])&&void 0!==t?t:m[a];if(void 0===n)throw new Error(`Unknown type: "${a}".`);return n}function E(e){return e.kind===A.b.LIST_TYPE?new se(E(e.type)):e.kind===A.b.NON_NULL_TYPE?new pe(E(e.type)):w(e)}function T(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.fields)&&void 0!==a?a:[];for(const a of e){var n;t[a.name.value]={type:E(a.type),description:null===(n=a.description)||void 0===n?void 0:n.value,args:N(a.arguments),deprecationReason:hi(a),astNode:a}}}return t}function N(e){const t=null!=e?e:[],a=Object.create(null);for(const e of t){var n;const t=E(e.type);a[e.name.value]={type:t,description:null===(n=e.description)||void 0===n?void 0:n.value,defaultValue:Ua(e.defaultValue,t),deprecationReason:hi(e),astNode:e}}return a}function O(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.fields)&&void 0!==a?a:[];for(const a of e){var n;const e=E(a.type);t[a.name.value]={type:e,description:null===(n=a.description)||void 0===n?void 0:n.value,defaultValue:Ua(a.defaultValue,e),deprecationReason:hi(a),astNode:a}}}return t}function F(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.values)&&void 0!==a?a:[];for(const a of e){var n;t[a.name.value]={description:null===(n=a.description)||void 0===n?void 0:n.value,deprecationReason:hi(a),astNode:a}}}return t}function S(e){return e.flatMap(e=>{var t,a;return null!==(t=null===(a=e.interfaces)||void 0===a?void 0:a.map(w))&&void 0!==t?t:[]})}function C(e){return e.flatMap(e=>{var t,a;return null!==(t=null===(a=e.types)||void 0===a?void 0:a.map(w))&&void 0!==t?t:[]})}function k(e){var t;const a=e.name.value,n=null!==(t=l[a])&&void 0!==t?t:[];switch(e.kind){case A.b.OBJECT_TYPE_DEFINITION:{var i;const t=[e,...n];return new De({name:a,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>S(t),fields:()=>T(t),astNode:e,extensionASTNodes:n})}case A.b.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...n];return new Oe({name:a,description:null===(o=e.description)||void 0===o?void 0:o.value,interfaces:()=>S(t),fields:()=>T(t),astNode:e,extensionASTNodes:n})}case A.b.ENUM_TYPE_DEFINITION:{var r;const t=[e,...n];return new Ce({name:a,description:null===(r=e.description)||void 0===r?void 0:r.value,values:F(t),astNode:e,extensionASTNodes:n})}case A.b.UNION_TYPE_DEFINITION:{var s;const t=[e,...n];return new Fe({name:a,description:null===(s=e.description)||void 0===s?void 0:s.value,types:()=>C(t),astNode:e,extensionASTNodes:n})}case A.b.SCALAR_TYPE_DEFINITION:var p;return new be({name:a,description:null===(p=e.description)||void 0===p?void 0:p.value,specifiedByURL:gi(e),astNode:e,extensionASTNodes:n});case A.b.INPUT_OBJECT_TYPE_DEFINITION:{var d;const t=[e,...n];return new $e({name:a,description:null===(d=e.description)||void 0===d?void 0:d.value,fields:()=>O(t),astNode:e,extensionASTNodes:n,isOneOf:(c=e,Boolean(Ya(ot,c)))})}}var c}}const vi=h([...Je,...Et],e=>e.name);function hi(e){const t=Ya(nt,e);return null==t?void 0:t.reason}function gi(e){const t=Ya(it,e);return null==t?void 0:t.url}function yi(e,t){null!=e&&e.kind===A.b.DOCUMENT||(0,o.U)(!1,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){const t=An(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}(e);const a=fi({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==a.astNode)for(const e of a.types)switch(e.name){case"Query":a.query=e;break;case"Mutation":a.mutation=e;break;case"Subscription":a.subscription=e}const n=[...a.directives,...rt.filter(e=>a.directives.every(t=>t.name!==e.name))];return new Ot({...a,directives:n})}function bi(e,t){return yi((0,s.qg)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function Di(e){const t=e.toConfig(),a=g(_i(t.types),e=>e.name,function(e){if(j(e)||Tt(e))return e;if(V(e)){const t=e.toConfig();return new De({...t,interfaces:()=>l(t.interfaces),fields:()=>s(t.fields)})}if(B(e)){const t=e.toConfig();return new Oe({...t,interfaces:()=>l(t.interfaces),fields:()=>s(t.fields)})}if(L(e)){const t=e.toConfig();return new Fe({...t,types:()=>l(t.types)})}if(q(e)){const t=e.toConfig();return new Ce({...t,values:xi(t.values,e=>e)})}if(G(e)){const t=e.toConfig();return new $e({...t,fields:()=>xi(t.fields,e=>({...e,type:n(e.type)}))})}(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))});return new Ot({...t,types:Object.values(a),directives:_i(t.directives).map(function(e){const t=e.toConfig();return new Ze({...t,locations:wi(t.locations,e=>e),args:r(t.args)})}),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)});function n(e){return Q(e)?new se(n(e.ofType)):H(e)?new pe(n(e.ofType)):i(e)}function i(e){return a[e.name]}function o(e){return e&&i(e)}function r(e){return xi(e,e=>({...e,type:n(e.type)}))}function s(e){return xi(e,e=>({...e,type:n(e.type),args:e.args&&r(e.args)}))}function l(e){return _i(e).map(i)}}function xi(e,t){const a=Object.create(null);for(const n of Object.keys(e).sort(b))a[n]=t(e[n]);return a}function _i(e){return wi(e,e=>e.name)}function wi(e,t){return e.slice().sort((e,a)=>b(t(e),t(a)))}var Ei,Ti,Ni=a(67714);function Ai(e){return Si(e,e=>!st(e),Fi)}function Oi(e){return Si(e,st,Tt)}function Fi(e){return!He(e)&&!Tt(e)}function Si(e,t,a){const n=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(a);return[Ci(e),...n.map(e=>function(e){return Bi(e)+"directive @"+e.name+Ri(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e)),...i.map(e=>ki(e))].filter(Boolean).join("\n\n")}function Ci(e){if(null==e.description&&function(e){const t=e.getQueryType();if(t&&"Query"!==t.name)return!1;const a=e.getMutationType();if(a&&"Mutation"!==a.name)return!1;const n=e.getSubscriptionType();if(n&&"Subscription"!==n.name)return!1;return!0}(e))return;const t=[],a=e.getQueryType();a&&t.push(` query: ${a.name}`);const n=e.getMutationType();n&&t.push(` mutation: ${n.name}`);const i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),Bi(e)+`schema {\n${t.join("\n")}\n}`}function ki(e){return j(e)?function(e){return Bi(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";return` @specifiedBy(url: ${(0,O.y)({kind:A.b.STRING,value:e.specifiedByURL})})`}(e)}(e):V(e)?function(e){return Bi(e)+`type ${e.name}`+Ii(e)+$i(e)}(e):B(e)?function(e){return Bi(e)+`interface ${e.name}`+Ii(e)+$i(e)}(e):L(e)?function(e){const t=e.getTypes(),a=t.length?" = "+t.join(" | "):"";return Bi(e)+"union "+e.name+a}(e):q(e)?function(e){const t=e.getValues().map((e,t)=>Bi(e," ",!t)+" "+e.name+Pi(e.deprecationReason));return Bi(e)+`enum ${e.name}`+ji(t)}(e):G(e)?function(e){const t=Object.values(e.getFields()).map((e,t)=>Bi(e," ",!t)+" "+Vi(e));return Bi(e)+`input ${e.name}`+(e.isOneOf?" @oneOf":"")+ji(t)}(e):void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function Ii(e){const t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function $i(e){return ji(Object.values(e.getFields()).map((e,t)=>Bi(e," ",!t)+" "+e.name+Ri(e.args," ")+": "+String(e.type)+Pi(e.deprecationReason)))}function ji(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function Ri(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(Vi).join(", ")+")":"(\n"+e.map((e,a)=>Bi(e," "+t,!a)+" "+t+Vi(e)).join("\n")+"\n"+t+")"}function Vi(e){const t=dt(e.defaultValue,e.type);let a=e.name+": "+String(e.type);return t&&(a+=` = ${(0,O.y)(t)}`),a+Pi(e.deprecationReason)}function Pi(e){if(null==e)return"";if(e!==at){return` @deprecated(reason: ${(0,O.y)({kind:A.b.STRING,value:e})})`}return" @deprecated"}function Bi(e,t="",a=!0){const{description:n}=e;if(null==n)return"";return(t&&!a?"\n"+t:t)+(0,O.y)({kind:A.b.STRING,value:n,block:(0,Ni.CS)(n)}).replace(/\n/g,"\n"+t)+"\n"}function Mi(e){const t=[];for(const a of e)t.push(...a.definitions);return{kind:A.b.DOCUMENT,definitions:t}}function Li(e){const t=[],a=Object.create(null);for(const n of e.definitions)switch(n.kind){case A.b.OPERATION_DEFINITION:t.push(n);break;case A.b.FRAGMENT_DEFINITION:a[n.name.value]=qi(n.selectionSet)}const n=Object.create(null);for(const i of t){const t=new Set;for(const e of qi(i.selectionSet))Ui(t,a,e);n[i.name?i.name.value:""]={kind:A.b.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===A.b.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return n}function Ui(e,t,a){if(!e.has(a)){e.add(a);const n=t[a];if(void 0!==n)for(const a of n)Ui(e,t,a)}}function qi(e){const t=[];return(0,Yt.YR)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function zi(e){const t=(0,Kn._)(e)?e:new Kn.k(e),a=t.body,n=new ei.JG(t);let i="",o=!1;for(;n.advance().kind!==ti.Y.EOF;){const e=n.token,t=e.kind,r=!(0,ei.Z_)(e.kind);o&&(r||e.kind===ti.Y.SPREAD)&&(i+=" ");const s=a.slice(e.start,e.end);t===ti.Y.BLOCK_STRING?i+=(0,Ni.yo)(e.value,{minimize:!0}):i+=s,o=r}return i}function Gi(e){const t=Yi(e);if(t)throw t;return e}function Yi(e){if("string"==typeof e||(0,o.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new l.eO(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{C(e)}catch(e){return e}}function Qi(e,t){return Hi(e,t).filter(e=>e.type in Ei)}function Ji(e,t){return Hi(e,t).filter(e=>e.type in Ti)}function Hi(e,t){return[...Ki(e,t),...Wi(e,t)]}function Wi(e,t){const a=[],n=po(e.getDirectives(),t.getDirectives());for(const e of n.removed)a.push({type:Ei.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(const[e,t]of n.persisted){const n=po(e.args,t.args);for(const t of n.added)Ae(t)&&a.push({type:Ei.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(const t of n.removed)a.push({type:Ei.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});e.isRepeatable&&!t.isRepeatable&&a.push({type:Ei.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`});for(const n of e.locations)t.locations.includes(n)||a.push({type:Ei.DIRECTIVE_LOCATION_REMOVED,description:`${n} was removed from ${e.name}.`})}return a}function Ki(e,t){const a=[],n=po(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const e of n.removed)a.push({type:Ei.TYPE_REMOVED,description:He(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(const[e,t]of n.persisted)q(e)&&q(t)?a.push(...eo(e,t)):L(e)&&L(t)?a.push(...Zi(e,t)):G(e)&&G(t)?a.push(...Xi(e,t)):V(e)&&V(t)||B(e)&&B(t)?a.push(...ao(e,t),...to(e,t)):e.constructor!==t.constructor&&a.push({type:Ei.TYPE_CHANGED_KIND,description:`${e.name} changed from ${ro(e)} to ${ro(t)}.`});return a}function Xi(e,t){const a=[],n=po(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.added)Re(t)?a.push({type:Ei.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):a.push({type:Ti.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(const t of n.removed)a.push({type:Ei.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of n.persisted){oo(t.type,i.type)||a.push({type:Ei.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`})}return a}function Zi(e,t){const a=[],n=po(e.getTypes(),t.getTypes());for(const t of n.added)a.push({type:Ti.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(const t of n.removed)a.push({type:Ei.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return a}function eo(e,t){const a=[],n=po(e.getValues(),t.getValues());for(const t of n.added)a.push({type:Ti.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(const t of n.removed)a.push({type:Ei.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return a}function to(e,t){const a=[],n=po(e.getInterfaces(),t.getInterfaces());for(const t of n.added)a.push({type:Ti.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(const t of n.removed)a.push({type:Ei.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return a}function ao(e,t){const a=[],n=po(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.removed)a.push({type:Ei.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of n.persisted){a.push(...no(e,t,i));io(t.type,i.type)||a.push({type:Ei.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`})}return a}function no(e,t,a){const n=[],i=po(t.args,a.args);for(const a of i.removed)n.push({type:Ei.ARG_REMOVED,description:`${e.name}.${t.name} arg ${a.name} was removed.`});for(const[a,o]of i.persisted){if(oo(a.type,o.type)){if(void 0!==a.defaultValue)if(void 0===o.defaultValue)n.push({type:Ti.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${a.name} defaultValue was removed.`});else{const i=so(a.defaultValue,a.type),r=so(o.defaultValue,o.type);i!==r&&n.push({type:Ti.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${a.name} has changed defaultValue from ${i} to ${r}.`})}}else n.push({type:Ei.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${a.name} has changed type from ${String(a.type)} to ${String(o.type)}.`})}for(const a of i.added)Ae(a)?n.push({type:Ei.REQUIRED_ARG_ADDED,description:`A required arg ${a.name} on ${e.name}.${t.name} was added.`}):n.push({type:Ti.OPTIONAL_ARG_ADDED,description:`An optional arg ${a.name} on ${e.name}.${t.name} was added.`});return n}function io(e,t){return Q(e)?Q(t)&&io(e.ofType,t.ofType)||H(t)&&io(e,t.ofType):H(e)?H(t)&&io(e.ofType,t.ofType):fe(t)&&e.name===t.name||H(t)&&io(e,t.ofType)}function oo(e,t){return Q(e)?Q(t)&&oo(e.ofType,t.ofType):H(e)?H(t)&&oo(e.ofType,t.ofType)||!H(t)&&oo(e.ofType,t):fe(t)&&e.name===t.name}function ro(e){return j(e)?"a Scalar type":V(e)?"an Object type":B(e)?"an Interface type":L(e)?"a Union type":q(e)?"an Enum type":G(e)?"an Input type":void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function so(e,t){const a=dt(e,t);return null!=a||(0,pt.V)(!1),(0,O.y)(va(a))}function po(e,t){const a=[],n=[],i=[],o=h(e,({name:e})=>e),r=h(t,({name:e})=>e);for(const t of e){const e=r[t.name];void 0===e?n.push(t):i.push([t,e])}for(const e of t)void 0===o[e.name]&&a.push(e);return{added:a,persisted:i,removed:n}}function lo(e,t){return co(e,(0,s.Ng)(t))}function co(e,t){switch(t.kind){case A.b.TYPE_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(null!=n)return{kind:"NamedType",type:n}}(e,t);case A.b.MEMBER_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(!n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a type in the schema.`);if(!(q(n)||G(n)||V(n)||B(n)))throw new Error(`Expected ${(0,p.N)(a)} to be an Enum, Input Object, Object or Interface type.`);if(q(n)){const e=t.memberName.value,a=n.getValue(e);if(null==a)return;return{kind:"EnumValue",type:n,enumValue:a}}if(G(n)){const e=t.memberName.value,a=n.getFields()[e];if(null==a)return;return{kind:"InputField",type:n,inputField:a}}const i=t.memberName.value,o=n.getFields()[i];if(null!=o)return{kind:"Field",type:n,field:o}}(e,t);case A.b.ARGUMENT_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(null==n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a type in the schema.`);if(!V(n)&&!B(n))throw new Error(`Expected ${(0,p.N)(a)} to be an object type or interface type.`);const i=t.fieldName.value,o=n.getFields()[i];if(null==o)throw new Error(`Expected ${(0,p.N)(i)} to exist as a field of type ${(0,p.N)(a)} in the schema.`);const r=t.argumentName.value,s=o.args.find(e=>e.name===r);if(null!=s)return{kind:"FieldArgument",type:n,field:o,fieldArgument:s}}(e,t);case A.b.DIRECTIVE_COORDINATE:return function(e,t){const a=t.name.value,n=e.getDirective(a);if(n)return{kind:"Directive",directive:n}}(e,t);case A.b.DIRECTIVE_ARGUMENT_COORDINATE:return function(e,t){const a=t.name.value,n=e.getDirective(a);if(!n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a directive in the schema.`);const{argumentName:{value:i}}=t,o=n.args.find(e=>e.name===i);if(o)return{kind:"DirectiveArgument",directive:n,directiveArgument:o}}(e,t)}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(Ei||(Ei={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(Ti||(Ti={}))},4887:e=>{e.exports.mixin=function(e,t){const a=Object.getOwnPropertyNames(t);for(let n=0;n<a.length;++n)Object.defineProperty(e,a[n],Object.getOwnPropertyDescriptor(t,a[n]))},e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl"),e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]},e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},5018:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},5523:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},5762:(e,t,a)=>{a.d(t,{x:()=>i});var n=a(36054);function i(e,t,a){return new n.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(a){if(e){var o=function(){return n.closed?0:e(a)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](a)}}var r={next:o(t,"next"),error:o(a,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(r);return function(){return s.unsubscribe()}})}},6939:(e,t,a)=>{a.d(t,{Iy:()=>o,S5:()=>s,yd:()=>p});var n=a(88568),i=a(34992),o=(e,t,a)=>({label:e,ok:t,detail:a}),r=e=>null==e?n.Ay.gray("N/A"):"object"==typeof e?n.Ay.gray(JSON.stringify(e,null,2)):String(e),s=({action:e,target:t,request:a,checks:o=[],json:s=!1})=>{var p={ok:!0,dryRun:!0,action:e,target:t||null,request:a||null,checks:o};s?(0,i.GF)(p):(console.log(n.Ay.bold(`\nDry Run: ${e}`)),console.log("─".repeat(60)),t&&(console.log(n.Ay.bold("Target")),Object.entries(t).forEach(([e,t])=>{console.log(`${e}: ${r(t)}`)})),a&&(console.log(`\n${n.Ay.bold("Request")}`),Object.entries(a).forEach(([e,t])=>{console.log(`${e}: ${r(t)}`)})),o.length>0&&(console.log(`\n${n.Ay.bold("Checks")}`),o.forEach(e=>{var t=e.ok?n.Ay.green("OK"):n.Ay.red("FAIL"),a=e.detail?` ${e.detail}`:"";console.log(`${t} ${e.label}${a}`)})),console.log("─".repeat(60)))},p=({action:e,target:t,result:a=null,json:n=!1,message:o})=>{n?(0,i.GF)({ok:!0,dryRun:!1,action:e,target:t||null,result:a}):o&&console.log(o)}},7029:(e,t,a)=>{a.d(t,{AutoCleanedStrongCache:()=>Q.V,AutoCleanedWeakCache:()=>Q.A,Concast:()=>k.E,DEV:()=>n.DEV,DeepMerger:()=>h.ZI,DocumentTransform:()=>o.c,Observable:()=>_.c,addNonReactiveToNamedFragments:()=>d.x3,addTypenameToDocument:()=>d.XY,argumentsObjectFromField:()=>l.MB,asyncMap:()=>C.x,buildQueryFromSelectionSet:()=>d.zc,cacheSizes:()=>J.v,canUseAsyncIteratorSymbol:()=>V.uJ,canUseDOM:()=>V.Sw,canUseLayoutEffect:()=>V.JR,canUseSymbol:()=>V.ol,canUseWeakMap:()=>V.et,canUseWeakSet:()=>V.En,canonicalStringify:()=>q.M,checkDocument:()=>s.sw,cloneDeep:()=>O.m,compact:()=>P.o,concatPagination:()=>g,createFragmentMap:()=>r.JG,createFulfilledPromise:()=>w,createRejectedPromise:()=>E,fixObservableSubclass:()=>I.r,getDefaultValues:()=>s.wY,getDirectiveNames:()=>i.sx,getFragmentDefinition:()=>s.E4,getFragmentDefinitions:()=>s.zK,getFragmentFromSelection:()=>r.HQ,getFragmentMaskMode:()=>i.s7,getFragmentQueryDocument:()=>r.ct,getGraphQLErrorsFromResult:()=>R.M,getInclusionDirectives:()=>i.tY,getMainDefinition:()=>s.Vn,getOperationDefinition:()=>s.Vu,getOperationName:()=>s.n4,getQueryDefinition:()=>s.AT,getStoreKeyName:()=>l.o5,getTypenameFromResult:()=>l.D$,graphQLResultHasError:()=>R.t,hasAllDirectives:()=>i.I5,hasAnyDirectives:()=>i.hE,hasClientExports:()=>i.f2,hasDirectives:()=>i.d8,isApolloPayloadResult:()=>U.Nw,isArray:()=>$.c,isDocumentNode:()=>l.Kc,isExecutionPatchIncrementalResult:()=>U.ST,isExecutionPatchInitialResult:()=>U.EQ,isExecutionPatchResult:()=>U.YX,isField:()=>l.dt,isFullyUnmaskedOperation:()=>r.s6,isInlineFragment:()=>l.kd,isMutationOperation:()=>u,isNonEmptyArray:()=>$.E,isNonNullObject:()=>j.U,isPlainObject:()=>j.Q,isQueryOperation:()=>m,isReference:()=>l.A_,isStatefulPromise:()=>T,isSubscriptionOperation:()=>f,iterateObserversSafely:()=>S.w,makeReference:()=>l.WU,makeUniqueId:()=>B.v,maybe:()=>n.maybe,maybeDeepFreeze:()=>F.G,mergeDeep:()=>h.D9,mergeDeepArray:()=>h.IM,mergeIncrementalData:()=>U.bd,mergeOptions:()=>L.l,offsetLimitPagination:()=>y,omitDeep:()=>z,preventUnhandledRejection:()=>A.X,print:()=>p.y,relayStylePagination:()=>b,removeArgumentsFromDocument:()=>d.it,removeClientSetsFromDocument:()=>d.er,removeConnectionDirectiveFromDocument:()=>d.hX,removeDirectivesFromDocument:()=>d.iz,removeFragmentSpreadFromDocument:()=>d.TC,resultKeyNameFromField:()=>l.ue,shouldInclude:()=>i.MS,storeKeyNameFromField:()=>l.Ii,stringifyForDisplay:()=>M.p,stripTypename:()=>Y,valueToObjectRepresentation:()=>l.J,wrapPromiseWithState:()=>N}),a.r(t);var n=a(79212),i=a(82307),o=a(9354),r=a(2904),s=a(3777),p=a(38678),l=a(28907),d=a(53925);function c(e,t){var a;return(null===(a=(0,s.Vu)(e))||void 0===a?void 0:a.operation)===t}function u(e){return c(e,"mutation")}function m(e){return c(e,"query")}function f(e){return c(e,"subscription")}var v=a(85608),h=a(30671);function g(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t){return e?(0,v.__spreadArray)((0,v.__spreadArray)([],e,!0),t,!0):t}}}function y(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,a){var n=a.args,i=e?e.slice(0):[];if(t)if(n)for(var o=n.offset,r=void 0===o?0:o,s=0;s<t.length;++s)i[r+s]=t[s];else i.push.apply(i,t);return i}}}function b(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var a=t.canRead,n=t.readField;if(!e)return e;var i=[],o="",r="";e.edges.forEach(function(e){a(n("node",e))&&(i.push(e),e.cursor&&(o=o||e.cursor||"",r=e.cursor||r))}),i.length>1&&o===r&&(o="");var s=e.pageInfo||{},p=s.startCursor,l=s.endCursor;return(0,v.__assign)((0,v.__assign)({},D(e)),{edges:i,pageInfo:(0,v.__assign)((0,v.__assign)({},e.pageInfo),{startCursor:p||o,endCursor:l||r})})},merge:function(e,t,a){var n=a.args,i=a.isReference,o=a.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var r=t.edges?t.edges.map(function(e){return i(e=(0,v.__assign)({},e))&&(e.cursor=o("cursor",e)),e}):[];if(t.pageInfo){var s=t.pageInfo,p=s.startCursor,l=s.endCursor,d=r[0],c=r[r.length-1];d&&p&&(d.cursor=p),c&&l&&(c.cursor=l);var u=d&&d.cursor;u&&!p&&(t=(0,h.D9)(t,{pageInfo:{startCursor:u}}));var m=c&&c.cursor;m&&!l&&(t=(0,h.D9)(t,{pageInfo:{endCursor:m}}))}var f=e.edges,g=[];if(n&&n.after)(y=f.findIndex(function(e){return e.cursor===n.after}))>=0&&(f=f.slice(0,y+1));else if(n&&n.before){var y;g=(y=f.findIndex(function(e){return e.cursor===n.before}))<0?f:f.slice(y),f=[]}else t.edges&&(f=[]);var b=(0,v.__spreadArray)((0,v.__spreadArray)((0,v.__spreadArray)([],f,!0),r,!0),g,!0),x=(0,v.__assign)((0,v.__assign)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var _=t.pageInfo,w=_.hasPreviousPage,E=_.hasNextPage,T=(p=_.startCursor,l=_.endCursor,(0,v.__rest)(_,["hasPreviousPage","hasNextPage","startCursor","endCursor"]));Object.assign(x,T),f.length||(void 0!==w&&(x.hasPreviousPage=w),void 0!==p&&(x.startCursor=p)),g.length||(void 0!==E&&(x.hasNextPage=E),void 0!==l&&(x.endCursor=l))}return(0,v.__assign)((0,v.__assign)((0,v.__assign)({},D(e)),D(t)),{edges:b,pageInfo:x})}}}var D=function(e){return(0,v.__rest)(e,x)},x=["edges","pageInfo"];var _=a(36054);function w(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function E(e){var t=Promise.reject(e);return t.catch(function(){}),t.status="rejected",t.reason=e,t}function T(e){return"status"in e}function N(e){if(T(e))return e;var t=e;return t.status="pending",t.then(function(e){if("pending"===t.status){var a=t;a.status="fulfilled",a.value=e}},function(e){if("pending"===t.status){var a=t;a.status="rejected",a.reason=e}}),e}var A=a(30234),O=a(20906),F=a(57236),S=a(87613),C=a(5762),k=a(45637),I=a(35892),$=a(73767),j=a(21777),R=a(32710),V=a(51360),P=a(50492),B=a(21461),M=a(86563),L=a(31507),U=a(37396),q=a(44214);function z(e,t){return G(e,t)}function G(e,t,a){if(void 0===a&&(a=new Map),a.has(e))return a.get(e);var n=!1;if(Array.isArray(e)){var i=[];if(a.set(e,i),e.forEach(function(e,o){var r=G(e,t,a);n||(n=r!==e),i[o]=r}),n)return i}else if((0,j.Q)(e)){var o=Object.create(Object.getPrototypeOf(e));if(a.set(e,o),Object.keys(e).forEach(function(i){if(i!==t){var r=G(e[i],t,a);n||(n=r!==e[i]),o[i]=r}else n=!0}),n)return o}return e}function Y(e){return z(e,"__typename")}var Q=a(45078),J=a(555)},7054:(e,a,n)=>{n.d(a,{u:()=>E});var i=n(68832),o=n(99436);const r=t("fs/promises");var s,p,l,d,c,u=n(16928),m=n(35679),f=n(88568),v=n(29790),h=n(86090),g=n(74752),y=n(50700),b=n(47336),D=()=>{var e=(0,g.getCurrentProfile)(),t=(0,g.getToken)(e);return t||(console.error(f.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),(0,y.createClient)((0,g.getBaseUrl)(),t)},x=(s=o(function*(e){var t=yield e.workspace();if(!(0,b.wR)(t))throw new Error("Media workspace not enabled for this workspace")}),function(e){return s.apply(this,arguments)}),_=e=>{var t=e.meta||{};if(!t.originalFileUploaded)return{ready:!1,label:"Uploading"};if("Video"===e.fileType){if(!t.videoThumbOriginalFileKey)return{ready:!1,label:"Processing"};if(!t.convertedFileUploaded)return{ready:!1,label:"Transcoding"}}return{ready:!0,label:"Ready"}},w=e=>e.ready?f.Ay.green(e.label):f.Ay.yellow(e.label),E=new m.uB("media").description("Media Flow support");E.command("boxes").description("List Media Flow boxes").option("-j, --json","Output as JSON").action((p=o(function*(e){var t=D(),a=(0,v.default)("Fetching media boxes...").start();try{yield x(t);var n=yield t.mediaBoxes();if(a.stop(),e.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(f.Ay.yellow("No media boxes found"));console.log(f.Ay.bold("\nMedia Boxes")),console.log("─".repeat(80)),n.forEach(e=>{console.log(`${f.Ay.cyan(e.name||"Unnamed")} ${f.Ay.gray(e.id)}`),e.description&&console.log(` ${e.description}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),null!=e.size&&console.log(` Size: ${e.size}`),console.log()})}catch(e){a.fail(`Failed to list media boxes: ${e.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),E.command("box <id>").description("Get Media Flow box details").option("-j, --json","Output as JSON").action((l=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media box...").start();try{yield x(a);var i=yield a.mediaBox({id:e});if(n.stop(),i||(console.log(f.Ay.red("Media box not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));console.log(f.Ay.bold(`\nMedia Box: ${i.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${f.Ay.gray(i.id)}`),console.log(`Description: ${i.description||f.Ay.gray("N/A")}`),console.log(`Tags: ${i.tags?.join(", ")||f.Ay.gray("None")}`),null!=i.size&&console.log(`Size: ${i.size}`),i.passcodes?.length&&(console.log(`\n${f.Ay.bold("Passcodes")}`),i.passcodes.forEach(e=>{console.log(`- ${e.name||"Passcode"}: ${e.code}`)})),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get media box: ${e.message}`),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),E.command("files <boxId>").description("List Media Flow files in a box").option("-t, --types <types>","Comma-separated file types to include").option("-u, --user-tag <tag>","Filter by user tag (repeatable)",(e,t)=>[...t,e],[]).option("-l, --limit <limit>","Limit results",e=>Number.parseInt(e,10)).option("-o, --offset <offset>","Offset results",e=>Number.parseInt(e,10)).option("-j, --json","Output as JSON").action((d=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media files...").start();try{yield x(a);var i=t.types?t.types.split(",").map(e=>e.trim()).filter(Boolean):void 0,o=t.userTag?.length?t.userTag:void 0,r=yield a.mediaFiles({boxId:e,includeTypes:i,userTags:o,limit:t.limit,offset:t.offset});if(n.stop(),t.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(f.Ay.yellow("No media files found"));console.log(f.Ay.bold(`\nMedia Files (${r.length})`)),console.log("─".repeat(100)),r.forEach(e=>{var t=_(e);console.log(`${f.Ay.cyan(e.name||"Unnamed")} ${f.Ay.gray(e.id)}`),console.log(` Type: ${e.fileType} Status: ${w(t)}`),e.userTags?.length&&console.log(` Tags: ${e.userTags.join(", ")}`),e.updatedAt&&console.log(` Updated: ${new Date(e.updatedAt).toLocaleString()}`),console.log()})}catch(e){n.fail(`Failed to list media files: ${e.message}`),process.exit(1)}}),function(e,t){return d.apply(this,arguments)})),E.command("file <id>").description("Get Media Flow file details").option("-j, --json","Output as JSON").action((c=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media file...").start();try{yield x(a);var i=yield a.mediaFile({id:e});if(n.stop(),i||(console.log(f.Ay.red("Media file not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));var o=_(i);console.log(f.Ay.bold(`\nMedia File: ${i.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${f.Ay.gray(i.id)}`),console.log(`Box ID: ${f.Ay.gray(i.boxId)}`),console.log(`Type: ${i.fileType}`),console.log(`Status: ${w(o)}`),console.log(`Description: ${i.description||f.Ay.gray("N/A")}`),console.log(`Tags: ${i.userTags?.join(", ")||f.Ay.gray("None")}`),console.log(`Created: ${f.Ay.gray(i.createdAt||"N/A")}`),console.log(`Updated: ${f.Ay.gray(i.updatedAt||"N/A")}`);var r=(0,b.Gu)(i),s=(0,b.Gu)(i,{preferThumbnail:!0});i.meta?.originalFileKey&&console.log(`Original Key: ${f.Ay.gray(i.meta.originalFileKey)}`),r&&console.log(`Original URL: ${f.Ay.gray(r)}`),s&&s!==r&&console.log(`Thumbnail URL: ${f.Ay.gray(s)}`),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get media file: ${e.message}`),process.exit(1)}}),function(e,t){return c.apply(this,arguments)}));var T,N,A,O=e=>{var t=e.match(/^(\d+)x(\d+)(?::(\w+))?$/);if(!t)throw new Error(`Invalid image version spec: "${e}". Expected format: WxH or WxH:STRATEGY`);return{width:parseInt(t[1],10),height:parseInt(t[2],10),strategy:(t[3]||"FILL").toUpperCase(),copypreview:!1}},F=(T=o(function*(e,t,a,n,o){var r=new FormData;for(var s of Object.entries(t)){var p=i(s,2),l=p[0],d=p[1];r.append(l,d)}r.append("file",new Blob([a],{type:o}),n);var c=yield fetch(e,{method:"POST",body:r});if(!c.ok&&204!==c.status){var u=yield c.text().catch(()=>"");throw new Error(`S3 upload failed (${c.status}): ${u}`)}}),function(e,t,a,n,i){return T.apply(this,arguments)}),S=(N=o(function*(e,t,a){var n,i=[],r=0,s=(n=o(function*(){for(;r<e.length;){var t=r++;i[t]=yield a(e[t],t)}}),function(){return n.apply(this,arguments)}),p=Array.from({length:Math.min(t,e.length)},()=>s());return yield Promise.all(p),i}),function(e,t,a){return N.apply(this,arguments)});E.command("upload <boxId> <files...>").description("Upload file(s) to a Media Flow box").option("-d, --description <text>","File description","").option("-t, --user-tag <tag>","User tag (repeatable, max 15)",(e,t)=>[...t,e],[]).option("--image-version <spec>","Image resize spec as WxH or WxH:STRATEGY (repeatable)",(e,t)=>[...t,e],[]).option("--image-version-type <type>","Image output format: jpg or png").option("--enable-ai-analysis","Enable AI analysis on uploaded files").option("--ai-instruction <text>","Custom AI analysis instruction").option("--concurrency <n>","Max concurrent uploads",e=>parseInt(e,10),3).option("-j, --json","Output as JSON").action((A=o(function*(e,t,a){var n,i,s=D(),p=(0,v.default)("Preparing upload...").start();try{if(yield x(s),a.userTag.length>15)throw new Error("Maximum 15 user tags allowed");var l=a.imageVersion.map(O),d=a.enableAiAnalysis||!!a.aiInstruction,c=yield Promise.all(t.map((i=o(function*(e){var t=(0,u.resolve)(e),a=yield(0,r.stat)(t).catch(()=>null);if(!a||!a.isFile())throw new Error(`Not a file: ${e}`);var n=(0,u.basename)(t);return{filePath:t,fileName:n,contentType:(0,h.lookup)(n)||"application/octet-stream",size:a.size}}),function(e){return i.apply(this,arguments)})));p.stop();var m=c.length;console.log(f.Ay.bold(`\nUploading ${m} file${m>1?"s":""} to box ${f.Ay.gray(e)}...\n`));var g=[];yield S(c,a.concurrency,(n=o(function*(t,n){var i,o,p=`[${n+1}/${m}] ${t.fileName}`,c=(0,v.default)(`${p} — requesting upload...`).start();try{var u=(o=t.contentType)?"image/svg+xml"===o?"FILE":o.startsWith("image/")?"IMAGE":o.startsWith("video/")?"VIDEO":o.startsWith("audio/")?"AUDIO":"FILE":"FILE",h={imageVersions:"IMAGE"===u?l:[],imageVersionType:"IMAGE"===u?a.imageVersionType:void 0,enableAiAnalysis:d,aiCustomInstruction:a.aiInstruction||void 0},y=yield s.createMediaFileUploadRequest({name:t.fileName,description:a.description,boxId:e,fileType:u,contentType:t.contentType,userTags:a.userTag.length?a.userTag:[],meta:h});c.text=`${p} — uploading to storage...`;var b=JSON.parse(y.meta.uploadInfo),D=yield(0,r.readFile)(t.filePath);yield F(b.url,{AWSAccessKeyId:b.AWSAccessKeyId,"Content-Type":b["Content-Type"],key:b.key,Signature:b.Signature,Policy:b.Policy,acl:b.acl},D,t.fileName,t.contentType),c.succeed(`${p} ${f.Ay.green("✓")} ${f.Ay.gray(`(${u}, ${i=t.size,i<1024?`${i} B`:i<1048576?`${(i/1024).toFixed(1)} KB`:i<1073741824?`${(i/1048576).toFixed(1)} MB`:`${(i/1073741824).toFixed(1)} GB`})`)}`),g.push({file:t.fileName,id:y.id,status:"success",fileType:u,size:t.size})}catch(e){c.fail(`${p} — ${e.message}`),g.push({file:t.fileName,id:null,status:"failed",error:e.message})}}),function(e,t){return n.apply(this,arguments)}));var y=g.filter(e=>"success"===e.status).length,b=g.filter(e=>"failed"===e.status).length;a.json?console.log(JSON.stringify({boxId:e,results:g,summary:{total:m,success:y,failed:b}},null,2)):(console.log(),0===b?console.log(f.Ay.green(`Uploaded ${y}/${m} files`)):console.log(f.Ay.yellow(`Uploaded ${y}/${m} files (${b} failed)`))),b>0&&process.exit(1)}catch(e){p.fail(`Upload failed: ${e.message}`),process.exit(1)}}),function(e,t,a){return A.apply(this,arguments)}))},7066:e=>{e.exports=t("node:tty")},7089:(e,t,a)=>{a.d(t,{oT:()=>d});var n=a(35679),i=a(88568),o=a(74752),r={prod:"https://display.bricks.tools",beta:"https://display-beta.bricks.tools",dev:"http://localhost:3001"},s=e=>{var t=Object.entries(r).find(([,t])=>e===t);return t?t[0]:null},p={prod:"https://activity-log.bricks.tools",beta:"https://activity-log-beta.bricks.tools",dev:"http://localhost:8088"},l=e=>{var t=Object.entries(p).find(([,t])=>e===t);return t?t[0]:null},d=new n.uB("config").description("CLI configuration management");d.command("endpoint").argument("[environment]","Environment to use (prod, beta, dev)").description("Show or set endpoint environment").option("-p, --profile","Set for current profile instead of global").action((e,t)=>{if(!e){var a=(0,o.getBaseUrl)(),n=s(a),d=(0,o.getActivityLogBaseUrl)(),c=l(d);return console.log(i.Ay.bold("\nEndpoint Configuration")),console.log("─".repeat(50)),console.log(i.Ay.bold("BRICKS")),console.log(` URL: ${i.Ay.cyan(a)}`),console.log(` Environment: ${n?i.Ay.green(n):i.Ay.yellow("custom")}`),console.log(i.Ay.bold("Activity Log")),console.log(` URL: ${i.Ay.cyan(d)}`),console.log(` Environment: ${c?i.Ay.green(c):i.Ay.yellow("custom")}`),console.log("─".repeat(50)),void console.log(i.Ay.gray("\nUsage: bricks config endpoint <prod|beta|dev>"))}var u=Object.keys(r);u.includes(e)||(console.error(i.Ay.red(`Invalid environment: ${e}`)),console.log(i.Ay.gray(`Valid options: ${u.join(", ")}`)),process.exit(1));var m=r[e],f=p[e],v=t.profile?(0,o.getCurrentProfile)():null;(0,o.setBaseUrl)(m,v),(0,o.setActivityLogBaseUrl)(f,v);var h=t.profile?` (profile: ${(0,o.getCurrentProfile)()})`:"";console.log(i.Ay.green(`✓ Endpoint changed to ${e}${h}`)),console.log(i.Ay.gray(` BRICKS: ${m}`)),console.log(i.Ay.gray(` Activity Log: ${f}`)),console.log(i.Ay.yellow("\nNote: You may need to re-authenticate if your token is for a different environment.")),console.log(i.Ay.gray("Use `bricks auth status` to check your connection."))}),d.command("show").description("Show current configuration").option("-j, --json","Output as JSON").action(e=>{var t=(0,o.getBaseUrl)(),a=s(t);if(e.json)console.log(JSON.stringify({endpoint:t,environment:a||"custom"},null,2));else{console.log(i.Ay.bold("\nBRICKS CLI Configuration")),console.log("─".repeat(50)),console.log(`BRICKS: ${i.Ay.cyan(t)}`),a?console.log(`Environment: ${i.Ay.green(a)}`):console.log(`Environment: ${i.Ay.yellow("custom")}`);var n=(0,o.getActivityLogBaseUrl)(),r=l(n);console.log(`Activity Log: ${i.Ay.cyan(n)} ${r?i.Ay.green(`(${r})`):i.Ay.yellow("(custom)")}`),console.log("─".repeat(50))}})},8238:(e,t,a)=>{a.d(t,{C:()=>o,V:()=>i});var n=a(73971);function i(e){return o(e.source,(0,n.g)(e.source,e.start))}function o(e,t){const a=e.locationOffset.column-1,n="".padStart(a)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,p=1===t.line?a:0,l=t.column+p,d=`${e.name}:${s}:${l}\n`,c=n.split(/\r\n|[\n\r]/g),u=c[i];if(u.length>120){const e=Math.floor(l/80),t=l%80,a=[];for(let e=0;e<u.length;e+=80)a.push(u.slice(e,e+80));return d+r([[`${s} |`,a[0]],...a.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",a[e+1]]])}return d+r([[s-1+" |",c[i-1]],[`${s} |`,u],["|","^".padStart(l)],[`${s+1} |`,c[i+1]]])}function r(e){const t=e.filter(([e,t])=>void 0!==t),a=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(a)+(t?" "+t:"")).join("\n")}},8271:(e,t,a)=>{a.r(t),a.d(t,{application:()=>c,applicationProject:()=>w,applications:()=>u,checkBindDevicePasscode:()=>h,device:()=>r,deviceGroup:()=>p,deviceGroups:()=>l,deviceUsage:()=>_,devices:()=>s,devicesByGroup:()=>d,mediaBox:()=>D,mediaBoxes:()=>b,mediaFile:()=>x,mediaFiles:()=>g,mediaWorkspace:()=>y,module:()=>m,moduleProject:()=>E,modules:()=>f,publicModules:()=>v,workspace:()=>o});var n=a(94370),i=a(67370),o=n.default`
|
|
1
|
+
import{createRequire as e}from"node:module";const t=e(import.meta.url);import*as a from"ink";import*as n from"ink-picture";import*as i from"react";import*as o from"react/jsx-runtime";import{default as r}from"conf";var s,p,l,d,c,u,m,f,v,h={444:(e,t,a)=>{a.a(e,async(e,n)=>{try{a.d(t,{A:()=>T,e:()=>w});var i=a(99436),o=a(35679),r=a(88568),s=a(74752),p=a(74445),l=a(73087),d=a(81637),c=a(69504),u=a(64447),m=a(34528),f=a(7054),v=a(7089),h=a(25811),g=a(71786),y=a(14778),b=a(61685),D=a(49317),x=e([y]),_=x.then?(await x)():x;y=_[0];var w=(E=i(function*(){var e,t=process.argv.findIndex(e=>"--auth-profile"===e||"-ap"===e);-1!==t&&process.argv[t+1]&&((0,s.setProfileOverride)(process.argv[t+1]),process.argv.splice(t,2)),o.DM.name("bricks").description("BRICKS CLI - Command-line interface for BRICKS Workspace API").version("2.25.0-beta.3").enablePositionalOptions(),o.DM.addCommand(l.s),o.DM.addCommand(d._),o.DM.addCommand(c.B),o.DM.addCommand(u.A),o.DM.addCommand(m.p),o.DM.addCommand(f.u),o.DM.addCommand(v.oT),o.DM.addCommand(h.K),o.DM.addCommand(g.g),o.DM.addCommand(y.D),o.DM.addCommand(b.v),o.DM.addCommand(D.l),o.DM.command("interactive").alias("i").description("Start interactive mode with Ink UI").action(i(function*(){try{var e=(yield Promise.all([a.e(63),a.e(779)]).then(a.bind(a,18779))).runInteractiveMode;yield e()}catch(e){console.error(r.Ay.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}})),o.DM.command("workspace").alias("ws").description("Show current workspace information").option("-j, --json","Output as JSON").action((e=i(function*(e){var t=yield Promise.resolve().then(a.bind(a,74752)),n=t.getToken,i=t.getBaseUrl,o=t.getCurrentProfile,s=(yield Promise.resolve().then(a.bind(a,50700))).createClient,p=(yield Promise.resolve().then(a.bind(a,29790))).default,l=n(o());l||(console.error(r.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1));var d=p("Fetching workspace info...").start();try{var c=s(i(),l),u=yield c.workspace();if(d.stop(),e.json)return void console.log(JSON.stringify(u,null,2));console.log(r.Ay.bold("\nWorkspace Information")),console.log("─".repeat(60)),console.log(`Name: ${r.Ay.green(u.name)}`),console.log(`ID: ${r.Ay.gray(u._id)}`),console.log(`Description: ${u.description||r.Ay.gray("N/A")}`),console.log(`\n${r.Ay.bold("Data")}`),console.log(`Remote Update: ${u.bank?.enable_remote_update?r.Ay.green("Enabled"):r.Ay.gray("Disabled")}`),console.log(`Spacename: ${u.bank?.spacename||r.Ay.gray("N/A")}`),console.log("─".repeat(60))}catch(e){d.fail(`Failed to get workspace: ${e.message}`),process.exit(1)}}),function(t){return e.apply(this,arguments)})),o.DM.on("--help",()=>{console.log(""),console.log(r.Ay.bold("Examples:")),console.log(""),console.log(r.Ay.gray(" # Login with a one-time passcode (recommended)")),console.log(" $ bricks auth login <passcode>"),console.log(""),console.log(r.Ay.gray(" # List all devices")),console.log(" $ bricks device list"),console.log(""),console.log(r.Ay.gray(" # Monitor devices in real-time")),console.log(" $ bricks device monitor"),console.log(""),console.log(r.Ay.gray(" # Control a device")),console.log(" $ bricks device refresh <device-id>"),console.log(" $ bricks device control <device-id> clear-cache"),console.log(""),console.log(r.Ay.gray(" # Bind a new device")),console.log(' $ bricks device bind <passcode> -n "My Device"'),console.log(""),console.log(r.Ay.gray(" # List applications")),console.log(" $ bricks app list"),console.log(""),console.log(r.Ay.gray(" # Start interactive mode")),console.log(" $ bricks interactive"),console.log(""),console.log(r.Ay.gray(" # Change API endpoint")),console.log(" $ bricks config endpoint beta"),console.log(""),console.log(r.Ay.gray("Get workspace token from BRICKS Controller:")),console.log(r.Ay.cyan(" https://control.bricks.tools")),console.log(r.Ay.gray(" Go to Workspace Settings > API Token"))});var n=process.argv.slice(2);if(0===n.length){if((0,p.b)(n))try{var x=(yield Promise.all([a.e(63),a.e(779)]).then(a.bind(a,18779))).runInteractiveMode;return void(yield x())}catch(e){console.error(r.Ay.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}return console.error(r.Ay.gray("No command provided. Interactive mode requires a TTY, so showing help instead.\n")),void o.DM.outputHelp()}yield o.DM.parseAsync(process.argv)}),function(){return E.apply(this,arguments)});const T=w;n()}catch(e){n(e)}var E})},555:(e,t,a)=>{a.d(t,{v:()=>r});var n=a(85608),i=a(79212),o=Symbol.for("apollo.cacheSize"),r=(0,n.__assign)({},i.global[o])},777:(e,t,a)=>{a.d(t,{MS:()=>p,UT:()=>l,WR:()=>s,bl:()=>i});var n=a(77634),i=new n.Slot,o=new WeakMap;function r(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dep)()}),t}function s(e){r(e).vars.forEach(function(t){return t.forgetCache(e)})}function p(e){r(e).vars.forEach(function(t){return t.attachCache(e)})}function l(e){var t=new Set,a=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){r(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var p=Array.from(a);a.clear(),p.forEach(function(t){return t(e)})}}else{var l=i.getValue();l&&(o(l),r(l).dep(n))}return e};n.onNextChange=function(e){return a.add(e),function(){a.delete(e)}};var o=n.attachCache=function(e){return t.add(e),r(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},1001:(e,t,a)=>{a.d(t,{p:()=>o});var n=/^(\d+)(s|m|h|d|w)$/,i={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5};function o(e){var t=e.match(n);if(t){var a=parseInt(t[1],10),o=i[t[2]];return new Date(Date.now()-a*o).toISOString()}var r=new Date(e);if(isNaN(r.getTime()))throw new Error(`Invalid time format: "${e}". Use ISO 8601 or relative (e.g. 1h, 30m, 2d)`);return r.toISOString()}},1708:e=>{e.exports=t("node:process")},2203:e=>{e.exports=t("stream")},2904:(e,t,a)=>{a.d(t,{HQ:()=>p,JG:()=>s,ct:()=>r,s6:()=>l});var n=a(85608),i=a(79212),o=a(90424);function r(e,t){var a=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===a&&((0,i.invariant)(1===o.length,86,o.length),a=o[0].name.value),(0,n.__assign)((0,n.__assign)({},e),{definitions:(0,n.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:a}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function p(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var a=e.name.value;if("function"==typeof t)return t(a);var n=t&&t[a];return(0,i.invariant)(n,87,a),n||null;default:return null}}function l(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},3420:(e,t,a)=>{a.d(t,{MD:()=>i,TZ:()=>p,VK:()=>r,_m:()=>o,a6:()=>c,aR:()=>s,dI:()=>l,fT:()=>u,gj:()=>f,i7:()=>m,xu:()=>d});var n=a(42455);function i(e){return o(e)||d(e)||u(e)}function o(e){return e.kind===n.b.OPERATION_DEFINITION||e.kind===n.b.FRAGMENT_DEFINITION}function r(e){return e.kind===n.b.FIELD||e.kind===n.b.FRAGMENT_SPREAD||e.kind===n.b.INLINE_FRAGMENT}function s(e){return e.kind===n.b.VARIABLE||e.kind===n.b.INT||e.kind===n.b.FLOAT||e.kind===n.b.STRING||e.kind===n.b.BOOLEAN||e.kind===n.b.NULL||e.kind===n.b.ENUM||e.kind===n.b.LIST||e.kind===n.b.OBJECT}function p(e){return s(e)&&(e.kind===n.b.LIST?e.values.some(p):e.kind===n.b.OBJECT?e.fields.some(e=>p(e.value)):e.kind!==n.b.VARIABLE)}function l(e){return e.kind===n.b.NAMED_TYPE||e.kind===n.b.LIST_TYPE||e.kind===n.b.NON_NULL_TYPE}function d(e){return e.kind===n.b.SCHEMA_DEFINITION||c(e)||e.kind===n.b.DIRECTIVE_DEFINITION}function c(e){return e.kind===n.b.SCALAR_TYPE_DEFINITION||e.kind===n.b.OBJECT_TYPE_DEFINITION||e.kind===n.b.INTERFACE_TYPE_DEFINITION||e.kind===n.b.UNION_TYPE_DEFINITION||e.kind===n.b.ENUM_TYPE_DEFINITION||e.kind===n.b.INPUT_OBJECT_TYPE_DEFINITION}function u(e){return e.kind===n.b.SCHEMA_EXTENSION||m(e)}function m(e){return e.kind===n.b.SCALAR_TYPE_EXTENSION||e.kind===n.b.OBJECT_TYPE_EXTENSION||e.kind===n.b.INTERFACE_TYPE_EXTENSION||e.kind===n.b.UNION_TYPE_EXTENSION||e.kind===n.b.ENUM_TYPE_EXTENSION||e.kind===n.b.INPUT_OBJECT_TYPE_EXTENSION}function f(e){return e.kind===n.b.TYPE_COORDINATE||e.kind===n.b.MEMBER_COORDINATE||e.kind===n.b.ARGUMENT_COORDINATE||e.kind===n.b.DIRECTIVE_COORDINATE||e.kind===n.b.DIRECTIVE_ARGUMENT_COORDINATE}},3634:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},3680:(e,t,a)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=a(20124):e.exports=a(85038)},3777:(e,t,a)=>{a.d(t,{AT:()=>l,E4:()=>d,Vn:()=>c,Vu:()=>r,n4:()=>s,sw:()=>o,wY:()=>u,zK:()=>p});var n=a(79212),i=a(28907);function o(e){(0,n.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.newInvariantError)(89,e.kind);return e});return(0,n.invariant)(t.length<=1,90,t.length),e}function r(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function p(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=r(e);return(0,n.invariant)(t&&"query"===t.operation,91),t}function d(e){(0,n.invariant)("Document"===e.kind,92),(0,n.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.invariant)("FragmentDefinition"===t.kind,94),t}function c(e){var t;o(e);for(var a=0,i=e.definitions;a<i.length;a++){var r=i[a];if("OperationDefinition"===r.kind){var s=r.operation;if("query"===s||"mutation"===s||"subscription"===s)return r}"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw(0,n.newInvariantError)(95)}function u(e){var t=Object.create(null),a=e&&e.variableDefinitions;return a&&a.length&&a.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},3848:(e,t,a)=>{a.d(t,{A:()=>n});var n=function(e,t,a){var n=new Error(a);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},3900:e=>{e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4275:(e,t,a)=>{var n=a(16699);function i(e){var t,a;function i(t,a){try{var r=e[t](a),s=r.value,p=s instanceof n;Promise.resolve(p?s.v:s).then(function(a){if(p){var n="return"===t?"return":"next";if(!s.k||a.done)return i(n,a);a=e[n](a).value}o(r.done?"return":"normal",a)},function(e){i("throw",e)})}catch(e){o("throw",e)}}function o(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?i(t.key,t.arg):a=null}this._invoke=function(e,n){return new Promise(function(o,r){var s={key:e,arg:n,resolve:o,reject:r,next:null};a?a=a.next=s:(t=a=s,i(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}i.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(e){return this._invoke("next",e)},i.prototype.throw=function(e){return this._invoke("throw",e)},i.prototype.return=function(e){return this._invoke("return",e)},e.exports=function(e){return function(){return new i(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},4649:(e,t,a)=>{a.d(t,{BREAK:()=>Yt.sP,BreakingChangeType:()=>Ei,DEFAULT_DEPRECATION_REASON:()=>at,DangerousChangeType:()=>Ti,DirectiveLocation:()=>Me.H,ExecutableDefinitionsRule:()=>Xt,FieldsOnCorrectTypeRule:()=>Zt,FragmentsOnCompositeTypesRule:()=>ea,GRAPHQL_MAX_INT:()=>Le,GRAPHQL_MIN_INT:()=>Ue,GraphQLBoolean:()=>Ye,GraphQLDeprecatedDirective:()=>nt,GraphQLDirective:()=>Ze,GraphQLEnumType:()=>Ce,GraphQLError:()=>l.eO,GraphQLFloat:()=>ze,GraphQLID:()=>Qe,GraphQLIncludeDirective:()=>et,GraphQLInputObjectType:()=>$e,GraphQLInt:()=>qe,GraphQLInterfaceType:()=>Oe,GraphQLList:()=>se,GraphQLNonNull:()=>pe,GraphQLObjectType:()=>De,GraphQLOneOfDirective:()=>ot,GraphQLScalarType:()=>be,GraphQLSchema:()=>Ot,GraphQLSkipDirective:()=>tt,GraphQLSpecifiedByDirective:()=>it,GraphQLString:()=>Ge,GraphQLUnionType:()=>Fe,Kind:()=>A.b,KnownArgumentNamesRule:()=>ta,KnownDirectivesRule:()=>na,KnownFragmentNamesRule:()=>ia,KnownTypeNamesRule:()=>oa,Lexer:()=>ei.JG,Location:()=>d.aZ,LoneAnonymousOperationRule:()=>sa,LoneSchemaDefinitionRule:()=>pa,MaxIntrospectionDepthRule:()=>da,NoDeprecatedCustomRule:()=>oi,NoFragmentCyclesRule:()=>ca,NoSchemaIntrospectionCustomRule:()=>ri,NoUndefinedVariablesRule:()=>ua,NoUnusedFragmentsRule:()=>ma,NoUnusedVariablesRule:()=>fa,OperationTypeNode:()=>d.cE,OverlappingFieldsCanBeMergedRule:()=>ga,PossibleFragmentSpreadsRule:()=>Fa,PossibleTypeExtensionsRule:()=>Sa,ProvidedRequiredArgumentsRule:()=>ka,ScalarLeafsRule:()=>ja,SchemaMetaFieldDef:()=>xt,SingleFieldSubscriptionsRule:()=>Za,Source:()=>Kn.k,Token:()=>d.ou,TokenKind:()=>ti.Y,TypeInfo:()=>Jt,TypeKind:()=>bt,TypeMetaFieldDef:()=>_t,TypeNameMetaFieldDef:()=>wt,UniqueArgumentDefinitionNamesRule:()=>tn,UniqueArgumentNamesRule:()=>an,UniqueDirectiveNamesRule:()=>nn,UniqueDirectivesPerLocationRule:()=>on,UniqueEnumValueNamesRule:()=>rn,UniqueFieldDefinitionNamesRule:()=>sn,UniqueFragmentNamesRule:()=>ln,UniqueInputFieldNamesRule:()=>dn,UniqueOperationNamesRule:()=>cn,UniqueOperationTypesRule:()=>un,UniqueTypeNamesRule:()=>mn,UniqueVariableNamesRule:()=>fn,ValidationContext:()=>Tn,ValuesOfCorrectTypeRule:()=>vn,VariablesAreInputTypesRule:()=>gn,VariablesInAllowedPositionRule:()=>yn,__Directive:()=>mt,__DirectiveLocation:()=>ft,__EnumValue:()=>yt,__Field:()=>ht,__InputValue:()=>gt,__Schema:()=>ut,__Type:()=>vt,__TypeKind:()=>Dt,assertAbstractType:()=>re,assertCompositeType:()=>ie,assertDirective:()=>Xe,assertEnumType:()=>z,assertEnumValueName:()=>k,assertInputObjectType:()=>Y,assertInputType:()=>X,assertInterfaceType:()=>M,assertLeafType:()=>ae,assertListType:()=>J,assertName:()=>C,assertNamedType:()=>ve,assertNonNullType:()=>W,assertNullableType:()=>ue,assertObjectType:()=>P,assertOutputType:()=>ee,assertScalarType:()=>R,assertSchema:()=>At,assertType:()=>$,assertUnionType:()=>U,assertValidName:()=>Gi,assertValidSchema:()=>Ct,assertWrappingType:()=>de,astFromValue:()=>dt,buildASTSchema:()=>yi,buildClientSchema:()=>ui,buildSchema:()=>bi,coerceInputValue:()=>Ba,concatAST:()=>Mi,createSourceEventStream:()=>ii,defaultFieldResolver:()=>Yn,defaultTypeResolver:()=>Gn,doTypesOverlap:()=>Be,execute:()=>kn,executeSync:()=>In,extendSchema:()=>mi,findBreakingChanges:()=>Qi,findDangerousChanges:()=>Ji,formatError:()=>l.Wk,getArgumentValues:()=>Ga,getDirectiveValues:()=>Ya,getEnterLeaveForKind:()=>Yt.XO,getIntrospectionQuery:()=>pi,getLocation:()=>Xn.g,getNamedType:()=>he,getNullableType:()=>me,getOperationAST:()=>li,getOperationRootType:()=>di,getVariableValues:()=>za,getVisitFn:()=>Yt.UY,graphql:()=>Jn,graphqlSync:()=>Hn,introspectionFromSchema:()=>ci,introspectionTypes:()=>Et,isAbstractType:()=>oe,isCompositeType:()=>ne,isConstValueNode:()=>Kt.TZ,isDefinitionNode:()=>Kt.MD,isDirective:()=>Ke,isEnumType:()=>q,isEqualType:()=>Ve,isExecutableDefinitionNode:()=>Kt._m,isInputObjectType:()=>G,isInputType:()=>K,isInterfaceType:()=>B,isIntrospectionType:()=>Tt,isLeafType:()=>te,isListType:()=>Q,isNamedType:()=>fe,isNonNullType:()=>H,isNullableType:()=>ce,isObjectType:()=>V,isOutputType:()=>Z,isRequiredArgument:()=>Ae,isRequiredInputField:()=>Re,isScalarType:()=>j,isSchema:()=>Nt,isSchemaCoordinateNode:()=>Kt.gj,isSelectionNode:()=>Kt.VK,isSpecifiedDirective:()=>st,isSpecifiedScalarType:()=>He,isType:()=>I,isTypeDefinitionNode:()=>Kt.a6,isTypeExtensionNode:()=>Kt.i7,isTypeNode:()=>Kt.dI,isTypeSubTypeOf:()=>Pe,isTypeSystemDefinitionNode:()=>Kt.xu,isTypeSystemExtensionNode:()=>Kt.fT,isUnionType:()=>L,isValidNameError:()=>Yi,isValueNode:()=>Kt.aR,isWrappingType:()=>le,lexicographicSortSchema:()=>Di,locatedError:()=>Sn,parse:()=>s.qg,parseConstValue:()=>s.u8,parseSchemaCoordinate:()=>s.Ng,parseType:()=>s.Mb,parseValue:()=>s.$x,print:()=>O.y,printError:()=>l.yJ,printIntrospectionSchema:()=>Oi,printLocation:()=>Zn.V,printSchema:()=>Ai,printSourceLocation:()=>Zn.C,printType:()=>ki,recommendedRules:()=>Dn,resolveASTSchemaCoordinate:()=>co,resolveObjMapThunk:()=>ye,resolveReadonlyArrayThunk:()=>ge,resolveSchemaCoordinate:()=>lo,responsePathAsArray:()=>Pa,separateOperations:()=>Li,specifiedDirectives:()=>rt,specifiedRules:()=>xn,specifiedScalarTypes:()=>Je,stripIgnoredCharacters:()=>zi,subscribe:()=>ni,syntaxError:()=>si.I,typeFromAST:()=>Qt,validate:()=>Nn,validateSchema:()=>St,valueFromAST:()=>Ua,valueFromASTUntyped:()=>F,version:()=>n,versionInfo:()=>i,visit:()=>Yt.YR,visitInParallel:()=>Yt.oP,visitWithTypeInfo:()=>Wt}),a.r(t);const n="16.12.0",i=Object.freeze({major:16,minor:12,patch:0,preReleaseTag:null});var o=a(93217);function r(e){return"function"==typeof(null==e?void 0:e.then)}var s=a(93367),p=a(35198),l=a(48255),d=a(59762);const c=5;function u(e,t){const[a,n]=t?[e,t]:[void 0,e];let i=" Did you mean ";a&&(i+=a+" ");const o=n.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}const r=o.slice(0,c),s=r.pop();return i+r.join(", ")+", or "+s+"?"}function m(e){return e}var f=a(50792),v=a(91070);function h(e,t){const a=Object.create(null);for(const n of e)a[t(n)]=n;return a}function g(e,t,a){const n=Object.create(null);for(const i of e)n[t(i)]=a(i);return n}function y(e,t){const a=Object.create(null);for(const n of Object.keys(e))a[n]=t(e[n],n);return a}function b(e,t){let a=0,n=0;for(;a<e.length&&n<t.length;){let i=e.charCodeAt(a),o=t.charCodeAt(n);if(_(i)&&_(o)){let r=0;do{++a,r=10*r+i-D,i=e.charCodeAt(a)}while(_(i)&&r>0);let s=0;do{++n,s=10*s+o-D,o=t.charCodeAt(n)}while(_(o)&&s>0);if(r<s)return-1;if(r>s)return 1}else{if(i<o)return-1;if(i>o)return 1;++a,++n}}return e.length-t.length}const D=48,x=57;function _(e){return!isNaN(e)&&D<=e&&e<=x}function w(e,t){const a=Object.create(null),n=new E(e),i=Math.floor(.4*e.length)+1;for(const e of t){const t=n.measure(e,i);void 0!==t&&(a[e]=t)}return Object.keys(a).sort((e,t)=>{const n=a[e]-a[t];return 0!==n?n:b(e,t)})}class E{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=T(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;const a=e.toLowerCase();if(this._inputLowerCase===a)return 1;let n=T(a),i=this._inputArray;if(n.length<i.length){const e=n;n=i,i=e}const o=n.length,r=i.length;if(o-r>t)return;const s=this._rows;for(let e=0;e<=r;e++)s[0][e]=e;for(let e=1;e<=o;e++){const a=s[(e-1)%3],o=s[e%3];let p=o[0]=e;for(let t=1;t<=r;t++){const r=n[e-1]===i[t-1]?0:1;let l=Math.min(a[t]+1,o[t-1]+1,a[t-1]+r);if(e>1&&t>1&&n[e-1]===i[t-2]&&n[e-2]===i[t-1]){const a=s[(e-2)%3][t-2];l=Math.min(l,a+1)}l<p&&(p=l),o[t]=l}if(p>t)return}const p=s[o%3][r];return p<=t?p:void 0}}function T(e){const t=e.length,a=new Array(t);for(let n=0;n<t;++n)a[n]=e.charCodeAt(n);return a}function N(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[a,n]of Object.entries(e))t[a]=n;return t}var A=a(42455),O=a(92704);function F(e,t){switch(e.kind){case A.b.NULL:return null;case A.b.INT:return parseInt(e.value,10);case A.b.FLOAT:return parseFloat(e.value);case A.b.STRING:case A.b.ENUM:case A.b.BOOLEAN:return e.value;case A.b.LIST:return e.values.map(e=>F(e,t));case A.b.OBJECT:return g(e.fields,e=>e.name.value,e=>F(e.value,t));case A.b.VARIABLE:return null==t?void 0:t[e.name.value]}}var S=a(25881);function C(e){if(null!=e||(0,o.U)(!1,"Must provide name."),"string"==typeof e||(0,o.U)(!1,"Expected name to be a string."),0===e.length)throw new l.eO("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,S.xr)(e.charCodeAt(t)))throw new l.eO(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,S.un)(e.charCodeAt(0)))throw new l.eO(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function k(e){if("true"===e||"false"===e||"null"===e)throw new l.eO(`Enum values cannot be named: ${e}`);return C(e)}function I(e){return j(e)||V(e)||B(e)||L(e)||q(e)||G(e)||Q(e)||H(e)}function $(e){if(!I(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL type.`);return e}function j(e){return(0,f.h)(e,be)}function R(e){if(!j(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Scalar type.`);return e}function V(e){return(0,f.h)(e,De)}function P(e){if(!V(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Object type.`);return e}function B(e){return(0,f.h)(e,Oe)}function M(e){if(!B(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Interface type.`);return e}function L(e){return(0,f.h)(e,Fe)}function U(e){if(!L(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Union type.`);return e}function q(e){return(0,f.h)(e,Ce)}function z(e){if(!q(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Enum type.`);return e}function G(e){return(0,f.h)(e,$e)}function Y(e){if(!G(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Input Object type.`);return e}function Q(e){return(0,f.h)(e,se)}function J(e){if(!Q(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL List type.`);return e}function H(e){return(0,f.h)(e,pe)}function W(e){if(!H(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL Non-Null type.`);return e}function K(e){return j(e)||q(e)||G(e)||le(e)&&K(e.ofType)}function X(e){if(!K(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL input type.`);return e}function Z(e){return j(e)||V(e)||B(e)||L(e)||q(e)||le(e)&&Z(e.ofType)}function ee(e){if(!Z(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL output type.`);return e}function te(e){return j(e)||q(e)}function ae(e){if(!te(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL leaf type.`);return e}function ne(e){return V(e)||B(e)||L(e)}function ie(e){if(!ne(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL composite type.`);return e}function oe(e){return B(e)||L(e)}function re(e){if(!oe(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL abstract type.`);return e}class se{constructor(e){I(e)||(0,o.U)(!1,`Expected ${(0,p.N)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class pe{constructor(e){ce(e)||(0,o.U)(!1,`Expected ${(0,p.N)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function le(e){return Q(e)||H(e)}function de(e){if(!le(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL wrapping type.`);return e}function ce(e){return I(e)&&!H(e)}function ue(e){if(!ce(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL nullable type.`);return e}function me(e){if(e)return H(e)?e.ofType:e}function fe(e){return j(e)||V(e)||B(e)||L(e)||q(e)||G(e)}function ve(e){if(!fe(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL named type.`);return e}function he(e){if(e){let t=e;for(;le(t);)t=t.ofType;return t}}function ge(e){return"function"==typeof e?e():e}function ye(e){return"function"==typeof e?e():e}class be{constructor(e){var t,a,n,i;const r=null!==(t=e.parseValue)&&void 0!==t?t:m;this.name=C(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(a=e.serialize)&&void 0!==a?a:m,this.parseValue=r,this.parseLiteral=null!==(n=e.parseLiteral)&&void 0!==n?n:(e,t)=>r(F(e,t)),this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(i=e.extensionASTNodes)&&void 0!==i?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,o.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,p.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,o.U)(!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&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,o.U)(!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()}}class De{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>_e(e),this._interfaces=()=>xe(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,o.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,p.N)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Te(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function xe(e){var t;const a=ge(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(a)||(0,o.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),a}function _e(e){const t=ye(e.fields);return Ee(t)||(0,o.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),y(t,(t,a)=>{var n;Ee(t)||(0,o.U)(!1,`${e.name}.${a} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,o.U)(!1,`${e.name}.${a} field resolver must be a function if provided, but got: ${(0,p.N)(t.resolve)}.`);const i=null!==(n=t.args)&&void 0!==n?n:{};return Ee(i)||(0,o.U)(!1,`${e.name}.${a} args must be an object with argument names as keys.`),{name:C(a),description:t.description,type:t.type,args:we(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}})}function we(e){return Object.entries(e).map(([e,t])=>({name:C(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}))}function Ee(e){return(0,v.Z)(e)&&!Array.isArray(e)}function Te(e){return y(e,e=>({description:e.description,type:e.type,args:Ne(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function Ne(e){return g(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function Ae(e){return H(e.type)&&void 0===e.defaultValue}class Oe{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=_e.bind(void 0,e),this._interfaces=xe.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,o.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,p.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Te(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class Fe{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=Se.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,o.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,p.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(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()}}function Se(e){const t=ge(e.types);return Array.isArray(t)||(0,o.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class Ce{constructor(e){var t;this.name=C(e.name),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values="function"==typeof e.values?e.values:Ie(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"==typeof this._values&&(this._values=Ie(this.name,this._values())),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=h(this.getValues(),e=>e.name)),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map(e=>[e.value,e])));const t=this._valueLookup.get(e);if(void 0===t)throw new l.eO(`Enum "${this.name}" cannot represent value: ${(0,p.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=(0,p.N)(e);throw new l.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+ke(this,t))}const t=this.getValue(e);if(null==t)throw new l.eO(`Value "${e}" does not exist in "${this.name}" enum.`+ke(this,e));return t.value}parseLiteral(e,t){if(e.kind!==A.b.ENUM){const t=(0,O.y)(e);throw new l.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+ke(this,t),{nodes:e})}const a=this.getValue(e.value);if(null==a){const t=(0,O.y)(e);throw new l.eO(`Value "${t}" does not exist in "${this.name}" enum.`+ke(this,t),{nodes:e})}return a.value}toConfig(){const e=g(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.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()}}function ke(e,t){return u("the enum value",w(t,e.getValues().map(e=>e.name)))}function Ie(e,t){return Ee(t)||(0,o.U)(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,a])=>(Ee(a)||(0,o.U)(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,p.N)(a)}.`),{name:k(t),description:a.description,value:void 0!==a.value?a.value:t,deprecationReason:a.deprecationReason,extensions:N(a.extensions),astNode:a.astNode}))}class $e{constructor(e){var t,a;this.name=C(e.name),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this.isOneOf=null!==(a=e.isOneOf)&&void 0!==a&&a,this._fields=je.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=y(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function je(e){const t=ye(e.fields);return Ee(t)||(0,o.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),y(t,(t,a)=>(!("resolve"in t)||(0,o.U)(!1,`${e.name}.${a} field has a resolve property, but Input Types cannot define resolvers.`),{name:C(a),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:N(t.extensions),astNode:t.astNode}))}function Re(e){return H(e.type)&&void 0===e.defaultValue}function Ve(e,t){return e===t||(H(e)&&H(t)||!(!Q(e)||!Q(t)))&&Ve(e.ofType,t.ofType)}function Pe(e,t,a){return t===a||(H(a)?!!H(t)&&Pe(e,t.ofType,a.ofType):H(t)?Pe(e,t.ofType,a):Q(a)?!!Q(t)&&Pe(e,t.ofType,a.ofType):!Q(t)&&(oe(a)&&(B(t)||V(t))&&e.isSubType(a,t)))}function Be(e,t,a){return t===a||(oe(t)?oe(a)?e.getPossibleTypes(t).some(t=>e.isSubType(a,t)):e.isSubType(t,a):!!oe(a)&&e.isSubType(a,t))}var Me=a(42868);const Le=2147483647,Ue=-2147483648,qe=new be({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(e){const t=We(e);if("boolean"==typeof t)return t?1:0;let a=t;if("string"==typeof t&&""!==t&&(a=Number(t)),"number"!=typeof a||!Number.isInteger(a))throw new l.eO(`Int cannot represent non-integer value: ${(0,p.N)(t)}`);if(a>Le||a<Ue)throw new l.eO("Int cannot represent non 32-bit signed integer value: "+(0,p.N)(t));return a},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new l.eO(`Int cannot represent non-integer value: ${(0,p.N)(e)}`);if(e>Le||e<Ue)throw new l.eO(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==A.b.INT)throw new l.eO(`Int cannot represent non-integer value: ${(0,O.y)(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>Le||t<Ue)throw new l.eO(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),ze=new be({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=We(e);if("boolean"==typeof t)return t?1:0;let a=t;if("string"==typeof t&&""!==t&&(a=Number(t)),"number"!=typeof a||!Number.isFinite(a))throw new l.eO(`Float cannot represent non numeric value: ${(0,p.N)(t)}`);return a},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new l.eO(`Float cannot represent non numeric value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.FLOAT&&e.kind!==A.b.INT)throw new l.eO(`Float cannot represent non numeric value: ${(0,O.y)(e)}`,e);return parseFloat(e.value)}}),Ge=new be({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=We(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new l.eO(`String cannot represent value: ${(0,p.N)(e)}`)},parseValue(e){if("string"!=typeof e)throw new l.eO(`String cannot represent a non string value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.STRING)throw new l.eO(`String cannot represent a non string value: ${(0,O.y)(e)}`,{nodes:e});return e.value}}),Ye=new be({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=We(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,p.N)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,p.N)(e)}`);return e},parseLiteral(e){if(e.kind!==A.b.BOOLEAN)throw new l.eO(`Boolean cannot represent a non boolean value: ${(0,O.y)(e)}`,{nodes:e});return e.value}}),Qe=new be({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=We(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new l.eO(`ID cannot represent value: ${(0,p.N)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new l.eO(`ID cannot represent value: ${(0,p.N)(e)}`)},parseLiteral(e){if(e.kind!==A.b.STRING&&e.kind!==A.b.INT)throw new l.eO("ID cannot represent a non-string and non-integer value: "+(0,O.y)(e),{nodes:e});return e.value}}),Je=Object.freeze([Ge,qe,ze,Ye,Qe]);function He(e){return Je.some(({name:t})=>e.name===t)}function We(e){if((0,v.Z)(e)){if("function"==typeof e.valueOf){const t=e.valueOf();if(!(0,v.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function Ke(e){return(0,f.h)(e,Ze)}function Xe(e){if(!Ke(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL directive.`);return e}class Ze{constructor(e){var t,a;this.name=C(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=N(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,o.U)(!1,`@${e.name} locations must be an Array.`);const n=null!==(a=e.args)&&void 0!==a?a:{};(0,v.Z)(n)&&!Array.isArray(n)||(0,o.U)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=we(n)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Ne(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const et=new Ze({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Me.H.FIELD,Me.H.FRAGMENT_SPREAD,Me.H.INLINE_FRAGMENT],args:{if:{type:new pe(Ye),description:"Included when true."}}}),tt=new Ze({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Me.H.FIELD,Me.H.FRAGMENT_SPREAD,Me.H.INLINE_FRAGMENT],args:{if:{type:new pe(Ye),description:"Skipped when true."}}}),at="No longer supported",nt=new Ze({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Me.H.FIELD_DEFINITION,Me.H.ARGUMENT_DEFINITION,Me.H.INPUT_FIELD_DEFINITION,Me.H.ENUM_VALUE],args:{reason:{type:Ge,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:at}}}),it=new Ze({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Me.H.SCALAR],args:{url:{type:new pe(Ge),description:"The URL that specifies the behavior of this scalar."}}}),ot=new Ze({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[Me.H.INPUT_OBJECT],args:{}}),rt=Object.freeze([et,tt,nt,it,ot]);function st(e){return rt.some(({name:t})=>t===e.name)}var pt=a(71306);function lt(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function dt(e,t){if(H(t)){const a=dt(e,t.ofType);return(null==a?void 0:a.kind)===A.b.NULL?null:a}if(null===e)return{kind:A.b.NULL};if(void 0===e)return null;if(Q(t)){const a=t.ofType;if(lt(e)){const t=[];for(const n of e){const e=dt(n,a);null!=e&&t.push(e)}return{kind:A.b.LIST,values:t}}return dt(e,a)}if(G(t)){if(!(0,v.Z)(e))return null;const a=[];for(const n of Object.values(t.getFields())){const t=dt(e[n.name],n.type);t&&a.push({kind:A.b.OBJECT_FIELD,name:{kind:A.b.NAME,value:n.name},value:t})}return{kind:A.b.OBJECT,fields:a}}if(te(t)){const a=t.serialize(e);if(null==a)return null;if("boolean"==typeof a)return{kind:A.b.BOOLEAN,value:a};if("number"==typeof a&&Number.isFinite(a)){const e=String(a);return ct.test(e)?{kind:A.b.INT,value:e}:{kind:A.b.FLOAT,value:e}}if("string"==typeof a)return q(t)?{kind:A.b.ENUM,value:a}:t===Qe&&ct.test(a)?{kind:A.b.INT,value:a}:{kind:A.b.STRING,value:a};throw new TypeError(`Cannot convert value to AST: ${(0,p.N)(a)}.`)}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}const ct=/^-?(?:0|[1-9][0-9]*)$/,ut=new De({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:Ge,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new pe(new se(new pe(vt))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new pe(vt),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:vt,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:vt,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new pe(new se(new pe(mt))),resolve:e=>e.getDirectives()}})}),mt=new De({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn 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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},isRepeatable:{type:new pe(Ye),resolve:e=>e.isRepeatable},locations:{type:new pe(new se(new pe(ft))),resolve:e=>e.locations},args:{type:new pe(new se(new pe(gt))),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),ft=new Ce({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:Me.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Me.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Me.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Me.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Me.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Me.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Me.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Me.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Me.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Me.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Me.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Me.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Me.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Me.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Me.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Me.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Me.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Me.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Me.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),vt=new De({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(Dt),resolve:e=>j(e)?bt.SCALAR:V(e)?bt.OBJECT:B(e)?bt.INTERFACE:L(e)?bt.UNION:q(e)?bt.ENUM:G(e)?bt.INPUT_OBJECT:Q(e)?bt.LIST:H(e)?bt.NON_NULL:void(0,pt.V)(!1,`Unexpected type: "${(0,p.N)(e)}".`)},name:{type:Ge,resolve:e=>"name"in e?e.name:void 0},description:{type:Ge,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:Ge,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new se(new pe(ht)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(V(e)||B(e)){const a=Object.values(e.getFields());return t?a:a.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new se(new pe(vt)),resolve(e){if(V(e)||B(e))return e.getInterfaces()}},possibleTypes:{type:new se(new pe(vt)),resolve(e,t,a,{schema:n}){if(oe(e))return n.getPossibleTypes(e)}},enumValues:{type:new se(new pe(yt)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(q(e)){const a=e.getValues();return t?a:a.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new se(new pe(gt)),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(G(e)){const a=Object.values(e.getFields());return t?a:a.filter(e=>null==e.deprecationReason)}}},ofType:{type:vt,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:Ye,resolve:e=>{if(G(e))return e.isOneOf}}})}),ht=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},args:{type:new pe(new se(new pe(gt))),args:{includeDeprecated:{type:Ye,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new pe(vt),resolve:e=>e.type},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})}),gt=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},type:{type:new pe(vt),resolve:e=>e.type},defaultValue:{type:Ge,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:a}=e,n=dt(a,t);return n?(0,O.y)(n):null}},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})}),yt=new De({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(Ge),resolve:e=>e.name},description:{type:Ge,resolve:e=>e.description},isDeprecated:{type:new pe(Ye),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:Ge,resolve:e=>e.deprecationReason}})});var bt;!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(bt||(bt={}));const Dt=new Ce({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:bt.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:bt.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:bt.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:bt.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:bt.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:bt.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:bt.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:bt.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),xt={name:"__schema",type:new pe(ut),description:"Access the current type schema of this server.",args:[],resolve:(e,t,a,{schema:n})=>n,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},_t={name:"__type",type:vt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new pe(Ge),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},a,{schema:n})=>n.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},wt={name:"__typename",type:new pe(Ge),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,a,{parentType:n})=>n.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Et=Object.freeze([ut,mt,ft,vt,ht,gt,yt,Dt]);function Tt(e){return Et.some(({name:t})=>e.name===t)}function Nt(e){return(0,f.h)(e,Ot)}function At(e){if(!Nt(e))throw new Error(`Expected ${(0,p.N)(e)} to be a GraphQL schema.`);return e}class Ot{constructor(e){var t,a;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,v.Z)(e)||(0,o.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,o.U)(!1,`"types" must be Array if provided but got: ${(0,p.N)(e.types)}.`),!e.directives||Array.isArray(e.directives)||(0,o.U)(!1,`"directives" must be Array if provided but got: ${(0,p.N)(e.directives)}.`),this.description=e.description,this.extensions=N(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(a=e.directives)&&void 0!==a?a:rt;const n=new Set(e.types);if(null!=e.types)for(const t of e.types)n.delete(t),Ft(t,n);null!=this._queryType&&Ft(this._queryType,n),null!=this._mutationType&&Ft(this._mutationType,n),null!=this._subscriptionType&&Ft(this._subscriptionType,n);for(const e of this._directives)if(Ke(e))for(const t of e.args)Ft(t.type,n);Ft(ut,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const e of n){if(null==e)continue;const t=e.name;if(t||(0,o.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw new Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,B(e)){for(const t of e.getInterfaces())if(B(t)){let a=this._implementationsMap[t.name];void 0===a&&(a=this._implementationsMap[t.name]={objects:[],interfaces:[]}),a.interfaces.push(e)}}else if(V(e))for(const t of e.getInterfaces())if(B(t)){let a=this._implementationsMap[t.name];void 0===a&&(a=this._implementationsMap[t.name]={objects:[],interfaces:[]}),a.objects.push(e)}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case d.cE.QUERY:return this.getQueryType();case d.cE.MUTATION:return this.getMutationType();case d.cE.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return L(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let a=this._subTypeMap[e.name];if(void 0===a){if(a=Object.create(null),L(e))for(const t of e.getTypes())a[t.name]=!0;else{const t=this.getImplementations(e);for(const e of t.objects)a[e.name]=!0;for(const e of t.interfaces)a[e.name]=!0}this._subTypeMap[e.name]=a}return void 0!==a[t.name]}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:void 0!==this.__validationErrors}}}function Ft(e,t){const a=he(e);if(!t.has(a))if(t.add(a),L(a))for(const e of a.getTypes())Ft(e,t);else if(V(a)||B(a)){for(const e of a.getInterfaces())Ft(e,t);for(const e of Object.values(a.getFields())){Ft(e.type,t);for(const a of e.args)Ft(a.type,t)}}else if(G(a))for(const e of Object.values(a.getFields()))Ft(e.type,t);return t}function St(e){if(At(e),e.__validationErrors)return e.__validationErrors;const t=new kt(e);!function(e){const t=e.schema,a=t.getQueryType();if(a){if(!V(a)){var n;e.reportError(`Query root type must be Object type, it cannot be ${(0,p.N)(a)}.`,null!==(n=It(t,d.cE.QUERY))&&void 0!==n?n:a.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);const i=t.getMutationType();var o;i&&!V(i)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,p.N)(i)}.`,null!==(o=It(t,d.cE.MUTATION))&&void 0!==o?o:i.astNode);const r=t.getSubscriptionType();var s;r&&!V(r)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,p.N)(r)}.`,null!==(s=It(t,d.cE.SUBSCRIPTION))&&void 0!==s?s:r.astNode)}(t),function(e){for(const a of e.schema.getDirectives())if(Ke(a)){$t(e,a),0===a.locations.length&&e.reportError(`Directive @${a.name} must include 1 or more locations.`,a.astNode);for(const n of a.args){var t;if($t(e,n),K(n.type)||e.reportError(`The type of @${a.name}(${n.name}:) must be Input Type but got: ${(0,p.N)(n.type)}.`,n.astNode),Ae(n)&&null!=n.deprecationReason)e.reportError(`Required argument @${a.name}(${n.name}:) cannot be deprecated.`,[Gt(n.astNode),null===(t=n.astNode)||void 0===t?void 0:t.type])}}else e.reportError(`Expected directive but got: ${(0,p.N)(a)}.`,null==a?void 0:a.astNode)}(t),function(e){const t=function(e){const t=Object.create(null),a=[],n=Object.create(null);return i;function i(o){if(t[o.name])return;t[o.name]=!0,n[o.name]=a.length;const r=Object.values(o.getFields());for(const t of r)if(H(t.type)&&G(t.type.ofType)){const o=t.type.ofType,r=n[o.name];if(a.push(t),void 0===r)i(o);else{const t=a.slice(r),n=t.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${o.name}" within itself through a series of non-null fields: "${n}".`,t.map(e=>e.astNode))}a.pop()}n[o.name]=void 0}}(e),a=e.schema.getTypeMap();for(const n of Object.values(a))fe(n)?(Tt(n)||$t(e,n),V(n)||B(n)?(jt(e,n),Rt(e,n)):L(n)?Bt(e,n):q(n)?Mt(e,n):G(n)&&(Lt(e,n),t(n))):e.reportError(`Expected GraphQL named type but got: ${(0,p.N)(n)}.`,n.astNode)}(t);const a=t.getErrors();return e.__validationErrors=a,a}function Ct(e){const t=St(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}class kt{constructor(e){this._errors=[],this.schema=e}reportError(e,t){const a=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new l.eO(e,{nodes:a}))}getErrors(){return this._errors}}function It(e,t){var a;return null===(a=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===a?void 0:a.type}function $t(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function jt(e,t){const a=Object.values(t.getFields());0===a.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const r of a){var n;if($t(e,r),!Z(r.type))e.reportError(`The type of ${t.name}.${r.name} must be Output Type but got: ${(0,p.N)(r.type)}.`,null===(n=r.astNode)||void 0===n?void 0:n.type);for(const a of r.args){const n=a.name;var i,o;if($t(e,a),!K(a.type))e.reportError(`The type of ${t.name}.${r.name}(${n}:) must be Input Type but got: ${(0,p.N)(a.type)}.`,null===(i=a.astNode)||void 0===i?void 0:i.type);if(Ae(a)&&null!=a.deprecationReason)e.reportError(`Required argument ${t.name}.${r.name}(${n}:) cannot be deprecated.`,[Gt(a.astNode),null===(o=a.astNode)||void 0===o?void 0:o.type])}}}function Rt(e,t){const a=Object.create(null);for(const n of t.getInterfaces())B(n)?t!==n?a[n.name]?e.reportError(`Type ${t.name} can only implement ${n.name} once.`,qt(t,n)):(a[n.name]=!0,Pt(e,t,n),Vt(e,t,n)):e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,qt(t,n)):e.reportError(`Type ${(0,p.N)(t)} must only implement Interface types, it cannot implement ${(0,p.N)(n)}.`,qt(t,n))}function Vt(e,t,a){const n=t.getFields();for(const l of Object.values(a.getFields())){const d=l.name,c=n[d];if(c){var i,o;if(!Pe(e.schema,c.type,l.type))e.reportError(`Interface field ${a.name}.${d} expects type ${(0,p.N)(l.type)} but ${t.name}.${d} is type ${(0,p.N)(c.type)}.`,[null===(i=l.astNode)||void 0===i?void 0:i.type,null===(o=c.astNode)||void 0===o?void 0:o.type]);for(const n of l.args){const i=n.name,o=c.args.find(e=>e.name===i);var r,s;if(o){if(!Ve(n.type,o.type))e.reportError(`Interface field argument ${a.name}.${d}(${i}:) expects type ${(0,p.N)(n.type)} but ${t.name}.${d}(${i}:) is type ${(0,p.N)(o.type)}.`,[null===(r=n.astNode)||void 0===r?void 0:r.type,null===(s=o.astNode)||void 0===s?void 0:s.type])}else e.reportError(`Interface field argument ${a.name}.${d}(${i}:) expected but ${t.name}.${d} does not provide it.`,[n.astNode,c.astNode])}for(const n of c.args){const i=n.name;!l.args.find(e=>e.name===i)&&Ae(n)&&e.reportError(`Object field ${t.name}.${d} includes required argument ${i} that is missing from the Interface field ${a.name}.${d}.`,[n.astNode,l.astNode])}}else e.reportError(`Interface field ${a.name}.${d} expected but ${t.name} does not provide it.`,[l.astNode,t.astNode,...t.extensionASTNodes])}}function Pt(e,t,a){const n=t.getInterfaces();for(const i of a.getInterfaces())n.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${a.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${a.name}.`,[...qt(a,i),...qt(t,a)])}function Bt(e,t){const a=t.getTypes();0===a.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const n=Object.create(null);for(const i of a)n[i.name]?e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,zt(t,i.name)):(n[i.name]=!0,V(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,p.N)(i)}.`,zt(t,String(i))))}function Mt(e,t){const a=t.getValues();0===a.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const t of a)$t(e,t)}function Lt(e,t){const a=Object.values(t.getFields());0===a.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const o of a){var n,i;if($t(e,o),!K(o.type))e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${(0,p.N)(o.type)}.`,null===(n=o.astNode)||void 0===n?void 0:n.type);if(Re(o)&&null!=o.deprecationReason)e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[Gt(o.astNode),null===(i=o.astNode)||void 0===i?void 0:i.type]);t.isOneOf&&Ut(t,o,e)}}function Ut(e,t,a){var n;H(t.type)&&a.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,null===(n=t.astNode)||void 0===n?void 0:n.type);void 0!==t.defaultValue&&a.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function qt(e,t){const{astNode:a,extensionASTNodes:n}=e;return(null!=a?[a,...n]:n).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function zt(e,t){const{astNode:a,extensionASTNodes:n}=e;return(null!=a?[a,...n]:n).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function Gt(e){var t;return null==e||null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===nt.name)}var Yt=a(90424);function Qt(e,t){switch(t.kind){case A.b.LIST_TYPE:{const a=Qt(e,t.type);return a&&new se(a)}case A.b.NON_NULL_TYPE:{const a=Qt(e,t.type);return a&&new pe(a)}case A.b.NAMED_TYPE:return e.getType(t.name.value)}}class Jt{constructor(e,t,a){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=a?a:Ht,t&&(K(t)&&this._inputTypeStack.push(t),ne(t)&&this._parentTypeStack.push(t),Z(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){const t=this._schema;switch(e.kind){case A.b.SELECTION_SET:{const e=he(this.getType());this._parentTypeStack.push(ne(e)?e:void 0);break}case A.b.FIELD:{const a=this.getParentType();let n,i;a&&(n=this._getFieldDef(t,a,e),n&&(i=n.type)),this._fieldDefStack.push(n),this._typeStack.push(Z(i)?i:void 0);break}case A.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case A.b.OPERATION_DEFINITION:{const a=t.getRootType(e.operation);this._typeStack.push(V(a)?a:void 0);break}case A.b.INLINE_FRAGMENT:case A.b.FRAGMENT_DEFINITION:{const a=e.typeCondition,n=a?Qt(t,a):he(this.getType());this._typeStack.push(Z(n)?n:void 0);break}case A.b.VARIABLE_DEFINITION:{const a=Qt(t,e.type);this._inputTypeStack.push(K(a)?a:void 0);break}case A.b.ARGUMENT:{var a;let t,n;const i=null!==(a=this.getDirective())&&void 0!==a?a:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value),t&&(n=t.type)),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(K(n)?n:void 0);break}case A.b.LIST:{const e=me(this.getInputType()),t=Q(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(K(t)?t:void 0);break}case A.b.OBJECT_FIELD:{const t=he(this.getInputType());let a,n;G(t)&&(n=t.getFields()[e.name.value],n&&(a=n.type)),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(K(a)?a:void 0);break}case A.b.ENUM:{const t=he(this.getInputType());let a;q(t)&&(a=t.getValue(e.value)),this._enumValue=a;break}}}leave(e){switch(e.kind){case A.b.SELECTION_SET:this._parentTypeStack.pop();break;case A.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case A.b.DIRECTIVE:this._directive=null;break;case A.b.OPERATION_DEFINITION:case A.b.INLINE_FRAGMENT:case A.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case A.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case A.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case A.b.LIST:case A.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case A.b.ENUM:this._enumValue=null}}}function Ht(e,t,a){const n=a.name.value;return n===xt.name&&e.getQueryType()===t?xt:n===_t.name&&e.getQueryType()===t?_t:n===wt.name&&ne(t)?wt:V(t)||B(t)?t.getFields()[n]:void 0}function Wt(e,t){return{enter(...a){const n=a[0];e.enter(n);const i=(0,Yt.XO)(t,n.kind).enter;if(i){const o=i.apply(t,a);return void 0!==o&&(e.leave(n),(0,d.Ll)(o)&&e.enter(o)),o}},leave(...a){const n=a[0],i=(0,Yt.XO)(t,n.kind).leave;let o;return i&&(o=i.apply(t,a)),e.leave(n),o}}}var Kt=a(3420);function Xt(e){return{Document(t){for(const a of t.definitions)if(!(0,Kt._m)(a)){const t=a.kind===A.b.SCHEMA_DEFINITION||a.kind===A.b.SCHEMA_EXTENSION?"schema":'"'+a.name.value+'"';e.reportError(new l.eO(`The ${t} definition is not executable.`,{nodes:a}))}return!1}}}function Zt(e){return{Field(t){const a=e.getParentType();if(a){if(!e.getFieldDef()){const n=e.getSchema(),i=t.name.value;let o=u("to use an inline fragment on",function(e,t,a){if(!oe(t))return[];const n=new Set,i=Object.create(null);for(const r of e.getPossibleTypes(t))if(r.getFields()[a]){n.add(r),i[r.name]=1;for(const e of r.getInterfaces()){var o;e.getFields()[a]&&(n.add(e),i[e.name]=(null!==(o=i[e.name])&&void 0!==o?o:0)+1)}}return[...n].sort((t,a)=>{const n=i[a.name]-i[t.name];return 0!==n?n:B(t)&&e.isSubType(t,a)?-1:B(a)&&e.isSubType(a,t)?1:b(t.name,a.name)}).map(e=>e.name)}(n,a,i));""===o&&(o=u(function(e,t){if(V(e)||B(e)){return w(t,Object.keys(e.getFields()))}return[]}(a,i))),e.reportError(new l.eO(`Cannot query field "${i}" on type "${a.name}".`+o,{nodes:t}))}}}}}function ea(e){return{InlineFragment(t){const a=t.typeCondition;if(a){const t=Qt(e.getSchema(),a);if(t&&!ne(t)){const t=(0,O.y)(a);e.reportError(new l.eO(`Fragment cannot condition on non composite type "${t}".`,{nodes:a}))}}},FragmentDefinition(t){const a=Qt(e.getSchema(),t.typeCondition);if(a&&!ne(a)){const a=(0,O.y)(t.typeCondition);e.reportError(new l.eO(`Fragment "${t.name.value}" cannot condition on non composite type "${a}".`,{nodes:t.typeCondition}))}}}}function ta(e){return{...aa(e),Argument(t){const a=e.getArgument(),n=e.getFieldDef(),i=e.getParentType();if(!a&&n&&i){const a=t.name.value,o=w(a,n.args.map(e=>e.name));e.reportError(new l.eO(`Unknown argument "${a}" on field "${i.name}.${n.name}".`+u(o),{nodes:t}))}}}}function aa(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=e.args.map(e=>e.name);const i=e.getDocument().definitions;for(const e of i)if(e.kind===A.b.DIRECTIVE_DEFINITION){var o;const a=null!==(o=e.arguments)&&void 0!==o?o:[];t[e.name.value]=a.map(e=>e.name.value)}return{Directive(a){const n=a.name.value,i=t[n];if(a.arguments&&i)for(const t of a.arguments){const a=t.name.value;if(!i.includes(a)){const o=w(a,i);e.reportError(new l.eO(`Unknown argument "${a}" on directive "@${n}".`+u(o),{nodes:t}))}}return!1}}}function na(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=e.locations;const i=e.getDocument().definitions;for(const e of i)e.kind===A.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=e.locations.map(e=>e.value));return{Directive(a,n,i,o,r){const s=a.name.value,c=t[s];if(!c)return void e.reportError(new l.eO(`Unknown directive "@${s}".`,{nodes:a}));const u=function(e){const t=e[e.length-1];switch("kind"in t||(0,pt.V)(!1),t.kind){case A.b.OPERATION_DEFINITION:return function(e){switch(e){case d.cE.QUERY:return Me.H.QUERY;case d.cE.MUTATION:return Me.H.MUTATION;case d.cE.SUBSCRIPTION:return Me.H.SUBSCRIPTION}}(t.operation);case A.b.FIELD:return Me.H.FIELD;case A.b.FRAGMENT_SPREAD:return Me.H.FRAGMENT_SPREAD;case A.b.INLINE_FRAGMENT:return Me.H.INLINE_FRAGMENT;case A.b.FRAGMENT_DEFINITION:return Me.H.FRAGMENT_DEFINITION;case A.b.VARIABLE_DEFINITION:return Me.H.VARIABLE_DEFINITION;case A.b.SCHEMA_DEFINITION:case A.b.SCHEMA_EXTENSION:return Me.H.SCHEMA;case A.b.SCALAR_TYPE_DEFINITION:case A.b.SCALAR_TYPE_EXTENSION:return Me.H.SCALAR;case A.b.OBJECT_TYPE_DEFINITION:case A.b.OBJECT_TYPE_EXTENSION:return Me.H.OBJECT;case A.b.FIELD_DEFINITION:return Me.H.FIELD_DEFINITION;case A.b.INTERFACE_TYPE_DEFINITION:case A.b.INTERFACE_TYPE_EXTENSION:return Me.H.INTERFACE;case A.b.UNION_TYPE_DEFINITION:case A.b.UNION_TYPE_EXTENSION:return Me.H.UNION;case A.b.ENUM_TYPE_DEFINITION:case A.b.ENUM_TYPE_EXTENSION:return Me.H.ENUM;case A.b.ENUM_VALUE_DEFINITION:return Me.H.ENUM_VALUE;case A.b.INPUT_OBJECT_TYPE_DEFINITION:case A.b.INPUT_OBJECT_TYPE_EXTENSION:return Me.H.INPUT_OBJECT;case A.b.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];return"kind"in t||(0,pt.V)(!1),t.kind===A.b.INPUT_OBJECT_TYPE_DEFINITION?Me.H.INPUT_FIELD_DEFINITION:Me.H.ARGUMENT_DEFINITION}default:(0,pt.V)(!1,"Unexpected kind: "+(0,p.N)(t.kind))}}(r);u&&!c.includes(u)&&e.reportError(new l.eO(`Directive "@${s}" may not be used on ${u}.`,{nodes:a}))}}}function ia(e){return{FragmentSpread(t){const a=t.name.value;e.getFragment(a)||e.reportError(new l.eO(`Unknown fragment "${a}".`,{nodes:t.name}))}}}function oa(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);for(const t of e.getDocument().definitions)(0,Kt.a6)(t)&&(n[t.name.value]=!0);const i=[...Object.keys(a),...Object.keys(n)];return{NamedType(t,o,r,s,p){const d=t.name.value;if(!a[d]&&!n[d]){var c;const a=null!==(c=p[2])&&void 0!==c?c:r,n=null!=a&&("kind"in(m=a)&&((0,Kt.xu)(m)||(0,Kt.fT)(m)));if(n&&ra.includes(d))return;const o=w(d,n?ra.concat(i):i);e.reportError(new l.eO(`Unknown type "${d}".`+u(o),{nodes:t}))}var m}}}const ra=[...Je,...Et].map(e=>e.name);function sa(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===A.b.OPERATION_DEFINITION).length},OperationDefinition(a){!a.name&&t>1&&e.reportError(new l.eO("This anonymous operation must be the only defined operation.",{nodes:a}))}}}function pa(e){var t,a,n;const i=e.getSchema(),o=null!==(t=null!==(a=null!==(n=null==i?void 0:i.astNode)&&void 0!==n?n:null==i?void 0:i.getQueryType())&&void 0!==a?a:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType();let r=0;return{SchemaDefinition(t){o?e.reportError(new l.eO("Cannot define a new schema within a schema extension.",{nodes:t})):(r>0&&e.reportError(new l.eO("Must provide only one schema definition.",{nodes:t})),++r)}}}const la=3;function da(e){function t(a,n=Object.create(null),i=0){if(a.kind===A.b.FRAGMENT_SPREAD){const o=a.name.value;if(!0===n[o])return!1;const r=e.getFragment(o);if(!r)return!1;try{return n[o]=!0,t(r,n,i)}finally{n[o]=void 0}}if(a.kind===A.b.FIELD&&("fields"===a.name.value||"interfaces"===a.name.value||"possibleTypes"===a.name.value||"inputFields"===a.name.value)&&++i>=la)return!0;if("selectionSet"in a&&a.selectionSet)for(const e of a.selectionSet.selections)if(t(e,n,i))return!0;return!1}return{Field(a){if(("__schema"===a.name.value||"__type"===a.name.value)&&t(a))return e.reportError(new l.eO("Maximum introspection depth exceeded",{nodes:[a]})),!1}}}function ca(e){const t=Object.create(null),a=[],n=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>(i(e),!1)};function i(o){if(t[o.name.value])return;const r=o.name.value;t[r]=!0;const s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){n[r]=a.length;for(const t of s){const o=t.name.value,r=n[o];if(a.push(t),void 0===r){const t=e.getFragment(o);t&&i(t)}else{const t=a.slice(r),n=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new l.eO(`Cannot spread fragment "${o}" within itself`+(""!==n?` via ${n}.`:"."),{nodes:t}))}a.pop()}n[r]=void 0}}}function ua(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(a){const n=e.getRecursiveVariableUsages(a);for(const{node:i}of n){const n=i.name.value;!0!==t[n]&&e.reportError(new l.eO(a.name?`Variable "$${n}" is not defined by operation "${a.name.value}".`:`Variable "$${n}" is not defined.`,{nodes:[i,a]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function ma(e){const t=[],a=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(a.push(e),!1),Document:{leave(){const n=Object.create(null);for(const a of t)for(const t of e.getRecursivelyReferencedFragments(a))n[t.name.value]=!0;for(const t of a){const a=t.name.value;!0!==n[a]&&e.reportError(new l.eO(`Fragment "${a}" is never used.`,{nodes:t}))}}}}}function fa(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(a){const n=Object.create(null),i=e.getRecursiveVariableUsages(a);for(const{node:e}of i)n[e.name.value]=!0;for(const i of t){const t=i.variable.name.value;!0!==n[t]&&e.reportError(new l.eO(a.name?`Variable "$${t}" is never used in operation "${a.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function va(e){switch(e.kind){case A.b.OBJECT:return{...e,fields:(t=e.fields,t.map(e=>({...e,value:va(e.value)})).sort((e,t)=>b(e.name.value,t.name.value)))};case A.b.LIST:return{...e,values:e.values.map(va)};case A.b.INT:case A.b.FLOAT:case A.b.STRING:case A.b.BOOLEAN:case A.b.NULL:case A.b.ENUM:case A.b.VARIABLE:return e}var t}function ha(e){return Array.isArray(e)?e.map(([e,t])=>`subfields "${e}" conflict because `+ha(t)).join(" and "):e}function ga(e){const t=new Aa,a=new Oa,n=new Map;return{SelectionSet(i){const o=function(e,t,a,n,i,o){const r=[],[s,p]=Ea(e,t,i,o);if(function(e,t,a,n,i,o){for(const[r,s]of Object.entries(o))if(s.length>1)for(let o=0;o<s.length;o++)for(let p=o+1;p<s.length;p++){const l=xa(e,a,n,i,!1,r,s[o],s[p]);l&&t.push(l)}}(e,r,t,a,n,s),0!==p.length)for(let i=0;i<p.length;i++){ya(e,r,t,a,n,!1,s,p[i]);for(let o=i+1;o<p.length;o++)ba(e,r,t,a,n,!1,p[i],p[o])}return r}(e,n,t,a,e.getParentType(),i);for(const[[t,a],n,i]of o){const o=ha(a);e.reportError(new l.eO(`Fields "${t}" conflict because ${o}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:n.concat(i)}))}}}}function ya(e,t,a,n,i,o,r,s){if(n.has(r,s,o))return;n.add(r,s,o);const p=e.getFragment(s);if(!p)return;const[l,d]=Ta(e,a,p);if(r!==l){Da(e,t,a,n,i,o,r,l);for(const s of d)ya(e,t,a,n,i,o,r,s)}}function ba(e,t,a,n,i,o,r,s){if(r===s)return;if(i.has(r,s,o))return;i.add(r,s,o);const p=e.getFragment(r),l=e.getFragment(s);if(!p||!l)return;const[d,c]=Ta(e,a,p),[u,m]=Ta(e,a,l);Da(e,t,a,n,i,o,d,u);for(const s of m)ba(e,t,a,n,i,o,r,s);for(const r of c)ba(e,t,a,n,i,o,r,s)}function Da(e,t,a,n,i,o,r,s){for(const[p,l]of Object.entries(r)){const r=s[p];if(r)for(const s of l)for(const l of r){const r=xa(e,a,n,i,o,p,s,l);r&&t.push(r)}}}function xa(e,t,a,n,i,o,r,s){const[l,d,c]=r,[u,m,f]=s,v=i||l!==u&&V(l)&&V(u);if(!v){const e=d.name.value,t=m.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[d],[m]];if(!function(e,t){const a=e.arguments,n=t.arguments;if(void 0===a||0===a.length)return void 0===n||0===n.length;if(void 0===n||0===n.length)return!1;if(a.length!==n.length)return!1;const i=new Map(n.map(({name:e,value:t})=>[e.value,t]));return a.every(e=>{const t=e.value,a=i.get(e.name.value);return void 0!==a&&_a(t)===_a(a)})}(d,m))return[[o,"they have differing arguments"],[d],[m]]}const h=null==c?void 0:c.type,g=null==f?void 0:f.type;if(h&&g&&wa(h,g))return[[o,`they return conflicting types "${(0,p.N)(h)}" and "${(0,p.N)(g)}"`],[d],[m]];const y=d.selectionSet,b=m.selectionSet;if(y&&b){const i=function(e,t,a,n,i,o,r,s,p){const l=[],[d,c]=Ea(e,t,o,r),[u,m]=Ea(e,t,s,p);Da(e,l,t,a,n,i,d,u);for(const o of m)ya(e,l,t,a,n,i,d,o);for(const o of c)ya(e,l,t,a,n,i,u,o);for(const o of c)for(const r of m)ba(e,l,t,a,n,i,o,r);return l}(e,t,a,n,v,he(h),y,he(g),b);return function(e,t,a,n){if(e.length>0)return[[t,e.map(([e])=>e)],[a,...e.map(([,e])=>e).flat()],[n,...e.map(([,,e])=>e).flat()]]}(i,o,d,m)}}function _a(e){return(0,O.y)(va(e))}function wa(e,t){return Q(e)?!Q(t)||wa(e.ofType,t.ofType):!!Q(t)||(H(e)?!H(t)||wa(e.ofType,t.ofType):!!H(t)||!(!te(e)&&!te(t))&&e!==t)}function Ea(e,t,a,n){const i=t.get(n);if(i)return i;const o=Object.create(null),r=Object.create(null);Na(e,a,n,o,r);const s=[o,Object.keys(r)];return t.set(n,s),s}function Ta(e,t,a){const n=t.get(a.selectionSet);if(n)return n;const i=Qt(e.getSchema(),a.typeCondition);return Ea(e,t,i,a.selectionSet)}function Na(e,t,a,n,i){for(const o of a.selections)switch(o.kind){case A.b.FIELD:{const e=o.name.value;let a;(V(t)||B(t))&&(a=t.getFields()[e]);const i=o.alias?o.alias.value:e;n[i]||(n[i]=[]),n[i].push([t,o,a]);break}case A.b.FRAGMENT_SPREAD:i[o.name.value]=!0;break;case A.b.INLINE_FRAGMENT:{const a=o.typeCondition,r=a?Qt(e.getSchema(),a):t;Na(e,r,o.selectionSet,n,i);break}}}class Aa{constructor(){this._data=new Map}has(e,t,a){var n;const i=null===(n=this._data.get(e))||void 0===n?void 0:n.get(t);return void 0!==i&&(!!a||a===i)}add(e,t,a){const n=this._data.get(e);void 0===n?this._data.set(e,new Map([[t,a]])):n.set(t,a)}}class Oa{constructor(){this._orderedPairSet=new Aa}has(e,t,a){return e<t?this._orderedPairSet.has(e,t,a):this._orderedPairSet.has(t,e,a)}add(e,t,a){e<t?this._orderedPairSet.add(e,t,a):this._orderedPairSet.add(t,e,a)}}function Fa(e){return{InlineFragment(t){const a=e.getType(),n=e.getParentType();if(ne(a)&&ne(n)&&!Be(e.getSchema(),a,n)){const i=(0,p.N)(n),o=(0,p.N)(a);e.reportError(new l.eO(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){const a=t.name.value,n=function(e,t){const a=e.getFragment(t);if(a){const t=Qt(e.getSchema(),a.typeCondition);if(ne(t))return t}}(e,a),i=e.getParentType();if(n&&i&&!Be(e.getSchema(),n,i)){const o=(0,p.N)(i),r=(0,p.N)(n);e.reportError(new l.eO(`Fragment "${a}" cannot be spread here as objects of type "${o}" can never be of type "${r}".`,{nodes:t}))}}}}function Sa(e){const t=e.getSchema(),a=Object.create(null);for(const t of e.getDocument().definitions)(0,Kt.a6)(t)&&(a[t.name.value]=t);return{ScalarTypeExtension:n,ObjectTypeExtension:n,InterfaceTypeExtension:n,UnionTypeExtension:n,EnumTypeExtension:n,InputObjectTypeExtension:n};function n(n){const i=n.name.value,o=a[i],r=null==t?void 0:t.getType(i);let s;if(o?s=Ca[o.kind]:r&&(s=function(e){if(j(e))return A.b.SCALAR_TYPE_EXTENSION;if(V(e))return A.b.OBJECT_TYPE_EXTENSION;if(B(e))return A.b.INTERFACE_TYPE_EXTENSION;if(L(e))return A.b.UNION_TYPE_EXTENSION;if(q(e))return A.b.ENUM_TYPE_EXTENSION;if(G(e))return A.b.INPUT_OBJECT_TYPE_EXTENSION;(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}(r)),s){if(s!==n.kind){const t=function(e){switch(e){case A.b.SCALAR_TYPE_EXTENSION:return"scalar";case A.b.OBJECT_TYPE_EXTENSION:return"object";case A.b.INTERFACE_TYPE_EXTENSION:return"interface";case A.b.UNION_TYPE_EXTENSION:return"union";case A.b.ENUM_TYPE_EXTENSION:return"enum";case A.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,pt.V)(!1,"Unexpected kind: "+(0,p.N)(e))}}(n.kind);e.reportError(new l.eO(`Cannot extend non-${t} type "${i}".`,{nodes:o?[o,n]:n}))}}else{const o=w(i,Object.keys({...a,...null==t?void 0:t.getTypeMap()}));e.reportError(new l.eO(`Cannot extend type "${i}" because it is not defined.`+u(o),{nodes:n.name}))}}}const Ca={[A.b.SCALAR_TYPE_DEFINITION]:A.b.SCALAR_TYPE_EXTENSION,[A.b.OBJECT_TYPE_DEFINITION]:A.b.OBJECT_TYPE_EXTENSION,[A.b.INTERFACE_TYPE_DEFINITION]:A.b.INTERFACE_TYPE_EXTENSION,[A.b.UNION_TYPE_DEFINITION]:A.b.UNION_TYPE_EXTENSION,[A.b.ENUM_TYPE_DEFINITION]:A.b.ENUM_TYPE_EXTENSION,[A.b.INPUT_OBJECT_TYPE_DEFINITION]:A.b.INPUT_OBJECT_TYPE_EXTENSION};function ka(e){return{...Ia(e),Field:{leave(t){var a;const n=e.getFieldDef();if(!n)return!1;const i=new Set(null===(a=t.arguments)||void 0===a?void 0:a.map(e=>e.name.value));for(const a of n.args)if(!i.has(a.name)&&Ae(a)){const i=(0,p.N)(a.type);e.reportError(new l.eO(`Field "${n.name}" argument "${a.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function Ia(e){var t;const a=Object.create(null),n=e.getSchema(),i=null!==(t=null==n?void 0:n.getDirectives())&&void 0!==t?t:rt;for(const e of i)a[e.name]=h(e.args.filter(Ae),e=>e.name);const o=e.getDocument().definitions;for(const e of o)if(e.kind===A.b.DIRECTIVE_DEFINITION){var r;const t=null!==(r=e.arguments)&&void 0!==r?r:[];a[e.name.value]=h(t.filter($a),e=>e.name.value)}return{Directive:{leave(t){const n=t.name.value,i=a[n];if(i){var o;const a=null!==(o=t.arguments)&&void 0!==o?o:[],r=new Set(a.map(e=>e.name.value));for(const[a,o]of Object.entries(i))if(!r.has(a)){const i=I(o.type)?(0,p.N)(o.type):(0,O.y)(o.type);e.reportError(new l.eO(`Directive "@${n}" argument "${a}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}function $a(e){return e.type.kind===A.b.NON_NULL_TYPE&&null==e.defaultValue}function ja(e){return{Field(t){const a=e.getType(),n=t.selectionSet;if(a)if(te(he(a))){if(n){const i=t.name.value,o=(0,p.N)(a);e.reportError(new l.eO(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:n}))}}else if(n){if(0===n.selections.length){const n=t.name.value,i=(0,p.N)(a);e.reportError(new l.eO(`Field "${n}" of type "${i}" must have at least one field selected.`,{nodes:t}))}}else{const n=t.name.value,i=(0,p.N)(a);e.reportError(new l.eO(`Field "${n}" of type "${i}" must have a selection of subfields. Did you mean "${n} { ... }"?`,{nodes:t}))}}}}function Ra(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function Va(e,t,a){return{prev:e,key:t,typename:a}}function Pa(e){const t=[];let a=e;for(;a;)t.push(a.key),a=a.prev;return t.reverse()}function Ba(e,t,a=Ma){return La(e,t,a,void 0)}function Ma(e,t,a){let n="Invalid value "+(0,p.N)(t);throw e.length>0&&(n+=` at "value${Ra(e)}"`),a.message=n+": "+a.message,a}function La(e,t,a,n){if(H(t))return null!=e?La(e,t.ofType,a,n):void a(Pa(n),e,new l.eO(`Expected non-nullable type "${(0,p.N)(t)}" not to be null.`));if(null==e)return null;if(Q(t)){const i=t.ofType;return lt(e)?Array.from(e,(e,t)=>{const o=Va(n,t,void 0);return La(e,i,a,o)}):[La(e,i,a,n)]}if(G(t)){if(!(0,v.Z)(e)||Array.isArray(e))return void a(Pa(n),e,new l.eO(`Expected type "${t.name}" to be an object.`));const i={},o=t.getFields();for(const r of Object.values(o)){const o=e[r.name];if(void 0!==o)i[r.name]=La(o,r.type,a,Va(n,r.name,t.name));else if(void 0!==r.defaultValue)i[r.name]=r.defaultValue;else if(H(r.type)){const t=(0,p.N)(r.type);a(Pa(n),e,new l.eO(`Field "${r.name}" of required type "${t}" was not provided.`))}}for(const i of Object.keys(e))if(!o[i]){const o=w(i,Object.keys(t.getFields()));a(Pa(n),e,new l.eO(`Field "${i}" is not defined by type "${t.name}".`+u(o)))}if(t.isOneOf){const o=Object.keys(i);1!==o.length&&a(Pa(n),e,new l.eO(`Exactly one key must be specified for OneOf type "${t.name}".`));const r=o[0],s=i[r];null===s&&a(Pa(n).concat(r),s,new l.eO(`Field "${r}" must be non-null.`))}return i}if(te(t)){let i;try{i=t.parseValue(e)}catch(i){return void(i instanceof l.eO?a(Pa(n),e,i):a(Pa(n),e,new l.eO(`Expected type "${t.name}". `+i.message,{originalError:i})))}return void 0===i&&a(Pa(n),e,new l.eO(`Expected type "${t.name}".`)),i}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}function Ua(e,t,a){if(e){if(e.kind===A.b.VARIABLE){const n=e.name.value;if(null==a||void 0===a[n])return;const i=a[n];if(null===i&&H(t))return;return i}if(H(t)){if(e.kind===A.b.NULL)return;return Ua(e,t.ofType,a)}if(e.kind===A.b.NULL)return null;if(Q(t)){const n=t.ofType;if(e.kind===A.b.LIST){const t=[];for(const i of e.values)if(qa(i,a)){if(H(n))return;t.push(null)}else{const e=Ua(i,n,a);if(void 0===e)return;t.push(e)}return t}const i=Ua(e,n,a);if(void 0===i)return;return[i]}if(G(t)){if(e.kind!==A.b.OBJECT)return;const n=Object.create(null),i=h(e.fields,e=>e.name.value);for(const e of Object.values(t.getFields())){const t=i[e.name];if(!t||qa(t.value,a)){if(void 0!==e.defaultValue)n[e.name]=e.defaultValue;else if(H(e.type))return;continue}const o=Ua(t.value,e.type,a);if(void 0===o)return;n[e.name]=o}if(t.isOneOf){const e=Object.keys(n);if(1!==e.length)return;if(null===n[e[0]])return}return n}if(te(t)){let n;try{n=t.parseLiteral(e,a)}catch(e){return}if(void 0===n)return;return n}(0,pt.V)(!1,"Unexpected input type: "+(0,p.N)(t))}}function qa(e,t){return e.kind===A.b.VARIABLE&&(null==t||void 0===t[e.name.value])}function za(e,t,a,n){const i=[],o=null==n?void 0:n.maxErrors;try{const n=function(e,t,a,n){const i={};for(const o of t){const t=o.variable.name.value,r=Qt(e,o.type);if(!K(r)){const e=(0,O.y)(o.type);n(new l.eO(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!Qa(a,t)){if(o.defaultValue)i[t]=Ua(o.defaultValue,r);else if(H(r)){const e=(0,p.N)(r);n(new l.eO(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:o}))}continue}const s=a[t];if(null===s&&H(r)){const e=(0,p.N)(r);n(new l.eO(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:o}));continue}i[t]=Ba(s,r,(e,a,i)=>{let r=`Variable "$${t}" got invalid value `+(0,p.N)(a);e.length>0&&(r+=` at "${t}${Ra(e)}"`),n(new l.eO(r+"; "+i.message,{nodes:o,originalError:i}))})}return i}(e,t,a,e=>{if(null!=o&&i.length>=o)throw new l.eO("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:n}}catch(e){i.push(e)}return{errors:i}}function Ga(e,t,a){var n;const i={},o=h(null!==(n=t.arguments)&&void 0!==n?n:[],e=>e.name.value);for(const n of e.args){const e=n.name,r=n.type,s=o[e];if(!s){if(void 0!==n.defaultValue)i[e]=n.defaultValue;else if(H(r))throw new l.eO(`Argument "${e}" of required type "${(0,p.N)(r)}" was not provided.`,{nodes:t});continue}const d=s.value;let c=d.kind===A.b.NULL;if(d.kind===A.b.VARIABLE){const t=d.name.value;if(null==a||!Qa(a,t)){if(void 0!==n.defaultValue)i[e]=n.defaultValue;else if(H(r))throw new l.eO(`Argument "${e}" of required type "${(0,p.N)(r)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:d});continue}c=null==a[t]}if(c&&H(r))throw new l.eO(`Argument "${e}" of non-null type "${(0,p.N)(r)}" must not be null.`,{nodes:d});const u=Ua(d,r,a);if(void 0===u)throw new l.eO(`Argument "${e}" has invalid value ${(0,O.y)(d)}.`,{nodes:d});i[e]=u}return i}function Ya(e,t,a){var n;const i=null===(n=t.directives)||void 0===n?void 0:n.find(t=>t.name.value===e.name);if(i)return Ga(e,i,a)}function Qa(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ja(e,t,a,n,i){const o=new Map;return Ha(e,t,a,n,i,o,new Set),o}function Ha(e,t,a,n,i,o,r){for(const s of i.selections)switch(s.kind){case A.b.FIELD:{if(!Wa(a,s))continue;const e=Xa(s),t=o.get(e);void 0!==t?t.push(s):o.set(e,[s]);break}case A.b.INLINE_FRAGMENT:if(!Wa(a,s)||!Ka(e,s,n))continue;Ha(e,t,a,n,s.selectionSet,o,r);break;case A.b.FRAGMENT_SPREAD:{const i=s.name.value;if(r.has(i)||!Wa(a,s))continue;r.add(i);const p=t[i];if(!p||!Ka(e,p,n))continue;Ha(e,t,a,n,p.selectionSet,o,r);break}}}function Wa(e,t){const a=Ya(tt,t,e);if(!0===(null==a?void 0:a.if))return!1;const n=Ya(et,t,e);return!1!==(null==n?void 0:n.if)}function Ka(e,t,a){const n=t.typeCondition;if(!n)return!0;const i=Qt(e,n);return i===a||!!oe(i)&&e.isSubType(i,a)}function Xa(e){return e.alias?e.alias.value:e.name.value}function Za(e){return{OperationDefinition(t){if("subscription"===t.operation){const a=e.getSchema(),n=a.getSubscriptionType();if(n){const i=t.name?t.name.value:null,o=Object.create(null),r=e.getDocument(),s=Object.create(null);for(const e of r.definitions)e.kind===A.b.FRAGMENT_DEFINITION&&(s[e.name.value]=e);const p=Ja(a,s,o,n,t.selectionSet);if(p.size>1){const t=[...p.values()].slice(1).flat();e.reportError(new l.eO(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(const t of p.values()){t[0].name.value.startsWith("__")&&e.reportError(new l.eO(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}}function en(e,t){const a=new Map;for(const n of e){const e=t(n),i=a.get(e);void 0===i?a.set(e,[n]):i.push(n)}return a}function tn(e){return{DirectiveDefinition(e){var t;const n=null!==(t=e.arguments)&&void 0!==t?t:[];return a(`@${e.name.value}`,n)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t;const n=e.name.value,i=null!==(t=e.fields)&&void 0!==t?t:[];for(const e of i){var o;a(`${n}.${e.name.value}`,null!==(o=e.arguments)&&void 0!==o?o:[])}return!1}function a(t,a){const n=en(a,e=>e.name.value);for(const[a,i]of n)i.length>1&&e.reportError(new l.eO(`Argument "${t}(${a}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}function an(e){return{Field:t,Directive:t};function t(t){var a;const n=en(null!==(a=t.arguments)&&void 0!==a?a:[],e=>e.name.value);for(const[t,a]of n)a.length>1&&e.reportError(new l.eO(`There can be only one argument named "${t}".`,{nodes:a.map(e=>e.name)}))}}function nn(e){const t=Object.create(null),a=e.getSchema();return{DirectiveDefinition(n){const i=n.name.value;if(null==a||!a.getDirective(i))return t[i]?e.reportError(new l.eO(`There can be only one directive named "@${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1;e.reportError(new l.eO(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:n.name}))}}}function on(e){const t=Object.create(null),a=e.getSchema(),n=a?a.getDirectives():rt;for(const e of n)t[e.name]=!e.isRepeatable;const i=e.getDocument().definitions;for(const e of i)e.kind===A.b.DIRECTIVE_DEFINITION&&(t[e.name.value]=!e.repeatable);const o=Object.create(null),r=Object.create(null);return{enter(a){if(!("directives"in a)||!a.directives)return;let n;if(a.kind===A.b.SCHEMA_DEFINITION||a.kind===A.b.SCHEMA_EXTENSION)n=o;else if((0,Kt.a6)(a)||(0,Kt.i7)(a)){const e=a.name.value;n=r[e],void 0===n&&(r[e]=n=Object.create(null))}else n=Object.create(null);for(const i of a.directives){const a=i.name.value;t[a]&&(n[a]?e.reportError(new l.eO(`The directive "@${a}" can only be used once at this location.`,{nodes:[n[a],i]})):n[a]=i)}}}}function rn(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;const o=t.name.value;n[o]||(n[o]=Object.create(null));const r=null!==(i=t.values)&&void 0!==i?i:[],s=n[o];for(const t of r){const n=t.name.value,i=a[o];q(i)&&i.getValue(n)?e.reportError(new l.eO(`Enum value "${o}.${n}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[n]?e.reportError(new l.eO(`Enum value "${o}.${n}" can only be defined once.`,{nodes:[s[n],t.name]})):s[n]=t.name}return!1}}function sn(e){const t=e.getSchema(),a=t?t.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i;const o=t.name.value;n[o]||(n[o]=Object.create(null));const r=null!==(i=t.fields)&&void 0!==i?i:[],s=n[o];for(const t of r){const n=t.name.value;pn(a[o],n)?e.reportError(new l.eO(`Field "${o}.${n}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[n]?e.reportError(new l.eO(`Field "${o}.${n}" can only be defined once.`,{nodes:[s[n],t.name]})):s[n]=t.name}return!1}}function pn(e,t){return!!(V(e)||B(e)||G(e))&&null!=e.getFields()[t]}function ln(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(a){const n=a.name.value;return t[n]?e.reportError(new l.eO(`There can be only one fragment named "${n}".`,{nodes:[t[n],a.name]})):t[n]=a.name,!1}}}function dn(e){const t=[];let a=Object.create(null);return{ObjectValue:{enter(){t.push(a),a=Object.create(null)},leave(){const e=t.pop();e||(0,pt.V)(!1),a=e}},ObjectField(t){const n=t.name.value;a[n]?e.reportError(new l.eO(`There can be only one input field named "${n}".`,{nodes:[a[n],t.name]})):a[n]=t.name}}}function cn(e){const t=Object.create(null);return{OperationDefinition(a){const n=a.name;return n&&(t[n.value]?e.reportError(new l.eO(`There can be only one operation named "${n.value}".`,{nodes:[t[n.value],n]})):t[n.value]=n),!1},FragmentDefinition:()=>!1}}function un(e){const t=e.getSchema(),a=Object.create(null),n=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;const o=null!==(i=t.operationTypes)&&void 0!==i?i:[];for(const t of o){const i=t.operation,o=a[i];n[i]?e.reportError(new l.eO(`Type for ${i} already defined in the schema. It cannot be redefined.`,{nodes:t})):o?e.reportError(new l.eO(`There can be only one ${i} type in schema.`,{nodes:[o,t]})):a[i]=t}return!1}}function mn(e){const t=Object.create(null),a=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(n){const i=n.name.value;if(null==a||!a.getType(i))return t[i]?e.reportError(new l.eO(`There can be only one type named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1;e.reportError(new l.eO(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:n.name}))}}function fn(e){return{OperationDefinition(t){var a;const n=en(null!==(a=t.variableDefinitions)&&void 0!==a?a:[],e=>e.variable.name.value);for(const[t,a]of n)a.length>1&&e.reportError(new l.eO(`There can be only one variable named "$${t}".`,{nodes:a.map(e=>e.variable.name)}))}}}function vn(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(e){t[e.variable.name.value]=e},ListValue(t){if(!Q(me(e.getParentInputType())))return hn(e,t),!1},ObjectValue(t){const a=he(e.getInputType());if(!G(a))return hn(e,t),!1;const n=h(t.fields,e=>e.name.value);for(const i of Object.values(a.getFields())){if(!n[i.name]&&Re(i)){const n=(0,p.N)(i.type);e.reportError(new l.eO(`Field "${a.name}.${i.name}" of required type "${n}" was not provided.`,{nodes:t}))}}a.isOneOf&&function(e,t,a,n){var i;const o=Object.keys(n);if(1!==o.length)return void e.reportError(new l.eO(`OneOf Input Object "${a.name}" must specify exactly one key.`,{nodes:[t]}));const r=null===(i=n[o[0]])||void 0===i?void 0:i.value;r&&r.kind!==A.b.NULL||e.reportError(new l.eO(`Field "${a.name}.${o[0]}" must be non-null.`,{nodes:[t]}))}(e,t,a,n)},ObjectField(t){const a=he(e.getParentInputType());if(!e.getInputType()&&G(a)){const n=w(t.name.value,Object.keys(a.getFields()));e.reportError(new l.eO(`Field "${t.name.value}" is not defined by type "${a.name}".`+u(n),{nodes:t}))}},NullValue(t){const a=e.getInputType();H(a)&&e.reportError(new l.eO(`Expected value of type "${(0,p.N)(a)}", found ${(0,O.y)(t)}.`,{nodes:t}))},EnumValue:t=>hn(e,t),IntValue:t=>hn(e,t),FloatValue:t=>hn(e,t),StringValue:t=>hn(e,t),BooleanValue:t=>hn(e,t)}}function hn(e,t){const a=e.getInputType();if(!a)return;const n=he(a);if(!te(n)){const n=(0,p.N)(a);return void e.reportError(new l.eO(`Expected value of type "${n}", found ${(0,O.y)(t)}.`,{nodes:t}))}try{if(void 0===n.parseLiteral(t,void 0)){const n=(0,p.N)(a);e.reportError(new l.eO(`Expected value of type "${n}", found ${(0,O.y)(t)}.`,{nodes:t}))}}catch(n){const i=(0,p.N)(a);n instanceof l.eO?e.reportError(n):e.reportError(new l.eO(`Expected value of type "${i}", found ${(0,O.y)(t)}; `+n.message,{nodes:t,originalError:n}))}}function gn(e){return{VariableDefinition(t){const a=Qt(e.getSchema(),t.type);if(void 0!==a&&!K(a)){const a=t.variable.name.value,n=(0,O.y)(t.type);e.reportError(new l.eO(`Variable "$${a}" cannot be non-input type "${n}".`,{nodes:t.type}))}}}}function yn(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(a){const n=e.getRecursiveVariableUsages(a);for(const{node:a,type:i,defaultValue:o,parentType:r}of n){const n=a.name.value,s=t[n];if(s&&i){const t=e.getSchema(),d=Qt(t,s.type);if(d&&!bn(t,d,s.defaultValue,i,o)){const t=(0,p.N)(d),o=(0,p.N)(i);e.reportError(new l.eO(`Variable "$${n}" of type "${t}" used in position expecting type "${o}".`,{nodes:[s,a]}))}G(r)&&r.isOneOf&&ce(d)&&e.reportError(new l.eO(`Variable "$${n}" is of type "${d}" but must be non-nullable to be used for OneOf Input Object "${r}".`,{nodes:[s,a]}))}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function bn(e,t,a,n,i){if(H(n)&&!H(t)){if(!(null!=a&&a.kind!==A.b.NULL)&&!(void 0!==i))return!1;return Pe(e,t,n.ofType)}return Pe(e,t,n)}const Dn=Object.freeze([da]),xn=Object.freeze([Xt,cn,sa,Za,oa,ea,gn,ja,Zt,ln,ia,ma,Fa,ca,fn,ua,fa,na,on,ta,an,vn,ka,yn,ga,dn,...Dn]),_n=Object.freeze([pa,un,mn,rn,sn,tn,nn,oa,na,on,Sa,aa,an,dn,Ia]);class wn{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(const e of this.getDocument().definitions)e.kind===A.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const a=[e];let n;for(;n=a.pop();)for(const e of n.selections)e.kind===A.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&a.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const a=Object.create(null),n=[e.selectionSet];let i;for(;i=n.pop();)for(const e of this.getFragmentSpreads(i)){const i=e.name.value;if(!0!==a[i]){a[i]=!0;const e=this.getFragment(i);e&&(t.push(e),n.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class En extends wn{constructor(e,t,a){super(e,a),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class Tn extends wn{constructor(e,t,a,n){super(t,n),this._schema=e,this._typeInfo=a,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){const a=[],n=new Jt(this._schema);(0,Yt.YR)(e,Wt(n,{VariableDefinition:()=>!1,Variable(e){a.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue(),parentType:n.getParentInputType()})}})),t=a,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(const a of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(a));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()}}function Nn(e,t,a=xn,n,i=new Jt(e)){var r;const s=null!==(r=null==n?void 0:n.maxErrors)&&void 0!==r?r:100;t||(0,o.U)(!1,"Must provide document."),Ct(e);const p=Object.freeze({}),d=[],c=new Tn(e,t,i,e=>{if(d.length>=s)throw d.push(new l.eO("Too many validation errors, error limit reached. Validation aborted.")),p;d.push(e)}),u=(0,Yt.oP)(a.map(e=>e(c)));try{(0,Yt.YR)(t,Wt(i,u))}catch(e){if(e!==p)throw e}return d}function An(e,t,a=_n){const n=[],i=new En(e,t,e=>{n.push(e)}),o=a.map(e=>e(i));return(0,Yt.YR)(e,(0,Yt.oP)(o)),n}function On(e){return Promise.all(Object.values(e)).then(t=>{const a=Object.create(null);for(const[n,i]of Object.keys(e).entries())a[i]=t[n];return a})}class Fn extends Error{constructor(e){super("Unexpected error value: "+(0,p.N)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function Sn(e,t,a){var n;const i=(o=e)instanceof Error?o:new Fn(o);var o,r;return r=i,Array.isArray(r.path)?i:new l.eO(i.message,{nodes:null!==(n=i.nodes)&&void 0!==n?n:t,source:i.source,positions:i.positions,path:a,originalError:i})}const Cn=function(e){let t;return function(a,n,i){void 0===t&&(t=new WeakMap);let o=t.get(a);void 0===o&&(o=new WeakMap,t.set(a,o));let r=o.get(n);void 0===r&&(r=new WeakMap,o.set(n,r));let s=r.get(i);return void 0===s&&(s=e(a,n,i),r.set(i,s)),s}}((e,t,a)=>function(e,t,a,n,i){const o=new Map,r=new Set;for(const s of i)s.selectionSet&&Ha(e,t,a,n,s.selectionSet,o,r);return o}(e.schema,e.fragments,e.variableValues,t,a));function kn(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:a,variableValues:n,rootValue:i}=e;jn(t,a,n);const s=Rn(e);if(!("schema"in s))return{errors:s};try{const{operation:e}=s,t=function(e,t,a){const n=e.schema.getRootType(t.operation);if(null==n)throw new l.eO(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});const i=Ja(e.schema,e.fragments,e.variableValues,n,t.selectionSet),o=void 0;switch(t.operation){case d.cE.QUERY:return Vn(e,n,a,o,i);case d.cE.MUTATION:return function(e,t,a,n,i){return function(e,t,a){let n=a;for(const a of e)n=r(n)?n.then(e=>t(e,a)):t(n,a);return n}(i.entries(),(i,[o,s])=>{const p=Va(n,o,t.name),l=Pn(e,t,a,s,p);return void 0===l?i:r(l)?l.then(e=>(i[o]=e,i)):(i[o]=l,i)},Object.create(null))}(e,n,a,o,i);case d.cE.SUBSCRIPTION:return Vn(e,n,a,o,i)}}(s,e,i);return r(t)?t.then(e=>$n(e,s.errors),e=>(s.errors.push(e),$n(null,s.errors))):$n(t,s.errors)}catch(e){return s.errors.push(e),$n(null,s.errors)}}function In(e){const t=kn(e);if(r(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function $n(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function jn(e,t,a){t||(0,o.U)(!1,"Must provide document."),Ct(e),null==a||(0,v.Z)(a)||(0,o.U)(!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 Rn(e){var t,a,n;const{schema:i,document:o,rootValue:r,contextValue:s,variableValues:p,operationName:d,fieldResolver:c,typeResolver:u,subscribeFieldResolver:m,options:f}=e;let v;const h=Object.create(null);for(const e of o.definitions)switch(e.kind){case A.b.OPERATION_DEFINITION:if(null==d){if(void 0!==v)return[new l.eO("Must provide operation name if query contains multiple operations.")];v=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===d&&(v=e);break;case A.b.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!v)return null!=d?[new l.eO(`Unknown operation named "${d}".`)]:[new l.eO("Must provide an operation.")];const g=za(i,null!==(a=v.variableDefinitions)&&void 0!==a?a:[],null!=p?p:{},{maxErrors:null!==(n=null==f?void 0:f.maxCoercionErrors)&&void 0!==n?n:50});return g.errors?g.errors:{schema:i,fragments:h,rootValue:r,contextValue:s,operation:v,variableValues:g.coerced,fieldResolver:null!=c?c:Yn,typeResolver:null!=u?u:Gn,subscribeFieldResolver:null!=m?m:Yn,errors:[]}}function Vn(e,t,a,n,i){const o=Object.create(null);let s=!1;try{for(const[p,l]of i.entries()){const i=Pn(e,t,a,l,Va(n,p,t.name));void 0!==i&&(o[p]=i,r(i)&&(s=!0))}}catch(e){if(s)return On(o).finally(()=>{throw e});throw e}return s?On(o):o}function Pn(e,t,a,n,i){var o;const s=Qn(e.schema,t,n[0]);if(!s)return;const p=s.type,l=null!==(o=s.resolve)&&void 0!==o?o:e.fieldResolver,d=Bn(e,s,n,t,i);try{const t=Ga(s,n[0],e.variableValues),o=l(a,t,e.contextValue,d);let c;return c=r(o)?o.then(t=>Ln(e,p,n,d,i,t)):Ln(e,p,n,d,i,o),r(c)?c.then(void 0,t=>Mn(Sn(t,n,Pa(i)),p,e)):c}catch(t){return Mn(Sn(t,n,Pa(i)),p,e)}}function Bn(e,t,a,n,i){return{fieldName:t.name,fieldNodes:a,returnType:t.type,parentType:n,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function Mn(e,t,a){if(H(t))throw e;return a.errors.push(e),null}function Ln(e,t,a,n,i,o){if(o instanceof Error)throw o;if(H(t)){const r=Ln(e,t.ofType,a,n,i,o);if(null===r)throw new Error(`Cannot return null for non-nullable field ${n.parentType.name}.${n.fieldName}.`);return r}return null==o?null:Q(t)?function(e,t,a,n,i,o){if(!lt(o))throw new l.eO(`Expected Iterable, but did not find one for field "${n.parentType.name}.${n.fieldName}".`);const s=t.ofType;let p=!1;const d=Array.from(o,(t,o)=>{const l=Va(i,o,void 0);try{let i;return i=r(t)?t.then(t=>Ln(e,s,a,n,l,t)):Ln(e,s,a,n,l,t),r(i)?(p=!0,i.then(void 0,t=>Mn(Sn(t,a,Pa(l)),s,e))):i}catch(t){return Mn(Sn(t,a,Pa(l)),s,e)}});return p?Promise.all(d):d}(e,t,a,n,i,o):te(t)?function(e,t){const a=e.serialize(t);if(null==a)throw new Error(`Expected \`${(0,p.N)(e)}.serialize(${(0,p.N)(t)})\` to return non-nullable value, returned: ${(0,p.N)(a)}`);return a}(t,o):oe(t)?function(e,t,a,n,i,o){var s;const p=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,l=e.contextValue,d=p(o,l,n,t);if(r(d))return d.then(r=>qn(e,Un(r,e,t,a,n,o),a,n,i,o));return qn(e,Un(d,e,t,a,n,o),a,n,i,o)}(e,t,a,n,i,o):V(t)?qn(e,t,a,n,i,o):void(0,pt.V)(!1,"Cannot complete value of unexpected output type: "+(0,p.N)(t))}function Un(e,t,a,n,i,o){if(null==e)throw new l.eO(`Abstract type "${a.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${a.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,n);if(V(e))throw new l.eO("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!=typeof e)throw new l.eO(`Abstract type "${a.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,p.N)(o)}, received "${(0,p.N)(e)}".`);const r=t.schema.getType(e);if(null==r)throw new l.eO(`Abstract type "${a.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:n});if(!V(r))throw new l.eO(`Abstract type "${a.name}" was resolved to a non-object type "${e}".`,{nodes:n});if(!t.schema.isSubType(a,r))throw new l.eO(`Runtime Object type "${r.name}" is not a possible type for "${a.name}".`,{nodes:n});return r}function qn(e,t,a,n,i,o){const s=Cn(e,t,a);if(t.isTypeOf){const p=t.isTypeOf(o,e.contextValue,n);if(r(p))return p.then(n=>{if(!n)throw zn(t,o,a);return Vn(e,t,o,i,s)});if(!p)throw zn(t,o,a)}return Vn(e,t,o,i,s)}function zn(e,t,a){return new l.eO(`Expected value of type "${e.name}" but got: ${(0,p.N)(t)}.`,{nodes:a})}const Gn=function(e,t,a,n){if((0,v.Z)(e)&&"string"==typeof e.__typename)return e.__typename;const i=a.schema.getPossibleTypes(n),o=[];for(let n=0;n<i.length;n++){const s=i[n];if(s.isTypeOf){const i=s.isTypeOf(e,t,a);if(r(i))o[n]=i;else if(i)return o.length&&Promise.allSettled(o).catch(()=>{}),s.name}}return o.length?Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name}):void 0},Yn=function(e,t,a,n){if((0,v.Z)(e)||"function"==typeof e){const i=e[n.fieldName];return"function"==typeof i?e[n.fieldName](t,a,n):i}};function Qn(e,t,a){const n=a.name.value;return n===xt.name&&e.getQueryType()===t?xt:n===_t.name&&e.getQueryType()===t?_t:n===wt.name?wt:t.getFields()[n]}function Jn(e){return new Promise(t=>t(Wn(e)))}function Hn(e){const t=Wn(e);if(r(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function Wn(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:a,rootValue:n,contextValue:i,variableValues:r,operationName:p,fieldResolver:l,typeResolver:d}=e,c=St(t);if(c.length>0)return{errors:c};let u;try{u=(0,s.qg)(a)}catch(e){return{errors:[e]}}const m=Nn(t,u);return m.length>0?{errors:m}:kn({schema:t,document:u,rootValue:n,contextValue:i,variableValues:r,operationName:p,fieldResolver:l,typeResolver:d})}var Kn=a(39537),Xn=a(73971),Zn=a(8238),ei=a(98472),ti=a(12039);function ai(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function ni(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const t=await ii(e);if(!ai(t))return t;return function(e,t){const a=e[Symbol.asyncIterator]();async function n(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof a.return)try{await a.return()}catch(e){}throw e}}return{next:async()=>n(await a.next()),return:async()=>"function"==typeof a.return?n(await a.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof a.throw)return n(await a.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>kn({...e,rootValue:t}))}async function ii(...e){const t=function(e){const t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:a,document:n,variableValues:i}=t;jn(a,n,i);const o=Rn(t);if(!("schema"in o))return{errors:o};try{const e=await async function(e){const{schema:t,fragments:a,operation:n,variableValues:i,rootValue:o}=e,r=t.getSubscriptionType();if(null==r)throw new l.eO("Schema is not configured to execute subscription operation.",{nodes:n});const s=Ja(t,a,i,r,n.selectionSet),[p,d]=[...s.entries()][0],c=Qn(t,r,d[0]);if(!c){const e=d[0].name.value;throw new l.eO(`The subscription field "${e}" is not defined.`,{nodes:d})}const u=Va(void 0,p,r.name),m=Bn(e,c,d,r,u);try{var f;const t=Ga(c,d[0],i),a=e.contextValue,n=null!==(f=c.subscribe)&&void 0!==f?f:e.subscribeFieldResolver,r=await n(o,t,a,m);if(r instanceof Error)throw r;return r}catch(e){throw Sn(e,d,Pa(u))}}(o);if(!ai(e))throw new Error(`Subscription field must return Async Iterable. Received: ${(0,p.N)(e)}.`);return e}catch(e){if(e instanceof l.eO)return{errors:[e]};throw e}}function oi(e){return{Field(t){const a=e.getFieldDef(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=e.getParentType();null!=i||(0,pt.V)(!1),e.reportError(new l.eO(`The field ${i.name}.${a.name} is deprecated. ${n}`,{nodes:t}))}},Argument(t){const a=e.getArgument(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=e.getDirective();if(null!=i)e.reportError(new l.eO(`Directive "@${i.name}" argument "${a.name}" is deprecated. ${n}`,{nodes:t}));else{const i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,pt.V)(!1),e.reportError(new l.eO(`Field "${i.name}.${o.name}" argument "${a.name}" is deprecated. ${n}`,{nodes:t}))}}},ObjectField(t){const a=he(e.getParentInputType());if(G(a)){const n=a.getFields()[t.name.value],i=null==n?void 0:n.deprecationReason;null!=i&&e.reportError(new l.eO(`The input field ${a.name}.${n.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){const a=e.getEnumValue(),n=null==a?void 0:a.deprecationReason;if(a&&null!=n){const i=he(e.getInputType());null!=i||(0,pt.V)(!1),e.reportError(new l.eO(`The enum value "${i.name}.${a.name}" is deprecated. ${n}`,{nodes:t}))}}}}function ri(e){return{Field(t){const a=he(e.getType());a&&Tt(a)&&e.reportError(new l.eO(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var si=a(59841);function pi(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},a=t.descriptions?"description":"",n=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?a:"";function r(e){return t.inputValueDeprecation?e:""}const s=t.oneOf?"isOneOf":"";return`\n query IntrospectionQuery {\n __schema {\n ${o}\n queryType { name kind }\n mutationType { name kind }\n subscriptionType { name kind }\n types {\n ...FullType\n }\n directives {\n name\n ${a}\n ${i}\n locations\n args${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ${a}\n ${n}\n ${s}\n fields(includeDeprecated: true) {\n name\n ${a}\n args${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields${r("(includeDeprecated: true)")} {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ${a}\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ${a}\n type { ...TypeRef }\n defaultValue\n ${r("isDeprecated")}\n ${r("deprecationReason")}\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n `}function li(e,t){let a=null;for(const i of e.definitions){var n;if(i.kind===A.b.OPERATION_DEFINITION)if(null==t){if(a)return null;a=i}else if((null===(n=i.name)||void 0===n?void 0:n.value)===t)return i}return a}function di(e,t){if("query"===t.operation){const a=e.getQueryType();if(!a)throw new l.eO("Schema does not define the required query root type.",{nodes:t});return a}if("mutation"===t.operation){const a=e.getMutationType();if(!a)throw new l.eO("Schema is not configured for mutations.",{nodes:t});return a}if("subscription"===t.operation){const a=e.getSubscriptionType();if(!a)throw new l.eO("Schema is not configured for subscriptions.",{nodes:t});return a}throw new l.eO("Can only have query, mutation and subscription operations.",{nodes:t})}function ci(e,t){const a={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,oneOf:!0,...t},n=In({schema:e,document:(0,s.qg)(pi(a))});return!n.errors&&n.data||(0,pt.V)(!1),n.data}function ui(e,t){(0,v.Z)(e)&&(0,v.Z)(e.__schema)||(0,o.U)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,p.N)(e)}.`);const a=e.__schema,n=g(a.types,e=>e.name,e=>function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case bt.SCALAR:return new be({name:(n=e).name,description:n.description,specifiedByURL:n.specifiedByURL});case bt.OBJECT:return new De({name:(a=e).name,description:a.description,interfaces:()=>h(a),fields:()=>y(a)});case bt.INTERFACE:return new Oe({name:(t=e).name,description:t.description,interfaces:()=>h(t),fields:()=>y(t)});case bt.UNION:return function(e){if(!e.possibleTypes){const t=(0,p.N)(e);throw new Error(`Introspection result missing possibleTypes: ${t}.`)}return new Fe({name:e.name,description:e.description,types:()=>e.possibleTypes.map(m)})}(e);case bt.ENUM:return function(e){if(!e.enumValues){const t=(0,p.N)(e);throw new Error(`Introspection result missing enumValues: ${t}.`)}return new Ce({name:e.name,description:e.description,values:g(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case bt.INPUT_OBJECT:return function(e){if(!e.inputFields){const t=(0,p.N)(e);throw new Error(`Introspection result missing inputFields: ${t}.`)}return new $e({name:e.name,description:e.description,fields:()=>D(e.inputFields),isOneOf:e.isOneOf})}(e)}var t;var a;var n;const i=(0,p.N)(e);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${i}.`)}(e));for(const e of[...Je,...Et])n[e.name]&&(n[e.name]=e);const i=a.queryType?m(a.queryType):null,r=a.mutationType?m(a.mutationType):null,l=a.subscriptionType?m(a.subscriptionType):null,d=a.directives?a.directives.map(function(e){if(!e.args){const t=(0,p.N)(e);throw new Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){const t=(0,p.N)(e);throw new Error(`Introspection result missing directive locations: ${t}.`)}return new Ze({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:D(e.args)})}):[];return new Ot({description:a.description,query:i,mutation:r,subscription:l,types:Object.values(n),directives:d,assumeValid:null==t?void 0:t.assumeValid});function c(e){if(e.kind===bt.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new se(c(t))}if(e.kind===bt.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const a=c(t);return new pe(ue(a))}return u(e)}function u(e){const t=e.name;if(!t)throw new Error(`Unknown type reference: ${(0,p.N)(e)}.`);const a=n[t];if(!a)throw new Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return a}function m(e){return P(u(e))}function f(e){return M(u(e))}function h(e){if(null===e.interfaces&&e.kind===bt.INTERFACE)return[];if(!e.interfaces){const t=(0,p.N)(e);throw new Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(f)}function y(e){if(!e.fields)throw new Error(`Introspection result missing fields: ${(0,p.N)(e)}.`);return g(e.fields,e=>e.name,b)}function b(e){const t=c(e.type);if(!Z(t)){const e=(0,p.N)(t);throw new Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){const t=(0,p.N)(e);throw new Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:D(e.args)}}function D(e){return g(e,e=>e.name,x)}function x(e){const t=c(e.type);if(!K(t)){const e=(0,p.N)(t);throw new Error(`Introspection must provide input type for arguments, but received: ${e}.`)}const a=null!=e.defaultValue?Ua((0,s.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:a,deprecationReason:e.deprecationReason}}}function mi(e,t,a){At(e),null!=t&&t.kind===A.b.DOCUMENT||(0,o.U)(!1,"Must provide valid Document AST."),!0!==(null==a?void 0:a.assumeValid)&&!0!==(null==a?void 0:a.assumeValidSDL)&&function(e,t){const a=An(e,t);if(0!==a.length)throw new Error(a.map(e=>e.message).join("\n\n"))}(t,e);const n=e.toConfig(),i=fi(n,t,a);return n===i?e:new Ot(i)}function fi(e,t,a){var n,i,o,r;const s=[],l=Object.create(null),d=[];let c;const u=[];for(const e of t.definitions)if(e.kind===A.b.SCHEMA_DEFINITION)c=e;else if(e.kind===A.b.SCHEMA_EXTENSION)u.push(e);else if((0,Kt.a6)(e))s.push(e);else if((0,Kt.i7)(e)){const t=e.name.value,a=l[t];l[t]=a?a.concat([e]):[e]}else e.kind===A.b.DIRECTIVE_DEFINITION&&d.push(e);if(0===Object.keys(l).length&&0===s.length&&0===d.length&&0===u.length&&null==c)return e;const m=Object.create(null);for(const t of e.types)m[t.name]=b(t);for(const e of s){var f;const t=e.name.value;m[t]=null!==(f=vi[t])&&void 0!==f?f:k(e)}const v={query:e.query&&g(e.query),mutation:e.mutation&&g(e.mutation),subscription:e.subscription&&g(e.subscription),...c&&_([c]),..._(u)};return{description:null===(n=c)||void 0===n||null===(i=n.description)||void 0===i?void 0:i.value,...v,types:Object.values(m),directives:[...e.directives.map(function(e){const t=e.toConfig();return new Ze({...t,args:y(t.args,x)})}),...d.map(function(e){var t;return new Ze({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:N(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(o=c)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(u),assumeValid:null!==(r=null==a?void 0:a.assumeValid)&&void 0!==r&&r};function h(e){return Q(e)?new se(h(e.ofType)):H(e)?new pe(h(e.ofType)):g(e)}function g(e){return m[e.name]}function b(e){return Tt(e)||He(e)?e:j(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];let i=a.specifiedByURL;for(const e of n){var o;i=null!==(o=gi(e))&&void 0!==o?o:i}return new be({...a,specifiedByURL:i,extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):V(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new De({...a,interfaces:()=>[...e.getInterfaces().map(g),...S(n)],fields:()=>({...y(a.fields,D),...T(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):B(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new Oe({...a,interfaces:()=>[...e.getInterfaces().map(g),...S(n)],fields:()=>({...y(a.fields,D),...T(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):L(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new Fe({...a,types:()=>[...e.getTypes().map(g),...C(n)],extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):q(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[e.name])&&void 0!==t?t:[];return new Ce({...a,values:{...a.values,...F(n)},extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):G(e)?function(e){var t;const a=e.toConfig(),n=null!==(t=l[a.name])&&void 0!==t?t:[];return new $e({...a,fields:()=>({...y(a.fields,e=>({...e,type:h(e.type)})),...O(n)}),extensionASTNodes:a.extensionASTNodes.concat(n)})}(e):void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function D(e){return{...e,type:h(e.type),args:e.args&&y(e.args,x)}}function x(e){return{...e,type:h(e.type)}}function _(e){const t={};for(const n of e){var a;const e=null!==(a=n.operationTypes)&&void 0!==a?a:[];for(const a of e)t[a.operation]=w(a.type)}return t}function w(e){var t;const a=e.name.value,n=null!==(t=vi[a])&&void 0!==t?t:m[a];if(void 0===n)throw new Error(`Unknown type: "${a}".`);return n}function E(e){return e.kind===A.b.LIST_TYPE?new se(E(e.type)):e.kind===A.b.NON_NULL_TYPE?new pe(E(e.type)):w(e)}function T(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.fields)&&void 0!==a?a:[];for(const a of e){var n;t[a.name.value]={type:E(a.type),description:null===(n=a.description)||void 0===n?void 0:n.value,args:N(a.arguments),deprecationReason:hi(a),astNode:a}}}return t}function N(e){const t=null!=e?e:[],a=Object.create(null);for(const e of t){var n;const t=E(e.type);a[e.name.value]={type:t,description:null===(n=e.description)||void 0===n?void 0:n.value,defaultValue:Ua(e.defaultValue,t),deprecationReason:hi(e),astNode:e}}return a}function O(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.fields)&&void 0!==a?a:[];for(const a of e){var n;const e=E(a.type);t[a.name.value]={type:e,description:null===(n=a.description)||void 0===n?void 0:n.value,defaultValue:Ua(a.defaultValue,e),deprecationReason:hi(a),astNode:a}}}return t}function F(e){const t=Object.create(null);for(const i of e){var a;const e=null!==(a=i.values)&&void 0!==a?a:[];for(const a of e){var n;t[a.name.value]={description:null===(n=a.description)||void 0===n?void 0:n.value,deprecationReason:hi(a),astNode:a}}}return t}function S(e){return e.flatMap(e=>{var t,a;return null!==(t=null===(a=e.interfaces)||void 0===a?void 0:a.map(w))&&void 0!==t?t:[]})}function C(e){return e.flatMap(e=>{var t,a;return null!==(t=null===(a=e.types)||void 0===a?void 0:a.map(w))&&void 0!==t?t:[]})}function k(e){var t;const a=e.name.value,n=null!==(t=l[a])&&void 0!==t?t:[];switch(e.kind){case A.b.OBJECT_TYPE_DEFINITION:{var i;const t=[e,...n];return new De({name:a,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>S(t),fields:()=>T(t),astNode:e,extensionASTNodes:n})}case A.b.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...n];return new Oe({name:a,description:null===(o=e.description)||void 0===o?void 0:o.value,interfaces:()=>S(t),fields:()=>T(t),astNode:e,extensionASTNodes:n})}case A.b.ENUM_TYPE_DEFINITION:{var r;const t=[e,...n];return new Ce({name:a,description:null===(r=e.description)||void 0===r?void 0:r.value,values:F(t),astNode:e,extensionASTNodes:n})}case A.b.UNION_TYPE_DEFINITION:{var s;const t=[e,...n];return new Fe({name:a,description:null===(s=e.description)||void 0===s?void 0:s.value,types:()=>C(t),astNode:e,extensionASTNodes:n})}case A.b.SCALAR_TYPE_DEFINITION:var p;return new be({name:a,description:null===(p=e.description)||void 0===p?void 0:p.value,specifiedByURL:gi(e),astNode:e,extensionASTNodes:n});case A.b.INPUT_OBJECT_TYPE_DEFINITION:{var d;const t=[e,...n];return new $e({name:a,description:null===(d=e.description)||void 0===d?void 0:d.value,fields:()=>O(t),astNode:e,extensionASTNodes:n,isOneOf:(c=e,Boolean(Ya(ot,c)))})}}var c}}const vi=h([...Je,...Et],e=>e.name);function hi(e){const t=Ya(nt,e);return null==t?void 0:t.reason}function gi(e){const t=Ya(it,e);return null==t?void 0:t.url}function yi(e,t){null!=e&&e.kind===A.b.DOCUMENT||(0,o.U)(!1,"Must provide valid Document AST."),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){const t=An(e);if(0!==t.length)throw new Error(t.map(e=>e.message).join("\n\n"))}(e);const a=fi({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==a.astNode)for(const e of a.types)switch(e.name){case"Query":a.query=e;break;case"Mutation":a.mutation=e;break;case"Subscription":a.subscription=e}const n=[...a.directives,...rt.filter(e=>a.directives.every(t=>t.name!==e.name))];return new Ot({...a,directives:n})}function bi(e,t){return yi((0,s.qg)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function Di(e){const t=e.toConfig(),a=g(_i(t.types),e=>e.name,function(e){if(j(e)||Tt(e))return e;if(V(e)){const t=e.toConfig();return new De({...t,interfaces:()=>l(t.interfaces),fields:()=>s(t.fields)})}if(B(e)){const t=e.toConfig();return new Oe({...t,interfaces:()=>l(t.interfaces),fields:()=>s(t.fields)})}if(L(e)){const t=e.toConfig();return new Fe({...t,types:()=>l(t.types)})}if(q(e)){const t=e.toConfig();return new Ce({...t,values:xi(t.values,e=>e)})}if(G(e)){const t=e.toConfig();return new $e({...t,fields:()=>xi(t.fields,e=>({...e,type:n(e.type)}))})}(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))});return new Ot({...t,types:Object.values(a),directives:_i(t.directives).map(function(e){const t=e.toConfig();return new Ze({...t,locations:wi(t.locations,e=>e),args:r(t.args)})}),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)});function n(e){return Q(e)?new se(n(e.ofType)):H(e)?new pe(n(e.ofType)):i(e)}function i(e){return a[e.name]}function o(e){return e&&i(e)}function r(e){return xi(e,e=>({...e,type:n(e.type)}))}function s(e){return xi(e,e=>({...e,type:n(e.type),args:e.args&&r(e.args)}))}function l(e){return _i(e).map(i)}}function xi(e,t){const a=Object.create(null);for(const n of Object.keys(e).sort(b))a[n]=t(e[n]);return a}function _i(e){return wi(e,e=>e.name)}function wi(e,t){return e.slice().sort((e,a)=>b(t(e),t(a)))}var Ei,Ti,Ni=a(67714);function Ai(e){return Si(e,e=>!st(e),Fi)}function Oi(e){return Si(e,st,Tt)}function Fi(e){return!He(e)&&!Tt(e)}function Si(e,t,a){const n=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(a);return[Ci(e),...n.map(e=>function(e){return Bi(e)+"directive @"+e.name+Ri(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e)),...i.map(e=>ki(e))].filter(Boolean).join("\n\n")}function Ci(e){if(null==e.description&&function(e){const t=e.getQueryType();if(t&&"Query"!==t.name)return!1;const a=e.getMutationType();if(a&&"Mutation"!==a.name)return!1;const n=e.getSubscriptionType();if(n&&"Subscription"!==n.name)return!1;return!0}(e))return;const t=[],a=e.getQueryType();a&&t.push(` query: ${a.name}`);const n=e.getMutationType();n&&t.push(` mutation: ${n.name}`);const i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),Bi(e)+`schema {\n${t.join("\n")}\n}`}function ki(e){return j(e)?function(e){return Bi(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";return` @specifiedBy(url: ${(0,O.y)({kind:A.b.STRING,value:e.specifiedByURL})})`}(e)}(e):V(e)?function(e){return Bi(e)+`type ${e.name}`+Ii(e)+$i(e)}(e):B(e)?function(e){return Bi(e)+`interface ${e.name}`+Ii(e)+$i(e)}(e):L(e)?function(e){const t=e.getTypes(),a=t.length?" = "+t.join(" | "):"";return Bi(e)+"union "+e.name+a}(e):q(e)?function(e){const t=e.getValues().map((e,t)=>Bi(e," ",!t)+" "+e.name+Pi(e.deprecationReason));return Bi(e)+`enum ${e.name}`+ji(t)}(e):G(e)?function(e){const t=Object.values(e.getFields()).map((e,t)=>Bi(e," ",!t)+" "+Vi(e));return Bi(e)+`input ${e.name}`+(e.isOneOf?" @oneOf":"")+ji(t)}(e):void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function Ii(e){const t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function $i(e){return ji(Object.values(e.getFields()).map((e,t)=>Bi(e," ",!t)+" "+e.name+Ri(e.args," ")+": "+String(e.type)+Pi(e.deprecationReason)))}function ji(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function Ri(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(Vi).join(", ")+")":"(\n"+e.map((e,a)=>Bi(e," "+t,!a)+" "+t+Vi(e)).join("\n")+"\n"+t+")"}function Vi(e){const t=dt(e.defaultValue,e.type);let a=e.name+": "+String(e.type);return t&&(a+=` = ${(0,O.y)(t)}`),a+Pi(e.deprecationReason)}function Pi(e){if(null==e)return"";if(e!==at){return` @deprecated(reason: ${(0,O.y)({kind:A.b.STRING,value:e})})`}return" @deprecated"}function Bi(e,t="",a=!0){const{description:n}=e;if(null==n)return"";return(t&&!a?"\n"+t:t)+(0,O.y)({kind:A.b.STRING,value:n,block:(0,Ni.CS)(n)}).replace(/\n/g,"\n"+t)+"\n"}function Mi(e){const t=[];for(const a of e)t.push(...a.definitions);return{kind:A.b.DOCUMENT,definitions:t}}function Li(e){const t=[],a=Object.create(null);for(const n of e.definitions)switch(n.kind){case A.b.OPERATION_DEFINITION:t.push(n);break;case A.b.FRAGMENT_DEFINITION:a[n.name.value]=qi(n.selectionSet)}const n=Object.create(null);for(const i of t){const t=new Set;for(const e of qi(i.selectionSet))Ui(t,a,e);n[i.name?i.name.value:""]={kind:A.b.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===A.b.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return n}function Ui(e,t,a){if(!e.has(a)){e.add(a);const n=t[a];if(void 0!==n)for(const a of n)Ui(e,t,a)}}function qi(e){const t=[];return(0,Yt.YR)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function zi(e){const t=(0,Kn._)(e)?e:new Kn.k(e),a=t.body,n=new ei.JG(t);let i="",o=!1;for(;n.advance().kind!==ti.Y.EOF;){const e=n.token,t=e.kind,r=!(0,ei.Z_)(e.kind);o&&(r||e.kind===ti.Y.SPREAD)&&(i+=" ");const s=a.slice(e.start,e.end);t===ti.Y.BLOCK_STRING?i+=(0,Ni.yo)(e.value,{minimize:!0}):i+=s,o=r}return i}function Gi(e){const t=Yi(e);if(t)throw t;return e}function Yi(e){if("string"==typeof e||(0,o.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new l.eO(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{C(e)}catch(e){return e}}function Qi(e,t){return Hi(e,t).filter(e=>e.type in Ei)}function Ji(e,t){return Hi(e,t).filter(e=>e.type in Ti)}function Hi(e,t){return[...Ki(e,t),...Wi(e,t)]}function Wi(e,t){const a=[],n=po(e.getDirectives(),t.getDirectives());for(const e of n.removed)a.push({type:Ei.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(const[e,t]of n.persisted){const n=po(e.args,t.args);for(const t of n.added)Ae(t)&&a.push({type:Ei.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(const t of n.removed)a.push({type:Ei.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});e.isRepeatable&&!t.isRepeatable&&a.push({type:Ei.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`});for(const n of e.locations)t.locations.includes(n)||a.push({type:Ei.DIRECTIVE_LOCATION_REMOVED,description:`${n} was removed from ${e.name}.`})}return a}function Ki(e,t){const a=[],n=po(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const e of n.removed)a.push({type:Ei.TYPE_REMOVED,description:He(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(const[e,t]of n.persisted)q(e)&&q(t)?a.push(...eo(e,t)):L(e)&&L(t)?a.push(...Zi(e,t)):G(e)&&G(t)?a.push(...Xi(e,t)):V(e)&&V(t)||B(e)&&B(t)?a.push(...ao(e,t),...to(e,t)):e.constructor!==t.constructor&&a.push({type:Ei.TYPE_CHANGED_KIND,description:`${e.name} changed from ${ro(e)} to ${ro(t)}.`});return a}function Xi(e,t){const a=[],n=po(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.added)Re(t)?a.push({type:Ei.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):a.push({type:Ti.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(const t of n.removed)a.push({type:Ei.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of n.persisted){oo(t.type,i.type)||a.push({type:Ei.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`})}return a}function Zi(e,t){const a=[],n=po(e.getTypes(),t.getTypes());for(const t of n.added)a.push({type:Ti.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(const t of n.removed)a.push({type:Ei.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return a}function eo(e,t){const a=[],n=po(e.getValues(),t.getValues());for(const t of n.added)a.push({type:Ti.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(const t of n.removed)a.push({type:Ei.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return a}function to(e,t){const a=[],n=po(e.getInterfaces(),t.getInterfaces());for(const t of n.added)a.push({type:Ti.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(const t of n.removed)a.push({type:Ei.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return a}function ao(e,t){const a=[],n=po(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.removed)a.push({type:Ei.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(const[t,i]of n.persisted){a.push(...no(e,t,i));io(t.type,i.type)||a.push({type:Ei.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`})}return a}function no(e,t,a){const n=[],i=po(t.args,a.args);for(const a of i.removed)n.push({type:Ei.ARG_REMOVED,description:`${e.name}.${t.name} arg ${a.name} was removed.`});for(const[a,o]of i.persisted){if(oo(a.type,o.type)){if(void 0!==a.defaultValue)if(void 0===o.defaultValue)n.push({type:Ti.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${a.name} defaultValue was removed.`});else{const i=so(a.defaultValue,a.type),r=so(o.defaultValue,o.type);i!==r&&n.push({type:Ti.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${a.name} has changed defaultValue from ${i} to ${r}.`})}}else n.push({type:Ei.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${a.name} has changed type from ${String(a.type)} to ${String(o.type)}.`})}for(const a of i.added)Ae(a)?n.push({type:Ei.REQUIRED_ARG_ADDED,description:`A required arg ${a.name} on ${e.name}.${t.name} was added.`}):n.push({type:Ti.OPTIONAL_ARG_ADDED,description:`An optional arg ${a.name} on ${e.name}.${t.name} was added.`});return n}function io(e,t){return Q(e)?Q(t)&&io(e.ofType,t.ofType)||H(t)&&io(e,t.ofType):H(e)?H(t)&&io(e.ofType,t.ofType):fe(t)&&e.name===t.name||H(t)&&io(e,t.ofType)}function oo(e,t){return Q(e)?Q(t)&&oo(e.ofType,t.ofType):H(e)?H(t)&&oo(e.ofType,t.ofType)||!H(t)&&oo(e.ofType,t):fe(t)&&e.name===t.name}function ro(e){return j(e)?"a Scalar type":V(e)?"an Object type":B(e)?"an Interface type":L(e)?"a Union type":q(e)?"an Enum type":G(e)?"an Input type":void(0,pt.V)(!1,"Unexpected type: "+(0,p.N)(e))}function so(e,t){const a=dt(e,t);return null!=a||(0,pt.V)(!1),(0,O.y)(va(a))}function po(e,t){const a=[],n=[],i=[],o=h(e,({name:e})=>e),r=h(t,({name:e})=>e);for(const t of e){const e=r[t.name];void 0===e?n.push(t):i.push([t,e])}for(const e of t)void 0===o[e.name]&&a.push(e);return{added:a,persisted:i,removed:n}}function lo(e,t){return co(e,(0,s.Ng)(t))}function co(e,t){switch(t.kind){case A.b.TYPE_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(null!=n)return{kind:"NamedType",type:n}}(e,t);case A.b.MEMBER_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(!n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a type in the schema.`);if(!(q(n)||G(n)||V(n)||B(n)))throw new Error(`Expected ${(0,p.N)(a)} to be an Enum, Input Object, Object or Interface type.`);if(q(n)){const e=t.memberName.value,a=n.getValue(e);if(null==a)return;return{kind:"EnumValue",type:n,enumValue:a}}if(G(n)){const e=t.memberName.value,a=n.getFields()[e];if(null==a)return;return{kind:"InputField",type:n,inputField:a}}const i=t.memberName.value,o=n.getFields()[i];if(null!=o)return{kind:"Field",type:n,field:o}}(e,t);case A.b.ARGUMENT_COORDINATE:return function(e,t){const a=t.name.value,n=e.getType(a);if(null==n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a type in the schema.`);if(!V(n)&&!B(n))throw new Error(`Expected ${(0,p.N)(a)} to be an object type or interface type.`);const i=t.fieldName.value,o=n.getFields()[i];if(null==o)throw new Error(`Expected ${(0,p.N)(i)} to exist as a field of type ${(0,p.N)(a)} in the schema.`);const r=t.argumentName.value,s=o.args.find(e=>e.name===r);if(null!=s)return{kind:"FieldArgument",type:n,field:o,fieldArgument:s}}(e,t);case A.b.DIRECTIVE_COORDINATE:return function(e,t){const a=t.name.value,n=e.getDirective(a);if(n)return{kind:"Directive",directive:n}}(e,t);case A.b.DIRECTIVE_ARGUMENT_COORDINATE:return function(e,t){const a=t.name.value,n=e.getDirective(a);if(!n)throw new Error(`Expected ${(0,p.N)(a)} to be defined as a directive in the schema.`);const{argumentName:{value:i}}=t,o=n.args.find(e=>e.name===i);if(o)return{kind:"DirectiveArgument",directive:n,directiveArgument:o}}(e,t)}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(Ei||(Ei={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(Ti||(Ti={}))},4887:e=>{e.exports.mixin=function(e,t){const a=Object.getOwnPropertyNames(t);for(let n=0;n<a.length;++n)Object.defineProperty(e,a[n],Object.getOwnPropertyDescriptor(t,a[n]))},e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl"),e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]},e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},5018:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},5523:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},5762:(e,t,a)=>{a.d(t,{x:()=>i});var n=a(36054);function i(e,t,a){return new n.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(a){if(e){var o=function(){return n.closed?0:e(a)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](a)}}var r={next:o(t,"next"),error:o(a,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(r);return function(){return s.unsubscribe()}})}},6939:(e,t,a)=>{a.d(t,{Iy:()=>o,S5:()=>s,yd:()=>p});var n=a(88568),i=a(34992),o=(e,t,a)=>({label:e,ok:t,detail:a}),r=e=>null==e?n.Ay.gray("N/A"):"object"==typeof e?n.Ay.gray(JSON.stringify(e,null,2)):String(e),s=({action:e,target:t,request:a,checks:o=[],json:s=!1})=>{var p={ok:!0,dryRun:!0,action:e,target:t||null,request:a||null,checks:o};s?(0,i.GF)(p):(console.log(n.Ay.bold(`\nDry Run: ${e}`)),console.log("─".repeat(60)),t&&(console.log(n.Ay.bold("Target")),Object.entries(t).forEach(([e,t])=>{console.log(`${e}: ${r(t)}`)})),a&&(console.log(`\n${n.Ay.bold("Request")}`),Object.entries(a).forEach(([e,t])=>{console.log(`${e}: ${r(t)}`)})),o.length>0&&(console.log(`\n${n.Ay.bold("Checks")}`),o.forEach(e=>{var t=e.ok?n.Ay.green("OK"):n.Ay.red("FAIL"),a=e.detail?` ${e.detail}`:"";console.log(`${t} ${e.label}${a}`)})),console.log("─".repeat(60)))},p=({action:e,target:t,result:a=null,json:n=!1,message:o})=>{n?(0,i.GF)({ok:!0,dryRun:!1,action:e,target:t||null,result:a}):o&&console.log(o)}},7029:(e,t,a)=>{a.d(t,{AutoCleanedStrongCache:()=>Q.V,AutoCleanedWeakCache:()=>Q.A,Concast:()=>k.E,DEV:()=>n.DEV,DeepMerger:()=>h.ZI,DocumentTransform:()=>o.c,Observable:()=>_.c,addNonReactiveToNamedFragments:()=>d.x3,addTypenameToDocument:()=>d.XY,argumentsObjectFromField:()=>l.MB,asyncMap:()=>C.x,buildQueryFromSelectionSet:()=>d.zc,cacheSizes:()=>J.v,canUseAsyncIteratorSymbol:()=>V.uJ,canUseDOM:()=>V.Sw,canUseLayoutEffect:()=>V.JR,canUseSymbol:()=>V.ol,canUseWeakMap:()=>V.et,canUseWeakSet:()=>V.En,canonicalStringify:()=>q.M,checkDocument:()=>s.sw,cloneDeep:()=>O.m,compact:()=>P.o,concatPagination:()=>g,createFragmentMap:()=>r.JG,createFulfilledPromise:()=>w,createRejectedPromise:()=>E,fixObservableSubclass:()=>I.r,getDefaultValues:()=>s.wY,getDirectiveNames:()=>i.sx,getFragmentDefinition:()=>s.E4,getFragmentDefinitions:()=>s.zK,getFragmentFromSelection:()=>r.HQ,getFragmentMaskMode:()=>i.s7,getFragmentQueryDocument:()=>r.ct,getGraphQLErrorsFromResult:()=>R.M,getInclusionDirectives:()=>i.tY,getMainDefinition:()=>s.Vn,getOperationDefinition:()=>s.Vu,getOperationName:()=>s.n4,getQueryDefinition:()=>s.AT,getStoreKeyName:()=>l.o5,getTypenameFromResult:()=>l.D$,graphQLResultHasError:()=>R.t,hasAllDirectives:()=>i.I5,hasAnyDirectives:()=>i.hE,hasClientExports:()=>i.f2,hasDirectives:()=>i.d8,isApolloPayloadResult:()=>U.Nw,isArray:()=>$.c,isDocumentNode:()=>l.Kc,isExecutionPatchIncrementalResult:()=>U.ST,isExecutionPatchInitialResult:()=>U.EQ,isExecutionPatchResult:()=>U.YX,isField:()=>l.dt,isFullyUnmaskedOperation:()=>r.s6,isInlineFragment:()=>l.kd,isMutationOperation:()=>u,isNonEmptyArray:()=>$.E,isNonNullObject:()=>j.U,isPlainObject:()=>j.Q,isQueryOperation:()=>m,isReference:()=>l.A_,isStatefulPromise:()=>T,isSubscriptionOperation:()=>f,iterateObserversSafely:()=>S.w,makeReference:()=>l.WU,makeUniqueId:()=>B.v,maybe:()=>n.maybe,maybeDeepFreeze:()=>F.G,mergeDeep:()=>h.D9,mergeDeepArray:()=>h.IM,mergeIncrementalData:()=>U.bd,mergeOptions:()=>L.l,offsetLimitPagination:()=>y,omitDeep:()=>z,preventUnhandledRejection:()=>A.X,print:()=>p.y,relayStylePagination:()=>b,removeArgumentsFromDocument:()=>d.it,removeClientSetsFromDocument:()=>d.er,removeConnectionDirectiveFromDocument:()=>d.hX,removeDirectivesFromDocument:()=>d.iz,removeFragmentSpreadFromDocument:()=>d.TC,resultKeyNameFromField:()=>l.ue,shouldInclude:()=>i.MS,storeKeyNameFromField:()=>l.Ii,stringifyForDisplay:()=>M.p,stripTypename:()=>Y,valueToObjectRepresentation:()=>l.J,wrapPromiseWithState:()=>N}),a.r(t);var n=a(79212),i=a(82307),o=a(9354),r=a(2904),s=a(3777),p=a(38678),l=a(28907),d=a(53925);function c(e,t){var a;return(null===(a=(0,s.Vu)(e))||void 0===a?void 0:a.operation)===t}function u(e){return c(e,"mutation")}function m(e){return c(e,"query")}function f(e){return c(e,"subscription")}var v=a(85608),h=a(30671);function g(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t){return e?(0,v.__spreadArray)((0,v.__spreadArray)([],e,!0),t,!0):t}}}function y(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,a){var n=a.args,i=e?e.slice(0):[];if(t)if(n)for(var o=n.offset,r=void 0===o?0:o,s=0;s<t.length;++s)i[r+s]=t[s];else i.push.apply(i,t);return i}}}function b(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var a=t.canRead,n=t.readField;if(!e)return e;var i=[],o="",r="";e.edges.forEach(function(e){a(n("node",e))&&(i.push(e),e.cursor&&(o=o||e.cursor||"",r=e.cursor||r))}),i.length>1&&o===r&&(o="");var s=e.pageInfo||{},p=s.startCursor,l=s.endCursor;return(0,v.__assign)((0,v.__assign)({},D(e)),{edges:i,pageInfo:(0,v.__assign)((0,v.__assign)({},e.pageInfo),{startCursor:p||o,endCursor:l||r})})},merge:function(e,t,a){var n=a.args,i=a.isReference,o=a.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var r=t.edges?t.edges.map(function(e){return i(e=(0,v.__assign)({},e))&&(e.cursor=o("cursor",e)),e}):[];if(t.pageInfo){var s=t.pageInfo,p=s.startCursor,l=s.endCursor,d=r[0],c=r[r.length-1];d&&p&&(d.cursor=p),c&&l&&(c.cursor=l);var u=d&&d.cursor;u&&!p&&(t=(0,h.D9)(t,{pageInfo:{startCursor:u}}));var m=c&&c.cursor;m&&!l&&(t=(0,h.D9)(t,{pageInfo:{endCursor:m}}))}var f=e.edges,g=[];if(n&&n.after)(y=f.findIndex(function(e){return e.cursor===n.after}))>=0&&(f=f.slice(0,y+1));else if(n&&n.before){var y;g=(y=f.findIndex(function(e){return e.cursor===n.before}))<0?f:f.slice(y),f=[]}else t.edges&&(f=[]);var b=(0,v.__spreadArray)((0,v.__spreadArray)((0,v.__spreadArray)([],f,!0),r,!0),g,!0),x=(0,v.__assign)((0,v.__assign)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var _=t.pageInfo,w=_.hasPreviousPage,E=_.hasNextPage,T=(p=_.startCursor,l=_.endCursor,(0,v.__rest)(_,["hasPreviousPage","hasNextPage","startCursor","endCursor"]));Object.assign(x,T),f.length||(void 0!==w&&(x.hasPreviousPage=w),void 0!==p&&(x.startCursor=p)),g.length||(void 0!==E&&(x.hasNextPage=E),void 0!==l&&(x.endCursor=l))}return(0,v.__assign)((0,v.__assign)((0,v.__assign)({},D(e)),D(t)),{edges:b,pageInfo:x})}}}var D=function(e){return(0,v.__rest)(e,x)},x=["edges","pageInfo"];var _=a(36054);function w(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function E(e){var t=Promise.reject(e);return t.catch(function(){}),t.status="rejected",t.reason=e,t}function T(e){return"status"in e}function N(e){if(T(e))return e;var t=e;return t.status="pending",t.then(function(e){if("pending"===t.status){var a=t;a.status="fulfilled",a.value=e}},function(e){if("pending"===t.status){var a=t;a.status="rejected",a.reason=e}}),e}var A=a(30234),O=a(20906),F=a(57236),S=a(87613),C=a(5762),k=a(45637),I=a(35892),$=a(73767),j=a(21777),R=a(32710),V=a(51360),P=a(50492),B=a(21461),M=a(86563),L=a(31507),U=a(37396),q=a(44214);function z(e,t){return G(e,t)}function G(e,t,a){if(void 0===a&&(a=new Map),a.has(e))return a.get(e);var n=!1;if(Array.isArray(e)){var i=[];if(a.set(e,i),e.forEach(function(e,o){var r=G(e,t,a);n||(n=r!==e),i[o]=r}),n)return i}else if((0,j.Q)(e)){var o=Object.create(Object.getPrototypeOf(e));if(a.set(e,o),Object.keys(e).forEach(function(i){if(i!==t){var r=G(e[i],t,a);n||(n=r!==e[i]),o[i]=r}else n=!0}),n)return o}return e}function Y(e){return z(e,"__typename")}var Q=a(45078),J=a(555)},7054:(e,a,n)=>{n.d(a,{u:()=>E});var i=n(68832),o=n(99436);const r=t("fs/promises");var s,p,l,d,c,u=n(16928),m=n(35679),f=n(88568),v=n(29790),h=n(86090),g=n(74752),y=n(50700),b=n(47336),D=()=>{var e=(0,g.getCurrentProfile)(),t=(0,g.getToken)(e);return t||(console.error(f.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),(0,y.createClient)((0,g.getBaseUrl)(),t)},x=(s=o(function*(e){var t=yield e.workspace();if(!(0,b.wR)(t))throw new Error("Media workspace not enabled for this workspace")}),function(e){return s.apply(this,arguments)}),_=e=>{var t=e.meta||{};if(!t.originalFileUploaded)return{ready:!1,label:"Uploading"};if("Video"===e.fileType){if(!t.videoThumbOriginalFileKey)return{ready:!1,label:"Processing"};if(!t.convertedFileUploaded)return{ready:!1,label:"Transcoding"}}return{ready:!0,label:"Ready"}},w=e=>e.ready?f.Ay.green(e.label):f.Ay.yellow(e.label),E=new m.uB("media").description("Media Flow support");E.command("boxes").description("List Media Flow boxes").option("-j, --json","Output as JSON").action((p=o(function*(e){var t=D(),a=(0,v.default)("Fetching media boxes...").start();try{yield x(t);var n=yield t.mediaBoxes();if(a.stop(),e.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(f.Ay.yellow("No media boxes found"));console.log(f.Ay.bold("\nMedia Boxes")),console.log("─".repeat(80)),n.forEach(e=>{console.log(`${f.Ay.cyan(e.name||"Unnamed")} ${f.Ay.gray(e.id)}`),e.description&&console.log(` ${e.description}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),null!=e.size&&console.log(` Size: ${e.size}`),console.log()})}catch(e){a.fail(`Failed to list media boxes: ${e.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),E.command("box <id>").description("Get Media Flow box details").option("-j, --json","Output as JSON").action((l=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media box...").start();try{yield x(a);var i=yield a.mediaBox({id:e});if(n.stop(),i||(console.log(f.Ay.red("Media box not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));console.log(f.Ay.bold(`\nMedia Box: ${i.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${f.Ay.gray(i.id)}`),console.log(`Description: ${i.description||f.Ay.gray("N/A")}`),console.log(`Tags: ${i.tags?.join(", ")||f.Ay.gray("None")}`),null!=i.size&&console.log(`Size: ${i.size}`),i.passcodes?.length&&(console.log(`\n${f.Ay.bold("Passcodes")}`),i.passcodes.forEach(e=>{console.log(`- ${e.name||"Passcode"}: ${e.code}`)})),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get media box: ${e.message}`),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),E.command("files <boxId>").description("List Media Flow files in a box").option("-t, --types <types>","Comma-separated file types to include").option("-u, --user-tag <tag>","Filter by user tag (repeatable)",(e,t)=>[...t,e],[]).option("-l, --limit <limit>","Limit results",e=>Number.parseInt(e,10)).option("-o, --offset <offset>","Offset results",e=>Number.parseInt(e,10)).option("-j, --json","Output as JSON").action((d=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media files...").start();try{yield x(a);var i=t.types?t.types.split(",").map(e=>e.trim()).filter(Boolean):void 0,o=t.userTag?.length?t.userTag:void 0,r=yield a.mediaFiles({boxId:e,includeTypes:i,userTags:o,limit:t.limit,offset:t.offset});if(n.stop(),t.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(f.Ay.yellow("No media files found"));console.log(f.Ay.bold(`\nMedia Files (${r.length})`)),console.log("─".repeat(100)),r.forEach(e=>{var t=_(e);console.log(`${f.Ay.cyan(e.name||"Unnamed")} ${f.Ay.gray(e.id)}`),console.log(` Type: ${e.fileType} Status: ${w(t)}`),e.userTags?.length&&console.log(` Tags: ${e.userTags.join(", ")}`),e.updatedAt&&console.log(` Updated: ${new Date(e.updatedAt).toLocaleString()}`),console.log()})}catch(e){n.fail(`Failed to list media files: ${e.message}`),process.exit(1)}}),function(e,t){return d.apply(this,arguments)})),E.command("file <id>").description("Get Media Flow file details").option("-j, --json","Output as JSON").action((c=o(function*(e,t){var a=D(),n=(0,v.default)("Fetching media file...").start();try{yield x(a);var i=yield a.mediaFile({id:e});if(n.stop(),i||(console.log(f.Ay.red("Media file not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));var o=_(i);console.log(f.Ay.bold(`\nMedia File: ${i.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${f.Ay.gray(i.id)}`),console.log(`Box ID: ${f.Ay.gray(i.boxId)}`),console.log(`Type: ${i.fileType}`),console.log(`Status: ${w(o)}`),console.log(`Description: ${i.description||f.Ay.gray("N/A")}`),console.log(`Tags: ${i.userTags?.join(", ")||f.Ay.gray("None")}`),console.log(`Created: ${f.Ay.gray(i.createdAt||"N/A")}`),console.log(`Updated: ${f.Ay.gray(i.updatedAt||"N/A")}`);var r=(0,b.Gu)(i),s=(0,b.Gu)(i,{preferThumbnail:!0});i.meta?.originalFileKey&&console.log(`Original Key: ${f.Ay.gray(i.meta.originalFileKey)}`),r&&console.log(`Original URL: ${f.Ay.gray(r)}`),s&&s!==r&&console.log(`Thumbnail URL: ${f.Ay.gray(s)}`),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get media file: ${e.message}`),process.exit(1)}}),function(e,t){return c.apply(this,arguments)}));var T,N,A,O=e=>{var t=e.match(/^(\d+)x(\d+)(?::(\w+))?$/);if(!t)throw new Error(`Invalid image version spec: "${e}". Expected format: WxH or WxH:STRATEGY`);return{width:parseInt(t[1],10),height:parseInt(t[2],10),strategy:(t[3]||"FILL").toUpperCase(),copypreview:!1}},F=(T=o(function*(e,t,a,n,o){var r=new FormData;for(var s of Object.entries(t)){var p=i(s,2),l=p[0],d=p[1];r.append(l,d)}r.append("file",new Blob([a],{type:o}),n);var c=yield fetch(e,{method:"POST",body:r});if(!c.ok&&204!==c.status){var u=yield c.text().catch(()=>"");throw new Error(`S3 upload failed (${c.status}): ${u}`)}}),function(e,t,a,n,i){return T.apply(this,arguments)}),S=(N=o(function*(e,t,a){var n,i=[],r=0,s=(n=o(function*(){for(;r<e.length;){var t=r++;i[t]=yield a(e[t],t)}}),function(){return n.apply(this,arguments)}),p=Array.from({length:Math.min(t,e.length)},()=>s());return yield Promise.all(p),i}),function(e,t,a){return N.apply(this,arguments)});E.command("upload <boxId> <files...>").description("Upload file(s) to a Media Flow box").option("-d, --description <text>","File description","").option("-t, --user-tag <tag>","User tag (repeatable, max 15)",(e,t)=>[...t,e],[]).option("--image-version <spec>","Image resize spec as WxH or WxH:STRATEGY (repeatable)",(e,t)=>[...t,e],[]).option("--image-version-type <type>","Image output format: jpg or png").option("--enable-ai-analysis","Enable AI analysis on uploaded files").option("--ai-instruction <text>","Custom AI analysis instruction").option("--concurrency <n>","Max concurrent uploads",e=>parseInt(e,10),3).option("-j, --json","Output as JSON").action((A=o(function*(e,t,a){var n,i,s=D(),p=(0,v.default)("Preparing upload...").start();try{if(yield x(s),a.userTag.length>15)throw new Error("Maximum 15 user tags allowed");var l=a.imageVersion.map(O),d=a.enableAiAnalysis||!!a.aiInstruction,c=yield Promise.all(t.map((i=o(function*(e){var t=(0,u.resolve)(e),a=yield(0,r.stat)(t).catch(()=>null);if(!a||!a.isFile())throw new Error(`Not a file: ${e}`);var n=(0,u.basename)(t);return{filePath:t,fileName:n,contentType:(0,h.lookup)(n)||"application/octet-stream",size:a.size}}),function(e){return i.apply(this,arguments)})));p.stop();var m=c.length;console.log(f.Ay.bold(`\nUploading ${m} file${m>1?"s":""} to box ${f.Ay.gray(e)}...\n`));var g=[];yield S(c,a.concurrency,(n=o(function*(t,n){var i,o,p=`[${n+1}/${m}] ${t.fileName}`,c=(0,v.default)(`${p} — requesting upload...`).start();try{var u=(o=t.contentType)?"image/svg+xml"===o?"FILE":o.startsWith("image/")?"IMAGE":o.startsWith("video/")?"VIDEO":o.startsWith("audio/")?"AUDIO":"FILE":"FILE",h={imageVersions:"IMAGE"===u?l:[],imageVersionType:"IMAGE"===u?a.imageVersionType:void 0,enableAiAnalysis:d,aiCustomInstruction:a.aiInstruction||void 0},y=yield s.createMediaFileUploadRequest({name:t.fileName,description:a.description,boxId:e,fileType:u,contentType:t.contentType,userTags:a.userTag.length?a.userTag:[],meta:h});c.text=`${p} — uploading to storage...`;var b=JSON.parse(y.meta.uploadInfo),D=yield(0,r.readFile)(t.filePath);yield F(b.url,{AWSAccessKeyId:b.AWSAccessKeyId,"Content-Type":b["Content-Type"],key:b.key,Signature:b.Signature,Policy:b.Policy,acl:b.acl},D,t.fileName,t.contentType),c.succeed(`${p} ${f.Ay.green("✓")} ${f.Ay.gray(`(${u}, ${i=t.size,i<1024?`${i} B`:i<1048576?`${(i/1024).toFixed(1)} KB`:i<1073741824?`${(i/1048576).toFixed(1)} MB`:`${(i/1073741824).toFixed(1)} GB`})`)}`),g.push({file:t.fileName,id:y.id,status:"success",fileType:u,size:t.size})}catch(e){c.fail(`${p} — ${e.message}`),g.push({file:t.fileName,id:null,status:"failed",error:e.message})}}),function(e,t){return n.apply(this,arguments)}));var y=g.filter(e=>"success"===e.status).length,b=g.filter(e=>"failed"===e.status).length;a.json?console.log(JSON.stringify({boxId:e,results:g,summary:{total:m,success:y,failed:b}},null,2)):(console.log(),0===b?console.log(f.Ay.green(`Uploaded ${y}/${m} files`)):console.log(f.Ay.yellow(`Uploaded ${y}/${m} files (${b} failed)`))),b>0&&process.exit(1)}catch(e){p.fail(`Upload failed: ${e.message}`),process.exit(1)}}),function(e,t,a){return A.apply(this,arguments)}))},7066:e=>{e.exports=t("node:tty")},7089:(e,t,a)=>{a.d(t,{oT:()=>d});var n=a(35679),i=a(88568),o=a(74752),r={prod:"https://display.bricks.tools",beta:"https://display-beta.bricks.tools",dev:"http://localhost:3001"},s=e=>{var t=Object.entries(r).find(([,t])=>e===t);return t?t[0]:null},p={prod:"https://activity-log.bricks.tools",beta:"https://activity-log-beta.bricks.tools",dev:"http://localhost:8088"},l=e=>{var t=Object.entries(p).find(([,t])=>e===t);return t?t[0]:null},d=new n.uB("config").description("CLI configuration management");d.command("endpoint").argument("[environment]","Environment to use (prod, beta, dev)").description("Show or set endpoint environment").option("-p, --profile","Set for current profile instead of global").action((e,t)=>{if(!e){var a=(0,o.getBaseUrl)(),n=s(a),d=(0,o.getActivityLogBaseUrl)(),c=l(d);return console.log(i.Ay.bold("\nEndpoint Configuration")),console.log("─".repeat(50)),console.log(i.Ay.bold("BRICKS")),console.log(` URL: ${i.Ay.cyan(a)}`),console.log(` Environment: ${n?i.Ay.green(n):i.Ay.yellow("custom")}`),console.log(i.Ay.bold("Activity Log")),console.log(` URL: ${i.Ay.cyan(d)}`),console.log(` Environment: ${c?i.Ay.green(c):i.Ay.yellow("custom")}`),console.log("─".repeat(50)),void console.log(i.Ay.gray("\nUsage: bricks config endpoint <prod|beta|dev>"))}var u=Object.keys(r);u.includes(e)||(console.error(i.Ay.red(`Invalid environment: ${e}`)),console.log(i.Ay.gray(`Valid options: ${u.join(", ")}`)),process.exit(1));var m=r[e],f=p[e],v=t.profile?(0,o.getCurrentProfile)():null;(0,o.setBaseUrl)(m,v),(0,o.setActivityLogBaseUrl)(f,v);var h=t.profile?` (profile: ${(0,o.getCurrentProfile)()})`:"";console.log(i.Ay.green(`✓ Endpoint changed to ${e}${h}`)),console.log(i.Ay.gray(` BRICKS: ${m}`)),console.log(i.Ay.gray(` Activity Log: ${f}`)),console.log(i.Ay.yellow("\nNote: You may need to re-authenticate if your token is for a different environment.")),console.log(i.Ay.gray("Use `bricks auth status` to check your connection."))}),d.command("show").description("Show current configuration").option("-j, --json","Output as JSON").action(e=>{var t=(0,o.getBaseUrl)(),a=s(t);if(e.json)console.log(JSON.stringify({endpoint:t,environment:a||"custom"},null,2));else{console.log(i.Ay.bold("\nBRICKS CLI Configuration")),console.log("─".repeat(50)),console.log(`BRICKS: ${i.Ay.cyan(t)}`),a?console.log(`Environment: ${i.Ay.green(a)}`):console.log(`Environment: ${i.Ay.yellow("custom")}`);var n=(0,o.getActivityLogBaseUrl)(),r=l(n);console.log(`Activity Log: ${i.Ay.cyan(n)} ${r?i.Ay.green(`(${r})`):i.Ay.yellow("(custom)")}`),console.log("─".repeat(50))}})},8238:(e,t,a)=>{a.d(t,{C:()=>o,V:()=>i});var n=a(73971);function i(e){return o(e.source,(0,n.g)(e.source,e.start))}function o(e,t){const a=e.locationOffset.column-1,n="".padStart(a)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,p=1===t.line?a:0,l=t.column+p,d=`${e.name}:${s}:${l}\n`,c=n.split(/\r\n|[\n\r]/g),u=c[i];if(u.length>120){const e=Math.floor(l/80),t=l%80,a=[];for(let e=0;e<u.length;e+=80)a.push(u.slice(e,e+80));return d+r([[`${s} |`,a[0]],...a.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",a[e+1]]])}return d+r([[s-1+" |",c[i-1]],[`${s} |`,u],["|","^".padStart(l)],[`${s+1} |`,c[i+1]]])}function r(e){const t=e.filter(([e,t])=>void 0!==t),a=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(a)+(t?" "+t:"")).join("\n")}},8271:(e,t,a)=>{a.r(t),a.d(t,{application:()=>c,applicationProject:()=>w,applications:()=>u,checkBindDevicePasscode:()=>h,device:()=>r,deviceGroup:()=>p,deviceGroups:()=>l,deviceUsage:()=>_,devices:()=>s,devicesByGroup:()=>d,mediaBox:()=>D,mediaBoxes:()=>b,mediaFile:()=>x,mediaFiles:()=>g,mediaWorkspace:()=>y,module:()=>m,moduleProject:()=>E,modules:()=>f,publicModules:()=>v,workspace:()=>o});var n=a(94370),i=a(67370),o=n.default`
|
|
2
2
|
query CLI_workspace {
|
|
3
3
|
workspace {
|
|
4
4
|
...cliWorkspaceArguments
|
|
@@ -275,7 +275,7 @@ import{createRequire as e}from"node:module";const t=e(import.meta.url);import*as
|
|
|
275
275
|
setupGeminiCLI: $setupGeminiCLI
|
|
276
276
|
)
|
|
277
277
|
}
|
|
278
|
-
`},8498:(e,t,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({Box:()=>a.Box,Text:()=>a.Text,render:()=>a.render,useApp:()=>a.useApp,useInput:()=>a.useInput})},9354:(e,t,a)=>{a.d(t,{c:()=>c});var n=a(44592),i=a(51360),o=a(3777),r=a(79212),s=a(54019),p=a(77634),l=a(555);function d(e){return e}var c=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(d,{cache:!1})},e.split=function(t,a,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?a:n).transformDocument(e)},{cache:!1}),{left:a,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var a=new n.Trie(i.et);this.performWork=(0,p.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,r.invariant)(Array.isArray(n),77),a.lookupArray(n)},max:l.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var a=this;return Object.assign(new e(function(e){return t.transformDocument(a.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},9873:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,a){return new Promise((n,i)=>{e.call(this,t,a,(e,t)=>{e?i(e):n(t)})})}}},11151:(e,t,a)=>{a.d(t,{E:()=>i});var n=a(63647);function i(e,t){var a=[],i=function(e,t){a.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var r=void 0;try{r=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",r)}var s="",p=e,l=e.indexOf("#");-1!==l&&(s=e.substr(l),p=e.substr(0,l));var d=-1===p.indexOf("?")?"?":"&";return{newURI:p+d+a.join("&")+s}}},12039:(e,t,a)=>{var n;a.d(t,{Y:()=>n}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(n||(n={}))},12044:(e,t,a)=>{a.r(t),a.d(t,{discoverDevToolsServers:()=>d,httpProbeSubnet:()=>c,verifyDevToolsServer:()=>u});var n,i,o=a(99436),r=a(41314),s=a(48161),p="bricks-devtools",l=()=>{var e=[],t=s.networkInterfaces();for(var a of Object.values(t)){var n=function(){if("IPv4"!==i.family||i.internal)return 1;var t=i.address.split(".").map(Number),a=i.netmask.split(".").map(Number),n=t.map((e,t)=>(e|255&~a[t]).toString()).join(".");e.push({address:i.address,broadcast:n})};for(var i of a)n()}return e},d=({timeout:e=3e3,idleTimeout:t=0}={})=>new Promise((a,n)=>{var i=new Map,o=r.createSocket("udp4"),s=null,d=null,c=!1,u=()=>{if(!c){c=!0,clearTimeout(s),clearTimeout(d);try{o.close()}catch{}a([...i.values()])}};o.on("error",e=>{if(!c){c=!0,clearTimeout(s),clearTimeout(d);try{o.close()}catch{}n(e)}}),o.on("message",(e,a)=>{try{var n=JSON.parse(e.toString());if(n.s!==p)return;if("ANNOUNCE"!==n.t&&"RESPONSE"!==n.t)return;var o=n.d?.info;if(!o)return;var r=a.address,s=`${r}:${o.port}`;i.has(s)||(i.set(s,{...o,address:r}),t&&!c&&(clearTimeout(d),d=setTimeout(u,t)))}catch{}}),o.bind(()=>{o.setBroadcast(!0);var t=Buffer.from(JSON.stringify({t:"QUERY",v:"1.0",s:p,d:{id:`cli-${Math.random().toString(36).substring(2,9)}`}})),a=new Set(["255.255.255.255","127.0.0.1"]);for(var n of l())a.add(n.broadcast);for(var i of a)o.send(t,0,t.length,19900,i);s=setTimeout(u,e)})}),c=(n=o(function*({port:e=19851,connectTimeout:t=500,concurrency:a=50,timeout:n=0}={}){var i=l();if(0===i.length)return[];var r=[],s=n>0?Date.now()+n:0,p=[],d=new Set;for(var c of i){var m=c.address.split(".").slice(0,3).join(".");if(!d.has(m)){d.add(m);for(var f=1;f<255;f++)p.push(`${m}.${f}`)}}for(var v=0;v<p.length&&!(s&&Date.now()>=s);v+=a){var h=p.slice(v,v+a);yield Promise.allSettled(h.map(function(){var a=o(function*(a){var n=yield u(a,e,t);n&&r.push({...n,address:a,port:e})});return function(e){return a.apply(this,arguments)}}()))}return r}),function(){return n.apply(this,arguments)}),u=(i=o(function*(e,t,a=3e3){try{var n=new AbortController,i=setTimeout(()=>n.abort(),a),o=yield fetch(`http://${e}:${t}/devtools/info`,{signal:n.signal});return clearTimeout(i),o.ok?yield o.json():null}catch{return null}}),function(e,t){return i.apply(this,arguments)})},12534:(e,t,a)=>{a.d(t,{HttpLink:()=>d.P,checkFetcher:()=>r.S,createHttpLink:()=>l.$,createSignalIfSupported:()=>s,defaultPrinter:()=>o.i1,fallbackHttpConfig:()=>o.R4,parseAndCheckHttpResponse:()=>n.OQ,rewriteURIForGET:()=>c.E,selectHttpOptionsAndBody:()=>o.Wz,selectHttpOptionsAndBodyInternal:()=>o.HY,selectURI:()=>p.z,serializeFetchParameter:()=>i.Y}),a.r(t);a(79212);var n=a(24874),i=a(63647),o=a(74559),r=a(67195),s=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},p=a(33068),l=a(79760),d=a(49952),c=a(11151)},13193:e=>{e.exports=t("string_decoder")},13675:(e,t,a)=>{a.d(t,{K:()=>o});var n=a(79896),i=a(16928),o=e=>{if(e.endsWith(".json")||e.includes("/")){if(!n.existsSync(e))throw new Error(`Config file not found: ${e}`);var t=n.readFileSync(e,"utf-8");return{config:t,source:{type:"file",path:i.resolve(e)},sizeBytes:Buffer.byteLength(t)}}return{config:e,source:{type:"inline"},sizeBytes:Buffer.byteLength(e)}}},14319:e=>{function t(a){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},14778:(e,t,a)=>{a.a(e,async(e,n)=>{try{a.d(t,{D:()=>v});var i=a(35679),o=a(69278),r=a(16928),s=a(70857),p=a(84361),l=e([p]),d=l.then?(await l)():l;p=d[0];var c=process.env.BRICKS_PROJECT_DESKTOP_DATA_DIR||r.join(s.homedir(),".bricks-project-desktop"),u=r.join(c,"acp.sock"),m=`[acp] Cannot connect to CTOR.\n Make sure the desktop app is running and ACP is enabled in Settings.\n Socket: ${u}\n`,f=e=>{var t=new o.Socket,a="",n=!1,i=[];t.on("error",t=>{var a="ENOENT"===t.code||"ECONNREFUSED"===t.code?"CTOR not reachable (is the desktop app running with ACP enabled?)":`socket error: ${t.message}`;process.stderr.write(`[acp] ${a}\n`);try{e.close(1011,a)}catch{}}),t.on("connect",()=>{n=!0,(()=>{for(;i.length>0;)t.write(i.shift())})()}),t.on("data",t=>{var n;for(a+=t.toString("utf8");-1!==(n=a.indexOf("\n"));){var i=a.slice(0,n);a=a.slice(n+1),i.length>0&&e.readyState===e.OPEN&&e.send(i)}}),t.on("close",()=>{a.length>0&&e.readyState===e.OPEN&&(e.send(a),a="");try{e.close()}catch{}}),e.on("message",(e,a)=>{var o=a?Buffer.from(e).toString("utf8"):e.toString(),r=o.endsWith("\n")?o:o+"\n";n?t.write(r):i.push(r)}),e.on("close",()=>t.destroy()),e.on("error",()=>t.destroy()),t.connect(u)},v=new i.uB("desktop-acp-bridge").description("ACP bridge — connects acpx to the running CTOR desktop app").option("--ws","Start a WebSocket server that bridges the Unix socket instead of using stdio").option("--host <host>","WebSocket server bind host (default: 0.0.0.0)","0.0.0.0").option("--port <port>","WebSocket server port (default: 8765)","8765").option("--auth-token <token>","Require this Bearer token in the WebSocket Authorization header").action(e=>{if(!e.ws)return(t=o.connect(u)).on("connect",()=>{process.stdin.pipe(t),t.pipe(process.stdout)}),t.on("error",e=>{"ENOENT"===e.code||"ECONNREFUSED"===e.code?process.stderr.write(m):process.stderr.write(`[acp] Connection error: ${e.message}\n`),process.exit(1)}),void t.on("close",()=>{process.exit(0)});var t,a=Number.parseInt(e.port,10);(!Number.isInteger(a)||a<0||a>65535)&&(process.stderr.write(`[acp] Invalid --port value: ${e.port}\n`),process.exit(1));var n=e.authToken||process.env.BRICKS_DESKTOP_ACP_BRIDGE_TOKEN||void 0;(({host:e,port:t,authToken:a})=>{var n=new p.WebSocketServer({host:e,port:t,verifyClient:({req:e},t)=>{if(a){for(var n=e.headers.authorization||"",i=`Bearer ${a}`,o=Buffer.from(n),r=Buffer.from(i),s=o.length===r.length,p=Math.max(o.length,r.length),l=0;l<p;l++)(o[l]||0)!==(r[l]||0)&&(s=!1);s?t(!0):t(!1,401,"Unauthorized")}else t(!0)}});n.on("listening",()=>{var e=n.address(),t="string"==typeof e?e:`ws://${e.address}:${e.port}`;process.stderr.write(`[acp] WebSocket bridge listening on ${t}\n`),a||process.stderr.write("[acp] WARNING: no --auth-token set; the bridge is exposed on this host without authentication.\n")}),n.on("error",e=>{process.stderr.write(`[acp] WebSocket server error: ${e.message}\n`),process.exit(1)}),n.on("connection",f);var i=()=>{n.close(()=>process.exit(0))};process.on("SIGINT",i),process.on("SIGTERM",i)})({host:e.host,port:a,authToken:n})});n()}catch(e){n(e)}})},14878:e=>{e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},16698:e=>{e.exports=t("node:async_hooks")},16699:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},16878:(e,t,a)=>{a.d(t,{k:()=>i});var n=a(85608);function i(e,t){var a=(0,n.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,n.__assign)((0,n.__assign)({},a),e(a)):(0,n.__assign)((0,n.__assign)({},a),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.__assign)({},a)}}),t}},16928:e=>{e.exports=t("path")},18572:(e,t,a)=>{const n=a(78474).EventEmitter,i=a(31421),o=a(76760),r=a(73024),s=a(1708),{Argument:p,humanReadableArgName:l}=a(41762),{CommanderError:d}=a(43823),{Help:c}=a(99690),{Option:u,DualOptions:m}=a(92088),{suggestSimilar:f}=a(86054);class v extends n{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>s.stdout.write(e),writeErr:e=>s.stderr.write(e),getOutHelpWidth:()=>s.stdout.isTTY?s.stdout.columns:void 0,getErrHelpWidth:()=>s.stderr.isTTY?s.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){const e=[];for(let t=this;t;t=t.parent)e.push(t);return e}command(e,t,a){let n=t,i=a;"object"==typeof n&&null!==n&&(i=n,n=null),i=i||{};const[,o,r]=e.match(/([^ ]+) *(.*)/),s=this.createCommand(o);return n&&(s.description(n),s._executableHandler=!0),i.isDefault&&(this._defaultCommandName=s._name),s._hidden=!(!i.noHelp&&!i.hidden),s._executableFile=i.executableFile||null,r&&s.arguments(r),this._registerCommand(s),s.parent=this,s.copyInheritedSettings(this),n?this:s}createCommand(e){return new v(e)}createHelp(){return Object.assign(new c,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error("Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()");return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,t){return new p(e,t)}argument(e,t,a,n){const i=this.createArgument(e,t);return"function"==typeof a?i.default(n).argParser(a):i.default(a),this.addArgument(i),this}arguments(e){return e.trim().split(/ +/).forEach(e=>{this.argument(e)}),this}addArgument(e){const t=this.registeredArguments.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,t){if("boolean"==typeof e)return this._addImplicitHelpCommand=e,this;e=e??"help [command]";const[,a,n]=e.match(/([^ ]+) *(.*)/),i=t??"display help for command",o=this.createCommand(a);return o.helpOption(!1),n&&o.arguments(n),i&&o.description(i),this._addImplicitHelpCommand=!0,this._helpCommand=o,this}addHelpCommand(e,t){return"object"!=typeof e?(this.helpCommand(e,t),this):(this._addImplicitHelpCommand=!0,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(void 0===this._helpCommand&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,t){const a=["preSubcommand","preAction","postAction"];if(!a.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.\nExpecting one of '${a.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return this._exitCallback=e||(e=>{if("commander.executeSubCommandAsync"!==e.code)throw e}),this}_exit(e,t,a){this._exitCallback&&this._exitCallback(new d(e,t,a)),s.exit(e)}action(e){return this._actionHandler=t=>{const a=this.registeredArguments.length,n=t.slice(0,a);return this._storeOptionsAsProperties?n[a]=this:n[a]=this.opts(),n.push(this),e.apply(this,n)},this}createOption(e,t){return new u(e,t)}_callParseArg(e,t,a,n){try{return e.parseArg(t,a)}catch(e){if("commander.invalidArgument"===e.code){const t=`${n} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}}_registerOption(e){const t=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(t){const a=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${a}'\n- already used by option '${t.flags}'`)}this.options.push(e)}_registerCommand(e){const t=e=>[e.name()].concat(e.aliases()),a=t(e).find(e=>this._findCommand(e));if(a){const n=t(this._findCommand(a)).join("|"),i=t(e).join("|");throw new Error(`cannot add command '${i}' as already have command '${n}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);const t=e.name(),a=e.attributeName();if(e.negate){const t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(a,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(a,e.defaultValue,"default");const n=(t,n,i)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);const o=this.getOptionValue(a);null!==t&&e.parseArg?t=this._callParseArg(e,t,o,n):null!==t&&e.variadic&&(t=e._concatValue(t,o)),null==t&&(t=!e.negate&&(!(!e.isBoolean()&&!e.optional)||"")),this.setOptionValueWithSource(a,t,i)};return this.on("option:"+t,t=>{const a=`error: option '${e.flags}' argument '${t}' is invalid.`;n(t,a,"cli")}),e.envVar&&this.on("optionEnv:"+t,t=>{const a=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;n(t,a,"env")}),this}_optionEx(e,t,a,n,i){if("object"==typeof t&&t instanceof u)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const o=this.createOption(t,a);if(o.makeOptionMandatory(!!e.mandatory),"function"==typeof n)o.default(i).argParser(n);else if(n instanceof RegExp){const e=n;n=(t,a)=>{const n=e.exec(t);return n?n[0]:a},o.default(i).argParser(n)}else o.default(n);return this.addOption(o)}option(e,t,a,n){return this._optionEx({},e,t,a,n)}requiredOption(e,t,a,n){return this._optionEx({mandatory:!0},e,t,a,n)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,a){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=a,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return this._getCommandAndAncestors().forEach(a=>{void 0!==a.getOptionValueSource(e)&&(t=a.getOptionValueSource(e))}),t}_prepareUserArgs(e,t){if(void 0!==e&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");if(t=t||{},void 0===e&&void 0===t.from){s.versions?.electron&&(t.from="electron");const e=s.execArgv??[];(e.includes("-e")||e.includes("--eval")||e.includes("-p")||e.includes("--print"))&&(t.from="eval")}let a;switch(void 0===e&&(e=s.argv),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],a=e.slice(2);break;case"electron":s.defaultApp?(this._scriptPath=e[1],a=e.slice(2)):a=e.slice(1);break;case"user":a=e.slice(0);break;case"eval":a=e.slice(1);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",a}parse(e,t){const a=this._prepareUserArgs(e,t);return this._parseCommand([],a),this}async parseAsync(e,t){const a=this._prepareUserArgs(e,t);return await this._parseCommand([],a),this}_executeSubCommand(e,t){t=t.slice();let a=!1;const n=[".js",".ts",".tsx",".mjs",".cjs"];function p(e,t){const a=o.resolve(e,t);if(r.existsSync(a))return a;if(n.includes(o.extname(t)))return;const i=n.find(e=>r.existsSync(`${a}${e}`));return i?`${a}${i}`:void 0}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let l,c=e._executableFile||`${this._name}-${e._name}`,u=this._executableDir||"";if(this._scriptPath){let e;try{e=r.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}u=o.resolve(o.dirname(e),u)}if(u){let t=p(u,c);if(!t&&!e._executableFile&&this._scriptPath){const a=o.basename(this._scriptPath,o.extname(this._scriptPath));a!==this._name&&(t=p(u,`${a}-${e._name}`))}c=t||c}if(a=n.includes(o.extname(c)),"win32"!==s.platform?a?(t.unshift(c),t=h(s.execArgv).concat(t),l=i.spawn(s.argv[0],t,{stdio:"inherit"})):l=i.spawn(c,t,{stdio:"inherit"}):(t.unshift(c),t=h(s.execArgv).concat(t),l=i.spawn(s.execPath,t,{stdio:"inherit"})),!l.killed){["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(e=>{s.on(e,()=>{!1===l.killed&&null===l.exitCode&&l.kill(e)})})}const m=this._exitCallback;l.on("close",e=>{e=e??1,m?m(new d(e,"commander.executeSubCommandAsync","(close)")):s.exit(e)}),l.on("error",t=>{if("ENOENT"===t.code){const t=u?`searched for local subcommand relative to directory '${u}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",a=`'${c}' does not exist\n - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${t}`;throw new Error(a)}if("EACCES"===t.code)throw new Error(`'${c}' not executable`);if(m){const e=new d(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,m(e)}else s.exit(1)}),this.runningCommand=l}_dispatchSubcommand(e,t,a){const n=this._findCommand(e);let i;return n||this.help({error:!0}),i=this._chainOrCallSubCommandHook(i,n,"preSubcommand"),i=this._chainOrCall(i,()=>{if(!n._executableHandler)return n._parseCommand(t,a);this._executeSubCommand(n,t.concat(a))}),i}_dispatchHelpCommand(e){e||this.help();const t=this._findCommand(e);return t&&!t._executableHandler&&t.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic||this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){const e=(e,t,a)=>{let n=t;if(null!==t&&e.parseArg){const i=`error: command-argument value '${t}' is invalid for argument '${e.name()}'.`;n=this._callParseArg(e,t,a,i)}return n};this._checkNumberOfArguments();const t=[];this.registeredArguments.forEach((a,n)=>{let i=a.defaultValue;a.variadic?n<this.args.length?(i=this.args.slice(n),a.parseArg&&(i=i.reduce((t,n)=>e(a,n,t),a.defaultValue))):void 0===i&&(i=[]):n<this.args.length&&(i=this.args[n],a.parseArg&&(i=e(a,i,a.defaultValue))),t[n]=i}),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then(()=>t()):t()}_chainOrCallHooks(e,t){let a=e;const n=[];return this._getCommandAndAncestors().reverse().filter(e=>void 0!==e._lifeCycleHooks[t]).forEach(e=>{e._lifeCycleHooks[t].forEach(t=>{n.push({hookedCommand:e,callback:t})})}),"postAction"===t&&n.reverse(),n.forEach(e=>{a=this._chainOrCall(a,()=>e.callback(e.hookedCommand,this))}),a}_chainOrCallSubCommandHook(e,t,a){let n=e;return void 0!==this._lifeCycleHooks[a]&&this._lifeCycleHooks[a].forEach(e=>{n=this._chainOrCall(n,()=>e(this,t))}),n}_parseCommand(e,t){const a=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(a.operands),t=a.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),this._outputHelpIfRequested(a.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const n=()=>{a.unknown.length>0&&this.unknownOption(a.unknown[0])},i=`command:${this.name()}`;if(this._actionHandler){let a;return n(),this._processArguments(),a=this._chainOrCallHooks(a,"preAction"),a=this._chainOrCall(a,()=>this._actionHandler(this.processedArgs)),this.parent&&(a=this._chainOrCall(a,()=>{this.parent.emit(i,e,t)})),a=this._chainOrCallHooks(a,"postAction"),a}if(this.parent&&this.parent.listenerCount(i))n(),this._processArguments(),this.parent.emit(i,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(n(),this._processArguments())}else this.commands.length?(n(),this.help({error:!0})):(n(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(t=>t._name===e||t._aliases.includes(e))}_findOption(e){return this.options.find(t=>t.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)})})}_checkForConflictingLocalOptions(){const e=this.options.filter(e=>{const t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)});e.filter(e=>e.conflictsWith.length>0).forEach(t=>{const a=e.find(e=>t.conflictsWith.includes(e.attributeName()));a&&this._conflictingOption(t,a)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){const t=[],a=[];let n=t;const i=e.slice();function o(e){return e.length>1&&"-"===e[0]}let r=null;for(;i.length;){const e=i.shift();if("--"===e){n===a&&n.push(e),n.push(...i);break}if(!r||o(e)){if(r=null,o(e)){const t=this._findOption(e);if(t){if(t.required){const e=i.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;i.length>0&&!o(i[0])&&(e=i.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);r=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){const t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),i.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){const t=e.indexOf("="),a=this._findOption(e.slice(0,t));if(a&&(a.required||a.optional)){this.emit(`option:${a.name()}`,e.slice(t+1));continue}}if(o(e)&&(n=a),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===a.length){if(this._findCommand(e)){t.push(e),i.length>0&&a.push(...i);break}if(this._getHelpCommand()&&e===this._getHelpCommand().name()){t.push(e),i.length>0&&t.push(...i);break}if(this._defaultCommandName){a.push(e),i.length>0&&a.push(...i);break}}if(this._passThroughOptions){n.push(e),i.length>0&&n.push(...i);break}n.push(e)}else this.emit(`option:${r.name()}`,e)}return{operands:t,unknown:a}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let a=0;a<t;a++){const t=this.options[a].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,t)=>Object.assign(e,t.opts()),{})}error(e,t){this._outputConfiguration.outputError(`${e}\n`,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));const a=t||{},n=a.exitCode||1,i=a.code||"commander.error";this._exit(n,i,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in s.env){const t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,s.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){const e=new m(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter(a=>void 0!==a.implied&&t(a.attributeName())&&e.valueFromOption(this.getOptionValue(a.attributeName()),a)).forEach(e=>{Object.keys(e.implied).filter(e=>!t(e)).forEach(t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")})})}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const a=e=>{const t=e.attributeName(),a=this.getOptionValue(t),n=this.options.find(e=>e.negate&&t===e.attributeName()),i=this.options.find(e=>!e.negate&&t===e.attributeName());return n&&(void 0===n.presetArg&&!1===a||void 0!==n.presetArg&&a===n.presetArg)?n:i||e},n=e=>{const t=a(e),n=t.attributeName();return"env"===this.getOptionValueSource(n)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},i=`error: ${n(e)} cannot be used with ${n(t)}`;this.error(i,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let a=[],n=this;do{const e=n.createHelp().visibleOptions(n).filter(e=>e.long).map(e=>e.long);a=a.concat(e),n=n.parent}while(n&&!n._enablePositionalOptions);t=f(e,a)}const a=`error: unknown option '${e}'${t}`;this.error(a,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this.registeredArguments.length,a=1===t?"":"s",n=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${a} but got ${e.length}.`;this.error(n,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const a=[];this.createHelp().visibleCommands(this).forEach(e=>{a.push(e.name()),e.alias()&&a.push(e.alias())}),t=f(e,a)}const a=`error: unknown command '${e}'${t}`;this.error(a,{code:"commander.unknownCommand"})}version(e,t,a){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",a=a||"output the version number";const n=this.createOption(t,a);return this._versionOptionName=n.attributeName(),this._registerOption(n),this.on("option:"+n.name(),()=>{this._outputConfiguration.writeOut(`${e}\n`),this._exit(0,"commander.version",e)}),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");const a=this.parent?._findCommand(e);if(a){const t=[a.name()].concat(a.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${t}'`)}return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach(e=>this.alias(e)),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;const e=this.registeredArguments.map(e=>l(e));return[].concat(this.options.length||null!==this._helpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=o.basename(e,o.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){const t={error:!!(e=e||{}).error};let a;return a=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||a,t.command=this,t}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);const a=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(e=>e.emit("beforeAllHelp",a)),this.emit("beforeHelp",a);let n=this.helpInformation(a);if(t&&(n=t(n),"string"!=typeof n&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");a.write(n),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",a),this._getCommandAndAncestors().forEach(e=>e.emit("afterAllHelp",a))}helpOption(e,t){return"boolean"==typeof e?(this._helpOption=e?this._helpOption??void 0:null,this):(e=e??"-h, --help",t=t??"display help for command",this._helpOption=this.createOption(e,t),this)}_getHelpOption(){return void 0===this._helpOption&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let t=s.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const a=["beforeAll","before","after","afterAll"];if(!a.includes(e))throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${a.join("', '")}'`);const n=`${e}Help`;return this.on(n,e=>{let a;a="function"==typeof t?t({error:e.error,command:e.command}):t,a&&e.write(`${a}\n`)}),this}_outputHelpIfRequested(e){const t=this._getHelpOption();t&&e.find(e=>t.is(e))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}}function h(e){return e.map(e=>{if(!e.startsWith("--inspect"))return e;let t,a,n="127.0.0.1",i="9229";return null!==(a=e.match(/^(--inspect(-brk)?)$/))?t=a[1]:null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=a[1],/^\d+$/.test(a[3])?i=a[3]:n=a[3]):null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=a[1],n=a[3],i=a[4]),t&&"0"!==i?`${t}=${n}:${parseInt(i)+1}`:e})}t.Command=v},19074:(e,t,a)=>{a.d(t,{C:()=>c});var n=a(79212),i=a(36054),o=a(46192),r=a(16878),s=a(38414);function p(e,t){return t?t(e):i.c.of()}function l(e){return"function"==typeof e?new c(e):e}function d(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,a,n){var o,r=l(a),s=l(n||new e(p));return o=d(r)&&d(s)?new e(function(e){return t(e)?r.request(e)||i.c.of():s.request(e)||i.c.of()}):new e(function(e,a){return t(e)?r.request(e,a)||i.c.of():s.request(e,a)||i.c.of()}),Object.assign(o,{left:r,right:s})},e.execute=function(e,t){return e.request((0,r.k)(t.context,(0,s.A)((0,o.K)(t))))||i.c.of()},e.concat=function(t,a){var o=l(t);if(d(o))return!1!==globalThis.__DEV__&&n.invariant.warn(38,o),o;var r,s=l(a);return r=d(s)?new e(function(e){return o.request(e,function(e){return s.request(e)||i.c.of()})||i.c.of()}):new e(function(e,t){return o.request(e,function(e){return s.request(e,t)||i.c.of()})||i.c.of()}),Object.assign(r,{left:o,right:s})},e.prototype.split=function(t,a,n){return this.concat(e.split(t,a,n||new e(p)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},19371:(e,t,a)=>{a.r(t),a.d(t,{InvariantError:()=>s,default:()=>m,invariant:()=>p,setVerbosity:()=>u});var n=a(85608),i="Invariant Violation",o=Object.setPrototypeOf,r=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(a){void 0===a&&(a=i);var n=e.call(this,"number"==typeof a?i+": "+a+" (see https://github.com/apollographql/invariant-packages)":a)||this;return n.framesToPop=1,n.name=i,r(n,t.prototype),n}return(0,n.__extends)(t,e),t}(Error);function p(e,t){if(!e)throw new s(t)}var l=["debug","log","warn","error","silent"],d=l.indexOf("log");function c(e){return function(){if(l.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}function u(e){var t=l[d];return d=Math.max(0,l.indexOf(e)),t}!function(e){e.debug=c("debug"),e.log=c("log"),e.warn=c("warn"),e.error=c("error")}(p||(p={}));const m=p},20124:(e,t,a)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;t.splice(1,0,a,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,a)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=a(27891)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},20181:e=>{e.exports=t("buffer")},20906:(e,t,a)=>{a.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var a=e.slice(0);return t.set(e,a),a.forEach(function(e,n){a[n]=o(e,t)}),a;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach(function(a){i[a]=o(e[a],t)}),i;default:return e}}},21461:(e,t,a)=>{a.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},21777:(e,t,a)=>{function n(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}a.d(t,{Q:()=>i,U:()=>n})},22594:(e,t,a)=>{a.d(t,{S:()=>i});var n=a(36054);function i(e){return new n.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}},23246:(e,t,a)=>{var n=a(24876),i=a(91749),o={TRANSITIONAL:0,NONTRANSITIONAL:1};function r(e){return e.split("\0").map(function(e){return e.normalize("NFC")}).join("\0")}function s(e){for(var t=0,a=i.length-1;t<=a;){var n=Math.floor((t+a)/2),o=i[n];if(o[0][0]<=e&&o[0][1]>=e)return o;o[0][0]>e?a=n-1:t=n+1}return null}var p=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function l(e){return e.replace(p,"_").length}var d=/[\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\u08E4-\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\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\u0D01-\u0D03\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\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\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\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\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-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function c(e,t){"xn--"===e.substr(0,4)&&(e=n.toUnicode(e));var a=!1;(r(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(d))&&(a=!0);for(var i=l(e),p=0;p<i;++p){var c=s(e.codePointAt(p));if(u===o.TRANSITIONAL&&"valid"!==c[1]||u===o.NONTRANSITIONAL&&"valid"!==c[1]&&"deviation"!==c[1]){a=!0;break}}return{label:e,error:a}}function u(e,t,a){var n=function(e,t,a){for(var n=!1,i="",r=l(e),p=0;p<r;++p){var d=e.codePointAt(p),c=s(d);switch(c[1]){case"disallowed":n=!0,i+=String.fromCodePoint(d);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,c[2]);break;case"deviation":i+=a===o.TRANSITIONAL?String.fromCodePoint.apply(String,c[2]):String.fromCodePoint(d);break;case"valid":i+=String.fromCodePoint(d);break;case"disallowed_STD3_mapped":t?(n=!0,i+=String.fromCodePoint(d)):i+=String.fromCodePoint.apply(String,c[2]);break;case"disallowed_STD3_valid":t&&(n=!0),i+=String.fromCodePoint(d)}}return{string:i,error:n}}(e,t,a);n.string=r(n.string);for(var i=n.string.split("."),p=0;p<i.length;++p)try{var d=c(i[p]);i[p]=d.label,n.error=n.error||d.error}catch(e){n.error=!0}return{string:i.join("."),error:n.error}}e.exports.toASCII=function(e,t,a,i){var o=u(e,t,a),r=o.string.split(".");if(r=r.map(function(e){try{return n.toASCII(e)}catch(t){return o.error=!0,e}}),i){var s=r.slice(0,r.length-1).join(".").length;(s.length>253||0===s.length)&&(o.error=!0);for(var p=0;p<r.length;++p)if(r.length>63||0===r.length){o.error=!0;break}}return o.error?null:r.join(".")},e.exports.toUnicode=function(e,t){var a=u(e,t,o.NONTRANSITIONAL);return{domain:a.string,error:a.error}},e.exports.PROCESSING_OPTIONS=o},23878:(e,t,a)=>{var n=a(14319).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24434:e=>{e.exports=t("events")},24874:(e,t,a)=>{a.d(t,{H4:()=>v,OQ:()=>h,tD:()=>u});var n=a(85608),i=a(51360);function o(e){var t=null,a=null,n=!1,o=[],r=[];function s(e){if(!a){if(r.length){var t=r.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function p(e){a=e,r.slice().forEach(function(t){t[1](e)}),!t||t()}function l(){n=!0,r.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",p),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",s),e.on("error",p),e.on("end",l),e.on("finish",l),e.on("close",l);var d={next:function(){return new Promise(function(e,t){return a?t(a):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void r.push([e,t])})}};return i.uJ&&(d[Symbol.asyncIterator]=function(){return this}),d}function r(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function s(e){var t,a,n=e;if(e.body&&(n=e.body),function(e){return!(!i.uJ||!e[Symbol.asyncIterator])}(n))return a=n[Symbol.asyncIterator](),(t={next:function(){return a.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(n))return r(n.getReader());if(function(e){return!!e.stream}(n))return r(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,a={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,a){e.then(function(e){t({value:e,done:!1})}).catch(a)}))}};return i.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return o(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var p=a(3848),l=a(53570),d=a(37396),c=Object.prototype.hasOwnProperty;function u(e,t){return(0,n.__awaiter)(this,void 0,void 0,function(){var a,i,o,r,p,c,u,v,h,g,y,b,D,x,_,w,E,T,N,A,O,F,S,C;return(0,n.__generator)(this,function(k){switch(k.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),i=null===(C=e.headers)||void 0===C?void 0:C.get("content-type"),o="boundary=",r=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",p="\r\n--".concat(r),c="",u=s(e),v=!0,k.label=1;case 1:return v?[4,u.next()]:[3,3];case 2:for(h=k.sent(),g=h.value,y=h.done,b="string"==typeof g?g:a.decode(g),D=c.length-p.length+1,v=!y,x=(c+=b).indexOf(p,D);x>-1;){if(_=void 0,F=[c.slice(0,x),c.slice(x+p.length)],c=F[1],w=(_=F[0]).indexOf("\r\n\r\n"),E=m(_.slice(0,w)),(T=E["content-type"])&&-1===T.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(N=_.slice(w))if(A=f(e,N),Object.keys(A).length>1||"data"in A||"incremental"in A||"errors"in A||"payload"in A)if((0,d.Nw)(A)){if(O={},"payload"in A){if(1===Object.keys(A).length&&null===A.payload)return[2];O=(0,n.__assign)({},A.payload)}"errors"in A&&(O=(0,n.__assign)((0,n.__assign)({},O),{extensions:(0,n.__assign)((0,n.__assign)({},"extensions"in O?O.extensions:null),(S={},S[l.PROTOCOL_ERRORS_SYMBOL]=A.errors,S))})),t(O)}else t(A);else if(1===Object.keys(A).length&&"hasNext"in A&&!A.hasNext)return[2];x=c.indexOf(p)}return[3,1];case 3:return[2]}})})}function m(e){var t={};return e.split("\n").forEach(function(e){var a=e.indexOf(":");if(a>-1){var n=e.slice(0,a).trim().toLowerCase(),i=e.slice(a+1).trim();t[n]=i}}),t}function f(e,t){if(e.status>=300){(0,p.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var a=n;throw a.name="ServerParseError",a.response=e,a.statusCode=e.status,a.bodyText=t,a}}function v(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function h(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(a){return Array.isArray(a)||c.call(a,"data")||c.call(a,"errors")||(0,p.A)(t,a,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),a})}}},24876:e=>{e.exports=t("punycode")},25174:(e,t,a)=>{a.d(t,{g:()=>n});var n=a(19074).C.execute},25186:(e,t,a)=>{a.d(t,{S:()=>l});var n=a(42455),i=a(82307),o=a(28907),r=a(57236),s=a(47150),p=a(79212);function l(e,t,a){return s.yV.withValue(!0,function(){var n=d(e,t,a,!1);return Object.isFrozen(e)&&(0,r.G)(n),n})}function d(e,t,a,r,s){var l,u=a.knownChanged,m=function(e,t){if(t.has(e))return t.get(e);var a=Array.isArray(e)?[]:Object.create(null);return t.set(e,a),a}(e,a.mutableTargets);if(Array.isArray(e)){for(var f=0,v=Array.from(e.entries());f<v.length;f++){var h=v[f],g=h[0],y=h[1];if(null!==y){var b=d(y,t,a,r,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(g,"]"):void 0);u.has(b)&&u.add(m),m[g]=b}else m[g]=null}return u.has(m)?m:e}for(var D=0,x=t.selections;D<x.length;D++){var _=x[D],w=void 0;if(r&&u.add(m),_.kind===n.b.FIELD){var E=(0,o.ue)(_),T=_.selectionSet;if(void 0===(w=m[E]||e[E]))continue;if(T&&null!==w){b=d(e[E],T,a,r,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(E):void 0);u.has(b)&&(w=b)}!1===globalThis.__DEV__&&(m[E]=w),!1!==globalThis.__DEV__&&(r&&"__typename"!==E&&!(null===(l=Object.getOwnPropertyDescriptor(m,E))||void 0===l?void 0:l.value)?Object.defineProperty(m,E,c(E,w,s||"",a.operationName,a.operationType)):(delete m[E],m[E]=w))}if(_.kind!==n.b.INLINE_FRAGMENT||_.typeCondition&&!a.cache.fragmentMatches(_,e.__typename)||(w=d(e,_.selectionSet,a,r,s)),_.kind===n.b.FRAGMENT_SPREAD){var N=_.name.value,A=a.fragmentMap[N]||(a.fragmentMap[N]=a.cache.lookupFragment(N));(0,p.invariant)(A,47,N);var O=(0,i.s7)(_);"mask"!==O&&(w=d(e,A.selectionSet,a,"migrate"===O,s))}u.has(w)&&u.add(m)}return"__typename"in e&&!("__typename"in m)&&(m.__typename=e.__typename),Object.keys(m).length!==Object.keys(e).length&&u.add(m),u.has(m)?m:e}function c(e,t,a,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&p.invariant.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(a,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}},25811:(e,t,a)=>{a.d(t,{K:()=>p});var n,i=a(99436),o=a(35679),r=a(88568),s=a(74752),p=new o.uB("mcp").description("MCP server management");p.command("start").description("Start the BRICKS MCP server in STDIO mode").option("-t, --token <token>","API token (overrides saved token)").action((n=i(function*(e){var t=(0,s.getCurrentProfile)(),n=e.token||(0,s.getToken)(t);n||(console.error(r.Ay.red("Error: No API token found.")),console.error(r.Ay.gray("Please login first with: bricks auth login <passcode>")),console.error(r.Ay.gray("Or provide a token with: bricks mcp start --token <token>")),process.exit(1));try{var i=(yield Promise.all([a.e(428),a.e(300),a.e(425),a.e(737)]).then(a.bind(a,18737))).startStdioServer;yield i({token:n})}catch(e){console.error(r.Ay.red(`Failed to start MCP server: ${e.message}`)),process.exit(1)}}),function(e){return n.apply(this,arguments)}))},25881:(e,t,a)=>{function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function r(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}a.d(t,{i0:()=>n,un:()=>r,xr:()=>s,yp:()=>i})},25979:(e,t,a)=>{a.r(t),a.d(t,{createOperation:()=>p.k,filterOperationVariables:()=>d.X,fromError:()=>n.N,fromPromise:()=>o.S,throwServerError:()=>r.A,toPromise:()=>i.h,transformOperation:()=>l.A,validateOperation:()=>s.K});a(79212);var n=a(93161),i=a(60441),o=a(22594),r=a(3848),s=a(46192),p=a(16878),l=a(38414),d=a(70783)},27250:e=>{var t=1e3,a=60*t,n=60*a,i=24*n,o=7*i,r=365.25*i;function s(e,t,a,n){var i=t>=1.5*a;return Math.round(e/a)+" "+n+(i?"s":"")}e.exports=function(e,p){p=p||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var p=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return p*r;case"weeks":case"week":case"w":return p*o;case"days":case"day":case"d":return p*i;case"hours":case"hour":case"hrs":case"hr":case"h":return p*n;case"minutes":case"minute":case"mins":case"min":case"m":return p*a;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===l&&isFinite(e))return p.long?function(e){var o=Math.abs(e);if(o>=i)return s(e,o,i,"day");if(o>=n)return s(e,o,n,"hour");if(o>=a)return s(e,o,a,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=a)return Math.round(e/a)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},27891:(e,t,a)=>{e.exports=function(e){function t(e){let a,i,o,r=null;function s(...e){if(!s.enabled)return;const n=s,i=Number(new Date),o=i-(a||i);n.diff=o,n.prev=a,n.curr=i,a=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(a,i)=>{if("%%"===a)return"%";r++;const o=t.formatters[i];if("function"==typeof o){const t=e[r];a=o.call(n,t),e.splice(r,1),r--}return a}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,a){const n=t(this.namespace+(void 0===a?":":a)+e);return n.log=this.log,n}function i(e,t){let a=0,n=0,i=-1,o=0;for(;a<e.length;)if(n<t.length&&(t[n]===e[a]||"*"===t[n]))"*"===t[n]?(i=n,o=a,n++):(a++,n++);else{if(-1===i)return!1;n=i+1,o++,a=o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of a)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const a of t.skips)if(i(e,a))return!1;for(const a of t.names)if(i(e,a))return!0;return!1},t.humanize=a(27250),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(a=>{t[a]=e[a]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t<e.length;t++)a=(a<<5)-a+e.charCodeAt(t),a|=0;return t.colors[Math.abs(a)%t.colors.length]},t.enable(t.load()),t}},28354:(e,t,a)=>{a.d(t,{m:()=>p});var n=a(79212),i=a(2904),o=a(3777),r=a(25186),s=a(47150);function p(e,t,a){var p;if(!a.fragmentMatches)return!1!==globalThis.__DEV__&&(0,s.Ki)(),e;var l=(0,o.Vu)(t);return(0,n.invariant)(l,51),null==e?e:(0,r.S)(e,l.selectionSet,{operationType:l.operation,operationName:null===(p=l.name)||void 0===p?void 0:p.value,fragmentMap:(0,i.JG)((0,o.zK)(t)),cache:a,mutableTargets:new s.jq,knownChanged:new s.xm})}},28907:(e,t,a)=>{a.d(t,{A_:()=>p,D$:()=>g,Ii:()=>c,J:()=>d,Kc:()=>l,MB:()=>v,WU:()=>s,dt:()=>y,kd:()=>b,o5:()=>f,ue:()=>h});var n=a(79212),i=a(21777),o=a(2904),r=a(44214);function s(e){return{__ref:String(e)}}function p(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function d(e,t,a,i){if(function(e){return"IntValue"===e.kind}(a)||function(e){return"FloatValue"===e.kind}(a))e[t.value]=Number(a.value);else if(function(e){return"BooleanValue"===e.kind}(a)||function(e){return"StringValue"===e.kind}(a))e[t.value]=a.value;else if(function(e){return"ObjectValue"===e.kind}(a)){var o={};a.fields.map(function(e){return d(o,e.name,e.value,i)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(a)){var r=(i||{})[a.name.value];e[t.value]=r}else if(function(e){return"ListValue"===e.kind}(a))e[t.value]=a.values.map(function(e){var a={};return d(a,t,e,i),a[t.value]});else if(function(e){return"EnumValue"===e.kind}(a))e[t.value]=a.value;else{if(!function(e){return"NullValue"===e.kind}(a))throw(0,n.newInvariantError)(96,t.value,a.kind);e[t.value]=null}}function c(e,t){var a=null;e.directives&&(a={},e.directives.forEach(function(e){a[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return d(a[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var a=e.name,i=e.value;return d(n,a,i,t)})),f(e.name.value,n,a)}var u=["connection","include","skip","client","rest","export","nonreactive"],m=r.M,f=Object.assign(function(e,t,a){if(t&&a&&a.connection&&a.connection.key){if(a.connection.filter&&a.connection.filter.length>0){var n=a.connection.filter?a.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(a.connection.key,"(").concat(m(i),")")}return a.connection.key}var o=e;if(t){var r=m(t);o+="(".concat(r,")")}return a&&Object.keys(a).forEach(function(e){-1===u.indexOf(e)&&(a[e]&&Object.keys(a[e]).length?o+="@".concat(e,"(").concat(m(a[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=m;return m=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var a={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return d(a,n,i,t)}),a}return null}function h(e){return e.alias?e.alias.value:e.name.value}function g(e,t,a){for(var n,i=0,r=t.selections;i<r.length;i++){if(y(l=r[i])){if("__typename"===l.name.value)return e[h(l)]}else n?n.push(l):n=[l]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,p=n;s<p.length;s++){var l=p[s],d=g(e,(0,o.HQ)(l,a).selectionSet,a);if("string"==typeof d)return d}}function y(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},29122:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(1708);function i(){const{env:e}=n,{TERM:t,TERM_PROGRAM:a}=e;return"win32"!==n.platform?"linux"!==t:Boolean(e.WT_SESSION)||Boolean(e.TERMINUS_SUBLIME)||"{cmd::Cmder}"===e.ConEmuTask||"Terminus-Sublime"===a||"vscode"===a||"xterm-256color"===t||"alacritty"===t||"rxvt-unicode"===t||"rxvt-unicode-256color"===t||"JetBrains-JediTerm"===e.TERMINAL_EMULATOR}},29222:(e,t,a)=>{a.d(t,{D:()=>z});var n=a(85608),i=a(79212),o=a(77634),r=a(55888),s=a(42495),p=a(65702),l=a(9354),d=a(53925),c=a(555),u=a(44214),m=a(38678),f=a(28907),v=a(42455),h=a(51360),g=a(50492),y=a(3777),b=a(30671),D=a(82307),x=a(2904),_=a(57236),w=a(21777),E=a(83906),T=a(35207),N=a(73767),A=a(44592);var O=function(){function e(){this.known=new(h.En?WeakSet:Set),this.pool=new A.Trie(h.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,w.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,w.U)(e)){var t=function(e){return(0,w.U)(e)?(0,N.c)(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,w.U)(e)){var a=this.passes.get(e);if(a)return a;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(s=this.pool.lookupArray(n)).array||(this.known.add(s.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],r=this.sortedKeys(e);o.push(r.json);var s,p=o.length;if(r.sorted.forEach(function(a){o.push(t.admit(e[a]))}),!(s=this.pool.lookupArray(o)).object){var l=s.object=Object.create(i);this.known.add(l),r.sorted.forEach(function(e,t){l[e]=o[p+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),a=this.pool.lookupArray(t);if(!a.keys){t.sort();var n=JSON.stringify(t);(a.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,a.keys={sorted:t,json:n})}return a.keys},e}();function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var S=function(){function e(e){var t=this;this.knownResults=new(h.et?WeakMap:Map),this.config=(0,g.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,T.Xx)(e)}),this.canon=e.canon||new O,this.executeSelectionSet=(0,o.wrap)(function(e){var a,i=e.context.canonizeResults,o=F(e);o[3]=!i;var r=(a=t.executeSelectionSet).peek.apply(a,o);return r?i?(0,n.__assign)((0,n.__assign)({},r),{result:t.canon.admit(r.result)}):r:((0,E.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:F,makeCacheKey:function(e,t,a,n){if((0,E.$7)(a.store))return a.store.makeCacheKey(e,(0,f.A_)(t)?t.__ref:t,a.varString,n)}}),this.executeSubSelectedArray=(0,o.wrap)(function(e){return(0,E.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,a=e.array,n=e.context;if((0,E.$7)(n.store))return n.store.makeCacheKey(t,a,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new O},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,a=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,r=e.variables,s=e.returnPartialData,l=void 0===s||s,d=e.canonizeResults,c=void 0===d?this.config.canonizeResults:d,m=this.config.cache.policies;r=(0,n.__assign)((0,n.__assign)({},(0,y.wY)((0,y.AT)(a))),r);var v,h=(0,f.WU)(o),g=this.executeSelectionSet({selectionSet:(0,y.Vn)(a).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.__assign)({store:t,query:a,policies:m,variables:r,varString:(0,u.M)(r),canonizeResults:c},(0,T.lq)(a,this.config.fragments))});if(g.missing&&(v=[new p.Z(C(g.missing),g.missing,a,r)],!l))throw v[0];return{result:g.result,complete:!v,missing:v}},e.prototype.isFresh=function(e,t,a,n){if((0,E.$7)(n.store)&&this.knownResults.get(e)===a){var i=this.executeSelectionSet.peek(a,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,a=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,r=e.context;if((0,f.A_)(n)&&!r.policies.rootTypenamesById[n.__ref]&&!r.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var s,p=r.variables,l=r.policies,c=r.store.getFieldValue(n,"__typename"),u=[],m=new b.ZI;function h(e,t){var a;return e.missing&&(s=m.merge(s,((a={})[t]=e.missing,a))),e.result}this.config.addTypename&&"string"==typeof c&&!l.rootIdsByTypename[c]&&u.push({__typename:c});var g=new Set(a.selections);g.forEach(function(e){var a,y;if((0,D.MS)(e,p))if((0,f.dt)(e)){var b=l.readField({fieldName:e.name.value,field:e,variables:r.variables,from:n},r),_=(0,f.ue)(e);void 0===b?d.XY.added(e)||(s=m.merge(s,((a={})[_]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.A_)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),a))):(0,N.c)(b)?b.length>0&&(b=h(t.executeSubSelectedArray({field:e,array:b,enclosingRef:o,context:r}),_)):e.selectionSet?null!=b&&(b=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,f.A_)(b)?b:o,context:r}),_)):r.canonizeResults&&(b=t.canon.pass(b)),void 0!==b&&u.push(((y={})[_]=b,y))}else{var w=(0,x.HQ)(e,r.lookupFragment);if(!w&&e.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);w&&l.fragmentMatches(w,c)&&w.selectionSet.selections.forEach(g.add,g)}});var y={result:(0,b.IM)(u),missing:s},w=r.canonizeResults?this.canon.admit(y):(0,_.G)(y);return w.result&&this.knownResults.set(w.result,a),w},e.prototype.execSubSelectedArrayImpl=function(e){var t,a=this,n=e.field,o=e.array,r=e.enclosingRef,s=e.context,p=new b.ZI;function l(e,a){var n;return e.missing&&(t=p.merge(t,((n={})[a]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,N.c)(e)?l(a.executeSubSelectedArray({field:n,array:e,enclosingRef:r,context:s}),t):n.selectionSet?l(a.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,f.A_)(e)?e:r,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,a){if(!t.selectionSet){var n=new Set([a]);n.forEach(function(a){(0,w.U)(a)&&((0,i.invariant)(!(0,f.A_)(a),11,(0,T.Ui)(e,a),t.name.value),Object.values(a).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function C(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}var k=a(20906),I=a(38338);function $(e,t,a){var i="".concat(t).concat(a),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===a?e:(0,n.__assign)((0,n.__assign)({},e),{clientOnly:t,deferred:a})),o}var j=function(){function e(e,t,a){this.cache=e,this.reader=t,this.fragments=a}return e.prototype.writeToStore=function(e,t){var a=this,o=t.query,s=t.result,p=t.dataId,l=t.variables,d=t.overwrite,c=(0,y.Vu)(o),m=(0,T.mv)();l=(0,n.__assign)((0,n.__assign)({},(0,y.wY)(c)),l);var v=(0,n.__assign)((0,n.__assign)({store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:l,varString:(0,u.M)(l)},(0,T.lq)(o,this.fragments)),{overwrite:!!d,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:s||Object.create(null),dataId:p,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,f.A_)(h))throw(0,i.newInvariantError)(12,s);return v.incomingById.forEach(function(t,o){var s=t.storeObject,p=t.mergeTree,l=t.fieldNodeSet,d=(0,f.WU)(o);if(p&&p.map.size){var c=a.applyMerges(p,d,s,v);if((0,f.A_)(c))return;s=c}if(!1!==globalThis.__DEV__&&!v.overwrite){var u=Object.create(null);l.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});Object.keys(s).forEach(function(e){(function(e){return!0===u[(0,T.iJ)(e)]})(e)&&!function(e){var t=p&&p.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,a,o){var s=function(e){var t=o.getFieldValue(e,a);return"object"==typeof t&&t},p=s(e);if(!p)return;var l=s(t);if(!l)return;if((0,f.A_)(p))return;if((0,r.equal)(p,l))return;if(Object.keys(p).every(function(e){return void 0!==o.getFieldValue(l,e)}))return;var d=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),c=(0,T.iJ)(a),u="".concat(d,".").concat(c);if(L.has(u))return;L.add(u);var m=[];(0,N.c)(p)||(0,N.c)(l)||[p,l].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||m.includes(t)||m.push(t)});!1!==globalThis.__DEV__&&i.invariant.warn(15,c,d,m.length?"either ensure all objects of type "+m.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,n.__assign)({},p),(0,n.__assign)({},l))}(d,s,e,v.store)})}e.merge(o,s)}),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,a=e.dataId,o=e.result,r=e.selectionSet,s=e.context,p=e.mergeTree,l=this.cache.policies,c=Object.create(null),u=a&&l.rootTypenamesById[a]||(0,f.D$)(o,r,s.fragmentMap)||a&&s.store.get(a,"__typename");"string"==typeof u&&(c.__typename=u);var m=function(){var e=(0,I.m)(arguments,c,s.variables);if((0,f.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var a=l.readField((0,n.__assign)((0,n.__assign)({},e),{from:t.storeObject}),s);if(void 0!==a)return a}}return l.readField(e,s)},v=new Set;this.flattenFields(r,o,s,u).forEach(function(e,a){var n,r=(0,f.ue)(a),s=o[r];if(v.add(a),void 0!==s){var h=l.getStoreFieldName({typename:u,fieldName:a.name.value,field:a,variables:e.variables}),g=V(p,h),y=t.processFieldValue(s,a,a.selectionSet?$(e,!1,!1):e,g),b=void 0;a.selectionSet&&((0,f.A_)(y)||(0,T.d1)(y))&&(b=m("__typename",y));var D=l.getMergeFunction(u,a.name.value,b);D?g.info={field:a,typename:u,merge:D}:M(p,h),c=e.merge(c,((n={})[h]=y,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||d.XY.added(a)||l.getReadFunction(u,a.name.value)||!1!==globalThis.__DEV__&&i.invariant.error(13,(0,f.ue)(a),o)});try{var h=l.identify(o,{typename:u,selectionSet:r,fragmentMap:s.fragmentMap,storeObject:c,readField:m}),g=h[0],y=h[1];a=a||g,y&&(c=s.merge(c,y))}catch(e){if(!a)throw e}if("string"==typeof a){var b=(0,f.WU)(a),D=s.written[a]||(s.written[a]=[]);if(D.indexOf(r)>=0)return b;if(D.push(r),this.reader&&this.reader.isFresh(o,b,r,s))return b;var x=s.incomingById.get(a);return x?(x.storeObject=s.merge(x.storeObject,c),x.mergeTree=P(x.mergeTree,p),v.forEach(function(e){return x.fieldNodeSet.add(e)})):s.incomingById.set(a,{storeObject:c,mergeTree:B(p)?void 0:p,fieldNodeSet:v}),b}return c},e.prototype.processFieldValue=function(e,t,a,n){var i=this;return t.selectionSet&&null!==e?(0,N.c)(e)?e.map(function(e,o){var r=i.processFieldValue(e,t,a,V(n,o));return M(n,o),r}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:a,mergeTree:n}):!1!==globalThis.__DEV__?(0,k.m)(e):e},e.prototype.flattenFields=function(e,t,a,n){void 0===n&&(n=(0,f.D$)(t,e,a.fragmentMap));var o=new Map,r=this.cache.policies,s=new A.Trie(!1);return function e(p,l){var d=s.lookup(p,l.clientOnly,l.deferred);d.visited||(d.visited=!0,p.selections.forEach(function(s){if((0,D.MS)(s,a.variables)){var p=l.clientOnly,d=l.deferred;if(p&&d||!(0,N.E)(s.directives)||s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(p=!0),"defer"===t){var n=(0,f.MB)(e,a.variables);n&&!1===n.if||(d=!0)}}),(0,f.dt)(s)){var c=o.get(s);c&&(p=p&&c.clientOnly,d=d&&c.deferred),o.set(s,$(a,p,d))}else{var u=(0,x.HQ)(s,a.lookupFragment);if(!u&&s.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,s.name.value);u&&r.fragmentMatches(u,n,t,a.variables)&&e(u.selectionSet,$(a,p,d))}}}))}(e,a),o},e.prototype.applyMerges=function(e,t,a,o,r){var s,p=this;if(e.map.size&&!(0,f.A_)(a)){var l,d=(0,N.c)(a)||!(0,f.A_)(t)&&!(0,T.d1)(t)?void 0:t,c=a;d&&!r&&(r=[(0,f.A_)(d)?d.__ref:d]);var u=function(e,t){return(0,N.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var a=u(d,t),n=u(c,t);if(void 0!==n){r&&r.push(t);var s=p.applyMerges(e,a,n,o,r);s!==n&&(l=l||new Map).set(t,s),r&&(0,i.invariant)(r.pop()===t)}}),l&&(a=(0,N.c)(c)?c.slice(0):(0,n.__assign)({},c),l.forEach(function(e,t){a[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,a,e.info,o,r&&(s=o.store).getStorage.apply(s,r)):a},e}(),R=[];function V(e,t){var a=e.map;return a.has(t)||a.set(t,R.pop()||{map:new Map}),a.get(t)}function P(e,t){if(e===t||!t||B(t))return e;if(!e||B(e))return t;var a=e.info&&t.info?(0,n.__assign)((0,n.__assign)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:a,map:i?new Map:e.map.size?e.map:t.map};if(i){var r=new Set(t.map.keys());e.map.forEach(function(e,a){o.map.set(a,P(e,t.map.get(a))),r.delete(a)}),r.forEach(function(a){o.map.set(a,P(t.map.get(a),e.map.get(a)))})}return o}function B(e){return!e||!(e.info||e.map.size)}function M(e,t){var a=e.map,n=a.get(t);n&&B(n)&&(R.push(n),a.delete(t))}var L=new Set;var U=a(777),q=a(44114),z=function(e){function t(t){void 0===t&&(t={});var a=e.call(this)||this;return a.watches=new Set,a.addTypenameTransform=new l.c(d.XY),a.assumeImmutableResults=!0,a.makeVar=U.UT,a.txCount=0,a.config=(0,T.I6)(t),a.addTypename=!!a.config.addTypename,a.policies=new I.l({cache:a,dataIdFromObject:a.config.dataIdFromObject,possibleTypes:a.config.possibleTypes,typePolicies:a.config.typePolicies}),a.init(),a}return(0,n.__extends)(t,e),t.prototype.init=function(){var e=this.data=new E.D_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,a=this.storeReader,n=this.config.fragments;this.storeWriter=new j(this,this.storeReader=new S({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,T.Xx)(this.config),canon:e?void 0:a&&a.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.wrap)(function(e,a){return t.broadcastWatch(e,a)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var a=e.optimistic?t.optimisticData:t.data;if((0,E.$7)(a)){var n=e.optimistic,i=e.id,o=e.variables;return a.makeCacheKey(e.query,e.callback,(0,u.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,a=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:a})).result||null}catch(e){if(e instanceof p.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(T.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,U.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,U.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;u.M.reset(),m.y.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var a=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),a},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,f.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(T.$3.call(e,"id"))return!1;e=(0,n.__assign)((0,n.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),u.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,U.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,a=this,i=e.update,o=e.optimistic,r=void 0===o||o,s=e.removeOptimistic,p=e.onWatchUpdated,l=function(e){var n=a,o=n.data,r=n.optimisticData;++a.txCount,e&&(a.data=a.optimisticData=e);try{return t=i(a)}finally{--a.txCount,a.data=o,a.optimisticData=r}},d=new Set;return p&&!this.txCount&&this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e){return d.add(e),!1}})),"string"==typeof r?this.optimisticData=this.optimisticData.addLayer(r,l):!1===r?l(this.data):l(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),p&&d.size?(this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e,t){var a=p.call(this,e,t);return!1!==a&&d.delete(e),a}})),d.size&&d.forEach(function(e){return a.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(a){return t.maybeBroadcastWatch(a,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var a=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,a))||a&&(0,r.equal)(a.result,n.result)||e.callback(e.lastDiff=n,a)},t}(s.k);!1!==globalThis.__DEV__&&(z.prototype.getMemoryInternals=q.cM)},29557:e=>{e.exports=n},29790:(e,t,a)=>{a.d(t,{default:()=>H,oraPromise:()=>W,spinners:()=>C}),a.r(t);var n=a(1708),i=a(88568);const o=(e,t,a,n)=>{if("length"===a||"prototype"===a)return;if("arguments"===a||"caller"===a)return;const i=Object.getOwnPropertyDescriptor(e,a),o=Object.getOwnPropertyDescriptor(t,a);!r(i,o)&&n||Object.defineProperty(e,a,o)},r=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},s=(e,t)=>`/* Wrapped ${e}*/\n${t}`,p=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),l=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");function d(e,t,{ignoreNonConfigurable:a=!1}={}){const{name:n}=e;for(const n of Reflect.ownKeys(t))o(e,t,n,a);return((e,t)=>{const a=Object.getPrototypeOf(t);a!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,a)})(e,t),((e,t,a)=>{const n=""===a?"":`with ${a.trim()}() `,i=s.bind(null,n,t.toString());Object.defineProperty(i,"name",l);const{writable:o,enumerable:r,configurable:d}=p;Object.defineProperty(e,"toString",{value:i,writable:o,enumerable:r,configurable:d})})(e,t,n),e}const c=new WeakMap,u=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let a,n=0;const i=e.displayName||e.name||"<anonymous>",o=function(...r){if(c.set(o,++n),1===n)a=e.apply(this,r),e=void 0;else if(!0===t.throw)throw new Error(`Function \`${i}\` can only be called once`);return a};return d(o,e),c.set(o,n),o};u.callCount=e=>{if(!c.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return c.get(e)};const m=u,f=[];f.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&f.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&f.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const v=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,h=Symbol.for("signal-exit emitter"),g=globalThis,y=Object.defineProperty.bind(Object);class b{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(g[h])return g[h];y(g,h,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const a=this.listeners[e],n=a.indexOf(t);-1!==n&&(0===n&&1===a.length?a.length=0:a.splice(n,1))}emit(e,t,a){if(this.emitted[e])return!1;this.emitted[e]=!0;let n=!1;for(const i of this.listeners[e])n=!0===i(t,a)||n;return"exit"===e&&(n=this.emit("afterExit",t,a)||n),n}}class D{}const x=globalThis.process,{onExit:_,load:w,unload:E}=(T=v(x)?new class extends D{#e="win32"===x.platform?"SIGINT":"SIGHUP";#t=new b;#a;#n;#i;#o={};#r=!1;constructor(e){super(),this.#a=e,this.#o={};for(const t of f)this.#o[t]=()=>{const a=this.#a.listeners(t);let{count:n}=this.#t;const i=e;if("object"==typeof i.__signal_exit_emitter__&&"number"==typeof i.__signal_exit_emitter__.count&&(n+=i.__signal_exit_emitter__.count),a.length===n){this.unload();const a=this.#t.emit("exit",null,t),n="SIGHUP"===t?this.#e:t;a||e.kill(e.pid,n)}};this.#i=e.reallyExit,this.#n=e.emit}onExit(e,t){if(!v(this.#a))return()=>{};!1===this.#r&&this.load();const a=t?.alwaysLast?"afterExit":"exit";return this.#t.on(a,e),()=>{this.#t.removeListener(a,e),0===this.#t.listeners.exit.length&&0===this.#t.listeners.afterExit.length&&this.unload()}}load(){if(!this.#r){this.#r=!0,this.#t.count+=1;for(const e of f)try{const t=this.#o[e];t&&this.#a.on(e,t)}catch(e){}this.#a.emit=(e,...t)=>this.#s(e,...t),this.#a.reallyExit=e=>this.#p(e)}}unload(){this.#r&&(this.#r=!1,f.forEach(e=>{const t=this.#o[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#a.removeListener(e,t)}catch(e){}}),this.#a.emit=this.#n,this.#a.reallyExit=this.#i,this.#t.count-=1)}#p(e){return v(this.#a)?(this.#a.exitCode=e||0,this.#t.emit("exit",this.#a.exitCode,null),this.#i.call(this.#a,this.#a.exitCode)):0}#s(e,...t){const a=this.#n;if("exit"===e&&v(this.#a)){"number"==typeof t[0]&&(this.#a.exitCode=t[0]);const n=a.call(this.#a,e,...t);return this.#t.emit("exit",this.#a.exitCode,null),n}return a.call(this.#a,e,...t)}}(x):new class extends D{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>T.onExit(e,t),load:()=>T.load(),unload:()=>T.unload()});var T;const N=n.stderr.isTTY?n.stderr:n.stdout.isTTY?n.stdout:void 0,A=N?m(()=>{_(()=>{N.write("[?25h")},{alwaysLast:!0})}):()=>{};let O=!1;const F={show:(e=n.stderr)=>{e.isTTY&&(O=!1,e.write("[?25h"))},hide:(e=n.stderr)=>{e.isTTY&&(A(),O=!0,e.write("[?25l"))},toggle:(e,t)=>{void 0!==e&&(O=e),O?F.show(t):F.hide(t)}},S=F;var C=a(47661);const k={info:i.Ay.blue("ℹ"),success:i.Ay.green("✔"),warning:i.Ay.yellow("⚠"),error:i.Ay.red("✖")},I={info:i.Ay.blue("i"),success:i.Ay.green("√"),warning:i.Ay.yellow("‼"),error:i.Ay.red("×")},$=("win32"!==n.platform?"linux"!==n.env.TERM:Boolean(n.env.CI)||Boolean(n.env.WT_SESSION)||Boolean(n.env.TERMINUS_SUBLIME)||"{cmd::Cmder}"===n.env.ConEmuTask||"Terminus-Sublime"===n.env.TERM_PROGRAM||"vscode"===n.env.TERM_PROGRAM||"xterm-256color"===n.env.TERM||"alacritty"===n.env.TERM||"JetBrains-JediTerm"===n.env.TERMINAL_EMULATOR)?k:I;const j=function({onlyFirst:e=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",e?void 0:"g")}();function R(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(j,"")}function V(e){return 161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function P(e){return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510}function B(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9776&&e<=9783||e>=9800&&e<=9811||9855===e||e>=9866&&e<=9871||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||129736===e||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function M(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function L(e,{ambiguousAsWide:t=!1}={}){return M(e),P(e)||B(e)||t&&V(e)?2:1}const U=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,q=new Intl.Segmenter,z=/^\p{Default_Ignorable_Code_Point}$/u;function G(e,t={}){if("string"!=typeof e||0===e.length)return 0;const{ambiguousIsNarrow:a=!0,countAnsiEscapeCodes:n=!1}=t;if(n||(e=R(e)),0===e.length)return 0;let i=0;const o={ambiguousAsWide:!a};for(const{segment:t}of q.segment(e)){const e=t.codePointAt(0);e<=31||e>=127&&e<=159||(e>=8203&&e<=8207||65279===e||e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071||e>=55296&&e<=57343||e>=65024&&e<=65039||z.test(t)||(U().test(t)?i+=2:i+=L(e,o)))}return i}var Y=a(29122);const Q=new class{#l=0;start(){this.#l++,1===this.#l&&this.#d()}stop(){if(this.#l<=0)throw new Error("`stop` called more times than `start`");this.#l--,0===this.#l&&this.#c()}#d(){"win32"!==n.platform&&n.stdin.isTTY&&(n.stdin.setRawMode(!0),n.stdin.on("data",this.#u),n.stdin.resume())}#c(){n.stdin.isTTY&&(n.stdin.off("data",this.#u),n.stdin.pause(),n.stdin.setRawMode(!1))}#u(e){3===e[0]&&n.emit("SIGINT")}};class J{#m=0;#f=!1;#v=0;#h=-1;#g=0;#y;#b;#D;#x;#_;#w;#E;#T;#N;#A;#O;color;constructor(e){"string"==typeof e&&(e={text:e}),this.#y={color:"cyan",stream:n.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#y.color,this.spinner=this.#y.spinner,this.#_=this.#y.interval,this.#D=this.#y.stream,this.#w="boolean"==typeof this.#y.isEnabled?this.#y.isEnabled:function({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&"dumb"!==process.env.TERM&&!("CI"in process.env))}({stream:this.#D}),this.#E="boolean"==typeof this.#y.isSilent&&this.#y.isSilent,this.text=this.#y.text,this.prefixText=this.#y.prefixText,this.suffixText=this.#y.suffixText,this.indent=this.#y.indent}get indent(){return this.#T}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#T=e,this.#F()}get interval(){return this.#_??this.#b.interval??100}get spinner(){return this.#b}set spinner(e){if(this.#h=-1,this.#_=void 0,"object"==typeof e){if(void 0===e.frames)throw new Error("The given spinner must have a `frames` property");this.#b=e}else if((0,Y.A)())if(void 0===e)this.#b=C.dots;else{if("default"===e||!C[e])throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);this.#b=C[e]}else this.#b=C.line}get text(){return this.#N}set text(e=""){this.#N=e,this.#F()}get prefixText(){return this.#A}set prefixText(e=""){this.#A=e,this.#F()}get suffixText(){return this.#O}set suffixText(e=""){this.#O=e,this.#F()}get isSpinning(){return void 0!==this.#x}#S(e=this.#A,t=" "){return"string"==typeof e&&""!==e?e+t:"function"==typeof e?e()+t:""}#C(e=this.#O,t=" "){return"string"==typeof e&&""!==e?t+e:"function"==typeof e?t+e():""}#F(){const e=this.#D.columns??80,t=this.#S(this.#A,"-"),a=this.#C(this.#O,"-"),n=" ".repeat(this.#T)+t+"--"+this.#N+"--"+a;this.#v=0;for(const t of R(n).split("\n"))this.#v+=Math.max(1,Math.ceil(G(t,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#w&&!this.#E}set isEnabled(e){if("boolean"!=typeof e)throw new TypeError("The `isEnabled` option must be a boolean");this.#w=e}get isSilent(){return this.#E}set isSilent(e){if("boolean"!=typeof e)throw new TypeError("The `isSilent` option must be a boolean");this.#E=e}frame(){const e=Date.now();(-1===this.#h||e-this.#g>=this.interval)&&(this.#h=++this.#h%this.#b.frames.length,this.#g=e);const{frames:t}=this.#b;let a=t[this.#h];this.color&&(a=i.Ay[this.color](a));return("string"==typeof this.#A&&""!==this.#A?this.#A+" ":"")+a+("string"==typeof this.text?" "+this.text:"")+("string"==typeof this.#O&&""!==this.#O?" "+this.#O:"")}clear(){if(!this.#w||!this.#D.isTTY)return this;this.#D.cursorTo(0);for(let e=0;e<this.#m;e++)e>0&&this.#D.moveCursor(0,-1),this.#D.clearLine(1);return(this.#T||this.lastIndent!==this.#T)&&this.#D.cursorTo(this.#T),this.lastIndent=this.#T,this.#m=0,this}render(){return this.#E||(this.clear(),this.#D.write(this.frame()),this.#m=this.#v),this}start(e){return e&&(this.text=e),this.#E?this:this.#w?(this.isSpinning||(this.#y.hideCursor&&S.hide(this.#D),this.#y.discardStdin&&n.stdin.isTTY&&(this.#f=!0,Q.start()),this.render(),this.#x=setInterval(this.render.bind(this),this.interval)),this):(this.text&&this.#D.write(`- ${this.text}\n`),this)}stop(){return this.#w?(clearInterval(this.#x),this.#x=void 0,this.#h=0,this.clear(),this.#y.hideCursor&&S.show(this.#D),this.#y.discardStdin&&n.stdin.isTTY&&this.#f&&(Q.stop(),this.#f=!1),this):this}succeed(e){return this.stopAndPersist({symbol:$.success,text:e})}fail(e){return this.stopAndPersist({symbol:$.error,text:e})}warn(e){return this.stopAndPersist({symbol:$.warning,text:e})}info(e){return this.stopAndPersist({symbol:$.info,text:e})}stopAndPersist(e={}){if(this.#E)return this;const t=e.prefixText??this.#A,a=this.#S(t," "),n=e.symbol??" ",i=e.text??this.text,o="string"==typeof i?(n?" ":"")+i:"",r=e.suffixText??this.#O,s=a+n+o+this.#C(r," ")+"\n";return this.stop(),this.#D.write(s),this}}function H(e){return new J(e)}async function W(e,t){const a="function"==typeof e,n="function"==typeof e.then;if(!a&&!n)throw new TypeError("Parameter `action` must be a Function or a Promise");const{successText:i,failText:o}="object"==typeof t?t:{successText:void 0,failText:void 0},r=H(t).start();try{const t=a?e(r):e,n=await t;return r.succeed(void 0===i?void 0:"string"==typeof i?i:i(n)),n}catch(e){throw r.fail(void 0===o?void 0:"string"==typeof o?o:o(e)),e}}},29891:(e,t,a)=>{a.d(t,{ApolloLink:()=>n.C,concat:()=>s,empty:()=>i,execute:()=>p.g,from:()=>o,split:()=>r}),a.r(t);a(79212);var n=a(19074),i=n.C.empty,o=n.C.from,r=n.C.split,s=n.C.concat,p=a(25174)},30234:(e,t,a)=>{function n(e){return e.catch(function(){}),e}a.d(t,{X:()=>n})},30671:(e,t,a)=>{a.d(t,{D9:()=>r,IM:()=>s,ZI:()=>l});var n=a(85608),i=a(21777),o=Object.prototype.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},a=e.length;if(a>1)for(var n=new l,i=1;i<a;++i)t=n.merge(t,e[i]);return t}var p=function(e,t,a){return this.merge(e[a],t[a])},l=function(){function e(e){void 0===e&&(e=p),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var a=this,r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var p=a.reconciler.apply(a,(0,n.__spreadArray)([e,t,i],r,!1));p!==s&&((e=a.shallowCopyForMerge(e))[i]=p)}}else(e=a.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},31088:(e,t,a)=>{function n(){}a.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:a}=t;a&&(a.older=e),e&&(e.newer=a),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=a)}return t}set(e,t){let a=this.getNode(e);return a?a.value=t:(a={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=a),this.newest=a,this.oldest=this.oldest||a,this.map.set(e,a),a.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},31421:e=>{e.exports=t("node:child_process")},31507:(e,t,a)=>{a.d(t,{l:()=>o});var n=a(85608),i=a(50492);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.__assign)((0,n.__assign)({},e&&e.variables),t.variables))})}},32235:(e,t,a)=>{var n=a(16699);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32710:(e,t,a)=>{a.d(t,{M:()=>r,t:()=>o});var n=a(73767),i=a(37396);function o(e){var t=r(e);return(0,n.E)(t)}function r(e){var t=(0,n.E)(e.errors)?e.errors.slice(0):[];return(0,i.ST)(e)&&(0,n.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},33068:(e,t,a)=>{a.d(t,{z:()=>n});var n=function(e,t){var a=e.getContext().uri;return a||("function"==typeof t?t(e):t||"/graphql")}},34528:(e,t,a)=>{a.d(t,{p:()=>T});var n,i,o,r,s,p,l,d=a(68832),c=a(99436),u=a(35679),m=a(88568),f=a(29790),v=a(74752),h=a(50700),g=a(34992),y=a(75706),b=a(6939),D=()=>{var e=(0,v.getCurrentProfile)(),t=(0,v.getToken)(e);return t||(console.error(m.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),(0,h.createClient)((0,v.getBaseUrl)(),t)},x=3e5,_=e=>{if(!e)return m.Ay.gray("○");var t=Date.now()-new Date(e).getTime();return t<=x?m.Ay.green("●"):Math.floor(t/6e4)<60?m.Ay.yellow("○"):m.Ay.red("○")},w=(e,t)=>({id:e?._id||t,name:e?.name||"Unnamed",deviceCount:e?.devices?.length||0}),E=["refresh","clear-cache","system-menu-open","system-menu-close","system-info-open","system-info-close","local-sync-panel-open","local-sync-panel-close","debug-panel-open","debug-panel-close","logging-on","logging-off","test-panel-open","test-panel-close"],T=new u.uB("group").description("Device Group management");T.command("list").description("List all device groups").option("-j, --json","Output as JSON").action((n=c(function*(e){var t=D(),a=(0,f.default)("Fetching device groups...").start();try{var n=yield t.deviceGroups({});if(a.stop(),e.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(m.Ay.yellow("No device groups found"));console.log(m.Ay.bold("\nDevice Groups")),console.log("─".repeat(80)),n.forEach(e=>{var t=e.devices?.length||0;console.log(`● ${m.Ay.cyan(e.name)} ${m.Ay.gray(`(${t} devices)`)}`),console.log(` ID: ${m.Ay.gray(e._id)}`),e.description&&console.log(` ${m.Ay.gray(e.description)}`),console.log()})}catch(e){a.fail(`Failed to list groups: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)})),T.command("get <id>").description("Get device group details").option("-j, --json","Output as JSON").action((i=c(function*(e,t){var a=D(),n=(0,f.default)("Fetching device group...").start();try{var i=yield a.deviceGroup({id:e});if(n.stop(),i||(console.log(m.Ay.red("Device group not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));console.log(m.Ay.bold(`\nDevice Group: ${i.name}`)),console.log("─".repeat(60)),console.log(`ID: ${m.Ay.gray(i._id)}`),console.log(`Description: ${i.description||m.Ay.gray("N/A")}`),console.log(`Tags: ${i.tags?.join(", ")||m.Ay.gray("None")}`),console.log(`Created: ${m.Ay.gray(i.create_datetime)}`),console.log(`Modified: ${m.Ay.gray(i.last_modify_datetime)}`),i.devices?.length>0&&(console.log(`\n${m.Ay.bold("Devices")} (${i.devices.length})`),i.devices.forEach(e=>{var t=e.device_target_name||e.device_id;console.log(` - ${t} ${m.Ay.gray(`(${e.device_id})`)}`)})),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get group: ${e.message}`),process.exit(1)}}),function(e,t){return i.apply(this,arguments)})),T.command("resolve <query>").description("Resolve a device group name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((o=c(function*(e,t){var a=D(),n=t.json?null:(0,f.default)("Resolving device group...").start();try{var i=yield(0,y.Y)(()=>a.deviceGroup({id:e})),o=i?[i]:yield a.deviceGroups({paginate:{limit:t.limit}}),r=i?o:(o||[]).filter(t=>t.name?.toLowerCase().includes(e.trim().toLowerCase())),s=(0,y.K)({resource:"group",query:e,items:r||[],fields:["_id","name"],selectedBy:i?"id":null});if(n&&n.stop(),t.json)return void(0,g.GF)(s);if(s.resolved){var p=s.resolved;return console.log(m.Ay.bold("\nResolved Device Group")),console.log("─".repeat(60)),console.log(`Name: ${m.Ay.cyan(p.name||"Unnamed")}`),console.log(`ID: ${m.Ay.gray(p._id)}`),console.log(`Selected By: ${s.selectedBy}`),void console.log("─".repeat(60))}if(0===s.matches.length)return void console.log(m.Ay.yellow(`No device groups matched "${e}"`));console.log(m.Ay.bold(`\nMatching Device Groups (${s.matches.length})`)),console.log("─".repeat(80)),s.matches.forEach(e=>{console.log(`${m.Ay.cyan(e.name||"Unnamed")} ${m.Ay.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){n?n.fail(`Failed to resolve device group: ${t.message}`):(0,g.OW)(t.message,{resource:"group",query:e}),process.exit(1)}}),function(e,t){return o.apply(this,arguments)})),T.command("devices <id>").description("List devices in a group with status").option("-j, --json","Output as JSON").action((r=c(function*(e,t){var a=D(),n=(0,f.default)("Fetching devices...").start();try{var i=yield a.devicesByGroup({id:e});if(n.stop(),t.json)return void console.log(JSON.stringify(i,null,2));if(!i||0===i.length)return void console.log(m.Ay.yellow("No devices in this group"));console.log(m.Ay.bold("\nDevices in Group")),console.log("─".repeat(80)),i.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,a=_(t),n=e.name||e.device_name||e.device_target_name,i=e.entry_detail?.application?.name||m.Ay.gray("No app");console.log(`${a} ${m.Ay.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80))}catch(e){n.fail(`Failed to get devices: ${e.message}`),process.exit(1)}}),function(e,t){return r.apply(this,arguments)})),T.command("dispatch <id> <action>").description("Dispatch action to all devices in group").option("--dry-run","Validate inputs and show the dispatch plan without sending it").option("-j, --json","Output as JSON").action((s=c(function*(e,t,a){var n=D(),i=a.json?null:(0,f.default)(`Dispatching ${t}...`).start();E.includes(t)||(a.json?(0,g.OW)(`Invalid action. Valid actions: ${E.join(", ")}`,{action:"group.dispatch",target:{id:e}}):i.fail(`Invalid action. Valid actions: ${E.join(", ")}`),process.exit(1));try{var o=yield n.deviceGroup({id:e});if(!o)throw new Error("Device group not found");if(a.dryRun)return i&&i.stop(),void(0,b.S5)({action:"group.dispatch",target:w(o,e),request:{action:t},checks:[(0,b.Iy)("group exists",!0,`${o.name} (${o._id})`),(0,b.Iy)("action is valid",!0)],json:a.json});var r=yield n.dispatchDeviceGroupAction({id:e,action:t});a.json?(0,b.yd)({action:"group.dispatch",target:w(o,e),result:{action:t,success:r?.success||0,failed:r?.failed||0},json:!0}):(i.succeed(`Action dispatched: ${m.Ay.green(t)}`),r&&(console.log(`Success: ${m.Ay.green(r.success||0)}`),console.log(`Failed: ${m.Ay.red(r.failed||0)}`)))}catch(t){a.json?(0,g.OW)(t.message,{action:"group.dispatch",target:{id:e}}):i.fail(`Failed to dispatch action: ${t.message}`),process.exit(1)}}),function(e,t,a){return s.apply(this,arguments)})),T.command("refresh <id>").description("Refresh all devices in group").option("--dry-run","Validate inputs and show the refresh plan without sending it").option("-j, --json","Output as JSON").action((p=c(function*(e,t){var a=D(),n=t.json?null:(0,f.default)("Refreshing devices...").start();try{var i=yield a.deviceGroup({id:e});if(!i)throw new Error("Device group not found");if(t.dryRun)return n&&n.stop(),void(0,b.S5)({action:"group.refresh",target:w(i,e),request:{action:"refresh"},checks:[(0,b.Iy)("group exists",!0,`${i.name} (${i._id})`)],json:t.json});var o=yield a.dispatchDeviceGroupAction({id:e,action:"refresh"});t.json?(0,b.yd)({action:"group.refresh",target:w(i,e),result:{success:o?.success||0,failed:o?.failed||0},json:!0}):(n.succeed("Devices refreshed"),o&&(console.log(`Success: ${m.Ay.green(o.success||0)}`),console.log(`Failed: ${m.Ay.red(o.failed||0)}`)))}catch(a){t.json?(0,g.OW)(a.message,{action:"group.refresh",target:{id:e}}):n.fail(`Failed to refresh: ${a.message}`),process.exit(1)}}),function(e,t){return p.apply(this,arguments)})),T.command("monitor <id>").description("Monitor devices in group (polls every 60s)").option("-i, --interval <seconds>","Polling interval in seconds","60").action((l=c(function*(e,t){var a=D(),n=1e3*parseInt(t.interval,10);console.log(m.Ay.bold("\nDevice Group Monitor")),console.log(m.Ay.gray(`Polling every ${t.interval}s. Press Ctrl+C to stop.\n`));var i,o=(i=c(function*(){try{var t=yield Promise.all([a.deviceGroup({id:e}),a.devicesByGroup({id:e})]),n=d(t,2),i=n[0],o=n[1];if(process.stdout.write("[2J[0f"),console.log(m.Ay.bold(`Device Group: ${i.name}`)+m.Ay.gray(` - ${(new Date).toLocaleTimeString()}`)),console.log("─".repeat(80)),!o||0===o.length)return void console.log(m.Ay.yellow("No devices in this group"));var r=0,s=0;o.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,a=_(t),n=e.name||e.device_name||e.device_target_name,i=e.entry_detail?.application?.name||m.Ay.gray("No app");t&&Date.now()-new Date(t).getTime()<=x?r++:s++,console.log(`${a} ${m.Ay.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80)),console.log(`Online: ${m.Ay.green(r)} Offline: ${m.Ay.red(s)}`),console.log(`\n${m.Ay.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(m.Ay.red(`Error: ${e.message}`))}}),function(){return i.apply(this,arguments)});yield o(),setInterval(o,n)}),function(e,t){return l.apply(this,arguments)}))},34992:(e,t,a)=>{a.d(t,{$l:()=>o,GF:()=>n,OW:()=>i});var n=e=>{console.log(JSON.stringify(e,null,2))},i=(e,t={})=>{console.error(JSON.stringify({ok:!1,error:{message:e,...t}},null,2))},o=(e,t=4)=>e?e.length<=2*t?"*".repeat(e.length):`${e.slice(0,t)}…${e.slice(-t)}`:null},35198:(e,t,a)=>{a.d(t,{N:()=>o});const n=10,i=2;function o(e){return r(e,[])}function r(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const a=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:r(t,a)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const a=Math.min(n,e.length),o=e.length-a,s=[];for(let n=0;n<a;++n)s.push(r(e[n],t));1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`);return"["+s.join(", ")+"]"}(e,a);return function(e,t){const a=Object.entries(e);if(0===a.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=a.map(([e,a])=>e+": "+r(a,t));return"{ "+n.join(", ")+" }"}(e,a)}(e,t);default:return String(e)}}},35207:(e,t,a)=>{a.d(t,{$3:()=>c,I6:()=>v,T9:()=>D,Ui:()=>g,Xx:()=>h,d1:()=>x,gk:()=>y,iJ:()=>b,lq:()=>w,mv:()=>_,or:()=>m});var n=a(82307),i=a(2904),o=a(3777),r=a(28907),s=a(30671),p=a(73767),l=a(21777),d=a(50492),c=Object.prototype.hasOwnProperty;function u(e){return null==e}function m(e,t){var a=e.__typename,n=e.id,i=e._id;if("string"==typeof a&&(t&&(t.keyObject=u(n)?u(i)?void 0:{_id:i}:{id:n}),u(n)&&!u(i)&&(n=i),!u(n)))return"".concat(a,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var f={dataIdFromObject:m,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,d.o)(f,e)}function h(e){var t=e.canonizeResults;return void 0===t?f.canonizeResults:t}function g(e,t){return(0,r.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var y=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(y);return t?t[0]:e}function D(e,t,a){return!!(0,l.U)(t)&&((0,p.c)(t)?t.every(function(t){return D(e,t,a)}):e.selections.every(function(e){if((0,r.dt)(e)&&(0,n.MS)(e,a)){var i=(0,r.ue)(e);return c.call(t,i)&&(!e.selectionSet||D(e.selectionSet,t[i],a))}return!0}))}function x(e){return(0,l.U)(e)&&!(0,r.A_)(e)&&!(0,p.c)(e)}function _(){return new s.ZI}function w(e,t){var a=(0,i.JG)((0,o.zK)(e));return{fragmentMap:a,lookupFragment:function(e){var n=a[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},35317:e=>{e.exports=t("child_process")},35600:(e,t,a)=>{const n=a(70857),i=a(52018),o=a(56071),{env:r}=process;let s;function p(e,{streamIsTTY:t,sniffFlags:a=!0}={}){const i=function(){if("FORCE_COLOR"in r)return"true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(Number.parseInt(r.FORCE_COLOR,10),3)}();void 0!==i&&(s=i);const p=a?s:i;if(0===p)return 0;if(a){if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2}if(e&&!t&&void 0===p)return 0;const l=p||0;if("dumb"===r.TERM)return l;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(e=>e in r)||"codeship"===r.CI_NAME?1:l;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=Number.parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:l}function l(e,t={}){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(p(e,{streamIsTTY:e&&e.isTTY,...t}))}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),e.exports={supportsColor:l,stdout:l({isTTY:i.isatty(1)}),stderr:l({isTTY:i.isatty(2)})}},35646:function(e,t,a){var n=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))(function(i,o){function r(e){try{p(n.next(e))}catch(e){o(e)}}function s(e){try{p(n.throw(e))}catch(e){o(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a(function(e){e(t)})).then(r,s)}p((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=i(a(69278)),r=i(a(64756)),s=i(a(87016)),p=i(a(42613)),l=i(a(3680)),d=a(68089),c=i(a(36981)),u=l.default("https-proxy-agent:agent");class m extends d.Agent{constructor(e){let t;if(t="string"==typeof e?s.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");u("creating new HttpsProxyAgent instance: %o",t),super(t);const a=Object.assign({},t);var n;this.secureProxy=t.secureProxy||"string"==typeof(n=a.protocol)&&/^https:?$/i.test(n),a.host=a.hostname||a.host,"string"==typeof a.port&&(a.port=parseInt(a.port,10)),!a.port&&a.host&&(a.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in a)&&(a.ALPNProtocols=["http 1.1"]),a.host&&a.path&&(delete a.path,delete a.pathname),this.proxy=a}callback(e,t){return n(this,void 0,void 0,function*(){const{proxy:a,secureProxy:n}=this;let i;n?(u("Creating `tls.Socket`: %o",a),i=r.default.connect(a)):(u("Creating `net.Socket`: %o",a),i=o.default.connect(a));const s=Object.assign({},a.headers);let l=`CONNECT ${`${t.host}:${t.port}`} HTTP/1.1\r\n`;a.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(a.auth).toString("base64")}`);let{host:d,port:m,secureEndpoint:v}=t;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(m,v)||(d+=`:${m}`),s.Host=d,s.Connection="close";for(const e of Object.keys(s))l+=`${e}: ${s[e]}\r\n`;const h=c.default(i);i.write(`${l}\r\n`);const{statusCode:g,buffered:y}=yield h;if(200===g){if(e.once("socket",f),t.secureEndpoint){u("Upgrading socket connection to TLS");const e=t.servername||t.host;return r.default.connect(Object.assign(Object.assign({},function(e,...t){const a={};let n;for(n in e)t.includes(n)||(a[n]=e[n]);return a}(t,"host","hostname","path","port")),{socket:i,servername:e}))}return i}i.destroy();const b=new o.default.Socket({writable:!1});return b.readable=!0,e.once("socket",e=>{u("replaying proxy buffer for failed request"),p.default(e.listenerCount("data")>0),e.push(y),e.push(null)}),b})}}function f(e){e.resume()}t.default=m},35679:(e,t,a)=>{a.d(t,{DM:()=>i,uB:()=>c});var n=a(65181);const{DM:i,gu:o,er:r,Ww:s,b7:p,Di:l,a2:d,uB:c,ef:u,c$:m,_V:f}=n},35704:(e,t,a)=>{a.d(t,{V:()=>o});var n={S:"Subspace",B:"Brick",C:"Canvas",A:"Animation",G:"Generator",D:"Data",F:"Data Calc",N:"Calc Node",T:"Test",TC:"Test Case",AT:"Automation Map"},i=e=>e?.split("_")?.[0]||"",o=(e,{keyword:t,types:a}={})=>{var o=t?.trim().toLowerCase()||"",r=a?.length>0?new Set(a.flatMap(e=>{var t=String(e).trim().toUpperCase();return t?[t]:[]})):null,s=Object.entries(e||{}).filter(([,e])=>e&&!e.hide).filter(([e,t])=>{var a=i(e);if(r&&!r.has(a))return!1;if(!o)return!0;var n=t?.title?String(t.title).toLowerCase():"";return e.toLowerCase().includes(o)||n.includes(o)}).reduce((e,[t,a])=>{var n=i(t);return e[n]||(e[n]=[]),e[n].push({shortId:t,ref:a}),e},{});return Object.entries(s).map(([e,t])=>({prefix:e,label:n[e]||e,refs:t.sort((e,t)=>{var a=e.ref?.title||e.shortId,n=t.ref?.title||t.shortId;return String(a).localeCompare(String(n))})})).sort((e,t)=>e.label.localeCompare(t.label))}},35892:(e,t,a)=>{a.d(t,{r:()=>o});var n=a(36054),i=a(51360);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},36054:(e,t,a)=>{function n(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function o(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t,a){return t&&o(e.prototype,t),a&&o(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}a.d(t,{c:()=>E});var s=function(){return"function"==typeof Symbol},p=function(e){return s()&&Boolean(Symbol[e])},l=function(e){return p(e)?Symbol[e]:"@@"+e};s()&&!p("observable")&&(Symbol.observable=Symbol("observable"));var d=l("iterator"),c=l("observable"),u=l("species");function m(e,t){var a=e[t];if(null!=a){if("function"!=typeof a)throw new TypeError(a+" is not a function");return a}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[u])&&(t=void 0),void 0!==t?t:E}function v(e){return e instanceof E}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function g(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var a=m(t,"unsubscribe");a&&a.call(t)}}catch(e){h(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function D(e,t,a){e._state="running";var n=e._observer;try{var i=m(n,t);switch(t){case"next":i&&i.call(n,a);break;case"error":if(b(e),!i)throw a;i.call(n,a);break;case"complete":b(e),i&&i.call(n)}}catch(e){h(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function x(e,t,a){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:a}],void g(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var a=0;a<t.length&&(D(e,t[a].type,t[a].value),"closed"!==e._state);++a);}}(e)})):void D(e,t,a);e._queue.push({type:t,value:a})}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var a=new w(this);try{this._cleanup=t.call(void 0,a)}catch(e){a.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(b(this),y(this))},r(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){x(this._subscription,"next",e)},t.error=function(e){x(this._subscription,"error",e)},t.complete=function(){x(this._subscription,"complete")},r(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(a,n){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){n(e),i.unsubscribe()}},error:n,complete:a});else n(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),a()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))(function(a){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return a.error(e)}a.next(t)},error:function(e){a.error(e)},complete:function(){a.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))(function(a){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return a.error(e)}a.next(t)},error:function(e){a.error(e)},complete:function(){a.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var a=f(this),n=arguments.length>1,i=!1,o=arguments[1];return new a(function(a){return t.subscribe({next:function(t){var r=!i;if(i=!0,!r||n)try{o=e(o,t)}catch(e){return a.error(e)}else o=t},error:function(e){a.error(e)},complete:function(){if(!i&&!n)return a.error(new TypeError("Cannot reduce an empty sequence"));a.next(o),a.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var i=f(this);return new i(function(t){var n,o=0;return function e(r){n=r.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===a.length?(n=void 0,t.complete()):e(i.from(a[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var a=f(this);return new a(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=a.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),r()}});i.push(o)},error:function(e){n.error(e)},complete:function(){r()}});function r(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var a="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=m(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return v(o)&&o.constructor===a?o:new a(function(e){return o.subscribe(e)})}if(p("iterator")&&(i=m(t,d)))return new a(function(e){g(function(){if(!e.closed){for(var a,o=n(i.call(t));!(a=o()).done;){var r=a.value;if(e.next(r),e.closed)return}e.complete()}})});if(Array.isArray(t))return new a(function(e){g(function(){if(!e.closed){for(var a=0;a<t.length;++a)if(e.next(t[a]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){g(function(){if(!e.closed){for(var t=0;t<a.length;++t)if(e.next(a[t]),e.closed)return;e.complete()}})})},r(e,null,[{key:u,get:function(){return this}}]),e}();s()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:c,hostReportError:h},configurable:!0})},36151:e=>{var t={};function a(e){return e<0?-1:1}function n(e,t){t.unsigned||--e;const n=t.unsigned?0:-Math.pow(2,e),i=Math.pow(2,e)-1,o=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),r=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let p=+e;if(s.enforceRange){if(!Number.isFinite(p))throw new TypeError("Argument is not a finite number");if(p=a(p)*Math.floor(Math.abs(p)),p<n||p>i)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&s.clamp)return p=function(e){return e%1!=.5||1&e?Math.round(e):Math.floor(e)}(p),p<n&&(p=n),p>i&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=a(p)*Math.floor(Math.abs(p)),p%=o,!t.unsigned&&p>=r)return p-o;if(t.unsigned)if(p<0)p+=o;else if(-0===p)return 0;return p}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=n(8,{unsigned:!1}),t.octet=n(8,{unsigned:!0}),t.short=n(16,{unsigned:!1}),t["unsigned short"]=n(16,{unsigned:!0}),t.long=n(32,{unsigned:!1}),t["unsigned long"]=n(32,{unsigned:!0}),t["long long"]=n(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=n(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const a=String(e);let n;for(let e=0;void 0!==(n=a.codePointAt(e));++e)if(n>255)throw new TypeError("Argument is not a valid bytestring");return a},t.USVString=function(e){const t=String(e),a=t.length,n=[];for(let e=0;e<a;++e){const i=t.charCodeAt(e);if(i<55296||i>57343)n.push(String.fromCodePoint(i));else if(56320<=i&&i<=57343)n.push(String.fromCodePoint(65533));else if(e===a-1)n.push(String.fromCodePoint(65533));else{const a=t.charCodeAt(e+1);if(56320<=a&&a<=57343){const t=1023&i,o=1023&a;n.push(String.fromCodePoint(65536+1024*t+o)),++e}else n.push(String.fromCodePoint(65533))}}return n.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},36981:function(e,t,a){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(a(3680)).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise((t,a)=>{let n=0;const o=[];function r(){const a=e.read();a?function(e){o.push(e),n+=e.length;const a=Buffer.concat(o,n);if(-1===a.indexOf("\r\n\r\n"))return i("have not received end of HTTP headers yet..."),void r();const s=a.toString("ascii",0,a.indexOf("\r\n")),p=+s.split(" ")[1];i("got proxy server response: %o",s),t({statusCode:p,buffered:a})}(a):e.once("readable",r)}function s(e){i("onclose had error %o",e)}function p(){i("onend")}function l(t){e.removeListener("end",p),e.removeListener("error",l),e.removeListener("close",s),e.removeListener("readable",r),i("onerror %o",t),a(t)}e.on("error",l),e.on("close",s),e.on("end",p),r()})}},37067:e=>{e.exports=t("node:http")},37396:(e,t,a)=>{a.d(t,{EQ:()=>s,Nw:()=>l,ST:()=>r,YX:()=>p,bd:()=>d});var n=a(21777),i=a(73767),o=a(30671);function r(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function p(e){return r(e)||s(e)}function l(e){return(0,n.U)(e)&&"payload"in e}function d(e,t){var a=e,n=new o.ZI;return r(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var r=i[o],s=!isNaN(+r)?[]:{};s[r]=t,t=s}a=n.merge(a,t)}),a}},38338:(e,t,a)=>{a.d(t,{l:()=>A,m:()=>F});var n=a(85608),i=a(79212),o=a(28907),r=a(86563),s=a(21777),p=a(35207),l=a(73767),d=a(777),c=a(30671),u=Object.create(null);function m(e){var t=JSON.stringify(e);return u[t]||(u[t]=Object.create(null))}function f(e){var t=m(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,a){var n=function(e,t){return a.readField(t,e)},o=a.keyObject=h(e,function(e){var o=b(a.storeObject,e,n);return void 0===o&&t!==a.storeObject&&p.$3.call(t,e[0])&&(o=b(t,e,y)),(0,i.invariant)(void 0!==o,5,e.join("."),t),o});return"".concat(a.typename,":").concat(JSON.stringify(o))})}function v(e){var t=m(e);return t.keyArgsFn||(t.keyArgsFn=function(t,a){var n=a.field,i=a.variables,r=a.fieldName,s=h(e,function(e){var a=e[0],r=a.charAt(0);if("@"!==r)if("$"!==r){if(t)return b(t,e)}else{var s=a.slice(1);if(i&&p.$3.call(i,s)){var d=e.slice(0);return d[0]=s,b(i,d)}}else if(n&&(0,l.E)(n.directives)){var c=a.slice(1),u=n.directives.find(function(e){return e.name.value===c}),m=u&&(0,o.MB)(u,i);return m&&b(m,e.slice(1))}}),d=JSON.stringify(s);return(t||"{}"!==d)&&(r+=":"+d),r})}function h(e,t){var a=new c.ZI;return g(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var r=n.length-1;r>=0;--r)(i={})[n[r]]=o,o=i;e=a.merge(e,o)}return e},Object.create(null))}function g(e){var t=m(e);if(!t.paths){var a=t.paths=[],n=[];e.forEach(function(t,i){(0,l.c)(t)?(g(t).forEach(function(e){return a.push(n.concat(e))}),n.length=0):(n.push(t),(0,l.c)(e[i+1])||(a.push(n.slice(0)),n.length=0))})}return t.paths}function y(e,t){return e[t]}function b(e,t,a){return a=a||y,D(t.reduce(function e(t,n){return(0,l.c)(t)?t.map(function(t){return e(t,n)}):t&&a(t,n)},e))}function D(e){return(0,s.U)(e)?(0,l.c)(e)?e.map(D):h(Object.keys(e).sort(),function(t){return b(e,t)}):e}var x=a(47150);function _(e){return void 0!==e.args?e.args:e.field?(0,o.MB)(e.field,e.variables):null}var w=function(){},E=function(e,t){return t.fieldName},T=function(e,t,a){return(0,a.mergeObjects)(e,t)},N=function(e,t){return t},A=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.__assign)({dataIdFromObject:p.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var a,i=this,o=t&&(t.typename||(null===(a=t.storeObject)||void 0===a?void 0:a.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var r,s=t&&t.storeObject||e,p=(0,n.__assign)((0,n.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=F(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),d=o&&this.getTypePolicy(o),c=d&&d.keyFn||this.config.dataIdFromObject;return x.yV.withValue(!0,function(){for(;c;){var t=c((0,n.__assign)((0,n.__assign)({},e),s),p);if(!(0,l.c)(t)){r=t;break}c=f(t)}}),r=r?String(r):void 0,p.keyObject?[r,p.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(a){var i=e[a],o=i.queryType,r=i.mutationType,s=i.subscriptionType,l=(0,n.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",a),r&&t.setRootTypename("Mutation",a),s&&t.setRootTypename("Subscription",a),p.$3.call(t.toBeAdded,a)?t.toBeAdded[a].push(l):t.toBeAdded[a]=[l]})},e.prototype.updateTypePolicy=function(e,t){var a=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function r(e,t){e.merge="function"==typeof t?t:!0===t?T:!1===t?N:e.merge}r(n,t.merge),n.keyFn=!1===i?w:(0,l.c)(i)?f(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=a.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,p=i.read,d=i.merge;n.keyFn=!1===s?E:(0,l.c)(s)?v(s):"function"==typeof s?s:n.keyFn,"function"==typeof p&&(n.read=p),r(n,d)}n.read&&n.merge&&(n.keyFn=n.keyFn||E)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var a="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[a];t!==n&&((0,i.invariant)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=a,this.rootTypenamesById[a]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(a){t.getSupertypeSet(a,!0),e[a].forEach(function(e){t.getSupertypeSet(e,!0).add(a);var n=e.match(p.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!p.$3.call(this.typePolicies,e)){var a=this.typePolicies[e]=Object.create(null);a.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(a,n){if(a.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields,r=(0,n.__rest)(i,["fields"]);Object.assign(a,r),Object.assign(a.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(a){t.updateTypePolicy(e,a)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,a){if(e){var n=this.getTypePolicy(e).fields;return n[t]||a&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var a=this.supertypeMap.get(e);return!a&&t&&this.supertypeMap.set(e,a=new Set),a},e.prototype.fragmentMatches=function(e,t,a,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var r=e.typeCondition.name.value;if(t===r)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(r))for(var s=this.getSupertypeSet(t,!0),l=[s],d=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&l.indexOf(t)<0&&l.push(t)},c=!(!a||!this.fuzzySubtypes.size),u=!1,m=0;m<l.length;++m){var f=l[m];if(f.has(r))return s.has(r)||(u&&!1!==globalThis.__DEV__&&i.invariant.warn(7,t,r),s.add(r)),!0;f.forEach(d),c&&m===l.length-1&&(0,p.T9)(e.selectionSet,a,n)&&(c=!1,u=!0,this.fuzzySubtypes.forEach(function(e,a){var n=t.match(e);n&&n[0]===t&&d(a)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var a=this.getFieldPolicy(e,t,!1);return!(!a||!a.keyFn)},e.prototype.getStoreFieldName=function(e){var t,a=e.typename,n=e.fieldName,i=this.getFieldPolicy(a,n,!1),r=i&&i.keyFn;if(r&&a)for(var s={typename:a,fieldName:n,field:e.field||null,variables:e.variables},d=_(e);r;){var c=r(d,s);if(!(0,l.c)(c)){t=c||n;break}r=v(c)}return void 0===t&&(t=e.field?(0,o.Ii)(e.field,e.variables):(0,o.o5)(n,_(e))),!1===t?n:n===(0,p.iJ)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var a=e.from;if(a&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(a,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),r=(0,p.iJ)(i),s=t.store.getFieldValue(a,i),l=this.getFieldPolicy(e.typename,r,!1),c=l&&l.read;if(c){var u=O(this,a,e,t,t.store.getStorage((0,o.A_)(a)?a.__ref:a,i));return d.bl.withValue(this.cache,c,[s,u])}return s}},e.prototype.getReadFunction=function(e,t){var a=this.getFieldPolicy(e,t,!1);return a&&a.read},e.prototype.getMergeFunction=function(e,t,a){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&a&&(i=(n=this.getTypePolicy(a))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,a,n,i){var o=a.field,r=a.typename,s=a.merge;return s===T?S(n.store)(e,t):s===N?t:(n.overwrite&&(e=void 0),s(e,t,O(this,void 0,{typename:r,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function O(e,t,a,n,i){var r=e.getStoreFieldName(a),s=(0,p.iJ)(r),l=a.variables||n.variables,d=n.store,c=d.toReference,u=d.canRead;return{args:_(a),field:a.field||null,fieldName:s,storeFieldName:r,variables:l,isReference:o.A_,toReference:c,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(F(arguments,t,l),n)},mergeObjects:S(n.store)}}function F(e,t,a){var o,s=e[0],l=e[1],d=e.length;return"string"==typeof s?o={fieldName:s,from:d>1?l:t}:(o=(0,n.__assign)({},s),p.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.invariant.warn(8,(0,r.p)(Array.from(e))),void 0===o.variables&&(o.variables=a),o}function S(e){return function(t,a){if((0,l.c)(t)||(0,l.c)(a))throw(0,i.newInvariantError)(9);if((0,s.U)(t)&&(0,s.U)(a)){var r=e.getFieldValue(t,"__typename"),d=e.getFieldValue(a,"__typename");if(r&&d&&r!==d)return a;if((0,o.A_)(t)&&(0,p.d1)(a))return e.merge(t.__ref,a),t;if((0,p.d1)(t)&&(0,o.A_)(a))return e.merge(t,a.__ref),a;if((0,p.d1)(t)&&(0,p.d1)(a))return(0,n.__assign)((0,n.__assign)({},t),a)}return a}}},38414:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(3777);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,n.n4)(t.query)||void 0:""),t}},38678:(e,t,a)=>{a.d(t,{y:()=>p});var n,i=a(92704),o=a(45078),r=a(555),s=a(44114),p=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.y)(e),n.set(e,t)),t},{reset:function(){n=new o.A(r.v.print||2e3)}});p.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return n?n.size:0})},39023:e=>{e.exports=t("util")},39283:(e,t,a)=>{a.r(t),a.d(t,{disableWarningsSlot:()=>n.yV,maskFragment:()=>i.z,maskOperation:()=>o.m});var n=a(47150),i=a(62959),o=a(28354)},39537:(e,t,a)=>{a.d(t,{_:()=>s,k:()=>r});var n=a(93217),i=a(35198),o=a(50792);class r{constructor(e,t="GraphQL request",a={line:1,column:1}){"string"==typeof e||(0,n.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=a,this.locationOffset.line>0||(0,n.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,o.h)(e,r)}},40610:e=>{e.exports=t("node:dns")},41314:e=>{e.exports=t("node:dgram")},41762:(e,t,a)=>{const{InvalidArgumentError:n}=a(43823);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){const t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},42455:(e,t,a)=>{var n;a.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(n={}))},42495:(e,t,a)=>{a.d(t,{k:()=>v});var n=a(85608),i=a(77634),o=a(36054),r=a(555),s=a(2904),p=a(3777),l=a(30671),d=a(54019),c=a(44114),u=a(55427),m=a(79212),f=a(62959),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(s.ct,{max:r.v["cache.fragmentQueryDocuments"]||1e3,cache:d.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,a=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(a)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t=this,a=e.fragment,i=e.fragmentName,r=e.from,s=e.optimistic,d=void 0===s||s,c=(0,n.__rest)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(a,i),h=void 0===r||"string"==typeof r?r:this.identify(r),g=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var y=i||(0,p.E4)(a).name.value;h||!1!==globalThis.__DEV__&&m.invariant.warn(1,y)}var b,D=(0,n.__assign)((0,n.__assign)({},c),{returnPartialData:!0,id:h,query:v,optimistic:d});return new o.c(function(o){return t.watch((0,n.__assign)((0,n.__assign)({},D),{immediate:!0,callback:function(r){var s=g?(0,f.z)(r.result,a,t,i):r.result;if(!b||!(0,u.a)(v,{data:b.result},{data:s},e.variables)){var p={data:s,complete:!!r.complete};r.missing&&(p.missing=(0,l.IM)(r.missing.map(function(e){return e.missing}))),b=(0,n.__assign)((0,n.__assign)({},r),{result:s}),o.next(p)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,a=e.data,i=(0,n.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:a}))},e.prototype.writeFragment=function(e){var t=e.id,a=e.data,i=e.fragment,o=e.fragmentName,r=(0,n.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(r,{query:this.getFragmentDoc(i,o),dataId:t,result:a}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(a){var i=a.readQuery(e),o=t(i);return null==o?i:(a.writeQuery((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(a){var i=a.readFragment(e),o=t(i);return null==o?i:(a.writeFragment((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=c.tQ)},42613:e=>{e.exports=t("assert")},42868:(e,t,a)=>{var n;a.d(t,{H:()=>n}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}))},43106:e=>{e.exports=t("zlib")},43823:(e,t)=>{class a extends Error{constructor(e,t,a){super(a),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=a,t.InvalidArgumentError=class extends a{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},44044:(e,t,a)=>{t.URL=a(76447).interface,a(78323).serializeURL,a(78323).serializeURLOrigin,a(78323).basicURLParse,a(78323).setTheUsername,a(78323).setThePassword,a(78323).serializeHost,a(78323).serializeInteger,a(78323).parseURL},44114:(e,t,a)=>{a.d(t,{D_:()=>r,cM:()=>p,ep:()=>s,tQ:()=>l});var n=a(85608),i=a(555),o={};function r(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,a,r,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],a=e[1];return[t,i.v[t]||a]})),sizes:(0,n.__assign)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(a=o.canonicalStringify)||void 0===a?void 0:a.call(o),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:m(this.queryManager.documentTransform)}},null===(s=(r=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(r))}}:void 0,p=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.__assign)((0,n.__assign)({},d.apply(this)),{addTypenameDocumentTransform:m(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:c(this.storeReader.executeSelectionSet),executeSubSelectedArray:c(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:c(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:c(null==e?void 0:e.findFragmentSpreads),lookup:c(null==e?void 0:e.lookup),transform:c(null==e?void 0:e.transform)}})}:void 0,l=!1!==globalThis.__DEV__?d:void 0;function d(){return{cache:{fragmentQueryDocuments:c(this.getFragmentDoc)}}}function c(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function u(e){return null!=e}function m(e){return f(e).map(function(e){return{cache:e}})}function f(e){return e?(0,n.__spreadArray)((0,n.__spreadArray)([c(null==e?void 0:e.performWork)],f(null==e?void 0:e.left),!0),f(null==e?void 0:e.right),!0).filter(u):[]}function v(e){var t;return e?(0,n.__spreadArray)((0,n.__spreadArray)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null==e?void 0:e.left),!0),v(null==e?void 0:e.right),!0).filter(u):[]}},44214:(e,t,a)=>{a.d(t,{M:()=>s});var n,i=a(45078),o=a(555),r=a(44114),s=Object.assign(function(e){return JSON.stringify(e,p)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function p(e,t){if(t&&"object"==typeof t){var a=Object.getPrototypeOf(t);if(a===Object.prototype||null===a){var i=Object.keys(t);if(i.every(l))return t;var o=JSON.stringify(i),r=n.get(o);if(!r){i.sort();var s=JSON.stringify(i);r=n.get(s)||i,n.set(o,r),n.set(s,r)}var p=Object.create(a);return r.forEach(function(e){p[e]=t[e]}),p}}return t}function l(e,t,a){return 0===t||a[t-1]<=e}!1!==globalThis.__DEV__&&(0,r.D_)("canonicalStringify",function(){return n.size}),s.reset()},44592:(e,t,a)=>{a.r(t),a.d(t,{Trie:()=>s});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:r}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),r.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let a=0,n=e.length;t&&a<n;++a){const n=t.mapFor(e[a],!1);t=n&&n.get(e[a])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const a=e[0],n=this.mapFor(a,!1),i=n&&n.get(a);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(a))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let a=t.get(e);return a||t.set(e,a=new s(this.weakness,this.makeData)),a}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},44668:(e,t,a)=>{var n=a(56347);function i(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}e.exports=function(e,t,a){return t&&i(e.prototype,t),a&&i(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},44708:e=>{e.exports=t("node:https")},45078:(e,t,a)=>{a.d(t,{A:()=>s,V:()=>p});var n=a(31088),i=a(54019),o=new WeakSet;function r(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100))}var s=function(e,t){var a=new i.l(e,t);return a.set=function(e,t){var a=i.l.prototype.set.call(this,e,t);return r(this),a},a},p=function(e,t){var a=new n.C(e,t);return a.set=function(e,t){var a=n.C.prototype.set.call(this,e,t);return r(this),a},a}},45637:(e,t,a)=>{a.d(t,{E:()=>p});var n=a(85608),i=a(36054),o=a(87613),r=a(35892);function s(e){return e&&"function"==typeof e.then}var p=function(e){function t(t){var a=e.call(this,function(e){return a.addObserver(e),function(){return a.removeObserver(e)}})||this;return a.observers=new Set,a.promise=new Promise(function(e,t){a.resolve=e,a.reject=t}),a.handlers={next:function(e){null!==a.sub&&(a.latest=["next",e],a.notify("next",e),(0,o.w)(a.observers,"next",e))},error:function(e){var t=a.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),a.sub=null,a.latest=["error",e],a.reject(e),a.notify("error",e),(0,o.w)(a.observers,"error",e))},complete:function(){var e=a,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?s(i)?i.then(function(e){return a.sub=e.subscribe(a.handlers)},a.handlers.error):a.sub=i.subscribe(a.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),a.sub=null,a.latest&&"next"===a.latest[0]?a.resolve(a.latest[1]):a.resolve(),a.notify("complete"),(0,o.w)(a.observers,"complete"))}}},a.nextResultListeners=new Set,a.cancel=function(e){a.reject(e),a.sources=[],a.handlers.error(e)},a.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.c(t)]),s(t)?t.then(function(e){return a.start(e)},a.handlers.error):a.start(t),a}return(0,n.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],a=e[t];a&&a.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var a=this.nextResultListeners;a.size&&(this.nextResultListeners=new Set,a.forEach(function(a){return a(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(a,n){t||(t=!0,e(a,n))})},t}(i.c);(0,r.r)(p)},46192:(e,t,a)=>{a.d(t,{K:()=>i});var n=a(79212);function i(e){for(var t=["query","operationName","variables","extensions","context"],a=0,i=Object.keys(e);a<i.length;a++){var o=i[a];if(t.indexOf(o)<0)throw(0,n.newInvariantError)(46,o)}return e}},47150:(e,t,a)=>{a.d(t,{Ki:()=>d,jq:()=>r,xm:()=>s,yV:()=>p});var n=a(77634),i=a(79212),o=a(51360),r=o.et?WeakMap:Map,s=o.En?WeakSet:Set,p=new n.Slot,l=!1;function d(){l||(l=!0,!1!==globalThis.__DEV__&&i.invariant.warn(52))}},47336:(e,t,a)=>{a.d(t,{Gu:()=>m,he:()=>v,wR:()=>c});var n,i,o,r=a(99436),s=a(79657),p=a(73024),l=a(76760),d=a(48161),c=e=>!0===e?.media_resource?.enable_media_workspace,u=(n=r(function*(e,t,a){var n=yield e.mediaFiles({boxId:t,userTags:[`bricks_screenshot_${a}`],limit:1});return n?.[0]||null}),function(e,t,a){return n.apply(this,arguments)}),m=(e,{preferThumbnail:t=!1}={})=>{if(!e?.meta?.storageEndpoint)return null;var a=e.meta,n=a.storageEndpoint,i=a.originalFileKey,o=t?(e=>{var t=e?.meta;if(!t)return null;if("Video"===e.fileType&&t.videoThumbOriginalFileKey)return t.videoThumbOriginalFileKey;var a=t.imageVersions||[];if(!Array.isArray(a)||0===a.length)return null;var n=a.filter(e=>"BOUNDED"===e?.strategy&&"number"==typeof e.width).sort((e,t)=>e.width-t.width);return(n[0]||a[0])?.key||null})(e):null,r=o||i;return r?`${n}/${r}`:null},f=(i=r(function*(e,t=null){var a=yield(0,s.Ay)(e);if(!a.ok)throw new Error(`Failed to download screenshot: ${a.statusText}`);var n=yield a.buffer(),i=t||l.join(d.tmpdir(),`bricks-screenshot-${Date.now()}.png`),o=l.dirname(i);return p.existsSync(o)||p.mkdirSync(o,{recursive:!0}),p.writeFileSync(i,n),i}),function(e){return i.apply(this,arguments)}),v=(o=r(function*(e,t,a,n=null,i={}){var o=(e=>c(e)&&e.media_resource?.system_media_box_id||null)(t);if(!o)return{error:"Media workspace not enabled for this workspace"};var r=yield u(e,o,a);if(!r)return{error:"No screenshot available for this device"};var s=m(r,i);return s?{path:yield f(s,n),file:r,url:s}:{error:"Could not build screenshot URL"}}),function(e,t,a){return o.apply(this,arguments)})},47661:(e,t,a)=>{const n=Object.assign({},a(3900)),i=Object.keys(n);Object.defineProperty(n,"random",{get(){const e=Math.floor(Math.random()*i.length),t=i[e];return n[t]}}),e.exports=n},48161:e=>{e.exports=t("node:os")},48255:(e,t,a)=>{a.d(t,{Wk:()=>l,eO:()=>r,yJ:()=>p});var n=a(91070),i=a(73971),o=a(8238);class r extends Error{constructor(e,...t){var a,o,p;const{nodes:l,source:d,positions:c,path:u,originalError:m,extensions:f}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=m?m:void 0,this.nodes=s(Array.isArray(l)?l:l?[l]:void 0);const v=s(null===(a=this.nodes)||void 0===a?void 0:a.map(e=>e.loc).filter(e=>null!=e));this.source=null!=d?d:null==v||null===(o=v[0])||void 0===o?void 0:o.source,this.positions=null!=c?c:null==v?void 0:v.map(e=>e.start),this.locations=c&&d?c.map(e=>(0,i.g)(d,e)):null==v?void 0:v.map(e=>(0,i.g)(e.source,e.start));const h=(0,n.Z)(null==m?void 0:m.extensions)?null==m?void 0:m.extensions:void 0;this.extensions=null!==(p=null!=f?f:h)&&void 0!==p?p: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}}),null!=m&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):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(const t of this.nodes)t.loc&&(e+="\n\n"+(0,o.V)(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+(0,o.C)(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}function p(e){return e.toString()}function l(e){return e.toJSON()}},49317:(e,t,a)=>{a.d(t,{l:()=>v});var n,i,o=a(99436),r=a(35679),s=a(34992),p=a(50700),l=a(74445),d=a(74752),c=(n=o(function*(){try{return yield Promise.all([a.e(428),a.e(300),a.e(425),a.e(737)]).then(a.bind(a,18737)),{available:!0}}catch(e){return{available:!1,error:e.message}}}),function(){return n.apply(this,arguments)}),u=(e,t,a)=>({severity:e,code:t,message:a}),m=(i=o(function*({version:e="2.25.0-beta.1",mcpCheck:t=c}={}){var a=(0,d.getCurrentProfile)(),n=(0,d.getCurrentProfileSource)(),i=(0,d.getTokenInfo)(a),o=(0,d.getBaseUrl)(),r=(0,d.getActivityLogBaseUrl)(),m=[],f={ok:!1,timestamp:(new Date).toISOString(),cli:{name:"bricks",version:e},profile:{name:a,source:n},config:{path:d.CONFIG_PATH,baseUrl:o,activityLogBaseUrl:r},auth:{available:Boolean(i?.token),source:i?.token?"config":"missing",workspaceId:i?.workspaceId||null,workspaceName:i?.workspaceName||null,createdAt:i?.createdAt||null,tokenPreview:(0,s.$l)(i?.token)},connectivity:{workspace:{ok:!1,skipped:!i?.token,error:null}},capabilities:{zeroArgMode:(0,l.z)()?"interactive":"help",mcp:{available:!1,error:null}},issues:m};if(i?.token)try{var v=yield(0,p.createClient)(o,i.token).workspace();f.connectivity.workspace={ok:!0,skipped:!1,error:null,id:v?._id||i.workspaceId||null,name:v?.name||i.workspaceName||null},f.auth.workspaceId=v?._id||f.auth.workspaceId,f.auth.workspaceName=v?.name||f.auth.workspaceName}catch(e){f.connectivity.workspace={ok:!1,skipped:!1,error:e.message},m.push(u("error","workspace_unreachable",`Workspace query failed for ${o}: ${e.message}`))}else m.push(u("warning","auth_missing","No saved token for the current profile."));var h=yield t();return f.capabilities.mcp={available:h.available,error:h.error||null},h.available||m.push(u("warning","mcp_unavailable",`MCP stdio server is unavailable: ${h.error||"Unknown error"}`)),f.ok=0===m.length,f}),function(){return i.apply(this,arguments)}),f=(e,t,a)=>`${e.padEnd(14)} ${t}${a?` ${a}`:""}`,v=new r.uB("doctor").description("Check CLI configuration, auth state, and workspace reachability").option("-j, --json","Output as JSON").action(function(){var e=o(function*(e){try{var t=yield m();if(e.json)return void(0,s.GF)(t);console.log((e=>{var t=[];if(t.push("BRICKS CLI Doctor"),t.push("─".repeat(60)),t.push(f("CLI","OK",`bricks v${e.cli.version}`)),t.push(f("Profile","OK",`${e.profile.name} (${e.profile.source})`)),t.push(f("BRICKS API","OK",e.config.baseUrl)),t.push(f("Activity Log","OK",e.config.activityLogBaseUrl)),e.auth.available){var a=e.auth.workspaceName||e.auth.workspaceId||"Unknown workspace";t.push(f("Auth","OK",`${a} (${e.auth.source}, ${e.auth.tokenPreview})`))}else t.push(f("Auth","WARN","No saved token for the current profile"));if(e.connectivity.workspace.skipped)t.push(f("Workspace","WARN","Skipped because no token is available"));else if(e.connectivity.workspace.ok){var n=e.connectivity.workspace.name||e.connectivity.workspace.id||"Unknown workspace";t.push(f("Workspace","OK",n))}else t.push(f("Workspace","FAIL",e.connectivity.workspace.error));return e.capabilities.mcp.available?t.push(f("MCP","OK","STDIO server import is available")):t.push(f("MCP","WARN",e.capabilities.mcp.error)),t.push(f("Zero-arg mode",((e,t=!1)=>e?"OK":t?"WARN":"FAIL")("interactive"===e.capabilities.zeroArgMode,"help"===e.capabilities.zeroArgMode),"interactive"===e.capabilities.zeroArgMode?"Starts Ink interactive mode on TTY":"Shows help outside TTY contexts")),e.issues.length>0&&(t.push("─".repeat(60)),t.push("Issues"),e.issues.forEach(e=>{t.push(`- [${e.severity}] ${e.message}`)})),t.join("\n")})(t))}catch(t){e.json?(0,s.OW)(t.message):console.error(`Doctor failed: ${t.message}`),process.exit(1)}});return function(t){return e.apply(this,arguments)}}())},49952:(e,t,a)=>{a.d(t,{P:()=>r});var n=a(85608),i=a(19074),o=a(79760),r=function(e){function t(t){void 0===t&&(t={});var a=e.call(this,(0,o.$)(t).request)||this;return a.options=t,a}return(0,n.__extends)(t,e),t}(i.C)},50492:(e,t,a)=>{function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(a[t]=n)})}),a}a.d(t,{o:()=>n})},50700:(e,t,a)=>{a.r(t),a.d(t,{BricksClient:()=>T,BricksPublicClient:()=>w,createClient:()=>N,createPublicClient:()=>E});var n=a(99436),i=a(5018),o=a(44668),r=a(54506),s=a(78549),p=a(94370),l=a(79657),d=a(64007),c=a(8271),u=a(93835),m=r.ApolloClient,f=r.InMemoryCache,v=r.HttpLink,h=s.o,g={query:"query",mutation:"mutate"};function y(e){var t=process.env.HTTPS_PROXY||process.env.https_proxy;if(!t||!e.startsWith("https://"))return l.Ay;var a=new d(t);return(e,t={})=>(0,l.Ay)(e,{...t,agent:a})}var b,D,x,_,w=o(function e(t){i(this,e),this.baseUrl=t,this.endpoint="/api/graphql-nonauth";var a=new v({uri:`${t}${this.endpoint}`,fetch:y(t)});this.apolloClient=new m({link:a,cache:new f,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(D=n(function*(e){var t=p.default`
|
|
278
|
+
`},8498:(e,t,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({Box:()=>a.Box,Text:()=>a.Text,render:()=>a.render,useApp:()=>a.useApp,useInput:()=>a.useInput})},9354:(e,t,a)=>{a.d(t,{c:()=>c});var n=a(44592),i=a(51360),o=a(3777),r=a(79212),s=a(54019),p=a(77634),l=a(555);function d(e){return e}var c=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(d,{cache:!1})},e.split=function(t,a,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?a:n).transformDocument(e)},{cache:!1}),{left:a,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var a=new n.Trie(i.et);this.performWork=(0,p.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,r.invariant)(Array.isArray(n),77),a.lookupArray(n)},max:l.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var a=this;return Object.assign(new e(function(e){return t.transformDocument(a.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},9873:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,a){return new Promise((n,i)=>{e.call(this,t,a,(e,t)=>{e?i(e):n(t)})})}}},11151:(e,t,a)=>{a.d(t,{E:()=>i});var n=a(63647);function i(e,t){var a=[],i=function(e,t){a.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var r=void 0;try{r=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",r)}var s="",p=e,l=e.indexOf("#");-1!==l&&(s=e.substr(l),p=e.substr(0,l));var d=-1===p.indexOf("?")?"?":"&";return{newURI:p+d+a.join("&")+s}}},12039:(e,t,a)=>{var n;a.d(t,{Y:()=>n}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(n||(n={}))},12044:(e,t,a)=>{a.r(t),a.d(t,{discoverDevToolsServers:()=>d,httpProbeSubnet:()=>c,verifyDevToolsServer:()=>u});var n,i,o=a(99436),r=a(41314),s=a(48161),p="bricks-devtools",l=()=>{var e=[],t=s.networkInterfaces();for(var a of Object.values(t)){var n=function(){if("IPv4"!==i.family||i.internal)return 1;var t=i.address.split(".").map(Number),a=i.netmask.split(".").map(Number),n=t.map((e,t)=>(e|255&~a[t]).toString()).join(".");e.push({address:i.address,broadcast:n})};for(var i of a)n()}return e},d=({timeout:e=3e3,idleTimeout:t=0}={})=>new Promise((a,n)=>{var i=new Map,o=r.createSocket("udp4"),s=null,d=null,c=!1,u=()=>{if(!c){c=!0,clearTimeout(s),clearTimeout(d);try{o.close()}catch{}a([...i.values()])}};o.on("error",e=>{if(!c){c=!0,clearTimeout(s),clearTimeout(d);try{o.close()}catch{}n(e)}}),o.on("message",(e,a)=>{try{var n=JSON.parse(e.toString());if(n.s!==p)return;if("ANNOUNCE"!==n.t&&"RESPONSE"!==n.t)return;var o=n.d?.info;if(!o)return;var r=a.address,s=`${r}:${o.port}`;i.has(s)||(i.set(s,{...o,address:r}),t&&!c&&(clearTimeout(d),d=setTimeout(u,t)))}catch{}}),o.bind(()=>{o.setBroadcast(!0);var t=Buffer.from(JSON.stringify({t:"QUERY",v:"1.0",s:p,d:{id:`cli-${Math.random().toString(36).substring(2,9)}`}})),a=new Set(["255.255.255.255","127.0.0.1"]);for(var n of l())a.add(n.broadcast);for(var i of a)o.send(t,0,t.length,19900,i);s=setTimeout(u,e)})}),c=(n=o(function*({port:e=19851,connectTimeout:t=500,concurrency:a=50,timeout:n=0}={}){var i=l();if(0===i.length)return[];var r=[],s=n>0?Date.now()+n:0,p=[],d=new Set;for(var c of i){var m=c.address.split(".").slice(0,3).join(".");if(!d.has(m)){d.add(m);for(var f=1;f<255;f++)p.push(`${m}.${f}`)}}for(var v=0;v<p.length&&!(s&&Date.now()>=s);v+=a){var h=p.slice(v,v+a);yield Promise.allSettled(h.map(function(){var a=o(function*(a){var n=yield u(a,e,t);n&&r.push({...n,address:a,port:e})});return function(e){return a.apply(this,arguments)}}()))}return r}),function(){return n.apply(this,arguments)}),u=(i=o(function*(e,t,a=3e3){try{var n=new AbortController,i=setTimeout(()=>n.abort(),a),o=yield fetch(`http://${e}:${t}/devtools/info`,{signal:n.signal});return clearTimeout(i),o.ok?yield o.json():null}catch{return null}}),function(e,t){return i.apply(this,arguments)})},12534:(e,t,a)=>{a.d(t,{HttpLink:()=>d.P,checkFetcher:()=>r.S,createHttpLink:()=>l.$,createSignalIfSupported:()=>s,defaultPrinter:()=>o.i1,fallbackHttpConfig:()=>o.R4,parseAndCheckHttpResponse:()=>n.OQ,rewriteURIForGET:()=>c.E,selectHttpOptionsAndBody:()=>o.Wz,selectHttpOptionsAndBodyInternal:()=>o.HY,selectURI:()=>p.z,serializeFetchParameter:()=>i.Y}),a.r(t);a(79212);var n=a(24874),i=a(63647),o=a(74559),r=a(67195),s=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},p=a(33068),l=a(79760),d=a(49952),c=a(11151)},13193:e=>{e.exports=t("string_decoder")},13675:(e,t,a)=>{a.d(t,{K:()=>o});var n=a(79896),i=a(16928),o=e=>{if(e.endsWith(".json")||e.includes("/")){if(!n.existsSync(e))throw new Error(`Config file not found: ${e}`);var t=n.readFileSync(e,"utf-8");return{config:t,source:{type:"file",path:i.resolve(e)},sizeBytes:Buffer.byteLength(t)}}return{config:e,source:{type:"inline"},sizeBytes:Buffer.byteLength(e)}}},14319:e=>{function t(a){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},14778:(e,t,a)=>{a.a(e,async(e,n)=>{try{a.d(t,{D:()=>v});var i=a(35679),o=a(69278),r=a(16928),s=a(70857),p=a(84361),l=e([p]),d=l.then?(await l)():l;p=d[0];var c=process.env.BRICKS_PROJECT_DESKTOP_DATA_DIR||r.join(s.homedir(),".bricks-project-desktop"),u=r.join(c,"acp.sock"),m=`[acp] Cannot connect to CTOR.\n Make sure the desktop app is running and ACP is enabled in Settings.\n Socket: ${u}\n`,f=e=>{var t=new o.Socket,a="",n=!1,i=[];t.on("error",t=>{var a="ENOENT"===t.code||"ECONNREFUSED"===t.code?"CTOR not reachable (is the desktop app running with ACP enabled?)":`socket error: ${t.message}`;process.stderr.write(`[acp] ${a}\n`);try{e.close(1011,a)}catch{}}),t.on("connect",()=>{n=!0,(()=>{for(;i.length>0;)t.write(i.shift())})()}),t.on("data",t=>{var n;for(a+=t.toString("utf8");-1!==(n=a.indexOf("\n"));){var i=a.slice(0,n);a=a.slice(n+1),i.length>0&&e.readyState===e.OPEN&&e.send(i)}}),t.on("close",()=>{a.length>0&&e.readyState===e.OPEN&&(e.send(a),a="");try{e.close()}catch{}}),e.on("message",(e,a)=>{var o=a?Buffer.from(e).toString("utf8"):e.toString(),r=o.endsWith("\n")?o:o+"\n";n?t.write(r):i.push(r)}),e.on("close",()=>t.destroy()),e.on("error",()=>t.destroy()),t.connect(u)},v=new i.uB("desktop-acp-bridge").description("ACP bridge — connects acpx to the running CTOR desktop app").option("--ws","Start a WebSocket server that bridges the Unix socket instead of using stdio").option("--host <host>","WebSocket server bind host (default: 0.0.0.0)","0.0.0.0").option("--port <port>","WebSocket server port (default: 8765)","8765").option("--auth-token <token>","Require this Bearer token in the WebSocket Authorization header").action(e=>{if(!e.ws)return(t=o.connect(u)).on("connect",()=>{process.stdin.pipe(t),t.pipe(process.stdout)}),t.on("error",e=>{"ENOENT"===e.code||"ECONNREFUSED"===e.code?process.stderr.write(m):process.stderr.write(`[acp] Connection error: ${e.message}\n`),process.exit(1)}),void t.on("close",()=>{process.exit(0)});var t,a=Number.parseInt(e.port,10);(!Number.isInteger(a)||a<0||a>65535)&&(process.stderr.write(`[acp] Invalid --port value: ${e.port}\n`),process.exit(1));var n=e.authToken||process.env.BRICKS_DESKTOP_ACP_BRIDGE_TOKEN||void 0;(({host:e,port:t,authToken:a})=>{var n=new p.WebSocketServer({host:e,port:t,verifyClient:({req:e},t)=>{if(a){for(var n=e.headers.authorization||"",i=`Bearer ${a}`,o=Buffer.from(n),r=Buffer.from(i),s=o.length===r.length,p=Math.max(o.length,r.length),l=0;l<p;l++)(o[l]||0)!==(r[l]||0)&&(s=!1);s?t(!0):t(!1,401,"Unauthorized")}else t(!0)}});n.on("listening",()=>{var e=n.address(),t="string"==typeof e?e:`ws://${e.address}:${e.port}`;process.stderr.write(`[acp] WebSocket bridge listening on ${t}\n`),a||process.stderr.write("[acp] WARNING: no --auth-token set; the bridge is exposed on this host without authentication.\n")}),n.on("error",e=>{process.stderr.write(`[acp] WebSocket server error: ${e.message}\n`),process.exit(1)}),n.on("connection",f);var i=()=>{n.close(()=>process.exit(0))};process.on("SIGINT",i),process.on("SIGTERM",i)})({host:e.host,port:a,authToken:n})});n()}catch(e){n(e)}})},14878:e=>{e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},16698:e=>{e.exports=t("node:async_hooks")},16699:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},16878:(e,t,a)=>{a.d(t,{k:()=>i});var n=a(85608);function i(e,t){var a=(0,n.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,n.__assign)((0,n.__assign)({},a),e(a)):(0,n.__assign)((0,n.__assign)({},a),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.__assign)({},a)}}),t}},16928:e=>{e.exports=t("path")},18572:(e,t,a)=>{const n=a(78474).EventEmitter,i=a(31421),o=a(76760),r=a(73024),s=a(1708),{Argument:p,humanReadableArgName:l}=a(41762),{CommanderError:d}=a(43823),{Help:c}=a(99690),{Option:u,DualOptions:m}=a(92088),{suggestSimilar:f}=a(86054);class v extends n{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>s.stdout.write(e),writeErr:e=>s.stderr.write(e),getOutHelpWidth:()=>s.stdout.isTTY?s.stdout.columns:void 0,getErrHelpWidth:()=>s.stderr.isTTY?s.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){const e=[];for(let t=this;t;t=t.parent)e.push(t);return e}command(e,t,a){let n=t,i=a;"object"==typeof n&&null!==n&&(i=n,n=null),i=i||{};const[,o,r]=e.match(/([^ ]+) *(.*)/),s=this.createCommand(o);return n&&(s.description(n),s._executableHandler=!0),i.isDefault&&(this._defaultCommandName=s._name),s._hidden=!(!i.noHelp&&!i.hidden),s._executableFile=i.executableFile||null,r&&s.arguments(r),this._registerCommand(s),s.parent=this,s.copyInheritedSettings(this),n?this:s}createCommand(e){return new v(e)}createHelp(){return Object.assign(new c,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error("Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()");return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,t){return new p(e,t)}argument(e,t,a,n){const i=this.createArgument(e,t);return"function"==typeof a?i.default(n).argParser(a):i.default(a),this.addArgument(i),this}arguments(e){return e.trim().split(/ +/).forEach(e=>{this.argument(e)}),this}addArgument(e){const t=this.registeredArguments.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,t){if("boolean"==typeof e)return this._addImplicitHelpCommand=e,this;e=e??"help [command]";const[,a,n]=e.match(/([^ ]+) *(.*)/),i=t??"display help for command",o=this.createCommand(a);return o.helpOption(!1),n&&o.arguments(n),i&&o.description(i),this._addImplicitHelpCommand=!0,this._helpCommand=o,this}addHelpCommand(e,t){return"object"!=typeof e?(this.helpCommand(e,t),this):(this._addImplicitHelpCommand=!0,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(void 0===this._helpCommand&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,t){const a=["preSubcommand","preAction","postAction"];if(!a.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.\nExpecting one of '${a.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return this._exitCallback=e||(e=>{if("commander.executeSubCommandAsync"!==e.code)throw e}),this}_exit(e,t,a){this._exitCallback&&this._exitCallback(new d(e,t,a)),s.exit(e)}action(e){return this._actionHandler=t=>{const a=this.registeredArguments.length,n=t.slice(0,a);return this._storeOptionsAsProperties?n[a]=this:n[a]=this.opts(),n.push(this),e.apply(this,n)},this}createOption(e,t){return new u(e,t)}_callParseArg(e,t,a,n){try{return e.parseArg(t,a)}catch(e){if("commander.invalidArgument"===e.code){const t=`${n} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}}_registerOption(e){const t=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(t){const a=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${a}'\n- already used by option '${t.flags}'`)}this.options.push(e)}_registerCommand(e){const t=e=>[e.name()].concat(e.aliases()),a=t(e).find(e=>this._findCommand(e));if(a){const n=t(this._findCommand(a)).join("|"),i=t(e).join("|");throw new Error(`cannot add command '${i}' as already have command '${n}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);const t=e.name(),a=e.attributeName();if(e.negate){const t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(a,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(a,e.defaultValue,"default");const n=(t,n,i)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);const o=this.getOptionValue(a);null!==t&&e.parseArg?t=this._callParseArg(e,t,o,n):null!==t&&e.variadic&&(t=e._concatValue(t,o)),null==t&&(t=!e.negate&&(!(!e.isBoolean()&&!e.optional)||"")),this.setOptionValueWithSource(a,t,i)};return this.on("option:"+t,t=>{const a=`error: option '${e.flags}' argument '${t}' is invalid.`;n(t,a,"cli")}),e.envVar&&this.on("optionEnv:"+t,t=>{const a=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;n(t,a,"env")}),this}_optionEx(e,t,a,n,i){if("object"==typeof t&&t instanceof u)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const o=this.createOption(t,a);if(o.makeOptionMandatory(!!e.mandatory),"function"==typeof n)o.default(i).argParser(n);else if(n instanceof RegExp){const e=n;n=(t,a)=>{const n=e.exec(t);return n?n[0]:a},o.default(i).argParser(n)}else o.default(n);return this.addOption(o)}option(e,t,a,n){return this._optionEx({},e,t,a,n)}requiredOption(e,t,a,n){return this._optionEx({mandatory:!0},e,t,a,n)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,a){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=a,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return this._getCommandAndAncestors().forEach(a=>{void 0!==a.getOptionValueSource(e)&&(t=a.getOptionValueSource(e))}),t}_prepareUserArgs(e,t){if(void 0!==e&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");if(t=t||{},void 0===e&&void 0===t.from){s.versions?.electron&&(t.from="electron");const e=s.execArgv??[];(e.includes("-e")||e.includes("--eval")||e.includes("-p")||e.includes("--print"))&&(t.from="eval")}let a;switch(void 0===e&&(e=s.argv),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],a=e.slice(2);break;case"electron":s.defaultApp?(this._scriptPath=e[1],a=e.slice(2)):a=e.slice(1);break;case"user":a=e.slice(0);break;case"eval":a=e.slice(1);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",a}parse(e,t){const a=this._prepareUserArgs(e,t);return this._parseCommand([],a),this}async parseAsync(e,t){const a=this._prepareUserArgs(e,t);return await this._parseCommand([],a),this}_executeSubCommand(e,t){t=t.slice();let a=!1;const n=[".js",".ts",".tsx",".mjs",".cjs"];function p(e,t){const a=o.resolve(e,t);if(r.existsSync(a))return a;if(n.includes(o.extname(t)))return;const i=n.find(e=>r.existsSync(`${a}${e}`));return i?`${a}${i}`:void 0}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let l,c=e._executableFile||`${this._name}-${e._name}`,u=this._executableDir||"";if(this._scriptPath){let e;try{e=r.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}u=o.resolve(o.dirname(e),u)}if(u){let t=p(u,c);if(!t&&!e._executableFile&&this._scriptPath){const a=o.basename(this._scriptPath,o.extname(this._scriptPath));a!==this._name&&(t=p(u,`${a}-${e._name}`))}c=t||c}if(a=n.includes(o.extname(c)),"win32"!==s.platform?a?(t.unshift(c),t=h(s.execArgv).concat(t),l=i.spawn(s.argv[0],t,{stdio:"inherit"})):l=i.spawn(c,t,{stdio:"inherit"}):(t.unshift(c),t=h(s.execArgv).concat(t),l=i.spawn(s.execPath,t,{stdio:"inherit"})),!l.killed){["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(e=>{s.on(e,()=>{!1===l.killed&&null===l.exitCode&&l.kill(e)})})}const m=this._exitCallback;l.on("close",e=>{e=e??1,m?m(new d(e,"commander.executeSubCommandAsync","(close)")):s.exit(e)}),l.on("error",t=>{if("ENOENT"===t.code){const t=u?`searched for local subcommand relative to directory '${u}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",a=`'${c}' does not exist\n - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${t}`;throw new Error(a)}if("EACCES"===t.code)throw new Error(`'${c}' not executable`);if(m){const e=new d(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,m(e)}else s.exit(1)}),this.runningCommand=l}_dispatchSubcommand(e,t,a){const n=this._findCommand(e);let i;return n||this.help({error:!0}),i=this._chainOrCallSubCommandHook(i,n,"preSubcommand"),i=this._chainOrCall(i,()=>{if(!n._executableHandler)return n._parseCommand(t,a);this._executeSubCommand(n,t.concat(a))}),i}_dispatchHelpCommand(e){e||this.help();const t=this._findCommand(e);return t&&!t._executableHandler&&t.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic||this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){const e=(e,t,a)=>{let n=t;if(null!==t&&e.parseArg){const i=`error: command-argument value '${t}' is invalid for argument '${e.name()}'.`;n=this._callParseArg(e,t,a,i)}return n};this._checkNumberOfArguments();const t=[];this.registeredArguments.forEach((a,n)=>{let i=a.defaultValue;a.variadic?n<this.args.length?(i=this.args.slice(n),a.parseArg&&(i=i.reduce((t,n)=>e(a,n,t),a.defaultValue))):void 0===i&&(i=[]):n<this.args.length&&(i=this.args[n],a.parseArg&&(i=e(a,i,a.defaultValue))),t[n]=i}),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then(()=>t()):t()}_chainOrCallHooks(e,t){let a=e;const n=[];return this._getCommandAndAncestors().reverse().filter(e=>void 0!==e._lifeCycleHooks[t]).forEach(e=>{e._lifeCycleHooks[t].forEach(t=>{n.push({hookedCommand:e,callback:t})})}),"postAction"===t&&n.reverse(),n.forEach(e=>{a=this._chainOrCall(a,()=>e.callback(e.hookedCommand,this))}),a}_chainOrCallSubCommandHook(e,t,a){let n=e;return void 0!==this._lifeCycleHooks[a]&&this._lifeCycleHooks[a].forEach(e=>{n=this._chainOrCall(n,()=>e(this,t))}),n}_parseCommand(e,t){const a=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(a.operands),t=a.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),this._outputHelpIfRequested(a.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const n=()=>{a.unknown.length>0&&this.unknownOption(a.unknown[0])},i=`command:${this.name()}`;if(this._actionHandler){let a;return n(),this._processArguments(),a=this._chainOrCallHooks(a,"preAction"),a=this._chainOrCall(a,()=>this._actionHandler(this.processedArgs)),this.parent&&(a=this._chainOrCall(a,()=>{this.parent.emit(i,e,t)})),a=this._chainOrCallHooks(a,"postAction"),a}if(this.parent&&this.parent.listenerCount(i))n(),this._processArguments(),this.parent.emit(i,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(n(),this._processArguments())}else this.commands.length?(n(),this.help({error:!0})):(n(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(t=>t._name===e||t._aliases.includes(e))}_findOption(e){return this.options.find(t=>t.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)})})}_checkForConflictingLocalOptions(){const e=this.options.filter(e=>{const t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)});e.filter(e=>e.conflictsWith.length>0).forEach(t=>{const a=e.find(e=>t.conflictsWith.includes(e.attributeName()));a&&this._conflictingOption(t,a)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){const t=[],a=[];let n=t;const i=e.slice();function o(e){return e.length>1&&"-"===e[0]}let r=null;for(;i.length;){const e=i.shift();if("--"===e){n===a&&n.push(e),n.push(...i);break}if(!r||o(e)){if(r=null,o(e)){const t=this._findOption(e);if(t){if(t.required){const e=i.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;i.length>0&&!o(i[0])&&(e=i.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);r=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){const t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),i.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){const t=e.indexOf("="),a=this._findOption(e.slice(0,t));if(a&&(a.required||a.optional)){this.emit(`option:${a.name()}`,e.slice(t+1));continue}}if(o(e)&&(n=a),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===a.length){if(this._findCommand(e)){t.push(e),i.length>0&&a.push(...i);break}if(this._getHelpCommand()&&e===this._getHelpCommand().name()){t.push(e),i.length>0&&t.push(...i);break}if(this._defaultCommandName){a.push(e),i.length>0&&a.push(...i);break}}if(this._passThroughOptions){n.push(e),i.length>0&&n.push(...i);break}n.push(e)}else this.emit(`option:${r.name()}`,e)}return{operands:t,unknown:a}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let a=0;a<t;a++){const t=this.options[a].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,t)=>Object.assign(e,t.opts()),{})}error(e,t){this._outputConfiguration.outputError(`${e}\n`,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));const a=t||{},n=a.exitCode||1,i=a.code||"commander.error";this._exit(n,i,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in s.env){const t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,s.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){const e=new m(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter(a=>void 0!==a.implied&&t(a.attributeName())&&e.valueFromOption(this.getOptionValue(a.attributeName()),a)).forEach(e=>{Object.keys(e.implied).filter(e=>!t(e)).forEach(t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")})})}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const a=e=>{const t=e.attributeName(),a=this.getOptionValue(t),n=this.options.find(e=>e.negate&&t===e.attributeName()),i=this.options.find(e=>!e.negate&&t===e.attributeName());return n&&(void 0===n.presetArg&&!1===a||void 0!==n.presetArg&&a===n.presetArg)?n:i||e},n=e=>{const t=a(e),n=t.attributeName();return"env"===this.getOptionValueSource(n)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},i=`error: ${n(e)} cannot be used with ${n(t)}`;this.error(i,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let a=[],n=this;do{const e=n.createHelp().visibleOptions(n).filter(e=>e.long).map(e=>e.long);a=a.concat(e),n=n.parent}while(n&&!n._enablePositionalOptions);t=f(e,a)}const a=`error: unknown option '${e}'${t}`;this.error(a,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this.registeredArguments.length,a=1===t?"":"s",n=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${a} but got ${e.length}.`;this.error(n,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const a=[];this.createHelp().visibleCommands(this).forEach(e=>{a.push(e.name()),e.alias()&&a.push(e.alias())}),t=f(e,a)}const a=`error: unknown command '${e}'${t}`;this.error(a,{code:"commander.unknownCommand"})}version(e,t,a){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",a=a||"output the version number";const n=this.createOption(t,a);return this._versionOptionName=n.attributeName(),this._registerOption(n),this.on("option:"+n.name(),()=>{this._outputConfiguration.writeOut(`${e}\n`),this._exit(0,"commander.version",e)}),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");const a=this.parent?._findCommand(e);if(a){const t=[a.name()].concat(a.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${t}'`)}return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach(e=>this.alias(e)),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;const e=this.registeredArguments.map(e=>l(e));return[].concat(this.options.length||null!==this._helpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=o.basename(e,o.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){const t={error:!!(e=e||{}).error};let a;return a=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||a,t.command=this,t}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);const a=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(e=>e.emit("beforeAllHelp",a)),this.emit("beforeHelp",a);let n=this.helpInformation(a);if(t&&(n=t(n),"string"!=typeof n&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");a.write(n),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",a),this._getCommandAndAncestors().forEach(e=>e.emit("afterAllHelp",a))}helpOption(e,t){return"boolean"==typeof e?(this._helpOption=e?this._helpOption??void 0:null,this):(e=e??"-h, --help",t=t??"display help for command",this._helpOption=this.createOption(e,t),this)}_getHelpOption(){return void 0===this._helpOption&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let t=s.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const a=["beforeAll","before","after","afterAll"];if(!a.includes(e))throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${a.join("', '")}'`);const n=`${e}Help`;return this.on(n,e=>{let a;a="function"==typeof t?t({error:e.error,command:e.command}):t,a&&e.write(`${a}\n`)}),this}_outputHelpIfRequested(e){const t=this._getHelpOption();t&&e.find(e=>t.is(e))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}}function h(e){return e.map(e=>{if(!e.startsWith("--inspect"))return e;let t,a,n="127.0.0.1",i="9229";return null!==(a=e.match(/^(--inspect(-brk)?)$/))?t=a[1]:null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=a[1],/^\d+$/.test(a[3])?i=a[3]:n=a[3]):null!==(a=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=a[1],n=a[3],i=a[4]),t&&"0"!==i?`${t}=${n}:${parseInt(i)+1}`:e})}t.Command=v},19074:(e,t,a)=>{a.d(t,{C:()=>c});var n=a(79212),i=a(36054),o=a(46192),r=a(16878),s=a(38414);function p(e,t){return t?t(e):i.c.of()}function l(e){return"function"==typeof e?new c(e):e}function d(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,a,n){var o,r=l(a),s=l(n||new e(p));return o=d(r)&&d(s)?new e(function(e){return t(e)?r.request(e)||i.c.of():s.request(e)||i.c.of()}):new e(function(e,a){return t(e)?r.request(e,a)||i.c.of():s.request(e,a)||i.c.of()}),Object.assign(o,{left:r,right:s})},e.execute=function(e,t){return e.request((0,r.k)(t.context,(0,s.A)((0,o.K)(t))))||i.c.of()},e.concat=function(t,a){var o=l(t);if(d(o))return!1!==globalThis.__DEV__&&n.invariant.warn(38,o),o;var r,s=l(a);return r=d(s)?new e(function(e){return o.request(e,function(e){return s.request(e)||i.c.of()})||i.c.of()}):new e(function(e,t){return o.request(e,function(e){return s.request(e,t)||i.c.of()})||i.c.of()}),Object.assign(r,{left:o,right:s})},e.prototype.split=function(t,a,n){return this.concat(e.split(t,a,n||new e(p)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},19371:(e,t,a)=>{a.r(t),a.d(t,{InvariantError:()=>s,default:()=>m,invariant:()=>p,setVerbosity:()=>u});var n=a(85608),i="Invariant Violation",o=Object.setPrototypeOf,r=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(a){void 0===a&&(a=i);var n=e.call(this,"number"==typeof a?i+": "+a+" (see https://github.com/apollographql/invariant-packages)":a)||this;return n.framesToPop=1,n.name=i,r(n,t.prototype),n}return(0,n.__extends)(t,e),t}(Error);function p(e,t){if(!e)throw new s(t)}var l=["debug","log","warn","error","silent"],d=l.indexOf("log");function c(e){return function(){if(l.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}function u(e){var t=l[d];return d=Math.max(0,l.indexOf(e)),t}!function(e){e.debug=c("debug"),e.log=c("log"),e.warn=c("warn"),e.error=c("error")}(p||(p={}));const m=p},20124:(e,t,a)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;t.splice(1,0,a,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,a)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=a(27891)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},20181:e=>{e.exports=t("buffer")},20906:(e,t,a)=>{a.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var a=e.slice(0);return t.set(e,a),a.forEach(function(e,n){a[n]=o(e,t)}),a;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach(function(a){i[a]=o(e[a],t)}),i;default:return e}}},21461:(e,t,a)=>{a.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},21777:(e,t,a)=>{function n(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}a.d(t,{Q:()=>i,U:()=>n})},22594:(e,t,a)=>{a.d(t,{S:()=>i});var n=a(36054);function i(e){return new n.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}},23246:(e,t,a)=>{var n=a(24876),i=a(91749),o={TRANSITIONAL:0,NONTRANSITIONAL:1};function r(e){return e.split("\0").map(function(e){return e.normalize("NFC")}).join("\0")}function s(e){for(var t=0,a=i.length-1;t<=a;){var n=Math.floor((t+a)/2),o=i[n];if(o[0][0]<=e&&o[0][1]>=e)return o;o[0][0]>e?a=n-1:t=n+1}return null}var p=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function l(e){return e.replace(p,"_").length}var d=/[\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\u08E4-\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\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\u0D01-\u0D03\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\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\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\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\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-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function c(e,t){"xn--"===e.substr(0,4)&&(e=n.toUnicode(e));var a=!1;(r(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(d))&&(a=!0);for(var i=l(e),p=0;p<i;++p){var c=s(e.codePointAt(p));if(u===o.TRANSITIONAL&&"valid"!==c[1]||u===o.NONTRANSITIONAL&&"valid"!==c[1]&&"deviation"!==c[1]){a=!0;break}}return{label:e,error:a}}function u(e,t,a){var n=function(e,t,a){for(var n=!1,i="",r=l(e),p=0;p<r;++p){var d=e.codePointAt(p),c=s(d);switch(c[1]){case"disallowed":n=!0,i+=String.fromCodePoint(d);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,c[2]);break;case"deviation":i+=a===o.TRANSITIONAL?String.fromCodePoint.apply(String,c[2]):String.fromCodePoint(d);break;case"valid":i+=String.fromCodePoint(d);break;case"disallowed_STD3_mapped":t?(n=!0,i+=String.fromCodePoint(d)):i+=String.fromCodePoint.apply(String,c[2]);break;case"disallowed_STD3_valid":t&&(n=!0),i+=String.fromCodePoint(d)}}return{string:i,error:n}}(e,t,a);n.string=r(n.string);for(var i=n.string.split("."),p=0;p<i.length;++p)try{var d=c(i[p]);i[p]=d.label,n.error=n.error||d.error}catch(e){n.error=!0}return{string:i.join("."),error:n.error}}e.exports.toASCII=function(e,t,a,i){var o=u(e,t,a),r=o.string.split(".");if(r=r.map(function(e){try{return n.toASCII(e)}catch(t){return o.error=!0,e}}),i){var s=r.slice(0,r.length-1).join(".").length;(s.length>253||0===s.length)&&(o.error=!0);for(var p=0;p<r.length;++p)if(r.length>63||0===r.length){o.error=!0;break}}return o.error?null:r.join(".")},e.exports.toUnicode=function(e,t){var a=u(e,t,o.NONTRANSITIONAL);return{domain:a.string,error:a.error}},e.exports.PROCESSING_OPTIONS=o},23878:(e,t,a)=>{var n=a(14319).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24434:e=>{e.exports=t("events")},24874:(e,t,a)=>{a.d(t,{H4:()=>v,OQ:()=>h,tD:()=>u});var n=a(85608),i=a(51360);function o(e){var t=null,a=null,n=!1,o=[],r=[];function s(e){if(!a){if(r.length){var t=r.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function p(e){a=e,r.slice().forEach(function(t){t[1](e)}),!t||t()}function l(){n=!0,r.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",p),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",s),e.on("error",p),e.on("end",l),e.on("finish",l),e.on("close",l);var d={next:function(){return new Promise(function(e,t){return a?t(a):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void r.push([e,t])})}};return i.uJ&&(d[Symbol.asyncIterator]=function(){return this}),d}function r(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function s(e){var t,a,n=e;if(e.body&&(n=e.body),function(e){return!(!i.uJ||!e[Symbol.asyncIterator])}(n))return a=n[Symbol.asyncIterator](),(t={next:function(){return a.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(n))return r(n.getReader());if(function(e){return!!e.stream}(n))return r(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,a={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,a){e.then(function(e){t({value:e,done:!1})}).catch(a)}))}};return i.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return o(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var p=a(3848),l=a(53570),d=a(37396),c=Object.prototype.hasOwnProperty;function u(e,t){return(0,n.__awaiter)(this,void 0,void 0,function(){var a,i,o,r,p,c,u,v,h,g,y,b,D,x,_,w,E,T,N,A,O,F,S,C;return(0,n.__generator)(this,function(k){switch(k.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),i=null===(C=e.headers)||void 0===C?void 0:C.get("content-type"),o="boundary=",r=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",p="\r\n--".concat(r),c="",u=s(e),v=!0,k.label=1;case 1:return v?[4,u.next()]:[3,3];case 2:for(h=k.sent(),g=h.value,y=h.done,b="string"==typeof g?g:a.decode(g),D=c.length-p.length+1,v=!y,x=(c+=b).indexOf(p,D);x>-1;){if(_=void 0,F=[c.slice(0,x),c.slice(x+p.length)],c=F[1],w=(_=F[0]).indexOf("\r\n\r\n"),E=m(_.slice(0,w)),(T=E["content-type"])&&-1===T.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(N=_.slice(w))if(A=f(e,N),Object.keys(A).length>1||"data"in A||"incremental"in A||"errors"in A||"payload"in A)if((0,d.Nw)(A)){if(O={},"payload"in A){if(1===Object.keys(A).length&&null===A.payload)return[2];O=(0,n.__assign)({},A.payload)}"errors"in A&&(O=(0,n.__assign)((0,n.__assign)({},O),{extensions:(0,n.__assign)((0,n.__assign)({},"extensions"in O?O.extensions:null),(S={},S[l.PROTOCOL_ERRORS_SYMBOL]=A.errors,S))})),t(O)}else t(A);else if(1===Object.keys(A).length&&"hasNext"in A&&!A.hasNext)return[2];x=c.indexOf(p)}return[3,1];case 3:return[2]}})})}function m(e){var t={};return e.split("\n").forEach(function(e){var a=e.indexOf(":");if(a>-1){var n=e.slice(0,a).trim().toLowerCase(),i=e.slice(a+1).trim();t[n]=i}}),t}function f(e,t){if(e.status>=300){(0,p.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var a=n;throw a.name="ServerParseError",a.response=e,a.statusCode=e.status,a.bodyText=t,a}}function v(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function h(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(a){return Array.isArray(a)||c.call(a,"data")||c.call(a,"errors")||(0,p.A)(t,a,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),a})}}},24876:e=>{e.exports=t("punycode")},25174:(e,t,a)=>{a.d(t,{g:()=>n});var n=a(19074).C.execute},25186:(e,t,a)=>{a.d(t,{S:()=>l});var n=a(42455),i=a(82307),o=a(28907),r=a(57236),s=a(47150),p=a(79212);function l(e,t,a){return s.yV.withValue(!0,function(){var n=d(e,t,a,!1);return Object.isFrozen(e)&&(0,r.G)(n),n})}function d(e,t,a,r,s){var l,u=a.knownChanged,m=function(e,t){if(t.has(e))return t.get(e);var a=Array.isArray(e)?[]:Object.create(null);return t.set(e,a),a}(e,a.mutableTargets);if(Array.isArray(e)){for(var f=0,v=Array.from(e.entries());f<v.length;f++){var h=v[f],g=h[0],y=h[1];if(null!==y){var b=d(y,t,a,r,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(g,"]"):void 0);u.has(b)&&u.add(m),m[g]=b}else m[g]=null}return u.has(m)?m:e}for(var D=0,x=t.selections;D<x.length;D++){var _=x[D],w=void 0;if(r&&u.add(m),_.kind===n.b.FIELD){var E=(0,o.ue)(_),T=_.selectionSet;if(void 0===(w=m[E]||e[E]))continue;if(T&&null!==w){b=d(e[E],T,a,r,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(E):void 0);u.has(b)&&(w=b)}!1===globalThis.__DEV__&&(m[E]=w),!1!==globalThis.__DEV__&&(r&&"__typename"!==E&&!(null===(l=Object.getOwnPropertyDescriptor(m,E))||void 0===l?void 0:l.value)?Object.defineProperty(m,E,c(E,w,s||"",a.operationName,a.operationType)):(delete m[E],m[E]=w))}if(_.kind!==n.b.INLINE_FRAGMENT||_.typeCondition&&!a.cache.fragmentMatches(_,e.__typename)||(w=d(e,_.selectionSet,a,r,s)),_.kind===n.b.FRAGMENT_SPREAD){var N=_.name.value,A=a.fragmentMap[N]||(a.fragmentMap[N]=a.cache.lookupFragment(N));(0,p.invariant)(A,47,N);var O=(0,i.s7)(_);"mask"!==O&&(w=d(e,A.selectionSet,a,"migrate"===O,s))}u.has(w)&&u.add(m)}return"__typename"in e&&!("__typename"in m)&&(m.__typename=e.__typename),Object.keys(m).length!==Object.keys(e).length&&u.add(m),u.has(m)?m:e}function c(e,t,a,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&p.invariant.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(a,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}},25811:(e,t,a)=>{a.d(t,{K:()=>p});var n,i=a(99436),o=a(35679),r=a(88568),s=a(74752),p=new o.uB("mcp").description("MCP server management");p.command("start").description("Start the BRICKS MCP server in STDIO mode").option("-t, --token <token>","API token (overrides saved token)").action((n=i(function*(e){var t=(0,s.getCurrentProfile)(),n=e.token||(0,s.getToken)(t);n||(console.error(r.Ay.red("Error: No API token found.")),console.error(r.Ay.gray("Please login first with: bricks auth login <passcode>")),console.error(r.Ay.gray("Or provide a token with: bricks mcp start --token <token>")),process.exit(1));try{var i=(yield Promise.all([a.e(428),a.e(300),a.e(425),a.e(737)]).then(a.bind(a,18737))).startStdioServer;yield i({token:n})}catch(e){console.error(r.Ay.red(`Failed to start MCP server: ${e.message}`)),process.exit(1)}}),function(e){return n.apply(this,arguments)}))},25881:(e,t,a)=>{function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function r(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}a.d(t,{i0:()=>n,un:()=>r,xr:()=>s,yp:()=>i})},25979:(e,t,a)=>{a.r(t),a.d(t,{createOperation:()=>p.k,filterOperationVariables:()=>d.X,fromError:()=>n.N,fromPromise:()=>o.S,throwServerError:()=>r.A,toPromise:()=>i.h,transformOperation:()=>l.A,validateOperation:()=>s.K});a(79212);var n=a(93161),i=a(60441),o=a(22594),r=a(3848),s=a(46192),p=a(16878),l=a(38414),d=a(70783)},27250:e=>{var t=1e3,a=60*t,n=60*a,i=24*n,o=7*i,r=365.25*i;function s(e,t,a,n){var i=t>=1.5*a;return Math.round(e/a)+" "+n+(i?"s":"")}e.exports=function(e,p){p=p||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var p=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return p*r;case"weeks":case"week":case"w":return p*o;case"days":case"day":case"d":return p*i;case"hours":case"hour":case"hrs":case"hr":case"h":return p*n;case"minutes":case"minute":case"mins":case"min":case"m":return p*a;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===l&&isFinite(e))return p.long?function(e){var o=Math.abs(e);if(o>=i)return s(e,o,i,"day");if(o>=n)return s(e,o,n,"hour");if(o>=a)return s(e,o,a,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=a)return Math.round(e/a)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},27891:(e,t,a)=>{e.exports=function(e){function t(e){let a,i,o,r=null;function s(...e){if(!s.enabled)return;const n=s,i=Number(new Date),o=i-(a||i);n.diff=o,n.prev=a,n.curr=i,a=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(a,i)=>{if("%%"===a)return"%";r++;const o=t.formatters[i];if("function"==typeof o){const t=e[r];a=o.call(n,t),e.splice(r,1),r--}return a}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,a){const n=t(this.namespace+(void 0===a?":":a)+e);return n.log=this.log,n}function i(e,t){let a=0,n=0,i=-1,o=0;for(;a<e.length;)if(n<t.length&&(t[n]===e[a]||"*"===t[n]))"*"===t[n]?(i=n,o=a,n++):(a++,n++);else{if(-1===i)return!1;n=i+1,o++,a=o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of a)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const a of t.skips)if(i(e,a))return!1;for(const a of t.names)if(i(e,a))return!0;return!1},t.humanize=a(27250),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(a=>{t[a]=e[a]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t<e.length;t++)a=(a<<5)-a+e.charCodeAt(t),a|=0;return t.colors[Math.abs(a)%t.colors.length]},t.enable(t.load()),t}},28354:(e,t,a)=>{a.d(t,{m:()=>p});var n=a(79212),i=a(2904),o=a(3777),r=a(25186),s=a(47150);function p(e,t,a){var p;if(!a.fragmentMatches)return!1!==globalThis.__DEV__&&(0,s.Ki)(),e;var l=(0,o.Vu)(t);return(0,n.invariant)(l,51),null==e?e:(0,r.S)(e,l.selectionSet,{operationType:l.operation,operationName:null===(p=l.name)||void 0===p?void 0:p.value,fragmentMap:(0,i.JG)((0,o.zK)(t)),cache:a,mutableTargets:new s.jq,knownChanged:new s.xm})}},28907:(e,t,a)=>{a.d(t,{A_:()=>p,D$:()=>g,Ii:()=>c,J:()=>d,Kc:()=>l,MB:()=>v,WU:()=>s,dt:()=>y,kd:()=>b,o5:()=>f,ue:()=>h});var n=a(79212),i=a(21777),o=a(2904),r=a(44214);function s(e){return{__ref:String(e)}}function p(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function d(e,t,a,i){if(function(e){return"IntValue"===e.kind}(a)||function(e){return"FloatValue"===e.kind}(a))e[t.value]=Number(a.value);else if(function(e){return"BooleanValue"===e.kind}(a)||function(e){return"StringValue"===e.kind}(a))e[t.value]=a.value;else if(function(e){return"ObjectValue"===e.kind}(a)){var o={};a.fields.map(function(e){return d(o,e.name,e.value,i)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(a)){var r=(i||{})[a.name.value];e[t.value]=r}else if(function(e){return"ListValue"===e.kind}(a))e[t.value]=a.values.map(function(e){var a={};return d(a,t,e,i),a[t.value]});else if(function(e){return"EnumValue"===e.kind}(a))e[t.value]=a.value;else{if(!function(e){return"NullValue"===e.kind}(a))throw(0,n.newInvariantError)(96,t.value,a.kind);e[t.value]=null}}function c(e,t){var a=null;e.directives&&(a={},e.directives.forEach(function(e){a[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return d(a[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var a=e.name,i=e.value;return d(n,a,i,t)})),f(e.name.value,n,a)}var u=["connection","include","skip","client","rest","export","nonreactive"],m=r.M,f=Object.assign(function(e,t,a){if(t&&a&&a.connection&&a.connection.key){if(a.connection.filter&&a.connection.filter.length>0){var n=a.connection.filter?a.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(a.connection.key,"(").concat(m(i),")")}return a.connection.key}var o=e;if(t){var r=m(t);o+="(".concat(r,")")}return a&&Object.keys(a).forEach(function(e){-1===u.indexOf(e)&&(a[e]&&Object.keys(a[e]).length?o+="@".concat(e,"(").concat(m(a[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=m;return m=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var a={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return d(a,n,i,t)}),a}return null}function h(e){return e.alias?e.alias.value:e.name.value}function g(e,t,a){for(var n,i=0,r=t.selections;i<r.length;i++){if(y(l=r[i])){if("__typename"===l.name.value)return e[h(l)]}else n?n.push(l):n=[l]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,p=n;s<p.length;s++){var l=p[s],d=g(e,(0,o.HQ)(l,a).selectionSet,a);if("string"==typeof d)return d}}function y(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},29122:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(1708);function i(){const{env:e}=n,{TERM:t,TERM_PROGRAM:a}=e;return"win32"!==n.platform?"linux"!==t:Boolean(e.WT_SESSION)||Boolean(e.TERMINUS_SUBLIME)||"{cmd::Cmder}"===e.ConEmuTask||"Terminus-Sublime"===a||"vscode"===a||"xterm-256color"===t||"alacritty"===t||"rxvt-unicode"===t||"rxvt-unicode-256color"===t||"JetBrains-JediTerm"===e.TERMINAL_EMULATOR}},29222:(e,t,a)=>{a.d(t,{D:()=>z});var n=a(85608),i=a(79212),o=a(77634),r=a(55888),s=a(42495),p=a(65702),l=a(9354),d=a(53925),c=a(555),u=a(44214),m=a(38678),f=a(28907),v=a(42455),h=a(51360),g=a(50492),y=a(3777),b=a(30671),D=a(82307),x=a(2904),_=a(57236),w=a(21777),E=a(83906),T=a(35207),N=a(73767),A=a(44592);var O=function(){function e(){this.known=new(h.En?WeakSet:Set),this.pool=new A.Trie(h.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,w.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,w.U)(e)){var t=function(e){return(0,w.U)(e)?(0,N.c)(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,w.U)(e)){var a=this.passes.get(e);if(a)return a;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(s=this.pool.lookupArray(n)).array||(this.known.add(s.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],r=this.sortedKeys(e);o.push(r.json);var s,p=o.length;if(r.sorted.forEach(function(a){o.push(t.admit(e[a]))}),!(s=this.pool.lookupArray(o)).object){var l=s.object=Object.create(i);this.known.add(l),r.sorted.forEach(function(e,t){l[e]=o[p+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),a=this.pool.lookupArray(t);if(!a.keys){t.sort();var n=JSON.stringify(t);(a.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,a.keys={sorted:t,json:n})}return a.keys},e}();function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var S=function(){function e(e){var t=this;this.knownResults=new(h.et?WeakMap:Map),this.config=(0,g.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,T.Xx)(e)}),this.canon=e.canon||new O,this.executeSelectionSet=(0,o.wrap)(function(e){var a,i=e.context.canonizeResults,o=F(e);o[3]=!i;var r=(a=t.executeSelectionSet).peek.apply(a,o);return r?i?(0,n.__assign)((0,n.__assign)({},r),{result:t.canon.admit(r.result)}):r:((0,E.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:F,makeCacheKey:function(e,t,a,n){if((0,E.$7)(a.store))return a.store.makeCacheKey(e,(0,f.A_)(t)?t.__ref:t,a.varString,n)}}),this.executeSubSelectedArray=(0,o.wrap)(function(e){return(0,E.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,a=e.array,n=e.context;if((0,E.$7)(n.store))return n.store.makeCacheKey(t,a,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new O},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,a=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,r=e.variables,s=e.returnPartialData,l=void 0===s||s,d=e.canonizeResults,c=void 0===d?this.config.canonizeResults:d,m=this.config.cache.policies;r=(0,n.__assign)((0,n.__assign)({},(0,y.wY)((0,y.AT)(a))),r);var v,h=(0,f.WU)(o),g=this.executeSelectionSet({selectionSet:(0,y.Vn)(a).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.__assign)({store:t,query:a,policies:m,variables:r,varString:(0,u.M)(r),canonizeResults:c},(0,T.lq)(a,this.config.fragments))});if(g.missing&&(v=[new p.Z(C(g.missing),g.missing,a,r)],!l))throw v[0];return{result:g.result,complete:!v,missing:v}},e.prototype.isFresh=function(e,t,a,n){if((0,E.$7)(n.store)&&this.knownResults.get(e)===a){var i=this.executeSelectionSet.peek(a,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,a=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,r=e.context;if((0,f.A_)(n)&&!r.policies.rootTypenamesById[n.__ref]&&!r.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var s,p=r.variables,l=r.policies,c=r.store.getFieldValue(n,"__typename"),u=[],m=new b.ZI;function h(e,t){var a;return e.missing&&(s=m.merge(s,((a={})[t]=e.missing,a))),e.result}this.config.addTypename&&"string"==typeof c&&!l.rootIdsByTypename[c]&&u.push({__typename:c});var g=new Set(a.selections);g.forEach(function(e){var a,y;if((0,D.MS)(e,p))if((0,f.dt)(e)){var b=l.readField({fieldName:e.name.value,field:e,variables:r.variables,from:n},r),_=(0,f.ue)(e);void 0===b?d.XY.added(e)||(s=m.merge(s,((a={})[_]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.A_)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),a))):(0,N.c)(b)?b.length>0&&(b=h(t.executeSubSelectedArray({field:e,array:b,enclosingRef:o,context:r}),_)):e.selectionSet?null!=b&&(b=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,f.A_)(b)?b:o,context:r}),_)):r.canonizeResults&&(b=t.canon.pass(b)),void 0!==b&&u.push(((y={})[_]=b,y))}else{var w=(0,x.HQ)(e,r.lookupFragment);if(!w&&e.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);w&&l.fragmentMatches(w,c)&&w.selectionSet.selections.forEach(g.add,g)}});var y={result:(0,b.IM)(u),missing:s},w=r.canonizeResults?this.canon.admit(y):(0,_.G)(y);return w.result&&this.knownResults.set(w.result,a),w},e.prototype.execSubSelectedArrayImpl=function(e){var t,a=this,n=e.field,o=e.array,r=e.enclosingRef,s=e.context,p=new b.ZI;function l(e,a){var n;return e.missing&&(t=p.merge(t,((n={})[a]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,N.c)(e)?l(a.executeSubSelectedArray({field:n,array:e,enclosingRef:r,context:s}),t):n.selectionSet?l(a.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,f.A_)(e)?e:r,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,a){if(!t.selectionSet){var n=new Set([a]);n.forEach(function(a){(0,w.U)(a)&&((0,i.invariant)(!(0,f.A_)(a),11,(0,T.Ui)(e,a),t.name.value),Object.values(a).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function C(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}var k=a(20906),I=a(38338);function $(e,t,a){var i="".concat(t).concat(a),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===a?e:(0,n.__assign)((0,n.__assign)({},e),{clientOnly:t,deferred:a})),o}var j=function(){function e(e,t,a){this.cache=e,this.reader=t,this.fragments=a}return e.prototype.writeToStore=function(e,t){var a=this,o=t.query,s=t.result,p=t.dataId,l=t.variables,d=t.overwrite,c=(0,y.Vu)(o),m=(0,T.mv)();l=(0,n.__assign)((0,n.__assign)({},(0,y.wY)(c)),l);var v=(0,n.__assign)((0,n.__assign)({store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:l,varString:(0,u.M)(l)},(0,T.lq)(o,this.fragments)),{overwrite:!!d,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:s||Object.create(null),dataId:p,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,f.A_)(h))throw(0,i.newInvariantError)(12,s);return v.incomingById.forEach(function(t,o){var s=t.storeObject,p=t.mergeTree,l=t.fieldNodeSet,d=(0,f.WU)(o);if(p&&p.map.size){var c=a.applyMerges(p,d,s,v);if((0,f.A_)(c))return;s=c}if(!1!==globalThis.__DEV__&&!v.overwrite){var u=Object.create(null);l.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});Object.keys(s).forEach(function(e){(function(e){return!0===u[(0,T.iJ)(e)]})(e)&&!function(e){var t=p&&p.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,a,o){var s=function(e){var t=o.getFieldValue(e,a);return"object"==typeof t&&t},p=s(e);if(!p)return;var l=s(t);if(!l)return;if((0,f.A_)(p))return;if((0,r.equal)(p,l))return;if(Object.keys(p).every(function(e){return void 0!==o.getFieldValue(l,e)}))return;var d=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),c=(0,T.iJ)(a),u="".concat(d,".").concat(c);if(L.has(u))return;L.add(u);var m=[];(0,N.c)(p)||(0,N.c)(l)||[p,l].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||m.includes(t)||m.push(t)});!1!==globalThis.__DEV__&&i.invariant.warn(15,c,d,m.length?"either ensure all objects of type "+m.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,n.__assign)({},p),(0,n.__assign)({},l))}(d,s,e,v.store)})}e.merge(o,s)}),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,a=e.dataId,o=e.result,r=e.selectionSet,s=e.context,p=e.mergeTree,l=this.cache.policies,c=Object.create(null),u=a&&l.rootTypenamesById[a]||(0,f.D$)(o,r,s.fragmentMap)||a&&s.store.get(a,"__typename");"string"==typeof u&&(c.__typename=u);var m=function(){var e=(0,I.m)(arguments,c,s.variables);if((0,f.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var a=l.readField((0,n.__assign)((0,n.__assign)({},e),{from:t.storeObject}),s);if(void 0!==a)return a}}return l.readField(e,s)},v=new Set;this.flattenFields(r,o,s,u).forEach(function(e,a){var n,r=(0,f.ue)(a),s=o[r];if(v.add(a),void 0!==s){var h=l.getStoreFieldName({typename:u,fieldName:a.name.value,field:a,variables:e.variables}),g=V(p,h),y=t.processFieldValue(s,a,a.selectionSet?$(e,!1,!1):e,g),b=void 0;a.selectionSet&&((0,f.A_)(y)||(0,T.d1)(y))&&(b=m("__typename",y));var D=l.getMergeFunction(u,a.name.value,b);D?g.info={field:a,typename:u,merge:D}:M(p,h),c=e.merge(c,((n={})[h]=y,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||d.XY.added(a)||l.getReadFunction(u,a.name.value)||!1!==globalThis.__DEV__&&i.invariant.error(13,(0,f.ue)(a),o)});try{var h=l.identify(o,{typename:u,selectionSet:r,fragmentMap:s.fragmentMap,storeObject:c,readField:m}),g=h[0],y=h[1];a=a||g,y&&(c=s.merge(c,y))}catch(e){if(!a)throw e}if("string"==typeof a){var b=(0,f.WU)(a),D=s.written[a]||(s.written[a]=[]);if(D.indexOf(r)>=0)return b;if(D.push(r),this.reader&&this.reader.isFresh(o,b,r,s))return b;var x=s.incomingById.get(a);return x?(x.storeObject=s.merge(x.storeObject,c),x.mergeTree=P(x.mergeTree,p),v.forEach(function(e){return x.fieldNodeSet.add(e)})):s.incomingById.set(a,{storeObject:c,mergeTree:B(p)?void 0:p,fieldNodeSet:v}),b}return c},e.prototype.processFieldValue=function(e,t,a,n){var i=this;return t.selectionSet&&null!==e?(0,N.c)(e)?e.map(function(e,o){var r=i.processFieldValue(e,t,a,V(n,o));return M(n,o),r}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:a,mergeTree:n}):!1!==globalThis.__DEV__?(0,k.m)(e):e},e.prototype.flattenFields=function(e,t,a,n){void 0===n&&(n=(0,f.D$)(t,e,a.fragmentMap));var o=new Map,r=this.cache.policies,s=new A.Trie(!1);return function e(p,l){var d=s.lookup(p,l.clientOnly,l.deferred);d.visited||(d.visited=!0,p.selections.forEach(function(s){if((0,D.MS)(s,a.variables)){var p=l.clientOnly,d=l.deferred;if(p&&d||!(0,N.E)(s.directives)||s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(p=!0),"defer"===t){var n=(0,f.MB)(e,a.variables);n&&!1===n.if||(d=!0)}}),(0,f.dt)(s)){var c=o.get(s);c&&(p=p&&c.clientOnly,d=d&&c.deferred),o.set(s,$(a,p,d))}else{var u=(0,x.HQ)(s,a.lookupFragment);if(!u&&s.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,s.name.value);u&&r.fragmentMatches(u,n,t,a.variables)&&e(u.selectionSet,$(a,p,d))}}}))}(e,a),o},e.prototype.applyMerges=function(e,t,a,o,r){var s,p=this;if(e.map.size&&!(0,f.A_)(a)){var l,d=(0,N.c)(a)||!(0,f.A_)(t)&&!(0,T.d1)(t)?void 0:t,c=a;d&&!r&&(r=[(0,f.A_)(d)?d.__ref:d]);var u=function(e,t){return(0,N.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var a=u(d,t),n=u(c,t);if(void 0!==n){r&&r.push(t);var s=p.applyMerges(e,a,n,o,r);s!==n&&(l=l||new Map).set(t,s),r&&(0,i.invariant)(r.pop()===t)}}),l&&(a=(0,N.c)(c)?c.slice(0):(0,n.__assign)({},c),l.forEach(function(e,t){a[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,a,e.info,o,r&&(s=o.store).getStorage.apply(s,r)):a},e}(),R=[];function V(e,t){var a=e.map;return a.has(t)||a.set(t,R.pop()||{map:new Map}),a.get(t)}function P(e,t){if(e===t||!t||B(t))return e;if(!e||B(e))return t;var a=e.info&&t.info?(0,n.__assign)((0,n.__assign)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:a,map:i?new Map:e.map.size?e.map:t.map};if(i){var r=new Set(t.map.keys());e.map.forEach(function(e,a){o.map.set(a,P(e,t.map.get(a))),r.delete(a)}),r.forEach(function(a){o.map.set(a,P(t.map.get(a),e.map.get(a)))})}return o}function B(e){return!e||!(e.info||e.map.size)}function M(e,t){var a=e.map,n=a.get(t);n&&B(n)&&(R.push(n),a.delete(t))}var L=new Set;var U=a(777),q=a(44114),z=function(e){function t(t){void 0===t&&(t={});var a=e.call(this)||this;return a.watches=new Set,a.addTypenameTransform=new l.c(d.XY),a.assumeImmutableResults=!0,a.makeVar=U.UT,a.txCount=0,a.config=(0,T.I6)(t),a.addTypename=!!a.config.addTypename,a.policies=new I.l({cache:a,dataIdFromObject:a.config.dataIdFromObject,possibleTypes:a.config.possibleTypes,typePolicies:a.config.typePolicies}),a.init(),a}return(0,n.__extends)(t,e),t.prototype.init=function(){var e=this.data=new E.D_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,a=this.storeReader,n=this.config.fragments;this.storeWriter=new j(this,this.storeReader=new S({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,T.Xx)(this.config),canon:e?void 0:a&&a.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.wrap)(function(e,a){return t.broadcastWatch(e,a)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var a=e.optimistic?t.optimisticData:t.data;if((0,E.$7)(a)){var n=e.optimistic,i=e.id,o=e.variables;return a.makeCacheKey(e.query,e.callback,(0,u.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,a=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:a})).result||null}catch(e){if(e instanceof p.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(T.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,U.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,U.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;u.M.reset(),m.y.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var a=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),a},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,f.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(T.$3.call(e,"id"))return!1;e=(0,n.__assign)((0,n.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),u.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,U.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,a=this,i=e.update,o=e.optimistic,r=void 0===o||o,s=e.removeOptimistic,p=e.onWatchUpdated,l=function(e){var n=a,o=n.data,r=n.optimisticData;++a.txCount,e&&(a.data=a.optimisticData=e);try{return t=i(a)}finally{--a.txCount,a.data=o,a.optimisticData=r}},d=new Set;return p&&!this.txCount&&this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e){return d.add(e),!1}})),"string"==typeof r?this.optimisticData=this.optimisticData.addLayer(r,l):!1===r?l(this.data):l(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),p&&d.size?(this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e,t){var a=p.call(this,e,t);return!1!==a&&d.delete(e),a}})),d.size&&d.forEach(function(e){return a.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(a){return t.maybeBroadcastWatch(a,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var a=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,a))||a&&(0,r.equal)(a.result,n.result)||e.callback(e.lastDiff=n,a)},t}(s.k);!1!==globalThis.__DEV__&&(z.prototype.getMemoryInternals=q.cM)},29557:e=>{e.exports=n},29790:(e,t,a)=>{a.d(t,{default:()=>H,oraPromise:()=>W,spinners:()=>C}),a.r(t);var n=a(1708),i=a(88568);const o=(e,t,a,n)=>{if("length"===a||"prototype"===a)return;if("arguments"===a||"caller"===a)return;const i=Object.getOwnPropertyDescriptor(e,a),o=Object.getOwnPropertyDescriptor(t,a);!r(i,o)&&n||Object.defineProperty(e,a,o)},r=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},s=(e,t)=>`/* Wrapped ${e}*/\n${t}`,p=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),l=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");function d(e,t,{ignoreNonConfigurable:a=!1}={}){const{name:n}=e;for(const n of Reflect.ownKeys(t))o(e,t,n,a);return((e,t)=>{const a=Object.getPrototypeOf(t);a!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,a)})(e,t),((e,t,a)=>{const n=""===a?"":`with ${a.trim()}() `,i=s.bind(null,n,t.toString());Object.defineProperty(i,"name",l);const{writable:o,enumerable:r,configurable:d}=p;Object.defineProperty(e,"toString",{value:i,writable:o,enumerable:r,configurable:d})})(e,t,n),e}const c=new WeakMap,u=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let a,n=0;const i=e.displayName||e.name||"<anonymous>",o=function(...r){if(c.set(o,++n),1===n)a=e.apply(this,r),e=void 0;else if(!0===t.throw)throw new Error(`Function \`${i}\` can only be called once`);return a};return d(o,e),c.set(o,n),o};u.callCount=e=>{if(!c.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return c.get(e)};const m=u,f=[];f.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&f.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&f.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const v=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,h=Symbol.for("signal-exit emitter"),g=globalThis,y=Object.defineProperty.bind(Object);class b{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(g[h])return g[h];y(g,h,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const a=this.listeners[e],n=a.indexOf(t);-1!==n&&(0===n&&1===a.length?a.length=0:a.splice(n,1))}emit(e,t,a){if(this.emitted[e])return!1;this.emitted[e]=!0;let n=!1;for(const i of this.listeners[e])n=!0===i(t,a)||n;return"exit"===e&&(n=this.emit("afterExit",t,a)||n),n}}class D{}const x=globalThis.process,{onExit:_,load:w,unload:E}=(T=v(x)?new class extends D{#e="win32"===x.platform?"SIGINT":"SIGHUP";#t=new b;#a;#n;#i;#o={};#r=!1;constructor(e){super(),this.#a=e,this.#o={};for(const t of f)this.#o[t]=()=>{const a=this.#a.listeners(t);let{count:n}=this.#t;const i=e;if("object"==typeof i.__signal_exit_emitter__&&"number"==typeof i.__signal_exit_emitter__.count&&(n+=i.__signal_exit_emitter__.count),a.length===n){this.unload();const a=this.#t.emit("exit",null,t),n="SIGHUP"===t?this.#e:t;a||e.kill(e.pid,n)}};this.#i=e.reallyExit,this.#n=e.emit}onExit(e,t){if(!v(this.#a))return()=>{};!1===this.#r&&this.load();const a=t?.alwaysLast?"afterExit":"exit";return this.#t.on(a,e),()=>{this.#t.removeListener(a,e),0===this.#t.listeners.exit.length&&0===this.#t.listeners.afterExit.length&&this.unload()}}load(){if(!this.#r){this.#r=!0,this.#t.count+=1;for(const e of f)try{const t=this.#o[e];t&&this.#a.on(e,t)}catch(e){}this.#a.emit=(e,...t)=>this.#s(e,...t),this.#a.reallyExit=e=>this.#p(e)}}unload(){this.#r&&(this.#r=!1,f.forEach(e=>{const t=this.#o[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#a.removeListener(e,t)}catch(e){}}),this.#a.emit=this.#n,this.#a.reallyExit=this.#i,this.#t.count-=1)}#p(e){return v(this.#a)?(this.#a.exitCode=e||0,this.#t.emit("exit",this.#a.exitCode,null),this.#i.call(this.#a,this.#a.exitCode)):0}#s(e,...t){const a=this.#n;if("exit"===e&&v(this.#a)){"number"==typeof t[0]&&(this.#a.exitCode=t[0]);const n=a.call(this.#a,e,...t);return this.#t.emit("exit",this.#a.exitCode,null),n}return a.call(this.#a,e,...t)}}(x):new class extends D{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>T.onExit(e,t),load:()=>T.load(),unload:()=>T.unload()});var T;const N=n.stderr.isTTY?n.stderr:n.stdout.isTTY?n.stdout:void 0,A=N?m(()=>{_(()=>{N.write("[?25h")},{alwaysLast:!0})}):()=>{};let O=!1;const F={show:(e=n.stderr)=>{e.isTTY&&(O=!1,e.write("[?25h"))},hide:(e=n.stderr)=>{e.isTTY&&(A(),O=!0,e.write("[?25l"))},toggle:(e,t)=>{void 0!==e&&(O=e),O?F.show(t):F.hide(t)}},S=F;var C=a(47661);const k={info:i.Ay.blue("ℹ"),success:i.Ay.green("✔"),warning:i.Ay.yellow("⚠"),error:i.Ay.red("✖")},I={info:i.Ay.blue("i"),success:i.Ay.green("√"),warning:i.Ay.yellow("‼"),error:i.Ay.red("×")},$=("win32"!==n.platform?"linux"!==n.env.TERM:Boolean(n.env.CI)||Boolean(n.env.WT_SESSION)||Boolean(n.env.TERMINUS_SUBLIME)||"{cmd::Cmder}"===n.env.ConEmuTask||"Terminus-Sublime"===n.env.TERM_PROGRAM||"vscode"===n.env.TERM_PROGRAM||"xterm-256color"===n.env.TERM||"alacritty"===n.env.TERM||"JetBrains-JediTerm"===n.env.TERMINAL_EMULATOR)?k:I;const j=function({onlyFirst:e=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",e?void 0:"g")}();function R(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(j,"")}function V(e){return 161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function P(e){return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510}function B(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9776&&e<=9783||e>=9800&&e<=9811||9855===e||e>=9866&&e<=9871||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||129736===e||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function M(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function L(e,{ambiguousAsWide:t=!1}={}){return M(e),P(e)||B(e)||t&&V(e)?2:1}const U=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,q=new Intl.Segmenter,z=/^\p{Default_Ignorable_Code_Point}$/u;function G(e,t={}){if("string"!=typeof e||0===e.length)return 0;const{ambiguousIsNarrow:a=!0,countAnsiEscapeCodes:n=!1}=t;if(n||(e=R(e)),0===e.length)return 0;let i=0;const o={ambiguousAsWide:!a};for(const{segment:t}of q.segment(e)){const e=t.codePointAt(0);e<=31||e>=127&&e<=159||(e>=8203&&e<=8207||65279===e||e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071||e>=55296&&e<=57343||e>=65024&&e<=65039||z.test(t)||(U().test(t)?i+=2:i+=L(e,o)))}return i}var Y=a(29122);const Q=new class{#l=0;start(){this.#l++,1===this.#l&&this.#d()}stop(){if(this.#l<=0)throw new Error("`stop` called more times than `start`");this.#l--,0===this.#l&&this.#c()}#d(){"win32"!==n.platform&&n.stdin.isTTY&&(n.stdin.setRawMode(!0),n.stdin.on("data",this.#u),n.stdin.resume())}#c(){n.stdin.isTTY&&(n.stdin.off("data",this.#u),n.stdin.pause(),n.stdin.setRawMode(!1))}#u(e){3===e[0]&&n.emit("SIGINT")}};class J{#m=0;#f=!1;#v=0;#h=-1;#g=0;#y;#b;#D;#x;#_;#w;#E;#T;#N;#A;#O;color;constructor(e){"string"==typeof e&&(e={text:e}),this.#y={color:"cyan",stream:n.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#y.color,this.spinner=this.#y.spinner,this.#_=this.#y.interval,this.#D=this.#y.stream,this.#w="boolean"==typeof this.#y.isEnabled?this.#y.isEnabled:function({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&"dumb"!==process.env.TERM&&!("CI"in process.env))}({stream:this.#D}),this.#E="boolean"==typeof this.#y.isSilent&&this.#y.isSilent,this.text=this.#y.text,this.prefixText=this.#y.prefixText,this.suffixText=this.#y.suffixText,this.indent=this.#y.indent}get indent(){return this.#T}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#T=e,this.#F()}get interval(){return this.#_??this.#b.interval??100}get spinner(){return this.#b}set spinner(e){if(this.#h=-1,this.#_=void 0,"object"==typeof e){if(void 0===e.frames)throw new Error("The given spinner must have a `frames` property");this.#b=e}else if((0,Y.A)())if(void 0===e)this.#b=C.dots;else{if("default"===e||!C[e])throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);this.#b=C[e]}else this.#b=C.line}get text(){return this.#N}set text(e=""){this.#N=e,this.#F()}get prefixText(){return this.#A}set prefixText(e=""){this.#A=e,this.#F()}get suffixText(){return this.#O}set suffixText(e=""){this.#O=e,this.#F()}get isSpinning(){return void 0!==this.#x}#S(e=this.#A,t=" "){return"string"==typeof e&&""!==e?e+t:"function"==typeof e?e()+t:""}#C(e=this.#O,t=" "){return"string"==typeof e&&""!==e?t+e:"function"==typeof e?t+e():""}#F(){const e=this.#D.columns??80,t=this.#S(this.#A,"-"),a=this.#C(this.#O,"-"),n=" ".repeat(this.#T)+t+"--"+this.#N+"--"+a;this.#v=0;for(const t of R(n).split("\n"))this.#v+=Math.max(1,Math.ceil(G(t,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#w&&!this.#E}set isEnabled(e){if("boolean"!=typeof e)throw new TypeError("The `isEnabled` option must be a boolean");this.#w=e}get isSilent(){return this.#E}set isSilent(e){if("boolean"!=typeof e)throw new TypeError("The `isSilent` option must be a boolean");this.#E=e}frame(){const e=Date.now();(-1===this.#h||e-this.#g>=this.interval)&&(this.#h=++this.#h%this.#b.frames.length,this.#g=e);const{frames:t}=this.#b;let a=t[this.#h];this.color&&(a=i.Ay[this.color](a));return("string"==typeof this.#A&&""!==this.#A?this.#A+" ":"")+a+("string"==typeof this.text?" "+this.text:"")+("string"==typeof this.#O&&""!==this.#O?" "+this.#O:"")}clear(){if(!this.#w||!this.#D.isTTY)return this;this.#D.cursorTo(0);for(let e=0;e<this.#m;e++)e>0&&this.#D.moveCursor(0,-1),this.#D.clearLine(1);return(this.#T||this.lastIndent!==this.#T)&&this.#D.cursorTo(this.#T),this.lastIndent=this.#T,this.#m=0,this}render(){return this.#E||(this.clear(),this.#D.write(this.frame()),this.#m=this.#v),this}start(e){return e&&(this.text=e),this.#E?this:this.#w?(this.isSpinning||(this.#y.hideCursor&&S.hide(this.#D),this.#y.discardStdin&&n.stdin.isTTY&&(this.#f=!0,Q.start()),this.render(),this.#x=setInterval(this.render.bind(this),this.interval)),this):(this.text&&this.#D.write(`- ${this.text}\n`),this)}stop(){return this.#w?(clearInterval(this.#x),this.#x=void 0,this.#h=0,this.clear(),this.#y.hideCursor&&S.show(this.#D),this.#y.discardStdin&&n.stdin.isTTY&&this.#f&&(Q.stop(),this.#f=!1),this):this}succeed(e){return this.stopAndPersist({symbol:$.success,text:e})}fail(e){return this.stopAndPersist({symbol:$.error,text:e})}warn(e){return this.stopAndPersist({symbol:$.warning,text:e})}info(e){return this.stopAndPersist({symbol:$.info,text:e})}stopAndPersist(e={}){if(this.#E)return this;const t=e.prefixText??this.#A,a=this.#S(t," "),n=e.symbol??" ",i=e.text??this.text,o="string"==typeof i?(n?" ":"")+i:"",r=e.suffixText??this.#O,s=a+n+o+this.#C(r," ")+"\n";return this.stop(),this.#D.write(s),this}}function H(e){return new J(e)}async function W(e,t){const a="function"==typeof e,n="function"==typeof e.then;if(!a&&!n)throw new TypeError("Parameter `action` must be a Function or a Promise");const{successText:i,failText:o}="object"==typeof t?t:{successText:void 0,failText:void 0},r=H(t).start();try{const t=a?e(r):e,n=await t;return r.succeed(void 0===i?void 0:"string"==typeof i?i:i(n)),n}catch(e){throw r.fail(void 0===o?void 0:"string"==typeof o?o:o(e)),e}}},29891:(e,t,a)=>{a.d(t,{ApolloLink:()=>n.C,concat:()=>s,empty:()=>i,execute:()=>p.g,from:()=>o,split:()=>r}),a.r(t);a(79212);var n=a(19074),i=n.C.empty,o=n.C.from,r=n.C.split,s=n.C.concat,p=a(25174)},30234:(e,t,a)=>{function n(e){return e.catch(function(){}),e}a.d(t,{X:()=>n})},30671:(e,t,a)=>{a.d(t,{D9:()=>r,IM:()=>s,ZI:()=>l});var n=a(85608),i=a(21777),o=Object.prototype.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},a=e.length;if(a>1)for(var n=new l,i=1;i<a;++i)t=n.merge(t,e[i]);return t}var p=function(e,t,a){return this.merge(e[a],t[a])},l=function(){function e(e){void 0===e&&(e=p),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var a=this,r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var p=a.reconciler.apply(a,(0,n.__spreadArray)([e,t,i],r,!1));p!==s&&((e=a.shallowCopyForMerge(e))[i]=p)}}else(e=a.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},31088:(e,t,a)=>{function n(){}a.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:a}=t;a&&(a.older=e),e&&(e.newer=a),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=a)}return t}set(e,t){let a=this.getNode(e);return a?a.value=t:(a={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=a),this.newest=a,this.oldest=this.oldest||a,this.map.set(e,a),a.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},31421:e=>{e.exports=t("node:child_process")},31507:(e,t,a)=>{a.d(t,{l:()=>o});var n=a(85608),i=a(50492);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.__assign)((0,n.__assign)({},e&&e.variables),t.variables))})}},32235:(e,t,a)=>{var n=a(16699);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32710:(e,t,a)=>{a.d(t,{M:()=>r,t:()=>o});var n=a(73767),i=a(37396);function o(e){var t=r(e);return(0,n.E)(t)}function r(e){var t=(0,n.E)(e.errors)?e.errors.slice(0):[];return(0,i.ST)(e)&&(0,n.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},33068:(e,t,a)=>{a.d(t,{z:()=>n});var n=function(e,t){var a=e.getContext().uri;return a||("function"==typeof t?t(e):t||"/graphql")}},34528:(e,t,a)=>{a.d(t,{p:()=>T});var n,i,o,r,s,p,l,d=a(68832),c=a(99436),u=a(35679),m=a(88568),f=a(29790),v=a(74752),h=a(50700),g=a(34992),y=a(75706),b=a(6939),D=()=>{var e=(0,v.getCurrentProfile)(),t=(0,v.getToken)(e);return t||(console.error(m.Ay.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),(0,h.createClient)((0,v.getBaseUrl)(),t)},x=3e5,_=e=>{if(!e)return m.Ay.gray("○");var t=Date.now()-new Date(e).getTime();return t<=x?m.Ay.green("●"):Math.floor(t/6e4)<60?m.Ay.yellow("○"):m.Ay.red("○")},w=(e,t)=>({id:e?._id||t,name:e?.name||"Unnamed",deviceCount:e?.devices?.length||0}),E=["refresh","clear-cache","system-menu-open","system-menu-close","system-info-open","system-info-close","local-sync-panel-open","local-sync-panel-close","debug-panel-open","debug-panel-close","logging-on","logging-off","test-panel-open","test-panel-close"],T=new u.uB("group").description("Device Group management");T.command("list").description("List all device groups").option("-j, --json","Output as JSON").action((n=c(function*(e){var t=D(),a=(0,f.default)("Fetching device groups...").start();try{var n=yield t.deviceGroups({});if(a.stop(),e.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(m.Ay.yellow("No device groups found"));console.log(m.Ay.bold("\nDevice Groups")),console.log("─".repeat(80)),n.forEach(e=>{var t=e.devices?.length||0;console.log(`● ${m.Ay.cyan(e.name)} ${m.Ay.gray(`(${t} devices)`)}`),console.log(` ID: ${m.Ay.gray(e._id)}`),e.description&&console.log(` ${m.Ay.gray(e.description)}`),console.log()})}catch(e){a.fail(`Failed to list groups: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)})),T.command("get <id>").description("Get device group details").option("-j, --json","Output as JSON").action((i=c(function*(e,t){var a=D(),n=(0,f.default)("Fetching device group...").start();try{var i=yield a.deviceGroup({id:e});if(n.stop(),i||(console.log(m.Ay.red("Device group not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(i,null,2));console.log(m.Ay.bold(`\nDevice Group: ${i.name}`)),console.log("─".repeat(60)),console.log(`ID: ${m.Ay.gray(i._id)}`),console.log(`Description: ${i.description||m.Ay.gray("N/A")}`),console.log(`Tags: ${i.tags?.join(", ")||m.Ay.gray("None")}`),console.log(`Created: ${m.Ay.gray(i.create_datetime)}`),console.log(`Modified: ${m.Ay.gray(i.last_modify_datetime)}`),i.devices?.length>0&&(console.log(`\n${m.Ay.bold("Devices")} (${i.devices.length})`),i.devices.forEach(e=>{var t=e.device_target_name||e.device_id;console.log(` - ${t} ${m.Ay.gray(`(${e.device_id})`)}`)})),console.log("─".repeat(60))}catch(e){n.fail(`Failed to get group: ${e.message}`),process.exit(1)}}),function(e,t){return i.apply(this,arguments)})),T.command("resolve <query>").description("Resolve a device group name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((o=c(function*(e,t){var a=D(),n=t.json?null:(0,f.default)("Resolving device group...").start();try{var i=yield(0,y.Y)(()=>a.deviceGroup({id:e})),o=i?[i]:yield a.deviceGroups({paginate:{limit:t.limit}}),r=i?o:(o||[]).filter(t=>t.name?.toLowerCase().includes(e.trim().toLowerCase())),s=(0,y.K)({resource:"group",query:e,items:r||[],fields:["_id","name"],selectedBy:i?"id":null});if(n&&n.stop(),t.json)return void(0,g.GF)(s);if(s.resolved){var p=s.resolved;return console.log(m.Ay.bold("\nResolved Device Group")),console.log("─".repeat(60)),console.log(`Name: ${m.Ay.cyan(p.name||"Unnamed")}`),console.log(`ID: ${m.Ay.gray(p._id)}`),console.log(`Selected By: ${s.selectedBy}`),void console.log("─".repeat(60))}if(0===s.matches.length)return void console.log(m.Ay.yellow(`No device groups matched "${e}"`));console.log(m.Ay.bold(`\nMatching Device Groups (${s.matches.length})`)),console.log("─".repeat(80)),s.matches.forEach(e=>{console.log(`${m.Ay.cyan(e.name||"Unnamed")} ${m.Ay.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){n?n.fail(`Failed to resolve device group: ${t.message}`):(0,g.OW)(t.message,{resource:"group",query:e}),process.exit(1)}}),function(e,t){return o.apply(this,arguments)})),T.command("devices <id>").description("List devices in a group with status").option("-j, --json","Output as JSON").action((r=c(function*(e,t){var a=D(),n=(0,f.default)("Fetching devices...").start();try{var i=yield a.devicesByGroup({id:e});if(n.stop(),t.json)return void console.log(JSON.stringify(i,null,2));if(!i||0===i.length)return void console.log(m.Ay.yellow("No devices in this group"));console.log(m.Ay.bold("\nDevices in Group")),console.log("─".repeat(80)),i.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,a=_(t),n=e.name||e.device_name||e.device_target_name,i=e.entry_detail?.application?.name||m.Ay.gray("No app");console.log(`${a} ${m.Ay.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80))}catch(e){n.fail(`Failed to get devices: ${e.message}`),process.exit(1)}}),function(e,t){return r.apply(this,arguments)})),T.command("dispatch <id> <action>").description("Dispatch action to all devices in group").option("--dry-run","Validate inputs and show the dispatch plan without sending it").option("-j, --json","Output as JSON").action((s=c(function*(e,t,a){var n=D(),i=a.json?null:(0,f.default)(`Dispatching ${t}...`).start();E.includes(t)||(a.json?(0,g.OW)(`Invalid action. Valid actions: ${E.join(", ")}`,{action:"group.dispatch",target:{id:e}}):i.fail(`Invalid action. Valid actions: ${E.join(", ")}`),process.exit(1));try{var o=yield n.deviceGroup({id:e});if(!o)throw new Error("Device group not found");if(a.dryRun)return i&&i.stop(),void(0,b.S5)({action:"group.dispatch",target:w(o,e),request:{action:t},checks:[(0,b.Iy)("group exists",!0,`${o.name} (${o._id})`),(0,b.Iy)("action is valid",!0)],json:a.json});var r=yield n.dispatchDeviceGroupAction({id:e,action:t});a.json?(0,b.yd)({action:"group.dispatch",target:w(o,e),result:{action:t,success:r?.success||0,failed:r?.failed||0},json:!0}):(i.succeed(`Action dispatched: ${m.Ay.green(t)}`),r&&(console.log(`Success: ${m.Ay.green(r.success||0)}`),console.log(`Failed: ${m.Ay.red(r.failed||0)}`)))}catch(t){a.json?(0,g.OW)(t.message,{action:"group.dispatch",target:{id:e}}):i.fail(`Failed to dispatch action: ${t.message}`),process.exit(1)}}),function(e,t,a){return s.apply(this,arguments)})),T.command("refresh <id>").description("Refresh all devices in group").option("--dry-run","Validate inputs and show the refresh plan without sending it").option("-j, --json","Output as JSON").action((p=c(function*(e,t){var a=D(),n=t.json?null:(0,f.default)("Refreshing devices...").start();try{var i=yield a.deviceGroup({id:e});if(!i)throw new Error("Device group not found");if(t.dryRun)return n&&n.stop(),void(0,b.S5)({action:"group.refresh",target:w(i,e),request:{action:"refresh"},checks:[(0,b.Iy)("group exists",!0,`${i.name} (${i._id})`)],json:t.json});var o=yield a.dispatchDeviceGroupAction({id:e,action:"refresh"});t.json?(0,b.yd)({action:"group.refresh",target:w(i,e),result:{success:o?.success||0,failed:o?.failed||0},json:!0}):(n.succeed("Devices refreshed"),o&&(console.log(`Success: ${m.Ay.green(o.success||0)}`),console.log(`Failed: ${m.Ay.red(o.failed||0)}`)))}catch(a){t.json?(0,g.OW)(a.message,{action:"group.refresh",target:{id:e}}):n.fail(`Failed to refresh: ${a.message}`),process.exit(1)}}),function(e,t){return p.apply(this,arguments)})),T.command("monitor <id>").description("Monitor devices in group (polls every 60s)").option("-i, --interval <seconds>","Polling interval in seconds","60").action((l=c(function*(e,t){var a=D(),n=1e3*parseInt(t.interval,10);console.log(m.Ay.bold("\nDevice Group Monitor")),console.log(m.Ay.gray(`Polling every ${t.interval}s. Press Ctrl+C to stop.\n`));var i,o=(i=c(function*(){try{var t=yield Promise.all([a.deviceGroup({id:e}),a.devicesByGroup({id:e})]),n=d(t,2),i=n[0],o=n[1];if(process.stdout.write("[2J[0f"),console.log(m.Ay.bold(`Device Group: ${i.name}`)+m.Ay.gray(` - ${(new Date).toLocaleTimeString()}`)),console.log("─".repeat(80)),!o||0===o.length)return void console.log(m.Ay.yellow("No devices in this group"));var r=0,s=0;o.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,a=_(t),n=e.name||e.device_name||e.device_target_name,i=e.entry_detail?.application?.name||m.Ay.gray("No app");t&&Date.now()-new Date(t).getTime()<=x?r++:s++,console.log(`${a} ${m.Ay.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80)),console.log(`Online: ${m.Ay.green(r)} Offline: ${m.Ay.red(s)}`),console.log(`\n${m.Ay.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(m.Ay.red(`Error: ${e.message}`))}}),function(){return i.apply(this,arguments)});yield o(),setInterval(o,n)}),function(e,t){return l.apply(this,arguments)}))},34992:(e,t,a)=>{a.d(t,{$l:()=>o,GF:()=>n,OW:()=>i});var n=e=>{console.log(JSON.stringify(e,null,2))},i=(e,t={})=>{console.error(JSON.stringify({ok:!1,error:{message:e,...t}},null,2))},o=(e,t=4)=>e?e.length<=2*t?"*".repeat(e.length):`${e.slice(0,t)}…${e.slice(-t)}`:null},35198:(e,t,a)=>{a.d(t,{N:()=>o});const n=10,i=2;function o(e){return r(e,[])}function r(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const a=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:r(t,a)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const a=Math.min(n,e.length),o=e.length-a,s=[];for(let n=0;n<a;++n)s.push(r(e[n],t));1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`);return"["+s.join(", ")+"]"}(e,a);return function(e,t){const a=Object.entries(e);if(0===a.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=a.map(([e,a])=>e+": "+r(a,t));return"{ "+n.join(", ")+" }"}(e,a)}(e,t);default:return String(e)}}},35207:(e,t,a)=>{a.d(t,{$3:()=>c,I6:()=>v,T9:()=>D,Ui:()=>g,Xx:()=>h,d1:()=>x,gk:()=>y,iJ:()=>b,lq:()=>w,mv:()=>_,or:()=>m});var n=a(82307),i=a(2904),o=a(3777),r=a(28907),s=a(30671),p=a(73767),l=a(21777),d=a(50492),c=Object.prototype.hasOwnProperty;function u(e){return null==e}function m(e,t){var a=e.__typename,n=e.id,i=e._id;if("string"==typeof a&&(t&&(t.keyObject=u(n)?u(i)?void 0:{_id:i}:{id:n}),u(n)&&!u(i)&&(n=i),!u(n)))return"".concat(a,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var f={dataIdFromObject:m,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,d.o)(f,e)}function h(e){var t=e.canonizeResults;return void 0===t?f.canonizeResults:t}function g(e,t){return(0,r.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var y=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(y);return t?t[0]:e}function D(e,t,a){return!!(0,l.U)(t)&&((0,p.c)(t)?t.every(function(t){return D(e,t,a)}):e.selections.every(function(e){if((0,r.dt)(e)&&(0,n.MS)(e,a)){var i=(0,r.ue)(e);return c.call(t,i)&&(!e.selectionSet||D(e.selectionSet,t[i],a))}return!0}))}function x(e){return(0,l.U)(e)&&!(0,r.A_)(e)&&!(0,p.c)(e)}function _(){return new s.ZI}function w(e,t){var a=(0,i.JG)((0,o.zK)(e));return{fragmentMap:a,lookupFragment:function(e){var n=a[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},35317:e=>{e.exports=t("child_process")},35600:(e,t,a)=>{const n=a(70857),i=a(52018),o=a(56071),{env:r}=process;let s;function p(e,{streamIsTTY:t,sniffFlags:a=!0}={}){const i=function(){if("FORCE_COLOR"in r)return"true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(Number.parseInt(r.FORCE_COLOR,10),3)}();void 0!==i&&(s=i);const p=a?s:i;if(0===p)return 0;if(a){if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2}if(e&&!t&&void 0===p)return 0;const l=p||0;if("dumb"===r.TERM)return l;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(e=>e in r)||"codeship"===r.CI_NAME?1:l;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=Number.parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:l}function l(e,t={}){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(p(e,{streamIsTTY:e&&e.isTTY,...t}))}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),e.exports={supportsColor:l,stdout:l({isTTY:i.isatty(1)}),stderr:l({isTTY:i.isatty(2)})}},35646:function(e,t,a){var n=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))(function(i,o){function r(e){try{p(n.next(e))}catch(e){o(e)}}function s(e){try{p(n.throw(e))}catch(e){o(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a(function(e){e(t)})).then(r,s)}p((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=i(a(69278)),r=i(a(64756)),s=i(a(87016)),p=i(a(42613)),l=i(a(3680)),d=a(68089),c=i(a(36981)),u=l.default("https-proxy-agent:agent");class m extends d.Agent{constructor(e){let t;if(t="string"==typeof e?s.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");u("creating new HttpsProxyAgent instance: %o",t),super(t);const a=Object.assign({},t);var n;this.secureProxy=t.secureProxy||"string"==typeof(n=a.protocol)&&/^https:?$/i.test(n),a.host=a.hostname||a.host,"string"==typeof a.port&&(a.port=parseInt(a.port,10)),!a.port&&a.host&&(a.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in a)&&(a.ALPNProtocols=["http 1.1"]),a.host&&a.path&&(delete a.path,delete a.pathname),this.proxy=a}callback(e,t){return n(this,void 0,void 0,function*(){const{proxy:a,secureProxy:n}=this;let i;n?(u("Creating `tls.Socket`: %o",a),i=r.default.connect(a)):(u("Creating `net.Socket`: %o",a),i=o.default.connect(a));const s=Object.assign({},a.headers);let l=`CONNECT ${`${t.host}:${t.port}`} HTTP/1.1\r\n`;a.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(a.auth).toString("base64")}`);let{host:d,port:m,secureEndpoint:v}=t;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(m,v)||(d+=`:${m}`),s.Host=d,s.Connection="close";for(const e of Object.keys(s))l+=`${e}: ${s[e]}\r\n`;const h=c.default(i);i.write(`${l}\r\n`);const{statusCode:g,buffered:y}=yield h;if(200===g){if(e.once("socket",f),t.secureEndpoint){u("Upgrading socket connection to TLS");const e=t.servername||t.host;return r.default.connect(Object.assign(Object.assign({},function(e,...t){const a={};let n;for(n in e)t.includes(n)||(a[n]=e[n]);return a}(t,"host","hostname","path","port")),{socket:i,servername:e}))}return i}i.destroy();const b=new o.default.Socket({writable:!1});return b.readable=!0,e.once("socket",e=>{u("replaying proxy buffer for failed request"),p.default(e.listenerCount("data")>0),e.push(y),e.push(null)}),b})}}function f(e){e.resume()}t.default=m},35679:(e,t,a)=>{a.d(t,{DM:()=>i,uB:()=>c});var n=a(65181);const{DM:i,gu:o,er:r,Ww:s,b7:p,Di:l,a2:d,uB:c,ef:u,c$:m,_V:f}=n},35704:(e,t,a)=>{a.d(t,{V:()=>o});var n={S:"Subspace",B:"Brick",C:"Canvas",A:"Animation",G:"Generator",D:"Data",F:"Data Calc",N:"Calc Node",T:"Test",TC:"Test Case",AT:"Automation Map"},i=e=>e?.split("_")?.[0]||"",o=(e,{keyword:t,types:a}={})=>{var o=t?.trim().toLowerCase()||"",r=a?.length>0?new Set(a.flatMap(e=>{var t=String(e).trim().toUpperCase();return t?[t]:[]})):null,s=Object.entries(e||{}).filter(([,e])=>e&&!e.hide).filter(([e,t])=>{var a=i(e);if(r&&!r.has(a))return!1;if(!o)return!0;var n=t?.title?String(t.title).toLowerCase():"";return e.toLowerCase().includes(o)||n.includes(o)}).reduce((e,[t,a])=>{var n=i(t);return e[n]||(e[n]=[]),e[n].push({shortId:t,ref:a}),e},{});return Object.entries(s).map(([e,t])=>({prefix:e,label:n[e]||e,refs:t.sort((e,t)=>{var a=e.ref?.title||e.shortId,n=t.ref?.title||t.shortId;return String(a).localeCompare(String(n))})})).sort((e,t)=>e.label.localeCompare(t.label))}},35892:(e,t,a)=>{a.d(t,{r:()=>o});var n=a(36054),i=a(51360);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},36054:(e,t,a)=>{function n(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return(a=a.call(e)).next.bind(a);if(Array.isArray(e)||(a=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function o(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t,a){return t&&o(e.prototype,t),a&&o(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}a.d(t,{c:()=>E});var s=function(){return"function"==typeof Symbol},p=function(e){return s()&&Boolean(Symbol[e])},l=function(e){return p(e)?Symbol[e]:"@@"+e};s()&&!p("observable")&&(Symbol.observable=Symbol("observable"));var d=l("iterator"),c=l("observable"),u=l("species");function m(e,t){var a=e[t];if(null!=a){if("function"!=typeof a)throw new TypeError(a+" is not a function");return a}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[u])&&(t=void 0),void 0!==t?t:E}function v(e){return e instanceof E}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function g(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var a=m(t,"unsubscribe");a&&a.call(t)}}catch(e){h(e)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function D(e,t,a){e._state="running";var n=e._observer;try{var i=m(n,t);switch(t){case"next":i&&i.call(n,a);break;case"error":if(b(e),!i)throw a;i.call(n,a);break;case"complete":b(e),i&&i.call(n)}}catch(e){h(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function x(e,t,a){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:a}],void g(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var a=0;a<t.length&&(D(e,t[a].type,t[a].value),"closed"!==e._state);++a);}}(e)})):void D(e,t,a);e._queue.push({type:t,value:a})}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var a=new w(this);try{this._cleanup=t.call(void 0,a)}catch(e){a.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(b(this),y(this))},r(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){x(this._subscription,"next",e)},t.error=function(e){x(this._subscription,"error",e)},t.complete=function(){x(this._subscription,"complete")},r(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(a,n){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){n(e),i.unsubscribe()}},error:n,complete:a});else n(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),a()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))(function(a){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return a.error(e)}a.next(t)},error:function(e){a.error(e)},complete:function(){a.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))(function(a){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return a.error(e)}a.next(t)},error:function(e){a.error(e)},complete:function(){a.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var a=f(this),n=arguments.length>1,i=!1,o=arguments[1];return new a(function(a){return t.subscribe({next:function(t){var r=!i;if(i=!0,!r||n)try{o=e(o,t)}catch(e){return a.error(e)}else o=t},error:function(e){a.error(e)},complete:function(){if(!i&&!n)return a.error(new TypeError("Cannot reduce an empty sequence"));a.next(o),a.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var i=f(this);return new i(function(t){var n,o=0;return function e(r){n=r.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===a.length?(n=void 0,t.complete()):e(i.from(a[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var a=f(this);return new a(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=a.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),r()}});i.push(o)},error:function(e){n.error(e)},complete:function(){r()}});function r(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var a="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=m(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return v(o)&&o.constructor===a?o:new a(function(e){return o.subscribe(e)})}if(p("iterator")&&(i=m(t,d)))return new a(function(e){g(function(){if(!e.closed){for(var a,o=n(i.call(t));!(a=o()).done;){var r=a.value;if(e.next(r),e.closed)return}e.complete()}})});if(Array.isArray(t))return new a(function(e){g(function(){if(!e.closed){for(var a=0;a<t.length;++a)if(e.next(t[a]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){g(function(){if(!e.closed){for(var t=0;t<a.length;++t)if(e.next(a[t]),e.closed)return;e.complete()}})})},r(e,null,[{key:u,get:function(){return this}}]),e}();s()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:c,hostReportError:h},configurable:!0})},36151:e=>{var t={};function a(e){return e<0?-1:1}function n(e,t){t.unsigned||--e;const n=t.unsigned?0:-Math.pow(2,e),i=Math.pow(2,e)-1,o=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),r=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let p=+e;if(s.enforceRange){if(!Number.isFinite(p))throw new TypeError("Argument is not a finite number");if(p=a(p)*Math.floor(Math.abs(p)),p<n||p>i)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&s.clamp)return p=function(e){return e%1!=.5||1&e?Math.round(e):Math.floor(e)}(p),p<n&&(p=n),p>i&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=a(p)*Math.floor(Math.abs(p)),p%=o,!t.unsigned&&p>=r)return p-o;if(t.unsigned)if(p<0)p+=o;else if(-0===p)return 0;return p}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=n(8,{unsigned:!1}),t.octet=n(8,{unsigned:!0}),t.short=n(16,{unsigned:!1}),t["unsigned short"]=n(16,{unsigned:!0}),t.long=n(32,{unsigned:!1}),t["unsigned long"]=n(32,{unsigned:!0}),t["long long"]=n(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=n(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const a=String(e);let n;for(let e=0;void 0!==(n=a.codePointAt(e));++e)if(n>255)throw new TypeError("Argument is not a valid bytestring");return a},t.USVString=function(e){const t=String(e),a=t.length,n=[];for(let e=0;e<a;++e){const i=t.charCodeAt(e);if(i<55296||i>57343)n.push(String.fromCodePoint(i));else if(56320<=i&&i<=57343)n.push(String.fromCodePoint(65533));else if(e===a-1)n.push(String.fromCodePoint(65533));else{const a=t.charCodeAt(e+1);if(56320<=a&&a<=57343){const t=1023&i,o=1023&a;n.push(String.fromCodePoint(65536+1024*t+o)),++e}else n.push(String.fromCodePoint(65533))}}return n.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},36981:function(e,t,a){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(a(3680)).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise((t,a)=>{let n=0;const o=[];function r(){const a=e.read();a?function(e){o.push(e),n+=e.length;const a=Buffer.concat(o,n);if(-1===a.indexOf("\r\n\r\n"))return i("have not received end of HTTP headers yet..."),void r();const s=a.toString("ascii",0,a.indexOf("\r\n")),p=+s.split(" ")[1];i("got proxy server response: %o",s),t({statusCode:p,buffered:a})}(a):e.once("readable",r)}function s(e){i("onclose had error %o",e)}function p(){i("onend")}function l(t){e.removeListener("end",p),e.removeListener("error",l),e.removeListener("close",s),e.removeListener("readable",r),i("onerror %o",t),a(t)}e.on("error",l),e.on("close",s),e.on("end",p),r()})}},37067:e=>{e.exports=t("node:http")},37396:(e,t,a)=>{a.d(t,{EQ:()=>s,Nw:()=>l,ST:()=>r,YX:()=>p,bd:()=>d});var n=a(21777),i=a(73767),o=a(30671);function r(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function p(e){return r(e)||s(e)}function l(e){return(0,n.U)(e)&&"payload"in e}function d(e,t){var a=e,n=new o.ZI;return r(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var r=i[o],s=!isNaN(+r)?[]:{};s[r]=t,t=s}a=n.merge(a,t)}),a}},38338:(e,t,a)=>{a.d(t,{l:()=>A,m:()=>F});var n=a(85608),i=a(79212),o=a(28907),r=a(86563),s=a(21777),p=a(35207),l=a(73767),d=a(777),c=a(30671),u=Object.create(null);function m(e){var t=JSON.stringify(e);return u[t]||(u[t]=Object.create(null))}function f(e){var t=m(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,a){var n=function(e,t){return a.readField(t,e)},o=a.keyObject=h(e,function(e){var o=b(a.storeObject,e,n);return void 0===o&&t!==a.storeObject&&p.$3.call(t,e[0])&&(o=b(t,e,y)),(0,i.invariant)(void 0!==o,5,e.join("."),t),o});return"".concat(a.typename,":").concat(JSON.stringify(o))})}function v(e){var t=m(e);return t.keyArgsFn||(t.keyArgsFn=function(t,a){var n=a.field,i=a.variables,r=a.fieldName,s=h(e,function(e){var a=e[0],r=a.charAt(0);if("@"!==r)if("$"!==r){if(t)return b(t,e)}else{var s=a.slice(1);if(i&&p.$3.call(i,s)){var d=e.slice(0);return d[0]=s,b(i,d)}}else if(n&&(0,l.E)(n.directives)){var c=a.slice(1),u=n.directives.find(function(e){return e.name.value===c}),m=u&&(0,o.MB)(u,i);return m&&b(m,e.slice(1))}}),d=JSON.stringify(s);return(t||"{}"!==d)&&(r+=":"+d),r})}function h(e,t){var a=new c.ZI;return g(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var r=n.length-1;r>=0;--r)(i={})[n[r]]=o,o=i;e=a.merge(e,o)}return e},Object.create(null))}function g(e){var t=m(e);if(!t.paths){var a=t.paths=[],n=[];e.forEach(function(t,i){(0,l.c)(t)?(g(t).forEach(function(e){return a.push(n.concat(e))}),n.length=0):(n.push(t),(0,l.c)(e[i+1])||(a.push(n.slice(0)),n.length=0))})}return t.paths}function y(e,t){return e[t]}function b(e,t,a){return a=a||y,D(t.reduce(function e(t,n){return(0,l.c)(t)?t.map(function(t){return e(t,n)}):t&&a(t,n)},e))}function D(e){return(0,s.U)(e)?(0,l.c)(e)?e.map(D):h(Object.keys(e).sort(),function(t){return b(e,t)}):e}var x=a(47150);function _(e){return void 0!==e.args?e.args:e.field?(0,o.MB)(e.field,e.variables):null}var w=function(){},E=function(e,t){return t.fieldName},T=function(e,t,a){return(0,a.mergeObjects)(e,t)},N=function(e,t){return t},A=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.__assign)({dataIdFromObject:p.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var a,i=this,o=t&&(t.typename||(null===(a=t.storeObject)||void 0===a?void 0:a.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var r,s=t&&t.storeObject||e,p=(0,n.__assign)((0,n.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=F(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),d=o&&this.getTypePolicy(o),c=d&&d.keyFn||this.config.dataIdFromObject;return x.yV.withValue(!0,function(){for(;c;){var t=c((0,n.__assign)((0,n.__assign)({},e),s),p);if(!(0,l.c)(t)){r=t;break}c=f(t)}}),r=r?String(r):void 0,p.keyObject?[r,p.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(a){var i=e[a],o=i.queryType,r=i.mutationType,s=i.subscriptionType,l=(0,n.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",a),r&&t.setRootTypename("Mutation",a),s&&t.setRootTypename("Subscription",a),p.$3.call(t.toBeAdded,a)?t.toBeAdded[a].push(l):t.toBeAdded[a]=[l]})},e.prototype.updateTypePolicy=function(e,t){var a=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function r(e,t){e.merge="function"==typeof t?t:!0===t?T:!1===t?N:e.merge}r(n,t.merge),n.keyFn=!1===i?w:(0,l.c)(i)?f(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=a.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,p=i.read,d=i.merge;n.keyFn=!1===s?E:(0,l.c)(s)?v(s):"function"==typeof s?s:n.keyFn,"function"==typeof p&&(n.read=p),r(n,d)}n.read&&n.merge&&(n.keyFn=n.keyFn||E)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var a="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[a];t!==n&&((0,i.invariant)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=a,this.rootTypenamesById[a]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(a){t.getSupertypeSet(a,!0),e[a].forEach(function(e){t.getSupertypeSet(e,!0).add(a);var n=e.match(p.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!p.$3.call(this.typePolicies,e)){var a=this.typePolicies[e]=Object.create(null);a.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(a,n){if(a.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields,r=(0,n.__rest)(i,["fields"]);Object.assign(a,r),Object.assign(a.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(a){t.updateTypePolicy(e,a)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,a){if(e){var n=this.getTypePolicy(e).fields;return n[t]||a&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var a=this.supertypeMap.get(e);return!a&&t&&this.supertypeMap.set(e,a=new Set),a},e.prototype.fragmentMatches=function(e,t,a,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var r=e.typeCondition.name.value;if(t===r)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(r))for(var s=this.getSupertypeSet(t,!0),l=[s],d=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&l.indexOf(t)<0&&l.push(t)},c=!(!a||!this.fuzzySubtypes.size),u=!1,m=0;m<l.length;++m){var f=l[m];if(f.has(r))return s.has(r)||(u&&!1!==globalThis.__DEV__&&i.invariant.warn(7,t,r),s.add(r)),!0;f.forEach(d),c&&m===l.length-1&&(0,p.T9)(e.selectionSet,a,n)&&(c=!1,u=!0,this.fuzzySubtypes.forEach(function(e,a){var n=t.match(e);n&&n[0]===t&&d(a)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var a=this.getFieldPolicy(e,t,!1);return!(!a||!a.keyFn)},e.prototype.getStoreFieldName=function(e){var t,a=e.typename,n=e.fieldName,i=this.getFieldPolicy(a,n,!1),r=i&&i.keyFn;if(r&&a)for(var s={typename:a,fieldName:n,field:e.field||null,variables:e.variables},d=_(e);r;){var c=r(d,s);if(!(0,l.c)(c)){t=c||n;break}r=v(c)}return void 0===t&&(t=e.field?(0,o.Ii)(e.field,e.variables):(0,o.o5)(n,_(e))),!1===t?n:n===(0,p.iJ)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var a=e.from;if(a&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(a,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),r=(0,p.iJ)(i),s=t.store.getFieldValue(a,i),l=this.getFieldPolicy(e.typename,r,!1),c=l&&l.read;if(c){var u=O(this,a,e,t,t.store.getStorage((0,o.A_)(a)?a.__ref:a,i));return d.bl.withValue(this.cache,c,[s,u])}return s}},e.prototype.getReadFunction=function(e,t){var a=this.getFieldPolicy(e,t,!1);return a&&a.read},e.prototype.getMergeFunction=function(e,t,a){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&a&&(i=(n=this.getTypePolicy(a))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,a,n,i){var o=a.field,r=a.typename,s=a.merge;return s===T?S(n.store)(e,t):s===N?t:(n.overwrite&&(e=void 0),s(e,t,O(this,void 0,{typename:r,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function O(e,t,a,n,i){var r=e.getStoreFieldName(a),s=(0,p.iJ)(r),l=a.variables||n.variables,d=n.store,c=d.toReference,u=d.canRead;return{args:_(a),field:a.field||null,fieldName:s,storeFieldName:r,variables:l,isReference:o.A_,toReference:c,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(F(arguments,t,l),n)},mergeObjects:S(n.store)}}function F(e,t,a){var o,s=e[0],l=e[1],d=e.length;return"string"==typeof s?o={fieldName:s,from:d>1?l:t}:(o=(0,n.__assign)({},s),p.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.invariant.warn(8,(0,r.p)(Array.from(e))),void 0===o.variables&&(o.variables=a),o}function S(e){return function(t,a){if((0,l.c)(t)||(0,l.c)(a))throw(0,i.newInvariantError)(9);if((0,s.U)(t)&&(0,s.U)(a)){var r=e.getFieldValue(t,"__typename"),d=e.getFieldValue(a,"__typename");if(r&&d&&r!==d)return a;if((0,o.A_)(t)&&(0,p.d1)(a))return e.merge(t.__ref,a),t;if((0,p.d1)(t)&&(0,o.A_)(a))return e.merge(t,a.__ref),a;if((0,p.d1)(t)&&(0,p.d1)(a))return(0,n.__assign)((0,n.__assign)({},t),a)}return a}}},38414:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(3777);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,n.n4)(t.query)||void 0:""),t}},38678:(e,t,a)=>{a.d(t,{y:()=>p});var n,i=a(92704),o=a(45078),r=a(555),s=a(44114),p=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.y)(e),n.set(e,t)),t},{reset:function(){n=new o.A(r.v.print||2e3)}});p.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return n?n.size:0})},39023:e=>{e.exports=t("util")},39283:(e,t,a)=>{a.r(t),a.d(t,{disableWarningsSlot:()=>n.yV,maskFragment:()=>i.z,maskOperation:()=>o.m});var n=a(47150),i=a(62959),o=a(28354)},39537:(e,t,a)=>{a.d(t,{_:()=>s,k:()=>r});var n=a(93217),i=a(35198),o=a(50792);class r{constructor(e,t="GraphQL request",a={line:1,column:1}){"string"==typeof e||(0,n.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=a,this.locationOffset.line>0||(0,n.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,o.h)(e,r)}},40610:e=>{e.exports=t("node:dns")},41314:e=>{e.exports=t("node:dgram")},41762:(e,t,a)=>{const{InvalidArgumentError:n}=a(43823);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){const t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},42455:(e,t,a)=>{var n;a.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(n={}))},42495:(e,t,a)=>{a.d(t,{k:()=>v});var n=a(85608),i=a(77634),o=a(36054),r=a(555),s=a(2904),p=a(3777),l=a(30671),d=a(54019),c=a(44114),u=a(55427),m=a(79212),f=a(62959),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(s.ct,{max:r.v["cache.fragmentQueryDocuments"]||1e3,cache:d.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,a=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(a)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t=this,a=e.fragment,i=e.fragmentName,r=e.from,s=e.optimistic,d=void 0===s||s,c=(0,n.__rest)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(a,i),h=void 0===r||"string"==typeof r?r:this.identify(r),g=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var y=i||(0,p.E4)(a).name.value;h||!1!==globalThis.__DEV__&&m.invariant.warn(1,y)}var b,D=(0,n.__assign)((0,n.__assign)({},c),{returnPartialData:!0,id:h,query:v,optimistic:d});return new o.c(function(o){return t.watch((0,n.__assign)((0,n.__assign)({},D),{immediate:!0,callback:function(r){var s=g?(0,f.z)(r.result,a,t,i):r.result;if(!b||!(0,u.a)(v,{data:b.result},{data:s},e.variables)){var p={data:s,complete:!!r.complete};r.missing&&(p.missing=(0,l.IM)(r.missing.map(function(e){return e.missing}))),b=(0,n.__assign)((0,n.__assign)({},r),{result:s}),o.next(p)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,a=e.data,i=(0,n.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:a}))},e.prototype.writeFragment=function(e){var t=e.id,a=e.data,i=e.fragment,o=e.fragmentName,r=(0,n.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(r,{query:this.getFragmentDoc(i,o),dataId:t,result:a}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(a){var i=a.readQuery(e),o=t(i);return null==o?i:(a.writeQuery((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(a){var i=a.readFragment(e),o=t(i);return null==o?i:(a.writeFragment((0,n.__assign)((0,n.__assign)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=c.tQ)},42613:e=>{e.exports=t("assert")},42868:(e,t,a)=>{var n;a.d(t,{H:()=>n}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}))},43106:e=>{e.exports=t("zlib")},43823:(e,t)=>{class a extends Error{constructor(e,t,a){super(a),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=a,t.InvalidArgumentError=class extends a{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},44044:(e,t,a)=>{t.URL=a(76447).interface,a(78323).serializeURL,a(78323).serializeURLOrigin,a(78323).basicURLParse,a(78323).setTheUsername,a(78323).setThePassword,a(78323).serializeHost,a(78323).serializeInteger,a(78323).parseURL},44114:(e,t,a)=>{a.d(t,{D_:()=>r,cM:()=>p,ep:()=>s,tQ:()=>l});var n=a(85608),i=a(555),o={};function r(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,a,r,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],a=e[1];return[t,i.v[t]||a]})),sizes:(0,n.__assign)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(a=o.canonicalStringify)||void 0===a?void 0:a.call(o),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:m(this.queryManager.documentTransform)}},null===(s=(r=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(r))}}:void 0,p=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.__assign)((0,n.__assign)({},d.apply(this)),{addTypenameDocumentTransform:m(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:c(this.storeReader.executeSelectionSet),executeSubSelectedArray:c(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:c(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:c(null==e?void 0:e.findFragmentSpreads),lookup:c(null==e?void 0:e.lookup),transform:c(null==e?void 0:e.transform)}})}:void 0,l=!1!==globalThis.__DEV__?d:void 0;function d(){return{cache:{fragmentQueryDocuments:c(this.getFragmentDoc)}}}function c(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function u(e){return null!=e}function m(e){return f(e).map(function(e){return{cache:e}})}function f(e){return e?(0,n.__spreadArray)((0,n.__spreadArray)([c(null==e?void 0:e.performWork)],f(null==e?void 0:e.left),!0),f(null==e?void 0:e.right),!0).filter(u):[]}function v(e){var t;return e?(0,n.__spreadArray)((0,n.__spreadArray)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null==e?void 0:e.left),!0),v(null==e?void 0:e.right),!0).filter(u):[]}},44214:(e,t,a)=>{a.d(t,{M:()=>s});var n,i=a(45078),o=a(555),r=a(44114),s=Object.assign(function(e){return JSON.stringify(e,p)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function p(e,t){if(t&&"object"==typeof t){var a=Object.getPrototypeOf(t);if(a===Object.prototype||null===a){var i=Object.keys(t);if(i.every(l))return t;var o=JSON.stringify(i),r=n.get(o);if(!r){i.sort();var s=JSON.stringify(i);r=n.get(s)||i,n.set(o,r),n.set(s,r)}var p=Object.create(a);return r.forEach(function(e){p[e]=t[e]}),p}}return t}function l(e,t,a){return 0===t||a[t-1]<=e}!1!==globalThis.__DEV__&&(0,r.D_)("canonicalStringify",function(){return n.size}),s.reset()},44592:(e,t,a)=>{a.r(t),a.d(t,{Trie:()=>s});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:r}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),r.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let a=0,n=e.length;t&&a<n;++a){const n=t.mapFor(e[a],!1);t=n&&n.get(e[a])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const a=e[0],n=this.mapFor(a,!1),i=n&&n.get(a);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(a))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let a=t.get(e);return a||t.set(e,a=new s(this.weakness,this.makeData)),a}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},44668:(e,t,a)=>{var n=a(56347);function i(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}e.exports=function(e,t,a){return t&&i(e.prototype,t),a&&i(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},44708:e=>{e.exports=t("node:https")},45078:(e,t,a)=>{a.d(t,{A:()=>s,V:()=>p});var n=a(31088),i=a(54019),o=new WeakSet;function r(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100))}var s=function(e,t){var a=new i.l(e,t);return a.set=function(e,t){var a=i.l.prototype.set.call(this,e,t);return r(this),a},a},p=function(e,t){var a=new n.C(e,t);return a.set=function(e,t){var a=n.C.prototype.set.call(this,e,t);return r(this),a},a}},45637:(e,t,a)=>{a.d(t,{E:()=>p});var n=a(85608),i=a(36054),o=a(87613),r=a(35892);function s(e){return e&&"function"==typeof e.then}var p=function(e){function t(t){var a=e.call(this,function(e){return a.addObserver(e),function(){return a.removeObserver(e)}})||this;return a.observers=new Set,a.promise=new Promise(function(e,t){a.resolve=e,a.reject=t}),a.handlers={next:function(e){null!==a.sub&&(a.latest=["next",e],a.notify("next",e),(0,o.w)(a.observers,"next",e))},error:function(e){var t=a.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),a.sub=null,a.latest=["error",e],a.reject(e),a.notify("error",e),(0,o.w)(a.observers,"error",e))},complete:function(){var e=a,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?s(i)?i.then(function(e){return a.sub=e.subscribe(a.handlers)},a.handlers.error):a.sub=i.subscribe(a.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),a.sub=null,a.latest&&"next"===a.latest[0]?a.resolve(a.latest[1]):a.resolve(),a.notify("complete"),(0,o.w)(a.observers,"complete"))}}},a.nextResultListeners=new Set,a.cancel=function(e){a.reject(e),a.sources=[],a.handlers.error(e)},a.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.c(t)]),s(t)?t.then(function(e){return a.start(e)},a.handlers.error):a.start(t),a}return(0,n.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],a=e[t];a&&a.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var a=this.nextResultListeners;a.size&&(this.nextResultListeners=new Set,a.forEach(function(a){return a(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(a,n){t||(t=!0,e(a,n))})},t}(i.c);(0,r.r)(p)},46192:(e,t,a)=>{a.d(t,{K:()=>i});var n=a(79212);function i(e){for(var t=["query","operationName","variables","extensions","context"],a=0,i=Object.keys(e);a<i.length;a++){var o=i[a];if(t.indexOf(o)<0)throw(0,n.newInvariantError)(46,o)}return e}},47150:(e,t,a)=>{a.d(t,{Ki:()=>d,jq:()=>r,xm:()=>s,yV:()=>p});var n=a(77634),i=a(79212),o=a(51360),r=o.et?WeakMap:Map,s=o.En?WeakSet:Set,p=new n.Slot,l=!1;function d(){l||(l=!0,!1!==globalThis.__DEV__&&i.invariant.warn(52))}},47336:(e,t,a)=>{a.d(t,{Gu:()=>m,he:()=>v,wR:()=>c});var n,i,o,r=a(99436),s=a(79657),p=a(73024),l=a(76760),d=a(48161),c=e=>!0===e?.media_resource?.enable_media_workspace,u=(n=r(function*(e,t,a){var n=yield e.mediaFiles({boxId:t,userTags:[`bricks_screenshot_${a}`],limit:1});return n?.[0]||null}),function(e,t,a){return n.apply(this,arguments)}),m=(e,{preferThumbnail:t=!1}={})=>{if(!e?.meta?.storageEndpoint)return null;var a=e.meta,n=a.storageEndpoint,i=a.originalFileKey,o=t?(e=>{var t=e?.meta;if(!t)return null;if("Video"===e.fileType&&t.videoThumbOriginalFileKey)return t.videoThumbOriginalFileKey;var a=t.imageVersions||[];if(!Array.isArray(a)||0===a.length)return null;var n=a.filter(e=>"BOUNDED"===e?.strategy&&"number"==typeof e.width).sort((e,t)=>e.width-t.width);return(n[0]||a[0])?.key||null})(e):null,r=o||i;return r?`${n}/${r}`:null},f=(i=r(function*(e,t=null){var a=yield(0,s.Ay)(e);if(!a.ok)throw new Error(`Failed to download screenshot: ${a.statusText}`);var n=yield a.buffer(),i=t||l.join(d.tmpdir(),`bricks-screenshot-${Date.now()}.png`),o=l.dirname(i);return p.existsSync(o)||p.mkdirSync(o,{recursive:!0}),p.writeFileSync(i,n),i}),function(e){return i.apply(this,arguments)}),v=(o=r(function*(e,t,a,n=null,i={}){var o=(e=>c(e)&&e.media_resource?.system_media_box_id||null)(t);if(!o)return{error:"Media workspace not enabled for this workspace"};var r=yield u(e,o,a);if(!r)return{error:"No screenshot available for this device"};var s=m(r,i);return s?{path:yield f(s,n),file:r,url:s}:{error:"Could not build screenshot URL"}}),function(e,t,a){return o.apply(this,arguments)})},47661:(e,t,a)=>{const n=Object.assign({},a(3900)),i=Object.keys(n);Object.defineProperty(n,"random",{get(){const e=Math.floor(Math.random()*i.length),t=i[e];return n[t]}}),e.exports=n},48161:e=>{e.exports=t("node:os")},48255:(e,t,a)=>{a.d(t,{Wk:()=>l,eO:()=>r,yJ:()=>p});var n=a(91070),i=a(73971),o=a(8238);class r extends Error{constructor(e,...t){var a,o,p;const{nodes:l,source:d,positions:c,path:u,originalError:m,extensions:f}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=m?m:void 0,this.nodes=s(Array.isArray(l)?l:l?[l]:void 0);const v=s(null===(a=this.nodes)||void 0===a?void 0:a.map(e=>e.loc).filter(e=>null!=e));this.source=null!=d?d:null==v||null===(o=v[0])||void 0===o?void 0:o.source,this.positions=null!=c?c:null==v?void 0:v.map(e=>e.start),this.locations=c&&d?c.map(e=>(0,i.g)(d,e)):null==v?void 0:v.map(e=>(0,i.g)(e.source,e.start));const h=(0,n.Z)(null==m?void 0:m.extensions)?null==m?void 0:m.extensions:void 0;this.extensions=null!==(p=null!=f?f:h)&&void 0!==p?p: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}}),null!=m&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):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(const t of this.nodes)t.loc&&(e+="\n\n"+(0,o.V)(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+(0,o.C)(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}function p(e){return e.toString()}function l(e){return e.toJSON()}},49317:(e,t,a)=>{a.d(t,{l:()=>v});var n,i,o=a(99436),r=a(35679),s=a(34992),p=a(50700),l=a(74445),d=a(74752),c=(n=o(function*(){try{return yield Promise.all([a.e(428),a.e(300),a.e(425),a.e(737)]).then(a.bind(a,18737)),{available:!0}}catch(e){return{available:!1,error:e.message}}}),function(){return n.apply(this,arguments)}),u=(e,t,a)=>({severity:e,code:t,message:a}),m=(i=o(function*({version:e="2.25.0-beta.3",mcpCheck:t=c}={}){var a=(0,d.getCurrentProfile)(),n=(0,d.getCurrentProfileSource)(),i=(0,d.getTokenInfo)(a),o=(0,d.getBaseUrl)(),r=(0,d.getActivityLogBaseUrl)(),m=[],f={ok:!1,timestamp:(new Date).toISOString(),cli:{name:"bricks",version:e},profile:{name:a,source:n},config:{path:d.CONFIG_PATH,baseUrl:o,activityLogBaseUrl:r},auth:{available:Boolean(i?.token),source:i?.token?"config":"missing",workspaceId:i?.workspaceId||null,workspaceName:i?.workspaceName||null,createdAt:i?.createdAt||null,tokenPreview:(0,s.$l)(i?.token)},connectivity:{workspace:{ok:!1,skipped:!i?.token,error:null}},capabilities:{zeroArgMode:(0,l.z)()?"interactive":"help",mcp:{available:!1,error:null}},issues:m};if(i?.token)try{var v=yield(0,p.createClient)(o,i.token).workspace();f.connectivity.workspace={ok:!0,skipped:!1,error:null,id:v?._id||i.workspaceId||null,name:v?.name||i.workspaceName||null},f.auth.workspaceId=v?._id||f.auth.workspaceId,f.auth.workspaceName=v?.name||f.auth.workspaceName}catch(e){f.connectivity.workspace={ok:!1,skipped:!1,error:e.message},m.push(u("error","workspace_unreachable",`Workspace query failed for ${o}: ${e.message}`))}else m.push(u("warning","auth_missing","No saved token for the current profile."));var h=yield t();return f.capabilities.mcp={available:h.available,error:h.error||null},h.available||m.push(u("warning","mcp_unavailable",`MCP stdio server is unavailable: ${h.error||"Unknown error"}`)),f.ok=0===m.length,f}),function(){return i.apply(this,arguments)}),f=(e,t,a)=>`${e.padEnd(14)} ${t}${a?` ${a}`:""}`,v=new r.uB("doctor").description("Check CLI configuration, auth state, and workspace reachability").option("-j, --json","Output as JSON").action(function(){var e=o(function*(e){try{var t=yield m();if(e.json)return void(0,s.GF)(t);console.log((e=>{var t=[];if(t.push("BRICKS CLI Doctor"),t.push("─".repeat(60)),t.push(f("CLI","OK",`bricks v${e.cli.version}`)),t.push(f("Profile","OK",`${e.profile.name} (${e.profile.source})`)),t.push(f("BRICKS API","OK",e.config.baseUrl)),t.push(f("Activity Log","OK",e.config.activityLogBaseUrl)),e.auth.available){var a=e.auth.workspaceName||e.auth.workspaceId||"Unknown workspace";t.push(f("Auth","OK",`${a} (${e.auth.source}, ${e.auth.tokenPreview})`))}else t.push(f("Auth","WARN","No saved token for the current profile"));if(e.connectivity.workspace.skipped)t.push(f("Workspace","WARN","Skipped because no token is available"));else if(e.connectivity.workspace.ok){var n=e.connectivity.workspace.name||e.connectivity.workspace.id||"Unknown workspace";t.push(f("Workspace","OK",n))}else t.push(f("Workspace","FAIL",e.connectivity.workspace.error));return e.capabilities.mcp.available?t.push(f("MCP","OK","STDIO server import is available")):t.push(f("MCP","WARN",e.capabilities.mcp.error)),t.push(f("Zero-arg mode",((e,t=!1)=>e?"OK":t?"WARN":"FAIL")("interactive"===e.capabilities.zeroArgMode,"help"===e.capabilities.zeroArgMode),"interactive"===e.capabilities.zeroArgMode?"Starts Ink interactive mode on TTY":"Shows help outside TTY contexts")),e.issues.length>0&&(t.push("─".repeat(60)),t.push("Issues"),e.issues.forEach(e=>{t.push(`- [${e.severity}] ${e.message}`)})),t.join("\n")})(t))}catch(t){e.json?(0,s.OW)(t.message):console.error(`Doctor failed: ${t.message}`),process.exit(1)}});return function(t){return e.apply(this,arguments)}}())},49952:(e,t,a)=>{a.d(t,{P:()=>r});var n=a(85608),i=a(19074),o=a(79760),r=function(e){function t(t){void 0===t&&(t={});var a=e.call(this,(0,o.$)(t).request)||this;return a.options=t,a}return(0,n.__extends)(t,e),t}(i.C)},50492:(e,t,a)=>{function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(a[t]=n)})}),a}a.d(t,{o:()=>n})},50700:(e,t,a)=>{a.r(t),a.d(t,{BricksClient:()=>T,BricksPublicClient:()=>w,createClient:()=>N,createPublicClient:()=>E});var n=a(99436),i=a(5018),o=a(44668),r=a(54506),s=a(78549),p=a(94370),l=a(79657),d=a(64007),c=a(8271),u=a(93835),m=r.ApolloClient,f=r.InMemoryCache,v=r.HttpLink,h=s.o,g={query:"query",mutation:"mutate"};function y(e){var t=process.env.HTTPS_PROXY||process.env.https_proxy;if(!t||!e.startsWith("https://"))return l.Ay;var a=new d(t);return(e,t={})=>(0,l.Ay)(e,{...t,agent:a})}var b,D,x,_,w=o(function e(t){i(this,e),this.baseUrl=t,this.endpoint="/api/graphql-nonauth";var a=new v({uri:`${t}${this.endpoint}`,fetch:y(t)});this.apolloClient=new m({link:a,cache:new f,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(D=n(function*(e){var t=p.default`
|
|
279
279
|
query checkWorkspaceOTP($passcode: String!) {
|
|
280
280
|
checkWorkspaceOTP(passcode: $passcode)
|
|
281
281
|
}
|