%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/fungraca.org.br/wp-content/plugins/elementor/assets/js/
Upload File :
Create Path :
Current File : /var/www/projetos/fungraca.org.br/wp-content/plugins/elementor/assets/js/ai-admin.min.js

/*! elementor - v3.13.3 - 28-05-2023 */
/*! For license information please see ai-admin.min.js.LICENSE.txt */
(()=>{var e={17927:(e,t,n)=>{"use strict";var o=n(38003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.vocalTones=t.translateLanguages=t.textareaAutocomplete=t.textAutocomplete=t.codeHtmlAutocomplete=t.codeCssAutocomplete=void 0;var a=[o("Craft a catchy slogan for","elementor"),o("Write a strong section header for","elementor"),o("Create a blog title for","elementor"),o("Suggest a 4 word headline for","elementor"),o("Write an attention grabbing title for","elementor")];t.textAutocomplete=a;var i=[o("Write a product description for","elementor"),o("Create a blog post for","elementor"),o("Craft an about us section for","elementor"),o("Offer a few sentences to invite visitors to","elementor"),o("Write microcopy for a submission form that includes","elementor")];t.textareaAutocomplete=i;var l=[o("GA event fired on every button element click (assume GA was loaded)","elementor"),o("Iframe code to embed a Spotify widget on my web page. My ID is 1234567890","elementor"),o("Write an embed code of Google Analytics","elementor"),o("Write an embed code of Facebook Pixel","elementor"),o("HTML code that embeds the following PDF into a webpage: link to PDF","elementor")];t.codeHtmlAutocomplete=l;var u=[o("On hover, animate 20% bigger, rotate 10 deg CCW","elementor"),o("Add a circle-shaped clip mask, semi transparent on hover","elementor"),o("Rainbow colored animated text gradient","elementor"),o("Add a 3D shadow to the text","elementor")];t.codeCssAutocomplete=u;var c=[{label:o("Casual","elementor")},{label:o("Confidence","elementor")},{label:o("Formal","elementor")},{label:o("Friendly","elementor")},{label:o("Inspirational","elementor")},{label:o("Motivational","elementor")},{label:o("Nostalgic","elementor")},{label:o("Playful","elementor")},{label:o("Professional","elementor")},{label:o("Scientific","elementor")},{label:o("Straightforward","elementor")},{label:o("Witty","elementor")}];t.vocalTones=c;var s=[{label:o("Arabic","elementor"),value:"ar-SA"},{label:o("Chinese","elementor"),value:"zh-CN"},{label:o("Czech","elementor"),value:"cs-CZ"},{label:o("Danish","elementor"),value:"da-DK"},{label:o("Dutch","elementor"),value:"nl-NL"},{label:o("English","elementor"),value:"en-US"},{label:o("Finnish","elementor"),value:"fi-FI"},{label:o("French","elementor"),value:"fr-FR"},{label:o("German","elementor"),value:"de-DE"},{label:o("Greek","elementor"),value:"el-GR"},{label:o("Hebrew","elementor"),value:"he-IL"},{label:o("Hungarian","elementor"),value:"hu-HU"},{label:o("Indonesian","elementor"),value:"id-ID"},{label:o("Italian","elementor"),value:"it-IT"},{label:o("Japanese","elementor"),value:"ja-JP"},{label:o("Korean","elementor"),value:"ko-KR"},{label:o("Persian","elementor"),value:"fa-IR"},{label:o("Polish","elementor"),value:"pl-PL"},{label:o("Portuguese","elementor"),value:"pt-PT"},{label:o("Russian","elementor"),value:"ru-RU"},{label:o("Spanish","elementor"),value:"es-ES"},{label:o("Swedish","elementor"),value:"sv-SE"},{label:o("Thai","elementor"),value:"th-TH"},{label:o("Turkish","elementor"),value:"tr-TR"},{label:o("Vietnamese","elementor"),value:"vi-VN"}];t.translateLanguages=s},46183:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setStatusFeedback=t.setGetStarted=t.getUserInformation=t.getEditText=t.getCustomCode=t.getCustomCSS=t.getCompletionText=void 0;var n=function request(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,o){return elementorCommon.ajax.addRequest(e,{success:n,error:o,data:t})}))};t.getUserInformation=function getUserInformation(){return n("ai_get_user_information")};t.getCompletionText=function getCompletionText(e){return n("ai_get_completion_text",{prompt:e})};t.getEditText=function getEditText(e,t){return n("ai_get_edit_text",{input:e,instruction:t})};t.getCustomCode=function getCustomCode(e,t){return n("ai_get_custom_code",{prompt:e,language:t})};t.getCustomCSS=function getCustomCSS(e,t,o){return n("ai_get_custom_css",{prompt:e,html_markup:t,element_id:o})};t.setGetStarted=function setGetStarted(){return n("ai_set_get_started")};t.setStatusFeedback=function setStatusFeedback(e){return n("ai_set_status_feedback",{response_id:e})}},74270:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=n(5856),u=a(n(88450)),c=n(50702),s=function App(e){return i.default.createElement(l.DirectionProvider,{rtl:e.isRTL},i.default.createElement(l.ThemeProvider,{colorScheme:e.colorScheme},i.default.createElement(u.default,{type:e.type,controlType:e.controlType,onClose:e.onClose,onConnect:c.onConnect,getControlValue:e.getControlValue,setControlValue:e.setControlValue,additionalOptions:e.additionalOptions})))};s.propTypes={colorScheme:o.oneOf(["auto","light","dark"]),type:o.string,controlType:o.string,onClose:o.func,getControlValue:o.func,setControlValue:o.func,additionalOptions:o.object,isRTL:o.bool};var f=s;t.default=f},78029:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(87363)),u=i(n(73119)),c=n(5856),s=n(62506),f=i(n(15338)),d=(0,c.styled)((function ElementorLogo(e){return l.default.createElement(c.SvgIcon,(0,u.default)({viewBox:"0 0 32 32"},e),l.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"}))}))((function(e){var t=e.theme;return{width:t.sizing[400],height:t.sizing[400],"& path":{fill:t.palette.text.primary}}})),p=function DialogHeader(e){return l.default.createElement(c.DialogTitle,{component:"div",sx:{fontWeight:"normal"}},l.default.createElement(c.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center"},l.default.createElement(c.Stack,{direction:"row",spacing:3,alignItems:"center"},l.default.createElement(d,null),l.default.createElement(c.Typography,{variant:"h6",sx:{color:"text.primary"}},o("AI","elementor")),l.default.createElement(f.default,{label:o("Beta","elementor"),color:"default"})),l.default.createElement(c.Stack,{direction:"row",spacing:3,alignItems:"center"},e.children,l.default.createElement(c.IconButton,{"aria-label":"close",onClick:e.onClose,sx:{"&.MuiButtonBase-root":{mr:-4}}},l.default.createElement(s.XIcon,null)))))};p.propTypes={onClose:a.func.isRequired,children:a.oneOfType([a.arrayOf(a.node),a.node])};var m=p;t.default=m},4466:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=a(n(73119)),u=n(5856),c=n(62506),s=function GenerateButton(e){return i.default.createElement(u.Button,(0,l.default)({variant:"contained",endIcon:i.default.createElement(c.AIIcon,null),disabled:!prompt,"aria-label":o("search","elementor"),type:"submit",size:"small",sx:{"& .MuiButton-endIcon":{width:18}}},e))};t.default=s},71871:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(87363)),i=n(5856),l=function Loader(){return a.default.createElement(i.Box,{sx:{px:4,py:6}},a.default.createElement(i.LinearProgress,{color:"secondary"}))};t.default=l},93970:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=n(5856),u=function PromptActionSelection(e){var t=function labelToDashCash(e){return e.toLowerCase().replace(/ /g,"-")}(e.label);return i.default.createElement(l.FormControl,{sx:{width:138}},i.default.createElement(l.InputLabel,{id:t},e.label),i.default.createElement(l.Select,{labelId:t,id:t,value:"",color:"secondary",onChange:e.onChange,size:"small",label:e.label,MenuProps:{PaperProps:{sx:{width:138}}}},e.options.map((function(e){return i.default.createElement(l.MenuItem,{dense:!0,key:e.label,value:e.label},e.label)}))))};u.propTypes={label:o.string.isRequired,options:o.arrayOf(o.shape({label:o.string.isRequired})).isRequired,onChange:o.func.isRequired};var c=u;t.default=c},77655:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(87363)),i=o(n(73119)),l=o(n(15338)),u=function PromptAction(e){return a.default.createElement(l.default,(0,i.default)({size:"large",color:"secondary",variant:"outlined"},e))};t.default=u},98495:(e,t,n)=>{"use strict";var o=n(38003).sprintf,a=n(38003).__,i=n(23615),l=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=l(n(87363)),c=n(5856),s=function PromptCredits(e){return e.usagePercentage<80?null:u.default.createElement(c.Typography,{variant:"caption",color:"text.tertiary"},o(a("You've used %s of the free trial.","elementor"),e.usagePercentage+"%")," ",u.default.createElement("a",{href:"https://go.elementor.com/ai-popup-purchase-limit-reached-80-percent/",target:"_blank",rel:"noreferrer"},a("Upgrade for unlimited access","elementor")),".")};s.propTypes={usagePercentage:i.number.isRequired};var f=s;t.default=f},59441:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=n(5856),u=a(n(49529)),c=a(n(78029)),s=function PromptDialog(e){return i.default.createElement(u.default,{handle:".MuiDialogTitle-root",cancel:'[class*="MuiDialogContent-root"]'},i.default.createElement(l.Dialog,{open:!0,onClose:e.onClose,fullWidth:!0,hideBackdrop:!0,maxWidth:"sm",sx:{"& .MuiDialog-container":{alignItems:"flex-start",mt:"17vh"}},PaperProps:{sx:{maxHeight:"72vh"}}},i.default.createElement(c.default,{onClose:e.onClose},e.headerAction),i.default.createElement(l.DialogContent,null,e.children)))};s.propTypes={headerAction:o.node,onClose:o.func.isRequired,children:o.node.isRequired};var f=s;t.default=f},86960:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(87363)),u=i(n(73119)),c=i(n(70966)),s=n(5856),f=["error","onRetry"],d=function PromptErrorMessage(e){var t=e.error,n=e.onRetry,a=void 0===n?function(){}:n,i=(0,c.default)(e,f),d={default:{text:l.default.createElement(s.AlertTitle,null,o("Unknown error. Please try again later.","elementor")),description:o("Error code:","elementor")+" "+t,buttonText:o("Try Again","elementor"),buttonAction:a},service_outage_internal:{text:l.default.createElement(s.AlertTitle,null,o("Elementor AI is temporarily unavailable","elementor")),description:o("Seems like we are experiencing technical difficulty. We should be up and running shortly.","elementor"),buttonText:o("Try Again","elementor"),buttonAction:a},invalid_connect_data:{text:l.default.createElement(s.AlertTitle,null,o("Reconnect your account","elementor")),description:l.default.createElement(l.default.Fragment,null,o("We couldn't connect to your account due to technical difficulties on our end. Reconnect your account to continue.","elementor")," ",l.default.createElement("a",{href:"https://elementor.com/help/disconnecting-reconnecting-your-elementor-account/",target:"_blank",rel:"noreferrer"},o("Show me how","elementor")))},not_connected:{text:l.default.createElement(s.AlertTitle,null,o("You aren't connected to Elementor AI.","elementor")),description:o("Elementor AI is just a few clicks away. Connect your account to instantly create texts and custom code.","elementor")},quota_reached_trail:{severity:"info",text:l.default.createElement(s.AlertTitle,null,o("It's time to upgrade.","elementor")),description:o("Enjoy the free trial? Upgrade now for unlimited access to built-in text and custom code generators.","elementor"),buttonText:o("Upgrade","elementor"),buttonAction:function buttonAction(){return window.open("https://go.elementor.com/ai-popup-purchase-limit-reached/","_blank")}},quota_reached_subscription:{severity:"info",text:l.default.createElement(s.AlertTitle,null,o("It's time to upgrade.","elementor")),description:o("Love Elementor AI? Upgrade to continue creating with built-in text and custom code generators.","elementor"),buttonText:o("Upgrade","elementor"),buttonAction:function buttonAction(){return window.open("https://go.elementor.com/ai-popup-purchase-limit-reached/","_blank")}},rate_limit_network:{text:l.default.createElement(s.AlertTitle,null,o("Whoa! Slow down there.","elementor")),description:o("We can’t process that many requests so fast. Try again in 15 minutes.","elementor")}},p=d[t]||d.default;return l.default.createElement(s.Alert,(0,u.default)({severity:p.severity||"error",action:(null==p?void 0:p.buttonText)&&l.default.createElement(s.Button,{color:"inherit",size:"small",variant:"outlined",onClick:p.buttonAction,sx:{height:"auto",minHeight:"32px"}},p.buttonText)},i),p.text,p.description)};d.propTypes={error:a.string,onRetry:a.func};var p=d;t.default=p},51391:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(73203),i=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(87363)),u=a(n(73119)),c=a(n(3491));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var s=(0,l.forwardRef)((function(e,t){return l.default.createElement(c.default,(0,u.default)({name:"prompt",placeholder:o("Describe the text and tone you want to use","elementor")+"..."},e,{ref:t}))}));t.default=s},79619:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(87363)),u=n(5856),c=i(n(15338)),s=function PromptSuggestions(e){var t;return l.default.createElement(u.Box,null,l.default.createElement(u.Typography,{variant:"subtitle1",color:"text.secondary"},o("Suggested prompts","elementor")+":"),l.default.createElement(u.Stack,{direction:"column",alignItems:"flex-start",gap:3,sx:{my:3}},null===(t=e.suggestions)||void 0===t?void 0:t.map((function(t,n){var o;return l.default.createElement(c.default,{key:n,variant:"outlined",size:"large",color:"secondary",label:(null===(o=e.suggestionFilter)||void 0===o?void 0:o.call(e,t))||t,onClick:function onClick(){return e.onSelect(t)}})}))))};s.propTypes={suggestions:a.arrayOf(a.string),onSelect:a.func.isRequired,suggestionFilter:a.func};var f=s;t.default=f},63170:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203),i=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(87363)),u=a(n(73119)),c=n(5856);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var s=(0,l.forwardRef)((function(e,t){return l.default.createElement(c.TextField,(0,u.default)({ref:t,multiline:!0,fullWidth:!0,minRows:4,maxRows:20,value:e.value,onChange:e.onChange,helperText:e.helperText},e))}));s.propTypes={value:o.string,onChange:o.func,helperText:o.string};var f=s;t.default=f},3491:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203),i=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(87363)),u=a(n(73119)),c=n(5856),s=n(62506);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var f=(0,c.styled)(c.TextField)((function(e){var t=e.theme;return{"& .MuiInputBase-input, & .MuiInputBase-input:focus":{backgroundColor:t.palette.background.default,border:"none",boxShadow:"none",color:t.palette.text.primary,padding:t.spacing(0,3),outline:"none"},"& .MuiInputAdornment-root":{color:t.palette.text.tertiary}}})),d=(0,l.forwardRef)((function(e,t){return l.default.createElement(f,(0,u.default)({autoFocus:!0,fullWidth:!0,required:!0,color:"secondary",InputProps:{autoComplete:"off",startAdornment:l.default.createElement(c.InputAdornment,{position:"start"},l.default.createElement(s.SearchIcon,null))},placeholder:e.placeholder,name:e.name,value:e.value,onChange:e.onChange},e,{ref:t}))}));d.propTypes={placeholder:o.string,name:o.string,value:o.string,onChange:o.func};var p=d;t.default=p},15338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(5856),a=(0,o.styled)(o.Chip)((function(){return{"& .MuiChip-label":{lineHeight:1.5},"& .MuiSvgIcon-root.MuiChip-icon":{fontSize:"1.25rem"}}}));t.default=a},46369:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(73203),i=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(87363)),u=a(n(40131)),c=n(5856),s=n(62506);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var f=(0,c.styled)(c.Box)((function(e){var t=e.theme;return{position:"relative",marginTop:t.spacing(7),padding:t.spacing(7),backgroundColor:t.palette.background.paper,boxShadow:t.shadows[4],borderRadius:t.border.radius.sm,zIndex:"9999"}})),d=(0,c.styled)(c.Box)((function(e){var t=e.theme;return{width:t.sizing[500],height:t.sizing[200],position:"absolute",top:"calc(".concat(t.sizing[200]," * -1)"),left:"50%",transform:"translateX(-50%) rotate(180deg)",overflow:"hidden","&::after":{backgroundColor:t.palette.background.paper,content:'""',display:"block",position:"absolute",width:t.sizing[200],height:t.sizing[200],top:0,left:"50%",transform:"translateX(-50%) translateY(-50%) rotate(45deg)",boxShadow:"1px 1px 5px 0px rgba(0, 0, 0, 0.2)"}}})),p=[o("Generate professional texts about any topic, in any tone.","elementor"),o("Translate your content into twenty-five different languages.","elementor"),o("Unleash infinite possibilities with the custom code generator.","elementor")],m=(0,c.styled)(c.Chip)((function(){return{"& .MuiChip-label":{lineHeight:1.5},"& .MuiSvgIcon-root.MuiChip-icon":{fontSize:"1.25rem"}}})),h=function UpgradeChip(){var e=(0,l.useState)(!1),t=(0,u.default)(e,2),n=t[0],a=t[1],i=(0,l.useRef)(null);return l.default.createElement(c.Box,{component:"span","aria-owns":n?"e-ai-upgrade-popover":void 0,"aria-haspopup":"true",onMouseEnter:function showPopover(){return a(!0)},onMouseLeave:function hidePopover(){return a(!1)},ref:i},l.default.createElement(m,{color:"accent",label:o("Upgrade","elementor"),icon:l.default.createElement(s.UpgradeIcon,null)}),l.default.createElement(c.Popper,{open:n,anchorEl:i.current,sx:{zIndex:"9999",maxWidth:300}},l.default.createElement(f,null,l.default.createElement(d,null),l.default.createElement(c.Typography,{variant:"h5",color:"text.primary"},o("Unlimited access to Elementor AI","elementor")),l.default.createElement(c.List,{sx:{mb:7}},p.map((function(e,t){return l.default.createElement(c.ListItem,{key:t,disableGutters:!0,sx:{alignItems:"flex-start",my:4}},l.default.createElement(c.ListItemIcon,{sx:{mr:3}},l.default.createElement(s.CheckedCircleIcon,null)),l.default.createElement(c.ListItemText,{sx:{m:0}},l.default.createElement(c.Typography,{variant:"body2"},e)))}))),l.default.createElement(c.Button,{variant:"contained",color:"accent",size:"small",href:"https://go.elementor.com/ai-popup-purchase-dropdown/",target:"_blank",startIcon:l.default.createElement(s.UpgradeIcon,null),sx:{"&:hover":{color:"accent.contrastText"}}},o("Get Elementor AI","elementor")))))};t.default=h},30313:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=n(5856),u=a(n(78029)),c=function WizardDialog(e){return i.default.createElement(l.Dialog,{open:!0,onClose:e.onClose,fullWidth:!0,hideBackdrop:!0,maxWidth:"lg",PaperProps:{sx:{height:"88vh"}},sx:{zIndex:9999}},i.default.createElement(u.default,{onClose:e.onClose},e.headerAction),i.default.createElement(l.DialogContent,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"}},e.children))};c.propTypes={headerAction:o.node,onClose:o.func.isRequired,children:o.node.isRequired};var s=c;t.default=s},50702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onConnect=void 0;t.onConnect=function onConnect(e){elementorCommon.config.library_connect.is_connected=!0,elementorCommon.config.library_connect.current_access_level=e.accessLevel}},5348:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(50824)),i=o(n(10029)),l=n(46183),u=o(n(60675)),c=function(){var e=(0,i.default)(a.default.mark((function _callee(e,t){var n,o,i;return a.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(n=t.codeLanguage,o=t.htmlMarkup,i=t.elementId,"css"!==n){a.next=3;break}return a.abrupt("return",(0,l.getCustomCSS)(e,o,i));case 3:return a.abrupt("return",(0,l.getCustomCode)(e,n));case 4:case"end":return a.stop()}}),_callee)})));return function getCodeResult(t,n){return e.apply(this,arguments)}}(),s=function useCodePrompt(e){var t=e.codeLanguage,n=e.htmlMarkup,o=e.elementId,a=e.initialCredits;return(0,u.default)((function(e){return c(e,{codeLanguage:t,htmlMarkup:n,elementId:o})}),{credits:a})};t.default=s},60675:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(50824)),i=o(n(10029)),l=o(n(40131)),u=n(87363),c=n(46183),s=function normalizeResponse(e){var t=e.text,n=e.response_id,o=e.usage,a=o?o.quota-o.usedQuota:0;return{result:t,responseId:n,credits:Math.max(a,0)}},f=function usePrompt(e,t){var n=(0,u.useState)(!1),o=(0,l.default)(n,2),f=o[0],d=o[1],p=(0,u.useState)(""),m=(0,l.default)(p,2),h=m[0],g=m[1],y=(0,u.useState)(t),b=(0,l.default)(y,2),x=b[0],k=b[1],w=function(){var t=(0,i.default)(a.default.mark((function _callee(){var t=arguments;return a.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:g(""),d(!0),e.apply(void 0,t).then((function(e){return k(s(e))})).catch((function(e){return g((null==e?void 0:e.responseText)||e)})).finally((function(){return d(!1)}));case 3:case"end":return n.stop()}}),_callee)})));return function send(){return t.apply(this,arguments)}}();return{isLoading:f,error:h,data:x,reset:function reset(){k((function(e){return{credits:e.credits,result:"",responseId:""}})),g(""),d(!1)},send:w,sendUsageData:function sendUsageData(){return x.responseId&&(0,c.setStatusFeedback)(x.responseId)}}};t.default=f},65441:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(50824)),i=o(n(10029)),l=n(46183),u=o(n(60675)),c=function(){var e=(0,i.default)(a.default.mark((function _callee(e,t){return a.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=2;break}return n.abrupt("return",(0,l.getEditText)(e,t));case 2:return n.abrupt("return",(0,l.getCompletionText)(e));case 3:case"end":return n.stop()}}),_callee)})));return function getTextResult(t,n){return e.apply(this,arguments)}}(),s=function useTextPrompt(e){return(0,u.default)(c,e)};t.default=s},5647:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(50824)),i=o(n(93231)),l=o(n(10029)),u=o(n(40131)),c=n(87363),s=n(46183);function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function useUserInfo(){var e=(0,c.useState)(!1),t=(0,u.default)(e,2),n=t[0],o=t[1],i=(0,c.useState)({is_connected:!1,is_get_started:!1,connect_url:"",usage:{hasAiSubscription:!1,quota:0,usedQuota:0}}),f=(0,u.default)(i,2),d=f[0],p=f[1],m=d.usage.quota-d.usage.usedQuota,h=d.usage.usedQuota/d.usage.quota*100,g=function(){var e=(0,l.default)(a.default.mark((function _callee(){var e;return a.default.wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return o(!0),t.next=3,(0,s.getUserInformation)();case 3:e=t.sent,p((function(t){return _objectSpread(_objectSpread({},t),e)})),o(!1);case 6:case"end":return t.stop()}}),_callee)})));return function fetchData(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){g()}),[]),{isLoading:n,isConnected:d.is_connected,isGetStarted:d.is_get_started,connectUrl:d.connect_url,hasSubscription:d.usage.hasAiSubscription,credits:m<0?0:m,usagePercentage:Math.round(h),fetchData:g}};t.default=f},88450:(e,t,n)=>{"use strict";var o=n(23615),a=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(87363)),l=a(n(85157)),u=a(n(65345)),c=a(n(69714)),s=a(n(96587)),f=a(n(71871)),d=a(n(5647)),p=a(n(30313)),m=a(n(59441)),h=a(n(46369)),g=function PageContent(e){var t=e.type,n=e.controlType,o=e.onClose,a=e.onConnect,g=e.getControlValue,y=e.setControlValue,b=e.additionalOptions,x=(0,d.default)(),k=x.isLoading,w=x.isConnected,S=x.isGetStarted,_=x.connectUrl,C=x.fetchData,E=x.hasSubscription,O=x.credits,P=x.usagePercentage;return k?i.default.createElement(m.default,{onClose:o},i.default.createElement(f.default,null)):w?S?"code"===t?i.default.createElement(m.default,{onClose:o,headerAction:!E&&i.default.createElement(h.default,null)},i.default.createElement(c.default,{onClose:o,getControlValue:g,setControlValue:y,additionalOptions:b,credits:O,usagePercentage:P})):i.default.createElement(m.default,{onClose:o,headerAction:!E&&i.default.createElement(h.default,null)},i.default.createElement(l.default,{type:t,controlType:n,onClose:o,getControlValue:g,setControlValue:y,additionalOptions:b,credits:O,usagePercentage:P})):i.default.createElement(p.default,{onClose:o},i.default.createElement(s.default,{onSuccess:C})):i.default.createElement(p.default,{onClose:o},i.default.createElement(u.default,{connectUrl:_,onSuccess:function onSuccess(e){a(e),C()}}))};g.propTypes={type:o.string,controlType:o.string,onClose:o.func.isRequired,onConnect:o.func.isRequired,getControlValue:o.func.isRequired,setControlValue:o.func.isRequired,additionalOptions:o.object};var y=g;t.default=y},65345:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(87363)),u=n(5856),c=n(62506);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var s=function Connect(e){var t=e.connectUrl,n=e.onSuccess,a=(0,l.useRef)();return(0,l.useEffect)((function(){jQuery(a.current).elementorConnect({success:function success(e,t){return n(t)},error:function error(){throw new Error("Elementor AI: Failed to connect.")}})}),[]),l.default.createElement(u.Stack,{alignItems:"center",gap:5},l.default.createElement(c.AIIcon,{sx:{color:"text.primary",fontSize:"60px",mb:3}}),l.default.createElement(u.Typography,{variant:"h4",sx:{color:"text.primary"}},o("Step into the future with Elementor AI","elementor")),l.default.createElement(u.Typography,{variant:"body2"},o("Create smarter with AI text and code generators built right into the editor.","elementor")),l.default.createElement(u.Typography,{variant:"caption",sx:{maxWidth:520,textAlign:"center"}},o('By clicking "Connect", I approve the ',"elementor"),l.default.createElement(u.Link,{href:"https://go.elementor.com/ai-terms/",target:"_blank",color:"info.main"},o("Terms of Service","elementor"))," & ",l.default.createElement(u.Link,{href:"https://go.elementor.com/ai-privacy-policy/",target:"_blank",color:"info.main"},o("Privacy Policy","elementor")),o(" of the Elementor AI service.","elementor")),l.default.createElement(u.Button,{ref:a,href:t,variant:"contained",sx:{mt:3,"&:hover":{color:"primary.contrastText"}}},o("Connect","elementor")))};s.propTypes={connectUrl:a.string.isRequired,onSuccess:a.func.isRequired};var f=s;t.default=f},56577:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203),l=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),c=i(n(73119)),s=i(n(70966)),f=n(5856),d=i(n(63170)),p=["node","inline","children","defaultValue","onInsert"];function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var m=function CodeBlock(e){e.node;var t=e.inline,n=e.children,a=e.defaultValue,i=e.onInsert,l=(0,s.default)(e,p),m=(0,u.useRef)(null);return t?u.default.createElement("code",l):u.default.createElement(f.Box,{sx:{position:"relative"}},u.default.createElement(d.default,(0,c.default)({ref:m,defaultValue:n[0],sx:{mb:3},helperText:o("Code generated by AI may be inaccurate.","elementor")},l)),u.default.createElement(f.Button,{size:"small",variant:"contained",onClick:function onClick(){return i(a+"\n"+m.current.value)},sx:{position:"absolute",right:"11px",bottom:"44px"}},o("Insert","elementor")))};m.propTypes={node:a.object,inline:a.bool,children:a.arrayOf(a.node).isRequired,defaultValue:a.string,onInsert:a.func.isRequired};var h=m;t.default=h},69714:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203),l=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),c=i(n(50824)),s=i(n(73119)),f=i(n(10029)),d=i(n(40131)),p=i(n(93231)),m=n(5856),h=i(n(21477)),g=n(17927),y=i(n(71871)),b=i(n(51391)),x=i(n(79619)),k=i(n(4466)),w=i(n(86960)),S=i(n(56577)),_=i(n(5348)),C=i(n(98495));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){(0,p.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=(0,m.styled)(m.Box)((function(){return{"& p":{mb:"10px",fontSize:"13px",lineHeight:"1.5"},"& pre":{position:"relative"},"& textarea":{fontSize:"13px",lineHeight:"1.7"}}})),O=function FormCode(e){var t=e.onClose,n=e.getControlValue,a=e.setControlValue,i=e.additionalOptions,l=e.credits,p=e.usagePercentage,O=(0,_.default)(_objectSpread(_objectSpread({},i),{},{credits:l})),P=O.data,T=O.isLoading,A=O.error,D=O.reset,I=O.send,L=O.sendUsageData,j=(0,u.useState)(""),M=(0,d.default)(j,2),R=M[0],F=M[1],z=(0,u.useRef)((function(){})),B="css"===(null==i?void 0:i.codeLanguage)?g.codeCssAutocomplete:g.codeHtmlAutocomplete,N=!R,q=function(){var e=(0,f.default)(c.default.mark((function _callee(e){return c.default.wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:e.preventDefault(),z.current=function(){return I(R)},z.current();case 3:case"end":return t.stop()}}),_callee)})));return function handleSubmit(t){return e.apply(this,arguments)}}(),W=function applyPrompt(e){L(),a(e),t()};return T?u.default.createElement(y.default,null):u.default.createElement(u.default.Fragment,null,A&&u.default.createElement(w.default,{error:A,onRetry:z.current,sx:{mb:6}}),!P.result&&u.default.createElement(m.Box,{component:"form",onSubmit:q},u.default.createElement(m.Box,{sx:{pb:4}},u.default.createElement(b.default,{placeholder:o("Describe the code you want to use...","elementor"),name:"prompt",value:R,color:"secondary",onChange:function onChange(e){return F(e.target.value)}})),N&&u.default.createElement(x.default,{suggestions:B,onSelect:F}),u.default.createElement(m.Stack,{direction:"row",alignItems:"center",sx:{py:4,mt:8}},u.default.createElement(C.default,{usagePercentage:p}),u.default.createElement(m.Stack,{direction:"row",justifyContent:"flex-end",flexGrow:1},u.default.createElement(k.default,null,o("Generate code","elementor"))))),P.result&&u.default.createElement(E,null,u.default.createElement(h.default,{components:{code:function code(e){return u.default.createElement(S.default,(0,s.default)({},e,{defaultValue:n(),onInsert:W}))}}},P.result),u.default.createElement(m.Stack,{direction:"row",alignItems:"center",sx:{mt:8}},u.default.createElement(C.default,{usagePercentage:p}),u.default.createElement(m.Stack,{direction:"row",gap:3,justifyContent:"flex-end",flexGrow:1},u.default.createElement(m.Button,{size:"small",color:"secondary",variant:"text",onClick:D},o("New prompt","elementor"))))))};O.propTypes={onClose:a.func.isRequired,getControlValue:a.func.isRequired,setControlValue:a.func.isRequired,additionalOptions:a.shape({codeLanguage:a.string,htmlMarkup:a.string,elementId:a.string,initialCredits:a.number}),credits:a.number,usagePercentage:a.number};var P=O;t.default=P},85157:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203),l=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),c=i(n(50824)),s=i(n(10029)),f=i(n(40131)),d=n(5856),p=n(62506),m=i(n(71871)),h=i(n(51391)),g=i(n(63170)),y=i(n(79619)),b=i(n(93970)),x=i(n(4466)),k=i(n(77655)),w=i(n(86960)),S=i(n(65441)),_=n(17927),C=i(n(98495));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var E=[{label:o("Simplify language","elementor"),icon:u.default.createElement(p.MessageIcon,null),value:"Simplify the language of the following message"},{label:o("Make it longer","elementor"),icon:u.default.createElement(p.ExpandIcon,null),value:"Make the following message longer"},{label:o("Make it shorter","elementor"),icon:u.default.createElement(p.ShrinkIcon,null),value:"Make the following message shorter"},{label:o("Fix spelling & grammar","elementor"),icon:u.default.createElement(p.AIIcon,null),value:"Fix the spelling and grammar of the following message"}],O=[{label:o("Change tone","elementor"),options:_.vocalTones,getInstruction:function getInstruction(e){return"Change the tone of the following message to ".concat(e)}},{label:o("Translate to","elementor"),options:_.translateLanguages,getInstruction:function getInstruction(e){return"Translate the following message to ".concat(e)}}],P=function FormText(e){var t=e.type,n=e.onClose,a=e.getControlValue,i=e.setControlValue,l=e.additionalOptions,p=e.credits,P=e.usagePercentage,T=a()===(null==l?void 0:l.defaultValue)?"":a(),A=(0,S.default)({result:T,credits:p}),D=A.data,I=A.isLoading,L=A.error,j=A.reset,M=A.send,R=A.sendUsageData,F=(0,u.useState)(""),z=(0,f.default)(F,2),B=z[0],N=z[1],q=(0,u.useRef)(null),W=(0,u.useRef)(null),U=(0,u.useRef)((function(){})),V="textarea"===t?_.textareaAutocomplete:_.textAutocomplete,H=!B,G=function(){var e=(0,s.default)(c.default.mark((function _callee(e){return c.default.wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:U.current=function(){return M(W.current.value,e)},U.current();case 2:case"end":return t.stop()}}),_callee)})));return function handleCustomInstruction(t){return e.apply(this,arguments)}}();return I?u.default.createElement(m.default,null):u.default.createElement(u.default.Fragment,null,L&&u.default.createElement(w.default,{error:L,onRetry:U.current,sx:{mb:6}}),!D.result&&u.default.createElement(d.Box,{component:"form",onSubmit:function handleSubmit(e){e.preventDefault(),U.current=function(){return M(B)},U.current()}},u.default.createElement(d.Box,{sx:{mb:6}},u.default.createElement(h.default,{ref:q,placeholder:o("Describe the text and tone you want to use...","elementor"),name:"prompt",value:B,onChange:function onChange(e){return N(e.target.value)}})),H&&u.default.createElement(y.default,{suggestions:V,onSelect:function handleSuggestion(e){N(e+" "),q.current.focus()},suggestionFilter:function suggestionFilter(e){return e+"..."}}),u.default.createElement(d.Stack,{direction:"row",alignItems:"center",sx:{py:4,mt:8}},u.default.createElement(C.default,{usagePercentage:P}),u.default.createElement(d.Stack,{direction:"row",justifyContent:"flex-end",flexGrow:1},u.default.createElement(x.default,null,o("Generate text","elementor"))))),D.result&&u.default.createElement(d.Box,{sx:{mt:3}},u.default.createElement(g.default,{ref:W,defaultValue:D.result,helperText:o("Text generated by AI may be inaccurate or offensive.","elementor")}),u.default.createElement(d.Grid,{container:!0,spacing:3,sx:{mt:6}},E.map((function(e){var t=e.label,n=e.icon,o=e.value;return u.default.createElement(d.Grid,{item:!0,key:t},u.default.createElement(k.default,{label:t,icon:n,onClick:function onClick(){return G(o)}}))}))),u.default.createElement(d.Grid,{container:!0,spacing:3,sx:{mt:6}},O.map((function(e){var t=e.label,n=e.options,o=e.getInstruction;return u.default.createElement(d.Grid,{item:!0,key:t},u.default.createElement(b.default,{label:t,options:n,onChange:function onChange(e){return G(o(e.target.value))}}))}))),u.default.createElement(d.Stack,{direction:"row",alignItems:"center",sx:{my:8}},u.default.createElement(C.default,{usagePercentage:P}),u.default.createElement(d.Stack,{direction:"row",gap:3,justifyContent:"flex-end",flexGrow:1},u.default.createElement(d.Button,{size:"small",color:"secondary",variant:"text",onClick:j},o("New prompt","elementor")),u.default.createElement(d.Button,{size:"small",variant:"contained",color:"primary",onClick:function applyPrompt(){R(),i(W.current.value),n()}},o("Use text","elementor"))))))};P.propTypes={type:a.string.isRequired,controlType:a.string,onClose:a.func.isRequired,getControlValue:a.func.isRequired,setControlValue:a.func.isRequired,additionalOptions:a.object,credits:a.number,usagePercentage:a.number};var T=P;t.default=T},96587:(e,t,n)=>{"use strict";var o=n(38003).__,a=n(23615),i=n(73203),l=n(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),c=i(n(50824)),s=i(n(10029)),f=i(n(40131)),d=n(5856),p=n(46183),m=n(62506);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}var h=function GetStarted(e){var t=e.onSuccess,n=(0,u.useState)(!1),a=(0,f.default)(n,2),i=a[0],l=a[1],h=function(){var e=(0,s.default)(c.default.mark((function _callee(){return c.default.wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.setGetStarted)();case 2:t();case 3:case"end":return e.stop()}}),_callee)})));return function onGetStartedClick(){return e.apply(this,arguments)}}();return u.default.createElement(d.Stack,{alignItems:"center",gap:4},u.default.createElement(m.AIIcon,{sx:{color:"text.primary",fontSize:"60px",mb:3}}),u.default.createElement(d.Typography,{variant:"h4",sx:{color:"text.primary"}},o("Step into the future with Elementor AI","elementor")),u.default.createElement(d.Typography,{variant:"body2"},o("Create smarter with AI text and code generators built right into the editor.","elementor")),u.default.createElement(d.Stack,{direction:"row",gap:4,alignItems:"flex-start"},u.default.createElement(d.Checkbox,{id:"e-ai-terms-approval",color:"secondary",sx:{p:0},onChange:function onChange(){return l((function(e){return!e}))}}),u.default.createElement(d.Stack,null,u.default.createElement(d.Typography,{variant:"caption",sx:{maxWidth:520},component:"label",htmlFor:"e-ai-terms-approval"},o("I approve the ","elementor"),u.default.createElement(d.Link,{href:"https://go.elementor.com/ai-terms/",target:"_blank",color:"info.main"},o("Terms of Service","elementor"))," & ",u.default.createElement(d.Link,{href:"https://go.elementor.com/ai-privacy-policy/",target:"_blank",color:"info.main"},o("Privacy Policy","elementor")),o(" of the Elementor AI service.","elementor"),u.default.createElement("br",null),o("This includes consenting to the collection and use of data to improve user experience.","elementor")))),u.default.createElement(d.Button,{disabled:!i,variant:"contained",onClick:h,sx:{mt:3,"&:hover":{color:"primary.contrastText"}}},o("Get Started","elementor")))};h.propTypes={onSuccess:a.func.isRequired};var g=h;t.default=g},38944:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function clsx(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.r(t),n.d(t,{clsx:()=>clsx,default:()=>o});const o=clsx},50229:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function isArray(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function isPlainObject(e){if(!e||"[object Object]"!==n.call(e))return!1;var o,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(o in e);return void 0===o||t.call(e,o)},u=function setProperty(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function getProperty(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function extend(){var e,t,n,o,a,s,f=arguments[0],d=1,p=arguments.length,m=!1;for("boolean"==typeof f&&(m=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(e=arguments[d]))for(t in e)n=c(f,t),f!==(o=c(e,t))&&(m&&o&&(l(o)||(a=i(o)))?(a?(a=!1,s=n&&i(n)?n:[]):s=n&&l(n)?n:{},u(f,{name:t,newValue:extend(m,s,o)})):void 0!==o&&u(f,{name:t,newValue:o}));return f}},3812:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,s="";function trim(e){return e?e.replace(c,s):s}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var f=1,d=1;function updatePosition(e){var t=e.match(n);t&&(f+=t.length);var o=e.lastIndexOf("\n");d=~o?e.length-o:d+e.length}function position(){var e={line:f,column:d};return function(t){return t.position=new Position(e),whitespace(),t}}function Position(e){this.start=e,this.end={line:f,column:d},this.source=c.source}Position.prototype.content=e;var p=[];function error(t){var n=new Error(c.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=c.source,n.line=f,n.column=d,n.source=e,!c.silent)throw n;p.push(n)}function match(t){var n=t.exec(e);if(n){var o=n[0];return updatePosition(o),e=e.slice(o.length),n}}function whitespace(){match(o)}function comments(e){var t;for(e=e||[];t=comment();)!1!==t&&e.push(t);return e}function comment(){var t=position();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return error("End of comment missing");var o=e.slice(2,n-2);return d+=2,updatePosition(o),e=e.slice(n),d+=2,t({type:"comment",comment:o})}}function declaration(){var e=position(),n=match(a);if(n){if(comment(),!match(i))return error("property missing ':'");var o=match(l),c=e({type:"declaration",property:trim(n[0].replace(t,s)),value:o?trim(o[0].replace(t,s)):s});return match(u),c}}return whitespace(),function declarations(){var e,t=[];for(comments(t);e=declaration();)!1!==e&&(t.push(e),comments(t));return t}()}},48809:e=>{e.exports=function isBuffer(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},58772:(e,t,n)=>{"use strict";var o=n(90331);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,a,i,l){if(l!==o){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},23615:(e,t,n)=>{e.exports=n(58772)()},90331:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55322:(e,t,n)=>{"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function get(){return f.default}}),t.default=void 0;var o=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),a=_interopRequireDefault(n(23615)),i=_interopRequireDefault(n(61533)),l=_interopRequireDefault(n(38944)),u=n(88065),c=n(39237),s=n(70972),f=_interopRequireDefault(n(50700)),d=_interopRequireDefault(n(73936)),p=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}function _extends(){return _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_extends.apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,a=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _slicedToArray(e,t){return function _arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,a,i=[],l=!0,u=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{l||null==n.return||n.return()}finally{if(u)throw a}}return i}(e,t)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}(this,n)}}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Draggable,e);var t=_createSuper(Draggable);function Draggable(e){var n;return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Draggable),_defineProperty(_assertThisInitialized(n=t.call(this,e)),"onDragStart",(function(e,t){if((0,d.default)("Draggable: onDragStart: %j",t),!1===n.props.onStart(e,(0,c.createDraggableData)(_assertThisInitialized(n),t)))return!1;n.setState({dragging:!0,dragged:!0})})),_defineProperty(_assertThisInitialized(n),"onDrag",(function(e,t){if(!n.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);var o=(0,c.createDraggableData)(_assertThisInitialized(n),t),a={x:o.x,y:o.y};if(n.props.bounds){var i=a.x,l=a.y;a.x+=n.state.slackX,a.y+=n.state.slackY;var u=_slicedToArray((0,c.getBoundPosition)(_assertThisInitialized(n),a.x,a.y),2),s=u[0],f=u[1];a.x=s,a.y=f,a.slackX=n.state.slackX+(i-a.x),a.slackY=n.state.slackY+(l-a.y),o.x=a.x,o.y=a.y,o.deltaX=a.x-n.state.x,o.deltaY=a.y-n.state.y}if(!1===n.props.onDrag(e,o))return!1;n.setState(a)})),_defineProperty(_assertThisInitialized(n),"onDragStop",(function(e,t){if(!n.state.dragging)return!1;if(!1===n.props.onStop(e,(0,c.createDraggableData)(_assertThisInitialized(n),t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);var o={dragging:!1,slackX:0,slackY:0};if(Boolean(n.props.position)){var a=n.props.position,i=a.x,l=a.y;o.x=i,o.y=l}n.setState(o)})),n.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:_objectSpread({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),n}return function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(Draggable,[{key:"componentDidMount",value:function componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function findDOMNode(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:i.default.findDOMNode(this)}},{key:"render",value:function render(){var e,t=this.props,n=(t.axis,t.bounds,t.children),a=t.defaultPosition,i=t.defaultClassName,s=t.defaultClassNameDragging,d=t.defaultClassNameDragged,m=t.position,h=t.positionOffset,g=(t.scale,_objectWithoutProperties(t,p)),y={},b=null,x=!Boolean(m)||this.state.dragging,k=m||a,w={x:(0,c.canDragX)(this)&&x?this.state.x:k.x,y:(0,c.canDragY)(this)&&x?this.state.y:k.y};this.state.isElementSVG?b=(0,u.createSVGTransform)(w,h):y=(0,u.createCSSTransform)(w,h);var S=(0,l.default)(n.props.className||"",i,(_defineProperty(e={},s,this.state.dragging),_defineProperty(e,d,this.state.dragged),e));return o.createElement(f.default,_extends({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.cloneElement(o.Children.only(n),{className:S,style:_objectSpread(_objectSpread({},n.props.style),y),transform:b}))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(e,t){var n=e.position,o=t.prevPropsPosition;return!n||o&&n.x===o.x&&n.y===o.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:o}),{x:n.x,y:n.y,prevPropsPosition:_objectSpread({},n)})}}]),Draggable}(o.Component);t.default=m,_defineProperty(m,"displayName","Draggable"),_defineProperty(m,"propTypes",_objectSpread(_objectSpread({},f.default.propTypes),{},{axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe})),_defineProperty(m,"defaultProps",_objectSpread(_objectSpread({},f.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},50700:(e,t,n)=>{"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(87363)),a=_interopRequireDefault(n(23615)),i=_interopRequireDefault(n(61533)),l=n(88065),u=n(39237),c=n(70972),s=_interopRequireDefault(n(73936));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}function _slicedToArray(e,t){return function _arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,a,i=[],l=!0,u=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{l||null==n.return||n.return()}finally{if(u)throw a}}return i}(e,t)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}(this,n)}}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={start:"touchstart",move:"touchmove",stop:"touchend"},d={start:"mousedown",move:"mousemove",stop:"mouseup"},p=d,m=function(e){!function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(DraggableCore,e);var t=_createSuper(DraggableCore);function DraggableCore(){var e;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,DraggableCore);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return _defineProperty(_assertThisInitialized(e=t.call.apply(t,[this].concat(o))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),_defineProperty(_assertThisInitialized(e),"mounted",!1),_defineProperty(_assertThisInitialized(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var o=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof o.defaultView.Node)||e.props.handle&&!(0,l.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,l.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var a=(0,l.getTouchIdentifier)(t);e.setState({touchIdentifier:a});var i=(0,u.getControlPosition)(t,a,_assertThisInitialized(e));if(null!=i){var c=i.x,f=i.y,d=(0,u.createCoreData)(_assertThisInitialized(e),c,f);(0,s.default)("DraggableCore: handleDragStart: %j",d),(0,s.default)("calling",e.props.onStart),!1!==e.props.onStart(t,d)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,l.addUserSelectStyles)(o),e.setState({dragging:!0,lastX:c,lastY:f}),(0,l.addEvent)(o,p.move,e.handleDrag),(0,l.addEvent)(o,p.stop,e.handleDragStop))}}})),_defineProperty(_assertThisInitialized(e),"handleDrag",(function(t){var n=(0,u.getControlPosition)(t,e.state.touchIdentifier,_assertThisInitialized(e));if(null!=n){var o=n.x,a=n.y;if(Array.isArray(e.props.grid)){var i=o-e.state.lastX,l=a-e.state.lastY,c=_slicedToArray((0,u.snapToGrid)(e.props.grid,i,l),2);if(i=c[0],l=c[1],!i&&!l)return;o=e.state.lastX+i,a=e.state.lastY+l}var f=(0,u.createCoreData)(_assertThisInitialized(e),o,a);if((0,s.default)("DraggableCore: handleDrag: %j",f),!1!==e.props.onDrag(t,f)&&!1!==e.mounted)e.setState({lastX:o,lastY:a});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(d)}}})),_defineProperty(_assertThisInitialized(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,u.getControlPosition)(t,e.state.touchIdentifier,_assertThisInitialized(e));if(null!=n){var o=n.x,a=n.y;if(Array.isArray(e.props.grid)){var i=o-e.state.lastX||0,c=a-e.state.lastY||0,f=_slicedToArray((0,u.snapToGrid)(e.props.grid,i,c),2);i=f[0],c=f[1],o=e.state.lastX+i,a=e.state.lastY+c}var d=(0,u.createCoreData)(_assertThisInitialized(e),o,a);if(!1===e.props.onStop(t,d)||!1===e.mounted)return!1;var m=e.findDOMNode();m&&e.props.enableUserSelectHack&&(0,l.removeUserSelectStyles)(m.ownerDocument),(0,s.default)("DraggableCore: handleDragStop: %j",d),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),m&&((0,s.default)("DraggableCore: Removing handlers"),(0,l.removeEvent)(m.ownerDocument,p.move,e.handleDrag),(0,l.removeEvent)(m.ownerDocument,p.stop,e.handleDragStop))}}})),_defineProperty(_assertThisInitialized(e),"onMouseDown",(function(t){return p=d,e.handleDragStart(t)})),_defineProperty(_assertThisInitialized(e),"onMouseUp",(function(t){return p=d,e.handleDragStop(t)})),_defineProperty(_assertThisInitialized(e),"onTouchStart",(function(t){return p=f,e.handleDragStart(t)})),_defineProperty(_assertThisInitialized(e),"onTouchEnd",(function(t){return p=f,e.handleDragStop(t)})),e}return function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(DraggableCore,[{key:"componentDidMount",value:function componentDidMount(){this.mounted=!0;var e=this.findDOMNode();e&&(0,l.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,l.removeEvent)(t,d.move,this.handleDrag),(0,l.removeEvent)(t,f.move,this.handleDrag),(0,l.removeEvent)(t,d.stop,this.handleDragStop),(0,l.removeEvent)(t,f.stop,this.handleDragStop),(0,l.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,l.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function findDOMNode(){var e,t,n;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current:i.default.findDOMNode(this)}},{key:"render",value:function render(){return o.cloneElement(o.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),DraggableCore}(o.Component);t.default=m,_defineProperty(m,"displayName","DraggableCore"),_defineProperty(m,"propTypes",{allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function offsetParent(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),_defineProperty(m,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function onStart(){},onDrag:function onDrag(){},onStop:function onStop(){},onMouseDown:function onMouseDown(){},scale:1})},49529:(e,t,n)=>{"use strict";var o=n(55322),a=o.default,i=o.DraggableCore;e.exports=a,e.exports.default=a,e.exports.DraggableCore=i},88065:(e,t,n)=>{"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=addClassName,t.addEvent=function addEvent(e,t,n,o){if(!e)return;var a=_objectSpread({capture:!0},o);e.addEventListener?e.addEventListener(t,n,a):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function addUserSelectStyles(e){if(!e)return;var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&addClassName(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function createCSSTransform(e,t){var n=getTranslation(e,t,"px");return _defineProperty({},(0,a.browserPrefixToKey)("transform",a.default),n)},t.createSVGTransform=function createSVGTransform(e,t){return getTranslation(e,t,"")},t.getTouch=function getTouch(e,t){return e.targetTouches&&(0,o.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,o.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function getTouchIdentifier(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=getTranslation,t.innerHeight=function innerHeight(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(n.paddingTop),t-=(0,o.int)(n.paddingBottom)},t.innerWidth=function innerWidth(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(n.paddingLeft),t-=(0,o.int)(n.paddingRight)},t.matchesSelector=matchesSelector,t.matchesSelectorAndParentsTo=function matchesSelectorAndParentsTo(e,t,n){var o=e;do{if(matchesSelector(o,t))return!0;if(o===n)return!1;o=o.parentNode}while(o);return!1},t.offsetXYFromParent=function offsetXYFromParent(e,t,n){var o=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),a=(e.clientX+t.scrollLeft-o.left)/n,i=(e.clientY+t.scrollTop-o.top)/n;return{x:a,y:i}},t.outerHeight=function outerHeight(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(n.borderTopWidth),t+=(0,o.int)(n.borderBottomWidth)},t.outerWidth=function outerWidth(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(n.borderLeftWidth),t+=(0,o.int)(n.borderRightWidth)},t.removeClassName=removeClassName,t.removeEvent=function removeEvent(e,t,n,o){if(!e)return;var a=_objectSpread({capture:!0},o);e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function removeUserSelectStyles(e){if(!e)return;try{if(e.body&&removeClassName(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var o=n(70972),a=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(42249));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?n:t})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i="";function matchesSelector(e,t){return i||(i=(0,o.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,o.isFunction)(e[t])}))),!!(0,o.isFunction)(e[i])&&e[i](t)}function getTranslation(e,t,n){var o=e.x,a=e.y,i="translate(".concat(o).concat(n,",").concat(a).concat(n,")");if(t){var l="".concat("string"==typeof t.x?t.x:t.x+n),u="".concat("string"==typeof t.y?t.y:t.y+n);i="translate(".concat(l,", ").concat(u,")")+i}return i}function addClassName(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function removeClassName(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},42249:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=browserPrefixToKey,t.browserPrefixToStyle=function browserPrefixToStyle(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=getPrefix;var n=["Moz","Webkit","O","ms"];function getPrefix(){var e,t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";var a=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!a)return"";if(o in a)return"";for(var i=0;i<n.length;i++)if(browserPrefixToKey(o,n[i])in a)return n[i];return""}function browserPrefixToKey(e,t){return t?"".concat(t).concat(function kebabToTitleCase(e){for(var t="",n=!0,o=0;o<e.length;o++)n?(t+=e[o].toUpperCase(),n=!1):"-"===e[o]?n=!0:t+=e[o];return t}(e)):e}var o=getPrefix();t.default=o},73936:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function log(){0}},39237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function canDragX(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function canDragY(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function createCoreData(e,t,n){var a=e.state,i=!(0,o.isNum)(a.lastX),l=findDOMNode(e);return i?{node:l,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:l,deltaX:t-a.lastX,deltaY:n-a.lastY,lastX:a.lastX,lastY:a.lastY,x:t,y:n}},t.createDraggableData=function createDraggableData(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function getBoundPosition(e,t,n){if(!e.props.bounds)return[t,n];var i=e.props.bounds;i="string"==typeof i?i:function cloneBounds(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);var l=findDOMNode(e);if("string"==typeof i){var u,c=l.ownerDocument,s=c.defaultView;if(!((u="parent"===i?l.parentNode:c.querySelector(i))instanceof s.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');var f=u,d=s.getComputedStyle(l),p=s.getComputedStyle(f);i={left:-l.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(d.marginLeft),top:-l.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(d.marginTop),right:(0,a.innerWidth)(f)-(0,a.outerWidth)(l)-l.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(d.marginRight),bottom:(0,a.innerHeight)(f)-(0,a.outerHeight)(l)-l.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(d.marginBottom)}}(0,o.isNum)(i.right)&&(t=Math.min(t,i.right));(0,o.isNum)(i.bottom)&&(n=Math.min(n,i.bottom));(0,o.isNum)(i.left)&&(t=Math.max(t,i.left));(0,o.isNum)(i.top)&&(n=Math.max(n,i.top));return[t,n]},t.getControlPosition=function getControlPosition(e,t,n){var o="number"==typeof t?(0,a.getTouch)(e,t):null;if("number"==typeof t&&!o)return null;var i=findDOMNode(n),l=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,a.offsetXYFromParent)(o||e,l,n.props.scale)},t.snapToGrid=function snapToGrid(e,t,n){var o=Math.round(t/e[0])*e[0],a=Math.round(n/e[1])*e[1];return[o,a]};var o=n(70972),a=n(88065);function findDOMNode(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},70972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function dontSetMe(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function findInArray(e,t){for(var n=0,o=e.length;n<o;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function int(e){return parseInt(e,10)},t.isFunction=function isFunction(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function isNum(e){return"number"==typeof e&&!isNaN(e)}},58702:(e,t)=>{"use strict";var n,o=Symbol.for("react.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case i:case u:case l:case p:case m:return e;default:switch(e=e&&e.$$typeof){case f:case s:case d:case g:case h:case c:return e;default:return t}}case a:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=u,t.StrictMode=l,t.Suspense=p,t.SuspenseList=m,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===s},t.isContextProvider=function(e){return v(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===u},t.isStrictMode=function(e){return v(e)===l},t.isSuspense=function(e){return v(e)===p},t.isSuspenseList=function(e){return v(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===l||e===p||e===m||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===c||e.$$typeof===s||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},19185:(e,t,n)=>{"use strict";e.exports=n(58702)},55862:(e,t,n)=>{var o=n(3812);function StyleToObject(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var i,l,u=o(e),c="function"==typeof t,s=0,f=u.length;s<f;s++)i=(n=u[s]).property,l=n.value,c?t(i,l,n):l&&(a||(a={}),a[i]=l);return a}e.exports=StyleToObject,e.exports.default=StyleToObject},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},62506:e=>{"use strict";e.exports=__UNSTABLE__elementorPackages.icons},5856:e=>{"use strict";e.exports=__UNSTABLE__elementorPackages.ui},38003:e=>{"use strict";e.exports=wp.i18n},98106:e=>{e.exports=function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports},17358:e=>{e.exports=function _arrayWithHoles(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},10029:e=>{function asyncGeneratorStep(e,t,n,o,a,i,l){try{var u=e[i](l),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(o,a)}e.exports=function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function _next(e){asyncGeneratorStep(i,o,a,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,o,a,_next,_throw,"throw",e)}_next(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},93231:(e,t,n)=>{var o=n(74040);e.exports=function _defineProperty(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},73119:e=>{function _extends(){return e.exports=_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,_extends.apply(this,arguments)}e.exports=_extends,e.exports.__esModule=!0,e.exports.default=e.exports},73203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},40608:e=>{e.exports=function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i,l,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw a}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},56894:e=>{e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},70966:(e,t,n)=>{var o=n(22412);e.exports=function _objectWithoutProperties(e,t){if(null==e)return{};var n,a,i=o(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},22412:e=>{e.exports=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(a[n]=e[n]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},21337:(e,t,n)=>{var o=n(7501).default;function _regeneratorRuntime(){"use strict";e.exports=_regeneratorRuntime=function _regeneratorRuntime(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function define(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,n){return e[t]=n}}function wrap(e,t,n,o){var a=t&&t.prototype instanceof Generator?t:Generator,l=Object.create(a.prototype),u=new Context(o||[]);return i(l,"_invoke",{value:makeInvokeMethod(e,n,u)}),l}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=wrap;var f={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var d={};define(d,u,(function(){return this}));var p=Object.getPrototypeOf,m=p&&p(p(values([])));m&&m!==n&&a.call(m,u)&&(d=m);var h=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(d);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function invoke(n,i,l,u){var c=tryCatch(e[n],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==o(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){invoke("next",e,l,u)}),(function(e){invoke("throw",e,l,u)})):t.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return invoke("throw",e,l,u)}))}u(c.arg)}var n;i(this,"_invoke",{value:function value(e,o){function callInvokeWithMethodAndArg(){return new t((function(t,n){invoke(e,o,t,n)}))}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,t,n){var o="suspendedStart";return function(a,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===a)throw i;return doneResult()}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var u=maybeInvokeDelegate(l,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var c=tryCatch(e,t,n);if("normal"===c.type){if(o=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o="completed",n.method="throw",n.arg=c.arg)}}}function maybeInvokeDelegate(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,maybeInvokeDelegate(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=tryCatch(o,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var i=a.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function next(){for(;++n<e.length;)if(a.call(e,n))return next.value=e[n],next.done=!1,next;return next.value=void 0,next.done=!0,next};return o.next=o}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,i(h,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),i(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e},t.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),t.AsyncIterator=AsyncIterator,t.async=function(e,n,o,a,i){void 0===i&&(i=Promise);var l=new AsyncIterator(wrap(e,n,o,a),i);return t.isGeneratorFunction(n)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},defineIteratorMethods(h),define(h,s,"Generator"),define(h,u,(function(){return this})),define(h,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function next(){for(;n.length;){var e=n.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},t.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function stop(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function dispatchException(e){if(this.done)throw e;var t=this;function handle(n,o){return i.type="throw",i.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function abrupt(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var l=i?i.completion:{};return l.type=e,l.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(l)},complete:function complete(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function finish(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),f}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var a=o.arg;resetTryEntry(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,t,n){return this.delegate={iterator:values(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=_regeneratorRuntime,e.exports.__esModule=!0,e.exports.default=e.exports},40131:(e,t,n)=>{var o=n(17358),a=n(40608),i=n(35068),l=n(56894);e.exports=function _slicedToArray(e,t){return o(e)||a(e,t)||i(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},56027:(e,t,n)=>{var o=n(7501).default;e.exports=function _toPrimitive(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},74040:(e,t,n)=>{var o=n(7501).default,a=n(56027);e.exports=function _toPropertyKey(e){var t=a(e,"string");return"symbol"===o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},35068:(e,t,n)=>{var o=n(98106);e.exports=function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},50824:(e,t,n)=>{var o=n(21337)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},21477:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ReactMarkdown,uriTransformer:()=>uriTransformer});var o={};n.r(o),n.d(o,{attentionMarkers:()=>xe,contentInitial:()=>me,disable:()=>ke,document:()=>pe,flow:()=>ge,flowInitial:()=>he,insideSpan:()=>be,string:()=>ye,text:()=>ve});var a={};n.r(a),n.d(a,{boolean:()=>Me,booleanish:()=>Re,commaOrSpaceSeparated:()=>qe,commaSeparated:()=>Ne,number:()=>ze,overloadedBoolean:()=>Fe,spaceSeparated:()=>Be});const i=["http","https","mailto","tel"];function uriTransformer(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const o=t.indexOf(":");if(-1===o)return t;let a=-1;for(;++a<i.length;){const e=i[a];if(o===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return a=t.indexOf("?"),-1!==a&&o>a?t:(a=t.indexOf("#"),-1!==a&&o>a?t:"javascript:void(0)")}var l=n(87363),u=n(48809);function stringifyPosition(e){return e&&"object"==typeof e?"position"in e||"type"in e?position(e.position):"start"in e||"end"in e?position(e):"line"in e||"column"in e?point(e):"":""}function point(e){return index(e&&e.line)+":"+index(e&&e.column)}function position(e){return point(e&&e.start)+"-"+point(e&&e.end)}function index(e){return e&&"number"==typeof e?e:1}class VFileMessage extends Error{constructor(e,t,n){const o=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?o[1]=n:(o[0]=n.slice(0,e),o[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(a=t.position):"start"in t||"end"in t?a=t:("line"in t||"column"in t)&&(a.start=t)),this.name=stringifyPosition(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=o[0],this.ruleId=o[1],this.file,this.actual,this.expected,this.url,this.note}}VFileMessage.prototype.file="",VFileMessage.prototype.name="",VFileMessage.prototype.reason="",VFileMessage.prototype.message="",VFileMessage.prototype.stack="",VFileMessage.prototype.fatal=null,VFileMessage.prototype.column=null,VFileMessage.prototype.line=null,VFileMessage.prototype.source=null,VFileMessage.prototype.ruleId=null,VFileMessage.prototype.position=null;const c={basename:function basename(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');assertPath(e);let n,o=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){o=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?"":e.slice(o,a)}if(t===e)return"";let l=-1,u=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){o=i+1;break}}else l<0&&(n=!0,l=i+1),u>-1&&(e.charCodeAt(i)===t.charCodeAt(u--)?u<0&&(a=i):(u=-1,a=l));o===a?a=l:a<0&&(a=e.length);return e.slice(o,a)},dirname:function dirname(e){if(assertPath(e),0===e.length)return".";let t,n=-1,o=e.length;for(;--o;)if(47===e.charCodeAt(o)){if(t){n=o;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function extname(e){assertPath(e);let t,n=e.length,o=-1,a=0,i=-1,l=0;for(;n--;){const u=e.charCodeAt(n);if(47!==u)o<0&&(t=!0,o=n+1),46===u?i<0?i=n:1!==l&&(l=1):i>-1&&(l=-1);else if(t){a=n+1;break}}if(i<0||o<0||0===l||1===l&&i===o-1&&i===a+1)return"";return e.slice(i,o)},join:function join(...e){let t,n=-1;for(;++n<e.length;)assertPath(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function normalize(e){assertPath(e);const t=47===e.charCodeAt(0);let n=function normalizeString(e,t){let n,o,a="",i=0,l=-1,u=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.charCodeAt(c);else{if(47===n)break;n=47}if(47===n){if(l===c-1||1===u);else if(l!==c-1&&2===u){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2))if(a.length>2){if(o=a.lastIndexOf("/"),o!==a.length-1){o<0?(a="",i=0):(a=a.slice(0,o),i=a.length-1-a.lastIndexOf("/")),l=c,u=0;continue}}else if(a.length>0){a="",i=0,l=c,u=0;continue}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(l+1,c):a=e.slice(l+1,c),i=c-l-1;l=c,u=0}else 46===n&&u>-1?u++:u=-1}return a}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function assertPath(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const s={cwd:function cwd(){return"/"}};function isUrl(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function urlToPath(e){if("string"==typeof e)e=new URL(e);else if(!isUrl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function getPathFromURLPosix(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const f=["history","path","basename","stem","extname","dirname"];class VFile{constructor(e){let t;t=e?"string"==typeof e||function buffer(e){return u(e)}(e)?{value:e}:isUrl(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=s.cwd(),this.value,this.stored,this.result,this.map;let n,o=-1;for(;++o<f.length;){const e=f[o];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)f.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){isUrl(e)&&(e=urlToPath(e)),assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?c.dirname(this.path):void 0}set dirname(e){lib_assertPath(this.basename,"dirname"),this.path=c.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?c.basename(this.path):void 0}set basename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=c.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?c.extname(this.path):void 0}set extname(e){if(assertPart(e,"extname"),lib_assertPath(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=c.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?c.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=c.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const o=new VFileMessage(e,t,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(e,t,n){const o=this.message(e,t,n);return o.fatal=null,o}fail(e,t,n){const o=this.message(e,t,n);throw o.fatal=!0,o}}function assertPart(e,t){if(e&&e.includes(c.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+c.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function lib_assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function bail(e){if(e)throw e}var d=n(50229);function isPlainObject(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function trough(){const e=[],t={run:function run(...t){let n=-1;const o=t.pop();if("function"!=typeof o)throw new TypeError("Expected function as last argument, not "+o);!function next(a,...i){const l=e[++n];let u=-1;if(a)o(a);else{for(;++u<t.length;)null!==i[u]&&void 0!==i[u]||(i[u]=t[u]);t=i,l?function wrap(e,t){let n;return wrapped;function wrapped(...t){const o=e.length>t.length;let a;o&&t.push(done);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return done(e)}o||(a instanceof Promise?a.then(then,done):a instanceof Error?done(a):then(a))}function done(e,...o){n||(n=!0,t(e,...o))}function then(e){done(null,e)}}(l,next)(...i):o(null,...i)}}(null,...t)},use:function use(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const p=function base(){const e=trough(),t=[];let n,o={},a=-1;return processor.data=function data(e,t){if("string"==typeof e)return 2===arguments.length?(assertUnfrozen("data",n),o[e]=t,processor):m.call(o,e)&&o[e]||null;if(e)return assertUnfrozen("data",n),o=e,processor;return o},processor.Parser=void 0,processor.Compiler=void 0,processor.freeze=function freeze(){if(n)return processor;for(;++a<t.length;){const[n,...o]=t[a];if(!1===o[0])continue;!0===o[0]&&(o[0]=void 0);const i=n.call(processor,...o);"function"==typeof i&&e.use(i)}return n=!0,a=Number.POSITIVE_INFINITY,processor},processor.attachers=t,processor.use=function use(e,...a){let i;if(assertUnfrozen("use",n),null==e);else if("function"==typeof e)addPlugin(e,...a);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?addList(e):addPreset(e)}i&&(o.settings=Object.assign(o.settings||{},i));return processor;function add(e){if("function"==typeof e)addPlugin(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;addPlugin(t,...n)}else addPreset(e)}}function addPreset(e){addList(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function addList(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){add(e[t])}}}function addPlugin(e,n){let o,a=-1;for(;++a<t.length;)if(t[a][0]===e){o=t[a];break}o?(isPlainObject(o[1])&&isPlainObject(n)&&(n=d(!0,o[1],n)),o[1]=n):t.push([...arguments])}},processor.parse=function parse(e){processor.freeze();const t=vfile(e),n=processor.Parser;if(assertParser("parse",n),newable(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},processor.stringify=function stringify(e,t){processor.freeze();const n=vfile(t),o=processor.Compiler;if(assertCompiler("stringify",o),assertNode(e),newable(o,"compile"))return new o(e,n).compile();return o(e,n)},processor.run=function run(t,n,o){assertNode(t),processor.freeze(),o||"function"!=typeof n||(o=n,n=void 0);if(!o)return new Promise(executor);function executor(a,i){function done(e,n,l){n=n||t,e?i(e):a?a(n):o(null,n,l)}e.run(t,vfile(n),done)}executor(null,o)},processor.runSync=function runSync(e,t){let n,o;return processor.run(e,t,done),assertDone("runSync","run",o),n;function done(e,t){bail(e),n=t,o=!0}},processor.process=function process(e,t){if(processor.freeze(),assertParser("process",processor.Parser),assertCompiler("process",processor.Compiler),!t)return new Promise(executor);function executor(n,o){const a=vfile(e);function done(e,a){e||!a?o(e):n?n(a):t(null,a)}processor.run(processor.parse(a),a,((e,t,n)=>{if(!e&&t&&n){const o=processor.stringify(t,n);null==o||(!function looksLikeAVFileValue(e){return"string"==typeof e||u(e)}(o)?n.result=o:n.value=o),done(e,n)}else done(e)}))}executor(null,t)},processor.processSync=function processSync(e){let t;processor.freeze(),assertParser("processSync",processor.Parser),assertCompiler("processSync",processor.Compiler);const n=vfile(e);return processor.process(n,done),assertDone("processSync","process",t),n;function done(e){t=!0,bail(e)}},processor;function processor(){const e=base();let n=-1;for(;++n<t.length;)e.use(...t[n]);return e.data(d(!0,{},o)),e}}().freeze(),m={}.hasOwnProperty;function newable(e,t){return"function"==typeof e&&e.prototype&&(function keys(e){let t;for(t in e)if(m.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function assertParser(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function assertCompiler(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function assertUnfrozen(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(e){if(!isPlainObject(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function assertDone(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vfile(e){return function looksLikeAVFile(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new VFile(e)}const h={};function one(e,t,n){if(function node(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return lib_all(e.children,t,n)}return Array.isArray(e)?lib_all(e,t,n):""}function lib_all(e,t,n){const o=[];let a=-1;for(;++a<e.length;)o[a]=one(e[a],t,n);return o.join("")}function splice(e,t,n,o){const a=e.length;let i,l=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,o.length<1e4)i=Array.from(o),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);l<o.length;)i=o.slice(l,l+1e4),i.unshift(t,0),[].splice.apply(e,i),l+=1e4,t+=1e4}function push(e,t){return e.length>0?(splice(e,e.length,0,t),e):t}const g={}.hasOwnProperty;function syntaxExtension(e,t){let n;for(n in t){const o=(g.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;for(i in a){g.call(o,i)||(o[i]=[]);const e=a[i];constructs(o[i],Array.isArray(e)?e:e?[e]:[])}}}function constructs(e,t){let n=-1;const o=[];for(;++n<t.length;)("after"===t[n].add?e:o).push(t[n]);splice(e,0,0,o)}const y=regexCheck(/[A-Za-z]/),b=regexCheck(/\d/),x=regexCheck(/[\dA-Fa-f]/),k=regexCheck(/[\dA-Za-z]/),w=regexCheck(/[!-/:-@[-`{-~]/),S=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(e){return null!==e&&(e<32||127===e)}function markdownLineEndingOrSpace(e){return null!==e&&(e<0||32===e)}function markdownLineEnding(e){return null!==e&&e<-2}function markdownSpace(e){return-2===e||-1===e||32===e}const _=regexCheck(/\s/),C=regexCheck(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function regexCheck(e){return function check(t){return null!==t&&e.test(String.fromCharCode(t))}}function factorySpace(e,t,n,o){const a=o?o-1:Number.POSITIVE_INFINITY;let i=0;return function start(o){if(markdownSpace(o))return e.enter(n),prefix(o);return t(o)};function prefix(o){return markdownSpace(o)&&i++<a?(e.consume(o),prefix):(e.exit(n),t(o))}}const E={tokenize:function initializeContent(e){const t=e.attempt(this.parser.constructs.contentInitial,(function afterContentStartConstruct(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),factorySpace(e,t,"linePrefix")}),(function paragraphInitial(t){return e.enter("paragraph"),lineStart(t)}));let n;return t;function lineStart(t){const o=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,data(t)}function data(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):markdownLineEnding(t)?(e.consume(t),e.exit("chunkText"),lineStart):(e.consume(t),data)}}};const O={tokenize:function initializeDocument(e){const t=this,n=[];let o,a,i,l=0;return start;function start(o){if(l<n.length){const a=n[l];return t.containerState=a[1],e.attempt(a[0].continuation,documentContinue,checkNewContainers)(o)}return checkNewContainers(o)}function documentContinue(e){if(l++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&closeFlow();const n=t.events.length;let a,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){a=t.events[i][1].end;break}exitContainers(l);let u=n;for(;u<t.events.length;)t.events[u][1].end=Object.assign({},a),u++;return splice(t.events,i+1,0,t.events.slice(n)),t.events.length=u,checkNewContainers(e)}return start(e)}function checkNewContainers(a){if(l===n.length){if(!o)return documentContinued(a);if(o.currentConstruct&&o.currentConstruct.concrete)return flowStart(a);t.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(P,thereIsANewContainer,thereIsNoNewContainer)(a)}function thereIsANewContainer(e){return o&&closeFlow(),exitContainers(l),documentContinued(e)}function thereIsNoNewContainer(e){return t.parser.lazy[t.now().line]=l!==n.length,i=t.now().offset,flowStart(e)}function documentContinued(n){return t.containerState={},e.attempt(P,containerContinue,flowStart)(n)}function containerContinue(e){return l++,n.push([t.currentConstruct,t.containerState]),documentContinued(e)}function flowStart(n){return null===n?(o&&closeFlow(),exitContainers(0),void e.consume(n)):(o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:o}),flowContinue(n))}function flowContinue(n){return null===n?(writeToChild(e.exit("chunkFlow"),!0),exitContainers(0),void e.consume(n)):markdownLineEnding(n)?(e.consume(n),writeToChild(e.exit("chunkFlow")),l=0,t.interrupt=void 0,start):(e.consume(n),flowContinue)}function writeToChild(e,n){const u=t.sliceStream(e);if(n&&u.push(null),e.previous=a,a&&(a.next=e),a=e,o.defineSkip(e.start),o.write(u),t.parser.lazy[e.start.line]){let e=o.events.length;for(;e--;)if(o.events[e][1].start.offset<i&&(!o.events[e][1].end||o.events[e][1].end.offset>i))return;const n=t.events.length;let a,u,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(a){u=t.events[c][1].end;break}a=!0}for(exitContainers(l),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},u),e++;splice(t.events,c+1,0,t.events.slice(n)),t.events.length=e}}function exitContainers(o){let a=n.length;for(;a-- >o;){const o=n[a];t.containerState=o[1],o[0].exit.call(t,e)}n.length=o}function closeFlow(){o.write([null]),a=void 0,o=void 0,t.containerState._closeFlow=void 0}}},P={tokenize:function tokenizeContainer(e,t,n){return factorySpace(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const T={tokenize:function tokenizeBlankLine(e,t,n){return factorySpace(e,(function afterWhitespace(e){return null===e||markdownLineEnding(e)?t(e):n(e)}),"linePrefix")},partial:!0};function subtokenize(e){const t={};let n,o,a,i,l,u,c,s=-1;for(;++s<e.length;){for(;s in t;)s=t[s];if(n=e[s],s&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[s-1][1].type&&(u=n[1]._tokenizer.events,a=0,a<u.length&&"lineEndingBlank"===u[a][1].type&&(a+=2),a<u.length&&"content"===u[a][1].type))for(;++a<u.length&&"content"!==u[a][1].type;)"chunkText"===u[a][1].type&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,subcontent(e,s)),s=t[s],c=!0);else if(n[1]._container){for(a=s,o=void 0;a--&&(i=e[a],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(o&&(e[o][1].type="lineEndingBlank"),i[1].type="lineEnding",o=a);o&&(n[1].end=Object.assign({},e[o][1].start),l=e.slice(o,s),l.unshift(n),splice(e,o,s-o+1,l))}}return!c}function subcontent(e,t){const n=e[t][1],o=e[t][2];let a=t-1;const i=[],l=n._tokenizer||o.parser[n.contentType](n.start),u=l.events,c=[],s={};let f,d,p=-1,m=n,h=0,g=0;const y=[g];for(;m;){for(;e[++a][1]!==m;);i.push(a),m._tokenizer||(f=o.sliceStream(m),m.next||f.push(null),d&&l.defineSkip(m.start),m._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),m._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),d=m,m=m.next}for(m=n;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(g=p+1,y.push(g),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(l.events=[],m?(m._tokenizer=void 0,m.previous=void 0):y.pop(),p=y.length;p--;){const t=u.slice(y[p],y[p+1]),n=i.pop();c.unshift([n,n+t.length-1]),splice(e,n,2,t)}for(p=-1;++p<c.length;)s[h+c[p][0]]=h+c[p][1],h+=c[p][1]-c[p][0]-1;return s}const A={tokenize:function tokenizeContent(e,t){let n;return function start(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),data(t)};function data(t){return null===t?contentEnd(t):markdownLineEnding(t)?e.check(D,contentContinue,contentEnd)(t):(e.consume(t),data)}function contentEnd(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function contentContinue(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,data}},resolve:function resolveContent(e){return subtokenize(e),e}},D={tokenize:function tokenizeContinuation(e,t,n){const o=this;return function startLookahead(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),factorySpace(e,prefixed,"linePrefix")};function prefixed(a){if(null===a||markdownLineEnding(a))return n(a);const i=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(o.parser.constructs.flow,n,t)(a)}},partial:!0};const I={tokenize:function initializeFlow(e){const t=this,n=e.attempt(T,(function atBlankEnding(o){if(null===o)return void e.consume(o);return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,afterConstruct,factorySpace(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(A,afterConstruct)),"linePrefix")));return n;function afterConstruct(o){if(null!==o)return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(o)}}};const L={resolveAll:createResolver()},j=initializeFactory("string"),M=initializeFactory("text");function initializeFactory(e){return{tokenize:function initializeText(t){const n=this,o=this.parser.constructs[e],a=t.attempt(o,start,notText);return start;function start(e){return atBreak(e)?a(e):notText(e)}function notText(e){if(null!==e)return t.enter("data"),t.consume(e),data;t.consume(e)}function data(e){return atBreak(e)?(t.exit("data"),a(e)):(t.consume(e),data)}function atBreak(e){if(null===e)return!0;const t=o[e];let a=-1;if(t)for(;++a<t.length;){const e=t[a];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:createResolver("text"===e?resolveAllLineSuffixes:void 0)}}function createResolver(e){return function resolveAllText(t,n){let o,a=-1;for(;++a<=t.length;)void 0===o?t[a]&&"data"===t[a][1].type&&(o=a,a++):t[a]&&"data"===t[a][1].type||(a!==o+2&&(t[o][1].end=t[a-1][1].end,t.splice(o+2,a-o-2),a=o+2),o=void 0);return e?e(t,n):t}}function resolveAllLineSuffixes(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const o=e[n-1][1],a=t.sliceStream(o);let i,l=a.length,u=-1,c=0;for(;l--;){const e=a[l];if("string"==typeof e){for(u=e.length;32===e.charCodeAt(u-1);)c++,u--;if(u)break;u=-1}else if(-2===e)i=!0,c++;else if(-1!==e){l++;break}}if(c){const a={type:n===e.length||i||c<2?"lineSuffix":"hardBreakTrailing",start:{line:o.end.line,column:o.end.column-c,offset:o.end.offset-c,_index:o.start._index+l,_bufferIndex:l?u:o.start._bufferIndex+u},end:Object.assign({},o.end)};o.end=Object.assign({},a.start),o.start.offset===o.end.offset?Object.assign(o,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}function resolveAll(e,t,n){const o=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!o.includes(i)&&(t=i(t,n),o.push(i))}return t}function createTokenizer(e,t,n){let o=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let l=[],u=[],c=!0;const s={consume:function consume(e){markdownLineEnding(e)?(o.line++,o.column=1,o.offset+=-3===e?2:1,accountForPotentialSkip()):-1!==e&&(o.column++,o.offset++);o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===l[o._index].length&&(o._bufferIndex=-1,o._index++));f.previous=e,c=!0},enter:function enter(e,t){const n=t||{};return n.type=e,n.start=now(),f.events.push(["enter",n,f]),u.push(n),n},exit:function exit(e){const t=u.pop();return t.end=now(),f.events.push(["exit",t,f]),t},attempt:constructFactory((function onsuccessfulconstruct(e,t){addResult(e,t.from)})),check:constructFactory(onsuccessfulcheck),interrupt:constructFactory(onsuccessfulcheck,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream,sliceSerialize:function sliceSerialize(e,t){return function serializeChunks(e,t){let n=-1;const o=[];let a;for(;++n<e.length;){const i=e[n];let l;if("string"==typeof i)l=i;else switch(i){case-5:l="\r";break;case-4:l="\n";break;case-3:l="\r\n";break;case-2:l=t?" ":"\t";break;case-1:if(!t&&a)continue;l=" ";break;default:l=String.fromCharCode(i)}a=-2===i,o.push(l)}return o.join("")}(sliceStream(e),t)},now,defineSkip:function defineSkip(e){a[e.line]=e.column,accountForPotentialSkip()},write:function write(e){if(l=push(l,e),main(),null!==l[l.length-1])return[];return addResult(t,0),f.events=resolveAll(i,f.events,f),f.events}};let d,p=t.tokenize.call(f,s);return t.resolveAll&&i.push(t),f;function sliceStream(e){return function sliceChunks(e,t){const n=t.start._index,o=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let l;n===a?l=[e[n].slice(o,i)]:(l=e.slice(n,a),o>-1&&(l[0]=l[0].slice(o)),i>0&&l.push(e[a].slice(0,i)));return l}(l,e)}function now(){return Object.assign({},o)}function main(){let e;for(;o._index<l.length;){const t=l[o._index];if("string"==typeof t)for(e=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===e&&o._bufferIndex<t.length;)go(t.charCodeAt(o._bufferIndex));else go(t)}}function go(e){c=void 0,d=e,p=p(e)}function onsuccessfulcheck(e,t){t.restore()}function constructFactory(e,t){return function hook(n,a,i){let l,d,p,m;return Array.isArray(n)?handleListOfConstructs(n):"tokenize"in n?handleListOfConstructs([n]):function handleMapOfConstructs(e){return start;function start(t){const n=null!==t&&e[t],o=null!==t&&e.null;return handleListOfConstructs([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(o)?o:o?[o]:[]])(t)}}(n);function handleListOfConstructs(e){return l=e,d=0,0===e.length?i:handleConstruct(e[d])}function handleConstruct(e){return function start(n){m=function store(){const e=now(),t=f.previous,n=f.currentConstruct,a=f.events.length,i=Array.from(u);return{restore,from:a};function restore(){o=e,f.previous=t,f.currentConstruct=n,f.events.length=a,u=i,accountForPotentialSkip()}}(),p=e,e.partial||(f.currentConstruct=e);if(e.name&&f.parser.constructs.disable.null.includes(e.name))return nok(n);return e.tokenize.call(t?Object.assign(Object.create(f),t):f,s,ok,nok)(n)}}function ok(t){return c=!0,e(p,m),a}function nok(e){return c=!0,m.restore(),++d<l.length?handleConstruct(l[d]):i}}}function addResult(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&splice(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function accountForPotentialSkip(){o.line in a&&o.column<2&&(o.column=a[o.line],o.offset+=a[o.line]-1)}}const R={name:"thematicBreak",tokenize:function tokenizeThematicBreak(e,t,n){let o,a=0;return function start(t){return e.enter("thematicBreak"),o=t,atBreak(t)};function atBreak(i){return i===o?(e.enter("thematicBreakSequence"),sequence(i)):markdownSpace(i)?factorySpace(e,atBreak,"whitespace")(i):a<3||null!==i&&!markdownLineEnding(i)?n(i):(e.exit("thematicBreak"),t(i))}function sequence(t){return t===o?(e.consume(t),a++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}}};const F={name:"list",tokenize:function tokenizeListStart(e,t,n){const o=this,a=o.events[o.events.length-1];let i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,l=0;return function start(t){const a=o.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!o.containerState.marker||t===o.containerState.marker:b(t)){if(o.containerState.type||(o.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(R,n,atMarker)(t):atMarker(t);if(!o.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),inside(t)}return n(t)};function inside(t){return b(t)&&++l<10?(e.consume(t),inside):(!o.interrupt||l<2)&&(o.containerState.marker?t===o.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),atMarker(t)):n(t)}function atMarker(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||t,e.check(T,o.interrupt?n:onBlank,e.attempt(z,endOfPrefix,otherPrefix))}function onBlank(e){return o.containerState.initialBlankLine=!0,i++,endOfPrefix(e)}function otherPrefix(t){return markdownSpace(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),endOfPrefix):n(t)}function endOfPrefix(n){return o.containerState.size=i+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function tokenizeListContinuation(e,t,n){const o=this;return o.containerState._closeFlow=void 0,e.check(T,onBlank,notBlank);function onBlank(n){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,factorySpace(e,t,"listItemIndent",o.containerState.size+1)(n)}function notBlank(n){return o.containerState.furtherBlankLines||!markdownSpace(n)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,notInCurrentItem(n)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(B,t,notInCurrentItem)(n))}function notInCurrentItem(a){return o.containerState._closeFlow=!0,o.interrupt=void 0,factorySpace(e,e.attempt(F,t,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function tokenizeListEnd(e){e.exit(this.containerState.type)}},z={tokenize:function tokenizeListItemPrefixWhitespace(e,t,n){const o=this;return factorySpace(e,(function afterPrefix(e){const a=o.events[o.events.length-1];return!markdownSpace(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)}),"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},B={tokenize:function tokenizeIndent(e,t,n){const o=this;return factorySpace(e,(function afterPrefix(e){const a=o.events[o.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===o.containerState.size?t(e):n(e)}),"listItemIndent",o.containerState.size+1)},partial:!0};const N={name:"blockQuote",tokenize:function tokenizeBlockQuoteStart(e,t,n){const o=this;return function start(t){if(62===t){const n=o.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),after}return n(t)};function after(n){return markdownSpace(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function tokenizeBlockQuoteContinuation(e,t,n){return factorySpace(e,e.attempt(N,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function exit(e){e.exit("blockQuote")}};function factoryDestination(e,t,n,o,a,i,l,u,c){const s=c||Number.POSITIVE_INFINITY;let f=0;return function start(t){if(60===t)return e.enter(o),e.enter(a),e.enter(i),e.consume(t),e.exit(i),destinationEnclosedBefore;if(null===t||41===t||asciiControl(t))return n(t);return e.enter(o),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),destinationRaw(t)};function destinationEnclosedBefore(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(o),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),destinationEnclosed(n))}function destinationEnclosed(t){return 62===t?(e.exit("chunkString"),e.exit(u),destinationEnclosedBefore(t)):null===t||60===t||markdownLineEnding(t)?n(t):(e.consume(t),92===t?destinationEnclosedEscape:destinationEnclosed)}function destinationEnclosedEscape(t){return 60===t||62===t||92===t?(e.consume(t),destinationEnclosed):destinationEnclosed(t)}function destinationRaw(a){return 40===a?++f>s?n(a):(e.consume(a),destinationRaw):41===a?f--?(e.consume(a),destinationRaw):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(o),t(a)):null===a||markdownLineEndingOrSpace(a)?f?n(a):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(o),t(a)):asciiControl(a)?n(a):(e.consume(a),92===a?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}function factoryLabel(e,t,n,o,a,i){const l=this;let u,c=0;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),e.enter(i),atBreak};function atBreak(s){return null===s||91===s||93===s&&!u||94===s&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs||c>999?n(s):93===s?(e.exit(i),e.enter(a),e.consume(s),e.exit(a),e.exit(o),t):markdownLineEnding(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(s))}function label(t){return null===t||91===t||93===t||markdownLineEnding(t)||c++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),u=u||!markdownSpace(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),c++,label):label(t)}}function factoryTitle(e,t,n,o,a,i){let l;return function start(t){return e.enter(o),e.enter(a),e.consume(t),e.exit(a),l=40===t?41:t,atFirstTitleBreak};function atFirstTitleBreak(n){return n===l?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),t):(e.enter(i),atTitleBreak(n))}function atTitleBreak(t){return t===l?(e.exit(i),atFirstTitleBreak(l)):null===t?n(t):markdownLineEnding(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),factorySpace(e,atTitleBreak,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),title(t))}function title(t){return t===l||null===t||markdownLineEnding(t)?(e.exit("chunkString"),atTitleBreak(t)):(e.consume(t),92===t?titleEscape:title)}function titleEscape(t){return t===l||92===t?(e.consume(t),title):title(t)}}function factoryWhitespace(e,t){let n;return function start(o){if(markdownLineEnding(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,start;if(markdownSpace(o))return factorySpace(e,start,n?"linePrefix":"lineSuffix")(o);return t(o)}}function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const q={name:"definition",tokenize:function tokenizeDefinition(e,t,n){const o=this;let a;return function start(t){return e.enter("definition"),factoryLabel.call(o,e,labelAfter,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function labelAfter(t){return a=normalizeIdentifier(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),factoryWhitespace(e,factoryDestination(e,e.attempt(W,factorySpace(e,after,"whitespace"),factorySpace(e,after,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function after(i){return null===i||markdownLineEnding(i)?(e.exit("definition"),o.parser.defined.includes(a)||o.parser.defined.push(a),t(i)):n(i)}}},W={tokenize:function tokenizeTitle(e,t,n){return function start(t){return markdownLineEndingOrSpace(t)?factoryWhitespace(e,before)(t):n(t)};function before(t){return 34===t||39===t||40===t?factoryTitle(e,factorySpace(e,after,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function after(e){return null===e||markdownLineEnding(e)?t(e):n(e)}},partial:!0};const U={name:"codeIndented",tokenize:function tokenizeCodeIndented(e,t,n){const o=this;return function start(t){return e.enter("codeIndented"),factorySpace(e,afterStartPrefix,"linePrefix",5)(t)};function afterStartPrefix(e){const t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?afterPrefix(e):n(e)}function afterPrefix(t){return null===t?after(t):markdownLineEnding(t)?e.attempt(V,afterPrefix,after)(t):(e.enter("codeFlowValue"),content(t))}function content(t){return null===t||markdownLineEnding(t)?(e.exit("codeFlowValue"),afterPrefix(t)):(e.consume(t),content)}function after(n){return e.exit("codeIndented"),t(n)}}},V={tokenize:function tokenizeIndentedContent(e,t,n){const o=this;return start;function start(t){return o.parser.lazy[o.now().line]?n(t):markdownLineEnding(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),start):factorySpace(e,afterPrefix,"linePrefix",5)(t)}function afterPrefix(e){const a=o.events[o.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):markdownLineEnding(e)?start(e):n(e)}},partial:!0};const H={name:"headingAtx",tokenize:function tokenizeHeadingAtx(e,t,n){const o=this;let a=0;return function start(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),fenceOpenInside(t)};function fenceOpenInside(i){return 35===i&&a++<6?(e.consume(i),fenceOpenInside):null===i||markdownLineEndingOrSpace(i)?(e.exit("atxHeadingSequence"),o.interrupt?t(i):headingBreak(i)):n(i)}function headingBreak(n){return 35===n?(e.enter("atxHeadingSequence"),sequence(n)):null===n||markdownLineEnding(n)?(e.exit("atxHeading"),t(n)):markdownSpace(n)?factorySpace(e,headingBreak,"whitespace")(n):(e.enter("atxHeadingText"),data(n))}function sequence(t){return 35===t?(e.consume(t),sequence):(e.exit("atxHeadingSequence"),headingBreak(t))}function data(t){return null===t||35===t||markdownLineEndingOrSpace(t)?(e.exit("atxHeadingText"),headingBreak(t)):(e.consume(t),data)}},resolve:function resolveHeadingAtx(e,t){let n,o,a=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);a-2>i&&"whitespace"===e[a][1].type&&(a-=2);"atxHeadingSequence"===e[a][1].type&&(i===a-1||a-4>i&&"whitespace"===e[a-2][1].type)&&(a-=i+1===a?2:4);a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},o={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},splice(e,i,a-i+1,[["enter",n,t],["enter",o,t],["exit",o,t],["exit",n,t]]));return e}};const G={name:"setextUnderline",tokenize:function tokenizeSetextUnderline(e,t,n){const o=this;let a,i,l=o.events.length;for(;l--;)if("lineEnding"!==o.events[l][1].type&&"linePrefix"!==o.events[l][1].type&&"content"!==o.events[l][1].type){i="paragraph"===o.events[l][1].type;break}return function start(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,closingSequence(t);return n(t)};function closingSequence(t){return t===a?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),factorySpace(e,closingSequenceEnd,"lineSuffix")(t))}function closingSequenceEnd(o){return null===o||markdownLineEnding(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}},resolveTo:function resolveToSetextUnderline(e,t){let n,o,a,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(o=i)}else"content"===e[i][1].type&&e.splice(i,1),a||"definition"!==e[i][1].type||(a=i);const l={type:"setextHeading",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)};e[o][1].type="setextHeadingText",a?(e.splice(o,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=l;return e.push(["exit",l,t]),e}};const Y=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],X=["pre","script","style","textarea"],$={name:"htmlFlow",tokenize:function tokenizeHtmlFlow(e,t,n){const o=this;let a,i,l,u,c;return function start(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),open};function open(u){return 33===u?(e.consume(u),declarationStart):47===u?(e.consume(u),tagCloseStart):63===u?(e.consume(u),a=3,o.interrupt?t:continuationDeclarationInside):y(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,tagName):n(u)}function declarationStart(i){return 45===i?(e.consume(i),a=2,commentOpenInside):91===i?(e.consume(i),a=5,l="CDATA[",u=0,cdataOpenInside):y(i)?(e.consume(i),a=4,o.interrupt?t:continuationDeclarationInside):n(i)}function commentOpenInside(a){return 45===a?(e.consume(a),o.interrupt?t:continuationDeclarationInside):n(a)}function cdataOpenInside(a){return a===l.charCodeAt(u++)?(e.consume(a),u===l.length?o.interrupt?t:continuation:cdataOpenInside):n(a)}function tagCloseStart(t){return y(t)?(e.consume(t),l=String.fromCharCode(t),tagName):n(t)}function tagName(u){return null===u||47===u||62===u||markdownLineEndingOrSpace(u)?47!==u&&i&&X.includes(l.toLowerCase())?(a=1,o.interrupt?t(u):continuation(u)):Y.includes(l.toLowerCase())?(a=6,47===u?(e.consume(u),basicSelfClosing):o.interrupt?t(u):continuation(u)):(a=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(u):i?completeAttributeNameBefore(u):completeClosingTagAfter(u)):45===u||k(u)?(e.consume(u),l+=String.fromCharCode(u),tagName):n(u)}function basicSelfClosing(a){return 62===a?(e.consume(a),o.interrupt?t:continuation):n(a)}function completeClosingTagAfter(t){return markdownSpace(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||y(t)?(e.consume(t),completeAttributeName):markdownSpace(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||k(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):markdownSpace(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,completeAttributeValueQuoted):markdownSpace(t)?(e.consume(t),completeAttributeValueBefore):(c=null,completeAttributeValueUnquoted(t))}function completeAttributeValueQuoted(t){return null===t||markdownLineEnding(t)?n(t):t===c?(e.consume(t),completeAttributeValueQuotedAfter):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||markdownLineEndingOrSpace(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||markdownSpace(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return markdownSpace(t)?(e.consume(t),completeAfter):null===t||markdownLineEnding(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===a?(e.consume(t),continuationCommentInside):60===t&&1===a?(e.consume(t),continuationRawTagOpen):62===t&&4===a?(e.consume(t),continuationClose):63===t&&3===a?(e.consume(t),continuationDeclarationInside):93===t&&5===a?(e.consume(t),continuationCharacterDataInside):!markdownLineEnding(t)||6!==a&&7!==a?null===t||markdownLineEnding(t)?continuationAtLineEnding(t):(e.consume(t),continuation):e.check(Q,continuationClose,continuationAtLineEnding)(t)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),htmlContinueStart(t)}function htmlContinueStart(t){return null===t?done(t):markdownLineEnding(t)?e.attempt({tokenize:htmlLineEnd,partial:!0},htmlContinueStart,done)(t):(e.enter("htmlFlowData"),continuation(t))}function htmlLineEnd(e,t,n){return function start(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),lineStart};function lineStart(e){return o.parser.lazy[o.now().line]?n(e):t(e)}}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),l="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&X.includes(l.toLowerCase())?(e.consume(t),continuationClose):y(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):45===t&&2===a?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationClose(t){return null===t||markdownLineEnding(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function resolveToHtmlFlow(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Q={tokenize:function tokenizeNextBlank(e,t,n){return function start(o){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),e.attempt(T,t,n)}},partial:!0};const K={name:"codeFenced",tokenize:function tokenizeCodeFenced(e,t,n){const o=this,a={tokenize:function tokenizeClosingFence(e,t,n){let o=0;return factorySpace(e,closingSequenceStart,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function closingSequenceStart(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),closingSequence(t)}function closingSequence(t){return t===c?(e.consume(t),o++,closingSequence):o<s?n(t):(e.exit("codeFencedFenceSequence"),factorySpace(e,closingSequenceEnd,"whitespace")(t))}function closingSequenceEnd(o){return null===o||markdownLineEnding(o)?(e.exit("codeFencedFence"),t(o)):n(o)}},partial:!0},i={tokenize:function tokenizeNonLazyLine(e,t,n){const o=this;return start;function start(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),lineStart}function lineStart(e){return o.parser.lazy[o.now().line]?n(e):t(e)}},partial:!0},l=this.events[this.events.length-1],u=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0;let c,s=0;return function start(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c=t,sequenceOpen(t)};function sequenceOpen(t){return t===c?(e.consume(t),s++,sequenceOpen):(e.exit("codeFencedFenceSequence"),s<3?n(t):factorySpace(e,infoOpen,"whitespace")(t))}function infoOpen(t){return null===t||markdownLineEnding(t)?openAfter(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),info(t))}function info(t){return null===t||markdownLineEndingOrSpace(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),factorySpace(e,infoAfter,"whitespace")(t)):96===t&&t===c?n(t):(e.consume(t),info)}function infoAfter(t){return null===t||markdownLineEnding(t)?openAfter(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),meta(t))}function meta(t){return null===t||markdownLineEnding(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),openAfter(t)):96===t&&t===c?n(t):(e.consume(t),meta)}function openAfter(n){return e.exit("codeFencedFence"),o.interrupt?t(n):contentStart(n)}function contentStart(t){return null===t?after(t):markdownLineEnding(t)?e.attempt(i,e.attempt(a,after,u?factorySpace(e,contentStart,"linePrefix",u+1):contentStart),after)(t):(e.enter("codeFlowValue"),contentContinue(t))}function contentContinue(t){return null===t||markdownLineEnding(t)?(e.exit("codeFlowValue"),contentStart(t)):(e.consume(t),contentContinue)}function after(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Z=document.createElement("i");function decodeNamedCharacterReference(e){const t="&"+e+";";Z.innerHTML=t;const n=Z.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const J={name:"characterReference",tokenize:function tokenizeCharacterReference(e,t,n){const o=this;let a,i,l=0;return function start(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),a=31,i=k,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,i=x,value):(e.enter("characterReferenceValue"),a=7,i=b,value(t))}function value(u){let c;return 59===u&&l?(c=e.exit("characterReferenceValue"),i!==k||decodeNamedCharacterReference(o.sliceSerialize(c))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(u)):i(u)&&l++<a?(e.consume(u),value):n(u)}}};const ee={name:"characterEscape",tokenize:function tokenizeCharacterEscape(e,t,n){return function start(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),open};function open(o){return w(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}};const te={name:"lineEnding",tokenize:function tokenizeLineEnding(e,t){return function start(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),factorySpace(e,t,"linePrefix")}}};const ne={name:"labelEnd",tokenize:function tokenizeLabelEnd(e,t,n){const o=this;let a,i,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){a=o.events[l][1];break}return function start(t){if(!a)return n(t);return a._inactive?balanced(t):(i=o.parser.defined.includes(normalizeIdentifier(o.sliceSerialize({start:a.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd)};function afterLabelEnd(n){return 40===n?e.attempt(re,t,i?t:balanced)(n):91===n?e.attempt(oe,t,i?e.attempt(ae,t,balanced):balanced)(n):i?t(n):balanced(n)}function balanced(e){return a._balanced=!0,n(e)}},resolveTo:function resolveToLabelEnd(e,t){let n,o,a,i,l=e.length,u=0;for(;l--;)if(n=e[l][1],o){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(o=l,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(a=l);const c={type:"labelLink"===e[o][1].type?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[o+u+2][1].end),end:Object.assign({},e[a-2][1].start)};return i=[["enter",c,t],["enter",s,t]],i=push(i,e.slice(o+1,o+u+3)),i=push(i,[["enter",f,t]]),i=push(i,resolveAll(t.parser.constructs.insideSpan.null,e.slice(o+u+4,a-3),t)),i=push(i,[["exit",f,t],e[a-2],e[a-1],["exit",s,t]]),i=push(i,e.slice(a+1)),i=push(i,[["exit",c,t]]),splice(e,o,e.length,i),e},resolveAll:function resolveAllLabelEnd(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},re={tokenize:function tokenizeResource(e,t,n){return function start(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),factoryWhitespace(e,open)};function open(t){return 41===t?end(t):factoryDestination(e,destinationAfter,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function destinationAfter(t){return markdownLineEndingOrSpace(t)?factoryWhitespace(e,between)(t):end(t)}function between(t){return 34===t||39===t||40===t?factoryTitle(e,factoryWhitespace(e,end),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):end(t)}function end(o){return 41===o?(e.enter("resourceMarker"),e.consume(o),e.exit("resourceMarker"),e.exit("resource"),t):n(o)}}},oe={tokenize:function tokenizeFullReference(e,t,n){const o=this;return function start(t){return factoryLabel.call(o,e,afterLabel,n,"reference","referenceMarker","referenceString")(t)};function afterLabel(e){return o.parser.defined.includes(normalizeIdentifier(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},ae={tokenize:function tokenizeCollapsedReference(e,t,n){return function start(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),open};function open(o){return 93===o?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}};const ie={name:"labelStartImage",tokenize:function tokenizeLabelStartImage(e,t,n){const o=this;return function start(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),open};function open(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),after):n(t)}function after(e){return 94===e&&"_hiddenFootnoteSupport"in o.parser.constructs?n(e):t(e)}},resolveAll:ne.resolveAll};function classifyCharacter(e){return null===e||markdownLineEndingOrSpace(e)||_(e)?1:C(e)?2:void 0}const le={name:"attention",tokenize:function tokenizeAttention(e,t){const n=this.parser.constructs.attentionMarkers.null,o=this.previous,a=classifyCharacter(o);let i;return function start(t){return e.enter("attentionSequence"),i=t,sequence(t)};function sequence(l){if(l===i)return e.consume(l),sequence;const u=e.exit("attentionSequence"),c=classifyCharacter(l),s=!c||2===c&&a||n.includes(l),f=!a||2===a&&c||n.includes(o);return u._open=Boolean(42===i?s:s&&(a||!f)),u._close=Boolean(42===i?f:f&&(c||!s)),t(l)}},resolveAll:function resolveAllAttention(e,t){let n,o,a,i,l,u,c,s,f=-1;for(;++f<e.length;)if("enter"===e[f][0]&&"attentionSequence"===e[f][1].type&&e[f][1]._close)for(n=f;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[f][1]).charCodeAt(0)){if((e[n][1]._close||e[f][1]._open)&&(e[f][1].end.offset-e[f][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[f][1].end.offset-e[f][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[f][1].end.offset-e[f][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[f][1].start);movePoint(d,-u),movePoint(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[f][1].start),end:p},a={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[f][1].start)},o={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[n][1].end=Object.assign({},i.start),e[f][1].start=Object.assign({},l.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=push(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=push(c,[["enter",o,t],["enter",i,t],["exit",i,t],["enter",a,t]]),c=push(c,resolveAll(t.parser.constructs.insideSpan.null,e.slice(n+1,f),t)),c=push(c,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",o,t]]),e[f][1].end.offset-e[f][1].start.offset?(s=2,c=push(c,[["enter",e[f][1],t],["exit",e[f][1],t]])):s=0,splice(e,n-1,f-n+3,c),f=n+c.length-s-2;break}f=-1;for(;++f<e.length;)"attentionSequence"===e[f][1].type&&(e[f][1].type="data");return e}};function movePoint(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ue={name:"autolink",tokenize:function tokenizeAutolink(e,t,n){let o=1;return function start(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),open};function open(t){return y(t)?(e.consume(t),schemeOrEmailAtext):S(t)?emailAtext(t):n(t)}function schemeOrEmailAtext(e){return 43===e||45===e||46===e||k(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){return 58===t?(e.consume(t),urlInside):(43===t||45===t||46===t||k(t))&&o++<32?(e.consume(t),schemeInsideOrEmailAtext):emailAtext(t)}function urlInside(t){return 62===t?(e.exit("autolinkProtocol"),end(t)):null===t||32===t||60===t||asciiControl(t)?n(t):(e.consume(t),urlInside)}function emailAtext(t){return 64===t?(e.consume(t),o=0,emailAtSignOrDot):S(t)?(e.consume(t),emailAtext):n(t)}function emailAtSignOrDot(e){return k(e)?emailLabel(e):n(e)}function emailLabel(t){return 46===t?(e.consume(t),o=0,emailAtSignOrDot):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",end(t)):emailValue(t)}function emailValue(t){return(45===t||k(t))&&o++<63?(e.consume(t),45===t?emailValue:emailLabel):n(t)}function end(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};const ce={name:"htmlText",tokenize:function tokenizeHtmlText(e,t,n){const o=this;let a,i,l,u;return function start(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),open};function open(t){return 33===t?(e.consume(t),declarationOpen):47===t?(e.consume(t),tagCloseStart):63===t?(e.consume(t),instruction):y(t)?(e.consume(t),tagOpen):n(t)}function declarationOpen(t){return 45===t?(e.consume(t),commentOpen):91===t?(e.consume(t),i="CDATA[",l=0,cdataOpen):y(t)?(e.consume(t),declaration):n(t)}function commentOpen(t){return 45===t?(e.consume(t),commentStart):n(t)}function commentStart(t){return null===t||62===t?n(t):45===t?(e.consume(t),commentStartDash):comment(t)}function commentStartDash(e){return null===e||62===e?n(e):comment(e)}function comment(t){return null===t?n(t):45===t?(e.consume(t),commentClose):markdownLineEnding(t)?(u=comment,atLineEnding(t)):(e.consume(t),comment)}function commentClose(t){return 45===t?(e.consume(t),end):comment(t)}function cdataOpen(t){return t===i.charCodeAt(l++)?(e.consume(t),l===i.length?cdata:cdataOpen):n(t)}function cdata(t){return null===t?n(t):93===t?(e.consume(t),cdataClose):markdownLineEnding(t)?(u=cdata,atLineEnding(t)):(e.consume(t),cdata)}function cdataClose(t){return 93===t?(e.consume(t),cdataEnd):cdata(t)}function cdataEnd(t){return 62===t?end(t):93===t?(e.consume(t),cdataEnd):cdata(t)}function declaration(t){return null===t||62===t?end(t):markdownLineEnding(t)?(u=declaration,atLineEnding(t)):(e.consume(t),declaration)}function instruction(t){return null===t?n(t):63===t?(e.consume(t),instructionClose):markdownLineEnding(t)?(u=instruction,atLineEnding(t)):(e.consume(t),instruction)}function instructionClose(e){return 62===e?end(e):instruction(e)}function tagCloseStart(t){return y(t)?(e.consume(t),tagClose):n(t)}function tagClose(t){return 45===t||k(t)?(e.consume(t),tagClose):tagCloseBetween(t)}function tagCloseBetween(t){return markdownLineEnding(t)?(u=tagCloseBetween,atLineEnding(t)):markdownSpace(t)?(e.consume(t),tagCloseBetween):end(t)}function tagOpen(t){return 45===t||k(t)?(e.consume(t),tagOpen):47===t||62===t||markdownLineEndingOrSpace(t)?tagOpenBetween(t):n(t)}function tagOpenBetween(t){return 47===t?(e.consume(t),end):58===t||95===t||y(t)?(e.consume(t),tagOpenAttributeName):markdownLineEnding(t)?(u=tagOpenBetween,atLineEnding(t)):markdownSpace(t)?(e.consume(t),tagOpenBetween):end(t)}function tagOpenAttributeName(t){return 45===t||46===t||58===t||95===t||k(t)?(e.consume(t),tagOpenAttributeName):tagOpenAttributeNameAfter(t)}function tagOpenAttributeNameAfter(t){return 61===t?(e.consume(t),tagOpenAttributeValueBefore):markdownLineEnding(t)?(u=tagOpenAttributeNameAfter,atLineEnding(t)):markdownSpace(t)?(e.consume(t),tagOpenAttributeNameAfter):tagOpenBetween(t)}function tagOpenAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,tagOpenAttributeValueQuoted):markdownLineEnding(t)?(u=tagOpenAttributeValueBefore,atLineEnding(t)):markdownSpace(t)?(e.consume(t),tagOpenAttributeValueBefore):(e.consume(t),a=void 0,tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuoted(t){return t===a?(e.consume(t),tagOpenAttributeValueQuotedAfter):null===t?n(t):markdownLineEnding(t)?(u=tagOpenAttributeValueQuoted,atLineEnding(t)):(e.consume(t),tagOpenAttributeValueQuoted)}function tagOpenAttributeValueQuotedAfter(e){return 62===e||47===e||markdownLineEndingOrSpace(e)?tagOpenBetween(e):n(e)}function tagOpenAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||markdownLineEndingOrSpace(t)?tagOpenBetween(t):(e.consume(t),tagOpenAttributeValueUnquoted)}function atLineEnding(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),factorySpace(e,afterPrefix,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),u(t)}function end(o){return 62===o?(e.consume(o),e.exit("htmlTextData"),e.exit("htmlText"),t):n(o)}}};const se={name:"labelStartLink",tokenize:function tokenizeLabelStartLink(e,t,n){const o=this;return function start(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),after};function after(e){return 94===e&&"_hiddenFootnoteSupport"in o.parser.constructs?n(e):t(e)}},resolveAll:ne.resolveAll};const fe={name:"hardBreakEscape",tokenize:function tokenizeHardBreakEscape(e,t,n){return function start(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),open};function open(o){return markdownLineEnding(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}};const de={name:"codeText",tokenize:function tokenizeCodeText(e,t,n){let o,a,i=0;return function start(t){return e.enter("codeText"),e.enter("codeTextSequence"),openingSequence(t)};function openingSequence(t){return 96===t?(e.consume(t),i++,openingSequence):(e.exit("codeTextSequence"),gap(t))}function gap(t){return null===t?n(t):96===t?(a=e.enter("codeTextSequence"),o=0,closingSequence(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),gap):markdownLineEnding(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),gap):(e.enter("codeTextData"),data(t))}function data(t){return null===t||32===t||96===t||markdownLineEnding(t)?(e.exit("codeTextData"),gap(t)):(e.consume(t),data)}function closingSequence(n){return 96===n?(e.consume(n),o++,closingSequence):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",data(n))}},resolve:function resolveCodeText(e){let t,n,o=e.length-4,a=3;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[o][1].type&&"space"!==e[o][1].type))for(t=a;++t<o;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[o][1].type="codeTextPadding",a+=2,o-=2;break}t=a-1,o++;for(;++t<=o;)void 0===n?t!==o&&"lineEnding"!==e[t][1].type&&(n=t):t!==o&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),o-=t-n-2,t=n+2),n=void 0);return e},previous:function previous(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const pe={42:F,43:F,45:F,48:F,49:F,50:F,51:F,52:F,53:F,54:F,55:F,56:F,57:F,62:N},me={91:q},he={[-2]:U,[-1]:U,32:U},ge={35:H,42:R,45:[G,R],60:$,61:G,95:R,96:K,126:K},ye={38:J,92:ee},ve={[-5]:te,[-4]:te,[-3]:te,33:ie,38:J,42:le,60:[ue,ce],91:se,92:[fe,ee],93:ne,95:le,96:de},be={null:[le,L]},xe={null:[42,95]},ke={null:[]};function parse(e={}){const t=function combineExtensions(e){const t={};let n=-1;for(;++n<e.length;)syntaxExtension(t,e[n]);return t}([o].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:create(E),document:create(O),flow:create(I),string:create(j),text:create(M)};return n;function create(e){return function creator(t){return createTokenizer(n,e,t)}}}const we=/[\0\t\n\r]/g;function decodeNumericCharacterReference(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"":String.fromCharCode(n)}const Se=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decode(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return decodeNumericCharacterReference(n.slice(t?2:1),t?16:10)}return decodeNamedCharacterReference(n)||e}const _e={}.hasOwnProperty,fromMarkdown=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function compiler(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:opener(link),autolinkProtocol:onenterdata,autolinkEmail:onenterdata,atxHeading:opener(heading),blockQuote:opener(blockQuote),characterEscape:onenterdata,characterReference:onenterdata,codeFenced:opener(codeFlow),codeFencedFenceInfo:buffer,codeFencedFenceMeta:buffer,codeIndented:opener(codeFlow,buffer),codeText:opener(codeText,buffer),codeTextData:onenterdata,data:onenterdata,codeFlowValue:onenterdata,definition:opener(definition),definitionDestinationString:buffer,definitionLabelString:buffer,definitionTitleString:buffer,emphasis:opener(emphasis),hardBreakEscape:opener(hardBreak),hardBreakTrailing:opener(hardBreak),htmlFlow:opener(html,buffer),htmlFlowData:onenterdata,htmlText:opener(html,buffer),htmlTextData:onenterdata,image:opener(image),label:buffer,link:opener(link),listItem:opener(listItem),listItemValue:onenterlistitemvalue,listOrdered:opener(list,onenterlistordered),listUnordered:opener(list),paragraph:opener(paragraph),reference:onenterreference,referenceString:buffer,resourceDestinationString:buffer,resourceTitleString:buffer,setextHeading:opener(heading),strong:opener(strong),thematicBreak:opener(thematicBreak)},exit:{atxHeading:closer(),atxHeadingSequence:onexitatxheadingsequence,autolink:closer(),autolinkEmail:onexitautolinkemail,autolinkProtocol:onexitautolinkprotocol,blockQuote:closer(),characterEscapeValue:onexitdata,characterReferenceMarkerHexadecimal:onexitcharacterreferencemarker,characterReferenceMarkerNumeric:onexitcharacterreferencemarker,characterReferenceValue:onexitcharacterreferencevalue,codeFenced:closer(onexitcodefenced),codeFencedFence:onexitcodefencedfence,codeFencedFenceInfo:onexitcodefencedfenceinfo,codeFencedFenceMeta:onexitcodefencedfencemeta,codeFlowValue:onexitdata,codeIndented:closer(onexitcodeindented),codeText:closer(onexitcodetext),codeTextData:onexitdata,data:onexitdata,definition:closer(),definitionDestinationString:onexitdefinitiondestinationstring,definitionLabelString:onexitdefinitionlabelstring,definitionTitleString:onexitdefinitiontitlestring,emphasis:closer(),hardBreakEscape:closer(onexithardbreak),hardBreakTrailing:closer(onexithardbreak),htmlFlow:closer(onexithtmlflow),htmlFlowData:onexitdata,htmlText:closer(onexithtmltext),htmlTextData:onexitdata,image:closer(onexitimage),label:onexitlabel,labelText:onexitlabeltext,lineEnding:onexitlineending,link:closer(onexitlink),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:onexitreferencestring,resourceDestinationString:onexitresourcedestinationstring,resourceTitleString:onexitresourcetitlestring,resource:onexitresource,setextHeading:closer(onexitsetextheading),setextHeadingLineSequence:onexitsetextheadinglinesequence,setextHeadingText:onexitsetextheadingtext,strong:closer(),thematicBreak:closer()}};configure(t,(e||{}).mdastExtensions||[]);const n={};return compile;function compile(e){let n={type:"root",children:[]};const o={stack:[n],tokenStack:[],config:t,enter,exit,buffer,resume,setData,getData},a=[];let i=-1;for(;++i<e.length;)if("listOrdered"===e[i][1].type||"listUnordered"===e[i][1].type)if("enter"===e[i][0])a.push(i);else{i=prepareList(e,a.pop(),i)}for(i=-1;++i<e.length;){const n=t[e[i][0]];_e.call(n,e[i][1].type)&&n[e[i][1].type].call(Object.assign({sliceSerialize:e[i][2].sliceSerialize},o),e[i][1])}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||defaultOnError).call(o,void 0,e[0])}for(n.position={start:lib_point(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:lib_point(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},i=-1;++i<t.transforms.length;)n=t.transforms[i](n)||n;return n}function prepareList(e,t,n){let o,a,i,l,u=t-1,c=-1,s=!1;for(;++u<=n;){const t=e[u];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?c++:c--,l=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!o||l||c||i||(i=u),l=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(l=void 0),!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(o){let l=u;for(a=void 0;l--;){const t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",a=l}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!a||i<a)&&(o._spread=!0),o.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||u,0,["exit",o,t[2]]),u++,n++}"listItemPrefix"===t[1].type&&(o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(u,0,["enter",o,t[2]]),u++,n++,i=void 0,l=!0)}}return e[t][1]._spread=s,n}function setData(e,t){n[e]=t}function getData(e){return n[e]}function opener(e,t){return open;function open(n){enter.call(this,e(n),n),t&&t.call(this,n)}}function buffer(){this.stack.push({type:"fragment",children:[]})}function enter(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:lib_point(t.start)},e}function closer(e){return close;function close(t){e&&e.call(this,t),exit.call(this,t)}}function exit(e,t){const n=this.stack.pop(),o=this.tokenStack.pop();if(!o)throw new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): it’s not open");if(o[0].type!==e.type)if(t)t.call(this,e,o[0]);else{(o[1]||defaultOnError).call(this,e,o[0])}return n.position.end=lib_point(e.end),n}function resume(){return function lib_toString(e,t){const n=t||h;return one(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function onenterlistordered(){setData("expectingFirstListItemValue",!0)}function onenterlistitemvalue(e){if(getData("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),setData("expectingFirstListItemValue")}}function onexitcodefencedfenceinfo(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function onexitcodefencedfencemeta(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function onexitcodefencedfence(){getData("flowCodeInside")||(this.buffer(),setData("flowCodeInside",!0))}function onexitcodefenced(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),setData("flowCodeInside")}function onexitcodeindented(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function onexitdefinitionlabelstring(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()}function onexitdefinitiontitlestring(){const e=this.resume();this.stack[this.stack.length-1].title=e}function onexitdefinitiondestinationstring(){const e=this.resume();this.stack[this.stack.length-1].url=e}function onexitatxheadingsequence(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",!0)}function onexitsetextheadinglinesequence(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")}function onenterdata(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=text(),n.position={start:lib_point(e.start)},t.children.push(n)),this.stack.push(n)}function onexitdata(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=lib_point(e.end)}function onexitlineending(e){const n=this.stack[this.stack.length-1];if(getData("atHardBreak")){return n.children[n.children.length-1].position.end=lib_point(e.end),void setData("atHardBreak")}!getData("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(onenterdata.call(this,e),onexitdata.call(this,e))}function onexithardbreak(){setData("atHardBreak",!0)}function onexithtmlflow(){const e=this.resume();this.stack[this.stack.length-1].value=e}function onexithtmltext(){const e=this.resume();this.stack[this.stack.length-1].value=e}function onexitcodetext(){const e=this.resume();this.stack[this.stack.length-1].value=e}function onexitlink(){const e=this.stack[this.stack.length-1];if(getData("inReference")){const t=getData("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;setData("referenceType")}function onexitimage(){const e=this.stack[this.stack.length-1];if(getData("inReference")){const t=getData("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;setData("referenceType")}function onexitlabeltext(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function decodeString(e){return e.replace(Se,decode)}(t),n.identifier=normalizeIdentifier(t).toLowerCase()}function onexitlabel(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(setData("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function onexitresourcedestinationstring(){const e=this.resume();this.stack[this.stack.length-1].url=e}function onexitresourcetitlestring(){const e=this.resume();this.stack[this.stack.length-1].title=e}function onexitresource(){setData("inReference")}function onenterreference(){setData("referenceType","collapsed")}function onexitreferencestring(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),setData("referenceType","full")}function onexitcharacterreferencemarker(e){setData("characterReferenceType",e.type)}function onexitcharacterreferencevalue(e){const t=this.sliceSerialize(e),n=getData("characterReferenceType");let o;if(n)o=decodeNumericCharacterReference(t,"characterReferenceMarkerNumeric"===n?10:16),setData("characterReferenceType");else{o=decodeNamedCharacterReference(t)}const a=this.stack.pop();a.value+=o,a.position.end=lib_point(e.end)}function onexitautolinkprotocol(e){onexitdata.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function onexitautolinkemail(e){onexitdata.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function blockQuote(){return{type:"blockquote",children:[]}}function codeFlow(){return{type:"code",lang:null,meta:null,value:""}}function codeText(){return{type:"inlineCode",value:""}}function definition(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function emphasis(){return{type:"emphasis",children:[]}}function heading(){return{type:"heading",depth:void 0,children:[]}}function hardBreak(){return{type:"break"}}function html(){return{type:"html",value:""}}function image(){return{type:"image",title:null,url:"",alt:null}}function link(){return{type:"link",title:null,url:"",children:[]}}function list(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function listItem(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function paragraph(){return{type:"paragraph",children:[]}}function strong(){return{type:"strong",children:[]}}function text(){return{type:"text",value:""}}function thematicBreak(){return{type:"thematicBreak"}}}(n)(function postprocess(e){for(;!subtokenize(e););return e}(parse(n).document().write(function preprocess(){let e,t=1,n="",o=!0;return function preprocessor(a,i,l){const u=[];let c,s,f,d,p;for(a=n+a.toString(i),f=0,n="",o&&(65279===a.charCodeAt(0)&&f++,o=void 0);f<a.length;){if(we.lastIndex=f,c=we.exec(a),d=c&&void 0!==c.index?c.index:a.length,p=a.charCodeAt(d),!c){n=a.slice(f);break}if(10===p&&f===d&&e)u.push(-3),e=void 0;else switch(e&&(u.push(-5),e=void 0),f<d&&(u.push(a.slice(f,d)),t+=d-f),p){case 0:u.push(65533),t++;break;case 9:for(s=4*Math.ceil(t/4),u.push(-2);t++<s;)u.push(-1);break;case 10:u.push(-4),t=1;break;default:e=!0,t=1}f=d+1}return l&&(e&&u.push(-5),n&&u.push(n),u.push(null)),u}}()(e,t,!0))))};function lib_point(e){return{line:e.line,column:e.column,offset:e.offset}}function configure(e,t){let n=-1;for(;++n<t.length;){const o=t[n];Array.isArray(o)?configure(e,o):extension(e,o)}}function extension(e,t){let n;for(n in t)if(_e.call(t,n))if("canContainEols"===n){const o=t[n];o&&e[n].push(...o)}else if("transforms"===n){const o=t[n];o&&e[n].push(...o)}else if("enter"===n||"exit"===n){const o=t[n];o&&Object.assign(e[n],o)}}function defaultOnError(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is still open")}const Ce=function remarkParse(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return fromMarkdown(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function normalizeUri(e){const t=[];let n=-1,o=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let l="";if(37===i&&k(e.charCodeAt(n+1))&&k(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(l=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(l=String.fromCharCode(i,t),a=1):l=""}else l=String.fromCharCode(i);l&&(t.push(e.slice(o,n),encodeURIComponent(l)),o=n+a+1,l=""),a&&(n+=a,a=0)}return t.join("")+e.slice(o)}const convert=function(e){if(null==e)return ok;if("string"==typeof e)return function typeFactory(e){return castFactory(type);function type(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function anyFactory(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=convert(e[n]);return castFactory(any);function any(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function propsFactory(e){return castFactory(all);function all(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return castFactory(e);throw new Error("Expected function, string, or object as test")};function castFactory(e){return function assertion(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function ok(){return!0}const visitParents=function(e,t,n,o){"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null);const a=convert(t),i=o?-1:1;!function factory(e,l,u){const c=e&&"object"==typeof e?e:{};if("string"==typeof c.type){const t="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(visit,"name",{value:"node ("+e.type+(t?"<"+t+">":"")+")"})}return visit;function visit(){let c,s,f,d=[];if((!t||a(e,l,u[u.length-1]||null))&&(d=function toResult(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(e,u)),false===d[0]))return d;if(e.children&&"skip"!==d[0])for(s=(o?e.children.length:-1)+i,f=u.concat(e);s>-1&&s<e.children.length;){if(c=factory(e.children[s],s,f)(),false===c[0])return c;s="number"==typeof c[1]?c[1]:s+i}return d}}(e,void 0,[])()};const visit=function(e,t,n,o){"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),visitParents(e,t,(function overload(e,t){const o=t[t.length-1];return n(e,o?o.children.indexOf(e):null,o)}),o)},Ee=unist_util_position_lib_point("start"),Oe=unist_util_position_lib_point("end");function unist_util_position_lib_point(e){return function point(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const Pe={}.hasOwnProperty;function clean(e){return String(e||"").toUpperCase()}function footnoteReference(e,t){const n=String(t.identifier).toUpperCase(),o=normalizeUri(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let i;-1===a?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=a+1);const l=e.footnoteCounts[n],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+o,id:e.clobberPrefix+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}function revert(e,t){const n=t.referenceType;let o="]";if("collapsed"===n?o+="[]":"full"===n&&(o+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+o};const a=e.all(t),i=a[0];i&&"text"===i.type?i.value="["+i.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&"text"===l.type?l.value+=o:a.push({type:"text",value:o}),a}function listItemLoose(e){const t=e.spread;return null==t?e.children.length>1:t}const Te=9,Ae=32;function trimLines(e){const t=String(e),n=/\r?\n|\r/g;let o=n.exec(t),a=0;const i=[];for(;o;)i.push(trimLine(t.slice(a,o.index),a>0,!0),o[0]),a=o.index+o[0].length,o=n.exec(t);return i.push(trimLine(t.slice(a),a>0,!1)),i.join("")}function trimLine(e,t,n){let o=0,a=e.length;if(t){let t=e.codePointAt(o);for(;t===Te||t===Ae;)o++,t=e.codePointAt(o)}if(n){let t=e.codePointAt(a-1);for(;t===Te||t===Ae;)a--,t=e.codePointAt(a-1)}return a>o?e.slice(o,a):""}const De={blockquote:function blockquote(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function hardBreak(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function code(e,t){const n=t.value?t.value+"\n":"",o=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};o&&(a.className=["language-"+o]);let i={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function strikethrough(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function emphasis(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference,footnote:function footnote(e,t){const n=e.footnoteById;let o=1;for(;o in n;)o++;const a=String(o);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},footnoteReference(e,{type:"footnoteReference",identifier:a,position:t.position})},heading:function heading(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function html(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function imageReference(e,t){const n=e.definition(t.identifier);if(!n)return revert(e,t);const o={src:normalizeUri(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(o.title=n.title);const a={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function image_image(e,t){const n={src:normalizeUri(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)},inlineCode:function inlineCode(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const o={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,o),e.applyData(t,o)},linkReference:function linkReference(e,t){const n=e.definition(t.identifier);if(!n)return revert(e,t);const o={href:normalizeUri(n.url||"")};null!==n.title&&void 0!==n.title&&(o.title=n.title);const a={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function link_link(e,t){const n={href:normalizeUri(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},listItem:function listItem(e,t,n){const o=e.all(t),a=n?function listLoose(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let o=-1;for(;!t&&++o<n.length;)t=listItemLoose(n[o])}return t}(n):listItemLoose(t),i={},l=[];if("boolean"==typeof t.checked){const e=o[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},o.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let u=-1;for(;++u<o.length;){const e=o[u];(a||0!==u||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?l.push(e):l.push(...e.children)}const c=o[o.length-1];c&&(a||"element"!==c.type||"p"!==c.tagName)&&l.push({type:"text",value:"\n"});const s={type:"element",tagName:"li",properties:i,children:l};return e.patch(t,s),e.applyData(t,s)},list:function list_list(e,t){const n={},o=e.all(t);let a=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++a<o.length;){const e=o[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function paragraph(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function root(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function strong(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function table(e,t){const n=e.all(t),o=n.shift(),a=[];if(o){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(t.children[0],n),a.push(n)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Ee(t.children[1]),l=Oe(t.children[t.children.length-1]);i.line&&l.line&&(o.position={start:i,end:l}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function tableCell(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function tableRow(e,t,n){const o=n?n.children:void 0,a=0===(o?o.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,l=i?i.length:t.children.length;let u=-1;const c=[];for(;++u<l;){const n=t.children[u],o={},l=i?i[u]:void 0;l&&(o.align=l);let s={type:"element",tagName:a,properties:o,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(t,s)),c.push(s)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,s),e.applyData(t,s)},text:function handlers_text_text(e,t){const n={type:"text",value:trimLines(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function thematic_break_thematicBreak(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){return null}const Ie={}.hasOwnProperty;function createState(e,t){const n=t||{},o=n.allowDangerousHtml||!1,a={};return state.dangerous=o,state.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,state.footnoteLabel=n.footnoteLabel||"Footnotes",state.footnoteLabelTagName=n.footnoteLabelTagName||"h2",state.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},state.footnoteBackLabel=n.footnoteBackLabel||"Back to content",state.unknownHandler=n.unknownHandler,state.passThrough=n.passThrough,state.handlers={...De,...n.handlers},state.definition=function definitions(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return visit(e,"definition",(e=>{const n=clean(e.identifier);n&&!Pe.call(t,n)&&(t[n]=e)})),function definition(e){const n=clean(e);return n&&Pe.call(t,n)?t[n]:null}}(e),state.footnoteById=a,state.footnoteOrder=[],state.footnoteCounts={},state.patch=patch,state.applyData=applyData,state.one=function oneBound(e,t){return state_one(state,e,t)},state.all=function allBound(e){return state_all(state,e)},state.wrap=state_wrap,state.augment=augment,visit(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ie.call(a,t)||(a[t]=e)})),state;function augment(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function generated(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(n)||(t.position={start:Ee(n),end:Oe(n)})}return t}function state(e,t,n,o){return Array.isArray(n)&&(o=n,n={}),augment(e,{type:"element",tagName:t,properties:n||{},children:o||[]})}}function patch(e,t){e.position&&(t.position=function lib_position(e){return{start:Ee(e),end:Oe(e)}}(e))}function applyData(e,t){let n=t;if(e&&e.data){const t=e.data.hName,o=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&null!=o&&(n.children=o)}return n}function state_one(e,t,n){const o=t&&t.type;if(!o)throw new Error("Expected node, got `"+t+"`");return Ie.call(e.handlers,o)?e.handlers[o](e,t,n):e.passThrough&&e.passThrough.includes(o)?"children"in t?{...t,children:state_all(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function defaultUnknownHandler(e,t){const n=t.data||{},o=!("value"in t)||Ie.call(n,"hProperties")||Ie.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:state_all(e,t)}:{type:"text",value:t.value};return e.patch(t,o),e.applyData(t,o)}(e,t)}function state_all(e,t){const n=[];if("children"in t){const o=t.children;let a=-1;for(;++a<o.length;){const i=state_one(e,o[a],t);if(i){if(a&&"break"===o[a-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function state_wrap(e,t){const n=[];let o=-1;for(t&&n.push({type:"text",value:"\n"});++o<e.length;)o&&n.push({type:"text",value:"\n"}),n.push(e[o]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function toHast(e,t){const n=createState(e,t),o=n.one(e,null),a=function footer(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const o=e.footnoteById[e.footnoteOrder[n]];if(!o)continue;const a=e.all(o),i=String(o.identifier).toUpperCase(),l=normalizeUri(i.toLowerCase());let u=0;const c=[];for(;++u<=e.footnoteCounts[i];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};u>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),c.length>0&&c.push({type:"text",value:" "}),c.push(t)}const s=a[a.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...c)}else a.push(...c);const f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(a,!0)};e.patch(o,f),t.push(f)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return a&&o.children.push({type:"text",value:"\n"},a),Array.isArray(o)?{type:"root",children:o}:o}const lib=function(e,t){return e&&"run"in e?function bridge(e,t){return(n,o,a)=>{e.run(toHast(n,t),o,(e=>{a(e)}))}}(e,t):function mutate(e){return t=>toHast(t,e)}(e||t)};var Le=n(23615);class Schema{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function merge(e,t){const n={},o={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(o,e[a].normal);return new Schema(n,o,t)}function normalize_normalize(e){return e.toLowerCase()}Schema.prototype.property={},Schema.prototype.normal={},Schema.prototype.space=null;class Info{constructor(e,t){this.property=e,this.attribute=t}}Info.prototype.space=null,Info.prototype.boolean=!1,Info.prototype.booleanish=!1,Info.prototype.overloadedBoolean=!1,Info.prototype.number=!1,Info.prototype.commaSeparated=!1,Info.prototype.spaceSeparated=!1,Info.prototype.commaOrSpaceSeparated=!1,Info.prototype.mustUseProperty=!1,Info.prototype.defined=!1;let je=0;const Me=increment(),Re=increment(),Fe=increment(),ze=increment(),Be=increment(),Ne=increment(),qe=increment();function increment(){return 2**++je}const We=Object.keys(a);class DefinedInfo extends Info{constructor(e,t,n,o){let i=-1;if(super(e,t),mark(this,"space",o),"number"==typeof n)for(;++i<We.length;){const e=We[i];mark(this,We[i],(n&a[e])===a[e])}}}function mark(e,t,n){n&&(e[t]=n)}DefinedInfo.prototype.defined=!0;const Ue={}.hasOwnProperty;function create(e){const t={},n={};let o;for(o in e.properties)if(Ue.call(e.properties,o)){const a=e.properties[o],i=new DefinedInfo(o,e.transform(e.attributes||{},o),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(i.mustUseProperty=!0),t[o]=i,n[normalize_normalize(o)]=o,n[normalize_normalize(i.attribute)]=o}return new Schema(t,n,e.space)}const Ve=create({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),He=create({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}const Ge=create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}}),Ye=create({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Re,ariaAutoComplete:null,ariaBusy:Re,ariaChecked:Re,ariaColCount:ze,ariaColIndex:ze,ariaColSpan:ze,ariaControls:Be,ariaCurrent:null,ariaDescribedBy:Be,ariaDetails:null,ariaDisabled:Re,ariaDropEffect:Be,ariaErrorMessage:null,ariaExpanded:Re,ariaFlowTo:Be,ariaGrabbed:Re,ariaHasPopup:null,ariaHidden:Re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Be,ariaLevel:ze,ariaLive:null,ariaModal:Re,ariaMultiLine:Re,ariaMultiSelectable:Re,ariaOrientation:null,ariaOwns:Be,ariaPlaceholder:null,ariaPosInSet:ze,ariaPressed:Re,ariaReadOnly:Re,ariaRelevant:null,ariaRequired:Re,ariaRoleDescription:Be,ariaRowCount:ze,ariaRowIndex:ze,ariaRowSpan:ze,ariaSelected:Re,ariaSetSize:ze,ariaSort:null,ariaValueMax:ze,ariaValueMin:ze,ariaValueNow:ze,ariaValueText:null,role:null}}),Xe=create({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:caseInsensitiveTransform,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ne,acceptCharset:Be,accessKey:Be,action:null,allow:null,allowFullScreen:Me,allowPaymentRequest:Me,allowUserMedia:Me,alt:null,as:null,async:Me,autoCapitalize:null,autoComplete:Be,autoFocus:Me,autoPlay:Me,capture:Me,charSet:null,checked:Me,cite:null,className:Be,cols:ze,colSpan:null,content:null,contentEditable:Re,controls:Me,controlsList:Be,coords:ze|Ne,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Me,defer:Me,dir:null,dirName:null,disabled:Me,download:Fe,draggable:Re,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Me,formTarget:null,headers:Be,height:ze,hidden:Me,high:ze,href:null,hrefLang:null,htmlFor:Be,httpEquiv:Be,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:Me,itemId:null,itemProp:Be,itemRef:Be,itemScope:Me,itemType:Be,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Me,low:ze,manifest:null,max:null,maxLength:ze,media:null,method:null,min:null,minLength:ze,multiple:Me,muted:Me,name:null,nonce:null,noModule:Me,noValidate:Me,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Me,optimum:ze,pattern:null,ping:Be,placeholder:null,playsInline:Me,poster:null,preload:null,readOnly:Me,referrerPolicy:null,rel:Be,required:Me,reversed:Me,rows:ze,rowSpan:ze,sandbox:Be,scope:null,scoped:Me,seamless:Me,selected:Me,shape:null,size:ze,sizes:null,slot:null,span:ze,spellCheck:Re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ze,step:null,style:null,tabIndex:ze,target:null,title:null,translate:null,type:null,typeMustMatch:Me,useMap:null,value:Re,width:ze,wrap:null,align:null,aLink:null,archive:Be,axis:null,background:null,bgColor:null,border:ze,borderColor:null,bottomMargin:ze,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Me,declare:Me,event:null,face:null,frame:null,frameBorder:null,hSpace:ze,leftMargin:ze,link:null,longDesc:null,lowSrc:null,marginHeight:ze,marginWidth:ze,noResize:Me,noHref:Me,noShade:Me,noWrap:Me,object:null,profile:null,prompt:null,rev:null,rightMargin:ze,rules:null,scheme:null,scrolling:Re,standby:null,summary:null,text:null,topMargin:ze,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ze,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Me,disableRemotePlayback:Me,prefix:null,property:null,results:ze,security:null,unselectable:null}}),$e=create({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:caseSensitiveTransform,properties:{about:qe,accentHeight:ze,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ze,amplitude:ze,arabicForm:null,ascent:ze,attributeName:null,attributeType:null,azimuth:ze,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ze,by:null,calcMode:null,capHeight:ze,className:Be,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ze,diffuseConstant:ze,direction:null,display:null,dur:null,divisor:ze,dominantBaseline:null,download:Me,dx:null,dy:null,edgeMode:null,editable:null,elevation:ze,enableBackground:null,end:null,event:null,exponent:ze,externalResourcesRequired:null,fill:null,fillOpacity:ze,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ne,g2:Ne,glyphName:Ne,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ze,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ze,horizOriginX:ze,horizOriginY:ze,id:null,ideographic:ze,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ze,k:ze,k1:ze,k2:ze,k3:ze,k4:ze,kernelMatrix:qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ze,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ze,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ze,overlineThickness:ze,paintOrder:null,panose1:null,path:null,pathLength:ze,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Be,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ze,pointsAtY:ze,pointsAtZ:ze,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ze,specularExponent:ze,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ze,strikethroughThickness:ze,string:null,stroke:null,strokeDashArray:qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ze,strokeOpacity:ze,strokeWidth:null,style:null,surfaceScale:ze,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qe,tabIndex:ze,tableValues:null,target:null,targetX:ze,targetY:ze,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qe,to:null,transform:null,u1:null,u2:null,underlinePosition:ze,underlineThickness:ze,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ze,values:null,vAlphabetic:ze,vMathematical:ze,vectorEffect:null,vHanging:ze,vIdeographic:ze,version:null,vertAdvY:ze,vertOriginX:ze,vertOriginY:ze,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ze,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Qe=merge([He,Ve,Ge,Ye,Xe],"html"),Ke=merge([He,Ve,Ge,Ye,$e],"svg");function rehypeFilter(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{visit(t,"element",((t,n,o)=>{const a=o;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,a)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?a.children.splice(n,1,...t.children):a.children.splice(n,1),n}))}}var Ze=n(19185);function whitespace(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Je=/^data[-\w.:]+$/i,et=/-[a-z]/g,tt=/[A-Z]/g;function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}const nt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};const rt=n(55862),ot={}.hasOwnProperty,at=new Set(["table","thead","tbody","tfoot","tr"]);function childrenToReact(e,t){const n=[];let o,a=-1;for(;++a<t.children.length;)o=t.children[a],"element"===o.type?n.push(toReact(e,o,a,t)):"text"===o.type?"element"===t.type&&at.has(t.tagName)&&whitespace(o)||n.push(o.value):"raw"!==o.type||e.options.skipHtml||n.push(o.value);return n}function toReact(e,t,n,o){const a=e.options,i=void 0===a.transformLinkUri?uriTransformer:a.transformLinkUri,u=e.schema,c=t.tagName,s={};let f,d=u;if("html"===u.space&&"svg"===c&&(d=Ke,e.schema=d),t.properties)for(f in t.properties)ot.call(t.properties,f)&&addProperty(s,f,t.properties[f],e);"ol"!==c&&"ul"!==c||e.listDepth++;const p=childrenToReact(e,t);"ol"!==c&&"ul"!==c||e.listDepth--,e.schema=u;const m=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=a.components&&ot.call(a.components,c)?a.components[c]:c,g="string"==typeof h||h===l.Fragment;if(!Ze.isValidElementType(h))throw new TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(s.key=n,"a"===c&&a.linkTarget&&(s.target="function"==typeof a.linkTarget?a.linkTarget(String(s.href||""),t.children,"string"==typeof s.title?s.title:null):a.linkTarget),"a"===c&&i&&(s.href=i(String(s.href||""),t.children,"string"==typeof s.title?s.title:null)),g||"code"!==c||"element"!==o.type||"pre"===o.tagName||(s.inline=!0),g||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(s.level=Number.parseInt(c.charAt(1),10)),"img"===c&&a.transformImageUri&&(s.src=a.transformImageUri(String(s.src||""),String(s.alt||""),"string"==typeof s.title?s.title:null)),!g&&"li"===c&&"element"===o.type){const e=function getInputElement(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);s.checked=e&&e.properties?Boolean(e.properties.checked):null,s.index=getElementsBeforeCount(o,t),s.ordered="ol"===o.tagName}return g||"ol"!==c&&"ul"!==c||(s.ordered="ol"===c,s.depth=e.listDepth),"td"!==c&&"th"!==c||(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),g||(s.isHeader="th"===c)),g||"tr"!==c||"element"!==o.type||(s.isHeader=Boolean("thead"===o.tagName)),a.sourcePos&&(s["data-sourcepos"]=function flattenPosition(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}(m)),!g&&a.rawSourcePos&&(s.sourcePosition=t.position),!g&&a.includeElementIndex&&(s.index=getElementsBeforeCount(o,t),s.siblingCount=getElementsBeforeCount(o)),g||(s.node=t),p.length>0?l.createElement(h,s,p):l.createElement(h,s)}function getElementsBeforeCount(e,t){let n=-1,o=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&o++;return o}function addProperty(e,t,n,o){const a=function find(e,t){const n=normalize_normalize(t);let o=t,a=Info;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Je.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(et,camelcase);o="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!et.test(e)){let n=e.replace(tt,kebab);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=DefinedInfo}return new a(o,t)}(o.schema,t);let i=n;null!=i&&i==i&&(Array.isArray(i)&&(i=a.commaSeparated?function comma_separated_tokens_stringify(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(i):function stringify(e){return e.join(" ").trim()}(i)),"style"===a.property&&"string"==typeof i&&(i=function parseStyle(e){const t={};try{rt(e,iterator)}catch{}return t;function iterator(e,n){const o="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[o.replace(/-([a-z])/g,styleReplacer)]=n}}(i)),a.space&&a.property?e[ot.call(nt,a.property)?nt[a.property]:a.property]=i:a.attribute&&(e[a.attribute]=i))}function styleReplacer(e,t){return t.toUpperCase()}const it={}.hasOwnProperty,lt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ut={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ReactMarkdown(e){for(const t in ut)if(it.call(ut,t)&&it.call(e,t)){const e=ut[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <${lt}#${e.id}> for more info)`),delete ut[t]}const t=p().use(Ce).use(e.remarkPlugins||[]).use(lib,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(rehypeFilter,e),n=new VFile;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const o=t.runSync(t.parse(n),n);if("root"!==o.type)throw new TypeError("Expected a `root` node");let a=l.createElement(l.Fragment,{},childrenToReact({options:e,schema:Qe,listDepth:0},o));return e.className&&(a=l.createElement("div",{className:e.className},a)),a}ReactMarkdown.propTypes={children:Le.string,className:Le.string,allowElement:Le.func,allowedElements:Le.arrayOf(Le.string),disallowedElements:Le.arrayOf(Le.string),unwrapDisallowed:Le.bool,remarkPlugins:Le.arrayOf(Le.oneOfType([Le.object,Le.func,Le.arrayOf(Le.oneOfType([Le.bool,Le.string,Le.object,Le.func,Le.arrayOf(Le.any)]))])),rehypePlugins:Le.arrayOf(Le.oneOfType([Le.object,Le.func,Le.arrayOf(Le.oneOfType([Le.bool,Le.string,Le.object,Le.func,Le.arrayOf(Le.any)]))])),sourcePos:Le.bool,rawSourcePos:Le.bool,skipHtml:Le.bool,includeElementIndex:Le.bool,transformLinkUri:Le.oneOfType([Le.func,Le.bool]),linkTarget:Le.oneOfType([Le.func,Le.string]),transformImageUri:Le.func,components:Le.object}}},t={};function __webpack_require__(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,__webpack_require__),a.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=__webpack_require__(73203)(__webpack_require__(74270));window.__UNSTABLE__elementorAI={App:e.default}})()})();

Zerion Mini Shell 1.0