Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index bb7dd56..64c7661 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
["'])(?.*?)\1/,f=/\{(? [\d,-]+)\}/,x={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},b={...x,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},j=Object.keys(x);function v(e,t){let n=e.map(e=>{let{start:n,end:s}=b[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return RegExp(`^\\s*(?:${n})\\s*$`)}let g="codeBlockContainer_Ckt0";function N(e){let{as:t,...n}=e,i=function(e){let t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(e=>{let[s,i]=e,a=t[s];a&&"string"==typeof i&&(n[a]=i)}),n}(d());return(0,s.jsx)(t,{...n,style:i,className:(0,r.Z)(n.className,g,u.k.common.codeBlock)})}let k={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function y(e){let{children:t,className:n}=e;return(0,s.jsx)(N,{as:"pre",tabIndex:0,className:(0,r.Z)(k.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:k.codeBlockLines,children:t})})}var C=n("5346");let Z={attributes:!0,characterData:!0,childList:!0,subtree:!0};var _=n("3359");let B={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function w(e){let{line:t,classNames:n,showLineNumbers:i,getLineProps:a,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");let o=a({line:t,className:(0,r.Z)(n,i&&B.codeLine)}),c=t.map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t));return(0,s.jsxs)("span",{...o,children:[i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:B.codeLineNumber}),(0,s.jsx)("span",{className:B.codeLineContent,children:c})]}):c,(0,s.jsx)("br",{})]})}var L=n("6025");function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function E(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let I={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function A(e){let{code:t,className:n}=e,[a,l]=(0,i.useState)(!1),o=(0,i.useRef)(void 0),c=(0,i.useCallback)(()=>{!function(e){let{target:t=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),s=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let i=document.getSelection(),a=i.rangeCount>0&&i.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}n.remove(),a&&(i.removeAllRanges(),i.addRange(a)),s&&s.focus()}(t),l(!0),o.current=window.setTimeout(()=>{l(!1)},1e3)},[t]);return(0,i.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,s.jsx)("button",{type:"button","aria-label":a?(0,L.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,L.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,L.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.Z)("clean-btn",n,I.copyButton,a&&I.copyButtonCopied),onClick:c,children:(0,s.jsxs)("span",{className:I.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(T,{className:I.copyButtonIcon}),(0,s.jsx)(E,{className:I.copyButtonSuccessIcon})]})})}function M(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}let H={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function S(e){let{className:t,onClick:n,isEnabled:i}=e,a=(0,L.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,r.Z)("clean-btn",t,i&&H.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,s.jsx)(M,{className:H.wordWrapButtonIcon,"aria-hidden":"true"})})}function V(e){var t,n,a;let{children:l,className:o="",metastring:u,title:m,showLineNumbers:x,language:b}=e,{prism:{defaultLanguage:g,magicComments:y}}=(0,c.L)();let B=(t=b??function(e){let t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(o)??g,t?.toLowerCase()),L=d(),T=function(){let[e,t]=(0,i.useState)(!1),[n,s]=(0,i.useState)(!1),a=(0,i.useRef)(null),l=(0,i.useCallback)(()=>{let n=a.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[a,e]),r=(0,i.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=a.current;s(e>t||a.current.querySelector("code").hasAttribute("style"))},[a]);return!function(e,t){let[n,s]=(0,i.useState)(),a=(0,i.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,i.useEffect)(()=>{a()},[a]),!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z,s=(0,C.zX)(t),a=(0,C.Ql)(n);(0,i.useEffect)(()=>{let t=new MutationObserver(s);return e&&t.observe(e,a),()=>t.disconnect()},[e,s,a])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(a,r),(0,i.useEffect)(()=>{r()},[e,r]),(0,i.useEffect)(()=>(window.addEventListener("resize",r,{passive:!0}),()=>{window.removeEventListener("resize",r)}),[r]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:n,toggle:l}}();let E=(n=u,(n?.match(p)?.groups.title??"")||m),{lineClassNames:I,code:M}=function(e,t){let n=e.replace(/\n$/,""),{language:s,magicComments:i,metastring:a}=t;if(a&&f.test(a)){let e=a.match(f).groups.range;if(0===i.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let t=i[0].className;return{lineClassNames:Object.fromEntries(h()(e).filter(e=>e>0).map(e=>[e-1,[t]])),code:n}}if(void 0===s)return{lineClassNames:{},code:n};let l=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return v(["js","jsBlock"],t);case"jsx":case"tsx":return v(["js","jsBlock","jsx"],t);case"html":return v(["js","jsBlock","html"],t);case"python":case"py":case"bash":return v(["bash"],t);case"markdown":case"md":return v(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return v(["tex"],t);case"lua":case"haskell":case"sql":return v(["lua"],t);case"wasm":return v(["wasm"],t);case"vb":case"vba":case"visual-basic":return v(["vb","rem"],t);case"vbnet":return v(["vbnet","rem"],t);case"batch":return v(["rem"],t);case"basic":return v(["rem","f90"],t);case"fsharp":return v(["js","ml"],t);case"ocaml":case"sml":return v(["ml"],t);case"fortran":return v(["f90"],t);case"cobol":return v(["cobol"],t);default:return v(j,t)}}(s,i),r=n.split("\n"),o=Object.fromEntries(i.map(e=>[e.className,{start:0,range:""}])),c=Object.fromEntries(i.filter(e=>e.line).map(e=>{let{className:t,line:n}=e;return[n,t]})),d=Object.fromEntries(i.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.start,t]})),u=Object.fromEntries(i.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.end,t]}));for(let e=0;e void 0!==e);c[n]?o[c[n]].range+=`${e},`:d[n]?o[d[n]].start=e:u[n]&&(o[u[n]].range+=`${o[u[n]].start}-${e-1},`),r.splice(e,1)}n=r.join("\n");let m={};return Object.entries(o).forEach(e=>{let[t,{range:n}]=e;h()(n).forEach(e=>{m[e]??=[],m[e].push(t)})}),{lineClassNames:m,code:n}}(l,{metastring:u,language:B,magicComments:y});let H=x??(a=u,!!a?.includes("showLineNumbers"));return(0,s.jsxs)(N,{as:"div",className:(0,r.Z)(o,B&&!o.includes(`language-${B}`)&&`language-${B}`),children:[E&&(0,s.jsx)("div",{className:k.codeBlockTitle,children:E}),(0,s.jsxs)("div",{className:k.codeBlockContent,children:[(0,s.jsx)(_.y$,{theme:L,code:M,language:B??"text",children:e=>{let{className:t,style:n,tokens:i,getLineProps:a,getTokenProps:l}=e;return(0,s.jsx)("pre",{tabIndex:0,ref:T.codeBlockRef,className:(0,r.Z)(t,k.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,r.Z)(k.codeBlockLines,H&&k.codeBlockLinesWithNumbering),children:i.map((e,t)=>(0,s.jsx)(w,{line:e,getLineProps:a,getTokenProps:l,classNames:I[t],showLineNumbers:H},t))})})}}),(0,s.jsxs)("div",{className:k.buttonGroup,children:[(T.isEnabled||T.isCodeScrollable)&&(0,s.jsx)(S,{className:k.codeButton,onClick:()=>T.toggle(),isEnabled:T.isEnabled}),(0,s.jsx)(A,{className:k.codeButton,code:M})]})]})]})}function z(e){var t;let{children:n,...a}=e,r=(0,l.Z)();let o=(t=n,i.Children.toArray(t).some(e=>(0,i.isValidElement)(e))?t:Array.isArray(t)?t.join(""):t);return(0,s.jsx)("string"==typeof o?V:y,{...a,children:o},String(r))}function R(e){return(0,s.jsx)("code",{...e})}var U=n("3012"),O=n("8942"),D=n("1065"),P=n("7455");let $={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function F(e){return!!e&&("SUMMARY"===e.tagName||F(e.parentElement))}function W(e){let{summary:t,children:n,...a}=e;(0,D.Z)().collectAnchor(a.id);let r=(0,l.Z)(),o=(0,i.useRef)(null),{collapsed:c,setCollapsed:d}=(0,P.u)({initialState:!a.open}),[u,m]=(0,i.useState)(a.open),h=i.isValidElement(t)?t:(0,s.jsx)("summary",{children:t??"Details"});return(0,s.jsxs)("details",{...a,ref:o,open:u,"data-collapsed":c,className:(0,O.Z)($.details,r&&$.isBrowser,a.className),onMouseDown:e=>{F(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();let t=e.target;if(!!(F(t)&&function e(t,n){return!!t&&(t===n||e(t.parentElement,n))}(t,o.current)))e.preventDefault(),c?(d(!1),m(!0)):d(!0)},children:[h,(0,s.jsx)(P.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,s.jsx)("div",{className:$.collapsibleContent,children:n})})]})}let q="details_b_Ee";function G(e){let{...t}=e;return(0,s.jsx)(W,{...t,className:(0,r.Z)("alert alert--info",q,t.className)})}function J(e){let t=i.Children.toArray(e.children),n=t.find(e=>i.isValidElement(e)&&"summary"===e.type),a=(0,s.jsx)(s.Fragment,{children:t.filter(e=>e!==n)});return(0,s.jsx)(G,{...e,summary:n,children:a})}var Y=n("4403");function Q(e){return(0,s.jsx)(Y.Z,{...e})}let X={containsTaskList:"containsTaskList_mC6p"},K="img_ev3q";var ee=n("5094");let et={Head:a.Z,details:J,Details:J,code:function(e){var t;return void 0!==(t=e).children&&i.Children.toArray(t.children).every(e=>"string"==typeof e&&!e.includes("\n"))?(0,s.jsx)(R,{...e}):(0,s.jsx)(z,{...e})},a:function(e){return(0,s.jsx)(U.Z,{...e})},pre:function(e){return(0,s.jsx)(s.Fragment,{children:e.children})},ul:function(e){return(0,s.jsx)("ul",{...e,className:function(e){if(void 0!==e)return(0,r.Z)(e,e?.includes("contains-task-list")&&X.containsTaskList)}(e.className)})},li:function(e){return(0,D.Z)().collectAnchor(e.id),(0,s.jsx)("li",{...e})},img:function(e){var t;return(0,s.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,r.Z)(t,K))})},h1:e=>(0,s.jsx)(Q,{as:"h1",...e}),h2:e=>(0,s.jsx)(Q,{as:"h2",...e}),h3:e=>(0,s.jsx)(Q,{as:"h3",...e}),h4:e=>(0,s.jsx)(Q,{as:"h4",...e}),h5:e=>(0,s.jsx)(Q,{as:"h5",...e}),h6:e=>(0,s.jsx)(Q,{as:"h6",...e}),admonition:ee.Z,mermaid:()=>null}},65:function(e,t,n){"use strict";n.d(t,{Z:function(){return r},a:function(){return l}});var s=n(7294);let i={},a=s.createContext(i);function l(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.0e7b4f0f.js b/assets/js/14eb3368.171b594c.js similarity index 64% rename from assets/js/14eb3368.0e7b4f0f.js rename to assets/js/14eb3368.171b594c.js index de22658..7d5889e 100644 --- a/assets/js/14eb3368.0e7b4f0f.js +++ b/assets/js/14eb3368.171b594c.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["983"],{2520:function(e,t,n){n.d(t,{Z:()=>g});var r=n("5893");n("7294");var i=n("4904"),s=n("4681"),a=n("3413"),l=n("9246"),o=n("3012"),c=n("6025"),d=n("4757");function u(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,r.jsx)("li",{className:"breadcrumbs__item",children:(0,r.jsx)(o.Z,{"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,r.jsx)(u,{className:m})})})}let b="breadcrumbsContainer_Z_bl";function p(e){let{children:t,href:n,isLast:i}=e,s="breadcrumbs__link";return i?(0,r.jsx)("span",{className:s,itemProp:"name",children:t}):n?(0,r.jsx)(o.Z,{className:s,href:n,itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:t})}):(0,r.jsx)("span",{className:s,children:t})}function x(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,r.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,r.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function g(){let e=(0,a.s1)(),t=(0,l.Ns)();return e?(0,r.jsx)("nav",{className:(0,i.Z)(s.k.docs.docBreadcrumbs,b),"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,r.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,r.jsx)(h,{}),e.map((t,n)=>{let i=n===e.length-1,s="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,r.jsx)(x,{active:i,index:n,addMicrodata:!!s,children:(0,r.jsx)(p,{href:s,isLast:i,children:t.label})},n)})]})}):null}},7467:function(e,t,n){n.r(t),n.d(t,{default:()=>A});var r=n("5893"),i=n("7294"),s=n("4713"),a=n("3413"),l=n("4757"),o=n("4904"),c=n("3012"),d=n("2933");let u=["zero","one","two","few","many","other"];function m(e){return u.filter(t=>e.includes(t))}let h={locale:"en",pluralForms:m(["one","other"]),select:e=>1===e?"one":"other"};var b=n("3150"),p=n("6025"),x=n("4403");let g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function f(e){let{href:t,children:n}=e;return(0,r.jsx)(c.Z,{href:t,className:(0,o.Z)("card padding--lg",g.cardContainer),children:n})}function v(e){let{href:t,icon:n,title:i,description:s}=e;return(0,r.jsxs)(f,{href:t,children:[(0,r.jsxs)(x.Z,{as:"h2",className:(0,o.Z)("text--truncate",g.cardTitle),title:i,children:[n," ",i]}),s&&(0,r.jsx)("p",{className:(0,o.Z)("text--truncate",g.cardDescription),title:s,children:s})]})}function j(e){let{item:t}=e,n=(0,a.LM)(t),s=function(){let{selectMessage:e}=function(){let e=function(){let{i18n:{currentLocale:e}}=(0,d.Z)();return(0,i.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:m(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["1983"],{2520:function(e,t,n){n.d(t,{Z:()=>g});var r=n("5893");n("7294");var i=n("4904"),s=n("4681"),a=n("3413"),l=n("9246"),o=n("3012"),c=n("6025"),d=n("4757");function u(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,r.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,r.jsx)("li",{className:"breadcrumbs__item",children:(0,r.jsx)(o.Z,{"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,r.jsx)(u,{className:m})})})}let b="breadcrumbsContainer_Z_bl";function p(e){let{children:t,href:n,isLast:i}=e,s="breadcrumbs__link";return i?(0,r.jsx)("span",{className:s,itemProp:"name",children:t}):n?(0,r.jsx)(o.Z,{className:s,href:n,itemProp:"item",children:(0,r.jsx)("span",{itemProp:"name",children:t})}):(0,r.jsx)("span",{className:s,children:t})}function x(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,r.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,r.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function g(){let e=(0,a.s1)(),t=(0,l.Ns)();return e?(0,r.jsx)("nav",{className:(0,i.Z)(s.k.docs.docBreadcrumbs,b),"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,r.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,r.jsx)(h,{}),e.map((t,n)=>{let i=n===e.length-1,s="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,r.jsx)(x,{active:i,index:n,addMicrodata:!!s,children:(0,r.jsx)(p,{href:s,isLast:i,children:t.label})},n)})]})}):null}},7467:function(e,t,n){n.r(t),n.d(t,{default:()=>A});var r=n("5893"),i=n("7294"),s=n("4713"),a=n("3413"),l=n("4757"),o=n("4904"),c=n("3012"),d=n("2933");let u=["zero","one","two","few","many","other"];function m(e){return u.filter(t=>e.includes(t))}let h={locale:"en",pluralForms:m(["one","other"]),select:e=>1===e?"one":"other"};var b=n("3150"),p=n("6025"),x=n("4403");let g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function f(e){let{href:t,children:n}=e;return(0,r.jsx)(c.Z,{href:t,className:(0,o.Z)("card padding--lg",g.cardContainer),children:n})}function v(e){let{href:t,icon:n,title:i,description:s}=e;return(0,r.jsxs)(f,{href:t,children:[(0,r.jsxs)(x.Z,{as:"h2",className:(0,o.Z)("text--truncate",g.cardTitle),title:i,children:[n," ",i]}),s&&(0,r.jsx)("p",{className:(0,o.Z)("text--truncate",g.cardDescription),title:s,children:s})]})}function j(e){let{item:t}=e,n=(0,a.LM)(t),s=function(){let{selectMessage:e}=function(){let e=function(){let{i18n:{currentLocale:e}}=(0,d.Z)();return(0,i.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:m(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". Docusaurus will fallback to the default (English) implementation. Error: ${t.message} `),h}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);let i=n.select(t);return r[Math.min(n.pluralForms.indexOf(i),r.length-1)]})(n,t,e)}}();return t=>e(t,(0,p.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(v,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??s(t.items.length)}):null}function Z(e){let{item:t}=e,n=(0,b.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",i=(0,a.xz)(t.docId??void 0);return(0,r.jsx)(v,{href:t.href,icon:n,title:t.label,description:t.description??i?.description})}function N(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(Z,{item:t});case"category":return(0,r.jsx)(j,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function _(e){let{className:t}=e,n=(0,a.jA)();return(0,r.jsx)(k,{items:n.items,className:t})}function k(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(_,{...e});let i=(0,a.MN)(t);return(0,r.jsx)("section",{className:(0,o.Z)("row",n),children:i.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(N,{item:e})},t))})}var L=n("3944"),T=n("9580"),w=n("6035"),y=n("2520");let I="generatedIndexPage_vN6x",C="list_eTzJ",D="title_kItE";function F(e){let{categoryGeneratedIndex:t}=e;return(0,r.jsx)(s.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,l.ZP)(t.image)})}function P(e){let{categoryGeneratedIndex:t}=e,n=(0,a.jA)();return(0,r.jsxs)("div",{className:I,children:[(0,r.jsx)(T.Z,{}),(0,r.jsx)(y.Z,{}),(0,r.jsx)(w.Z,{}),(0,r.jsxs)("header",{children:[(0,r.jsx)(x.Z,{as:"h1",className:D,children:t.title}),t.description&&(0,r.jsx)("p",{children:t.description})]}),(0,r.jsx)("article",{className:"margin-top--lg",children:(0,r.jsx)(k,{items:n.items,className:C})}),(0,r.jsx)("footer",{className:"margin-top--lg",children:(0,r.jsx)(L.Z,{previous:t.navigation.previous,next:t.navigation.next})})]})}function A(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{...e}),(0,r.jsx)(P,{...e})]})}},3944:function(e,t,n){n.d(t,{Z:()=>o});var r=n("5893");n("7294");var i=n("6025"),s=n("4904"),a=n("3012");function l(e){let{permalink:t,title:n,subLabel:i,isNext:l}=e;return(0,r.jsxs)(a.Z,{className:(0,s.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[i&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,r.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){let{previous:t,next:n}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(l,{...t,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,r.jsx)(l,{...n,subLabel:(0,r.jsx)(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},6035:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(5893);n(7294);var i=n(4904),s=n(6025),a=n(4681),l=n(8529);function o(e){let{className:t}=e,n=(0,l.E)();return n.badge?(0,r.jsx)("span",{className:(0,i.Z)(t,a.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,r.jsx)(s.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},9580:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(5893);n(7294);var i=n(4904),s=n(2933),a=n(3012),l=n(6025),o=n(1723),c=n(4681),d=n(3896),u=n(8529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,r.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,r.jsx)(l.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,r.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,r.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:n,onClick:i}=e;return(0,r.jsx)(l.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,r.jsx)("b",{children:(0,r.jsx)(a.Z,{to:n,onClick:i,children:(0,r.jsx)(l.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function p(e){let t,{className:n,versionMetadata:a}=e,{siteConfig:{title:l}}=(0,s.Z)(),{pluginId:u}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:p,latestVersionSuggestion:x}=(0,o.Jo)(u);let g=p??(t=x).docs.find(e=>e.id===t.mainDocId);return(0,r.jsxs)("div",{className:(0,i.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,r.jsx)("div",{children:(0,r.jsx)(h,{siteTitle:l,versionMetadata:a})}),(0,r.jsx)("div",{className:"margin-top--md",children:(0,r.jsx)(b,{versionLabel:x.label,to:g.path,onClick:()=>m(x.name)})})]})}function x(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,r.jsx)(p,{className:t,versionMetadata:n}):null}}}]); \ No newline at end of file diff --git a/assets/js/17896441.97a04aec.js b/assets/js/17896441.97a04aec.js deleted file mode 100644 index 227af8e..0000000 --- a/assets/js/17896441.97a04aec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["48"],{1424:function(s,a,e){e.d(a,{Z:()=>c});var l=e("5893");function n(s){let a=s.url||"http://localhost:3000";return(0,l.jsxs)("div",{className:"browser container",children:[(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:"column left",children:[(0,l.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,l.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,l.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,l.jsx)("div",{className:"column middle",children:(0,l.jsx)("input",{type:"text",value:a})}),(0,l.jsx)("div",{className:"column right",children:(0,l.jsxs)("div",{style:{float:"right"},children:[(0,l.jsx)("span",{className:"bar"}),(0,l.jsx)("span",{className:"bar"}),(0,l.jsx)("span",{className:"bar"})]})})]}),(0,l.jsx)("div",{className:"content",children:s.children})]})}e("7294");var t=e("4757");function c(s){return(0,l.jsx)(n,{...s,children:(0,l.jsx)("img",{src:(0,t.ZP)(s.src),alt:s.alt})})}},8863:function(s,a,e){e.d(a,{Z:()=>i}),e("7294");var l=e("5709"),n=e("5893"),t=e("3012"),c=e("2933"),r=e("1424");let i={...l.Z,Link:function(s){let a=(0,c.Z)(),e=a?.siteConfig?.customFields?.utmParams||"",l=`${s.to}?${e}`;return(0,n.jsx)(t.Z,{...s,to:l})},Screenshot:r.Z}}}]); \ No newline at end of file diff --git a/assets/js/17896441.b40cbbe3.js b/assets/js/17896441.b40cbbe3.js new file mode 100644 index 0000000..1f0a756 --- /dev/null +++ b/assets/js/17896441.b40cbbe3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7048"],{1424:function(s,a,e){e.d(a,{Z:()=>c});var l=e("5893");function n(s){let a=s.url||"http://localhost:3000";return(0,l.jsxs)("div",{className:"browser container",children:[(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:"column left",children:[(0,l.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,l.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,l.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,l.jsx)("div",{className:"column middle",children:(0,l.jsx)("input",{type:"text",value:a})}),(0,l.jsx)("div",{className:"column right",children:(0,l.jsxs)("div",{style:{float:"right"},children:[(0,l.jsx)("span",{className:"bar"}),(0,l.jsx)("span",{className:"bar"}),(0,l.jsx)("span",{className:"bar"})]})})]}),(0,l.jsx)("div",{className:"content",children:s.children})]})}e("7294");var t=e("4757");function c(s){return(0,l.jsx)(n,{...s,children:(0,l.jsx)("img",{src:(0,t.ZP)(s.src),alt:s.alt})})}},8863:function(s,a,e){e.d(a,{Z:()=>i}),e("7294");var l=e("5709"),n=e("5893"),t=e("3012"),c=e("2933"),r=e("1424");let i={...l.Z,Link:function(s){let a=(0,c.Z)(),e=a?.siteConfig?.customFields?.utmParams||"",l=`${s.to}?${e}`;return(0,n.jsx)(t.Z,{...s,to:l})},Screenshot:r.Z}}}]); \ No newline at end of file diff --git a/assets/js/196.c52f16df.js b/assets/js/196.c52f16df.js deleted file mode 100644 index e61607f..0000000 --- a/assets/js/196.c52f16df.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["196"],{4593:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893);n(7294);var r=n(4904),o=n(6025),a=n(4403);function l(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,r.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},5672:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}});var i=n(5893);n(7294);var r=n(6025),o=n(4713),a=n(2490),l=n(4593);function s(){let e=(0,r.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.d,{title:e}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(l.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/1d9ac7a6.3dc13e6e.js b/assets/js/1d9ac7a6.3dc13e6e.js new file mode 100644 index 0000000..87a6478 --- /dev/null +++ b/assets/js/1d9ac7a6.3dc13e6e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7042"],{4246:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Edit Mapping Rules","description":".","slug":"/category/-edit-mapping-rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDC50 Toggle View","permalink":"/relational-migrator-lab/docs/toggle-view"},"next":{"title":"\uD83D\uDC50 Clean book attributes up","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/1d9ac7a6.8d35d8d9.js b/assets/js/1d9ac7a6.8d35d8d9.js deleted file mode 100644 index 312e276..0000000 --- a/assets/js/1d9ac7a6.8d35d8d9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["42"],{4246:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Edit Mapping Rules","description":".","slug":"/category/-edit-mapping-rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDC50 Toggle View","permalink":"/relational-migrator-lab/docs/toggle-view"},"next":{"title":"\uD83D\uDC50 Clean book attributes up","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/2061.65b6cfef.js b/assets/js/2061.65b6cfef.js new file mode 100644 index 0000000..f953d15 --- /dev/null +++ b/assets/js/2061.65b6cfef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2061"],{8544:function(a,l,r){r.r(l)}}]); \ No newline at end of file diff --git a/assets/js/2145.43c421ca.js b/assets/js/2145.43c421ca.js new file mode 100644 index 0000000..d3ad38f --- /dev/null +++ b/assets/js/2145.43c421ca.js @@ -0,0 +1 @@ +(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2145"],{7594:function(e,t){function n(e){let t,n=[];for(let s of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,i,a]=t;if(s&&a){s=parseInt(s);let e=s<(a=parseInt(a))?1:-1;("-"===i||".."===i||"\u2025"===i)&&(a+=e);for(let t=s;t!==a;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},5094:function(e,t,n){"use strict";n.d(t,{Z:()=>C});var s=n("5893"),i=n("7294"),a=n("4904"),l=n("6025"),r=n("4681");let o={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function c(e){let{type:t,className:n,children:i}=e;return(0,s.jsx)("div",{className:(0,a.Z)(r.k.common.admonition,r.k.common.admonitionType(t),o.admonition,n),children:i})}function d(e){let{icon:t,title:n}=e;return(0,s.jsxs)("div",{className:o.admonitionHeading,children:[(0,s.jsx)("span",{className:o.admonitionIcon,children:t}),n]})}function u(e){let{children:t}=e;return t?(0,s.jsx)("div",{className:o.admonitionContent,children:t}):null}function m(e){let{type:t,icon:n,title:i,children:a,className:l}=e;return(0,s.jsxs)(c,{type:t,className:l,children:[i||n?(0,s.jsx)(d,{title:i,icon:n}):null,(0,s.jsx)(u,{children:a})]})}let h={icon:(0,s.jsx)(function(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})},{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(e){return(0,s.jsx)(m,{...h,...e,className:(0,a.Z)("alert alert--secondary",e.className),children:e.children})}let f={icon:(0,s.jsx)(function(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})},{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function x(e){return(0,s.jsx)(m,{...f,...e,className:(0,a.Z)("alert alert--success",e.className),children:e.children})}let b={icon:(0,s.jsx)(function(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})},{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function j(e){return(0,s.jsx)(m,{...b,...e,className:(0,a.Z)("alert alert--info",e.className),children:e.children})}function v(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}let g={icon:(0,s.jsx)(v,{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})},N={icon:(0,s.jsx)(function(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})},{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})},k={icon:(0,s.jsx)(v,{}),title:(0,s.jsx)(l.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})},y={note:p,tip:x,info:j,warning:function(e){return(0,s.jsx)(m,{...g,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(m,{...N,...e,className:(0,a.Z)("alert alert--danger",e.className),children:e.children})},secondary:e=>(0,s.jsx)(p,{title:"secondary",...e}),important:e=>(0,s.jsx)(j,{title:"important",...e}),success:e=>(0,s.jsx)(x,{title:"success",...e}),caution:function(e){return(0,s.jsx)(m,{...k,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})}};function C(e){let t=function(e){let{mdxAdmonitionTitle:t,rest:n}=function(e){let t=i.Children.toArray(e),n=t.find(e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),a=t.filter(e=>e!==n);return{mdxAdmonitionTitle:n?.props.children,rest:a.length>0?(0,s.jsx)(s.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}(e),n=function(e){let t=y[e];return t?t:(console.warn(`No admonition component found for admonition type "${e}". Using Info as fallback.`),y.info)}(t.type);return(0,s.jsx)(n,{...t})}},2520:function(e,t,n){"use strict";n.d(t,{Z:()=>b});var s=n("5893");n("7294");var i=n("4904"),a=n("4681"),l=n("3413"),r=n("9246"),o=n("3012"),c=n("6025"),d=n("4757");function u(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}let m="breadcrumbHomeIcon_YNFT";function h(){let e=(0,d.ZP)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(o.Z,{"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,s.jsx)(u,{className:m})})})}let p="breadcrumbsContainer_Z_bl";function f(e){let{children:t,href:n,isLast:i}=e,a="breadcrumbs__link";return i?(0,s.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,s.jsx)(o.Z,{className:a,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:t})}):(0,s.jsx)("span",{className:a,children:t})}function x(e){let{children:t,active:n,index:a,addMicrodata:l}=e;return(0,s.jsxs)("li",{...l&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,s.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function b(){let e=(0,l.s1)(),t=(0,r.Ns)();return e?(0,s.jsx)("nav",{className:(0,i.Z)(a.k.docs.docBreadcrumbs,p),"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,s.jsx)(h,{}),e.map((t,n)=>{let i=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,s.jsx)(x,{active:i,index:n,addMicrodata:!!a,children:(0,s.jsx)(f,{href:a,isLast:i,children:t.label})},n)})]})}):null}},5891:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>ep});var s=n("5893"),i=n("7294"),a=n("4713"),l=n("5346");let r=i.createContext(null);function o(e){var t;let{children:n,content:a}=e;let l=(t=a,(0,i.useMemo)(()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc}),[t]));return(0,s.jsx)(r.Provider,{value:l,children:n})}function c(){let e=(0,i.useContext)(r);if(null===e)throw new l.i6("DocProvider");return e}function d(){let{metadata:e,frontMatter:t,assets:n}=c();return(0,s.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n("4904"),m=n("4704"),h=n("3944");function p(){let{metadata:e}=c();return(0,s.jsx)(h.Z,{previous:e.previous,next:e.next})}var f=n("9580"),x=n("6035"),b=n("4681"),j=n("6025"),v=n("3012");let g={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function N(e){let{permalink:t,label:n,count:i,description:a}=e;return(0,s.jsxs)(v.Z,{href:t,title:a,className:(0,u.Z)(g.tag,i?g.tagWithCount:g.tagRegular),children:[n,i&&(0,s.jsx)("span",{children:i})]})}let k="tags_jXut",y="tag_QGVx";function C(e){let{tags:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(j.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.Z)(k,"padding--none","margin-left--sm"),children:t.map(e=>(0,s.jsx)("li",{className:y,children:(0,s.jsx)(N,{...e})},e.permalink))})]})}let Z="iconEdit_Z9Sw";function _(e){let{className:t,...n}=e;return(0,s.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.Z)(Z,t),"aria-hidden":"true",...n,children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function B(e){let{editUrl:t}=e;return(0,s.jsxs)(v.Z,{to:t,className:b.k.common.editThisPage,children:[(0,s.jsx)(_,{}),(0,s.jsx)(j.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var w=n("2933");function L(e){let{lastUpdatedAt:t}=e,n=new Date(t),i=(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{i18n:{currentLocale:t}}=(0,w.Z)(),n=function(){let{i18n:{currentLocale:e,localeConfigs:t}}=(0,w.Z)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:n,...e})})({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,s.jsx)(j.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,s.jsx)("b",{children:(0,s.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:i})})},children:" on {date}"})}function T(e){let{lastUpdatedBy:t}=e;return(0,s.jsx)(j.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,s.jsx)("b",{children:t})},children:" by {user}"})}function E(e){let{lastUpdatedAt:t,lastUpdatedBy:n}=e;return(0,s.jsxs)("span",{className:b.k.common.lastUpdated,children:[(0,s.jsx)(j.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t?(0,s.jsx)(L,{lastUpdatedAt:t}):"",byUser:n?(0,s.jsx)(T,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}let I="lastUpdated_JAkA";function A(e){let{className:t,editUrl:n,lastUpdatedAt:i,lastUpdatedBy:a}=e;return(0,s.jsxs)("div",{className:(0,u.Z)("row",t),children:[(0,s.jsx)("div",{className:"col",children:n&&(0,s.jsx)(B,{editUrl:n})}),(0,s.jsx)("div",{className:(0,u.Z)("col",I),children:(i||a)&&(0,s.jsx)(E,{lastUpdatedAt:i,lastUpdatedBy:a})})]})}function M(){let{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:i,tags:a}=e,l=a.length>0,r=!!(t||n||i);return l||r?(0,s.jsxs)("footer",{className:(0,u.Z)(b.k.docs.docFooter,"docusaurus-mt-lg"),children:[l&&(0,s.jsx)("div",{className:(0,u.Z)("row margin-top--sm",b.k.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(C,{tags:a})})}),r&&(0,s.jsx)(A,{className:(0,u.Z)("margin-top--sm",b.k.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:i})]}):null}var H=n("7455"),S=n("140");function V(e){let t=e.getBoundingClientRect();return t.top===t.bottom?V(e.parentNode):t}let z=i.memo(function e(t){let{toc:n,className:i,linkClassName:a,isChild:l}=t;return n.length?(0,s.jsx)("ul",{className:l?void 0:i,children:n.map(t=>(0,s.jsxs)("li",{children:[(0,s.jsx)(v.Z,{to:`#${t.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:t.value}}),(0,s.jsx)(e,{isChild:!0,toc:t.children,className:i,linkClassName:a})]},t.id))}):null});function R(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:l,minHeadingLevel:r,maxHeadingLevel:o,...c}=e,d=(0,S.L)(),u=r??d.tableOfContents.minHeadingLevel,m=o??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return(0,i.useMemo)(()=>(function e(t){let{toc:n,minHeadingLevel:s,maxHeadingLevel:i}=t;return n.flatMap(t=>{var n;let a=e({toc:t.children,minHeadingLevel:s,maxHeadingLevel:i});return(n=t).level>=s&&n.level<=i?[{...t,children:a}]:a})})({toc:function(e){let t=e.map(e=>({...e,parentIndex:-1,children:[]})),n=Array(7).fill(-1);t.forEach((e,t)=>{let s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t});let s=[];return t.forEach(e=>{let{parentIndex:n,...i}=e;n>=0?t[n].children.push(i):s.push(i)}),s}(t),minHeadingLevel:n,maxHeadingLevel:s}),[t,n,s])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return!function(e){let t=(0,i.useRef)(void 0),n=function(){let e=(0,i.useRef)(0),{navbar:{hideOnScroll:t}}=(0,S.L)();return(0,i.useEffect)(()=>{e.current=t?0:document.querySelector(".navbar").clientHeight},[t]),e}();(0,i.useEffect)(()=>{if(!e)return()=>{};let{linkClassName:s,linkActiveClassName:i,minHeadingLevel:a,maxHeadingLevel:l}=e;function r(){var e;let r=(e=s,Array.from(document.getElementsByClassName(e))),o=function(e,t){let{anchorTopOffset:n}=t,s=e.find(e=>V(e).top>=n);if(s){var i;return(i=V(s)).top>0&&i.bottom {var t;return o&&o.id===decodeURIComponent((t=e).href.substring(t.href.indexOf("#")+1))});r.forEach(e=>{var n;n=e,e===c?(t.current&&t.current!==n&&t.current.classList.remove(i),n.classList.add(i),t.current=n):n.classList.remove(i)})}return document.addEventListener("scroll",r),document.addEventListener("resize",r),r(),()=>{document.removeEventListener("scroll",r),document.removeEventListener("resize",r)}},[e,n])}((0,i.useMemo)(()=>{if(a&&l)return{linkClassName:a,linkActiveClassName:l,minHeadingLevel:u,maxHeadingLevel:m}},[a,l,u,m])),(0,s.jsx)(z,{toc:h,className:n,linkClassName:a,...c})}let U={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function O(e){let{collapsed:t,...n}=e;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",U.tocCollapsibleButton,!t&&U.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(j.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}let D={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function P(e){let{toc:t,className:n,minHeadingLevel:i,maxHeadingLevel:a}=e,{collapsed:l,toggleCollapsed:r}=(0,H.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.Z)(D.tocCollapsible,!l&&D.tocCollapsibleExpanded,n),children:[(0,s.jsx)(O,{collapsed:l,onClick:r}),(0,s.jsx)(H.z,{lazy:!0,className:D.tocCollapsibleContent,collapsed:l,children:(0,s.jsx)(R,{toc:t,minHeadingLevel:i,maxHeadingLevel:a})})]})}let $="tocMobile_ITEo";function F(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(P,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(b.k.docs.docTocMobile,$)})}let W="tableOfContents_bqdL";function q(e){let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,u.Z)(W,"thin-scrollbar",t),children:(0,s.jsx)(R,{...n,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}function G(){let{toc:e,frontMatter:t}=c();return(0,s.jsx)(q,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:b.k.docs.docTocDesktop})}var J=n("4403"),Y=n("65"),Q=n("8863");function X(e){let{children:t}=e;return(0,s.jsx)(Y.Z,{components:Q.Z,children:t})}function K(e){let{children:t}=e,n=function(){let{metadata:e,frontMatter:t,contentTitle:n}=c();return!t.hide_title&&void 0===n?e.title:null}();return(0,s.jsxs)("div",{className:(0,u.Z)(b.k.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(J.Z,{as:"h1",children:n})}),(0,s.jsx)(X,{children:t})]})}var ee=n("2520"),et=n("4819");function en(){return(0,s.jsx)(j.Z,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function es(){return(0,s.jsx)(j.Z,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function ei(){return(0,s.jsx)(et.Z,{children:(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function ea(){return(0,s.jsx)(j.Z,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function el(){return(0,s.jsx)(j.Z,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}var er=n("5094");function eo(e){let{className:t}=e;return(0,s.jsx)(er.Z,{type:"caution",title:(0,s.jsx)(ea,{}),className:(0,u.Z)(t,b.k.common.draftBanner),children:(0,s.jsx)(el,{})})}function ec(e){let{className:t}=e;return(0,s.jsx)(er.Z,{type:"caution",title:(0,s.jsx)(en,{}),className:(0,u.Z)(t,b.k.common.unlistedBanner),children:(0,s.jsx)(es,{})})}function ed(e){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ei,{}),(0,s.jsx)(ec,{...e})]})}function eu(e){let{metadata:t}=e,{unlisted:n,frontMatter:i}=t;return(0,s.jsxs)(s.Fragment,{children:[(n||i.unlisted)&&(0,s.jsx)(ed,{}),i.draft&&(0,s.jsx)(eo,{})]})}let em={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function eh(e){let{children:t}=e,n=function(){let{frontMatter:e,toc:t}=c(),n=(0,m.i)(),i=e.hide_table_of_contents,a=!i&&t.length>0,l=a?(0,s.jsx)(F,{}):void 0;return{hidden:i,mobile:l,desktop:a&&("desktop"===n||"ssr"===n)?(0,s.jsx)(G,{}):void 0}}(),{metadata:i}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&em.docItemCol),children:[(0,s.jsx)(eu,{metadata:i}),(0,s.jsx)(f.Z,{}),(0,s.jsxs)("div",{className:em.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(ee.Z,{}),(0,s.jsx)(x.Z,{}),n.mobile,(0,s.jsx)(K,{children:t}),(0,s.jsx)(M,{})]}),(0,s.jsx)(p,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function ep(e){let t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,s.jsx)(o,{content:e.content,children:(0,s.jsxs)(a.FG,{className:t,children:[(0,s.jsx)(d,{}),(0,s.jsx)(eh,{children:(0,s.jsx)(n,{})})]})})}},3944:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var s=n("5893");n("7294");var i=n("6025"),a=n("4904"),l=n("3012");function r(e){let{permalink:t,title:n,subLabel:i,isNext:r}=e;return(0,s.jsxs)(l.Z,{className:(0,a.Z)("pagination-nav__link",r?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[i&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){let{previous:t,next:n}=e;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,s.jsx)(r,{...t,subLabel:(0,s.jsx)(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(r,{...n,subLabel:(0,s.jsx)(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},6035:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var s=n(5893);n(7294);var i=n(4904),a=n(6025),l=n(4681),r=n(8529);function o(e){let{className:t}=e,n=(0,r.E)();return n.badge?(0,s.jsx)("span",{className:(0,i.Z)(t,l.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},9580:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var s=n(5893);n(7294);var i=n(4904),a=n(2933),l=n(3012),r=n(6025),o=n(1723),c=n(4681),d=n(3896),u=n(8529);let m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(r.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,s.jsx)(r.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){let t=m[e.versionMetadata.banner];return(0,s.jsx)(t,{...e})}function p(e){let{versionLabel:t,to:n,onClick:i}=e;return(0,s.jsx)(r.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(l.Z,{to:n,onClick:i,children:(0,s.jsx)(r.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function f(e){let t,{className:n,versionMetadata:l}=e,{siteConfig:{title:r}}=(0,a.Z)(),{pluginId:u}=(0,o.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(u),{latestDocSuggestion:f,latestVersionSuggestion:x}=(0,o.Jo)(u);let b=f??(t=x).docs.find(e=>e.id===t.mainDocId);return(0,s.jsxs)("div",{className:(0,i.Z)(n,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(h,{siteTitle:r,versionMetadata:l})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(p,{versionLabel:x.label,to:b.path,onClick:()=>m(x.name)})})]})}function x(e){let{className:t}=e,n=(0,u.E)();return n.banner?(0,s.jsx)(f,{className:t,versionMetadata:n}):null}},5709:function(e,t,n){"use strict";n.d(t,{Z:()=>et});var s=n("5893"),i=n("7294"),a=n("4819"),l=n("7227"),r=n("4904"),o=n("4239"),c=n("140");function d(){let{prism:e}=(0,c.L)(),{colorMode:t}=(0,o.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n("4681"),m=n("7594"),h=n.n(m);let p=/title=(? ["'])(?.*?)\1/,f=/\{(? [\d,-]+)\}/,x={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},b={...x,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},j=Object.keys(x);function v(e,t){let n=e.map(e=>{let{start:n,end:s}=b[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return RegExp(`^\\s*(?:${n})\\s*$`)}let g="codeBlockContainer_Ckt0";function N(e){let{as:t,...n}=e,i=function(e){let t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(e=>{let[s,i]=e,a=t[s];a&&"string"==typeof i&&(n[a]=i)}),n}(d());return(0,s.jsx)(t,{...n,style:i,className:(0,r.Z)(n.className,g,u.k.common.codeBlock)})}let k={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function y(e){let{children:t,className:n}=e;return(0,s.jsx)(N,{as:"pre",tabIndex:0,className:(0,r.Z)(k.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:k.codeBlockLines,children:t})})}var C=n("5346");let Z={attributes:!0,characterData:!0,childList:!0,subtree:!0};var _=n("3359");let B={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function w(e){let{line:t,classNames:n,showLineNumbers:i,getLineProps:a,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");let o=a({line:t,className:(0,r.Z)(n,i&&B.codeLine)}),c=t.map((e,t)=>(0,s.jsx)("span",{...l({token:e})},t));return(0,s.jsxs)("span",{...o,children:[i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:B.codeLineNumber}),(0,s.jsx)("span",{className:B.codeLineContent,children:c})]}):c,(0,s.jsx)("br",{})]})}var L=n("6025");function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function E(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let I={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function A(e){let{code:t,className:n}=e,[a,l]=(0,i.useState)(!1),o=(0,i.useRef)(void 0),c=(0,i.useCallback)(()=>{!function(e){let{target:t=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),s=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let i=document.getSelection(),a=i.rangeCount>0&&i.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}n.remove(),a&&(i.removeAllRanges(),i.addRange(a)),s&&s.focus()}(t),l(!0),o.current=window.setTimeout(()=>{l(!1)},1e3)},[t]);return(0,i.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,s.jsx)("button",{type:"button","aria-label":a?(0,L.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,L.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,L.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.Z)("clean-btn",n,I.copyButton,a&&I.copyButtonCopied),onClick:c,children:(0,s.jsxs)("span",{className:I.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(T,{className:I.copyButtonIcon}),(0,s.jsx)(E,{className:I.copyButtonSuccessIcon})]})})}function M(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}let H={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function S(e){let{className:t,onClick:n,isEnabled:i}=e,a=(0,L.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,r.Z)("clean-btn",t,i&&H.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,s.jsx)(M,{className:H.wordWrapButtonIcon,"aria-hidden":"true"})})}function V(e){var t,n,a;let{children:l,className:o="",metastring:u,title:m,showLineNumbers:x,language:b}=e,{prism:{defaultLanguage:g,magicComments:y}}=(0,c.L)();let B=(t=b??function(e){let t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(o)??g,t?.toLowerCase()),L=d(),T=function(){let[e,t]=(0,i.useState)(!1),[n,s]=(0,i.useState)(!1),a=(0,i.useRef)(null),l=(0,i.useCallback)(()=>{let n=a.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[a,e]),r=(0,i.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=a.current;s(e>t||a.current.querySelector("code").hasAttribute("style"))},[a]);return!function(e,t){let[n,s]=(0,i.useState)(),a=(0,i.useCallback)(()=>{s(e.current?.closest("[role=tabpanel][hidden]"))},[e,s]);(0,i.useEffect)(()=>{a()},[a]),!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z,s=(0,C.zX)(t),a=(0,C.Ql)(n);(0,i.useEffect)(()=>{let t=new MutationObserver(s);return e&&t.observe(e,a),()=>t.disconnect()},[e,s,a])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(a,r),(0,i.useEffect)(()=>{r()},[e,r]),(0,i.useEffect)(()=>(window.addEventListener("resize",r,{passive:!0}),()=>{window.removeEventListener("resize",r)}),[r]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:n,toggle:l}}();let E=(n=u,(n?.match(p)?.groups.title??"")||m),{lineClassNames:I,code:M}=function(e,t){let n=e.replace(/\n$/,""),{language:s,magicComments:i,metastring:a}=t;if(a&&f.test(a)){let e=a.match(f).groups.range;if(0===i.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let t=i[0].className;return{lineClassNames:Object.fromEntries(h()(e).filter(e=>e>0).map(e=>[e-1,[t]])),code:n}}if(void 0===s)return{lineClassNames:{},code:n};let l=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return v(["js","jsBlock"],t);case"jsx":case"tsx":return v(["js","jsBlock","jsx"],t);case"html":return v(["js","jsBlock","html"],t);case"python":case"py":case"bash":return v(["bash"],t);case"markdown":case"md":return v(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return v(["tex"],t);case"lua":case"haskell":case"sql":return v(["lua"],t);case"wasm":return v(["wasm"],t);case"vb":case"vba":case"visual-basic":return v(["vb","rem"],t);case"vbnet":return v(["vbnet","rem"],t);case"batch":return v(["rem"],t);case"basic":return v(["rem","f90"],t);case"fsharp":return v(["js","ml"],t);case"ocaml":case"sml":return v(["ml"],t);case"fortran":return v(["f90"],t);case"cobol":return v(["cobol"],t);default:return v(j,t)}}(s,i),r=n.split("\n"),o=Object.fromEntries(i.map(e=>[e.className,{start:0,range:""}])),c=Object.fromEntries(i.filter(e=>e.line).map(e=>{let{className:t,line:n}=e;return[n,t]})),d=Object.fromEntries(i.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.start,t]})),u=Object.fromEntries(i.filter(e=>e.block).map(e=>{let{className:t,block:n}=e;return[n.end,t]}));for(let e=0;e void 0!==e);c[n]?o[c[n]].range+=`${e},`:d[n]?o[d[n]].start=e:u[n]&&(o[u[n]].range+=`${o[u[n]].start}-${e-1},`),r.splice(e,1)}n=r.join("\n");let m={};return Object.entries(o).forEach(e=>{let[t,{range:n}]=e;h()(n).forEach(e=>{m[e]??=[],m[e].push(t)})}),{lineClassNames:m,code:n}}(l,{metastring:u,language:B,magicComments:y});let H=x??(a=u,!!a?.includes("showLineNumbers"));return(0,s.jsxs)(N,{as:"div",className:(0,r.Z)(o,B&&!o.includes(`language-${B}`)&&`language-${B}`),children:[E&&(0,s.jsx)("div",{className:k.codeBlockTitle,children:E}),(0,s.jsxs)("div",{className:k.codeBlockContent,children:[(0,s.jsx)(_.y$,{theme:L,code:M,language:B??"text",children:e=>{let{className:t,style:n,tokens:i,getLineProps:a,getTokenProps:l}=e;return(0,s.jsx)("pre",{tabIndex:0,ref:T.codeBlockRef,className:(0,r.Z)(t,k.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,r.Z)(k.codeBlockLines,H&&k.codeBlockLinesWithNumbering),children:i.map((e,t)=>(0,s.jsx)(w,{line:e,getLineProps:a,getTokenProps:l,classNames:I[t],showLineNumbers:H},t))})})}}),(0,s.jsxs)("div",{className:k.buttonGroup,children:[(T.isEnabled||T.isCodeScrollable)&&(0,s.jsx)(S,{className:k.codeButton,onClick:()=>T.toggle(),isEnabled:T.isEnabled}),(0,s.jsx)(A,{className:k.codeButton,code:M})]})]})]})}function z(e){var t;let{children:n,...a}=e,r=(0,l.Z)();let o=(t=n,i.Children.toArray(t).some(e=>(0,i.isValidElement)(e))?t:Array.isArray(t)?t.join(""):t);return(0,s.jsx)("string"==typeof o?V:y,{...a,children:o},String(r))}function R(e){return(0,s.jsx)("code",{...e})}var U=n("3012"),O=n("8942"),D=n("1065"),P=n("7455");let $={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function F(e){return!!e&&("SUMMARY"===e.tagName||F(e.parentElement))}function W(e){let{summary:t,children:n,...a}=e;(0,D.Z)().collectAnchor(a.id);let r=(0,l.Z)(),o=(0,i.useRef)(null),{collapsed:c,setCollapsed:d}=(0,P.u)({initialState:!a.open}),[u,m]=(0,i.useState)(a.open),h=i.isValidElement(t)?t:(0,s.jsx)("summary",{children:t??"Details"});return(0,s.jsxs)("details",{...a,ref:o,open:u,"data-collapsed":c,className:(0,O.Z)($.details,r&&$.isBrowser,a.className),onMouseDown:e=>{F(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();let t=e.target;if(!!(F(t)&&function e(t,n){return!!t&&(t===n||e(t.parentElement,n))}(t,o.current)))e.preventDefault(),c?(d(!1),m(!0)):d(!0)},children:[h,(0,s.jsx)(P.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{d(e),m(!e)},children:(0,s.jsx)("div",{className:$.collapsibleContent,children:n})})]})}let q="details_b_Ee";function G(e){let{...t}=e;return(0,s.jsx)(W,{...t,className:(0,r.Z)("alert alert--info",q,t.className)})}function J(e){let t=i.Children.toArray(e.children),n=t.find(e=>i.isValidElement(e)&&"summary"===e.type),a=(0,s.jsx)(s.Fragment,{children:t.filter(e=>e!==n)});return(0,s.jsx)(G,{...e,summary:n,children:a})}var Y=n("4403");function Q(e){return(0,s.jsx)(Y.Z,{...e})}let X={containsTaskList:"containsTaskList_mC6p"},K="img_ev3q";var ee=n("5094");let et={Head:a.Z,details:J,Details:J,code:function(e){var t;return void 0!==(t=e).children&&i.Children.toArray(t.children).every(e=>"string"==typeof e&&!e.includes("\n"))?(0,s.jsx)(R,{...e}):(0,s.jsx)(z,{...e})},a:function(e){return(0,s.jsx)(U.Z,{...e})},pre:function(e){return(0,s.jsx)(s.Fragment,{children:e.children})},ul:function(e){return(0,s.jsx)("ul",{...e,className:function(e){if(void 0!==e)return(0,r.Z)(e,e?.includes("contains-task-list")&&X.containsTaskList)}(e.className)})},li:function(e){return(0,D.Z)().collectAnchor(e.id),(0,s.jsx)("li",{...e})},img:function(e){var t;return(0,s.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,r.Z)(t,K))})},h1:e=>(0,s.jsx)(Q,{as:"h1",...e}),h2:e=>(0,s.jsx)(Q,{as:"h2",...e}),h3:e=>(0,s.jsx)(Q,{as:"h3",...e}),h4:e=>(0,s.jsx)(Q,{as:"h4",...e}),h5:e=>(0,s.jsx)(Q,{as:"h5",...e}),h6:e=>(0,s.jsx)(Q,{as:"h6",...e}),admonition:ee.Z,mermaid:()=>null}},65:function(e,t,n){"use strict";n.d(t,{Z:function(){return r},a:function(){return l}});var s=n(7294);let i={},a=s.createContext(i);function l(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/294.fb9620e1.js b/assets/js/294.fb9620e1.js deleted file mode 100644 index 6da6036..0000000 --- a/assets/js/294.fb9620e1.js +++ /dev/null @@ -1,101 +0,0 @@ -(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["294"],{1639:function(e,t,n){"use strict";e.exports=n(9281)},7114:function(e,t,n){"use strict";var i=n(5670),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&7>=i.isMsie()&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},3312:function(e,t,n){"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(5670),a=n(3855),u=n(6619),c=n(7114),l=n(6823);function h(e){(e=e||{}).templates=e.templates||{},!e.source&&o.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:function(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||function(e){return" "+t(e)+"
"}}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?a.element(e.$menu.find(t+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(!!this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html((function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html((function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,function(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}),e.append.apply(e,n),e}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){!n.canceled&&n.source(e,t.bind(n))};this.debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)):i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});e.exports=h},5445:function(e,t,n){"use strict";var i=n(5670),r=n(3855),s=n(6823),o=n(3312),a=n(7114);function u(e){var t,n,s,o=this;!(e=e||{}).menu&&i.error("menu is required"),!i.isArray(e.datasets)&&!i.isObject(e.datasets)&&i.error("1 or more datasets required"),!e.datasets&&i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element(''),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(!e.relatedTarget||!(r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0))this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty){if(t.length>=this.minLength&&this.trigger("empty"),this.$empty){if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(!!this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)){this.trigger("cursorRemoved");return}i<-1&&(i=t.length-1);this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r ',dropdown:'',dataset:'',suggestions:'',suggestion:''}},1286:function(e,t,n){"use strict";i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var i,r=n(5670),s=n(3855),o=n(6823);function a(e){var t,n,o,a,u=this;!(e=e||{}).input&&r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){if(!i[e.which||e.keyCode])r.defer(r.bind(u._onInput,u,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=function(e){return s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n;n=!!(t=function(e,t){return a.normalizeQuery(e)===a.normalizeQuery(t)}(e=this.getInputValue(),this.query))&&!!this.query&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;e=this.getInputValue(),n=e!==(t=this.getHint())&&0===t.indexOf(e),!(""!==e&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return(e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t))?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}e.exports=a},4520:function(e,t,n){"use strict";var i="aaAttrs",r=n(5670),s=n(3855),o=n(7368),a=n(1286),u=n(5445),c=n(6619),l=n(7114);function h(e){if(!(e=e||{}).input&&r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var t,n,a=function(e){t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),!e.appendTo&&"block"===t.css("display")&&"table"===t.parent().css("display")&&n.css("display","table-cell");var t,n,o,a,u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)()),(a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData(),t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{!t.attr("dir")&&t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(!!e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(i.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r)return;var s=e.which||e.keyCode;if(-1!==n.indexOf(s))t.focus(),e.stopPropagation(),e.preventDefault()})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var e,t,n={selectionMethod:"blur"};!this.debug&&(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var n,i,r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){var n;if(!this.tabAutocomplete){this.dropdown.close();return}(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),(i=RegExp("^(?:"+r.escapeRegExChars(n)+")(.+$)","i").exec(e.value))?this.input.setHint(t+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i),e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});h.Dropdown=u,h.Input=a,h.sources=n(6331),e.exports=h},3855:function(e){"use strict";e.exports={element:null}},2926:function(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},5670:function(e,t,n){"use strict";var i,r=n(3855);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},2683:function(e,t,n){"use strict";var i=n(5670),r=n(3489),s=n(2926);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){if(e){i.error(e.message);return}r(t.hits,t)})}}},6331:function(e,t,n){"use strict";e.exports={hits:n(2683),popularIn:n(2226)}},2226:function(e,t,n){"use strict";var i=n(5670),r=n(3489),s=n(2926);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e){i.error(e.message);return}if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),c.search(u(h),p,function(e,t){if(e){i.error(e.message);return}var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s ]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,y=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=h.createElement("table"),S=h.createElement("tr"),C={tr:h.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:S,th:S,"*":h.createElement("div")},E=/complete|loaded|interactive/,_=/^[\w-]*$/,k={},T=k.toString,O={},L=h.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},$=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):k[T.call(e)]||"object"}function I(e){return"function"==P(e)}function Q(e){return null!=e&&e==e.window}function R(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function N(e){return"object"==P(e)}function D(e){return N(e)&&!Q(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!Q(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=L).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&L.removeChild(e),i};function j(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function H(e){return e in d?d[e]:d[e]=RegExp("(^|\\s)"+e+"(\\s|$)")}function V(e,t){return"number"!=typeof t||f[j(e)]?t:t+"px"}s=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},o=function(e){return c.call(e,function(t,n){return e.indexOf(t)==n})};function B(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function M(e,t){var n,i=e?e.length:0;for(n=0;n$2>")),t===n&&(n=g.test(e)&&RegExp.$1),!(n in C)&&(n="*"),(a=C[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),D(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new M(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r,s;if(!e)return O.Z();if("string"==typeof e){if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}else{if(I(e))return i(h).ready(e);if(O.isZ(e))return e;if($(e)){;s=e,r=c.call(s,function(e){return null!=e})}else if(N(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},i=function(e,t){return O.init(e,t)};function q(e,t){return null==t?i(e):i(e).filter(t)}function z(e,t,n,i){return I(t)?t.call(e,n,i):t}function K(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function W(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(t===n)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function U(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}return i.extend=function(e){var i,r=l.call(arguments,1);return"boolean"==typeof e&&(i=e,e=r.shift()),r.forEach(function(r){!function e(i,r,s){for(n in r)s&&(D(r[n])||$(r[n]))?(D(r[n])&&!D(i[n])&&(i[n]={}),$(r[n])&&!$(i[n])&&(i[n]=[]),e(i[n],r[n],s)):r[n]!==t&&(i[n]=r[n])}(e,r,i)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=I,i.isWindow=Q,i.isArray=$,i.isPlainObject=D,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,r,s,o,a=[];if(F(e))for(s=0;s 0?i.fn.concat.apply([],n):n},i.each=function(e,t){var n,i;if(F(e))for(n=0;n =0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return I(e)?this.not(this.not(e)):i(c.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(I(e)&&e.call!==t)this.each(function(t){!e.call(this,t)&&n.push(this)});else{var r="string"==typeof e?this.filter(e):F(e)&&I(e.item)?l.call(e):i(e);this.forEach(function(e){0>r.indexOf(e)&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return N(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return -1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!N(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!N(e)?e:i(e)},find:function(e){var t,n=this;return t=e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(n,function(t){return i.contains(t,e)})}):1==this.length?i(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!R(s)&&s.parentNode;s&&0>n.indexOf(s)&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!R(e)&&0>t.indexOf(e))return t.push(e),e});return q(t,e)},parent:function(e){return q(o(this.pluck("parentNode")),e)},children:function(e){return q(this.map(function(){return B(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return q(this.map(function(e,t){return c.call(B(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){if("none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")){var e,t,n;this.style.display=(!p[e=this.nodeName]&&(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e])}})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=I(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=I(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType){if(N(e))for(n in e)K(this,n,e[n]);else K(this,e,z(this,i,t,this.getAttribute(e)))}}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){K(this,e)},this)})},prop:function(e,t){return e=A[e]||e,1 in arguments?this.each(function(n){this[e]=z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=A[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?U(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if($(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==P(e))t||0===t?u=j(e)+":"+V(e,t):this.each(function(){this.style.removeProperty(j(e))});else for(n in e)e[n]||0===e[n]?u+=j(n)+":"+V(n,e[n])+";":this.each(function(){this.style.removeProperty(j(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(W(e))},H(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=W(this);z(this,e,t,n).split(/\s+/g).forEach(function(e){!i(this).hasClass(e)&&r.push(e)},this),r.length&&W(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(t===e)return W(this,"");z(this,e,n,r=W(this)).split(/\s+/g).forEach(function(e){r=r.replace(H(e)," ")}),W(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);z(this,e,r,W(this)).split(/\s+/g).forEach(function(e){(t===n?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=y.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!y.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return t===r?Q(o)?o["inner"+n]:R(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,z(this,r,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=P(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))}),r):"object"==n||null==e?e:O.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&!function e(t,n){n(t);for(var i=0,r=t.childNodes.length;i ":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function v(){l.length>0&&(h.push({tag:"_t",text:new String(l)}),l="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=f;i "==r.tag&&(r.indent=h[s].text.toString()),h.splice(s,1));else!i&&h.push({tag:"\n"});p=!1,f=h.length}for(i&&(g=(i=i.split(" "))[0],m=i[1]),d=0;d ":f,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[f(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,!n.inPartial&&(n.code+='t.sub("'+p(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=m('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+d(e.n)+'("'+p(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=m('"'+p(e.text)+'"')},"{":g,"&":g},e.walk=function(t,n){for(var i,r=0,s=t.length;r 0;){if(c=n.shift(),u&&"<"==u.tag&&!(c.tag in l))throw Error("Illegal content in < super tag.");if(e.tags[c.tag]<=e.tags.$||function(e,t){for(var n=0,i=t.length;n0)throw Error("missing closing tag: "+r.pop().n);return o}(t,"",[],(i=i||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},5485:function(e,t,n){var i=n(9397);i.Template=n(2882).Template,i.template=i.Template,e.exports=i},2882:function(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in!t.stackText&&(t.stackText={}),n.subs)!t.stackText[key]&&(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}o.prototype=e,a.prototype=e.subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)!i[u]&&(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)!r[u]&&(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!c(i)){n(e,t,this);return}for(var r=0;r=0;c--)if(void 0!==(s=t(e,o=n[c],u))){a=!0;break}return a?(!r&&"function"==typeof s&&(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);if("function"==typeof c)return!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o));return c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},624:function(e,t,n){"use strict";var i,r,s,o=[n(7936),n(4785),n(8291),n(2709),n(2506),n(9176)],a=-1,u=[],c=!1;function l(){if(!!i&&!!r)i=!1,r.length?u=r.concat(u):a=-1,u.length&&h()}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a 1)for(var n=1;n 0){var c=A.utils.clone(t)||{};c.position=[o,u],c.index=r.length,r.push(new A.Token(n.slice(o,s),c))}o=s+1}}return r},A.tokenizer.separator=/[\s\-]+/,A.Pipeline=function(){this._stack=[]},A.Pipeline.registeredFunctions=Object.create(null),A.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&A.utils.warn("Overwriting existing registered function: "+t),e.label=t,A.Pipeline.registeredFunctions[e.label]=e},A.Pipeline.warnIfFunctionNotRegistered=function(e){!(e.label&&e.label in this.registeredFunctions)&&A.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},A.Pipeline.load=function(e){var t=new A.Pipeline;return e.forEach(function(e){var n=A.Pipeline.registeredFunctions[e];if(n)t.add(n);else throw Error("Cannot load unregistered function: "+e)}),t},A.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){A.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},A.Pipeline.prototype.after=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},A.Pipeline.prototype.before=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");this._stack.splice(n,0,t)},A.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);if(-1!=t)this._stack.splice(t,1)},A.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n 1&&(s e&&(n=r),s!=e);){;i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r]}return s==e||s>e?2*r:s a?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},A.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},A.Vector.prototype.toArray=function(){for(var e=Array(this.elements.length/2),t=1,n=0;t 0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new A.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{var a=new A.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{var u=new A.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new A.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},A.TokenSet.fromString=function(e){for(var t=new A.TokenSet,n=t,i=0,r=e.length;i =e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},A.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},A.Index.prototype.search=function(e){return this.query(function(t){new A.QueryParser(e,t).parse()})},A.Index.prototype.query=function(e){for(var t=new A.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a 1?this._b=1:this._b=e},A.Builder.prototype.k1=function(e){this._k1=e},A.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r =this.length)return A.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},A.QueryLexer.prototype.width=function(){return this.pos-this.start},A.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},A.QueryLexer.prototype.backup=function(){this.pos-=1},A.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do t=(e=this.next()).charCodeAt(0);while(t>47&&t<58);e!=A.QueryLexer.EOS&&this.backup()},A.QueryLexer.prototype.more=function(){return this.pos 1&&(e.backup(),e.emit(A.QueryLexer.TERM)),e.ignore(),e.more())return A.QueryLexer.lexText},A.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.EDIT_DISTANCE),A.QueryLexer.lexText},A.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.BOOST),A.QueryLexer.lexText},A.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(A.QueryLexer.TERM)},A.QueryLexer.termSeparator=A.tokenizer.separator,A.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==A.QueryLexer.EOS)return A.QueryLexer.lexEOS;if(92==t.charCodeAt(0)){e.escapeCharacter();continue}if(":"==t)return A.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(A.QueryLexer.PRESENCE),A.QueryLexer.lexText;if(t.match(A.QueryLexer.termSeparator))return A.QueryLexer.lexTerm}},A.QueryParser=function(e,t){this.lexer=new A.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},A.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=A.QueryParser.parseClause;e;)e=e(this);return this.query},A.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},A.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},A.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},A.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case A.QueryLexer.PRESENCE:return A.QueryParser.parsePresence;case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new A.QueryParseError(n,t.start,t.end)}},A.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=A.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=A.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new A.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(void 0==i){var n="expecting term or field, found nothing";throw new A.QueryParseError(n,t.start,t.end)}switch(i.type){case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new A.QueryParseError(n,i.start,i.end)}}},A.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(void 0==r){var i="expecting term, found nothing";throw new A.QueryParseError(i,t.start,t.end)}if(r.type===A.QueryLexer.TERM)return A.QueryParser.parseTerm;var i="expecting term, found '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}},A.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0==n){e.nextClause();return}switch(n.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new A.QueryParseError(i,n.start,n.end)}}},A.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},A.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},O=0,L=function(){return A},"function"==typeof define&&define.amd?define(L):e.exports=L()}()},5322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v});var i=n("5485"),r=n.n(i),s=n("4802");s.Z.tokenizer.separator=/[\s\-/]+/;let o=class e{constructor(e,t,n="/",i){this.searchDocs=e,this.lunrIndex=s.Z.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){let n=s.Z.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.Z.Query.wildcard.TRAILING})})}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title.substring(0,i)+''+e.title.substring(i,r)+""+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title+"
Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,r)+""+e.keywords.substring(r,e.keywords.length)+"";return this.getHit(e,s)}getContentHit(e,t){let n=t[0],i=t[0]+t[1],r=n,s=i,o=!0,a=!0;for(let t=0;t<3;t++){let t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let t=0;t<10;t++){let t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n'+e.content.substring(n,i)+"",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise((t,n)=>{let i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{let n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){let o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){let e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){let o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}),r.length>this.maxHits&&(r.length=this.maxHits),t(r)})}};var a=n("1639"),u=n.n(a);let c="algolia-docsearch",l=`${c}-suggestion`,h=`${c}-footer`,p={suggestion:` - - - {{{category}}} ---- - `,suggestionSimple:` -- {{{subcategory}}} -- {{#isTextOrSubcategoryNonEmpty}} --- {{/isTextOrSubcategoryNonEmpty}} -{{{subcategory}}}-{{{title}}}- {{#text}}{{{text}}}{{/text}} - {{#version}}{{version}}{{/version}} --- `,footer:` -- {{^isLvl0}} - {{{category}}} - {{^isLvl1}} - {{^isLvl1EmptyOrDuplicate}} - - {{{subcategory}}} - - {{/isLvl1EmptyOrDuplicate}} - {{/isLvl1}} - {{/isLvl0}} --- {{#isLvl2}} - {{{title}}} - {{/isLvl2}} - {{#isLvl1}} - {{{subcategory}}} - {{/isLvl1}} - {{#isLvl0}} - {{{category}}} - {{/isLvl0}} --- {{#text}} ---- {{/text}} -{{{text}}}--- `,empty:` --- `,searchBox:` - - - - `};var d=n("7939"),f=n.n(d);let g={mergeKeyWithParent(e,t){if(void 0===e[t]||"object"!=typeof e[t])return e;let n=f().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){let n={};return f().each(e,(e,i)=>{if(void 0===i[t])throw Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=[]),n[r].push(i)}),n},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){let t=[];return e.forEach(e=>{if(!Array.isArray(e)){t.push(e);return}e.forEach(e=>{t.push(e)})}),t},flattenAndFlagFirst(e,t){let n=this.values(e).map(e=>e.map((e,n)=>(e[t]=0===n,e)));return this.flatten(n)},compact(e){let t=[];return e.forEach(e=>{if(!!e)t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u{2026}${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u{2026}`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class m{constructor({searchDocs:e,searchIndex:t,inputSelector:n,debug:i=!1,baseUrl:r="/",queryDataCallback:s=null,autocompleteOptions:a={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:l=!1,handleSelected:h=!1,enhancedSearchInput:d=!1,layout:g="column",maxHits:v=5}){this.input=m.getInputFromSelector(n),this.queryDataCallback=s||null;let y=!!a&&!!a.debug&&a.debug;a.debug=i||y,this.autocompleteOptions=a,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";let x=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||x||"search input",this.isSimpleLayout="simple"===g,this.client=new o(e,t,r,v),d&&(this.input=m.injectSearchBox(this.input)),this.autocomplete=u()(this.input,a,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:m.getSuggestionTemplate(this.isSimpleLayout),footer:p.footer,empty:m.getEmptyTemplate()}}]);this.handleSelected=h||this.handleSelected,h&&f()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),d&&m.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(p.searchBox);let t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){f()('.searchbox [type="reset"]').on("click",function(){f()("input#docsearch").focus(),f()(this).addClass("hide"),u().autocomplete.setVal("")}),f()("input#docsearch").on("keyup",()=>{let e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){let t=f()(e).filter("input");return t.length?f()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(m.formatHits(t))})}}static formatHits(e){let t=g.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=g.mergeKeyWithParent(e._highlightResult,"hierarchy")),g.mergeKeyWithParent(e,"hierarchy"))),n=g.groupBy(t,"lvl0");return f().each(n,(e,t)=>{let i=g.groupBy(t,"lvl1"),r=g.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r}),(n=g.flattenAndFlagFirst(n,"isCategoryHeader")).map(e=>{let t=m.formatURL(e),n=g.getHighlightedValue(e,"lvl0"),i=g.getHighlightedValue(e,"lvl1")||n,r=g.compact([g.getHighlightedValue(e,"lvl2")||i,g.getHighlightedValue(e,"lvl3"),g.getHighlightedValue(e,"lvl4"),g.getHighlightedValue(e,"lvl5"),g.getHighlightedValue(e,"lvl6")]).join(' '),s=g.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=e.version;return{isLvl0:!c&&!u,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:l}})}static formatURL(e){let{url:t,anchor:n}=e;if(t){if(-1!==t.indexOf("#"));else if(n)return`${e.url}#${e.anchor}`;return t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(p.empty).render(e)}static getSuggestionTemplate(e){let t=e?p.suggestionSimple:p.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if("click"!==r.selectionMethod)e.setVal(""),window.location.assign(n.url)}handleShown(e){let t=e.offset().left+e.width()/2,n=f()(document).width()/2;isNaN(n)&&(n=900);let i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=f()(".algolia-autocomplete");!s.hasClass(i)&&s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}let v=m}}]); \ No newline at end of file diff --git a/assets/js/317957c9.5fbfd233.js b/assets/js/317957c9.5fbfd233.js deleted file mode 100644 index 4961c85..0000000 --- a/assets/js/317957c9.5fbfd233.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["792"],{3101:function(t,e,n){n.r(e),n.d(e,{metadata:()=>r,contentTitle:()=>l,default:()=>h,assets:()=>a,toc:()=>d,frontMatter:()=>s});var r=JSON.parse('{"id":"intro","title":"\uD83D\uDCD8 Introduction","description":"|Workshop goals|Migrate a relational DB into MongoDB Atlas|","source":"@site/docs/10-intro.mdx","sourceDirName":".","slug":"/intro","permalink":"/relational-migrator-lab/docs/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/10-intro.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{"sidebar_position":10},"sidebar":"tutorialSidebar","next":{"title":"\uD83D\uDC50 Prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites"}}'),o=n("5893"),i=n("65");n("7294"),n("7227");let s={sidebar_position:10},l="\uD83D\uDCD8 Introduction",a={},d=[];function c(t){let e={a:"a",h1:"h1",header:"header",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.header,{children:(0,o.jsx)(e.h1,{id:"-introduction",children:"\uD83D\uDCD8 Introduction"})}),"\n","\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{children:"Workshop goals"}),(0,o.jsx)(e.th,{children:"Migrate a relational DB into MongoDB Atlas"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"What you'll learn"}),(0,o.jsxs)(e.td,{children:["- What is the ",(0,o.jsx)(e.a,{href:"https://www.mongodb.com/products/tools/relational-migrator",children:"MongoDB Relational Migrator"}),"?"]})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- How to install it"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Importing a relational DB: import the schema"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Map the relational schema to a MongoDB schema"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Migrate the data to MongoDB"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"Prerequisites"}),(0,o.jsxs)(e.td,{children:["See ",(0,o.jsx)(e.a,{href:"/docs/category/-prerequisites/",children:"Prerequisites"})]})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"Time to complete"}),(0,o.jsx)(e.td,{children:"1 hour"})]})]})]}),"\n",(0,o.jsx)(e.p,{children:"These labs are meant to be presented by one of our amazing instructors, but you can also do them on your own."}),"\n",(0,o.jsx)(e.p,{children:"In the navigation bar, you will notice some icons. Here is their meaning:"}),"\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{children:"Icon"}),(0,o.jsx)(e.th,{style:{textAlign:"left"},children:"Meaning"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83D\uDCD8"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Lecture material - If you're following along in an instructor-led session, they probably have covered this already."})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83D\uDC50"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Hands-on content - Get ready to get some work done. You should follow these steps."})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83E\uDDB8"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Advanced content - This content isn't covered during the lab, but if you're interested in learning more, you can check it out."})]})]})]})]})}function h(t={}){let{wrapper:e}={...(0,i.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(c,{...t})}):c(t)}},65:function(t,e,n){n.d(e,{Z:function(){return l},a:function(){return s}});var r=n(7294);let o={},i=r.createContext(o);function s(t){let e=r.useContext(i);return r.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function l(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:s(t.components),r.createElement(i.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/317957c9.a6ecfae8.js b/assets/js/317957c9.a6ecfae8.js new file mode 100644 index 0000000..d94a03e --- /dev/null +++ b/assets/js/317957c9.a6ecfae8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3048"],{3101:function(t,e,n){n.r(e),n.d(e,{metadata:()=>r,contentTitle:()=>l,default:()=>h,assets:()=>a,toc:()=>d,frontMatter:()=>s});var r=JSON.parse('{"id":"intro","title":"\uD83D\uDCD8 Introduction","description":"|Workshop goals|Migrate a relational DB into MongoDB Atlas|","source":"@site/docs/10-intro.mdx","sourceDirName":".","slug":"/intro","permalink":"/relational-migrator-lab/docs/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/10-intro.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{"sidebar_position":10},"sidebar":"tutorialSidebar","next":{"title":"\uD83D\uDC50 Prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites"}}'),o=n("5893"),i=n("65");n("7294"),n("7227");let s={sidebar_position:10},l="\uD83D\uDCD8 Introduction",a={},d=[];function c(t){let e={a:"a",h1:"h1",header:"header",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.header,{children:(0,o.jsx)(e.h1,{id:"-introduction",children:"\uD83D\uDCD8 Introduction"})}),"\n","\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{children:"Workshop goals"}),(0,o.jsx)(e.th,{children:"Migrate a relational DB into MongoDB Atlas"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"What you'll learn"}),(0,o.jsxs)(e.td,{children:["- What is the ",(0,o.jsx)(e.a,{href:"https://www.mongodb.com/products/tools/relational-migrator",children:"MongoDB Relational Migrator"}),"?"]})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- How to install it"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Importing a relational DB: import the schema"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Map the relational schema to a MongoDB schema"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{}),(0,o.jsx)(e.td,{children:"- Migrate the data to MongoDB"})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"Prerequisites"}),(0,o.jsxs)(e.td,{children:["See ",(0,o.jsx)(e.a,{href:"/docs/category/-prerequisites/",children:"Prerequisites"})]})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"Time to complete"}),(0,o.jsx)(e.td,{children:"1 hour"})]})]})]}),"\n",(0,o.jsx)(e.p,{children:"These labs are meant to be presented by one of our amazing instructors, but you can also do them on your own."}),"\n",(0,o.jsx)(e.p,{children:"In the navigation bar, you will notice some icons. Here is their meaning:"}),"\n",(0,o.jsxs)(e.table,{children:[(0,o.jsx)(e.thead,{children:(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{children:"Icon"}),(0,o.jsx)(e.th,{style:{textAlign:"left"},children:"Meaning"})]})}),(0,o.jsxs)(e.tbody,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83D\uDCD8"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Lecture material - If you're following along in an instructor-led session, they probably have covered this already."})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83D\uDC50"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Hands-on content - Get ready to get some work done. You should follow these steps."})]}),(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:"\uD83E\uDDB8"}),(0,o.jsx)(e.td,{style:{textAlign:"left"},children:"Advanced content - This content isn't covered during the lab, but if you're interested in learning more, you can check it out."})]})]})]})]})}function h(t={}){let{wrapper:e}={...(0,i.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(c,{...t})}):c(t)}},65:function(t,e,n){n.d(e,{Z:function(){return l},a:function(){return s}});var r=n(7294);let o={},i=r.createContext(o);function s(t){let e=r.useContext(i);return r.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function l(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:s(t.components),r.createElement(i.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/349e88fc.5cc9fdb3.js b/assets/js/349e88fc.5cc9fdb3.js deleted file mode 100644 index 65914f1..0000000 --- a/assets/js/349e88fc.5cc9fdb3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["170"],{3909:function(e,t,a){a.r(t),a.d(t,{metadata:()=>r,contentTitle:()=>o,default:()=>u,assets:()=>i,toc:()=>d,frontMatter:()=>c});var r=JSON.parse('{"id":"create-project/select-tables","title":"\uD83D\uDC50 Select Tables","description":"We want to migrate data from all of the tables, so check all of them and then click Next.","source":"@site/docs/50-create-project/70-select-tables.mdx","sourceDirName":"50-create-project","slug":"/create-project/select-tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/70-select-tables.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Connect to the Database","permalink":"/relational-migrator-lab/docs/create-project/connect-database"},"next":{"title":"\uD83D\uDC50 Define the Initial Schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema"}}'),n=a("5893"),s=a("65"),l=a("1424");let c={},o="\uD83D\uDC50 Select Tables",i={},d=[];function m(e){let t={code:"code",h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"-select-tables",children:"\uD83D\uDC50 Select Tables"})}),"\n",(0,n.jsxs)(t.p,{children:["We want to migrate data from all of the tables, so check all of them and then click ",(0,n.jsx)(t.code,{children:"Next"}),"."]}),"\n",(0,n.jsx)(l.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/70-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(m,{...e})}):m(e)}},1424:function(e,t,a){a.d(t,{Z:()=>l});var r=a("5893");function n(e){let t=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:t})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}a("7294");var s=a("4757");function l(e){return(0,r.jsx)(n,{...e,children:(0,r.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return c},a:function(){return l}});var r=a(7294);let n={},s=r.createContext(n);function l(e){let t=r.useContext(s);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/349e88fc.98679356.js b/assets/js/349e88fc.98679356.js new file mode 100644 index 0000000..09593b3 --- /dev/null +++ b/assets/js/349e88fc.98679356.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["5170"],{3909:function(e,t,a){a.r(t),a.d(t,{metadata:()=>r,contentTitle:()=>o,default:()=>u,assets:()=>i,toc:()=>d,frontMatter:()=>c});var r=JSON.parse('{"id":"create-project/select-tables","title":"\uD83D\uDC50 Select Tables","description":"We want to migrate data from all of the tables, so check all of them and then click Next.","source":"@site/docs/50-create-project/70-select-tables.mdx","sourceDirName":"50-create-project","slug":"/create-project/select-tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/70-select-tables.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Connect to the Database","permalink":"/relational-migrator-lab/docs/create-project/connect-database"},"next":{"title":"\uD83D\uDC50 Define the Initial Schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema"}}'),n=a("5893"),s=a("65"),l=a("1424");let c={},o="\uD83D\uDC50 Select Tables",i={},d=[];function m(e){let t={code:"code",h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"-select-tables",children:"\uD83D\uDC50 Select Tables"})}),"\n",(0,n.jsxs)(t.p,{children:["We want to migrate data from all of the tables, so check all of them and then click ",(0,n.jsx)(t.code,{children:"Next"}),"."]}),"\n",(0,n.jsx)(l.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/70-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(m,{...e})}):m(e)}},1424:function(e,t,a){a.d(t,{Z:()=>l});var r=a("5893");function n(e){let t=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:t})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}a("7294");var s=a("4757");function l(e){return(0,r.jsx)(n,{...e,children:(0,r.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return c},a:function(){return l}});var r=a(7294);let n={},s=r.createContext(n);function l(e){let t=r.useContext(s);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3887df25.1428711c.js b/assets/js/3887df25.1428711c.js new file mode 100644 index 0000000..c484fa0 --- /dev/null +++ b/assets/js/3887df25.1428711c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["8508"],{3434:function(e,t,n){n.r(t),n.d(t,{metadata:()=>s,contentTitle:()=>o,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>l});var s=JSON.parse('{"id":"project-settings","title":"\uD83D\uDC50 Project Settings","description":"- On the top left, click the settings icon.","source":"@site/docs/60-project-settings.mdx","sourceDirName":".","slug":"/project-settings","permalink":"/relational-migrator-lab/docs/project-settings","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/60-project-settings.mdx","tags":[],"version":"current","sidebarPosition":60,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Define the Initial Schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema"},"next":{"title":"\uD83D\uDC50 Toggle View","permalink":"/relational-migrator-lab/docs/toggle-view"}}'),r=n("5893"),i=n("65"),a=n("1424");let l={},o="\uD83D\uDC50 Project Settings",c={},d=[];function m(e){let t={code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"-project-settings",children:"\uD83D\uDC50 Project Settings"})}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"On the top left, click the settings icon."}),"\n",(0,r.jsxs)(t.li,{children:["Select single inherited primary key. This detects the primary key from the relational schema and sets them as the ",(0,r.jsx)(t.code,{children:"_id"})," in MongoDB."]}),"\n",(0,r.jsx)(t.li,{children:"Optionally, toggle Suggested Mappings on and off."}),"\n"]}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/90-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var s=n("5893");function r(e){let t=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:t})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}n("7294");var i=n("4757");function a(e){return(0,s.jsx)(r,{...e,children:(0,s.jsx)("img",{src:(0,i.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(7294);let r={},i=s.createContext(r);function a(e){let t=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3887df25.d196f70a.js b/assets/js/3887df25.d196f70a.js deleted file mode 100644 index 76bc893..0000000 --- a/assets/js/3887df25.d196f70a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["508"],{3434:function(e,t,n){n.r(t),n.d(t,{metadata:()=>s,contentTitle:()=>o,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>l});var s=JSON.parse('{"id":"project-settings","title":"\uD83D\uDC50 Project Settings","description":"- On the top left, click the settings icon.","source":"@site/docs/60-project-settings.mdx","sourceDirName":".","slug":"/project-settings","permalink":"/relational-migrator-lab/docs/project-settings","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/60-project-settings.mdx","tags":[],"version":"current","sidebarPosition":60,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Define the Initial Schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema"},"next":{"title":"\uD83D\uDC50 Toggle View","permalink":"/relational-migrator-lab/docs/toggle-view"}}'),r=n("5893"),i=n("65"),a=n("1424");let l={},o="\uD83D\uDC50 Project Settings",c={},d=[];function m(e){let t={code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"-project-settings",children:"\uD83D\uDC50 Project Settings"})}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:"On the top left, click the settings icon."}),"\n",(0,r.jsxs)(t.li,{children:["Select single inherited primary key. This detects the primary key from the relational schema and sets them as the ",(0,r.jsx)(t.code,{children:"_id"})," in MongoDB."]}),"\n",(0,r.jsx)(t.li,{children:"Optionally, toggle Suggested Mappings on and off."}),"\n"]}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/90-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var s=n("5893");function r(e){let t=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:t})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}n("7294");var i=n("4757");function a(e){return(0,s.jsx)(r,{...e,children:(0,s.jsx)("img",{src:(0,i.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(7294);let r={},i=s.createContext(r);function a(e){let t=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3a2e5b87.d93a833b.js b/assets/js/3a2e5b87.d93a833b.js new file mode 100644 index 0000000..4b913fa --- /dev/null +++ b/assets/js/3a2e5b87.d93a833b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3575"],{5497:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Create a Project","description":"Create your Project in Relational Migrator.","slug":"/category/-create-a-project","permalink":"/relational-migrator-lab/docs/category/-create-a-project","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDCD8 Desired Schema in MongoDB","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb"},"next":{"title":"\uD83D\uDC50 Creating a New Project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/3a2e5b87.e53bfa86.js b/assets/js/3a2e5b87.e53bfa86.js deleted file mode 100644 index b8243a3..0000000 --- a/assets/js/3a2e5b87.e53bfa86.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["575"],{5497:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Create a Project","description":"Create your Project in Relational Migrator.","slug":"/category/-create-a-project","permalink":"/relational-migrator-lab/docs/category/-create-a-project","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDCD8 Desired Schema in MongoDB","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb"},"next":{"title":"\uD83D\uDC50 Creating a New Project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/3aaaf183.dc562da8.js b/assets/js/3aaaf183.dc562da8.js deleted file mode 100644 index 60383d1..0000000 --- a/assets/js/3aaaf183.dc562da8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["371"],{935:function(e,t,r){r.r(t),r.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>d,assets:()=>s,toc:()=>u,frontMatter:()=>i});var n=JSON.parse('{"id":"summary","title":"\uD83C\uDFAF Summary","description":"Congratulations! Following this tutorial, you have successfully:","source":"@site/docs/summary.mdx","sourceDirName":".","slug":"/summary","permalink":"/relational-migrator-lab/docs/summary","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/summary.mdx","tags":[],"version":"current","sidebarPosition":1000,"frontMatter":{"sidebar_position":1000},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 View Migrated Data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data"}}'),a=r("5893"),o=r("65");let i={sidebar_position:1e3},l="\uD83C\uDFAF Summary",s={},u=[];function c(e){let t={a:"a",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-summary",children:"\uD83C\uDFAF Summary"})}),"\n",(0,a.jsx)(t.p,{children:"Congratulations! Following this tutorial, you have successfully:"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsx)(t.li,{children:"Installed Relational Migrator."}),"\n",(0,a.jsx)(t.li,{children:"Created a migration project."}),"\n",(0,a.jsx)(t.li,{children:"Mapped a relational schema to MongoDB."}),"\n",(0,a.jsx)(t.li,{children:"Migrated data to MongoDB."}),"\n",(0,a.jsx)(t.li,{children:"Generated application code from the MongoDB model."}),"\n",(0,a.jsx)(t.li,{children:"Converted SQL queries and stored procedures to MongoDB query language."}),"\n"]}),"\n",(0,a.jsxs)(t.p,{children:["Visit the ",(0,a.jsx)(t.a,{href:"https://mongodb.com/developer/?utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=soccer_workshop&utm_term=stanimira_vlaeva",children:"MongoDB Developer Center"})," for more useful information and tutorials."]})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},65:function(e,t,r){r.d(t,{Z:function(){return l},a:function(){return i}});var n=r(7294);let a={},o=n.createContext(a);function i(e){let t=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3aaaf183.dc5f4e7a.js b/assets/js/3aaaf183.dc5f4e7a.js new file mode 100644 index 0000000..f5e5aeb --- /dev/null +++ b/assets/js/3aaaf183.dc5f4e7a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["4371"],{935:function(e,t,r){r.r(t),r.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>d,assets:()=>s,toc:()=>u,frontMatter:()=>i});var n=JSON.parse('{"id":"summary","title":"\uD83C\uDFAF Summary","description":"Congratulations! Following this tutorial, you have successfully:","source":"@site/docs/summary.mdx","sourceDirName":".","slug":"/summary","permalink":"/relational-migrator-lab/docs/summary","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/summary.mdx","tags":[],"version":"current","sidebarPosition":1000,"frontMatter":{"sidebar_position":1000},"sidebar":"tutorialSidebar","previous":{"title":"\uD83E\uDDB8 Migration using CDC and Kafka","permalink":"/relational-migrator-lab/docs/Migrate Data/cdc-migration"}}'),o=r("5893"),a=r("65");let i={sidebar_position:1e3},l="\uD83C\uDFAF Summary",s={},u=[];function c(e){let t={a:"a",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"-summary",children:"\uD83C\uDFAF Summary"})}),"\n",(0,o.jsx)(t.p,{children:"Congratulations! Following this tutorial, you have successfully:"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:"Installed Relational Migrator."}),"\n",(0,o.jsx)(t.li,{children:"Created a migration project."}),"\n",(0,o.jsx)(t.li,{children:"Mapped a relational schema to MongoDB."}),"\n",(0,o.jsx)(t.li,{children:"Migrated data to MongoDB."}),"\n",(0,o.jsx)(t.li,{children:"Generated application code from the MongoDB model."}),"\n",(0,o.jsx)(t.li,{children:"Converted SQL queries and stored procedures to MongoDB query language."}),"\n"]}),"\n",(0,o.jsxs)(t.p,{children:["Visit the ",(0,o.jsx)(t.a,{href:"https://mongodb.com/developer/?utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=soccer_workshop&utm_term=stanimira_vlaeva",children:"MongoDB Developer Center"})," for more useful information and tutorials."]})]})}function d(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},65:function(e,t,r){r.d(t,{Z:function(){return l},a:function(){return i}});var n=r(7294);let o={},a=n.createContext(o);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/41149349.2013c84b.js b/assets/js/41149349.2013c84b.js new file mode 100644 index 0000000..338f49c --- /dev/null +++ b/assets/js/41149349.2013c84b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["5998"],{9723:function(t,a,e){e.r(a),e.d(a,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>r});var n=JSON.parse('{"id":"Migrate Data/cdc-migration","title":"\uD83E\uDDB8 Migration using CDC and Kafka","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/210-Migrate Data/30-cdc-migration.mdx","sourceDirName":"210-Migrate Data","slug":"/Migrate Data/cdc-migration","permalink":"/relational-migrator-lab/docs/Migrate Data/cdc-migration","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/210-Migrate Data/30-cdc-migration.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 View Migrated Data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data"},"next":{"title":"\uD83C\uDFAF Summary","permalink":"/relational-migrator-lab/docs/summary"}}'),i=e("5893"),o=e("65");let r={},l="\uD83E\uDDB8 Migration using CDC and Kafka",c={},d=[];function s(t){let a={a:"a",admonition:"admonition",h1:"h1",header:"header",p:"p",...(0,o.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.header,{children:(0,i.jsx)(a.h1,{id:"-migration-using-cdc-and-kafka",children:"\uD83E\uDDB8 Migration using CDC and Kafka"})}),"\n",(0,i.jsx)(a.admonition,{type:"info",children:(0,i.jsx)(a.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,i.jsxs)(a.p,{children:["Check out this post ",(0,i.jsx)(a.a,{href:"https://www.mongodb.com/developer/products/mongodb/cdc-confluentcloud-relational-migrator/",children:"The Great Continuous Migration: CDC Jobs With Confluent Cloud and Relational Migrator"})]})]})}function u(t={}){let{wrapper:a}={...(0,o.a)(),...t.components};return a?(0,i.jsx)(a,{...t,children:(0,i.jsx)(s,{...t})}):s(t)}},65:function(t,a,e){e.d(a,{Z:function(){return l},a:function(){return r}});var n=e(7294);let i={},o=n.createContext(i);function r(t){let a=n.useContext(o);return n.useMemo(function(){return"function"==typeof t?t(a):{...a,...t}},[a,t])}function l(t){let a;return a=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:r(t.components),n.createElement(o.Provider,{value:a},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/41ff246a.bee94bcf.js b/assets/js/41ff246a.bee94bcf.js deleted file mode 100644 index 7481c13..0000000 --- a/assets/js/41ff246a.bee94bcf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["711"],{3851:function(e,n,t){t.r(n),t.d(n,{metadata:()=>i,contentTitle:()=>o,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>l});var i=JSON.parse('{"id":"edit-mapping-rules/add-mapping-reviews-user","title":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-reviews-user","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx","tags":[],"version":"current","sidebarPosition":110,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail"},"next":{"title":"\uD83D\uDC50 Generate app code","permalink":"/relational-migrator-lab/docs/Generate code/generate-app-code"}}'),s=t("5893"),a=t("65"),r=t("1424");let l={},o="\uD83E\uDDB8 Add mapping to reviews collection (from users table)",c={},d=[];function m(e){let n={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"-add-mapping-to-reviews-collection-from-users-table",children:"\uD83E\uDDB8 Add mapping to reviews collection (from users table)"})}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,s.jsx)(n.p,{children:"We want to store each user's name against their reviews."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(n.code,{children:"reviews"})," collection"]}),"\n",(0,s.jsxs)(n.li,{children:["On the relational mappings list on the right, click ",(0,s.jsx)(n.code,{children:"+Add"})]}),"\n",(0,s.jsxs)(n.li,{children:["Select ",(0,s.jsx)(n.code,{children:"Embedded documents"})]}),"\n",(0,s.jsxs)(n.li,{children:["Select ",(0,s.jsx)(n.code,{children:"users"})," as Source table"]}),"\n",(0,s.jsxs)(n.li,{children:["In the advanced settings check ",(0,s.jsx)(n.code,{children:"Merge fields into the parent"})]}),"\n",(0,s.jsxs)(n.li,{children:["Only check ",(0,s.jsx)(n.code,{children:"name"})," field"]}),"\n",(0,s.jsxs)(n.li,{children:["Click ",(0,s.jsx)(n.code,{children:"Save and close "})]}),"\n"]}),"\n",(0,s.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/200-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(m,{...e})}):m(e)}},1424:function(e,n,t){t.d(n,{Z:()=>r});var i=t("5893");function s(e){let n=e.url||"http://localhost:3000";return(0,i.jsxs)("div",{className:"browser container",children:[(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:"column left",children:[(0,i.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,i.jsx)("div",{className:"column middle",children:(0,i.jsx)("input",{type:"text",value:n})}),(0,i.jsx)("div",{className:"column right",children:(0,i.jsxs)("div",{style:{float:"right"},children:[(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"})]})})]}),(0,i.jsx)("div",{className:"content",children:e.children})]})}t("7294");var a=t("4757");function r(e){return(0,i.jsx)(s,{...e,children:(0,i.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return l},a:function(){return r}});var i=t(7294);let s={},a=i.createContext(s);function r(e){let n=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/41ff246a.ee674b02.js b/assets/js/41ff246a.ee674b02.js new file mode 100644 index 0000000..9b980eb --- /dev/null +++ b/assets/js/41ff246a.ee674b02.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7711"],{3851:function(e,n,t){t.r(n),t.d(n,{metadata:()=>i,contentTitle:()=>o,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>l});var i=JSON.parse('{"id":"edit-mapping-rules/add-mapping-reviews-user","title":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-reviews-user","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx","tags":[],"version":"current","sidebarPosition":110,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail"},"next":{"title":"\uD83D\uDC50 Generate app code","permalink":"/relational-migrator-lab/docs/Generate code/generate-app-code"}}'),s=t("5893"),a=t("65"),r=t("1424");let l={},o="\uD83E\uDDB8 Add mapping to reviews collection (from users table)",c={},d=[];function m(e){let n={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"-add-mapping-to-reviews-collection-from-users-table",children:"\uD83E\uDDB8 Add mapping to reviews collection (from users table)"})}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,s.jsx)(n.p,{children:"We want to store each user's name against their reviews."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(n.code,{children:"reviews"})," collection"]}),"\n",(0,s.jsxs)(n.li,{children:["On the relational mappings list on the right, click ",(0,s.jsx)(n.code,{children:"+Add"})]}),"\n",(0,s.jsxs)(n.li,{children:["Select ",(0,s.jsx)(n.code,{children:"Embedded documents"})]}),"\n",(0,s.jsxs)(n.li,{children:["Select ",(0,s.jsx)(n.code,{children:"users"})," as Source table"]}),"\n",(0,s.jsxs)(n.li,{children:["In the advanced settings check ",(0,s.jsx)(n.code,{children:"Merge fields into the parent"})]}),"\n",(0,s.jsxs)(n.li,{children:["Only check ",(0,s.jsx)(n.code,{children:"name"})," field"]}),"\n",(0,s.jsxs)(n.li,{children:["Click ",(0,s.jsx)(n.code,{children:"Save and close "})]}),"\n"]}),"\n",(0,s.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/200-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(m,{...e})}):m(e)}},1424:function(e,n,t){t.d(n,{Z:()=>r});var i=t("5893");function s(e){let n=e.url||"http://localhost:3000";return(0,i.jsxs)("div",{className:"browser container",children:[(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:"column left",children:[(0,i.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,i.jsx)("div",{className:"column middle",children:(0,i.jsx)("input",{type:"text",value:n})}),(0,i.jsx)("div",{className:"column right",children:(0,i.jsxs)("div",{style:{float:"right"},children:[(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"})]})})]}),(0,i.jsx)("div",{className:"content",children:e.children})]})}t("7294");var a=t("4757");function r(e){return(0,i.jsx)(s,{...e,children:(0,i.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return l},a:function(){return r}});var i=t(7294);let s={},a=i.createContext(s);function r(e){let n=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4294.b1559131.js b/assets/js/4294.b1559131.js new file mode 100644 index 0000000..05c8bc7 --- /dev/null +++ b/assets/js/4294.b1559131.js @@ -0,0 +1,101 @@ +(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["4294"],{1639:function(e,t,n){"use strict";e.exports=n(9281)},7114:function(e,t,n){"use strict";var i=n(5670),r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:"0"},defaultClasses:{root:"algolia-autocomplete",prefix:"aa",noPrefix:!1,dropdownMenu:"dropdown-menu",input:"input",hint:"hint",suggestions:"suggestions",suggestion:"suggestion",cursor:"cursor",dataset:"dataset",empty:"empty"},appendTo:{wrapper:{position:"absolute",zIndex:"100",display:"none"},input:{},inputWithNoHint:{},dropdown:{display:"block"}}};i.isMsie()&&i.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),i.isMsie()&&7>=i.isMsie()&&i.mixin(r.input,{marginTop:"-1px"}),e.exports=r},3312:function(e,t,n){"use strict";var i="aaDataset",r="aaValue",s="aaDatum",o=n(5670),a=n(3855),u=n(6619),c=n(7114),l=n(6823);function h(e){(e=e||{}).templates=e.templates||{},!e.source&&o.error("missing source"),e.name&&!function(e){return/^[_a-zA-Z0-9-]+$/.test(e)}(e.name)&&o.error("invalid dataset name: "+e.name),this.query=null,this._isEmpty=!0,this.highlight=!!e.highlight,this.name=void 0===e.name||null===e.name?o.getUniqueId():e.name,this.source=e.source,this.displayFn=function(e){return e=e||"value",o.isFunction(e)?e:function(t){return t[e]}}(e.display||e.displayKey),this.debounce=e.debounce,this.cache=!1!==e.cache,this.templates=function(e,t){return{empty:e.empty&&o.templatify(e.empty),header:e.header&&o.templatify(e.header),footer:e.footer&&o.templatify(e.footer),suggestion:e.suggestion||function(e){return"------- No results found for query "{{query}}" --"+t(e)+"
"}}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var t=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(t+"-"+this.name).length>0?a.element(e.$menu.find(t+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(!!this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html((function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html((function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,function(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}),e.append.apply(e,n),e}).apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){!n.canceled&&n.source(e,t.bind(n))};this.debounce?(clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)):i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});e.exports=h},5445:function(e,t,n){"use strict";var i=n(5670),r=n(3855),s=n(6823),o=n(3312),a=n(7114);function u(e){var t,n,s,o=this;!(e=e||{}).menu&&i.error("menu is required"),!i.isArray(e.datasets)&&!i.isObject(e.datasets)&&i.error("1 or more datasets required"),!e.datasets&&i.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=e.minLength||0,this.templates={},this.appendTo=e.appendTo||!1,this.css=i.mixin({},a,e.appendTo?a.appendTo:{}),this.cssClasses=e.cssClasses=i.mixin({},a.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||i.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),t=i.bind(this._onSuggestionClick,this),n=i.bind(this._onSuggestionMouseEnter,this),s=i.bind(this._onSuggestionMouseLeave,this);var c=i.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(e.menu).on("mouseenter.aa",c,n).on("mouseleave.aa",c,s).on("click.aa",c,t),this.$container=e.appendTo?e.wrapper:this.$menu,e.templates&&e.templates.header&&(this.templates.header=i.templatify(e.templates.header),this.$menu.prepend(this.templates.header())),e.templates&&e.templates.empty&&(this.templates.empty=i.templatify(e.templates.empty),this.$empty=r.element(''),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(!e.relatedTarget||!(r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0))this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty){if(t.length>=this.minLength&&this.trigger("empty"),this.$empty){if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;if(!!this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)){this.trigger("cursorRemoved");return}i<-1&&(i=t.length-1);this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r ',dropdown:'',dataset:'',suggestions:'',suggestion:''}},1286:function(e,t,n){"use strict";i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var i,r=n(5670),s=n(3855),o=n(6823);function a(e){var t,n,o,a,u=this;!(e=e||{}).input&&r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){if(!i[e.which||e.keyCode])r.defer(r.bind(u._onInput,u,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=function(e){return s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input)}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n;n=!!(t=function(e,t){return a.normalizeQuery(e)===a.normalizeQuery(t)}(e=this.getInputValue(),this.query))&&!!this.query&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;e=this.getInputValue(),n=e!==(t=this.getHint())&&0===t.indexOf(e),!(""!==e&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return(e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t))?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}e.exports=a},4520:function(e,t,n){"use strict";var i="aaAttrs",r=n(5670),s=n(3855),o=n(7368),a=n(1286),u=n(5445),c=n(6619),l=n(7114);function h(e){if(!(e=e||{}).input&&r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var t,n,a=function(e){t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),!e.appendTo&&"block"===t.css("display")&&"table"===t.parent().css("display")&&n.css("display","table-cell");var t,n,o,a,u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)()),(a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t))).val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData(),t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{!t.attr("dir")&&t.attr("dir","auto")}catch(e){}return(n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent()).prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(!!e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(i.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r)return;var s=e.which||e.keyCode;if(-1!==n.indexOf(s))t.focus(),e.stopPropagation(),e.preventDefault()})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var e,t,n={selectionMethod:"blur"};!this.debug&&(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var n,i,r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){var n;if(!this.tabAutocomplete){this.dropdown.close();return}(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),(i=RegExp("^(?:"+r.escapeRegExChars(n)+")(.+$)","i").exec(e.value))?this.input.setHint(t+i[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i),e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});h.Dropdown=u,h.Input=a,h.sources=n(6331),e.exports=h},3855:function(e){"use strict";e.exports={element:null}},2926:function(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for JavaScript \((\d+\.)(\d+\.)(\d+)\)/)||e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},5670:function(e,t,n){"use strict";var i,r=n(3855);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},2683:function(e,t,n){"use strict";var i=n(5670),r=n(3489),s=n(2926);e.exports=function(e,t){var n=s(e.as._ua);return n&&n[0]>=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){if(e){i.error(e.message);return}r(t.hits,t)})}}},6331:function(e,t,n){"use strict";e.exports={hits:n(2683),popularIn:n(2226)}},2226:function(e,t,n){"use strict";var i=n(5670),r=n(3489),s=n(2926);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e){i.error(e.message);return}if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var d=s(c.as._ua);d&&d[0]>=3&&d[1]>20&&(t.additionalUA="autocomplete.js "+r),c.search(u(h),p,function(e,t){if(e){i.error(e.message);return}var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s ]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,y=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=h.createElement("table"),S=h.createElement("tr"),C={tr:h.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:S,th:S,"*":h.createElement("div")},E=/complete|loaded|interactive/,_=/^[\w-]*$/,k={},T=k.toString,O={},L=h.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},$=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):k[T.call(e)]||"object"}function I(e){return"function"==P(e)}function Q(e){return null!=e&&e==e.window}function R(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function N(e){return"object"==P(e)}function D(e){return N(e)&&!Q(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!Q(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var i,r=e.parentNode,s=!r;return s&&(r=L).appendChild(e),i=~O.qsa(r,t).indexOf(e),s&&L.removeChild(e),i};function j(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function H(e){return e in d?d[e]:d[e]=RegExp("(^|\\s)"+e+"(\\s|$)")}function V(e,t){return"number"!=typeof t||f[j(e)]?t:t+"px"}s=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},o=function(e){return c.call(e,function(t,n){return e.indexOf(t)==n})};function B(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function M(e,t){var n,i=e?e.length:0;for(n=0;n$2>")),t===n&&(n=g.test(e)&&RegExp.$1),!(n in C)&&(n="*"),(a=C[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),D(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new M(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(e,n){var r,s;if(!e)return O.Z();if("string"==typeof e){if("<"==(e=e.trim())[0]&&g.test(e))r=O.fragment(e,RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}else{if(I(e))return i(h).ready(e);if(O.isZ(e))return e;if($(e)){;s=e,r=c.call(s,function(e){return null!=e})}else if(N(e))r=[e],e=null;else if(g.test(e))r=O.fragment(e.trim(),RegExp.$1,n),e=null;else{if(t!==n)return i(n).find(e);r=O.qsa(h,e)}}return O.Z(r,e)},i=function(e,t){return O.init(e,t)};function q(e,t){return null==t?i(e):i(e).filter(t)}function z(e,t,n,i){return I(t)?t.call(e,n,i):t}function K(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function W(e,n){var i=e.className||"",r=i&&i.baseVal!==t;if(t===n)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function U(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?i.parseJSON(e):e):e}catch(t){return e}}return i.extend=function(e){var i,r=l.call(arguments,1);return"boolean"==typeof e&&(i=e,e=r.shift()),r.forEach(function(r){!function e(i,r,s){for(n in r)s&&(D(r[n])||$(r[n]))?(D(r[n])&&!D(i[n])&&(i[n]={}),$(r[n])&&!$(i[n])&&(i[n]=[]),e(i[n],r[n],s)):r[n]!==t&&(i[n]=r[n])}(e,r,i)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=_.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=I,i.isWindow=Q,i.isArray=$,i.isPlainObject=D,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,r,s,o,a=[];if(F(e))for(s=0;s 0?i.fn.concat.apply([],n):n},i.each=function(e,t){var n,i;if(F(e))for(n=0;n =0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return I(e)?this.not(this.not(e)):i(c.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(e){var n=[];if(I(e)&&e.call!==t)this.each(function(t){!e.call(this,t)&&n.push(this)});else{var r="string"==typeof e?this.filter(e):F(e)&&I(e.item)?l.call(e):i(e);this.forEach(function(e){0>r.indexOf(e)&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return N(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return -1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!N(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!N(e)?e:i(e)},find:function(e){var t,n=this;return t=e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(n,function(t){return i.contains(t,e)})}):1==this.length?i(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!R(s)&&s.parentNode;s&&0>n.indexOf(s)&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!R(e)&&0>t.indexOf(e))return t.push(e),e});return q(t,e)},parent:function(e){return q(o(this.pluck("parentNode")),e)},children:function(e){return q(this.map(function(){return B(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return q(this.map(function(e,t){return c.call(B(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){if("none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")){var e,t,n;this.style.display=(!p[e=this.nodeName]&&(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e])}})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=I(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=I(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(t===e?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType){if(N(e))for(n in e)K(this,n,e[n]);else K(this,e,z(this,i,t,this.getAttribute(e)))}}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){K(this,e)},this)})},prop:function(e,t){return e=A[e]||e,1 in arguments?this.each(function(n){this[e]=z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=A[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?U(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if($(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==P(e))t||0===t?u=j(e)+":"+V(e,t):this.each(function(){this.style.removeProperty(j(e))});else for(n in e)e[n]||0===e[n]?u+=j(n)+":"+V(n,e[n])+";":this.each(function(){this.style.removeProperty(j(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(W(e))},H(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=W(this);z(this,e,t,n).split(/\s+/g).forEach(function(e){!i(this).hasClass(e)&&r.push(e)},this),r.length&&W(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(t===e)return W(this,"");z(this,e,n,r=W(this)).split(/\s+/g).forEach(function(e){r=r.replace(H(e)," ")}),W(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);z(this,e,r,W(this)).split(/\s+/g).forEach(function(e){(t===n?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=y.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!y.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return t===r?Q(o)?o["inner"+n]:R(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,z(this,r,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=P(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(O.fragment(e)))}),r):"object"==n||null==e?e:O.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&!function e(t,n){n(t);for(var i=0,r=t.childNodes.length;i ":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,l="",h=[],p=!1,d=0,f=0,g="{{",m="}}";function v(){l.length>0&&(h.push({tag:"_t",text:new String(l)}),l="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=f;i "==r.tag&&(r.indent=h[s].text.toString()),h.splice(s,1));else!i&&h.push({tag:"\n"});p=!1,f=h.length}for(i&&(g=(i=i.split(" "))[0],m=i[1]),d=0;d ":f,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[f(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,!n.inPartial&&(n.code+='t.sub("'+p(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=m('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+d(e.n)+'("'+p(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=m('"'+p(e.text)+'"')},"{":g,"&":g},e.walk=function(t,n){for(var i,r=0,s=t.length;r 0;){if(c=n.shift(),u&&"<"==u.tag&&!(c.tag in l))throw Error("Illegal content in < super tag.");if(e.tags[c.tag]<=e.tags.$||function(e,t){for(var n=0,i=t.length;n0)throw Error("missing closing tag: "+r.pop().n);return o}(t,"",[],(i=i||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,t){return[e,!!t.asString,!!t.disableLambda,t.delimiters,!!t.modelGet].join("||")},e.compile=function(t,n){n=n||{};var i=e.cacheKey(t,n),r=this.cache[i];if(r){var s=r.partials;for(var o in s)delete s[o].instance;return r}return r=this.generate(this.parse(this.scan(t,n.delimiters),t,n),t,n),this.cache[i]=r}}(t)},5485:function(e,t,n){var i=n(9397);i.Template=n(2882).Template,i.template=i.Template,e.exports=i},2882:function(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in!t.stackText&&(t.stackText={}),n.subs)!t.stackText[key]&&(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}o.prototype=e,a.prototype=e.subs;var u,c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)!i[u]&&(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)!r[u]&&(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(!c(i)){n(e,t,this);return}for(var r=0;r=0;c--)if(void 0!==(s=t(e,o=n[c],u))){a=!0;break}return a?(!r&&"function"==typeof s&&(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);if("function"==typeof c)return!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o));return c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},624:function(e,t,n){"use strict";var i,r,s,o=[n(7936),n(4785),n(8291),n(2709),n(2506),n(9176)],a=-1,u=[],c=!1;function l(){if(!!i&&!!r)i=!1,r.length?u=r.concat(u):a=-1,u.length&&h()}function h(){if(!i){c=!1,i=!0;for(var e=u.length,t=setTimeout(l);e;){for(r=u,u=[];r&&++a 1)for(var n=1;n 0){var c=A.utils.clone(t)||{};c.position=[o,u],c.index=r.length,r.push(new A.Token(n.slice(o,s),c))}o=s+1}}return r},A.tokenizer.separator=/[\s\-]+/,A.Pipeline=function(){this._stack=[]},A.Pipeline.registeredFunctions=Object.create(null),A.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&A.utils.warn("Overwriting existing registered function: "+t),e.label=t,A.Pipeline.registeredFunctions[e.label]=e},A.Pipeline.warnIfFunctionNotRegistered=function(e){!(e.label&&e.label in this.registeredFunctions)&&A.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},A.Pipeline.load=function(e){var t=new A.Pipeline;return e.forEach(function(e){var n=A.Pipeline.registeredFunctions[e];if(n)t.add(n);else throw Error("Cannot load unregistered function: "+e)}),t},A.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){A.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},A.Pipeline.prototype.after=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},A.Pipeline.prototype.before=function(e,t){A.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw Error("Cannot find existingFn");this._stack.splice(n,0,t)},A.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);if(-1!=t)this._stack.splice(t,1)},A.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n 1&&(s e&&(n=r),s!=e);){;i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r]}return s==e||s>e?2*r:s a?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},A.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},A.Vector.prototype.toArray=function(){for(var e=Array(this.elements.length/2),t=1,n=0;t 0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new A.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{var a=new A.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{var u=new A.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new A.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},A.TokenSet.fromString=function(e){for(var t=new A.TokenSet,n=t,i=0,r=e.length;i =e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},A.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},A.Index.prototype.search=function(e){return this.query(function(t){new A.QueryParser(e,t).parse()})},A.Index.prototype.query=function(e){for(var t=new A.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a 1?this._b=1:this._b=e},A.Builder.prototype.k1=function(e){this._k1=e},A.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r =this.length)return A.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},A.QueryLexer.prototype.width=function(){return this.pos-this.start},A.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},A.QueryLexer.prototype.backup=function(){this.pos-=1},A.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do t=(e=this.next()).charCodeAt(0);while(t>47&&t<58);e!=A.QueryLexer.EOS&&this.backup()},A.QueryLexer.prototype.more=function(){return this.pos 1&&(e.backup(),e.emit(A.QueryLexer.TERM)),e.ignore(),e.more())return A.QueryLexer.lexText},A.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.EDIT_DISTANCE),A.QueryLexer.lexText},A.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(A.QueryLexer.BOOST),A.QueryLexer.lexText},A.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(A.QueryLexer.TERM)},A.QueryLexer.termSeparator=A.tokenizer.separator,A.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==A.QueryLexer.EOS)return A.QueryLexer.lexEOS;if(92==t.charCodeAt(0)){e.escapeCharacter();continue}if(":"==t)return A.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(A.QueryLexer.TERM),A.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(A.QueryLexer.PRESENCE),A.QueryLexer.lexText;if(t.match(A.QueryLexer.termSeparator))return A.QueryLexer.lexTerm}},A.QueryParser=function(e,t){this.lexer=new A.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},A.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=A.QueryParser.parseClause;e;)e=e(this);return this.query},A.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},A.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},A.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},A.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case A.QueryLexer.PRESENCE:return A.QueryParser.parsePresence;case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new A.QueryParseError(n,t.start,t.end)}},A.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=A.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=A.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new A.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(void 0==i){var n="expecting term or field, found nothing";throw new A.QueryParseError(n,t.start,t.end)}switch(i.type){case A.QueryLexer.FIELD:return A.QueryParser.parseField;case A.QueryLexer.TERM:return A.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new A.QueryParseError(n,i.start,i.end)}}},A.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(void 0==r){var i="expecting term, found nothing";throw new A.QueryParseError(i,t.start,t.end)}if(r.type===A.QueryLexer.TERM)return A.QueryParser.parseTerm;var i="expecting term, found '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}},A.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(void 0==n){e.nextClause();return}switch(n.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new A.QueryParseError(i,n.start,n.end)}}},A.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},A.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new A.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(void 0==r){e.nextClause();return}switch(r.type){case A.QueryLexer.TERM:return e.nextClause(),A.QueryParser.parseTerm;case A.QueryLexer.FIELD:return e.nextClause(),A.QueryParser.parseField;case A.QueryLexer.EDIT_DISTANCE:return A.QueryParser.parseEditDistance;case A.QueryLexer.BOOST:return A.QueryParser.parseBoost;case A.QueryLexer.PRESENCE:return e.nextClause(),A.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new A.QueryParseError(i,r.start,r.end)}}},O=0,L=function(){return A},"function"==typeof define&&define.amd?define(L):e.exports=L()}()},5322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>v});var i=n("5485"),r=n.n(i),s=n("4802");s.Z.tokenizer.separator=/[\s\-/]+/;let o=class e{constructor(e,t,n="/",i){this.searchDocs=e,this.lunrIndex=s.Z.Index.load(t),this.baseUrl=n,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){let n=s.Z.tokenizer(e);t.term(n,{boost:10}),t.term(n,{wildcard:s.Z.Query.wildcard.TRAILING})})}getHit(e,t,n){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:n?{content:{value:n,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title.substring(0,i)+''+e.title.substring(i,r)+""+e.title.substring(r,e.title.length);return this.getHit(e,s)}getKeywordHit(e,t,n){let i=t[0],r=t[0]+n,s=e.title+"
Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,r)+""+e.keywords.substring(r,e.keywords.length)+"";return this.getHit(e,s)}getContentHit(e,t){let n=t[0],i=t[0]+t[1],r=n,s=i,o=!0,a=!0;for(let t=0;t<3;t++){let t=e.content.lastIndexOf(" ",r-2),n=e.content.lastIndexOf(".",r-2);if(n>0&&n>t){r=n+1,o=!1;break}if(t<0){r=0,o=!1;break}r=t+1}for(let t=0;t<10;t++){let t=e.content.indexOf(" ",s+1),n=e.content.indexOf(".",s+1);if(n>0&&n'+e.content.substring(n,i)+"",u+=e.content.substring(i,s),a&&(u+=" ..."),this.getHit(e,null,u)}search(e){return new Promise((t,n)=>{let i=this.getLunrResult(e),r=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{let n=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let s in i)if(i[s].title){if(!this.titleHitsRes.includes(t.ref)){let o=i[s].title.position[0];r.push(this.getTitleHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[s].content){let e=i[s].content.position[0];r.push(this.getContentHit(n,e))}else if(i[s].keywords){let o=i[s].keywords.position[0];r.push(this.getKeywordHit(n,o,e.length)),this.titleHitsRes.push(t.ref)}}),r.length>this.maxHits&&(r.length=this.maxHits),t(r)})}};var a=n("1639"),u=n.n(a);let c="algolia-docsearch",l=`${c}-suggestion`,h=`${c}-footer`,p={suggestion:` + + + {{{category}}} ++++ + `,suggestionSimple:` ++ {{{subcategory}}} ++ {{#isTextOrSubcategoryNonEmpty}} +++ {{/isTextOrSubcategoryNonEmpty}} +{{{subcategory}}}+{{{title}}}+ {{#text}}{{{text}}}{{/text}} + {{#version}}{{version}}{{/version}} +++ `,footer:` ++ {{^isLvl0}} + {{{category}}} + {{^isLvl1}} + {{^isLvl1EmptyOrDuplicate}} + + {{{subcategory}}} + + {{/isLvl1EmptyOrDuplicate}} + {{/isLvl1}} + {{/isLvl0}} +++ {{#isLvl2}} + {{{title}}} + {{/isLvl2}} + {{#isLvl1}} + {{{subcategory}}} + {{/isLvl1}} + {{#isLvl0}} + {{{category}}} + {{/isLvl0}} +++ {{#text}} ++++ {{/text}} +{{{text}}}+++ `,empty:` +++ `,searchBox:` + + + + `};var d=n("7939"),f=n.n(d);let g={mergeKeyWithParent(e,t){if(void 0===e[t]||"object"!=typeof e[t])return e;let n=f().extend({},e,e[t]);return delete n[t],n},groupBy(e,t){let n={};return f().each(e,(e,i)=>{if(void 0===i[t])throw Error(`[groupBy]: Object has no key ${t}`);let r=i[t];"string"==typeof r&&(r=r.toLowerCase()),!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=[]),n[r].push(i)}),n},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){let t=[];return e.forEach(e=>{if(!Array.isArray(e)){t.push(e);return}e.forEach(e=>{t.push(e)})}),t},flattenAndFlagFirst(e,t){let n=this.values(e).map(e=>e.map((e,n)=>(e[t]=0===n,e)));return this.flatten(n)},compact(e){let t=[];return e.forEach(e=>{if(!!e)t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let n=e._snippetResult[t].value;return n[0]!==n[0].toUpperCase()&&(n=`\u{2026}${n}`),-1===[".","!","?"].indexOf(n[n.length-1])&&(n=`${n}\u{2026}`),n},deepClone:e=>JSON.parse(JSON.stringify(e))};class m{constructor({searchDocs:e,searchIndex:t,inputSelector:n,debug:i=!1,baseUrl:r="/",queryDataCallback:s=null,autocompleteOptions:a={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:l=!1,handleSelected:h=!1,enhancedSearchInput:d=!1,layout:g="column",maxHits:v=5}){this.input=m.getInputFromSelector(n),this.queryDataCallback=s||null;let y=!!a&&!!a.debug&&a.debug;a.debug=i||y,this.autocompleteOptions=a,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";let x=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||x||"search input",this.isSimpleLayout="simple"===g,this.client=new o(e,t,r,v),d&&(this.input=m.injectSearchBox(this.input)),this.autocomplete=u()(this.input,a,[{source:this.getAutocompleteSource(c,l),templates:{suggestion:m.getSuggestionTemplate(this.isSimpleLayout),footer:p.footer,empty:m.getEmptyTemplate()}}]);this.handleSelected=h||this.handleSelected,h&&f()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),d&&m.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(p.searchBox);let t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){f()('.searchbox [type="reset"]').on("click",function(){f()("input#docsearch").focus(),f()(this).addClass("hide"),u().autocomplete.setVal("")}),f()("input#docsearch").on("keyup",()=>{let e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){let t=f()(e).filter("input");return t.length?f()(t[0]):null}getAutocompleteSource(e,t){return(n,i)=>{t&&(n=t(n)||n),this.client.search(n).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(m.formatHits(t))})}}static formatHits(e){let t=g.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=g.mergeKeyWithParent(e._highlightResult,"hierarchy")),g.mergeKeyWithParent(e,"hierarchy"))),n=g.groupBy(t,"lvl0");return f().each(n,(e,t)=>{let i=g.groupBy(t,"lvl1"),r=g.flattenAndFlagFirst(i,"isSubCategoryHeader");n[e]=r}),(n=g.flattenAndFlagFirst(n,"isCategoryHeader")).map(e=>{let t=m.formatURL(e),n=g.getHighlightedValue(e,"lvl0"),i=g.getHighlightedValue(e,"lvl1")||n,r=g.compact([g.getHighlightedValue(e,"lvl2")||i,g.getHighlightedValue(e,"lvl3"),g.getHighlightedValue(e,"lvl4"),g.getHighlightedValue(e,"lvl5"),g.getHighlightedValue(e,"lvl6")]).join(' '),s=g.getSnippetedValue(e,"content"),o=i&&""!==i||r&&""!==r,a=!i||""===i||i===n,u=r&&""!==r&&r!==i,c=!u&&i&&""!==i&&i!==n,l=e.version;return{isLvl0:!c&&!u,isLvl1:c,isLvl2:u,isLvl1EmptyOrDuplicate:a,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:o,category:n,subcategory:i,title:r,text:s,url:t,version:l}})}static formatURL(e){let{url:t,anchor:n}=e;if(t){if(-1!==t.indexOf("#"));else if(n)return`${e.url}#${e.anchor}`;return t}return n?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>r().compile(p.empty).render(e)}static getSuggestionTemplate(e){let t=e?p.suggestionSimple:p.suggestion,n=r().compile(t);return e=>n.render(e)}handleSelected(e,t,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if("click"!==r.selectionMethod)e.setVal(""),window.location.assign(n.url)}handleShown(e){let t=e.offset().left+e.width()/2,n=f()(document).width()/2;isNaN(n)&&(n=900);let i=t-n>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",r=t-n<0?"algolia-autocomplete-right":"algolia-autocomplete-left",s=f()(".algolia-autocomplete");!s.hasClass(i)&&s.addClass(i),s.hasClass(r)&&s.removeClass(r)}}let v=m}}]); \ No newline at end of file diff --git a/assets/js/4f2e23e9.2bb0bca6.js b/assets/js/4f2e23e9.2bb0bca6.js new file mode 100644 index 0000000..fa67908 --- /dev/null +++ b/assets/js/4f2e23e9.2bb0bca6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7020"],{9383:function(e,n,t){t.r(n),t.d(n,{metadata:()=>r,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var r=JSON.parse('{"id":"Generate code/convert-queries","title":"\uD83D\uDC50 Convert SQL queries","description":"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped","source":"@site/docs/100-Generate code/20-convert-queries.mdx","sourceDirName":"100-Generate code","slug":"/Generate code/convert-queries","permalink":"/relational-migrator-lab/docs/Generate code/convert-queries","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/100-Generate code/20-convert-queries.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Generate app code","permalink":"/relational-migrator-lab/docs/Generate code/generate-app-code"},"next":{"title":"\uD83D\uDC50 Convert Views and Stored Procedures","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs"}}'),a=t("5893"),o=t("65"),s=t("1424");let i={},l="\uD83D\uDC50 Convert SQL queries",c={},d=[];function u(e){let n={code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"-convert-sql-queries",children:"\uD83D\uDC50 Convert SQL queries"})}),"\n",(0,a.jsx)(n.p,{children:"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped\nin your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity."}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"At the top, switch to Code Generation tab"}),"\n",(0,a.jsx)(n.li,{children:"Click Query Converter"}),"\n",(0,a.jsx)(n.li,{children:"Sign into with your MongoDB Atlas account"}),"\n",(0,a.jsx)(n.li,{children:"Accept the Query Converter licence terms"}),"\n",(0,a.jsxs)(n.li,{children:["Click ",(0,a.jsx)(n.code,{children:"Paste SQL query"})]}),"\n",(0,a.jsxs)(n.li,{children:["In the empty query, type ",(0,a.jsx)(n.code,{children:'SELECT * FROM books WHERE "bookOfTheMonth" = true AND pages > 500'})]}),"\n",(0,a.jsx)(n.li,{children:"Leave the language as JavaScript and click Convert."}),"\n"]}),"\n",(0,a.jsx)(n.p,{children:"After a while, the equivalent MongoDB query will be shown at the right of the page."}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/convert-sql-queries.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},1424:function(e,n,t){t.d(n,{Z:()=>s});var r=t("5893");function a(e){let n=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:n})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}t("7294");var o=t("4757");function s(e){return(0,r.jsx)(a,{...e,children:(0,r.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return s}});var r=t(7294);let a={},o=r.createContext(a);function s(e){let n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4f2e23e9.e8dc589b.js b/assets/js/4f2e23e9.e8dc589b.js deleted file mode 100644 index 780c0cb..0000000 --- a/assets/js/4f2e23e9.e8dc589b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["20"],{9383:function(e,n,t){t.r(n),t.d(n,{metadata:()=>r,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var r=JSON.parse('{"id":"Generate code/convert-queries","title":"\uD83D\uDC50 Convert SQL queries","description":"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped","source":"@site/docs/100-Generate code/20-convert-queries.mdx","sourceDirName":"100-Generate code","slug":"/Generate code/convert-queries","permalink":"/relational-migrator-lab/docs/Generate code/convert-queries","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/100-Generate code/20-convert-queries.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Generate app code","permalink":"/relational-migrator-lab/docs/Generate code/generate-app-code"},"next":{"title":"\uD83D\uDC50 Convert Views and Stored Procedures","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs"}}'),a=t("5893"),o=t("65"),s=t("1424");let i={},l="\uD83D\uDC50 Convert SQL queries",c={},d=[];function u(e){let n={code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"-convert-sql-queries",children:"\uD83D\uDC50 Convert SQL queries"})}),"\n",(0,a.jsx)(n.p,{children:"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped\nin your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity."}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"At the top, switch to Code Generation tab"}),"\n",(0,a.jsx)(n.li,{children:"Click Query Converter"}),"\n",(0,a.jsx)(n.li,{children:"Sign into with your MongoDB Atlas account"}),"\n",(0,a.jsx)(n.li,{children:"Accept the Query Converter licence terms"}),"\n",(0,a.jsxs)(n.li,{children:["Click ",(0,a.jsx)(n.code,{children:"Paste SQL query"})]}),"\n",(0,a.jsxs)(n.li,{children:["In the empty query, type ",(0,a.jsx)(n.code,{children:'SELECT * FROM books WHERE "bookOfTheMonth" = true AND pages > 500'})]}),"\n",(0,a.jsx)(n.li,{children:"Leave the language as JavaScript and click Convert."}),"\n"]}),"\n",(0,a.jsx)(n.p,{children:"After a while, the equivalent MongoDB query will be shown at the right of the page."}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/convert-sql-queries.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},1424:function(e,n,t){t.d(n,{Z:()=>s});var r=t("5893");function a(e){let n=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:n})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}t("7294");var o=t("4757");function s(e){return(0,r.jsx)(a,{...e,children:(0,r.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return s}});var r=t(7294);let a={},o=r.createContext(a);function s(e){let n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.1dc56c4d.js b/assets/js/5e95c892.1dc56c4d.js deleted file mode 100644 index da2e79c..0000000 --- a/assets/js/5e95c892.1dc56c4d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["432"],{1359:function(r,a,e){e.r(a),e.d(a,{default:function(){return i}});var n=e(5893);e(7294);var t=e(4904),l=e(4713),s=e(4681),u=e(8790),c=e(2490);function i(r){return(0,n.jsx)(l.FG,{className:(0,t.Z)(s.k.wrapper.docsPages),children:(0,n.jsx)(c.Z,{children:(0,u.H)(r.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.b876ee1f.js b/assets/js/5e95c892.b876ee1f.js new file mode 100644 index 0000000..13a4df3 --- /dev/null +++ b/assets/js/5e95c892.b876ee1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3432"],{1359:function(r,a,e){e.r(a),e.d(a,{default:function(){return i}});var n=e(5893);e(7294);var t=e(4904),l=e(4713),s=e(4681),u=e(8790),c=e(2490);function i(r){return(0,n.jsx)(l.FG,{className:(0,t.Z)(s.k.wrapper.docsPages),children:(0,n.jsx)(c.Z,{children:(0,u.H)(r.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/61.f3691eac.js b/assets/js/61.f3691eac.js deleted file mode 100644 index 1fcd3b5..0000000 --- a/assets/js/61.f3691eac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["61"],{8544:function(a,l,r){r.r(l)}}]); \ No newline at end of file diff --git a/assets/js/72d756b8.65cc631e.js b/assets/js/72d756b8.65cc631e.js new file mode 100644 index 0000000..49d10fa --- /dev/null +++ b/assets/js/72d756b8.65cc631e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["4030"],{1070:function(e,t,l){l.r(t),l.d(t,{default:function(){return i}});var n=l(5893);l(7294);var r=l(2490);function i(){return(0,n.jsx)(r.Z,{title:"Hello",description:"Hello React Page",children:(0,n.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"50vh",fontSize:"20px"},children:(0,n.jsxs)("p",{children:["Edit ",(0,n.jsx)("code",{children:"pages/helloWorld.js"})," and save to reload."]})})})}}}]); \ No newline at end of file diff --git a/assets/js/72d756b8.d2615b7c.js b/assets/js/72d756b8.d2615b7c.js deleted file mode 100644 index 8920c3b..0000000 --- a/assets/js/72d756b8.d2615b7c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["30"],{1070:function(e,t,l){l.r(t),l.d(t,{default:function(){return i}});var n=l(5893);l(7294);var r=l(2490);function i(){return(0,n.jsx)(r.Z,{title:"Hello",description:"Hello React Page",children:(0,n.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"50vh",fontSize:"20px"},children:(0,n.jsxs)("p",{children:["Edit ",(0,n.jsx)("code",{children:"pages/helloWorld.js"})," and save to reload."]})})})}}}]); \ No newline at end of file diff --git a/assets/js/734db3ff.a3cb2298.js b/assets/js/734db3ff.a3cb2298.js deleted file mode 100644 index 48016b5..0000000 --- a/assets/js/734db3ff.a3cb2298.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["517"],{9434:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>l,default:()=>m,assets:()=>d,toc:()=>c,frontMatter:()=>r});var i=JSON.parse('{"id":"edit-mapping-rules/add-mapping-books-reviews","title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","description":"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews.","source":"@site/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-books-reviews","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx","tags":[],"version":"current","sidebarPosition":50,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Remove unused ids from author details in books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book"},"next":{"title":"\uD83D\uDC50 Add aliases to authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias"}}'),s=n("5893"),o=n("65"),a=n("1424");let r={},l="\uD83D\uDC50 Add last three reviews to each book (from reviews table)",d={},c=[];function h(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-add-last-three-reviews-to-each-book-from-reviews-table",children:"\uD83D\uDC50 Add last three reviews to each book (from reviews table)"})}),"\n",(0,s.jsx)(t.p,{children:"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews."}),"\n",(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["This is an implementation of the ",(0,s.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-subset-pattern",children:"Subset Pattern"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"In this step we will embed the book details into the empty array from the join table."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,s.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,s.jsx)(t.code,{children:"+ Add"})]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.code,{children:"Embedded array"})]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.code,{children:"reviews"})," as Source table"]}),"\n",(0,s.jsxs)(t.li,{children:["In the advanced settings, check ",(0,s.jsx)(t.code,{children:"Add array conditions"})]}),"\n",(0,s.jsxs)(t.li,{children:["In ",(0,s.jsx)(t.code,{children:"Sort by and order"})," option, select ",(0,s.jsx)(t.code,{children:"timestamp"})," and toggle the order to descending"]}),"\n",(0,s.jsxs)(t.li,{children:["Set ",(0,s.jsx)(t.code,{children:"Limit number of rows"})," to ",(0,s.jsx)(t.code,{children:"3"})]}),"\n",(0,s.jsxs)(t.li,{children:["Uncheck the ",(0,s.jsx)(t.code,{children:"bookId"})," and leave the rest of the fields checked"]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Limitations:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Continuous Migration Mode will not support this transformation"}),"\n",(0,s.jsx)(t.li,{children:"You will not be able to enable Data Verification when you create the Migration Job."}),"\n"]}),"\n",(0,s.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/150-image-002.png",alt:"Screenshot of the connect modal"})]})}function m(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var i=n("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,i.jsxs)("div",{className:"browser container",children:[(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:"column left",children:[(0,i.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,i.jsx)("div",{className:"column middle",children:(0,i.jsx)("input",{type:"text",value:t})}),(0,i.jsx)("div",{className:"column right",children:(0,i.jsxs)("div",{style:{float:"right"},children:[(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"})]})})]}),(0,i.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function a(e){return(0,i.jsx)(s,{...e,children:(0,i.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return r},a:function(){return a}});var i=n(7294);let s={},o=i.createContext(s);function a(e){let t=i.useContext(o);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/734db3ff.dfeedc91.js b/assets/js/734db3ff.dfeedc91.js new file mode 100644 index 0000000..e864d3a --- /dev/null +++ b/assets/js/734db3ff.dfeedc91.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["1517"],{9434:function(e,t,n){n.r(t),n.d(t,{metadata:()=>i,contentTitle:()=>l,default:()=>m,assets:()=>d,toc:()=>c,frontMatter:()=>r});var i=JSON.parse('{"id":"edit-mapping-rules/add-mapping-books-reviews","title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","description":"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews.","source":"@site/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-books-reviews","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx","tags":[],"version":"current","sidebarPosition":50,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Remove unused ids from author details in books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book"},"next":{"title":"\uD83D\uDC50 Add aliases to authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias"}}'),s=n("5893"),o=n("65"),a=n("1424");let r={},l="\uD83D\uDC50 Add last three reviews to each book (from reviews table)",d={},c=[];function h(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-add-last-three-reviews-to-each-book-from-reviews-table",children:"\uD83D\uDC50 Add last three reviews to each book (from reviews table)"})}),"\n",(0,s.jsx)(t.p,{children:"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews."}),"\n",(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["This is an implementation of the ",(0,s.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-subset-pattern",children:"Subset Pattern"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"In this step we will embed the book details into the empty array from the join table."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,s.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,s.jsx)(t.code,{children:"+ Add"})]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.code,{children:"Embedded array"})]}),"\n",(0,s.jsxs)(t.li,{children:["Select ",(0,s.jsx)(t.code,{children:"reviews"})," as Source table"]}),"\n",(0,s.jsxs)(t.li,{children:["In the advanced settings, check ",(0,s.jsx)(t.code,{children:"Add array conditions"})]}),"\n",(0,s.jsxs)(t.li,{children:["In ",(0,s.jsx)(t.code,{children:"Sort by and order"})," option, select ",(0,s.jsx)(t.code,{children:"timestamp"})," and toggle the order to descending"]}),"\n",(0,s.jsxs)(t.li,{children:["Set ",(0,s.jsx)(t.code,{children:"Limit number of rows"})," to ",(0,s.jsx)(t.code,{children:"3"})]}),"\n",(0,s.jsxs)(t.li,{children:["Uncheck the ",(0,s.jsx)(t.code,{children:"bookId"})," and leave the rest of the fields checked"]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Limitations:"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Continuous Migration Mode will not support this transformation"}),"\n",(0,s.jsx)(t.li,{children:"You will not be able to enable Data Verification when you create the Migration Job."}),"\n"]}),"\n",(0,s.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/150-image-002.png",alt:"Screenshot of the connect modal"})]})}function m(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var i=n("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,i.jsxs)("div",{className:"browser container",children:[(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:"column left",children:[(0,i.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,i.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,i.jsx)("div",{className:"column middle",children:(0,i.jsx)("input",{type:"text",value:t})}),(0,i.jsx)("div",{className:"column right",children:(0,i.jsxs)("div",{style:{float:"right"},children:[(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"}),(0,i.jsx)("span",{className:"bar"})]})})]}),(0,i.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function a(e){return(0,i.jsx)(s,{...e,children:(0,i.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return r},a:function(){return a}});var i=n(7294);let s={},o=i.createContext(s);function a(e){let t=i.useContext(o);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7cb62076.7920a3fa.js b/assets/js/7cb62076.7920a3fa.js deleted file mode 100644 index 57d7f92..0000000 --- a/assets/js/7cb62076.7920a3fa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["411"],{5190:function(e,n,t){t.r(n),t.d(n,{metadata:()=>a,contentTitle:()=>l,default:()=>m,assets:()=>c,toc:()=>d,frontMatter:()=>i});var a=JSON.parse('{"id":"desired-schema-mongodb","title":"\uD83D\uDCD8 Desired Schema in MongoDB","description":"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from","source":"@site/docs/40-desired-schema-mongodb.mdx","sourceDirName":".","slug":"/desired-schema-mongodb","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/40-desired-schema-mongodb.mdx","tags":[],"version":"current","sidebarPosition":40,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDCD8 Schema in PostgreSQL","permalink":"/relational-migrator-lab/docs/schema-in-postgresql"},"next":{"title":"\uD83D\uDC50 Create a Project","permalink":"/relational-migrator-lab/docs/category/-create-a-project"}}'),o=t("5893"),s=t("65"),r=t("1424");let i={},l="\uD83D\uDCD8 Desired Schema in MongoDB",c={},d=[];function h(e){let n={a:"a",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"-desired-schema-in-mongodb",children:"\uD83D\uDCD8 Desired Schema in MongoDB"})}),"\n",(0,o.jsx)(n.p,{children:"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from\na relational database to MongoDB, it's important to consider how your data is accessed, and model the data such\nthat data that is frequently accessed together is stored together by using embedded documents and arrays."}),"\n",(0,o.jsx)(n.p,{children:"The following screenshot shows the MongoDB schema we will be creating in this lab."}),"\n",(0,o.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/40-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,o.jsx)(n.p,{children:"A few key points:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["Books will contain an array of authors with author id and name for fast retrieval. This is using the ",(0,o.jsx)(n.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended Reference pattern"})," to reference a separate collection (Authors) but having in books enough information aubout the author."]}),"\n",(0,o.jsxs)(n.li,{children:["Reviews are not included in the books collection as they can grow and become an ",(0,o.jsx)(n.a,{href:"https://www.mongodb.com/developer/products/mongodb/schema-design-anti-pattern-massive-arrays/",children:"unbounded array"}),", an antipattern in schema design."]}),"\n",(0,o.jsx)(n.li,{children:"An author can have several aliases. We just store those strings in an array."}),"\n"]})]})}function m(e={}){let{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1424:function(e,n,t){t.d(n,{Z:()=>r});var a=t("5893");function o(e){let n=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:n})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}t("7294");var s=t("4757");function r(e){return(0,a.jsx)(o,{...e,children:(0,a.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return r}});var a=t(7294);let o={},s=a.createContext(o);function r(e){let n=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),a.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7cb62076.8192c9c3.js b/assets/js/7cb62076.8192c9c3.js new file mode 100644 index 0000000..a25e5d6 --- /dev/null +++ b/assets/js/7cb62076.8192c9c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2411"],{5190:function(e,n,t){t.r(n),t.d(n,{metadata:()=>a,contentTitle:()=>l,default:()=>m,assets:()=>c,toc:()=>d,frontMatter:()=>i});var a=JSON.parse('{"id":"desired-schema-mongodb","title":"\uD83D\uDCD8 Desired Schema in MongoDB","description":"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from","source":"@site/docs/40-desired-schema-mongodb.mdx","sourceDirName":".","slug":"/desired-schema-mongodb","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/40-desired-schema-mongodb.mdx","tags":[],"version":"current","sidebarPosition":40,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDCD8 Schema in PostgreSQL","permalink":"/relational-migrator-lab/docs/schema-in-postgresql"},"next":{"title":"\uD83D\uDC50 Create a Project","permalink":"/relational-migrator-lab/docs/category/-create-a-project"}}'),o=t("5893"),s=t("65"),r=t("1424");let i={},l="\uD83D\uDCD8 Desired Schema in MongoDB",c={},d=[];function h(e){let n={a:"a",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"-desired-schema-in-mongodb",children:"\uD83D\uDCD8 Desired Schema in MongoDB"})}),"\n",(0,o.jsx)(n.p,{children:"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from\na relational database to MongoDB, it's important to consider how your data is accessed, and model the data such\nthat data that is frequently accessed together is stored together by using embedded documents and arrays."}),"\n",(0,o.jsx)(n.p,{children:"The following screenshot shows the MongoDB schema we will be creating in this lab."}),"\n",(0,o.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/40-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,o.jsx)(n.p,{children:"A few key points:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["Books will contain an array of authors with author id and name for fast retrieval. This is using the ",(0,o.jsx)(n.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended Reference pattern"})," to reference a separate collection (Authors) but having in books enough information aubout the author."]}),"\n",(0,o.jsxs)(n.li,{children:["Reviews are not included in the books collection as they can grow and become an ",(0,o.jsx)(n.a,{href:"https://www.mongodb.com/developer/products/mongodb/schema-design-anti-pattern-massive-arrays/",children:"unbounded array"}),", an antipattern in schema design."]}),"\n",(0,o.jsx)(n.li,{children:"An author can have several aliases. We just store those strings in an array."}),"\n"]})]})}function m(e={}){let{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1424:function(e,n,t){t.d(n,{Z:()=>r});var a=t("5893");function o(e){let n=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:n})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}t("7294");var s=t("4757");function r(e){return(0,a.jsx)(o,{...e,children:(0,a.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return r}});var a=t(7294);let o={},s=a.createContext(o);function r(e){let n=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),a.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/82875520.46efeca4.js b/assets/js/82875520.46efeca4.js deleted file mode 100644 index e038d40..0000000 --- a/assets/js/82875520.46efeca4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["413"],{7194:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Prerequisites","description":"Prerare everything you need to complete this Lab.","slug":"/category/-prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDCD8 Introduction","permalink":"/relational-migrator-lab/docs/intro"},"next":{"title":"\uD83D\uDC50 PostgreSQL Database","permalink":"/relational-migrator-lab/docs/prerequisites/postgres"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/82875520.6b1b80ad.js b/assets/js/82875520.6b1b80ad.js new file mode 100644 index 0000000..4044e0a --- /dev/null +++ b/assets/js/82875520.6b1b80ad.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["6413"],{7194:function(e){e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\uD83D\uDC50 Prerequisites","description":"Prerare everything you need to complete this Lab.","slug":"/category/-prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"\uD83D\uDCD8 Introduction","permalink":"/relational-migrator-lab/docs/intro"},"next":{"title":"\uD83D\uDC50 PostgreSQL Database","permalink":"/relational-migrator-lab/docs/prerequisites/postgres"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/870e739e.42db9893.js b/assets/js/870e739e.42db9893.js new file mode 100644 index 0000000..1eba52d --- /dev/null +++ b/assets/js/870e739e.42db9893.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["6512"],{1678:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>l,default:()=>u,assets:()=>i,toc:()=>d,frontMatter:()=>c});var r=JSON.parse('{"id":"create-project/create-new-project","title":"\uD83D\uDC50 Creating a New Project","description":"Ensure Relational Migrator is installed and running (normally at http8278/).","source":"@site/docs/50-create-project/50-create-new-project.mdx","sourceDirName":"50-create-project","slug":"/create-project/create-new-project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/50-create-new-project.mdx","tags":[],"version":"current","sidebarPosition":50,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Create a Project","permalink":"/relational-migrator-lab/docs/category/-create-a-project"},"next":{"title":"\uD83D\uDC50 Connect to the Database","permalink":"/relational-migrator-lab/docs/create-project/connect-database"}}'),a=n("5893"),o=n("65"),s=n("1424");let c={},l="\uD83D\uDC50 Creating a New Project",i={},d=[{value:"Click on New Project",id:"click-on-new-project",level:2},{value:"Select one of the three options",id:"select-one-of-the-three-options",level:2}];function h(e){let t={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-creating-a-new-project",children:"\uD83D\uDC50 Creating a New Project"})}),"\n",(0,a.jsxs)(t.p,{children:["Ensure Relational Migrator is installed and running (normally at ",(0,a.jsx)(t.a,{href:"http://127.0.0.1:8278/",children:"http://127.0.0.1:8278/"}),")."]}),"\n",(0,a.jsx)(t.h2,{id:"click-on-new-project",children:"Click on New Project"}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/50-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsx)(t.h2,{id:"select-one-of-the-three-options",children:"Select one of the three options"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Connect to live database"})," if you are running the origin DB in the cloud, Docker or using your own hardware."]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Load schema from a file"})," if you don't have access to a source database and just want to work with the schema (you won't have any data to import though)."]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Use a sample schema"})," to play around with a test schema, without any data. This does not require connecting to a real DB. We won't use this one in this Lab."]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/50-image-002.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>s});var r=n("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:t})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function s(e){return(0,r.jsx)(a,{...e,children:(0,r.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return s}});var r=n(7294);let a={},o=r.createContext(a);function s(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/870e739e.80f38b7c.js b/assets/js/870e739e.80f38b7c.js deleted file mode 100644 index 0d3e4df..0000000 --- a/assets/js/870e739e.80f38b7c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["512"],{1678:function(e,t,n){n.r(t),n.d(t,{metadata:()=>r,contentTitle:()=>l,default:()=>u,assets:()=>i,toc:()=>d,frontMatter:()=>c});var r=JSON.parse('{"id":"create-project/create-new-project","title":"\uD83D\uDC50 Creating a New Project","description":"Ensure Relational Migrator is installed and running (normally at http8278/).","source":"@site/docs/50-create-project/50-create-new-project.mdx","sourceDirName":"50-create-project","slug":"/create-project/create-new-project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/50-create-new-project.mdx","tags":[],"version":"current","sidebarPosition":50,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Create a Project","permalink":"/relational-migrator-lab/docs/category/-create-a-project"},"next":{"title":"\uD83D\uDC50 Connect to the Database","permalink":"/relational-migrator-lab/docs/create-project/connect-database"}}'),a=n("5893"),o=n("65"),s=n("1424");let c={},l="\uD83D\uDC50 Creating a New Project",i={},d=[{value:"Click on New Project",id:"click-on-new-project",level:2},{value:"Select one of the three options",id:"select-one-of-the-three-options",level:2}];function h(e){let t={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-creating-a-new-project",children:"\uD83D\uDC50 Creating a New Project"})}),"\n",(0,a.jsxs)(t.p,{children:["Ensure Relational Migrator is installed and running (normally at ",(0,a.jsx)(t.a,{href:"http://127.0.0.1:8278/",children:"http://127.0.0.1:8278/"}),")."]}),"\n",(0,a.jsx)(t.h2,{id:"click-on-new-project",children:"Click on New Project"}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/50-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsx)(t.h2,{id:"select-one-of-the-three-options",children:"Select one of the three options"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Connect to live database"})," if you are running the origin DB in the cloud, Docker or using your own hardware."]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Load schema from a file"})," if you don't have access to a source database and just want to work with the schema (you won't have any data to import though)."]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.strong,{children:"Use a sample schema"})," to play around with a test schema, without any data. This does not require connecting to a real DB. We won't use this one in this Lab."]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/50-image-002.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>s});var r=n("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,r.jsxs)("div",{className:"browser container",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"column left",children:[(0,r.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,r.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,r.jsx)("div",{className:"column middle",children:(0,r.jsx)("input",{type:"text",value:t})}),(0,r.jsx)("div",{className:"column right",children:(0,r.jsxs)("div",{style:{float:"right"},children:[(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"}),(0,r.jsx)("span",{className:"bar"})]})})]}),(0,r.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function s(e){return(0,r.jsx)(a,{...e,children:(0,r.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return s}});var r=n(7294);let a={},o=r.createContext(a);function s(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/899dbdc4.7204fc4e.js b/assets/js/899dbdc4.7204fc4e.js new file mode 100644 index 0000000..7c3645f --- /dev/null +++ b/assets/js/899dbdc4.7204fc4e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3839"],{9017:function(t,e,n){n.r(e),n.d(e,{metadata:()=>o,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var o=JSON.parse('{"id":"Migrate Data/migration","title":"\uD83D\uDC50 Run a Snapshot Migration Job","description":"- At the top, switch to Data Migration tab","source":"@site/docs/210-Migrate Data/10-migration.mdx","sourceDirName":"210-Migrate Data","slug":"/Migrate Data/migration","permalink":"/relational-migrator-lab/docs/Migrate Data/migration","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/210-Migrate Data/10-migration.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Convert Views and Stored Procedures","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs"},"next":{"title":"\uD83D\uDC50 View Migrated Data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data"}}'),a=n("5893"),r=n("65"),s=n("1424");let i={},l="\uD83D\uDC50 Run a Snapshot Migration Job",c={},d=[];function m(t){let e={a:"a",code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,r.a)(),...t.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e.header,{children:(0,a.jsx)(e.h1,{id:"-run-a-snapshot-migration-job",children:"\uD83D\uDC50 Run a Snapshot Migration Job"})}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"At the top, switch to Data Migration tab"}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Click create sync job"}),"\n",(0,a.jsxs)(e.li,{children:["Specify source DB connection details","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"The details will be populated from when you created the project."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-002.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Specify MongoDB connection details","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Enter the URI, database, username and password for your MongoDB cluster"}),"\n",(0,a.jsxs)(e.li,{children:["If you are using Atlas, you can retrieve the details from the ",(0,a.jsx)(e.a,{href:"https://cloud.mongodb.com",children:"Atlas portal"})]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-003.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Specify migration options","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Choose the ",(0,a.jsx)(e.code,{children:"Drop destination collections before migration"})," option"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-004.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Read migration summary to confirm details"}),"\n",(0,a.jsx)(e.li,{children:"Run Start"}),"\n",(0,a.jsx)(e.li,{children:"Monitor the progress of the job"}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-005.png",alt:"Screenshot of the connect modal"})]})}function h(t={}){let{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(m,{...t})}):m(t)}},1424:function(t,e,n){n.d(e,{Z:()=>s});var o=n("5893");function a(t){let e=t.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:e})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:t.children})]})}n("7294");var r=n("4757");function s(t){return(0,o.jsx)(a,{...t,children:(0,o.jsx)("img",{src:(0,r.ZP)(t.src),alt:t.alt})})}},65:function(t,e,n){n.d(e,{Z:function(){return i},a:function(){return s}});var o=n(7294);let a={},r=o.createContext(a);function s(t){let e=o.useContext(r);return o.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),o.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/899dbdc4.a6b9d17a.js b/assets/js/899dbdc4.a6b9d17a.js deleted file mode 100644 index 54fa368..0000000 --- a/assets/js/899dbdc4.a6b9d17a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["839"],{9017:function(t,e,n){n.r(e),n.d(e,{metadata:()=>o,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var o=JSON.parse('{"id":"Migrate Data/migration","title":"\uD83D\uDC50 Run a Snapshot Migration Job","description":"- At the top, switch to Data Migration tab","source":"@site/docs/210-Migrate Data/10-migration.mdx","sourceDirName":"210-Migrate Data","slug":"/Migrate Data/migration","permalink":"/relational-migrator-lab/docs/Migrate Data/migration","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/210-Migrate Data/10-migration.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Convert Views and Stored Procedures","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs"},"next":{"title":"\uD83D\uDC50 View Migrated Data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data"}}'),a=n("5893"),r=n("65"),s=n("1424");let i={},l="\uD83D\uDC50 Run a Snapshot Migration Job",c={},d=[];function m(t){let e={a:"a",code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,r.a)(),...t.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e.header,{children:(0,a.jsx)(e.h1,{id:"-run-a-snapshot-migration-job",children:"\uD83D\uDC50 Run a Snapshot Migration Job"})}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"At the top, switch to Data Migration tab"}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Click create sync job"}),"\n",(0,a.jsxs)(e.li,{children:["Specify source DB connection details","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"The details will be populated from when you created the project."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-002.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Specify MongoDB connection details","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Enter the URI, database, username and password for your MongoDB cluster"}),"\n",(0,a.jsxs)(e.li,{children:["If you are using Atlas, you can retrieve the details from the ",(0,a.jsx)(e.a,{href:"https://cloud.mongodb.com",children:"Atlas portal"})]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-003.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Specify migration options","\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsxs)(e.li,{children:["Choose the ",(0,a.jsx)(e.code,{children:"Drop destination collections before migration"})," option"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-004.png",alt:"Screenshot of the connect modal"}),"\n",(0,a.jsxs)(e.ul,{children:["\n",(0,a.jsx)(e.li,{children:"Read migration summary to confirm details"}),"\n",(0,a.jsx)(e.li,{children:"Run Start"}),"\n",(0,a.jsx)(e.li,{children:"Monitor the progress of the job"}),"\n"]}),"\n",(0,a.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/210-image-005.png",alt:"Screenshot of the connect modal"})]})}function h(t={}){let{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,a.jsx)(e,{...t,children:(0,a.jsx)(m,{...t})}):m(t)}},1424:function(t,e,n){n.d(e,{Z:()=>s});var o=n("5893");function a(t){let e=t.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:e})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:t.children})]})}n("7294");var r=n("4757");function s(t){return(0,o.jsx)(a,{...t,children:(0,o.jsx)("img",{src:(0,r.ZP)(t.src),alt:t.alt})})}},65:function(t,e,n){n.d(e,{Z:function(){return i},a:function(){return s}});var o=n(7294);let a={},r=o.createContext(a);function s(t){let e=o.useContext(r);return o.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(a):t.components||a:s(t.components),o.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/8a5c1cef.2679b43d.js b/assets/js/8a5c1cef.2679b43d.js deleted file mode 100644 index 4cae17a..0000000 --- a/assets/js/8a5c1cef.2679b43d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["267"],{6362:function(e,t,o){o.r(t),o.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>s});var n=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","title":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-authors-authorbook","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Add aliases to authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias"},"next":{"title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail"}}'),a=o("5893"),i=o("65"),r=o("1424");let s={},l="\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)",c={},d=[];function h(e){let t={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-edit-mapping-to-authors-collection-from-author_book-table",children:"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)"})}),"\n",(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsx)(t.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,a.jsx)(t.p,{children:"We want to modify the authors collection to include an array of IDs representing their books."}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,a.jsx)(t.code,{children:"authors"})," collection"]}),"\n",(0,a.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,a.jsx)(t.code,{children:"author_book"})]}),"\n",(0,a.jsxs)(t.li,{children:["Edit the field name from ",(0,a.jsx)(t.code,{children:"authorBooks"})," to just ",(0,a.jsx)(t.code,{children:"books"})]}),"\n",(0,a.jsxs)(t.li,{children:["In the list of fields, uncheck ",(0,a.jsx)(t.code,{children:"authorId"}),", leaving ",(0,a.jsx)(t.code,{children:"bookId"})," checked"]}),"\n",(0,a.jsxs)(t.li,{children:["In the mapping rule's advanced settings, Check ",(0,a.jsx)(t.code,{children:"create array of primitive values"})]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,a.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/120-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,o){o.d(t,{Z:()=>r});var n=o("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}o("7294");var i=o("4757");function r(e){return(0,n.jsx)(a,{...e,children:(0,n.jsx)("img",{src:(0,i.ZP)(e.src),alt:e.alt})})}},65:function(e,t,o){o.d(t,{Z:function(){return s},a:function(){return r}});var n=o(7294);let a={},i=n.createContext(a);function r(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8a5c1cef.af442db5.js b/assets/js/8a5c1cef.af442db5.js new file mode 100644 index 0000000..7afc79c --- /dev/null +++ b/assets/js/8a5c1cef.af442db5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["9267"],{6362:function(e,t,o){o.r(t),o.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>s});var n=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","title":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-authors-authorbook","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Add aliases to authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias"},"next":{"title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail"}}'),a=o("5893"),i=o("65"),r=o("1424");let s={},l="\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)",c={},d=[];function h(e){let t={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-edit-mapping-to-authors-collection-from-author_book-table",children:"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)"})}),"\n",(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsx)(t.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,a.jsx)(t.p,{children:"We want to modify the authors collection to include an array of IDs representing their books."}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,a.jsx)(t.code,{children:"authors"})," collection"]}),"\n",(0,a.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,a.jsx)(t.code,{children:"author_book"})]}),"\n",(0,a.jsxs)(t.li,{children:["Edit the field name from ",(0,a.jsx)(t.code,{children:"authorBooks"})," to just ",(0,a.jsx)(t.code,{children:"books"})]}),"\n",(0,a.jsxs)(t.li,{children:["In the list of fields, uncheck ",(0,a.jsx)(t.code,{children:"authorId"}),", leaving ",(0,a.jsx)(t.code,{children:"bookId"})," checked"]}),"\n",(0,a.jsxs)(t.li,{children:["In the mapping rule's advanced settings, Check ",(0,a.jsx)(t.code,{children:"create array of primitive values"})]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,a.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/120-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,o){o.d(t,{Z:()=>r});var n=o("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}o("7294");var i=o("4757");function r(e){return(0,n.jsx)(a,{...e,children:(0,n.jsx)("img",{src:(0,i.ZP)(e.src),alt:e.alt})})}},65:function(e,t,o){o.d(t,{Z:function(){return s},a:function(){return r}});var n=o(7294);let a={},i=n.createContext(a);function r(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8e933bc4.3af76109.js b/assets/js/8e933bc4.3af76109.js new file mode 100644 index 0000000..af011eb --- /dev/null +++ b/assets/js/8e933bc4.3af76109.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3608"],{2675:function(e,t,n){n.r(t),n.d(t,{metadata:()=>a,contentTitle:()=>l,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>s});var a=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","title":"\uD83D\uDC50 Clean book attributes up","description":"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:","source":"@site/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-book-attribute","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Edit Mapping Rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules"},"next":{"title":"\uD83D\uDC50 Change genres in books","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre"}}'),i=n("5893"),o=n("65"),r=n("1424");let s={},l="\uD83D\uDC50 Clean book attributes up",c={},d=[];function u(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"-clean-book-attributes-up",children:"\uD83D\uDC50 Clean book attributes up"})}),"\n",(0,i.jsx)(t.p,{children:"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'{\n "_id": 838383, // book id\n "attributes": [\n {\n "key": "price",\n "value": 11\n },\n {\n "key": "pages",\n "value": 236\n },\n // ...\n ] \n}\n'})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,i.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,i.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,i.jsx)(t.code,{children:"book_attribute"})," embedded array mapping rule."]}),"\n",(0,i.jsxs)(t.li,{children:["Change the Field name from ",(0,i.jsx)(t.code,{children:"bookAttributes"})," to ",(0,i.jsx)(t.code,{children:"attributes"})]}),"\n",(0,i.jsxs)(t.li,{children:["Uncheck ",(0,i.jsx)(t.code,{children:"bookId"}),". We just want all the attributes, which are key/value pairs."]}),"\n",(0,i.jsxs)(t.li,{children:["Click ",(0,i.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Here we've implemented the ",(0,i.jsx)(t.a,{href:"https://www.mongodb.com/developer/products/mongodb/attribute-pattern/",children:"Attribute Pattern"})," for MongoDB. This will allow for easy indexing, querying based on attributes and extension of attributes."]})}),"\n",(0,i.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/150-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1424:function(e,t,n){n.d(t,{Z:()=>r});var a=n("5893");function i(e){let t=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:t})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function r(e){return(0,a.jsx)(i,{...e,children:(0,a.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return s},a:function(){return r}});var a=n(7294);let i={},o=a.createContext(i);function r(e){let t=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),a.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8e933bc4.f8096682.js b/assets/js/8e933bc4.f8096682.js deleted file mode 100644 index 20c5513..0000000 --- a/assets/js/8e933bc4.f8096682.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["608"],{2675:function(e,t,n){n.r(t),n.d(t,{metadata:()=>a,contentTitle:()=>l,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>s});var a=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","title":"\uD83D\uDC50 Clean book attributes up","description":"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:","source":"@site/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-book-attribute","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx","tags":[],"version":"current","sidebarPosition":10,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Edit Mapping Rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules"},"next":{"title":"\uD83D\uDC50 Change genres in books","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre"}}'),i=n("5893"),o=n("65"),r=n("1424");let s={},l="\uD83D\uDC50 Clean book attributes up",c={},d=[];function u(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"-clean-book-attributes-up",children:"\uD83D\uDC50 Clean book attributes up"})}),"\n",(0,i.jsx)(t.p,{children:"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-json",children:'{\n "_id": 838383, // book id\n "attributes": [\n {\n "key": "price",\n "value": 11\n },\n {\n "key": "pages",\n "value": 236\n },\n // ...\n ] \n}\n'})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,i.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,i.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,i.jsx)(t.code,{children:"book_attribute"})," embedded array mapping rule."]}),"\n",(0,i.jsxs)(t.li,{children:["Change the Field name from ",(0,i.jsx)(t.code,{children:"bookAttributes"})," to ",(0,i.jsx)(t.code,{children:"attributes"})]}),"\n",(0,i.jsxs)(t.li,{children:["Uncheck ",(0,i.jsx)(t.code,{children:"bookId"}),". We just want all the attributes, which are key/value pairs."]}),"\n",(0,i.jsxs)(t.li,{children:["Click ",(0,i.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Here we've implemented the ",(0,i.jsx)(t.a,{href:"https://www.mongodb.com/developer/products/mongodb/attribute-pattern/",children:"Attribute Pattern"})," for MongoDB. This will allow for easy indexing, querying based on attributes and extension of attributes."]})}),"\n",(0,i.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/150-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1424:function(e,t,n){n.d(t,{Z:()=>r});var a=n("5893");function i(e){let t=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:t})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}n("7294");var o=n("4757");function r(e){return(0,a.jsx)(i,{...e,children:(0,a.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return s},a:function(){return r}});var a=n(7294);let i={},o=a.createContext(i);function r(e){let t=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),a.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9196.2652a919.js b/assets/js/9196.2652a919.js new file mode 100644 index 0000000..0894bed --- /dev/null +++ b/assets/js/9196.2652a919.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["9196"],{4593:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893);n(7294);var r=n(4904),o=n(6025),a=n(4403);function l(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,r.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},5672:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}});var i=n(5893);n(7294);var r=n(6025),o=n(4713),a=n(2490),l=n(4593);function s(){let e=(0,r.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.d,{title:e}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(l.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/983be62f.06dddecf.js b/assets/js/983be62f.06dddecf.js new file mode 100644 index 0000000..5fcf092 --- /dev/null +++ b/assets/js/983be62f.06dddecf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2299"],{4458:function(e,t,n){n.r(t),n.d(t,{metadata:()=>a,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>o});var a=JSON.parse('{"id":"create-project/define-initial-schema","title":"\uD83D\uDC50 Define the Initial Schema","description":"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,","source":"@site/docs/50-create-project/80-define-initial-schema.mdx","sourceDirName":"50-create-project","slug":"/create-project/define-initial-schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/80-define-initial-schema.mdx","tags":[],"version":"current","sidebarPosition":80,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Select Tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables"},"next":{"title":"\uD83D\uDC50 Project Settings","permalink":"/relational-migrator-lab/docs/project-settings"}}'),i=n("5893"),s=n("65"),r=n("1424");let o={},l="\uD83D\uDC50 Define the Initial Schema",c={},d=[];function h(e){let t={code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"-define-the-initial-schema",children:"\uD83D\uDC50 Define the Initial Schema"})}),"\n",(0,i.jsx)(t.p,{children:"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,\nyou can manually modify your schema later."}),"\n",(0,i.jsxs)(t.p,{children:["Select ",(0,i.jsx)(t.code,{children:"Start with a recommended MongoDB schema"})]}),"\n",(0,i.jsx)(t.p,{children:"You are asked which of the tables should represented as a collection in MongoDB."}),"\n",(0,i.jsx)(t.p,{children:"Select the five collections that we want as they are the main Entities in our schema."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"authors"}),"\n",(0,i.jsx)(t.li,{children:"books"}),"\n",(0,i.jsx)(t.li,{children:"issue_detials"}),"\n",(0,i.jsx)(t.li,{children:"reviews"}),"\n",(0,i.jsx)(t.li,{children:"users"}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Any tables you did not check will be embedded in other collections."}),"\n",(0,i.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/80-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,i.jsxs)(t.p,{children:["Click ",(0,i.jsx)(t.code,{children:"Next"}),", then give your project a name."]})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>r});var a=n("5893");function i(e){let t=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:t})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function r(e){return(0,a.jsx)(i,{...e,children:(0,a.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return r}});var a=n(7294);let i={},s=a.createContext(i);function r(e){let t=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),a.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/983be62f.89acd1f2.js b/assets/js/983be62f.89acd1f2.js deleted file mode 100644 index 88dedd0..0000000 --- a/assets/js/983be62f.89acd1f2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["299"],{4458:function(e,t,n){n.r(t),n.d(t,{metadata:()=>a,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>o});var a=JSON.parse('{"id":"create-project/define-initial-schema","title":"\uD83D\uDC50 Define the Initial Schema","description":"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,","source":"@site/docs/50-create-project/80-define-initial-schema.mdx","sourceDirName":"50-create-project","slug":"/create-project/define-initial-schema","permalink":"/relational-migrator-lab/docs/create-project/define-initial-schema","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/80-define-initial-schema.mdx","tags":[],"version":"current","sidebarPosition":80,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Select Tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables"},"next":{"title":"\uD83D\uDC50 Project Settings","permalink":"/relational-migrator-lab/docs/project-settings"}}'),i=n("5893"),s=n("65"),r=n("1424");let o={},l="\uD83D\uDC50 Define the Initial Schema",c={},d=[];function h(e){let t={code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"-define-the-initial-schema",children:"\uD83D\uDC50 Define the Initial Schema"})}),"\n",(0,i.jsx)(t.p,{children:"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,\nyou can manually modify your schema later."}),"\n",(0,i.jsxs)(t.p,{children:["Select ",(0,i.jsx)(t.code,{children:"Start with a recommended MongoDB schema"})]}),"\n",(0,i.jsx)(t.p,{children:"You are asked which of the tables should represented as a collection in MongoDB."}),"\n",(0,i.jsx)(t.p,{children:"Select the five collections that we want as they are the main Entities in our schema."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"authors"}),"\n",(0,i.jsx)(t.li,{children:"books"}),"\n",(0,i.jsx)(t.li,{children:"issue_detials"}),"\n",(0,i.jsx)(t.li,{children:"reviews"}),"\n",(0,i.jsx)(t.li,{children:"users"}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Any tables you did not check will be embedded in other collections."}),"\n",(0,i.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/80-image-001.png",alt:"Screenshot of the connect modal"}),"\n",(0,i.jsxs)(t.p,{children:["Click ",(0,i.jsx)(t.code,{children:"Next"}),", then give your project a name."]})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>r});var a=n("5893");function i(e){let t=e.url||"http://localhost:3000";return(0,a.jsxs)("div",{className:"browser container",children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"column left",children:[(0,a.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,a.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,a.jsx)("div",{className:"column middle",children:(0,a.jsx)("input",{type:"text",value:t})}),(0,a.jsx)("div",{className:"column right",children:(0,a.jsxs)("div",{style:{float:"right"},children:[(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"}),(0,a.jsx)("span",{className:"bar"})]})})]}),(0,a.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function r(e){return(0,a.jsx)(i,{...e,children:(0,a.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return r}});var a=n(7294);let i={},s=a.createContext(i);function r(e){let t=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),a.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/990.7a3d5d96.js b/assets/js/990.7a3d5d96.js deleted file mode 100644 index 6b06f64..0000000 --- a/assets/js/990.7a3d5d96.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["990"],{4802:function(n,t,a){a.d(t,{Z:function(){return e}});let e=a(1336)},7936:function(){}}]); \ No newline at end of file diff --git a/assets/js/9990.a0bd0628.js b/assets/js/9990.a0bd0628.js new file mode 100644 index 0000000..bf93761 --- /dev/null +++ b/assets/js/9990.a0bd0628.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["9990"],{4802:function(n,t,a){a.d(t,{Z:function(){return e}});let e=a(1336)},7936:function(){}}]); \ No newline at end of file diff --git a/assets/js/a58ba2fc.c1a71b86.js b/assets/js/a58ba2fc.c1a71b86.js deleted file mode 100644 index 57ec328..0000000 --- a/assets/js/a58ba2fc.c1a71b86.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["931"],{8023:function(e,a,t){t.r(a),t.d(a,{metadata:()=>s,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var s=JSON.parse('{"id":"schema-in-postgresql","title":"\uD83D\uDCD8 Schema in PostgreSQL","description":"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews.","source":"@site/docs/30-schema-in-postgresql.mdx","sourceDirName":".","slug":"/schema-in-postgresql","permalink":"/relational-migrator-lab/docs/schema-in-postgresql","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/30-schema-in-postgresql.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 MongoDB Relational Migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator"},"next":{"title":"\uD83D\uDCD8 Desired Schema in MongoDB","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb"}}'),n=t("5893"),r=t("65"),o=t("1424");let i={},l="\uD83D\uDCD8 Schema in PostgreSQL",c={},d=[];function m(e){let a={a:"a",h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.header,{children:(0,n.jsx)(a.h1,{id:"-schema-in-postgresql",children:"\uD83D\uDCD8 Schema in PostgreSQL"})}),"\n",(0,n.jsx)(a.p,{children:"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews."}),"\n",(0,n.jsxs)(a.p,{children:["This is the sample schema we use during our ",(0,n.jsx)(a.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/importing-data/intro",children:"Developer Days's Intro Lab"}),"."]}),"\n",(0,n.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/30-image-001.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:a}={...(0,r.a)(),...e.components};return a?(0,n.jsx)(a,{...e,children:(0,n.jsx)(m,{...e})}):m(e)}},1424:function(e,a,t){t.d(a,{Z:()=>o});var s=t("5893");function n(e){let a=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:a})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}t("7294");var r=t("4757");function o(e){return(0,s.jsx)(n,{...e,children:(0,s.jsx)("img",{src:(0,r.ZP)(e.src),alt:e.alt})})}},65:function(e,a,t){t.d(a,{Z:function(){return i},a:function(){return o}});var s=t(7294);let n={},r=s.createContext(n);function o(e){let a=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function i(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),s.createElement(r.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a58ba2fc.d2c6437c.js b/assets/js/a58ba2fc.d2c6437c.js new file mode 100644 index 0000000..349a243 --- /dev/null +++ b/assets/js/a58ba2fc.d2c6437c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2931"],{8023:function(e,a,t){t.r(a),t.d(a,{metadata:()=>s,contentTitle:()=>l,default:()=>h,assets:()=>c,toc:()=>d,frontMatter:()=>i});var s=JSON.parse('{"id":"schema-in-postgresql","title":"\uD83D\uDCD8 Schema in PostgreSQL","description":"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews.","source":"@site/docs/30-schema-in-postgresql.mdx","sourceDirName":".","slug":"/schema-in-postgresql","permalink":"/relational-migrator-lab/docs/schema-in-postgresql","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/30-schema-in-postgresql.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 MongoDB Relational Migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator"},"next":{"title":"\uD83D\uDCD8 Desired Schema in MongoDB","permalink":"/relational-migrator-lab/docs/desired-schema-mongodb"}}'),n=t("5893"),r=t("65"),o=t("1424");let i={},l="\uD83D\uDCD8 Schema in PostgreSQL",c={},d=[];function m(e){let a={a:"a",h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.header,{children:(0,n.jsx)(a.h1,{id:"-schema-in-postgresql",children:"\uD83D\uDCD8 Schema in PostgreSQL"})}),"\n",(0,n.jsx)(a.p,{children:"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews."}),"\n",(0,n.jsxs)(a.p,{children:["This is the sample schema we use during our ",(0,n.jsx)(a.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/importing-data/intro",children:"Developer Days's Intro Lab"}),"."]}),"\n",(0,n.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/30-image-001.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:a}={...(0,r.a)(),...e.components};return a?(0,n.jsx)(a,{...e,children:(0,n.jsx)(m,{...e})}):m(e)}},1424:function(e,a,t){t.d(a,{Z:()=>o});var s=t("5893");function n(e){let a=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:a})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}t("7294");var r=t("4757");function o(e){return(0,s.jsx)(n,{...e,children:(0,s.jsx)("img",{src:(0,r.ZP)(e.src),alt:e.alt})})}},65:function(e,a,t){t.d(a,{Z:function(){return i},a:function(){return o}});var s=t(7294);let n={},r=s.createContext(n);function o(e){let a=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function i(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),s.createElement(r.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a71c1f61.0ec5b7b9.js b/assets/js/a71c1f61.0ec5b7b9.js new file mode 100644 index 0000000..244e1b9 --- /dev/null +++ b/assets/js/a71c1f61.0ec5b7b9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7533"],{2566:function(e,t,a){a.r(t),a.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>s});var n=JSON.parse('{"id":"Migrate Data/view-migrated-data","title":"\uD83D\uDC50 View Migrated Data","description":"Once the job has finished, you can view it in MongoDB. You can perform this task using the mongosh command line tool,","source":"@site/docs/210-Migrate Data/20-view-migrated-data.mdx","sourceDirName":"210-Migrate Data","slug":"/Migrate Data/view-migrated-data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/210-Migrate Data/20-view-migrated-data.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Run a Snapshot Migration Job","permalink":"/relational-migrator-lab/docs/Migrate Data/migration"},"next":{"title":"\uD83E\uDDB8 Migration using CDC and Kafka","permalink":"/relational-migrator-lab/docs/Migrate Data/cdc-migration"}}'),i=a("5893"),o=a("65"),r=a("1424");let s={},l="\uD83D\uDC50 View Migrated Data",c={},d=[];function m(e){let t={a:"a",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"-view-migrated-data",children:"\uD83D\uDC50 View Migrated Data"})}),"\n",(0,i.jsxs)(t.p,{children:["Once the job has finished, you can view it in MongoDB. You can perform this task using the ",(0,i.jsx)(t.code,{children:"mongosh"})," command line tool,\nMongoDB Compass, or MongoDB Atlas. This topic assumes you have migrated your data to MongoDB Atlas."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["In a web browser, navigate to the ",(0,i.jsx)(t.a,{href:"https://cloud.mongodb.com",children:"MongoDB Atlas portal"})," and sign in with your account"]}),"\n",(0,i.jsx)(t.li,{children:"Navigate to the cloud project containing the cluster you migrated data to"}),"\n",(0,i.jsxs)(t.li,{children:["Select your cluster and click ",(0,i.jsx)(t.code,{children:"View collections"})]}),"\n",(0,i.jsx)(t.li,{children:"Select the database you migrated data to"}),"\n",(0,i.jsx)(t.li,{children:"Select each of the collections and view the documents, confirming they conform to the schema you created."}),"\n"]}),"\n",(0,i.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/view-migrated-data-atlas.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}},1424:function(e,t,a){a.d(t,{Z:()=>r});var n=a("5893");function i(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}a("7294");var o=a("4757");function r(e){return(0,n.jsx)(i,{...e,children:(0,n.jsx)("img",{src:(0,o.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return s},a:function(){return r}});var n=a(7294);let i={},o=n.createContext(i);function r(e){let t=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a71c1f61.a7d07469.js b/assets/js/a71c1f61.a7d07469.js deleted file mode 100644 index 0d7030c..0000000 --- a/assets/js/a71c1f61.a7d07469.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["533"],{2566:function(e,t,a){a.r(t),a.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>c,toc:()=>d,frontMatter:()=>s});var n=JSON.parse('{"id":"Migrate Data/view-migrated-data","title":"\uD83D\uDC50 View Migrated Data","description":"Once the job has finished, you can view it in MongoDB. You can perform this task using the mongosh command line tool,","source":"@site/docs/210-Migrate Data/20-view-migrated-data.mdx","sourceDirName":"210-Migrate Data","slug":"/Migrate Data/view-migrated-data","permalink":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/210-Migrate Data/20-view-migrated-data.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Run a Snapshot Migration Job","permalink":"/relational-migrator-lab/docs/Migrate Data/migration"},"next":{"title":"\uD83C\uDFAF Summary","permalink":"/relational-migrator-lab/docs/summary"}}'),o=a("5893"),i=a("65"),r=a("1424");let s={},l="\uD83D\uDC50 View Migrated Data",c={},d=[];function m(e){let t={a:"a",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"-view-migrated-data",children:"\uD83D\uDC50 View Migrated Data"})}),"\n",(0,o.jsxs)(t.p,{children:["Once the job has finished, you can view it in MongoDB. You can perform this task using the ",(0,o.jsx)(t.code,{children:"mongosh"})," command line tool,\nMongoDB Compass, or MongoDB Atlas. This topic assumes you have migrated your data to MongoDB Atlas."]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:["In a web browser, navigate to the ",(0,o.jsx)(t.a,{href:"https://cloud.mongodb.com",children:"MongoDB Atlas portal"})," and sign in with your account"]}),"\n",(0,o.jsx)(t.li,{children:"Navigate to the cloud project containing the cluster you migrated data to"}),"\n",(0,o.jsxs)(t.li,{children:["Select your cluster and click ",(0,o.jsx)(t.code,{children:"View collections"})]}),"\n",(0,o.jsx)(t.li,{children:"Select the database you migrated data to"}),"\n",(0,o.jsx)(t.li,{children:"Select each of the collections and view the documents, confirming they conform to the schema you created."}),"\n"]}),"\n",(0,o.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/view-migrated-data-atlas.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1424:function(e,t,a){a.d(t,{Z:()=>r});var n=a("5893");function o(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}a("7294");var i=a("4757");function r(e){return(0,n.jsx)(o,{...e,children:(0,n.jsx)("img",{src:(0,i.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return s},a:function(){return r}});var n=a(7294);let o={},i=n.createContext(o);function r(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a7456010.833f749b.js b/assets/js/a7456010.833f749b.js new file mode 100644 index 0000000..6e92d0b --- /dev/null +++ b/assets/js/a7456010.833f749b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7365"],{2050:function(a){a.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/a7456010.f139069f.js b/assets/js/a7456010.f139069f.js deleted file mode 100644 index d63dedb..0000000 --- a/assets/js/a7456010.f139069f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["365"],{2050:function(a){a.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.6ec6f6cc.js b/assets/js/a7bd4aaa.6ec6f6cc.js deleted file mode 100644 index dc8e60f..0000000 --- a/assets/js/a7bd4aaa.6ec6f6cc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["211"],{8688:function(n,e,r){r.r(e),r.d(e,{default:()=>u});var s=r("5893");r("7294");var t=r("4713"),a=r("8529"),o=r("8790"),l=r("4315");function i(n){var e,r;let{version:a}=n;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{version:a.version,tag:(e=a.pluginId,r=a.version,`docs-${e}-${r}`)}),(0,s.jsx)(t.d,{children:a.noIndex&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function c(n){let{version:e,route:r}=n;return(0,s.jsx)(t.FG,{className:e.className,children:(0,s.jsx)(a.q,{version:e,children:(0,o.H)(r.routes)})})}function u(n){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i,{...n}),(0,s.jsx)(c,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.ccfbec60.js b/assets/js/a7bd4aaa.ccfbec60.js new file mode 100644 index 0000000..6c50d04 --- /dev/null +++ b/assets/js/a7bd4aaa.ccfbec60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["5211"],{8688:function(n,e,r){r.r(e),r.d(e,{default:()=>u});var s=r("5893");r("7294");var t=r("4713"),a=r("8529"),o=r("8790"),l=r("4315");function i(n){var e,r;let{version:a}=n;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{version:a.version,tag:(e=a.pluginId,r=a.version,`docs-${e}-${r}`)}),(0,s.jsx)(t.d,{children:a.noIndex&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function c(n){let{version:e,route:r}=n;return(0,s.jsx)(t.FG,{className:e.className,children:(0,s.jsx)(a.q,{version:e,children:(0,o.H)(r.routes)})})}function u(n){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i,{...n}),(0,s.jsx)(c,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.6ef5cdcb.js b/assets/js/a94703ab.6ef5cdcb.js new file mode 100644 index 0000000..a450a1c --- /dev/null +++ b/assets/js/a94703ab.6ef5cdcb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["9914"],{2001:function(e,t,n){n.r(t),n.d(t,{default:()=>ec});var a=n("5893"),i=n("7294"),r=n("4904"),o=n("4713"),l=n("4681"),s=n("3413"),d=n("5609"),c=n("6025"),u=n("9599"),m=n("346");let b={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){let{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e,[n,a]=(0,i.useState)(!1),r=(0,i.useRef)(!1),{startScroll:o,cancelScroll:l}=(0,u.Ct)();return(0,u.RF)((e,n)=>{let{scrollY:i}=e,o=n?.scrollY;if(!!o)r.current?r.current=!1:i>=o?(l(),a(!1)):i+++++++ No results found for query "{{query}}" ++{e.location.hash&&(r.current=!0,a(!1))}),{shown:n,scrollToTop:()=>o(0)}}({threshold:300});return(0,a.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",l.k.common.backToTopButton,b.backToTopButton,e&&b.backToTopButtonShow),type:"button",onClick:t})}var p=n("7504"),x=n("6550"),f=n("4704"),j=n("140"),_=n("4987");function k(e){return(0,a.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,a.jsxs)("g",{fill:"#7a7a7a",children:[(0,a.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,a.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}let g="collapseSidebarButton_PEFL",v="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return(0,a.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",g),onClick:t,children:(0,a.jsx)(k,{className:v})})}var C=n("2093"),I=n("5346");let N=Symbol("EmptyContext"),T=i.createContext(N);function Z(e){let{children:t}=e,[n,r]=(0,i.useState)(null),o=(0,i.useMemo)(()=>({expandedItem:n,setExpandedItem:r}),[n]);return(0,a.jsx)(T.Provider,{value:o,children:t})}var L=n("7455"),y=n("9246"),B=n("3012"),A=n("7227");function w(e){let{collapsed:t,categoryLabel:n,onClick:i}=e;return(0,a.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:i})}function H(e){let{item:t,onItemClick:n,activePath:o,level:d,index:c,...u}=e,{items:m,label:b,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){let t=(0,A.Z)();return(0,i.useMemo)(()=>{if(e.href&&!e.linkUnlisted)return e.href;if(!t&&!!e.collapsible)return(0,s.LM)(e)},[e,t])}(t),k=(0,s._F)(t,o),g=(0,y.Mg)(x,o),{collapsed:v,setCollapsed:S}=(0,L.u)({initialState:()=>!!h&&!k&&t.collapsed}),{expandedItem:C,setExpandedItem:Z}=function(){let e=(0,i.useContext)(T);if(e===N)throw new I.i6("DocSidebarItemsExpandedStateProvider");return e}(),H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!v;Z(e?null:c),S(e)};return!function(e){let{isActive:t,collapsed:n,updateCollapsed:a}=e,r=(0,I.D9)(t);(0,i.useEffect)(()=>{t&&!r&&n&&a(!1)},[t,r,n,a])}({isActive:k,collapsed:v,updateCollapsed:H}),(0,i.useEffect)(()=>{h&&null!=C&&C!==c&&f&&S(!0)},[h,C,c,S,f]),(0,a.jsxs)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemCategory,l.k.docs.docSidebarItemCategoryLevel(d),"menu__list-item",{"menu__list-item--collapsed":v},p),children:[(0,a.jsxs)("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,a.jsx)(B.Z,{className:(0,r.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?H(!1):(e.preventDefault(),H())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!v:void 0,href:h?_??"#":_,...u,children:b}),x&&h&&(0,a.jsx)(w,{collapsed:v,categoryLabel:b,onClick:e=>{e.preventDefault(),H()}})]}),(0,a.jsx)(L.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,a.jsx)(V,{items:m,tabIndex:v?-1:0,onItemClick:n,activePath:o,level:d+1})})]})}var E=n("3150"),M=n("2425");let W={menuExternalLink:"menuExternalLink_NmtK"};function F(e){let{item:t,onItemClick:n,activePath:i,level:o,index:d,...c}=e,{href:u,label:m,className:b,autoAddBaseUrl:h}=t,p=(0,s._F)(t,i),x=(0,E.Z)(u);return(0,a.jsx)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemLink,l.k.docs.docSidebarItemLinkLevel(o),"menu__list-item",b),children:(0,a.jsxs)(B.Z,{className:(0,r.Z)("menu__link",!x&&W.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:u,...x&&{onClick:n?()=>n(t):void 0},...c,children:[m,!x&&(0,a.jsx)(M.Z,{})]})},m)}let R={menuHtmlItem:"menuHtmlItem_M9Kj"};function D(e){let{item:t,level:n,index:i}=e,{value:o,defaultStyle:s,className:d}=t;return(0,a.jsx)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemLink,l.k.docs.docSidebarItemLinkLevel(n),s&&[R.menuHtmlItem,"menu__list-item"],d),dangerouslySetInnerHTML:{__html:o}},i)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,a.jsx)(H,{item:t,...n});case"html":return(0,a.jsx)(D,{item:t,...n});default:return(0,a.jsx)(F,{item:t,...n})}}let V=(0,i.memo)(function(e){let{items:t,...n}=e,i=(0,s.f)(t,n.activePath);return(0,a.jsx)(Z,{children:i.map((e,t)=>(0,a.jsx)(P,{item:e,index:t,...n},t))})}),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:o}=e,s=function(){let{isActive:e}=(0,C.n)(),[t,n]=(0,i.useState)(e);return(0,u.RF)(t=>{let{scrollY:a}=t;e&&n(0===a)},[e]),e&&t}();return(0,a.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",U.menu,s&&U.menuWithAnnouncementBar,o),children:(0,a.jsx)("ul",{className:(0,r.Z)(l.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:n,activePath:t,level:1})})})}let z={sidebar:"sidebar_njMd",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_wUlq",sidebarHidden:"sidebarHidden_VK0M",sidebarLogo:"sidebarLogo_isFc"},G=i.memo(function(e){let{path:t,sidebar:n,onCollapse:i,isHidden:o}=e,{navbar:{hideOnScroll:l},docs:{sidebar:{hideable:s}}}=(0,j.L)();return(0,a.jsxs)("div",{className:(0,r.Z)(z.sidebar,l&&z.sidebarWithHideableNavbar,o&&z.sidebarHidden),children:[l&&(0,a.jsx)(_.Z,{tabIndex:-1,className:z.sidebarLogo}),(0,a.jsx)(K,{path:t,sidebar:n}),s&&(0,a.jsx)(S,{onClick:i})]})});var Y=n("1179"),q=n("3780");let J=e=>{let{sidebar:t,path:n}=e,i=(0,q.e)();return(0,a.jsx)("ul",{className:(0,r.Z)(l.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&i.toggle(),"link"===e.type&&i.toggle()},level:1})})},O=i.memo(function(e){return(0,a.jsx)(Y.Zo,{component:J,props:e})});function Q(e){let t=(0,f.i)();return(0,a.jsxs)(a.Fragment,{children:[("desktop"===t||"ssr"===t)&&(0,a.jsx)(G,{...e}),"mobile"===t&&(0,a.jsx)(O,{...e})]})}let X="expandButton_TmdG",$="expandButtonIcon_i1dp";function ee(e){let{toggleSidebar:t}=e;return(0,a.jsx)("div",{className:X,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,a.jsx)(k,{className:$})})}let et={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function en(e){let{children:t}=e,n=(0,d.V)();return(0,a.jsx)(i.Fragment,{children:t},n?.name??"noSidebar")}function ea(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e,{pathname:s}=(0,x.TH)(),[d,c]=(0,i.useState)(!1),u=(0,i.useCallback)(()=>{d&&c(!1),!d&&(0,p.n)()&&c(!0),o(e=>!e)},[o,d]);return(0,a.jsx)("aside",{className:(0,r.Z)(l.k.docs.docSidebarContainer,et.docSidebarContainer,n&&et.docSidebarContainerHidden),onTransitionEnd:e=>{if(!!e.currentTarget.classList.contains(et.docSidebarContainer))n&&c(!0)},children:(0,a.jsx)(en,{children:(0,a.jsxs)("div",{className:(0,r.Z)(et.sidebarViewport,d&&et.sidebarViewportHidden),children:[(0,a.jsx)(Q,{sidebar:t,path:s,onCollapse:u,isHidden:d}),d&&(0,a.jsx)(ee,{toggleSidebar:u})]})})})}let ei={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function er(e){let{hiddenSidebarContainer:t,children:n}=e,i=(0,d.V)();return(0,a.jsx)("main",{className:(0,r.Z)(ei.docMainContainer,(t||!i)&&ei.docMainContainerEnhanced),children:(0,a.jsx)("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",ei.docItemWrapper,t&&ei.docItemWrapperEnhanced),children:n})})}let eo="docRoot_UBD9",el="docsWrapper_hBAB";function es(e){let{children:t}=e,n=(0,d.V)(),[r,o]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:el,children:[(0,a.jsx)(h,{}),(0,a.jsxs)("div",{className:eo,children:[n&&(0,a.jsx)(ea,{sidebar:n.items,hiddenSidebarContainer:r,setHiddenSidebarContainer:o}),(0,a.jsx)(er,{hiddenSidebarContainer:r,children:t})]})]})}var ed=n("4593");function ec(e){let t=(0,s.SN)(e);if(!t)return(0,a.jsx)(ed.Z,{});let{docElement:n,sidebarName:i,sidebarItems:c}=t;return(0,a.jsx)(o.FG,{className:(0,r.Z)(l.k.page.docsDocPage),children:(0,a.jsx)(d.b,{name:i,items:c,children:(0,a.jsx)(es,{children:n})})})}},4593:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(5893);n(7294);var i=n(4904),r=n(6025),o=n(4403);function l(e){let{className:t}=e;return(0,a.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,a.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,a.jsx)(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.b6dd2dc1.js b/assets/js/a94703ab.b6dd2dc1.js deleted file mode 100644 index d28fc54..0000000 --- a/assets/js/a94703ab.b6dd2dc1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["914"],{2001:function(e,t,n){n.r(t),n.d(t,{default:()=>ec});var a=n("5893"),i=n("7294"),r=n("4904"),o=n("4713"),l=n("4681"),s=n("3413"),d=n("5609"),c=n("6025"),u=n("9599"),m=n("346");let b={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function h(){let{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e,[n,a]=(0,i.useState)(!1),r=(0,i.useRef)(!1),{startScroll:o,cancelScroll:l}=(0,u.Ct)();return(0,u.RF)((e,n)=>{let{scrollY:i}=e,o=n?.scrollY;if(!!o)r.current?r.current=!1:i>=o?(l(),a(!1)):i {e.location.hash&&(r.current=!0,a(!1))}),{shown:n,scrollToTop:()=>o(0)}}({threshold:300});return(0,a.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",l.k.common.backToTopButton,b.backToTopButton,e&&b.backToTopButtonShow),type:"button",onClick:t})}var p=n("7504"),x=n("6550"),f=n("4704"),j=n("140"),_=n("4987");function k(e){return(0,a.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,a.jsxs)("g",{fill:"#7a7a7a",children:[(0,a.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,a.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}let g="collapseSidebarButton_PEFL",v="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return(0,a.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",g),onClick:t,children:(0,a.jsx)(k,{className:v})})}var C=n("2093"),I=n("5346");let N=Symbol("EmptyContext"),T=i.createContext(N);function Z(e){let{children:t}=e,[n,r]=(0,i.useState)(null),o=(0,i.useMemo)(()=>({expandedItem:n,setExpandedItem:r}),[n]);return(0,a.jsx)(T.Provider,{value:o,children:t})}var L=n("7455"),y=n("9246"),B=n("3012"),A=n("7227");function w(e){let{collapsed:t,categoryLabel:n,onClick:i}=e;return(0,a.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:i})}function H(e){let{item:t,onItemClick:n,activePath:o,level:d,index:c,...u}=e,{items:m,label:b,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){let t=(0,A.Z)();return(0,i.useMemo)(()=>{if(e.href&&!e.linkUnlisted)return e.href;if(!t&&!!e.collapsible)return(0,s.LM)(e)},[e,t])}(t),k=(0,s._F)(t,o),g=(0,y.Mg)(x,o),{collapsed:v,setCollapsed:S}=(0,L.u)({initialState:()=>!!h&&!k&&t.collapsed}),{expandedItem:C,setExpandedItem:Z}=function(){let e=(0,i.useContext)(T);if(e===N)throw new I.i6("DocSidebarItemsExpandedStateProvider");return e}(),H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!v;Z(e?null:c),S(e)};return!function(e){let{isActive:t,collapsed:n,updateCollapsed:a}=e,r=(0,I.D9)(t);(0,i.useEffect)(()=>{t&&!r&&n&&a(!1)},[t,r,n,a])}({isActive:k,collapsed:v,updateCollapsed:H}),(0,i.useEffect)(()=>{h&&null!=C&&C!==c&&f&&S(!0)},[h,C,c,S,f]),(0,a.jsxs)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemCategory,l.k.docs.docSidebarItemCategoryLevel(d),"menu__list-item",{"menu__list-item--collapsed":v},p),children:[(0,a.jsxs)("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,a.jsx)(B.Z,{className:(0,r.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?H(!1):(e.preventDefault(),H())}:()=>{n?.(t)},"aria-current":g?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!v:void 0,href:h?_??"#":_,...u,children:b}),x&&h&&(0,a.jsx)(w,{collapsed:v,categoryLabel:b,onClick:e=>{e.preventDefault(),H()}})]}),(0,a.jsx)(L.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,a.jsx)(V,{items:m,tabIndex:v?-1:0,onItemClick:n,activePath:o,level:d+1})})]})}var E=n("3150"),M=n("2425");let W={menuExternalLink:"menuExternalLink_NmtK"};function F(e){let{item:t,onItemClick:n,activePath:i,level:o,index:d,...c}=e,{href:u,label:m,className:b,autoAddBaseUrl:h}=t,p=(0,s._F)(t,i),x=(0,E.Z)(u);return(0,a.jsx)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemLink,l.k.docs.docSidebarItemLinkLevel(o),"menu__list-item",b),children:(0,a.jsxs)(B.Z,{className:(0,r.Z)("menu__link",!x&&W.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:u,...x&&{onClick:n?()=>n(t):void 0},...c,children:[m,!x&&(0,a.jsx)(M.Z,{})]})},m)}let R={menuHtmlItem:"menuHtmlItem_M9Kj"};function D(e){let{item:t,level:n,index:i}=e,{value:o,defaultStyle:s,className:d}=t;return(0,a.jsx)("li",{className:(0,r.Z)(l.k.docs.docSidebarItemLink,l.k.docs.docSidebarItemLinkLevel(n),s&&[R.menuHtmlItem,"menu__list-item"],d),dangerouslySetInnerHTML:{__html:o}},i)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,a.jsx)(H,{item:t,...n});case"html":return(0,a.jsx)(D,{item:t,...n});default:return(0,a.jsx)(F,{item:t,...n})}}let V=(0,i.memo)(function(e){let{items:t,...n}=e,i=(0,s.f)(t,n.activePath);return(0,a.jsx)(Z,{children:i.map((e,t)=>(0,a.jsx)(P,{item:e,index:t,...n},t))})}),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:o}=e,s=function(){let{isActive:e}=(0,C.n)(),[t,n]=(0,i.useState)(e);return(0,u.RF)(t=>{let{scrollY:a}=t;e&&n(0===a)},[e]),e&&t}();return(0,a.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",U.menu,s&&U.menuWithAnnouncementBar,o),children:(0,a.jsx)("ul",{className:(0,r.Z)(l.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:n,activePath:t,level:1})})})}let z={sidebar:"sidebar_njMd",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_wUlq",sidebarHidden:"sidebarHidden_VK0M",sidebarLogo:"sidebarLogo_isFc"},G=i.memo(function(e){let{path:t,sidebar:n,onCollapse:i,isHidden:o}=e,{navbar:{hideOnScroll:l},docs:{sidebar:{hideable:s}}}=(0,j.L)();return(0,a.jsxs)("div",{className:(0,r.Z)(z.sidebar,l&&z.sidebarWithHideableNavbar,o&&z.sidebarHidden),children:[l&&(0,a.jsx)(_.Z,{tabIndex:-1,className:z.sidebarLogo}),(0,a.jsx)(K,{path:t,sidebar:n}),s&&(0,a.jsx)(S,{onClick:i})]})});var Y=n("1179"),q=n("3780");let J=e=>{let{sidebar:t,path:n}=e,i=(0,q.e)();return(0,a.jsx)("ul",{className:(0,r.Z)(l.k.docs.docSidebarMenu,"menu__list"),children:(0,a.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&i.toggle(),"link"===e.type&&i.toggle()},level:1})})},O=i.memo(function(e){return(0,a.jsx)(Y.Zo,{component:J,props:e})});function Q(e){let t=(0,f.i)();return(0,a.jsxs)(a.Fragment,{children:[("desktop"===t||"ssr"===t)&&(0,a.jsx)(G,{...e}),"mobile"===t&&(0,a.jsx)(O,{...e})]})}let X="expandButton_TmdG",$="expandButtonIcon_i1dp";function ee(e){let{toggleSidebar:t}=e;return(0,a.jsx)("div",{className:X,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,a.jsx)(k,{className:$})})}let et={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function en(e){let{children:t}=e,n=(0,d.V)();return(0,a.jsx)(i.Fragment,{children:t},n?.name??"noSidebar")}function ea(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e,{pathname:s}=(0,x.TH)(),[d,c]=(0,i.useState)(!1),u=(0,i.useCallback)(()=>{d&&c(!1),!d&&(0,p.n)()&&c(!0),o(e=>!e)},[o,d]);return(0,a.jsx)("aside",{className:(0,r.Z)(l.k.docs.docSidebarContainer,et.docSidebarContainer,n&&et.docSidebarContainerHidden),onTransitionEnd:e=>{if(!!e.currentTarget.classList.contains(et.docSidebarContainer))n&&c(!0)},children:(0,a.jsx)(en,{children:(0,a.jsxs)("div",{className:(0,r.Z)(et.sidebarViewport,d&&et.sidebarViewportHidden),children:[(0,a.jsx)(Q,{sidebar:t,path:s,onCollapse:u,isHidden:d}),d&&(0,a.jsx)(ee,{toggleSidebar:u})]})})})}let ei={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function er(e){let{hiddenSidebarContainer:t,children:n}=e,i=(0,d.V)();return(0,a.jsx)("main",{className:(0,r.Z)(ei.docMainContainer,(t||!i)&&ei.docMainContainerEnhanced),children:(0,a.jsx)("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",ei.docItemWrapper,t&&ei.docItemWrapperEnhanced),children:n})})}let eo="docRoot_UBD9",el="docsWrapper_hBAB";function es(e){let{children:t}=e,n=(0,d.V)(),[r,o]=(0,i.useState)(!1);return(0,a.jsxs)("div",{className:el,children:[(0,a.jsx)(h,{}),(0,a.jsxs)("div",{className:eo,children:[n&&(0,a.jsx)(ea,{sidebar:n.items,hiddenSidebarContainer:r,setHiddenSidebarContainer:o}),(0,a.jsx)(er,{hiddenSidebarContainer:r,children:t})]})]})}var ed=n("4593");function ec(e){let t=(0,s.SN)(e);if(!t)return(0,a.jsx)(ed.Z,{});let{docElement:n,sidebarName:i,sidebarItems:c}=t;return(0,a.jsx)(o.FG,{className:(0,r.Z)(l.k.page.docsDocPage),children:(0,a.jsx)(d.b,{name:i,items:c,children:(0,a.jsx)(es,{children:n})})})}},4593:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(5893);n(7294);var i=n(4904),r=n(6025),o=n(4403);function l(e){let{className:t}=e;return(0,a.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,a.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,a.jsx)(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,a.jsx)("p",{children:(0,a.jsx)(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/aba21aa0.cf995dc8.js b/assets/js/aba21aa0.cf995dc8.js deleted file mode 100644 index a9419af..0000000 --- a/assets/js/aba21aa0.cf995dc8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["112"],{2418:function(a){a.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/aba21aa0.e98343ad.js b/assets/js/aba21aa0.e98343ad.js new file mode 100644 index 0000000..ba826c6 --- /dev/null +++ b/assets/js/aba21aa0.e98343ad.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["5112"],{2418:function(a){a.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/b909d4b0.720aa603.js b/assets/js/b909d4b0.720aa603.js new file mode 100644 index 0000000..6f71e03 --- /dev/null +++ b/assets/js/b909d4b0.720aa603.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2085"],{484:function(t,e,o){o.r(e),o.d(e,{metadata:()=>r,contentTitle:()=>l,default:()=>u,assets:()=>s,toc:()=>d,frontMatter:()=>i});var r=JSON.parse('{"id":"prerequisites/relational-migrator","title":"\uD83D\uDC50 MongoDB Relational Migrator","description":"Download and install MongoDB Relational Migrator","source":"@site/docs/20-prerequisites/30-relational-migrator.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/relational-migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/30-relational-migrator.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 MongoDB Database","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb"},"next":{"title":"\uD83D\uDCD8 Schema in PostgreSQL","permalink":"/relational-migrator-lab/docs/schema-in-postgresql"}}'),n=o("5893"),a=o("65");o("4757");let i={sidebar_position:20},l="\uD83D\uDC50 MongoDB Relational Migrator",s={},d=[];function c(t){let e={a:"a",h1:"h1",header:"header",p:"p",...(0,a.a)(),...t.components},{Screenshot:o}=e;return!o&&function(t,e){throw Error("Expected "+(e?"component":"object")+" `"+t+"` to be defined: you likely forgot to import, pass, or provide it.")}("Screenshot",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.header,{children:(0,n.jsx)(e.h1,{id:"-mongodb-relational-migrator",children:"\uD83D\uDC50 MongoDB Relational Migrator"})}),"\n",(0,n.jsx)(e.p,{children:"Download and install MongoDB Relational Migrator"}),"\n",(0,n.jsxs)(e.p,{children:["Now you will need to go to the ",(0,n.jsx)(e.a,{href:"https://www.mongodb.com/try/download/relational-migrator",children:"MongoDB Relational Migrator downloads page"}),", select your OS, download and install it. Once installed,\nrun it and it will be running on a browser at ",(0,n.jsx)(e.a,{href:"http://127.0.0.1:8278/",children:"http://127.0.0.1:8278/"}),"."]}),"\n",(0,n.jsx)(o,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/download-relational-migrator.png",alt:"Screenshot of the download page for Relational Migrator"})]})}function u(t={}){let{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(c,{...t})}):c(t)}},65:function(t,e,o){o.d(e,{Z:function(){return l},a:function(){return i}});var r=o(7294);let n={},a=r.createContext(n);function i(t){let e=r.useContext(a);return r.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function l(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:i(t.components),r.createElement(a.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/b909d4b0.be6a2cb7.js b/assets/js/b909d4b0.be6a2cb7.js deleted file mode 100644 index efdcbde..0000000 --- a/assets/js/b909d4b0.be6a2cb7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["85"],{484:function(t,e,o){o.r(e),o.d(e,{metadata:()=>r,contentTitle:()=>l,default:()=>u,assets:()=>s,toc:()=>d,frontMatter:()=>i});var r=JSON.parse('{"id":"prerequisites/relational-migrator","title":"\uD83D\uDC50 MongoDB Relational Migrator","description":"Download and install MongoDB Relational Migrator","source":"@site/docs/20-prerequisites/30-relational-migrator.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/relational-migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/30-relational-migrator.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 MongoDB Database","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb"},"next":{"title":"\uD83D\uDCD8 Schema in PostgreSQL","permalink":"/relational-migrator-lab/docs/schema-in-postgresql"}}'),n=o("5893"),a=o("65");o("4757");let i={sidebar_position:20},l="\uD83D\uDC50 MongoDB Relational Migrator",s={},d=[];function c(t){let e={a:"a",h1:"h1",header:"header",p:"p",...(0,a.a)(),...t.components},{Screenshot:o}=e;return!o&&function(t,e){throw Error("Expected "+(e?"component":"object")+" `"+t+"` to be defined: you likely forgot to import, pass, or provide it.")}("Screenshot",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.header,{children:(0,n.jsx)(e.h1,{id:"-mongodb-relational-migrator",children:"\uD83D\uDC50 MongoDB Relational Migrator"})}),"\n",(0,n.jsx)(e.p,{children:"Download and install MongoDB Relational Migrator"}),"\n",(0,n.jsxs)(e.p,{children:["Now you will need to go to the ",(0,n.jsx)(e.a,{href:"https://www.mongodb.com/try/download/relational-migrator",children:"MongoDB Relational Migrator downloads page"}),", select your OS, download and install it. Once installed,\nrun it and it will be running on a browser at ",(0,n.jsx)(e.a,{href:"http://127.0.0.1:8278/",children:"http://127.0.0.1:8278/"}),"."]}),"\n",(0,n.jsx)(o,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/download-relational-migrator.png",alt:"Screenshot of the download page for Relational Migrator"})]})}function u(t={}){let{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(c,{...t})}):c(t)}},65:function(t,e,o){o.d(e,{Z:function(){return l},a:function(){return i}});var r=o(7294);let n={},a=r.createContext(n);function i(t){let e=r.useContext(a);return r.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function l(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:i(t.components),r.createElement(a.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/be0257a7.1dc275b7.js b/assets/js/be0257a7.1dc275b7.js new file mode 100644 index 0000000..d332ec1 --- /dev/null +++ b/assets/js/be0257a7.1dc275b7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["8379"],{1463:function(e,t,i){i.r(t),i.d(t,{metadata:()=>s,contentTitle:()=>r,default:()=>m,assets:()=>d,toc:()=>c,frontMatter:()=>o});var s=JSON.parse('{"id":"edit-mapping-rules/add-mapping-issue-detail-users","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-issue-detail-users","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx","tags":[],"version":"current","sidebarPosition":90,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail"},"next":{"title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail"}}'),n=i("5893"),a=i("65"),l=i("1424");let o={},r="\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)",d={},c=[];function u(e){let t={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"-add-mapping-to-issuedetails-collection-from-users-table",children:"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)"})}),"\n",(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsx)(t.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,n.jsx)(t.p,{children:"Now we want to store more details from each user into the collection tracking library loans."}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,n.jsx)(t.code,{children:"issueDetails"})," collection"]}),"\n",(0,n.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,n.jsx)(t.code,{children:"+Add"})]}),"\n",(0,n.jsxs)(t.li,{children:["Select ",(0,n.jsx)(t.code,{children:"Embedded documents"})]}),"\n",(0,n.jsxs)(t.li,{children:["Select ",(0,n.jsx)(t.code,{children:"users"})," as Source table"]}),"\n",(0,n.jsxs)(t.li,{children:["Check the ",(0,n.jsx)(t.code,{children:"id"})," and ",(0,n.jsx)(t.code,{children:"name"})," fields and uncheck the rest"]}),"\n",(0,n.jsxs)(t.li,{children:["Click ",(0,n.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,n.jsx)(l.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/180-image-001.png",alt:"Screenshot of the connect modal"})]})}function m(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1424:function(e,t,i){i.d(t,{Z:()=>l});var s=i("5893");function n(e){let t=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:t})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}i("7294");var a=i("4757");function l(e){return(0,s.jsx)(n,{...e,children:(0,s.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,t,i){i.d(t,{Z:function(){return o},a:function(){return l}});var s=i(7294);let n={},a=s.createContext(n);function l(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/be0257a7.b8598cb7.js b/assets/js/be0257a7.b8598cb7.js deleted file mode 100644 index b54e839..0000000 --- a/assets/js/be0257a7.b8598cb7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["379"],{1463:function(e,t,i){i.r(t),i.d(t,{metadata:()=>s,contentTitle:()=>r,default:()=>m,assets:()=>d,toc:()=>c,frontMatter:()=>o});var s=JSON.parse('{"id":"edit-mapping-rules/add-mapping-issue-detail-users","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","source":"@site/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-issue-detail-users","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx","tags":[],"version":"current","sidebarPosition":90,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail"},"next":{"title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail"}}'),n=i("5893"),a=i("65"),l=i("1424");let o={},r="\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)",d={},c=[];function u(e){let t={admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"-add-mapping-to-issuedetails-collection-from-users-table",children:"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)"})}),"\n",(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsx)(t.p,{children:"Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab."})}),"\n",(0,n.jsx)(t.p,{children:"Now we want to store more details from each user into the collection tracking library loans."}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,n.jsx)(t.code,{children:"issueDetails"})," collection"]}),"\n",(0,n.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,n.jsx)(t.code,{children:"+Add"})]}),"\n",(0,n.jsxs)(t.li,{children:["Select ",(0,n.jsx)(t.code,{children:"Embedded documents"})]}),"\n",(0,n.jsxs)(t.li,{children:["Select ",(0,n.jsx)(t.code,{children:"users"})," as Source table"]}),"\n",(0,n.jsxs)(t.li,{children:["Check the ",(0,n.jsx)(t.code,{children:"id"})," and ",(0,n.jsx)(t.code,{children:"name"})," fields and uncheck the rest"]}),"\n",(0,n.jsxs)(t.li,{children:["Click ",(0,n.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,n.jsx)(l.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/180-image-001.png",alt:"Screenshot of the connect modal"})]})}function m(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1424:function(e,t,i){i.d(t,{Z:()=>l});var s=i("5893");function n(e){let t=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:t})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}i("7294");var a=i("4757");function l(e){return(0,s.jsx)(n,{...e,children:(0,s.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,t,i){i.d(t,{Z:function(){return o},a:function(){return l}});var s=i(7294);let n={},a=s.createContext(n);function l(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c03ff7b0.2a71f937.js b/assets/js/c03ff7b0.2a71f937.js deleted file mode 100644 index d7ad6d0..0000000 --- a/assets/js/c03ff7b0.2a71f937.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["770"],{2371:function(e,t,n){n.r(t),n.d(t,{metadata:()=>o,contentTitle:()=>l,default:()=>u,assets:()=>d,toc:()=>c,frontMatter:()=>r});var o=JSON.parse('{"id":"edit-mapping-rules/add-mapping-books-authors","title":"\uD83D\uDC50 Add authors details to the books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","source":"@site/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-books-authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Change genres in books","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre"},"next":{"title":"\uD83D\uDC50 Remove unused ids from author details in books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book"}}'),a=n("5893"),s=n("65"),i=n("1424");let r={},l="\uD83D\uDC50 Add authors details to the books collection",d={},c=[];function h(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-add-authors-details-to-the-books-collection",children:"\uD83D\uDC50 Add authors details to the books collection"})}),"\n",(0,a.jsxs)(t.p,{children:["We want to modify the MongoDB schema so that each book contains an array of its authors.\nIn this step we will embed the book details into the empty array created from the join table (which right now only contains ",(0,a.jsx)(t.code,{children:"authorId"})," and ",(0,a.jsx)(t.code,{children:"bookId"}),")"]}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,a.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,a.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,a.jsx)(t.code,{children:"+ Add"})]}),"\n",(0,a.jsxs)(t.li,{children:["Select ",(0,a.jsx)(t.code,{children:"Embedded documents"})]}),"\n",(0,a.jsxs)(t.li,{children:["Select ",(0,a.jsx)(t.code,{children:"authors"})," as Source table"]}),"\n",(0,a.jsx)(t.li,{children:"In the advanced settings, check 'Merge fields into parent`"}),"\n",(0,a.jsxs)(t.li,{children:["Check the ",(0,a.jsx)(t.code,{children:"id"})," and ",(0,a.jsx)(t.code,{children:"name"})," fields and uncheck the rest"]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsxs)(t.p,{children:["This is a perfect example of the ",(0,a.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended Reference Pattern"}),". When we read a book, we have some of the author's data (",(0,a.jsx)(t.code,{children:"name"})," in this case) but we still have the author's id in case we need all the author's attributes (we can then do a join on read using ",(0,a.jsx)(t.code,{children:"$lookup"}),")"]})}),"\n",(0,a.jsx)(i.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/130-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>i});var o=n("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:t})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function i(e){return(0,o.jsx)(a,{...e,children:(0,o.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return r},a:function(){return i}});var o=n(7294);let a={},s=o.createContext(a);function i(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c03ff7b0.a2db948a.js b/assets/js/c03ff7b0.a2db948a.js new file mode 100644 index 0000000..cdebbac --- /dev/null +++ b/assets/js/c03ff7b0.a2db948a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["3770"],{2371:function(e,t,n){n.r(t),n.d(t,{metadata:()=>o,contentTitle:()=>l,default:()=>u,assets:()=>d,toc:()=>c,frontMatter:()=>r});var o=JSON.parse('{"id":"edit-mapping-rules/add-mapping-books-authors","title":"\uD83D\uDC50 Add authors details to the books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","source":"@site/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/add-mapping-books-authors","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Change genres in books","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre"},"next":{"title":"\uD83D\uDC50 Remove unused ids from author details in books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book"}}'),a=n("5893"),s=n("65"),i=n("1424");let r={},l="\uD83D\uDC50 Add authors details to the books collection",d={},c=[];function h(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"-add-authors-details-to-the-books-collection",children:"\uD83D\uDC50 Add authors details to the books collection"})}),"\n",(0,a.jsxs)(t.p,{children:["We want to modify the MongoDB schema so that each book contains an array of its authors.\nIn this step we will embed the book details into the empty array created from the join table (which right now only contains ",(0,a.jsx)(t.code,{children:"authorId"})," and ",(0,a.jsx)(t.code,{children:"bookId"}),")"]}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,a.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,a.jsxs)(t.li,{children:["On the relational mappings list on the right, click ",(0,a.jsx)(t.code,{children:"+ Add"})]}),"\n",(0,a.jsxs)(t.li,{children:["Select ",(0,a.jsx)(t.code,{children:"Embedded documents"})]}),"\n",(0,a.jsxs)(t.li,{children:["Select ",(0,a.jsx)(t.code,{children:"authors"})," as Source table"]}),"\n",(0,a.jsx)(t.li,{children:"In the advanced settings, check 'Merge fields into parent`"}),"\n",(0,a.jsxs)(t.li,{children:["Check the ",(0,a.jsx)(t.code,{children:"id"})," and ",(0,a.jsx)(t.code,{children:"name"})," fields and uncheck the rest"]}),"\n",(0,a.jsxs)(t.li,{children:["Click ",(0,a.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsxs)(t.p,{children:["This is a perfect example of the ",(0,a.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended Reference Pattern"}),". When we read a book, we have some of the author's data (",(0,a.jsx)(t.code,{children:"name"})," in this case) but we still have the author's id in case we need all the author's attributes (we can then do a join on read using ",(0,a.jsx)(t.code,{children:"$lookup"}),")"]})}),"\n",(0,a.jsx)(i.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/130-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1424:function(e,t,n){n.d(t,{Z:()=>i});var o=n("5893");function a(e){let t=e.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:t})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function i(e){return(0,o.jsx)(a,{...e,children:(0,o.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return r},a:function(){return i}});var o=n(7294);let a={},s=o.createContext(a);function i(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.45ff671a.js b/assets/js/c4f5d8e4.45ff671a.js deleted file mode 100644 index 85f4da1..0000000 --- a/assets/js/c4f5d8e4.45ff671a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["130"],{104:function(e,t,s){s.r(t),s.d(t,{default:()=>N});var i=s("5893");s("7294");var r=s("6010"),l=s("3012"),a=s("2933"),n=s("2490");let c="features_t9lD",o="featureImg_d9Ri",d="featuresContainer_Xi_N";function h(e){let{illustration:t,title:s,description:l,fetchPriority:a}=e;return(0,i.jsxs)("div",{className:(0,r.Z)("col col--4"),children:[(0,i.jsx)("div",{className:"text--center",children:(0,i.jsx)("img",{src:t,className:o,width:"450px",height:"100%",role:"img",alt:"",fetchpriority:a})}),(0,i.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,i.jsx)("h2",{children:s}),(0,i.jsx)("p",{children:l})]})]})}function u(){let{siteConfig:e}=(0,a.Z)();return(0,i.jsx)("section",{className:c,children:(0,i.jsx)("div",{className:`container ${d}`,children:(0,i.jsx)("div",{className:"row",children:e.customFields.featureList.map((e,t)=>(0,i.jsx)(h,{fetchPriority:t?"low":"high",...e},t))})})})}let m="heroBanner_qdFl",x="buttons_AeoN";function j(){let{siteConfig:e}=(0,a.Z)();return(0,i.jsx)("header",{className:(0,r.Z)("hero hero--primary",m),children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("h1",{className:"hero__title",children:e.title}),(0,i.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,i.jsx)("div",{className:x,children:(0,i.jsx)(l.Z,{className:"button button--secondary button--lg",to:"/docs/intro",children:e.customFields.startButtonTitle})})]})})}function N(){let{siteConfig:e}=(0,a.Z)(),{title:t,tagline:s}=e;return(0,i.jsxs)(n.Z,{title:`${t}`,description:`${s}`,children:[(0,i.jsx)(j,{}),(0,i.jsx)("main",{children:(0,i.jsx)(u,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.4623ae38.js b/assets/js/c4f5d8e4.4623ae38.js new file mode 100644 index 0000000..aff3539 --- /dev/null +++ b/assets/js/c4f5d8e4.4623ae38.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["6130"],{104:function(e,t,s){s.r(t),s.d(t,{default:()=>N});var i=s("5893");s("7294");var r=s("6010"),l=s("3012"),a=s("2933"),n=s("2490");let c="features_t9lD",o="featureImg_d9Ri",d="featuresContainer_Xi_N";function h(e){let{illustration:t,title:s,description:l,fetchPriority:a}=e;return(0,i.jsxs)("div",{className:(0,r.Z)("col col--4"),children:[(0,i.jsx)("div",{className:"text--center",children:(0,i.jsx)("img",{src:t,className:o,width:"450px",height:"100%",role:"img",alt:"",fetchpriority:a})}),(0,i.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,i.jsx)("h2",{children:s}),(0,i.jsx)("p",{children:l})]})]})}function u(){let{siteConfig:e}=(0,a.Z)();return(0,i.jsx)("section",{className:c,children:(0,i.jsx)("div",{className:`container ${d}`,children:(0,i.jsx)("div",{className:"row",children:e.customFields.featureList.map((e,t)=>(0,i.jsx)(h,{fetchPriority:t?"low":"high",...e},t))})})})}let m="heroBanner_qdFl",x="buttons_AeoN";function j(){let{siteConfig:e}=(0,a.Z)();return(0,i.jsx)("header",{className:(0,r.Z)("hero hero--primary",m),children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("h1",{className:"hero__title",children:e.title}),(0,i.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,i.jsx)("div",{className:x,children:(0,i.jsx)(l.Z,{className:"button button--secondary button--lg",to:"/docs/intro",children:e.customFields.startButtonTitle})})]})})}function N(){let{siteConfig:e}=(0,a.Z)(),{title:t,tagline:s}=e;return(0,i.jsxs)(n.Z,{title:`${t}`,description:`${s}`,children:[(0,i.jsx)(j,{}),(0,i.jsx)("main",{children:(0,i.jsx)(u,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/c4f7bd2f.4ab2fa2f.js b/assets/js/c4f7bd2f.4ab2fa2f.js new file mode 100644 index 0000000..1956380 --- /dev/null +++ b/assets/js/c4f7bd2f.4ab2fa2f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["8182"],{4e3:function(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"\uD83D\uDCD8 Introduction","href":"/relational-migrator-lab/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Prerequisites","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 PostgreSQL Database","href":"/relational-migrator-lab/docs/prerequisites/postgres","docId":"prerequisites/postgres","unlisted":false},{"type":"link","label":"\uD83D\uDC50 MongoDB Database","href":"/relational-migrator-lab/docs/prerequisites/mongodb","docId":"prerequisites/mongodb","unlisted":false},{"type":"link","label":"\uD83D\uDC50 MongoDB Relational Migrator","href":"/relational-migrator-lab/docs/prerequisites/relational-migrator","docId":"prerequisites/relational-migrator","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-prerequisites"},{"type":"link","label":"\uD83D\uDCD8 Schema in PostgreSQL","href":"/relational-migrator-lab/docs/schema-in-postgresql","docId":"schema-in-postgresql","unlisted":false},{"type":"link","label":"\uD83D\uDCD8 Desired Schema in MongoDB","href":"/relational-migrator-lab/docs/desired-schema-mongodb","docId":"desired-schema-mongodb","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Create a Project","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Creating a New Project","href":"/relational-migrator-lab/docs/create-project/create-new-project","docId":"create-project/create-new-project","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Connect to the Database","href":"/relational-migrator-lab/docs/create-project/connect-database","docId":"create-project/connect-database","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Select Tables","href":"/relational-migrator-lab/docs/create-project/select-tables","docId":"create-project/select-tables","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Define the Initial Schema","href":"/relational-migrator-lab/docs/create-project/define-initial-schema","docId":"create-project/define-initial-schema","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-create-a-project"},{"type":"link","label":"\uD83D\uDC50 Project Settings","href":"/relational-migrator-lab/docs/project-settings","docId":"project-settings","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Toggle View","href":"/relational-migrator-lab/docs/toggle-view","docId":"toggle-view","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Edit Mapping Rules","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Clean book attributes up","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","docId":"edit-mapping-rules/edit-mapping-books-book-attribute","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Change genres in books","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","docId":"edit-mapping-rules/edit-mapping-books-book-genre","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add authors details to the books collection","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","docId":"edit-mapping-rules/add-mapping-books-authors","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Remove unused ids from author details in books collection","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","docId":"edit-mapping-rules/edit-mapping-books-author-book","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","docId":"edit-mapping-rules/add-mapping-books-reviews","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add aliases to authors","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","docId":"edit-mapping-rules/edit-mapping-authors-alias","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","docId":"edit-mapping-rules/edit-mapping-authors-authorbook","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","docId":"edit-mapping-rules/add-mapping-books-issue-detail","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","docId":"edit-mapping-rules/add-mapping-issue-detail-users","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","docId":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","docId":"edit-mapping-rules/add-mapping-reviews-user","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-edit-mapping-rules"},{"type":"category","label":"Generate code","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Generate app code","href":"/relational-migrator-lab/docs/Generate code/generate-app-code","docId":"Generate code/generate-app-code","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Convert SQL queries","href":"/relational-migrator-lab/docs/Generate code/convert-queries","docId":"Generate code/convert-queries","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Convert Views and Stored Procedures","href":"/relational-migrator-lab/docs/Generate code/convert-sprocs","docId":"Generate code/convert-sprocs","unlisted":false}]},{"type":"category","label":"Migrate Data","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Run a Snapshot Migration Job","href":"/relational-migrator-lab/docs/Migrate Data/migration","docId":"Migrate Data/migration","unlisted":false},{"type":"link","label":"\uD83D\uDC50 View Migrated Data","href":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","docId":"Migrate Data/view-migrated-data","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Migration using CDC and Kafka","href":"/relational-migrator-lab/docs/Migrate Data/cdc-migration","docId":"Migrate Data/cdc-migration","unlisted":false}]},{"type":"link","label":"\uD83C\uDFAF Summary","href":"/relational-migrator-lab/docs/summary","docId":"summary","unlisted":false}]},"docs":{"create-project/connect-database":{"id":"create-project/connect-database","title":"\uD83D\uDC50 Connect to the Database","description":"Select PostgreSQL as Database Type","sidebar":"tutorialSidebar"},"create-project/create-new-project":{"id":"create-project/create-new-project","title":"\uD83D\uDC50 Creating a New Project","description":"Ensure Relational Migrator is installed and running (normally at http8278/).","sidebar":"tutorialSidebar"},"create-project/define-initial-schema":{"id":"create-project/define-initial-schema","title":"\uD83D\uDC50 Define the Initial Schema","description":"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,","sidebar":"tutorialSidebar"},"create-project/select-tables":{"id":"create-project/select-tables","title":"\uD83D\uDC50 Select Tables","description":"We want to migrate data from all of the tables, so check all of them and then click Next.","sidebar":"tutorialSidebar"},"desired-schema-mongodb":{"id":"desired-schema-mongodb","title":"\uD83D\uDCD8 Desired Schema in MongoDB","description":"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-authors":{"id":"edit-mapping-rules/add-mapping-books-authors","title":"\uD83D\uDC50 Add authors details to the books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-issue-detail":{"id":"edit-mapping-rules/add-mapping-books-issue-detail","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-reviews":{"id":"edit-mapping-rules/add-mapping-books-reviews","title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","description":"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-issue-detail-users":{"id":"edit-mapping-rules/add-mapping-issue-detail-users","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-reviews-user":{"id":"edit-mapping-rules/add-mapping-reviews-user","title":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-authors-alias":{"id":"edit-mapping-rules/edit-mapping-authors-alias","title":"\uD83D\uDC50 Add aliases to authors","description":"We want to modify the MongoDB schema so that each author\'s aliases are represented as an array of strings.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-authors-authorbook":{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","title":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-author-book":{"id":"edit-mapping-rules/edit-mapping-books-author-book","title":"\uD83D\uDC50 Remove unused ids from author details in books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-book-attribute":{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","title":"\uD83D\uDC50 Clean book attributes up","description":"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-book-genre":{"id":"edit-mapping-rules/edit-mapping-books-book-genre","title":"\uD83D\uDC50 Change genres in books","description":"We want to modify the MongoDB schema so that each book\'s genres are represented as an array of strings. We\'ll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-issue-detail-issue-detail":{"id":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"Generate code/convert-queries":{"id":"Generate code/convert-queries","title":"\uD83D\uDC50 Convert SQL queries","description":"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped","sidebar":"tutorialSidebar"},"Generate code/convert-sprocs":{"id":"Generate code/convert-sprocs","title":"\uD83D\uDC50 Convert Views and Stored Procedures","description":"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped","sidebar":"tutorialSidebar"},"Generate code/generate-app-code":{"id":"Generate code/generate-app-code","title":"\uD83D\uDC50 Generate app code","description":"Relational Migrator allows you to generate application code in a variety of languges, dervied from your MongoDB schema definition.","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"\uD83D\uDCD8 Introduction","description":"|Workshop goals|Migrate a relational DB into MongoDB Atlas|","sidebar":"tutorialSidebar"},"Migrate Data/cdc-migration":{"id":"Migrate Data/cdc-migration","title":"\uD83E\uDDB8 Migration using CDC and Kafka","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"Migrate Data/migration":{"id":"Migrate Data/migration","title":"\uD83D\uDC50 Run a Snapshot Migration Job","description":"- At the top, switch to Data Migration tab","sidebar":"tutorialSidebar"},"Migrate Data/view-migrated-data":{"id":"Migrate Data/view-migrated-data","title":"\uD83D\uDC50 View Migrated Data","description":"Once the job has finished, you can view it in MongoDB. You can perform this task using the mongosh command line tool,","sidebar":"tutorialSidebar"},"prerequisites/mongodb":{"id":"prerequisites/mongodb","title":"\uD83D\uDC50 MongoDB Database","description":"As we\'ll be importing data from a Relational Database into MongoDB, you\'ll need to have a MongoDB database. You have a","sidebar":"tutorialSidebar"},"prerequisites/postgres":{"id":"prerequisites/postgres","title":"\uD83D\uDC50 PostgreSQL Database","description":"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database.","sidebar":"tutorialSidebar"},"prerequisites/relational-migrator":{"id":"prerequisites/relational-migrator","title":"\uD83D\uDC50 MongoDB Relational Migrator","description":"Download and install MongoDB Relational Migrator","sidebar":"tutorialSidebar"},"project-settings":{"id":"project-settings","title":"\uD83D\uDC50 Project Settings","description":"- On the top left, click the settings icon.","sidebar":"tutorialSidebar"},"schema-in-postgresql":{"id":"schema-in-postgresql","title":"\uD83D\uDCD8 Schema in PostgreSQL","description":"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews.","sidebar":"tutorialSidebar"},"summary":{"id":"summary","title":"\uD83C\uDFAF Summary","description":"Congratulations! Following this tutorial, you have successfully:","sidebar":"tutorialSidebar"},"toggle-view":{"id":"toggle-view","title":"\uD83D\uDC50 Toggle View","description":"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time.","sidebar":"tutorialSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/c4f7bd2f.67922a03.js b/assets/js/c4f7bd2f.67922a03.js deleted file mode 100644 index 12185b3..0000000 --- a/assets/js/c4f7bd2f.67922a03.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["182"],{4e3:function(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"\uD83D\uDCD8 Introduction","href":"/relational-migrator-lab/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Prerequisites","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 PostgreSQL Database","href":"/relational-migrator-lab/docs/prerequisites/postgres","docId":"prerequisites/postgres","unlisted":false},{"type":"link","label":"\uD83D\uDC50 MongoDB Database","href":"/relational-migrator-lab/docs/prerequisites/mongodb","docId":"prerequisites/mongodb","unlisted":false},{"type":"link","label":"\uD83D\uDC50 MongoDB Relational Migrator","href":"/relational-migrator-lab/docs/prerequisites/relational-migrator","docId":"prerequisites/relational-migrator","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-prerequisites"},{"type":"link","label":"\uD83D\uDCD8 Schema in PostgreSQL","href":"/relational-migrator-lab/docs/schema-in-postgresql","docId":"schema-in-postgresql","unlisted":false},{"type":"link","label":"\uD83D\uDCD8 Desired Schema in MongoDB","href":"/relational-migrator-lab/docs/desired-schema-mongodb","docId":"desired-schema-mongodb","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Create a Project","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Creating a New Project","href":"/relational-migrator-lab/docs/create-project/create-new-project","docId":"create-project/create-new-project","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Connect to the Database","href":"/relational-migrator-lab/docs/create-project/connect-database","docId":"create-project/connect-database","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Select Tables","href":"/relational-migrator-lab/docs/create-project/select-tables","docId":"create-project/select-tables","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Define the Initial Schema","href":"/relational-migrator-lab/docs/create-project/define-initial-schema","docId":"create-project/define-initial-schema","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-create-a-project"},{"type":"link","label":"\uD83D\uDC50 Project Settings","href":"/relational-migrator-lab/docs/project-settings","docId":"project-settings","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Toggle View","href":"/relational-migrator-lab/docs/toggle-view","docId":"toggle-view","unlisted":false},{"type":"category","label":"\uD83D\uDC50 Edit Mapping Rules","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Clean book attributes up","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","docId":"edit-mapping-rules/edit-mapping-books-book-attribute","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Change genres in books","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","docId":"edit-mapping-rules/edit-mapping-books-book-genre","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add authors details to the books collection","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","docId":"edit-mapping-rules/add-mapping-books-authors","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Remove unused ids from author details in books collection","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","docId":"edit-mapping-rules/edit-mapping-books-author-book","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","docId":"edit-mapping-rules/add-mapping-books-reviews","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Add aliases to authors","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","docId":"edit-mapping-rules/edit-mapping-authors-alias","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","docId":"edit-mapping-rules/edit-mapping-authors-authorbook","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","docId":"edit-mapping-rules/add-mapping-books-issue-detail","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","docId":"edit-mapping-rules/add-mapping-issue-detail-users","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","docId":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","unlisted":false},{"type":"link","label":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","href":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","docId":"edit-mapping-rules/add-mapping-reviews-user","unlisted":false}],"href":"/relational-migrator-lab/docs/category/-edit-mapping-rules"},{"type":"category","label":"Generate code","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Generate app code","href":"/relational-migrator-lab/docs/Generate code/generate-app-code","docId":"Generate code/generate-app-code","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Convert SQL queries","href":"/relational-migrator-lab/docs/Generate code/convert-queries","docId":"Generate code/convert-queries","unlisted":false},{"type":"link","label":"\uD83D\uDC50 Convert Views and Stored Procedures","href":"/relational-migrator-lab/docs/Generate code/convert-sprocs","docId":"Generate code/convert-sprocs","unlisted":false}]},{"type":"category","label":"Migrate Data","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\uD83D\uDC50 Run a Snapshot Migration Job","href":"/relational-migrator-lab/docs/Migrate Data/migration","docId":"Migrate Data/migration","unlisted":false},{"type":"link","label":"\uD83D\uDC50 View Migrated Data","href":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","docId":"Migrate Data/view-migrated-data","unlisted":false}]},{"type":"link","label":"\uD83C\uDFAF Summary","href":"/relational-migrator-lab/docs/summary","docId":"summary","unlisted":false}]},"docs":{"create-project/connect-database":{"id":"create-project/connect-database","title":"\uD83D\uDC50 Connect to the Database","description":"Select PostgreSQL as Database Type","sidebar":"tutorialSidebar"},"create-project/create-new-project":{"id":"create-project/create-new-project","title":"\uD83D\uDC50 Creating a New Project","description":"Ensure Relational Migrator is installed and running (normally at http8278/).","sidebar":"tutorialSidebar"},"create-project/define-initial-schema":{"id":"create-project/define-initial-schema","title":"\uD83D\uDC50 Define the Initial Schema","description":"Relational Migrator gives you three options on how your MongoDB schema should be created. Regardless of which option you choose,","sidebar":"tutorialSidebar"},"create-project/select-tables":{"id":"create-project/select-tables","title":"\uD83D\uDC50 Select Tables","description":"We want to migrate data from all of the tables, so check all of them and then click Next.","sidebar":"tutorialSidebar"},"desired-schema-mongodb":{"id":"desired-schema-mongodb","title":"\uD83D\uDCD8 Desired Schema in MongoDB","description":"Since MongoDB is a document database, you have more flexibility in how you model your data. When migrating from","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-authors":{"id":"edit-mapping-rules/add-mapping-books-authors","title":"\uD83D\uDC50 Add authors details to the books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-issue-detail":{"id":"edit-mapping-rules/add-mapping-books-issue-detail","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from books table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-books-reviews":{"id":"edit-mapping-rules/add-mapping-books-reviews","title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","description":"We want to modify the MongoDB schema so that each book contains an array of its latest three reviews.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-issue-detail-users":{"id":"edit-mapping-rules/add-mapping-issue-detail-users","title":"\uD83E\uDDB8 Add mapping to issueDetails collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/add-mapping-reviews-user":{"id":"edit-mapping-rules/add-mapping-reviews-user","title":"\uD83E\uDDB8 Add mapping to reviews collection (from users table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-authors-alias":{"id":"edit-mapping-rules/edit-mapping-authors-alias","title":"\uD83D\uDC50 Add aliases to authors","description":"We want to modify the MongoDB schema so that each author\'s aliases are represented as an array of strings.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-authors-authorbook":{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","title":"\uD83E\uDDB8 Edit mapping to authors collection (from author_book table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-author-book":{"id":"edit-mapping-rules/edit-mapping-books-author-book","title":"\uD83D\uDC50 Remove unused ids from author details in books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-book-attribute":{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","title":"\uD83D\uDC50 Clean book attributes up","description":"We want to clean up the book_attributes array in our MongoDB schema. We want an array of objects containing attributes, modelled a key value pairs. something like:","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-books-book-genre":{"id":"edit-mapping-rules/edit-mapping-books-book-genre","title":"\uD83D\uDC50 Change genres in books","description":"We want to modify the MongoDB schema so that each book\'s genres are represented as an array of strings. We\'ll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often.","sidebar":"tutorialSidebar"},"edit-mapping-rules/edit-mapping-issue-detail-issue-detail":{"id":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","title":"\uD83E\uDDB8 Edit mapping to issueDetails collection (from issue_details table)","description":"Extra activity! Do it if you have extra time or are following along at home. It won\'t be covered during the hands-on lab.","sidebar":"tutorialSidebar"},"Generate code/convert-queries":{"id":"Generate code/convert-queries","title":"\uD83D\uDC50 Convert SQL queries","description":"Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped","sidebar":"tutorialSidebar"},"Generate code/convert-sprocs":{"id":"Generate code/convert-sprocs","title":"\uD83D\uDC50 Convert Views and Stored Procedures","description":"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped","sidebar":"tutorialSidebar"},"Generate code/generate-app-code":{"id":"Generate code/generate-app-code","title":"\uD83D\uDC50 Generate app code","description":"Relational Migrator allows you to generate application code in a variety of languges, dervied from your MongoDB schema definition.","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"\uD83D\uDCD8 Introduction","description":"|Workshop goals|Migrate a relational DB into MongoDB Atlas|","sidebar":"tutorialSidebar"},"Migrate Data/migration":{"id":"Migrate Data/migration","title":"\uD83D\uDC50 Run a Snapshot Migration Job","description":"- At the top, switch to Data Migration tab","sidebar":"tutorialSidebar"},"Migrate Data/view-migrated-data":{"id":"Migrate Data/view-migrated-data","title":"\uD83D\uDC50 View Migrated Data","description":"Once the job has finished, you can view it in MongoDB. You can perform this task using the mongosh command line tool,","sidebar":"tutorialSidebar"},"prerequisites/mongodb":{"id":"prerequisites/mongodb","title":"\uD83D\uDC50 MongoDB Database","description":"As we\'ll be importing data from a Relational Database into MongoDB, you\'ll need to have a MongoDB database. You have a","sidebar":"tutorialSidebar"},"prerequisites/postgres":{"id":"prerequisites/postgres","title":"\uD83D\uDC50 PostgreSQL Database","description":"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database.","sidebar":"tutorialSidebar"},"prerequisites/relational-migrator":{"id":"prerequisites/relational-migrator","title":"\uD83D\uDC50 MongoDB Relational Migrator","description":"Download and install MongoDB Relational Migrator","sidebar":"tutorialSidebar"},"project-settings":{"id":"project-settings","title":"\uD83D\uDC50 Project Settings","description":"- On the top left, click the settings icon.","sidebar":"tutorialSidebar"},"schema-in-postgresql":{"id":"schema-in-postgresql","title":"\uD83D\uDCD8 Schema in PostgreSQL","description":"The following screenshot shows an entity-relationship diagram of the relational database we wish to migrate. This is a library management app that stores information about books, where a book can have many authors, an author can write many books, and users can borrow books and leave reviews.","sidebar":"tutorialSidebar"},"summary":{"id":"summary","title":"\uD83C\uDFAF Summary","description":"Congratulations! Following this tutorial, you have successfully:","sidebar":"tutorialSidebar"},"toggle-view":{"id":"toggle-view","title":"\uD83D\uDC50 Toggle View","description":"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time.","sidebar":"tutorialSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/d1e868e1.573d831b.js b/assets/js/d1e868e1.573d831b.js deleted file mode 100644 index 06454be..0000000 --- a/assets/js/d1e868e1.573d831b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["496"],{6675:function(e,n,o){o.r(n),o.d(n,{metadata:()=>s,contentTitle:()=>l,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>i});var s=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-book-genre","title":"\uD83D\uDC50 Change genres in books","description":"We want to modify the MongoDB schema so that each book\'s genres are represented as an array of strings. We\'ll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often.","source":"@site/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-book-genre","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Clean book attributes up","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute"},"next":{"title":"\uD83D\uDC50 Add authors details to the books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors"}}'),t=o("5893"),a=o("65"),r=o("1424");let i={},l="\uD83D\uDC50 Change genres in books",c={},d=[];function h(e){let n={code:"code",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"-change-genres-in-books",children:"\uD83D\uDC50 Change genres in books"})}),"\n",(0,t.jsx)(n.p,{children:"We want to modify the MongoDB schema so that each book's genres are represented as an array of strings. We'll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often."}),"\n",(0,t.jsx)(n.p,{children:"We'll go from the proposed array of objects:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'bookGenres: [\n {\n bookId: "Some Book Id",\n genres: "fiction"\n },\n {\n bookId: "Some Book Id",\n genres: "novel"\n }\n]\n'})}),"\n",(0,t.jsx)(n.p,{children:"to an array of primitive values"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'genres: [ "fiction", "novel" ]\n'})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["On the MongoDB diagram view, click the ",(0,t.jsx)(n.code,{children:"books"})," collection"]}),"\n",(0,t.jsxs)(n.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,t.jsx)(n.code,{children:"book_genre"})," embedded array"]}),"\n",(0,t.jsxs)(n.li,{children:["Change the field name from ",(0,t.jsx)(n.code,{children:"bookGenres"})," to ",(0,t.jsx)(n.code,{children:"genres"})]}),"\n",(0,t.jsxs)(n.li,{children:["Uncheck ",(0,t.jsx)(n.code,{children:"bookId"})]}),"\n",(0,t.jsxs)(n.li,{children:["In the advanced settings, check ",(0,t.jsx)(n.code,{children:"create array of primitive values"})]}),"\n",(0,t.jsxs)(n.li,{children:["Click ",(0,t.jsx)(n.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,t.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/160-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},1424:function(e,n,o){o.d(n,{Z:()=>r});var s=o("5893");function t(e){let n=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:n})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}o("7294");var a=o("4757");function r(e){return(0,s.jsx)(t,{...e,children:(0,s.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,n,o){o.d(n,{Z:function(){return i},a:function(){return r}});var s=o(7294);let t={},a=s.createContext(t);function r(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d1e868e1.85d2f697.js b/assets/js/d1e868e1.85d2f697.js new file mode 100644 index 0000000..d49ff02 --- /dev/null +++ b/assets/js/d1e868e1.85d2f697.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["9496"],{6675:function(e,n,o){o.r(n),o.d(n,{metadata:()=>s,contentTitle:()=>l,default:()=>p,assets:()=>c,toc:()=>d,frontMatter:()=>i});var s=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-book-genre","title":"\uD83D\uDC50 Change genres in books","description":"We want to modify the MongoDB schema so that each book\'s genres are represented as an array of strings. We\'ll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often.","source":"@site/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-book-genre","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Clean book attributes up","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute"},"next":{"title":"\uD83D\uDC50 Add authors details to the books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors"}}'),t=o("5893"),a=o("65"),r=o("1424");let i={},l="\uD83D\uDC50 Change genres in books",c={},d=[];function h(e){let n={code:"code",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"-change-genres-in-books",children:"\uD83D\uDC50 Change genres in books"})}),"\n",(0,t.jsx)(n.p,{children:"We want to modify the MongoDB schema so that each book's genres are represented as an array of strings. We'll have data duplication, as genres will get copied on each book. This is a good strategy if the duplicated data does not change often."}),"\n",(0,t.jsx)(n.p,{children:"We'll go from the proposed array of objects:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'bookGenres: [\n {\n bookId: "Some Book Id",\n genres: "fiction"\n },\n {\n bookId: "Some Book Id",\n genres: "novel"\n }\n]\n'})}),"\n",(0,t.jsx)(n.p,{children:"to an array of primitive values"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'genres: [ "fiction", "novel" ]\n'})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["On the MongoDB diagram view, click the ",(0,t.jsx)(n.code,{children:"books"})," collection"]}),"\n",(0,t.jsxs)(n.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,t.jsx)(n.code,{children:"book_genre"})," embedded array"]}),"\n",(0,t.jsxs)(n.li,{children:["Change the field name from ",(0,t.jsx)(n.code,{children:"bookGenres"})," to ",(0,t.jsx)(n.code,{children:"genres"})]}),"\n",(0,t.jsxs)(n.li,{children:["Uncheck ",(0,t.jsx)(n.code,{children:"bookId"})]}),"\n",(0,t.jsxs)(n.li,{children:["In the advanced settings, check ",(0,t.jsx)(n.code,{children:"create array of primitive values"})]}),"\n",(0,t.jsxs)(n.li,{children:["Click ",(0,t.jsx)(n.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,t.jsx)(r.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/160-image-001.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},1424:function(e,n,o){o.d(n,{Z:()=>r});var s=o("5893");function t(e){let n=e.url||"http://localhost:3000";return(0,s.jsxs)("div",{className:"browser container",children:[(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"column left",children:[(0,s.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,s.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,s.jsx)("div",{className:"column middle",children:(0,s.jsx)("input",{type:"text",value:n})}),(0,s.jsx)("div",{className:"column right",children:(0,s.jsxs)("div",{style:{float:"right"},children:[(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"}),(0,s.jsx)("span",{className:"bar"})]})})]}),(0,s.jsx)("div",{className:"content",children:e.children})]})}o("7294");var a=o("4757");function r(e){return(0,s.jsx)(t,{...e,children:(0,s.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,n,o){o.d(n,{Z:function(){return i},a:function(){return r}});var s=o(7294);let t={},a=s.createContext(t);function r(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e148d250.a477a3e3.js b/assets/js/e148d250.a477a3e3.js deleted file mode 100644 index 09df251..0000000 --- a/assets/js/e148d250.a477a3e3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["634"],{5225:function(e,a,t){t.r(a),t.d(a,{metadata:()=>o,contentTitle:()=>s,default:()=>h,assets:()=>l,toc:()=>d,frontMatter:()=>i});var o=JSON.parse('{"id":"prerequisites/postgres","title":"\uD83D\uDC50 PostgreSQL Database","description":"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database.","source":"@site/docs/20-prerequisites/10-postgres.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/postgres","permalink":"/relational-migrator-lab/docs/prerequisites/postgres","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/10-postgres.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites"},"next":{"title":"\uD83D\uDC50 MongoDB Database","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb"}}'),r=t("5893"),n=t("65");t("4757");let i={sidebar_position:20},s="\uD83D\uDC50 PostgreSQL Database",l={},d=[{value:"Option 1: Use a pre-configured database",id:"option-1-use-a-pre-configured-database",level:3},{value:"Option 2: Load the schema and data into your own PostgreSQL server",id:"option-2-load-the-schema-and-data-into-your-own-postgresql-server",level:3},{value:"Option 3: Run a PostgreSQL container using Docker",id:"option-3-run-a-postgresql-container-using-docker",level:3},{value:"Option 4: Load an SQL file",id:"option-4-load-an-sql-file",level:3}];function c(e){let a={a:"a",code:"code",h1:"h1",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.header,{children:(0,r.jsx)(a.h1,{id:"-postgresql-database",children:"\uD83D\uDC50 PostgreSQL Database"})}),"\n",(0,r.jsx)(a.p,{children:"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database."}),"\n",(0,r.jsx)(a.h3,{id:"option-1-use-a-pre-configured-database",children:"Option 1: Use a pre-configured database"}),"\n",(0,r.jsx)(a.p,{children:"If you are participating in an instructor-led lab, they may have already set up this database for you. Ask your instructor for the\nconnection URI and credentials."}),"\n",(0,r.jsx)(a.h3,{id:"option-2-load-the-schema-and-data-into-your-own-postgresql-server",children:"Option 2: Load the schema and data into your own PostgreSQL server"}),"\n",(0,r.jsxs)(a.p,{children:["If you already have a PostgreSQL server set up, you can import the schema and data used in this lab. Download the file\n",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docker/sample-postgres-library/init/1-library-schema-and-data.sql",children:"1-library-schema-and-data.sql"}),"\nfile and load it using psql or ",(0,r.jsx)(a.a,{href:"https://www.pgadmin.org/download/",children:"pgAdmin"}),"."]}),"\n",(0,r.jsx)(a.h3,{id:"option-3-run-a-postgresql-container-using-docker",children:"Option 3: Run a PostgreSQL container using Docker"}),"\n",(0,r.jsx)(a.p,{children:"If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with\nPostgreSQL and the sample database:"}),"\n",(0,r.jsxs)(a.ol,{children:["\n",(0,r.jsxs)(a.li,{children:["Clone or download the code from this lab's ",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab",children:"Github repo"}),"."]}),"\n",(0,r.jsx)(a.li,{children:"Open a terminal window and navigate to the repo root"}),"\n",(0,r.jsx)(a.li,{children:"Build the Docker image by running the command:"}),"\n"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"docker build -f ./docker/sample-postgres-library/Dockerfile -t sample-postgres-library .\n"})}),"\n",(0,r.jsxs)(a.ol,{start:"4",children:["\n",(0,r.jsx)(a.li,{children:"Start the Docker container by running the command:"}),"\n"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"docker run -p 5432:5432 sample-postgres-library\n"})}),"\n",(0,r.jsxs)(a.p,{children:["The PostgreSQL server can be accessed at localhost:5432 with a username of ",(0,r.jsx)(a.code,{children:"postgres"})," and a password of ",(0,r.jsx)(a.code,{children:"postgres"}),"."]}),"\n",(0,r.jsx)(a.h3,{id:"option-4-load-an-sql-file",children:"Option 4: Load an SQL file"}),"\n",(0,r.jsxs)(a.p,{children:["Choose this option if you just want a quick hands-on experience and you don't need to run actual migration.\nDownload the file ",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/resource/library-schema.sql",children:"library-schema.sql"}),"\nand upload this file to the Relational Migrator later, at the ",(0,r.jsx)(a.strong,{children:"create a project"})," step."]}),"\n",(0,r.jsx)(a.p,{children:"This is just the schema of the database, without actual data, so, you will not be able to perform an actual migration since you do not have a source database. But you can model the schema and play around with the Relational Migrator."})]})}function h(e={}){let{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,r.jsx)(a,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},65:function(e,a,t){t.d(a,{Z:function(){return s},a:function(){return i}});var o=t(7294);let r={},n=o.createContext(r);function i(e){let a=o.useContext(n);return o.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function s(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(n.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e148d250.ec033eb7.js b/assets/js/e148d250.ec033eb7.js new file mode 100644 index 0000000..9c73a93 --- /dev/null +++ b/assets/js/e148d250.ec033eb7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["4634"],{5225:function(e,a,t){t.r(a),t.d(a,{metadata:()=>o,contentTitle:()=>s,default:()=>h,assets:()=>l,toc:()=>d,frontMatter:()=>i});var o=JSON.parse('{"id":"prerequisites/postgres","title":"\uD83D\uDC50 PostgreSQL Database","description":"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database.","source":"@site/docs/20-prerequisites/10-postgres.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/postgres","permalink":"/relational-migrator-lab/docs/prerequisites/postgres","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/10-postgres.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Prerequisites","permalink":"/relational-migrator-lab/docs/category/-prerequisites"},"next":{"title":"\uD83D\uDC50 MongoDB Database","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb"}}'),r=t("5893"),n=t("65");t("4757");let i={sidebar_position:20},s="\uD83D\uDC50 PostgreSQL Database",l={},d=[{value:"Option 1: Use a pre-configured database",id:"option-1-use-a-pre-configured-database",level:3},{value:"Option 2: Load the schema and data into your own PostgreSQL server",id:"option-2-load-the-schema-and-data-into-your-own-postgresql-server",level:3},{value:"Option 3: Run a PostgreSQL container using Docker",id:"option-3-run-a-postgresql-container-using-docker",level:3},{value:"Option 4: Load an SQL file",id:"option-4-load-an-sql-file",level:3}];function c(e){let a={a:"a",code:"code",h1:"h1",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.header,{children:(0,r.jsx)(a.h1,{id:"-postgresql-database",children:"\uD83D\uDC50 PostgreSQL Database"})}),"\n",(0,r.jsx)(a.p,{children:"In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database."}),"\n",(0,r.jsx)(a.h3,{id:"option-1-use-a-pre-configured-database",children:"Option 1: Use a pre-configured database"}),"\n",(0,r.jsx)(a.p,{children:"If you are participating in an instructor-led lab, they may have already set up this database for you. Ask your instructor for the\nconnection URI and credentials."}),"\n",(0,r.jsx)(a.h3,{id:"option-2-load-the-schema-and-data-into-your-own-postgresql-server",children:"Option 2: Load the schema and data into your own PostgreSQL server"}),"\n",(0,r.jsxs)(a.p,{children:["If you already have a PostgreSQL server set up, you can import the schema and data used in this lab. Download the file\n",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docker/sample-postgres-library/init/1-library-schema-and-data.sql",children:"1-library-schema-and-data.sql"}),"\nfile and load it using psql or ",(0,r.jsx)(a.a,{href:"https://www.pgadmin.org/download/",children:"pgAdmin"}),"."]}),"\n",(0,r.jsx)(a.h3,{id:"option-3-run-a-postgresql-container-using-docker",children:"Option 3: Run a PostgreSQL container using Docker"}),"\n",(0,r.jsx)(a.p,{children:"If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with\nPostgreSQL and the sample database:"}),"\n",(0,r.jsxs)(a.ol,{children:["\n",(0,r.jsxs)(a.li,{children:["Clone or download the code from this lab's ",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab",children:"Github repo"}),"."]}),"\n",(0,r.jsx)(a.li,{children:"Open a terminal window and navigate to the repo root"}),"\n",(0,r.jsx)(a.li,{children:"Build the Docker image by running the command:"}),"\n"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"docker build -f ./docker/sample-postgres-library/Dockerfile -t sample-postgres-library .\n"})}),"\n",(0,r.jsxs)(a.ol,{start:"4",children:["\n",(0,r.jsx)(a.li,{children:"Start the Docker container by running the command:"}),"\n"]}),"\n",(0,r.jsx)(a.pre,{children:(0,r.jsx)(a.code,{children:"docker run -p 5432:5432 sample-postgres-library\n"})}),"\n",(0,r.jsxs)(a.p,{children:["The PostgreSQL server can be accessed at localhost:5432 with a username of ",(0,r.jsx)(a.code,{children:"postgres"})," and a password of ",(0,r.jsx)(a.code,{children:"postgres"}),"."]}),"\n",(0,r.jsx)(a.h3,{id:"option-4-load-an-sql-file",children:"Option 4: Load an SQL file"}),"\n",(0,r.jsxs)(a.p,{children:["Choose this option if you just want a quick hands-on experience and you don't need to run actual migration.\nDownload the file ",(0,r.jsx)(a.a,{href:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/resource/library-schema.sql",children:"library-schema.sql"}),"\nand upload this file to the Relational Migrator later, at the ",(0,r.jsx)(a.strong,{children:"create a project"})," step."]}),"\n",(0,r.jsx)(a.p,{children:"This is just the schema of the database, without actual data, so, you will not be able to perform an actual migration since you do not have a source database. But you can model the schema and play around with the Relational Migrator."})]})}function h(e={}){let{wrapper:a}={...(0,n.a)(),...e.components};return a?(0,r.jsx)(a,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},65:function(e,a,t){t.d(a,{Z:function(){return s},a:function(){return i}});var o=t(7294);let r={},n=o.createContext(r);function i(e){let a=o.useContext(n);return o.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function s(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(n.Provider,{value:a},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e40ac3a5.7ec40d10.js b/assets/js/e40ac3a5.7ec40d10.js new file mode 100644 index 0000000..fa1905e --- /dev/null +++ b/assets/js/e40ac3a5.7ec40d10.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["7242"],{5478:function(e,o,n){n.r(o),n.d(o,{metadata:()=>t,contentTitle:()=>s,default:()=>d,assets:()=>l,toc:()=>c,frontMatter:()=>i});var t=JSON.parse('{"id":"prerequisites/mongodb","title":"\uD83D\uDC50 MongoDB Database","description":"As we\'ll be importing data from a Relational Database into MongoDB, you\'ll need to have a MongoDB database. You have a","source":"@site/docs/20-prerequisites/20-mongodb.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/mongodb","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/20-mongodb.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 PostgreSQL Database","permalink":"/relational-migrator-lab/docs/prerequisites/postgres"},"next":{"title":"\uD83D\uDC50 MongoDB Relational Migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator"}}'),a=n("5893"),r=n("65");n("4757");let i={sidebar_position:20},s="\uD83D\uDC50 MongoDB Database",l={},c=[{value:"Option 1: New MongoDB Atlas cluster",id:"option-1-new-mongodb-atlas-cluster",level:3},{value:"Option 2: Use an existing cluster",id:"option-2-use-an-existing-cluster",level:3},{value:"Option 3: Run a MongoDB container using Docker",id:"option-3-run-a-mongodb-container-using-docker",level:3}];function u(e){let o={a:"a",code:"code",h1:"h1",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.header,{children:(0,a.jsx)(o.h1,{id:"-mongodb-database",children:"\uD83D\uDC50 MongoDB Database"})}),"\n",(0,a.jsx)(o.p,{children:"As we'll be importing data from a Relational Database into MongoDB, you'll need to have a MongoDB database. You have a\nfew options to set up this database."}),"\n",(0,a.jsx)(o.h3,{id:"option-1-new-mongodb-atlas-cluster",children:"Option 1: New MongoDB Atlas cluster"}),"\n",(0,a.jsx)(o.p,{children:"The easiest way to run MongoDB is to use MongoDB Atlas, our cloud-hosted database offering.\nYou can set a MongoDB Atlas account and a free forever M0 Cluster."}),"\n",(0,a.jsxs)(o.p,{children:["To get yours, follow the instructions on the ",(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/what-is-mongodb",children:"Intro Lab:"})]}),"\n",(0,a.jsxs)(o.ul,{children:["\n",(0,a.jsx)(o.li,{children:(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-account",children:"Create your Account"})}),"\n",(0,a.jsx)(o.li,{children:(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-cluster",children:"Deploy a Database Cluster"})}),"\n"]}),"\n",(0,a.jsxs)(o.p,{children:["Be sure to ",(0,a.jsx)(o.a,{href:"https://www.mongodb.com/docs/guides/atlas/network-connections/#overview",children:"open up the cluster to allow connections from your local computer"}),", and configure a database user with the readWriteAnyDatabase role."]}),"\n",(0,a.jsx)(o.h3,{id:"option-2-use-an-existing-cluster",children:"Option 2: Use an existing cluster"}),"\n",(0,a.jsx)(o.p,{children:"If you have an existing MongoDB Atlas, Enterprise or Community cluster, you can use it as the migration target. Make sure you\nknow the URI for the cluster, and have a database user with the readWriteAnyDatabase role."}),"\n",(0,a.jsx)(o.h3,{id:"option-3-run-a-mongodb-container-using-docker",children:"Option 3: Run a MongoDB container using Docker"}),"\n",(0,a.jsx)(o.p,{children:"If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with\nMongoDB by running the following command:"}),"\n",(0,a.jsx)(o.pre,{children:(0,a.jsx)(o.code,{children:"docker run -p 27017:27017 mongo\n"})}),"\n",(0,a.jsx)(o.p,{children:"This will launch an empty MongoDB community cluster on localhost:27017, suitable to use for this lab.\nYou can connect with no username or password. Since this command does not use Docker volumes, any data will be lost when the container is stopped."})]})}function d(e={}){let{wrapper:o}={...(0,r.a)(),...e.components};return o?(0,a.jsx)(o,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},65:function(e,o,n){n.d(o,{Z:function(){return s},a:function(){return i}});var t=n(7294);let a={},r=t.createContext(a);function i(e){let o=t.useContext(r);return t.useMemo(function(){return"function"==typeof e?e(o):{...o,...e}},[o,e])}function s(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e40ac3a5.e70c6e18.js b/assets/js/e40ac3a5.e70c6e18.js deleted file mode 100644 index 9cd19c7..0000000 --- a/assets/js/e40ac3a5.e70c6e18.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["242"],{5478:function(e,o,n){n.r(o),n.d(o,{metadata:()=>t,contentTitle:()=>s,default:()=>d,assets:()=>l,toc:()=>c,frontMatter:()=>i});var t=JSON.parse('{"id":"prerequisites/mongodb","title":"\uD83D\uDC50 MongoDB Database","description":"As we\'ll be importing data from a Relational Database into MongoDB, you\'ll need to have a MongoDB database. You have a","source":"@site/docs/20-prerequisites/20-mongodb.mdx","sourceDirName":"20-prerequisites","slug":"/prerequisites/mongodb","permalink":"/relational-migrator-lab/docs/prerequisites/mongodb","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/20-prerequisites/20-mongodb.mdx","tags":[],"version":"current","sidebarPosition":20,"frontMatter":{"sidebar_position":20},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 PostgreSQL Database","permalink":"/relational-migrator-lab/docs/prerequisites/postgres"},"next":{"title":"\uD83D\uDC50 MongoDB Relational Migrator","permalink":"/relational-migrator-lab/docs/prerequisites/relational-migrator"}}'),a=n("5893"),r=n("65");n("4757");let i={sidebar_position:20},s="\uD83D\uDC50 MongoDB Database",l={},c=[{value:"Option 1: New MongoDB Atlas cluster",id:"option-1-new-mongodb-atlas-cluster",level:3},{value:"Option 2: Use an existing cluster",id:"option-2-use-an-existing-cluster",level:3},{value:"Option 3: Run a MongoDB container using Docker",id:"option-3-run-a-mongodb-container-using-docker",level:3}];function u(e){let o={a:"a",code:"code",h1:"h1",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.header,{children:(0,a.jsx)(o.h1,{id:"-mongodb-database",children:"\uD83D\uDC50 MongoDB Database"})}),"\n",(0,a.jsx)(o.p,{children:"As we'll be importing data from a Relational Database into MongoDB, you'll need to have a MongoDB database. You have a\nfew options to set up this database."}),"\n",(0,a.jsx)(o.h3,{id:"option-1-new-mongodb-atlas-cluster",children:"Option 1: New MongoDB Atlas cluster"}),"\n",(0,a.jsx)(o.p,{children:"The easiest way to run MongoDB is to use MongoDB Atlas, our cloud-hosted database offering.\nYou can set a MongoDB Atlas account and a free forever M0 Cluster."}),"\n",(0,a.jsxs)(o.p,{children:["To get yours, follow the instructions on the ",(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/what-is-mongodb",children:"Intro Lab:"})]}),"\n",(0,a.jsxs)(o.ul,{children:["\n",(0,a.jsx)(o.li,{children:(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-account",children:"Create your Account"})}),"\n",(0,a.jsx)(o.li,{children:(0,a.jsx)(o.a,{href:"https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-cluster",children:"Deploy a Database Cluster"})}),"\n"]}),"\n",(0,a.jsxs)(o.p,{children:["Be sure to ",(0,a.jsx)(o.a,{href:"https://www.mongodb.com/docs/guides/atlas/network-connections/#overview",children:"open up the cluster to allow connections from your local computer"}),", and configure a database user with the readWriteAnyDatabase role."]}),"\n",(0,a.jsx)(o.h3,{id:"option-2-use-an-existing-cluster",children:"Option 2: Use an existing cluster"}),"\n",(0,a.jsx)(o.p,{children:"If you have an existing MongoDB Atlas, Enterprise or Community cluster, you can use it as the migration target. Make sure you\nknow the URI for the cluster, and have a database user with the readWriteAnyDatabase role."}),"\n",(0,a.jsx)(o.h3,{id:"option-3-run-a-mongodb-container-using-docker",children:"Option 3: Run a MongoDB container using Docker"}),"\n",(0,a.jsx)(o.p,{children:"If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with\nMongoDB by running the following command:"}),"\n",(0,a.jsx)(o.pre,{children:(0,a.jsx)(o.code,{children:"docker run -p 27017:27017 mongo\n"})}),"\n",(0,a.jsx)(o.p,{children:"This will launch an empty MongoDB community cluster on localhost:27017, suitable to use for this lab.\nYou can connect with no username or password. Since this command does not use Docker volumes, any data will be lost when the container is stopped."})]})}function d(e={}){let{wrapper:o}={...(0,r.a)(),...e.components};return o?(0,a.jsx)(o,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},65:function(e,o,n){n.d(o,{Z:function(){return s},a:function(){return i}});var t=n(7294);let a={},r=t.createContext(a);function i(e){let o=t.useContext(r);return t.useMemo(function(){return"function"==typeof e?e(o):{...o,...e}},[o,e])}function s(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f23a4092.d77563e3.js b/assets/js/f23a4092.d77563e3.js new file mode 100644 index 0000000..aa235f4 --- /dev/null +++ b/assets/js/f23a4092.d77563e3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["1797"],{4248:function(e,r,n){n.r(r),n.d(r,{metadata:()=>t,contentTitle:()=>c,default:()=>p,assets:()=>l,toc:()=>d,frontMatter:()=>i});var t=JSON.parse('{"id":"Generate code/convert-sprocs","title":"\uD83D\uDC50 Convert Views and Stored Procedures","description":"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped","source":"@site/docs/100-Generate code/30-convert-sprocs.mdx","sourceDirName":"100-Generate code","slug":"/Generate code/convert-sprocs","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/100-Generate code/30-convert-sprocs.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Convert SQL queries","permalink":"/relational-migrator-lab/docs/Generate code/convert-queries"},"next":{"title":"\uD83D\uDC50 Run a Snapshot Migration Job","permalink":"/relational-migrator-lab/docs/Migrate Data/migration"}}'),o=n("5893"),a=n("65"),s=n("1424");let i={},c="\uD83D\uDC50 Convert Views and Stored Procedures",l={},d=[];function u(e){let r={h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.header,{children:(0,o.jsx)(r.h1,{id:"-convert-views-and-stored-procedures",children:"\uD83D\uDC50 Convert Views and Stored Procedures"})}),"\n",(0,o.jsx)(r.p,{children:"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped\nin your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity."}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsx)(r.li,{children:"If needed, open Query Converter and sign in with your Atlas account"}),"\n",(0,o.jsx)(r.li,{children:"Click Manage database objects"}),"\n",(0,o.jsx)(r.li,{children:"Enter the details for your PostgreSQL server and click Connect"}),"\n",(0,o.jsx)(r.li,{children:"Check all discovered Views and Stored Procedures and click Save"}),"\n",(0,o.jsx)(r.li,{children:"Click one of the imported views or stored procedures"}),"\n",(0,o.jsx)(r.li,{children:"Select your preferred programming language and click Convert."}),"\n"]}),"\n",(0,o.jsx)(r.p,{children:"After a while, the equivalent MongoDB query will be shown at the right of the page. Try some other queries and langauges!"}),"\n",(0,o.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/convert-sprocs.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:r}={...(0,a.a)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1424:function(e,r,n){n.d(r,{Z:()=>s});var t=n("5893");function o(e){let r=e.url||"http://localhost:3000";return(0,t.jsxs)("div",{className:"browser container",children:[(0,t.jsxs)("div",{className:"row",children:[(0,t.jsxs)("div",{className:"column left",children:[(0,t.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,t.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,t.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,t.jsx)("div",{className:"column middle",children:(0,t.jsx)("input",{type:"text",value:r})}),(0,t.jsx)("div",{className:"column right",children:(0,t.jsxs)("div",{style:{float:"right"},children:[(0,t.jsx)("span",{className:"bar"}),(0,t.jsx)("span",{className:"bar"}),(0,t.jsx)("span",{className:"bar"})]})})]}),(0,t.jsx)("div",{className:"content",children:e.children})]})}n("7294");var a=n("4757");function s(e){return(0,t.jsx)(o,{...e,children:(0,t.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,r,n){n.d(r,{Z:function(){return i},a:function(){return s}});var t=n(7294);let o={},a=t.createContext(o);function s(e){let r=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),t.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f23a4092.da5b22e5.js b/assets/js/f23a4092.da5b22e5.js deleted file mode 100644 index 13200a9..0000000 --- a/assets/js/f23a4092.da5b22e5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["797"],{4248:function(e,r,n){n.r(r),n.d(r,{metadata:()=>t,contentTitle:()=>c,default:()=>p,assets:()=>l,toc:()=>d,frontMatter:()=>i});var t=JSON.parse('{"id":"Generate code/convert-sprocs","title":"\uD83D\uDC50 Convert Views and Stored Procedures","description":"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped","source":"@site/docs/100-Generate code/30-convert-sprocs.mdx","sourceDirName":"100-Generate code","slug":"/Generate code/convert-sprocs","permalink":"/relational-migrator-lab/docs/Generate code/convert-sprocs","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/100-Generate code/30-convert-sprocs.mdx","tags":[],"version":"current","sidebarPosition":30,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Convert SQL queries","permalink":"/relational-migrator-lab/docs/Generate code/convert-queries"},"next":{"title":"\uD83D\uDC50 Run a Snapshot Migration Job","permalink":"/relational-migrator-lab/docs/Migrate Data/migration"}}'),o=n("5893"),a=n("65"),s=n("1424");let i={},c="\uD83D\uDC50 Convert Views and Stored Procedures",l={},d=[];function u(e){let r={h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.header,{children:(0,o.jsx)(r.h1,{id:"-convert-views-and-stored-procedures",children:"\uD83D\uDC50 Convert Views and Stored Procedures"})}),"\n",(0,o.jsx)(r.p,{children:"Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped\nin your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity."}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsx)(r.li,{children:"If needed, open Query Converter and sign in with your Atlas account"}),"\n",(0,o.jsx)(r.li,{children:"Click Manage database objects"}),"\n",(0,o.jsx)(r.li,{children:"Enter the details for your PostgreSQL server and click Connect"}),"\n",(0,o.jsx)(r.li,{children:"Check all discovered Views and Stored Procedures and click Save"}),"\n",(0,o.jsx)(r.li,{children:"Click one of the imported views or stored procedures"}),"\n",(0,o.jsx)(r.li,{children:"Select your preferred programming language and click Convert."}),"\n"]}),"\n",(0,o.jsx)(r.p,{children:"After a while, the equivalent MongoDB query will be shown at the right of the page. Try some other queries and langauges!"}),"\n",(0,o.jsx)(s.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/convert-sprocs.png",alt:"Screenshot of the connect modal"})]})}function p(e={}){let{wrapper:r}={...(0,a.a)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1424:function(e,r,n){n.d(r,{Z:()=>s});var t=n("5893");function o(e){let r=e.url||"http://localhost:3000";return(0,t.jsxs)("div",{className:"browser container",children:[(0,t.jsxs)("div",{className:"row",children:[(0,t.jsxs)("div",{className:"column left",children:[(0,t.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,t.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,t.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,t.jsx)("div",{className:"column middle",children:(0,t.jsx)("input",{type:"text",value:r})}),(0,t.jsx)("div",{className:"column right",children:(0,t.jsxs)("div",{style:{float:"right"},children:[(0,t.jsx)("span",{className:"bar"}),(0,t.jsx)("span",{className:"bar"}),(0,t.jsx)("span",{className:"bar"})]})})]}),(0,t.jsx)("div",{className:"content",children:e.children})]})}n("7294");var a=n("4757");function s(e){return(0,t.jsx)(o,{...e,children:(0,t.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,r,n){n.d(r,{Z:function(){return i},a:function(){return s}});var t=n(7294);let o={},a=t.createContext(o);function s(e){let r=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),t.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f27e22bc.bd26e67e.js b/assets/js/f27e22bc.bd26e67e.js new file mode 100644 index 0000000..9393cdf --- /dev/null +++ b/assets/js/f27e22bc.bd26e67e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["8520"],{6608:function(e,t,n){n.r(t),n.d(t,{metadata:()=>o,contentTitle:()=>i,default:()=>g,assets:()=>c,toc:()=>d,frontMatter:()=>l});var o=JSON.parse('{"id":"toggle-view","title":"\uD83D\uDC50 Toggle View","description":"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time.","source":"@site/docs/70-toggle-view.mdx","sourceDirName":".","slug":"/toggle-view","permalink":"/relational-migrator-lab/docs/toggle-view","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/70-toggle-view.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Project Settings","permalink":"/relational-migrator-lab/docs/project-settings"},"next":{"title":"\uD83D\uDC50 Edit Mapping Rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules"}}'),r=n("5893"),s=n("65"),a=n("1424");let l={},i="\uD83D\uDC50 Toggle View",c={},d=[];function m(e){let t={h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"-toggle-view",children:"\uD83D\uDC50 Toggle View"})}),"\n",(0,r.jsx)(t.p,{children:"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time."}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/100-image-000.png",alt:"We can toggle between MDB, relational or both views"}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/100-image-001.png",alt:"Screenshot of the connect modal"})]})}function g(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var o=n("5893");function r(e){let t=e.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:t})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function a(e){return(0,o.jsx)(r,{...e,children:(0,o.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return l},a:function(){return a}});var o=n(7294);let r={},s=o.createContext(r);function a(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f27e22bc.cb5b860a.js b/assets/js/f27e22bc.cb5b860a.js deleted file mode 100644 index 3ad117a..0000000 --- a/assets/js/f27e22bc.cb5b860a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["520"],{6608:function(e,t,n){n.r(t),n.d(t,{metadata:()=>o,contentTitle:()=>i,default:()=>g,assets:()=>c,toc:()=>d,frontMatter:()=>l});var o=JSON.parse('{"id":"toggle-view","title":"\uD83D\uDC50 Toggle View","description":"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time.","source":"@site/docs/70-toggle-view.mdx","sourceDirName":".","slug":"/toggle-view","permalink":"/relational-migrator-lab/docs/toggle-view","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/70-toggle-view.mdx","tags":[],"version":"current","sidebarPosition":70,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Project Settings","permalink":"/relational-migrator-lab/docs/project-settings"},"next":{"title":"\uD83D\uDC50 Edit Mapping Rules","permalink":"/relational-migrator-lab/docs/category/-edit-mapping-rules"}}'),r=n("5893"),s=n("65"),a=n("1424");let l={},i="\uD83D\uDC50 Toggle View",c={},d=[];function m(e){let t={h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"-toggle-view",children:"\uD83D\uDC50 Toggle View"})}),"\n",(0,r.jsx)(t.p,{children:"At the bottom left, toggle between different views. We should be looking at the MDB view most of the time."}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/100-image-000.png",alt:"We can toggle between MDB, relational or both views"}),"\n",(0,r.jsx)(a.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/100-image-001.png",alt:"Screenshot of the connect modal"})]})}function g(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}},1424:function(e,t,n){n.d(t,{Z:()=>a});var o=n("5893");function r(e){let t=e.url||"http://localhost:3000";return(0,o.jsxs)("div",{className:"browser container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"column left",children:[(0,o.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,o.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,o.jsx)("div",{className:"column middle",children:(0,o.jsx)("input",{type:"text",value:t})}),(0,o.jsx)("div",{className:"column right",children:(0,o.jsxs)("div",{style:{float:"right"},children:[(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"}),(0,o.jsx)("span",{className:"bar"})]})})]}),(0,o.jsx)("div",{className:"content",children:e.children})]})}n("7294");var s=n("4757");function a(e){return(0,o.jsx)(r,{...e,children:(0,o.jsx)("img",{src:(0,s.ZP)(e.src),alt:e.alt})})}},65:function(e,t,n){n.d(t,{Z:function(){return l},a:function(){return a}});var o=n(7294);let r={},s=o.createContext(r);function a(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f916d966.067fc970.js b/assets/js/f916d966.067fc970.js new file mode 100644 index 0000000..5507966 --- /dev/null +++ b/assets/js/f916d966.067fc970.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["8605"],{5484:function(e,t,a){a.r(t),a.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>h,assets:()=>i,toc:()=>d,frontMatter:()=>c});var n=JSON.parse('{"id":"create-project/connect-database","title":"\uD83D\uDC50 Connect to the Database","description":"Select PostgreSQL as Database Type","source":"@site/docs/50-create-project/60-connect-database.mdx","sourceDirName":"50-create-project","slug":"/create-project/connect-database","permalink":"/relational-migrator-lab/docs/create-project/connect-database","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/60-connect-database.mdx","tags":[],"version":"current","sidebarPosition":60,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Creating a New Project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project"},"next":{"title":"\uD83D\uDC50 Select Tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables"}}'),s=a("5893"),r=a("65"),o=a("1424");let c={},l="\uD83D\uDC50 Connect to the Database",i={},d=[{value:"Select PostgreSQL as Database Type",id:"select-postgresql-as-database-type",level:2},{value:"Enter connection details",id:"enter-connection-details",level:2}];function u(e){let t={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-connect-to-the-database",children:"\uD83D\uDC50 Connect to the Database"})}),"\n",(0,s.jsx)(t.h2,{id:"select-postgresql-as-database-type",children:"Select PostgreSQL as Database Type"}),"\n",(0,s.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/60-image-000.png",alt:"Selecting PostgreSQL as Database"}),"\n",(0,s.jsx)(t.h2,{id:"enter-connection-details",children:"Enter connection details"}),"\n",(0,s.jsx)(t.p,{children:"Enter the details for the PostgreSQL database you will be migrating from."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["If your instructors have configured a server for you to use, ask them for the host name, username and password. It's important to click on the ",(0,s.jsx)(t.code,{children:"SSL"})," tab and active SSL."]}),"\n",(0,s.jsxs)(t.li,{children:["If you followed the steps to configure PostgreSQL in a docker container, the hostname will be ",(0,s.jsx)(t.code,{children:"localhost"}),", username ",(0,s.jsx)(t.code,{children:"postgres"})," and password ",(0,s.jsx)(t.code,{children:"postgres"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.code,{children:"Test Connection"})," to ensure your details are correct."]}),"\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.code,{children:"Connect"})," to proceed to the next step."]}),"\n",(0,s.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/60-image-001.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1424:function(e,t,a){a.d(t,{Z:()=>o});var n=a("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}a("7294");var r=a("4757");function o(e){return(0,n.jsx)(s,{...e,children:(0,n.jsx)("img",{src:(0,r.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return c},a:function(){return o}});var n=a(7294);let s={},r=n.createContext(s);function o(e){let t=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f916d966.25877a61.js b/assets/js/f916d966.25877a61.js deleted file mode 100644 index 61cf430..0000000 --- a/assets/js/f916d966.25877a61.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["605"],{5484:function(e,t,a){a.r(t),a.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>h,assets:()=>i,toc:()=>d,frontMatter:()=>c});var n=JSON.parse('{"id":"create-project/connect-database","title":"\uD83D\uDC50 Connect to the Database","description":"Select PostgreSQL as Database Type","source":"@site/docs/50-create-project/60-connect-database.mdx","sourceDirName":"50-create-project","slug":"/create-project/connect-database","permalink":"/relational-migrator-lab/docs/create-project/connect-database","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/50-create-project/60-connect-database.mdx","tags":[],"version":"current","sidebarPosition":60,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Creating a New Project","permalink":"/relational-migrator-lab/docs/create-project/create-new-project"},"next":{"title":"\uD83D\uDC50 Select Tables","permalink":"/relational-migrator-lab/docs/create-project/select-tables"}}'),s=a("5893"),r=a("65"),o=a("1424");let c={},l="\uD83D\uDC50 Connect to the Database",i={},d=[{value:"Select PostgreSQL as Database Type",id:"select-postgresql-as-database-type",level:2},{value:"Enter connection details",id:"enter-connection-details",level:2}];function u(e){let t={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-connect-to-the-database",children:"\uD83D\uDC50 Connect to the Database"})}),"\n",(0,s.jsx)(t.h2,{id:"select-postgresql-as-database-type",children:"Select PostgreSQL as Database Type"}),"\n",(0,s.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/60-image-000.png",alt:"Selecting PostgreSQL as Database"}),"\n",(0,s.jsx)(t.h2,{id:"enter-connection-details",children:"Enter connection details"}),"\n",(0,s.jsx)(t.p,{children:"Enter the details for the PostgreSQL database you will be migrating from."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["If your instructors have configured a server for you to use, ask them for the host name, username and password. It's important to click on the ",(0,s.jsx)(t.code,{children:"SSL"})," tab and active SSL."]}),"\n",(0,s.jsxs)(t.li,{children:["If you followed the steps to configure PostgreSQL in a docker container, the hostname will be ",(0,s.jsx)(t.code,{children:"localhost"}),", username ",(0,s.jsx)(t.code,{children:"postgres"})," and password ",(0,s.jsx)(t.code,{children:"postgres"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.code,{children:"Test Connection"})," to ensure your details are correct."]}),"\n",(0,s.jsxs)(t.p,{children:["Click ",(0,s.jsx)(t.code,{children:"Connect"})," to proceed to the next step."]}),"\n",(0,s.jsx)(o.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/60-image-001.png",alt:"Screenshot of the connect modal"})]})}function h(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1424:function(e,t,a){a.d(t,{Z:()=>o});var n=a("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}a("7294");var r=a("4757");function o(e){return(0,n.jsx)(s,{...e,children:(0,n.jsx)("img",{src:(0,r.ZP)(e.src),alt:e.alt})})}},65:function(e,t,a){a.d(t,{Z:function(){return c},a:function(){return o}});var n=a(7294);let s={},r=n.createContext(s);function o(e){let t=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fc293e63.13a5de96.js b/assets/js/fc293e63.13a5de96.js new file mode 100644 index 0000000..4982db4 --- /dev/null +++ b/assets/js/fc293e63.13a5de96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["2339"],{1473:function(e,t,o){o.r(t),o.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>d,toc:()=>c,frontMatter:()=>r});var n=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-author-book","title":"\uD83D\uDC50 Remove unused ids from author details in books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","source":"@site/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-author-book","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx","tags":[],"version":"current","sidebarPosition":40,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Add authors details to the books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors"},"next":{"title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews"}}'),s=o("5893"),a=o("65"),i=o("1424");let r={},l="\uD83D\uDC50 Remove unused ids from author details in books collection",d={},c=[];function h(e){let t={a:"a",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-remove-unused-ids-from-author-details-in-books-collection",children:"\uD83D\uDC50 Remove unused ids from author details in books collection"})}),"\n",(0,s.jsx)(t.p,{children:"We want to modify the MongoDB schema so that each book contains an array of its authors.\nIn this step we will remove the redundant ID fields from the join table."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,s.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,s.jsx)(t.code,{children:"author_book"})]}),"\n",(0,s.jsxs)(t.li,{children:["Edit the field name from ",(0,s.jsx)(t.code,{children:"authorBooks"})," to just ",(0,s.jsx)(t.code,{children:"authors"})]}),"\n",(0,s.jsxs)(t.li,{children:["In the list of fields, uncheck ",(0,s.jsx)(t.code,{children:"authorId"})," and ",(0,s.jsx)(t.code,{children:"bookId"}),", leaving all fields unchecked."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["What we have now is an implementation of the ",(0,s.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended reference pattern"})]}),"\n",(0,s.jsx)(i.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/140-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1424:function(e,t,o){o.d(t,{Z:()=>i});var n=o("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}o("7294");var a=o("4757");function i(e){return(0,n.jsx)(s,{...e,children:(0,n.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,t,o){o.d(t,{Z:function(){return r},a:function(){return i}});var n=o(7294);let s={},a=n.createContext(s);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fc293e63.7eabf2a3.js b/assets/js/fc293e63.7eabf2a3.js deleted file mode 100644 index 11489ec..0000000 --- a/assets/js/fc293e63.7eabf2a3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["339"],{1473:function(e,t,o){o.r(t),o.d(t,{metadata:()=>n,contentTitle:()=>l,default:()=>u,assets:()=>d,toc:()=>c,frontMatter:()=>r});var n=JSON.parse('{"id":"edit-mapping-rules/edit-mapping-books-author-book","title":"\uD83D\uDC50 Remove unused ids from author details in books collection","description":"We want to modify the MongoDB schema so that each book contains an array of its authors.","source":"@site/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx","sourceDirName":"80-edit-mapping-rules","slug":"/edit-mapping-rules/edit-mapping-books-author-book","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","draft":false,"unlisted":false,"editUrl":"https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx","tags":[],"version":"current","sidebarPosition":40,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\uD83D\uDC50 Add authors details to the books collection","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors"},"next":{"title":"\uD83D\uDC50 Add last three reviews to each book (from reviews table)","permalink":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews"}}'),s=o("5893"),a=o("65"),i=o("1424");let r={},l="\uD83D\uDC50 Remove unused ids from author details in books collection",d={},c=[];function h(e){let t={a:"a",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"-remove-unused-ids-from-author-details-in-books-collection",children:"\uD83D\uDC50 Remove unused ids from author details in books collection"})}),"\n",(0,s.jsx)(t.p,{children:"We want to modify the MongoDB schema so that each book contains an array of its authors.\nIn this step we will remove the redundant ID fields from the join table."}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:["On the MongoDB diagram view, click the ",(0,s.jsx)(t.code,{children:"books"})," collection"]}),"\n",(0,s.jsxs)(t.li,{children:["On the relational mappings list on the right, click on the edit icon of ",(0,s.jsx)(t.code,{children:"author_book"})]}),"\n",(0,s.jsxs)(t.li,{children:["Edit the field name from ",(0,s.jsx)(t.code,{children:"authorBooks"})," to just ",(0,s.jsx)(t.code,{children:"authors"})]}),"\n",(0,s.jsxs)(t.li,{children:["In the list of fields, uncheck ",(0,s.jsx)(t.code,{children:"authorId"})," and ",(0,s.jsx)(t.code,{children:"bookId"}),", leaving all fields unchecked."]}),"\n",(0,s.jsxs)(t.li,{children:["Click ",(0,s.jsx)(t.code,{children:"Save and close"})]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["What we have now is an implementation of the ",(0,s.jsx)(t.a,{href:"https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern",children:"Extended reference pattern"})]}),"\n",(0,s.jsx)(i.Z,{url:"https://www.mongodb.com/products/tools/relational-migrator",src:"img/140-image-001.png",alt:"Screenshot of the connect modal"})]})}function u(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1424:function(e,t,o){o.d(t,{Z:()=>i});var n=o("5893");function s(e){let t=e.url||"http://localhost:3000";return(0,n.jsxs)("div",{className:"browser container",children:[(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:"column left",children:[(0,n.jsx)("span",{className:"dot",style:{background:"#ED594A"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#FDD800"}}),(0,n.jsx)("span",{className:"dot",style:{background:"#5AC05A"}})]}),(0,n.jsx)("div",{className:"column middle",children:(0,n.jsx)("input",{type:"text",value:t})}),(0,n.jsx)("div",{className:"column right",children:(0,n.jsxs)("div",{style:{float:"right"},children:[(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"}),(0,n.jsx)("span",{className:"bar"})]})})]}),(0,n.jsx)("div",{className:"content",children:e.children})]})}o("7294");var a=o("4757");function i(e){return(0,n.jsx)(s,{...e,children:(0,n.jsx)("img",{src:(0,a.ZP)(e.src),alt:e.alt})})}},65:function(e,t,o){o.d(t,{Z:function(){return r},a:function(){return i}});var n=o(7294);let s={},a=n.createContext(s);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.35a107c3.js b/assets/js/main.35a107c3.js new file mode 100644 index 0000000..bd2c7f1 --- /dev/null +++ b/assets/js/main.35a107c3.js @@ -0,0 +1,36 @@ +(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["6909"],{3601:function(e,t,n){"use strict";n.r(t)},7686:function(e,t,n){"use strict";n.r(t)},6010:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="";n j,Ep:()=>f,lX:()=>w,q_:()=>C,ob:()=>p});var r=n("6019");function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");u&&""!==i[0]&&(!i[0]||!a(i[0]))&&i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n("1835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;if("string"==typeof e){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}else void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t);try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:!o.pathname&&(o.pathname="/"),o}function g(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),y.location);u.confirmTransitionTo(a,r,n,function(e){e&&(y.entries[y.index]=a,c({action:r,location:a}))})},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=y.index+e;return t>=0&&t 1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=void 0,t=[];return void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):e=Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:e=[],e.forEach(function(e){var n=t.filter(function(t){return t.contains(e)}).length>0;-1===t.indexOf(e)&&!n&&t.push(e)}),t}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{!r.isIframeBlank(e)&&(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){!--r&&t()})},function(e){!e&&t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};!l&&u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1!==a&&!o&&(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){!e.handled&&a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;for(;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;!i&&a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;if(!!this.opt.debug)(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+("("+this.processSynomyms(i))+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];){if(!!n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s '};function o(e,t,n){return en?n:e}function i(e){return(-1+e)*100}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,a.minimum,1),r.status=1===e?null:e;var n=r.render(!t),i=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,l(function(t){""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),s(i,function(e,t,n){var r;if("translate3d"===a.positionUsing)r={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===a.positionUsing)r={transform:"translate("+(-1+e)*100+"%,0)"};else r={"margin-left":(-1+e)*100+"%"};return r.transition="all "+t+"ms "+n,r}(e,u,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){!r.status&&r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":function(e){return(-1+e)*100}(r.status||0),l=document.querySelector(a.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){r=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(n))}(r),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;!u(n,t)&&(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(n):e.exports=n()},4779:function(e,t,n){var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c=n[0],d=n[1],f=n.index;if(l+=e.slice(i,f),i=f+c.length,d){l+=d[1];continue}var p=e[i],g=n[2],m=n[3],h=n[4],b=n[5],y=n[6],v=n[7];l&&(r.push(l),l="");var w=null!=g&&null!=p&&p!==g,k="+"===y||"*"===y,x="?"===y||"*"===y,S=n[2]||u,E=h||b;r.push({name:m||o++,prefix:g||"",delimiter:S,optional:x,repeat:k,partial:w,asterisk:!!v,pattern:E?function(e){return e.replace(/([=!:$\/()])/g,"\\$1")}(E):v?".*":"[^"+s(S)+"]+?"})}return i ]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin},6854:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&!!n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s =o.length);s++){;var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),g=f.indexOf(p);if(g>-1){++a;var m=f.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(g+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(h),b&&y.push.apply(y,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},6862:function(){var e;(e=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}},874:function(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source)+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},2096:function(e,t,n){var r={"./prism-kotlin":"2334","./prism-powershell":"6862","./prism-swift":"874"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="2096"},2703:function(e,t,n){"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:function(e,t,n){"use strict";var r,a,o,i,l,s,u=n(7294),c=n(3840);function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n t}return!1})(t,n,o,r)&&(n=null),r||null===o?(a=t,(!!b.call(w,a)||!b.call(v,a)&&(y.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)))}}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){x[e]=new k(e,1,!1,e.toLowerCase(),null,!1,!1)}),x.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){x[e]=new k(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var U,Z=Object.assign;function H(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var W=!1;function V(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes(" ")&&(s=s.replace(" ",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ea=Array.isArray;function eo(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a "+t.valueOf().toString()+"",t=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ef(e,t,n,r)})}:ef);function em(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var eh={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eb=["Webkit","ms","Moz","O"];function ey(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eh.hasOwnProperty(e)&&eh[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ey(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(eh).forEach(function(e){eb.forEach(function(t){eh[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eh[e]})});var ew=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ek(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ex(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eS=null;function eE(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var e_=null,eC=null,eT=null;function ej(e){if(e=rF(e)){if("function"!=typeof e_)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),e_(e.stateNode,e.type,t))}}function eN(e){eC?eT?eT.push(e):eT=[e]:eC=e}function eP(){if(eC){var e=eC,t=eT;if(eT=eC=null,ej(e),t)for(e=0;e >>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tn=4194304;function tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function ta(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=0xfffffff&n;if(0!==i){var l=i&~a;0!==l?r=tr(l):0!=(o&=i)&&(r=tr(o))}else 0!=(i=n&~a)?r=tr(i):0!==o&&(r=tr(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e8(t)]=n}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e8(n),a=1< =nf),nm=!1;function nh(e,t){switch(e){case"keyup":return -1!==nc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ny=!1,nv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function nk(e,t,n,r){eN(r),0<(t=ru(t,"onChange")).length&&(n=new t0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nx=null,nS=null;function nE(e){rt(e,0)}function n_(e){if(Q(rM(e)))return e}function nC(e,t){if("change"===e)return t}var nT=!1;if(h){if(h){var nj="oninput"in document;if(!nj){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nj="function"==typeof nN.oninput}r=nj}else r=!1;nT=r&&(!document.documentMode||9 =t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nD(r)}}function n$(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nU=h&&"documentMode"in document&&11>=document.documentMode,nZ=null,nH=null,nW=null,nV=!1;function nq(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nZ||nZ!==K(r)||(r="selectionStart"in(r=nZ)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nW&&nM(nW,r)||(nW=r,0<(r=ru(nH,"onSelect")).length&&(t=new t0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nZ)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nY={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionend:nG("Transition","TransitionEnd")},nQ={},nK={};function nX(e){if(nQ[e])return nQ[e];if(!nY[e])return e;var t,n=nY[e];for(t in n)if(n.hasOwnProperty(t)&&t in nK)return nQ[e]=n[t];return e}h&&(nK=document.createElement("div").style,"AnimationEvent"in window||(delete nY.animationend.animation,delete nY.animationiteration.animation,delete nY.animationstart.animation),"TransitionEvent"in window||delete nY.transitionend.transition);var nJ=nX("animationend"),n0=nX("animationiteration"),n1=nX("animationstart"),n2=nX("transitionend"),n3=new Map,n4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n5(e,t){n3.set(e,t),g(t,[e])}for(var n9=0;n9 r$||(e.current=rz[r$],rz[r$]=null,r$--)}function rZ(e,t){rz[++r$]=e.current,e.current=t}var rH={},rW=rB(rH),rV=rB(!1),rq=rH;function rG(e,t){var n=e.type.contextTypes;if(!n)return rH;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rY(e){return null!=(e=e.childContextTypes)}function rQ(){rU(rV),rU(rW)}function rK(e,t,n){if(rW.current!==rH)throw Error(d(168));rZ(rW,t),rZ(rV,n)}function rX(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case j:return"Portal";case A:return"Profiler";case P:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case L:return(t.displayName||"Context")+".Consumer";case O:return(t._context.displayName||"Context")+".Provider";case R:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case D:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return Z({},n,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rZ(rW,e),rZ(rV,rV.current),!0}function r0(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rX(e,t,rq),r.__reactInternalMemoizedMergedChildContext=e,rU(rV),rU(rW),rZ(rW,e)):rU(rV),rZ(rV,n)}var r1=null,r2=!1,r3=!1;function r4(e){null===r1?r1=[e]:r1.push(e)}function r5(){if(!r3&&null!==r1){r3=!0;var e=0,t=tc;try{var n=r1;for(tc=1;e >=i,a-=i,ar=1<<32-e8(t)+a|n<m?(h=d,d=null):h=d.sibling;var b=p(a,d,l[m],s);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,m),null===c?u=b:c.sibling=b,c=b,d=h}if(m===l.length)return n(a,d),ad&&ao(a,m),u;if(null===d){for(;m h?(b=m,m=null):b=m.sibling;var v=p(a,m,y.value,s);if(null===v){null===m&&(m=b);break}e&&m&&null===v.alternate&&t(a,m),i=o(v,i,h),null===c?u=v:c.sibling=v,c=v,m=b}if(y.done)return n(a,m),ad&&ao(a,h),u;if(null===m){for(;!y.done;h++,y=l.next())null!==(y=f(a,y.value,s))&&(i=o(y,i,h),null===c?u=y:c.sibling=y,c=y);return ad&&ao(a,h),u}for(m=r(a,m);!y.done;h++,y=l.next())null!==(y=g(m,a,h,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(a,e)}),ad&&ao(a,h),u}(s,u,c,m);a0(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=a(u,c)).return=s):(n(s,u),(u=l2(c,s.mode,m)).return=s),i(s=u)):n(s,u)}}var a3=a2(!0),a4=a2(!1),a5={},a9=rB(a5),a6=rB(a5),a8=rB(a5);function a7(e){if(e===a5)throw Error(d(174));return e}function oe(e,t){switch(rZ(a8,t),rZ(a6,e),rZ(a9,a5),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rU(a9),rZ(a9,t)}function ot(){rU(a9),rU(a6),rU(a8)}function on(e){a7(a8.current);var t=a7(a9.current),n=ed(t,e.type);t!==n&&(rZ(a6,e),rZ(a9,n))}function or(e){a6.current===e&&(rU(a9),rU(a6))}var oa=rB(0);function oo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=[];function ol(){for(var e=0;e n?n:4,e(!0);var r=ou.transition;ou.transition={};try{e(!1),t()}finally{tc=n,ou.transition=r}}function oQ(){return oS().memoizedState}function oK(e,t,n){var r=lx(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oJ(e)?o0(t,n):null!==(n=aI(e,t,n,r))&&(lS(n,e,r,lk()),o1(n,t,r))}function oX(e,t,n){var r=lx(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oJ(e))o0(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,i)){var s=t.interleaved;null===s?(a.next=a,aR(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=aI(e,t,a,r))&&(lS(n,e,r,a=lk()),o1(n,t,r))}}function oJ(e){var t=e.alternate;return e===od||null!==t&&t===od}function o0(e,t){om=og=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function o1(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var o2={readContext:aO,useCallback:oy,useContext:oy,useEffect:oy,useImperativeHandle:oy,useInsertionEffect:oy,useLayoutEffect:oy,useMemo:oy,useReducer:oy,useRef:oy,useState:oy,useDebugValue:oy,useDeferredValue:oy,useTransition:oy,useMutableSource:oy,useSyncExternalStore:oy,useId:oy,unstable_isNewReconciler:!1},o3={readContext:aO,useCallback:function(e,t){return ox().memoizedState=[e,void 0===t?null:t],e},useContext:aO,useEffect:oz,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oM(4194308,4,oZ.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){return oM(4,2,e,t)},useMemo:function(e,t){var n=ox();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ox();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=oK.bind(null,od,e),[r.memoizedState,e]},useRef:function(e){var t=ox();return e={current:e},t.memoizedState=e},useState:oR,useDebugValue:oW,useDeferredValue:function(e){return ox().memoizedState=e},useTransition:function(){var e=oR(!1),t=e[0];return e=oY.bind(null,e[1]),ox().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=od,a=ox();if(ad){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===i9)throw Error(d(349));0!=(30&oc)||oN(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(oA.bind(null,r,o,e),[e]),r.flags|=2048,oI(9,oP.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ox(),t=i9.identifierPrefix;if(ad){var n=aa,r=ar;t=":"+t+"R"+(n=(r&~(1<<32-e8(r)-1)).toString(32)+n),0<(n=oh++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ob++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o4={readContext:aO,useCallback:oV,useContext:aO,useEffect:o$,useImperativeHandle:oH,useInsertionEffect:oB,useLayoutEffect:oU,useMemo:oq,useReducer:o_,useRef:oF,useState:function(){return o_(oE)},useDebugValue:oW,useDeferredValue:function(e){return oG(oS(),of.memoizedState,e)},useTransition:function(){return[o_(oE)[0],oS().memoizedState]},useMutableSource:oT,useSyncExternalStore:oj,useId:oQ,unstable_isNewReconciler:!1},o5={readContext:aO,useCallback:oV,useContext:aO,useEffect:o$,useImperativeHandle:oH,useInsertionEffect:oB,useLayoutEffect:oU,useMemo:oq,useReducer:oC,useRef:oF,useState:function(){return oC(oE)},useDebugValue:oW,useDeferredValue:function(e){var t=oS();return null===of?t.memoizedState=e:oG(t,of.memoizedState,e)},useTransition:function(){return[oC(oE)[0],oS().memoizedState]},useMutableSource:oT,useSyncExternalStore:oj,useId:oQ,unstable_isNewReconciler:!1};function o9(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o6(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function o8(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o7="function"==typeof WeakMap?WeakMap:Map;function ie(e,t,n){(n=a$(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ld||(ld=!0,lf=r),o8(e,t)},n}function it(e,t,n){(n=a$(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){o8(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){o8(e,t),"function"!=typeof r&&(null===lp?lp=new Set([this]):lp.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function ir(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new o7;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=lH.bind(null,e,t,n),t.then(e,e))}function ia(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function io(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=a$(-1,1)).tag=2,aB(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var ii=C.ReactCurrentOwner,il=!1;function is(e,t,n,r){t.child=null===e?a4(t,null,n,r):a3(t,e.child,n,r)}function iu(e,t,n,r,a){n=n.render;var o=t.ref;return(aA(t,a),r=ow(e,t,n,r,o,a),n=ok(),null===e||il)?(ad&&n&&al(t),t.flags|=1,is(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iN(e,t,a))}function ic(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||lK(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=lJ(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,id(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(i,r)&&e.ref===t.ref)return iN(e,t,a)}return t.flags|=1,(e=lX(o,r)).ref=t.ref,e.return=t,t.child=e}function id(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nM(o,r)&&e.ref===t.ref){if(il=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,iN(e,t,a);else 0!=(131072&e.flags)&&(il=!0)}}return im(e,t,n,r,a)}function ip(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rZ(le,i7),i7|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rZ(le,i7),i7|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rZ(le,i7),i7|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rZ(le,i7),i7|=r;return is(e,t,a,n),t.child}function ig(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function im(e,t,n,r,a){var o=rY(n)?rq:rW.current;return(o=rG(t,o),aA(t,a),n=ow(e,t,n,r,o,a),r=ok(),null===e||il)?(ad&&r&&al(t),t.flags|=1,is(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iN(e,t,a))}function ih(e,t,n,r,a){if(rY(n)){var o=!0;rJ(t)}else o=!1;if(aA(t,a),null===t.stateNode)ij(e,t),aQ(t,n,r),aX(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;u="object"==typeof u&&null!==u?aO(u):rG(t,u=rY(n)?rq:rW.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&aK(t,i,r,u),aM=!1;var f=t.memoizedState;i.state=f,aH(t,r,i,a),s=t.memoizedState,l!==r||f!==s||rV.current||aM?("function"==typeof c&&(aq(t,n,c,r),s=t.memoizedState),(l=aM||aY(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,az(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:aS(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=n.contextType)&&null!==s?aO(s):rG(t,s=rY(n)?rq:rW.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&aK(t,i,r,s),aM=!1,f=t.memoizedState,i.state=f,aH(t,r,i,a);var g=t.memoizedState;l!==d||f!==g||rV.current||aM?("function"==typeof p&&(aq(t,n,p,r),g=t.memoizedState),(u=aM||aY(t,n,u,r,f,g,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ib(e,t,n,r,o,a)}function ib(e,t,n,r,a,o){ig(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&r0(t,n,!1),iN(e,t,o);r=t.stateNode,ii.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=a3(t,e.child,null,o),t.child=a3(t,null,l,o)):is(e,t,l,o),t.memoizedState=r.state,a&&r0(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?rK(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rK(e,t.context,!1),oe(e,t.containerInfo)}function iv(e,t,n,r,a){return aw(),ak(a),t.flags|=256,is(e,t,n,r),t.child}var iw={dehydrated:null,treeContext:null,retryLane:0};function ik(e){return{baseLanes:e,cachePool:null,transitions:null}}function ix(e,t,n){var r,a=t.pendingProps,o=oa.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rZ(oa,1&o),null===e)return(ah(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l1(l,a,0,null),e=l0(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ik(n),t.memoizedState=iw,e):iS(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iE(e,t,i,r=o6(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=l1({mode:"visible",children:r.children},a,0,null),o=l0(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&a3(t,e.child,null,i),t.child.memoizedState=ik(i),t.memoizedState=iw,o);if(0==(1&t.mode))return iE(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,iE(e,t,i,r=o6(o=Error(d(419)),r,void 0))}if(l=0!=(i&e.childLanes),il||l){if(null!==(r=i9)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aF(e,a),lS(r,e,a,-1))}return lF(),iE(e,t,i,r=o6(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=lV.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=rC(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=ar,ae[at++]=aa,ae[at++]=an,ar=e.id,aa=e.overflow,an=t),t=iS(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(i){i=a.fallback,l=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lX(o,s)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?i=lX(r,i):(i=l0(i,l,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?ik(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iw,a}return e=(i=e.child).sibling,a=lX(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function iS(e,t){return(t=l1({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iE(e,t,n,r){return null!==r&&ak(r),a3(t,e.child,null,n),e=iS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function i_(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),aP(e.return,t,n)}function iC(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function iT(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(is(e,t,r.children,n),0!=(2&(r=oa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&i_(e,n,t);else if(19===e.tag)i_(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rZ(oa,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===oo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iC(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iC(t,!0,n,null,o);break;case"together":iC(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ij(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iN(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lr|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=lX(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=lX(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iP(e,t){if(!ad)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function iA(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}a=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},o=function(){},i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,a7(a9.current);var o,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=Z({},a,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),r=ei(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rh)}for(u in ek(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(u,n)),n=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&rn("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iO=!1,iL=!1,iR="function"==typeof WeakSet?WeakSet:Set,iI=null;function iF(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){lZ(e,t,n)}else n.current=null}}function iM(e,t,n){try{n()}catch(n){lZ(e,t,n)}}var iD=!1;function iz(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iM(t,n,o)}a=a.next}while(a!==r)}}function i$(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iB(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function iU(e){return 5===e.tag||3===e.tag||4===e.tag}function iZ(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iU(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iH=null,iW=!1;function iV(e,t,n){for(n=n.child;null!==n;)iq(e,t,n),n=n.sibling}function iq(e,t,n){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:iL||iF(n,t);case 6:var r=iH,a=iW;iH=null,iV(e,t,n),iH=r,iW=a,null!==iH&&(iW?(e=iH,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iH.removeChild(n.stateNode));break;case 18:null!==iH&&(iW?(e=iH,n=n.stateNode,8===e.nodeType?r_(e.parentNode,n):1===e.nodeType&&r_(e,n),tL(e)):r_(iH,n.stateNode));break;case 4:r=iH,a=iW,iH=n.stateNode.containerInfo,iW=!0,iV(e,t,n),iH=r,iW=a;break;case 0:case 11:case 14:case 15:if(!iL&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iM(n,t,i):0!=(4&o)&&iM(n,t,i)),a=a.next}while(a!==r)}iV(e,t,n);break;case 1:if(!iL&&(iF(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){lZ(n,t,e)}iV(e,t,n);break;case 21:default:iV(e,t,n);break;case 22:1&n.mode?(iL=(r=iL)||null!==n.memoizedState,iV(e,t,n),iL=r):iV(e,t,n)}}function iG(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iR),t.forEach(function(t){var r=lq.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iY(e,t){var n=t.deletions;if(null!==n)for(var r=0;r a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i1(r/1960))-r)){e.timeoutHandle=rw(l$.bind(null,e,ll,lc),r);break}l$(e,ll,lc);break;default:throw Error(d(329))}}}return lE(e,eJ()),e.callbackNode===n?l_.bind(null,e):null}function lC(e,t){var n=li;return e.current.memoizedState.isDehydrated&&(lL(e,t).flags|=256),2!==(e=lM(e,t))&&(t=ll,ll=n,null!==t&&lT(t)),e}function lT(e){null===ll?ll=e:ll.push.apply(ll,e)}function lj(e,t){for(t&=~lo,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 <\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rN]=t,e[rP]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=ex(n,r),n){case"dialog":rn("cancel",e),rn("close",e),s=r;break;case"iframe":case"object":case"embed":rn("load",e),s=r;break;case"video":case"audio":for(s=0;s lu&&(t.flags|=128,r=!0,iP(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=oo(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iP(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iA(t),null}else 2*eJ()-u.renderingStartTime>lu&&0x40000000!==n&&(t.flags|=128,r=!0,iP(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=oa.current,rZ(oa,r?1&n|2:1&n),t;return iA(t),null;case 22:case 23:return lO(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&i7)&&(iA(t),6&t.subtreeFlags&&(t.flags|=8192)):iA(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,i7))){i6=n;return}}else{if(null!==(n=function(e,t){switch(as(t),t.tag){case 1:return rY(t.type)&&rQ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ot(),rU(rV),rU(rW),ol(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return or(t),null;case 13:if(rU(oa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rU(oa),null;case 4:return ot(),null;case 10:return aN(t.type._context),null;case 22:case 23:return lO(),null;default:return null}}(n,t))){n.flags&=32767,i6=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lt=6,i6=null;return}}if(null!==(t=t.sibling)){i6=t;return}i6=t=e}while(null!==t);0===lt&&(lt=5)}function l$(e,t,n){var r=tc,a=i4.transition;try{i4.transition=null,tc=1,function(e,t,n,r){do lB();while(null!==lm);if(0!=(6&i5))throw Error(d(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 r&&(a=r,r=o,o=a),a=nz(n,o);var i=nz(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n e?16:e,null===lm)var r=!1;else{if(e=lm,lm=null,lh=0,0!=(6&i5))throw Error(d(331));var a=i5;for(i5|=4,iI=e.current;null!==iI;){var o=iI,i=o.child;if(0!=(16&iI.flags)){var l=o.deletions;if(null!==l){for(var s=0;s eJ()-ls?lL(e,0):lo|=n),lE(e,t)}function lW(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tn,0==(0x7c00000&(tn<<=1))&&(tn=4194304)));var n=lk();null!==(e=aF(e,t))&&(ts(e,t,n),lE(e,n))}function lV(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lW(e,n)}function lq(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),lW(e,n)}function lG(e,t){return eY(e,t)}function lY(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lQ(e,t,n,r){return new lY(e,t,n,r)}function lK(e){return!(!(e=e.prototype)||!e.isReactComponent)}s=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)il=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return il=!1,function(e,t,n){switch(t.tag){case 3:iy(t),aw();break;case 5:on(t);break;case 1:rY(t.type)&&rJ(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;rZ(aE,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rZ(oa,1&oa.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return ix(e,t,n);return rZ(oa,1&oa.current),null!==(e=iN(e,t,n))?e.sibling:null}rZ(oa,1&oa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iT(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rZ(oa,oa.current),!r)return null;break;case 22:case 23:return t.lanes=0,ip(e,t,n)}return iN(e,t,n)}(e,t,n);il=0!=(131072&e.flags)}}else il=!1,ad&&0!=(1048576&t.flags)&&ai(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ij(e,t),e=t.pendingProps;var a=rG(t,rW.current);aA(t,n),a=ow(null,t,r,e,a,n);var o=ok();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rY(r)?(o=!0,rJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aD(t),a.updater=aG,t.stateNode=a,a._reactInternals=t,aX(t,r,e,n),t=ib(null,t,r,!0,o,n)):(t.tag=0,ad&&o&&al(t),is(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ij(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return lK(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=aS(r,e),a){case 0:t=im(null,t,r,e,n);break e;case 1:t=ih(null,t,r,e,n);break e;case 11:t=iu(null,t,r,e,n);break e;case 14:t=ic(null,t,r,aS(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),im(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),ih(e,t,r,a,n);case 3:e:{if(iy(t),null===e)throw Error(d(387));r=t.pendingProps,a=(o=t.memoizedState).element,az(e,t),aH(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o9(Error(d(423)),t),t=iv(e,t,r,n,a);break e}else if(r!==a){a=o9(Error(d(424)),t),t=iv(e,t,r,n,a);break e}else for(ac=rC(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,n=a4(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(aw(),r===a){t=iN(e,t,n);break e}is(e,t,r,n)}t=t.child}return t;case 5:return on(t),null===e&&ah(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,rv(r,a)?i=null:null!==o&&rv(r,o)&&(t.flags|=32),ig(e,t),is(e,t,i,n),t.child;case 6:return null===e&&ah(t),null;case 13:return ix(e,t,n);case 4:return oe(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=a3(t,null,r,n):is(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),iu(e,t,r,a,n);case 7:return is(e,t,t.pendingProps,n),t.child;case 8:case 12:return is(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,rZ(aE,r._currentValue),r._currentValue=i,null!==o){if(nF(o.value,i)){if(o.children===a.children&&!rV.current){t=iN(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=a$(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),aP(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),aP(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}is(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,aA(t,n),r=r(a=aO(a)),t.flags|=1,is(e,t,r,n),t.child;case 14:return a=aS(r=t.type,t.pendingProps),a=aS(r.type,a),ic(e,t,r,a,n);case 15:return id(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),ij(e,t),t.tag=1,rY(r)?(e=!0,rJ(t)):e=!1,aA(t,n),aQ(t,r,a),aX(t,r,a,n),ib(null,t,r,!0,e,n);case 19:return iT(e,t,n);case 22:return ip(e,t,n)}throw Error(d(156,t.tag))};function lX(e,t){var n=e.alternate;return null===n?((n=lQ(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function lJ(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)lK(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return l0(n.children,a,o,t);case P:i=8,a|=8;break;case A:return(e=lQ(12,n,t,2|a)).elementType=A,e.lanes=o,e;case I:return(e=lQ(13,n,t,a)).elementType=I,e.lanes=o,e;case F:return(e=lQ(19,n,t,a)).elementType=F,e.lanes=o,e;case z:return l1(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:i=10;break e;case L:i=9;break e;case R:i=11;break e;case M:i=14;break e;case D:i=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lQ(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function l0(e,t,n,r){return(e=lQ(7,e,r,t)).lanes=n,e}function l1(e,t,n,r){return(e=lQ(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function l2(e,t,n){return(e=lQ(6,e,null,t)).lanes=n,e}function l3(e,t,n){return(t=lQ(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l4(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l5(e,t,n,r,a,o,i,l,s){return e=new l4(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lQ(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aD(o),e}function l9(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rY(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rY(n))return rX(e,n,t)}return t}function l6(e,t,n,r,a,o,i,l,s){return(e=l5(n,r,!0,e,a,o,i,l,s)).context=l9(null),n=e.current,r=lk(),(o=a$(r,a=lx(n))).callback=null!=t?t:null,aB(n,o,a),e.current.lanes=a,ts(e,a,r),lE(e,r),e}function l8(e,t,n,r){var a=t.current,o=lk(),i=lx(a);return n=l9(n),null===t.context?t.context=n:t.pendingContext=n,(t=a$(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=aB(a,t,i))&&(lS(e,a,i,o),aU(e,a,i)),i}function l7(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function se(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n =0||(a[n]=e[n]);return a}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(h).map(function(e){return h[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,h.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},_=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i /g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},I=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},F=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(h.TITLE,o,e)]},toString:function(){var r,a,o,i,l,s;return r=e,a=t.title,o=t.titleAttributes,i=n,l=L(o),s=j(a),l?"<"+r+' data-rh="true" '+l+">"+O(s,i)+""+r+">":"<"+r+' data-rh="true">'+O(s,i)+""+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return I(e,t)},toString:function(){var r,a,o;return r=e,a=t,o=n,a.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+O(t[n],o)+'"';return e?e+" "+r:r},""),a=t.innerHTML||t.cssText||"",i=-1===A.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+a+""+r+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,g,m,w,k,x,S,E=(g=(p=e).linkTags,m=p.scriptTags,w=p.encode,k=N(p.metaTags,v),x=N(g,b),S=N(m,y),{priorityMethods:{toComponent:function(){return[].concat(I(h.META,k.priority),I(h.LINK,x.priority),I(h.SCRIPT,S.priority))},toString:function(){return F(h.META,k.priority,w)+" "+F(h.LINK,x.priority,w)+" "+F(h.SCRIPT,S.priority,w)}},metaTags:k.default,linkTags:x.default,scriptTags:S.default});f=E.priorityMethods,u=E.linkTags,c=E.metaTags,d=E.scriptTags}return{priority:f,base:F(h.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(h.LINK,u,r),meta:F(h.META,c,r),noscript:F(h.NOSCRIPT,o,r),script:F(h.SCRIPT,d,r),style:F(h.STYLE,i,r),title:F(h.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],z=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=U,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(h.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l =0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n,r,a=e.baseTag,o=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,f=e.title,p=e.titleAttributes;W(h.BODY,e.bodyAttributes),W(h.HTML,o),n=f,r=p,void 0!==n&&document.title!==n&&(document.title=j(n)),W(h.TITLE,r);var g={baseTag:H(h.BASE,a),linkTags:H(h.LINK,i),metaTags:H(h.META,l),noscriptTags:H(h.NOSCRIPT,s),scriptTags:H(h.SCRIPT,c),styleTags:H(h.STYLE,d)},m={},b={};Object.keys(g).forEach(function(e){var t=g[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(b[e]=g[e].oldTags)}),t&&t(),u(e,m,b)},q=null,G=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case h.BODY:return f({},a,{bodyAttributes:f({},o)});case h.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=m(r,Y),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case h.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,Q),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(G,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(G,f({},a,{context:e}))})},t}(r.Component);K.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},K.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},K.displayName="Helmet"},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case h:case m:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=h,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===h},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},9864:function(e,t,n){"use strict";e.exports=n(9921)},8356:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t >>1,a=e[r];if(0 >>1;ro(s,n))uo(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(uo(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,g=3,m=!1,h=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function x(e){if(b=!1,k(e),!h){if(null!==r(c))h=!0,L(S);else{var t=r(d);null!==t&&R(x,t.startTime-e)}}}function S(e,n){h=!1,b&&(b=!1,v(C),C=-1),m=!0;var o=g;try{for(k(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,g=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&a(c),k(n)}else a(c);p=r(c)}if(null!==p)var s=!0;else{var u=r(d);null!==u&&R(x,u.startTime-n),s=!1}return s}finally{p=null,g=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j e||125 i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(b?(v(C),C=-1):b=!0,R(x,o-i))):(e.sortIndex=l,n(c,e),h||m||(h=!0,L(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=g;return function(){var n=g;g=t;try{return e.apply(this,arguments)}finally{g=n}}}},3840:function(e,t,n){"use strict";e.exports=n(53)},6774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s f}),n("7294");var r=n("5893"),a=n("8356"),o=n.n(a),i=n("7138");let l={"05d7992b":[()=>Promise.all([n.e("6212"),n.e("7790")]).then(n.bind(n,5398)),"@site/docs/100-Generate code/10-generate-app-code.mdx",5398],"0c847db8":[()=>Promise.all([n.e("6212"),n.e("6473")]).then(n.bind(n,9401)),"@site/docs/80-edit-mapping-rules/100-edit-mapping-issue-detail-issue-detail.mdx",9401],"114dff7f":[()=>Promise.all([n.e("6212"),n.e("1291")]).then(n.bind(n,8698)),"@site/docs/80-edit-mapping-rules/60-edit-mapping-authors-alias.mdx",8698],"13a817df":[()=>Promise.all([n.e("6212"),n.e("4023")]).then(n.bind(n,5570)),"@site/docs/80-edit-mapping-rules/80-add-mapping-books-issue-detail.mdx",5570],"14eb3368":[()=>Promise.all([n.e("6212"),n.e("1983")]).then(n.bind(n,7467)),"@theme/DocCategoryGeneratedIndexPage",7467],0x11113f9:[()=>Promise.all([n.e("6212"),n.e("2145"),n.e("7048")]).then(n.bind(n,5891)),"@theme/DocItem",5891],"1d9ac7a6":[()=>n.e("7042").then(n.t.bind(n,4246,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-edit-mapping-rules-f61.json",4246],"317957c9":[()=>Promise.all([n.e("6212"),n.e("3048")]).then(n.bind(n,3101)),"@site/docs/10-intro.mdx",3101],"349e88fc":[()=>Promise.all([n.e("6212"),n.e("5170")]).then(n.bind(n,3909)),"@site/docs/50-create-project/70-select-tables.mdx",3909],"3887df25":[()=>Promise.all([n.e("6212"),n.e("8508")]).then(n.bind(n,3434)),"@site/docs/60-project-settings.mdx",3434],"3a2e5b87":[()=>n.e("3575").then(n.t.bind(n,5497,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-create-a-project-39b.json",5497],"3aaaf183":[()=>n.e("4371").then(n.bind(n,935)),"@site/docs/summary.mdx",935],0x273e3a5:[()=>n.e("5998").then(n.bind(n,9723)),"@site/docs/210-Migrate Data/30-cdc-migration.mdx",9723],"41ff246a":[()=>Promise.all([n.e("6212"),n.e("7711")]).then(n.bind(n,3851)),"@site/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx",3851],"4f2e23e9":[()=>Promise.all([n.e("6212"),n.e("7020")]).then(n.bind(n,9383)),"@site/docs/100-Generate code/20-convert-queries.mdx",9383],"5e95c892":[()=>n.e("3432").then(n.bind(n,1359)),"@theme/DocsRoot",1359],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,5150)),"@generated/docusaurus.config",5150],"72d756b8":[()=>n.e("4030").then(n.bind(n,1070)),"@site/src/pages/helloWorld.js",1070],"734db3ff":[()=>Promise.all([n.e("6212"),n.e("1517")]).then(n.bind(n,9434)),"@site/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx",9434],"7cb62076":[()=>Promise.all([n.e("6212"),n.e("2411")]).then(n.bind(n,5190)),"@site/docs/40-desired-schema-mongodb.mdx",5190],0x4f09480:[()=>n.e("6413").then(n.t.bind(n,7194,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-prerequisites-bde.json",7194],"870e739e":[()=>Promise.all([n.e("6212"),n.e("6512")]).then(n.bind(n,1678)),"@site/docs/50-create-project/50-create-new-project.mdx",1678],"899dbdc4":[()=>Promise.all([n.e("6212"),n.e("3839")]).then(n.bind(n,9017)),"@site/docs/210-Migrate Data/10-migration.mdx",9017],"8a5c1cef":[()=>Promise.all([n.e("6212"),n.e("9267")]).then(n.bind(n,6362)),"@site/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx",6362],"8e933bc4":[()=>Promise.all([n.e("6212"),n.e("3608")]).then(n.bind(n,2675)),"@site/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx",2675],"983be62f":[()=>Promise.all([n.e("6212"),n.e("2299")]).then(n.bind(n,4458)),"@site/docs/50-create-project/80-define-initial-schema.mdx",4458],a58ba2fc:[()=>Promise.all([n.e("6212"),n.e("2931")]).then(n.bind(n,8023)),"@site/docs/30-schema-in-postgresql.mdx",8023],a71c1f61:[()=>Promise.all([n.e("6212"),n.e("7533")]).then(n.bind(n,2566)),"@site/docs/210-Migrate Data/20-view-migrated-data.mdx",2566],a7456010:[()=>n.e("7365").then(n.t.bind(n,2050,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",2050],a7bd4aaa:[()=>n.e("5211").then(n.bind(n,8688)),"@theme/DocVersionRoot",8688],a94703ab:[()=>Promise.all([n.e("6212"),n.e("9914")]).then(n.bind(n,2001)),"@theme/DocRoot",2001],aba21aa0:[()=>n.e("5112").then(n.t.bind(n,2418,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",2418],b909d4b0:[()=>n.e("2085").then(n.bind(n,484)),"@site/docs/20-prerequisites/30-relational-migrator.mdx",484],be0257a7:[()=>Promise.all([n.e("6212"),n.e("8379")]).then(n.bind(n,1463)),"@site/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx",1463],c03ff7b0:[()=>Promise.all([n.e("6212"),n.e("3770")]).then(n.bind(n,2371)),"@site/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx",2371],c4f5d8e4:[()=>Promise.all([n.e("6212"),n.e("6130")]).then(n.bind(n,104)),"@site/src/pages/index.js",104],c4f7bd2f:[()=>n.e("8182").then(n.t.bind(n,4e3,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-b01.json",4e3],d1e868e1:[()=>Promise.all([n.e("6212"),n.e("9496")]).then(n.bind(n,6675)),"@site/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx",6675],e148d250:[()=>n.e("4634").then(n.bind(n,5225)),"@site/docs/20-prerequisites/10-postgres.mdx",5225],e40ac3a5:[()=>n.e("7242").then(n.bind(n,5478)),"@site/docs/20-prerequisites/20-mongodb.mdx",5478],f23a4092:[()=>Promise.all([n.e("6212"),n.e("1797")]).then(n.bind(n,4248)),"@site/docs/100-Generate code/30-convert-sprocs.mdx",4248],f27e22bc:[()=>Promise.all([n.e("6212"),n.e("8520")]).then(n.bind(n,6608)),"@site/docs/70-toggle-view.mdx",6608],f916d966:[()=>Promise.all([n.e("6212"),n.e("8605")]).then(n.bind(n,5484)),"@site/docs/50-create-project/60-connect-database.mdx",5484],fc293e63:[()=>Promise.all([n.e("6212"),n.e("2339")]).then(n.bind(n,1473)),"@site/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx",1473]};function s(e){let{error:t,retry:n,pastDelay:a}=e;return t?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(t)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n("6464"),c=n("4879");function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("9196").then(n.bind(n,5672)),modules:["@theme/NotFound"],webpack:()=>[5672],render(e,t){let n=e.default;return(0,r.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.Z)(a)).forEach(e=>{let[t,n]=e,r=l[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(t=>{let[n,r]=t,a=r.default;if(!a)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof a||"function"==typeof a)&&Object.keys(r).filter(e=>"default"!==e).forEach(e=>{a[e]=r[e]});let i=o,l=n.split(".");l.slice(0,-1).forEach(e=>{i=i[e]}),i[l[l.length-1]]=a});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.z,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/relational-migrator-lab/helloWorld",component:d("/relational-migrator-lab/helloWorld","16c"),exact:!0},{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","94b"),routes:[{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","aeb"),routes:[{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","fbc"),routes:[{path:"/relational-migrator-lab/docs/category/-create-a-project",component:d("/relational-migrator-lab/docs/category/-create-a-project","ca0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/category/-edit-mapping-rules",component:d("/relational-migrator-lab/docs/category/-edit-mapping-rules","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/category/-prerequisites",component:d("/relational-migrator-lab/docs/category/-prerequisites","bb2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/connect-database",component:d("/relational-migrator-lab/docs/create-project/connect-database","53f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/create-new-project",component:d("/relational-migrator-lab/docs/create-project/create-new-project","656"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/define-initial-schema",component:d("/relational-migrator-lab/docs/create-project/define-initial-schema","cde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/select-tables",component:d("/relational-migrator-lab/docs/create-project/select-tables","be3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/desired-schema-mongodb",component:d("/relational-migrator-lab/docs/desired-schema-mongodb","ba6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","e3c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","fff"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","c59"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","159"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","4df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","642"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","d12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","a5a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","297"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","575"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","bcf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/convert-queries",component:d("/relational-migrator-lab/docs/Generate code/convert-queries","3d1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/convert-sprocs",component:d("/relational-migrator-lab/docs/Generate code/convert-sprocs","3be"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/generate-app-code",component:d("/relational-migrator-lab/docs/Generate code/generate-app-code","72d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/intro",component:d("/relational-migrator-lab/docs/intro","d58"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Migrate Data/cdc-migration",component:d("/relational-migrator-lab/docs/Migrate Data/cdc-migration","43a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Migrate Data/migration",component:d("/relational-migrator-lab/docs/Migrate Data/migration","816"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Migrate Data/view-migrated-data",component:d("/relational-migrator-lab/docs/Migrate Data/view-migrated-data","27d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/mongodb",component:d("/relational-migrator-lab/docs/prerequisites/mongodb","c8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/postgres",component:d("/relational-migrator-lab/docs/prerequisites/postgres","e9a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/relational-migrator",component:d("/relational-migrator-lab/docs/prerequisites/relational-migrator","518"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/project-settings",component:d("/relational-migrator-lab/docs/project-settings","782"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/schema-in-postgresql",component:d("/relational-migrator-lab/docs/schema-in-postgresql","4d1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/summary",component:d("/relational-migrator-lab/docs/summary","54b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/toggle-view",component:d("/relational-migrator-lab/docs/toggle-view","4bb"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/relational-migrator-lab/",component:d("/relational-migrator-lab/","87d"),exact:!0},{path:"*",component:d("*")}]},258:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return i}});var r=n(5893),a=n(7294);let o=a.createContext(!1);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i(!0)},[]),(0,r.jsx)(o.Provider,{value:n,children:t})}},2465:function(e,t,n){"use strict";var r=n("5893"),a=n("7294"),o=n("745"),i=n("405"),l=n("3727"),s=n("5150"),u=n("7565");let c=[n(5442),n(3601),n(1569),n(1987),n(7686)];var d=n("4143"),f=n("6550"),p=n("8790");function g(e){let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})}var m=n("4819"),h=n("2933"),b=n("4757"),y=n("140"),v=n("4713"),w=n("8910"),k=n("6959"),x=n("8365"),S=n("4315");function E(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),a=(0,w.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,r.jsxs)(m.Z,{children:[Object.entries(n).map(e=>{let[t,{htmlLang:n}]=e;return(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)}),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function _(e){let{permalink:t}=e,{siteConfig:{url:n}}=(0,h.Z)(),a=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,f.TH)();return e+(0,x.applyTrailingSlash)((0,b.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:a;return(0,r.jsxs)(m.Z,{children:[(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("link",{rel:"canonical",href:o})]})}function C(){let{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.Z,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{className:k.h})]}),n&&(0,r.jsx)(v.d,{image:n}),(0,r.jsx)(_,{}),(0,r.jsx)(E,{}),(0,r.jsx)(S.Z,{tag:"default",locale:e}),(0,r.jsx)(m.Z,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let T=new Map;var j=n("258"),N=n("1716"),P=n("2000");function A(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r {let r=t.default?.[e]??t[e];return r?.(...n)});return()=>a.forEach(e=>e?.())}let O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,P.Z)(()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;let r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;let{hash:i}=t;if(i){let e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))},[r,n]),t};function L(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.f)(d.Z,e)).flat().map(e=>e.route.component.preload?.()))}class R extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.AW,{location:t,render:()=>e})})}}let I="__docusaurus-base-url-issue-banner-suggestion-container";function F(){var e,t;let{siteConfig:{baseUrl:n}}=(0,h.Z)();return(0,r.jsx)(r.Fragment,{children:!u.Z.canUseDOM&&(0,r.jsx)(m.Z,{children:(0,r.jsx)("script",{children:(e=n,` +document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { + var shouldInsert = typeof window['docusaurus'] === 'undefined'; + shouldInsert && insertBanner(); +}); + +function insertBanner() { + var bannerContainer = document.createElement('div'); + bannerContainer.id = '__docusaurus-base-url-issue-banner-container'; + var bannerHtml = ${JSON.stringify((t=e,` + +`)).replace(/{let{route:t}=e;return!0===t.exact}))return T.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}((0,f.TH)());return(0,r.jsx)(R,{location:e,children:U})}var H=n("7138");let W=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var V=n("6464");let q=new Set,G=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q=e=>!Y()&&!G.has(e)&&!q.has(e),K=e=>!Y()&&!G.has(e),X=e=>Object.entries(H).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,V.Z)(t))}),J=Object.freeze({prefetch:e=>!!Q(e)&&(q.add(e),Promise.all((0,p.f)(d.Z,e).flatMap(e=>X(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return W(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!K(e)&&(G.add(e),L(e))});e=n.hmd(e);if(u.Z.canUseDOM){window.docusaurus=J;let t=document.getElementById("__docusaurus"),n=(0,r.jsx)(i.B6,{children:(0,r.jsx)(function(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.UT,{children:t}):(0,r.jsx)(l.VK,{children:t})},{children:(0,r.jsx)(function(){return(0,r.jsx)(z.Z,{children:(0,r.jsx)(N.M,{children:(0,r.jsxs)(j.t,{children:[(0,r.jsxs)(g,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(C,{}),(0,r.jsx)(M,{}),(0,r.jsx)(Z,{})]}),(0,r.jsx)(B,{})]})})})},{})})}),u=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},c=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=o.hydrateRoot(t,n,{onRecoverableError:u})};L(window.location.pathname).then(()=>{(0,a.startTransition)(c)}),e.hot&&e.hot.accept()}},1716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n("5893"),a=n("7294"),o=n("5150"),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/relational-migrator-lab/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/relational-migrator-lab/docs","mainDocId":"intro","docs":[{"id":"create-project/connect-database","path":"/relational-migrator-lab/docs/create-project/connect-database","sidebar":"tutorialSidebar"},{"id":"create-project/create-new-project","path":"/relational-migrator-lab/docs/create-project/create-new-project","sidebar":"tutorialSidebar"},{"id":"create-project/define-initial-schema","path":"/relational-migrator-lab/docs/create-project/define-initial-schema","sidebar":"tutorialSidebar"},{"id":"create-project/select-tables","path":"/relational-migrator-lab/docs/create-project/select-tables","sidebar":"tutorialSidebar"},{"id":"desired-schema-mongodb","path":"/relational-migrator-lab/docs/desired-schema-mongodb","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-authors","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-issue-detail","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-reviews","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-issue-detail-users","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-reviews-user","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-authors-alias","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-author-book","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-book-genre","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","sidebar":"tutorialSidebar"},{"id":"Generate code/convert-queries","path":"/relational-migrator-lab/docs/Generate code/convert-queries","sidebar":"tutorialSidebar"},{"id":"Generate code/convert-sprocs","path":"/relational-migrator-lab/docs/Generate code/convert-sprocs","sidebar":"tutorialSidebar"},{"id":"Generate code/generate-app-code","path":"/relational-migrator-lab/docs/Generate code/generate-app-code","sidebar":"tutorialSidebar"},{"id":"intro","path":"/relational-migrator-lab/docs/intro","sidebar":"tutorialSidebar"},{"id":"Migrate Data/cdc-migration","path":"/relational-migrator-lab/docs/Migrate Data/cdc-migration","sidebar":"tutorialSidebar"},{"id":"Migrate Data/migration","path":"/relational-migrator-lab/docs/Migrate Data/migration","sidebar":"tutorialSidebar"},{"id":"Migrate Data/view-migrated-data","path":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","sidebar":"tutorialSidebar"},{"id":"prerequisites/mongodb","path":"/relational-migrator-lab/docs/prerequisites/mongodb","sidebar":"tutorialSidebar"},{"id":"prerequisites/postgres","path":"/relational-migrator-lab/docs/prerequisites/postgres","sidebar":"tutorialSidebar"},{"id":"prerequisites/relational-migrator","path":"/relational-migrator-lab/docs/prerequisites/relational-migrator","sidebar":"tutorialSidebar"},{"id":"project-settings","path":"/relational-migrator-lab/docs/project-settings","sidebar":"tutorialSidebar"},{"id":"schema-in-postgresql","path":"/relational-migrator-lab/docs/schema-in-postgresql","sidebar":"tutorialSidebar"},{"id":"summary","path":"/relational-migrator-lab/docs/summary","sidebar":"tutorialSidebar"},{"id":"toggle-view","path":"/relational-migrator-lab/docs/toggle-view","sidebar":"tutorialSidebar"},{"id":"/category/-prerequisites","path":"/relational-migrator-lab/docs/category/-prerequisites","sidebar":"tutorialSidebar"},{"id":"/category/-create-a-project","path":"/relational-migrator-lab/docs/category/-create-a-project","sidebar":"tutorialSidebar"},{"id":"/category/-edit-mapping-rules","path":"/relational-migrator-lab/docs/category/-edit-mapping-rules","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/relational-migrator-lab/docs/intro","label":"intro"}}}}],"breadcrumbs":true}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-ZJ28V71VTQ"],"anonymizeIP":true,"id":"default"}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1733508027629.json","lunrIndex":"lunr-index-1733508027629.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("2627"),u=JSON.parse('{"docusaurusVersion":"3.6.3","siteVersion":"1.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.3"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.3"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.6.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.3"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f(e){let{children:t}=e;return(0,r.jsx)(d.Provider,{value:c,children:t})}},6893:function(e,t,n){"use strict";n.d(t,{Z:()=>m});var r=n("5893"),a=n("7294"),o=n("7565"),i=n("4819"),l=n("8365"),s=n("2490"),u=n("4879");function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:t})]})}function d(e){let{error:t}=e,n=(0,l.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,r.jsx)(u.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:t,tryAgain:n}),children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(c,{error:t,tryAgain:n})})]})})}let g=e=>(0,r.jsx)(p,{...e});class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??g)({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},7565:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},4819:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893);n(7294);var a=n(405);function o(e){return(0,r.jsx)(a.ql,{...e})}},3012:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(5893),a=n(7294),o=n(3727),i=n(8365),l=n(2933),s=n(3150),u=n(7565),c=n(1065),d=n(4757);let f=e=>e.startsWith("/"),p=a.forwardRef(function(e,t){var n;let{isNavLink:p,to:g,href:m,activeClassName:h,isActive:b,"data-noBrokenLinkCheck":y,autoAddBaseUrl:v=!0,...w}=e,{siteConfig:k}=(0,l.Z)(),{trailingSlash:x,baseUrl:S}=k,E=k.future.experimental_router,{withBaseUrl:_}=(0,d.Cg)(),C=(0,c.Z)(),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>T.current);let j=g||m,N=(0,s.Z)(j),P=j?.replace("pathname://","");let A=void 0!==P?(n=P,v&&f(n)?_(n):n):void 0;"hash"===E&&A?.startsWith("./")&&(A=A?.slice(1)),A&&N&&(A=(0,i.applyTrailingSlash)(A,{trailingSlash:x,baseUrl:S}));let O=(0,a.useRef)(!1),L=p?o.OL:o.rU,R=u.Z.canUseIntersectionObserver,I=(0,a.useRef)(),F=()=>{!O.current&&null!=A&&(window.docusaurus.preload(A),O.current=!0)};(0,a.useEffect)(()=>(!R&&N&&u.Z.canUseDOM&&null!=A&&window.docusaurus.prefetch(A),()=>{R&&I.current&&I.current.disconnect()}),[I,A,R,N]);let M=A?.startsWith("#")??!1,D=!w.target||"_self"===w.target,z=!A||!N||!D||M&&"hash"!==E;!y&&(M||!z)&&C.collectLink(A),w.id&&C.collectAnchor(w.id);let $={};return z?(0,r.jsx)("a",{ref:T,href:A,...j&&!N&&{target:"_blank",rel:"noopener noreferrer"},...w,...$}):(0,r.jsx)(L,{...w,onMouseEnter:F,onTouchStart:F,innerRef:e=>{T.current=e,R&&e&&N&&(I.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=A&&window.docusaurus.prefetch(A))})}),I.current.observe(e))},to:A,...p&&{isActive:b,activeClassName:h},...$})})},6025:function(e,t,n){"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n("5893"),a=n("7294");function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n("2627");function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegalchildren",t),Error("The Docusaurus component only accept simple string values");let i=l({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:o(i,a)})}},7710:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r="default"},3150:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return a},b:function(){return r}})},4757:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},ZP:function(){return l}});var r=n(7294),a=n(2933),o=n(3150);function i(){let{siteConfig:e}=(0,a.Z)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.b)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;let s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{withBaseUrl:n}=i();return n(e,t)}},1065:function(e,t,n){"use strict";n.d(t,{Z:()=>i}),n("5893");var r=n("7294");let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2933:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(1716);function o(){return(0,r.useContext)(a._)}},1672:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},eZ:function(){return i}});var r=n(2933),a=n(7710);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){let{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(e),i=r?.[t];if(!i&&n.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},7227:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(258);function o(){return(0,r.useContext)(a._)}},2e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294);let a=n(7565).Z.canUseDOM?r.useLayoutEffect:r.useEffect},6464:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){let t={};return!function e(n,a){Object.entries(n).forEach(n=>{let[o,i]=n,l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i})}(e),t}},4879:function(e,t,n){"use strict";n.d(t,{_:function(){return o},z:function(){return i}});var r=n(5893),a=n(7294);let o=a.createContext(null);function i(e){let{children:t,value:n}=e,i=a.useContext(o),l=(0,a.useMemo)(()=>(function(e){let{parent:t,value:n}=e;if(!t){if(n){if(!("plugin"in n))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return n}let r={...t.data,...n?.data};return{plugin:t.plugin,data:r}})({parent:i,value:n}),[i,n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},3896:function(e,t,n){"use strict";n.d(t,{J:function(){return y},L5:function(){return b}});var r=n(5893),a=n(7294),o=n(1723),i=n(7710),l=n(140),s=n(6009),u=n(5346);let c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,s.WA)(c(e),{persistence:t}).set(n)},f=(e,t)=>(0,s.WA)(c(e),{persistence:t}).get(),p=(e,t)=>{(0,s.WA)(c(e),{persistence:t}).del()},g=e=>Object.fromEntries(e.map(e=>[e,{preferredVersionName:null}])),m=a.createContext(null);function h(e){let{children:t}=e,n=function(){let e=(0,o._r)(),t=(0,l.L)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>g(n));return(0,a.useEffect)(()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;return Object.fromEntries(t.map(e=>[e,function(e){let t=f(e,n);return r[e].versions.some(e=>e.name===t)?{preferredVersionName:t}:(p(e,n),{preferredVersionName:null})}(e)]))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){d(e,t,n),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(m.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return(0,r.jsx)(h,{children:t})}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.m,t=(0,o.zh)(e),[n,r]=function(){let e=(0,a.useContext)(m);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e],s=t.versions.find(e=>e.name===l)??null;return{preferredVersion:s,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},5609:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return s}});var r=n(5893),a=n(7294),o=n(5346);let i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){let{children:t,name:n,items:o}=e,i=(0,a.useMemo)(()=>n&&o?{name:n,items:o}:null,[n,o]);return(0,r.jsx)(l.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},3413:function(e,t,n){"use strict";n.d(t,{jA:()=>g,xz:()=>f,SN:()=>E,lO:()=>k,MN:()=>_,LM:()=>p,_F:()=>b,vY:()=>S,oz:()=>x,s1:()=>w,f:()=>y});var r=n("7294"),a=n("6550"),o=n("8790"),i=n("1723"),l=n("9246");function s(e){return Array.from(new Set(e))}var u=n("3896"),c=n("8529"),d=n("5609");function f(e){let t=(0,c.E)();if(!e)return;let n=t.docs[e];if(!n)throw Error(`no version doc found by id=${e}`);return n}function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(let t of e.items){let e=p(t);if(e)return e}}(e):void 0:e.href}function g(){let{pathname:e}=(0,a.TH)(),t=(0,d.V)();if(!t)throw Error("Unexpected: cant find current sidebar in context");let n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}let m=(e,t)=>void 0!==e&&(0,l.Mg)(e,t),h=(e,t)=>e.some(e=>b(e,t));function b(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function y(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return b(t,n)||t.items.some(t=>e(t,n));case"link":return!t.unlisted||b(t,n);default:return!0}})(e,t)),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e,a=[];return!function e(t){for(let o of t)if("category"===o.type&&((0,l.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,l.Mg)(o.href,n))return!(r&&"category"!==o.type)&&a.unshift(o),!0;return!1}(t),a}function w(){let e=(0,d.V)(),{pathname:t}=(0,a.TH)();return!1!==i.gA()?.pluginData.breadcrumbs&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){let{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,u.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)(()=>s([t,n,a].filter(Boolean)),[t,n,a])}function x(e,t){let n=k(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}". +Available sidebar ids are: +- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function S(e,t){let n=k(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.docs),r=t.find(t=>t.id===e);if(!r){if(n.flatMap(e=>e.draftIds).includes(e))return null;throw Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}". +Available doc ids are: +- ${s(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}function E(e){let{route:t}=e,n=(0,a.TH)(),r=(0,c.E)(),i=t.routes,l=i.find(e=>(0,a.LX)(n.pathname,e));if(!l)return null;let s=l.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function _(e){return e.filter(e=>"category"!==e.type&&"link"!==e.type||!!p(e))}},8529:function(e,t,n){"use strict";n.d(t,{E:function(){return s},q:function(){return l}});var r=n(5893),a=n(7294),o=n(5346);let i=a.createContext(null);function l(e){let{children:t,version:n}=e;return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},1723:function(e,t,n){"use strict";n.d(t,{Jo:()=>g,zh:()=>u,yW:()=>f,gB:()=>d,Iw:()=>p,gA:()=>c,_r:()=>s});var r=n("6550"),a=n("1672");let o=e=>e.versions.find(e=>e.isLast);function i(e,t){var n,a;let o=(n=e,a=t,[...n.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.LX)(a,{path:e.path,exact:!1,strict:!1}))),i=o?.docs.find(e=>!!r.LX(t,{path:e.path,exact:!0,strict:!1})),l=i?function(t){let n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(i.id):{};return{activeVersion:o,activeDoc:i,alternateDocVersions:l}}let l={},s=()=>(0,a.OD)("docusaurus-plugin-content-docs")??l,u=e=>{try{return(0,a.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${"Default"===e?"":` (pluginId=${e}`}`,{cause:t})}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(),{pathname:n}=(0,r.TH)();return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Object.entries(e).sort((e,t)=>t[1].path.localeCompare(e[1].path)).find(e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})}),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map(e=>e.path).join(", ")}`);return o}(t,n,e)}function d(e){return u(e).versions}function f(e){return o(u(e))}function p(e){let t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function g(e){let t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){let n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},5442:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;n&&(t.pathname!==n.pathname||t.search!==n.search||t.hash!==n.hash)&&setTimeout(()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")})}}},1987:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});let o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){let e=window.setTimeout(()=>{a().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},1569:function(e,t,n){"use strict";var r=n("3359"),a=n("5150");!function(e){let{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach(e=>{"php"===e&&n(6854),n(2096)(`./prism-${e}`)}),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.p1)},4403:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("5893");n("7294");var a=n("4904"),o=n("6025"),i=n("140"),l=n("3012"),s=n("1065");let u={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function c(e){let{as:t,id:n,...c}=e,d=(0,s.Z)(),{navbar:{hideOnScroll:f}}=(0,i.L)();if("h1"===t||!n)return(0,r.jsx)(t,{...c,id:void 0});d.collectAnchor(n);let p=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,r.jsxs)(t,{...c,className:(0,a.Z)("anchor",f?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,r.jsx)(l.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200B"})]})}},2425:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("5893");n("7294");let a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a,children:(0,r.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2490:function(e,t,n){"use strict";n.d(t,{Z:()=>tr});var r=n("5893"),a=n("7294"),o=n("4904"),i=n("6893"),l=n("4713"),s=n("6550"),u=n("6025"),c=n("346");let d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}let p=(0,u.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){let t=e.children??p,{containerRef:n,onClick:o}=function(){let e=(0,a.useRef)(null),{action:t}=(0,s.k6)(),n=(0,a.useCallback)(e=>{e.preventDefault();let t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)},[]);return(0,c.S)(n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)}),{containerRef:e,onClick:n}}();return(0,r.jsx)("div",{ref:n,role:"region","aria-label":p,children:(0,r.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var m=n("4681"),h=n("6959");let b="skipToContent_fXgn";function y(){return(0,r.jsx)(g,{className:b})}var v=n("140"),w=n("2093");function k(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...l,children:(0,r.jsx)("g",{stroke:a,strokeWidth:o,children:(0,r.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}let x="closeButton_CVFx";function S(e){return(0,r.jsx)("button",{type:"button","aria-label":(0,u.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",x,e.className),children:(0,r.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}let E="content_knG7";function _(e){let{announcementBar:t}=(0,v.L)(),{content:n}=t;return(0,r.jsx)("div",{...e,className:(0,o.Z)(E,e.className),dangerouslySetInnerHTML:{__html:n}})}let C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){let{announcementBar:e}=(0,v.L)(),{isActive:t,close:n}=(0,w.n)();if(!t)return null;let{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,r.jsxs)("div",{className:C.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,r.jsx)("div",{className:C.announcementBarPlaceholder}),(0,r.jsx)(_,{className:C.announcementBarContent}),i&&(0,r.jsx)(S,{onClick:n,className:C.announcementBarClose})]})}var j=n("3780"),N=n("9599"),P=n("5346"),A=n("1179");let O=a.createContext(null);function L(e){let{children:t}=e,n=function(){let e=(0,j.e)(),t=(0,A.HY)(),[n,r]=(0,a.useState)(!1),o=null!==t.component,i=(0,P.D9)(o);return(0,a.useEffect)(()=>{o&&!i&&r(!0)},[o,i]),(0,a.useEffect)(()=>{if(!o){r(!1);return}!e.shown&&r(!0)},[e.shown,o]),(0,a.useMemo)(()=>[n,r],[n])}();return(0,r.jsx)(O.Provider,{value:n,children:t})}function R(){let e=(0,a.useContext)(O);if(!e)throw new P.i6("NavbarSecondaryMenuDisplayProvider");let[t,n]=e,o=(0,a.useCallback)(()=>n(!1),[n]),i=(0,A.HY)();return(0,a.useMemo)(()=>({shown:t,hide:o,content:function(e){if(e.component){let t=e.component;return(0,r.jsx)(t,{...e.props})}}(i)}),[o,i,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e,{shown:i}=R();return(0,r.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,r.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:a})]})]})}var F=n("4239"),M=n("7227");function D(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function z(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}let $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"},B=a.memo(function(e){let{className:t,buttonClassName:n,value:a,onChange:i}=e,l=(0,M.Z)(),s=(0,u.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===a?(0,u.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,r.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,r.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===a?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===a?"true":"false",children:[(0,r.jsx)(D,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,r.jsx)(z,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}),U={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e,n=(0,v.L)().navbar.style,a=(0,v.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,F.I)();return a?null:(0,r.jsx)(B,{className:t,buttonClassName:"dark"===n?U.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var H=n("4987");function W(){return(0,r.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function V(){let e=(0,j.e)();return(0,r.jsx)("button",{type:"button","aria-label":(0,u.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,r.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function q(){return(0,r.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,r.jsx)(W,{}),(0,r.jsx)(Z,{className:"margin-right--md"}),(0,r.jsx)(V,{})]})}var G=n("3012"),Y=n("4757"),Q=n("3150");function K(e,t){return void 0!==e&&void 0!==t&&RegExp(e,"gi").test(t)}var X=n("2425");function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e,d=(0,Y.ZP)(a),f=(0,Y.ZP)(t),p=(0,Y.ZP)(o,{forcePrependBaseUrl:!0}),g=i&&o&&!(0,Q.Z)(o),m=l?{dangerouslySetInnerHTML:{__html:l}}:{children:(0,r.jsxs)(r.Fragment,{children:[i,g&&(0,r.jsx)(X.Z,{...s&&{width:12,height:12}})]})};return o?(0,r.jsx)(G.Z,{href:u?p:o,...c,...m}):(0,r.jsx)(G.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?K(n,t.pathname):t.pathname.startsWith(f)},...c,...m})}function ee(e){let{className:t,isDropdownItem:n=!1,...a}=e,i=(0,r.jsx)(J,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...a});return n?(0,r.jsx)("li",{children:i}):i}function et(e){let{className:t,isDropdownItem:n,...a}=e;return(0,r.jsx)("li",{className:"menu__list-item",children:(0,r.jsx)(J,{className:(0,o.Z)("menu__link",t),...a})})}function en(e){let{mobile:t=!1,position:n,...a}=e;return(0,r.jsx)(t?et:ee,{...a,activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var er=n("7455"),ea=n("9246"),eo=n("2933");let ei="dropdownNavbarItemMobile_S0Fm";function el(e){let{items:t,position:n,className:i,onClick:l,...s}=e,u=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(!u.current||u.current.contains(e.target)))d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[u]),(0,r.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,r.jsx)(J,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,r.jsx)("ul",{className:"dropdown__menu",children:t.map((e,t)=>(0,a.createElement)(eT,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function es(e){var t,n;let{items:i,className:l,position:u,onClick:c,...d}=e,f=function(){let{siteConfig:{baseUrl:e}}=(0,eo.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}();let p=(t=i,n=f,t.some(e=>{var t,r;return t=e,r=n,!!((0,ea.Mg)(t.to,r)||K(t.activeBaseRegex,r)||t.activeBasePath&&r.startsWith(t.activeBasePath))||!1})),{collapsed:g,toggleCollapsed:m,setCollapsed:h}=(0,er.u)({initialState:()=>!p});return(0,a.useEffect)(()=>{p&&h(!p)},[f,p,h]),(0,r.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":g}),children:[(0,r.jsx)(J,{role:"button",className:(0,o.Z)(ei,"menu__link menu__link--sublist menu__link--sublist-caret",l),...d,onClick:e=>{e.preventDefault(),m()},children:d.children??d.label}),(0,r.jsx)(er.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:i.map((e,t)=>(0,a.createElement)(eT,{mobile:!0,isDropdownItem:!0,onClick:c,activeClassName:"menu__link--active",...e,key:t}))})]})}function eu(e){let{mobile:t=!1,...n}=e;return(0,r.jsx)(t?es:el,{...n})}var ec=n("8910");function ed(e){let{width:t=20,height:n=20,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...a,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}let ef="iconLanguage_nlXk";var ep=n("6010"),eg=n("1672"),em=n("813"),eh=n.n(em);function eb(){let e=(0,s.TH)(),t=(0,s.k6)(),{siteConfig:{baseUrl:n}}=(0,eo.Z)(),[r,o]=(0,a.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,a.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);let{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,a.useEffect)(()=>{if(0===r.wordToHighlight.length)return;let e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;let t=new(eh())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)},[r,n]),null}let ey=e=>{let t;let o=(0,a.useRef)(!1),i=(0,a.useRef)(null),[l,u]=(0,a.useState)(!1),c=(0,s.k6)(),{siteConfig:d={}}=(0,eo.Z)(),f=(d.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),p=(0,M.Z)(),{baseUrl:g}=d,m=f&&f[1]?.assetUrl||g,h=(e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:g,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{let a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{let e=(n.text||n.subcategory||n.title).match(RegExp(" \\w*","g"));if(e&&e.length>0){let t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(e){console.log(e)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})},b=(0,eg.eZ)("docusaurus-lunr-search"),y=()=>fetch(`${m}${b.fileNames.searchDoc}`).then(e=>e.json()),v=()=>fetch(`${m}${b.fileNames.lunrIndex}`).then(e=>e.json()),w=()=>{!o.current&&(Promise.all([y(),v(),Promise.all([n.e("4294"),n.e("9990")]).then(n.bind(n,5322)),Promise.all([n.e("6212"),n.e("2061")]).then(n.bind(n,8544))]).then(e=>{let[t,n,{default:r}]=e,{searchDocs:a,options:o}=t;if(!!a&&0!==a.length)h(a,n,r,o),u(!0)}),o.current=!0)},k=(0,a.useCallback)(t=>{!i.current.contains(t.target)&&i.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);return p&&(w(),t=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,a.useEffect)(()=>{e.autoFocus&&l&&i.current.focus()},[l]),(0,r.jsxs)("div",{className:"navbar__search",children:[(0,r.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:(0,ep.Z)("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:k,onKeyDown:k,tabIndex:0}),(0,r.jsx)("input",{id:"search_input_react",type:"search",placeholder:l?t:"Loading...","aria-label":"Search",className:(0,ep.Z)("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:w,onMouseOver:w,onFocus:k,onBlur:k,ref:i,disabled:!l}),(0,r.jsx)(eb,{})]},"search-box")},ev="navbarSearchContainer_Bca1";function ew(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n,ev),children:t})}var ek=n("1723"),ex=n("3413");let eS=e=>e.docs.find(t=>t.id===e.mainDocId);var eE=n("3896");function e_(e,t){var n;return t.alternateDocVersions[e.name]??(n=e).docs.find(e=>e.id===n.mainDocId)}let eC={default:en,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,queryString:o="",...i}=e,{i18n:{currentLocale:l,locales:c,localeConfigs:d}}=(0,eo.Z)(),f=(0,ec.l)(),{search:p,hash:g}=(0,s.TH)(),m=[...n,...c.map(e=>{let n=`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`,r=`${n}${p}${g}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:r,target:"_self",autoAddBaseUrl:!1,className:e===l?t?"menu__link--active":"dropdown__link--active":""}}),...a],h=t?(0,u.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[l].label;return(0,r.jsx)(eu,{...i,mobile:t,label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{className:ef}),h]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,r.jsx)(ew,{className:n,children:(0,r.jsx)(ey,{})})},dropdown:eu,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:i=!1}=e;return(0,r.jsx)(i?"li":"div",{className:(0,o.Z)({navbar__item:!a&&!i,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ek.Iw)(a),l=(0,ex.vY)(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,r.jsx)(en,{exact:!0,...o,isActive:()=>s||!!i?.sidebar&&i.sidebar===l.sidebar,label:n??l.id,to:l.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ek.Iw)(a),l=(0,ex.oz)(t,a).link;if(!l)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,r.jsx)(en,{exact:!0,...o,isActive:()=>i?.sidebar===t,label:n??l.label,to:l.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e,i=(0,ex.lO)(a)[0],l=t??i.label,s=n??eS(i).path;return(0,r.jsx)(en,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=(0,ek.Iw)(n),p=(0,ek.gB)(n),{savePreferredVersionName:g}=(0,eE.J)(n),m=[...o,...p.map(function(e){let t=e_(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>g(e.name)}}),...i],h=(0,ex.lO)(n)[0],b=t&&m.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,y=t&&m.length>1?void 0:e_(h,f).path;return m.length<=1?(0,r.jsx)(en,{...l,mobile:t,label:b,to:y,isActive:a?()=>!1:void 0}):(0,r.jsx)(eu,{...l,mobile:t,label:b,to:y,items:m,isActive:a?()=>!1:void 0})}};function eT(e){var t,n;let{type:a,...o}=e;let i=eC[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`No NavbarItem component found for type "${a}".`);return(0,r.jsx)(i,{...o})}function ej(){let e=(0,j.e)(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eT,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eN(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function eP(){let e=0===(0,v.L)().navbar.items.length,t=R();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eN,{onClick:()=>t.hide()}),t.content]})}function eA(){let e=(0,j.e)();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(I,{header:(0,r.jsx)(q,{}),primaryMenu:(0,r.jsx)(ej,{}),secondaryMenu:(0,r.jsx)(eP,{})}):null}let eO={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function eL(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function eR(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return(0,N.RF)((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i =l?n(!1):i+u {if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[eO.navbarHideable,!d&&eO.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown}),children:[t,(0,r.jsx)(eL,{onClick:l.toggle}),(0,r.jsx)(eA,{})]})}var eI=n("8365");let eF="errorBoundaryError_a6uf";function eM(e){return(0,r.jsx)("button",{type:"button",...e,children:(0,r.jsx)(u.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function eD(e){let{error:t}=e,n=(0,eI.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{className:eF,children:n})}class ez extends a.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}function e$(e){let{width:t=30,height:n=30,className:a,...o}=e;return(0,r.jsx)("svg",{className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function eB(){let{toggle:e,shown:t}=(0,j.e)();return(0,r.jsx)("button",{onClick:e,"aria-label":(0,u.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,r.jsx)(e$,{})})}let eU="colorModeToggle_DEke";function eZ(e){let{items:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>(0,r.jsx)(ez,{onError:t=>Error(`A theme navbar item failed to render. +Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: +${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(eT,{...e})},t))})}function eH(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function eW(){let e=(0,j.e)(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(eH,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eB,{}),(0,r.jsx)(W,{}),(0,r.jsx)(eZ,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eZ,{items:a}),(0,r.jsx)(Z,{className:eU}),!o&&(0,r.jsx)(ew,{children:(0,r.jsx)(ey,{})})]})})}function eV(){return(0,r.jsx)(eR,{children:(0,r.jsx)(eW,{})})}function eq(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.ZP)(n),u=(0,Y.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(G.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,Q.Z)(a)&&(0,r.jsx)(X.Z,{})]})}function eG(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(eq,{item:t})},t.href??t.to)}function eY(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(eG,{item:e},t))})]})}function eQ(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(eY,{column:e},t))})}function eK(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function eX(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(eq,{item:t})}function eJ(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(eX,{item:e}),t.length!==n+1&&(0,r.jsx)(eK,{})]},n))})})}function e0(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(eQ,{columns:t}):(0,r.jsx)(eJ,{links:t})}var e1=n("6561");let e2={footerLogoLink:"footerLogoLink_BH7S"};function e3(e){let{logo:t}=e,{withBaseUrl:n}=(0,Y.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(e1.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function e4(e){let{logo:t}=e;return t.href?(0,r.jsx)(G.Z,{href:t.href,className:e2.footerLogoLink,target:t.target,children:(0,r.jsx)(e3,{logo:t})}):(0,r.jsx)(e3,{logo:t})}function e5(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function e9(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let e6=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(e9,{style:o,links:n&&n.length>0&&(0,r.jsx)(e0,{links:n}),logo:a&&(0,r.jsx)(e4,{logo:a}),copyright:t&&(0,r.jsx)(e5,{copyright:t})})}),e8=(0,P.Qc)([F.S,w.p,N.OC,eE.L5,l.VC,function(e){let{children:t}=e;return(0,r.jsx)(A.n2,{children:(0,r.jsx)(j.M,{children:(0,r.jsx)(L,{children:t})})})}]);function e7(e){let{children:t}=e;return(0,r.jsx)(e8,{children:t})}var te=n("4403");function tt(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(te.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eM,{onClick:n,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eD,{error:t})})]})})})}let tn="mainWrapper_z2l0";function tr(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,h.t)(),(0,r.jsxs)(e7,{children:[(0,r.jsx)(l.d,{title:s,description:u}),(0,r.jsx)(y,{}),(0,r.jsx)(T,{}),(0,r.jsx)(eV,{}),(0,r.jsx)("div",{id:d,className:(0,o.Z)(m.k.wrapper.main,tn,a),children:(0,r.jsx)(i.Z,{fallback:e=>(0,r.jsx)(tt,{...e}),children:t})}),!n&&(0,r.jsx)(e6,{})]})}},4987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893);n(7294);var a=n(3012),o=n(4757),i=n(2933),l=n(140),s=n(6561);function u(e){let{logo:t,alt:n,imageClassName:a}=e,i={light:(0,o.ZP)(t.src),dark:(0,o.ZP)(t.srcDark||t.src)},l=(0,r.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return a?(0,r.jsx)("div",{className:a,children:l}):l}function c(e){let{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,l.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.ZP)(s?.href||"/"),g=s?.alt??(n?"":t);return(0,r.jsxs)(a.Z,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:g,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},4315:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893);n(7294);var a=n(4819);function o(e){let{locale:t,version:n,tag:o}=e;return(0,r.jsxs)(a.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:o}),t&&(0,r.jsx)("meta",{name:"docsearch:language",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},6561:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("5893"),a=n("7294"),o=n("8942"),i=n("7227"),l=n("4239");let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u(e){let{className:t,children:n}=e,u=(0,i.Z)(),{colorMode:c}=(0,l.I)();return(0,r.jsx)(r.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map(e=>{let i=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,r.jsx)(a.Fragment,{children:i},e)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,r.jsx)("img",{src:t[n],alt:a,className:i,...o})}})}},7455:function(e,t,n){"use strict";n.d(t,{u:function(){return s},z:function(){return g}});var r=n(5893),a=n(7294),o=n(7565),i=n(2e3),l=n(7504);function s(e){let{initialState:t}=e,[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)(()=>{r(e=>!e)},[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}let u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){let n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{as:t="div",collapsed:n,children:i,animation:s,onCollapseTransitionEnd:f,className:p,disableSSRStyle:g}=e,m=(0,a.useRef)(null);return!function(e){let{collapsibleRef:t,collapsed:n,animation:r}=e,o=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t.current;function a(){let t=function(){let t=e.scrollHeight,n=r?.duration??function(e){if((0,l.n)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(t),a=r?.easing??"ease-in-out";return{transition:`height ${n}ms ${a}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current){d(e,n),o.current=!0;return}return e.style.willChange="height",function(){let t=requestAnimationFrame(()=>{n?(a(),requestAnimationFrame(()=>{e.style.height=u.height,e.style.overflow=u.overflow})):(e.style.display="block",requestAnimationFrame(()=>{a()}))});return()=>cancelAnimationFrame(t)}()},[t,n,r])}({collapsibleRef:m,collapsed:n,animation:s}),(0,r.jsx)(t,{ref:m,style:g?void 0:function(e){if(!o.Z.canUseDOM)return e?u:c}(n),onTransitionEnd:e=>{if("height"===e.propertyName)d(m.current,n),f?.(n)},className:p,children:i})}function p(e){let{collapsed:t,...n}=e,[o,l]=(0,a.useState)(!t),[s,u]=(0,a.useState)(t);return(0,i.Z)(()=>{!t&&l(!0)},[t]),(0,i.Z)(()=>{o&&u(t)},[o,t]),o?(0,r.jsx)(f,{...n,collapsed:s}):null}function g(e){let{lazy:t,...n}=e;return(0,r.jsx)(t?p:f,{...n})}},2093:function(e,t,n){"use strict";n.d(t,{n:function(){return m},p:function(){return g}});var r=n(5893),a=n(7294),o=n(7227),i=n(6009),l=n(5346),s=n(140);let u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=a.createContext(null);function g(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,r]=(0,a.useState)(()=>!!t&&d());(0,a.useEffect)(()=>{r(d())},[]);let i=(0,a.useCallback)(()=>{f(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&f(!1),(a||!d())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(p.Provider,{value:n,children:t})}function m(){let e=(0,a.useContext)(p);if(!e)throw new l.i6("AnnouncementBarProvider");return e}},4239:function(e,t,n){"use strict";n.d(t,{I:function(){return b},S:function(){return h}});var r=n(5893),a=n(7294),o=n(7565),i=n(5346),l=n(6009),s=n(140);let u=a.createContext(void 0),c="theme",d=(0,l.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,g=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function h(e){let{children:t}=e,n=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,o]=(0,a.useState)(g(e));(0,a.useEffect)(()=>{t&&d.del()},[t]);let i=(0,a.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{persist:a=!0}=r;t?(o(t),a&&m(t)):(n?o(window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light):o(e),d.del())},[n,e]);(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-theme",p(r))},[r]),(0,a.useEffect)(()=>{if(t)return;let e=e=>{if(e.key!==c)return;let t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t,i]);let l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t&&!n)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{if(window.matchMedia("print").matches||l.current){l.current=window.matchMedia("print").matches;return}i(null)};return e.addListener(r),()=>e.removeListener(r)},[i,t,n]),(0,a.useMemo)(()=>({colorMode:r,setColorMode:i,get isDarkTheme(){return r===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}}),[r,i])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function b(){let e=(0,a.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},3780:function(e,t,n){"use strict";n.d(t,{M:()=>d,e:()=>f});var r=n("5893"),a=n("7294"),o=n("1179"),i=n("4704"),l=n("6550"),s=n("5346"),u=n("140");let c=a.createContext(void 0);function d(e){let{children:t}=e,n=function(){var e;let t=function(){let e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),n=(0,i.i)(),r=!t&&"mobile"===n,[c,d]=(0,a.useState)(!1);e=()=>{if(c)return d(!1),!1},function(e){let t=(0,l.k6)(),n=(0,s.zX)(e);(0,a.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)});let f=(0,a.useCallback)(()=>{d(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===n&&d(!1)},[n]),(0,a.useMemo)(()=>({disabled:t,shouldRender:r,toggle:f,shown:c}),[t,r,f,c])}();return(0,r.jsx)(c.Provider,{value:n,children:t})}function f(){let e=a.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},1179:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},Zo:function(){return u},n2:function(){return l}});var r=n(5893),a=n(7294),o=n(5346);let i=a.createContext(null);function l(e){let{children:t}=e,n=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e,r=(0,a.useContext)(i);if(!r)throw new o.i6("NavbarSecondaryMenuContentProvider");let[,l]=r,s=(0,o.Ql)(n);return(0,a.useEffect)(()=>{l({component:t,props:s})},[l,t,s]),(0,a.useEffect)(()=>()=>l({component:null,props:null}),[l]),null}},6959:function(e,t,n){"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n("7294");let a="navigation-with-keyboard";function o(){(0,r.useEffect)(()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}},[])}},4704:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(7294),a=n(7565);let o={desktop:"desktop",mobile:"mobile"};function i(){let{desktopBreakpoint:e=996}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.Z.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},4681:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},7504:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},4713:function(e,t,n){"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n("5893"),a=n("7294"),o=n("8942"),i=n("4819"),l=n("4879"),s=n("4757"),u=n("2933");function c(e){let{title:t,description:n,keywords:a,image:o,children:l}=e,c=function(e){let{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.Cg)(),f=o?d(o,{absolute:!0}):void 0;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)("title",{children:c}),t&&(0,r.jsx)("meta",{property:"og:title",content:c}),n&&(0,r.jsx)("meta",{name:"description",content:n}),n&&(0,r.jsx)("meta",{property:"og:description",content:n}),a&&(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&(0,r.jsx)("meta",{property:"og:image",content:f}),f&&(0,r.jsx)("meta",{name:"twitter:image",content:f}),l]})}let d=a.createContext(void 0);function f(e){let{className:t,children:n}=e,l=a.useContext(d),s=(0,o.Z)(l,t);return(0,r.jsxs)(d.Provider,{value:s,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("html",{className:s})}),n]})}function p(e){var t;let{children:n}=e,i=function(){let e=a.useContext(l._);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}();let s=(t=i.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),u=`plugin-id-${i.plugin.id}`;return(0,r.jsx)(f,{className:(0,o.Z)(s,u),children:n})}},5346:function(e,t,n){"use strict";n.d(t,{D9:function(){return l},Qc:function(){return c},Ql:function(){return u},i6:function(){return s},zX:function(){return i}});var r=n(5893),a=n(7294),o=n(2e3);function i(e){let t=(0,a.useRef)(e);return(0,o.Z)(()=>{t.current=e},[e]),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r{t.current=e}),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(? \w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return t=>{let{children:n}=t;return(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),n)})}}},9246:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(7294),a=n(4143),o=n(2933);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)(()=>(function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;let n=t.find(r);return n?n:e(t.filter(a).flatMap(e=>e.routes??[]))}(n)})({routes:a.Z,baseUrl:e}),[e])}},9599:function(e,t,n){"use strict";n.d(t,{Ct:function(){return f},OC:function(){return u},RF:function(){return d}});var r=n(5893),a=n(7294),o=n(7565),i=n(7227);n(2e3);var l=n(5346);let s=a.createContext(void 0);function u(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!0);return(0,a.useMemo)(()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}}),[])}();return(0,r.jsx)(s.Provider,{value:n,children:t})}let c=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=function(){let e=(0,a.useContext)(s);if(null==e)throw new l.i6("ScrollControllerProvider");return e}(),r=(0,a.useRef)(c()),o=(0,l.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=c();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function f(){let e=(0,a.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{var r;e.current=t?(r=n,window.scrollTo({top:r,behavior:"smooth"}),()=>{}):function(e){let t=null,n=document.documentElement.scrollTop>e;return!function r(){let a=document.documentElement.scrollTop;(n&&a>e||!n&&a t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},6009:function(e,t,n){"use strict";n.d(t,{WA:()=>s}),n("7294");var r=JSON.parse('{"d":"localStorage","u":""}');let a=r.d;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;let o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}let i=!1,l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){var n;let s=(n=e,`${n}${r.u}`);if("undefined"==typeof window)return function(e){function t(){throw Error(`Illegal storage API usage for storage key "${e}". +Docusaurus storage APIs are not supposed to be called on the server-rendering process. +Please only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(s);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!i&&(console.warn(`Docusaurus browser storage is not available. +Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),i=!0)}(e),null}}(t?.persistence);return null===u?l:{get:()=>{try{return u.getItem(s)}catch(e){return console.error(`Docusaurus storage error, can't get key=${s}`,e),null}},set:e=>{try{let t=u.getItem(s);u.setItem(s,e),o({key:s,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${s}=${e}`,t)}},del:()=>{try{let e=u.getItem(s);u.removeItem(s),o({key:s,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${s}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===s&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${s}`,e),()=>{}}}}}},8910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(6550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},346:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(7294),a=n(6550),o=n(5346);function i(e){let t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)(()=>{if(!!n)t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},4994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(8411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},4202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(8395);var a,o=n(4994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(8411);var i=n(4202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},8411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},5150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"Relational Migrator Lab",tagline:"Learn how to move from your Relational Database into MongoDB",url:"https://relational-migrator-lab.github.io",baseUrl:"/relational-migrator-lab/",projectName:"mongodb-developer.github.io",organizationName:"mongodb-developer",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.svg",deploymentBranch:"gh-pages",staticDirectories:["static"],i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},customFields:{startButtonTitle:"Let's Migrate!",featureList:[{title:"Hands-On Experiences",illustration:"img/coding.png",description:"\n Learn by doing, not by reading.\n "},{title:"Amazing Instructors",illustration:"img/highfive.png",description:"\n Build it with the help of our amazing instructors, or just do it on your own.\n "},{title:"Take-Home Material",illustration:"img/writing.png",description:"\n Take home the material and keep learning.\n "}],utmParams:"utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},presets:[["classic",{docs:{sidebarPath:"/home/runner/work/relational-migrator-lab/relational-migrator-lab/sidebars.js",editUrl:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main"},theme:{customCss:"/home/runner/work/relational-migrator-lab/relational-migrator-lab/src/css/custom.css"},gtag:{trackingID:"G-ZJ28V71VTQ",anonymizeIP:!0}}]],plugins:["/home/runner/work/relational-migrator-lab/relational-migrator-lab/node_modules/docusaurus-lunr-search/src/index.js"],themeConfig:{docs:{sidebar:{autoCollapseCategories:!0,hideable:!0},versionPersistence:"localStorage"},navbar:{title:"Relational Migrator Lab",logo:{alt:"MongoDB Logo",src:"img/logo.svg",srcDark:"img/logo-dark.svg",className:"navbar-logo",width:"135px",height:"100%"},items:[{type:"localeDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]}],hideOnScroll:!1},footer:{style:"dark",links:[{label:"Try MongoDB Atlas",href:"https://www.mongodb.com/try?utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"Forums",href:"https://www.mongodb.com/community/forums/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"Developer Center",href:"https://www.mongodb.com/developer/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"MongoDB University",href:"https://learn.mongodb.com/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{href:"https://github.com/mongodb-developer/relational-migrator-lab",label:"This lab in GitHub"},{label:"\xa9 2024 MongoDB, Inc.",href:"#"}]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["powershell","swift","kotlin"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},mermaid:{theme:{light:"neutral",dark:"forest"}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},future:{experimental_faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},6019:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t a})},443:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{Z:function(){return r}})},4904:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="",a=arguments.length;neF,p1:()=>K});var s,u,c,d,f,p,g,m,h,b,y,v,w,k,x,S,E,_,C,T,j,N,P,A,O,L,R=n("7294");let I=function(){for(var e,t,n=0,r="",a=arguments.length;nt in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&V(e,n,t[n]);if(U)for(var n of U(t))W.call(t,n)&&V(e,n,t[n]);return e},G=(e,t)=>D(e,$(t)),Y=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&U)for(var r of U(e))0>t.indexOf(r)&&W.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of B(t))!H.call(e,a)&&a!==n&&M(e,a,{get:()=>t[a],enumerable:!(r=z(t,a))||r.enumerable});return e};var K=(l=null!=(o=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach));x+=k.value.length,k=k.next){;var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var _=1;if(b){if(!(S=o(w,x,t,h))||S.index>=t.length)break;var C=S.index,T=S.index+S[0].length,j=x;for(j+=k.value.length;C>=j;)j+=(k=k.next).value.length;if(j-=k.value.length,x=j,k.value instanceof a)continue;for(var N=k;N!==n.tail&&(j c.reach&&(c.reach=L);var R=k.prev;if(A&&(R=l(n,R,A),x+=A.length),function(e,t,n){for(var r=t.next,a=0;a 1){var I={cause:d+","+p,reach:L};e(t,n,i,k.prev,x,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(!!n&&!!n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+""+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[B(r)[0]])((a={exports:{}}).exports,a),a.exports})())?F(Z(o)):{},Q(!i&&o&&o.__esModule?l:M(l,"default",{value:o,enumerable:!0}),o));K.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:K.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:K.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},K.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(e,t){K.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:K.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,s=K,u={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=RegExp((d="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+d),f={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:d,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":u,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":u,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":f}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":f}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},K.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:K.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),K.languages.js=K.languages.javascript,K.languages.actionscript=K.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<|>>?>?|[!=]=?)=?|[~?@]/}),K.languages.actionscript["class-name"].alias="function",delete K.languages.actionscript.parameter,delete K.languages.actionscript["literal-property"],K.languages.markup&&K.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:K.languages.markup}}),g=/#(?!\{).+/,m={pattern:/#\{[^}]+\}/,alias:"variable"},(p=K).languages.coffeescript=p.languages.extend("javascript",{comment:g,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:m}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),p.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:g,interpolation:m}}}),p.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:p.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:m}}]}),p.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete p.languages.coffeescript["template-string"],p.languages.coffee=p.languages.coffeescript,Object.defineProperty(b=(h=K).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=h.languages[e]){var a,o=a[r];if((o=o||(a=h.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i |\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(K),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-] )(?:[ \t]*(?:(?![#:]) |: ))*/.source.replace(/ /g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s< >[ \t]+)?)(?:< >)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/< >/g,function(){return r}).replace(/< >/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s< >[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/< >/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:< >[ \t]+)?)< >(?=\s*:\s)/.source.replace(/< >/g,function(){return r}).replace(/< >/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(K),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/ /g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_) |_(?:(?!_) )+_)+__\b|\*\*(?:(?!\*) |\*(?:(?!\*) )+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_) |__(?:(?!_) )+__)+_\b|\*(?:(?!\*) |\*\*(?:(?!\*) )+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~) )+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]) )+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]) )+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n ",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(K),K.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:K.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},K.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n ?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i =d.length)return;var i,s,f,p,g,m,h,b=n[o];"string"==typeof b||"string"==typeof b.content?(i=d[u],-1!==(h=(m="string"==typeof b?b:b.content).indexOf(i))&&(++u,s=m.substring(0,h),g=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(g,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,g),p=m.substring(h+i.length),g=[],s&&g.push(s),g.push(f),p&&(t(m=[p]),g.push.apply(g,m)),"string"==typeof b?(n.splice.apply(n,[o,1].concat(g)),o+=g.length-1):b.content=g)):Array.isArray(h=b.content)?t(h):t([h])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(K),(w=K).languages.typescript=w.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),w.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete w.languages.typescript.parameter,delete w.languages.typescript["literal-property"],k=w.languages.extend("typescript",{}),delete k["class-name"],w.languages.typescript["class-name"].inside=k,w.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:k}}}}),w.languages.ts=w.languages.typescript,S=(x=K).languages.javascript,_="(@(?:arg|argument|param|property)\\s+(?:"+(E=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",x.languages.jsdoc=x.languages.extend("javadoclike",{parameter:{pattern:RegExp(_+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),x.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(_+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:S,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/ /g,function(){return E})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+E),lookbehind:!0,inside:{string:S.string,number:S.number,boolean:S.boolean,keyword:x.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:S,alias:"language-javascript"}}}}),x.languages.javadoclike.addSupport("javascript",x.languages.jsdoc),(C=K).languages.flow=C.languages.extend("javascript",{}),C.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),C.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete C.languages.flow.parameter,C.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(C.languages.flow.keyword)||(C.languages.flow.keyword=[C.languages.flow.keyword]),C.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),K.languages.n4js=K.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),K.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),K.languages.n4jsd=K.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/ /g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?: (?:\s*,\s*(?:\*\s*as\s+ |\{[^{}]*\}))?|\*\s*as\s+ |\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+ )?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#? /.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r *\.{3}(?:[^{}]| )*\})/.source;function o(e,t){return RegExp(e=e.replace(/ /g,function(){return n}).replace(//g,function(){return r}).replace(/ /g,function(){return a}),t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?: +(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?| ))* *\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/= /.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a "!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0 ]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},K.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=K.languages.swift}),(N=K).languages.kotlin=N.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete N.languages.kotlin["class-name"],P={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:N.languages.kotlin}},N.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:P},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:P},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete N.languages.kotlin.string,N.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),N.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),N.languages.kt=N.languages.kotlin,N.languages.kts=N.languages.kotlin,K.languages.c=K.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),K.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),K.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},K.languages.c.string],char:K.languages.c.char,comment:K.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:K.languages.c}}}}),K.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete K.languages.c.boolean,K.languages.objectivec=K.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete K.languages.objectivec["class-name"],K.languages.objc=K.languages.objectivec,K.languages.reason=K.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),K.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete K.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)| )*\*\//.source,n=0;n<2;n++)t=t.replace(/ /g,function(){return t});t=t.replace(/ /g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(K),K.languages.go=K.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),K.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete K.languages.go["class-name"],A=K,O=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,L=/\b(?! )\w+(?:\s*\.\s*\w+)*\b/.source.replace(/ /g,function(){return O.source}),A.languages.cpp=A.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?! )\w+/.source.replace(/ /g,function(){return O.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:O,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),A.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/ (?:\s*:\s* )?|:\s* /.source.replace(/ /g,function(){return L})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),A.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:A.languages.cpp}}}}),A.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),A.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:A.languages.extend("cpp",{})}}),A.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},A.languages.cpp["base-clause"]),K.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},K.languages.python["string-interpolation"].inside.interpolation.inside.rest=K.languages.python,K.languages.py=K.languages.python;((e,t)=>{for(var n in t)M(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>X,duotoneDark:()=>J,duotoneLight:()=>ee,github:()=>et,jettwaveDark:()=>ex,jettwaveLight:()=>eS,nightOwl:()=>en,nightOwlLight:()=>er,oceanicNext:()=>eg,okaidia:()=>em,oneDark:()=>eE,oneLight:()=>e_,palenight:()=>eh,shadesOfPurple:()=>eb,synthwave84:()=>ey,ultramin:()=>ev,vsDark:()=>ew,vsLight:()=>ek});var X={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},J={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},ee={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},et={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},en={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},er={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ea="#D8DEE9",eo="#999999",ei="#c5a5c5",el="#5a9bcf",es="#8dc891",eu="#d7deea",ec="#ff8b50",ed="#fc929e",ef="#79b6f2",ep="#FAC863",eg={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ei}},{types:["attr-value"],style:{color:es}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:eo}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:el}},{types:["boolean"],style:{color:ec}},{types:["tag"],style:{color:ed}},{types:["string"],style:{color:es}},{types:["punctuation"],style:{color:es}},{types:["selector","char","builtin","inserted"],style:{color:ea}},{types:["function"],style:{color:ef}},{types:["operator","entity","url","variable"],style:{color:eu}},{types:["keyword"],style:{color:ei}},{types:["atrule","class-name"],style:{color:ep}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},em={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},eh={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},eb={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},ey={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ev={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ew={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ek={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ex={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eS={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eE={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},e_={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},eC=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)?e:(n.types.forEach(t=>{let n=q(q({},e[t]),a);e[t]=n}),e)},{});return r.root=n,r.plain=G(q({},n),{backgroundColor:void 0}),r},eT=(e,t)=>{let[n,r]=(0,R.useState)(eC(t,e)),a=(0,R.useRef)(),o=(0,R.useRef)();return(0,R.useEffect)(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,r(eC(t,e)))},[e,t]),n},ej=e=>(0,R.useCallback)(t=>{var{className:n,style:r,line:a}=t;let o=G(q({},Y(t,["className","style","line"])),{className:I("token-line",n)});return"object"==typeof e&&"plain"in e&&(o.style=e.plain),"object"==typeof r&&(o.style=q(q({},o.style||{}),r)),o},[e]),eN=e=>{let t=(0,R.useCallback)(({types:t,empty:n})=>{if(null!=e){if(1===t.length&&"plain"===t[0])return null!=n?{display:"inline-block"}:void 0;if(1===t.length&&null!=n)return e[t[0]];return Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))}},[e]);return(0,R.useCallback)(e=>{var{token:n,className:r,style:a}=e;let o=G(q({},Y(e,["token","className","style"])),{className:I("token",...n.types,r),children:n.content,style:t(n)});return null!=a&&(o.style=q(q({},o.style||{}),a)),o},[t])},eP=/\r\n|\r|\n/,eA=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eO=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eL=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)0?u:["plain"],e=c):(u=eO(u,c.type),c.alias&&(u=eO(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(eP),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e {let a=(0,R.useRef)(e);return(0,R.useMemo)(()=>{if(null==n)return eL([t]);let e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),eL(e.tokens)},[t,n,r])},eI=({children:e,language:t,code:n,theme:r,prism:a})=>{let o=t.toLowerCase(),i=eT(o,r),l=ej(i),s=eN(i),u=a.languages[o];return e({tokens:eR({prism:a,language:o,code:n,grammar:u}),className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},eF=e=>(0,R.createElement)(eI,G(q({},e),{prism:e.prism||K,theme:e.theme||ew,code:e.code,language:e.language}))},1835:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r="Invariant failed";function a(e,t){var n;if(!e)throw Error(r)}},8395:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return R},__assign:function(){return o},__asyncDelegator:function(){return _},__asyncGenerator:function(){return E},__asyncValues:function(){return C},__await:function(){return S},__awaiter:function(){return g},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return L},__classPrivateFieldSet:function(){return O},__createBinding:function(){return h},__decorate:function(){return l},__disposeResources:function(){return F},__esDecorate:function(){return u},__exportStar:function(){return b},__extends:function(){return a},__generator:function(){return m},__importDefault:function(){return P},__importStar:function(){return N},__makeTemplateObject:function(){return T},__metadata:function(){return p},__param:function(){return s},__propKey:function(){return d},__read:function(){return v},__rest:function(){return i},__runInitializers:function(){return c},__setFunctionName:function(){return f},__spread:function(){return w},__spreadArray:function(){return x},__spreadArrays:function(){return k},__values:function(){return y},default:function(){return M}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l=r.kind,s="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,c=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d,f=!1,p=n.length-1;p>=0;p--){var g={};for(var m in r)g[m]="access"===m?{}:r[m];for(var m in r.access)g.access[m]=r.access[m];g.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var h=(0,n[p])("accessor"===l?{get:c.get,set:c.set}:c[s],g);if("accessor"===l){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw TypeError("Object expected");(d=i(h.get))&&(c.get=d),(d=i(h.set))&&(c.set=d),(d=i(h.init))&&a.unshift(d)}else(d=i(h))&&("field"===l?a.unshift(d):c[s]=d)}u&&Object.defineProperty(u,r.name,c),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a 0&&a[a.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t 1||l(e,t)})})}function l(e,t){try{(function(e){e.value instanceof S?Promise.resolve(e.value.v).then(s,u):c(o[0][2],e)})(a[e](t))}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,a,(t=e[n](t)).done,t.value)})}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&h(t,e,n);return j(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){var r;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function F(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var a=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(a).then(n,function(e){return t(e),n()})}catch(e){t(e)}}if(e.hasError)throw e.error}()}let M={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__metadata:p,__awaiter:g,__generator:m,__createBinding:h,__exportStar:b,__values:y,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:E,__asyncDelegator:_,__asyncValues:C,__makeTemplateObject:T,__importStar:N,__importDefault:P,__classPrivateFieldGet:A,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:R,__disposeResources:F}},2627:function(e){"use strict";e.exports={}},7138:function(e){"use strict";e.exports=JSON.parse('{"/relational-migrator-lab/helloWorld-16c":{"__comp":"72d756b8","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/relational-migrator-lab/docs-94b":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/relational-migrator-lab/docs-aeb":{"__comp":"a7bd4aaa","__props":"c4f7bd2f"},"/relational-migrator-lab/docs-fbc":{"__comp":"a94703ab"},"/relational-migrator-lab/docs/category/-create-a-project-ca0":{"__comp":"14eb3368","__props":"3a2e5b87"},"/relational-migrator-lab/docs/category/-edit-mapping-rules-b9f":{"__comp":"14eb3368","__props":"1d9ac7a6"},"/relational-migrator-lab/docs/category/-prerequisites-bb2":{"__comp":"14eb3368","__props":"82875520"},"/relational-migrator-lab/docs/create-project/connect-database-53f":{"__comp":"17896441","content":"f916d966"},"/relational-migrator-lab/docs/create-project/create-new-project-656":{"__comp":"17896441","content":"870e739e"},"/relational-migrator-lab/docs/create-project/define-initial-schema-cde":{"__comp":"17896441","content":"983be62f"},"/relational-migrator-lab/docs/create-project/select-tables-be3":{"__comp":"17896441","content":"349e88fc"},"/relational-migrator-lab/docs/desired-schema-mongodb-ba6":{"__comp":"17896441","content":"7cb62076"},"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors-e3c":{"__comp":"17896441","content":"c03ff7b0"},"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail-fff":{"__comp":"17896441","content":"13a817df"},"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews-c59":{"__comp":"17896441","content":"734db3ff"},"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users-159":{"__comp":"17896441","content":"be0257a7"},"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user-4df":{"__comp":"17896441","content":"41ff246a"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias-642":{"__comp":"17896441","content":"114dff7f"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook-d12":{"__comp":"17896441","content":"8a5c1cef"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book-a5a":{"__comp":"17896441","content":"fc293e63"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute-297":{"__comp":"17896441","content":"8e933bc4"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre-575":{"__comp":"17896441","content":"d1e868e1"},"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail-bcf":{"__comp":"17896441","content":"0c847db8"},"/relational-migrator-lab/docs/Generate code/convert-queries-3d1":{"__comp":"17896441","content":"4f2e23e9"},"/relational-migrator-lab/docs/Generate code/convert-sprocs-3be":{"__comp":"17896441","content":"f23a4092"},"/relational-migrator-lab/docs/Generate code/generate-app-code-72d":{"__comp":"17896441","content":"05d7992b"},"/relational-migrator-lab/docs/intro-d58":{"__comp":"17896441","content":"317957c9"},"/relational-migrator-lab/docs/Migrate Data/cdc-migration-43a":{"__comp":"17896441","content":"41149349"},"/relational-migrator-lab/docs/Migrate Data/migration-816":{"__comp":"17896441","content":"899dbdc4"},"/relational-migrator-lab/docs/Migrate Data/view-migrated-data-27d":{"__comp":"17896441","content":"a71c1f61"},"/relational-migrator-lab/docs/prerequisites/mongodb-c8b":{"__comp":"17896441","content":"e40ac3a5"},"/relational-migrator-lab/docs/prerequisites/postgres-e9a":{"__comp":"17896441","content":"e148d250"},"/relational-migrator-lab/docs/prerequisites/relational-migrator-518":{"__comp":"17896441","content":"b909d4b0"},"/relational-migrator-lab/docs/project-settings-782":{"__comp":"17896441","content":"3887df25"},"/relational-migrator-lab/docs/schema-in-postgresql-4d1":{"__comp":"17896441","content":"a58ba2fc"},"/relational-migrator-lab/docs/summary-54b":{"__comp":"17896441","content":"3aaaf183"},"/relational-migrator-lab/docs/toggle-view-4bb":{"__comp":"17896441","content":"f27e22bc"},"/relational-migrator-lab/-87d":{"__comp":"c4f5d8e4","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["6212"],function(){return e(e.s="2465")}),e.O()}]); \ No newline at end of file diff --git a/assets/js/main.ff07b3c7.js b/assets/js/main.ff07b3c7.js deleted file mode 100644 index 6d7c677..0000000 --- a/assets/js/main.ff07b3c7.js +++ /dev/null @@ -1,36 +0,0 @@ -(self.webpackChunkrelational_migrator_lab=self.webpackChunkrelational_migrator_lab||[]).push([["909"],{3601:function(e,t,n){"use strict";n.r(t)},7686:function(e,t,n){"use strict";n.r(t)},6010:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="";n j,Ep:()=>f,lX:()=>w,q_:()=>C,ob:()=>p});var r=n("6019");function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");u&&""!==i[0]&&(!i[0]||!a(i[0]))&&i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n("1835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;if("string"==typeof e){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}else void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t);try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:!o.pathname&&(o.pathname="/"),o}function g(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),y.location);u.confirmTransitionTo(a,r,n,function(e){e&&(y.entries[y.index]=a,c({action:r,location:a}))})},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=y.index+e;return t>=0&&t 1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=void 0,t=[];return void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):e=Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:e=[],e.forEach(function(e){var n=t.filter(function(t){return t.contains(e)}).length>0;-1===t.indexOf(e)&&!n&&t.push(e)}),t}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{!r.isIframeBlank(e)&&(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){!--r&&t()})},function(e){!e&&t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};!l&&u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1!==a&&!o&&(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){!e.handled&&a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;for(;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;!i&&a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;if(!!this.opt.debug)(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+("("+this.processSynomyms(i))+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];){if(!!n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s '};function o(e,t,n){return en?n:e}function i(e){return(-1+e)*100}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,a.minimum,1),r.status=1===e?null:e;var n=r.render(!t),i=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,l(function(t){""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),s(i,function(e,t,n){var r;if("translate3d"===a.positionUsing)r={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===a.positionUsing)r={transform:"translate("+(-1+e)*100+"%,0)"};else r={"margin-left":(-1+e)*100+"%"};return r.transition="all "+t+"ms "+n,r}(e,u,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){!r.status&&r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":function(e){return(-1+e)*100}(r.status||0),l=document.querySelector(a.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){r=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(n))}(r),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;!u(n,t)&&(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(n):e.exports=n()},4779:function(e,t,n){var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c=n[0],d=n[1],f=n.index;if(l+=e.slice(i,f),i=f+c.length,d){l+=d[1];continue}var p=e[i],g=n[2],m=n[3],h=n[4],b=n[5],y=n[6],v=n[7];l&&(r.push(l),l="");var w=null!=g&&null!=p&&p!==g,k="+"===y||"*"===y,x="?"===y||"*"===y,S=n[2]||u,E=h||b;r.push({name:m||o++,prefix:g||"",delimiter:S,optional:x,repeat:k,partial:w,asterisk:!!v,pattern:E?function(e){return e.replace(/([=!:$\/()])/g,"\\$1")}(E):v?".*":"[^"+s(S)+"]+?"})}return i ]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin},6854:function(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&!!n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s =o.length);s++){;var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),g=f.indexOf(p);if(g>-1){++a;var m=f.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(g+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(h),b&&y.push.apply(y,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},6862:function(){var e;(e=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}},874:function(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source)+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},2096:function(e,t,n){var r={"./prism-kotlin":"2334","./prism-powershell":"6862","./prism-swift":"874"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="2096"},2703:function(e,t,n){"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:function(e,t,n){"use strict";var r,a,o,i,l,s,u=n(7294),c=n(3840);function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n t}return!1})(t,n,o,r)&&(n=null),r||null===o?(a=t,(!!b.call(w,a)||!b.call(v,a)&&(y.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)))}}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(S,E);x[t]=new k(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){x[e]=new k(e,1,!1,e.toLowerCase(),null,!1,!1)}),x.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){x[e]=new k(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),L=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var U,Z=Object.assign;function H(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var W=!1;function V(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes(" ")&&(s=s.replace(" ",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ea=Array.isArray;function eo(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a "+t.valueOf().toString()+"",t=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ef(e,t,n,r)})}:ef);function em(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var eh={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eb=["Webkit","ms","Moz","O"];function ey(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eh.hasOwnProperty(e)&&eh[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ey(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(eh).forEach(function(e){eb.forEach(function(t){eh[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eh[e]})});var ew=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ek(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ex(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eS=null;function eE(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var e_=null,eC=null,eT=null;function ej(e){if(e=rF(e)){if("function"!=typeof e_)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),e_(e.stateNode,e.type,t))}}function eN(e){eC?eT?eT.push(e):eT=[e]:eC=e}function eP(){if(eC){var e=eC,t=eT;if(eT=eC=null,ej(e),t)for(e=0;e >>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tn=4194304;function tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function ta(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=0xfffffff&n;if(0!==i){var l=i&~a;0!==l?r=tr(l):0!=(o&=i)&&(r=tr(o))}else 0!=(i=n&~a)?r=tr(i):0!==o&&(r=tr(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e6(t)]=n}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e6(n),a=1< =nf),nm=!1;function nh(e,t){switch(e){case"keyup":return -1!==nc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ny=!1,nv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function nk(e,t,n,r){eN(r),0<(t=ru(t,"onChange")).length&&(n=new t0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nx=null,nS=null;function nE(e){rt(e,0)}function n_(e){if(Q(rM(e)))return e}function nC(e,t){if("change"===e)return t}var nT=!1;if(h){if(h){var nj="oninput"in document;if(!nj){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nj="function"==typeof nN.oninput}r=nj}else r=!1;nT=r&&(!document.documentMode||9 =t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nD(r)}}function n$(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nU=h&&"documentMode"in document&&11>=document.documentMode,nZ=null,nH=null,nW=null,nV=!1;function nq(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nZ||nZ!==K(r)||(r="selectionStart"in(r=nZ)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nW&&nM(nW,r)||(nW=r,0<(r=ru(nH,"onSelect")).length&&(t=new t0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nZ)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nY={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionend:nG("Transition","TransitionEnd")},nQ={},nK={};function nX(e){if(nQ[e])return nQ[e];if(!nY[e])return e;var t,n=nY[e];for(t in n)if(n.hasOwnProperty(t)&&t in nK)return nQ[e]=n[t];return e}h&&(nK=document.createElement("div").style,"AnimationEvent"in window||(delete nY.animationend.animation,delete nY.animationiteration.animation,delete nY.animationstart.animation),"TransitionEvent"in window||delete nY.transitionend.transition);var nJ=nX("animationend"),n0=nX("animationiteration"),n1=nX("animationstart"),n2=nX("transitionend"),n3=new Map,n4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n5(e,t){n3.set(e,t),g(t,[e])}for(var n9=0;n9 r$||(e.current=rz[r$],rz[r$]=null,r$--)}function rZ(e,t){rz[++r$]=e.current,e.current=t}var rH={},rW=rB(rH),rV=rB(!1),rq=rH;function rG(e,t){var n=e.type.contextTypes;if(!n)return rH;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function rY(e){return null!=(e=e.childContextTypes)}function rQ(){rU(rV),rU(rW)}function rK(e,t,n){if(rW.current!==rH)throw Error(d(168));rZ(rW,t),rZ(rV,n)}function rX(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case j:return"Portal";case A:return"Profiler";case P:return"StrictMode";case I:return"Suspense";case F:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case L:return(t.displayName||"Context")+".Consumer";case O:return(t._context.displayName||"Context")+".Provider";case R:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case D:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return Z({},n,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rZ(rW,e),rZ(rV,rV.current),!0}function r0(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rX(e,t,rq),r.__reactInternalMemoizedMergedChildContext=e,rU(rV),rU(rW),rZ(rW,e)):rU(rV),rZ(rV,n)}var r1=null,r2=!1,r3=!1;function r4(e){null===r1?r1=[e]:r1.push(e)}function r5(){if(!r3&&null!==r1){r3=!0;var e=0,t=tc;try{var n=r1;for(tc=1;e >=i,a-=i,ar=1<<32-e6(t)+a|n<m?(h=d,d=null):h=d.sibling;var b=p(a,d,l[m],s);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,m),null===c?u=b:c.sibling=b,c=b,d=h}if(m===l.length)return n(a,d),ad&&ao(a,m),u;if(null===d){for(;m h?(b=m,m=null):b=m.sibling;var v=p(a,m,y.value,s);if(null===v){null===m&&(m=b);break}e&&m&&null===v.alternate&&t(a,m),i=o(v,i,h),null===c?u=v:c.sibling=v,c=v,m=b}if(y.done)return n(a,m),ad&&ao(a,h),u;if(null===m){for(;!y.done;h++,y=l.next())null!==(y=f(a,y.value,s))&&(i=o(y,i,h),null===c?u=y:c.sibling=y,c=y);return ad&&ao(a,h),u}for(m=r(a,m);!y.done;h++,y=l.next())null!==(y=g(m,a,h,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(a,e)}),ad&&ao(a,h),u}(s,u,c,m);a0(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(s,u.sibling),(u=a(u,c)).return=s):(n(s,u),(u=l2(c,s.mode,m)).return=s),i(s=u)):n(s,u)}}var a3=a2(!0),a4=a2(!1),a5={},a9=rB(a5),a8=rB(a5),a6=rB(a5);function a7(e){if(e===a5)throw Error(d(174));return e}function oe(e,t){switch(rZ(a6,t),rZ(a8,e),rZ(a9,a5),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rU(a9),rZ(a9,t)}function ot(){rU(a9),rU(a8),rU(a6)}function on(e){a7(a6.current);var t=a7(a9.current),n=ed(t,e.type);t!==n&&(rZ(a8,e),rZ(a9,n))}function or(e){a8.current===e&&(rU(a9),rU(a8))}var oa=rB(0);function oo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=[];function ol(){for(var e=0;e n?n:4,e(!0);var r=ou.transition;ou.transition={};try{e(!1),t()}finally{tc=n,ou.transition=r}}function oQ(){return oS().memoizedState}function oK(e,t,n){var r=lx(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oJ(e)?o0(t,n):null!==(n=aI(e,t,n,r))&&(lS(n,e,r,lk()),o1(n,t,r))}function oX(e,t,n){var r=lx(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oJ(e))o0(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nF(l,i)){var s=t.interleaved;null===s?(a.next=a,aR(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(n=aI(e,t,a,r))&&(lS(n,e,r,a=lk()),o1(n,t,r))}}function oJ(e){var t=e.alternate;return e===od||null!==t&&t===od}function o0(e,t){om=og=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function o1(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tu(e,n)}}var o2={readContext:aO,useCallback:oy,useContext:oy,useEffect:oy,useImperativeHandle:oy,useInsertionEffect:oy,useLayoutEffect:oy,useMemo:oy,useReducer:oy,useRef:oy,useState:oy,useDebugValue:oy,useDeferredValue:oy,useTransition:oy,useMutableSource:oy,useSyncExternalStore:oy,useId:oy,unstable_isNewReconciler:!1},o3={readContext:aO,useCallback:function(e,t){return ox().memoizedState=[e,void 0===t?null:t],e},useContext:aO,useEffect:oz,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oM(4194308,4,oZ.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){return oM(4,2,e,t)},useMemo:function(e,t){var n=ox();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ox();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=oK.bind(null,od,e),[r.memoizedState,e]},useRef:function(e){var t=ox();return e={current:e},t.memoizedState=e},useState:oR,useDebugValue:oW,useDeferredValue:function(e){return ox().memoizedState=e},useTransition:function(){var e=oR(!1),t=e[0];return e=oY.bind(null,e[1]),ox().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=od,a=ox();if(ad){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===i9)throw Error(d(349));0!=(30&oc)||oN(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(oA.bind(null,r,o,e),[e]),r.flags|=2048,oI(9,oP.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ox(),t=i9.identifierPrefix;if(ad){var n=aa,r=ar;t=":"+t+"R"+(n=(r&~(1<<32-e6(r)-1)).toString(32)+n),0<(n=oh++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ob++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o4={readContext:aO,useCallback:oV,useContext:aO,useEffect:o$,useImperativeHandle:oH,useInsertionEffect:oB,useLayoutEffect:oU,useMemo:oq,useReducer:o_,useRef:oF,useState:function(){return o_(oE)},useDebugValue:oW,useDeferredValue:function(e){return oG(oS(),of.memoizedState,e)},useTransition:function(){return[o_(oE)[0],oS().memoizedState]},useMutableSource:oT,useSyncExternalStore:oj,useId:oQ,unstable_isNewReconciler:!1},o5={readContext:aO,useCallback:oV,useContext:aO,useEffect:o$,useImperativeHandle:oH,useInsertionEffect:oB,useLayoutEffect:oU,useMemo:oq,useReducer:oC,useRef:oF,useState:function(){return oC(oE)},useDebugValue:oW,useDeferredValue:function(e){var t=oS();return null===of?t.memoizedState=e:oG(t,of.memoizedState,e)},useTransition:function(){return[oC(oE)[0],oS().memoizedState]},useMutableSource:oT,useSyncExternalStore:oj,useId:oQ,unstable_isNewReconciler:!1};function o9(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}(r),r=r.return;while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o8(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function o6(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o7="function"==typeof WeakMap?WeakMap:Map;function ie(e,t,n){(n=a$(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ld||(ld=!0,lf=r),o6(e,t)},n}function it(e,t,n){(n=a$(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){o6(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){o6(e,t),"function"!=typeof r&&(null===lp?lp=new Set([this]):lp.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function ir(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new o7;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=lH.bind(null,e,t,n),t.then(e,e))}function ia(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function io(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=a$(-1,1)).tag=2,aB(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var ii=C.ReactCurrentOwner,il=!1;function is(e,t,n,r){t.child=null===e?a4(t,null,n,r):a3(t,e.child,n,r)}function iu(e,t,n,r,a){n=n.render;var o=t.ref;return(aA(t,a),r=ow(e,t,n,r,o,a),n=ok(),null===e||il)?(ad&&n&&al(t),t.flags|=1,is(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iN(e,t,a))}function ic(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||lK(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=lJ(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,id(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(i,r)&&e.ref===t.ref)return iN(e,t,a)}return t.flags|=1,(e=lX(o,r)).ref=t.ref,e.return=t,t.child=e}function id(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nM(o,r)&&e.ref===t.ref){if(il=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,iN(e,t,a);else 0!=(131072&e.flags)&&(il=!0)}}return im(e,t,n,r,a)}function ip(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rZ(le,i7),i7|=n;else{if(0==(0x40000000&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rZ(le,i7),i7|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rZ(le,i7),i7|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rZ(le,i7),i7|=r;return is(e,t,a,n),t.child}function ig(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function im(e,t,n,r,a){var o=rY(n)?rq:rW.current;return(o=rG(t,o),aA(t,a),n=ow(e,t,n,r,o,a),r=ok(),null===e||il)?(ad&&r&&al(t),t.flags|=1,is(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iN(e,t,a))}function ih(e,t,n,r,a){if(rY(n)){var o=!0;rJ(t)}else o=!1;if(aA(t,a),null===t.stateNode)ij(e,t),aQ(t,n,r),aX(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;u="object"==typeof u&&null!==u?aO(u):rG(t,u=rY(n)?rq:rW.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&aK(t,i,r,u),aM=!1;var f=t.memoizedState;i.state=f,aH(t,r,i,a),s=t.memoizedState,l!==r||f!==s||rV.current||aM?("function"==typeof c&&(aq(t,n,c,r),s=t.memoizedState),(l=aM||aY(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,az(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:aS(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=n.contextType)&&null!==s?aO(s):rG(t,s=rY(n)?rq:rW.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&aK(t,i,r,s),aM=!1,f=t.memoizedState,i.state=f,aH(t,r,i,a);var g=t.memoizedState;l!==d||f!==g||rV.current||aM?("function"==typeof p&&(aq(t,n,p,r),g=t.memoizedState),(u=aM||aY(t,n,u,r,f,g,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ib(e,t,n,r,o,a)}function ib(e,t,n,r,a,o){ig(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&r0(t,n,!1),iN(e,t,o);r=t.stateNode,ii.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=a3(t,e.child,null,o),t.child=a3(t,null,l,o)):is(e,t,l,o),t.memoizedState=r.state,a&&r0(t,n,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?rK(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rK(e,t.context,!1),oe(e,t.containerInfo)}function iv(e,t,n,r,a){return aw(),ak(a),t.flags|=256,is(e,t,n,r),t.child}var iw={dehydrated:null,treeContext:null,retryLane:0};function ik(e){return{baseLanes:e,cachePool:null,transitions:null}}function ix(e,t,n){var r,a=t.pendingProps,o=oa.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rZ(oa,1&o),null===e)return(ah(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l1(l,a,0,null),e=l0(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ik(n),t.memoizedState=iw,e):iS(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iE(e,t,i,r=o8(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=l1({mode:"visible",children:r.children},a,0,null),o=l0(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&a3(t,e.child,null,i),t.child.memoizedState=ik(i),t.memoizedState=iw,o);if(0==(1&t.mode))return iE(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,iE(e,t,i,r=o8(o=Error(d(419)),r,void 0))}if(l=0!=(i&e.childLanes),il||l){if(null!==(r=i9)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:a=32;break;case 0x20000000:a=0x10000000;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aF(e,a),lS(r,e,a,-1))}return lF(),iE(e,t,i,r=o8(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=lV.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=rC(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=ar,ae[at++]=aa,ae[at++]=an,ar=e.id,aa=e.overflow,an=t),t=iS(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(i){i=a.fallback,l=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lX(o,s)).subtreeFlags=0xe00000&o.subtreeFlags,null!==r?i=lX(r,i):(i=l0(i,l,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?ik(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iw,a}return e=(i=e.child).sibling,a=lX(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function iS(e,t){return(t=l1({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iE(e,t,n,r){return null!==r&&ak(r),a3(t,e.child,null,n),e=iS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function i_(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),aP(e.return,t,n)}function iC(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function iT(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(is(e,t,r.children,n),0!=(2&(r=oa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&i_(e,n,t);else if(19===e.tag)i_(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rZ(oa,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===oo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iC(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iC(t,!0,n,null,o);break;case"together":iC(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ij(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iN(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lr|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=lX(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=lX(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iP(e,t){if(!ad)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function iA(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0xe00000&a.subtreeFlags,r|=0xe00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}a=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},o=function(){},i=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,a7(a9.current);var o,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=Z({},a,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),r=ei(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rh)}for(u in ek(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(u,n)),n=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&rn("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iO=!1,iL=!1,iR="function"==typeof WeakSet?WeakSet:Set,iI=null;function iF(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){lZ(e,t,n)}else n.current=null}}function iM(e,t,n){try{n()}catch(n){lZ(e,t,n)}}var iD=!1;function iz(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iM(t,n,o)}a=a.next}while(a!==r)}}function i$(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iB(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function iU(e){return 5===e.tag||3===e.tag||4===e.tag}function iZ(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iU(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iH=null,iW=!1;function iV(e,t,n){for(n=n.child;null!==n;)iq(e,t,n),n=n.sibling}function iq(e,t,n){if(e8&&"function"==typeof e8.onCommitFiberUnmount)try{e8.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:iL||iF(n,t);case 6:var r=iH,a=iW;iH=null,iV(e,t,n),iH=r,iW=a,null!==iH&&(iW?(e=iH,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):iH.removeChild(n.stateNode));break;case 18:null!==iH&&(iW?(e=iH,n=n.stateNode,8===e.nodeType?r_(e.parentNode,n):1===e.nodeType&&r_(e,n),tL(e)):r_(iH,n.stateNode));break;case 4:r=iH,a=iW,iH=n.stateNode.containerInfo,iW=!0,iV(e,t,n),iH=r,iW=a;break;case 0:case 11:case 14:case 15:if(!iL&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iM(n,t,i):0!=(4&o)&&iM(n,t,i)),a=a.next}while(a!==r)}iV(e,t,n);break;case 1:if(!iL&&(iF(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){lZ(n,t,e)}iV(e,t,n);break;case 21:default:iV(e,t,n);break;case 22:1&n.mode?(iL=(r=iL)||null!==n.memoizedState,iV(e,t,n),iL=r):iV(e,t,n)}}function iG(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iR),t.forEach(function(t){var r=lq.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iY(e,t){var n=t.deletions;if(null!==n)for(var r=0;r a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i1(r/1960))-r)){e.timeoutHandle=rw(l$.bind(null,e,ll,lc),r);break}l$(e,ll,lc);break;default:throw Error(d(329))}}}return lE(e,eJ()),e.callbackNode===n?l_.bind(null,e):null}function lC(e,t){var n=li;return e.current.memoizedState.isDehydrated&&(lL(e,t).flags|=256),2!==(e=lM(e,t))&&(t=ll,ll=n,null!==t&&lT(t)),e}function lT(e){null===ll?ll=e:ll.push.apply(ll,e)}function lj(e,t){for(t&=~lo,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 <\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rN]=t,e[rP]=r,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=ex(n,r),n){case"dialog":rn("cancel",e),rn("close",e),s=r;break;case"iframe":case"object":case"embed":rn("load",e),s=r;break;case"video":case"audio":for(s=0;s lu&&(t.flags|=128,r=!0,iP(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=oo(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iP(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iA(t),null}else 2*eJ()-u.renderingStartTime>lu&&0x40000000!==n&&(t.flags|=128,r=!0,iP(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=oa.current,rZ(oa,r?1&n|2:1&n),t;return iA(t),null;case 22:case 23:return lO(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&i7)&&(iA(t),6&t.subtreeFlags&&(t.flags|=8192)):iA(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,i7))){i8=n;return}}else{if(null!==(n=function(e,t){switch(as(t),t.tag){case 1:return rY(t.type)&&rQ(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ot(),rU(rV),rU(rW),ol(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return or(t),null;case 13:if(rU(oa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rU(oa),null;case 4:return ot(),null;case 10:return aN(t.type._context),null;case 22:case 23:return lO(),null;default:return null}}(n,t))){n.flags&=32767,i8=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lt=6,i8=null;return}}if(null!==(t=t.sibling)){i8=t;return}i8=t=e}while(null!==t);0===lt&&(lt=5)}function l$(e,t,n){var r=tc,a=i4.transition;try{i4.transition=null,tc=1,function(e,t,n,r){do lB();while(null!==lm);if(0!=(6&i5))throw Error(d(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 r&&(a=r,r=o,o=a),a=nz(n,o);var i=nz(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n e?16:e,null===lm)var r=!1;else{if(e=lm,lm=null,lh=0,0!=(6&i5))throw Error(d(331));var a=i5;for(i5|=4,iI=e.current;null!==iI;){var o=iI,i=o.child;if(0!=(16&iI.flags)){var l=o.deletions;if(null!==l){for(var s=0;s eJ()-ls?lL(e,0):lo|=n),lE(e,t)}function lW(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tn,0==(0x7c00000&(tn<<=1))&&(tn=4194304)));var n=lk();null!==(e=aF(e,t))&&(ts(e,t,n),lE(e,n))}function lV(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lW(e,n)}function lq(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),lW(e,n)}function lG(e,t){return eY(e,t)}function lY(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lQ(e,t,n,r){return new lY(e,t,n,r)}function lK(e){return!(!(e=e.prototype)||!e.isReactComponent)}s=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)il=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return il=!1,function(e,t,n){switch(t.tag){case 3:iy(t),aw();break;case 5:on(t);break;case 1:rY(t.type)&&rJ(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;rZ(aE,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rZ(oa,1&oa.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return ix(e,t,n);return rZ(oa,1&oa.current),null!==(e=iN(e,t,n))?e.sibling:null}rZ(oa,1&oa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iT(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),rZ(oa,oa.current),!r)return null;break;case 22:case 23:return t.lanes=0,ip(e,t,n)}return iN(e,t,n)}(e,t,n);il=0!=(131072&e.flags)}}else il=!1,ad&&0!=(1048576&t.flags)&&ai(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ij(e,t),e=t.pendingProps;var a=rG(t,rW.current);aA(t,n),a=ow(null,t,r,e,a,n);var o=ok();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rY(r)?(o=!0,rJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,aD(t),a.updater=aG,t.stateNode=a,a._reactInternals=t,aX(t,r,e,n),t=ib(null,t,r,!0,o,n)):(t.tag=0,ad&&o&&al(t),is(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ij(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return lK(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=aS(r,e),a){case 0:t=im(null,t,r,e,n);break e;case 1:t=ih(null,t,r,e,n);break e;case 11:t=iu(null,t,r,e,n);break e;case 14:t=ic(null,t,r,aS(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),im(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),ih(e,t,r,a,n);case 3:e:{if(iy(t),null===e)throw Error(d(387));r=t.pendingProps,a=(o=t.memoizedState).element,az(e,t),aH(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o9(Error(d(423)),t),t=iv(e,t,r,n,a);break e}else if(r!==a){a=o9(Error(d(424)),t),t=iv(e,t,r,n,a);break e}else for(ac=rC(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,n=a4(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(aw(),r===a){t=iN(e,t,n);break e}is(e,t,r,n)}t=t.child}return t;case 5:return on(t),null===e&&ah(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,rv(r,a)?i=null:null!==o&&rv(r,o)&&(t.flags|=32),ig(e,t),is(e,t,i,n),t.child;case 6:return null===e&&ah(t),null;case 13:return ix(e,t,n);case 4:return oe(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=a3(t,null,r,n):is(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),iu(e,t,r,a,n);case 7:return is(e,t,t.pendingProps,n),t.child;case 8:case 12:return is(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,rZ(aE,r._currentValue),r._currentValue=i,null!==o){if(nF(o.value,i)){if(o.children===a.children&&!rV.current){t=iN(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=a$(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),aP(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),aP(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}is(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,aA(t,n),r=r(a=aO(a)),t.flags|=1,is(e,t,r,n),t.child;case 14:return a=aS(r=t.type,t.pendingProps),a=aS(r.type,a),ic(e,t,r,a,n);case 15:return id(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:aS(r,a),ij(e,t),t.tag=1,rY(r)?(e=!0,rJ(t)):e=!1,aA(t,n),aQ(t,r,a),aX(t,r,a,n),ib(null,t,r,!0,e,n);case 19:return iT(e,t,n);case 22:return ip(e,t,n)}throw Error(d(156,t.tag))};function lX(e,t){var n=e.alternate;return null===n?((n=lQ(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function lJ(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)lK(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return l0(n.children,a,o,t);case P:i=8,a|=8;break;case A:return(e=lQ(12,n,t,2|a)).elementType=A,e.lanes=o,e;case I:return(e=lQ(13,n,t,a)).elementType=I,e.lanes=o,e;case F:return(e=lQ(19,n,t,a)).elementType=F,e.lanes=o,e;case z:return l1(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:i=10;break e;case L:i=9;break e;case R:i=11;break e;case M:i=14;break e;case D:i=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lQ(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function l0(e,t,n,r){return(e=lQ(7,e,r,t)).lanes=n,e}function l1(e,t,n,r){return(e=lQ(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function l2(e,t,n){return(e=lQ(6,e,null,t)).lanes=n,e}function l3(e,t,n){return(t=lQ(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l4(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l5(e,t,n,r,a,o,i,l,s){return e=new l4(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lQ(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aD(o),e}function l9(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rY(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rY(n))return rX(e,n,t)}return t}function l8(e,t,n,r,a,o,i,l,s){return(e=l5(n,r,!0,e,a,o,i,l,s)).context=l9(null),n=e.current,r=lk(),(o=a$(r,a=lx(n))).callback=null!=t?t:null,aB(n,o,a),e.current.lanes=a,ts(e,a,r),lE(e,r),e}function l6(e,t,n,r){var a=t.current,o=lk(),i=lx(a);return n=l9(n),null===t.context?t.context=n:t.pendingContext=n,(t=a$(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=aB(a,t,i))&&(lS(e,a,i,o),aU(e,a,i)),i}function l7(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function se(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n =0||(a[n]=e[n]);return a}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(h).map(function(e){return h[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,h.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},_=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i /g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},I=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},F=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(h.TITLE,o,e)]},toString:function(){var r,a,o,i,l,s;return r=e,a=t.title,o=t.titleAttributes,i=n,l=L(o),s=j(a),l?"<"+r+' data-rh="true" '+l+">"+O(s,i)+""+r+">":"<"+r+' data-rh="true">'+O(s,i)+""+r+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return I(e,t)},toString:function(){var r,a,o;return r=e,a=t,o=n,a.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var r=void 0===t[n]?n:n+'="'+O(t[n],o)+'"';return e?e+" "+r:r},""),a=t.innerHTML||t.cssText||"",i=-1===A.indexOf(r);return e+"<"+r+' data-rh="true" '+n+(i?"/>":">"+a+""+r+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,g,m,w,k,x,S,E=(g=(p=e).linkTags,m=p.scriptTags,w=p.encode,k=N(p.metaTags,v),x=N(g,b),S=N(m,y),{priorityMethods:{toComponent:function(){return[].concat(I(h.META,k.priority),I(h.LINK,x.priority),I(h.SCRIPT,S.priority))},toString:function(){return F(h.META,k.priority,w)+" "+F(h.LINK,x.priority,w)+" "+F(h.SCRIPT,S.priority,w)}},metaTags:k.default,linkTags:x.default,scriptTags:S.default});f=E.priorityMethods,u=E.linkTags,c=E.metaTags,d=E.scriptTags}return{priority:f,base:F(h.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(h.LINK,u,r),meta:F(h.META,c,r),noscript:F(h.NOSCRIPT,o,r),script:F(h.SCRIPT,d,r),style:F(h.STYLE,i,r),title:F(h.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},D=[],z=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?D:n.instances},add:function(e){(n.canUseDOM?D:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?D:n.instances).indexOf(e);(n.canUseDOM?D:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=U,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(h.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l =0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},V=function(e,t){var n,r,a=e.baseTag,o=e.htmlAttributes,i=e.linkTags,l=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,f=e.title,p=e.titleAttributes;W(h.BODY,e.bodyAttributes),W(h.HTML,o),n=f,r=p,void 0!==n&&document.title!==n&&(document.title=j(n)),W(h.TITLE,r);var g={baseTag:H(h.BASE,a),linkTags:H(h.LINK,i),metaTags:H(h.META,l),noscriptTags:H(h.NOSCRIPT,s),scriptTags:H(h.SCRIPT,c),styleTags:H(h.STYLE,d)},m={},b={};Object.keys(g).forEach(function(e){var t=g[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(b[e]=g[e].oldTags)}),t&&t(),u(e,m,b)},q=null,G=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case h.BODY:return f({},a,{bodyAttributes:f({},o)});case h.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=m(r,Y),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case h.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,Q),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(G,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(G,f({},a,{context:e}))})},t}(r.Component);K.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},K.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},K.displayName="Helmet"},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case h:case m:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=h,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===h},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},9864:function(e,t,n){"use strict";e.exports=n(9921)},8356:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t >>1,a=e[r];if(0 >>1;ro(s,n))uo(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(uo(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,g=3,m=!1,h=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function x(e){if(b=!1,k(e),!h){if(null!==r(c))h=!0,L(S);else{var t=r(d);null!==t&&R(x,t.startTime-e)}}}function S(e,n){h=!1,b&&(b=!1,v(C),C=-1),m=!0;var o=g;try{for(k(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,g=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&a(c),k(n)}else a(c);p=r(c)}if(null!==p)var s=!0;else{var u=r(d);null!==u&&R(x,u.startTime-n),s=!1}return s}finally{p=null,g=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,T=5,j=-1;function N(){return!(t.unstable_now()-j e||125 i?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(b?(v(C),C=-1):b=!0,R(x,o-i))):(e.sortIndex=l,n(c,e),h||m||(h=!0,L(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=g;return function(){var n=g;g=t;try{return e.apply(this,arguments)}finally{g=n}}}},3840:function(e,t,n){"use strict";e.exports=n(53)},6774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s f}),n("7294");var r=n("5893"),a=n("8356"),o=n.n(a),i=n("7138");let l={"05d7992b":[()=>Promise.all([n.e("212"),n.e("790")]).then(n.bind(n,5398)),"@site/docs/100-Generate code/10-generate-app-code.mdx",5398],"0c847db8":[()=>Promise.all([n.e("212"),n.e("473")]).then(n.bind(n,9401)),"@site/docs/80-edit-mapping-rules/100-edit-mapping-issue-detail-issue-detail.mdx",9401],"114dff7f":[()=>Promise.all([n.e("212"),n.e("291")]).then(n.bind(n,8698)),"@site/docs/80-edit-mapping-rules/60-edit-mapping-authors-alias.mdx",8698],"13a817df":[()=>Promise.all([n.e("212"),n.e("23")]).then(n.bind(n,5570)),"@site/docs/80-edit-mapping-rules/80-add-mapping-books-issue-detail.mdx",5570],"14eb3368":[()=>Promise.all([n.e("212"),n.e("983")]).then(n.bind(n,7467)),"@theme/DocCategoryGeneratedIndexPage",7467],0x11113f9:[()=>Promise.all([n.e("212"),n.e("145"),n.e("48")]).then(n.bind(n,5891)),"@theme/DocItem",5891],"1d9ac7a6":[()=>n.e("42").then(n.t.bind(n,4246,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-edit-mapping-rules-f61.json",4246],"317957c9":[()=>Promise.all([n.e("212"),n.e("792")]).then(n.bind(n,3101)),"@site/docs/10-intro.mdx",3101],"349e88fc":[()=>Promise.all([n.e("212"),n.e("170")]).then(n.bind(n,3909)),"@site/docs/50-create-project/70-select-tables.mdx",3909],"3887df25":[()=>Promise.all([n.e("212"),n.e("508")]).then(n.bind(n,3434)),"@site/docs/60-project-settings.mdx",3434],"3a2e5b87":[()=>n.e("575").then(n.t.bind(n,5497,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-create-a-project-39b.json",5497],"3aaaf183":[()=>n.e("371").then(n.bind(n,935)),"@site/docs/summary.mdx",935],"41ff246a":[()=>Promise.all([n.e("212"),n.e("711")]).then(n.bind(n,3851)),"@site/docs/80-edit-mapping-rules/110-add-mapping-reviews-user.mdx",3851],"4f2e23e9":[()=>Promise.all([n.e("212"),n.e("20")]).then(n.bind(n,9383)),"@site/docs/100-Generate code/20-convert-queries.mdx",9383],"5e95c892":[()=>n.e("432").then(n.bind(n,1359)),"@theme/DocsRoot",1359],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,5150)),"@generated/docusaurus.config",5150],"72d756b8":[()=>n.e("30").then(n.bind(n,1070)),"@site/src/pages/helloWorld.js",1070],"734db3ff":[()=>Promise.all([n.e("212"),n.e("517")]).then(n.bind(n,9434)),"@site/docs/80-edit-mapping-rules/50-add-mapping-books-reviews.mdx",9434],"7cb62076":[()=>Promise.all([n.e("212"),n.e("411")]).then(n.bind(n,5190)),"@site/docs/40-desired-schema-mongodb.mdx",5190],0x4f09480:[()=>n.e("413").then(n.t.bind(n,7194,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-category-prerequisites-bde.json",7194],"870e739e":[()=>Promise.all([n.e("212"),n.e("512")]).then(n.bind(n,1678)),"@site/docs/50-create-project/50-create-new-project.mdx",1678],"899dbdc4":[()=>Promise.all([n.e("212"),n.e("839")]).then(n.bind(n,9017)),"@site/docs/210-Migrate Data/10-migration.mdx",9017],"8a5c1cef":[()=>Promise.all([n.e("212"),n.e("267")]).then(n.bind(n,6362)),"@site/docs/80-edit-mapping-rules/70-edit-mapping-authors-authorbook.mdx",6362],"8e933bc4":[()=>Promise.all([n.e("212"),n.e("608")]).then(n.bind(n,2675)),"@site/docs/80-edit-mapping-rules/10-edit-mapping-books-book-attribute.mdx",2675],"983be62f":[()=>Promise.all([n.e("212"),n.e("299")]).then(n.bind(n,4458)),"@site/docs/50-create-project/80-define-initial-schema.mdx",4458],a58ba2fc:[()=>Promise.all([n.e("212"),n.e("931")]).then(n.bind(n,8023)),"@site/docs/30-schema-in-postgresql.mdx",8023],a71c1f61:[()=>Promise.all([n.e("212"),n.e("533")]).then(n.bind(n,2566)),"@site/docs/210-Migrate Data/20-view-migrated-data.mdx",2566],a7456010:[()=>n.e("365").then(n.t.bind(n,2050,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",2050],a7bd4aaa:[()=>n.e("211").then(n.bind(n,8688)),"@theme/DocVersionRoot",8688],a94703ab:[()=>Promise.all([n.e("212"),n.e("914")]).then(n.bind(n,2001)),"@theme/DocRoot",2001],aba21aa0:[()=>n.e("112").then(n.t.bind(n,2418,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",2418],b909d4b0:[()=>n.e("85").then(n.bind(n,484)),"@site/docs/20-prerequisites/30-relational-migrator.mdx",484],be0257a7:[()=>Promise.all([n.e("212"),n.e("379")]).then(n.bind(n,1463)),"@site/docs/80-edit-mapping-rules/90-add-mapping-issue-detail-users.mdx",1463],c03ff7b0:[()=>Promise.all([n.e("212"),n.e("770")]).then(n.bind(n,2371)),"@site/docs/80-edit-mapping-rules/30-add-mapping-books-authors.mdx",2371],c4f5d8e4:[()=>Promise.all([n.e("212"),n.e("130")]).then(n.bind(n,104)),"@site/src/pages/index.js",104],c4f7bd2f:[()=>n.e("182").then(n.t.bind(n,4e3,19)),"@generated/docusaurus-plugin-content-docs/default/p/relational-migrator-lab-docs-b01.json",4e3],d1e868e1:[()=>Promise.all([n.e("212"),n.e("496")]).then(n.bind(n,6675)),"@site/docs/80-edit-mapping-rules/20-edit-mapping-books-book-genre.mdx",6675],e148d250:[()=>n.e("634").then(n.bind(n,5225)),"@site/docs/20-prerequisites/10-postgres.mdx",5225],e40ac3a5:[()=>n.e("242").then(n.bind(n,5478)),"@site/docs/20-prerequisites/20-mongodb.mdx",5478],f23a4092:[()=>Promise.all([n.e("212"),n.e("797")]).then(n.bind(n,4248)),"@site/docs/100-Generate code/30-convert-sprocs.mdx",4248],f27e22bc:[()=>Promise.all([n.e("212"),n.e("520")]).then(n.bind(n,6608)),"@site/docs/70-toggle-view.mdx",6608],f916d966:[()=>Promise.all([n.e("212"),n.e("605")]).then(n.bind(n,5484)),"@site/docs/50-create-project/60-connect-database.mdx",5484],fc293e63:[()=>Promise.all([n.e("212"),n.e("339")]).then(n.bind(n,1473)),"@site/docs/80-edit-mapping-rules/40-edit-mapping-books-author-book.mdx",1473]};function s(e){let{error:t,retry:n,pastDelay:a}=e;return t?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(t)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):a?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n("6464"),c=n("4879");function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("196").then(n.bind(n,5672)),modules:["@theme/NotFound"],webpack:()=>[5672],render(e,t){let n=e.default;return(0,r.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.Z)(a)).forEach(e=>{let[t,n]=e,r=l[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(t=>{let[n,r]=t,a=r.default;if(!a)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof a||"function"==typeof a)&&Object.keys(r).filter(e=>"default"!==e).forEach(e=>{a[e]=r[e]});let i=o,l=n.split(".");l.slice(0,-1).forEach(e=>{i=i[e]}),i[l[l.length-1]]=a});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.z,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/relational-migrator-lab/helloWorld",component:d("/relational-migrator-lab/helloWorld","16c"),exact:!0},{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","684"),routes:[{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","c4a"),routes:[{path:"/relational-migrator-lab/docs",component:d("/relational-migrator-lab/docs","f2b"),routes:[{path:"/relational-migrator-lab/docs/category/-create-a-project",component:d("/relational-migrator-lab/docs/category/-create-a-project","ca0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/category/-edit-mapping-rules",component:d("/relational-migrator-lab/docs/category/-edit-mapping-rules","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/category/-prerequisites",component:d("/relational-migrator-lab/docs/category/-prerequisites","bb2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/connect-database",component:d("/relational-migrator-lab/docs/create-project/connect-database","53f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/create-new-project",component:d("/relational-migrator-lab/docs/create-project/create-new-project","656"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/define-initial-schema",component:d("/relational-migrator-lab/docs/create-project/define-initial-schema","cde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/create-project/select-tables",component:d("/relational-migrator-lab/docs/create-project/select-tables","be3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/desired-schema-mongodb",component:d("/relational-migrator-lab/docs/desired-schema-mongodb","ba6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","e3c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","fff"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","c59"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","159"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user",component:d("/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","4df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","642"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","d12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","a5a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","297"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","575"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail",component:d("/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","bcf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/convert-queries",component:d("/relational-migrator-lab/docs/Generate code/convert-queries","3d1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/convert-sprocs",component:d("/relational-migrator-lab/docs/Generate code/convert-sprocs","3be"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Generate code/generate-app-code",component:d("/relational-migrator-lab/docs/Generate code/generate-app-code","72d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/intro",component:d("/relational-migrator-lab/docs/intro","d58"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Migrate Data/migration",component:d("/relational-migrator-lab/docs/Migrate Data/migration","816"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/Migrate Data/view-migrated-data",component:d("/relational-migrator-lab/docs/Migrate Data/view-migrated-data","27d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/mongodb",component:d("/relational-migrator-lab/docs/prerequisites/mongodb","c8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/postgres",component:d("/relational-migrator-lab/docs/prerequisites/postgres","e9a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/prerequisites/relational-migrator",component:d("/relational-migrator-lab/docs/prerequisites/relational-migrator","518"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/project-settings",component:d("/relational-migrator-lab/docs/project-settings","782"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/schema-in-postgresql",component:d("/relational-migrator-lab/docs/schema-in-postgresql","4d1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/summary",component:d("/relational-migrator-lab/docs/summary","54b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/relational-migrator-lab/docs/toggle-view",component:d("/relational-migrator-lab/docs/toggle-view","4bb"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/relational-migrator-lab/",component:d("/relational-migrator-lab/","87d"),exact:!0},{path:"*",component:d("*")}]},258:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return i}});var r=n(5893),a=n(7294);let o=a.createContext(!1);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i(!0)},[]),(0,r.jsx)(o.Provider,{value:n,children:t})}},2465:function(e,t,n){"use strict";var r=n("5893"),a=n("7294"),o=n("745"),i=n("405"),l=n("3727"),s=n("5150"),u=n("7565");let c=[n(5442),n(3601),n(1569),n(1987),n(7686)];var d=n("4143"),f=n("6550"),p=n("8790");function g(e){let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})}var m=n("4819"),h=n("2933"),b=n("4757"),y=n("140"),v=n("4713"),w=n("8910"),k=n("6959"),x=n("8365"),S=n("4315");function E(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),a=(0,w.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,r.jsxs)(m.Z,{children:[Object.entries(n).map(e=>{let[t,{htmlLang:n}]=e;return(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)}),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function _(e){let{permalink:t}=e,{siteConfig:{url:n}}=(0,h.Z)(),a=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,f.TH)();return e+(0,x.applyTrailingSlash)((0,b.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:a;return(0,r.jsxs)(m.Z,{children:[(0,r.jsx)("meta",{property:"og:url",content:o}),(0,r.jsx)("link",{rel:"canonical",href:o})]})}function C(){let{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.Z,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{className:k.h})]}),n&&(0,r.jsx)(v.d,{image:n}),(0,r.jsx)(_,{}),(0,r.jsx)(E,{}),(0,r.jsx)(S.Z,{tag:"default",locale:e}),(0,r.jsx)(m.Z,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let T=new Map;var j=n("258"),N=n("1716"),P=n("2000");function A(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r {let r=t.default?.[e]??t[e];return r?.(...n)});return()=>a.forEach(e=>e?.())}let O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,P.Z)(()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;let r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;let{hash:i}=t;if(i){let e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),A("onRouteDidUpdate",{previousLocation:r,location:n}))},[r,n]),t};function L(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.f)(d.Z,e)).flat().map(e=>e.route.component.preload?.()))}class R extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.Z.canUseDOM?A("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=A("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.AW,{location:t,render:()=>e})})}}let I="__docusaurus-base-url-issue-banner-suggestion-container";function F(){var e,t;let{siteConfig:{baseUrl:n}}=(0,h.Z)();return(0,r.jsx)(r.Fragment,{children:!u.Z.canUseDOM&&(0,r.jsx)(m.Z,{children:(0,r.jsx)("script",{children:(e=n,` -document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { - var shouldInsert = typeof window['docusaurus'] === 'undefined'; - shouldInsert && insertBanner(); -}); - -function insertBanner() { - var bannerContainer = document.createElement('div'); - bannerContainer.id = '__docusaurus-base-url-issue-banner-container'; - var bannerHtml = ${JSON.stringify((t=e,` - -`)).replace(/{let{route:t}=e;return!0===t.exact}))return T.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}((0,f.TH)());return(0,r.jsx)(R,{location:e,children:U})}var H=n("7138");let W=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var V=n("6464");let q=new Set,G=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q=e=>!Y()&&!G.has(e)&&!q.has(e),K=e=>!Y()&&!G.has(e),X=e=>Object.entries(H).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,V.Z)(t))}),J=Object.freeze({prefetch:e=>!!Q(e)&&(q.add(e),Promise.all((0,p.f)(d.Z,e).flatMap(e=>X(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return W(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!K(e)&&(G.add(e),L(e))});e=n.hmd(e);if(u.Z.canUseDOM){window.docusaurus=J;let t=document.getElementById("__docusaurus"),n=(0,r.jsx)(i.B6,{children:(0,r.jsx)(function(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.UT,{children:t}):(0,r.jsx)(l.VK,{children:t})},{children:(0,r.jsx)(function(){return(0,r.jsx)(z.Z,{children:(0,r.jsx)(N.M,{children:(0,r.jsxs)(j.t,{children:[(0,r.jsxs)(g,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(C,{}),(0,r.jsx)(M,{}),(0,r.jsx)(Z,{})]}),(0,r.jsx)(B,{})]})})})},{})})}),u=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},c=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=o.hydrateRoot(t,n,{onRecoverableError:u})};L(window.location.pathname).then(()=>{(0,a.startTransition)(c)}),e.hot&&e.hot.accept()}},1716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n("5893"),a=n("7294"),o=n("5150"),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/relational-migrator-lab/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/relational-migrator-lab/docs","mainDocId":"intro","docs":[{"id":"create-project/connect-database","path":"/relational-migrator-lab/docs/create-project/connect-database","sidebar":"tutorialSidebar"},{"id":"create-project/create-new-project","path":"/relational-migrator-lab/docs/create-project/create-new-project","sidebar":"tutorialSidebar"},{"id":"create-project/define-initial-schema","path":"/relational-migrator-lab/docs/create-project/define-initial-schema","sidebar":"tutorialSidebar"},{"id":"create-project/select-tables","path":"/relational-migrator-lab/docs/create-project/select-tables","sidebar":"tutorialSidebar"},{"id":"desired-schema-mongodb","path":"/relational-migrator-lab/docs/desired-schema-mongodb","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-authors","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-authors","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-issue-detail","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-issue-detail","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-books-reviews","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-books-reviews","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-issue-detail-users","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-issue-detail-users","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/add-mapping-reviews-user","path":"/relational-migrator-lab/docs/edit-mapping-rules/add-mapping-reviews-user","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-authors-alias","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-alias","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-authors-authorbook","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-authors-authorbook","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-author-book","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-author-book","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-book-attribute","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-attribute","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-books-book-genre","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-books-book-genre","sidebar":"tutorialSidebar"},{"id":"edit-mapping-rules/edit-mapping-issue-detail-issue-detail","path":"/relational-migrator-lab/docs/edit-mapping-rules/edit-mapping-issue-detail-issue-detail","sidebar":"tutorialSidebar"},{"id":"Generate code/convert-queries","path":"/relational-migrator-lab/docs/Generate code/convert-queries","sidebar":"tutorialSidebar"},{"id":"Generate code/convert-sprocs","path":"/relational-migrator-lab/docs/Generate code/convert-sprocs","sidebar":"tutorialSidebar"},{"id":"Generate code/generate-app-code","path":"/relational-migrator-lab/docs/Generate code/generate-app-code","sidebar":"tutorialSidebar"},{"id":"intro","path":"/relational-migrator-lab/docs/intro","sidebar":"tutorialSidebar"},{"id":"Migrate Data/migration","path":"/relational-migrator-lab/docs/Migrate Data/migration","sidebar":"tutorialSidebar"},{"id":"Migrate Data/view-migrated-data","path":"/relational-migrator-lab/docs/Migrate Data/view-migrated-data","sidebar":"tutorialSidebar"},{"id":"prerequisites/mongodb","path":"/relational-migrator-lab/docs/prerequisites/mongodb","sidebar":"tutorialSidebar"},{"id":"prerequisites/postgres","path":"/relational-migrator-lab/docs/prerequisites/postgres","sidebar":"tutorialSidebar"},{"id":"prerequisites/relational-migrator","path":"/relational-migrator-lab/docs/prerequisites/relational-migrator","sidebar":"tutorialSidebar"},{"id":"project-settings","path":"/relational-migrator-lab/docs/project-settings","sidebar":"tutorialSidebar"},{"id":"schema-in-postgresql","path":"/relational-migrator-lab/docs/schema-in-postgresql","sidebar":"tutorialSidebar"},{"id":"summary","path":"/relational-migrator-lab/docs/summary","sidebar":"tutorialSidebar"},{"id":"toggle-view","path":"/relational-migrator-lab/docs/toggle-view","sidebar":"tutorialSidebar"},{"id":"/category/-prerequisites","path":"/relational-migrator-lab/docs/category/-prerequisites","sidebar":"tutorialSidebar"},{"id":"/category/-create-a-project","path":"/relational-migrator-lab/docs/category/-create-a-project","sidebar":"tutorialSidebar"},{"id":"/category/-edit-mapping-rules","path":"/relational-migrator-lab/docs/category/-edit-mapping-rules","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/relational-migrator-lab/docs/intro","label":"intro"}}}}],"breadcrumbs":true}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-ZJ28V71VTQ"],"anonymizeIP":true,"id":"default"}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1733508017770.json","lunrIndex":"lunr-index-1733508017770.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("2627"),u=JSON.parse('{"docusaurusVersion":"3.6.3","siteVersion":"1.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.3"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.3"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.3"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.6.3"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.3"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.3"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.5.0"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f(e){let{children:t}=e;return(0,r.jsx)(d.Provider,{value:c,children:t})}},6893:function(e,t,n){"use strict";n.d(t,{Z:()=>m});var r=n("5893"),a=n("7294"),o=n("7565"),i=n("4819"),l=n("8365"),s=n("2490"),u=n("4879");function c(e){let{error:t,tryAgain:n}=e;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:t})]})}function d(e){let{error:t}=e,n=(0,l.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,r.jsx)(u.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:t,tryAgain:n}),children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(c,{error:t,tryAgain:n})})]})})}let g=e=>(0,r.jsx)(p,{...e});class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??g)({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},7565:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},4819:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893);n(7294);var a=n(405);function o(e){return(0,r.jsx)(a.ql,{...e})}},3012:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(5893),a=n(7294),o=n(3727),i=n(8365),l=n(2933),s=n(3150),u=n(7565),c=n(1065),d=n(4757);let f=e=>e.startsWith("/"),p=a.forwardRef(function(e,t){var n;let{isNavLink:p,to:g,href:m,activeClassName:h,isActive:b,"data-noBrokenLinkCheck":y,autoAddBaseUrl:v=!0,...w}=e,{siteConfig:k}=(0,l.Z)(),{trailingSlash:x,baseUrl:S}=k,E=k.future.experimental_router,{withBaseUrl:_}=(0,d.Cg)(),C=(0,c.Z)(),T=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>T.current);let j=g||m,N=(0,s.Z)(j),P=j?.replace("pathname://","");let A=void 0!==P?(n=P,v&&f(n)?_(n):n):void 0;"hash"===E&&A?.startsWith("./")&&(A=A?.slice(1)),A&&N&&(A=(0,i.applyTrailingSlash)(A,{trailingSlash:x,baseUrl:S}));let O=(0,a.useRef)(!1),L=p?o.OL:o.rU,R=u.Z.canUseIntersectionObserver,I=(0,a.useRef)(),F=()=>{!O.current&&null!=A&&(window.docusaurus.preload(A),O.current=!0)};(0,a.useEffect)(()=>(!R&&N&&u.Z.canUseDOM&&null!=A&&window.docusaurus.prefetch(A),()=>{R&&I.current&&I.current.disconnect()}),[I,A,R,N]);let M=A?.startsWith("#")??!1,D=!w.target||"_self"===w.target,z=!A||!N||!D||M&&"hash"!==E;!y&&(M||!z)&&C.collectLink(A),w.id&&C.collectAnchor(w.id);let $={};return z?(0,r.jsx)("a",{ref:T,href:A,...j&&!N&&{target:"_blank",rel:"noopener noreferrer"},...w,...$}):(0,r.jsx)(L,{...w,onMouseEnter:F,onTouchStart:F,innerRef:e=>{T.current=e,R&&e&&N&&(I.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=A&&window.docusaurus.prefetch(A))})}),I.current.observe(e))},to:A,...p&&{isActive:b,activeClassName:h},...$})})},6025:function(e,t,n){"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n("5893"),a=n("7294");function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n("2627");function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegalchildren",t),Error("The Docusaurus component only accept simple string values");let i=l({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:o(i,a)})}},7710:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r="default"},3150:function(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:function(){return a},b:function(){return r}})},4757:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},ZP:function(){return l}});var r=n(7294),a=n(2933),o=n(3150);function i(){let{siteConfig:e}=(0,a.Z)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.b)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;let s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{withBaseUrl:n}=i();return n(e,t)}},1065:function(e,t,n){"use strict";n.d(t,{Z:()=>i}),n("5893");var r=n("7294");let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2933:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(1716);function o(){return(0,r.useContext)(a._)}},1672:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},eZ:function(){return i}});var r=n(2933),a=n(7710);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){let{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(e),i=r?.[t];if(!i&&n.failfast)throw Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},7227:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7294),a=n(258);function o(){return(0,r.useContext)(a._)}},2e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294);let a=n(7565).Z.canUseDOM?r.useLayoutEffect:r.useEffect},6464:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){let t={};return!function e(n,a){Object.entries(n).forEach(n=>{let[o,i]=n,l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i})}(e),t}},4879:function(e,t,n){"use strict";n.d(t,{_:function(){return o},z:function(){return i}});var r=n(5893),a=n(7294);let o=a.createContext(null);function i(e){let{children:t,value:n}=e,i=a.useContext(o),l=(0,a.useMemo)(()=>(function(e){let{parent:t,value:n}=e;if(!t){if(n){if(!("plugin"in n))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return n}let r={...t.data,...n?.data};return{plugin:t.plugin,data:r}})({parent:i,value:n}),[i,n]);return(0,r.jsx)(o.Provider,{value:l,children:t})}},3896:function(e,t,n){"use strict";n.d(t,{J:function(){return y},L5:function(){return b}});var r=n(5893),a=n(7294),o=n(1723),i=n(7710),l=n(140),s=n(6009),u=n(5346);let c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,s.WA)(c(e),{persistence:t}).set(n)},f=(e,t)=>(0,s.WA)(c(e),{persistence:t}).get(),p=(e,t)=>{(0,s.WA)(c(e),{persistence:t}).del()},g=e=>Object.fromEntries(e.map(e=>[e,{preferredVersionName:null}])),m=a.createContext(null);function h(e){let{children:t}=e,n=function(){let e=(0,o._r)(),t=(0,l.L)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>g(n));return(0,a.useEffect)(()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;return Object.fromEntries(t.map(e=>[e,function(e){let t=f(e,n);return r[e].versions.some(e=>e.name===t)?{preferredVersionName:t}:(p(e,n),{preferredVersionName:null})}(e)]))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){d(e,t,n),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(m.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return(0,r.jsx)(h,{children:t})}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.m,t=(0,o.zh)(e),[n,r]=function(){let e=(0,a.useContext)(m);if(!e)throw new u.i6("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e],s=t.versions.find(e=>e.name===l)??null;return{preferredVersion:s,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},5609:function(e,t,n){"use strict";n.d(t,{V:function(){return u},b:function(){return s}});var r=n(5893),a=n(7294),o=n(5346);let i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){let{children:t,name:n,items:o}=e,i=(0,a.useMemo)(()=>n&&o?{name:n,items:o}:null,[n,o]);return(0,r.jsx)(l.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},3413:function(e,t,n){"use strict";n.d(t,{jA:()=>g,xz:()=>f,SN:()=>E,lO:()=>k,MN:()=>_,LM:()=>p,_F:()=>b,vY:()=>S,oz:()=>x,s1:()=>w,f:()=>y});var r=n("7294"),a=n("6550"),o=n("8790"),i=n("1723"),l=n("9246");function s(e){return Array.from(new Set(e))}var u=n("3896"),c=n("8529"),d=n("5609");function f(e){let t=(0,c.E)();if(!e)return;let n=t.docs[e];if(!n)throw Error(`no version doc found by id=${e}`);return n}function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(let t of e.items){let e=p(t);if(e)return e}}(e):void 0:e.href}function g(){let{pathname:e}=(0,a.TH)(),t=(0,d.V)();if(!t)throw Error("Unexpected: cant find current sidebar in context");let n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}let m=(e,t)=>void 0!==e&&(0,l.Mg)(e,t),h=(e,t)=>e.some(e=>b(e,t));function b(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function y(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return b(t,n)||t.items.some(t=>e(t,n));case"link":return!t.unlisted||b(t,n);default:return!0}})(e,t)),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e,a=[];return!function e(t){for(let o of t)if("category"===o.type&&((0,l.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,l.Mg)(o.href,n))return!(r&&"category"!==o.type)&&a.unshift(o),!0;return!1}(t),a}function w(){let e=(0,d.V)(),{pathname:t}=(0,a.TH)();return!1!==i.gA()?.pluginData.breadcrumbs&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){let{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,u.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)(()=>s([t,n,a].filter(Boolean)),[t,n,a])}function x(e,t){let n=k(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}". -Available sidebar ids are: -- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function S(e,t){let n=k(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.docs),r=t.find(t=>t.id===e);if(!r){if(n.flatMap(e=>e.draftIds).includes(e))return null;throw Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}". -Available doc ids are: -- ${s(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}function E(e){let{route:t}=e,n=(0,a.TH)(),r=(0,c.E)(),i=t.routes,l=i.find(e=>(0,a.LX)(n.pathname,e));if(!l)return null;let s=l.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function _(e){return e.filter(e=>"category"!==e.type&&"link"!==e.type||!!p(e))}},8529:function(e,t,n){"use strict";n.d(t,{E:function(){return s},q:function(){return l}});var r=n(5893),a=n(7294),o=n(5346);let i=a.createContext(null);function l(e){let{children:t,version:n}=e;return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},1723:function(e,t,n){"use strict";n.d(t,{Jo:()=>g,zh:()=>u,yW:()=>f,gB:()=>d,Iw:()=>p,gA:()=>c,_r:()=>s});var r=n("6550"),a=n("1672");let o=e=>e.versions.find(e=>e.isLast);function i(e,t){var n,a;let o=(n=e,a=t,[...n.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.LX)(a,{path:e.path,exact:!1,strict:!1}))),i=o?.docs.find(e=>!!r.LX(t,{path:e.path,exact:!0,strict:!1})),l=i?function(t){let n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(i.id):{};return{activeVersion:o,activeDoc:i,alternateDocVersions:l}}let l={},s=()=>(0,a.OD)("docusaurus-plugin-content-docs")??l,u=e=>{try{return(0,a.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${"Default"===e?"":` (pluginId=${e}`}`,{cause:t})}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(),{pathname:n}=(0,r.TH)();return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Object.entries(e).sort((e,t)=>t[1].path.localeCompare(e[1].path)).find(e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})}),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map(e=>e.path).join(", ")}`);return o}(t,n,e)}function d(e){return u(e).versions}function f(e){return o(u(e))}function p(e){let t=u(e),{pathname:n}=(0,r.TH)();return i(t,n)}function g(e){let t=u(e),{pathname:n}=(0,r.TH)();return function(e,t){let n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},5442:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;n&&(t.pathname!==n.pathname||t.search!==n.search||t.hash!==n.hash)&&setTimeout(()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")})}}},1987:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});let o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){let e=window.setTimeout(()=>{a().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},1569:function(e,t,n){"use strict";var r=n("3359"),a=n("5150");!function(e){let{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach(e=>{"php"===e&&n(6854),n(2096)(`./prism-${e}`)}),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.p1)},4403:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("5893");n("7294");var a=n("4904"),o=n("6025"),i=n("140"),l=n("3012"),s=n("1065");let u={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function c(e){let{as:t,id:n,...c}=e,d=(0,s.Z)(),{navbar:{hideOnScroll:f}}=(0,i.L)();if("h1"===t||!n)return(0,r.jsx)(t,{...c,id:void 0});d.collectAnchor(n);let p=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,r.jsxs)(t,{...c,className:(0,a.Z)("anchor",f?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,r.jsx)(l.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200B"})]})}},2425:function(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("5893");n("7294");let a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a,children:(0,r.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2490:function(e,t,n){"use strict";n.d(t,{Z:()=>tr});var r=n("5893"),a=n("7294"),o=n("4904"),i=n("6893"),l=n("4713"),s=n("6550"),u=n("6025"),c=n("346");let d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}let p=(0,u.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){let t=e.children??p,{containerRef:n,onClick:o}=function(){let e=(0,a.useRef)(null),{action:t}=(0,s.k6)(),n=(0,a.useCallback)(e=>{e.preventDefault();let t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)},[]);return(0,c.S)(n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)}),{containerRef:e,onClick:n}}();return(0,r.jsx)("div",{ref:n,role:"region","aria-label":p,children:(0,r.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var m=n("4681"),h=n("6959");let b="skipToContent_fXgn";function y(){return(0,r.jsx)(g,{className:b})}var v=n("140"),w=n("2093");function k(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...l,children:(0,r.jsx)("g",{stroke:a,strokeWidth:o,children:(0,r.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}let x="closeButton_CVFx";function S(e){return(0,r.jsx)("button",{type:"button","aria-label":(0,u.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",x,e.className),children:(0,r.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}let E="content_knG7";function _(e){let{announcementBar:t}=(0,v.L)(),{content:n}=t;return(0,r.jsx)("div",{...e,className:(0,o.Z)(E,e.className),dangerouslySetInnerHTML:{__html:n}})}let C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){let{announcementBar:e}=(0,v.L)(),{isActive:t,close:n}=(0,w.n)();if(!t)return null;let{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,r.jsxs)("div",{className:C.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,r.jsx)("div",{className:C.announcementBarPlaceholder}),(0,r.jsx)(_,{className:C.announcementBarContent}),i&&(0,r.jsx)(S,{onClick:n,className:C.announcementBarClose})]})}var j=n("3780"),N=n("9599"),P=n("5346"),A=n("1179");let O=a.createContext(null);function L(e){let{children:t}=e,n=function(){let e=(0,j.e)(),t=(0,A.HY)(),[n,r]=(0,a.useState)(!1),o=null!==t.component,i=(0,P.D9)(o);return(0,a.useEffect)(()=>{o&&!i&&r(!0)},[o,i]),(0,a.useEffect)(()=>{if(!o){r(!1);return}!e.shown&&r(!0)},[e.shown,o]),(0,a.useMemo)(()=>[n,r],[n])}();return(0,r.jsx)(O.Provider,{value:n,children:t})}function R(){let e=(0,a.useContext)(O);if(!e)throw new P.i6("NavbarSecondaryMenuDisplayProvider");let[t,n]=e,o=(0,a.useCallback)(()=>n(!1),[n]),i=(0,A.HY)();return(0,a.useMemo)(()=>({shown:t,hide:o,content:function(e){if(e.component){let t=e.component;return(0,r.jsx)(t,{...e.props})}}(i)}),[o,i,t])}function I(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e,{shown:i}=R();return(0,r.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,r.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,r.jsx)("div",{className:"navbar-sidebar__item menu",children:a})]})]})}var F=n("4239"),M=n("7227");function D(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function z(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}let $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"},B=a.memo(function(e){let{className:t,buttonClassName:n,value:a,onChange:i}=e,l=(0,M.Z)(),s=(0,u.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===a?(0,u.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,r.jsx)("div",{className:(0,o.Z)($.toggle,t),children:(0,r.jsxs)("button",{className:(0,o.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===a?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===a?"true":"false",children:[(0,r.jsx)(D,{className:(0,o.Z)($.toggleIcon,$.lightToggleIcon)}),(0,r.jsx)(z,{className:(0,o.Z)($.toggleIcon,$.darkToggleIcon)})]})})}),U={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e,n=(0,v.L)().navbar.style,a=(0,v.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,F.I)();return a?null:(0,r.jsx)(B,{className:t,buttonClassName:"dark"===n?U.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var H=n("4987");function W(){return(0,r.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function V(){let e=(0,j.e)();return(0,r.jsx)("button",{type:"button","aria-label":(0,u.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,r.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function q(){return(0,r.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,r.jsx)(W,{}),(0,r.jsx)(Z,{className:"margin-right--md"}),(0,r.jsx)(V,{})]})}var G=n("3012"),Y=n("4757"),Q=n("3150");function K(e,t){return void 0!==e&&void 0!==t&&RegExp(e,"gi").test(t)}var X=n("2425");function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e,d=(0,Y.ZP)(a),f=(0,Y.ZP)(t),p=(0,Y.ZP)(o,{forcePrependBaseUrl:!0}),g=i&&o&&!(0,Q.Z)(o),m=l?{dangerouslySetInnerHTML:{__html:l}}:{children:(0,r.jsxs)(r.Fragment,{children:[i,g&&(0,r.jsx)(X.Z,{...s&&{width:12,height:12}})]})};return o?(0,r.jsx)(G.Z,{href:u?p:o,...c,...m}):(0,r.jsx)(G.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?K(n,t.pathname):t.pathname.startsWith(f)},...c,...m})}function ee(e){let{className:t,isDropdownItem:n=!1,...a}=e,i=(0,r.jsx)(J,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...a});return n?(0,r.jsx)("li",{children:i}):i}function et(e){let{className:t,isDropdownItem:n,...a}=e;return(0,r.jsx)("li",{className:"menu__list-item",children:(0,r.jsx)(J,{className:(0,o.Z)("menu__link",t),...a})})}function en(e){let{mobile:t=!1,position:n,...a}=e;return(0,r.jsx)(t?et:ee,{...a,activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var er=n("7455"),ea=n("9246"),eo=n("2933");let ei="dropdownNavbarItemMobile_S0Fm";function el(e){let{items:t,position:n,className:i,onClick:l,...s}=e,u=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=e=>{if(!(!u.current||u.current.contains(e.target)))d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[u]),(0,r.jsxs)("div",{ref:u,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,r.jsx)(J,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,r.jsx)("ul",{className:"dropdown__menu",children:t.map((e,t)=>(0,a.createElement)(eT,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function es(e){var t,n;let{items:i,className:l,position:u,onClick:c,...d}=e,f=function(){let{siteConfig:{baseUrl:e}}=(0,eo.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}();let p=(t=i,n=f,t.some(e=>{var t,r;return t=e,r=n,!!((0,ea.Mg)(t.to,r)||K(t.activeBaseRegex,r)||t.activeBasePath&&r.startsWith(t.activeBasePath))||!1})),{collapsed:g,toggleCollapsed:m,setCollapsed:h}=(0,er.u)({initialState:()=>!p});return(0,a.useEffect)(()=>{p&&h(!p)},[f,p,h]),(0,r.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":g}),children:[(0,r.jsx)(J,{role:"button",className:(0,o.Z)(ei,"menu__link menu__link--sublist menu__link--sublist-caret",l),...d,onClick:e=>{e.preventDefault(),m()},children:d.children??d.label}),(0,r.jsx)(er.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:i.map((e,t)=>(0,a.createElement)(eT,{mobile:!0,isDropdownItem:!0,onClick:c,activeClassName:"menu__link--active",...e,key:t}))})]})}function eu(e){let{mobile:t=!1,...n}=e;return(0,r.jsx)(t?es:el,{...n})}var ec=n("8910");function ed(e){let{width:t=20,height:n=20,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...a,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}let ef="iconLanguage_nlXk";var ep=n("6010"),eg=n("1672"),em=n("813"),eh=n.n(em);function eb(){let e=(0,s.TH)(),t=(0,s.k6)(),{siteConfig:{baseUrl:n}}=(0,eo.Z)(),[r,o]=(0,a.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,a.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);let{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,a.useEffect)(()=>{if(0===r.wordToHighlight.length)return;let e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;let t=new(eh())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)},[r,n]),null}let ey=e=>{let t;let o=(0,a.useRef)(!1),i=(0,a.useRef)(null),[l,u]=(0,a.useState)(!1),c=(0,s.k6)(),{siteConfig:d={}}=(0,eo.Z)(),f=(d.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),p=(0,M.Z)(),{baseUrl:g}=d,m=f&&f[1]?.assetUrl||g,h=(e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:g,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{let a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{let e=(n.text||n.subcategory||n.title).match(RegExp(" \\w*","g"));if(e&&e.length>0){let t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(e){console.log(e)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})},b=(0,eg.eZ)("docusaurus-lunr-search"),y=()=>fetch(`${m}${b.fileNames.searchDoc}`).then(e=>e.json()),v=()=>fetch(`${m}${b.fileNames.lunrIndex}`).then(e=>e.json()),w=()=>{!o.current&&(Promise.all([y(),v(),Promise.all([n.e("294"),n.e("990")]).then(n.bind(n,5322)),Promise.all([n.e("212"),n.e("61")]).then(n.bind(n,8544))]).then(e=>{let[t,n,{default:r}]=e,{searchDocs:a,options:o}=t;if(!!a&&0!==a.length)h(a,n,r,o),u(!0)}),o.current=!0)},k=(0,a.useCallback)(t=>{!i.current.contains(t.target)&&i.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);return p&&(w(),t=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,a.useEffect)(()=>{e.autoFocus&&l&&i.current.focus()},[l]),(0,r.jsxs)("div",{className:"navbar__search",children:[(0,r.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:(0,ep.Z)("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:k,onKeyDown:k,tabIndex:0}),(0,r.jsx)("input",{id:"search_input_react",type:"search",placeholder:l?t:"Loading...","aria-label":"Search",className:(0,ep.Z)("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:w,onMouseOver:w,onFocus:k,onBlur:k,ref:i,disabled:!l}),(0,r.jsx)(eb,{})]},"search-box")},ev="navbarSearchContainer_Bca1";function ew(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,o.Z)(n,ev),children:t})}var ek=n("1723"),ex=n("3413");let eS=e=>e.docs.find(t=>t.id===e.mainDocId);var eE=n("3896");function e_(e,t){var n;return t.alternateDocVersions[e.name]??(n=e).docs.find(e=>e.id===n.mainDocId)}let eC={default:en,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,queryString:o="",...i}=e,{i18n:{currentLocale:l,locales:c,localeConfigs:d}}=(0,eo.Z)(),f=(0,ec.l)(),{search:p,hash:g}=(0,s.TH)(),m=[...n,...c.map(e=>{let n=`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`,r=`${n}${p}${g}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:r,target:"_self",autoAddBaseUrl:!1,className:e===l?t?"menu__link--active":"dropdown__link--active":""}}),...a],h=t?(0,u.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[l].label;return(0,r.jsx)(eu,{...i,mobile:t,label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{className:ef}),h]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,r.jsx)(ew,{className:n,children:(0,r.jsx)(ey,{})})},dropdown:eu,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:i=!1}=e;return(0,r.jsx)(i?"li":"div",{className:(0,o.Z)({navbar__item:!a&&!i,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ek.Iw)(a),l=(0,ex.vY)(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,r.jsx)(en,{exact:!0,...o,isActive:()=>s||!!i?.sidebar&&i.sidebar===l.sidebar,label:n??l.id,to:l.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e,{activeDoc:i}=(0,ek.Iw)(a),l=(0,ex.oz)(t,a).link;if(!l)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,r.jsx)(en,{exact:!0,...o,isActive:()=>i?.sidebar===t,label:n??l.label,to:l.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e,i=(0,ex.lO)(a)[0],l=t??i.label,s=n??eS(i).path;return(0,r.jsx)(en,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=(0,ek.Iw)(n),p=(0,ek.gB)(n),{savePreferredVersionName:g}=(0,eE.J)(n),m=[...o,...p.map(function(e){let t=e_(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>g(e.name)}}),...i],h=(0,ex.lO)(n)[0],b=t&&m.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,y=t&&m.length>1?void 0:e_(h,f).path;return m.length<=1?(0,r.jsx)(en,{...l,mobile:t,label:b,to:y,isActive:a?()=>!1:void 0}):(0,r.jsx)(eu,{...l,mobile:t,label:b,to:y,items:m,isActive:a?()=>!1:void 0})}};function eT(e){var t,n;let{type:a,...o}=e;let i=eC[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`No NavbarItem component found for type "${a}".`);return(0,r.jsx)(i,{...o})}function ej(){let e=(0,j.e)(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eT,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eN(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function eP(){let e=0===(0,v.L)().navbar.items.length,t=R();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eN,{onClick:()=>t.hide()}),t.content]})}function eA(){let e=(0,j.e)();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(I,{header:(0,r.jsx)(q,{}),primaryMenu:(0,r.jsx)(ej,{}),secondaryMenu:(0,r.jsx)(eP,{})}):null}let eO={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function eL(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function eR(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=(0,j.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return(0,N.RF)((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i =l?n(!1):i+u {if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[eO.navbarHideable,!d&&eO.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.shown}),children:[t,(0,r.jsx)(eL,{onClick:l.toggle}),(0,r.jsx)(eA,{})]})}var eI=n("8365");let eF="errorBoundaryError_a6uf";function eM(e){return(0,r.jsx)("button",{type:"button",...e,children:(0,r.jsx)(u.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function eD(e){let{error:t}=e,n=(0,eI.getErrorCausalChain)(t).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{className:eF,children:n})}class ez extends a.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}function e$(e){let{width:t=30,height:n=30,className:a,...o}=e;return(0,r.jsx)("svg",{className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function eB(){let{toggle:e,shown:t}=(0,j.e)();return(0,r.jsx)("button",{onClick:e,"aria-label":(0,u.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,r.jsx)(e$,{})})}let eU="colorModeToggle_DEke";function eZ(e){let{items:t}=e;return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>(0,r.jsx)(ez,{onError:t=>Error(`A theme navbar item failed to render. -Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: -${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(eT,{...e})},t))})}function eH(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function eW(){let e=(0,j.e)(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(eH,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eB,{}),(0,r.jsx)(W,{}),(0,r.jsx)(eZ,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eZ,{items:a}),(0,r.jsx)(Z,{className:eU}),!o&&(0,r.jsx)(ew,{children:(0,r.jsx)(ey,{})})]})})}function eV(){return(0,r.jsx)(eR,{children:(0,r.jsx)(eW,{})})}function eq(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.ZP)(n),u=(0,Y.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(G.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,Q.Z)(a)&&(0,r.jsx)(X.Z,{})]})}function eG(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(eq,{item:t})},t.href??t.to)}function eY(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(eG,{item:e},t))})]})}function eQ(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(eY,{column:e},t))})}function eK(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function eX(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(eq,{item:t})}function eJ(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(eX,{item:e}),t.length!==n+1&&(0,r.jsx)(eK,{})]},n))})})}function e0(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(eQ,{columns:t}):(0,r.jsx)(eJ,{links:t})}var e1=n("6561");let e2={footerLogoLink:"footerLogoLink_BH7S"};function e3(e){let{logo:t}=e,{withBaseUrl:n}=(0,Y.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(e1.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function e4(e){let{logo:t}=e;return t.href?(0,r.jsx)(G.Z,{href:t.href,className:e2.footerLogoLink,target:t.target,children:(0,r.jsx)(e3,{logo:t})}):(0,r.jsx)(e3,{logo:t})}function e5(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function e9(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let e8=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(e9,{style:o,links:n&&n.length>0&&(0,r.jsx)(e0,{links:n}),logo:a&&(0,r.jsx)(e4,{logo:a}),copyright:t&&(0,r.jsx)(e5,{copyright:t})})}),e6=(0,P.Qc)([F.S,w.p,N.OC,eE.L5,l.VC,function(e){let{children:t}=e;return(0,r.jsx)(A.n2,{children:(0,r.jsx)(j.M,{children:(0,r.jsx)(L,{children:t})})})}]);function e7(e){let{children:t}=e;return(0,r.jsx)(e6,{children:t})}var te=n("4403");function tt(e){let{error:t,tryAgain:n}=e;return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(te.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eM,{onClick:n,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eD,{error:t})})]})})})}let tn="mainWrapper_z2l0";function tr(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,h.t)(),(0,r.jsxs)(e7,{children:[(0,r.jsx)(l.d,{title:s,description:u}),(0,r.jsx)(y,{}),(0,r.jsx)(T,{}),(0,r.jsx)(eV,{}),(0,r.jsx)("div",{id:d,className:(0,o.Z)(m.k.wrapper.main,tn,a),children:(0,r.jsx)(i.Z,{fallback:e=>(0,r.jsx)(tt,{...e}),children:t})}),!n&&(0,r.jsx)(e8,{})]})}},4987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893);n(7294);var a=n(3012),o=n(4757),i=n(2933),l=n(140),s=n(6561);function u(e){let{logo:t,alt:n,imageClassName:a}=e,i={light:(0,o.ZP)(t.src),dark:(0,o.ZP)(t.srcDark||t.src)},l=(0,r.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return a?(0,r.jsx)("div",{className:a,children:l}):l}function c(e){let{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,l.L)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.ZP)(s?.href||"/"),g=s?.alt??(n?"":t);return(0,r.jsxs)(a.Z,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:g,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},4315:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893);n(7294);var a=n(4819);function o(e){let{locale:t,version:n,tag:o}=e;return(0,r.jsxs)(a.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:o}),t&&(0,r.jsx)("meta",{name:"docsearch:language",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},6561:function(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n("5893"),a=n("7294"),o=n("8942"),i=n("7227"),l=n("4239");let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u(e){let{className:t,children:n}=e,u=(0,i.Z)(),{colorMode:c}=(0,l.I)();return(0,r.jsx)(r.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map(e=>{let i=n({theme:e,className:(0,o.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,r.jsx)(a.Fragment,{children:i},e)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,r.jsx)("img",{src:t[n],alt:a,className:i,...o})}})}},7455:function(e,t,n){"use strict";n.d(t,{u:function(){return s},z:function(){return g}});var r=n(5893),a=n(7294),o=n(7565),i=n(2e3),l=n(7504);function s(e){let{initialState:t}=e,[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)(()=>{r(e=>!e)},[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}let u={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function d(e,t){let n=t?u:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{as:t="div",collapsed:n,children:i,animation:s,onCollapseTransitionEnd:f,className:p,disableSSRStyle:g}=e,m=(0,a.useRef)(null);return!function(e){let{collapsibleRef:t,collapsed:n,animation:r}=e,o=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t.current;function a(){let t=function(){let t=e.scrollHeight,n=r?.duration??function(e){if((0,l.n)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(t),a=r?.easing??"ease-in-out";return{transition:`height ${n}ms ${a}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current){d(e,n),o.current=!0;return}return e.style.willChange="height",function(){let t=requestAnimationFrame(()=>{n?(a(),requestAnimationFrame(()=>{e.style.height=u.height,e.style.overflow=u.overflow})):(e.style.display="block",requestAnimationFrame(()=>{a()}))});return()=>cancelAnimationFrame(t)}()},[t,n,r])}({collapsibleRef:m,collapsed:n,animation:s}),(0,r.jsx)(t,{ref:m,style:g?void 0:function(e){if(!o.Z.canUseDOM)return e?u:c}(n),onTransitionEnd:e=>{if("height"===e.propertyName)d(m.current,n),f?.(n)},className:p,children:i})}function p(e){let{collapsed:t,...n}=e,[o,l]=(0,a.useState)(!t),[s,u]=(0,a.useState)(t);return(0,i.Z)(()=>{!t&&l(!0)},[t]),(0,i.Z)(()=>{o&&u(t)},[o,t]),o?(0,r.jsx)(f,{...n,collapsed:s}):null}function g(e){let{lazy:t,...n}=e;return(0,r.jsx)(t?p:f,{...n})}},2093:function(e,t,n){"use strict";n.d(t,{n:function(){return m},p:function(){return g}});var r=n(5893),a=n(7294),o=n(7227),i=n(6009),l=n(5346),s=n(140);let u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),f=e=>u.set(String(e)),p=a.createContext(null);function g(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,s.L)(),t=(0,o.Z)(),[n,r]=(0,a.useState)(()=>!!t&&d());(0,a.useEffect)(()=>{r(d())},[]);let i=(0,a.useCallback)(()=>{f(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&f(!1),(a||!d())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(p.Provider,{value:n,children:t})}function m(){let e=(0,a.useContext)(p);if(!e)throw new l.i6("AnnouncementBarProvider");return e}},4239:function(e,t,n){"use strict";n.d(t,{I:function(){return b},S:function(){return h}});var r=n(5893),a=n(7294),o=n(7565),i=n(5346),l=n(6009),s=n(140);let u=a.createContext(void 0),c="theme",d=(0,l.WA)(c),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,g=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function h(e){let{children:t}=e,n=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,o]=(0,a.useState)(g(e));(0,a.useEffect)(()=>{t&&d.del()},[t]);let i=(0,a.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{persist:a=!0}=r;t?(o(t),a&&m(t)):(n?o(window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light):o(e),d.del())},[n,e]);(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-theme",p(r))},[r]),(0,a.useEffect)(()=>{if(t)return;let e=e=>{if(e.key!==c)return;let t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t,i]);let l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t&&!n)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{if(window.matchMedia("print").matches||l.current){l.current=window.matchMedia("print").matches;return}i(null)};return e.addListener(r),()=>e.removeListener(r)},[i,t,n]),(0,a.useMemo)(()=>({colorMode:r,setColorMode:i,get isDarkTheme(){return r===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}}),[r,i])}();return(0,r.jsx)(u.Provider,{value:n,children:t})}function b(){let e=(0,a.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},3780:function(e,t,n){"use strict";n.d(t,{M:()=>d,e:()=>f});var r=n("5893"),a=n("7294"),o=n("1179"),i=n("4704"),l=n("6550"),s=n("5346"),u=n("140");let c=a.createContext(void 0);function d(e){let{children:t}=e,n=function(){var e;let t=function(){let e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),n=(0,i.i)(),r=!t&&"mobile"===n,[c,d]=(0,a.useState)(!1);e=()=>{if(c)return d(!1),!1},function(e){let t=(0,l.k6)(),n=(0,s.zX)(e);(0,a.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)});let f=(0,a.useCallback)(()=>{d(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===n&&d(!1)},[n]),(0,a.useMemo)(()=>({disabled:t,shouldRender:r,toggle:f,shown:c}),[t,r,f,c])}();return(0,r.jsx)(c.Provider,{value:n,children:t})}function f(){let e=a.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},1179:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},Zo:function(){return u},n2:function(){return l}});var r=n(5893),a=n(7294),o=n(5346);let i=a.createContext(null);function l(e){let{children:t}=e,n=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:n,children:t})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e,r=(0,a.useContext)(i);if(!r)throw new o.i6("NavbarSecondaryMenuContentProvider");let[,l]=r,s=(0,o.Ql)(n);return(0,a.useEffect)(()=>{l({component:t,props:s})},[l,t,s]),(0,a.useEffect)(()=>()=>l({component:null,props:null}),[l]),null}},6959:function(e,t,n){"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n("7294");let a="navigation-with-keyboard";function o(){(0,r.useEffect)(()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}},[])}},4704:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(7294),a=n(7565);let o={desktop:"desktop",mobile:"mobile"};function i(){let{desktopBreakpoint:e=996}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.Z.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},4681:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},7504:function(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:function(){return r}})},4713:function(e,t,n){"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n("5893"),a=n("7294"),o=n("8942"),i=n("4819"),l=n("4879"),s=n("4757"),u=n("2933");function c(e){let{title:t,description:n,keywords:a,image:o,children:l}=e,c=function(e){let{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.Cg)(),f=o?d(o,{absolute:!0}):void 0;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)("title",{children:c}),t&&(0,r.jsx)("meta",{property:"og:title",content:c}),n&&(0,r.jsx)("meta",{name:"description",content:n}),n&&(0,r.jsx)("meta",{property:"og:description",content:n}),a&&(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&(0,r.jsx)("meta",{property:"og:image",content:f}),f&&(0,r.jsx)("meta",{name:"twitter:image",content:f}),l]})}let d=a.createContext(void 0);function f(e){let{className:t,children:n}=e,l=a.useContext(d),s=(0,o.Z)(l,t);return(0,r.jsxs)(d.Provider,{value:s,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("html",{className:s})}),n]})}function p(e){var t;let{children:n}=e,i=function(){let e=a.useContext(l._);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}();let s=(t=i.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),u=`plugin-id-${i.plugin.id}`;return(0,r.jsx)(f,{className:(0,o.Z)(s,u),children:n})}},5346:function(e,t,n){"use strict";n.d(t,{D9:function(){return l},Qc:function(){return c},Ql:function(){return u},i6:function(){return s},zX:function(){return i}});var r=n(5893),a=n(7294),o=n(2e3);function i(e){let t=(0,a.useRef)(e);return(0,o.Z)(()=>{t.current=e},[e]),(0,a.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r{t.current=e}),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(? \w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return t=>{let{children:n}=t;return(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),n)})}}},9246:function(e,t,n){"use strict";n.d(t,{Mg:function(){return i},Ns:function(){return l}});var r=n(7294),a=n(4143),o=n(2933);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)(()=>(function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;let n=t.find(r);return n?n:e(t.filter(a).flatMap(e=>e.routes??[]))}(n)})({routes:a.Z,baseUrl:e}),[e])}},9599:function(e,t,n){"use strict";n.d(t,{Ct:function(){return f},OC:function(){return u},RF:function(){return d}});var r=n(5893),a=n(7294),o=n(7565),i=n(7227);n(2e3);var l=n(5346);let s=a.createContext(void 0);function u(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!0);return(0,a.useMemo)(()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}}),[])}();return(0,r.jsx)(s.Provider,{value:n,children:t})}let c=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=function(){let e=(0,a.useContext)(s);if(null==e)throw new l.i6("ScrollControllerProvider");return e}(),r=(0,a.useRef)(c()),o=(0,l.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=c();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function f(){let e=(0,a.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{var r;e.current=t?(r=n,window.scrollTo({top:r,behavior:"smooth"}),()=>{}):function(e){let t=null,n=document.documentElement.scrollTop>e;return!function r(){let a=document.documentElement.scrollTop;(n&&a>e||!n&&a t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},6009:function(e,t,n){"use strict";n.d(t,{WA:()=>s}),n("7294");var r=JSON.parse('{"d":"localStorage","u":""}');let a=r.d;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;let o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}let i=!1,l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){var n;let s=(n=e,`${n}${r.u}`);if("undefined"==typeof window)return function(e){function t(){throw Error(`Illegal storage API usage for storage key "${e}". -Docusaurus storage APIs are not supposed to be called on the server-rendering process. -Please only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(s);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!i&&(console.warn(`Docusaurus browser storage is not available. -Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),i=!0)}(e),null}}(t?.persistence);return null===u?l:{get:()=>{try{return u.getItem(s)}catch(e){return console.error(`Docusaurus storage error, can't get key=${s}`,e),null}},set:e=>{try{let t=u.getItem(s);u.setItem(s,e),o({key:s,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${s}=${e}`,t)}},del:()=>{try{let e=u.getItem(s);u.removeItem(s),o({key:s,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${s}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===s&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${s}`,e),()=>{}}}}}},8910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(6550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},346:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(7294),a=n(6550),o=n(5346);function i(e){let t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)(()=>{if(!!n)t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},4994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(8411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},4202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(8395);var a,o=n(4994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(8411);var i=n(4202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},8411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},5150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"Relational Migrator Lab",tagline:"Learn how to move from your Relational Database into MongoDB",url:"https://relational-migrator-lab.github.io",baseUrl:"/relational-migrator-lab/",projectName:"mongodb-developer.github.io",organizationName:"mongodb-developer",trailingSlash:!1,onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.svg",deploymentBranch:"gh-pages",staticDirectories:["static"],i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},customFields:{startButtonTitle:"Let's Migrate!",featureList:[{title:"Hands-On Experiences",illustration:"img/coding.png",description:"\n Learn by doing, not by reading.\n "},{title:"Amazing Instructors",illustration:"img/highfive.png",description:"\n Build it with the help of our amazing instructors, or just do it on your own.\n "},{title:"Take-Home Material",illustration:"img/writing.png",description:"\n Take home the material and keep learning.\n "}],utmParams:"utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},presets:[["classic",{docs:{sidebarPath:"/home/runner/work/relational-migrator-lab/relational-migrator-lab/sidebars.js",editUrl:"https://github.com/mongodb-developer/relational-migrator-lab/blob/main"},theme:{customCss:"/home/runner/work/relational-migrator-lab/relational-migrator-lab/src/css/custom.css"},gtag:{trackingID:"G-ZJ28V71VTQ",anonymizeIP:!0}}]],plugins:["/home/runner/work/relational-migrator-lab/relational-migrator-lab/node_modules/docusaurus-lunr-search/src/index.js"],themeConfig:{docs:{sidebar:{autoCollapseCategories:!0,hideable:!0},versionPersistence:"localStorage"},navbar:{title:"Relational Migrator Lab",logo:{alt:"MongoDB Logo",src:"img/logo.svg",srcDark:"img/logo-dark.svg",className:"navbar-logo",width:"135px",height:"100%"},items:[{type:"localeDropdown",position:"right",dropdownItemsBefore:[],dropdownItemsAfter:[]}],hideOnScroll:!1},footer:{style:"dark",links:[{label:"Try MongoDB Atlas",href:"https://www.mongodb.com/try?utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"Forums",href:"https://www.mongodb.com/community/forums/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"Developer Center",href:"https://www.mongodb.com/developer/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{label:"MongoDB University",href:"https://learn.mongodb.com/utm_campaign=devrel&utm_source=workshop&utm_medium=cta&utm_content=relational-migrator-lab&utm_term=diego.freniche"},{href:"https://github.com/mongodb-developer/relational-migrator-lab",label:"This lab in GitHub"},{label:"\xa9 2024 MongoDB, Inc.",href:"#"}]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["powershell","swift","kotlin"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},mermaid:{theme:{light:"neutral",dark:"forest"}},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},future:{experimental_faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},6019:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t a})},443:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{Z:function(){return r}})},4904:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=function(){for(var e,t,n=0,r="",a=arguments.length;neF,p1:()=>K});var s,u,c,d,f,p,g,m,h,b,y,v,w,k,x,S,E,_,C,T,j,N,P,A,O,L,R=n("7294");let I=function(){for(var e,t,n=0,r="",a=arguments.length;nt in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))H.call(t,n)&&V(e,n,t[n]);if(U)for(var n of U(t))W.call(t,n)&&V(e,n,t[n]);return e},G=(e,t)=>D(e,$(t)),Y=(e,t)=>{var n={};for(var r in e)H.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&U)for(var r of U(e))0>t.indexOf(r)&&W.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of B(t))!H.call(e,a)&&a!==n&&M(e,a,{get:()=>t[a],enumerable:!(r=z(t,a))||r.enumerable});return e};var K=(l=null!=(o=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach));x+=k.value.length,k=k.next){;var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var _=1;if(b){if(!(S=o(w,x,t,h))||S.index>=t.length)break;var C=S.index,T=S.index+S[0].length,j=x;for(j+=k.value.length;C>=j;)j+=(k=k.next).value.length;if(j-=k.value.length,x=j,k.value instanceof a)continue;for(var N=k;N!==n.tail&&(j c.reach&&(c.reach=L);var R=k.prev;if(A&&(R=l(n,R,A),x+=A.length),function(e,t,n){for(var r=t.next,a=0;a 1){var I={cause:d+","+p,reach:L};e(t,n,i,k.prev,x,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(!!n&&!!n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+""+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[B(r)[0]])((a={exports:{}}).exports,a),a.exports})())?F(Z(o)):{},Q(!i&&o&&o.__esModule?l:M(l,"default",{value:o,enumerable:!0}),o));K.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:K.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:K.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},K.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(e,t){K.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:K.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,s=K,u={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=RegExp((d="(?:[^\\\\-]|"+(c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+d),f={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},s.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:d,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":u,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:c}},"special-escape":u,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":f}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":f}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},K.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:K.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),K.languages.js=K.languages.javascript,K.languages.actionscript=K.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<|>>?>?|[!=]=?)=?|[~?@]/}),K.languages.actionscript["class-name"].alias="function",delete K.languages.actionscript.parameter,delete K.languages.actionscript["literal-property"],K.languages.markup&&K.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:K.languages.markup}}),g=/#(?!\{).+/,m={pattern:/#\{[^}]+\}/,alias:"variable"},(p=K).languages.coffeescript=p.languages.extend("javascript",{comment:g,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:m}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),p.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:g,interpolation:m}}}),p.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:p.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:m}}]}),p.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete p.languages.coffeescript["template-string"],p.languages.coffee=p.languages.coffeescript,Object.defineProperty(b=(h=K).languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=h.languages[e]){var a,o=a[r];if((o=o||(a=h.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i |\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(K),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-] )(?:[ \t]*(?:(?![#:]) |: ))*/.source.replace(/ /g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s< >[ \t]+)?)(?:< >)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/< >/g,function(){return r}).replace(/< >/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s< >[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/< >/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:< >[ \t]+)?)< >(?=\s*:\s)/.source.replace(/< >/g,function(){return r}).replace(/< >/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(K),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/ /g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_) |_(?:(?!_) )+_)+__\b|\*\*(?:(?!\*) |\*(?:(?!\*) )+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_) |__(?:(?!_) )+__)+_\b|\*(?:(?!\*) |\*\*(?:(?!\*) )+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~) )+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]) )+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]) )+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n ",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(K),K.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:K.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},K.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n ?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i