forked from bombastictranz/builder.io
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
237.b8fed1b9d029f4b0ef5a.js.download
1 lines (1 loc) · 78.4 KB
/
237.b8fed1b9d029f4b0ef5a.js.download
1
(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[237],{"8/g6":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t("kNCj")},MVZn:function(n,e,t){var r=t("lSNA");n.exports=function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?Object(arguments[e]):{},o=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),o.forEach((function(e){r(n,e,t[e])}))}return n}},PsDL:function(n,e,t){"use strict";var r=t("wx14"),o=t("Ff2n"),i=t("FdF9"),a=(t("17x9"),t("iuhU")),c=t("H2TA"),l=t("ye/S"),u=t("VD++"),s=t("NqtD"),d=i.forwardRef((function(n,e){var t=n.edge,c=void 0!==t&&t,l=n.children,d=n.classes,p=n.className,f=n.color,b=void 0===f?"default":f,m=n.disabled,h=void 0!==m&&m,g=n.disableFocusRipple,v=void 0!==g&&g,y=n.size,j=void 0===y?"medium":y,w=Object(o.a)(n,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return i.createElement(u.a,Object(r.a)({className:Object(a.a)(d.root,p,"default"!==b&&d["color".concat(Object(s.a)(b))],h&&d.disabled,"small"===j&&d["size".concat(Object(s.a)(j))],{start:d.edgeStart,end:d.edgeEnd}[c]),centerRipple:!0,focusRipple:!v,disabled:h,ref:e},w),i.createElement("span",{className:d.label},l))}));e.a=Object(c.a)((function(n){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:n.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:n.palette.action.active,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(l.b)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:n.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:n.palette.primary.main,"&:hover":{backgroundColor:Object(l.b)(n.palette.primary.main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:n.palette.secondary.main,"&:hover":{backgroundColor:Object(l.b)(n.palette.secondary.main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:n.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(d)},QILm:function(n,e,t){var r=t("8OQS");n.exports=function(n,e){if(null==n)return{};var t,o,i=r(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o<a.length;o++)t=a[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i}},TdF3:function(n,e){const t="[A-Za-z$_][0-9A-Za-z$_]*",r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],o=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function a(n){return c("(?=",n,")")}function c(...n){return n.map((n=>{return(e=n)?"string"===typeof e?e:e.source:null;var e})).join("")}n.exports=function(n){const e=t,l="<>",u="</>",s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(n,e)=>{const t=n[0].length+n.index,r=n.input[t];"<"!==r?">"===r&&(((n,{after:e})=>{const t="</"+n[0].slice(1);return-1!==n.input.indexOf(t,e)})(n,{after:t})||e.ignoreMatch()):e.ignoreMatch()}},d={$pattern:t,keyword:r.join(" "),literal:o.join(" "),built_in:i.join(" ")},p="\\.([0-9](_?[0-9])*)",f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",b={className:"number",variants:[{begin:`(\\b(${f})((${p})|\\.)?|(${p}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${f})\\b((${p})\\b|\\.)?|(${p})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,m],subLanguage:"css"}},v={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,m]},y={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},j=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,h,g,v,b,n.REGEXP_MODE];m.contains=j.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(j)});const w=[].concat(y,m.contains),O=w.concat([{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(w)}]),x={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:O},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,h,g,v,y,b,{begin:c(/[{,\n]\s*/,a(c(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+a("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[y,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:O}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:l,end:u},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:d,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),x],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[x,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",x]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},x]},{begin:/\$[(.]/}]}}},"YoL/":function(n,e,t){"use strict";var r=t("TqRt"),o=t("284h");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(t("FdF9")),a=(0,r(t("8/g6")).default)(i.createElement("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Assignment");e.default=a},"b3K/":function(n,e,t){"use strict";t.d(e,"a",(function(){return c}));var r=t("o0o1"),o=t.n(r),i=t("HaE+");function a(n){var e=document.createElement("textarea");e.textContent=n,document.body.appendChild(e);var t=document.getSelection(),r=document.createRange();r.selectNode(e),t.removeAllRanges(),t.addRange(r);var o=!1;try{(o=document.execCommand("copy"))||console.warn("Uncable to copy to clipboard")}catch(i){console.warn("Uncable to copy to clipboard",i)}return t.removeAllRanges(),document.body.removeChild(e),o}function c(n){return l.apply(this,arguments)}function l(){return(l=Object(i.a)(o.a.mark((function n(e){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,navigator.clipboard.writeText(e);case 3:n.next=8;break;case 5:n.prev=5,n.t0=n.catch(0),a(e);case 8:case"end":return n.stop()}}),n,null,[[0,5]])})))).apply(this,arguments)}},cmsq:function(n,e,t){"use strict";t.r(e),t.d(e,"USE_TAB_COOKIE_NAME",(function(){return Kn})),t.d(e,"frameworkTabs",(function(){return Vn})),t.d(e,"CodeSnippets",(function(){return te}));var r=t("rePB"),o=t("AeFk"),i=t("KQm4");function a(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var c=t("WynN"),l=t("p+/H"),u=t.n(l),s=t("FdF9"),d=t("qCs2"),p=t("o0o1"),f=t.n(p),b=t("yXPU"),m=t.n(b),h=t("pVnL"),g=t.n(h),v=t("lwsE"),y=t.n(v),j=t("W8MJ"),w=t.n(j),O=t("a1gu"),x=t.n(O),k=t("Nsbk"),E=t.n(k),C=t("7W2i"),S=t.n(C),R=t("lSNA"),L=t.n(R),N=t("QILm"),P=t.n(N),I=t("RIqP"),B=t.n(I),A=t("MVZn"),F=t.n(A);var _={};function M(n){if(0===n.length||1===n.length)return n;var e=n.join(".");return _[e]||(_[e]=function(n){var e=n.length;return 0===e||1===e?n:2===e?[n[0],n[1],"".concat(n[0],".").concat(n[1]),"".concat(n[1],".").concat(n[0])]:3===e?[n[0],n[1],n[2],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0])]:e>=4?[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]:void 0}(n)),_[e]}function T(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,r=n.filter((function(n){return"token"!==n})),o=M(r);return o.reduce((function(n,e){return F()({},n,t[e])}),e)}function D(n){return n.join(" ")}function U(n){var e=n.node,t=n.stylesheet,r=n.style,o=void 0===r?{}:r,i=n.useInlineStyles,a=n.key,c=e.properties,l=e.type,u=e.tagName,d=e.value;if("text"===l)return d;if(u){var p,f=function(n,e){var t=0;return function(r){return t+=1,r.map((function(r,o){return U({node:r,stylesheet:n,useInlineStyles:e,key:"code-segment-".concat(t,"-").concat(o)})}))}}(t,i);if(i){var b=Object.keys(t).reduce((function(n,e){return e.split(".").forEach((function(e){n.includes(e)||n.push(e)})),n}),[]),m=c.className&&c.className.includes("token")?["token"]:[],h=c.className&&m.concat(c.className.filter((function(n){return!b.includes(n)})));p=F()({},c,{className:D(h)||void 0,style:T(c.className,Object.assign({},c.style,o),t)})}else p=F()({},c,{className:D(c.className)});var v=f(e.children);return s.default.createElement(u,g()({key:a},p),v)}}var q=function(n,e){return-1!==n.listLanguages().indexOf(e)},G=/\n/g;function K(n){var e=n.codeString,t=n.codeStyle,r=n.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,i=n.numberStyle,a=void 0===i?{}:i,c=n.startingLineNumber;return s.default.createElement("code",{style:Object.assign({},t,o)},function(n){var e=n.lines,t=n.startingLineNumber,r=n.style;return e.map((function(n,e){var o=e+t;return s.default.createElement("span",{key:"line-".concat(e),className:"react-syntax-highlighter-line-number",style:"function"===typeof r?r(o):r},"".concat(o,"\n"))}))}({lines:e.replace(/\n$/,"").split("\n"),style:a,startingLineNumber:c}))}function H(n,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(n),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:n}]}}function z(n,e,t){var r,o={display:"inline-block",minWidth:(r=t,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},i="function"===typeof n?n(e):n;return F()({},o,i)}function V(n){var e=n.children,t=n.lineNumber,r=n.lineNumberStyle,o=n.largestLineNumber,i=n.showInlineLineNumbers,a=n.lineProps,c=void 0===a?{}:a,l=n.className,u=void 0===l?[]:l,s=n.showLineNumbers,d=n.wrapLongLines,p="function"===typeof c?c(t):c;if(p.className=u,t&&i){var f=z(r,t,o);e.unshift(H(t,f))}return d&s&&(p.style=F()({},p.style,{display:"flex"})),{type:"element",tagName:"span",properties:p,children:e}}function Y(n){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r<n.length;r++){var o=n[r];if("text"===o.type)t.push(V({children:[o],className:B()(new Set(e))}));else if(o.children){var i=e.concat(o.properties.className);t=t.concat(Y(o.children,i))}}return t}function J(n,e,t,r,o,i,a,c,l){var u,s=Y(n.value),d=[],p=-1,f=0;function b(n,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return V({children:n,lineNumber:e,lineNumberStyle:c,largestLineNumber:a,showInlineLineNumbers:o,lineProps:t,className:i,showLineNumbers:r,wrapLongLines:l})}function m(n,e){if(r&&e&&o){var t=z(c,e,a);n.unshift(H(e,t))}return n}function h(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e||r.length>0?b(n,t,r):m(n,t)}for(var g=function(){var n=s[f],e=n.children[0].value;if(e.match(G)){var t=e.split("\n");t.forEach((function(e,o){var a=r&&d.length+i,c={type:"text",value:"".concat(e,"\n")};if(0===o){var l=h(s.slice(p+1,f).concat(V({children:[c],className:n.properties.className})),a);d.push(l)}else if(o===t.length-1){if(s[f+1]&&s[f+1].children&&s[f+1].children[0]){var u=V({children:[{type:"text",value:"".concat(e)}],className:n.properties.className});s.splice(f+1,0,u)}else{var b=h([c],a,n.properties.className);d.push(b)}}else{var m=h([c],a,n.properties.className);d.push(m)}})),p=f}f++};f<s.length;)g();if(p!==s.length-1){var v=s.slice(p+1,s.length);if(v&&v.length){var y=h(v,r&&d.length+i);d.push(y)}}return e?d:(u=[]).concat.apply(u,d)}function $(n){var e=n.rows,t=n.stylesheet,r=n.useInlineStyles;return e.map((function(n,e){return U({node:n,stylesheet:t,useInlineStyles:r,key:"code-segement".concat(e)})}))}function W(n){return n&&"undefined"!==typeof n.highlightAuto}var Q=function(n,e){return function(t){var r=t.language,o=t.children,i=t.style,a=void 0===i?e:i,c=t.customStyle,l=void 0===c?{}:c,u=t.codeTagProps,d=void 0===u?{className:r?"language-".concat(r):void 0,style:F()({},a['code[class*="language-"]'],a['code[class*="language-'.concat(r,'"]')])}:u,p=t.useInlineStyles,f=void 0===p||p,b=t.showLineNumbers,m=void 0!==b&&b,h=t.showInlineLineNumbers,g=void 0===h||h,v=t.startingLineNumber,y=void 0===v?1:v,j=t.lineNumberContainerStyle,w=t.lineNumberStyle,O=void 0===w?{}:w,x=t.wrapLines,k=t.wrapLongLines,E=void 0!==k&&k,C=t.lineProps,S=void 0===C?{}:C,R=t.renderer,L=t.PreTag,N=void 0===L?"pre":L,I=t.CodeTag,B=void 0===I?"code":I,A=t.code,_=void 0===A?Array.isArray(o)?o[0]:o:A,M=t.astGenerator,T=P()(t,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);M=M||n;var D=m?s.default.createElement(K,{containerStyle:j,codeStyle:d.style||{},numberStyle:O,startingLineNumber:y,codeString:_}):null,U=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},G=W(M)?"hljs":"prismjs",H=f?Object.assign({},T,{style:Object.assign({},U,l)}):Object.assign({},T,{className:T.className?"".concat(G," ").concat(T.className):G,style:Object.assign({},l)});if(!M)return s.default.createElement(N,H,D,s.default.createElement(B,d,_));(void 0===x&&R||E)&&(x=!0),R=R||$;var z=[{type:"text",value:_}],V=function(n){var e=n.astGenerator,t=n.language,r=n.code,o=n.defaultCodeValue;if(W(e)){var i=q(e,t);return"text"===t?{value:o,language:"text"}:i?e.highlight(t,r):e.highlightAuto(r)}try{return t&&"text"!==t?{value:e.highlight(r,t)}:{value:o}}catch(a){return{value:o}}}({astGenerator:M,language:r,code:_,defaultCodeValue:z});null===V.language&&(V.value=z);var Y=J(V,x,S,m,g,y,V.value.length+y,O,E);return d.style=E?F()({},d.style,{whiteSpace:"pre-wrap"}):F()({},d.style,{whiteSpace:"pre"}),s.default.createElement(N,H,s.default.createElement(B,d,!g&&D,R({rows:Y,stylesheet:a,useInlineStyles:f})))}},Z=function(n,e){return function(){var t=m()(f.a.mark((function t(r){var o;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:o=t.sent,r(n,o.default||o);case 4:case"end":return t.stop()}}),t,this)})));return function(n){return t.apply(this,arguments)}}()},X=function(n){var e=n.loader,t=n.isLanguageRegistered,r=n.registerLanguage,o=n.languageLoaders,i=n.noAsyncLoadingLanguages,a=function(n){function t(){return y()(this,t),x()(this,E()(t).apply(this,arguments))}return S()(t,n),w()(t,[{key:"componentDidUpdate",value:function(){!t.isRegistered(this.props.language)&&o&&this.loadLanguage()}},{key:"componentDidMount",value:function(){var n=this;t.astGeneratorPromise||t.loadAstGenerator(),t.astGenerator||t.astGeneratorPromise.then((function(){n.forceUpdate()})),!t.isRegistered(this.props.language)&&o&&this.loadLanguage()}},{key:"loadLanguage",value:function(){var n=this,e=this.props.language;"text"!==e&&t.loadLanguage(e).then((function(){return n.forceUpdate()})).catch((function(){}))}},{key:"normalizeLanguage",value:function(n){return t.isSupportedLanguage(n)?n:"text"}},{key:"render",value:function(){return s.default.createElement(t.highlightInstance,g()({},this.props,{language:this.normalizeLanguage(this.props.language),astGenerator:t.astGenerator}))}}],[{key:"preload",value:function(){return t.loadAstGenerator()}},{key:"loadLanguage",value:function(){var n=m()(f.a.mark((function n(e){var r;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("function"!==typeof(r=o[e])){n.next=5;break}return n.abrupt("return",r(t.registerLanguage));case 5:throw new Error("Language ".concat(e," not supported"));case 6:case"end":return n.stop()}}),n,this)})));return function(e){return n.apply(this,arguments)}}()},{key:"isSupportedLanguage",value:function(n){return t.isRegistered(n)||"function"===typeof o[n]}},{key:"loadAstGenerator",value:function(){return t.astGeneratorPromise=e().then((function(n){t.astGenerator=n,r&&t.languages.forEach((function(e,t){return r(n,t,e)}))})),t.astGeneratorPromise}}]),t}(s.default.PureComponent);return L()(a,"astGenerator",null),L()(a,"highlightInstance",Q(null,{})),L()(a,"astGeneratorPromise",null),L()(a,"languages",new Map),L()(a,"supportedLanguages",n.supportedLanguages||Object.keys(o||{})),L()(a,"isRegistered",(function(n){if(i)return!0;if(!r)throw new Error("Current syntax highlighter doesn't support registration of languages");return a.astGenerator?t(a.astGenerator,n):a.languages.has(n)})),L()(a,"registerLanguage",(function(n,e){if(!r)throw new Error("Current syntax highlighter doesn't support registration of languages");if(a.astGenerator)return r(a.astGenerator,n,e);a.languages.set(n,e)})),a}({loader:function(){return t.e(42).then(t.t.bind(null,"POQ2",7)).then((function(n){return n.default||n}))},isLanguageRegistered:function(n,e){return!!q(n,e)},languageLoaders:{oneC:Z("oneC",(function(){return t.e(163).then(t.t.bind(null,"9xzc",7))})),abnf:Z("abnf",(function(){return t.e(43).then(t.t.bind(null,"tSgA",7))})),accesslog:Z("accesslog",(function(){return t.e(44).then(t.t.bind(null,"mY11",7))})),actionscript:Z("actionscript",(function(){return t.e(45).then(t.t.bind(null,"+fC4",7))})),ada:Z("ada",(function(){return t.e(46).then(t.t.bind(null,"Aayt",7))})),angelscript:Z("angelscript",(function(){return t.e(47).then(t.t.bind(null,"28xz",7))})),apache:Z("apache",(function(){return t.e(48).then(t.t.bind(null,"8Kqh",7))})),applescript:Z("applescript",(function(){return t.e(49).then(t.t.bind(null,"e8E9",7))})),arcade:Z("arcade",(function(){return t.e(50).then(t.t.bind(null,"MF4s",7))})),arduino:Z("arduino",(function(){return t.e(51).then(t.t.bind(null,"lE5/",7))})),armasm:Z("armasm",(function(){return t.e(52).then(t.t.bind(null,"ozyK",7))})),asciidoc:Z("asciidoc",(function(){return t.e(53).then(t.t.bind(null,"ApBa",7))})),aspectj:Z("aspectj",(function(){return t.e(54).then(t.t.bind(null,"mBTZ",7))})),autohotkey:Z("autohotkey",(function(){return t.e(55).then(t.t.bind(null,"BIHe",7))})),autoit:Z("autoit",(function(){return t.e(56).then(t.t.bind(null,"75kF",7))})),avrasm:Z("avrasm",(function(){return t.e(57).then(t.t.bind(null,"pvv5",7))})),awk:Z("awk",(function(){return t.e(58).then(t.t.bind(null,"EGmf",7))})),axapta:Z("axapta",(function(){return t.e(59).then(t.t.bind(null,"qIW7",7))})),bash:Z("bash",(function(){return t.e(60).then(t.t.bind(null,"8Pgg",7))})),basic:Z("basic",(function(){return t.e(61).then(t.t.bind(null,"oVqn",7))})),bnf:Z("bnf",(function(){return t.e(62).then(t.t.bind(null,"ddo8",7))})),brainfuck:Z("brainfuck",(function(){return t.e(63).then(t.t.bind(null,"WSH0",7))})),cLike:Z("cLike",(function(){return t.e(65).then(t.t.bind(null,"r5rv",7))})),c:Z("c",(function(){return t.e(64).then(t.t.bind(null,"H+UY",7))})),cal:Z("cal",(function(){return t.e(66).then(t.t.bind(null,"d4EH",7))})),capnproto:Z("capnproto",(function(){return t.e(67).then(t.t.bind(null,"Sl5E",7))})),ceylon:Z("ceylon",(function(){return t.e(68).then(t.t.bind(null,"unZW",7))})),clean:Z("clean",(function(){return t.e(69).then(t.t.bind(null,"Uasv",7))})),clojureRepl:Z("clojureRepl",(function(){return t.e(71).then(t.t.bind(null,"FJ32",7))})),clojure:Z("clojure",(function(){return t.e(70).then(t.t.bind(null,"uIR8",7))})),cmake:Z("cmake",(function(){return t.e(72).then(t.t.bind(null,"6quq",7))})),coffeescript:Z("coffeescript",(function(){return t.e(73).then(t.t.bind(null,"qZUF",7))})),coq:Z("coq",(function(){return t.e(74).then(t.t.bind(null,"gLO8",7))})),cos:Z("cos",(function(){return t.e(75).then(t.t.bind(null,"gmEm",7))})),cpp:Z("cpp",(function(){return t.e(76).then(t.t.bind(null,"Agkw",7))})),crmsh:Z("crmsh",(function(){return t.e(77).then(t.t.bind(null,"yOV0",7))})),crystal:Z("crystal",(function(){return t.e(78).then(t.t.bind(null,"KUpP",7))})),csharp:Z("csharp",(function(){return t.e(79).then(t.t.bind(null,"mK8d",7))})),csp:Z("csp",(function(){return t.e(80).then(t.t.bind(null,"QnJG",7))})),css:Z("css",(function(){return t.e(81).then(t.t.bind(null,"7oys",7))})),d:Z("d",(function(){return t.e(82).then(t.t.bind(null,"jW1C",7))})),dart:Z("dart",(function(){return t.e(83).then(t.t.bind(null,"fEaW",7))})),delphi:Z("delphi",(function(){return t.e(84).then(t.t.bind(null,"H4p3",7))})),diff:Z("diff",(function(){return t.e(85).then(t.t.bind(null,"SLii",7))})),django:Z("django",(function(){return t.e(86).then(t.t.bind(null,"0kiY",7))})),dns:Z("dns",(function(){return t.e(87).then(t.t.bind(null,"iobV",7))})),dockerfile:Z("dockerfile",(function(){return t.e(88).then(t.t.bind(null,"RLXu",7))})),dos:Z("dos",(function(){return t.e(89).then(t.t.bind(null,"fP8y",7))})),dsconfig:Z("dsconfig",(function(){return t.e(90).then(t.t.bind(null,"uR4j",7))})),dts:Z("dts",(function(){return t.e(91).then(t.t.bind(null,"sM9k",7))})),dust:Z("dust",(function(){return t.e(92).then(t.t.bind(null,"9Nr/",7))})),ebnf:Z("ebnf",(function(){return t.e(93).then(t.t.bind(null,"G01c",7))})),elixir:Z("elixir",(function(){return t.e(94).then(t.t.bind(null,"dycj",7))})),elm:Z("elm",(function(){return t.e(95).then(t.t.bind(null,"UFGb",7))})),erb:Z("erb",(function(){return t.e(96).then(t.t.bind(null,"E2cJ",7))})),erlangRepl:Z("erlangRepl",(function(){return t.e(98).then(t.t.bind(null,"9JLW",7))})),erlang:Z("erlang",(function(){return t.e(97).then(t.t.bind(null,"s8Vx",7))})),excel:Z("excel",(function(){return t.e(99).then(t.t.bind(null,"9c9R",7))})),fix:Z("fix",(function(){return t.e(100).then(t.t.bind(null,"KyKy",7))})),flix:Z("flix",(function(){return t.e(101).then(t.t.bind(null,"oU5B",7))})),fortran:Z("fortran",(function(){return t.e(102).then(t.t.bind(null,"SF9x",7))})),fsharp:Z("fsharp",(function(){return t.e(103).then(t.t.bind(null,"AhXs",7))})),gams:Z("gams",(function(){return t.e(104).then(t.t.bind(null,"fZ2E",7))})),gauss:Z("gauss",(function(){return t.e(105).then(t.t.bind(null,"rnof",7))})),gcode:Z("gcode",(function(){return t.e(106).then(t.t.bind(null,"lKKg",7))})),gherkin:Z("gherkin",(function(){return t.e(107).then(t.t.bind(null,"NRrW",7))})),glsl:Z("glsl",(function(){return t.e(108).then(t.t.bind(null,"3wag",7))})),gml:Z("gml",(function(){return t.e(109).then(t.t.bind(null,"5upZ",7))})),go:Z("go",(function(){return t.e(110).then(t.t.bind(null,"CyL5",7))})),golo:Z("golo",(function(){return t.e(111).then(t.t.bind(null,"kZ3Q",7))})),gradle:Z("gradle",(function(){return t.e(112).then(t.t.bind(null,"lURu",7))})),groovy:Z("groovy",(function(){return t.e(113).then(t.t.bind(null,"H2RM",7))})),haml:Z("haml",(function(){return t.e(114).then(t.t.bind(null,"T0rU",7))})),handlebars:Z("handlebars",(function(){return t.e(115).then(t.t.bind(null,"5VxD",7))})),haskell:Z("haskell",(function(){return t.e(116).then(t.t.bind(null,"PziN",7))})),haxe:Z("haxe",(function(){return t.e(117).then(t.t.bind(null,"fHEK",7))})),hsp:Z("hsp",(function(){return t.e(118).then(t.t.bind(null,"wi1Z",7))})),htmlbars:Z("htmlbars",(function(){return t.e(119).then(t.t.bind(null,"ebWy",7))})),http:Z("http",(function(){return t.e(120).then(t.t.bind(null,"wB1n",7))})),hy:Z("hy",(function(){return t.e(121).then(t.t.bind(null,"hmeD",7))})),inform7:Z("inform7",(function(){return t.e(122).then(t.t.bind(null,"Ll1m",7))})),ini:Z("ini",(function(){return t.e(123).then(t.t.bind(null,"KpOm",7))})),irpf90:Z("irpf90",(function(){return t.e(124).then(t.t.bind(null,"B05S",7))})),isbl:Z("isbl",(function(){return t.e(125).then(t.t.bind(null,"u0OR",7))})),java:Z("java",(function(){return t.e(126).then(t.t.bind(null,"My+Z",7))})),javascript:Z("javascript",(function(){return Promise.resolve().then(t.t.bind(null,"TdF3",7))})),jbossCli:Z("jbossCli",(function(){return t.e(127).then(t.t.bind(null,"BKhn",7))})),json:Z("json",(function(){return t.e(128).then(t.t.bind(null,"WtIr",7))})),juliaRepl:Z("juliaRepl",(function(){return t.e(130).then(t.t.bind(null,"t6qC",7))})),julia:Z("julia",(function(){return t.e(129).then(t.t.bind(null,"ImXp",7))})),kotlin:Z("kotlin",(function(){return t.e(131).then(t.t.bind(null,"qUGr",7))})),lasso:Z("lasso",(function(){return t.e(132).then(t.t.bind(null,"Jb18",7))})),latex:Z("latex",(function(){return t.e(133).then(t.t.bind(null,"FVXi",7))})),ldif:Z("ldif",(function(){return t.e(134).then(t.t.bind(null,"GgYO",7))})),leaf:Z("leaf",(function(){return t.e(135).then(t.t.bind(null,"LptB",7))})),less:Z("less",(function(){return t.e(136).then(t.t.bind(null,"GEZ5",7))})),lisp:Z("lisp",(function(){return t.e(137).then(t.t.bind(null,"mzJY",7))})),livecodeserver:Z("livecodeserver",(function(){return t.e(138).then(t.t.bind(null,"G+vv",7))})),livescript:Z("livescript",(function(){return t.e(139).then(t.t.bind(null,"LhHj",7))})),llvm:Z("llvm",(function(){return t.e(140).then(t.t.bind(null,"fDA8",7))})),lsl:Z("lsl",(function(){return t.e(141).then(t.t.bind(null,"KK3C",7))})),lua:Z("lua",(function(){return t.e(142).then(t.t.bind(null,"7P7d",7))})),makefile:Z("makefile",(function(){return t.e(143).then(t.t.bind(null,"el66",7))})),markdown:Z("markdown",(function(){return t.e(144).then(t.t.bind(null,"BLBw",7))})),mathematica:Z("mathematica",(function(){return t.e(145).then(t.t.bind(null,"73oX",7))})),matlab:Z("matlab",(function(){return t.e(146).then(t.t.bind(null,"jKVu",7))})),maxima:Z("maxima",(function(){return t.e(147).then(t.t.bind(null,"OZ3z",7))})),mel:Z("mel",(function(){return t.e(148).then(t.t.bind(null,"u34i",7))})),mercury:Z("mercury",(function(){return t.e(149).then(t.t.bind(null,"JCUK",7))})),mipsasm:Z("mipsasm",(function(){return t.e(150).then(t.t.bind(null,"o0In",7))})),mizar:Z("mizar",(function(){return t.e(151).then(t.t.bind(null,"DxbC",7))})),mojolicious:Z("mojolicious",(function(){return t.e(152).then(t.t.bind(null,"ZrqW",7))})),monkey:Z("monkey",(function(){return t.e(153).then(t.t.bind(null,"pxCe",7))})),moonscript:Z("moonscript",(function(){return t.e(154).then(t.t.bind(null,"sbla",7))})),n1ql:Z("n1ql",(function(){return t.e(155).then(t.t.bind(null,"9Mhc",7))})),nginx:Z("nginx",(function(){return t.e(156).then(t.t.bind(null,"9U8A",7))})),nim:Z("nim",(function(){return t.e(157).then(t.t.bind(null,"hh0f",7))})),nix:Z("nix",(function(){return t.e(158).then(t.t.bind(null,"Rq6a",7))})),nodeRepl:Z("nodeRepl",(function(){return t.e(159).then(t.t.bind(null,"ARiT",7))})),nsis:Z("nsis",(function(){return t.e(160).then(t.t.bind(null,"syIQ",7))})),objectivec:Z("objectivec",(function(){return t.e(161).then(t.t.bind(null,"m/If",7))})),ocaml:Z("ocaml",(function(){return t.e(162).then(t.t.bind(null,"7mzT",7))})),openscad:Z("openscad",(function(){return t.e(164).then(t.t.bind(null,"AsRY",7))})),oxygene:Z("oxygene",(function(){return t.e(165).then(t.t.bind(null,"beiO",7))})),parser3:Z("parser3",(function(){return t.e(166).then(t.t.bind(null,"NyhX",7))})),perl:Z("perl",(function(){return t.e(167).then(t.t.bind(null,"alHH",7))})),pf:Z("pf",(function(){return t.e(168).then(t.t.bind(null,"dnrZ",7))})),pgsql:Z("pgsql",(function(){return t.e(169).then(t.t.bind(null,"+FGM",7))})),phpTemplate:Z("phpTemplate",(function(){return t.e(171).then(t.t.bind(null,"4Fr3",7))})),php:Z("php",(function(){return t.e(170).then(t.t.bind(null,"KQfT",7))})),plaintext:Z("plaintext",(function(){return t.e(172).then(t.t.bind(null,"ROUN",7))})),pony:Z("pony",(function(){return t.e(173).then(t.t.bind(null,"ldBm",7))})),powershell:Z("powershell",(function(){return t.e(174).then(t.t.bind(null,"UI5O",7))})),processing:Z("processing",(function(){return t.e(175).then(t.t.bind(null,"r7oX",7))})),profile:Z("profile",(function(){return t.e(176).then(t.t.bind(null,"uQpx",7))})),prolog:Z("prolog",(function(){return t.e(177).then(t.t.bind(null,"Q5ZB",7))})),properties:Z("properties",(function(){return t.e(178).then(t.t.bind(null,"VrLj",7))})),protobuf:Z("protobuf",(function(){return t.e(179).then(t.t.bind(null,"Lo5G",7))})),puppet:Z("puppet",(function(){return t.e(180).then(t.t.bind(null,"UCcd",7))})),purebasic:Z("purebasic",(function(){return t.e(181).then(t.t.bind(null,"GwJY",7))})),pythonRepl:Z("pythonRepl",(function(){return t.e(183).then(t.t.bind(null,"QWjE",7))})),python:Z("python",(function(){return t.e(182).then(t.t.bind(null,"lRCX",7))})),q:Z("q",(function(){return t.e(184).then(t.t.bind(null,"Xfvt",7))})),qml:Z("qml",(function(){return t.e(185).then(t.t.bind(null,"YSo5",7))})),r:Z("r",(function(){return t.e(186).then(t.t.bind(null,"Jrxr",7))})),reasonml:Z("reasonml",(function(){return t.e(187).then(t.t.bind(null,"6ZBy",7))})),rib:Z("rib",(function(){return t.e(188).then(t.t.bind(null,"D68y",7))})),roboconf:Z("roboconf",(function(){return t.e(189).then(t.t.bind(null,"9Q8I",7))})),routeros:Z("routeros",(function(){return t.e(190).then(t.t.bind(null,"2Vkh",7))})),rsl:Z("rsl",(function(){return t.e(191).then(t.t.bind(null,"oKc0",7))})),ruby:Z("ruby",(function(){return t.e(192).then(t.t.bind(null,"gst6",7))})),ruleslanguage:Z("ruleslanguage",(function(){return t.e(193).then(t.t.bind(null,"irpp",7))})),rust:Z("rust",(function(){return t.e(194).then(t.t.bind(null,"LOdI",7))})),sas:Z("sas",(function(){return t.e(195).then(t.t.bind(null,"QPTg",7))})),scala:Z("scala",(function(){return t.e(196).then(t.t.bind(null,"n3/M",7))})),scheme:Z("scheme",(function(){return t.e(197).then(t.t.bind(null,"QQjU",7))})),scilab:Z("scilab",(function(){return t.e(198).then(t.t.bind(null,"6k3J",7))})),scss:Z("scss",(function(){return t.e(199).then(t.t.bind(null,"YROV",7))})),shell:Z("shell",(function(){return t.e(200).then(t.t.bind(null,"tluB",7))})),smali:Z("smali",(function(){return t.e(201).then(t.t.bind(null,"Gxxu",7))})),smalltalk:Z("smalltalk",(function(){return t.e(202).then(t.t.bind(null,"jU8F",7))})),sml:Z("sml",(function(){return t.e(203).then(t.t.bind(null,"3EHr",7))})),sqf:Z("sqf",(function(){return t.e(204).then(t.t.bind(null,"4qfg",7))})),sql:Z("sql",(function(){return t.e(205).then(t.t.bind(null,"3gkP",7))})),stan:Z("stan",(function(){return t.e(206).then(t.t.bind(null,"iTGd",7))})),stata:Z("stata",(function(){return t.e(207).then(t.t.bind(null,"1LUk",7))})),step21:Z("step21",(function(){return t.e(208).then(t.t.bind(null,"AIHI",7))})),stylus:Z("stylus",(function(){return t.e(209).then(t.t.bind(null,"vYiF",7))})),subunit:Z("subunit",(function(){return t.e(210).then(t.t.bind(null,"Aqyh",7))})),swift:Z("swift",(function(){return t.e(211).then(t.t.bind(null,"Kjk6",7))})),taggerscript:Z("taggerscript",(function(){return t.e(212).then(t.t.bind(null,"JGhL",7))})),tap:Z("tap",(function(){return t.e(213).then(t.t.bind(null,"BrQc",7))})),tcl:Z("tcl",(function(){return t.e(214).then(t.t.bind(null,"on2m",7))})),thrift:Z("thrift",(function(){return t.e(215).then(t.t.bind(null,"rfnV",7))})),tp:Z("tp",(function(){return t.e(216).then(t.t.bind(null,"phP4",7))})),twig:Z("twig",(function(){return t.e(217).then(t.t.bind(null,"9G73",7))})),typescript:Z("typescript",(function(){return t.e(218).then(t.t.bind(null,"r0Rl",7))})),vala:Z("vala",(function(){return t.e(219).then(t.t.bind(null,"8SK+",7))})),vbnet:Z("vbnet",(function(){return t.e(220).then(t.t.bind(null,"ieeH",7))})),vbscriptHtml:Z("vbscriptHtml",(function(){return t.e(222).then(t.t.bind(null,"9Fqr",7))})),vbscript:Z("vbscript",(function(){return t.e(221).then(t.t.bind(null,"Wj43",7))})),verilog:Z("verilog",(function(){return t.e(223).then(t.t.bind(null,"4Q+X",7))})),vhdl:Z("vhdl",(function(){return t.e(224).then(t.t.bind(null,"MQ8/",7))})),vim:Z("vim",(function(){return t.e(225).then(t.t.bind(null,"PGlF",7))})),x86asm:Z("x86asm",(function(){return t.e(226).then(t.t.bind(null,"oVRe",7))})),xl:Z("xl",(function(){return t.e(227).then(t.t.bind(null,"Jjkb",7))})),xml:Z("xml",(function(){return Promise.resolve().then(t.t.bind(null,"jctj",7))})),xquery:Z("xquery",(function(){return t.e(228).then(t.t.bind(null,"JopO",7))})),yaml:Z("yaml",(function(){return t.e(229).then(t.t.bind(null,"Lns6",7))})),zephir:Z("zephir",(function(){return t.e(230).then(t.t.bind(null,"nwyE",7))}))},registerLanguage:function(n,e,t){return n.registerLanguage(e,t)}}),nn=t("TdF3"),en=t.n(nn).a,tn=t("jctj"),rn=t.n(tn).a,on={hljs:{display:"block",background:"white",padding:"0.5em",color:"#333333",overflowX:"auto"},"hljs-comment":{color:"#969896"},"hljs-meta":{color:"#969896"},"hljs-variable":{color:"#df5000"},"hljs-template-variable":{color:"#df5000"},"hljs-strong":{color:"#df5000"},"hljs-emphasis":{color:"#df5000"},"hljs-quote":{color:"#df5000"},"hljs-keyword":{color:"#d73a49"},"hljs-selector-tag":{color:"#d73a49"},"hljs-type":{color:"#d73a49"},"hljs-literal":{color:"#0086b3"},"hljs-symbol":{color:"#0086b3"},"hljs-bullet":{color:"#0086b3"},"hljs-attribute":{color:"#0086b3"},"hljs-section":{color:"#63a35c"},"hljs-name":{color:"#63a35c"},"hljs-tag":{color:"#333333"},"hljs-title":{color:"#6f42c1"},"hljs-attr":{color:"#6f42c1"},"hljs-selector-id":{color:"#6f42c1"},"hljs-selector-class":{color:"#6f42c1"},"hljs-selector-attr":{color:"#6f42c1"},"hljs-selector-pseudo":{color:"#6f42c1"},"hljs-addition":{color:"#55a532",backgroundColor:"#eaffea"},"hljs-deletion":{color:"#bd2c00",backgroundColor:"#ffecec"},"hljs-link":{textDecoration:"underline"},"hljs-number":{color:"#005cc5"},"hljs-string":{color:"#032f62"}},an={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-comment":{color:"#5c6370",fontStyle:"italic"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},cn=t("21WQ"),ln=t("0w6r"),un=t("iae6"),sn=t("ytZV"),dn=t("xoEV"),pn=t("YoL/"),fn=t.n(pn),bn=t("PsDL"),mn=t("b3K/"),hn=t("csfp");function gn(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function vn(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?gn(Object(t),!0).forEach((function(e){Object(r.a)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):gn(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function yn(){var n=a(["\n import { builder } from '@builder.io/sdk'\n\n builder.init('","')\n builder.apiVersion = 'v3'\n\n builder.get('","').promise().then(content => {\n // Add the HTML to the element needed, wrapping with our webcomponent library\n // to fill in any needed interactivity (e.g. lazy loaded images, interactive tabs, etc)\n document.querySelector('#my-",'\').innerHTML = `\n <builder-component model="page">${content.data.html}</builder-component>\n <script async src="https://cdn.builder.io/js/webcomponents"><\/script>\n `\n });\n '],["\n import { builder } from '@builder.io/sdk'\n\n builder.init('","')\n builder.apiVersion = 'v3'\n\n builder.get('","').promise().then(content => {\n // Add the HTML to the element needed, wrapping with our webcomponent library\n // to fill in any needed interactivity (e.g. lazy loaded images, interactive tabs, etc)\n document.querySelector('#my-",'\').innerHTML = \\`\n <builder-component model="page">\\${content.data.html}</builder-component>\n <script async src="https://cdn.builder.io/js/webcomponents"><\/script>\n \\`\n });\n ']);return yn=function(){return n},n}function jn(){var n=a(['\n <script async src="https://cdn.builder.io/js/webcomponents"><\/script>\n \n \x3c!-- Put this component where you want this Builder content to display --\x3e\n <builder-component model="','" api-key="','">\n \x3c!-- content here displays while loading --\x3e\n Loading...\n </builder-component>\n ']);return jn=function(){return n},n}function wn(){var n=a(['\n <template>\n <RenderContent api-version="v3" model="',"\" />\n </template>\n <script>\n import { RenderContent, builder } from '@builder.io/vue'\n\n builder.init(\"","\")\n builder.apiVersion = 'v3'\n\n export default { \n components: { RenderContent }\n }\n <\/script>\n "]);return wn=function(){return n},n}function On(){var n=a(['\n <template>\n <RenderContent\n v-if="canShowContent"\n model="','"\n api-version="v3"\n :content="content"\n :api-key="apiKey"\n :customComponents="getRegisteredComponents()"\n />\n </template>\n <script>\n // use this if you are on Vue 2\n import { getContent, RenderContent, isPreviewing } from \'@builder.io/sdk-vue/vue2\';\n // OR use this one if you are on Vue 3\n import { getContent, RenderContent, isPreviewing } from \'@builder.io/sdk-vue/vue3\';\n\n export default {\n components: { RenderContent, },\n data: () => ({\n canShowContent: false,\n content: null,\n apiKey: \'',"',\n }),\n mounted() {\n getContent({\n apiVersion: 'v3',\n model: 'page',\n apiKey: '","',\n userAttributes: {\n urlPath: window.location.pathname,\n },\n }).then(res => {\n this.content = res;\n this.canShowContent = this.content || isPreviewing();\n });\n },\n }\n <\/script>\n "]);return On=function(){return n},n}function xn(){var n=a(["\n // In your module\n import { BuilderModule } from '@builder.io/angular'\n @NgModule({\n imports: [ BuilderModule.forRoot('","') ]\n // ...\n })\n export class AppModule {}\n\n // Then in your component template\n <builder-component name=\"",'"></builder-component>\n ']);return xn=function(){return n},n}function kn(){var n=a(["\n import { builder, BuilderComponent } from '@builder.io/react'\n import { graphql } from 'gatsby'\n\n builder.init('","')\n builder.apiVersion = 'v3'\n\n const MyComponent = (props) => {\n const content = props.data?.allBuilderModels.one",'?.content;\n \n return <BuilderComponent\n content={content}\n model="','" />\n }\n\n export default MyComponent; \n\n export const query = graphql`\n query($path: String!) {\n allBuilderModels {\n one',"(\n target: { urlPath: $path }\n options: { cachebust: true }\n ) { content }\n }\n }\n `\n\n // Register your components for use in the visual editor!\n // https://www.builder.io/blog/drag-drop-react\n const Heading = props => (\n <h1 className=\"my-heading\">{props.title}</h1>\n )\n \n Builder.registerComponent(Heading, { \n name: 'Heading',\n inputs: [{ name: 'title', type: 'text' }]\n })\n "],["\n import { builder, BuilderComponent } from '@builder.io/react'\n import { graphql } from 'gatsby'\n\n builder.init('","')\n builder.apiVersion = 'v3'\n\n const MyComponent = (props) => {\n const content = props.data?.allBuilderModels.one",'?.content;\n \n return <BuilderComponent\n content={content}\n model="','" />\n }\n\n export default MyComponent; \n\n export const query = graphql\\`\n query($path: String!) {\n allBuilderModels {\n one',"(\n target: { urlPath: $path }\n options: { cachebust: true }\n ) { content }\n }\n }\n \\`\n\n // Register your components for use in the visual editor!\n // https://www.builder.io/blog/drag-drop-react\n const Heading = props => (\n <h1 className=\"my-heading\">{props.title}</h1>\n )\n \n Builder.registerComponent(Heading, { \n name: 'Heading',\n inputs: [{ name: 'title', type: 'text' }]\n })\n "]);return kn=function(){return n},n}function En(){var n=a(["\n <script>\n import { getContent, RenderContent, getBuilderSearchParams, convertSearchParamsToQueryObject } from '@builder.io/sdk-svelte';\n\n const BUILDER_PUBLIC_API_KEY = '","'; \n\n let content = undefined;\n\n async function fetchContent() {\n content = await getContent({\n apiVersion: 'v3',\n model: ",',\n apiKey: BUILDER_PUBLIC_API_KEY,\n options: getBuilderSearchParams(\n convertSearchParamsToQueryObject($page.url.searchParams)\n ),\n userAttributes: {\n urlPath: $page.url.pathname\n }\n });\n canShowContent = Boolean(content || isEditing());\n };\n fetchContent();\n <\/script>\n \n {#if canShowContent}\n <RenderContent\n apiVersion="v3"\n model="','"\n {content}\n apiKey={BUILDER_PUBLIC_API_KEY}\n customComponents={CUSTOM_COMPONENTS}\n />\n {/if}\n ']);return En=function(){return n},n}function Cn(){var n=a(['\n import React from "react";\n import { builder } from "@builder.io/sdk";\n import Head from "next/head";\n import { RenderBuilderContent } from "@/components/builder";\n \n // Replace with your Public API Key\n builder.init("','");\n \n export default async function Page(props) {\n const content = await builder\n .get("','", {\n userAttributes: {\n urlPath: "/" + (props?.params?.page?.join("/") || ""),\n },\n prerender: false,\n })\n .toPromise();\n \n return (\n <>\n <Head>\n <title>{content?.data.title}</title>\n </Head>\n {/* Render the Builder page */}\n <RenderBuilderContent content={content} />\n </>\n );\n }\n ']);return Cn=function(){return n},n}function Sn(){var n=a(["\n import { builder, BuilderComponent } from '@builder.io/react'\n\n builder.init('","')\n builder.apiVersion = 'v3'\n\n export const getStaticProps = async (context) => {\n const content = await builder.get('","', { url: context.resolvedUrl }).promise();\n\n return { \n props: { content }, \n revalidate: 10,\n notFound: !content\n }\n }\n\n const MyComponent = (props) => (\n <BuilderComponent\n content={props.content}\n model=\"","\" />\n )\n\n export default MyComponent;\n\n // Register your components for use in the visual editor!\n // https://www.builder.io/blog/drag-drop-react\n const Heading = props => (\n <h1 className=\"my-heading\">{props.title}</h1>\n )\n \n Builder.registerComponent(Heading, { \n name: 'Heading',\n inputs: [{ name: 'title', type: 'text' }]\n })\n "]);return Sn=function(){return n},n}function Rn(){var n=a(["\n import { BuilderComponent, builder } from '@builder.io/react'\n \n builder.init('","')\n builder.apiVersion = 'v3'\n \n export const MyComponent = () => {\n const [builderContentJson, setBuilderContentJson] = useState(null)\n \n useEffect(() => { \n builder.get('","', { url: location.pathname })\n .promise().then(setBuilderContentJson)\n }, [])\n \n return <BuilderComponent model=\"","\" content={builderContentJson} />\n }\n\n // Register your components for use in the visual editor!\n // https://www.builder.io/blog/drag-drop-react\n const Heading = props => (\n <h1 className=\"my-heading\">{props.title}</h1>\n )\n \n Builder.registerComponent(Heading, { \n name: 'Heading',\n inputs: [{ name: 'title', type: 'text' }]\n })\n "]);return Rn=function(){return n},n}function Ln(){var n=a(["\n curl https://cdn.builder.io/api/v1/graphql/","?query=query{",'(options:{prerender:true},target:{urlPath:"/some-url"}){content}}\n\n # Example response\n # {\n # "data: {\n # "','": { \n # "content": { \n # "data": {\n # "html": "<div data-builder-component="','"><div class="builder-blocks"><h1>Hello!</h1></div></div>",\n # "customProperty": "customValue"\n # }\n # }\n # } \n # }\n # }\n ']);return Ln=function(){return n},n}function Nn(){var n=a(['\n import { component$, Resource, useResource$ } from "@builder.io/qwik";\n import { useLocation } from "@builder.io/qwik-city";\n import { fetchOneEntry, Content, getBuilderSearchParams } from "@builder.io/sdk-qwik";\n \n export const BUILDER_PUBLIC_API_KEY = "','";\n export const BUILDER_MODEL = "','";\n \n export default component$(() => {\n const location = useLocation();\n const builderContentRsrc = useResource$<any>(() => {\n return fetchOneEntry({\n model: BUILDER_MODEL,\n apiKey: BUILDER_PUBLIC_API_KEY,\n options: getBuilderSearchParams(location.url.searchParams),\n userAttributes: {\n urlPath: location.url.pathname || "/",\n },\n });\n });\n \n return (\n <Resource\n value={builderContentRsrc}\n onPending={() => <div>Loading...</div>}\n onResolved={(content) => (\n <Content\n model={BUILDER_MODEL}\n content={content}\n apiKey={BUILDER_PUBLIC_API_KEY}\n />\n )}\n />\n );\n });\n ']);return Nn=function(){return n},n}function Pn(){var n=a(['\n struct MyView: View {\n @State private var content: BuilderContent?\n\n init() {\n getContent(model: "','", apiKey: "','", url: "/") { result in\n content = result\n }\n }\n\n var body: some View {\n if let content = content {\n RenderContent(content)\n }\n } \n ']);return Pn=function(){return n},n}function In(){var n=a(['\n @Composable\n fun Main() {\n var content by remember { mutableStateOf<BuilderContent?>(null) }\n \n // Fetch content\n getContent("','", "','", "/") { received ->\n content = received\n }\n \n if (content != null) {\n // Render content\n RenderContent(content!!)\n }\n }\n ']);return In=function(){return n},n}function Bn(){var n=a(["\n import { BuilderComponent, builder, useIsPreviewing } from '@builder.io/react';\n import type { BuilderContent } from '@builder.io/sdk';\n import { useLoaderData } from '@remix-run/react';\n import type { LoaderFunction } from '@remix-run/node';\n\n builder.init('","');\n builder.apiVersion = 'v3';\n\n export const loader: LoaderFunction = async ({ params }) => {\n const page = await builder\n .get('","', {\n userAttributes: {\n urlPath: '/' + params['*'],\n },\n })\n .toPromise();\n\n if (page) return page;\n\n return {};\n };\n\n // this gives full compatibility to BuilderContent type and Remix starter\n // See: https://github.com/BuilderIO/builder/issues/1387#issuecomment-1397442797\n type BuilderContentRemix = Omit<BuilderContent, 'variations' | 'data'>;\n\n export default function Page() {\n const page: BuilderContentRemix = useLoaderData<BuilderContentRemix>();\n const isPreviewingInBuilder = useIsPreviewing();\n const show404 = !page && !isPreviewingInBuilder;\n\n if (show404) {\n return <h1>404 not found (customize your 404 here)</h1>;\n }\n\n return (\n <BuilderComponent model=\"",'" content={page} />\n );\n }']);return Bn=function(){return n},n}function An(){var n=a(["\n import { BuilderComponent, builder, useIsPreviewing } from '@builder.io/react';\n import type { BuilderContent } from '@builder.io/sdk';\n import { useLoaderData } from '@remix-run/react';\n import type { LoaderFunction } from '@remix-run/node';\n\n builder.init('","');\n builder.apiVersion = 'v3';\n\n export const loader: LoaderFunction = async ({ params }) => {\n const page = await builder\n .get('","', {\n userAttributes: {\n urlPath: '/' + params['*'],\n },\n })\n .toPromise();\n\n if (page) return page;\n\n return {};\n };\n\n // this gives full compatibility to BuilderContent type and Remix starter\n // See: https://github.com/BuilderIO/builder/issues/1387#issuecomment-1397442797\n type BuilderContentRemix = Omit<BuilderContent, 'variations' | 'data'>;\n\n export default function Page() {\n const page: BuilderContentRemix = useLoaderData<BuilderContentRemix>();\n const isPreviewingInBuilder = useIsPreviewing();\n const show404 = !page && !isPreviewingInBuilder;\n\n if (show404) {\n return <h1>404 not found (customize your 404 here)</h1>;\n }\n\n return (\n <BuilderComponent model=\"",'" content={page} />\n );\n }']);return An=function(){return n},n}function Fn(){var n=a(["\n curl https://cdn.builder.io/api/v1/html/","?apiKey=",'&url=/some-url\n\n # Example response\n # {\n # "id": "c923kd89",\n # "name": "My first homepage",\n # "data: {\n # "html": "<div data-builder-component="','"><div class="builder-blocks"><h1>Hello!</h1></div></div>",\n # "customProperty": "customValue"\n # }\n # }\n ']);return Fn=function(){return n},n}function _n(){var n=a(["\n // Use any SDK with Astro, such as React, Vue, Svelte, or Qwik\n import { Content, fetchOneEntry } from '@builder.io/sdk-qwik';\n\n const BUILDER_API_KEY = '","';\n const MODEL = '","';\n\n const content = await fetchOneEntry({\n model: MODEL,\n apiKey: BUILDER_API_KEY,\n userAttributes: {\n urlPath: Astro.url.pathname,\n },\n options: getBuilderSearchParams(Astro.url.searchParams),\n });\n\n ---\n\n <Content apiKey={BUILDER_API_KEY} model={MODEL} content={content} />\n "]);return _n=function(){return n},n}function Mn(){var n=a(["\n {% comment %}\n Include this anywhere in your liquid code\n Alternatively, you can use symbols to include this content in any other Builder content\n https://www.builder.io/c/docs/symbols\n {% endcomment %}\n\n {% include 'model.",".builder' %}\n "]);return Mn=function(){return n},n}function Tn(){var n=a(["\n import React, { useState, useEffect } from 'react';\n import {\n RenderContent,\n isEditing,\n getContent,\n } from '@builder.io/sdk-react-native';\n\n function MyComponent() {\n const [content, setContent] = useState(undefined);\n\n useEffect(() => {\n getContent({\n apiVersion: 'v3',\n model: '","',\n apiKey: '","',\n userAttributes: {\n urlPath: '/',\n },\n })\n .then((content: any) => {\n if (content) {\n setContent(content);\n }\n })\n }, []);\n \n const shouldRenderBuilderContent = content || isEditing();\n \n return <>\n {shouldRenderBuilderContent ? (\n <RenderContent\n apiVersion=\"v3\"\n apiKey=\"",'"\n model="','"\n content={content}\n />\n ) : null}\n </>\n };']);return Tn=function(){return n},n}var Dn=function(n){return(n[0]||"").toUpperCase()+n.substring(1)},Un=function(n){return n.replace(/-([a-z])/g,(function(n){return n[1].toUpperCase()}))};X.registerLanguage("html",rn),X.registerLanguage("xml",rn),X.registerLanguage("javascript",en);var qn=["next","nextApp","qwik","react","remix","nuxt","vue","svelte","gatsby","angular","astro","rest","android","swift","reactNative","shopify","graphql","javascript","webcomponents"],Gn="builder:codeSnippets:changeTab",Kn="builder:codeSnippets:useTab",Hn="codeFramework";function zn(){var n=Object(c.a)(Kn);return"hydrogen"===n||qn.includes(n)?n:"react"}var Vn={reactNative:{beta:!0,name:"React Native",language:"javascript",documentationUrl:"https://github.com/BuilderIO/builder/tree/main/examples/react-native",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Ff7f23f464c2f4b74885351c2e14ecd78",code:function(n,e){return u()(Tn(),n,e,e,n)}},shopify:{image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F0f577e84eb4e4aa4a69d602dd376aa11",name:"Shopify",code:function(n){return u()(Mn(),n)},language:"django",documentationUrl:"https://www.builder.io/c/docs/shopify/developers"},astro:{image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F6683129cb5944ad69859252e52bc2d68",name:"Astro",code:function(n,e){return u()(_n(),e,n)},language:"javascript"},rest:{name:"REST API",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F7c16907175964f5dada038f6cceef77b",code:function(n,e){return u()(Fn(),n,e,n)},language:"bash"},remix:{name:"Remix",image:"https://cdn.builder.io/api/v1/image/assets%2Fd3e7739f05c5462bad48687394709cb2%2F497d2d634a44407493fb729cf41f3c69",language:"typescript",code:function(n,e){return u()(An(),e,n,n)}},hydrogen:{name:"Hydrogen",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F60ec83a3c22c4249992c85bf52a0368c",language:"typescript",code:function(n,e){return u()(Bn(),e,n,n)}},android:{beta:!0,name:"Android",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F5e5316b4de0d4504be4a01efe5809820",language:"kotlin",code:function(n,e){return u()(In(),n,e)}},swift:{beta:!0,name:"Swift",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fb403a2aab9c147708109b6e1c00e922f",language:"swift",code:function(n,e){return u()(Pn(),n,e)}},qwik:{beta:!0,name:"Qwik",image:"https://cdn.builder.io/api/v1/image/assets%2F91433a8232dc4a16bee10e691e6fcc2d%2F086c7415befc416194a0d0fada58fe6e",code:function(n,e){return u()(Nn(),e,n)},language:"typescript"},graphql:{name:"GraphQL",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fb739b409e5b94937b5b11e3cf62cfae4",code:function(n,e){return u()(Ln(),e,Un(n),Un(n),n)},language:"bash",documentationUrl:"https://builder.io/graphql-explorer"},react:{name:"React",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F2f3409f4f8b64d5f880195061aa481ab",code:function(n,e){return u()(Rn(),e,n,n)},language:"javascript"},next:{name:"Next",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fc6a3c58c0bde4f43b1fd6a350f491bdf",code:function(n,e){return u()(Sn(),e,n,n)},language:"javascript"},nextApp:{name:"App Router",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F430cde975c634b598fd6869acdab24e2",code:function(n,e){return u()(Cn(),e,n||"page")},language:"javascript"},svelte:{beta:!0,name:"Svelte",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd47e360aebc14a6db389404016274955",code:function(n,e){return u()(En(),e||"YOUR KEY HERE",n||"page",n||"page")},language:"html",documentationUrl:"https://github.com/BuilderIO/builder/tree/main/examples/svelte/sveltekit"},gatsby:{name:"Gatsby",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F45e59fc603574e708dcb79e45ef72d02",code:function(n,e){return u()(kn(),e,Dn(Un(n)),n,Dn(Un(n)))},language:"javascript",documentationUrl:"https://github.com/BuilderIO/builder/tree/master/packages/gatsby"},angular:{name:"Angular",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fa91e9e437203442d8ed481eef94a99dc",code:function(n,e){return u()(xn(),e,n)},language:"javascript"},vue:{name:"Vue",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F7cc6d5b6fc4045d5a9f9b12ddcc65407",code:function(n,e){return u()(On(),n,e,e)},language:"html"},nuxt:{name:"Nuxt",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F1e4bf6c6831b44ef8fae511f30b62ad5",code:function(n,e){return u()(wn(),n,e)},language:"html"},webcomponents:{image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F5613cb3536be4c108b32c34bf06f1c59",name:"Webcomponents",code:function(n,e){return u()(jn(),n,e)},language:"html",documentationUrl:"https://www.builder.io/c/docs/webcomponents-api"},javascript:{image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd09e5d3e78654f34964b8ff30988fd2e",name:"JS",language:"javascript",code:function(n,e,t){return u()(yn(),e,n,"page"===t?"page":"section")}}},Yn="Copy code to clipboard",Jn={name:"1afva9e",styles:"display:flex;padding:50px"},$n={name:"y1f223",styles:"margin:auto"},Wn={name:"1qrxnf4",styles:"display:flex;overflow:auto"},Qn={name:"1np0oea",styles:"display:flex;margin:auto"},Zn={name:"kff9ir",styles:"text-transform:capitalize"},Xn={name:"13mm6hr",styles:"text-align:center;padding:30px"},ne={name:"17on2q1",styles:"position:relative;&:hover .copy-to-clipboard{display:block !important;}& code{font-size:14px;}"},ee={name:"j24cmv",styles:"color:white;opacity:0.7"};function te(n){var e,t,r,a=Object(s.useState)(zn),l=a[0],u=a[1],p=Object(s.useState)(Yn),f=p[0],b=p[1],m=n.manuallyProvideHydrogenContent?l:"hydrogen"===l?"remix":l,h=Object(i.a)(n.tabs?n.tabs.split(",").filter((function(n){return qn.includes(n)})):qn);if(n.omitTabs){var g=n.omitTabs.split(",");h=h.filter((function(n){return!g.includes(n)}))}h.includes("remix")&&!h.includes("hydrogen")&&h.splice(h.indexOf("remix")+1,0,"hydrogen"),l&&!h.includes(l)&&u(h[0]);var v=(null===(e=n.overrideTabsContent)||void 0===e?void 0:e.split(",").filter((function(n){return h.includes(n)})))||[],y=Object(s.useState)(!1),j=y[0],w=y[1];ln.b.isBrowser&&Object(d.a)(window,Gn,(function(n){var e=n.detail.tab;h.includes(e)&&u(e)}));var O=n.modelType||"page";function x(n){h.includes(n)&&(u(n),Object(c.d)(Kn,n,365,location.hostname.endsWith("builder.io")?";domain=builder.io":void 0),window.dispatchEvent(new CustomEvent(Gn,{detail:{tab:n}})))}Object(s.useEffect)((function(){var n=Object(c.b)(location.href,Hn);if(n&&h.includes(n)){var e=new URL(location.href);e.searchParams.delete(Hn);var t=e.searchParams.toString(),r=e.pathname+(t?"?"+t:"")+(e.hash||"");x(n),setTimeout((function(){window.history.replaceState({},"_replace",r)}),500)}}),[]);var k=Object(c.a)("builder.apiKey")||"YOUR_KEY",E=Vn[l],C=null===E||void 0===E?void 0:E.code(n.modelName||"page",k||"YOUR_API_KEY",n.modelType||"page");return Object(s.useEffect)((function(){w(!0)}),[]),j?Object(o.c)("div",null,Object(o.c)("div",{css:Wn},Object(o.c)("div",{css:Qn},Object(o.c)("style",null,"\n .builder-code-snippets-beta-tooltip {\n background-color: transparent;\n color: ".concat(cn.a.colors.primary,";\n transform: translateY(20px) !important;\n }\n ")),h.map((function(n,e){var t=Vn[n],r=l===n;return Object(o.c)(hn.a,{classes:{tooltip:"builder-code-snippets-beta-tooltip"},title:t.beta?"Beta":"",open:r,key:e,placement:"top"},Object(o.c)("button",{title:n,css:Object(o.b)({cursor:"pointer",appearance:"none",border:"none",padding:"10px 0",background:"none",outline:"none",textAlign:"center",filter:r?"none":"grayscale(100%)",fontWeight:r?"bold":void 0,opacity:r?1:.3,transition:"filter 0.1s ease-in-out, opacity 0.1s ease-in-out","&:hover":{opacity:r?void 0:1,filter:r?void 0:"none",".name":{maxWidth:"none"}}},""),className:r?"selected":"",onClick:function(){return x(n)},key:e},Object(o.c)("img",{className:"dark-mode-no-filter",css:Object(o.b)(vn({width:30,height:30,objectFit:"contain",objectPosition:"center"},"Astro"===t.name&&{position:"relative",top:2}),""),src:(null===t||void 0===t?void 0:t.image)||Vn.rest.image}),Object(o.c)("div",{className:"name",css:Object(o.b)({marginTop:5,maxWidth:r?"none":70,minWidth:70,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"")},(null===t||void 0===t?void 0:t.name)||Object(o.c)("span",{css:Zn},n))))})))),Object(o.c)("div",null,v.includes(m)?Object(o.c)(sn.BuilderBlocks,{child:!0,parentElementId:null===(t=n.builderBlock)||void 0===t?void 0:t.id,blocks:null===(r=n.customTabContent)||void 0===r?void 0:r[m],dataPath:"component.options.customTabContent.".concat(m)}):Object(o.c)(s.default.Fragment,null,"page"===O&&"shopify"===l?Object(o.c)("div",{css:Xn},"Page building is built into our Theme Studio for Shopify app, no integration required!"):Object(o.c)("div",{css:ne},Object(o.c)(hn.a,{title:f},Object(o.c)(bn.a,{css:Object(o.b)({position:"absolute !important",top:0,right:0,display:"none !important",zIndex:10},"",""),className:"copy-to-clipboard",onMouseLeave:function(){b(Yn)},onClick:function(){Object(mn.a)(C),b("Copied!")}},Object(o.c)(fn.a,{css:ee}))),Object(o.c)(dn.a,{code:C||""},Object(o.c)("div",{className:"dark-mode-invert"},Object(o.c)(X,{customStyle:{fontFamily:'Menlo, Monaco, "Courier New", monospace',lineHeight:"1em",fontSize:"1.2em",padding:"20px",borderRadius:4},style:!1!==n.dark?an:on,language:(null===E||void 0===E?void 0:E.language)||"javascript"},C||""))))),(!n.hideLearnMoreLink||!n.hideLearnMoreLink.split(",").includes(m))&&Object(o.c)("a",{css:Object(o.b)({padding:10,textAlign:"center",color:cn.a.colors.primary,display:"block"},"",""),href:"shopify"===l&&"page"===O?"https://apps.shopify.com/builder-2":(null===E||void 0===E?void 0:E.documentationUrl)||"https://www.builder.io/c/docs/developers",target:"_blank",rel:"noopener"},"Learn more"))):Object(o.c)("div",{css:Jn},Object(o.c)(un.a,{disableShrink:!0,size:30,css:$n}))}},iae6:function(n,e,t){"use strict";var r=t("wx14"),o=t("Ff2n"),i=t("FdF9"),a=(t("17x9"),t("iuhU")),c=t("H2TA"),l=t("NqtD"),u=44,s=i.forwardRef((function(n,e){var t=n.classes,c=n.className,s=n.color,d=void 0===s?"primary":s,p=n.disableShrink,f=void 0!==p&&p,b=n.size,m=void 0===b?40:b,h=n.style,g=n.thickness,v=void 0===g?3.6:g,y=n.value,j=void 0===y?0:y,w=n.variant,O=void 0===w?"indeterminate":w,x=Object(o.a)(n,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),k={},E={},C={};if("determinate"===O||"static"===O){var S=2*Math.PI*((u-v)/2);k.strokeDasharray=S.toFixed(3),C["aria-valuenow"]=Math.round(j),k.strokeDashoffset="".concat(((100-j)/100*S).toFixed(3),"px"),E.transform="rotate(-90deg)"}return i.createElement("div",Object(r.a)({className:Object(a.a)(t.root,c,"inherit"!==d&&t["color".concat(Object(l.a)(d))],{determinate:t.determinate,indeterminate:t.indeterminate,static:t.static}[O]),style:Object(r.a)({width:m,height:m},E,h),ref:e,role:"progressbar"},C,x),i.createElement("svg",{className:t.svg,viewBox:"".concat(22," ").concat(22," ").concat(u," ").concat(u)},i.createElement("circle",{className:Object(a.a)(t.circle,f&&t.circleDisableShrink,{determinate:t.circleDeterminate,indeterminate:t.circleIndeterminate,static:t.circleStatic}[O]),style:k,cx:u,cy:u,r:(u-v)/2,fill:"none",strokeWidth:v})))}));e.a=Object(c.a)((function(n){return{root:{display:"inline-block"},static:{transition:n.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:n.transitions.create("transform")},colorPrimary:{color:n.palette.primary.main},colorSecondary:{color:n.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:n.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:n.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(s)},jctj:function(n,e){function t(n){return n?"string"===typeof n?n:n.source:null}function r(n){return o("(?=",n,")")}function o(...n){return n.map((n=>t(n))).join("")}function i(...n){return"("+n.map((n=>t(n))).join("|")+")"}n.exports=function(n){const e=o(/[A-Z_]/,o("(",/[A-Z0-9_.-]+:/,")?"),/[A-Z0-9_.-]*/),t={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=n.inherit(a,{begin:/\(/,end:/\)/}),l=n.inherit(n.APOS_STRING_MODE,{className:"meta-string"}),u=n.inherit(n.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[t]},{begin:/'/,end:/'/,contains:[t]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,u,l,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,c,u,l]}]}]},n.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},t,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:o(/</,r(o(e,i(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:e,relevance:0,starts:s}]},{className:"tag",begin:o(/<\//,r(o(e,/>/))),contains:[{className:"name",begin:e,relevance:0},{begin:/>/,relevance:0}]}]}}},kNCj:function(n,e,t){"use strict";t.r(e),t.d(e,"capitalize",(function(){return r.a})),t.d(e,"createChainedFunction",(function(){return o.a})),t.d(e,"createSvgIcon",(function(){return i.a})),t.d(e,"debounce",(function(){return a.a})),t.d(e,"deprecatedPropType",(function(){return c})),t.d(e,"isMuiElement",(function(){return l.a})),t.d(e,"ownerDocument",(function(){return u.a})),t.d(e,"ownerWindow",(function(){return s.a})),t.d(e,"requirePropFactory",(function(){return d})),t.d(e,"setRef",(function(){return p.a})),t.d(e,"unsupportedProp",(function(){return f.a})),t.d(e,"useControlled",(function(){return b.a})),t.d(e,"useEventCallback",(function(){return m.a})),t.d(e,"useForkRef",(function(){return h.a})),t.d(e,"unstable_useId",(function(){return g.a})),t.d(e,"useIsFocusVisible",(function(){return v.a}));var r=t("NqtD"),o=t("x6Ns"),i=t("5AJ6"),a=t("l3Wi");function c(n,e){return function(){return null}}var l=t("ucBr"),u=t("gk1O"),s=t("g+pH");function d(n){return function(){return null}}var p=t("GIek"),f=t("y6BH"),b=t("yCxk"),m=t("Ovef"),h=t("bfFb"),g=t("wRgb"),v=t("G7As")},"p+/H":function(n,e,t){"use strict";n.exports=function(n){var e=void 0;e="string"===typeof n?[n]:n.raw;for(var t="",r=0;r<e.length;r++)t+=e[r].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),r<(arguments.length<=1?0:arguments.length-1)&&(t+=arguments.length<=r+1?void 0:arguments[r+1]);var o=t.split("\n"),i=null;return o.forEach((function(n){var e=n.match(/^(\s+)\S+/);if(e){var t=e[1].length;i=i?Math.min(i,t):t}})),null!==i&&(t=o.map((function(n){return" "===n[0]?n.slice(i):n})).join("\n")),(t=t.trim()).replace(/\\n/g,"\n")}},qCs2:function(n,e,t){"use strict";var r=t("FdF9");function o(n,e){var t,r;if(n===e)return!0;if(n&&e&&(t=n.constructor)===e.constructor){if(t===Date)return n.getTime()===e.getTime();if(t===RegExp)return n.toString()===e.toString();if(t===Array&&(r=n.length)===e.length){for(;r--&&o(n[r],e[r]););return-1===r}if(t===Object){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(r in n)if(!(r in e)||!o(n[r],e[r]))return!1;return!0}}return n!==n&&e!==e}function i(n){const e=r.default.useRef([]);return o(n,e.current)||(e.current=n),e.current}e.a=function(n,e,t,o){const a=Object(r.useRef)(t);a.current=t;const c=(l=()=>o,u=[o],r.default.useMemo(l,i(u)));var l,u;Object(r.useEffect)((()=>{if(!n)return;const t=e=>a.current.call(n,e);return n.addEventListener(e,t,c),()=>{n.removeEventListener(e,t,c)}}),[n,e,c])}},ucBr:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var r=t("FdF9");function o(n,e){return r.isValidElement(n)&&-1!==e.indexOf(n.type.muiName)}},xoEV:function(n,e,t){"use strict";t.d(e,"a",(function(){return h}));var r=t("rePB"),o=t("AeFk"),i=t("FdF9"),a=t("a8ZA"),c=t("csfp"),l=t("21WQ");function u(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function s(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){Object(r.a)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function d(n,e){var t;if("undefined"===typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(t=function(n,e){if(!n)return;if("string"===typeof n)return p(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return p(n,e)}(n))||e&&n&&"number"===typeof n.length){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return a=n.done,n},e:function(n){c=!0,i=n},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw i}}}}function p(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}var f=function(n){return Object(o.c)(a.a,{css:Object(o.b)({color:l.a.colors.primaryLight,fontWeight:"bold"},"",""),target:"_blank",href:n.href},n.children)},b=[{match:[/webcomponents/],content:Object(o.c)(i.default.Fragment,null,"Learn about the"," ",Object(o.c)(f,{href:"https://www.builder.io/c/docs/webcomponents-api"},"Web Components SDK")," ")},{match:[/shopify/],content:Object(o.c)(i.default.Fragment,null,"Learn about"," ",Object(o.c)(f,{href:"https://www.builder.io/c/docs/shopify/developers"},"Builder with Shopify")," ")},{match:[/builder\.io\/api\/v1\/html/],content:Object(o.c)(i.default.Fragment,null,"Learn about the"," ",Object(o.c)(f,{href:"https://www.builder.io/c/docs/html-api"},"HTML API")," ")},{match:[/builder\.io\/api\/v2\/content/],content:Object(o.c)(i.default.Fragment,null,"Learn about the"," ",Object(o.c)(f,{href:"https://www.builder.io/c/docs/query-api"},"Content API")," ")},{match:[/builder\.io\/api\/v1\/graphql/],content:Object(o.c)(i.default.Fragment,null,"Learn about the"," ",Object(o.c)(f,{href:"https://www.builder.io/c/docs/graphql-api"},"GraphQL API")," ")}],m={name:"p5bay7",styles:"padding:0 8px;font-size:14px"};function h(n){var e=n.code,t=e?b.filter((function(n){var t=n.match;if("string"===typeof t)return e.includes(t);if(t instanceof RegExp)return t.test(e);var r,o=d(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;return"string"===typeof i?e.includes(i):i.test(e)}}catch(a){o.e(a)}finally{o.f()}})):[],r=t.length;return Object(o.c)(c.a,{placement:"left",classes:{tooltip:"dark-mode-invert"},disableHoverListener:!r,disableFocusListener:!r,interactive:!0,title:r?Object(o.c)("div",{css:m},t.map((function(n,e){return Object(o.c)("div",{key:e,css:Object(o.b)(s({padding:"8px 0"},e>0&&{borderTop:"1px solid rgba(255, 255, 255, 0.15)"}),"")},n.content)}))):""},Object(o.c)("div",null,n.children))}},y6BH:function(n,e,t){"use strict";function r(n,e,t,r,o){return null}t.d(e,"a",(function(){return r}))}}]);