Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f458db37-e063-4b66-872f-101eda56f5f8",e._sentryDebugIdIdentifier="sentry-dbid-f458db37-e063-4b66-872f-101eda56f5f8")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"5.501.3"},(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[45672],{10639:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={Code:"Code1GcUiWRi7v92",MdxExpression:"MdxExpression11FWETB-vBUg",MdxJsxTextElement:"MdxJsxTextElement3gg5LNXh7o_v",GlossaryTermLeaf:"GlossaryTermLeaf3gUwtS6Ty03a"}},38668:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={Decoration:"Decoration2SdwNcNVDB0b",Decoration_Link:"Decoration_Link1bRDXoUDLm6S","EditorMenu-list":"EditorMenu-list3Pxm-sQlNCy7","EditorMenu-label":"EditorMenu-label4ejB7irlalGC"}},99828:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={MarkdownEditor:"MarkdownEditor2xcn6vM5MZDu",link:"linkMkgzFUsYHTO7",Container:"Container2He8HlCCKYap",Container_Button:"Container_Button3GWU9eZFNUCw",selected:"selectedpsKEHjmSgRp2",SelectionWrapper:"SelectionWrapperWbFGk1yJfuyD","SelectionWrapper-overlay":"SelectionWrapper-overlay8lCJyj2fcCZ0",SelectionWrapper_selected:"SelectionWrapper_selected2YuyJLsfm81p","SelectionWrapper-inline":"SelectionWrapper-inline16SxCmXsFrsy","SelectionWrapper-image":"SelectionWrapper-image2hg4GghjlZ0z","SelectionWrapper-image-align-center":"SelectionWrapper-image-align-centerFRnmp7pHDLNs","SelectionWrapper-image-align-right":"SelectionWrapper-image-align-right1vW2Bzz0JLqq","SelectionWrapper-embed":"SelectionWrapper-embedmNqoKhI2hRwf","SelectionWrapper-jsfiddle":"SelectionWrapper-jsfiddle3LsoGGT1I3cs","SelectionWrapper-pdf":"SelectionWrapper-pdf2fO5AovcBVOq","SelectionWrapper-youtube":"SelectionWrapper-youtube1xEdqKLLNtuv"}},42990:(e,t,n)=>{"use strict";n.d(t,{G8:()=>h,Ay:()=>b});var r=n(14041),o=(n(83902),n(16349),n(23922),n(96837),n(57627),n(67136)),a=n(58160),i=n(31085),c=n(55113),s=n(98967),l=n(3230),u=n(20775),d=["children"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.d(t,{A:()=>d});n(83902),n(16349),n(23922),n(96837),n(57627);var r=n(67136),o=n(49555),a=n(6146),i=n.n(a),c=n(14041),s=n(88836),l=n.n(s);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{key:"label",highlight:!0};return(0,c.useMemo)((function(){return t?i().go(t,e,Array.isArray(n.key)?{keys:n.key}:{key:n.key}).reduce((function(e,t){var a=(0,o.A)(e,2),c=a[0],s=a[1],d=t.obj;if(c.push(function(e){for(var t=1;t{"use strict";n.d(t,{A:()=>i});n(3260);var r=n(80085),o=n(14041),a=n(78682);const i=function(){var e=(0,o.useContext)(a.vz).project,t=e.is_active,n=e.trial,i=e.gracePeriod,c=e.plan,s=e.planOverride,l=(0,o.useMemo)((function(){return!s&&["free","freelaunch"].includes(c)}),[c,s]),u=(0,o.useMemo)((function(){return(!i||!i.enabled)&&(l&&n&&n.trialDeadlineEnabled&&0===(0,r.g)(null==n?void 0:n.trialEndsAt))}),[i,l,n]);return!!l&&!t&&!u}},45680:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,y:()=>i});n(83902),n(16349),n(23922),n(96837),n(57627);var r=n(67136),o=n(35468);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var i=function(){var e;return{"X-XSRF-TOKEN":null!==(e=o.A.get("XSRF-TOKEN"))&&void 0!==e?e:"","Content-Type":"application/json"}};const c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){for(var t=1;t{"use strict";n.d(t,{A:()=>Ce});n(83902),n(16349),n(23922),n(96837),n(57627);var r=n(67136),o=n(32816),a=n(49555),i=n(92207),c=n.n(i),s=(n(61629),n(93849),n(8947),n(28200),n(31085)),l=n(14041),u=n(59503),d=n(78682),f=n(31683),p=n(3856),m=n(14510),g=n(2614),h=n(58597),b=n(82297),v=n(3230),y=n(62228),j=n(45982),O=n(31733),w=n(10313),A=n(16540),x=n(10790),P=n(50740),E=n(84801),k=n(55032),C=n(15281),D=n(16975),N=n(27639),S=n(31541),M=n(58160),B=(n(54067),n(12784)),T=n.n(B),R=n(11104),K=n(83382),I=n(46555),L=n(38644),_=(n(2843),n(59542)),z=n(56752),F=n(16479),H=n(73509),U=n(20062),V=n(26146);function q(e,t,n){return t=(0,H.A)(t),(0,F.A)(e,W()?Reflect.construct(t,n||[],(0,H.A)(e).constructor):t.apply(e,n))}function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(W=function(){return!!e})()}const X=function(e){function t(){var e;(0,_.A)(this,t);for(var n=arguments.length,o=new Array(n),a=0;a {\n return (\n
\n
\n

