1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[22],{"+oBk":function(t,e,n){"use strict";var a=n("nKUr"),o=n("MX0m"),r=n.n(o),c=n("g4pe"),s=n.n(c),i=(n("q1tI"),n("hzKd")),l=n("0TmZ"),d=n("Gb8u"),u=n("2n8N");e.a=function(t){var e=t.className,n=t.children,o=t.title,c=t.desc,p=t.thumb,j=t.keywords,m=c||i.a.en.indexDesc;j=j||i.a.en.indexKeywords;var b=p||"https://avatars.githubusercontent.com/u/72927208?v=4";return Object(a.jsxs)("main",{className:"jsx-1201827712 "+(e||""),children:[Object(a.jsxs)(s.a,{children:[Object(a.jsx)("meta",{charSet:"utf-8",className:"jsx-1201827712"}),Object(a.jsx)("title",{className:"jsx-1201827712",children:o}),Object(a.jsx)("meta",{name:"description",content:m,className:"jsx-1201827712"}),Object(a.jsx)("meta",{name:"keywords",content:j,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"og:type",content:"website",className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"og:title",content:o,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"og:description",content:m,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"og:image",content:b,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"twitter:card",content:"summary_large_image",className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"twitter:title",content:o,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"twitter:description",content:m,className:"jsx-1201827712"}),Object(a.jsx)("meta",{property:"twitter:image",content:b,className:"jsx-1201827712"}),Object(a.jsx)("link",{rel:"stylesheet",href:"https://gcore.jsdelivr.net/npm/[email protected]/themes/prism-tomorrow.css",className:"jsx-1201827712"})]}),Object(a.jsx)(d.a,{}),n,Object(a.jsx)(l.a,{children:Object(a.jsx)(u.a,{})}),Object(a.jsx)(r.a,{id:"1201827712",children:["a.beian-link.jsx-1201827712{color:rgba(0,0,0,0.8);font-weight:400;}"]})]})}},"7ljp":function(t,e,n){"use strict";n.r(e),n.d(e,"MDXContext",(function(){return d})),n.d(e,"MDXProvider",(function(){return j})),n.d(e,"mdx",(function(){return f})),n.d(e,"useMDXComponents",(function(){return p})),n.d(e,"withMDXComponents",(function(){return u}));var a=n("q1tI"),o=n.n(a);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t}).apply(this,arguments)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){if(null==t)return{};var n,a,o=function(t,e){if(null==t)return{};var n,a,o={},r=Object.keys(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var d=o.a.createContext({}),u=function(t){return function(e){var n=p(e.components);return o.a.createElement(t,c({},e,{components:n}))}},p=function(t){var e=o.a.useContext(d),n=e;return t&&(n="function"===typeof t?t(e):i(i({},e),t)),n},j=function(t){var e=p(t.components);return o.a.createElement(d.Provider,{value:e},t.children)},m={inlineCode:"code",wrapper:function(t){var e=t.children;return o.a.createElement(o.a.Fragment,{},e)}},b=o.a.forwardRef((function(t,e){var n=t.components,a=t.mdxType,r=t.originalType,c=t.parentName,s=l(t,["components","mdxType","originalType","parentName"]),d=p(n),u=a,j=d["".concat(c,".").concat(u)]||d[u]||m[u]||r;return n?o.a.createElement(j,i(i({ref:e},s),{},{components:n}
1)):o.a.createElement(j,i({ref:e},s))}));function f(t,e){var n=arguments,a=e&&e.mdxType;if("string"===typeof t||a){var r=n.length,c=new Array(r);c[0]=b;var s={};for(var i in e)hasOwnProperty.call(e,i)&&(s[i]=e[i]);s.originalType=t,s.mdxType="string"===typeof t?t:a,c[1]=s;for(var l=2;l<r;l++)c[l]=n[l];return o.a.createElement.apply(null,c)}return o.a.createElement.apply(null,n)}b.displayName="MDXCreateElement"},Afr9:function(t,e,n){t.exports={button:"Button_button__3vKtq",tooltip:"Button_tooltip__3cuXZ",active:"Button_active__1D7lT","slide-up":"Button_slide-up__afXeT",inactive:"Button_inactive__2SzFS"}},"EN+u":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var a=n("nKUr"),o=n("q1tI"),r=n("fDq+"),c=n("Afr9"),s=n.n(c),i={link:Object(a.jsx)(r.c,{}),"fullscreen-expand":Object(a.jsx)(r.b,{}),"fullscreen-compress":Object(a.jsx)(r.a,{})},l=function(t){var e=t.id,n=t.icon,r=t.className,c=t.onClick,l=t.children,d=t.tooltip,u=t.iconEle,p=t.iconEleShow,j=void 0===p||p,m=t.disabled,b=void 0!==m&&m,f=t.style,x=void 0===f?{}:f,h=Object(o.useState)("none"),g=h[0],v=h[1],O=function(){v("active"),setTimeout((function(){v("inactive"),setTimeout((function(){v("none")}),100)}),2e3)};return Object(a.jsxs)("button",{id:e,className:r?"".concat(s.a.button," ").concat(r):r,onClick:function(){d&&"none"===g&&O(),c()},disabled:b,style:x,children:[n&&i[n],u&&j&&Object(a.jsx)("span",{className:"btn-icon-text",style:{height:"20px",marginRight:"0.4rem"},children:u}),Object(a.jsx)("span",{className:"btn-icon-text",children:l}),d&&Object(a.jsx)("span",{className:"".concat("active"===g?s.a.active:"inactive"===g?s.a.inactive:""," ").concat(s.a.tooltip),title:d})]})}},GArZ:function(t,e,n){"use strict";function a(t,e,n){"string"===typeof e?(n=n||document,Array.prototype.slice.call(n.querySelectorAll(e)).forEac
1h((function(e){e.classList.add(t)}))):e.classList.add(t)}function o(t,e,n){"string"===typeof e?(n=n||document,Array.prototype.slice.call(n.querySelectorAll(e)).forEach((function(e){e.classList.remove(t)}))):e.classList.remove(t)}n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o}))},SCMX:function(t,e,n){"use strict";var a=n("nKUr"),o=n("q1tI");e.a=function(){return Object(o.useEffect)((function(){var t=document.getElementsByClassName("adsbygoogle").length;window.adsbygoogle=window.adsbygoogle||[];for(var e=0;e<t;e++)try{window.adsbygoogle.push({})}catch(n){}}),[]),Object(a.jsx)("div",{className:"post-ads",children:Object(a.jsx)("div",{children:Object(a.jsx)("ins",{className:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-3609041871317154","data-ad-slot":"3105679874","data-ad-format":"auto","data-full-width-responsive":"true"})})})}},d8dW:function(t,e,n){t.exports={btn:"JSONFormatter_btn__3VrS-"}},dhJC:function(t,e,n){"use strict";function a(t,e){if(null==t)return{};var n,a,o=function(t,e){if(null==t)return{};var n,a,o={},r=Object.keys(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",(function(){return a}))},"fDq+":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return s}));var a=n("nKUr"),o=function(){return Object(a.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2998",width:"20",height:"20",children:[Object(a.jsx)("path",{d:"M546.9184 665.4976a187.9552 187.9552 0 0 1-133.3248-55.1424 25.6 25.6 0 0 1 36.1984-36.1984 137.472 137.472 0 0 0 194.2016 0l186.1632-186.1632c53.5552-53.5552 53.5552-140.6464 0-194.2016s-140.6464-53.5552-194.2016 0L478.8736 350.8736a25.6 25.6 0 0 1-36.1984-36.1984l157.0816-157.0816c73.5232-73.5232 193.1264-73.5232 266.5984 0s73.5232 193.1264 0 266.5984l-186.1632 186.1632a187.9552 187.9552 0 0 1-133.3248 55.1424z",fill:"#adadad","p-id":"2999"}),Object(a.jsx)("path",{d:"M239.7184 972.6976a187.9552 187.9552 0 0 1-133.3248-55.1424 188.672 188.672 0 0 1 0-266.5984l186.1632-186.1632a188.672 188.672 0 0 1 266.5984 0 25.6 25.6 0 0 1-36.1984 36.1984 137.472 137.472 0 0 0-194.2016 0l-186.1632 186.1632c-53.5552 53.5552-53.5552 140.6464 0 194.2016s140.6464 53.5552 194.2016 0l157.0816-157.0816a25.6 25.6 0 0 1 36.1984 36.1984l-157.0816 157.0816a187.9552 187.9552 0 0 1-133.3248 55.1424z",fill:"#adadad","p-id":"3000"})]})},r=function(){return Object(a.jsx)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4484",width:"20",height:"20",children:Object(a.jsx)("path",{d:"M128 640l4.992 0.298667a42.666667 42.666667 0 0 1 37.376 37.376L170.666667 682.666667v170.666666h170.666666l4.992 0.298667a42.666667 42.666667 0 0 1 0 84.736L341.333333 938.666667H128l-4.992-0.298667a42.666667 42.666667 0 0 1-37.376-37.376L85.333333 896v-213.333333l0.298667-4.992a42.666667 42.666667 0 0 1 37.376-37.376L128 640z m768 0a42.666667 42.666667 0 0 1 42.368 37.674667L938.666667 682.666667v213.333333a42.666667 42.666667 0 0 1-37.674667 42.368L896 938.666667h-213.333333a42.666667 42.666667 0 0 1-4.992-85.034667L682.666667 853.333333h170.666666v-170.666666a42.666667 42.666667 0 0 1 37.674667-42.368L896 640zM341.333333 85.333333a42.666667 42.666667 0 0 1 4.992 85.034667L341.333333 170.666667H170.666667v170.666666a42.666667 42.666667 0 0 1-37.674667 42.368L128 384a42.666667 42.666667 0 0 1-42.368-37.674667L85.333333 341.333333V128a42.666667 42.666667 0 0 1 37.674667-42.368L128 85.333333h213.333333z m554.666667 0l4.992 0.298667a42.666667 42.666667 0 0 1 37.376 37.376L938.666667 128v213.333333l-0.298667 4.992a42.666667 42.666667 0 0 1-37.376 37.376L896 384l-4.992-0.298667a42.666667 42.666667 0 0 1-37.376-37.376L853.333333 341.333333V170.666667h-170.666666l-4.992-0.298667a42.666667 42.666667 0 0 1 0-84.736L682.666667 85.333333h213.333333z","p-id":"4485",fill:"#adadad"})})},c=function(){return Object(a.jsx)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4747",width:"20",height:"20",children:Object(a.jsx)("path",{d:"M896 640a42.666667 42.666667 0 0 1 4.992 85.034667L896 725.333333h-170.666667v170.666667a42.666667 42.666667 0 0 1-37.674666 42.368L682.666667 938.666667a42.666667 42.666667 0 0 1-42.368-37.674667L640 896v-213.333333a42.666667 42.666667 0 0 1 37.674667-42.368L682.666667 640h213.333333zM341.333333 640l4.992 0.298667a42.666667 42.666667 0 0 1 37.376 37.376L384 682.666667v213.333333l-0.298667 4.992a42.666667 42.666667 0 0 1-37.376 37.376L341.333333 938.666667l-4.992-0.298667a42.666667 42.666667 0 0 1-37.376-37.376L298.666667 896v-170.666667H128l-4.992-0.298666a42.666667 42.666667 0 0 1 0-84.736L128 640h213.333333z m341.333334-554.666667l4.992 0.298667a42.666667 42.666667 0 0 1 37.376 37.376L725.333333 128v170.666667h170.666667l4.992 0.298666a42.666667 42.666667 0 0 1 0 84.736L896 384h-213.333333l-4.992-0.298667a42.666667 42.666667 0 0 1-37.376-37.376L640 341.333333V128l0.298667-4.992a42.666667 42.666667 0 0 1 37.376-37.376L682.666667 85.333333zM341.333333 85.333333a42.666667 42.666667 0 0 1 42.368 37.674667L384 128v213.333333a42.666667 42.666667 0 0 1-37.674667 42.368L341.333333 384H128a42.666667 42.666667 0 0 1-4.992-85.034667L128 298.666667h170.666667V128a42.666667 42.666667 0 0 1 37.674666-42.368L341.333333 85.333333z","p-id":"4748",f
1ill:"#adadad"})})},s=function(){return Object(a.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3236",width:"20",height:"20",style:{animation:"loadingCircle 1s infinite linear"},children:Object(a.jsx)("path",{d:"M512 960C265.6 960 64 758.4 64 512c0-19.2 12.8-32 32-32s32 12.8 32 32c0 211.2 172.8 384 384 384s384-172.8 384-384S723.2 128 512 128c-19.2 0-32-12.8-32-32s12.8-32 32-32c246.4 0 448 201.6 448 448s-201.6 448-448 448z","p-id":"3237",fill:"#adadad"})})}},ggwL:function(t,e,n){"use strict";var a=n("nKUr"),o=n("MX0m"),r=n.n(o),c=n("Xcx1"),s=n("q1tI"),i={en:{download:"Download",copy:"Copy",copied:"Copied!",copyFail:"Copy failed,please hit Ctrl + C or Command + C!",clear:"Clear",downloaded:"Download Success!",downloadFail:"Download Failed!",paste:"Please paste JSON text",tipLeft:"JSON Data",tipRight:"Formatted JSON",dbSelect:"Double click to select",placeholder:"Paste JSON object"},zh:{download:"\u4e0b\u8f7d",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f\uff01",copyFail:"\u590d\u5236\u5931\u8d25\uff0c\u8bf7\u4f7f\u7528 Ctrl + C \u6216\u8005 Command + C",clear:"\u6e05\u9664",downloaded:"\u4e0b\u8f7d\u6210\u529f\uff01",downloadFail:"\u4e0b\u8f7d\u5931\u8d25\uff01",paste:"\u8bf7\u7c98\u8d34 JSON \u6587\u672c",tipLeft:"JSON \u5bf9\u8c61",tipRight:"\u683c\u5f0f\u5316\u540e\u7684 JSON",dbSelect:"\u53cc\u51fb\u5168\u9009",placeholder:"\u7c98\u8d34 JSON \u5bf9\u8c61"}},l=n("GArZ"),d=n("EN+u"),u=n("d8dW"),p=n.n(u);e.a=function(t){var e=t.locale,n=i[void 0===e?"en":e],o=Object(s.useState)(""),u=o[0],j=o[1],m=Object(s.useState)(!1),b=m[0],f=m[1];Object(s.useEffect)((function(){var t=Object(c.a)(".left textarea"),e=Object(c.a)(".right .innerRight"),n=!1,a=!1,o=!1;t.onscroll=function(r){a?a=!1:n||(window.requestAnimationFrame((function(){o=!0,e.scrollTo({top:t.scrollTop/t.scrollHeight*e.scrollHeight}),n=!1})),n=!0)},e.onscroll=function(r){o?o=!1:n||(window.requestAnimationFrame((function(){a=!0,t.scrollTo({top:e.scrollTop/e.scrollHeight*t.scrollHeight}),n=!1})),n=!0)}}),[]);
1var x=null,h=function(t){return t.replace(/\\n/g,"\\n").replace(/\\'/g,"\\'").replace(/\\"/g,'\\"').replace(/\\&/g,"\\&").replace(/\\r/g,"\\r").replace(/\\t/g,"\\t").replace(/\\b/g,"\\b").replace(/\\f/g,"\\f").replace(/[\u0000-\u0019]+/g,"").replace(/([\$\w]+)\s*:/g,(function(t,e){return'"'+e+'":'})).replace(/'([^']+)'/g,(function(t,e){return'"'+e+'"'})).replace(/,(?=\s*})/g,"")};return Object(a.jsxs)("div",{id:"tool-container",className:"jsx-3849687276",children:[Object(a.jsxs)("div",{id:"container",className:"jsx-3849687276",children:[Object(a.jsxs)("div",{className:"jsx-3849687276 left",children:[Object(a.jsx)("span",{className:"jsx-3849687276 top-tip",children:n.tipLeft}),Object(a.jsx)("textarea",{style:{width:"100%",height:"100%",marginTop:"0"},onChange:function(t){var e=t.target.value;x&&(clearTimeout(x),x=null),x=setTimeout((function(){var t="";try{t=JSON.stringify(JSON.parse(h(e)),null,4)}catch(n){t=n.message}j(t)}),500)},placeholder:n.placeholder,className:"jsx-3849687276"})]}),Object(a.jsxs)("div",{className:"jsx-3849687276 right",children:[Object(a.jsx)("span",{className:"jsx-3849687276 top-tip",children:n.tipRight}),Object(a.jsx)("button",{id:"copy-btn",onClick:function(){var t=Object(c.a)("#copy-btn"),e=t.textContent;try{if(""===u.trim())return t.textContent=n.paste,t.classList.add("warning"),void setTimeout((function(){t.textContent=e,t.classList.remove("warning")}),1200);Object(c.h)(u,"text/json"),t.textContent=n.copied,t.classList.add("success"),setTimeout((function(){t.textContent=e,t.classList.remove("success")}),1200)}catch(a){t.textContent=n.copyFail,t.classList.add("warning"),setTimeout((function(){t.textContent=e,t.classList.remove("warning")}),1200)}},className:"jsx-3849687276 btn btn-primary btn-json",children:n.copy}),Object(a.jsx)("button",{id:"download-btn",onClick:function(){var t=Object(c.a)("#download-btn"),e=t.textContent;try{if(""===u.trim())return t.textContent=n.paste,t.classList.add("warning"),void setTimeout((function(){t.textContent=e,t.classList.remove("warning")}),1200);Object(c.v)({str:u,fileName:"formatted",extensionName:"json",mimeType:"text/json"}),t.textContent=n.downloaded,t.classList.add("success"),setTimeout((function(){t.textContent=e,t.classList.remove("success")}),1200)}catch(a){t.textContent=n.downloadFail,t.classList.add("warning"),setTimeout((function(){t.textContent=e,t.classList.remove("warning")}),1200)}},className:"jsx-3849687276 btn btn-plain btn-json",children:n.download}),Object(a.jsxs)("div",{onDoubleClick:function(){Object(c.g)(Object(c.a)(".right pre"))},className:"jsx-3849687276 innerRight",children:[Object(a.jsx)("pre",{className:"jsx-3849687276",children:u}),Object(a.jsx)("div",{className:"jsx-3849687276 dbclick-tip",children:n.dbSelect})]}),Object(a.jsx)("div",{className:"jsx-3849687276 bottom-area",children:Object(a.jsx)(d.a,{icon:b?"fullscreen-compress":"fullscreen-expand",className:"btn btn-plain ".concat(p.a.btn),onClick:function(){b?Object(l.b)("fullscreen-mode","#tool-container"):Object(l.a)("fullscreen-mode","#tool-container"),setTimeout((function(){Object(c.a)("#tool-container").scrollIntoView({behavior:"smooth"})}),100),f(!b)}})})]})]}),Object(a.jsx)(r.a,{id:"3849687276",children:["#tool-container.jsx-3849687276{-webkit-transition:all 0.1s;transition:all 0.1s;}","#container.jsx-3849687276{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-bottom:10rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".left.jsx-3849687276{height:50vh;width:49.5%;}",".right.jsx-3849687276{height:50vh;width:49.5%;position:relative;}","#container.jsx-3849687276 .right.jsx-3849687276 .innerRight.jsx-3849687276{border:1px solid var(--color-primary-gray);height:100%;width:100%;padding-left:1em;border-radius:0.25rem;overflow:auto;}",".btn-json.jsx-3849687276{float:right;margin-left:0.4em;}",".top-tip.jsx-3849687276{display:inline-block;margin-bottom:0.6em;}",".dbclick-tip.jsx-3849687276{position:absolute;right:2em;bottom:-2em;opacity:0.35;pointer-events:none;font-size:0.8em;}",".fullscreen-mode.jsx-3849687276{margin-left:calc(28rem - 48vw);width:96vw;padding-top:2em;}",".fullscreen-mode.jsx-3849687276 .left.jsx-3849687276,.fullscreen-mode.jsx-3849687276 .right.jsx-3849687276{height:68vh;}",".bottom-operate.jsx-3849687276 .bottom-select.jsx-3849687276{display:inline-block;}",".bottom-operate.jsx-3849687276 .bottom-select.jsx-3849687276 .btn-select.jsx-3849687276{margin:0.4em 1rem;}"]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.