CdsConnector/public/bundles/apiplatform/graphiql/graphiql.min.js

30 lines
962 KiB
JavaScript
Raw Normal View History

2023-01-05 10:44:38 +01:00
window.GraphiQL=function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,u=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);u.length;)u.shift()()}var n={},r={0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(){return Promise.resolve()},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonpGraphiQL=window.webpackJsonpGraphiQL||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=a;return i(i.s=23)}([function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[t,n(2)],void 0===(o="function"==typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.c=e.a=e.C=void 0;var n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}r(i,"_mergeNamespaces");var o={exports:{}};e.a=o,function(e,n){t.c,e.exports=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),s=i||o||a,l=s&&(i?document.documentMode||6:+(a||o)[1]),u=!a&&/WebKit\//.test(e),c=u&&/Qt\/\d+\.\d+/.test(e),d=!a&&/Chrome\//.test(e),f=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),g=p&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),y=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=g||/Mac/.test(t),E=/\bCrOS\b/.test(e),T=/win/i.test(t),w=f&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,u=!0);var C=b&&(c||f&&(null==w||w<12.11)),x=n||s&&l>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}r(S,"classTest");var N,k=r((function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}}),"rmClass");function _(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return _(e).appendChild(t)}function I(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function L(e,t,n,r){var i=I(e,t,n,r);return i.setAttribute("role","presentation"),i}function A(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function D(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function M(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function R(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);re
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var K=t.default,Q=60103;if(G.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Y=Symbol.for;Q=Y("react.element"),G.Fragment=Y("react.fragment")}var J=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,X=Object.prototype.hasOwnProperty,Z={key:!0,ref:!0,__self:!0,__source:!0};function ee(e,t,n){var r,i={},o=null,a=null;for(r in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(a=t.ref),t)X.call(t,r)&&!Z.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:Q,type:e,key:o,ref:a,props:i,_owner:J.current}}u(ee,"q$1"),G.jsx=ee,G.jsxs=ee,H.exports=G;const te=H.exports.jsx,ne=H.exports.jsxs,re=H.exports.Fragment;var ie=Object.defineProperty,oe=u((e,t)=>ie(e,"name",{value:t,configurable:!0}),"__name$G");const ae=V("StorageContext");function se(e){const n=(0,t.useRef)(!0),[r,i]=(0,t.useState)(new D(e.storage));return(0,t.useEffect)(()=>{n.current?n.current=!1:i(new D(e.storage))},[e.storage]),te(ae.Provider,{value:r,children:e.children})}e.U=ae,u(se,"StorageContextProvider"),oe(se,"StorageContextProvider");const le=U(ae);var ue,ce,de,fe,pe,he,me,ge,ve,ye,be,Ee,Te,we,Ce,xe,Se,Ne,ke,_e,Oe,Ie,Le,Ae,De,Me,Re,Fe,Pe,je,Ve;e.X=le,function(e){function t(e){return"string"==typeof e}u(t,"is"),e.is=t}(ue||(ue={})),function(e){function t(e){return"string"==typeof e}u(t,"is"),e.is=t}(ce||(ce={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,u(t,"is"),e.is=t}(de||(de={})),function(e){function t(t){return"number"==typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.MIN_VALUE=0,e.MAX_VALUE=2147483647,u(t,"is"),e.is=t}(fe||(fe={})),function(e){function t(e,t){return e===Number.MAX_VALUE&&(e=fe.MAX_VALUE),t===Number.MAX_VALUE&&(t=fe.MAX_VALUE),{line:e,character:t}}function n(e){var t=e;return $t.objectLiteral(t)&&$t.uinteger(t.line)&&$t.uinteger(t.character)}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(pe||(pe={})),function(e){function t(e,t,n,r){if($t.uinteger(e)&&$t.uinteger(t)&&$t.uinteger(n)&&$t.uinteger(r))return{start:pe.create(e,t),end:pe.create(n,r)};if(pe.is(e)&&pe.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments[".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,"]"))}function n(e){var t=e;return $t.objectLiteral(t)&&pe.is(t.start)&&pe.is(t.end)}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(he||(he={})),function(e){function t(e,t){return{uri:e,range:t}}function n(e){var t=e;return $t.defined(t)&&he.is(t.range)&&($t.string(t.uri)||$t.undefined(t.uri))}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(me||(me={})),function(e){function t(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}}function n(e){var t=e;return $t.defined(t)&&he.is(t.targetRange)&&$t.string(t.targetUri)&&he.is(t.targetSelectionRange)&&(he.is(t.originSelectionRange)||$t.undefined(t.originSelectionRange))}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(ge||(ge={})),function(e){function t(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}}function n(e){var t=e;return $t.objectLiteral(t)&&$t.numberRange(t.red,0,1)&&$t.numberRange(t.green,0,1)&&$t.numberRange(t.blue,0,1)&&$t.numberRange(t.alpha,0,1)}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(ve||(ve={})),function(e){function t(e,t){return{range:e,color:t}}function n(e){var t=e;return $t.objectLiteral(t)&&he.is(t.range)&&ve.is(t.color)}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(ye||(ye={})),function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}function n(e){var t=e;return $t.objectLiteral(t)&&$t.string(t.label)&&($t.undefined(t.textEdit)||Le.is(t))&&($t.undefined(t.additionalTextEdits)||$t.typedArray(t.additionalTextEdits,Le.is))}u(t,"create"),e.create=t,u(n,"is"),e.is=n}(be||(be={})),(Te=Ee||(Ee={})).Comment="comment",Te.Imports="imports",Te.Region="region",function(e){function t(e,t,n,r,i,o){var a={startLine:e,endLine:t};return $t.defined(n)&&(a.startCharacter=n),$t.defined(r)&&(a.endCharacter=r),$t.defined(i)&&(a.kind=i),$t.defined(o)&&(a.collapsedText=o
2022-06-22 17:02:10 +02:00
/*!
2023-01-05 10:44:38 +01:00
* is-primitive <https://github.com/jonschlinkert/is-primitive>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/
var un=u((function(e){return"object"==typeof e?null===e:"function"!=typeof e}),"isPrimitive"),cn=u((function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}),"isObject");
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function dn(e){return!0===cn(e)&&"[object Object]"===Object.prototype.toString.call(e)}u(dn,"isObjectObject");var fn=u((function(e){var t,n;return!1!==dn(e)&&"function"==typeof(t=e.constructor)&&!1!==dn(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}),"isPlainObject");
/*!
* set-value <https://github.com/jonschlinkert/set-value>
*
* Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
* Released under the MIT License.
*/const{deleteProperty:pn}=Reflect,hn=un,mn=fn,gn=u(e=>"object"==typeof e&&null!==e||"function"==typeof e,"isObject$1"),vn=u(e=>"__proto__"===e||"constructor"===e||"prototype"===e,"isUnsafeKey"),yn=u(e=>{if(!hn(e))throw new TypeError("Object keys must be strings or symbols");if(vn(e))throw new Error(`Cannot set unsafe key: "${e}"`)},"validateKey"),bn=u(e=>Array.isArray(e)?e.flat().map(String).join(","):e,"toStringKey"),En=u((e,t)=>{if("string"!=typeof e||!t)return e;let n=e+";";return void 0!==t.arrays&&(n+=`arrays=${t.arrays};`),void 0!==t.separator&&(n+=`separator=${t.separator};`),void 0!==t.split&&(n+=`split=${t.split};`),void 0!==t.merge&&(n+=`merge=${t.merge};`),void 0!==t.preservePaths&&(n+=`preservePaths=${t.preservePaths};`),n},"createMemoKey"),Tn=u((e,t,n)=>{const r=bn(t?En(e,t):e);yn(r);const i=Sn.cache.get(r)||n();return Sn.cache.set(r,i),i},"memoize"),wn=u((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"==typeof e&&!1!==r&&/\//.test(e))return[e];const i=[];let o="";const a=u(e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?i.push(t):i.push(e)},"push");for(let t=0;t<e.length;t++){const r=e[t];"\\"!==r?r!==n?o+=r:(a(o),o=""):o+=e[++t]}return o&&a(o),i}),"splitString"),Cn=u((e,t)=>t&&"function"==typeof t.split?t.split(e):"symbol"==typeof e?[e]:Array.isArray(e)?e:Tn(e,t,()=>wn(e,t)),"split"),xn=u((e,t,n,r)=>{if(yn(t),void 0===n)pn(e,t);else if(r&&r.merge){const i="function"===r.merge?r.merge:Object.assign;i&&mn(e[t])&&mn(n)?e[t]=i(e[t],n):e[t]=n}else e[t]=n;return e},"assignProp"),Sn=u((e,t,n,r)=>{if(!t||!gn(e))return e;const i=Cn(t,r);let o=e;for(let e=0;e<i.length;e++){const t=i[e],a=i[e+1];if(yn(t),void 0===a){xn(o,t,n,r);break}"number"!=typeof a||Array.isArray(o[t])?(gn(o[t])||(o[t]={}),o=o[t]):o=o[t]=[]}return e},"setValue");Sn.split=Cn,Sn.cache=new Map,Sn.clear=()=>{Sn.cache=new Map};var Nn=Sn;function kn(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},i),n?t.createElement("title",{id:r},n):null,t.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),t.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"}))}function _n(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},i),n?t.createElement("title",{id:r},n):null,t.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5}))}function On(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},i),n?t.createElement("title",{id:r},n):null,t.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75}))}function In(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},i),n?t.createElement("title",{id:r},n):null,t.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5}))}function Ln(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},i),n?t.createElement("title",{id:r},n):null,t.createElement("path",{d:"M1 1L12.9998 12.9997",stroke:"currentColor",strokeWidth:1.5}),t.createElement("path",{d:"M13 1L1.00079 13.0003",stroke:"currentColor",strokeWidth:1.5}))}function An(e){let{title:n,titleId:r,...i}=e;return t.createElement("svg",Object.assign({height:"1em",viewBox:"-2 -2 22 22",fill:"
2022-06-22 17:02:10 +02:00
//# sourceMappingURL=graphiql.min.js.map