{"version":3,"sources":["jsdelivr-header.js","/npm/@graphql-yoga/render-graphiql@5.18.0/cjs/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,oBAAiB,EACzB,MAAM,cAAgB,QAAQ,iBACxB,eAAkB,GAAoB,qGAK7B,GAAM,OAAS,yDACC,GAAM,SAAW,cAAc,uCAEpD,cAAc,kdAaqB,KAAK,UAAU,cAAc,uDAC5C,KAAK,UAAU,cAAc,iDAC1B,KAAK,UAAU,cAAc,iOAQpD,cAAc,+GAGZ,KAAK,UAAU,GAAQ,CAAC,8DAMpC,QAAQ,eAAiB","file":"/npm/@graphql-yoga/render-graphiql@5.18.0/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@graphql-yoga/render-graphiql@5.18.0/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.renderGraphiQL = void 0;\nconst graphiql_js_1 = require(\"./graphiql.js\");\nconst renderGraphiQL = (opts) => /* HTML */ `\n  <!doctype html>\n  <html lang=\"en\">\n    <head>\n      <meta charset=\"utf-8\" />\n      <title>${opts?.title || 'Yoga GraphiQL'}</title>\n      <link rel=\"icon\" href=\"${opts?.favicon || graphiql_js_1.favicon}\" />\n      <style>\n        ${graphiql_js_1.css}\n      </style>\n    </head>\n    <body id=\"body\" class=\"no-focus-outline\">\n      <noscript>You need to enable JavaScript to run this app.</noscript>\n      <div id=\"root\"></div>\n\n      <script>\n        function prepareBlob(workerContent) {\n          const blob = new Blob([workerContent], { type: 'application/javascript' });\n          return URL.createObjectURL(blob);\n        }\n        const workers = {\n          editorWorkerService: prepareBlob(${JSON.stringify(graphiql_js_1.editorWorkerService)}),\n          json: prepareBlob(${JSON.stringify(graphiql_js_1.jsonWorker)}),\n          graphql: prepareBlob(${JSON.stringify(graphiql_js_1.graphqlWorker)}),\n        };\n        self['MonacoEnvironment'] = {\n          globalAPI: false,\n          getWorkerUrl: function (moduleId, label) {\n            return workers[label];\n          },\n        };\n        ${graphiql_js_1.js};\n        YogaGraphiQL.renderYogaGraphiQL(\n          window.document.querySelector('#root'),\n          ${JSON.stringify(opts ?? {})},\n        );\n      </script>\n    </body>\n  </html>\n`;\nexports.renderGraphiQL = renderGraphiQL;\n"]}