{header}

\n

\n \n Write MDX to render interactive content\n

\n

\n \n Style elements with Tailwind CSS\n

\n

\n \n Need inspiration? Check out our Marketplace!\n

\n
\n
\n );\n};\n\n\n';const ee={ComponentEditor:"ComponentEditorn-kG_0sbsa4q","ComponentEditor-inputWrapper":"ComponentEditor-inputWrapperPYaZCIOvwPIn","ComponentEditor-codeInput":"ComponentEditor-codeInput3rPD6wIayd2S","ComponentEditor-preview":"ComponentEditor-preview2V8EAgUYW4Qr","ComponentEditor-preview_col":"ComponentEditor-preview_col3xuNIQohK1pK","ComponentEditor-preview_row":"ComponentEditor-preview_row1-_ZI2wOzD7f","ComponentEditor-preview_light":"ComponentEditor-preview_light1BZr7WfltZRS","ComponentEditor-preview-header":"ComponentEditor-preview-header2XS1phPJIgDJ","ComponentEditor-preview-render":"ComponentEditor-preview-render1cpO_VZOWyQv"};var te=n(39907),ne=["onChange"];function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t.")})),e.t0;case 17:case"end":return e.stop()}}),e,null,[[4,12]])}))),[Le,null==T?void 0:T.tag,B,_e]);(0,p.A)("keydown",(function(e){(e.ctrlKey||e.metaKey)&&"s"===e.key&&(e.preventDefault(),e.stopPropagation(),Qe&&ut())}),{target:F.current});var gt=(0,l.useMemo)((function(){var e,t;return{pageCount:null==T||null===(e=T.usage)||void 0===e?void 0:e.page_count,projectCount:null==T||null===(t=T.usage)||void 0===t?void 0:t.project_count}}),[T]);return(0,s.jsxs)("form",{ref:F,className:z("&",r),id:_("form"),name:"custom-blocks-form",children:[(0,s.jsxs)("div",{className:z("-controls"),children:[(0,s.jsxs)("div",{className:z("-controls-inline"),children:[!(!nt&&!ke)&&(0,s.jsx)(ge,{isFocused:st,onCancel:function(){Ce(!1),Ve("name")},onSubmit:ut}),(0,s.jsxs)(w.A,{ref:H,appendTo:function(){return document.body},justify:"start",sticky:!0,children:[(0,s.jsxs)(O.A,{className:z("-controls-config-btn",nt&&"-controls-config-btn-create"),kind:"secondary",size:"sm",text:!0,children:[!(nt||ke)&&(0,s.jsx)(D.Ay,{arrow:!1,content:Ye,delay:[800,200],placement:"top-start",children:(0,s.jsx)("span",{className:z("-controls-config-btn-name","component"===Re&&"-controls-config-btn-name_tag"),children:Ye})}),(0,s.jsx)(x.A,{color:"color-text-minimum-icon",name:"more-vertical"})]}),(0,s.jsxs)(P.Ay,{children:[!nt&&(at?(0,s.jsx)(P.Dr,{focusable:!1,children:(0,s.jsx)(k.A,{size:"sm"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.Dr,{disabled:!ot||ke,icon:(0,s.jsx)(x.A,{name:"edit-2"}),onClick:pt,children:"Rename"}),(0,s.jsx)(P.Dr,{color:"red",disabled:!ot||ae,icon:(0,s.jsx)(x.A,{name:"skull",strokeWeight:2.75}),onClick:mt,children:"Delete"}),!ot&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.Nj,{}),(0,s.jsx)(P.Dr,{description:"You must remove this content from all pages before renaming or deleting it.",focusable:!1})]})]})),!nt&&(0,s.jsx)(P.Nj,{}),"content"===Re&&(0,s.jsx)(P.Dr,{TagName:"label",children:(0,s.jsxs)(A.A,{align:"center",className:z("-toggle-item"),gap:"sm",children:["Raw Mode",(0,s.jsx)(C.A,{checked:Oe,onChange:dt,type:"toggle"})]})})]})]})]}),!nt&&(0,s.jsx)(S.A,{blockId:T.tag||null,isGlobal:!1,showProjectUsage:!!Ke,usageData:gt}),!!nt&&!!Te&&(0,s.jsxs)(O.A,{className:z("-github-link"),href:Te,kind:"contrast",link:!0,rel:"noreferrer",target:"_blank",uppercase:!0,children:["View in GitHub ",(0,s.jsx)(x.A,{"aria-label":"Opens in a new tab",name:"arrow-up-right"})]})]}),"component"===Re?(0,s.jsx)(ie,{}):(0,s.jsx)(xe,{isRawMode:Oe,mdxRenderable:J,name:T.name},be),(0,s.jsxs)("div",{className:z("-footer"),children:[(0,s.jsx)(O.A,{disabled:!I&&!Qe,ghost:!0,kind:"secondary",onClick:ft,size:"sm",text:!0,children:"Cancel"}),(0,s.jsx)(O.A,{disabled:!rt,form:_("form"),loading:te,onClick:function(){return ut()},size:"sm",type:"button",children:lt})]})]})}function Ce(e){return(0,s.jsx)(J,{defaultValues:e.item,children:(0,s.jsx)(se,{children:(0,s.jsx)(ke,Ee({},e))})})}},27639:(e,t,n)=>{"use strict";n.d(t,{a:()=>s,t:()=>c});var r=n(49555),o=n(31085),a=n(14041),i=(0,a.createContext)(void 0);function c(e){var t=e.children,n=(0,a.useState)(null),c=(0,r.A)(n,2),s=c[0],l=c[1],u={marketplaceData:s,setMarketplaceData:function(e){l(e)},clearMarketplaceData:function(){l(null)}};return(0,o.jsx)(i.Provider,{value:u,children:t})}function s(){return(0,a.useContext)(i)}},31541:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(67136),o=n(49555),a=(n(27357),n(74397),n(3260),n(28200),n(23922),n(14292),n(83902),n(16349),n(96837),n(57627),n(31085)),i=n(29076),c=n(25483),s=n(14041),l=n(16563),u=n(27415),d=n(78682),f=n(31683),p=n(97148),m=n(2614),g=n(82297),h=n(31733),b=n(10313),v=n(16540),y=n(10790),j=n(87352),O=n(50740),w=n(55032);const A={PageUsageMenu:"PageUsageMenu2PkPuPeQAx6R","PageUsageMenu-label":"PageUsageMenu-label3WfF0PlgECnO","PageUsageMenu-menu":"PageUsageMenu-menurkC71vnRrfOK","PageUsageMenu-menu-search":"PageUsageMenu-menu-searchQxdrM6Z7XrWF","PageUsageMenu-menu-search-input":"PageUsageMenu-menu-search-input1AwTnPkPO_pj","PageUsageMenu-menu-results":"PageUsageMenu-menu-results1sE3eYT5SRN6","PageUsageMenu-menu-results-label":"PageUsageMenu-menu-results-label1kYvlsMKyrgn","PageUsageMenu-menu-results-name":"PageUsageMenu-menu-results-name2phyMd_FAR4O","PageUsageMenu-menu-results-current":"PageUsageMenu-menu-results-current3KmTCkPZOl6D","PageUsageMenu-menu-results-version":"PageUsageMenu-menu-results-version3H1De-ZdqFLA","PageUsageMenu-menu-results_empty":"PageUsageMenu-menu-results_empty2rHQVum4XaMx","PageUsageMenu-menu-note":"PageUsageMenu-menu-noteaubP3mjh2w9Z","PageUsageMenu-loading-spinner":"PageUsageMenu-loading-spinner3X8OS0stXJ-y"};function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t=6?e(Z.slice(0,5))+15:e(Z)}),[Z]),ce=function(e){return 1!==e?"s":""},se="Using in ".concat(B," page").concat(ce(B)).concat(E&&T>1?" / ".concat(T," project").concat(ce(T)):"");return(0,a.jsx)("div",{className:k("&"),children:0===B?(0,a.jsx)(h.A,{className:k("-label"),contentEditable:!1,kind:"secondary",size:"sm",text:!0,children:se}):(0,a.jsxs)(b.A,{appendTo:function(){return document.body},justify:"end",offset:[-10,-5],sticky:!0,children:[(0,a.jsxs)(h.A,{className:k("-label"),contentEditable:!1,kind:"secondary",size:"sm",text:!0,children:[se,(0,a.jsx)(y.A,{name:"chevron-down",size:14,strokeWeight:2.5})]}),(0,a.jsxs)(O.Ay,{className:k("-menu"),contentEditable:!1,children:[B>4&&(0,a.jsx)(v.A,{className:k("-menu-search"),children:(0,a.jsx)(j.A,{className:k("-menu-search-input"),onChange:$,onClear:function(){return X("")},placeholder:"Search Pages",prefix:(0,a.jsx)(y.A,{name:"search"}),size:"sm"})}),I?(0,a.jsx)(w.A,{className:k("-loading-spinner"),strokeWidth:1.5}):J.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.A,{isItemLoaded:oe,itemCount:ne,loadMoreItems:re,threshold:3,children:function(e){var t=e.onItemsRendered,n=e.ref;return(0,a.jsx)(l._m,{ref:n,height:ie,itemCount:ne,itemData:Z,itemSize:ae,onItemsRendered:t,width:"100%",children:function(e){var t,n=e.index,r=e.style;if(!oe(n)&&!oe(n-1))return(0,a.jsx)(O.Dr,{style:r,children:(0,a.jsx)(w.A,{size:"sm"})},n);var o=Z[n];if("header"===o.type)return(0,a.jsx)("div",{style:r,children:(0,a.jsx)(O.j,{children:o.name},n)});var i=(null===(t=o.project)||void 0===t?void 0:t.subdomain)===N,c={href:o.href,target:i?"_self":"_blank",TagName:"a"};return(0,a.jsx)("div",{style:r,children:(0,a.jsx)(O.Dr,P(P({icon:(0,a.jsx)(y.A,{name:"file",strokeWeight:3})},c),{},{children:(0,a.jsxs)("div",{className:k("-menu-results-label"),children:[(0,a.jsx)("span",{className:k("-menu-results-name"),children:o.name}),!D&&o.href===window.location.href&&(0,a.jsx)("span",{className:k("-menu-results-current"),children:"THIS PAGE"}),!!D&&(0,a.jsx)("span",{className:k("-menu-results-version"),children:"v".concat(o.branch)})]})}),n)})}})}}),(0,a.jsx)(O.Nj,{}),(0,a.jsx)(O.Dr,{className:k("-menu-note"),focusable:!1,children:"Any changes made here will be reflected on pages above after saving."})]}):(0,a.jsx)("div",{className:k("-menu-results_empty"),children:(0,a.jsx)("p",{children:"No results"})})]})]})})}},30169:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,y:()=>s});var r=n(49555),o=(n(3260),n(28200),n(31085)),a=n(14041),i=n(62228),c=n(47180),s=function(e){var t=e.errorType,n=e.title,r=e.projectName,i=e.message,s=e.slug,l=e.projectId,u=a.useRef(null);return(0,a.useEffect)((function(){var e;t&&["save","migration"].includes(t)&&(null===(e=u.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"}))}),[t]),"save"===t?(0,o.jsx)(c.A,{ref:u,mailtoAddress:"support+mdx@readme.com",mailtoSubject:"MDX Validation Issue",message:i,projectId:l,projectName:r,slug:s,subtitle:"We found an error when attempting to save your document. Please correct the following issue and try again:",title:"Validation Error"}):"migration"===t?(0,o.jsx)(c.A,{ref:u,mailtoBody:"We're having trouble fixing the page \"".concat(n,'" after attempting to migrate the project "').concat(r,'" to MDX.'),mailtoSubject:"MDX Migration Issue",message:i,projectId:l,projectName:r,slug:s,subtitle:"We found an error trying to render your document. Please correct the following issue:",title:"Invalid MDX"}):null};function l(){var e=(0,i.Iw)((function(e){return[e.data.name,e.data.id]})),t=(0,r.A)(e,2),n=t[0],a=t[1],c=(0,i.f8)((function(e){var t,n,r;return[null===(t=e.document.getGuidesPageData()||e.document.getReferencePageData())||void 0===t?void 0:t.renderable,e.document.mdxValidationError,null===(n=e.document.data)||void 0===n?void 0:n.title,null===(r=e.document.data)||void 0===r?void 0:r.slug]})),l=(0,r.A)(c,4),u=l[0],d=l[1],f=l[2],p=l[3];return(0,o.jsx)(s,{errorType:d?"save":!1===(null==u?void 0:u.status)?"migration":void 0,message:d||(null==u?void 0:u.message),projectId:a,projectName:n,slug:p,title:f})}},47180:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(31085),o=n(14041),a=n(33664),i=n(31683),c=n(62228),s=n(26146),l=n(31733),u=n(16540),d=n(10790);const f={"PageError-message":"PageError-message2Ijq67MEj4_-","PageError-help":"PageError-help1ljC7JflBBi-"};var p=function(e,t){var n=e.slug,p=e.showAiFixButton,m=void 0===p||p,g=e.mailtoAddress,h=void 0===g?"support@readme.com":g,b=e.mailtoBody,v=e.mailtoSubject,y=void 0===v?"ReadMe Editor Issue":v,j=e.message,O=e.projectId,w=e.projectName,A=e.title,x=(0,i.A)(f,"PageError"),P=(0,c.Zj)((function(e){return e.agent.setContext})),E=b||"We're having trouble editing the page \"".concat(A,'" in the "').concat(w,'" project.'),k=(0,o.useCallback)((function(){P({title:j||"Invalid MDX",type:"mdx-error",hiddenContext:{fullErrorMessage:j||"No specific error message provided",instructions:'\n REQUIRED INSTRUCTIONS:\n Your only goal is to fix errors. Do not modify valid Markdown—except when it’s invalid JSX. All of these instructions are required, do not skip any.If a specific error is given, fix it, but also check for the following issues:\n\n When using the rewriteTool to fix MDX errors, the user may have written HTML instead.\n * Check for unclosed self-closing tags (like
need to be or
)\n * BAD: \n * GOOD: \n * Check for property names that need to be converted to JSX (like class to className)—aria attributes do not need to be converted.\n * BAD:
\n * GOOD:
\n * Convert style attributes to JSX:\n * BAD:
\n * GOOD:
\n * It’s VERY IMPORTANT to check for open tags that are not closed and close them (like

, ,

  • , , , etc.):\n * BAD: text\n * GOOD: text\n * Ensure that the tags are closed in the correct order and nested properly:\n * BAD:

    text

    \n * GOOD:

    text

    \n * Ensure that there is the correct number of closing tags for each opening tag. Remove extra closing tags:\n * BAD:
    text
  • \n * GOOD:
    text
    \n * HTML comments like \x3c!-- this is a comment --\x3e should be rewritten as {/* this is a comment */}\n * Rewrite to )\n * It’s important that the string in the \n * GOOD: \n * _this text is underlined_ is valid Markdown, do not remove or replace it.\n * Do not reformat Markdown tables to clean up spacing if it’s already valid.\n\n Common valid Markdown that is invalid JSX:\n * Reformat content with greater than/less than brackets:\n * Example: should be {\'\'})\n * Example: should be {\'\'}\n * Reformat curly brackets if they are meant as content and not as JSX (like {your api key} should be {\'{your api key}\'})\n * These can also appear in the middle of headings or other Markdown, like "### {hello} world" or "> {hello} world". Needs to be rewritten as "### {\'{hello}\'} world" or "> {\'{hello}\'} world" .\n * ``` is used in Markdown to denote code blocks, do not remove or modify them.\n * {text} is valid Markdown, but invalid JSX and needs to be escaped as {\'{text}\'}\n * LaTeX syntax is not supported, do not attempt to add it—if it already exists, do not modify it.\n\n ReadMe has some custom syntax that should not be modified:\n * Do not modify valid components (elements starting with a capital letter, like or )\n * If HTMLBlock contains backticks ` in an element, replace them with .\n * Example:\n {`\n Hover for link id `click_id`\n `}\n\n Should be:\n {`\n Hover for link id click_id\n `}\n * Replace ReadMe glossary syntax <> with term—make sure to include <> within elements, like:\n * BAD: <> world\n * GOOD: hello world\n * ReadMe-flavored Markdown contains "magic blocks"—which is ReadMe Markdown specific; it looks like [block:html], [block:image], [block:parameters], [block:embed] etc.\n * Example:\n [block:parameters]\n {\n "data": {\n "h-0": "Parameter name",\n "h-1": "Type",\n "h-2": "Default Value",\n "h-3": "Notes",\n "0-0": "click_id",\n "0-1": "string",\n "0-2": "-",\n "0-3": "The AnyTrack Click ID passed to your cart, link or form.",\n "1-0": "value",\n "1-1": "number",\n "1-2": "-",\n "1-3": "Revenue",\n "2-0": "timestamp",\n "2-1": "integer",\n "2-2": "",\n "2-3": "A timestamp value in seconds to replace the receivedAt timestamp. 1709735124",\n "3-0": "brand",\n "3-1": "string",\n "3-2": "-",\n "3-3": "Brand name",\n }\n }\n\n In this example, replace the backticks with tags, and rewrite the content as a Markdown table—where h-0, h-1, h-2, h-3 are the table headers, and 0-0, 0-1, 0-2, 0-3 are the cells in the first table rows.\n * Convert [block:image] to an image in Markdown:\n [block:image]\n {\n "images": [\n {\n "image": [\n "https://cdn.anytrack.io/shared/kb/mceclip0-Jul-25-2022-05-19-01-20-PM.png",\n null,\n "mceclip0.png"\n ],\n "align": "center",\n "border": true\n }\n ]\n }\n [/block]\n\n Should be: ![alt text](https://owlbert.io/images/popper.gif) or (do not add extra properties if they’re not in the source content). Do not modify valid Markdown images: ![]()\n\n * Convert [block:html] to our component for HTML:\n [block:html]\n {\n "html: "
    test
    "\n }\n\n Note the content within the HTMLBlock does not need to be JSX. Example of what it should be:\n {`\n
    test
    \n `}
    \n\n * Convert [block:embed] iframes to an embed in Markdown:\n BAD:\n [block:embed]\n {\n "html": false,\n "url": "https://example.com",\n "title": "iframe",\n "provider": "scribehow.com",\n "href": "https://scribehow.com",\n "typeOfEmbed": "iframe",\n "height": "640px",\n "width": "100%",\n "iframe": true\n }\n [/block]\n\n GOOD:\n